在Android裝置測試裡,用來傳遞ADB指令的傳輸連線若處於不穩定的狀態,將會影響在Android裝置上執行的測試結果,輕則增加測試運行的時間,重則中斷測試的運行,導致該次測試結果以失敗告終。本論文中,我們針對各種ADB的傳輸連線媒介進行傳輸實驗,分析與評估何種媒介為最穩定的傳輸路徑。本論文提出一使用USBIP技術之新方法,同時具備穩定、高速與遠端分享三種優點,並將新方法套入STF-CTP中,藉以改善STF-CTP在提供測試服務時,測試檔案傳輸速度過低的情況。將USBIP運用於STF-CTP再來執行Android測試,結果顯示新方法將有效的縮短檔案的傳輸時間,並使得測試執行的過程非常穩定。藉由新方法的導入也讓STF-CTP支援無線網路相關的測試案例,提升了服務的多樣性。
In running tests on an Android device, an unstable transmission medium used by the ADB (android debug bridge) can strongly affect the test result. An unstable transmission medium will probably increase the execution time of the test; in the worst case, it can cause the test to fail. In this thesis we do the experiment to figure out which transmission medium is the most stable. We propose a new method which uses USBIP to implement is stable, high speed and support remote-sharing. The new method is implemented into STF-CTP to improve the transmission speed. The result show that the new method reduces the test data transmission time drastically while improving connection stability Also, through the new method, STF-CTP now supports Wi-Fi related testing which was not previously possible.