C#实现基于Socket的信息教学系统设计  被引量:10

Design of Socket-based information teaching system using C#

在线阅读下载全文

作  者:吕鹏辉 张起贵[1] Lü Penghui;ZHANG Qigui(Taiyuan University of Technology,Taiyuan 030600,China)

机构地区:[1]太原理工大学,山西太原030600

出  处:《现代电子技术》2019年第2期80-84,共5页Modern Electronics Technique

基  金:山西省自然科学基金(2013011017-3);太原理工大学项目(9002-03011843);国家"863"资助项目(2015AA042601);国家自然科学基金资助项目(61471255);国家自然科学基金资助项目(61474079)~~

摘  要:为了给教师、学生以及家长带来更多学习便利,利用.NET的Winform框架和基于Socket的TCP/IP的通信模式及可扩展标记语言(XML)等搭建设计了基于C/S(Client/Server)多线程架构的信息教学平台。信息教学平台主要实现了两大功能:单机自测与联网学习。单机自测要求学生可在固定题库中选择题型自我练习;联网学习需要客户端和服务器端在同一局域网下通过Socket的TCP/IP的通信模式来进行数据交换,同时服务器端采用Microsoft Access数据库来存储学生信息并且可以直接以.xls文件导出学生的姓名、学号、成绩等信息。整个系统不论在各个模块之间的切换还是在客服两端数据交换的效率上都具有较高的鲁棒性。An information teaching platform based on the C/S multithreading architecture is designed and established by using the .NET based Winform framework,Socket-based TCP/IP communication mode,and extensible markup language XML,so as to bring more learning convenience to teachers,students and parents. Two functions are mainly realized on the information teaching platform:stand-alone testing and online learning. During stand-alone testing,students select question types from the preset question library for self-practice. During online learning,the client and server exchange data in the same local network by means of the Socket-based TCP/IP communication mode. The Microsoft Access database in the server is used to store student information,and students' names,IDs and scores can be directly exported in the form of .xls file. The whole system has good robustness in switches between various modules and data exchange efficiency between client and server.

关 键 词:信息技术 教学平台 SOCKET TCP/IP通信 多线程 数据交换 

分 类 号:TN911-34[电子电信—通信与信息系统] TP311[电子电信—信息与通信工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象