201007569 九、發明說明: 【發明所屬之技術領域】 .本發明涉及一種測試系統及方法,尤其涉及—種駐牙 測試系統及方法。 【先前技術】 藍牙(Bluetooth)技術是一種短距離無線電技術是 全球化語音和資料無線傳輸的開放性統一標準規範,其目 的是取代資料電纜,使任何相互相容的可檇式和固定式設 ❹備之間進行低功耗、低成本、短距離的無線連接成為可能。 此技術工作在全球開放的2.4GHz ISM頻段,以提高語音和 資料資訊快速可靠傳送的無線電路為基礎,採用跳頻技術 提高抗干擾和抗衰減性能,其射頻部分採用高斯頻移鍵控 (GFSK)調製方式。它可提供23或79個通道,每個通道寬 度為1MHz。根據射頻部分發射功率的大小,現有藍牙設備 通常分為三級,常用的是一級,其發射功率為〇(1]8111左右, ❹傳輸距離可達米。運用藍牙技術,可以將家庭或辦公室 中的各種資料和語音設備組成一個微微網(pic〇_ne〇,還 可以用移動電話控制辦公室裏的影印機、傳真機等設備。 藍牙技術的運用和發展對於提高人類生活品質和改善辦公 條件有者巨大的推動作用。 目刖世界上已經發佈的藍牙設備有近5〇〇種。按照SIG 的要求’任何一個生產或銷售藍牙設備的公司必須首先簽 署藍牙協定成為藍牙組織成員,然後證明自己的產品符合 a牙系、’’先規範。其產品必須按藍牙設備測試規範逐一進行 201007569 驗證’列人合格產品,材享受藍牙組織協定所賦 利。因此’職牙設備進行賴成為產 、 少的一步。 疋门市%必不可 測試使用無線介面在本地執行啟_ (或硬體)介面在本地執行啟動操作。 =用軟體 ❺ ❹ 體)介面在本地執行啟動操作時:吏用軟體(或硬 掃描和查詢(lnquiry)掃插 ^破執行尋啤(Paging) 連接為止。而所述查詢婦插^到建立與藍牙測試儀器的 要一個額外的資料串週期/要哥找待測的電子裝置,需 例,當手機在出顧前,手機的术所有的響應,以手機為 如果進行尋呼掃描和查詢掃、’位址大部分都是相同的, 間。 田,必然會浪費大量的測試時 【發明内容】 鑒於以上内容,有必 法,可以有效地節省測試時^。供—種藍牙測試系統及方 用介查1^ 1系統包括電腦,該電腦透過通 用,丨面匯流排連接一個藍 RS232争口線連接—個遮/,、·成儀^所述電腦還透過 測電子裳置,所述&目’該遮罩箱内放置有一個待 有該待測電子裝置預=資料庫’該資料庫内儲存 用於根據㈣㈣電子省位址,所述藍牙測試儀 过炷:目,丨带7 我置預先設定的缺省地址尋呼查詢 接支,對裝I S立與该待測電子裝置的連接 ^建立連 述存〆則電子裝置進行藍牙測試;所述電腦包括 *、該藍牙K程式包括開啟模組 ,用於當 201007569 . 所述遮罩箱關閉後,發送指令給待測電子裝置,開啟所述 待測電子裝置的藍牙功能,使得該待測電子裝置進入測試 . 模式;接收模組,用於接收所述藍牙測試儀所發送的測試 結束的指令;發送模組,用於發送需要獲取的測試參數至 所述藍牙測試儀;所述接收模組,還用於接收所述藍牙測 試儀所回饋的測試參數值;及判斷模組,用於根據藍牙技 術規範判斷所接收的測試參數值是否合格。 一種藍牙測試方法,該方法包括如下步驟:提供一個 ❿由電腦、藍牙測試儀及遮罩箱組成的藍牙測試系統,該電 腦透過通用介面匯流排與該藍牙測試儀相連,該電腦還透 過RS232串口線與所述遮罩箱相連,該遮罩箱内放置有待 測電子裝置;關閉遮罩箱;該電腦發送指令給待測電子裝 置,開啟所述待測電子裝置的藍牙功能,使得該待測電子 裝置進入測試模式;所述藍牙測試儀根據所述待測電子裝 置預先設定的缺省地址尋呼查詢該待測電子裝置,建立與 該待測電子裝置的連接;建立連接後,該藍牙測試儀對所 ® 述待測電子裝置進行藍牙測試;所述電腦接收所述藍牙測 試儀所發送的其測試所述待測電子裝置測試結束的指令; 所述電腦發送需要獲取的測試參數至所述藍牙測試儀;所 述電腦接收所述藍牙測試儀所回饋的測試參數值;及根據 資料庫内儲存的藍牙技術規範判斷所接收的測試參數值是 否合格。 相較於習知技術,所述藍牙測試系統及方法,省去了 查詢掃描的步驟,節省了大量的藍牙測試時間。 9 201007569 【實施方式】 如圖1所示,是本發明藍牙測試系統較佳實施例的硬 體架構圖。該系統包括:電腦i、藍牙測試儀2、遮罩箱3 及待測電子裝置4。 β亥電知1上女裝有通用介面匯流排(General-Purpose Interface Bus,GPIB)卡 1〇1,該電腦 j 透過 GpiB 電纜 5 連接于所述藍牙測試儀2,本發明適用於型號為N4010A 的藍牙測試儀。 該藍牙測試儀2透過射頻電纜6連接於所述遮罩箱 3,所述射頻電纜可以用耦合天線代替。該遮罩箱3内放置 所述待測電子裝置4,該遮罩箱3用於防止藍牙測試時外 界信號的干擾,該待測電子裝置4可以為安裝有藍牙模組 的手機等電子裝置。例如:手機。 所述電腦1與所述遮罩箱3透過rs-232串口線7連 接。所述遮罩箱3内的頂針頂住該待測電子裝置4的通信 埠,該遮罩箱3透過該頂針與所述待測電子裝置4通信。 所述電腦1包括一個藍牙測試程式和一個資料庫 8,該資料庫8内儲存有待測電子裝置4的缺省位址,該缺 省地址為預先设定的12位16進制瑪,例如: 112233445566。當所述藍牙測試程式ι〇〇發送開啟指令給 該待測電子裝置4使其開啟藍牙功能後,所述藍牙測試儀 2根據預先設定的所述待測電子裝置的缺省位址進行尋呼 (paging)查詢,當該藍牙測試儀2與所述待測電子裝置 4連接成功後,该藍牙測試儀2對該待測電子裝置4進行 201007569 藍牙測試。 如圖2所示,是圖1中藍牙測試程式100的較佳實施 例的功能模組圖。所述模組是具有特定功能的軟體程式 段,該軟體儲存於電腦可讀儲存介質或其他儲存設備,可 被電腦或其他包含處理器的計算裝置執行,從而完成藍牙 測試的系列流程。所述藍牙測試程式100包括:設置模組 10、偵測模組12、開啟模組14、接收模組16、發送模組 18、判斷模組20及儲存模組22。 設置模組10用於設置路徑損耗補償值。在藍牙測試過 程中,信號在所述GPIB電纜5及射頻電纜6的傳輸過程 中會有損耗,該路經損耗補償值用於補償測試所述待測電 子裝置4的過程中的電纜損耗。 偵測模組12用於偵測所述遮罩箱3是否關閉。若遮罩 箱3關閉,該遮罩箱3發送指令給該偵測模組12,該偵測 模組12接收到該指令則表示該遮罩箱3已經關閉。 開啟模組14用於當遮罩箱3關閉時,發送AT (Attention )指令給待測電子裝置4,開啟所述待測電子 裝置4的藍牙功能,使得該待測電子裝置4進入測試模式。 接收模組16用於接收所述藍牙測試儀2所發送的其測 試所述待測電子裝置4測試結束的指令。 發送模組18用於發送需要獲取的測試參數至所述藍 牙測試儀2。所述測試參數包括:誤碼率、射頻功率值等。 所述接收模組16還用於接收所述藍牙測試儀2所回饋 的測試參數值。 11 201007569 判斷模組20用於根據藍牙技術規範判斷所接收的測 試參數值是否合格。如果合格’則結束測試;如果不合格, 重新測試一次,若第二次測試結果仍舊不符合所述藍牙技 術規範,則結束對該待測電子裝置4的測試,測試人員對 所述待測電子裝置4進行檢修。 儲存模組22用於將所述測試結果儲存於資料庫8中, 並以表格的形式呈現給測試人貢,該表格内㈣容包括: ❹ 參 測試專案、藍牙技賴範、職參錄、測朗間及測試 版本等。 如圖3所示,是本發明藍牙剛試方法較佳實施例的作 業流程圖。 步驟㈣,設置敎㈣w徑損耗補償值 測試過程中,信號在所述GPIB雷繼ς a 6 才 輸過程中會有損耗,該路關耗射贼/ 6的傳 待測電子裝置4的過程中的電纜續二。用於補㈣試所述 步驟S 3 2,關閉遮罩箱3 ’ t則模組 箱3是否_。若遮罩箱3關閉, j所迷遮罩 該偵測模組12,該偵測模組12 _ 目务送指令給 罩箱3已經關閉。 接收到該指令則表示該遮 則2=)==^4,叫14發送 :裝置4的藍牙功能’使得該㈣電子裝 置4 步驟S36,所述藍牙測試儀2對所述待測電子裝 12 201007569 尋呼掃描’建立與所述待測電子袭置4的連接。 步驟S38,所述藍牙測試儀2連接上所述待測電子裝 置4後,該藍牙測試儀2對該待測電子裝置4進行礬牙測 試。 步驟S40,藍牙測試儀2對所述待測電子裝| 4測試 完成後’發送測試結束指令給接收模組16。201007569 IX. INSTRUCTIONS: [Technical Field of the Invention] The present invention relates to a test system and method, and more particularly to a dental test system and method. [Prior Art] Bluetooth technology is a short-range radio technology that is an open and unified standard specification for global voice and data transmission. Its purpose is to replace the data cable and make any compatible compatible and fixed devices. Low-power, low-cost, short-range wireless connectivity between devices is possible. This technology works in the global open 2.4GHz ISM frequency band. Based on the wireless circuit that improves the fast and reliable transmission of voice and data information, it uses frequency hopping technology to improve anti-interference and anti-attenuation performance. Its RF part adopts Gaussian frequency shift keying (GFSK). )Modulation. It provides 23 or 79 channels, each with a width of 1MHz. According to the size of the transmitting power of the radio frequency part, the existing Bluetooth devices are usually divided into three levels, and the commonly used one is a level, and the transmitting power is about 81(1]8111, and the transmission distance is up to meters. Using Bluetooth technology, the home or office can be used. Various data and voice devices form a piconet (pic〇_ne〇, you can also use mobile phones to control the photocopiers, fax machines, etc. in the office. The use and development of Bluetooth technology to improve the quality of life and improve office conditions There are nearly five kinds of Bluetooth devices that have been released in the world. According to the requirements of the SIG, any company that produces or sells Bluetooth devices must first sign the Bluetooth protocol to become a member of the Bluetooth organization and then prove itself. The product conforms to a dental system, ''first specification. Its products must be verified according to the Bluetooth equipment test specification 201007569. 'Qualified products are listed. The materials enjoy the benefits of the Bluetooth organization agreement. Therefore, the equipment of the dental equipment is produced and produced. One step. Tuen Mun City must not be tested using the wireless interface to perform local activation _ (or hard The interface performs the startup operation locally. = When using the software ❹ ) interface to perform the startup operation locally: 软 use the software (or hard scan and query (lnquiry) to insert the Paging connection. Query the woman inserting ^ to establish an additional data string cycle with the Bluetooth test instrument / to find the electronic device to be tested, need to be, when the phone is in front of the phone, all the responses of the phone, if the phone is Paging scanning and query scanning, 'the address is mostly the same, between. Field, will inevitably waste a lot of testing time [invention content] In view of the above content, there is a law, can effectively save the test time ^. A kind of Bluetooth test system and the application of the 1^1 system includes a computer. The computer is connected to a blue RS232 squad line through a universal, kneading busbar--a cover/,,,,,, Electronically placed, said & </ RTI> in the hood is placed with a waiting for the electronic device to be tested pre-data library' stored in the database for use according to (4) (four) electronic provincial address, the Bluetooth tester炷: I carry a preset default address paging query, and connect the IS to the electronic device to be tested. The electronic device performs Bluetooth test; the computer includes *, the The Bluetooth K program includes an opening module for transmitting a command to the electronic device to be tested after the cover box is closed, and turning on the Bluetooth function of the electronic device to be tested, so that the electronic device to be tested enters the test mode. a receiving module, configured to receive an instruction for ending the test sent by the Bluetooth tester; a sending module, configured to send the test parameter that needs to be acquired to the Bluetooth tester; and the receiving module is further configured to receive The test parameter value fed back by the Bluetooth tester; and the judging module, configured to judge whether the received test parameter value is qualified according to the Bluetooth technical specification. A Bluetooth test method, comprising the steps of: providing a Bluetooth test system consisting of a computer, a Bluetooth tester and a mask box, the computer being connected to the Bluetooth tester through a universal interface bus, the computer also passing through the RS232 serial port a line is connected to the hood box, the electronic device to be tested is placed in the hood; the hood is closed; the computer sends a command to the electronic device to be tested, and the Bluetooth function of the electronic device to be tested is turned on, so that the The electronic measuring device enters a test mode; the Bluetooth tester queries the electronic device to be tested according to a default address preset by the electronic device to be tested, and establishes a connection with the electronic device to be tested; after establishing a connection, the Bluetooth The tester performs a Bluetooth test on the electronic device to be tested; the computer receives an instruction sent by the Bluetooth tester to test the end of the test of the electronic device to be tested; and the computer sends the test parameter to be obtained to the computer The Bluetooth tester; the computer receives the test parameter value fed back by the Bluetooth tester; and stores according to the database Test parameter values Bluetooth specification determines whether the received qualified. Compared with the prior art, the Bluetooth test system and method eliminates the steps of query scanning and saves a lot of Bluetooth test time. [Embodiment] As shown in Fig. 1, it is a hardware architecture diagram of a preferred embodiment of the Bluetooth test system of the present invention. The system includes: a computer i, a Bluetooth tester 2, a mask box 3, and an electronic device 4 to be tested. β海电知1 has a General-Purpose Interface Bus (GPIB) card 〇1, which is connected to the Bluetooth tester 2 via a GpiB cable 5, and the present invention is applicable to the model N4010A. Bluetooth tester. The Bluetooth tester 2 is connected to the hood 3 via a radio frequency cable 6, which can be replaced by a coupled antenna. The electronic device 4 to be tested is placed in the mask box 3, and the mask box 3 is used to prevent interference from external signals during the Bluetooth test. The electronic device 4 to be tested may be an electronic device such as a mobile phone equipped with a Bluetooth module. For example: mobile phone. The computer 1 and the mask box 3 are connected via an rs-232 serial line 7. The thimble in the hood 3 is in contact with the communication port of the electronic device 4 to be tested, and the hood 3 communicates with the electronic device 4 to be tested through the ejector pin. The computer 1 includes a Bluetooth test program and a database 8 in which the default address of the electronic device 4 to be tested is stored. The default address is a preset 12-digit hexadecimal number, for example : 112233445566. After the Bluetooth test program sends an open command to the electronic device under test 4 to enable the Bluetooth function, the Bluetooth tester 2 performs paging according to a preset default address of the electronic device to be tested. After the Bluetooth tester 2 is successfully connected to the electronic device 4 to be tested, the Bluetooth tester 2 performs a 201007569 Bluetooth test on the electronic device 4 to be tested. As shown in FIG. 2, it is a functional module diagram of a preferred embodiment of the Bluetooth test program 100 of FIG. The module is a software program with a specific function. The software is stored in a computer readable storage medium or other storage device and can be executed by a computer or other computing device including a processor to complete a series of processes of Bluetooth testing. The Bluetooth test program 100 includes a setting module 10, a detecting module 12, an opening module 14, a receiving module 16, a transmitting module 18, a determining module 20, and a storage module 22. The setting module 10 is used to set a path loss compensation value. During the Bluetooth test, signals are lost during transmission of the GPIB cable 5 and the RF cable 6, and the path loss compensation value is used to compensate for cable loss during the test of the electronic device 4 to be tested. The detecting module 12 is configured to detect whether the mask box 3 is closed. If the mask box 3 is closed, the mask box 3 sends a command to the detecting module 12, and the detecting module 12 receives the command to indicate that the mask box 3 has been closed. The opening module 14 is configured to send an AT (Attention) command to the electronic device 4 to be tested when the hood 3 is closed, and turn on the Bluetooth function of the electronic device 4 to be tested, so that the electronic device 4 to be tested enters the test mode. The receiving module 16 is configured to receive an instruction sent by the Bluetooth tester 2 to test the end of the test of the electronic device 4 to be tested. The transmitting module 18 is configured to send test parameters that need to be acquired to the Bluetooth tester 2. The test parameters include: a bit error rate, a radio frequency power value, and the like. The receiving module 16 is further configured to receive a test parameter value fed back by the Bluetooth tester 2. 11 201007569 The judging module 20 is configured to judge whether the received test parameter value is qualified according to the Bluetooth technical specification. If the test is qualified, the test is terminated; if it is not, the test is repeated. If the second test result still does not meet the Bluetooth technical specifications, the test of the electronic device 4 to be tested is terminated, and the tester checks the electronic device to be tested. The device 4 is inspected. The storage module 22 is configured to store the test result in the database 8 and present it to the tester in the form of a table. The (4) content includes: ❹ test project, Bluetooth technology, job registration, Measure and test versions. As shown in Fig. 3, it is a flowchart of the operation of the preferred embodiment of the Bluetooth test method of the present invention. Step (4), in the process of setting the 敎(4)w loss compensation value test, the signal will be lost during the transmission of the GPIB Lei ς ς a 6 , and the way to pass the thief / 6 to pass the electronic device 4 to be tested The cable continues. For the supplement (4) test, step S 3 2, close the mask box 3 ’ t, then the module box 3 is _. If the hood 3 is closed, the detection module 12 is masked by the j, and the detection module 12 _ is sent to the cover 3 to be closed. Receiving the instruction, the mask is 2=)==^4, and 14 is sent: the Bluetooth function of the device 4 is such that the (four) electronic device 4 is step S36, and the Bluetooth tester 2 mounts the electronic device to be tested 12 201007569 The page scan 'establishes a connection with the electronic attack 4 to be tested. In step S38, after the Bluetooth tester 2 is connected to the electronic device 4 to be tested, the Bluetooth tester 2 performs a tooth decay test on the electronic device 4 to be tested. In step S40, the Bluetooth tester 2 sends a test end command to the receiving module 16 after the test of the electronic device to be tested is completed.
步驟S42’所述接收模組μ接收到所述藍牙測試結束 指令後’發送模組18發送需要獲取的測試參數至所述藍牙 測試儀2。所述測試參數包括:誤碼率、射頻功率值等。 步驟S44,所述接收模組16接收所述藍牙測試儀2所 回饋的測試參數值。 步驟S46’f赫馳μ將料職絲料於資料庫 8中’並以表格的形式呈現給測試人員,該表格内的内容 包括:測試專案、藍牙技術規範、測試參數值、測試時間 及測試版本等。 步驟S48,判_組2〇根據藍牙技術規範麟所接收 的測試參數值Μ合格。如果諸,職束如;如果不 合格,則賴至步驟S32, 結果仍舊料,騎料⑽測= 裝置人員對所述待測電子褒置4進行檢修。 二上収,切_合發料料件,纽 利申凊。上魏者僅為本發明 明之範圍並不以上述實施例為限,舉凡孰 士援依本發明之精神所作之等效修―I,皆應;= 13 201007569 以下申請專利範圍内。 【圖式簡單說明】 圖1係本發明藍牙測試系統較佳實施例之硬體架構 圖。 圖2係圖1中藍牙測試程式100的較佳實施例之功能 模組圖。 圖3係本發明藍牙測試方法較佳實施例之作業流程圖。 【主要元件符號說明】After the receiving module μ receives the Bluetooth test end command, the sending module 18 sends the test parameter that needs to be acquired to the Bluetooth tester 2. The test parameters include: a bit error rate, a radio frequency power value, and the like. Step S44, the receiving module 16 receives the test parameter value fed back by the Bluetooth tester 2. Step S46'fHerchi μ will feed the material in the database 8' and present it to the tester in the form of a table, the contents of the table include: test project, Bluetooth technical specifications, test parameter values, test time and test Version, etc. In step S48, the _ group 2 Μ is qualified according to the test parameter value received by the Bluetooth technical specification lin. If the job is as follows, if it is not qualified, it will go to step S32, and the result is still the same. The rider (10) test = the equipment personnel inspect the electronic device 4 to be tested. Second, close, cut _ joint materials, New Zealand. The above is only the scope of the present invention and is not limited to the above-described embodiments, and the equivalent repairs of the spirit of the present invention are all in accordance with the spirit of the present invention; = 13 201007569 Within the scope of the following patent application. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a hardware architecture diagram of a preferred embodiment of the Bluetooth test system of the present invention. 2 is a functional block diagram of a preferred embodiment of the Bluetooth test program 100 of FIG. 1. 3 is a flow chart showing the operation of the preferred embodiment of the Bluetooth test method of the present invention. [Main component symbol description]
電腦 1 藍牙測試儀 2 遮罩箱 3 待測電子裝置 4 GPIB電纜 5 射頻電纜 6 GPIB 卡 101 RS-232 串口線 7 資料庫 8 藍牙測試程式 100 設置模組 10 偵測模組 12 開啟模組 14 接收模組 16 發送模組 18 判斷模組 20 14 201007569 . 儲存模組 22 • 設置路徑損耗補償值 S30 _ 關閉遮罩箱 S32 開啟待測電子裝置的藍牙功能,使得該待測電子裝置 進入測試模式 S34 藍牙測試儀對所述待測電子裝置尋呼掃描,建立連結 S36 藍牙測試儀對該待測電子裝置進行藍牙測試 S38 Φ 藍牙測試儀對所述待測電子裝置測試完成後,發送測 試結束指令給電腦 S40 電腦發送需要獲取的測試參數至所述藍牙測試儀 S42 電腦接收所述藍牙測試儀所回馈的測試參數值S44 儲存藍牙測試結果至資料庫 S 4 6 所接收的測試參數值是否符合藍牙技術規範 S48 15Computer 1 Bluetooth Tester 2 Cover Box 3 Electronic Device to Be Tested 4 GPIB Cable 5 RF Cable 6 GPIB Card 101 RS-232 Serial Cable 7 Database 8 Bluetooth Test Program 100 Setup Module 10 Detection Module 12 Open Module 14 Receiving module 16 transmitting module 18 determining module 20 14 201007569 . Storage module 22 • setting path loss compensation value S30 _ closing mask box S32 turning on the Bluetooth function of the electronic device to be tested, so that the electronic device to be tested enters the test mode S34 Bluetooth tester scans the electronic device to be tested, establishes a connection S36 Bluetooth tester, performs Bluetooth test on the electronic device to be tested S38 Φ After the Bluetooth tester completes the test of the electronic device to be tested, sends a test end instruction Sending the test parameters to be acquired to the computer S40 computer to the Bluetooth tester S42. The computer receives the test parameter value S44 fed back by the Bluetooth tester. The Bluetooth test result is stored to the database. The test parameter value received by the database S 4 6 is in compliance with the Bluetooth. Technical specification S48 15