CN1812404A - Blue tooth RFCOMM protocol speed increasing method - Google Patents

Blue tooth RFCOMM protocol speed increasing method Download PDF

Info

Publication number
CN1812404A
CN1812404A CNA2005100112474A CN200510011247A CN1812404A CN 1812404 A CN1812404 A CN 1812404A CN A2005100112474 A CNA2005100112474 A CN A2005100112474A CN 200510011247 A CN200510011247 A CN 200510011247A CN 1812404 A CN1812404 A CN 1812404A
Authority
CN
China
Prior art keywords
equipment
credit
transmission
transmission credit
rfcomm
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CNA2005100112474A
Other languages
Chinese (zh)
Inventor
张鑫
田丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
AIWEITI SOFTWARE TECHNOLOGY (BEIJING) Co Ltd
Original Assignee
AIWEITI SOFTWARE TECHNOLOGY (BEIJING) Co Ltd
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 AIWEITI SOFTWARE TECHNOLOGY (BEIJING) Co Ltd filed Critical AIWEITI SOFTWARE TECHNOLOGY (BEIJING) Co Ltd
Priority to CNA2005100112474A priority Critical patent/CN1812404A/en
Publication of CN1812404A publication Critical patent/CN1812404A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method for raising transmission rate of blue tooth RFCOMM protocol includes increasing credit value in blue tooth RFCOMM protocol for allowing the other party to send more data packet and decreasing control data packet number used for transmitting credit value in blue tooth RFCOMM protocol for decreasing communication overhead

Description

Blue tooth RFCOMM protocol speed increasing method
Technical field
The present invention relates to the blue tooth wireless communication technical field, relate to all application of bluetooth particularly based on the RFCOMM agreement.
Background technology
Bluetooth (Bluetooth) is a kind of short-distance wireless technology for radio frequency, and it is operated in ISM (the Industrial Scientific Medical) frequency range of 2.4GHz.According to the special interest group of bluetooth (Special Interest Group, abbreviation SIG) Bluetooth specification of formulating, the piconet (Piconet) that the basic network topology of bluetooth is made up of a main control device and maximum seven slaves adopts the mode of time division multiple access (TDMA) to communicate between main control device and the slave.By the integrated with Bluetooth communication module, various device can low cost couple together.The asynchronous connection (Asynchronous Connection-Less Link) of setting up bluetooth by globally unique bluetooth device address (Bluetooth DeviceAddress) between the bluetooth equipment be connected (Synchronous Connection-Oriented Link) synchronously with transmission character data and speech data.The function of an equipment offers another equipment in the mode of bluetooth service.An equipment can provide a plurality of services simultaneously.The user can select service wherein to connect as required.
The communication process of typical blue tooth RFCOMM protocol is: device A and equipment B are set up the blue tooth RFCOMM link, device A meeting slave unit B obtains transmission credit and counts the initial value of Credit (<=7), device A is to the equipment B transfer data packets, packet of every transmission, the transmission credit that device A is preserved is counted Credit and will be subtracted one, when the transmission credit of device A was counted Credit and exhausted, device A got clogged to the RFCOMM of B link, and device A can not be to the equipment B transfer data packets; Equipment B can transmit controlling packet to device A after receiving the packet that A transmits, the transmission credit that increases A is counted Credit, and device A continues to equipment B transmission data after obtaining new Credit.
In order to improve the transmission rate of bluetooth, SIG has formulated EDR (Enhanced DataRate) standard of bluetooth, and the transmission rate of the radio frequency signal of bluetooth has been increased to 3 megabit per seconds by 1 original megabit per second.Because the transmission rate of bottom improves, the phenomenon that is subjected to its restriction based on the transmission rate of the bluetooth upper layer application of RFCOMM agreement is also more outstanding.Purpose of the present invention promptly improves the transmittability of RFCOMM, utilizes the EDR transmittability of bluetooth to greatest extent.
Summary of the invention
The objective of the invention is to improve the blue tooth RFCOMM transmission rate, be specially receiving ability, set up the transmission credit that increases the other side after RFCOMM connects in bluetooth and count Credit, make the other side's number increase of data packets for transmission continuously according to system self; Simultaneously after receiving the data that the other side transmits, accumulative total need be counted Credit for the transmission credit that the other side recovers, and is notifying the other side when reaching respective standard, reduces communication overhead and processing expenditure.
After said method was applied to equipment B, the RFCOMM communication process of bluetooth was as follows between device A and equipment B:
(a) device A and equipment B are set up the blue tooth RFCOMM link, and device A can be from link setup
Obtain transmission credit in the information and count the initial value of Credit (<=7);
(b) equipment B increases the transmission credit number (as: 100) of device A according to method F1.
(c) device A begins to the equipment B transfer data packets, and each packet all will consume one
Transmission credit is counted Credit, counts Credit up to exhausting its transmission credit.
(d) after equipment B receives packet, the accumulative total transmission credit number that the other side consumed
Credit according to method F2, increases the transmission credit number of device A.
(e) repeating step (c) and step (d) are sent to equipment B up to device A with all data.
Scope of the present invention comprises that in the Bluetooth specification all directly or indirectly are based upon all application on the blue tooth RFCOMM protocol, for example: Dial-up Network (Dial-up NetworkingProfile), bluetooth fax (Fax Profile), bluetooth serial port (Serial Port Profile), bluetooth file transfer protocol (FTP) (File Transfer Profile), bluetooth object push is used (ObjectPush Profile), bluetooth synchronous applications (Synchronization Profile).
This method can effectively improve all transmission rates based on the application of RFCOMM agreement.
By describing flow process of the present invention in detail, will help to understand objects and advantages of the present invention by the preferred embodiment accompanying drawing.Wherein:
Fig. 1 is the communication process of the blue tooth RFCOMM protocol of routine;
Fig. 2 explains the communication process of blue tooth RFCOMM protocol according to a preferred embodiment of the invention;
Fig. 3 is the conventional handling process of RFCOMM agreement when accepting data
Fig. 4 is the handling process of RFCOMM agreement when accepting data behind application the present invention.
Specific embodiment
Fig. 1 is the communication process of the blue tooth RFCOMM protocol of routine;
Device A is at first set up RFCOMM with equipment B and is connected 110, and device A slave unit B obtains transmission credit number (Credit=7), is with 3 data bit representations, so the maximum of transmission credit number is 7 because the transmission credit number is set up in the information in connection; After connecting foundation, device A transmits RFCOMM packet 120 to equipment B, and the transmission credit number with self subtracts one simultaneously; When the data volume that transmits is bigger, device A is to the continuous transfer data packets of equipment B, (Credit=0) 130 till the transmission credit number of self exhausts, equipment B is whenever received a RFCOMM packet, send a Flow Control bag to device A, increase the transmission credit several 140,150 of device A.Device A and equipment B will repeat said process, finish up to total data is transmitted.
Fig. 2 explains the communication process of blue tooth RFCOMM protocol according to a preferred embodiment of the invention.
Device A is at first set up RFCOMM with equipment B and is connected 210, and device A slave unit B obtains transmission credit number (Credit=7); After connecting foundation, equipment B is according to the ability to accept of self, and announcement apparatus A increases by 100 transmission credit numbers (Credit=107) 220, the not consumption of the transmission credit number of device A at this moment, the promptly current extra transmission credit number that increased; Device A begins to the equipment B continuous data transfer, RFCOMM packet of every transmission, all can the reduction of income self a transmission credit several 230; Equipment B is whenever received a RFCOMM packet simultaneously, can accumulative total need be the transmission credit value Credit of device A increase, reach half or timer expiry 240 of device A credit value sum when the transmission credit value of equipment B accumulative total, equipment B transmitted traffic controlling packet notifies the other side to increase transmission credit value Credit+53 (250).Device A and equipment B will repeat said process, finish up to total data is transmitted.1/53 of the flow control bag that equipment B the sends packet sum that to be device A transmit to equipment B.
Fig. 3 is the conventional handling process of RFCOMM agreement when accepting data
Set up back 310 in the RFCOMM successful connection, the RFCOMM the packet 320 whether inspection of RFCOMM consultation exists needs to handle if there is this packet, carries out the parsing of agreement and handles 330, simultaneously the credit number that recovers to consume for the other side.
Fig. 4 is the handling process of RFCOMM agreement when accepting data behind application the present invention.
Set up back 410 in the RFCOMM successful connection, the RFCOMM consultation increases the other side's transmission credit several 420 according to method F1, check the RFCOMM packet 430 that whether exists needs to handle then, if there is this packet, carry out the parsing of agreement and handle 440, it is several 450 to add up transmission credit that the other side consumes simultaneously, and using method F2 judges whether should to recover transmission credit several 460 for the other side, recover credit number 470 if condition is set up for the other side.
Though the present invention illustrates and describes with reference to its preferred embodiment, but will be understood by those skilled in the art that, under the situation of the spirit and scope of the present invention that do not break away from the appended claims and limited, can carry out the various changes of form and details.

Claims (6)

1, a kind of method that improves the transmitted data rates of blue tooth RFCOMM protocol and all foundation application thereon is applied to equipment B with this method, comprises the steps:
(a) device A and equipment B are set up the blue tooth RFCOMM link, and device A can obtain transmission credit and count the initial value of Credit (<=7) from link setup information;
(b) equipment B increases the transmission credit number (as: 100) of device A according to method F1.
(c) device A begins to the equipment B transfer data packets, and each packet all will consume a transmission credit and count Credit, counts Credit up to exhausting its transmission credit.
(d) after equipment B received packet, the accumulative total transmission credit that the other side consumed was counted Credit, according to method F2, increased the transmission credit number of device A.
(e) repeating step (c) and step (d) are sent to equipment B up to device A with all data.
2, according to the method for claim 1, it is characterized in that: equipment B is after RFCOMM link establishment success, and announcement apparatus A additionally increases the transmission credit number.
3, according to the method F1 of claim 1 or 2, it is characterized in that: but equipment B is calculated the number of the reception buffering area of additional allocation according to current system resource, and allocation outer accept buffering area.
4, according to the method for claim 1, it is characterized in that: the transmission credit number that equipment B can totally need announcement apparatus A to increase, after making the grade, the transmission credit number that accumulates of the announcement apparatus A of property, rather than frequent announcement apparatus A again increases by one transmission credit number.
5, according to the method F2 of claim 1 or 4, it is characterized in that: the proportionate relationship between the total amount of the transmission credit number that equipment B has according to numerical value and the other side of the used up transmission credit number of the other side of current accumulative total judges whether to send the transmission credit number of controlling packet with restorer A.
6, according to the method for claim 1, it is characterized in that: transmission credit is counted a kind of general flow-control mechanism that Credit is the RFCOMM agreement, and being transmit leg need not under the situation that reciever confirms the number of the packet that can send continuously.
CNA2005100112474A 2005-01-24 2005-01-24 Blue tooth RFCOMM protocol speed increasing method Pending CN1812404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2005100112474A CN1812404A (en) 2005-01-24 2005-01-24 Blue tooth RFCOMM protocol speed increasing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2005100112474A CN1812404A (en) 2005-01-24 2005-01-24 Blue tooth RFCOMM protocol speed increasing method

Publications (1)

Publication Number Publication Date
CN1812404A true CN1812404A (en) 2006-08-02

Family

ID=36845093

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2005100112474A Pending CN1812404A (en) 2005-01-24 2005-01-24 Blue tooth RFCOMM protocol speed increasing method

Country Status (1)

Country Link
CN (1) CN1812404A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719774B (en) * 2009-12-17 2013-09-25 东南大学 Method for realizing Bluetooth serial port based on converged communication terminal
CN111277986A (en) * 2020-03-06 2020-06-12 北京百瑞互联技术有限公司 Method for improving Bluetooth transmission speed of iOS device
WO2022052507A1 (en) * 2020-09-08 2022-03-17 南京中感微电子有限公司 Bluetooth low-power consumption audio data transmission method, and apparatus and device
CN117714229A (en) * 2024-02-05 2024-03-15 上海登临科技有限公司 Data transmission network, system on chip and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719774B (en) * 2009-12-17 2013-09-25 东南大学 Method for realizing Bluetooth serial port based on converged communication terminal
CN111277986A (en) * 2020-03-06 2020-06-12 北京百瑞互联技术有限公司 Method for improving Bluetooth transmission speed of iOS device
CN111277986B (en) * 2020-03-06 2022-02-25 北京百瑞互联技术有限公司 Method for improving Bluetooth transmission speed of iOS device
WO2022052507A1 (en) * 2020-09-08 2022-03-17 南京中感微电子有限公司 Bluetooth low-power consumption audio data transmission method, and apparatus and device
CN117714229A (en) * 2024-02-05 2024-03-15 上海登临科技有限公司 Data transmission network, system on chip and electronic equipment

Similar Documents

Publication Publication Date Title
US7009960B2 (en) Medium access control protocol for high rate wireless personal area network
CN101331721B (en) Distributed bluetooth system
Elson et al. Random, ephemeral transaction identifiers in dynamic sensor networks
US20070147332A1 (en) Multimode support for wireless communications
TWI242946B (en) Wireless packet communication apparatus and method
Baatz et al. Bluetooth scatternets: An enhanced adaptive scheduling scheme
US20070211624A1 (en) Communication device, radio communication arrangement and method for transmitting information
CN100525230C (en) A radio communications gateway and radio communications terminal, and method for operating the same
CN1399833A (en) Acceleration dependent channel swithing in mobile telecommunications
CN1843004A (en) Method for operating a wireless network
CN1781285A (en) Hybrid wireless IP phone system though personal area network or wireless lan
KR20020029763A (en) Two tier hi-speed wireless communication link
WO2001041348A2 (en) System and method for communication in a ad-hoc network
AU2002227911A1 (en) Method and apparatus for connecting devices via an ad hoc wireless communication network
RU2002104934A (en) METHOD AND DEVICE FOR DATA TRANSMISSION BY FEEDBACK IN A MOBILE COMMUNICATION SYSTEM
JP3828873B2 (en) Wireless communication system and wireless communication method thereof
CN1812404A (en) Blue tooth RFCOMM protocol speed increasing method
AU2003295304A1 (en) Method device for transmitting data packets belong to different users in a common transmittal protocol packet
Sheu et al. The impact of RTS threshold on IEEE 802.11 MAC protocol
JP2001144827A (en) Communication controller and communication control method
CN1201545C (en) Wireless network interface
US20040120341A1 (en) Method for dynamically managing SCO links in bluetooth system
WO2002023810A3 (en) Method and system for transmit data blocking in a wireless communications network
GB0217355D0 (en) Communications system
CN1567960A (en) An equipment for implementing automatic call forwarding of blue tooth handset and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20060802