531979 I ' I五、發明說明(l) 【發明技術領域】 本發明係有關一種可設定之藍芽裝置聯繫異常警示方 法,特別係指一種以藍芽裝置中之中央處理器以HC I指令 周期性檢查連結品質數值且與可設定比較值比較而能得知 聯繫異常之方法。 【發明背景】 發展始於1 9 9 8年初而目前由藍芽特殊利益小組 (Bluetooth Special Interest Group)推廣之藍芽技術 是一種低功率之無線電技術。 其將來發展可取代用來連接個 腦和行動電話等眾多手提設備 用空間清爽化,且可減少繁雜 惟,一般藍芽裝置於聯繫異常 一直到聯繫中斷時,使用者才 者就必須花費大量時間和精力 繫,如果發生頻繁,這些都將 早得知聯繫異常會產生,使用 聯繫異常產生。 【發明概述】 因而,本發明之主要目的 置聯繫異常警示方法,俾使一 立聯繫後,各方藍芽裝置之中 人電腦、印表機、掌上型電 之電纜線,以將這些設備運 的連線過程。 時並無警示以提醒使用者, 會發覺聯繫異常。此時使用 重新建立起兩者之間的聯 呈倍數之浪費。而如果能及 者就能儘速採取措施以避免531979 I 'I V. Description of the Invention (1) [Technical Field of the Invention] The present invention relates to a settable Bluetooth device connection abnormality warning method, and particularly refers to a HC I instruction cycle using a central processor in a Bluetooth device. The method to check the quality of the connection and compare it with a settable comparison value to know the abnormality of the connection. [Background of the Invention] Bluetooth technology, which started in early 1988 and is currently being promoted by the Bluetooth Special Interest Group, is a low-power radio technology. Its future development can replace the refreshing space of many portable devices used to connect a brain and a mobile phone, and can reduce the complexity. Generally, Bluetooth devices have to spend a lot of time when the connection is abnormal until the connection is interrupted. And the energy department, if it happens frequently, these will know that contact anomalies will occur early, using contact anomalies. [Summary of the Invention] Therefore, the main purpose of the present invention is to provide a connection abnormality warning method. After initiating a contact, the cables of the personal computer, printer, and palmtop in the Bluetooth device of each party can be connected to these devices. Line process. There are no warnings to remind users that they will notice abnormal contact. At this time, it is wasteful to re-establish the multiples between the two. And if you can, you can take steps as soon as possible to avoid
係提供一種可設定之藍芽裝 藍芽裝置與另一藍芽裝置建 央處理器以藍芽標準之HCIProvides a configurable Bluetooth device. Bluetooth device and another Bluetooth device. The central processor uses the Bluetooth standard HCI.
531979 五、發明說明(2) (Host Controller Interface)指令周期性檢查連結 (Link)品質數值。 | 本發明之次一目的係提供一種可設定之藍芽裝置聯繫 . 異常警示方法,當所檢查出之品質數值低於比較值時,藍 i芽裝置之中央處理器即透過警示元件發出警示訊號(如振… I動、響鈴或螢幕顯示)以提醒藍芽裝置之使用者。 1 本發明之又一目的係提供一種可設定之藍芽裝置聯繫 異常警示方法,期以警示訊號提醒使用者,使用者即可適 時處理(如拉近兩裝置之距離),以降低聯繫中斷之機 率 本發明之又一目的係提供一種可設定之藍芽裝置聯繫 異常警示方法,當品質數值恢復高於比較值時,裝置之中 央處理器即停止發出警示。 本發明之又一目的係提供一種可設定之藍芽裝置聯繫 異常警示方法,允許使用者於兩個已建立聯繫之藍芽裝置 間調整距離,並以當時距離所讀取之數次品質數值平均值 做為比較值,以達到適合不同使用者之聯繫異常警示需 求,而使不同使用者可有不同距離之聯繫異常警示設定。 本發明之這些目的和其它目的、特點和優點藉由以下 說明配合圖式對熟悉該項技藝人士將更清晰明瞭。 4 【發明詳細說明】 首先,請參閱第1圖。第1圖係兩藍芽裝置建立聯繫後 檢查連結品質數值之訊息流程圖。由圖中可知,在兩藍芽531979 V. Description of the Invention (2) The (Host Controller Interface) command periodically checks the link quality value. The second purpose of the present invention is to provide a configurable Bluetooth device connection. Abnormal warning method, when the quality value detected is lower than the comparison value, the central processor of the Bluetooth device sends a warning signal through the warning element (Such as vibrating ..., ringing or screen display) to remind users of Bluetooth devices. 1 Another object of the present invention is to provide a settable bluetooth device contact abnormality warning method, with a warning signal to remind the user that the user can handle it in a timely manner (such as reducing the distance between the two devices) to reduce the interruption of contact Probability Another object of the present invention is to provide a settable bluetooth device connection abnormality warning method. When the quality value recovers to a higher value, the central processing unit of the device stops issuing a warning. Another object of the present invention is to provide a settable Bluetooth device connection abnormality warning method, which allows a user to adjust the distance between two Bluetooth devices that have established a connection, and averages the quality values read several times at that time. The value is used as a comparison value to meet the needs of contact anomaly warning for different users, so that different users can have contact anomaly warning settings at different distances. These and other objects, features, and advantages of the present invention will become clearer to those skilled in the art through the following description in conjunction with the drawings. 4 [Detailed description of the invention] First, please refer to FIG. Figure 1 is a message flow chart for checking the link quality value after two Bluetooth devices have established a connection. As can be seen from the figure,
第5頁 531979 丨五、發明說明(3) i 裝置要建立聯繫關係時,其中一藍芽裝置會由中央處理單 元透過藍芽模組發出一詢問命令(步驟11)到另一藍芽裝 |置之藍芽模組中,該另一藍芽裝置之中央處理單元即會進 -I行詢問掃描(步驟12),當發出詢問之藍芽裝置收到由另 卜藍芽裝置之回答詢問後,藍芽模組會送回一收到回答之 訊號到中央處理單元(步驟1 3),該中央處理單元即下一 |建立聯繫指令至藍芽模組(步驟14),藍芽模組於接到指 i令後,以已建立聯繫告知中央處理單元(步驟15)。 兩藍芽裝置在建立聯繫之後,任一方藍芽裝置之中央處理 單元周期性發出 HCI( Host Controller Interface)指令· 至藍芽模組檢查連結(Link)品質數值(步驟16),藍芽 模組接到指令後即回報中央處理單元連結品質數值(步驟 1 7)。周期性地重複步驟1 6和1 7就可隨時得知品質數值。 上述之HC I係指藍芽裝置控制器與藍芽晶片模組之間用以 傳遞資料或指令之介面,而HC I指令則是藍芽裝置控制器 用以控制藍芽晶片模組之指令,而這些均為熟習該項技藝 人士所熟知,故在此不多贅述。 再請參閱第2圖,第2圖係軟體控制流程圖。由圖中顯 示在藍芽裝置開機後(步驟2 0),等待與另一藍芽裝置建 立聯繫(步驟21),檢查是否與另一藍芽裝置建立聯繫 | (步驟2 2),若還未建立聯繫的話,則回到步驟21,繼續 做聯繫建立之確認;若確認與另一藍芽裝置建立聯繫,則 將警示旗標設定為0(此狀況為聯繫建立而未有異常產生 )(步驟2 3),此時即可啟動檢查連結品質定時器(步驟531979 丨 Fifth, the description of the invention (3) When the device is to establish a connection relationship, one of the Bluetooth devices will issue a query command (step 11) from the central processing unit through the Bluetooth module to another Bluetooth device | In the Bluetooth module, the central processing unit of the other Bluetooth device will perform an -I inquiry scan (step 12). When the Bluetooth device that sent the inquiry received the answer from the other Bluetooth device, the Bluetooth The bud module will send back a received signal to the central processing unit (step 13), the central processing unit will be the next | establish a connection instruction to the bluetooth module (step 14). After instructing i, the central processing unit is notified with the established contact (step 15). After the two Bluetooth devices establish a connection, the central processing unit of either Bluetooth device periodically issues an HCI (Host Controller Interface) command. • Check the Link quality value of the Bluetooth module (step 16). The Bluetooth module After receiving the instruction, it reports the central processing unit link quality value (step 17). Repeat steps 16 and 17 periodically to get the quality value at any time. The above HC I refers to the interface used to transfer data or instructions between the Bluetooth device controller and the Bluetooth chip module, and the HC I instruction is the instruction used by the Bluetooth device controller to control the Bluetooth chip module, and These are well known to those skilled in the art, so I won't go into details here. Please refer to Figure 2 again, which is a software control flow chart. As shown in the figure, after the Bluetooth device is powered on (step 20), wait to establish a connection with another Bluetooth device (step 21), and check whether it is established with another Bluetooth device | (step 2 2), if not yet If a connection is established, go back to step 21 and continue to confirm the establishment of the connection; if it is confirmed that the connection is established with another Bluetooth device, set the warning flag to 0 (this condition is that the connection is established without any abnormality) (step 2 3), you can start the check link quality timer (step
第6頁 531979 五、發明說明(4) ~~一'~ ' 一-—~ —— 24)後進入等待事件狀態(步驟25)。 在上,之等待事件(步驟25)之後,可有下列四種 ί 各 是收到連結品質數值(步驟26),此時Ϊ : 處理器會判斷是否低於比較值(步驟29)。 低於比較值(即表示未有異常產或、 中)1mA 即是否警示訊號仍在發出 :)(4 291),右否的話,即表示裝置並未在警示 =,則直接進入等待事件(步驟294);若警示旗標為工 OVA前2=常ΐί:目前已排除),則將警示旗標設回 〇(步驟292),仔止警示(步驟293)後直接進入 |件狀態(步驟294) ^在上述步驟29中,若判定連社。 數ϊ低於比較值,聯繫異常將產生,故警示器即發:V示 (步驟2 9 5)並將警示旗樟畸宏&r丰_ 〇Λρ、 《曰丁 待事件狀態(步驟⑽Γ…1(步驟296)而進入等 第二種狀況即是檢查連結品質定時器時間到(步驟27 ),此時必須重置定時器(步驟271),再送出檢查連結 ,口質指令(步驟272)彳4進人等待事件狀態( 此等步驟可達周期性檢查連結品質數值之效果。 第三種狀況係有關比較值之設定。首先,使用者調整 兩藍芽裝置之距離(步驟251),其中該距離可為調整希 望警不之最遠距離,而後讀取數次連結品質數值平均值做 為比較值(步驟2 52),接著,判斷上面步驟所得之比較 值是否高於預設值(步騍253),此預設值可為預設之最 大值。若高於預設值,則以預設值為比較值(步驟25 6) 後狀況係藍芽裝置要被中斷聯繫(步驟 妒殽器仔止(步驟281)而進入尋求與另一藍; 外繫之等待中(步驟282)。 上述之各種方法所採用之邏輯觀念及其配 見、習該項技藝人士所能輕易了解並加以實施, 之重點,故在此不多贅述。 本發明所揭示之方法可周期性檢查連結品質數 f置聯繫異常時可發出警示訊號提醒使用者, 裝置間聯繫中斷之機率,頗具功效,且以關 才欢查連、纟σ 0口質數值,未發現具相同用途之發明 531979 五、發明說明(5) 1枯入等待事件狀態(步驟255);若該比較> =,則將先前儲存之比較值更新成上述所得 二驟254)後進入等待事件狀態(步驟2 比較值之設定。 一 f後’請參閱第3圖。第3圖係兩藍芽裝置 忍圖。由圖中可知一般藍芽裝置3〇包含藍 1體32和中央處理器33,其中藍芽模組31又 =( RF unit)和基頻單元 312 ( Baseband 天,35。兩藍芽褒置要建立聯繫時節透過 、藍芽模組31和天線35間之連線以發出和接 m關係,此為熟習該項技藝人士所熟知。 =一,。而本發明則增設了如響鈴34 1和振動J 二不器34’藉由上面所述之方法,可啟動警示 牙裝置聯繫異常之警示效果。 i未高於預 之比較值 而完成整個 2 8)時,將 戸裝置建立 建立聯繫時 芽模組3卜 包含射頻單 unit)且夕卜 中央處理器 收指令而建 故在此不多 &達342等之 器而達到藍 合電路皆為 亦非本發明 值,於藍芽 以降低藍芽 ,令周期性 。故本發明 531979 五、發明說明(6) 確具產業利用性、新穎性與進步性,爰提出發明專利申 請。 惟以上所述者,僅為本發明之一較佳實施例而已,並非用 來限定本發明實施之範圍。故即凡依本發明申請專利範圍 所述之形狀、構造、特徵及精神所為之均等變化與修飾, 均應包括於本發明之申請專利範圍内。Page 6 531979 V. Description of the invention (4) ~~ 一 '~' 一 --- ~ —— 24) After entering the wait event state (step 25). After the above, waiting for the event (step 25), there are the following four types: each is receiving the link quality value (step 26), and at this time: the processor will determine whether it is lower than the comparison value (step 29). If the value is lower than the comparison value (that is, there is no abnormal production or middle), 1mA means whether the warning signal is still being issued:) (4 291), if it is not right, it means that the device is not warning =, then directly enter the waiting event (step 294); If the warning flag is in front of OVA 2 = Chang ΐί: currently excluded), set the warning flag back to 0 (step 292), and enter the state of the file directly after the warning (step 293) (step 294 ) ^ In step 29 above, if it is determined that the company is associated. If the number is lower than the comparison value, a contact anomaly will occur, so the alarm will be issued: V (step 2 9 5) and will alert the flag camphor macro & r 丰 _ 〇Λρ, "Ying Ding waiting event status (step ⑽Γ … 1 (step 296) and entering the second state is the time to check the connection quality timer (step 27). At this time, you must reset the timer (step 271), and then send the check link and the dictation command (step 272). ) 彳 Entering the waiting event state (These steps can achieve the effect of periodically checking the connection quality value. The third condition is the setting of the comparison value. First, the user adjusts the distance between the two Bluetooth devices (step 251), The distance can be adjusted to the longest distance that the police can't be expected, and then read the average value of the connection quality value several times as a comparison value (step 2 52), and then determine whether the comparison value obtained in the above step is higher than a preset value ( Step 253), this preset value can be the preset maximum value. If it is higher than the preset value, the preset value is compared (step 25 6). After the condition is that the Bluetooth device is to be disconnected (step jealousy) Confused (step 281) and enters the search with another blue The waiting of the external department (step 282). The logical concepts and their opinions used in the above methods, the key points that those skilled in the art can easily understand and implement, so I will not repeat them here. The disclosed method can periodically check the quality of the link, and can send a warning signal to remind the user when the connection is abnormal. The probability of the interruption of the connection between the devices is very effective. The invention with the same purpose was found 531979 V. Description of the invention (5) 1 The state of waiting for the event (step 255); if the comparison > =, the previously stored comparison value is updated to the second step 254 obtained above and the process enters the waiting state. Event status (setting of the comparison value in step 2. After f, please refer to Figure 3. Figure 3 is the tolerance map of two Bluetooth devices. From the figure, it can be seen that the general Bluetooth device 30 includes a blue 1 body 32 and a central processing unit. 33, of which the Bluetooth module 31 = (RF unit) and the baseband unit 312 (Baseband day, 35. The two Bluetooth devices need to establish a connection season, through the connection between the Bluetooth module 31 and the antenna 35 to send out And connection m, this is familiar with this item Those skilled in the art are familiar with: = 1, and the present invention adds a ringing device 34 1 and a vibration J 2 dimmer 34 '. By the method described above, the warning effect of the alarm device can be activated. I is not high When the comparison value is completed and the entire 2 8) is completed, when the device is established and established, the bud module 3 (including the radio frequency single unit) is received and the central processor receives the instructions, so it is not much here & up to 342, etc. It is not the value of the present invention to reach the blue circuit by the device. It is to reduce the blue bud and make the periodicity in the blue bud. Therefore, the invention 531979 V. Description of the invention (6) It has industrial applicability, novelty, and progress. File an invention patent application. However, the above is only one preferred embodiment of the present invention, and is not intended to limit the scope of implementation of the present invention. Therefore, all equivalent changes and modifications in the shape, structure, characteristics and spirit described in the scope of patent application of the present invention shall be included in the scope of patent application of the present invention.
第9頁 531979 圖式簡單說明 結 查 檢 後 繫 聯 立 置 裝 芽 藍 兩 示 顯聚 驟 1 步 圖 明 自9 說彳訊 單->;,之 簡係值 式3數 圖 一1|質 t第品 制 控 V 警 圖 2 之 第常 流 異 繫 聯 置 裝 芽 藍一 之 明 發 本 據 依 示 顯 圖 驟 步 及 以 之 第置 係 圖 裝 芽 藍一 之 明 發 本 據 依 示 顯 圖 意 示 塊 方 係 結 >gc 之 間 其 及 件 部 成 構 【圖號簡單說明】 30藍芽裝置 3 1藍芽模組 3 11射頻單元 3 1 2基頻單元 3 2記憶體 3 3中央處理器 34警示器 341響鈴 3 4 2振動馬達 3 5天線Page 9 531979 The diagram is a simple illustration of the two steps of the simultaneous installation of the bud display blue after the inspection and inspection. Step 1 is shown in Figure 9. Since the simple explanation of the value is 3, the figure 1 1 | t 第 品 制 控 V Alarm Figure 2 The step of showing the bright hair of the Changli Heilongjiang joint installation of Bulan Blue One and the step of showing the bright hair of the Yilan Lanyi according to the drawing The figure shows the structure of the block and the connection between it and the parts. [Simplified description of the drawing number] 30 Bluetooth device 3 1 Bluetooth module 3 11 RF unit 3 1 2 Baseband unit 3 2 Memory 3 3 Central processor 34 Alarm 341 Bell 3 4 2 Vibration motor 3 5 Antenna