201041331 六、發明說明: 【發明所屬之技術領域】 本發明涉及一種電子裝置之間的無線連接方法,尤其 涉及一種可在電子裝置之間快速配對的藍牙連接方法。 【先前技術】 / 隨著電子技術與通訊技術的不斷發展,越來越多 的電子產品具備藍牙I置以建立藍牙連接並實現資料 ❹ ❹ 遞。利賴牙連接進行資料傳輸具有快速及低成本 等功效,如上所述,越來越多的電子產品都具備 二之㈣:藍牙裝置都具有相應的藍牙位址。實現藍牙連 接别’需要確認待連接的目標電子產品内的藍牙裝置的 準 =無誤的進行連接,然而,從多個藍牙位址中 確⑽所而連接的藍牙位址往往給好增加了 便利性,而導致無法快速進行藍牙配對。 、、 【發明内容】 有必要提供一種藍牙連接方法,可利 電子裝置内的藍牙I詈的命从也你 零將第一 雷+ 的址快速傳送到待連接的第二 電子裝置進订識別,以實現快速建立藍牙連接。 :種藍牙連接方法,用於連接第一電子裝置與第二電 、置’該第-電子裝置包括觸控筆,所述第 還包括第-藍牙裝置與第一紅外線裝置,所述第二電2 二紅外線裝置,所述觸控筆包括 第:電==,該方法包括如下步驟··獲取 電子裝置内的弟-藍牙裝置的位址’·利用第—電子裳 4 201041331 :内的第-紅外線裝置與 •建立連接;將該獲取的第 2的第—、、‘工外線裝置 控筆的錯存裝置令 牙裝置的位址寫入到所述觸 —第二電子裝置的第-Γ 筆的第三紅外線裝置與 # " —、·工外線裝置建立連接;所述第二電子 位址;及所述第二電子裝置的第二牙裝置的 位址與所述弟-電子裝置建立藍牙連接。 一種藍牙連接方法’用於連接第-電子裝置 U子裝置,該第一電子裝詈句紅總“电卞衮置與第一電 還包括第觸控筆’所述第一電子裝置 藍牙裝置與第—RFm閱讀器,所述第二 裝置l括第二藍牙裝置與第二 _ P M Pmn - 山閲5貝盗’所述觸控筆 w 戴’该方法包括如下步驟:獲取第一電子裝 置内的第-藍牙裝置的位址;利用第―電子褒置内的第f fid閱讀n與料職筆的RFID賴建立補 〇 S第-娜閱讀器將該獲取的第一藍牙裝置 入 到所述觸控筆的RFID標籤t;所述第二電 笛 刷!)_!!與所述馳筆的RFID軸建立連接,並=201041331 VI. Description of the Invention: [Technical Field] The present invention relates to a wireless connection method between electronic devices, and more particularly to a Bluetooth connection method that can be quickly paired between electronic devices. [Prior Art] / With the continuous development of electronic technology and communication technology, more and more electronic products have Bluetooth I set up to establish a Bluetooth connection and realize data transfer. Lilai tooth connection for data transmission has the effect of fast and low cost. As mentioned above, more and more electronic products have two (4): Bluetooth devices have corresponding Bluetooth addresses. To achieve the Bluetooth connection, you need to confirm the connection of the Bluetooth device in the target electronic product to be connected. The Bluetooth address connected to the (10) from multiple Bluetooth addresses is often convenient. , which makes it impossible to quickly pair Bluetooth. [Invention] It is necessary to provide a Bluetooth connection method, which can facilitate the fast transmission of the first lightning + address to the second electronic device to be connected, and the identification of the Bluetooth device in the electronic device. To achieve a quick Bluetooth connection. a Bluetooth connection method for connecting a first electronic device and a second device, wherein the first electronic device includes a stylus, the first device further includes a first Bluetooth device and a first infrared device, and the second device 2 two infrared device, the stylus includes: electric ==, the method includes the following steps: · obtaining the address of the brother-bluetooth device in the electronic device'· utilizing the first - electronic skirt 4 201041331: the first - The infrared device establishes a connection with the device; and writes the acquired second -, "external line device control pen" error device to write the address of the tooth device to the touch-second electronic device The third infrared device establishes a connection with the #"-, the external line device; the second electronic address; and the address of the second dental device of the second electronic device establishes Bluetooth with the younger electronic device connection. A Bluetooth connection method is used for connecting a first electronic device U sub-device, and the first electronic device includes a first electronic device Bluetooth device and the first electric device further includes a first stylus a first-RFm reader, the second device includes a second Bluetooth device and a second _PM Pmn - the stylus is worn, the method includes the following steps: acquiring the first electronic device Address of the first Bluetooth device; using the f fid reading n in the first electronic device and the RFID ray of the material pen to establish a supplemental S-N reader to input the acquired first Bluetooth device into the The RFID tag t of the stylus; the second electric whistle brush!)_!! establishes a connection with the RFID axis of the stylus, and =
讀取該第一藍牙裝置的位址;及所述第_ 'M 矛—電子裴置的第二 藍牙裴置根據所讀取的位址與所述第—電子 一 牙連接。 I置建立藍 相較於習知技術’所述的藍牙連接方法,可利用觸控 筆將f一電子裝置内的藍牙裝置的位址快速傳送到待連 接的第二電子裝置進行識別,以實現快速建立誌牙 【實施方式】 ^ ° 5 201041331 如圖1所示,是本發明藍牙連接方法的第一實施方式 的流程圖。本發明藍牙連接方法可應用於多個電子裴置上 以實現多個電子裝置之間快速進行藍牙配對並建立連 接。所述的電子裝置可包括不同的類型,例如:手機、個 人數位助理(Personal Digita〗 Assistant,PDA)、筆 腦等。 电 Ο 〇 一句從於垤解,下文結合圖2進行說明。如圖2所示, 第一電子裝置1包括職屏1G與觸控筆2、第— 置二第-處理器14與第—藍牙裝置16。所述的觸= ο括第^紅外線裝置2G與儲存裝置22。該第一電 。可f由所述的第一紅外線裝置12與所述觸控筆2的 二:二卜線震置20進行紅外線連接以傳輸相關資料。所 二I、置22可以是寄存器’用於儲存資料,例如,儲 位址。 裝置1獲取的所述第一藍牙裝置16的 所述的第二電子裝置3包 處理器32以及第二藍牙梦要υ 咖30、第一 與所述的第一電子裝置二所述的第二電子褒置3 第-藍藍牙 此外’所述的第二電子而實;見資料的傳輸。 與所述第一電子裝署】沾置3的弟二紅外線裝置30還可. 進行红外線連接。、觸控筆2中的第三紅外線裳置20 F置h步驟^ ’所述的第一處理器14獲取第-雷早 裝置1内的第—藍牙裝置16的位址。又取第電子 6 201041331 步驟S4,利用第一電子裝置1内的第一紅外線裝置 12與所述觸控筆2的第三紅外線裝置20建立無線連接。 步驟S6,將該獲取的第一藍牙裝置16的位址寫入到 ' 所述觸控筆2的儲存裝置22中。 步驟S8,利用所述觸控筆2的第三紅外線裝置20與 第二電子裝置3的第二紅外線裝置30建立連接。 步驟S10,所述第二電子裝置3從所述觸控筆2的儲 存裝置22中讀取該第一藍牙裝置16的位址。 ® 步驟S12,所述第二電子裝置3的第二藍牙裝置34根 據所讀取第一藍牙裝置16的位址與所述第一電子裝置1 建立藍牙連接,從而實現資料的傳輸,然後結束本流程。 如圖3所示,是本發明藍牙連接方法的第二實施方式 的流程圖。為便於理解,下文結合圖4進行說明。如圖4 所示,第一電子裝置1包括觸摸屏10與觸控筆2、第一 RFID ( Radio Frequency Identification,射頻識別)閱讀器 q 18、第一處理器14與第一藍牙裝置16。所述的觸控筆2 包括RFID標籤24。 所述第一 RF1D閱讀器18可發射有輻射範圍的電磁 波,從而與RFID標籤24進行無線通訊。當所述RFID標 籤24進入該電磁波的輻射範圍内時,所述RFID標籤24 將所述第一 RFID閱讀器18所發射的電磁波能量儲存進而 轉換成電路所需的電能,然後所述第一 RFID閱讀器18將 儲存的資訊以電磁波的方式傳送給所述RFID標籤24。 所述的第二電子裝置3包括第二RFID閱讀器36、第 7 201041331 二處理器32以及第二藍牙裝置34。所述的第二電子裝置 3與所述的第一電子裝置1可分別藉由第二藍牙裝置34與 第一藍牙裝置16進行藍牙連接,從而實現資料的傳輸。 此外,所述的第二電子裝置3的第二RFID閱讀器36還可 與所述第一電子裝置1的觸控筆2中的RFID標籤24進行 連接。 首先,步驟S20,所述的第一處理器14獲取第一電子 裝置1内的第一藍牙裝置16的位址。 ® 步驟S22,利用第一電子裝置1内的第一 RFID閱讀 器18與所述觸控筆2的RFID標籤24建立無線連接。 步驟S24,將該獲取的第一藍牙裝置16的位址寫入到 所述觸控筆2的RFID標籤24中。 步驟S26,第二電子裝置3利用第二RFID閱讀器36 與所述觸控筆2的RFID標籤24建立連接。 步驟S28,所述第二電子裝置3的第二RFID閱讀器 q 36從所述觸控筆2的RFID標籤24中讀取該第一藍牙裝 置16的位址。 步驟S30,所述第二電子裝置3的第二藍牙裝置34根據 所讀取第一藍牙裝置16的位址與所述第一電子裝置1建立 藍牙連接,從而實現資料的傳輸,然後結束本流程。 綜上所述,本發明符合發明專利要件,爰依法提出專 利申請。惟,以上所述者僅為本發明之較佳實施方式,本 發明之範圍並不以上述實施方式為限,舉凡熟悉本案技藝 之人士援依本發明之精神所作之等效修飾或變化,皆應涵 201041331 蓋於以下申請專利範圍内。 【圖式簡單說明】 圖1是本發明藍牙連接方法的第 — 圖。 的弟一實施方式的流程 圖2是本發明藍牙連接 琦圖。 女的弟~~實施方式的運行環 圖3是本發明藍牙連接 逆接方法的第二實施方式的流程 圖。 0 ^ “疋本發明藍牙連接方法的第二實施方式的運行 境圖。 【主要元件符號說明】 第一電子裝置 1 觸摸屏 10 第一紅外線裝置 12 第一處理器 14 第一藍牙裝置 16 第一 RFID閱讀器 18 觸控筆 2 第三紅外線裝置 20 儲存裝置 22 RFID標籤 24 第二電子裝置 3 第二紅外線裝置 30 第二處理器 32 9 201041331 第二藍牙裝置 34 第二RFID閱讀器 36 獲取第一電子裝置内的第一藍牙裝置的位址 S20 令第一電子裝置的第一 RFID閱讀器與觸控筆的RFID 標籤建立連接 S22 將該獲取的位址寫入到所述觸控筆的RFID標籤中 S24 令第二電子裝置的第二RFID閱讀器與所述觸控筆的 ® RFID標籤建立連接 S26 從所述RFID標籤中讀取該第一藍牙裝置的位址S28 令第二電子裝置與第一電子裝置建立藍牙連接S30Reading the address of the first Bluetooth device; and the second Bluetooth device of the first _M spear-electronic device is connected to the first electronic device according to the read address. I set up a Bluetooth connection method according to the prior art, and the stylus can be used to quickly transmit the address of the Bluetooth device in the f-electronic device to the second electronic device to be connected for identification. Quickly establishing a tooth [Embodiment] ^ ° 5 201041331 As shown in FIG. 1, it is a flowchart of the first embodiment of the Bluetooth connection method of the present invention. The Bluetooth connection method of the present invention can be applied to a plurality of electronic devices to enable fast Bluetooth pairing and connection between a plurality of electronic devices. The electronic device may include different types, such as a mobile phone, a Personal Assistant (PDA), a brain, and the like. The electric Ο 〇 is explained from the following, and is explained below in conjunction with FIG. 2 . As shown in FIG. 2, the first electronic device 1 includes a job screen 1G and a stylus pen 2, a second processor 14 and a Bluetooth device 16. The touches include the second infrared device 2G and the storage device 22. The first electricity. The first infrared device 12 can be infrared-connected to the second and second strobes 20 of the stylus pen 2 to transmit related materials. The second I, the 22 can be a register 'for storing data, for example, a storage address. The second electronic device 3 of the first Bluetooth device 16 acquired by the device 1 includes a processor 32 and a second Bluetooth device 30, and the first and the first electronic device two Electronic device 3 - blue Bluetooth in addition to the second electronic as described; see the transmission of information. The second infrared device 30, which is placed on the first electronic device, can also be connected to the infrared. The third infrared ray in the stylus 2 is set to the first processor 14 to acquire the address of the first Bluetooth device 16 in the first thunder device 1. Taking the first electron 6 201041331 step S4, the first infrared device 12 in the first electronic device 1 is used to establish a wireless connection with the third infrared device 20 of the stylus pen 2. In step S6, the acquired address of the first Bluetooth device 16 is written into the storage device 22 of the stylus pen 2. In step S8, the third infrared device 20 of the stylus 2 is used to establish a connection with the second infrared device 30 of the second electronic device 3. In step S10, the second electronic device 3 reads the address of the first Bluetooth device 16 from the storage device 22 of the stylus pen 2. In step S12, the second Bluetooth device 34 of the second electronic device 3 establishes a Bluetooth connection with the first electronic device 1 according to the address of the first Bluetooth device 16 read, thereby realizing the transmission of data, and then ending the present Process. As shown in Fig. 3, it is a flowchart of the second embodiment of the Bluetooth connection method of the present invention. For ease of understanding, the following description will be made in conjunction with FIG. As shown in FIG. 4, the first electronic device 1 includes a touch screen 10 and a stylus pen 2, a first RFID (Radio Frequency Identification) reader, a first processor 14 and a first Bluetooth device 16. The stylus 2 includes an RFID tag 24. The first RF1D reader 18 can emit electromagnetic waves having a range of radiation to wirelessly communicate with the RFID tag 24. When the RFID tag 24 enters the radiation range of the electromagnetic wave, the RFID tag 24 stores the electromagnetic wave energy emitted by the first RFID reader 18 and converts it into electrical energy required by the circuit, and then the first RFID The reader 18 transmits the stored information to the RFID tag 24 in an electromagnetic wave. The second electronic device 3 includes a second RFID reader 36, a seventh 201041331 second processor 32, and a second Bluetooth device 34. The second electronic device 3 and the first electronic device 1 can be Bluetooth-connected to the first Bluetooth device 16 by the second Bluetooth device 34, thereby realizing data transmission. In addition, the second RFID reader 36 of the second electronic device 3 can also be connected to the RFID tag 24 in the stylus 2 of the first electronic device 1. First, in step S20, the first processor 14 acquires the address of the first Bluetooth device 16 in the first electronic device 1. ® Step S22, establishing a wireless connection with the RFID tag 24 of the stylus 2 by using the first RFID reader 18 in the first electronic device 1. In step S24, the acquired address of the first Bluetooth device 16 is written into the RFID tag 24 of the stylus pen 2. In step S26, the second electronic device 3 establishes a connection with the RFID tag 24 of the stylus 2 by using the second RFID reader 36. In step S28, the second RFID reader q 36 of the second electronic device 3 reads the address of the first Bluetooth device 16 from the RFID tag 24 of the stylus pen 2. Step S30, the second Bluetooth device 34 of the second electronic device 3 establishes a Bluetooth connection with the first electronic device 1 according to the address of the read first Bluetooth device 16, thereby implementing data transmission, and then ending the process. . In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. However, the above description is only the preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiments, and equivalent modifications or variations made by those skilled in the art in light of the spirit of the present invention are Ying Han 201041331 is covered by the following patent application. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a first diagram of a Bluetooth connection method of the present invention. Flow of an embodiment of the present invention Fig. 2 is a diagram showing the Bluetooth connection of the present invention. Female Brother~~ Operation Ring of Embodiment FIG. 3 is a flow chart of the second embodiment of the Bluetooth connection reverse connection method of the present invention. 0 ^ "The operating environment diagram of the second embodiment of the Bluetooth connection method of the present invention. [Main element symbol description] First electronic device 1 Touch screen 10 First infrared device 12 First processor 14 First Bluetooth device 16 First RFID Reader 18 stylus 2 third infrared device 20 storage device 22 RFID tag 24 second electronic device 3 second infrared device 30 second processor 32 9 201041331 second Bluetooth device 34 second RFID reader 36 acquisition first electronic The address S20 of the first Bluetooth device in the device causes the first RFID reader of the first electronic device to establish a connection with the RFID tag of the stylus S22, and writes the acquired address into the RFID tag of the stylus S24, establishing a connection between the second RFID reader of the second electronic device and the ® RFID tag of the stylus S26, reading the address S28 of the first Bluetooth device from the RFID tag, and causing the second electronic device to be the first Electronic device establishes Bluetooth connection S30