KR20070020703A - Method for controlling access to serial device - Google Patents

Method for controlling access to serial device Download PDF

Info

Publication number
KR20070020703A
KR20070020703A KR1020050074894A KR20050074894A KR20070020703A KR 20070020703 A KR20070020703 A KR 20070020703A KR 1020050074894 A KR1020050074894 A KR 1020050074894A KR 20050074894 A KR20050074894 A KR 20050074894A KR 20070020703 A KR20070020703 A KR 20070020703A
Authority
KR
South Korea
Prior art keywords
application
serial
serial device
message
registration
Prior art date
Application number
KR1020050074894A
Other languages
Korean (ko)
Inventor
박평오
Original Assignee
주식회사 팬택앤큐리텔
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 팬택앤큐리텔 filed Critical 주식회사 팬택앤큐리텔
Priority to KR1020050074894A priority Critical patent/KR20070020703A/en
Publication of KR20070020703A publication Critical patent/KR20070020703A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Systems (AREA)

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

본 발명은 시리얼 장치 접근 제어 방법에 관한 것임.The present invention relates to a serial device access control method.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

본 발명은 시리얼 장치(예 : USB 시리얼 포트)를 구동시키는 디바이스 드라이버에 대한 접근을 사전 등록을 마친 각 애플리케이션에 차례대로 허가함으로써, 다수의 애플리케이션이 보다 안정적이고 공평하게 시리얼 장치를 사용할 수 있도록 하기 위한, 시리얼 장치 접근 제어 방법을 제공하는데 그 목적이 있음.The present invention in turn permits access to a device driver that drives a serial device (eg, a USB serial port) to each pre-registered application in turn, thereby allowing multiple applications to use the serial device more reliably and fairly. Its purpose is to provide a serial device access control method.

3. 발명의 해결방법의 요지3. Summary of Solution to Invention

본 발명은, 시리얼 장치 접근 제어 방법에 있어서, 시리얼 장치를 사용하려는 임의의 애플리케이션으로부터 사전 등록 요청 메시지를 수신하는 단계; 상기 사전 등록을 요청한 애플리케이션이 유효한 애플리케이션임을 확인함에 따라, 상기 애플리케이션에 대한 사용 등록 과정을 수행하는 사용 등록 단계; 현재 시리얼 장치를 사용중인 타 애플리케이션과, 상기 사용 등록된 애플리케이션으로 사용 대기 통보 메시지 및 사용 등록 성공 메시지를 각각 송신하는 알림 단계; 상기 사용 등록된 애플리케이션으로부터 사용 통보 메시지를 수신함에 따라, 상기 현재 시리얼 장치를 사용중인 상기 타 애플리케이션으로 사용 불가 메시지를 송신하는 사용 해제 요청 단계; 상기 타 애플리케이션으로부터 사용 해제 메시지를 수신함에 따라, 디바이스 드라이버에 대한 환경 설정 과정을 수행하는 환경 설정 단계; 및 상기 사 용 등록된 애플리케이션으로 사용 허가 메시지를 송신하여 상기 디바이스 드라이버에 접근하여 원하는 시리얼 장치를 사용할 수 있도록 하는 사용 허가 단계를 포함한다.The present invention relates to a serial device access control method, comprising: receiving a pre-registration request message from any application that intends to use a serial device; A use registration step of performing a use registration process for the application in response to confirming that the application requesting the pre-registration is a valid application; A notification step of transmitting a use wait notification message and a use registration success message to another application currently using a serial device and the use registered application; A usage release request step of transmitting a usage disable message to the other application currently using the serial device upon receiving a usage notification message from the application registered for use; An environment setting step of performing an environment setting process for a device driver in response to receiving a use release message from the other application; And a permission step of transmitting a permission message to the registered application so as to access the device driver to use a desired serial device.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 무선통신 단말기 등에 이용됨.The present invention is used in a wireless communication terminal.

시리얼 장치, 접근 제어 장치, 사전 등록, 무선통신 단말기 Serial device, access control device, pre-registration, wireless communication terminal

Description

시리얼 장치 접근 제어 방법{Method for controlling access to serial device}Method for controlling access to serial device}

도 1 은 본 발명에 따른 시리얼 장치 접근 제어 방법이 적용되는 무선통신 단말기의 일실시예 구성도,1 is a configuration diagram of an embodiment of a wireless communication terminal to which a serial device access control method according to the present invention is applied;

도 2 는 본 발명에 따른 시리얼 장치 접근 제어 방법 중 시리얼 장치 접근을 위한 사전 등록 과정에 대한 일실시예 흐름도,2 is a flowchart illustrating a pre-registration process for accessing a serial device in the serial device access control method according to the present invention;

도 3 은 본 발명에 따른 시리얼 장치 접근 제어 방법 중 시리얼 장치 접근의 허가 과정에 대한 일실시예 흐름도이다.3 is a flowchart illustrating an authorization process for serial device access in the serial device access control method according to the present invention.

* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

10 : 애플리케이션 1 20 : 애플리케이션 210: application 1 20: application 2

30 : 접근 제어 장치 40 : 디바이스 드라이버30: access control device 40: device driver

50 : USB 시리얼 포트 60 : UART 시리얼 포트50: USB serial port 60: UART serial port

70 : 블루투스70: Bluetooth

본 발명은 시리얼 장치 접근 제어 방법에 관한 것으로, 더욱 상세하게는 한정된 시리얼 장치(예 : USB 시리얼 포트)를 다수의 애플리케이션이 동시에 사용하려 시도함에 따라 발생하는 충돌을 방지하기 위해 각종 시리얼 장치를 구동시키는 디바이스 드라이버에 대한 각 애플리케이션의 접근을 중간에서 제어함으로써, 보다 안정적이고 공평하게 시리얼 장치를 사용할 수 있도록 하기 위한, 시리얼 장치 접근 제어 방법에 관한 것이다.The present invention relates to a serial device access control method, and more particularly, to run a variety of serial devices to prevent conflicts caused by multiple applications attempt to use a limited serial device (eg, USB serial port) at the same time The present invention relates to a serial device access control method for controlling serial access of each application to a device driver so that the serial device can be used more stably and equitably.

그리고, 본 발명에서 무선통신 단말기란 이동통신 단말기, 개인휴대통신 단말기(PCS), 개인용디지털 단말기(PDA), 스마트폰, 차세대이동통신 단말기(IMT-2000), 무선랜 단말기 등과 같이 개인이 휴대하면서 무선통신이 가능한 단말기를 말한다.In the present invention, a wireless communication terminal is a mobile communication terminal, a personal mobile communication terminal (PCS), a personal digital terminal (PDA), a smart phone, a next generation mobile communication terminal (IMT-2000), such as a wireless terminal while carrying a person A terminal capable of wireless communication.

이때, 무선통신이란 호 착/발신, 무선 데이터 통신(예 : 단문/멀티미디어 메시징 서비스)를 포함한다.In this case, the wireless communication includes call / outgoing and wireless data communication (eg, short message / multimedia messaging service).

최근의 고기능화, 복합화에 따라 외부 장치와 유/무선으로 통신하는 애플리케이션이 무선통신 단말기에 속속 탑재되고 있다. 예를 들면, USB(Universal Serial Bus) 시리얼 포트, UART(Universal Asynchronous Receiver Transmitter) 시리얼 포트, 블루투스 등과 같은 각종 시리얼 장치(serial device)를 통해 외부 장치(예 : 퍼스널 컴퓨터)와 각종 데이터(예 : 이미지)를 주고받을 수 있도록 하고 있다.BACKGROUND With recent high functionalization and complexities, applications that communicate with external devices via wired or wireless devices are being installed in wireless communication terminals. For example, external devices (e.g. personal computers) and various data (e.g. images) can be accessed through various serial devices such as a universal serial bus (USB) serial port, a universal asynchronous receiver transmitter (UART) serial port, and Bluetooth. ) To send and receive.

일반적으로, 무선통신 단말기는 휴대의 용이성을 위해 단말기 자체의 크기가 제한되고 칩 설계상의 제약이 존재하는 특징이 있다. 이에 따라, 현재 출시되는 대부분의 단말기는 1~3 개 정도의 시리얼 장치를 구비하고 있다. 즉, 시리얼 장치의 개수는 1~3 개 정도로 한정적인데 반해, 외부 장치와 통신하려는 애플리케이션의 수는 점점 늘어나고 있는 상황이다. 이때, 각 시리얼 장치는 동일한 디바이스 드라이버(SIO Device Driver)에 의해 구동된다. In general, a wireless communication terminal has a feature that the size of the terminal itself is limited and chip design constraints exist for ease of portability. Accordingly, most terminals currently on the market have one to three serial devices. In other words, the number of serial devices is limited to one to three, while the number of applications that want to communicate with external devices is increasing. At this time, each serial device is driven by the same device driver (SIO Device Driver).

종래 기술에 따른 무선통신 단말기에서는, 여러 개의 애플리케이션이 동시에 디바이스 드라이버에 접근하는 경우 이로 인한 충돌이 발생하여 소프트웨어적인 안정성이 떨어지는 문제점이 있었다. In the wireless communication terminal according to the related art, when several applications access the device driver at the same time, a collision occurs due to this, and thus there is a problem that the software stability is lowered.

즉, 종래 기술에서는 런타임시 다수의 애플리케이션이 한정된 자원인 디바이스 드라이버에 동시에 접근하는 것을 통제할 수 없으므로, 애플리케이션 간의 충돌을 방지할 수 없는 문제점이 있었다.That is, in the prior art, since a plurality of applications cannot control access to a device driver which is a limited resource at the same time, there is a problem in that a collision between applications cannot be prevented.

또한, 종래 기술의 경우 디바이스 드라이버에 접근하는 다수의 애플리케이션 에 대해 공평한 자원 사용을 보장할 수 없는 문제점이 있었다. 즉, 디바이스 드라이버로의 접근 및 시리얼 장치의 사용을 공평하게 분배하지 못하는 문제점이 있었다.In addition, the prior art has a problem that can not guarantee a fair resource use for a number of applications that access the device driver. That is, there is a problem in that access to device drivers and the use of serial devices cannot be distributed evenly.

본 발명은 상기 문제점을 해결하기 위하여 제안된 것으로, 시리얼 장치(예 : USB 시리얼 포트)를 구동시키는 디바이스 드라이버에 대한 접근을 사전 등록을 마 친 각 애플리케이션에 차례대로 허가함으로써, 다수의 애플리케이션이 보다 안정적이고 공평하게 시리얼 장치를 사용할 수 있도록 하기 위한, 시리얼 장치 접근 제어 방법을 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above problems, and by allowing each application that pre-registered in turn to access the device driver for driving a serial device (eg, a USB serial port), a plurality of applications are more stable. The purpose of the present invention is to provide a serial device access control method so that a serial device can be used fairly and equitably.

본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있으며, 본 발명의 실시예에 의해 보다 분명하게 알게 될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.Other objects and advantages of the present invention can be understood by the following description, and will be more clearly understood by the embodiments of the present invention. Also, it will be readily appreciated that the objects and advantages of the present invention may be realized by the means and combinations thereof indicated in the claims.

상기 목적을 달성하기 위한 본 발명의 방법은, 시리얼 장치 접근 제어 방법에 있어서, 시리얼 장치를 사용하려는 임의의 애플리케이션으로부터 사전 등록 요청 메시지를 수신하는 단계; 상기 사전 등록을 요청한 애플리케이션이 유효한 애플리케이션임을 확인함에 따라, 상기 애플리케이션에 대한 사용 등록 과정을 수행하는 사용 등록 단계; 현재 시리얼 장치를 사용중인 타 애플리케이션과, 상기 사용 등록된 애플리케이션으로 사용 대기 통보 메시지 및 사용 등록 성공 메시지를 각각 송신하는 알림 단계; 상기 사용 등록된 애플리케이션으로부터 사용 통보 메시지를 수신함에 따라, 상기 현재 시리얼 장치를 사용중인 상기 타 애플리케이션으로 사용 불가 메시지를 송신하는 사용 해제 요청 단계; 상기 타 애플리케이션으로부터 사용 해제 메시지를 수신함에 따라, 디바이스 드라이버에 대한 환경 설정 과정을 수행하는 환경 설정 단계; 및 상기 사용 등록된 애플리케이션으로 사용 허가 메시지를 송 신하여 상기 디바이스 드라이버에 접근하여 원하는 시리얼 장치를 사용할 수 있도록 하는 사용 허가 단계를 포함한다.The method of the present invention for achieving the above object comprises the steps of: receiving a pre-registration request message from any application that intends to use the serial device; A use registration step of performing a use registration process for the application in response to confirming that the application requesting the pre-registration is a valid application; A notification step of transmitting a use wait notification message and a use registration success message to another application currently using a serial device and the use registered application; A usage release request step of transmitting a usage disable message to the other application currently using the serial device upon receiving a usage notification message from the application registered for use; An environment setting step of performing an environment setting process for a device driver in response to receiving a use release message from the other application; And a permission step of transmitting a permission message to the use-registered application to access the device driver to use a desired serial device.

상술한 목적, 특징 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이며, 그에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에 그 상세한 설명을 생략하기로 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명하기로 한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, whereby those skilled in the art may easily implement the technical idea of the present invention. There will be. In addition, in describing the present invention, when it is determined that the detailed description of the known technology related to the present invention may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명은, 시리얼 장치를 사용하고자 하는 각 애플리케이션이 디바이스 드라이버에 직접 접근하는 것이 아니라 접근 제어 장치로부터 허가를 받은 후에 접근하도록 함으로써, 디바이스 드라이버에 대한 동시 접근에 따른 애플리케이션 간의 충돌을 방지한다. 이때, 접근 허가 순서는 디바이스 드라이버로의 접근 및 시리얼 장치의 사용을 위해 상기 접근 제어 장치에 사전 등록한 순서와 동일할 수 있다. The present invention prevents conflicts between applications due to simultaneous access to the device driver by allowing each application that intends to use the serial device to access the device driver instead of directly accessing the device driver after being authorized by the access control device. In this case, the access permission order may be the same as the order previously registered in the access control device for access to the device driver and use of the serial device.

여기서, 접근 제어 장치는 각 애플리케이션의 사전 등록 및 사용 허가를 위해 별도의 프로토콜에 따라 동작한다. 즉, 접근 제어 장치와 각 애플리케이션이 소정 절차에 따라 메시지를 주고받음으로 각각의 애플리케이션이 충돌없이 디바이스 드라이버에 접근하여 시리얼 장치를 사용할 수 있도록 한다.Here, the access control device operates according to a separate protocol for pre-registration and use permission of each application. That is, the access control device and each application exchange messages according to a predetermined procedure so that each application can access the device driver and use the serial device without conflict.

이하의 일실시예에서는, 시리얼 장치로서 USB 시리얼 포트, UART 시리얼 포트, 블루투스가 함께 구비된 경우를 일예로 설명하기로 한다.In the following embodiment, a case where a USB serial port, a UART serial port, Bluetooth is provided as a serial device will be described as an example.

도 1 은 본 발명에 따른 시리얼 장치 접근 제어 방법이 적용되는 무선통신 단말기의 일실시예 구성도이다.1 is a configuration diagram of an embodiment of a wireless communication terminal to which a serial device access control method according to the present invention is applied.

도 1에 도시된 바와 같이, 본 발명에 따른 시리얼 장치 접근 제어 방법이 적용되는 무선통신 단말기는, 다양한 응용 기능을 각각 수행하기 위한 다수의 애플리케이션(10, 20)과, 각 애플리케이션의 디바이스 드라이버에 대한 접근을 일괄적으로 제어하기 위한 접근 제어 장치(30)와, 각 시리얼 장치(50, 60, 70)를 구동시키기 위한 디바이스 드라이버(40)를 포함한다. 그리고, 시리얼 장치로서 USB 시리얼 포트(50), UART 시리얼 포트(60), 및 블루투스(70)를 포함한다.As shown in FIG. 1, a wireless communication terminal to which a serial device access control method according to the present invention is applied includes a plurality of applications 10 and 20 for performing various application functions, and a device driver of each application. An access control device 30 for collectively controlling access, and a device driver 40 for driving each serial device 50, 60, 70. The serial device includes a USB serial port 50, a UART serial port 60, and a Bluetooth 70.

이때, 외부 장치(도시되지 않음)와 통신하고자 하는 각 애플리케이션(10, 20)은 시리얼 장치(50, 60, 70)에 대한 사용 등록을 접근 제어 장치(30)에 요청한다. 즉, 시리얼 장치(50, 60, 70)를 구동시키는 디바이스 드라이버(40)에 각 애플리케이션(10, 20)이 직접 접근하는 것이 아니라, 시리얼 장치(50, 60, 70)의 사용을 위한 사전 등록을 먼저 접근 제어 장치(30)에 요청한다.In this case, each of the applications 10 and 20 to communicate with an external device (not shown) requests the access control device 30 to register the use of the serial devices 50, 60, and 70. That is, each application 10, 20 does not directly access the device driver 40 driving the serial devices 50, 60, 70, but pre-registers for use of the serial devices 50, 60, 70. First, the access control device 30 is requested.

그리고, 상기 접근 제어 장치(30)로부터 사전 등록 과정이 성공적임을 회신함에 따라 시리얼 장치(50, 60, 70)의 사용을 접근 제어 장치(30)로 통보하고, 이후 시리얼 장치(50, 60, 70)에 대한 사용을 허가받음에 따라 디바이스 드라이버(40)에 접근하여 시리얼 장치(50, 60, 70)를 사용한다.In response to the successful registration of the pre-registration process from the access control device 30, the access control device 30 is notified of the use of the serial devices 50, 60, 70, and then the serial devices 50, 60, 70 are used. ), The device driver 40 is accessed to use the serial devices 50, 60, and 70.

또한, 시리얼 장치(50, 60, 70)를 사용중인 임의의 애플리케이션(10, 20)은 접근 제어 장치(30)로부터 다른 애플리케이션(10, 20)에 의한 사전 등록 및 시리얼 장치(50, 60, 70)에 대한 사용 불가를 차례대로 통보받음에 따라 시리얼 장치(50, 60, 70)의 사용을 해제한 후 해당 시리얼 장치(50, 60, 70)가 사용 가능한 상태임을 접근 제어 장치(30)로 전달한다.In addition, any application 10, 20 using serial device 50, 60, 70 may be pre-registered by another application 10, 20 from access control device 30 and serial device 50, 60, 70. In response to being notified of the unavailability, the serial device (50, 60, 70) is released and the serial device (50, 60, 70) is available to the access control device (30). do.

한편, 접근 제어 장치(30)는 각 애플리케이션(10, 20)의 요청에 따라 시리얼 장치(50, 60, 70)에 대한 사전 등록 과정을 수행하고, 시리얼 장치(50, 60, 70)가 사용 가능한 상태일 경우 사전 등록한 순서에 따라 그 사용을 허가한다.On the other hand, the access control device 30 performs a pre-registration process for the serial device (50, 60, 70) according to the request of each application (10, 20), the serial device (50, 60, 70) available In the case of a state, use is permitted in the order of pre-registration.

또한, 디바이스 드라이버(40)는 각 시리얼 장치, 즉 USB 시리얼 포트(50), UART 시리얼 포트(60), 블루투스(70)를 각각 구동시킨다. 여기서, 디바이스 드라이버(40)는 SIO(Serial Input and output) 디바이스 드라이버를 말한다.In addition, the device driver 40 drives each serial device, that is, the USB serial port 50, the UART serial port 60, and the Bluetooth 70. Here, the device driver 40 refers to a serial input and output (SIO) device driver.

각 애플리케이션(10, 20)과 접근 제어 장치(30)는 소정 절차에 따라 메시지를 주고받음으로 통신할 수 있는데, 이를 다음의 도 2 및 도 3을 참조하여 보다 상세히 살펴보기로 한다. 하기의 설명에서는, 애플리케이션 1(10)이 사용중인 시리얼 장치(50, 60, 70)를 애플리케이션 2(20)가 교체하여 사용하는 경우를 설명하기로 한다.Each application 10 and 20 and the access control device 30 may communicate by sending and receiving messages according to a predetermined procedure, which will be described in more detail with reference to FIGS. 2 and 3. In the following description, a case where the application 2 (20) is used to replace the serial device (50, 60, 70) in use by the application 1 (10) will be described.

도 2 는 본 발명에 따른 시리얼 장치 접근 제어 방법 중 시리얼 장치 접근을 위한 사전 등록 과정에 대한 일실시예 흐름도이다.2 is a flowchart illustrating a pre-registration process for accessing a serial device in the serial device access control method according to the present invention.

먼저, 애플리케이션 2(20)가 접근 제어 장치(30)로 시리얼 장치(50, 60, 70)의 사용을 위한 사전 등록 요청 메시지를 송신한다(201). 즉, 애플리케이션 2(20)가 자신이 시리얼 장치(50, 60, 70)를 사용하고자 하는 애플리케이션임을 접근 제어 장치(30)로 알린다.First, application 2 20 transmits a pre-registration request message for use of serial device 50, 60, 70 to access control device 30 (201). That is, the application 2 20 notifies the access control device 30 that it is an application that intends to use the serial devices 50, 60, and 70.

그러면, 접근 제어 장치(30)는 상기 사전 등록을 요청한 애플리케이션 2(20) 가 시리얼 장치(50, 60, 70)를 사용할 수 있는 유효한 애플리케이션임을 확인한다(202). 물론, 시리얼 장치(50, 60, 70)를 사용할 수 있는 유효한 애플리케이션이 아닐 경우에는 사전 등록 요청을 무시할 수 있다.Then, the access control device 30 confirms that the application 2 20 requesting the pre-registration is a valid application that can use the serial devices 50, 60, and 70 (202). Of course, if the application is not a valid application that can use the serial device (50, 60, 70) can ignore the pre-registration request.

유효한 애플리케이션임이 확인됨에 따라, 상기 접근 제어 장치(30)는 애플리케이션 2(20)에 대한 사용 등록 과정을 수행한다(203). 예를 들면, 사용 등록 테이블을 생성하여 사전 등록 요청 메시지가 송신된 순서에 따라 해당 애플리케이션이 등록되도록 할 수도 있다.As determined to be a valid application, the access control device 30 performs a use registration process for the application 2 (20) (203). For example, a usage registration table may be generated to register the corresponding application in the order in which the pre-registration request message is sent.

그리고, 접근 제어 장치(30)는 현재 시리얼 장치(50, 60, 70)를 사용중인 애플리케이션 1(10)으로 사용 대기 통보 메시지를 송신하여(204) 대기중인 타 애플리케이션이 있음을 알리고, 애플리케이션 2(20)로 사용 등록 성공 메시지를 송신하여 사전 등록이 완료되었음을 통보한다(205).Then, the access control device 30 transmits a use wait notification message to the application 1 (10) that is currently using the serial device (50, 60, 70) (204) to notify that there is another application waiting, and the application 2 ( A usage registration success message is sent to 20 to notify that pre-registration is completed (205).

도 3 은 본 발명에 따른 시리얼 장치 접근 제어 방법 중 시리얼 장치 접근의 허가 과정에 대한 일실시예 흐름도이다.3 is a flowchart illustrating an authorization process for serial device access in the serial device access control method according to the present invention.

먼저, 애플리케이션 2(20)는 접근 제어 장치(30)로 시리얼 장치(50, 60, 70)에 대한 사용 통보 메시지를 송신한다(301). 그리고, 접근 제어 장치(30)는 애플리케이션 1(10)으로 시리얼 장치(50, 60, 70)에 대한 사용 불가 메시지를 송신한다(302).First, the application 2 20 transmits a usage notification message for the serial device 50, 60, 70 to the access control device 30 (301). In addition, the access control device 30 transmits an unavailable message to the serial device 50, 60, 70 to the application 1 10 (302).

접근 제어 장치(30)로부터 사용 불가 메시지를 수신함에 따라, 애플리케이션 1(10)은 시리얼 장치(50, 60, 70)에 대한 사용을 해제하고(303) 시리얼 장치(50, 60, 70)가 사용 가능한 상태임을 알리기 위한 사용 해제 메시지를 상기 접근 제어 장치(30)로 송신한다(304).Upon receiving the unavailable message from the access control device 30, the application 1 10 releases the use of the serial device 50, 60, 70 (303) and uses it by the serial device 50, 60, 70. A usage release message is sent to the access control device 30 to indicate that it is possible (304).

이후, 접근 제어 장치(30)는 애플리케이션 2(20)가 시리얼 장치(50, 60, 70)를 사용할 수 있도록 환경 설정(configuration) 과정을 수행한다(305). 그리고, 애플리케이션 2(20)로 사용 허가 메시지를 송신한다(306). 즉, 애플리케이션 2(20)가 디바이스 드라이버(40)에 접근하여 원하는 시리얼 장치(50, 60, 70)를 사용할 수 있도록 한다(A 참조).Thereafter, the access control device 30 performs a configuration process so that the application 2 20 can use the serial devices 50, 60, and 70 (305). Then, the application permission message 20 is sent to the application 2 (20). That is, the application 2 20 may access the device driver 40 to use the desired serial device 50, 60, 70 (see A).

상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 형태로 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등)에 저장될 수 있다. 이러한 과정은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있으므로 더 이상 상세히 설명하지 않기로 한다.As described above, the method of the present invention may be implemented as a program and stored in a recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical disk, etc.) in a computer-readable form. Since this process can be easily implemented by those skilled in the art will not be described in more detail.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It is not limited by the drawings.

상기와 같은 본 발명은, 다수의 애플리케이션이 충돌하지 않으면서 공평하게 시리얼 장치를 사용할 수 있도록 함으로써, 소프트웨어의 안정성을 높일 수 있는 효과가 있다.The present invention as described above has the effect of increasing the stability of the software by allowing the serial device to be used fairly without conflicting applications.

Claims (3)

시리얼 장치 접근 제어 방법에 있어서,In the serial device access control method, 시리얼 장치를 사용하려는 임의의 애플리케이션으로부터 사전 등록 요청 메시지를 수신하는 단계;Receiving a pre-registration request message from any application that intends to use the serial device; 상기 사전 등록을 요청한 애플리케이션이 유효한 애플리케이션임을 확인함에 따라, 상기 애플리케이션에 대한 사용 등록 과정을 수행하는 사용 등록 단계;A use registration step of performing a use registration process for the application in response to confirming that the application requesting the pre-registration is a valid application; 상기 현재 시리얼 장치를 사용중인 타 애플리케이션과, 상기 사용 등록된 애플리케이션으로 사용 대기 통보 메시지 및 사용 등록 성공 메시지를 각각 송신하는 알림 단계;A notification step of transmitting a use wait notification message and a use registration success message to another application currently using the serial device and the use registered application; 상기 사용 등록된 애플리케이션으로부터 사용 통보 메시지를 수신함에 따라, 현재 시리얼 장치를 사용중인 상기 타 애플리케이션으로 사용 불가 메시지를 송신하는 사용 해제 요청 단계;A usage release request step of sending a usage disable message to the other application currently using the serial device upon receiving a usage notification message from the application registered for use; 상기 타 애플리케이션으로부터 사용 해제 메시지를 수신함에 따라, 디바이스 드라이버에 대한 환경 설정 과정을 수행하는 환경 설정 단계; 및An environment setting step of performing an environment setting process for a device driver in response to receiving a use release message from the other application; And 상기 사용 등록된 애플리케이션으로 사용 허가 메시지를 송신하여 상기 디바이스 드라이버에 접근하여 원하는 시리얼 장치를 사용할 수 있도록 하는 사용 허가 단계A permission step of sending a permission message to the registered application to use the desired serial device by accessing the device driver. 를 포함하는 시리얼 장치 접근 제어 방법.Serial device access control method comprising a. 제 1 항에 있어서,The method of claim 1, 상기 시리얼 장치는,The serial device, USB 시리얼 포트, UART 시리얼 포트, 블루투스 중 적어도 어느 하나를 포함하는 것을 특징으로 하는 시리얼 장치 접근 제어 방법.A serial device access control method comprising at least one of a USB serial port, a UART serial port, and Bluetooth. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 사용 등록 단계는,The use registration step, 사전 등록 요청 메시지가 송신된 순서에 따라 해당되는 각 애플리케이션에 대한 사용 등록 과정을 수행하는 것을 특징으로 하는 시리얼 장치 접근 제어 방법.And performing a usage registration process for each corresponding application in the order in which the pre-registration request message is transmitted.
KR1020050074894A 2005-08-16 2005-08-16 Method for controlling access to serial device KR20070020703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050074894A KR20070020703A (en) 2005-08-16 2005-08-16 Method for controlling access to serial device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050074894A KR20070020703A (en) 2005-08-16 2005-08-16 Method for controlling access to serial device

Publications (1)

Publication Number Publication Date
KR20070020703A true KR20070020703A (en) 2007-02-22

Family

ID=43653027

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050074894A KR20070020703A (en) 2005-08-16 2005-08-16 Method for controlling access to serial device

Country Status (1)

Country Link
KR (1) KR20070020703A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100794696B1 (en) * 2006-10-10 2008-01-14 에스케이 텔레콤주식회사 The apparatus and method for communication module joint of mobile telecommunications terminal
KR101446409B1 (en) * 2013-01-08 2014-10-07 한국원자력연구원 Apparatus and method for protecting control object device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100794696B1 (en) * 2006-10-10 2008-01-14 에스케이 텔레콤주식회사 The apparatus and method for communication module joint of mobile telecommunications terminal
KR101446409B1 (en) * 2013-01-08 2014-10-07 한국원자력연구원 Apparatus and method for protecting control object device

Similar Documents

Publication Publication Date Title
EP2341464B1 (en) Method, system and smart card reader for management of access to a smart card
US7766243B2 (en) Method, system and smart card reader for management of access to a smart card
EP2941855B1 (en) Authenticating a wireless dockee to a wireless docking service
KR100735382B1 (en) Security communication method and apparatus in bluetooth terminal
KR20200028208A (en) electronic device for supporting access to wireless media using TWT(target wake time) defined in the IEEE 802.11 standard
KR101195350B1 (en) Techniques for management of shared resources in wireless multi-communication devices
US20060094402A1 (en) Security monitoring method in bluetooth device
US9019878B2 (en) Phone supporting mode conversion
JP7086853B2 (en) Network access methods, related equipment and systems
KR101380894B1 (en) Terminal apparatus for providing tethering and operating method thereof
CN112689012A (en) Cross-network proxy communication method and device
KR20070020703A (en) Method for controlling access to serial device
US11728841B2 (en) Method and apparatus for providing regulatory information in UWB system
KR100649450B1 (en) Telephone conversation recording server of providing telephone conversation data to authenticated users and method for operating the server
US7937514B2 (en) CWUSB host management system
KR20180112523A (en) Electronic apparatus and method for control thereof
KR20220039120A (en) Method for authenticating device tethered through usb connection, and network system providing the method
US20190311110A1 (en) Method, first device and system for authenticating to a second device
CA2658422C (en) Method, system and smart card reader for management of access to a smart card
KR102160571B1 (en) Method for controlling connection using hidden ssid and apparatus therefor
KR100644677B1 (en) Method and apparatus for controlling remote printing
US7668190B1 (en) Method for supporting multiple devices on a high speed physical link
KR20010057065A (en) Method for transferring data in wireless communication system
US20100167663A1 (en) Mobile Communication Device and Communication Method Thereof
CN118041713A (en) Communication method, master device, slave device and communication system

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination