|
安卓平板家长控制系统的设计与实现
|
Abstract:
随着智能手机、智能平板电脑在家庭中的普及,越来越多的学生都用上了自己专属的设备。K12教育从传统的线下教育培训逐步转向网络教育,推动了学生电子设备的普及。网络的世界是精彩的且不可预测的,成年人尚且无法实现自控,更不用说正处于成长中的学生,防止学生过度沉迷电子产品,刻不容缓。安卓平板家长控制系统,是基于安卓平板电脑的一整套完善的应用系统,可以有效帮助家长了解学生的平板电脑使用情况,监督学生学习。考虑到逐步增长的市场需求,需要提升应用服务器的高并发处理能力,借助Netty、Redis等技术来构建家长端与学生端之间的高性能通信,基于HTTPS与TCP协议完成加密数据发布与接收;同时利用现有安卓平板设备的定制化SDK接口,满足更多场景需求。本文将重点介绍家长控制系统的整体设计与实现,包括安卓家长端应用、学生端应用、后台管理系统,重点解决的问题如下:家长端与学生端应用之间采用Netty直接与间接通信的方式实现;Netty服务器的性能调优、心跳检测与断线重连;学生端应用的信息亭模式,通过调用平板设备定制化SDK接口来实现。
With the popularity of smart phones and smart tablets in families, more and more students have used their own devices. K12 education has gradually shifted from traditional offline education and training to online education, promoting the popularization of student electronic equipment. The world of the Internet is wonderful and unpredictable. Adults can’t control themselves, let alone growing students. It is urgent to prevent students from indulging in electronic products. The Android tablet parent control system is a complete set of application systems based on Android tablets, which can effectively help parents understand the use of students’ tablets and supervise students’ learning. Considering the growing market demand, it is necessary to improve the high concurrent processing capability of the application server, build high-performance communication between parents and students with Netty, Redis and other technologies, and complete the release and reception of encrypted data based on HTTPS and TCP protocol; at the same time, the customized SDK interfaces of existing Android tablet devices can be used to meet the needs of more scenarios. This article will focus on the overall design and implementation of the parent control system, including Android parent application, student application, and background management system. The key problems to be solved are as follows: Netty direct and indirect communication between parent and student applications; Netty server performance tuning, heartbeat detection and disconnection reconnection; the Kiosk mode of the student application is realized by calling the customized SDK interface of the tablet device.
[1] | 明日科技. Android开发从入门到精通[M]. 北京: 清华大学出版社, 2017. |
[2] | 李林锋. Netty权威指南[M]. 第2版. 北京: 电子工业出版社, 2015. |
[3] | 倪炜. 分布式消息中间件实践[M]. 北京: 电子工业出版社, 2018. |
[4] | 黄健宏. Redis设计与实现[M]. 北京: 机械工业出版社, 2014. |
[5] | Widyatri, I., et al. (2018) Parental Control Application on Android Platform. Library Hi Tech News, 35, 18-24.
https://doi.org/10.1108/LHTN-08-2017-0057 |
[6] | Lim, J.D., Choi, B.C., Han, S.W., et al. (2013) Adult Contents Analysis and Remote Management Framework for Parental Control Based on Android Platform. In: Jeong, H.-Y., et al., Eds., Advances in Computer Science and Its Applications, Springer, Berlin, 161-166. https://doi.org/10.1007/978-3-642-41674-3_24 |
[7] | 张状状, 杜星熠, 王啸, 胡静, 宋铁成. 基于Netty的MQTT协议消息系统的设计与实现[J]. 信息化研究, 2022(3): 48. |
[8] | 胡喜明, 胡淼. 基于响应式的服务推送框架设计[J]. 计算机工程与设计, 2021, 42(8): 2137-2143. |
[9] | 万建民. 基于Netty和Redis应对高并发场景的研究和实现[D]: [硕士学位论文]. 南京: 南京邮电大学, 2022. |
[10] | Wisniewski, P., Ghosh, A.K., Xu, H., et al. (2017) Parental Control vs. Teen Self-Regulation: Is There a Middle Ground for Mobile Online Safety? ACM Conference on Computer Supported Cooperative Work & Social Computing, Portland, 25 February-1 March 2017, 51-69. https://doi.org/10.1145/2998181.2998352 |
[11] | 宁强. Android手机的家长控制[D]: [硕士学位论文]. 南京: 南京大学, 2013. |
[12] | 张晓. 基于Android 平台家长控制软件的设计与实现[D]: [硕士学位论文]. 济南: 山东大学, 2014. |
[13] | 蒙晓红. 学生安全监护系统的设计与实现[D]: [硕士学位论文]. 成都: 电子科技大学, 2018. |
[14] | 贾亚龙. 基于家长模式的智能家居控制系统设计[D]: [硕士学位论文]. 合肥: 中国科学技术大学, 2017. |
[15] | 张晓明. 基于uni-app和Android的学生手机管控系统的设计与实现[D]: [硕士学位论文]. 兰州: 兰州大学, 2020. |