Abstract:
A method of switching pairing between Bluetooth devices is disclosed. In one embodiment, the method is adapted to a Bluetooth server and two Bluetooth clients. The method enables the first Bluetooth client to interchange its pairing information with the Bluetooth server and the second Bluetooth client. Therefore, the Bluetooth server could use the interchanged pairing information to quickly connect with the second Bluetooth client.

Description:
FIELD OF THE INVENTION 
       [0001]    The present invention relates to a method of switching pairing between Bluetooth devices, and more particularly to a method of switching pairing between two Bluetooth clients and one Bluetooth server. 
       BACKGROUND OF THE INVENTION 
       [0002]    With the rapid development of technology, many electronic devices started to use wireless transmission to transmit or exchange data, and the most commonly used wireless transmission protocols are Bluetooth and IEEE 802.11 series. 
         [0003]    The Bluetooth devices have to be paired before being used and the pairing process is rather complicated. In addition to some default settings, passwords are required during the pairing process. It would be very difficult for a lay person to pair the Bluetooth devices without reading a manual or having someone familiar with the pairing process to help. Even for a user who has paired the Bluetooth devices, when the user tries to pair a new headset or cell phone, it is difficult to recall all the steps after a long period of time, let alone the passwords is missing or forgotten. 
         [0004]    Also, when a Bluetooth server has paired with a first Bluetooth client and the first Bluetooth client needs to be replaced by a second Bluetooth client, the Bluetooth server has to be reset and then pairs again with the second Bluetooth client. If the Bluetooth server needs to pair with the first Bluetooth client again, similar pairing process has to be repeated, which is very inconvenient. 
       SUMMARY OF THE INVENTION 
       [0005]    To overcome the problems stated above, the present invention provides a method of switching pairing between Bluetooth devices, and more particularly to a method of quickly switching pairing between multiple Bluetooth devices. 
         [0006]    In one embodiment, the method of switching pairing between Bluetooth devices may include steps of a first Bluetooth client transmitting a server identification code to a second Bluetooth client; said first Bluetooth client receiving a second client identification code from the second Bluetooth client; said first Bluetooth client transmitting said second client identification code to a Bluetooth server; said second Bluetooth client writing said server identification code into a second client pairing information of the second Bluetooth client; said Bluetooth server writing said second client identification code to a serve pairing information of the Bluetooth server; disconnecting connection between the first Bluetooth client and the Bluetooth server; and connecting the second Bluetooth client with the Bluetooth server. 
         [0007]    According to the embodiment described above, the method of switching pairing of Bluetooth devices in the present invention enables multiple Bluetooth clients to easily exchange pairing information to establish the connection with the same Bluetooth server without using a complicated and manual pairing process. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0008]      FIG. 1  illustrates is a schematic view of a system of switching pairing between Bluetooth devices in the present invention. 
           [0009]      FIG. 2  illustrates a flow diagram of a method of switching pairing between Bluetooth devices in the present invention. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0010]    The detailed description set forth below is intended as a description of the presently exemplary device provided in accordance with aspects of the present invention and is not intended to represent the only forms in which the present invention may be prepared or utilized. It is to be understood, rather, that the same or equivalent functions and components may be accomplished by different embodiments that are also intended to be encompassed within the spirit and scope of the invention. 
         [0011]    Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood to one of ordinary skill in the art to which this invention belongs. Although any methods, devices and materials similar or equivalent to those described can be used in the practice or testing of the invention, the exemplary methods, devices and materials are now described. 
         [0012]    All publications mentioned are incorporated by reference for the purpose of describing and disclosing, for example, the designs and methodologies that are described in the publications that might be used in connection with the presently described invention. The publications listed or discussed above, below and throughout the text are provided solely for their disclosure prior to the filing date of the present application. Nothing herein is to be construed as an admission that the inventors are not entitled to antedate such disclosure by virtue of prior invention. 
         [0013]    In order to further understand the goal, characteristics and effect of the present invention, a number of embodiments along with the drawings are illustrated as following: 
         [0014]    Referring to  FIGS. 1 and 2 ,  FIG. 1  is a schematic view of a system of switching pairing between Bluetooth devices in the present invention, and  FIG. 2  shows a flow diagram of a method of switching pairing between Bluetooth devices in the present invention. 
         [0015]      FIGS. 1 and 2  illustrate the applications of, but not limited to three Bluetooth devices  10 ,  20  and  30 . In one embodiment, these three Bluetooth devices are Bluetooth server  10 , a first Bluetooth client  20  and a second Bluetooth client  30 . 
         [0016]    The Bluetooth server  10  can be, but not limited to, a headset or the like. In another embodiment, the Bluetooth server  10  can be connection devices or Bluetooth peripheral devices. In some literature, the Bluetooth server  10  is referred to a servant device. When in use, the Bluetooth server  10  can also be any Bluetooth devices connecting to the Bluetooth server. The first Bluetooth client  20  and the second Bluetooth client  30  can be referred to Bluetooth control devices or connection devices, and some literature refers the Bluetooth client to a host device. In a further embodiment, the first Bluetooth client  20  and second Bluetooth client  30  can be a device on the user&#39;s end, such as a cell phone, computer, tablet, personal digital assistant (PDA), etc. In the present invention, the Bluetooth client is a Bluetooth child locator. More specifically, the child can take the Bluetooth server  10 , while the first Bluetooth client  20  and second Bluetooth client  30  can be the parents&#39; cell phone or tablet. When in use, assuming that the father is the first Bluetooth client  20  paired with the Bluetooth server  10  to monitor the child in a predetermined safety range, and if the father has to leave the child beyond the distance of effective Bluetooth connection, he can switch the Bluetooth pairing information to the mother who is the second Bluetooth client  30 , so the Bluetooth server  10  and the second Bluetooth client  30  are still connected and the mother can keep monitoring her child within the safety range. 
         [0017]    In still another embodiment, the method of switching Bluetooth device pairing can be a software (not limited to Application software, or Apps) between the Bluetooth server  10 , the first Bluetooth client  20  and the second Bluetooth client  30 . The method of switching pairing between Bluetooth devices can be partially done by manual operation and partially done by the hardware in the Bluetooth client devices. An “App” is used in the following embodiment, but the present invention is not limited thereto. 
         [0018]    The Bluetooth server  10  has a server identification code (SIC), the first Bluetooth client  20  has a first client identification code (FCIC), and the second Bluetooth client  30  has a second client identification code (SCIC). The SIC, FCIC and SCIC can be the only universal unique identifier (UUID) of the Bluetooth devices respectfully. A Bluetooth device uses the UUID to identify the other Bluetooth device that is pairing with itself. Each of the Bluetooth server  10 , the first Bluetooth client  20  and the second Bluetooth client  30  has an information storing area used to store the UUID after the Bluetooth device is paired with the other. The information saved in the information storing area is called “pairing information.” In the present invention, the pairing information of the Bluetooth server  10 , the first Bluetooth client  20  and the second Bluetooth client  30  is referred to server pairing information, first client pairing information and second client pairing information, respectfully. In other words, if the Bluetooth server  10  has paired with the first Bluetooth client  20 , the UUID of the first Bluetooth client  20  will be written in the server pairing information, and the UUID of the Bluetooth server  10  will be written in the first client pairing information. Likewise, if the Bluetooth server  10  has paired with the second Bluetooth client  30 , the UUID of the second Bluetooth client  30  will be written in the server pairing information, and the UUID of the Bluetooth server  10  will be written in the second client pairing information. 
         [0019]    Referring to  FIG. 2 , the method of switching pairing Bluetooth devices may include steps of: S 60 : a first Bluetooth client  20  transmitting a server identification code of the Bluetooth server  10  to a second Bluetooth client  30 , wherein the server identification code is corresponding to the Bluetooth server  10 , and first client pairing information is corresponding to the first Bluetooth client  20 ; S 62 : the first Bluetooth client  20  receiving a second client identification code from the second Bluetooth client  30 , and the second client identification code is corresponding to the second Bluetooth client  30 ; S 74 : the second Bluetooth client  30  writing said server identification code into second client pairing information; S 64 : the first Bluetooth client  20  transmitting the second client identification code to the Bluetooth server  10 ; S 52 : the Bluetooth server  10  writing said second client identification code into server pairing information; S 66 : disconnecting the first Bluetooth client  20  and the Bluetooth server  10 ; S 68 : the first Bluetooth client  20  sending out a switching command to the second Bluetooth client  30 ; and S 78  and S 54 : connecting the Bluetooth server  10  and the second Bluetooth client  30 . 
         [0020]    Before step S 60 , the Bluetooth server  10  and the first Bluetooth client  20  are paired. In other words, the Bluetooth server  10  has the server pairing information and the first Bluetooth client  20  has the first client pairing information. The server pairing information at least includes the first client identification code of the first Bluetooth client  20 . As stated above, the Bluetooth server  10  uses the first client identification code to identify the Bluetooth device that is paired with itself. The first client identification code can be, but not limited to, UUID or Media Access Control address (MAC address). Similarly, the first pairing information at least includes the server identification code of the Bluetooth server  10 , and the server identification code is used for the first Bluetooth client  20  to indentify the paired Bluetooth device. The server identification code can be UUID or MAC address. 
         [0021]    In step S 60 , the first Bluetooth client  20  transmits the server identification code in the first client pairing information to the second Bluetooth client  30 , while the second Bluetooth client  30  receives the server identification code as illustrated in step S 70 , wherein the transmission between the first Bluetooth client  20  and second Bluetooth client  30  can be either by Universal Serial Bus, RS232, RS485, or wireless transmission such as Bluetooth, 3G, WiFi. 
         [0022]    After step S 60 , the first Bluetooth client  20  can receive the second client identification code from the second Bluetooth client  30  as shown in step S 62 . In other words, the second Bluetooth client  30  can proceed to step S 72  to transmit the second client identification code to the first Bluetooth client  20 , wherein the second client identification code is not limited to the UUID of the second Bluetooth client  30 , or MAC address. 
         [0023]    After step S 70 , the second Bluetooth client  30  can write the server identification code into the second client pairing information of the second Bluetooth client  30 , either before step S 72  or at step S 74 . 
         [0024]    The first Bluetooth client  20  can then transmit the second client identification code to the Bluetooth server  10  (S 64 ) and the Bluetooth server  10  receives the second client identification code in step S 50 , and saves the second client identification code to the server pairing information of the Bluetooth server  10  in step S 52 . 
         [0025]    Steps S 60  and S 64  can be referred to a command of writing in the identification code, meaning that when the first Bluetooth client  20  sends the command of writing the server identification code into the second Bluetooth client  30 , the second Bluetooth client  30  can proceed to receive the server identification code (step S 70 ) and write (step S 74 ) the server identification code into the second client pairing information. Likewise, when the first Bluetooth client  20  sends the command of writing the second client identification code to the Bluetooth server  10 , the Bluetooth server  10  can proceed to receive the second client identification code (step S 50 ) and write (step S 52 ) the second client identification code into the server pairing information. The purpose of this command is to modify the Bluetooth pairing information with currently received identification code in the Bluetooth device that receives the command. 
         [0026]    In another embodiment, step S 62  can be processed before step S 60 . In other words, the first Bluetooth client  20  can process step  62  to receive the second client identification code, and then process step S 60  to transmit the server identification code to the second Bluetooth client  30 . 
         [0027]    The first Bluetooth client device  20  can then proceed to step S 66  to disconnect with the Bluetooth server  10 , or proceed to step S 68  to send out a switching command to the second Bluetooth client  30 , wherein the order of steps S 66  and S 68  can be switched, and the switching command is sent out from the first Bluetooth client  20  to the second Bluetooth client  30  to enable the second Bluetooth client  30  to send out a pairing command to the Bluetooth server  10 . 
         [0028]    When the second Bluetooth client  30  sends out the pairing command to the Bluetooth server  10 , the Bluetooth server  10  can be connected to the second Bluetooth client  30  (S 54 , S 78 ) because the Bluetooth server  10  has been disconnected with the first Bluetooth client  20  and the server pairing information of the Bluetooth server  10  has the second client identification code of the second Bluetooth client  30 , wherein step S 66  is disconnecting the connection between the Bluetooth server  10  and the first Bluetooth client  20 , and steps S 54  and S 78  are establishing the connection between the Bluetooth server  10  and the second Bluetooth client  30 . 
         [0029]    In still another embodiment, steps S 66  and S 68  can be omitted, meaning that the Bluetooth client  10  and the second Bluetooth client  30  can be connected by themselves. More specifically, when the Bluetooth server  10  writes the second client identification code into the server pairing information, the Bluetooth client  10  can be automatically disconnected with the first Bluetooth client  20 , meaning automatically switching to an “Advertising Mode” and waiting for pairing with the second Bluetooth client  30 . Meanwhile, when the second Bluetooth client  30  receives and writes in the server identification code, the second Bluetooth client  30  can send out the pairing command to the Bluetooth server  10  automatically. Thus, when the Bluetooth server  10  receives the pairing command from the second Bluetooth client  30 , the Bluetooth server  10  is configured to accept that command to switch to a ‘Connected Mode.” 
         [0030]    When the Bluetooth server  10  switches to the “Advertising Mode” and the server pairing information has been changed to the second client identification code, even though the first Bluetooth client  20  sends out the pairing command to the Bluetooth server  10 , the connection between the Bluetooth server  10  and the first Bluetooth client  20  will not be established because the server pairing information is now containing the second client identification code, not the first client identification code. 
         [0031]    Thus, in this embodiment, the first Bluetooth client  20  only processes steps S 60 , S 62  and S 64 ; the second Bluetooth client  30  processes steps S 70 , S 72 , S 74 , S 76  and S 78 , and the Bluetooth server  10  processes steps S 50 , S 52  and S 54 , so steps S 66  and S 68  are omitted. 
         [0032]    The pairing switching method described above uses the first Bluetooth client  20  as a main controlling device. In a further embodiment, the second Bluetooth client  30  can also be used as the main controlling device, which can be illustrated as following: 
         [0033]    The second Bluetooth client  30  sends out a switching pairing command to the first Bluetooth client  20 , and meanwhile the second Bluetooth client  30  would proceed to step S 72  to transmit the second client identification code to the first Bluetooth client  20 , and the first Bluetooth client  20  can also proceed to step S 60  to transmit the server identification code to the second Bluetooth client  30 . The second Bluetooth client  30  can then save the server identification code to the second client pairing information and continue to send out the pairing command to the Bluetooth server  10 . 
         [0034]    When the first Bluetooth client  20  receives the second client identification code, it sends out a command to the Bluetooth server  10  to write in the second client identification code, and the Bluetooth server  10  writes the second client identification code into the server pairing information after receiving such command from the first Bluetooth client  20 . The Bluetooth server  10  is then switched to the Adverting Mode to wait for the pairing command from the second Bluetooth client  30 . Once the Bluetooth server  10  receives the pairing command from the second Bluetooth client  30 , it accepts the pairing command to establish the connection with the second Bluetooth client  30 . 
         [0035]    According to the embodiments described above, the method of switching pairing of Bluetooth devices in the present invention enables multiple Bluetooth clients to easily exchange pairing information to establish the connection with the same Bluetooth server without using a complicated and manual pairing process. 
         [0036]    Having described the invention by the description and illustrations above, it should be understood that these are exemplary of the invention and are not to be considered as limiting. Accordingly, the invention is not to be considered as limited by the foregoing description, but includes any equivalents.