KR102633012B1 - A system for providing USB tethering services and method thereof - Google Patents

A system for providing USB tethering services and method thereof Download PDF

Info

Publication number
KR102633012B1
KR102633012B1 KR1020210148930A KR20210148930A KR102633012B1 KR 102633012 B1 KR102633012 B1 KR 102633012B1 KR 1020210148930 A KR1020210148930 A KR 1020210148930A KR 20210148930 A KR20210148930 A KR 20210148930A KR 102633012 B1 KR102633012 B1 KR 102633012B1
Authority
KR
South Korea
Prior art keywords
tethering
terminal
address
usb
providing
Prior art date
Application number
KR1020210148930A
Other languages
Korean (ko)
Other versions
KR20230063655A (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 KR1020210148930A priority Critical patent/KR102633012B1/en
Publication of KR20230063655A publication Critical patent/KR20230063655A/en
Application granted granted Critical
Publication of KR102633012B1 publication Critical patent/KR102633012B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5084Providing for device mobility
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Abstract

본 발명은 USB 테더링 서비스 제공 시스템 및 그 방법에 관한 것이다.
본 발명에 따르면, USB 테더링 서비스 제공 시스템은 USB 케이블을 통해 테더링 이용 단말과의 연결이 활성화되면, 연결된 테더링 이용 단말에 임의의 IP 주소를 전달하고, 상기 테더링 이용 단말로부터 테더링 연결 요청 신호를 수신할 경우에는 상기 테더링 이용 단말의 IP 주소와 임의의 IP 주소를 비교하여 해당되는 테더링 이용 단말의 접속 여부에 대한 이벤트를 발생시키는 테더링 제공 단말, 그리고 상기 테더링 제공 단말로부터 전달받은 임의의 IP 주소를 이용하여 RNDIS(Remote NDIS)을 통해 테더링 연결 요청을 송신하는 테더링 이용 단말을 포함한다.
이와 같이 본 발명에 따르면, USB 테더링을 이용하고자 하는 테더링 이용 단말에 임의의 IP 주소를 제공하고, 제공된 임의의 IP 주소를 이용하여 테더링 이용 단말의 테더링 연결 상태를 판단할 수 있고, USB 연결 및 분리에 따른 이벤트 알람을 제공할 수 있다.
The present invention relates to a USB tethering service providing system and method.
According to the present invention, when the connection with a tethering terminal is activated through a USB cable, the USB tethering service providing system transmits a random IP address to the connected tethering terminal and connects the tethering terminal to the tethering terminal. When receiving a request signal, the tethering providing terminal compares the IP address of the tethering using terminal with an arbitrary IP address and generates an event regarding whether or not the corresponding tethering using terminal is connected, and from the tethering providing terminal. It includes a tethering terminal that transmits a tethering connection request through RNDIS (Remote NDIS) using a random IP address received.
In this way, according to the present invention, a random IP address can be provided to a tethering terminal that wants to use USB tethering, and the tethering connection status of the tethering terminal can be determined using the provided random IP address, Event alarms can be provided according to USB connection and disconnection.

Description

USB 테더링 서비스 제공 시스템 및 그 방법{A system for providing USB tethering services and method thereof}USB tethering service providing system and method {A system for providing USB tethering services and method thereof}

본 발명은 휴대용 단말기에 대한 USB 테더링 서비스 제공 시스템 및 그 방법에 관한 것으로서, 더욱 상세하게 설명하면 휴대용 단말기에 테더링되는 장치의 접속 상태와 IP를 즉시 파악할 수 있는 USB 테더링 서비스 제공 시스템 및 그 방법에 관한 것이다. The present invention relates to a USB tethering service providing system and method for a portable terminal. More specifically, a USB tethering service providing system that can immediately determine the connection status and IP of a device tethered to a portable terminal and the same. It's about method.

테더링 기능은 USB(Universal Serial Bus) 또는 블루투스(Bluetooth) 장치, Wi-Fi(무선랜) 등을 통하여 이동통신단말기에 네비게이션 장치, 노트북, 넷북, 태블릿 PC, 데스크톱 PC, 전자책 단말기 및 PDA 등의 기기들을 연결함으로써 연결된 기기들에서 무선인터넷을 사용할 수 있도록 하는 기술이다. The tethering function can be used to connect navigation devices, laptops, netbooks, tablet PCs, desktop PCs, e-readers, PDAs, etc. to mobile communication terminals through USB (Universal Serial Bus), Bluetooth devices, Wi-Fi (wireless LAN), etc. It is a technology that allows wireless Internet to be used on connected devices by connecting devices.

이러한 테더링 기능을 이용하기 위해서는 테더링 제공 단말이 먼저 테더링 기능을 활성화시켜야 한다. 그러나, 일반적으로 테더링 제공 단말에서 테더링 기능을 활성화시키기 위해서는 복잡한 사용자 인터페이스에 따라 여러 단계를 거쳐 테더링 기능을 활성화시키게 된다. In order to use this tethering function, the tethering providing terminal must first activate the tethering function. However, in general, in order to activate the tethering function in a tethering providing terminal, several steps are required to activate the tethering function according to a complex user interface.

도 1은 종래의 테더링 제공 단말과 테더링 이용 단말이 USB 케이블을 이용하여 연결된 상태를 설명하기 위한 예시도이다. Figure 1 is an example diagram illustrating a state in which a conventional tethering providing terminal and a tethering using terminal are connected using a USB cable.

도 1에 도시된 바와 같이, 종래에는 보안상의 문제로 인하여 테더링 제공 단말의 ARP(Address Resolution Protocol) 테이블에 접속하지 못하여 테더링 제공 단말에 접속하는 테더링 이용 단말의 IP 주소를 알 수 없는 문제점이 있었다. As shown in Figure 1, in the past, due to security issues, it was impossible to access the ARP (Address Resolution Protocol) table of the tethering providing terminal, resulting in a problem in which the IP address of the tethering terminal connecting to the tethering providing terminal was unknown. There was this.

스마트폰, 태블릿과 같은 단말기는 USB 호스트에서 USB 장치로 전환되므로 USB 테더링 연결 및 분리에 따른 이벤트가 발생하지 않는 문제점이 있었다. Since terminals such as smartphones and tablets are converted from USB hosts to USB devices, there was a problem in that events due to USB tethering connection and disconnection did not occur.

본 발명의 배경이 되는 기술은 한국공개특허 제10-2012-0070344호(2012.06.29 공개)에 개시되어 있다. The technology behind the present invention is disclosed in Korean Patent Publication No. 10-2012-0070344 (published on June 29, 2012).

이와 같이 본 발명에 따르면, 휴대용 단말기에 테더링되는 장치의 접속 상태와 IP를 즉시 파악할 수 있는 USB 테더링 서비스 제공 시스템 및 그 방법을 제공하기 위한 것이다.According to the present invention, the object of the present invention is to provide a USB tethering service providing system and method that can immediately determine the connection status and IP address of a device tethered to a portable terminal.

이러한 기술적 과제를 이루기 위한 본 발명의 실시예에 따르면 USB 케이블을 통해 테더링 이용 단말과의 연결이 활성화되면, 연결된 테더링 이용 단말에 임의의 IP 주소를 전달하고, 상기 테더링 이용 단말로부터 테더링 연결 요청 신호를 수신할 경우에는 상기 테더링 이용 단말의 IP 주소와 임의의 IP 주소를 비교하여 해당되는 테더링 이용 단말의 접속 여부에 대한 이벤트를 발생시키는 테더링 제공 단말, 그리고 상기 테더링 제공 단말로부터 전달받은 임의의 IP 주소를 이용하여 RNDIS(Remote NDIS)을 통해 테더링 연결 요청을 송신하는 테더링 이용 단말을 포함한다. According to an embodiment of the present invention to achieve this technical problem, when the connection with a tethering terminal is activated through a USB cable, a random IP address is transmitted to the connected tethering terminal, and tethering is transmitted from the tethering terminal. When receiving a connection request signal, a tethering providing terminal that compares the IP address of the tethering using terminal with an arbitrary IP address and generates an event regarding whether or not the corresponding tethering using terminal is connected, and the tethering providing terminal. It includes a tethering terminal that transmits a tethering connection request through RNDIS (Remote NDIS) using a random IP address received from.

상기 테더링 제공 단말은, USB 테더링을 제공할 경우, USB 호스트(host)에서 USB 디바이스(device)로 전환될 수 있다. When providing USB tethering, the tethering terminal can be converted from a USB host to a USB device.

상기 테더링 제공 단말은, 상기 테더링 이용 단말과 데이터 송수신을 수행하는 통신부, 그리고 상기 통신부를 이용하여 USB 케이블을 통해 연결된 테더링 이용 단말을 감지하고, 감지된 테더링 이용 단말에 임의의 IP 주소를 전달하며, 테더링 이용 단말에서 발생된 테더링 연결 요청 신호를 감지할 경우에는 테더링 연결 요청 신호를 송신한 테더링 이용 단말의 IP 주소를 검출하는 제어부를 포함할 수 있다. The tethering providing terminal detects a communication unit that performs data transmission and reception with the tethering terminal, and a tethering terminal connected through a USB cable using the communication unit, and assigns a random IP address to the detected tethering terminal. When detecting a tethering connection request signal generated from a tethering terminal, it may include a control unit that detects the IP address of the tethering terminal that transmitted the tethering connection request signal.

상기 제어부는, 상기 검출된 테더링 이용 단말의 IP 주소와 임의의 IP 주소를 비교하고, 일치할 경우에는 테더링 접속 이벤트를 발생시킬 수 있다. The control unit may compare the detected IP address of the tethering terminal with a random IP address, and if they match, generate a tethering connection event.

상기 테더링 이용 단말과 상기 테더링 제공 단말이 테더링 연결이 수행되면, 상기 테더링 이용 단말은 클라이언트 소켓으로 전환되고, 상기 테더링 제공 단말은 서버 소켓으로 전환될 수 있다. When a tethering connection is performed between the tethering using terminal and the tethering providing terminal, the tethering using terminal may be converted to a client socket, and the tethering providing terminal may be converted to a server socket.

상기 제어부는, 상기 테더링 이용 단말과 상기 테더링 제공 단말이 테더링 연결된 상태에서, 상기 테더링 이용 단말의 IP 주소를 이용하여 상기 테더링 이용 단말에 포함된 다른 서버에 클라이언트로 접속하여 데이터를 송수신할 수 있다. The control unit, while the tethering using terminal and the tethering providing terminal are connected by tethering, uses the IP address of the tethering using terminal to connect to another server included in the tethering using terminal as a client and send data. Can send and receive.

또한, 본 발명의 실시예에 따르면, USB 테더링 서비스 제공 시스템을 이용한 USB 테더링 서비스 제공 방법은 테더링 제공 단말은 USB 케이블을 통해 테더링 이용 단말과의 연결이 활성화되면, 연결된 테더링 이용 단말에 임의의 IP 주소를 전달하는 단계, 상기 테더링 제공 단말은 상기 전달받은 임의의 IP 주소를 이용하여 RNDIS(Remote NDIS)을 통해 테더링 연결 요청을 송신하는 단계, 그리고 상기 테더링 이용 단말로부터 테더링 연결 요청 신호를 수신할 경우에는 상기 테더링 이용 단말의 IP 주소와 임의의 IP 주소를 비교하여 해당되는 테더링 이용 단말의 접속 여부에 대한 이벤트를 발생시키는 단계를 포함한다. In addition, according to an embodiment of the present invention, the method of providing a USB tethering service using a USB tethering service providing system is such that when the connection with the tethering using terminal is activated through a USB cable, the connected tethering using terminal transmitting a random IP address to the tethering terminal, transmitting a tethering connection request through RNDIS (Remote NDIS) using the received random IP address, and transmitting a tethering connection request from the tethering using terminal. When receiving a tethering connection request signal, the method includes comparing the IP address of the tethering terminal with an arbitrary IP address and generating an event regarding whether the corresponding tethering terminal is connected.

이와 같이 본 발명의 실시예에 따르면, USB 테더링을 이용하고자 하는 테더링 이용 단말에 임의의 IP 주소를 제공하고, 제공된 임의의 IP 주소를 이용하여 테더링 이용 단말의 테더링 연결 상태를 판단할 수 있고, USB 연결 및 분리에 따른 이벤트 알람을 제공할 수 있다. In this way, according to an embodiment of the present invention, a random IP address is provided to a tethering terminal that wants to use USB tethering, and the tethering connection status of the tethering terminal is determined using the provided random IP address. and can provide event alarms according to USB connection and disconnection.

도 1은 종래의 테더링 제공 단말과 테더링 이용 단말이 USB 케이블을 이용하여 연결된 상태를 설명하기 위한 예시도이다.
도 2는 본 발명의 실시예에 따른 USB 테더링 서비스 제공 시스템을 설명하기 위한 구성도이다.
도 3은 본 발명의 실시예에 따른 테더링 제공 단말을 설명하기 위한 구성도이다
도 4는 본 발명의 실시예에 따른 USB 테더링 서비스 제공 시스템을 이용한 USB 테더링 서비스 제공 방법을 설명하기 위한 순서도이다.
Figure 1 is an example diagram illustrating a state in which a conventional tethering providing terminal and a tethering using terminal are connected using a USB cable.
Figure 2 is a configuration diagram for explaining a USB tethering service providing system according to an embodiment of the present invention.
Figure 3 is a configuration diagram for explaining a tethering provision terminal according to an embodiment of the present invention.
Figure 4 is a flowchart illustrating a method of providing a USB tethering service using a USB tethering service providing system according to an embodiment of the present invention.

이하 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명하기로 한다. 이 과정에서 도면에 도시된 선들의 두께나 구성요소의 크기 등은 설명의 명료성과 편의상 과장되게 도시되어 있을 수 있다. Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the attached drawings. In this process, the thickness of lines or sizes of components shown in the drawing may be exaggerated for clarity and convenience of explanation.

또한 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서, 이는 사용자, 운용자의 의도 또는 관례에 따라 달라질 수 있다. 그러므로 이러한 용어들에 대한 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.Additionally, the terms described below are terms defined in consideration of functions in the present invention, and may vary depending on the intention or custom of the user or operator. Therefore, definitions of these terms should be made based on the content throughout this specification.

이하에서는 도 2를 이용하여 본 발명의 실시예에 따른 USB 테더링 서비스 제공 시스템에 대하여 더욱 상세하게 설명한다. Hereinafter, the USB tethering service providing system according to an embodiment of the present invention will be described in more detail using FIG. 2.

도 2는 본 발명의 실시예에 따른 USB 테더링 서비스 제공 시스템을 설명하기 위한 구성도이다. Figure 2 is a configuration diagram illustrating a USB tethering service providing system according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 본 발명의 실시예에 따른 USB 테더링 서비스 제공 시스템은 테더링 제공 단말(100) 및 테더링 이용 단말(200)로 구성된다. As shown in FIG. 2, the USB tethering service providing system according to an embodiment of the present invention consists of a tethering providing terminal 100 and a tethering using terminal 200.

먼저, 테더링 제공 단말(100)은 통신망에 직접적인 접속이 가능하여 테더링 기능을 제공한다. 테더링 제공 단말(100)은 테더링 이용 단말(200)의 식별 정보를 획득하면 자동적으로 테더링 기능을 활성화하여 테더링 이용 단말(200)에 테더링 서비스를 제공한다. First, the tethering providing terminal 100 is capable of direct connection to a communication network and provides a tethering function. When the tethering providing terminal 100 obtains the identification information of the tethering using terminal 200, it automatically activates the tethering function and provides a tethering service to the tethering using terminal 200.

여기서, 테더링 제공 단말(100)은 이동 통신 기기, 정보 통신 기기, 멀티미디어 기기, 유선 단말기, 고정형 단말기 및 IP(Internet Protocol) 단말기 등이 될 수 있다. 특히, 본 발명의 실시 예에 따른 테더링 제공 단말(100)은 휴대폰, PMP(Portable Multimedia Player), MID(Mobile Internet Device), 스마트폰(Smart Phone) 및 정보통신 기기 등과 같은 다양한 이동통신 사양을 갖는 모바일(Mobile) 단말기를 포함한다. Here, the tethering providing terminal 100 may be a mobile communication device, an information communication device, a multimedia device, a wired terminal, a fixed terminal, and an IP (Internet Protocol) terminal. In particular, the tethering terminal 100 according to an embodiment of the present invention supports various mobile communication specifications such as mobile phones, Portable Multimedia Players (PMPs), Mobile Internet Devices (MIDs), Smart Phones, and information and communication devices. Includes a mobile terminal.

그리고, 테더링 이용 단말(200)은 통신망에 직접적으로 접근할 수 없지만 테더링 기능을 제공하는 테더링 제공 단말(100)을 통해 통신망에 간접적으로 접근할 수 있는 단말을 나타낸다. 테더링 이용 단말(200)은 테더링 제공 단말(100)과 블루투스(Bluetooth), 적외선, 지그비(Zigbee), 초광대역(UWB; Ultra Wide Band), NFC(near field communication), 와이파이(Wi-Fi) 통신 방식을 이용하여 통신을 수행할 수 있다. 또한, 테더링 이용 단말(200)은 테더링 제공 단말(100)과 USB 케이블과 같은 유선 케이블 접속 방식을 이용하여 통신을 수행할 수도 있다.Additionally, the tethering use terminal 200 represents a terminal that cannot directly access the communication network but can indirectly access the communication network through the tethering providing terminal 100 that provides a tethering function. The tethering use terminal 200 includes a tethering providing terminal 100 and Bluetooth, infrared, Zigbee, ultra wide band (UWB), near field communication (NFC), and Wi-Fi. ) Communication can be performed using a communication method. Additionally, the tethering-using terminal 200 may communicate with the tethering-providing terminal 100 using a wired cable connection method such as a USB cable.

여기서, 테더링 이용 단말(200)은 랩탑 컴퓨터, 데스크탑 컴퓨터 등을 포함한다. Here, the tethering terminal 200 includes a laptop computer, a desktop computer, etc.

한편, 테더링 제공 단말(100)과 테더링 이용 단말(200)이 USB 케이블을 이용하여 연결된 상태에서 테더링을 제공할 경우, 테더링 제공 단말(100)은 USB 호스트(host)에서 USB 디바이스(device)로 전환된다. Meanwhile, when tethering is provided while the tethering providing terminal 100 and the tethering using terminal 200 are connected using a USB cable, the tethering providing terminal 100 is connected to a USB device ( device).

그러면, 테더링 제공 단말(100)은 내부의 ARP(Address Resolution Protocol)에 접근할 수 없어 테더링으로 연결된 테더링 이용 단말(200)의 IP주소를 확인할 수 없다. Then, the tethering providing terminal 100 cannot access the internal ARP (Address Resolution Protocol) and therefore cannot check the IP address of the tethering using terminal 200 connected through tethering.

따라서, 본 발명에서의 테더링 제공 단말(100)은 DHCP(Dynamic Host Configuration Protocol) 서버처럼 동작하여 USB 케이블을 통해 연결된 테더링 이용 단말(200)에 임의의 IP 주소를 부여하고, 부여한 IP 주소를 이용하여 테더링 이용 단말(200)의 테더링 연결 상태를 확인할 수 있다. Therefore, the tethering providing terminal 100 in the present invention operates like a DHCP (Dynamic Host Configuration Protocol) server to assign a random IP address to the tethering using terminal 200 connected through a USB cable, and to use the assigned IP address. You can use this to check the tethering connection status of the tethering terminal 200.

도 3은 본 발명의 실시예에 따른 테더링 제공 단말을 설명하기 위한 구성도이다 Figure 3 is a configuration diagram for explaining a tethering provision terminal according to an embodiment of the present invention.

도 3에 도시된 바와 같이, 본 발명의 실시예에 따른 테더링 제공 단말(100)은 통신부(110) 및 제어부(120)를 포함한다. As shown in Figure 3, according to an embodiment of the present invention The tethering providing terminal 100 includes a communication unit 110 and a control unit 120.

먼저, 통신부(110)는 테더링 이용 단말(200)과 데이터 송수신을 수행한다. First, the communication unit 110 performs data transmission and reception with the tethering terminal 200.

통신부(110)는 USB 케이블을 통해 연결된 테더링 이용 단말(200)을 감지하고, 연결된 테더링 이용 단말(200)과의 통신을 수행한다. The communication unit 110 detects a tethering terminal 200 connected through a USB cable and performs communication with the connected tethering terminal 200.

그리고, 제어부(120)는 임의의 IP 주소를 생성하고, 생성된 IP 주소를 USB 케이블을 통해 연결된 테더링 이용 단말(200)에 전달한다. 임의의 IP 주소를 전달받은 테더링 이용 단말(200)에서 테더링 연결 요청 신호를 생성하면, 제어부(120)는 테더링 이용 단말(200)의 IP 주소를 추출하고, 추출된 IP주소와 제공된 임의의 IP주소를 비교하여 테더링 이용 단말(200)의 접속 여부에 대한 이벤트를 발생시킨다. Then, the control unit 120 generates a random IP address and transmits the generated IP address to the tethering terminal 200 connected through a USB cable. When a tethering connection request signal is generated from the tethering terminal 200 that has received a random IP address, the control unit 120 extracts the IP address of the tethering terminal 200 and combines the extracted IP address with the provided random IP address. An event regarding whether the tethering terminal 200 is connected is generated by comparing the IP addresses of .

테더링 제공 단말(100)과 테더링 이용 단말(200)이 테더링 연결되면, 제어부(120)는 임의의 IP 주소를 이용하여 연결된 테더링 이용 단말(200)과의 통신을 수행하도록 한다. When the tethering providing terminal 100 and the tethering using terminal 200 are connected by tethering, the control unit 120 uses a random IP address to perform communication with the connected tethering using terminal 200.

이하에서는 도 4를 이용하여 본 발명의 실시예에 따른 USB 테더링 서비스 제공 시스템을 이용한 USB 테더링 서비스 제공 방법에 대해 더욱 상세하게 설명한다. Hereinafter, a method of providing a USB tethering service using a USB tethering service providing system according to an embodiment of the present invention will be described in more detail using FIG. 4.

도 4는 본 발명의 실시예에 따른 USB 테더링 서비스 제공 시스템을 이용한 USB 테더링 서비스 제공 방법을 설명하기 위한 순서도이다. Figure 4 is a flowchart illustrating a method of providing a USB tethering service using a USB tethering service providing system according to an embodiment of the present invention.

도 4에 도시된 바와 같이, 본 발명의 실시예에 따른 테더링 제공 단말(100)은 USB 케이블을 통해 연결된 테더링 이용 단말(200)을 감지한다(S410).As shown in FIG. 4, the tethering providing terminal 100 according to an embodiment of the present invention detects the tethering using terminal 200 connected through a USB cable (S410).

이를 다시 설명하면, 사용자가 USB 케이블을 이용하여 테더링 제공 단말(100)과 테더링 이용 단말(200)을 연결하면, 통신부(110)는 USB 케이블을 통해 연결된 테더링 이용 단말(200)을 감지한다. To explain this again, when the user connects the tethering providing terminal 100 and the tethering using terminal 200 using a USB cable, the communication unit 110 detects the tethering using terminal 200 connected through the USB cable. do.

S410 단계에서 테더링 이용 단말(200)이 감지되면, 테더링 제공 단말(100)은 임의의 IP 주소를 생성하고, 연결된 테더링 이용 단말(200)에 임의의 IP주소를 전달한다(S420).When the tethering terminal 200 is detected in step S410, the tethering providing terminal 100 generates a random IP address and delivers the random IP address to the connected tethering terminal 200 (S420).

USB 케이블을 통해 테더링 제공 단말(100)과 테더링 이용 단말(200)이 연결되면, 테더링 제공 단말(100)은 USB 호스트(host)에서 USB 디바이스(device)로 전환된다. 그러면, 제어부(120)는 DHCP(Dynamic Host Configuration Protocol) 서버와 같이 동작하여 임의의 IP 주소를 생성한다. 그리고, 생성된 임의의 IP 주소는 통신부(110)를 통해 테더링 이용 단말(200)에 전달된다. When the tethering providing terminal 100 and the tethering using terminal 200 are connected through a USB cable, the tethering providing terminal 100 is converted from a USB host to a USB device. Then, the control unit 120 operates like a DHCP (Dynamic Host Configuration Protocol) server to generate a random IP address. Then, the generated random IP address is delivered to the tethering terminal 200 through the communication unit 110.

한편, 제어부(120)는 생성된 임의의 IP 주소와 임의의 IP 주소를 수신하는 테더링 이용 단말(200)을 매칭하여 저장한다. Meanwhile, the control unit 120 matches and stores the generated random IP address and the tethering terminal 200 that receives the random IP address.

IP주소를 전달받은 상태에서, 테더링 이용 단말(200)은 테더링 연결 요청 신호를 테더링 제공 단말(200)에 송신한다(S430).In the state in which the IP address is received, the tethering using terminal 200 transmits a tethering connection request signal to the tethering providing terminal 200 (S430).

부연하자면, 테더링 이용 단말(200)은 RNDIS(Remote NDIS)에서 제공하는 링크를 통해 테더링 연결 요청 신호를 송신한다. 이때, 테더링 연결 요청 신호에는 테더링 제공 단말(100)에서 제공한 임의의IP주소를 포함한다. To elaborate, the tethering terminal 200 transmits a tethering connection request signal through a link provided by RNDIS (Remote NDIS). At this time, the tethering connection request signal includes a random IP address provided by the tethering providing terminal 100.

테더링 연결 요청 신호를 전달받은 테더링 제공 단말(100)은 테더링 연결 요청 신호에 포함된 IP주소를 추출하고, 추출된 IP 주소를 이용하여 테더링 이용 단말(200)의 테더링 연결 여부를 판단한다(S440).The tethering providing terminal 100, which has received the tethering connection request signal, extracts the IP address included in the tethering connection request signal and determines whether the tethering using terminal 200 is connected to tethering using the extracted IP address. Judge (S440).

부연하자면, 제어부(120)는 수신된 테더링 연결 요청 신호에 포함된 IP 주소를 추출하고, 추출된 IP 주소와 기 저장된 임의의 IP 주소를 비교한다. To elaborate, the control unit 120 extracts the IP address included in the received tethering connection request signal and compares the extracted IP address with a previously stored arbitrary IP address.

그리고, 비교한 결과 추출된 IP 주소와 기 저장된 IP 주소가 일치하면, 제어부(120)는 테더링 이용 단말(200)이 USB 테더링으로 연결된 것으로 판단한다. 그리고, 제어부(120)는 그에 대응하는 이벤트를 발생시킨다. And, if the extracted IP address matches the previously stored IP address as a result of comparison, the control unit 120 determines that the tethering terminal 200 is connected by USB tethering. Then, the control unit 120 generates a corresponding event.

한편, 테더링 제공 단말(100)과 테더링 이용 단말(200) 사이에 테더링 연결이 수행되면, 테더링 이용 단말(200)은 클라이언트 소켓(client soket)으로 전환되고, 테더링 제공 단말(100)은 서버 소켓(sever soket)으로 전환된다. Meanwhile, when a tethering connection is performed between the tethering providing terminal 100 and the tethering using terminal 200, the tethering using terminal 200 is converted to a client socket, and the tethering providing terminal 100 ) is converted to a server socket.

그러면, 테더링 제공 단말(100)는 추출된 IP주소를 이용하여 대응되는 테더링 이용 단말(200)과 데이터를 송수신한다(S450).Then, the tethering providing terminal 100 transmits and receives data with the corresponding tethering using terminal 200 using the extracted IP address (S450).

이를 다시 설명하면, 테더링 제공 단말(100)은 S440단계에서 추출된 IP 주소를 이용하여 테더링 이용 단말(200)에 포함된 다른 서버에 클라이언트로 접속한다. 그리고, 접속이 완료되면, 테더링 제공 단말(100)은 테더링 이용 단말(200)과 데이터를 송수신한다. To explain this again, the tethering providing terminal 100 connects as a client to another server included in the tethering using terminal 200 using the IP address extracted in step S440. Then, when the connection is completed, the tethering providing terminal 100 transmits and receives data to and from the tethering using terminal 200.

이와 같이 본 발명의 실시예에 따르면, USB 테더링을 이용하고자 하는 테더링 이용 단말에 임의의 IP 주소를 제공하고, 제공된 임의의 IP 주소를 이용하여 테더링 이용 단말의 테더링 연결 상태를 판단할 수 있고, USB 연결 및 분리에 따른 이벤트를 발생할 수 있다. In this way, according to an embodiment of the present invention, a random IP address is provided to a tethering terminal that wants to use USB tethering, and the tethering connection status of the tethering terminal is determined using the provided random IP address. and events may occur due to USB connection and disconnection.

본 발명은 도면에 도시된 실시예를 참고로 하여 설명되었으나 이는 예시적인 것에 불과하며, 당해 기술이 속하는 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 기술적 보호범위는 아래의 특허청구범위의 기술적 사상에 의하여 정해져야 할 것이다.The present invention has been described with reference to the embodiments shown in the drawings, but these are merely illustrative, and those skilled in the art will understand that various modifications and other equivalent embodiments are possible therefrom. will be. Therefore, the true technical protection scope of the present invention should be determined by the technical spirit of the patent claims below.

100 : 테더링 제공 단말
110 : 통신부
120 : 제어부
200 : 테더링 이용 단말
100: Tethering provision terminal
110: Department of Communications
120: control unit
200: Terminal using tethering

Claims (11)

USB 케이블을 통해 테더링 이용 단말과의 연결이 활성화되면, 연결된 테더링 이용 단말에 임의의 IP 주소를 전달하고, 상기 테더링 이용 단말로부터 테더링 연결 요청 신호를 수신할 경우에는 상기 테더링 이용 단말의 IP 주소와 임의의 IP 주소를 비교하여 해당되는 테더링 이용 단말의 접속 여부에 대한 이벤트를 발생시키는 테더링 제공 단말, 그리고
상기 테더링 제공 단말로부터 전달받은 임의의 IP 주소를 이용하여 RNDIS(Remote NDIS)을 통해 테더링 연결 요청을 송신하는 테더링 이용 단말을 포함하며,
상기 테더링 제공 단말은,
상기 테더링 이용 단말과 데이터 송수신을 수행하는 통신부, 그리고
상기 통신부를 이용하여 USB 케이블을 통해 연결된 테더링 이용 단말을 감지하고, 감지된 테더링 이용 단말에 임의의 IP 주소를 전달하며, 테더링 이용 단말에서 발생된 테더링 연결 요청 신호를 감지할 경우에는 테더링 연결 요청 신호를 송신한 테더링 이용 단말의 IP 주소를 검출하는 제어부를 포함하며,
상기 제어부는,
상기 검출된 테더링 이용 단말의 IP 주소와 임의의 IP 주소를 비교하고, 일치할 경우에는 테더링 접속 이벤트를 발생시키며,
상기 테더링 이용 단말과 상기 테더링 제공 단말이 테더링 연결이 수행되면,
상기 테더링 이용 단말은 클라이언트 소켓으로 전환되고, 상기 테더링 제공 단말은 서버 소켓으로 전환되고,
상기 테더링 이용 단말이 USB 테더링으로 제공된 경우, USB 호스트(host)에서 USB 디바이스(device)로 전환되는 USB 테더링 서비스 제공 시스템.
When the connection with the tethering terminal is activated through a USB cable, a random IP address is transmitted to the connected tethering terminal, and when a tethering connection request signal is received from the tethering terminal, the tethering terminal A tethering providing terminal that compares an IP address with a random IP address and generates an event regarding whether or not the corresponding tethering terminal is connected, and
It includes a tethering use terminal that transmits a tethering connection request through RNDIS (Remote NDIS) using a random IP address received from the tethering providing terminal,
The tethering providing terminal is,
A communication unit that performs data transmission and reception with the tethering terminal, and
Using the communication unit, a tethering terminal connected through a USB cable is detected, a random IP address is transmitted to the detected tethering terminal, and a tethering connection request signal generated from the tethering terminal is detected. It includes a control unit that detects the IP address of the tethering terminal that transmitted the tethering connection request signal,
The control unit,
Compares the detected IP address of the tethering terminal with a random IP address, and if they match, generates a tethering connection event,
When a tethering connection is performed between the tethering using terminal and the tethering providing terminal,
The tethering using terminal is converted to a client socket, and the tethering providing terminal is converted to a server socket,
A USB tethering service providing system that converts from a USB host to a USB device when the tethering terminal is provided with USB tethering.
삭제delete 삭제delete 삭제delete 삭제delete 제1항에 있어서,
상기 제어부는,
상기 테더링 이용 단말과 상기 테더링 제공 단말이 테더링 연결된 상태에서, 상기 테더링 이용 단말의 IP 주소를 이용하여 상기 테더링 이용 단말에 포함된 다른 서버에 클라이언트로 접속하여 데이터를 송수신하는 USB 테더링 서비스 제공 시스템.
According to paragraph 1,
The control unit,
When the tethering using terminal and the tethering providing terminal are connected by tethering, a USB device connects as a client to another server included in the tethering using terminal using the IP address of the tethering using terminal to transmit and receive data. Dering service provision system.
USB 테더링 서비스 제공 시스템을 이용한 USB 테더링 서비스 제공 방법에 있어서,
테더링 제공 단말은 USB 케이블을 통해 테더링 이용 단말과의 연결이 활성화되면, 연결된 테더링 이용 단말에 임의의 IP 주소를 전달하는 단계,
상기 테더링 제공 단말은 상기 전달받은 임의의 IP 주소를 이용하여 RNDIS(Remote NDIS)을 통해 테더링 연결 요청을 송신하는 단계,
상기 테더링 이용 단말로부터 테더링 연결 요청 신호를 수신할 경우에는 상기 테더링 이용 단말의 IP 주소와 임의의 IP 주소를 비교하여 해당되는 테더링 이용 단말의 접속 여부에 대한 이벤트를 발생시키는 단계, 그리고
상기 테더링 이용 단말과 상기 테더링 제공 단말이 테더링 연결이 수행되면, 상기 테더링 이용 단말이 클라이언트 소켓으로 전환되고, 상기 테더링 제공 단말이 서버 소켓으로 전환되어 테더링 연결을 성립시키는 단계를 포함하며,
상기 이벤트를 발생시키는 단계는,
상기 테더링 제공 단말은 테더링 이용 단말에서 발생된 테더링 연결 요청 신호를 감지할 경우, 테더링 연결 요청 신호를 송신한 테더링 이용 단말의 IP 주소를 검출하고,
상기 검출된 테더링 이용 단말의 IP 주소와 임의의 IP 주소를 비교하고, 일치할 경우에는 테더링 접속 이벤트를 발생시키는 USB 테더링 서비스 제공 방법.
In the method of providing USB tethering service using a USB tethering service provision system,
The tethering providing terminal transmits a random IP address to the connected tethering terminal when the connection with the tethering terminal is activated through a USB cable;
The tethering providing terminal transmits a tethering connection request through RNDIS (Remote NDIS) using the random IP address received,
When receiving a tethering connection request signal from the tethering terminal, comparing the IP address of the tethering terminal with an arbitrary IP address and generating an event regarding whether the corresponding tethering terminal is connected, and
When a tethering connection is performed between the tethering using terminal and the tethering providing terminal, the tethering using terminal is converted to a client socket, and the tethering providing terminal is converted to a server socket to establish a tethering connection. Includes,
The step of generating the event is,
When the tethering providing terminal detects a tethering connection request signal generated from a tethering using terminal, it detects the IP address of the tethering using terminal that transmitted the tethering connection request signal,
A method of providing a USB tethering service that compares the detected IP address of the tethering terminal and a random IP address and, if they match, generates a tethering connection event.
삭제delete 삭제delete 삭제delete 제7항에 있어서,
상기 테더링 연결을 성립시키는 단계는,
상기 테더링 이용 단말과 상기 테더링 제공 단말이 테더링 연결된 상태에서,
상기 테더링 이용 단말의 IP 주소를 이용하여 상기 테더링 이용 단말에 포함된 다른 서버에 클라이언트로 접속하여 데이터를 송수신하는 USB 테더링 서비스 제공 방법.
In clause 7,
The step of establishing the tethering connection is,
When the tethering using terminal and the tethering providing terminal are connected by tethering,
A method of providing a USB tethering service in which data is transmitted and received by connecting as a client to another server included in the tethering terminal using the IP address of the tethering terminal.
KR1020210148930A 2021-11-02 2021-11-02 A system for providing USB tethering services and method thereof KR102633012B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210148930A KR102633012B1 (en) 2021-11-02 2021-11-02 A system for providing USB tethering services and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210148930A KR102633012B1 (en) 2021-11-02 2021-11-02 A system for providing USB tethering services and method thereof

Publications (2)

Publication Number Publication Date
KR20230063655A KR20230063655A (en) 2023-05-09
KR102633012B1 true KR102633012B1 (en) 2024-02-05

Family

ID=86408314

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210148930A KR102633012B1 (en) 2021-11-02 2021-11-02 A system for providing USB tethering services and method thereof

Country Status (1)

Country Link
KR (1) KR102633012B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004157604A (en) * 2002-11-01 2004-06-03 Matsushita Electric Ind Co Ltd Usb peripheral control method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9619417B2 (en) * 2011-06-17 2017-04-11 Alcatel Lucent Method and apparatus for remote delivery of managed USB services via a mobile computing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004157604A (en) * 2002-11-01 2004-06-03 Matsushita Electric Ind Co Ltd Usb peripheral control method and device

Also Published As

Publication number Publication date
KR20230063655A (en) 2023-05-09

Similar Documents

Publication Publication Date Title
US7940732B2 (en) Automatic wireless network device configuration
RU2697614C2 (en) Wireless communication system
CN107517438B (en) Method for requesting sharing of Bluetooth device, electronic device and computer storage medium
WO2019134306A1 (en) Message processing method, device, terminal apparatus, and readable storage medium
CN104158883A (en) Method, device, equipment and system for carrying out user login through cross-terminal equipment
US9326115B2 (en) Information processing system, information processing method, mobile phone, server, and control method and control program thereof
JP2016538623A (en) Authentication for applications
US20150358760A1 (en) Automatically connecting a user equipment device with a partner device
US6449075B1 (en) Method and system for enabling wireless data communications with electronic devices having disparate operating systems
CN108040355B (en) Network access method and system
CN110248364A (en) IOT equipment distribution method, apparatus, equipment and medium
CN102723971A (en) Bluetooth device and Bluetooth pairing method thereof
WO2019071809A1 (en) Interactive intelligent tablet, data transmission method, device and storage medium
WO2015098162A1 (en) Onboard device and control method for onboard device
CN114697879B (en) Bluetooth pairing method, electronic device, chip and storage medium
US20050122940A1 (en) Method for wireless network communication in dual mode
KR102633012B1 (en) A system for providing USB tethering services and method thereof
US20140162549A1 (en) System and method for connecting to a peripheral device with access credentials and rotating pin using an nfc remote control
US9615400B2 (en) Network apparatus and network sharing method
US8369530B2 (en) Network set-up device
CN107708183B (en) Decoding algorithm determination method, device, terminal and storage medium
CN115967735A (en) Equipment management method and system based on Internet of things platform
US20150046995A1 (en) Media playing system and media playing method for playing media file in different area network groups
Shahriyar et al. Controlling remote system using mobile telephony
US20140341070A1 (en) Wireless network setting method, communication system and remote device

Legal Events

Date Code Title Description
AMND Amendment
E601 Decision to refuse application
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant