上海交通大学学报 ›› 2021, Vol. 55 ›› Issue (S2): 82-85.doi: 10.16183/j.cnki.jsjtu.2021.S2.013

• • 上一篇    下一篇

基于文件交换的点对点有序可靠通信链路设计方法

邱寅祺1, 付文龙2, 潘聪3(), 卢宏林2, 归一数1   

  1. 1.上海明华电力科技有限公司, 上海 200090
    2.淮沪电力有限公司田集第二发电厂,安徽 淮南 232098
    3.上海云欣电子信息技术有限公司, 上海 200233
  • 收稿日期:2021-09-24 出版日期:2021-12-28 发布日期:2022-01-24
  • 通讯作者: 潘聪 E-mail:892176737@qq.com
  • 作者简介:邱寅祺(1989-),男,上海市人,高级工程师,从事电力系统自动化研究.

A Design Method of File Exchange-Based Point-to-Point Ordered Reliable Data Link Service

QIU Yinqi1, FU Wenlong2, PAN Cong3(), LU Honglin2, GUI Yishu1   

  1. 1. Shanghai Minghua Electric Power Science and Technology Co., Ltd., Shanghai 200090, China
    2. Huaihu Electric Power Co., Ltd., Tianji Second Power Plant, Huainan 232098, Anhui, China
    3. Shanghai Yunxin Electronic Information Technology Co., Ltd., Shanghai 200233, China
  • Received:2021-09-24 Online:2021-12-28 Published:2022-01-24
  • Contact: PAN Cong E-mail:892176737@qq.com

摘要:

针对仅具有文件交换且没有其他信息交换手段的通信双方,提出了点对点有序可靠的数据链路层设计方法.通过对交换的文件附加控制信息,实现链路基本控制;结合使用滑动窗口和超时重发,解决链路可能存在的失序与丢失问题;对交换的文件附加MD5等校验码,结合使用数据校验技术,可及时发现可能的毁损,保证交换文件的完整一致性.实际应用表明,即使通信双方仅具有文件交换手段,只要能找到合适的滑动窗口参数,可以实现有序可靠的通信链路服务.

关键词: 文件交换, 可靠通信链路服务, 点对点通信, 滑动窗口

Abstract:

For the communication parties which only have file exchange and no other means of information exchange, this paper proposes a design method of a point-to-point ordered reliable data link layer. Control information is appended to the exchanged files to realize the basic link control function. Mechanisms of sliding window and timeout retransmission are also introduced to address the problem of disorder and even loss. Furthermore, MD5 or some other check codes are also appended to the exchanged files to achieve an efficient verification of possible damage, guaranteeing the integrity and consistency of the exchanged files. The practical application shows that ordered reliable communication link service can be realized as long as all appropriate sliding window parameters could be found, even though the communication parties only have the means of file exchanges.

Key words: file exchange, reliable communication link service, point-to-point communication, sliding window

中图分类号: