首页 | 本学科首页   官方微博 | 高级检索  
     

MATLAB和Servlet在网络数据处理中的应用
引用本文:雷文华,薛小文.MATLAB和Servlet在网络数据处理中的应用[J].电子测试,2010(11):81-86.
作者姓名:雷文华  薛小文
作者单位:1. 西藏大学理学院
2. 拉萨中学,西藏,拉萨,850000
摘    要:为了能方便技术人员利用互联网资源实现资源共享,降低开发成本,针对当前MATLAB在Web应用中存在的一些问题,提出了一种将MATLAB应用部署在服务器端,在B/S架构下通过客户端浏览器提交数据处理请求,服务器端调用MATLAB应用对数据处理并将结果通过http协议返回给客户的数据处理方式。采用MATLABJA编译器将进行数据处理的m文件编译成相应的JAVA字节码文件,在Eclipse中编写调用它的Servlet程序,并将其部署到Tomcat服务器中,通过响应客户端浏览器的数据处理请求,使用MVC设计模式将包括三维图形及二维图形的处理结果通过http协议返回给客户端,实现了利用计算机网络的数据处理。

关 键 词:数据处理  服务器端小程序  计算机网络  MATLAB

Data processing method over computer networks based on MATLAB and servlet
Lei Wenhua,Xue Xiaowen.Data processing method over computer networks based on MATLAB and servlet[J].Electronic Test,2010(11):81-86.
Authors:Lei Wenhua  Xue Xiaowen
Affiliation:1 The School of Science, Tibet University, 2 Lhasa Middle School, Lhasa, Tibet, 850000)
Abstract:To overcome the shortage of conventional MATLAB web application, a MATLAB web application method based on JAVA Servlet is proposed to carry out processing data over computer networks under the B/S framework. Firstly, the MATLAB source codes, implemented the data processing algorithm, are compiled by the MATLAB JA compiler. At the meantime, the corresponding JAVA byte code files are generated. Then, the Servlet codes, invoking the data processing methods in the compiled byte code files, are written in Eclipse IDE, while some necessary external JAR archives are imported. Next, the above Servlet application is deployed in Tomcat. Finally, when data needing for some processing are submitted to the server end using HTTP protocol, the server invoke the Servlet codes to implement the data handling procedure and send the processed results involving interactive 2D and 3D figure results to the user end using MVC design pattern.
Keywords:MATLAB
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号