CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - aloha.t
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - aloha.t - List
[
WinSock-NDIS
]
网络仿真-纯ALOHA曲线
DL : 0
纯ALOHA协议 在该协议下,用户只要有帧产生,就会传送出去,发生冲突时,就等待一个随机时间后再重发。 所以对当前帧时,只有两种情况下可以发送成功: 1)当前帧时只有一帧要发送,且当前帧时的前一帧时无帧发送; 2)当前帧时只有一帧要发送(发送时刻为t),且前一帧时的最后一帧的发送时间不在(t- FRAMETIME)~ t这段时间内。 其他情况下都会产生冲突。 发生冲突时,错误帧继续传送,用户重新发送帧,设定一个随机数Rt,将该帧添加到第Rt/ FRAMETIME帧时上去,并设该帧的相对时间为Rt% FRAMETIME。这样即相当于用户等待一随机时间后重发。 对每一帧时进行上述控制,最终可得到成功发送的次数Suc,将其除以Suc = Suc /ARRAYLENGTH即得平均每帧时发送成功的帧数。 对于不同G,得到不同FrameArray,所得的Suc也不同,用一个数组来保存G与Suc的对应关系,再将其画出来。 -pure ALOHA agreement under the agreement, as long as users have a frame, it will transmit out, conflict, will wait for a random period of time before re-issued. Therefore, the current frame, there are only two circumstances can this success : 1) the current frame only one to send, and the current frame before one-time frame sent; 2) the current frame only to send a (t this moment), but before a final of a transmission time not (t-FRAMETIME) ~ t this time. Other cases will have conflict. Conflict, to continue to disseminate the wrong frame, users re-sending frames, set a random number Rt, this frame added to the first Rt / FRAMETIME frames up, and established the time frame for the relative% FRAMETIME Rt. This is equivalent to that user for a random period of time after re-issued. For each
Update
: 2008-10-13
Size
: 43.55kb
Publisher
:
fang
[
Internet-Network
]
网络仿真-纯ALOHA曲线
DL : 0
纯ALOHA协议 在该协议下,用户只要有帧产生,就会传送出去,发生冲突时,就等待一个随机时间后再重发。 所以对当前帧时,只有两种情况下可以发送成功: 1)当前帧时只有一帧要发送,且当前帧时的前一帧时无帧发送; 2)当前帧时只有一帧要发送(发送时刻为t),且前一帧时的最后一帧的发送时间不在(t- FRAMETIME)~ t这段时间内。 其他情况下都会产生冲突。 发生冲突时,错误帧继续传送,用户重新发送帧,设定一个随机数Rt,将该帧添加到第Rt/ FRAMETIME帧时上去,并设该帧的相对时间为Rt% FRAMETIME。这样即相当于用户等待一随机时间后重发。 对每一帧时进行上述控制,最终可得到成功发送的次数Suc,将其除以Suc = Suc /ARRAYLENGTH即得平均每帧时发送成功的帧数。 对于不同G,得到不同FrameArray,所得的Suc也不同,用一个数组来保存G与Suc的对应关系,再将其画出来。 -pure ALOHA agreement under the agreement, as long as users have a frame, it will transmit out, conflict, will wait for a random period of time before re-issued. Therefore, the current frame, there are only two circumstances can this success : 1) the current frame only one to send, and the current frame before one-time frame sent; 2) the current frame only to send a (t this moment), but before a final of a transmission time not (t-FRAMETIME) ~ t this time. Other cases will have conflict. Conflict, to continue to disseminate the wrong frame, users re-sending frames, set a random number Rt, this frame added to the first Rt/FRAMETIME frames up, and established the time frame for the relative% FRAMETIME Rt. This is equivalent to that user for a random period of time after re-issued. For each
Update
: 2025-02-17
Size
: 43kb
Publisher
:
fang
[
Linux-Unix
]
aloha.tar
DL : 0
Aloha is a package to auto manage the DHCP and private LAN IP acquisition
Update
: 2025-02-17
Size
: 2kb
Publisher
:
Ji
[
Internet-Network
]
saloha
DL : 1
初学者,自己刚编写好的saloha程序代码,也是由aloha例程改编来的,添加了时隙控制和常规中断。看到论坛里有其他人的saloha,不清楚他们是怎样写的,如果同时都是时隙aloha,站长可以通过么-The slot aloha OPNET program by myself according to the aloha code.Using regular interrupt.Now there have been similar code here,I don t know how others to coding it.
Update
: 2025-02-17
Size
: 367kb
Publisher
:
刘双双
[
Internet-Network
]
opnetmac
DL : 0
OPNET仿真多种mac协议,里面包含各个协议的进程代码,可直接作为mac模块仿真。 aloha协议 aloha_ack协议 maca协议 macaw协议 fama_ack协议-OPNET simulation of a variety of mac protocols, which contains the process code of each agreement, as the mac module can be directly simulated. aloha protocol aloha_ack protocol fama_ack protocol maca protocol macaw protocol
Update
: 2025-02-17
Size
: 23kb
Publisher
:
lucifer
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.