CN101013902B - Bluetooth communication through a single virtual port - Google Patents

Bluetooth communication through a single virtual port Download PDF

Info

Publication number
CN101013902B
CN101013902B CN 200610064266 CN200610064266A CN101013902B CN 101013902 B CN101013902 B CN 101013902B CN 200610064266 CN200610064266 CN 200610064266 CN 200610064266 A CN200610064266 A CN 200610064266A CN 101013902 B CN101013902 B CN 101013902B
Authority
CN
China
Prior art keywords
serial port
equipment
bluetooth
port
output
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.)
Active
Application number
CN 200610064266
Other languages
Chinese (zh)
Other versions
CN101013902A (en
Inventor
R·李
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.)
Psion Inc
Original Assignee
Psion Inc
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
Priority claimed from US11/324,078 external-priority patent/US7570917B2/en
Application filed by Psion Inc filed Critical Psion Inc
Publication of CN101013902A publication Critical patent/CN101013902A/en
Application granted granted Critical
Publication of CN101013902B publication Critical patent/CN101013902B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Landscapes

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

Abstract

A system that provides for Bluetooth communications from a first Bluetooth enabled device to a second Bluetooth enabled device is provided. The system comprising a Bluetooth manager that provides a graphical user interface, an Outgoing Port Driver that shares configurational information with and is started by the Bluetooth manager, a first serial port that receives data from an application operating on the first device, the first serial port acting as a virtual serial port where the first serial port is not connected to communications hardware, a second serial port that is connected to communications hardware, the second serial port acting as an outgoing port, and a Bluetooth stack that receives data to be communicated from the second serial port, wherein the Outgoing Port Driver directs the data from t he first serial port to the second serial port via the Outgoing Port Driver.

Description

Bluetooth communication through single virtual port
Technical field
The present invention relates generally to equipment, and more particularly be used to strengthen the availability of the serial port definition (SPP) of Bluetooth protocol with Bluetooth function.
Background technology
Bluetooth communication protocol is the system that is used for the equipment room short-distance wireless communication.
In typical case, be with the device A expectation of Bluetooth function to use the bluetooth connection to communicate by letter with the equipment B of band said function.In traditional configuration, in the time of in equipment is in communication range, can not just begin just to communicate.Just, device A is not learnt the existence of equipment B in advance, therefore can not communicate with.Fig. 1 shows the flow chart of the processing that is used to set up communication.In step 102, when communication was requested, device A was carried out scanning related (scan-associate) and is handled.This scanning association process often is processing consuming time, needs the nearly time of a few minutes usually.In step 104, the existence of equipment B is established.Along with the existence of equipment B is established, in step 106, virtual serial port is created in device A, and in step 108, the communication between device A and the equipment B is activated.
Fig. 2 is the sketch map of the device A 202 of the band Bluetooth function that can in said method, use.Together with some hardware, this figure has presented the functional unit that relates in the Bluetooth communication, wherein functional unit be software the unit or by with the state of the mutual software creation of the hardware of equipment 202.
Application program 204 requests of operation in device A 202 are carried out Bluetooth communication with equipment B 203.Bluetooth stack 210 can be provided within the operating system of equipment 202 or outside.Storehouse 210 is realized a plurality of layers of Bluetooth function, and it provides the serial port function of the realization of RFComm agreement with simulation bluetooth radio (Bluetooth radio) 212, and the realization that it provides SDP is to find and search bluetooth equipment and service.
The user uses bluetooth manager 208 to activate to the connection such as the remote equipment of equipment B 203.Bluetooth manager 208 is mutual with the bluetooth stack 210 of creating virtual serial port then.Bluetooth manager 208 is communicated by letter with storehouse 210 and is carried out with storehouse 210 is irrespectively independent.Bluetooth manager 208 is suitable for providing the interface between user and the storehouse 210.In this example, virtual serial port BSP2:206 is unlocked.Bluetooth stack 210 receives the data from application program 204 via virtual serial port 206, and it is offered bluetooth radio 212.
In another system of prior art, the automatic scan association process is carried out the bluetooth equipment to confirm to can be used for communicating by letter periodically.In case confirm that communication will be possible for particular device, just it added in the tabulation of the equipment that can be used for communicating by letter.In said system, the tabulation of possible equipment is not by user configured.
In the prior art, also exist such system, the availability of its Bluetooth communication has superiority, but undesirablely is, its system that makes in the scanning association process, become " can find ".For the system in being in the public place, such situation may appear.In the case, system does not hope that Bluetooth function is visible to visiting this system among the public and having any member of ability of equipment of scanning strip Bluetooth function.
Therefore, need a kind of system, it need not scan association process when communication, to the user the configurable tabulation of the equipment that can communicate by letter with its foundation is provided, and does not need system that the equipment that himself is identified as other band Bluetooth function " can be found ".
Summary of the invention
The present invention relates to a kind of system and method that is used for the SPP of Bluetooth protocol.
An object of the present invention is to provide a kind of improved system and method that is used for Bluetooth communication.Further purpose of the present invention is elimination or alleviates at least one defective of the prior art.
According to an aspect of the present invention, providing a kind of provides from the system of the Bluetooth communication of the equipment of equipment to the second band Bluetooth function of the first band Bluetooth function.This system comprises provides the bluetooth of graphic user interface manager; Output port driver, itself and bluetooth manager are shared configuration information and are started by the bluetooth manager; First serial port, it receives the application's data of moving on comfortable first equipment, and this first serial port serves as virtual serial port, and wherein first serial port is free of attachment to communication hardware; Second serial port, it is connected to communication hardware, and this second serial port serves as output port; And bluetooth stack, its reception will be from the data of second serial port transmission; Wherein the guiding of output port driver arrives second serial port from the data of first serial port via this output port driver.
All characteristics of the present invention are not necessarily described in this general introduction of the present invention.After combining accompanying drawing to read to describe below of the present invention, structure of others of the present invention and advantage and different embodiments of the invention and operation will be conspicuous for the person of ordinary skill of the art.
Description of drawings
According to reference to the following description of accompanying drawing, of the present invention these with further feature will become more obvious, in the accompanying drawings:
Fig. 1 is the flow chart that is used to be connected to the method for bluetooth equipment in the prior art;
Fig. 2 is the schematic block diagram of the assembly of bluetooth equipment in the prior art;
Fig. 3 is the schematic block diagram of bluetooth equipment according to an embodiment of the invention;
Fig. 4 is the schematic block diagram of the assembly of bluetooth equipment according to an embodiment of the invention;
Fig. 5 a is the flow chart that disposes the method for bluetooth equipment according to an embodiment of the invention;
Fig. 5 b is the flow chart that is used to according to an embodiment of the invention to set up with the method for communicating of bluetooth equipment;
Fig. 6 a is the schematic block diagram that is connected that illustrates according to an embodiment of the invention with bluetooth equipment;
Fig. 6 b is the schematic block diagram that is connected that illustrates according to an embodiment of the invention with bluetooth equipment;
Embodiment
The invention provides the system and method that makes it possible between the equipment of two band Bluetooth functions, carry out Bluetooth communication.This method allows user's configuration, the number of the restriction serial port of opening, and when communication, do not need the user to carry out the scanning association process.
Fig. 3 has schematically described to use equipment of the present invention above that.In the present embodiment, this equipment is the handheld terminal that is suitable for image data.Equipment 301 comprises CPU302, random access memory 304, nonvolatile memory 306 and bluetooth radio 308.The equipment of present embodiment also comprises RF radio 310.The term radio is used to describe RF radio 310 and bluetooth radio 308, generally comprises for a person skilled in the art will be conspicuous to be those elements of signal post's need of these types.System of the present invention generally is used as electronic signal and is stored in the nonvolatile memory 306.This system can move in CPU302 and can be carried among the RAM304 whole or in part during operation.For a person skilled in the art will it is obvious that, the present invention can be used in any equipment that is suitable for storing with working procedure and can be used in and carry out Bluetooth communication.It will be apparent to those skilled in the art that Fig. 3 not necessarily illustrates all component in the equipment 301 of being with Bluetooth function.
Fig. 4 is the schematic block diagram according to the equipment 402 of the band Bluetooth function of present embodiment.Fig. 4 has described the characteristic of this equipment when equipment 402 is communicated by letter with equipment B 203.As among Fig. 2, the element shown in Fig. 4 can be hardware element, software or the state through software building, and latter two element usually with comprise that the hardware element of the element shown in Fig. 3 is mutual, and/or operation above that.Fig. 4 has also described character mutual between different elements.The solid blocks arrow is represented data flow and/or the funcall between the element, and dotted arrow is represented the exchange of configuration information.
In the present embodiment, device A 402, particularly CPU302 are being moved Windows above that TMCE operating system.It will be apparent for a person skilled in the art that include but not limited to Linux, Apple OS X and Palm OS other operating system also within the scope of the invention.Bluetooth manager 407 is that the user by device A 402 is used for the graphic user interface (GUI) that the bluetooth subsystem of configuration device 402 is used to communicate by letter.Bluetooth manager 407 is communicated by letter with bluetooth stack 412 and to output port driver 408 configuration information is provided.In the present embodiment, storehouse 412 is the Microsoft that provided by Windows CE operating system TMBluetooth stack.Other implementation of the bluetooth stack of the operating system (comprising Windows CE) that is suitable for being realized also within the scope of the invention.
Output port driver 408 is central entity of present embodiment.This output port driver 408 is virtual device drivers of .DLL document form.Output port driver 408 is created virtual serial port 406 and the output serial port 410 (BSP9 :) that becomes output port.Virtual serial port 406 is used by application program 404.On such meaning, it is a virtual port: application program 404 is thought output port with it, and it does not have any relevant with it physics serial communication hardware.Output port driver 408 also provides bluetooth manager 407 and guarantees that bluetooth stack 412 is connected to the equipment of expectation to the user.
Virtual serial port 406, output port driver 408, output serial port 410, bluetooth stack 412 all are the elements of the data path of formation between application program 404 and bluetooth radio 414.
Communication between the equipment of system of the present invention permission band Bluetooth function, and need not in communication, to carry out the scanning association process.In addition, the devices communicating during this method permission is tabulated with permanent plant.These aspects are considered referring now to the system shown in Fig. 4.
Communication means divides two steps to carry out according to an embodiment of the invention.In first step, be communicate configuration equipment.This step took place before expectation communicates.It can be carried out and can be considered to creation facilities program (CFP) by user or system manager.Second step takes place in communication.During this step, equipment is configured as illustrated among Fig. 4.
Fig. 5 a shows creation facilities program (CFP) according to an embodiment of the invention.In step 502, carry out the scanning association process.In step 504, the equipment that responds this processing is added in the menu of available devices.In step 506, handle inquiry and whether also have any equipment will add in the tabulation of available devices.If other equipment is arranged, then handle and return step 502 and carry out another scanning association process.If there is not miscellaneous equipment to be registered, then to handle and forward step 508 to, the menu of in this step, listing available devices is provided.About the discussion of Fig. 4, equipment B 203 will be the equipment of listing in the above-mentioned menu.
Fig. 5 b shows the flow chart of setting up method for communicating when expectation when communicating.In step 520, bluetooth manager 407 receives instruction to load output port driver 408.In step 522, output port driver 408 is loaded.Output port driver 408 begins to carry out in step 524.In step 526, its establishment is called BSP2: virtual serial port 406, and on port 406, monitor.Application program 404 is opened virtual serial port 406, and the user selects from choice menus and will carry out the long-range bluetooth equipment that is connected with it, such as equipment B 203.In step 528, output port driver 408 receives and should select.In step 530, output port driver 408 is communicated by letter with bluetooth stack 412 to create output serial port 410 (BSP9 :).In step 532, output port driver 408 is created should output serial port 410.Output port driver 408 is all data flow of self-application program 404 in the future, are redirected to output serial port 410 via virtual serial port 406.Therefore in step 534, data service is sent to this port and is transmitted from this port.
Fig. 6 a and 6b schematically show the program that is used to be connected to new equipment.In Fig. 6 a, application program 602 is communicated by letter with equipment X604, and wherein application program 602 is running in the equipment 605.Especially, the data flow from application program 602 arrives output port driver 608 and arrives equipment X604 via serial port 610 through virtual serial port 606 (BSP2 :).Equipment X604 selects from being visited and be included in the choice menus in the device A 402 by device A 402.
When the user of device A 605 hopes to set up when communicate by letter with another equipment (such as equipment Y614), they access choice menus and also therefrom select equipment.Output port driver 608 keeps the port BSP2:606 of its establishments, but through deletion port BSP9:610 cancel with equipment X604 between be connected.Driver 608 through create once more port BSP9:610 activate its with equipment Y614 between new the connection.This provide and new equipment 614 between seamless switching, and need not to carry out the scanning association process.
Following instance shows the operation and the use of the system and method for present embodiment.Under warehouse (warehouse) situation, exist the selection of network access point, printer and the scanner that possibly must communicate with to the operator who hands the data capture terminal.With the predetermined time interval, the keeper carries out the scanning association process to the equipment of the band Bluetooth function that user expectation communicates with.In case this processing is performed, the tabulation of available devices is just worked out.Between the operating period of handheld terminal, the user can select the equipment that will communicate by letter with its foundation from choice menus.
The output port prompt modes is the configuration that the user can be provided with via the bluetooth manager of the behavior of managing the output port choice menus.It has two kinds of selections " at every turn " and " once ".Value is made as " at every turn " and means that the output port choice menus will occur automatically when each application program " unlatching " output port.Value is set to " once " and only means when application program " unlatching " output port and when not having the current selection of remote equipment, the output port choice menus just will occur automatically.It is available that the hot key of output port choice menus calls, and no matter the value of output port prompt modes how.
Although think actual and preferred embodiment has been described the present invention according to current, what it must be understood that is to the invention is not restricted to the disclosed embodiments.What those having ordinary skill in the art will appreciate that is, can carry out various modifications and propose equivalent structure and function and do not break away from the spirit and scope of the present invention that limit like claim.Therefore, must be consistent like the present invention that claim limited with the most wide possible explanation, so that comprise all such modifications and equivalent structure and function.

Claims (6)

1. a foundation provides the method for the communication path of Bluetooth communication, wherein data be passed to application program and from application passes to first equipment of carrying out said method in bluetooth radio, said method comprising the steps of:
Create virtual serial port and use the output port driver to monitor above that;
Open said virtual serial port;
Second equipments choice of reception to communicating with it, said second equipment is listed on the choice menus of available devices, is used for disposing the scanning association process of the creation facilities program (CFP) of said first equipment through execution, sets up said choice menus;
Create the output serial port, with said second devices communicating; And
To be routed to said output serial port from the data of said virtual serial port via said output port driver.
2. the method for claim 1 comprises: receive instruction to load the output port driver.
3. the method for claim 1, the output serial port that is associated that is used for the 3rd equipment through deletion cancel with the 3rd equipment between be connected after, realize creating the step of output port.
4. one kind provides from the system of the Bluetooth communication of the equipment of equipment to the second band Bluetooth function of the first band Bluetooth function, and said system is positioned at the equipment of the said first band Bluetooth function, and said system comprises:
The bluetooth manager, it provides graphic user interface;
First serial port, it receives the application's data of moving on comfortable said first equipment, and said first serial port serves as virtual serial port, and wherein said first serial port is not connected with communication hardware;
Second serial port, it is connected to communication hardware, and said second serial port serves as output port;
Output port driver, itself and said bluetooth manager are shared configuration information and are started by said bluetooth manager, and guide the data from said first serial port to arrive said second serial port via said output port driver; And
Bluetooth stack, its reception will be from the data of said second serial port transmission;
Wherein, Based on to will communicate with it second the band Bluetooth function equipments choice create said second serial port; Said second equipment is listed on the choice menus of available devices; Be used for disposing the scanning association process of creation facilities program (CFP) of the equipment of the said first band Bluetooth function through execution, set up said choice menus.
5. system as claimed in claim 4, wherein, data are passed to bluetooth radio from said bluetooth stack.
6. method as claimed in claim 4, the output serial port that is associated that is used for the 3rd equipment through deletion cancel with the 3rd equipment between be connected after, create said second serial port.
CN 200610064266 2005-12-30 2006-12-30 Bluetooth communication through a single virtual port Active CN101013902B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US11/324,078 US7570917B2 (en) 2005-12-30 2005-12-30 Bluetooth communication through a single virtual port
US11/324,078 2005-12-30
CA2,531,896 2005-12-30
CA2531896A CA2531896C (en) 2005-12-30 2005-12-30 Bluetooth communication through a single virtual port

Publications (2)

Publication Number Publication Date
CN101013902A CN101013902A (en) 2007-08-08
CN101013902B true CN101013902B (en) 2012-07-04

Family

ID=38227641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610064266 Active CN101013902B (en) 2005-12-30 2006-12-30 Bluetooth communication through a single virtual port

Country Status (2)

Country Link
CN (1) CN101013902B (en)
CA (1) CA2531896C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394942A (en) * 2011-08-08 2012-03-28 北京登合科技有限公司 Method for automatically installing bluetooth serial port equipment
US20130344809A1 (en) * 2012-06-22 2013-12-26 Broadcom Corporation Multi-profile application framework

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1261174A1 (en) * 2001-01-16 2002-11-27 Sony Corporation Data transmission method, data transmitter, record medium, and program
CN1431802A (en) * 2003-01-24 2003-07-23 东南大学 Household information networks and gateways based on self-organization network structure and blue teeth technology
US6760804B1 (en) * 2001-09-11 2004-07-06 3Com Corporation Apparatus and method for providing an interface between legacy applications and a wireless communication network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1261174A1 (en) * 2001-01-16 2002-11-27 Sony Corporation Data transmission method, data transmitter, record medium, and program
US6760804B1 (en) * 2001-09-11 2004-07-06 3Com Corporation Apparatus and method for providing an interface between legacy applications and a wireless communication network
CN1431802A (en) * 2003-01-24 2003-07-23 东南大学 Household information networks and gateways based on self-organization network structure and blue teeth technology

Also Published As

Publication number Publication date
CA2531896C (en) 2010-03-23
CA2531896A1 (en) 2007-06-30
CN101013902A (en) 2007-08-08

Similar Documents

Publication Publication Date Title
US7873391B2 (en) Call queue in a wireless device
US7756479B2 (en) Bluetooth communication through a single virtual port
EP2001214A9 (en) Transportable type base station device and terminal device
CN102082589B (en) Method, device and system for storing contact information
CN106340103A (en) Community access control method and community access control system
CN101960813A (en) In point-to-point network, select the system and method for proxy gateway
US20080227445A1 (en) Paging scheme
JPH11355861A (en) Method for applying parameters processing to display of radio communication mobile set in cooperation with subscriber identification module
CN105744598A (en) Wireless local area network connection method and device
CN106303990A (en) A kind of theft preventing method and terminal
CN101013902B (en) Bluetooth communication through a single virtual port
GB2383924A (en) Retrieving position information of another portable terminal after being sent a password to be used, from that terminal
KR101053910B1 (en) Apparatus and method for blocking a specific network in a mobile communication terminal
US7205895B2 (en) Locating a wireless device
WO2004098208A2 (en) A mobile station and method for managing multiple messaging contexts
KR20160080701A (en) System and method of controlling user device for a plurality of security policy based on position
EP1883260B1 (en) Location based automatic dialing
KR100564782B1 (en) Wireless LAN System Using Access Point To Include User Information And Operation Method For Wireless Lan System
EP1826679B1 (en) Bluetooth communication through a single virtual port
JP4773884B2 (en) Communications system
EP3192291B1 (en) Method for interaction of a wireless communication device with an identification unit
KR20060089308A (en) Method and equipment of e-mail transmission with mobile communication terminal
CN106162269A (en) Terminal system, auxiliary input method and equipment
KR20060073033A (en) Mobile telecommunication terminal and method for managing short message
KR100611423B1 (en) Method for storing data by using a mobile station

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: PSION CORPORATION

Free format text: FORMER NAME: PSION TEKLOGIX INC.

CP01 Change in the name or title of a patent holder

Address after: Lake Ontario, Canada

Patentee after: Psion Inc

Address before: Lake Ontario, Canada

Patentee before: Psion Teklogix Inc.