|本期目录/Table of Contents|

[1]徐智勇,戴祖旭*.基于WebSocket协议的消息安全推送系统设计与实现[J].武汉工程大学学报,2024,46(03):310-316.[doi:10.19843/j.cnki.CN42-1779/TQ.202306003]
 XU Zhiyong,DAI Zuxu*.Design and implementation of a secure message feeding system based onWebSocket protocol[J].Journal of Wuhan Institute of Technology,2024,46(03):310-316.[doi:10.19843/j.cnki.CN42-1779/TQ.202306003]
点击复制

基于WebSocket协议的消息安全推送系统设计与实现(/HTML)
分享到:

《武汉工程大学学报》[ISSN:1674-2869/CN:42-1779/TQ]

卷:
46
期数:
2024年03期
页码:
310-316
栏目:
机电与信息工程
出版日期:
2024-06-30

文章信息/Info

Title:
Design and implementation of a secure message feeding system based on
WebSocket protocol
文章编号:
1674 - 2869(2024)03 - 0310 - 07
作者:
徐智勇戴祖旭*
武汉工程大学光电信息与能源工程学院、数理学院,湖北 武汉 430205
Author(s):
XU ZhiyongDAI Zuxu*
School of Optical Information and Energy Engineering,School of Mathematics and Physics,Wuhan Institute of Technology,
Wuhan 430205,China
关键词:
消息推送机密性时延WebSocket协议
Keywords:
message feeding confidentiality time delaying WebSocket protocol
分类号:
TP317
DOI:
10.19843/j.cnki.CN42-1779/TQ.202306003
文献标志码:
A
摘要:
为节约应用系统的带宽资源,提高客户端接收消息的可靠性和安全性,设计了一个独立的消息安全推送系统,提供开放的接口供应用系统调用。客户端向应用系统请求有时延风险的业务时,首先触发与推送系统的WebSocket连接,获取客户标识和密钥,然后携带标识再次与应用系统发起HTTP连接办理业务。在耗时业务处理过程中,客户端无需与应用系统保持长连接。应用系统完成业务后,将响应消息连同客户标识通过HTTP连接转发给推送系统缓存。推送系统将多位客户的响应消息打包加密成一条密文推送到客户端,客户端解密得到请求的业务结果。推送系统基于Golang语言和MySQL数据库实现,对外提供符合表述性状态转移(REST)架构的通用接口。功能测试结果表明,客户端能准确接收来自推送系统的消息,实现了预期功能。

Abstract:
To save the bandwidth resources of the application system and improve the reliability and security of messages received by clients, an independent message security feed system was designed to provide an open interface for the application system to call on. When a client requests a time-delayed risky business from the application system, the system first triggers a WebSocket connection with the feed system to obtain the client identification and key, and then carries the identification to initiate an hyper text transfer protocol connection with the application system again to handle the business. During the time-consuming business processing, the client does not need to maintain a long connection with the application system. Once the application system completes its business, it sends the response message, along with the client identification, to the feed system via an hyper text transfer protocol connection. The feed system packages and encrypts the response messages of multiple clients into a cipher text and feeds it to the clients, who decrypts it to get the requested business results. The feed system was implemented using the Golang language and MySQL database, and provides a generic interface that conforms to the representational state transfer(REST) architecture for external access. Functional tests results show that the client can accurately receive messages from the feed system and achieve the expected functions.

参考文献/References:

[1] 陈诗雨,熊才权,董奕,等. 基于WebSocket的实时协同编辑方法及应用[J]. 软件导刊,2019,18(5):79-83.

[2] 宇文涛,冉全. 数据传输改进方案在医疗设备监测系统的应用[J]. 武汉工程大学学报,2022,44(2):203-208.
[3] 康庄. 灾害防御区域气象观测站服务数据监测系统设计[J]. 计算机测量与控制,2022,30(1):86-91.
[4] 席佩瑶,陈森林,周子伟,等. 数据实时通信与可视化系统的设计与实现[J]. 自动化与仪表,2022,37(1):55-59.
[5] 李鹏程,张文胜,郭栋,等. 基于物联网通信协议的车辆信息系统开发[J]. 计算机工程与设计,2022,43(3):646-653.
[6] 杨帆,张辉寰. 无线楼宇安全监测系统的设计[J]. 武汉工程大学学报,2018,40(3):310-314.
[7] 黄东栋,程莉,党晶晶. 基于物联网的环境在线监测系统研究[J]. 武汉工程大学学报,2018,40(3):320-324.
[8] 陈思媛,易国洪,金旺. 智能停车系统中消息中间件的设计与实现[J]. 武汉工程大学学报,2020,42(2):224-230.
[9] 曹文彬,谭新明,刘备,等. 基于事件驱动的高性能WebSocket服务器的设计与实现[J]. 计算机应用与软件,2018,35(1):21-27.
[10] 石文涛. Html5中WebSocket协议关键技术的研究及基于WebSocket协议的实时Web通信系统的实现[D]. 南京:南京邮电大学,2014.
[11] 陈相余. 云平台下消息推送系统的设计与实现[D]. 成都:电子科技大学,2021.
[12] TIAN X L,WANG Y,ZHAO Q,et al. A miniaturized,low-cost and portable fiber Bragg grating inter-rogation system for remote monitoring[J]. Optik,2021,248:168054.
[13] 张嘉焰. 基于Beego框架的运动处方管理系统的设计与实现[D]. 武汉:华中科技大学,2020.
[14] 易俗,殷慧文,王闯,等. 多因素自适应心跳检测算法研究[J]. 计算机工程与应用,2017,53(24):86-93.
[15] 周莉莉. 计算机应用软件开发技术探讨[J]. 中国设备工程,2023(4):256-258.
[16] 肖睿. 基于Gin框架的营销活动公共类库的设计与应用[D]. 武汉:华中科技大学,2019.
[17] 肖文娟,王加胜. 基于Vue和Spring Boot的校园记录管理Web App的设计与实现[J]. 计算机应用与软件,2020,37(4):25-30.
[18] 闵嗣鹤,严士健. 初等数论[M]. 3版. 北京:高等教育出版社,2003.

相似文献/References:

备注/Memo

备注/Memo:
收稿日期:2023-06-06
基金项目:国家自然科学基金(61771353)
作者简介:徐智勇,硕士研究生。Email:907998253@qq.com
*通信作者:戴祖旭,博士,教授。Email:zxdai@wit.edu.cn
引文格式:徐智勇,戴祖旭. 基于WebSocket协议的消息安全推送系统设计与实现[J]. 武汉工程大学学报,2024,46(3):310-316.

更新日期/Last Update: 2024-07-02