摘要 |
PURPOSE: A multivariable based priority medium access control (MAC) implementation method in a visible communication network is provided to improve a transmission speed of data packet by performing clear channel assessment (CCA) greater than 1. CONSTITUTION: Whether a channel is in use or not is understood. If the channel is an idle state, CW is set to CW + 1. Whether CW = CW[1] or not is judged. If CW = CW[1], data packet transmission is performed. If the channel is in use, NB is set to NB + 1, BE is set to BE + 1 and CW is set to CW[1]. In case that NB exceeds NB[1], transmission is processed as failure. [Reference numerals] (AA) Data packet arrive; (BB) Decide NB=0,CW=0,NB[1],CW[1]; (CC) (a) step; (DD) Execute back off alert; (EE) (b) step; (FF) Delay for random (0,2^BE[1]-1); (GG) (c) step; (HH) Execute CCA; (II) (d) step; (JJ) Channel idle?; (KK,QQ,PP) Yes; (LL,NN) No; (MM) (e) step; (RR) Fail; (SS) Success |