• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

RFC516 - Lost message detection

发布: 2007-6-23 14:09 | 作者:   | 来源:   | 查看: 16次 | 进入软件测试论坛讨论

领测软件测试网

   
  Network Working Group Jonathan B. Postel
RFC# 516 UCLA-NMC
NIC # 16683 May 18, 1973

LOST MESSAGE DETECTION

I have three suggestions for detecting the loss of messages by the

communications subsystem. The first of these is perhaps the more
powerful and simpler to implement since it uses no new concepts and has
the power to retransmit the message detected as lost.

The first scheme:

If upon sending a message the host saved a copy of that message and
waited until either:

a RFNM was returned, in which case everything is ok and the next
message is processed.

a INCOMPLETE TRANSMISSION is returned, in which case the copy of
the message is retransmitted (this could be a loop so put a
finite upper bound on the number of times to retransmit the same
message).

a DESTINATION DEAD is returned, in which case mark the
destination down and require the exchange of reset commands
before further communication is allowed.

something else is received indicating an error in the.network or
local IMP, in which case at least log the error, and probably
close the conversation.

Following the above procedures either on a per host basis or a per
link basis should prevent a lost message problem from
developing.

The second scheme:

If on a per host basis, message numbers are included in the host to
host header of messages,, and messages are delivered in order (this
is currently the case in the network, except for priority messages
so this proposal requires that each host either send everything as
priority or nothing as priority) then each receiving host can detect
a missing message by comparing the message number of the received
message with the previously received message.

On exchanging resets the sequence numbers between that pair of

hosts is set to zero.

Each time a message is sent the current send message number is
entered into a field in the message header, and the current send
message number is incremented (modulo N, say N=256)

Each time a message is received the message number from the
message is compared to the current receive message number and:

if the received message is the expected one then the message
is acceptable and current receive message number is
incremented (modulo N);

if the received message is not the expected one then a
message has been lost.

What to do when a missing message is detected, not clear, but at
least can be logged and reported to the network control center. A
missing message may not be fatal to an interactive conversation, but
it is critical in a file transfer, thus I suggest that missing
messages which are not recovered be cause to close the conversation.

The third scheme:

Host to host acknowledgements could be required. Such an
acknowledgement scheme could be implemented similarly to the IMP to
IMP scheme. This is a serious change to the current protocols so I
will not elaborate on it here, feeling that deeper study will be
necessary to fully specify a reasonable host to host acknowledgement
strategy.

Of these three suggestions the first is the most immediately practical
and implementable; in fact several hosts all ready do this. These
schemes also are non-conflicting, they could be implemented and used
simultaneously.

[ This RFCwas put into machine readable form for entry ]
[ into the online RFCarchives by Alex McKenzie with ]
[ support from GTE, formerly BBN Corp. 9/99 ]

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备2023014753号-2
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网