Comparison of Transmission Efficiency of Binary Data for Different Web Services - Taking OpenCV-for-PHP Image Processing for Example

碩士 === 國立高雄第一科技大學 === 電腦與通訊工程研究所 === 101 === In this thesis, we built a PHP-based environment for transmitting binary data between client/server, and compared the transmission time and the package size between two methods: Packaging binary files into SOAP messages, and using POST method of REST arch...

Full description

Bibliographic Details
Main Authors: Chun-Hsien Yu, 余俊賢
Other Authors: Wei-Chih Hsu
Format: Others
Language:zh-TW
Published: 2013
Online Access:http://ndltd.ncl.edu.tw/handle/40868044620154332451
Description
Summary:碩士 === 國立高雄第一科技大學 === 電腦與通訊工程研究所 === 101 === In this thesis, we built a PHP-based environment for transmitting binary data between client/server, and compared the transmission time and the package size between two methods: Packaging binary files into SOAP messages, and using POST method of REST architecture for transmission. According to the experiment result, the transmission time and the package size which were resulted by packaging files into SOAP messages were 1.772 and 1.333 times more than the files which were using POST method of REST architecture for transmission. When we were transmitting image files, we could call OpenCV functions in PHP to do image processing and the result would be shown on the web page. But so far, there''re just a few OpenCV functions in PHP. Therefore, we also introduced the procedures of developing PHP extensions for adding OpenCV functions in PHP in the future.