KR20040037332A - Effective buffer control technique using multiple level buffer and Tx buffer flush in bluetooth system - Google Patents

Effective buffer control technique using multiple level buffer and Tx buffer flush in bluetooth system Download PDF

Info

Publication number
KR20040037332A
KR20040037332A KR1020020065787A KR20020065787A KR20040037332A KR 20040037332 A KR20040037332 A KR 20040037332A KR 1020020065787 A KR1020020065787 A KR 1020020065787A KR 20020065787 A KR20020065787 A KR 20020065787A KR 20040037332 A KR20040037332 A KR 20040037332A
Authority
KR
South Korea
Prior art keywords
buffer
data
handle part
l2cap
bluetooth system
Prior art date
Application number
KR1020020065787A
Other languages
Korean (ko)
Inventor
정세욱
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020020065787A priority Critical patent/KR20040037332A/en
Publication of KR20040037332A publication Critical patent/KR20040037332A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE: A method for effectively managing the buffer through a multi-stage buffer and a transmission buffer in a bluetooth system is provided to transmit data at 1:N connection through the re-connection without loosing data . CONSTITUTION: A method for effectively managing the buffer through a multi-stage buffer and a transmission buffer in a bluetooth system includes the steps of: a first step of receiving data having multi-stage buffers connected to the connection handle block in the L2CAP; a second step of identifying the connection handle block of the transmission data; a third step of recording the current time on the L2CAP layer corresponding to the connection handle block and storing the transmission data; and going back to the first step and repeating the first to third steps.

Description

블루투스 시스템에서 다단계 버퍼와 송신 버퍼를 통한 효율적인 버퍼 관리 기법{Effective buffer control technique using multiple level buffer and Tx buffer flush in bluetooth system}Effective buffer control technique using multiple level buffer and Tx buffer flush in bluetooth system}

본 발명은 무선 통신 방식에 관한 것으로, 특히 블루투스(bluetooth) 시스템에서 다단계 버퍼와 Tx 버퍼 플러쉬를 통한 버퍼 관리 기법에 관한 것이다.The present invention relates to a wireless communication scheme, and more particularly, to a buffer management scheme using a multi-stage buffer and a Tx buffer flush in a Bluetooth system.

제조업체가 다른 장치들 사이의 무선 정보 상호 운용(interoperability)을 위하여 다양한 기술들이 개발되고 있는 데, 그 중의 하나가 블루투스 규격(bluetooth specification)이다. 블루투스 규격은 모바일 컴퓨터와 휴대폰, 그리고 다른 휴대용 장치들 사이의 통신 방식을 제공한다.Various technologies are being developed by a manufacturer for wireless information interoperability between different devices, one of which is the Bluetooth specification. The Bluetooth specification provides a way of communicating between mobile computers, cell phones, and other portable devices.

도 1은 블루투스 시스템을 나타내는 도면이다. 이를 참조하면, 블루투스 시스템(100)에는 마스터 장치(Master Device)(110)와 슬레이브 장치들(Slave Devices)(120, 130, 140) 간의 연결/비연결 및 데이터 전송을 위하여 블루투스 모듈들(112, 122, 132, 142)이 인터페이스된다. 블루투스 모듈(112, 122, 132, 142)은 송신 버퍼(이하 "Tx 버퍼"라고 칭한다)와 수신 버퍼(이하 "Rx 버퍼"라고 칭한다)를 내장하고 프로파일 스택(profile stack)을 통해 장치 발견(discovery)과 연결에 관련된 순서(procedure)를 처리한다.1 is a diagram illustrating a Bluetooth system. Referring to this, the Bluetooth system 100 includes Bluetooth modules 112, for connection / disconnection and data transmission between the master device 110 and the slave devices 120, 130, and 140. 122, 132, 142 are interfaced. The Bluetooth modules 112, 122, 132, and 142 have a transmit buffer (hereinafter referred to as "Tx buffer") and a receive buffer (hereinafter referred to as "Rx buffer") and device discovery through a profile stack. ) And the procedures associated with the connection.

도 2는 블루투스 시스템 내 프로파일 스택을 나타내는 도면이다. 이를 참조하면, 프로파일 스택은 소정의 계층적 구조의 프로토콜들, 즉 상위 층의 OBEX 프로토콜(Object Exchange Protocol), TCS 프로토콜(Telephony Control Protocol), RFCOMM 그리고 SDP 프로토콜(Service Discovery Protocol)과, L2CAP 프로토콜(Logical Link Control and Adaptiation Protocol), LMP 프로토콜(Link Management Protocol) 등과 링크 콘트롤러(LC)를 포함한다. L2CAP 층(layer)은 연결 위주의 채널들(connection-oriented channels)을 사용하여 데이터 전송을 담당한다.2 is a diagram illustrating a profile stack in a Bluetooth system. Referring to this, the profile stack is a layered protocol, that is, the upper layer OBEX protocol (Object Exchange Protocol), TCS protocol (Telephony Control Protocol), RFCOMM and SDP protocol (Service Discovery Protocol), and L2CAP protocol ( Logical Link Control and Adaptiation Protocol), LMP Protocol (Link Management Protocol), and Link Controller (LC). The L2CAP layer is responsible for data transmission using connection-oriented channels.

그런데, 데이터 전송시 블루투스 모듈의 Tx 버퍼로 데이터를 전송할 때 하나의 L2CAP 층 버퍼를 통해 상위 층의 데이터를 그대로 전송하게 된다. 이 경우 플러쉬(flush) 방식으로 데이터를 전송하는 경우 Tx 버퍼에 데이터가 모두 찬 상태에서 특정 슬레이브 장치와의 연결이 끊어진 상태라도 순차적인 선입선출 방식에 의해 끊어진 슬레이브 장치로 데이터가 계속 전송되는 경우가 생긴다. 이에 따라 데이터가 손실되는 문제점이 발생한다. 그리고 현재 다른 스레이브 장치로 데이터를 전송할 수 있는 상태일지라도 블루투스 모듈의 Tx 버퍼가 모두 차있어서 데이터를 전송하지 못하는 문제점이 발생한다.However, when data is transmitted to the Tx buffer of the Bluetooth module, data of the upper layer is transmitted as it is through one L2CAP layer buffer. In this case, when data is transmitted in the flush method, data is continuously transmitted to the slave device that is disconnected by the sequential first-in-first-out method even when the data is full in the Tx buffer and the connection with the specific slave device is lost. Occurs. As a result, data loss occurs. In addition, even though data can be transmitted to other slave devices, the Tx buffer of the Bluetooth module is full and data cannot be transmitted.

따라서, 데이터 손실없이 데이터 전송이 가능한 다중 버퍼를 갖는 블루투스 시스템이 요구된다.Therefore, there is a need for a Bluetooth system having multiple buffers capable of data transmission without data loss.

본 발명의 목적은 L2CAP 층 내 다중 버퍼에서 Tx 버퍼로 데이터 재전송을 허용하고 플러쉬 방식과 재접속 방식을 통해 데이터 전송하는 블루투스 시스템을 제공하는 데 있다.An object of the present invention is to provide a Bluetooth system that allows data retransmission from the multiple buffers in the L2CAP layer to the Tx buffer and transmits the data through the flush and reconnection methods.

도 1은 블루투스 시스템을 나타내는 도면이다.1 is a diagram illustrating a Bluetooth system.

도 2는 블루투스 시스템 내 프로파일 스택을 나타내는 도면이다.2 is a diagram illustrating a profile stack in a Bluetooth system.

도 3은 본 발명의 일실시예에 따른 블루투스 시스템의 호스트 스택을 나타내는 도면이다.3 is a diagram illustrating a host stack of a Bluetooth system according to an embodiment of the present invention.

도 4는 도 3의 L2CAP의 다중 버퍼에 데이터를 저장하는 방법의 일예를 나타내는 순서도이다.4 is a flowchart illustrating an example of a method of storing data in multiple buffers of the L2CAP of FIG. 3.

도 5는 도 4의 순서도에 따라 L2CAP 버퍼에 데이터가 저장되는 예를 나타내는 도면이다.5 is a diagram illustrating an example in which data is stored in an L2CAP buffer according to the flowchart of FIG. 4.

도 6은 도 3의 L2CAP 버퍼에 데이터를 저장하는 방법의 다른 예를 나타내는 순서도이다.6 is a flowchart illustrating another example of a method of storing data in an L2CAP buffer of FIG. 3.

도 7 내지 도 11은 도 6의 순서도에 따라 각 단계마다 이루어지는 데이터 전송 모습을 나타내는 도면이다.7 to 11 are diagrams illustrating data transmission performed in each step according to the flowchart of FIG. 6.

상기 목적을 달성하기 위하여, 본 발명의 일실시예는 L2CAP 층에 컨넥션 핸들부들과 연결되는 다중 버퍼들을 갖는 블루투스 시스템의 데이터 전송 방법에 있어서, 어플리케이션, RFCOMM, 및 SDP 층으로부터 전송 데이터를 받는 제1 단계와,전송 데이터의 컨넥션 핸들부를 확인하는 제2 단계와, 그리고 컨넥션 핸들부에 해당하는 L2CAP 버퍼에 현재시간을 기록하고 전송 데이터를 저장하는 제3 단계를 포함하고, 다시 제1 단계로 돌아가서 반복 수행한다.In order to achieve the above object, an embodiment of the present invention provides a data transmission method of a Bluetooth system having multiple buffers connected to connection handle parts in an L2CAP layer, comprising: a first receiving data from an application, an RFCOMM, and an SDP layer; And a second step of identifying a connection handle part of the transmission data, and a third step of recording a current time in the L2CAP buffer corresponding to the connection handle part and storing the transmission data, and then returning to the first step again. Perform.

상기 목적을 달성하기 위하여, 본 발명의 다른 실시예는 L2CAP 층에 컨넥션 핸들부들과 연결되는 다중 버퍼들을 갖는 블루투스 시스템의 데이터 전송 방법에 있어서, 해당되는 컨넥션 핸들부의 타임 아웃 수를 리셋시키는 제1 단계와, 컨넥션 핸들부의 버퍼 저장 데이터 중 시간이 가장 빠른 데이터를 선택하는 제2 단계와, 선택된 데이터의 컨넥션 핸들부의 타이머를 셋팅하고 선택된 데이터를 전송 버퍼로 전송하는 제3 단계와, 완료된 패킷 수 이벤트가 수신되었는가를 확인하고 이벤트를 수신하는 제4 단계와, 이벤트 수신이 완료되었으면 송신에 성공한 데이터를 L2CAP 버퍼에서 삭제하는 제5 단계와, 컨넥션 핸들부에 해당하는 타이머를 리셋시켜 타임 아웃 발생 횟수를 리셋시키는 제6 단계와, 이벤트 수신이 안되었으면 타임 아웃 여부를 확인하여 타임 아웃 안되었으면 다시 제2 단계로 돌아가는 제7 단계와, 타임 아웃 되었으면 컨넥터 핸들부로 전송될 데이터를 플러쉬시켜 전송 버퍼에서 삭제시키는 제8 단계와, 해당 컨넥터 핸들부의 L2CAP 버퍼 시간을 현재 시간으로 바꾸어 다른 컨넥터 핸들부의 버퍼 시간보다 늦추어 지연시키는 제9 단계와, 컨넥터 핸들부의 타임 아웃 수를 확인하여 0이면 첫번째 타임 아웃이므로 컨넥터 핸들부의 타임 아웃 수를 1 증가시키고 다시 제2 단계로 돌아가는 제10 단계와, 컨넥터 핸들부의 타임 아웃 수가 0이 아니면 두번째 타임 아웃이므로 컨넥터 핸들부의 연결을 끊고 컨넥터 핸들부를 다시 연결시킨 후 데이터를 재전송하는 제11 단계를 포함하고,다시 제2 단계로 돌아가서 반복 수행한다.In order to achieve the above object, another embodiment of the present invention is a data transmission method of a Bluetooth system having multiple buffers connected to connection handle portions in an L2CAP layer, the first step of resetting the corresponding timeout number of the connection handle portion; And a second step of selecting the fastest data among the buffer stored data of the connection handle part, a third step of setting a timer of the connection handle part of the selected data and transmitting the selected data to the transmission buffer; A fourth step of checking whether the received signal is received and receiving an event, a fifth step of deleting data that has been successfully transmitted from the L2CAP buffer if the event reception is completed, and resetting a timer corresponding to the connection handle part to reset the number of timeouts. The sixth step, and if the event is not received, A seventh step of returning to the second step if it is not out; and an eighth step of flushing the data to be transmitted to the connector handle part and deleting it from the transmission buffer if it is timed out; and changing the L2CAP buffer time of the corresponding connector handle part to the current time, A ninth step of delaying the buffer time later than the handle part; and a check of the time out number of the connector handle part, and if 0, the first time out, so that the time out number of the connector handle part is increased by one and the second step returns to the second step; If the number of timeouts of the handle part is not 0, it is the second timeout, and thus disconnecting the connector handle part, reconnecting the connector handle part, and retransmitting data.

따라서, 본 발명에 의하면 블루투스 시스템 내 L2CAP 층 버퍼를 컨넥터 핸들부들 마다 분리 연결시킨 다중 버퍼들을 사용하기 때문에, L2CAP 버퍼에서 Tx 버퍼로 재전송을 허용하고 플리쉬와 재접속을 통해 데이터 손실없이 1:N 연결에서의 데이터 전송이 가능하다.Therefore, according to the present invention, since the L2CAP layer buffer in the Bluetooth system uses multiple buffers that are separately connected to each connector handle part, it allows retransmission from the L2CAP buffer to the Tx buffer and connects 1: N without loss of data through flash and reconnection. Data transfer at is possible.

이하, 본 발명은 도 3 내지 도 11을 참조하여 구체적으로 설명된다.Hereinafter, the present invention will be described in detail with reference to FIGS. 3 to 11.

도 3은 본 발명의 일실시예에 따른 블루투스 시스템의 호스트 스택을 나타내는 도면이다. 이를 참조하면, 호스트 스택은 RFCOMM, SDP, L2CAP, 그리고 HCI로 구성되고 L2CAP 층은 다수개의 컨넥션 핸들부들(312, 314, 316, 318)과 연결되는 다중 버퍼로 구성된다.3 is a diagram illustrating a host stack of a Bluetooth system according to an embodiment of the present invention. Referring to this, the host stack is composed of RFCOMM, SDP, L2CAP, and HCI, and the L2CAP layer is composed of multiple buffers connected to a plurality of connection handle parts 312, 314, 316, and 318.

도 4는 도 3의 L2CAP의 다중 버퍼에 데이터를 저장하는 방법의 일예를 나타내는 순서도이다. 이를 참조하면, 상위 계층의 어플리케이션(application), RFCOMM, 및 SDP 층으로부터 전송(Tx) 데이터를 받고(410), Tx 데이터의 컨넥션 핸들부(connection handle)를 확인한다(420). 이 후, 컨넥션 핸들부에 해당하는 L2CAP 버퍼에 Tx 데이터를 저장하고(430), 현재시간을 기록한 후(440) 다시 상위 계층의 데이터를 받는 단계(410)로 반복한다. 도 5는 도 4의 순서도에 따라 L2CAP 버퍼에 데이터가 저장되는 예를 나타내는 도면이다.4 is a flowchart illustrating an example of a method of storing data in multiple buffers of the L2CAP of FIG. 3. Referring to this, the Tx data is received from the upper layer application, the RFCOMM, and the SDP layer (410), and the connection handle of the Tx data is checked (420). Thereafter, the Tx data is stored in the L2CAP buffer corresponding to the connection handle part (430), the current time is recorded (440), and the data is repeated in the step 410 of receiving data of a higher layer. 5 is a diagram illustrating an example in which data is stored in an L2CAP buffer according to the flowchart of FIG. 4.

따라서, 데이터 전송시 블루투스 모듈의 Tx 버퍼로 데이터를 전송할 때 컨넥션 핸들부들 마다 나뉘어져 별도로 연결되어있는 L2CAP 층의 버퍼들로 상위 층의 데이터를 전송하기 때문에, 종래의 하나의 L2CAP 버퍼를 통해 순차적으로 데이터를 전송하면서 발생되던 데이터 손실은 발생되지 않는다.Therefore, when data is transmitted to the Tx buffer of the Bluetooth module during data transmission, data is sequentially transmitted through one conventional L2CAP buffer because the upper layer data is transmitted to the buffers of the L2CAP layer which are divided into connection handle parts and connected separately. There is no data loss that occurred during transmission.

도 6은 도 3의 L2CAP 버퍼에 데이터를 저장하는 방법의 다른 예를 나타내는 순서도이다. L2CAP 버퍼는 N개의 컨넥션 핸들부들을 갖고, 각 단계마다 이루어지는 데이터 전송 모습이 도 7 내지 도 11에 도시되어 있다.6 is a flowchart illustrating another example of a method of storing data in an L2CAP buffer of FIG. 3. The L2CAP buffer has N connection handle parts, and data transmission of each step is shown in FIGS. 7 to 11.

도 6을 참조하면, 먼저, 해당 컨넥션 핸들의 타임 아웃 수를 리셋시킨다(602). 컨넥션 핸들부의 버퍼 저장 데이터 중 시간이 가장 빠른 데이터를 선택하고(604), 선택된 데이터의 컨넥션 핸들부의 타이머를 셋팅하고(606), 선택된 데이터를 Tx 버퍼로 전송한다(608). 이는 도 7에 도시되어 있다. 완료된 패킷 이벤트 수(Number-of-completed-packet Event)가 수신되었는가를 확인하고(610), 이벤트를 수신한다(612). 이벤트 수신이 완료되었으면(612) 송신에 성공한 데이터를 L2CAP 버퍼에서 삭제한다(614). 이는 도 8에 도시되어 있다. 컨넥션 핸들부 N에 해당하는 타이머를 리셋시켜(616) 타임 아웃 발생 횟수를 리셋시킨다(618). 한편, 이벤트 수신이 안되었으면(612) 타임 아웃 여부를 확인하여(620), 타임 아웃 안되었으면 다시 604 단계로 돌아간다. 타임 아웃 되었으면 컨넥터 핸들부 N으로 전송될 데이터를 플러쉬시켜(622) Tx 버퍼에서 삭제시킨다. 이는 도 9에 도시되어 있다. 이 후, 해당 컨넥터 핸들부의 L2CAP 버퍼 시간을 현재 시간으로 바꾸어(626) 다른 컨넥터 핸들부의 버퍼 보다 시간을 늦추어 지연시킨다. 이는 도 10에 도시되어 있다. 컨넥터 핸들부 N의 타임 아웃 수를 확인하여(628) 0이면 첫번째 타임 아웃이므로 컨넥터 핸들부 N의 타임 아웃 수를 1 증가시키고 다시 604 단계로 돌아간다. 만약, 컨넥터 핸들부 N의 타임 아웃 수가 0이 아니면 두번째 타임 아웃이므로컨넥터 핸들부 N의 연결을 끊고(632) 컨넥터 핸들부 N을 다시 연결시킨 후(634), 데이터를 재전송한다. 이는 도 11에 도시되어 있다. 이 후, 다시 604 단계로 돌아가서 반복 수행한다.Referring to FIG. 6, first, a timeout number of the connection handle is reset (602). The earliest time is selected from the buffer stored data of the connection handle part (604), the timer of the connection handle part of the selected data is set (606), and the selected data is transmitted to the Tx buffer (608). This is shown in FIG. In operation 610, the processor determines whether a number-of-completed-packet event has been received, and receives an event (612). If event reception is completed (612), the data that has been successfully transmitted is deleted from the L2CAP buffer (614). This is illustrated in FIG. 8. The timer corresponding to the connection handle part N is reset (616) and the number of timeout occurrences is reset (618). On the other hand, if the event is not received (612) checks whether or not the time out (620), if not timed out and returns to step 604 again. If timed out, the data to be transmitted to the connector handle part N is flushed (622) and deleted from the Tx buffer. This is shown in FIG. Thereafter, the L2CAP buffer time of the connector handle part is changed to the current time (626) to delay the time by delaying the buffer of the other connector handle part. This is shown in FIG. When the number of timeouts of the connector handle part N is checked (628), if it is 0, the number of timeouts of the connector handle part N is increased by one and the process returns to step 604 again. If the number of timeouts of the connector handle part N is not 0, it is the second timeout. Therefore, the connector handle part N is disconnected (632), the connector handle part N is reconnected (634), and data is retransmitted. This is shown in FIG. After that, the process returns to step 604 again.

따라서, 본 발명은 블루투스 시스템 내 L2CAP 층 버퍼를 컨넥터 핸들부들 마다 분리 연결시킨 다중 버퍼들을 사용함으로써, L2CAP 버퍼에서 Tx 버퍼로 재전송을 허용하고 플리쉬와 재접속을 통해 데이터 손실없이 1:N 연결에서의 데이터 전송이 가능하다.Accordingly, the present invention uses multiple buffers in which the L2CAP layer buffer in the Bluetooth system is connected to each connector handle part, thereby allowing retransmission from the L2CAP buffer to the Tx buffer and performing data loss in a 1: N connection without data loss through flash and reconnection. Data transfer is possible.

이상에서, 본 발명은 실시예들을 들어 기술하였지만 이는 예시적인 것에 불과하며 본 발명의 기술적 사상 및 범위를 제한하거나 한정하는 것은 아니다. 그러므로, 본 발명의 기술적 사상 및 범위를 벗어나지 않는 한도 내에서 다양한 변화 및 변경이 가능함은 물론이다.In the above, the present invention has been described with reference to the embodiments, which are merely exemplary and do not limit or limit the technical spirit and scope of the present invention. Therefore, various changes and modifications are possible without departing from the spirit and scope of the present invention.

상술한 본 발명에 의하면, 블루투스 시스템 내 L2CAP 층 버퍼를 컨넥터 핸들부들 마다 분리 연결시킨 다중 버퍼들을 사용하기 때문에, L2CAP 버퍼에서 Tx 버퍼로 재전송을 허용하고 플리쉬와 재접속을 통해 데이터 손실없이 1:N 연결에서의 데이터 전송이 가능하다.According to the present invention described above, since the L2CAP layer buffer in the Bluetooth system uses multiple buffers that are separately connected to each connector handle part, it allows retransmission from the L2CAP buffer to the Tx buffer and provides 1: N without loss of data through flash and reconnection. Data transfer over the connection is possible.

Claims (2)

L2CAP 층에 컨넥션 핸들부들과 연결되는 다중 버퍼들을 갖는 블루투스 시스템에 있어서,A Bluetooth system having multiple buffers connected to connection handle portions in an L2CAP layer, 어플리케이션, RFCOMM, 및 SDP 층으로부터 전송 데이터를 받는 제1 단계;Receiving a transmission data from an application, an RFCOMM, and an SDP layer; 상기 전송 데이터의 상기 컨넥션 핸들부를 확인하는 제2 단계; 및A second step of identifying the connection handle portion of the transmission data; And 상기 컨넥션 핸들부에 해당하는 상기 L2CAP 버퍼에 현재시간을 기록하고 상기 전송 데이터를 저장하는 제3 단계를 구비하고,And recording a current time in the L2CAP buffer corresponding to the connection handle part and storing the transmission data. 다시 상기 제1 단계로 돌아가서 반복 수행하는 것을 특징으로 하는 블루투스 시스템의 데이터 전송 방법.Returning to the first step again, the data transmission method of the Bluetooth system characterized in that it is repeatedly performed. L2CAP 층에 컨넥션 핸들부들과 연결되는 다중 버퍼들을 갖는 블루투스 시스템에 있어서,A Bluetooth system having multiple buffers connected to connection handle portions in an L2CAP layer, 해당되는 상기 컨넥션 핸들부의 타임 아웃 수를 리셋시키는 제1 단계;A first step of resetting a corresponding timeout number of the connection handle part; 상기 컨넥션 핸들부의 버퍼 저장 데이터 중 시간이 가장 빠른 데이터를 선택하는 제2 단계;A second step of selecting the earliest time data among the buffer stored data of the connection handle part; 선택된 데이터의 상기 컨넥션 핸들부의 타이머를 셋팅하고 상기 선택된 데이터를 전송 버퍼로 전송하는 제3 단계;Setting a timer of the connection handle portion of selected data and transmitting the selected data to a transmission buffer; 완료된 패킷 수 이벤트가 수신되었는가를 확인하고 상기 이벤트를 수신하는 제4 단계;Confirming whether a completed packet count event has been received and receiving the event; 상기 이벤트 수신이 완료되었으면 송신에 성공한 데이터를 상기 L2CAP 버퍼에서 삭제하는 제5 단계;A fifth step of deleting data, which has been successfully transmitted, from the L2CAP buffer when the event reception is completed; 상기 컨넥션 핸들부에 해당하는 타이머를 리셋시켜 타임 아웃 발생 횟수를 리셋시키는 제6 단계;A sixth step of resetting the number of timeouts by resetting a timer corresponding to the connection handle part; 상기 이벤트 수신이 안되었으면 타임 아웃 여부를 확인하여 타임 아웃 안되었으면 다시 상기 제2 단계로 돌아가는 제7 단계;A seventh step of checking whether the event has timed out if the event is not received, and returning to the second step if the timeout has not occurred; 상기 타임 아웃 되었으면 컨넥터 핸들부로 전송될 데이터를 플러쉬시켜 전송 버퍼에서 삭제시키는 제8 단계;An eighth step of flushing the data to be transmitted to the connector handle unit and deleting it from the transmission buffer if the timeout occurs; 상기 해당 컨넥터 핸들부의 상기 L2CAP 버퍼 시간을 현재 시간으로 바꾸어 다른 컨넥터 핸들부의 버퍼 시간보다 늦추어 지연시키는 제9 단계;A ninth step of changing the L2CAP buffer time of the corresponding connector handle part to a current time and delaying it later than the buffer time of the other connector handle part; 상기 컨넥터 핸들부의 타임 아웃 수를 확인하여 0이면 첫번째 타임 아웃이므로 컨넥터 핸들부의 타임 아웃 수를 1 증가시키고 다시 상기 제2 단계로 돌아가는 제10 단계; 및A tenth step of checking the number of timeouts of the connector handle part and increasing the number of timeouts of the connector handle part by one since 0 is the first timeout, and returning to the second step; And 상기 컨넥터 핸들부의 타임 아웃 수가 0이 아니면 두번째 타임 아웃이므로 컨넥터 핸들부의 연결을 끊고 컨넥터 핸들부를 다시 연결시킨 후 데이터를 재전송하는 제11 단계를 구비하여,And an eleventh step of disconnecting the connector handle part, reconnecting the connector handle part, and retransmitting data since the timeout number of the connector handle part is not 0. 상기 제2 단계로 돌아가서 반복 수행하는 것을 특징으로 하는 블루투스 시스템의 데이터 전송 방법.Returning to the second step, and repeating the data transmission method of the Bluetooth system.
KR1020020065787A 2002-10-28 2002-10-28 Effective buffer control technique using multiple level buffer and Tx buffer flush in bluetooth system KR20040037332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020020065787A KR20040037332A (en) 2002-10-28 2002-10-28 Effective buffer control technique using multiple level buffer and Tx buffer flush in bluetooth system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020020065787A KR20040037332A (en) 2002-10-28 2002-10-28 Effective buffer control technique using multiple level buffer and Tx buffer flush in bluetooth system

Publications (1)

Publication Number Publication Date
KR20040037332A true KR20040037332A (en) 2004-05-07

Family

ID=37335654

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020020065787A KR20040037332A (en) 2002-10-28 2002-10-28 Effective buffer control technique using multiple level buffer and Tx buffer flush in bluetooth system

Country Status (1)

Country Link
KR (1) KR20040037332A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210062833A (en) * 2019-11-22 2021-06-01 주식회사 바른기술 Internet communication device supporting Bluetooth device
WO2022034388A1 (en) * 2020-08-12 2022-02-17 Tgoma Nz Limited Methods and systems for transmitting data over a wireless network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210062833A (en) * 2019-11-22 2021-06-01 주식회사 바른기술 Internet communication device supporting Bluetooth device
WO2022034388A1 (en) * 2020-08-12 2022-02-17 Tgoma Nz Limited Methods and systems for transmitting data over a wireless network
EP4197205A1 (en) * 2020-08-12 2023-06-21 Tgoma Nz Limited Methods and systems for transmitting data over a wireless network
EP4197205A4 (en) * 2020-08-12 2024-05-22 Tgoma Nz Ltd Methods and systems for transmitting data over a wireless network

Similar Documents

Publication Publication Date Title
CN111435844B (en) Method, device, equipment and system for correcting audio data in dual-wireless Bluetooth communication
CN111106853B (en) Master-slave switching method, device and equipment for double wireless Bluetooth equipment and audio system
US7046961B2 (en) Link connection method between communication terminals equipped with bluetooth wireless devices
US7596353B2 (en) Enhanced bluetooth communication system
GB2371699A (en) Using infrared communication to specify the destination of a radio communication
JP2023546303A (en) Inter-device communication method and system used in wireless communication system
WO2009129312A1 (en) Dynamically varying link supervision timeout to detect link loss
CN110234100B (en) Wireless data transmission method, equipment and system
CN111447603A (en) Data transmission method and device
WO2003088582A3 (en) Methods and apparatus for alternative mode monitoring
CN110944311B (en) Method for distributing time slot of wireless earphone and wireless earphone adopting same
CN111436043A (en) Communication method, device, equipment and system of double-wireless Bluetooth communication network
JP3730908B2 (en) WIRELESS COMMUNICATION DEVICE, ITS COMMUNICATION METHOD, AND WIRELESS COMMUNICATION SYSTEM USING THE SAME
CN101233771A (en) Method for selecting an access channel or a traffic channel for data transmission
KR20210149061A (en) Systems and methods for constructing protocol data units using selective relay
CN111132377B (en) Data transmission method and system for terminal and earphone
CN110234101B (en) Wireless transmission method, equipment and system for reliably transmitting data
AU629759B2 (en) Multiplexed synchronous/asynchronous data bus
CN110545151B (en) Method for synchronizing states between audio ends and sending audio data packets and audio equipment
US20070268875A1 (en) Role exchange method for Bluetooth system
KR20040037332A (en) Effective buffer control technique using multiple level buffer and Tx buffer flush in bluetooth system
JP2009545198A (en) Data transfer method between arranged Bluetooth device and wireless local area network device and data transfer system in wireless communication
CN114079894A (en) Dual-wireless audio communication control method, device, equipment and system
CN116033404B (en) Multi-path Bluetooth-linked hybrid communication system and method
CN112804622A (en) Wireless audio output device and operation method thereof

Legal Events

Date Code Title Description
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid