KR100740001B1 - Method for Setting Function Between Multi-Function USB Slave Device and USB Host Device and Multi-Function USB Slave Device therefor - Google Patents

Method for Setting Function Between Multi-Function USB Slave Device and USB Host Device and Multi-Function USB Slave Device therefor Download PDF

Info

Publication number
KR100740001B1
KR100740001B1 KR1020060000246A KR20060000246A KR100740001B1 KR 100740001 B1 KR100740001 B1 KR 100740001B1 KR 1020060000246 A KR1020060000246 A KR 1020060000246A KR 20060000246 A KR20060000246 A KR 20060000246A KR 100740001 B1 KR100740001 B1 KR 100740001B1
Authority
KR
South Korea
Prior art keywords
function
usb
index
descriptor
manager module
Prior art date
Application number
KR1020060000246A
Other languages
Korean (ko)
Other versions
KR20070072768A (en
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 KR1020060000246A priority Critical patent/KR100740001B1/en
Publication of KR20070072768A publication Critical patent/KR20070072768A/en
Application granted granted Critical
Publication of KR100740001B1 publication Critical patent/KR100740001B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65DCONTAINERS FOR STORAGE OR TRANSPORT OF ARTICLES OR MATERIALS, e.g. BAGS, BARRELS, BOTTLES, BOXES, CANS, CARTONS, CRATES, DRUMS, JARS, TANKS, HOPPERS, FORWARDING CONTAINERS; ACCESSORIES, CLOSURES, OR FITTINGS THEREFOR; PACKAGING ELEMENTS; PACKAGES
    • B65D5/00Rigid or semi-rigid containers of polygonal cross-section, e.g. boxes, cartons or trays, formed by folding or erecting one or more blanks made of paper
    • B65D5/20Rigid or semi-rigid containers of polygonal cross-section, e.g. boxes, cartons or trays, formed by folding or erecting one or more blanks made of paper by folding-up portions connected to a central panel from all sides to form a container body, e.g. of tray-like form
    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01GHORTICULTURE; CULTIVATION OF VEGETABLES, FLOWERS, RICE, FRUIT, VINES, HOPS OR SEAWEED; FORESTRY; WATERING
    • A01G9/00Cultivation in receptacles, forcing-frames or greenhouses; Edging for beds, lawn or the like
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65DCONTAINERS FOR STORAGE OR TRANSPORT OF ARTICLES OR MATERIALS, e.g. BAGS, BARRELS, BOTTLES, BOXES, CANS, CARTONS, CRATES, DRUMS, JARS, TANKS, HOPPERS, FORWARDING CONTAINERS; ACCESSORIES, CLOSURES, OR FITTINGS THEREFOR; PACKAGING ELEMENTS; PACKAGES
    • B65D85/00Containers, packaging elements or packages, specially adapted for particular articles or materials
    • B65D85/50Containers, packaging elements or packages, specially adapted for particular articles or materials for living organisms, articles or materials sensitive to changes of environment or atmospheric conditions, e.g. land animals, birds, fish, water plants, non-aquatic plants, flower bulbs, cut flowers or foliage

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Environmental Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Evolutionary Biology (AREA)
  • General Health & Medical Sciences (AREA)
  • Marine Sciences & Fisheries (AREA)
  • Toxicology (AREA)
  • Zoology (AREA)
  • Information Transfer Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

본 발명은 다기능 USB 슬레이브 장치와 USB 호스트 장치 간의 기능 설정 방법에 관한 것이다.The present invention relates to a method for setting a function between a multifunction USB slave device and a USB host device.

본 발명의 다기능 USB 슬레이브 장치와 USB 호스트 장치 간의 기능 설정 방법은 USB 호스트 장치로부터 슬레이브 장치의 기능 정보를 인식하기 위한 기능 디스크립터가 요청되면, 복수의 USB 기능 중 가장 최근 활성화되었던 기능을 기능 인덱스 1로 설정하고, 각 기능 별 인덱스를 모두 포함하도록 디스크립터를 조합하여 작성한 기능 디스크립터를 상기 USB 호스트 장치로 전송하는 제1단계와; USB 호스트 장치가 상기 기능 인덱스 1에 대한 기능을 적용하고 USB 슬레이브 장치로 기능 인덱스 1에 대한 기능으로의 설정을 요청하면, 인덱스 1에 대한 USB 기능을 활성화시키는 제2단계; 를 포함하여 이루어짐에 기술적 특징이 있다.In the method for setting a function between the multi-function USB slave device and the USB host device of the present invention, when a function descriptor for recognizing the function information of the slave device is requested from the USB host device, the most recently activated function among the plurality of USB functions is set as the function index 1. A first step of setting and transmitting a function descriptor created by combining descriptors to include all indexes of each function to the USB host device; A second step of activating the USB function for index 1 when the USB host device applies the function for function index 1 and requests the USB slave device to set the function for function index 1; There is a technical feature made to include.

Description

다기능 USB 슬레이브 장치와 USB 호스트 장치 간의 기능 설정 방법 및 이를 위한 다기능 USB 슬레이브 장치{Method for Setting Function Between Multi-Function USB Slave Device and USB Host Device and Multi-Function USB Slave Device therefor}Method for Setting Function Between Multi-Function USB Slave Device and USB Host Device and Multi-Function USB Slave Device therefor}

도 1은 종래의 USB 슬레이브 장치와 USB 호스트 장치 간 기능 설정 과정을 나타낸 흐름도,1 is a flowchart illustrating a function setting process between a conventional USB slave device and a USB host device;

도 2는 본 발명의 일 실시예에 따른 USB 슬레이브 장치와 USB 호스트 장치 간 기능 설정 과정을 나타낸 흐름도,2 is a flowchart illustrating a function setting process between a USB slave device and a USB host device according to an embodiment of the present invention;

도 3은 본 발명의 일 실시예에 따른 기능 디스크립터 조합 방식을 설명하기 위한 개념도,3 is a conceptual diagram illustrating a functional descriptor combination method according to an embodiment of the present invention;

도 4는 본 발명의 일 실시예에 따른 다기능 USB 슬레이브 장치의 구성도,4 is a block diagram of a multi-function USB slave device according to an embodiment of the present invention;

도 5는 도 4의 USB 슬레이브 장치를 이용하여 본 발명의 일 실시예에 따른 기능 설정 과정을 설명하기 위한 상세 흐름도이다.5 is a detailed flowchart illustrating a function setting process according to an embodiment of the present invention using the USB slave device of FIG. 4.

< 도면의 주요 부분에 대한 부호의 설명 ><Description of Symbols for Main Parts of Drawings>

100 : 무선 인터넷 플랫폼 200 : USB 매니저 모듈100: wireless internet platform 200: USB manager module

300 : 파일 입출력 서브 시스템 400 : USB 서브 시스템300: file input / output subsystem 400: USB subsystem

본 발명은 다기능 USB 슬레이브 장치와 USB 호스트 장치 간의 기능 설정 방법 및 이를 위한 다기능 USB 슬레이브 장치에 관한 것으로 보다 자세하게는 첫번째로 정의된 기능만을 기본 값으로 인식하는 USB 호스트 장치가 여러가지 USB 기능을 갖는 USB 슬레이브 장치가 현재 적용하고자 하는 기능을 인식할 수 있도록 하는 다기능 USB 슬레이브 장치와 USB 호스트 장치 간의 기능 설정 방법 및 이를 위한 다기능 USB 슬레이브 장치에 관한 것이다.The present invention relates to a method for setting a function between a multi-function USB slave device and a USB host device and a multi-function USB slave device for this purpose. The present invention relates to a method for setting a function between a multi-function USB slave device and a USB host device that enables a device to recognize a function to be applied currently, and a multi-function USB slave device for the same.

우선, 도 1을 통해 종래 호스트 장치와 슬레이브 장치 간 슬레이브 장치 기능 설정 방법을 살펴보면 다음과 같다.First, referring to FIG. 1, a method of setting a slave device function between a host device and a slave device is as follows.

PC 등의 호스트 장치와 이동 통신 단말 등의 슬레이브 장치가 USB를 통해 서로 연결되고(S001) 장치 인식이 이루어지면, 호스트 장치는 슬레이브 장치로 단말(슬레이브 장치)의 기능을 나타내는 디스크립터를 요청한다(S002).When a host device such as a PC and a slave device such as a mobile communication terminal are connected to each other via USB (S001) and the device is recognized, the host device requests a descriptor indicating the function of the terminal (slave device) from the slave device (S002). ).

슬레이브 장치는 자신이 가지고 있는 하나의 USB 기능(예: 객체 교환 기능)을 기능 1(Configuration 1)으로 한 기능 디스크립터를 호스트 장치로 전송하며(S003), 현재의 호스트 장치는 하나의 USB 기능만을 갖는 슬레이브 장치를 대상으로 구현되어 있음에 따라 기능 1을 기본값으로 인식하여 해당 기능을 적용하고, 슬레이브 장치로 해당 기능 디스크립터의 기능 1로 설정할 것을 요청한다(S004).The slave device transmits a function descriptor having one USB function (eg, object exchange function) as its configuration 1 to the host device (S003), and the current host device has only one USB function. As it is implemented for the slave device, it recognizes the function 1 as a default value, applies the corresponding function, and requests the slave device to set the function 1 as the function descriptor (S004).

상기와 같이, 기존에는 하나의 USB 장치가 USB 인터페이스를 통해 이용 가능한 하나의 기능만을 가지고 있었기 때문에 기존 호스트 장치의 USB 드라이버는 기 능 1을 디폴트로 하여 하나의 기능만을 적용할 수 있도록 이루어져 있다.As described above, since a single USB device has only one function available through a USB interface, the USB driver of the existing host device is configured to apply only one function by default to function 1.

한편, 현재에는 하나의 USB 장치가 USB 인터페이스를 통한 모뎀 기능, 객체 교환(Object Exchange; OBEX) 기능, 매스 스토리지(Mass Storage) 기능 등을 모두 포함하는 방향으로 개발되고 있으며, 이러한 다기능 USB 장치에 기존의 호스트 장치와 USB 장치간 기능 설정 방법을 그대로 적용하게 되면, 다양한 기능을 지원하는 USB의 기능을 원활하게 처리하는데 문제를 일으키고, 현재 퀄컴 MSM ASIC의 USB 서브 시스템의 하드웨어적인 제약성에 의하여 완벽히 USB 기능을 사용할 수 없다는 문제점이 있다.Currently, a single USB device is being developed to include a modem function, an object exchange (OBEX) function, a mass storage function, and the like through a USB interface. If the function setting method between the host device and the USB device is applied as it is, it will cause problems in smoothly processing the functions of the USB device that supports various functions, and due to the hardware limitations of the current USB subsystem of Qualcomm MSM ASIC, the USB function is fully supported. There is a problem that cannot be used.

즉, 기존의 방법에 의하면, 슬레이브 장치는 기능 1에 대한 디스크립터만을 호스트 장치로 전송하며, 호스트 장치는 슬레이브 장치가 가진 여러가지 기능 중 상기 디스크립터를 통해 전송된 기능만을 인식하게 되어, 결국 슬레이브 장치가 USB 기능을 복수로 가지고 있다고 하더라도 다기능을 원활하게 처리할 수 없게 된다.That is, according to the conventional method, the slave device transmits only the descriptor for the function 1 to the host device, and the host device recognizes only the function transmitted through the descriptor among various functions of the slave device, so that the slave device receives the USB. Even if you have multiple functions, you will not be able to handle multifunction smoothly.

따라서, 다기능 USB 장치는 슬레이브 장치의 기능(Configuration)을 복수개로 관리할 수 있어야 하며, USB 장치의 인식 시 USB 장치로부터 전송되는 디스크립터의 기능 1의 기능을 디폴트로 사용하는 기존의 호스트 장치가 여러가지 기능 중 현재 이용하고자 하는 기능을 인식할 수 있도록 하여야 한다.Therefore, the multi-function USB device must be able to manage a plurality of configuration (configuration) of the slave device, and the existing host device that uses the function of the function 1 of the descriptor transmitted from the USB device by default when the USB device is recognized by various functions It should be able to recognize the function to be used currently.

따라서, 본 발명은 상기와 같은 종래 기술의 제반 단점과 문제점을 해결하기 위한 것으로, 다기능 USB 장치가 복수의 기능(Configuration)을 기능별 인덱스를 통해 관리하여, 기능 1을 디폴트로 사용하는 종래의 호스트 장치가 다기능 슬레이브 장치가 현재 이용하고자 하는 기능을 적용할 수 있도록 하는 다기능 USB 슬레이브 장치와 USB 호스트 장치 간의 기능 설정 방법 및 이를 위한 다기능 USB 슬레이브 장치를 제공함에 본 발명의 목적이 있다.Accordingly, the present invention is to solve the above-mentioned disadvantages and problems of the prior art, a conventional host device that uses the function 1 by default, the multi-function USB device manages a plurality of configuration (Configuration) through the function-specific index An object of the present invention is to provide a method for setting a function between a multi-function USB slave device and a USB host device and a multi-function USB slave device for allowing the multi-function slave device to apply a function to be used at present.

본 발명의 상기 목적은 복수의 USB 기능을 포함하는 USB 슬레이브 장치와 첫번째로 정의된 기능을 기본 값으로 적용하는 USB 호스트 장치 간의 기능 설정 방법으로서, USB 호스트 장치로부터 슬레이브 장치의 기능 정보를 인식하기 위한 기능 디스크립터가 요청되면, 복수의 USB 기능 중 가장 최근 활성화되었던 기능을 기능 인덱스 1로 설정하고, 각 기능 별 인덱스를 모두 포함하도록 디스크립터를 조합하여 작성한 기능 디스크립터를 상기 USB 호스트 장치로 전송하는 제1단계와; USB 호스트 장치가 상기 기능 인덱스 1에 대한 기능을 적용하고 USB 슬레이브 장치로 기능 인덱스 1에 대한 기능으로의 설정을 요청하면, 인덱스 1에 대한 USB 기능을 활성화시키는 제2단계; 를 포함하여 이루어짐을 특징으로 하는 다기능 USB 슬레이브 장치와 USB 호스트 장치 간의 기능 설정 방법에 의해 달성된다.The above object of the present invention is a function setting method between a USB slave device including a plurality of USB functions and a USB host device applying a first defined function as a default value, and for recognizing the function information of the slave device from the USB host device. When the function descriptor is requested, a first step of setting the most recently activated function among the plurality of USB functions to function index 1 and transmitting the function descriptor created by combining the descriptors to include all the indexes for each function to the USB host device; Wow; A second step of activating the USB function for index 1 when the USB host device applies the function for function index 1 and requests the USB slave device to set the function for function index 1; It is achieved by a function setting method between a multi-function USB slave device and a USB host device characterized in that comprises a.

또한, 본 발명의 상기 목적은 USB 슬레이브 장치의 기능 인덱스 1을 기본 값으로 적용하는 USB 호스트 장치와의 USB 기능 설정을 위한 다기능 USB 슬레이브 장치로서, 무선 인터넷 플랫폼 상에서 동작하는 기능 인덱스에 대한 슬레이브 장치의 기능 디스크립터 및 무선 인터넷 플랫폼에서 사용되는 USB 포트에 대한 정보를 파 일로 저장하는 파일 입출력 서브 시스템과; 상기 파일 입출력 서브 시스템과 파일 입출력 인터페이스를 통해 연결되어, 무선 인터넷 플랫폼 상에서 동작하는 기능 인덱스에 해당되는 USB 정보를 관리하는 USB 매니저 모듈과; 단말 제조사에서 제공하는 USB 기능 디스크립터 정보를 관리하며, USB 호스트 장치로부터 기능 디스크립터 요청 명령을 받으면, 상기 USB 매니저 모듈이 관리하는 기능 인덱스에 대한 디스크립터 및 단말 제조사에서 제공하는 기능 인덱스에 대한 디스크립터를 모두 포함하는 디스크립터를 조합 작성하되, 최근 활성화되었던 기능을 기능 인덱스 1로 설정하여 상기 USB 호스트 장치로 전송하는 디바이스 매니저 모듈; 을 포함하여 이루어지는 다기능 USB 슬레이브 장치에 의해 달성된다.In addition, the above object of the present invention is a multi-function USB slave device for setting the USB function with the USB host device applying the function index 1 of the USB slave device as a default value, the slave device for the function index operating on the wireless Internet platform A file input / output subsystem for storing information about a function descriptor and a USB port used in a wireless internet platform as a file; A USB manager module connected to the file input / output subsystem and a file input / output interface to manage USB information corresponding to a function index operating on a wireless internet platform; Manages the USB function descriptor information provided by the terminal manufacturer, and includes a descriptor for the function index managed by the USB manager module and a descriptor for the function index provided by the terminal manufacturer when receiving a function descriptor request command from the USB host device. A device manager module for creating a combination of descriptors and setting a recently activated function to a function index 1 and transmitting the function to the USB host device; It is achieved by a multi-function USB slave device made.

본 발명의 상기 목적과 기술적 구성 및 그에 따른 작용 효과에 관한 자세한 사항은 본 발명의 명세서에 첨부된 도면에 의거한 이하 상세한 설명에 의해 보다 명확하게 이해될 것이다.Details of the above object and technical configuration of the present invention and the resulting effects thereof will be more clearly understood from the following detailed description based on the accompanying drawings.

먼저, 도 2는 본 발명의 일 실시예에 따른 USB 슬레이브 장치와 USB 호스트 장치 간 기능 설정 과정을 나타낸 흐름도이고, 도 3은 본 발명의 일 실시예에 따른 기능 디스크립터 조합 방식을 설명하기 위한 개념도이다.First, FIG. 2 is a flowchart illustrating a function setting process between a USB slave device and a USB host device according to an embodiment of the present invention, and FIG. 3 is a conceptual diagram illustrating a function descriptor combination method according to an embodiment of the present invention. .

도시된 바와 같이, 본 발명의 USB 슬레이브 장치는 호스트 장치와의 USB 연결이 이루어지고(S101), 호스트 장치로부터 슬레이브 장치의 기능 정보를 인식하기 위한 기능 디스크립터가 요청되면(S102), 자신이 가진 복수의 USB 기능 디스크립터를 조합한다(S103).As shown, the USB slave device of the present invention is a USB connection with the host device is made (S101), if a function descriptor for recognizing the function information of the slave device from the host device is requested (S102), it has a plurality of The USB function descriptors are combined (S103).

이때, 디스크립터의 조합은 호스트 장치가 기능 1을 디폴트로 적용한다는 사실에 착안하여, 슬레이브 장치에서 최근 활성화된 기능(가장 최근에 사용한 기능)을 기능 1로 설정하도록 한다.At this time, the combination of the descriptors takes into account the fact that the host device applies the function 1 as a default, and sets the recently activated function (the most recently used function) in the slave device to the function 1.

즉, 도 3에 도시한 바와 같이, 슬레이브 장치가 USB 기능으로서 기능 1, 기능 2, 기능 3을 가지고 있고, 가장 최근에 활성화되었던 기능이 기능 1인 경우, 슬레이브 장치는 기능 인덱스 1에 기능 1을 할당하고, 기능 인덱스 2에 기능 2를, 기능 인덱스 3에 기능 3을 할당하는 방식으로 디스크립터를 조합하여 기능 디스크립터를 호스트 장치로 전송하는 것이다.That is, as shown in FIG. 3, when the slave device has functions 1, 2, and 3 as USB functions, and the most recently activated function is function 1, the slave device assigns function 1 to function index 1. A function descriptor is transmitted to the host device by combining the descriptors by assigning the function index 2 and the function index 3 to the function index 2.

만약, 최근 활성화되었던 기능이 기능 2인 경우, 슬레이브 장치는 기능 인덱스 1에 기능 2를, 기능 인덱스 2에 기능 3을, 기능 인덱스 3에 기능 1을 할당하여 디스크립터를 조합한다.If the recently activated function is function 2, the slave device combines the descriptor by assigning function 2 to function index 1, function 3 to function index 2, and function 1 to function index 3.

도면에서는 기능 인덱스가 순환하는 원형 큐 형태로 관리되는 것으로 도시하였으나, 최근 사용한 기능이 인덱스 1이 되면 호스트 장치의 기능 인식에는 문제 없으므로 원형 큐 형태로 반드시 관리되어야 하는 것은 아니다. 또한, 슬레이브 장치의 USB 기능으로는 모뎀 기능, 객체 교환 기능, 매스 스토리지 기능 등이 있으며, 그 종류나 개수는 이에 제한되지 않는다.In the drawing, although the function index is managed in a circular circular queue form, when the recently used function becomes index 1, it is not necessarily managed in the circular queue form because there is no problem in the function recognition of the host device. In addition, the USB function of the slave device includes a modem function, an object exchange function, a mass storage function, and the like, and the type and number thereof are not limited thereto.

한편, 상기와 같이 슬레이브 장치가 기능 디스크립터의 조합을 완료하여 이를 호스트 장치로 전송하면(S104), 호스트 장치는 기능 인덱스 1에 대한 기능을 적용하고 USB 슬레이브 장치로 해당 기능으로의 설정을 요청한다(S105).Meanwhile, as described above, when the slave device completes the combination of the function descriptors and transmits it to the host device (S104), the host device applies the function of the function index 1 and requests the USB slave device to set the function ( S105).

다음, 도 4는 본 발명의 일 실시예에 따른 다기능 USB 슬레이브 장치의 구성도로서, 도 2에 도시된 본 발명의 기능 설정 과정을 수행하기 위한 일 실시예의 슬레이브 장치이며, 복수의 USB 기능이 무선 인터넷 플랫폼 상에서 동작하도록 구성된 이동 통신 단말을 도시한 것이다.Next, Figure 4 is a block diagram of a multi-function USB slave device according to an embodiment of the present invention, a slave device of an embodiment for performing a function setting process of the present invention shown in Figure 2, a plurality of USB functions are wireless It illustrates a mobile communication terminal configured to operate on an internet platform.

도시된 바와 같이, 본 발명의 다기능 USB 슬레이브 장치는 이동 통신 단말로서, 무선 인터넷 플랫폼(100), USB 매니저 모듈(200), 파일 입출력 인터페이스(301), 파일 입출력 서브 시스템(300), 디바이스 매니저 인터페이스(401), USB 인터페이스(410) 및 디바이스 매니저 모듈(420)로 구성된 USB 서브 시스템(400) 등을 포함하여 구성된다.As shown, the multi-function USB slave device of the present invention is a mobile communication terminal, the wireless Internet platform 100, USB manager module 200, file input and output interface 301, file input and output subsystem 300, device manager interface 401, a USB interface 410, and a USB subsystem 400 comprised of the device manager module 420.

상기 무선 인터넷 플랫폼(100)은 플랫폼 상에서 USB 장치를 사용하기 위하여 USB 서브 시스템(400)의 USB 인터페이스 레이어 함수를 사용하여 USB 장치를 열고 초기화하거나 해당 장치의 USB 포트를 통하여 데이터를 읽거나 전송하는 역할을 수행하여야 한다. 또한, 무선 인터넷 플랫폼 상에서 USB 장치가 사용되려면 해당 기능이 별도의 인덱스로 관리되어야 하며, 해당 인덱스 내에서 사용될 USB 포트 정보를 USB 정보 저장소(이하, 'UIS'라 함)에 저장되어야 한다.The wireless Internet platform 100 uses a USB interface layer function of the USB subsystem 400 to use a USB device on the platform to open and initialize the USB device or to read or transmit data through the USB port of the corresponding device. Should be performed. In addition, in order to use a USB device on a wireless Internet platform, a corresponding function must be managed as a separate index, and USB port information to be used in the index must be stored in a USB information store (hereinafter, referred to as 'UIS').

USB 매니저 모듈(200)은 USB 서브 시스템(400) 내의 디바이스 매니저 모듈(420)의 기능 중 상기 무선 인터넷 플랫폼 상에서 동작하기 위한 특정 인덱스에 해당되는 USB 정보를 관리하는 라이브러리이며, 파일 입출력 인터페이스(301)를 통하여 USB 장치의 기능 디스크립터 정보 및 USB 포트 정보(이하, 'UIS 파일'이라 함)를 획득하기 위하여 단말 내 저장소인 UIS를 조회한다.The USB manager module 200 is a library that manages USB information corresponding to a specific index for operating on the wireless Internet platform among the functions of the device manager module 420 in the USB subsystem 400, and the file input / output interface 301. In order to obtain the function descriptor information and the USB port information (hereinafter, referred to as a 'UIS file') of the USB device, the UIS, which is a storage in the terminal, is queried.

파일 입출력 인터페이스(301)는 파일 입출력 인터페이스 상에서 USB 매니저 모듈(200)이 상기 UIS 파일을 조회할 수 있도록 파일 입출력 함수를 사용할 수 있어야 한다.The file input / output interface 301 should be able to use a file input / output function so that the USB manager module 200 can query the UIS file on the file input / output interface.

파일 입출력 서브 시스템(300)은 단말에서 제공하는 내부 메모리 장치에 접근하거나 외장 메모리 카드에 데이터를 저장하기 위한 기본적인 파일 입출력을 위한 서브 시스템으로서, 무선 인터넷 플랫폼 상에서 동작하는 기능 인덱스에 대한 슬레이브 장치의 기능 디스크립터 및 무선 인터넷 플랫폼에서 사용되는 USB 포트에 대한 정보를 파일로 저장하며 조회 또는 변경 가능하도록 한다.The file input / output subsystem 300 is a subsystem for basic file input / output for accessing an internal memory device provided by a terminal or storing data in an external memory card. The file input / output subsystem 300 functions as a slave device for a function index operating on a wireless Internet platform. Information about USB ports used in descriptors and wireless Internet platforms is stored in a file and can be viewed or changed.

디바이스 매니저 인터페이스(401)는 디바이스 매니저 모듈(420)에서 사용되며, 디바이스 매니저 모듈(420)로부터 무선 인터넷 플랫폼 상에서 동작하는 기능 인덱스에 대한 기능 디스크립터 정보가 요청되면, UIS로부터 해당 기능 디스크립터 정보를 전송하는 함수 및 해당 인덱스의 인터페이스에서 사용되는 엔드포인트를 USB 매니저 모듈(200)로 알려주는 함수로 구성되어 있다.The device manager interface 401 is used by the device manager module 420. When the device manager module 420 requests the function descriptor information on the function index operating on the wireless Internet platform, the device manager module 420 transmits the corresponding function descriptor information from the UIS. It consists of a function and a function to inform the USB manager module 200 of the endpoint used in the interface of the index.

USB 서브 시스템(400)은 호스트 장치와 USB를 통해 연결되며, USB 인터페이스(410) 및 디바이스 매니저 모듈(420)를 포함한다. USB 서브 시스템(400)은 퀄컴사의 MSM ASIC에 구현되어 있는 USB 기능을 지원하며, 내부적으로 USB 인터페이스 함수 및 SIO 인터페이스 레이어를 제공하여 단말에 연결된 USB 장치를 기능에 맞게 연결해주는 역할을 하며, 또한 이동식 디스크 장치와 직접 연결되어 사용할 수 있도록 동작하기도 한다.The USB subsystem 400 is connected to the host device via USB and includes a USB interface 410 and a device manager module 420. The USB subsystem 400 supports USB functions implemented in Qualcomm's MSM ASIC, and internally provides a USB interface function and an SIO interface layer to connect USB devices connected to the terminal according to their functions. It can also be used to connect directly to a disk device.

디바이스 매니저 모듈(420)은 USB 호스트 장치로부터 기능 디스크립터 요청 명령을 받으면 단말에서 설정된 디스크립터를 전송하는 역할을 한다. 이때, 기존의 단말 제조사에서 제공하는 OEM 인덱스뿐만 아니라, 추가적으로 무선 인터넷 플랫폼 상에서 동작하는 인덱스 정보를 얻어오기 위하여 USB 매니저 모듈(200)로 디바이스 매니저 인터페이스(401)를 통하여 추가 정보를 요청하고, 얻어진 추가 정보를 조합하여 USB 호스트 장치로 전송할 기능 디스크립터를 앞서 도 3에 도시된 바와 같이 작성한다.When the device manager module 420 receives a function descriptor request command from the USB host device, the device manager module 420 transmits a descriptor set in the terminal. In this case, in order to obtain not only the OEM index provided by the existing terminal manufacturer, but also additionally index information operating on the wireless Internet platform, the USB manager module 200 requests additional information through the device manager interface 401, and the obtained additional information is obtained. By combining the information, a function descriptor to be transmitted to the USB host device is created as shown in FIG.

단말 유저 인터페이스(500)는 사용자가 단말 UI 메뉴를 이용하여 기능별로 기능 인덱스를 선택할 수 있도록 하며, 이에 따라 디바이스 매니저 모듈(420)가 선택된 인덱스에 대한 정보를 유저 인터페이스(500)로부터 받아들일 수 있도록 하는 것이 바람직하다.The terminal user interface 500 allows a user to select a function index for each function using the terminal UI menu, and thus allow the device manager module 420 to receive information about the selected index from the user interface 500. It is desirable to.

마지막으로 도 5는 도 4에 도시된 구조의 USB 슬레이브 장치를 이용하여 본 발명의 일 실시예에 따른 기능 설정 과정을 설명하기 위한 상세 흐름도이다.Finally, FIG. 5 is a detailed flowchart illustrating a function setting process according to an embodiment of the present invention using the USB slave device having the structure shown in FIG. 4.

도시된 바와 같이, 호스트 장치로부터 USB 연결된 슬레이브 장치로 전송된 기능 디스크립터 요청 명령은 디바이스 매니저 모듈(420)로 전달되며(S201), 디바이스 매니저 모듈(420)은 단말 제조사에서 제공되는 기능을 나타내는 OEM 인덱스 이외의 무선 인터넷 플랫폼 상에서 동작하는 단말 USB 기능 정보를 획득하기 위하여 USB 매니저 모듈(200)로 추가 기능에 대한 기능 디스크립터를 요청한다(S202).As shown, the function descriptor request command transmitted from the host device to the USB connected slave device is transmitted to the device manager module 420 (S201), and the device manager module 420 is an OEM index indicating a function provided by the terminal manufacturer. In order to obtain the terminal USB function information that is operated on the wireless Internet platform other than, a function descriptor for an additional function is requested to the USB manager module 200 (S202).

USB 매니저 모듈(200)은 파일 입출력 서브 시스템(300)으로 해당 추가 기능 정보를 요청하고, 파일 입출력 서브 시스템(300)은 UIS 정보를 조회하여(S203) 해 당 추가 기능에 대한 정보를 나타내는 기능 디스크립터를 USB 매니저 모듈(200)로 전송하고, USB 매니저 모듈(200)은 이 추가 기능에 대한 기능 디스크립터를 디바이스 매니저 모듈(420)로 전송한다(S204).The USB manager module 200 requests the corresponding additional function information from the file input / output subsystem 300, and the file input / output subsystem 300 queries UIS information (S203) to indicate a function descriptor indicating information on the additional function. To the USB manager module 200, and the USB manager module 200 transmits a function descriptor for this additional function to the device manager module 420 (S204).

디바이스 매니저 모듈(420)은 추가 기능에 대한 기능 인덱스를 포함하는 기능 디스크립터를 조합하고(S205), 호스트 장치로 추가 기능에 대한 인덱스 및 OEM 인덱스를 포함하는 모든 정보를 조합한 기능 디스크립터를 호스트 장치로 전송한다(S206).The device manager module 420 combines the function descriptors including the function indexes for the additional functions (S205), and combines all the information including the indexes for the additional functions and the OEM indexes into the host device as the host device. It transmits (S206).

이때, 상기 디바이스 매니저 모듈(420)은 도 3을 통해 도시한 바와 같이 최근 활성화되었던 기능을 인덱스 1로 작성하여 전송하여야 한다.In this case, the device manager module 420 should create and transmit a recently activated function as index 1 as shown in FIG. 3.

다음, 호스트 장치는 디바이스 매니저 모듈(420)로부터 수신한 기능 디스크립터를 받아 규격에 맞게 내용을 분석하며, 인덱스 1에 대한 기능을 디폴트로 적용하고, USB 슬레이브 장치가 해당 기능으로 USB를 설정하도록 한다(S207).Next, the host device receives the function descriptor received from the device manager module 420, analyzes the content according to the standard, applies the function of index 1 as a default, and sets the USB slave device to set the USB as the corresponding function ( S207).

본 발명이 속하는 기술분야의 당업자는 본 발명이 그 기술적 사상이나 필수적 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있으므로, 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적인 것이 아닌 것으로서 이해해야만 한다. 본 발명의 범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 등가개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.As those skilled in the art to which the present invention pertains may implement the present invention in other specific forms without changing the technical spirit or essential features, the embodiments described above should be understood as illustrative and not restrictive in all aspects. Should be. The scope of the present invention is shown by the following claims rather than the detailed description, and all changes or modifications derived from the meaning and scope of the claims and their equivalents should be construed as being included in the scope of the present invention. do.

따라서, 본 발명의 다기능 USB 슬레이브 장치와 USB 호스트 장치 간의 기능 설정 방법 및 이를 위한 다기능 USB 슬레이브 장치에 의하면, 다기능 USB 장치가 단말의 복수의 기능(Configuration)을 기능별 인덱스를 통해 관리할 수 있으며, 기능 1을 디폴트로 사용하는 종래의 호스트 장치의 변경 사항 없이 다기능 슬레이브 장치가 현재 이용하고자 하는 기능을 적용할 수 있어 단말의 USB 기능 활용의 제약에 대한 문제점이 해결된다는 효과가 있다.Therefore, according to the method for setting a function between the multi-function USB slave device and the USB host device of the present invention and the multi-function USB slave device therefor, the multi-function USB device can manage a plurality of configurations of the terminal through a function-specific index. The function of the multi-functional slave device can be applied without changing the conventional host device using 1 as a default, thereby solving the problem of the limitation of the utilization of the USB function of the terminal.

Claims (4)

복수의 USB 기능을 포함하는 USB 슬레이브 장치와 첫번째로 정의된 기능을 기본 값으로 적용하는 USB 호스트 장치 간의 기능 설정 방법으로서,A method for setting a function between a USB slave device including a plurality of USB functions and a USB host device applying a first defined function as a default value, USB 호스트 장치로부터 슬레이브 장치의 기능 정보를 인식하기 위한 기능 디스크립터가 요청되면, 복수의 USB 기능 중 가장 최근 활성화되었던 기능을 기능 인덱스 1로 설정하고, 각 기능 별 인덱스를 모두 포함하도록 디스크립터를 조합하여 작성한 기능 디스크립터를 상기 USB 호스트 장치로 전송하는 제1단계와;When a function descriptor for recognizing the function information of the slave device is requested from the USB host device, the function most recently activated among the plurality of USB functions is set to function index 1, and the descriptors are created by combining the descriptors to include all the indexes for each function. Transmitting a function descriptor to the USB host device; USB 호스트 장치가 상기 기능 인덱스 1에 대한 기능을 적용하고 USB 슬레이브 장치로 기능 인덱스 1에 대한 기능으로의 설정을 요청하면, 인덱스 1에 대한 USB 기능을 활성화시키는 제2단계;A second step of activating the USB function for index 1 when the USB host device applies the function for function index 1 and requests the USB slave device to set the function for function index 1; 를 포함하여 이루어짐을 특징으로 하는 다기능 USB 슬레이브 장치와 USB 호스트 장치 간의 기능 설정 방법.Function setting method between the multi-function USB slave device and the USB host device, characterized in that made. 제1항에 있어서,The method of claim 1, 상기 USB 슬레이브 장치는, The USB slave device, USB 기능으로서 단말 제조사에서 제공하는 USB 기능 및 무선 인터넷 플랫폼 상에서 동작하도록 구성된 USB 기능을 포함하는 이동 통신 단말로서, 무선 인터넷 플랫폼 상에서 동작하기 위한 특정 인덱스에 해당되는 USB 정보를 관리하는 USB 매니저 모듈과, 무선 인터넷 플랫폼 상에서 동작하는 기능 인덱스에 대한 슬레이브 장치의 기능 디스크립터 및 무선 인터넷 플랫폼에서 사용되는 USB 포트에 대한 정보를 파일로 저장하는 파일 입출력 서브 시스템과, USB 호스트 장치로부터 기능 디스크립터 요청 명령을 받아 단말의 모든 USB 기능들을 포함하는 디스크립터를 호스트 장치로 전송하는 디바이스 매니저 모듈을 포함하여 구성되며,A mobile communication terminal including a USB function provided by a terminal manufacturer as a USB function and a USB function configured to operate on a wireless internet platform, the USB manager module managing USB information corresponding to a specific index for operating on a wireless internet platform, A file input / output subsystem that stores information on the function descriptor of the slave device and the USB port used in the wireless internet platform as a file for the function index operating on the wireless internet platform, and receives a function descriptor request command from the USB host device. It includes a Device Manager module to send descriptors containing all USB functions to the host device, 상기 제1단계는,The first step, 호스트 장치로부터 전송된 기능 디스크립터 요청 명령이 상기 디바이스 매니저 모듈로 전달되면, 디바이스 매니저 모듈이 단말 제조사 제공 USB 기능에 대한 OEM 인덱스 이외의 무선 인터넷 플랫폼 상에서 동작하는 단말 USB 기능 정보를 획득하기 위하여 상기 USB 매니저 모듈로 추가 기능에 대한 기능 디스크립터를 요청하는 단계와;When the function descriptor request command transmitted from the host device is transmitted to the device manager module, the device manager module obtains the terminal USB function information operating on the wireless Internet platform other than the OEM index for the terminal manufacturer-provided USB function. Requesting a functional descriptor for the additional function modulo; 상기 USB 매니저 모듈이 상기 파일 입출력 서브 시스템으로 해당 추가 기능 정보를 요청하는 단계와;Requesting, by the USB manager module, corresponding additional function information to the file input / output subsystem; 상기 파일 입출력 서브 시스템이 USB 정보 저장소에 저장된 정보를 조회하여 해당 추가 기능에 대한 정보를 나타내는 기능 디스크립터를 상기 USB 매니저 모듈로 전송하는 단계와;Querying the information stored in the USB information repository by the file input / output subsystem and transmitting a function descriptor indicating information on the additional function to the USB manager module; USB 매니저 모듈이 상기 파일 입출력 서브 시스템으로부터 수신한 추가 기능에 대한 기능 디스크립터를 상기 디바이스 매니저 모듈로 전송하는 단계와;Sending, by a USB manager module, a function descriptor for an additional function received from the file input / output subsystem to the device manager module; 상기 디바이스 매니저 모듈이 추가 기능에 대한 기능 인덱스를 포함하는 기능 디스크립터를 최근 활성화되었던 기능을 인덱스 1로 작성하여 조합하여, 상기 추가 기능에 대한 인덱스 및 OEM 인덱스를 포함하는 모든 정보를 조합한 기능 디스 크립터를 상기 호스트 장치로 전송하는 단계;The device manager module combines a function descriptor including a function index for an additional function by creating a recently activated function as index 1, and combines all the information including the index and the OEM index for the additional function. Transmitting the data to the host device; 를 포함하여 이루어짐을 특징으로 하는 다기능 USB 슬레이브 장치와 USB 호스트 장치 간의 기능 설정 방법.Function setting method between the multi-function USB slave device and the USB host device, characterized in that made. USB 슬레이브 장치의 기능 인덱스 1을 기본 값으로 적용하는 USB 호스트 장치와의 USB 기능 설정을 위한 다기능 USB 슬레이브 장치로서,Multi-function USB slave device for setting USB functions with a USB host device that applies the function index 1 of the USB slave device as a default value, 무선 인터넷 플랫폼 상에서 동작하는 기능 인덱스에 대한 슬레이브 장치의 기능 디스크립터 및 무선 인터넷 플랫폼에서 사용되는 USB 포트에 대한 정보를 파일로 저장하는 파일 입출력 서브 시스템과;A file input / output subsystem for storing a function descriptor of a slave device with respect to a function index operating on a wireless internet platform and information on a USB port used in the wireless internet platform; 상기 파일 입출력 서브 시스템과 파일 입출력 인터페이스를 통해 연결되어, 무선 인터넷 플랫폼 상에서 동작하는 기능 인덱스에 해당되는 USB 정보를 관리하는 USB 매니저 모듈과;A USB manager module connected to the file input / output subsystem and a file input / output interface to manage USB information corresponding to a function index operating on a wireless internet platform; 단말 제조사에서 제공하는 USB 기능 디스크립터 정보를 관리하며, USB 호스트 장치로부터 기능 디스크립터 요청 명령을 받으면, 상기 USB 매니저 모듈이 관리하는 기능 인덱스에 대한 디스크립터 및 단말 제조사에서 제공하는 기능 인덱스에 대한 디스크립터를 모두 포함하는 디스크립터를 조합 작성하되, 최근 활성화되었던 기능을 기능 인덱스 1로 설정하여 상기 USB 호스트 장치로 전송하는 디바이스 매니저 모듈;Manages the USB function descriptor information provided by the terminal manufacturer, and includes a descriptor for the function index managed by the USB manager module and a descriptor for the function index provided by the terminal manufacturer when receiving a function descriptor request command from the USB host device. A device manager module for creating a combination of descriptors and setting a recently activated function to a function index 1 and transmitting the function to the USB host device; 을 포함하여 이루어짐을 특징으로 하는 다기능 USB 슬레이브 장치.Multi-function USB slave device characterized in that comprises a. 제3항에 있어서,The method of claim 3, 상기 디바이스 매니저 모듈은,The device manager module, USB 호스트 장치로부터 기능 디스크립터 요청 명령을 받으면, 상기 USB 매니저 모듈로 USB 매니저 모듈이 관리하는 기능 인덱스에 대한 디스크립터를 요청하고, USB 매니저 모듈로부터 수신한 기능 인덱스에 대한 디스크립터 및 단말 제조사에서 제공하는 기능 인덱스에 대한 디스크립터를 모두 포함하는 디스크립터를 조합 작성하며,Upon receiving a function descriptor request command from a USB host device, request a descriptor for a function index managed by the USB manager module to the USB manager module, and a descriptor for the function index received from the USB manager module and a function index provided by the terminal manufacturer. Create a combination that includes all descriptors for the 상기 USB 매니저 모듈은,The USB manager module, 상기 디바이스 매니저 모듈로부터 기능 인덱스에 대한 디스크립터가 요청되면, 상기 파일 입출력 서브 시스템을 통해 해당 기능에 대한 정보를 나타내는 기능 디스크립터를 획득하여 상기 디바이스 매니저 모듈로 전송하는 것을 특징으로 하는 다기능 USB 슬레이브 장치.When a descriptor for a function index is requested from the device manager module, a function descriptor indicating information about a corresponding function is obtained through the file input / output subsystem and transmitted to the device manager module.
KR1020060000246A 2006-01-02 2006-01-02 Method for Setting Function Between Multi-Function USB Slave Device and USB Host Device and Multi-Function USB Slave Device therefor KR100740001B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060000246A KR100740001B1 (en) 2006-01-02 2006-01-02 Method for Setting Function Between Multi-Function USB Slave Device and USB Host Device and Multi-Function USB Slave Device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060000246A KR100740001B1 (en) 2006-01-02 2006-01-02 Method for Setting Function Between Multi-Function USB Slave Device and USB Host Device and Multi-Function USB Slave Device therefor

Publications (2)

Publication Number Publication Date
KR20070072768A KR20070072768A (en) 2007-07-05
KR100740001B1 true KR100740001B1 (en) 2007-07-16

Family

ID=38507556

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060000246A KR100740001B1 (en) 2006-01-02 2006-01-02 Method for Setting Function Between Multi-Function USB Slave Device and USB Host Device and Multi-Function USB Slave Device therefor

Country Status (1)

Country Link
KR (1) KR100740001B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020050727A (en) * 2000-12-21 2002-06-27 존 비. 메이슨 System and method to specify extended configuration descriptor information in usb devices
KR20040058521A (en) * 2002-12-27 2004-07-05 주식회사 하이닉스반도체 Multifounctional bluetooth device having function of interfacing Universal Serial Bus
KR20040104242A (en) * 2003-06-03 2004-12-10 삼성전자주식회사 Apparatus And Method for Tranfering USB Transaction in Personal Area Network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020050727A (en) * 2000-12-21 2002-06-27 존 비. 메이슨 System and method to specify extended configuration descriptor information in usb devices
KR20040058521A (en) * 2002-12-27 2004-07-05 주식회사 하이닉스반도체 Multifounctional bluetooth device having function of interfacing Universal Serial Bus
KR20040104242A (en) * 2003-06-03 2004-12-10 삼성전자주식회사 Apparatus And Method for Tranfering USB Transaction in Personal Area Network

Also Published As

Publication number Publication date
KR20070072768A (en) 2007-07-05

Similar Documents

Publication Publication Date Title
US10083131B2 (en) Generating and/or employing a descriptor associated with a memory translation table
CN107678835B (en) Data transmission method and system
CN111506262A (en) Storage system, file storage and reading method and terminal equipment
JP4807683B2 (en) Data storage
US20100169780A1 (en) Storage device managing playable content
EP2997463B1 (en) Extraction of operating system-specific characteristics via a communication interface
KR100631620B1 (en) Apparatus and method for allowing to access to its equipped storage means
TW201714076A (en) Electronic system with interface control mechanism and method of operation thereof
JP2007280261A (en) Portable type virtual memory apparatus which makes equipment on network sharable
CN113032293A (en) Cache manager and control component
EP2374072A1 (en) Device and method for filtering a file system
US20160127768A1 (en) Usb sharing method for combo tv set, combo tv set and computer readable storage medium
US20100146123A1 (en) Resource allocation method of each terminal apparatus using resource management system and resource management server apparatus
WO2010081319A1 (en) Method and device for implementing usb endpoint multiplexing
KR100738955B1 (en) Method for Changing Function Between Multi-Function USB Slave Device and USB Host Device and Multi-Function USB Slave Device therefor
US20130179414A1 (en) Mechanisms for connecting files between applications
CN114296646A (en) Caching method, device, server and storage medium based on IO service
KR101078349B1 (en) Device for supporting Multi Network Interface Switching And Method using the same
KR100740001B1 (en) Method for Setting Function Between Multi-Function USB Slave Device and USB Host Device and Multi-Function USB Slave Device therefor
CA2778733A1 (en) Method and system for data synchronization including file system abstraction
CN107357853B (en) Method and device for operating REDIS console and computer system
US8532136B1 (en) Communication with a handset via a private network
TWI814877B (en) Isolating a redirected biometric device to a remote session
US8209452B2 (en) External device having a virtual storage device
KR20060009717A (en) Data managing apparatus for mobile communication terminal

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
G170 Publication of correction
FPAY Annual fee payment

Payment date: 20130620

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140619

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20150622

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20160629

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20170630

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20190626

Year of fee payment: 13