KR101336032B1 - Method for transmitting and receiving of file in local area communication and thereof commucation terminal - Google Patents

Method for transmitting and receiving of file in local area communication and thereof commucation terminal Download PDF

Info

Publication number
KR101336032B1
KR101336032B1 KR1020080017634A KR20080017634A KR101336032B1 KR 101336032 B1 KR101336032 B1 KR 101336032B1 KR 1020080017634 A KR1020080017634 A KR 1020080017634A KR 20080017634 A KR20080017634 A KR 20080017634A KR 101336032 B1 KR101336032 B1 KR 101336032B1
Authority
KR
South Korea
Prior art keywords
file
packet
name
display unit
communication terminal
Prior art date
Application number
KR1020080017634A
Other languages
Korean (ko)
Other versions
KR20090092404A (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 KR1020080017634A priority Critical patent/KR101336032B1/en
Publication of KR20090092404A publication Critical patent/KR20090092404A/en
Application granted granted Critical
Publication of KR101336032B1 publication Critical patent/KR101336032B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04B5/72
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

본 발명은 근거리 통신을 통한 제1 통신 단말기와 제2 통신 단말기간의 파일 송수신 방법에 있어서, 상기 제1 통신 단말기에서 OPP에 따른 파일 요청 패킷을 생성하여 상기 제2 통신 단말기로 전송하고, 상기 제2 통신 단말기에서 파일 요청 패킷이 수신되면, 상기 패킷의 첫번째 바이트 값을 확인하여 그 값이 OPP에 의한 OP코드를 나타내면 상기 패킷에 name header가 존재하는지 판단하고, name header가 존재하는 것으로 판단된 경우 상기 패킷에 포함된 파일명에 해당하는 파일을 추출하여 상기 제1 통신 단말기에 전송하는 것으로서, 블루투스를 이용하여 통신 단말기간에 파일 하나를 요청하고 받는 간단한 프로세스의 경우 블루투스 FTP를 사용하지 않고 OPP를 사용할 수 있다. The present invention provides a file transmission / reception method between a first communication terminal and a second communication terminal through short-range communication, wherein the first communication terminal generates a file request packet according to an OPP and transmits the file request packet to the second communication terminal. When a file request packet is received in the communication terminal, the value of the first byte of the packet is checked. If the value indicates an OP code by the OPP, it is determined whether a name header exists in the packet. Extracting a file corresponding to a file name included in a packet and transmitting it to the first communication terminal, the simple process of requesting and receiving one file between communication terminals using Bluetooth can use the OPP without using Bluetooth FTP. .

근거리 통신, 블루투스, OPP Near field communication, Bluetooth, OPP

Description

근거리 통신을 통한 파일 송수신 방법 및 그 통신 단말기{Method for transmitting and receiving of file in local area communication and thereof commucation terminal}TECHNICAL FIELD [0002] Method for transmitting and receiving of file in local area communication and pretty commucation terminal}

본 발명은 근거리 통신을 통한 파일 송수신 방법 및 그 통신 단말기에 관한 것으로서, 더욱 상세하게는 제1 통신 단말기에서 OPP(Object Push Profile)에 따른 파일 요청 패킷을 생성하여 상기 제2 통신 단말기로 전송하면, 상기 제2 통신 단말기가 파일 요청 패킷의 첫번째 바이트 값을 확인하여 그 값이 OPP에 의한 OP코드를 나타내면, 상기 패킷에 name header가 존재하는지를 판단하고, 상기 판단결과 name header가 존재하면, 상기 패킷에 포함된 파일명에 해당하는 파일을 추출하여 상기 제1 통신 단말기에 전송하는 근거리 통신을 통한 파일 송수신 방법 및 그 통신 단말기에 관한 것이다. The present invention relates to a file transmission / reception method through short-range communication and a communication terminal thereof, and more particularly, to generate a file request packet according to an object push profile (OPP) in a first communication terminal and transmit the file request packet to the second communication terminal. If the second communication terminal checks the value of the first byte of the file request packet and indicates that the value indicates the OP code by the OPP, it is determined whether a name header exists in the packet. The present invention relates to a method for transmitting and receiving a file through short-range communication for extracting a file corresponding to an included file name and transmitting the file to the first communication terminal.

최근 통신기술의 발달과 개인용 컴퓨터(PC)의 보급 등에 힘입어, 대부분의 사용자들은 적어도 이동통신 단말기와 개인용 컴퓨터를 사용하고 있으며, 이동통신 단말기나 개인용 컴퓨터의 사용량은 증대되고 있는 실정이다. 그래서, 직장인인 경우 업무 수행을 위해, 학생인 경우에는 과제를 위해 컴퓨터 앞에 앉게 된다.With the recent development of communication technology and the spread of personal computers (PCs), most users use at least mobile communication terminals and personal computers, and the use of mobile communication terminals and personal computers is increasing. So, if you are an office worker, you sit in front of the computer for work and if you are a student.

한편, 통신기술의 발달로 인해 이동통신 단말기와 개인용 컴퓨터는 근거리 통신 중계 장치인 블루투스를 매개로 하여 이동 통신 단말기와 컴퓨터가 연결되어 벨/멜로디, 영상 데이터 등을 상호 교환하는 데이터 통신이 가능하다.On the other hand, due to the development of communication technology, the mobile communication terminal and the personal computer are connected to the mobile communication terminal and the computer via Bluetooth, which is a short-range communication relay device, to enable data communication for exchanging bell / melody and image data.

집에서는 무선 마우스와 프린터를 사용하고, 포터블 디바이스를 사용해 간단한 접속만으로 무선 인터넷을 사용하고 있다. 어느덧 무선통신은 편리함을 넘어 필수품으로 점점 자리 잡아가고 있다. 그리고 그 중심에는 "블루투스"라는 기술이 존재하고 있다.At home, I use a wireless mouse and a printer, and I use a wireless device with a simple connection using a portable device. Wireless communication is increasingly becoming a necessity beyond convenience. And at the heart of it is a technology called "Bluetooth."

블루투스 기술은 작고, 저렴한 가격, 100mW 이하의 저전력 소모로 근거리 송신기를 모바일 디바이스에 탑재하여 무선환경을 제공해 주는 하나의 기술이다. Bluetooth technology is a small, low cost, low power consumption of less than 100mW is a technology that provides a wireless environment by mounting a short-range transmitter in a mobile device.

통신 단말기간에 블루투스로 파일을 전송하고자 할 때에는 블루투스 FTP 규격을 사용하고, 명함, 주소록, 스케줄 등의 오브젝트를 주고 받을 때는 OPP 규격을 사용한다. The Bluetooth FTP standard is used to transfer files between communication terminals via Bluetooth, and the OPP standard is used when exchanging objects such as business cards, address books, and schedules.

도 1은 종래의 OPP 규격에 의한 오브젝트 교환 방법을 나타낸 흐름도, 도 2는 종래의 OPP 규격에 의한 명함 요청 패킷을 나타낸 예시도이다.1 is a flowchart illustrating a method of exchanging an object according to a conventional OPP standard, and FIG. 2 is an exemplary view showing a business card request packet according to a conventional OPP standard.

도 1을 참조하면, 제1 통신 단말기와 제2 통신 단말기가 블루투스를 통해 접속이 수행된 후(S100), 상기 제1 통신 단말기가 OPP를 통해 상기 제2 통신 단말기로부터 오브젝트의 수신을 원하면 상기 제2 통신 단말기에 오브젝트 요청 패킷을 전송한다(S102). Referring to FIG. 1, after the first communication terminal and the second communication terminal are connected through Bluetooth (S100), when the first communication terminal wants to receive an object from the second communication terminal through the OPP, the first communication terminal may receive the object. 2 The object request packet is transmitted to the communication terminal (S102).

상기 오브젝트 요청 패킷은 특정 포맷의 오브젝트를 요청한다는 것을 표시하는 패킷으로서, 예를 들어 명함 요청 패킷에 대하여 도 2를 참조하여 설명하기로 한다.The object request packet is a packet indicating that an object of a specific format is requested. For example, a business card request packet will be described with reference to FIG. 2.

도 2는 명함 요청 패킷을 나타낸 것으로서, 명함 요청 opcode, 패킷 길이, payment required, 헤더 타입 길이, 오브젝트 포맷, 헤더 종료를 포함한다. 2 shows a business card request packet, which includes a business card request opcode, packet length, payment required, header type length, object format, and header end.

첫번째 바이트의 0×83 값은 명함을 요청하는 opcode이고, 4번째 바이트의 0×42는 vCard 포맷 하나를 요청하는 헤더를 나타낸다. The 0x83 value of the first byte is an opcode requesting a business card, and 0x42 of the 4th byte represents a header requesting one vCard format.

상기 오브젝트 요청 패킷을 수신한 제2 통신 단말기는 상기 오브젝트 요청 패킷의 첫번째 바이트를 이용하여 OPP에 의한 opcode임을 확인한다(S104).Upon receiving the object request packet, the second communication terminal confirms that it is an opcode by the OPP using the first byte of the object request packet (S104).

즉, 상기 제2 통신 단말기는 상기 오브젝트 요청 패킷의 첫번째 바이트에 해당하는 opcode값을 확인하여 해당 패킷이 OPP규격에 의한 패킷이라는 것을 판단한다.That is, the second communication terminal checks the opcode value corresponding to the first byte of the object request packet and determines that the packet is an OPP standard packet.

그런 다음 상기 제2 통신 단말기는 상기 패킷의 오브젝트 포맷 영역에 표시된 포맷에 해당하는 오브젝트를 추출하여(S106), 상기 제1 통신 단말기에 전송한다(S108).Then, the second communication terminal extracts an object corresponding to the format displayed in the object format area of the packet (S106), and transmits it to the first communication terminal (S108).

OPP는 명함, 주소록, 메시지, 스케쥴, 노트 등의 오브젝트를 주고 받을수 있도록 하는 규격이다. OPP 규격 자체에서는 파일명을 명시하여 요청하는 기능이 없고, 단지 어느 포맷의 오브젝트를 하나 요청하는 것으로, 요청을 받은 OPP 서버에 해당 포맷의 오브젝트가 있으면 푸쉬해주고, 없으면 단순히 에러 메시지를 전송한다. OPP is a standard that allows you to send and receive objects such as business cards, address books, messages, schedules, and notes. In the OPP specification itself, there is no function for specifying a file name and requesting only one object of a certain format. If there is an object of the corresponding format in the requested OPP server, it is pushed. Otherwise, an error message is transmitted.

그러나 상기와 같은 종래의 블루투스 통신의 경우, 파일 하나를 전송 받고자 하는 경우 복잡하고 많은 내용을 가지는 FTP규격에 따라야 하는 단점이 있었다. However, in the case of the conventional Bluetooth communication as described above, there is a disadvantage that a complicated and many contents of the FTP standard must be followed when one file is to be transmitted.

따라서, 본 발명의 목적은 블루투스를 이용하여 통신 단말기간에 파일 하나를 요청하고 받는 간단한 프로세스의 경우 블루투스 FTP를 사용하지 않고 OPP를 사용할 수 있는 근거리 통신을 통한 파일 송수신 방법 및 그 통신 단말기를 제공하는데 있다. Accordingly, an object of the present invention is to provide a method for transmitting and receiving files through short-range communication that can use OPP without using Bluetooth FTP in the case of a simple process of requesting and receiving a file between communication terminals using Bluetooth. .

본 발명의 다른 목적은 OPP 규격중 요청 패킷을 확장하여 파일명을 전달할 수 있도록 하여 상대 통신 단말기에서 해당 파일을 푸쉬해 줄 수 있도록 하는 근거리 통신을 통한 파일 송수신 방법 및 그 통신 단말기를 제공하는데 있다. Another object of the present invention is to provide a method for transmitting and receiving a file through short-range communication and a communication terminal for allowing a corresponding communication terminal to push a corresponding file by transmitting a file name by extending a request packet in the OPP standard.

본 발명의 또 다른 목적은 파일 하나를 요청하고 받는 간단한 프로세서의 경우 복잡하고 많은 내용을 가지는 FTP 규격을 모두 구현할 필요없이 OPP 규격을 사용하여 구현할 수 있도록 함으로써 파일 전송 기능이 되는 블루투스 장치를 쉽게 구현하는 근거리 통신을 통한 파일 송수신 방법 및 그 통신 단말기를 제공하는데 있다. It is still another object of the present invention to easily implement a Bluetooth device with a file transfer function by allowing a simple processor to request and receive a file so that it can be implemented using the OPP standard without having to implement all of the complicated and large FTP specifications. The present invention provides a method for transmitting and receiving files through short-range communication and a communication terminal thereof.

상기 목적들을 달성하기 위하여 본 발명의 일 측면에 따르면, 근거리 통신을 통한 제1 통신 단말기와 제2 통신 단말기간의 파일 송수신 방법에 있어서, 상기 제1 통신 단말기에서 OPP에 따른 파일 요청 패킷을 생성하여 상기 제2 통신 단말기로 전송하는 단계, 상기 제2 통신 단말기에서 파일 요청 패킷이 수신되면, 상기 패킷 의 첫번째 바이트 값을 확인하여 그 값이 OPP에 의한 OP코드를 나타내면 상기 패킷에 name header가 존재하는지 판단하고, name header가 존재하는 것으로 판단된 경우 상기 패킷에 포함된 파일명에 해당하는 파일을 추출하여 상기 제1 통신 단말기에 전송하는 단계를 포함하는 것을 특징으로 하는 근거리 통신을 통한 파일 송수신 방법이 제공된다. According to an aspect of the present invention to achieve the above object, in the method of transmitting and receiving files between the first communication terminal and the second communication terminal through the short-range communication, by generating a file request packet according to the OPP in the first communication terminal Transmitting to a second communication terminal, when a file request packet is received at the second communication terminal, checking a value of the first byte of the packet and determining whether a name header exists in the packet if the value indicates an OP code by an OPP. And if it is determined that the name header exists, extracting a file corresponding to the file name included in the packet and transmitting the file to the first communication terminal. .

상기 OPP에 따른 파일 요청 패킷은 OPcode 표시부, 패킷 길이 표시부, name header 표시부, 파일명 길이 표시부, 파일명 표시부, 파일명 종료 표시부로 구성된다. The file request packet according to the OPP includes an OPcode display unit, a packet length display unit, a name header display unit, a file name length display unit, a file name display unit, and a file name end display unit.

상기 name header 표시부는 해당 패킷이 파일을 요청하는 패킷이라는 것을 표시하는 영역, 상기 파일명 길이 표시부는 파일명 표시부와 파일명 종료 표시부까지의 길이를 나타내는 영역으로, 상기 파일명 표시부에 표시되는 파일명은 유니코드(unicode)로 표시된다. The name header display unit is an area indicating that the packet is a packet requesting a file, and the file name length display unit is an area indicating the lengths between the file name display unit and the file name end display unit, and the file name displayed on the file name display unit is Unicode. Is indicated by).

본 발명의 다른 측면에 따르면, 통신 단말기가 근거리 통신을 통해 파일을 송신하는 방법에 있어서, (a)파일 요청 패킷이 수신되면, 상기 패킷의 첫번째 바이트 값을 확인하는 단계, (b)상기 (a)단계의 확인결과 첫번째 바이트 값이 OPP에 의한 OP코드를 나타내면, 상기 패킷에 name header가 존재하는지를 판단하는 단계 및 (c)상기 (b)단계의 판단결과 name header가 존재하면, 상기 패킷에 포함된 파일명을 확인하고, 상기 확인된 파일명에 해당하는 파일을 추출하여 전송하는 단계를 포함하는 것을 특징으로 하는 근거리 통신을 통한 파일 송신 방법이 제공된다. According to another aspect of the present invention, in a method for transmitting a file through short-range communication by a communication terminal, (a) when a file request packet is received, checking a first byte value of the packet, (b) (a) If the first byte value indicates the OP code by the OPP, determining whether a name header exists in the packet; and (c) if the name header exists, the packet is included in the packet. Checking the confirmed file name, and extracting and transmitting a file corresponding to the confirmed file name is provided a file transmission method through short-range communication.

상기 (a)단계의 확인결과 첫번째 바이트 값이 OPP에 의한 OP코드를 나타내지 않으면, FTP에 의한 파일 요청 패킷으로 판단하여 해당 파일을 추출하여 전송하는 단계를 더 포함하는 것을 특징으로 하는 근거리 통신을 통한 파일 송신 방법이 제공된다. If the first byte value of the check result of step (a) does not indicate the OP code by the OPP, determining that the file request packet by the FTP and extracting and transmitting the corresponding file further comprising a short-range communication through A file transmission method is provided.

상기 (b)단계의 판단결과 name header가 존재하지 않으면, 상기 패킷에 표시된 포맷에 해당하는 오브젝트를 추출하여 전송하는 단계를 더 포함하는 것을 특징으로 하는 근거리 통신을 통한 파일 송신 방법이 제공된다.If the name header does not exist as a result of the determination in step (b), extracting and transmitting an object corresponding to the format indicated in the packet is provided.

본 발명의 또 다른 측면에 따르면, 입력부, 표시부 및 저장부가 구비된 통신 단말기에 있어서, 상대 단말기와의 통신을 위한 근거리 통신부, 상기 근거리 통신부를 통해 수신된 파일 요청 패킷의 첫번째 바이트 값이 OPP에 의한 OP코드를 나타내면 상기 패킷에 name header가 존재하는지 판단하고, name header가 존재하는 것으로 판단된 경우 상기 패킷에 포함된 파일명을 포함하는 파일 추출 요청 메시지를 생성하여 상기 파일/오브젝트 추출부에 전송하는 패킷 분석부, 상기 패킷 분석부로부터 파일 추출 요청 메시지가 수신되면, 상기 파일명에 해당하는 파일을 저장부에서 추출하여 상기 근거리 통신부를 통해 전송되도록 하는 파일/오브젝트 추출부를 포함하는 것을 특징으로 하는 근거리 통신을 통한 파일 송수신을 위한 통신 단말기가 제공된다. According to another aspect of the present invention, in a communication terminal provided with an input unit, a display unit, and a storage unit, a short-range communication unit for communication with a counterpart terminal, a first byte value of a file request packet received through the short-range communication unit is determined by the OPP. When the OP code is indicated, it is determined whether a name header exists in the packet, and when it is determined that a name header exists, a file extraction request message including a file name included in the packet is generated and transmitted to the file / object extraction unit. When the file extraction request message is received from the packet analysis unit, the analyzer includes a file / object extraction unit for extracting a file corresponding to the file name from the storage unit to be transmitted through the local area communication unit; There is provided a communication terminal for file transmission and reception through the.

상기 패킷 분석부는 상기 패킷에 name header가 존재하지 않으면, 상기 파일/오브젝트 추출부에 오브젝트 추출 요청 메시지를 전송한다. If there is no name header in the packet, the packet analyzer transmits an object extraction request message to the file / object extraction unit.

상기 파일/오브젝트 추출부는 상기 패킷 분석부로부터 오브젝트 추출 요청 메시지가 수신되면, 상기 메시지에 포함된 오브젝트 포맷에 해당하는 오브젝트를 추출하여 상기 근거리 통신부를 통해 전송되도록 한다. When the object extraction request message is received from the packet analyzer, the file / object extractor extracts an object corresponding to an object format included in the message and transmits the object through the short range communication unit.

사용자로부터 OPP에 의한 파일 요청 명령이 입력되면, OPcode 표시부, 패킷 길이 표시부, name header 표시부, 파일명 길이 표시부, 파일명 표시부, 파일명 종료 표시부를 구성된 파일 요청 패킷을 생성하는 패킷 생성부를 더 포함하는 것을 특징으로 하는 근거리 통신을 통한 파일 송수신을 위한 통신 단말기가 제공된다. If a file request command by the OPP is input from the user, further comprising a packet generation unit for generating a file request packet consisting of an OPcode display unit, packet length display unit, name header display unit, file name length display unit, file name display unit, file name end display unit Provided is a communication terminal for file transmission and reception through short-range communication.

상술한 바와 같이 본 발명에 따르면, 블루투스를 이용하여 통신 단말기간에 파일 하나를 요청하고 받는 간단한 프로세스의 경우 블루투스 FTP를 사용하지 않고 OPP를 사용할 수 있는 근거리 통신을 통한 파일 송수신 방법 및 그 통신 단말기를 제공할 수 있다. As described above, according to the present invention, in the case of a simple process of requesting and receiving a file between communication terminals using Bluetooth, there is provided a file transmission / reception method through short-range communication that can use OPP without using Bluetooth FTP and a communication terminal thereof. can do.

또한, 파일 하나를 요청하고 받는 간단한 프로세서의 경우 복잡하고 많은 내용을 가지는 FTP 규격을 모두 구현할 필요 없이 OPP 규격을 사용하여 구현할 수 있도록 함으로써 파일 전송 기능이 되는 블루투스 장치를 쉽게 구현하는 근거리 통신을 통한 파일 송수신 방법 및 그 통신 단말기를 제공할 수 있다. In addition, a simple processor that requests and receives a file can be implemented using the OPP specification without having to implement all the complicated and large FTP specifications. A transmission / reception method and a communication terminal thereof can be provided.

본 발명의 전술한 목적과 기술적 구성 및 그에 따른 작용 효과에 관한 자세한 사항은 본 발명의 명세서에 첨부된 도면에 의거한 이하 상세한 설명에 의해 보다 명확하게 이해될 것이다.The foregoing and other objects, features, and advantages of the present invention will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which: FIG.

도 3은 본 발명에 따른 블루투스를 이용한 근거리 네트워크를 나타낸 도면이다. 3 is a diagram illustrating a local area network using Bluetooth according to the present invention.

도 3을 참조하면, 블루투스(Bluetooth)는 이동통신 단말기, 휴대용 PC, PDA 등과 같은 휴대용 통신 장치들, 네트워크 액세스 포인트(Access Point)들, 기타 주변 장치들 간에 근거리(10m~100m)내의 무선 연결(Radio Link, 2.4GHs ISM Open Band)을 위한 기술적인 규격 사양이다.Referring to FIG. 3, Bluetooth is a wireless connection within a short distance (10m to 100m) between a portable communication device such as a mobile communication terminal, a portable PC, a PDA, network access points, and other peripheral devices. Technical Specification for Radio Link, 2.4GHs ISM Open Band).

블루투스는 가정 및 사무실에서 사용되는 모든 통신 단말기에 장착되는 것을 목표로 무선망(Wireless Piconet, Ad Hoc Scatternet 등)을 구성하여 어떠한 유/무선망과도 연동할 수 있게 한다. Bluetooth aims to be installed in all communication terminals used in homes and offices, and can be connected to any wired / wireless network by forming a wireless network (Wireless Piconet, Ad Hoc Scatternet, etc.).

따라서, 블루투스를 이용한 무선 네트워크가 완성되면 모든 통신 단말기(특히, 노트북, PDA, 이동통신 단말기)간의 자유로운 데이터 교환이 이루어지며, 인터넷 브리지를 구성하면 현재 광케이블이나 ADSL, 모뎀 등을 통해 데스크탑 컴퓨터에 도달해 있는 인터넷 정보가 비로소 사용자의 손 안에까지 도달할 수 있게 된다.Therefore, when a wireless network using Bluetooth is completed, free data exchange is possible between all communication terminals (particularly, notebooks, PDAs, and mobile communication terminals). When the Internet bridge is configured, the desktop computers are currently reached through optical cables, ADSL, modems, and the like. The internet information is finally reached to the user's hand.

모든 블루투스 디바이스(Bluetooth Device)는 하드웨어적으로는 모두 같지만, 그 상황에 따라 마스터(Master) 또는 슬레이브(Slave)로서 동작하며, 그들이 최소 구성 단위인 피코넷(Piconet)을 구성한다. 처음에 통신을 개시한 블루투스 디바이스가 마스터(Master)가 되어 피코넷(Piconet)내의 슬레이브(Slave)와 통신한다. 이 때, 피코넷내의 통신은 마스터가 관리한다.Although all Bluetooth devices are identical in hardware, they operate as a master or slave depending on the situation, and they constitute a minimum unit of piconet. The Bluetooth device which initially initiated communication becomes a master and communicates with a slave in the piconet. At this time, communication in the piconet is managed by the master.

블루투스 명세(Specification)는 블루투스 무선 기술을 이용하는 다양한 장비들이 세계 어디서나 상호 통신할 수 있도록 하기 위해 요구되는 정보들을 담고 있는 사실상의 표준이다. 규격은 크게 2개로 나누어지는데 물리적 부분과 그에 필요한 펌웨어(Firmware)를 기술한 코어(Core) 사양과, 상호 기기간의 호환성을 위해 마련한 프로파일(Profile)로 나뉘어진다.The Bluetooth Specification is a de facto standard that contains the information required to enable various devices using Bluetooth wireless technology to communicate with each other anywhere in the world. The specifications are largely divided into two parts: a core specification describing a physical part and firmware required for the physical part, and a profile prepared for compatibility between devices.

상기 코어(Core) 부분은 무선(RF : Radio Frequency), 베이스밴드(Baseband), 연결 관리자(Link Manager), 서비스 전개 프로토콜(SDP : Service Discovery Protocol), 트랜스포트 계층(Transport Layer), 다른 통신 프로토콜과의 상호 사용 가능성(Interoperability)에 대한 것을 명세하고 있다.The core part may include radio frequency (RF), baseband, link manager, service discovery protocol (SDP), transport layer, and other communication protocols. It specifies the interoperability with.

프로파일(Profiles) 부분은 여러 다른 모양의 블루투스 애플리케이션(Application)에 요구되는 프로토콜(Protocol)과 프로시져(Procedure)를 다루고 있다. 상기 프로파일에 대한 상세한 설명은 도 4를 참조하기로 한다. The Profiles section covers the protocols and procedures required for many different types of Bluetooth applications. Detailed description of the profile will be made with reference to FIG. 4.

도 4는 본 발명에 따른 블루투스 프로파일을 나타낸 도면이다. 4 is a view showing a Bluetooth profile according to the present invention.

도 4를 참조하면, 블루투스 프로파일(Profile)은 블루투스를 최상위 어플리케이션(Application)에서 어떻게 사용할 지를 정의한 규격이다. Referring to FIG. 4, a Bluetooth profile is a standard defining how to use Bluetooth in a top-level application.

GAP(Generic Access Profile)는 블루투스 장치간의 접속을 발견 또는 설정하 기 위한 기본적인 요소를 정의하고, SDP(Service Discovery Protocol)는 블루투스 스택 상위에서 서비스들의 설정/발견을 다루는 프로토콜이다. The Generic Access Profile (GAP) defines the basic elements for discovering or establishing a connection between Bluetooth devices, and the SDP (Service Discovery Protocol) is a protocol that deals with setting up / discovering services on top of the Bluetooth stack.

Cordless Telephony와 Intercom을 포함하는 TCS Binary(Telephone Control Protocol Specification Binary)는 무선전화 기능을 블루투스에서 구현하기 위한 프로토콜로, 블루투스 기기간이 음성이나 호출 데이타를 확립하기 위한 호출제어 신호를 규정한다.The TCS Binary (Telephone Control Protocol Specification Binary), which includes Cordless Telephony and Intercom, is a protocol for implementing radiotelephone functions in Bluetooth, and defines call control signals for establishing voice or call data between Bluetooth devices.

SPP(Serial Port Profile)는 RFCOMM을 사용하는 블루투스 장치의 피어(peer)간 시리얼 케이블 연결을 하기 위한 절차를 정의하고, HSP (Headset Profile)는 블루투스 장비와 셀폰 간의 헤드셋 기능을 사용하기 위한 절차를 정의한다. SPP (Serial Port Profile) defines the procedure for establishing a serial cable connection between peers of a Bluetooth device using RFCOMM, and HSP (Headset Profile) defines the procedure for using the headset function between a Bluetooth device and a cell phone. do.

LAP(LAN Access Profile)는 PPP(Point-to-Point Protocol)을 사용하는 LAN 접속을 지원한다. LAN Access Profile (LAP) supports LAN access using Point-to-Point Protocol (PPP).

GOEP(Generic Object Exchange Profile)는 OBEX를 사용하는 모델을 지원하기 위한 절차를 포함한다. The Generic Object Exchange Profile (GOEP) contains procedures for supporting models using OBEX.

FTP(File Transfer Profile)는 블루투스 장비 간의 데이터 전송 또는 object를 처리를 지원하고, OPP(Object Push Profile)는 vCard과 같은 적은 데이터양의 오브젝트 교환을 지원한다.File Transfer Profile (FTP) supports data transfer or processing of objects between Bluetooth devices, and Object Push Profile (OPP) supports small data volume exchanges such as vCards.

PAN (Personal Area Networking Profile)은 블루투스 전송 레이어를 통하여 진행되는 네트워크 서비스를 기본으로 하는 표준 IP를 지원한다. PAN (Personal Area Networking Profile) supports standard IP based network service through Bluetooth transport layer.

도 5는 본 발명에 따른 OPP 규격을 이용하여 파일 전송이 가능한 통신 단말 기의 구성을 개략적으로 나타낸 블럭도이다. 5 is a block diagram schematically showing the configuration of a communication terminal capable of file transfer using the OPP standard according to the present invention.

도 5를 참조하면, OPP 규격을 이용하여 파일 전송이 가능한 통신 단말기(500)는 근거리 통신부(502), 패킷 분석부(504), 각종 데이터를 저장하는 저장부(506), 파일/오브젝트 추출부(508), 사용자 명령을 입력 받는 입력부(510), 상기 입력부(510)에서 발생되는 키 데이터 및 각종 정보 신호를 입력 받아 표시하는 표시부(512)를 포함한다.Referring to FIG. 5, a communication terminal 500 capable of file transfer using an OPP standard includes a short range communication unit 502, a packet analyzer 504, a storage unit 506 storing various data, and a file / object extraction unit. 508, an input unit 510 for receiving a user command, and a display unit 512 for receiving and displaying key data and various information signals generated by the input unit 510.

상기 근거리 통신부(502)는 블루투스, 적외선 통신 등을 말하는 것으로서, 다른 통신 단말기와의 근거리 통신을 가능하게 한다.The short range communication unit 502 refers to Bluetooth, infrared communication, or the like, and enables short range communication with other communication terminals.

상기 패킷 분석부(504)는 상기 근거리 통신부(502)를 통해 파일 요청 패킷이 수신되면, 상기 패킷을 분석하여 첫번째 바이트 값이 OPP에 의한 OP코드인지를 판단하고, 상기 판단결과 OPP에 의한 OP코드이면, 그 패킷에 name header가 존재하는지를 판단한다. When the packet analysis unit 504 receives the file request packet through the local area communication unit 502, the packet analysis unit 504 analyzes the packet to determine whether the first byte value is an OP code by the OPP, and determines that the OP code by the OPP. If so, it is determined whether a name header exists in the packet.

상기 판단결과 상기 패킷에 name header가 존재하면, 상기 패킷 분석부(504)는 상기 파일/오브젝트 추출부(508)에 파일 추출 요청 메시지를 전송한다. 상기 파일 추출 요청 메시지는 상기 패킷에 포함된 파일명을 포함한다. As a result of the determination, if a name header exists in the packet, the packet analyzer 504 transmits a file extraction request message to the file / object extractor 508. The file extraction request message includes a file name included in the packet.

또한, 상기 패킷 분석부(504)는 상기 패킷에 name header가 존재하지 않으면, 상기 파일/오브젝트 추출부(508)에 오브젝트 추출 요청 메시지를 전송한다.In addition, if there is no name header in the packet, the packet analyzer 504 transmits an object extraction request message to the file / object extractor 508.

즉, 상기 패킷 분석부(504)는 상기 패킷에 name header가 존재하지 않으면, 기존의 OPP에 의한 오브젝트 요청 패킷이라고 판단하여 상기 파일/오브젝트 추출부(508)에 오브젝트 추출 요청 메시지를 전송한다. 상기 오브젝트 추출 요청 메시 지는 상기 패킷에 표시된 오브젝트 포맷을 포함한다.That is, if the name header does not exist in the packet, the packet analyzer 504 determines that the packet is an object request packet by the existing OPP and transmits an object extraction request message to the file / object extractor 508. The object extraction request message includes the object format indicated in the packet.

상기 파일/오브젝트 추출부(508)는 상기 패킷 분석부(504)로부터 파일 추출 요청 메시지가 수신되면, 상기 메시지에 포함된 파일명에 해당하는 파일을 상기 저장부(506)에서 추출하여 상기 근거리 통신부(502)를 통해 상대 단말기에 전송되도록 한다. When the file / object extraction unit 508 receives a file extraction request message from the packet analyzer 504, the file / object extractor 508 extracts a file corresponding to a file name included in the message from the storage unit 506 and performs the short-range communication unit ( 502 is transmitted to the counterpart terminal.

또한, 상기 파일/오브젝트 추출부(508)는 상기 패킷 분석부(504)로부터 오브젝트 추출 요청 메시지가 수신되면, 상기 메시지에 포함된 오브젝트 포맷에 해당하는 오브젝트를 상기 저장부(506)에서 추출하여 상기 근거리 통신부(502)를 통해 상대 단말기에 전송되도록 한다.In addition, when the file / object extractor 508 receives an object extraction request message from the packet analyzer 504, the file / object extractor 508 extracts an object corresponding to an object format included in the message from the storage unit 506. It is transmitted to the counterpart terminal through the short range communication unit 502.

본 발명의 다른 실시예에 따르면, 상기 통신 단말기(500)에는 사용자로부터 OPP에 의한 파일 요청 명령이 입력되면, 상기 명령에 따라 해당 파일 요청 패킷을 생성하는 패킷 생성부(미도시)를 포함할 수도 있다. According to another embodiment of the present invention, the communication terminal 500 may include a packet generator (not shown) for generating a corresponding file request packet according to the command when a file request command by an OPP is input from a user. have.

상기 패킷 생성부(미도시)에 의해 생성된 OPP에 의한 파일 요청 패킷은 도 8과 같이 OPcode 표시부, 패킷 길이 표시부, name header 표시부, 파일명 길이 표시부, 파일명 표시부, 파일명 종료 표시부로 구성될 수 있는 것으로서, 그 상세한 설명은 도 8을 참조하기로 한다. The file request packet generated by the OPP generated by the packet generator (not shown) may include an OPcode display unit, a packet length display unit, a name header display unit, a file name length display unit, a file name display unit, and a file name end display unit as shown in FIG. 8. The detailed description thereof will be made with reference to FIG. 8.

상기와 같은 역할을 수행하는 통신 단말기는 이동통신 단말기, 유선 통신 단말기 등을 말한다. The communication terminal performing the above role refers to a mobile communication terminal, a wired communication terminal and the like.

도 6은 본 발명에 따른 통신 단말기간의 블루투스 통신을 이용한 파일 송수 신 방법을 나타낸 흐름도이다. 6 is a flowchart illustrating a file transmission / reception method using Bluetooth communication between communication terminals according to the present invention.

도 6을 참조하면, 제1 통신 단말기와 제2 통신 단말기는 상호간의 상호 데이터 교환이 가능하도록 블루투스로 연결한다(S600). Referring to FIG. 6, the first communication terminal and the second communication terminal are connected to each other via Bluetooth to enable mutual data exchange (S600).

즉, 상기 제1 통신 단말기와 제2 통신 단말기는 SPP(Serial Port Profile)를 설정하고, HFP/HSP(HandsFreeProfile/HeadsetProfile)를 설정하며, OPP(Object Push Profile)를 설정한다. 여기서, 상기 프로토콜의 설정순서는 일예로서, 어떠한 프로토콜이 우선적으로 설정되어야 한다는 규정이 없다.That is, the first communication terminal and the second communication terminal set a serial port profile (SPP), a handsfree profile / headset profile (HFP / HSP), and an object push profile (OPP). Here, the setting procedure of the protocol is one example, and there is no provision that any protocol should be set first.

상기 S600와 같이 제1 통신 단말기와 제2 통신 단말기간의 블루투스 통신이 설정된 후, 상기 제1 통신 단말기가 제2 통신 단말기에 저장된 파일을 원하면, 상기 제1 통신 단말기는 OPP를 이용하여 해당 파일을 요청할 수 있다. After the Bluetooth communication is established between the first communication terminal and the second communication terminal as in S600, if the first communication terminal wants a file stored in the second communication terminal, the first communication terminal requests the file using the OPP. Can be.

그러면, 상기 제1 통신 단말기는 OPP 규격에 따라 파일 요청 패킷을 생성하여 상기 제2 통신 단말기에 전송한다(S602).Then, the first communication terminal generates a file request packet according to the OPP standard and transmits it to the second communication terminal (S602).

그러면, 상기 제2 통신 단말기는 상기 제1 통신 단말기로부터 전송된 패킷의 첫번째 바이트를 이용하여 해당 패킷이 OPP에 의한 OP코드인지를 확인한다(S604).Then, the second communication terminal checks whether the corresponding packet is an OP code by the OPP using the first byte of the packet transmitted from the first communication terminal (S604).

즉, OPP규격의 첫번째 바이트는 OP코드 정보가 표시되어 있으므로, 상기 제2 통신 단말기는 상기 첫번째 바이트에 표시된 OP코드 정보를 이용하여 해당 패킷이 OPP규격에 의한 것이라는 것을 확인할 수 있다. That is, since OP code information is displayed in the first byte of the OPP standard, the second communication terminal can confirm that the packet is based on the OPP standard using the OP code information displayed in the first byte.

상기 S604의 확인 결과 OPP에 의한 OP코드이면, 상기 통신 단말기는 상기 수신된 패킷에 name header가 존재하는지를 판단한다(S606). If it is confirmed in S604 that the OP code is determined by the OPP, the communication terminal determines whether a name header exists in the received packet (S606).

상기 S606의 판단결과 상기 패킷에 name header가 존재하면, 상기 제2 통신 단말기는 해당 파일을 추출하여 상기 제1 통신 단말기에 전송한다(S608, S610).If it is determined in S606 that the name header exists in the packet, the second communication terminal extracts the file and transmits the file to the first communication terminal (S608 and S610).

만약 상기 S606의 판단결과 해당 패킷에 name header가 존재하지 않으면, 상기 제2 통신 단말기는 해당 포맷의 오브젝트를 추출하여 상기 제1 통신 단말기에 전송한다(S612).If the name header does not exist in the corresponding packet as a result of the determination of S606, the second communication terminal extracts an object of the corresponding format and transmits the object to the first communication terminal (S612).

상기에서는 제2 통신 단말기가 패킷을 분석하여 해당 파일을 전송하는 것에 대하여만 설명하였지만, 제1 통신 단말기도 상기 제2 통신 단말기와 같은 동작을 할 수 있다. In the above description, only the second communication terminal analyzes the packet and transmits the corresponding file. However, the first communication terminal may also operate in the same manner as the second communication terminal.

도 7은 본 발명에 따른 OPP를 이용한 파일 추출 및 전송 방법을 나타낸 흐름도이다. 7 is a flowchart illustrating a file extraction and transmission method using an OPP according to the present invention.

도 7을 참조하면, 통신 단말기는 블루투스를 통해 파일 요청 패킷이 수신되면(S700), 상기 수신된 패킷을 분석하여(S702), 상기 패킷의 첫번째 바이트 값이 OPP에 의한 OP코드인지를 판단한다(S704). Referring to FIG. 7, when a file request packet is received through Bluetooth (S700), the communication terminal analyzes the received packet (S702), and determines whether the first byte value of the packet is an OP code by the OPP (S700). S704).

즉, 상기 통신 단말기는 파일 요청 패킷이 수신되면, 상기 패킷이 OPP 또는 FTP에 의한 파일 요청 패킷인지를 판단하기 위하여 상기 패킷의 첫번째 바이트 값을 확인하게 된다. That is, when a file request packet is received, the communication terminal checks the first byte value of the packet to determine whether the packet is a file request packet by OPP or FTP.

상기 S704의 판단결과 첫번째 바이트 값이 OPP에 의한 OP코드이면, 상기 통신 단말기는 상기 패킷에 name header가 존재하는지를 판단한다(S706).As a result of the determination in S704, if the first byte value is an OP code by OPP, the communication terminal determines whether a name header exists in the packet (S706).

상기 S706의 판단결과 상기 패킷에 name header가 존재하면, 상기 통신 단말기는 상기 패킷에 표시된 파일명을 확인하고(S708), 상기 확인된 파일명에 해당하 는 파일을 추출한다(S710). As a result of the determination of S706, if a name header exists in the packet, the communication terminal checks the file name displayed in the packet (S708), and extracts a file corresponding to the confirmed file name (S710).

즉, 상기 통신 단말기는 상기 수신된 패킷에 name header가 존재하면, 해당 패킷은 파일 전송을 요청한다는 것을 나타내므로, 상기 패킷에 표시된 파일명을 확인하고, 상기 확인된 파일명에 해당하는 파일을 추출한다. In other words, if a name header exists in the received packet, the communication terminal indicates that the packet requests file transfer. Therefore, the communication terminal checks the file name indicated in the packet and extracts a file corresponding to the checked file name.

그런 다음 상기 통신 단말기는 상기 추출된 파일을 블루투스를 통해 상대방 단말기에 전송한다(S712).Then, the communication terminal transmits the extracted file to the counterpart terminal via Bluetooth (S712).

만약, 상기 S706의 판단결과 상기 패킷에 name header가 존재하지 않으면, 상기 통신 단말기는 해당 포맷의 오브젝트를 추출하여 상기 상대방 단말기에 전송한다(S714). 즉, 상기 통신 단말기는 상기 수신된 패킷에 name header가 존재하지 않으면, 기존의 OPP에 의한 오브젝트 요청 패킷이라고 판단하여 상기 패킷에 표시된 오브젝트를 추출하여 상기 상대방 단말기에 전송한다.If the name header does not exist in the packet as a result of the determination of S706, the communication terminal extracts an object of a corresponding format and transmits it to the counterpart terminal (S714). That is, if the name header does not exist in the received packet, the communication terminal determines that the object request packet is an existing OPP packet, and extracts the object indicated in the packet and transmits it to the counterpart terminal.

만약, 단계 704의 판단결과 상기 패킷의 첫번째 바이트 값이 OPP에 의한 OP코드를 나타내지 않으면, 상기 통신 단말기는 FTP에 의한 파일 요청 패킷으로 판단하여 해당 파일을 추출하여 상기 상대방 단말기에 전송한다(S716).If it is determined in step 704 that the first byte value of the packet does not indicate an OP code by the OPP, the communication terminal determines that the file is a packet request packet by FTP, extracts the corresponding file, and transmits the file to the counterpart terminal (S716). .

도 8은 본 발명에 따른 OPP에 따른 파일 요청 패킷의 구조를 나타낸 도면이고, 도 9는 본 발명에 따른 OPP를 이용한 파일 요청 패킷을 나타낸 예시도이다.8 is a view showing the structure of a file request packet according to the OPP according to the present invention, Figure 9 is an exemplary view showing a file request packet using the OPP according to the present invention.

도 8 및 도 9를 참조하면, OPP에 따른 파일 요청 패킷(800)은 OPcode 표시부(802), 패킷 길이 표시부(804), name header 표시부(806), 파일명 길이 표시부(808), 파일명 표시부(810), 파일명 종료 표시부(812)를 포함한다. 8 and 9, the file request packet 800 according to the OPP includes an OPcode display unit 802, a packet length display unit 804, a name header display unit 806, a file name length display unit 808, and a file name display unit 810. ), The file name end display unit 812 is included.

상기 OPcode 표시부(802)는 OPP규격에 의한 패킷이라는 것을 표시하는 영역으로, 예를 들어, OP코드 표시부(802)의 값이 0×83이면, OPP규격에 의한 명함 요청 op코드라는 것을 알 수 있다. The OPcode display unit 802 is an area indicating that the packet is an OPP standard. For example, when the value of the OP code display unit 802 is 0 × 83, it can be seen that the OPP standard is a business card request op code. .

상기 패킷 길이 표시부(804)는 해당 패킷의 전체 길이를 나타내는 영역이고, 상기 name header 표시부(806)는 해당 패킷이 파일을 요청하는 패킷이라는 것을 표시하는 영역이다. The packet length display unit 804 is an area indicating the total length of the packet, and the name header display unit 806 is an area indicating that the packet is a packet requesting a file.

즉, 상기 name header 표시부(806)의 4번째 바이트에 나타난 '0×01'은 뒤에 나오는 파일명에 해당하는 파일을 요청하는 Header이다. That is, '0x01' shown in the fourth byte of the name header display unit 806 is a header for requesting a file corresponding to a file name that follows.

상기 파일명 길이 표시부(808)는 파일명과 파일명 종료부까지의 길이를 나타내는 영역이고, 상기 파일명 종료 표시부(812)는 파일명의 종료를 나타낸 영역이다. The file name length display unit 808 is an area indicating the length of the file name and the file name end unit, and the file name end display unit 812 is an area indicating the end of the file name.

상기 파일명 길이 표시부(808)에 해당하는 두 바이트(5,6번째 바이트)는 기존의 OPP규격에 따라 4번째 바이트부터 파일명 종료 문자까지의 길이를 기록한다. The two bytes (5th and 6th bytes) corresponding to the filename length display unit 808 record the length from the fourth byte to the filename end character according to the existing OPP standard.

본 발명의 경우만을 고려할 때 Name Header 표시부(806) 다음에 다시 Header에 해당하는 길이(5, 6번째 바이트)를 표시할 필요가 없다. 하지만 이를 표시하는 이유는 기존의 OPP 규격과 호환성을 고려함이다. Considering only the case of the present invention, it is not necessary to display the length (5th, 6th byte) corresponding to the header again after the Name Header display unit 806. However, the reason for displaying this is to consider the compatibility with the existing OPP specification.

기존 OPP 규격에는 OP코드 표시부(1번째 바이트)(802) 이후에 여러 개의 Header가 나올 수 있고 각 Header의 길이를 표시하여야만 패킷을 받는 쪽에서 Parsing이 가능하기 때문이다.This is because in the existing OPP standard, a plurality of headers may appear after the OP code display unit (first byte) 802 and the length of each header may be displayed to allow parsing on the receiving side.

또한, 상기 파일명 종료 표시부(812)는 0×00이 2개가 존재하여야 파일명 종 료라는 것을 나타낸다. In addition, the file name end display unit 812 indicates that two file names of 0x00 exist to end the file name.

상기 파일명 표시부(810)는 요청된 파일명에 대한 정보를 표시하는 영역으로, 파일명은 유니코드(unicode)로 표시된다. 왜냐하면, 블루투스 규격중에서 파일명을 표시할때는 항상 유니코드를 사용하기 때문이다. The file name display unit 810 is an area for displaying information on the requested file name, and the file name is displayed in unicode. This is because Unicode is always used when displaying file names in the Bluetooth standard.

또한, 파일명 표시부(810)에 표시되는 파일명은 OPP규격에 따라 2바이트로 보내기 때문에 각 문자에 대하여 2바이트를 할당한다. In addition, since the file name displayed on the file name display unit 810 is sent in two bytes according to the OPP standard, two bytes are allocated to each character.

예를 들어, 파일명이 'shin.vcf'인 경우, 파일명부에는 0×00과 0×53이 's', 0×00과 0×68이 'h', 0×00과 0×69이 'i', 0×00과 0×6e이 'n', 0×00과 0×2e이 '.', 0×00과 0×76이 'v', 0×00과 0×63이 'c', 0×00과 0×66이 'f'로 표현될 수 있다. For example, if the file name is' shin.vcf ', the file name contains 0x00 and 0x53 as' s', 0x00 and 0x68 as' h', 0x00 and 0x69 as' i ', 0x00 and 0x6e is' n', 0x00 and 0x2e is'. ', 0x00 and 0x76 is' v', 0x00 and 0x63 is' c ' , 0 × 00 and 0 × 66 may be represented by 'f'.

본 발명에서 제시한 방법을 사용하면 FTP와 같이 복잡하고 무거운 규격의 구현함이 필요 없이 간단히 OPP 규격을 이용하여 파일 전송을 구현할 수 있다.By using the method proposed in the present invention, it is possible to implement a file transfer using the OPP standard simply without the need to implement a complex and heavy standard such as FTP.

상기의 실시예에서는 근거리 통신 중 블루투스를 예로 하여 설명하였지만, 블루투스 외의 근거리 통신 모두에 적용할 수 있다.In the above embodiment, although Bluetooth has been described as an example of near field communication, the present invention may be applied to all near field communication other than Bluetooth.

이와 같이, 본 발명이 속하는 기술분야의 당업자는 본 발명이 그 기술적 사상이나 필수적 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적인 것이 아닌 것으로서 이해해야만 한다. 본 발명의 범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구 범위의 의미 및 범위 그리고 그 등가개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.Thus, those skilled in the art will appreciate that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. It is therefore to be understood that the embodiments described above are to be considered in all respects only as illustrative and not restrictive. 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.

이상과 같이 본 발명에 따른 근거리 통신을 통한 파일 송수신 방법 및 그 통신 단말기는 근거리 통신을 이용하여 통신 단말기간에 파일 하나를 요청하고 받는 간단한 프로세서의 경우 복잡하고 많은 내용을 가지는 FTP 규격을 모두 구현할 필요없이 OPP 규격을 사용하여 파일 송수신을 용이하도록 하는 기술에 적용할 수 있다. As described above, the file transmission / reception method through the short-range communication and the communication terminal according to the present invention do not need to implement all of the complicated and many FTP specifications in the case of a simple processor requesting and receiving a file between communication terminals using the short-range communication. It can be applied to a technology that facilitates file transmission and reception using the OPP standard.

도 1은 종래의 OPP 규격에 의한 오브젝트 교환 방법을 나타낸 흐름도.1 is a flowchart illustrating a method of exchanging an object according to a conventional OPP standard.

도 2는 종래의 OPP 규격에 의한 명함 요청 패킷을 나타낸 예시도.2 is an exemplary view showing a business card request packet according to a conventional OPP standard.

도 3은 본 발명에 따른 블루투스를 이용한 근거리 네트워크를 나타낸 도면. 3 is a diagram illustrating a local area network using Bluetooth according to the present invention;

도 4는 본 발명에 따른 블루투스 프로파일을 나타낸 도면. 4 shows a Bluetooth profile according to the invention.

도 5는 본 발명에 따른 OPP 규격을 이용하여 파일 전송이 가능한 통신 단말기의 구성을 개략적으로 나타낸 블럭도. 5 is a block diagram schematically showing the configuration of a communication terminal capable of file transfer using the OPP standard according to the present invention.

도 6은 본 발명에 따른 통신 단말기간의 블루투스 통신을 이용한 파일 송수신 방법을 나타낸 흐름도. 6 is a flowchart illustrating a file transmission / reception method using Bluetooth communication between communication terminals according to the present invention.

도 7은 본 발명에 따른 OPP를 이용한 파일 추출 및 전송 방법을 나타낸 흐름도. 7 is a flowchart illustrating a file extraction and transmission method using OPP according to the present invention.

도 8은 본 발명에 따른 OPP에 따른 파일 요청 패킷의 구조를 나타낸 도면.8 illustrates a structure of a file request packet according to an OPP according to the present invention.

도 9는 본 발명에 따른 OPP를 이용한 파일 요청 패킷을 나타낸 예시도.9 is an exemplary view showing a file request packet using an OPP according to the present invention.

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

500 : 통신 단말기 502 : 근거리 통신부500: communication terminal 502: short-range communication unit

504 : 패킷 분석부 506 : 저장부504: packet analysis unit 506: storage unit

508 : 파일/오브젝트 추출부 510 : 입력부508: file / object extraction unit 510: input unit

512 : 표시부512: display unit

Claims (13)

근거리 통신을 통한 제1 통신 단말기와 제2 통신 단말기간의 파일 송수신 방법에 있어서,In the file communication method between the first communication terminal and the second communication terminal through the short-range communication, 상기 제1 통신 단말기에서 OPP에 따른 파일 요청 패킷을 생성하여 상기 제2 통신 단말기로 전송하는 단계;Generating, by the first communication terminal, a file request packet according to the OPP to the second communication terminal; 상기 제2 통신 단말기에서 파일 요청 패킷이 수신되면, 상기 패킷의 첫번째 바이트 값을 확인하여 그 값이 OPP에 의한 OP코드를 나타내면 상기 패킷에 name header가 존재하는지 판단하고, name header가 존재하는 것으로 판단된 경우 상기 패킷에 포함된 파일명에 해당하는 파일을 추출하여 상기 제1 통신 단말기에 전송하는 단계;When the file request packet is received at the second communication terminal, the value of the first byte of the packet is checked. When the value indicates the OP code by the OPP, it is determined whether a name header exists in the packet, and it is determined that the name header exists. Extracting a file corresponding to a file name included in the packet and transmitting the extracted file to the first communication terminal; 를 포함하고,Including, 상기 패킷의 첫번째 바이트가 OP코드를 나타내지 않으면, 상기 제2 통신 단말기는 FTP에 의한 파일 요청 패킷으로 판단하여 해당하는 파일을 추출하여 상기 제 1 통신 단말기에 전송하는 단계를 더 포함하는 것을 특징으로 하는 근거리 통신을 통한 파일 송수신 방법.If the first byte of the packet does not indicate the OP code, the second communication terminal further comprises the step of determining that the file request packet by the FTP to extract the corresponding file and transmits to the first communication terminal File transmission and reception method through local area communication. 제1항에 있어서, The method of claim 1, 상기 OPP에 따른 파일 요청 패킷은 OPcode 표시부, 패킷 길이 표시부, name header 표시부, 파일명 길이 표시부, 파일명 표시부, 파일명 종료 표시부로 구성된 것을 특징으로 하는 근거리 통신을 통한 파일 송수신 방법.The file request packet according to the OPP comprises an OPcode display unit, a packet length display unit, a name header display unit, a file name length display unit, a file name display unit, and a file name end display unit. 제2항에 있어서, 3. The method of claim 2, 상기 name header 표시부는 해당 패킷이 파일을 요청하는 패킷이라는 것을 표시하는 영역인 것을 특징으로 하는 근거리 통신을 통한 파일 송수신 방법.And the name header display unit is an area indicating that the corresponding packet is a packet requesting a file. 제2항에 있어서, 3. The method of claim 2, 상기 파일명 길이 표시부는 파일명 표시부와 파일명 종료 표시부까지의 길이를 나타내는 영역인 것을 특징으로 하는 근거리 통신을 통한 파일 송수신 방법.And the file name length display unit is an area indicating a length between the file name display unit and the file name end display unit. 제2항에 있어서, 3. The method of claim 2, 상기 파일명 표시부에 표시되는 파일명은 유니코드(unicode)로 표시되는 것을 특징으로 하는 근거리 통신을 통한 파일 송수신 방법.And a file name displayed on the file name display unit is displayed in unicode. 제1항에 있어서,The method of claim 1, 상기 패킷의 첫번째 바이트는 OPcode 표시부인 것을 특징으로 하는 근거리 통신을 통한 파일 송수신 방법.And a first byte of the packet is an OPcode display unit. 통신 단말기가 근거리 통신을 통해 파일을 송신하는 방법에 있어서, In the method for the communication terminal to transmit a file via short-range communication, (a)파일 요청 패킷이 수신되면, 상기 패킷의 첫번째 바이트 값을 확인하는 단계;(a) if a file request packet is received, checking a first byte value of the packet; (b)상기 (a)단계의 확인결과 첫번째 바이트 값이 OPP에 의한 OP코드를 나타내면, 상기 패킷에 name header가 존재하는지를 판단하는 단계;및(b) if the first byte value indicates an OP code by the OPP as a result of the checking of step (a), determining whether a name header exists in the packet; and (c)상기 (b)단계의 판단결과 name header가 존재하면, 상기 패킷에 포함된 파일명을 확인하고, 상기 확인된 파일명에 해당하는 파일을 추출하여 전송하는 단계;(c) checking the file name included in the packet if the name header exists as a result of the determination of step (b), extracting and transmitting a file corresponding to the checked file name; 를 포함하고,Including, 상기 (a)단계의 확인결과 첫번째 바이트 값이 OPP에 의한 OP코드를 나타내지 않으면, FTP에 의한 파일 요청 패킷으로 판단하여 해당 파일을 추출하여 전송하는 단계를 더 포함하는 것을 특징으로 하는 근거리 통신을 통한 파일 송신 방법.If the first byte value of the check result of step (a) does not indicate the OP code by the OPP, determining that the file request packet by the FTP and extracting and transmitting the corresponding file further comprising a short-range communication through How to send a file. 삭제delete 제7항에 있어서, The method of claim 7, wherein 상기 (b)단계의 판단결과 name header가 존재하지 않으면, 상기 패킷에 표시된 포맷에 해당하는 오브젝트를 추출하여 전송하는 단계를 더 포함하는 것을 특징으로 하는 근거리 통신을 통한 파일 송신 방법.And if the name header does not exist as a result of the determination in step (b), extracting and transmitting an object corresponding to the format indicated by the packet. 입력부, 표시부 및 저장부가 구비된 통신 단말기에 있어서,In a communication terminal provided with an input unit, a display unit and a storage unit, 상대 단말기와의 통신을 위한 근거리 통신부;A short range communication unit for communicating with a counterpart terminal; 상기 근거리 통신부를 통해 수신된 파일 요청 패킷의 첫번째 바이트 값이 OPP에 의한 OP코드를 나타내면 상기 패킷에 name header가 존재하는지 판단하고, name header가 존재하는 것으로 판단된 경우 상기 패킷에 포함된 파일명을 포함하는 파일 추출 요청 메시지를 생성하여 파일/오브젝트 추출부에 전송하는 패킷 분석부;If the first byte value of the file request packet received through the local area communication unit indicates an OP code by the OPP, it is determined whether a name header exists in the packet, and if it is determined that the name header exists, the file name included in the packet is included. A packet analysis unit generating a file extraction request message to be transmitted to the file / object extraction unit; 상기 패킷 분석부로부터 파일 추출 요청 메시지가 수신되면, 상기 파일명에 해당하는 파일을 저장부에서 추출하여 상기 근거리 통신부를 통해 전송되도록 하는 파일/오브젝트 추출부;A file / object extraction unit for receiving a file extraction request message from the packet analyzer and extracting a file corresponding to the file name from a storage unit to be transmitted through the local area communication unit; 를 포함하고,Including, 상기 통신 단말기는 상기 첫번째 바이트 값이 OP코드를 나타내지 않으면 FTP에 의한 파일 요청 패킷으로 판단하여 해당 파일을 추출하여 상기 상대 단말기로 전송하는 것을 특징으로 하는 근거리 통신을 통한 파일 송수신을 위한 통신 단말기.And if the first byte value does not indicate an OP code, determine that the file is a file request packet by FTP, extract the file, and transmit the file to the counterpart terminal. 제10항에 있어서, The method of claim 10, 상기 패킷 분석부는 상기 패킷에 name header가 존재하지 않으면, 상기 파일/오브젝트 추출부에 오브젝트 추출 요청 메시지를 전송하는 것을 특징으로 하는 근거리 통신을 통한 파일 송수신을 위한 통신 단말기.And the packet analyzer transmits an object extraction request message to the file / object extracting unit if the name header does not exist in the packet. 제10항에 있어서, The method of claim 10, 상기 파일/오브젝트 추출부는 상기 패킷 분석부로부터 오브젝트 추출 요청 메시지가 수신되면, 상기 메시지에 포함된 오브젝트 포맷에 해당하는 오브젝트를 추출하여 상기 근거리 통신부를 통해 전송되도록 하는 것을 특징으로 하는 근거리 통신을 통한 파일 송수신을 위한 통신 단말기.When the file / object extractor receives an object extraction request message from the packet analyzer, the file / object extractor extracts an object corresponding to an object format included in the message and transmits the object through the short range communication unit. Communication terminal for transmitting and receiving. 제10항에 있어서, The method of claim 10, 사용자로부터 OPP에 의한 파일 요청 명령이 입력되면, OPcode 표시부, 패킷 길이 표시부, name header 표시부, 파일명 길이 표시부, 파일명 표시부, 파일명 종료 표시부를 구성된 파일 요청 패킷을 생성하는 패킷 생성부를 더 포함하는 것을 특징으로 하는 근거리 통신을 통한 파일 송수신을 위한 통신 단말기.When the file request command by the OPP is input from the user, further comprising a packet generation unit for generating a file request packet consisting of an OPcode display unit, packet length display unit, name header display unit, file name length display unit, file name display unit, file name end display unit Communication terminal for file transmission and reception through the near field communication.
KR1020080017634A 2008-02-27 2008-02-27 Method for transmitting and receiving of file in local area communication and thereof commucation terminal KR101336032B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080017634A KR101336032B1 (en) 2008-02-27 2008-02-27 Method for transmitting and receiving of file in local area communication and thereof commucation terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080017634A KR101336032B1 (en) 2008-02-27 2008-02-27 Method for transmitting and receiving of file in local area communication and thereof commucation terminal

Publications (2)

Publication Number Publication Date
KR20090092404A KR20090092404A (en) 2009-09-01
KR101336032B1 true KR101336032B1 (en) 2013-12-05

Family

ID=41300965

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080017634A KR101336032B1 (en) 2008-02-27 2008-02-27 Method for transmitting and receiving of file in local area communication and thereof commucation terminal

Country Status (1)

Country Link
KR (1) KR101336032B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150120063A (en) * 2014-04-17 2015-10-27 정익승 System for testing photo printer based on near field communication and method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040223475A1 (en) * 2003-05-09 2004-11-11 Institute For Information Industry Data transfer method for a bluetooth scatternet
KR20060084008A (en) * 2005-01-17 2006-07-21 엘지전자 주식회사 Function of mobile communication terminal embodiment method for using bluetooth
US20070099568A1 (en) * 2005-09-07 2007-05-03 Yang Shih-Huang O Method of modifying bluetooth transceiver parameters and related system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040223475A1 (en) * 2003-05-09 2004-11-11 Institute For Information Industry Data transfer method for a bluetooth scatternet
KR20060084008A (en) * 2005-01-17 2006-07-21 엘지전자 주식회사 Function of mobile communication terminal embodiment method for using bluetooth
US20070099568A1 (en) * 2005-09-07 2007-05-03 Yang Shih-Huang O Method of modifying bluetooth transceiver parameters and related system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150120063A (en) * 2014-04-17 2015-10-27 정익승 System for testing photo printer based on near field communication and method thereof
KR101634145B1 (en) * 2014-04-17 2016-06-28 정익승 System for testing photo printer based on near field communication and method thereof

Also Published As

Publication number Publication date
KR20090092404A (en) 2009-09-01

Similar Documents

Publication Publication Date Title
US6826387B1 (en) Efficient service registration for legacy applications in a bluetooth environment
EP2195941B1 (en) Method and system for communication in near field communication network
US7583952B2 (en) Access pointer for interconnecting power line communication network and wireless network and method therefor
KR100395332B1 (en) Method for establishing link among telecommunication terminals having bluetooth device
JP5529875B2 (en) Content providing system and method for providing data service via short-range wireless communication network, and CPNS server and mobile communication terminal for the same
US20020061744A1 (en) Controlling wireless, low-power radio frequency network
JP6046221B2 (en) System and method for effectively sending data during team play game in CPNS environment, CPNS server, mobile communication terminal and terminal for this purpose
WO2004008645A2 (en) Apparatus, method and system for a remote-page device
TWI489900B (en) Wireless network system and connecting method thereof
KR101478207B1 (en) Method and apparatus for indentifing equipments requesting javapush
TW479422B (en) Communication control device and method
KR101336032B1 (en) Method for transmitting and receiving of file in local area communication and thereof commucation terminal
CN103299599A (en) Control of connection between devices
CN108616289A (en) Communication device, communication means and recording medium
KR101494460B1 (en) Apparatus and method for holding data between devices using local wireless communication
US20020141442A1 (en) Method and apparatus for providing network access for PDA devices
US7746834B1 (en) Method of dynamically locating and connecting to a wireless device
Antoniou et al. NFC-based mobile middleware for intuitive user interaction with security in smart homes.
JP4278142B2 (en) Communication system, gateway device, and access point device
CN102111732B (en) Method and device for sharing information between wireless terminals
KR100420771B1 (en) Method for the wireless billing using Bluetooth
KR20020067720A (en) Method and System for Automatical Identification of Bluetooth-Embedded Devices
CN101896893A (en) Communication device, communication system, communication method, and program
EP1309154B1 (en) System and method for the selection of electronic services using infrared communication
KR100509123B1 (en) Method for Operating Electronic Devices by Using Mobile Devices with Bluetooth Module

Legal Events

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

Payment date: 20171102

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20181106

Year of fee payment: 6