Int ern at i onal  Journ al of Ele ctrical  an d  Co mput er  En gin eeri ng   (IJ E C E)   Vo l.   9 , No .   3 J un e   201 9 , pp.  1997 ~ 20 05   IS S N:  20 88 - 8708 DOI:   10 .11 591/ ijece . v 9 i 3 . pp1997 - 20 05           1997       Journ al h om e page http: // ia es core .c om/ journa ls /i ndex. ph p/IJECE   An  a pp roxim atio d elay   between  c ons ecutive   r eque sts  f or  c on gesti on  c ont rol   in  u nicast  CoAP - bas e d   g roup   c ommun icat i on         Chanwi S uwann apon g C h at c ha Khu nb oa   Depa rte m ent   of C om pute Engi n ee ring ,   Khon K a en  Univer si t y ,   T hai l and       Art ic le  In f o     ABSTR A CT    Art ic le  history:   Re cei ved   A ug   2 , 2 01 8   Re vised  Dec  18 , 2 01 8   Accepte Ja n   1 7 , 2 01 9       Thi rese ar ch  p rese nts  wa y   t o   avoi d   net wor conge stion  du ring  unic ast   CoAP - base g roup  comm uni ca t ion  using  inc rea sed  d el a ys  bet wee n   conse cutive  req u ests  (DCR)  in  L oW PAN   borde route rs  to  li m it   req uest  send   rat es.   It  al so  provide wa y   to  det ermine  DCR  val ues  that  are   s uit able  for   var ious  net work  group  size with  diffe ring  node  c ounts.  The   optim al   DCR  is  obta in ed  using  the   least  square appr oximati on   m et hod  and  the   rel a ti v e   m ini m um .   Result from   expe rimentation  show a   positi ve  r elati on ,   that  is,   an   inc re ase   in   grou size  necess it ates  an  inc re ase   in   DCR  val ue .   Ex per iments  in   var ious  group  s iz es  show   fav ora ble   net work  pe rform anc and  support   the  proposed  conge s ti on  cont rol   m ethod using  DCR.   Ke yw or d s :   Appro xim ation   CoA P   Group c omm un ic at ion   Un ic ast   W i reless se nso r netw ork   Copyright   ©   201 Instit ut o f Ad vanc ed   Engi n ee r ing  and  S cienc e .     Al l   rights re serv ed .   Corres pond in Aut h or :   Chatc hai  Khu nboa   Dep a rtem ent   of  Com pu te r  Enginee rin g,   Kho n Kaen  Un iversity ,   123  M oo  16 Mi tt apap  Rd . , N a i - Muan g, Mua ng D ist rict , K hon Kae n 4 0002 , T haila nd .   Em a il : chatc hai@kku.ac.t h       1.   INTROD U CTION     To day,  the  use   of   co ns trai ne de vices  is  beco m ing   com m on place.  The ir  abili ty   to  con nect  to  the   internet  br in gs  about  the  c oncept  of   the  I nter net  of   T hi ng (IoT ).   T he se  dev ic es  a r ty pical ly   us ed  f or   colle ct ing   i nfo rm ation   f r om  sens ors  int sta ndar net works  [ 1],   [ 2].  I nter net  of   Things  c om in  tw cat egories:   Non - IP   an I P - ba sed.   Non - IP   sy stem do   not  r el on   IP   a ddr esses  for  com m un ic at ion Such  no n - IP   prot oc ols  inclu de  the  Bl ueto oth   lo e nergy  an Zig bee  prot oco ls .   IP - base syst e m s,  wh ic re qu i re  IP  addresses , c omprise  prot oco ls  su c as  6Lo W PAN a nd T hr e ad.   To  s upport  IP - base com m un ic at ion   [ 3],  the   In te r net  En gine erin Tas Force  (IETF has   dev el ope the  Const rain ed  A ppli cat ion   Protoc ol  (C oAP),   we com m un ic at i on   protoc ol  s pecial ly   desig ned   for  const raine de vices.  It  is  si m i la to  HTTP  [ 4] bu w orks  on   top   of  the  Use Diag ram   Pr oto c ol  ( U DP in s te ad  of  the  Tra ns m issi on   C ontrol   Protoc ol  (TC P) .   This   el i m i nates  the   ne ed   f or  th ree - w ay   hands ha ke  and  th e   need   to  m ai nta in  connecte sta te m aking   CoA ideal   f or  const raine de vices.  The  protoc ol  al so   suppo rts   m achine - to - m a chine   (M 2M)  c omm u nicat ion .   M2M  i nvolv e se nsor   de vi ce  sen ding   dat thr ough  wireless   netw ork  to   an  ap plica ti on.  T he   ap plica ti on   c onve rts  the d at into  m edia  th at   is  show to   the u ser al lo wing  f or  i m m ediat e interact ion an d dec isi on  m aking.   Ty pical   CoA P   com m un ic at io is  one - to - on e.  cl ie nt  exc hanges  m essages  with  se r ve us in th e   fo ll owin ste ps  as  sho wn   i Figure  1 1)  th us er   init ia te GET  c omm a nd   t hro ugh  w eb  brow se to   r equ e st  data  f ro m   the  CoA P   se rv e r.   2)  The   Co AP  cl ie nt  node   rec ei ves  this   GE com m and   f r om   the  bro wse r,   a nd   sen ds   request  m essage  to  the  CoA ser ver  through  U DP.   3)   Wh en  the  s erv e receives  the  request  m e ssage,  it   send re ply  m essage  cont ai nin the  requested  data  ba ck  to  the  cl ie nt 4)   T he  cl ie nt  sen ds   the  data  to  the   browser.     Evaluation Warning : The document was created with Spire.PDF for Python.
                          IS S N :   2088 - 8708   In t J  Elec  &  C om En g,   V ol.  9 , N o.   3 June   201 9   :   1997   -   2005   1998         Figure  1.  F undam ental   CoA P   com m un ic at ion       In   m any  cases,   on e - to - m any  com m un ic at ion   is  re qu i red.  Su c insta nces   include   sim ult aneous  data   colle ct ion   fro m   m u lt iple  sensor  nodes   f or  ve rificat io and  pr ocessin g,   a nd  node  gro upin g.   C oAP  gro up   com m un ic at ion   is  thu im portant  to  I oT a nd   is  on i ns ta nce  of  the  gro up   c oncept  being   i ncorpo rated  int data  com m un ic at ion U nfo rt un at el y,  Co AP  do es  no pr ovide  way  to  ha nd le   ne tw ork  congesti ons  th at   m a arise,  su c as  wh e one  cl ie nt  node  exc ha ng e m essages  with  m ulti ple  serv e no des  usi ng   un ic ast   f or  basic   com m un ic at ion   or  f or  re sou rce  obser vatio n.   Su c pro blem   is  wo rt in vestigat in [ 5 ],   [ 6 ] As  a   res ult,    stud by  I I sh a et   al   [ 7 ]   pro po ses   the  use   of  C oAP - base gr oup  c omm un ic at ion   m et ho cal le un ic as t   wh e re  le vel  of   intel li ge n ce   is  intro duce to  facil it at reso urce  m anag e m ent,  m aking   it   po ssible  to  us a   sing le   request  m essage to  m anag e  r es ources .   Group  com m un ic at ion   th rou gh   Co AP   is  hi gh ly   reli able  and   ef fecti ve,   but  if  on cl ie nt   node  sen ds   un ic ast s   to   m ulti ple  serv e node in   rap i su ccessi on,  th e   res pons e   m essages   from   tho se  ser ver s   would  be   equ al ly   rap i d,   and   would  res ult  in  inevita bl congesti on.  I the  rate  of   r equ e st  m essages  bein sent  is  no t   m od erated,  w he t he  netw ork   reac hes  it ca pacit thres hold,  it   w ou l sta r to  d isc ar m essages,   ca us in data   loss,  as  sh own   in  F igu re  2.   To  av oid   unic ast   con ge sti on,   delay   between   co ns ec utiv req ue sts  (DC R)  is   introd uced  to  ke ep  the   rate  of  request  m essages  to  within   th lim it of   the  netw ork  a nd  th recipie nt  no de s.  I f   le ft  unco nt r olled,   the  bur de on  t he  netw ork  ca us e by  ra pid  m essages  cou l res ult  in   the  a f or em entione data loss  and e ven n et wor c ollapse.           Figure  2 Co A P - ba sed   gr oup com m un ic at ion   un ic ast  c onge sti on       This  resea rch   aim to  pr ovid so luti on  to  the  unic ast   congesti on  pro ble m   by  add in D CR   into  the   gateway  ( Lo W PAN   bo rd e r ou te r)   t lim it   the  m essage  send  rate  to  within  a acce pta ble  tolera nce.  It  al s pr ese nts  way   to  determ ine  DCR  values  f or  dif fer e nt  gro up  siz es  with d if fer e nt  node  de ns it ie us in th le as Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  Elec  &  C om En g     IS S N:  20 88 - 8708       An a pp r oxim at ion   delay  b et w een c onsecuti v e req uests  f or  c ongestio c ontrol in… ( Chanwit S u wann apon g )   1999   sq ua res  a ppr oxi m ation   m et ho d.   Op ti m u m   DCR  values  a re   ob ta i ned   from   the  relat ive  m ini m u m and   t est e us in t he  Co oj a sim ulator.     The  rem ai nd er   of  t his  pap e i or ga nize as  fo ll ows:  Sect io pro vid es  ba ckgr ound  inf orm ation   on   CoA P unic ast   gro up  c omm u nic at ion  in  IoT an le ast   squ ares  a ppr ox im at ion Sect io pr ese nts  t he  resu lt s   and   a naly sis,  wh ic co ver t he  m e tho dol ogy  fo fi nd i ng   t he  DCR,  the  si m ula ti on   of   th DCR  values,  and   a   descr i ption o t he results.  Th e   la st sect ion ,  Se ct ion   4,   su m m a rizes the  re sea r ch.       2.   RESEA R CH MET HO D     2.1.   A  b ackgr ou n of   C oAP   The  C onstrai ne Applic at ion  Protoc ol  (CoAP)   is  a   sp eci al iz ed  we tr a ns fe protoc ol  desig ne f or   const raine node an co nst rained   netw orks.   It  s uppo rts  Io us in li gh twei ght  m essages,  an util iz es   relat ively   litt le  serv er  resou rc es  and   po wer   c om par ed  to  ot her   pr oto c ols.  It  is  able  to  su pport   requests  from   a   la rg gro up  of  cl ie nts.  De sig ne by  the   I nter net  E ng i neer i ng  Ta sk  F or ce   ( IETF ),  Co AP   c om pr ise tw l ay ers:   1)   Me ssa ging  Lay er  to  ha nd l UD for  co m m u nicat ion and   2)   Re qu es t/ Re sp onse  La ye to  handle  m et ho and res ponse  c od e s.   CoA P   is  sim ilar  to   HT TP  i that  t hey  both  use   the   RE STful   W e Se rv ic e,   f unda m ental   web   te chnolo gy  a va il able  on  e ve ry  platf or m   w her e   se rv e node  c an   creat res ources   f or  us i the   U RI,  a nd  cl ie nt  nodes   ca acce ss   th os serv e node   re so urces  t hro ugh  f our   ty pes  of  m e tho co des GET,  P UT,   P OS T ,   and   DELET [ 8 ] A nother  si m il arity  is   that  CoA can  se nd  var i ous  ty pes  of   payl oa ds and   ca ind ic a te   the  ty pe  of  payl oa us in XML,   J SON,   a nd  CB OR  et c.  Am i ds the   sim i la riti es,  howe ver,   disti nct   dif f eren ce   betwee the t w pr oto c ols is that Co AP  c omm un ic at es thr ough  UDP  w hile HTTP uses  T CP. An a dv a nt age of  UDP,  c onne ct ion le ss  pr otoc ol,  is  that  da ta   can  be  se nt  ver quic kly  without  the  ne ed  f or   t hr ee - way   hands ha ke  that  is re qu i red by  TCP.   Ther e   are   f ou ty pes  of  m e ssages   de fine in  C oAP:  1)   Co nf irm able,  2)  Non - c onfi rm a ble,  3)  Ackn ow le dg e m ent,  and   4)  Re set In   t he  Re qu est   la ye r,  Confirm able  and   N on - c onfirm able  m essages  can  be  sent.  Wh il in   the  Re spo ns e   la ye r,   an  Ac knowle dgem ent  m essage  can  be  pi ggybac ke d.   T he  reli abili ty   of   CoA P   m essages  are  def i ned  as  Co nf irm ab le   (CO N)   a nd   N on - co nfi rm a ble  ( NON ).   C ON   is   us e t sen reli able  m essa ges,   with  def a ult  tim eou ts  and   e xpone ntial   back - offs  between   retra ns m issi on s.   The   re cei vi ng   serv e se nds  a Ackn ow le dge m ent  m essage  ( ACK us in the  sam m essage  ID  as  t he   cl ie nt' req ue s t.  The  m essage  se nd / recei ve  dia gr a m   is  sh own  i Fig ur e   3 (a ).   Me ssages  w hose  reli abili ty   is  of  l ow  im po rtanc e   (unr el ia ble c an  be  sent  a N on - c onfir m able,  in  w hi ch  case   the   ser ver  will   no t   res pond  with  a ackno wled gem ent  m essage  bu will   reco r the  m essage  ID   to  pr eve nt  duplica ti on.   In   the  e xam ple  in     Figure  3 ( b),  t he   m essage  ID  is  [0x 7d34] I f   the  se rv e rec ei ves  non - c onfirm able  m es sage  but  is  un able  to  process  it , it w ou l d respo nd  with a Reset  m essage  (RST ) [ 4].           Figure  3 (a R el ia ble m essage tran sm issi on ,   ( b)   U nr el ia ble  m essage tra nsm issi on       2.2.   U nicas t g roup co mmun ic at io n in I oT   Group  c omm u nicat ion   is  ess entia to  m any  Io a ppli cat i on s pa rtic ularl in  con st rain ed  net works   su c as  l ow - power  an l os sy   netw orks  (LL N) .     Ty pical ly in v ery  la rg e   ne tworks c onstr ai ned  d e vices n eed   t be  gro up e a nd  c on t ro ll ed   usi ng   gro up  c omm and t sim plify  m anag em e nt  an a void  c ongestio n   [ 6 ] .   Durin un ic ast   com m un ic at io n,   on sen der   no de  se nd m essages  to  m ulti ple  receivers,   a nd   m us wait   fo an  ACK   m essage  from   each  of  the  re cei vin nodes .   This  can  le ad   to  congesti on,   especial ly   wh en  the  receive an sen der   dif fer i n t heir  m essage  sen ding a nd   re cei vin g ca pab il it y.   Ish a et   al   [ 5 ]   su gg e ste a   un ic ast   gro up   com m un ic at i on   m et ho with  the  aim   of   segm enting  m anag em ent  task to  al lo ea sie acce ss  to  r eso ur ces   gro up  of  no des  bein m anag ed   is  cal le an  E ntit y.  Evaluation Warning : The document was created with Spire.PDF for Python.
                          IS S N :   2088 - 8708   In t J  Elec  &  C om En g,   V ol.  9 , N o.   3 June   201 9   :   1997   -   2005   2000   The  gro up  of   resou rces  belo ng i ng  to   an   E ntit is  cal le Entit Mem ber s.  Re s ource   usa ge  or  m anage m ent  com m and ca be  se nt  to  an  Entit us ing   sing le   Co AP   r equ e st.    A E nt it Ma nag er  ( EM)  is  the  coll ect ion   of   m anag em ent  too ls  for  eac Entit y.  An   E is  able  to  m anag a E ntit and   it res ourc es  on  Co A ser ver  in LL Ns. Cl ie nts in  the  Inter ne t can se nd c om m and s to  t he EM  to  c on t ro Entit ie s.   Hou  et   al   [ 8 ]  su ggest e in t he ir p a per  t he use  o a  r es ource - or ie nted protoc ol call ed  Seal H tt to so l ve   the  issue  with  un ic ast - base gro up   c omm un ic at ion Its  pr oc ess  util iz es  C OMBIN an BR AN CH  i ns te ad  of  the  EM,  a nd  al lows   nodes   the  abili ty   to  sel f - j oi a nd   l eave  groups Com par ison s   wer m ade  be tween  Seal Http  an RESTf ul  proto cols,  an URI  perform ance  was  i m pr ov e by   add in sp at iotem po ral  at tribu te i the   sta nd a rd   U RI  for  dynam i gr ou re qu e sts  of   physi cal   resour ces Th researc fin ds   that  Seal Http  has   bette a ver a ge e nergy c on s umpti on du rin g group c omm un ic at ion  in  the  w e b of t hings  ( W oT) tha C oAP .   pap e by  Q ua kasse  et   al   [ 9 ]   proposes   w ay   to  so l ve  ne t work  co ngest ion  in  C oAP  by   i m pr ovin the  delay   and   adap the  be ha vior  of   the  s olu ti on   to  netw ork  co ndit ion s The  pa per   al so  su ggest the  us of   delay betwee unic ast   requ est dep e nd i ng  on   the  li nk  de la and   the  est i m at ed  gr oup  s iz e.  The  res ults  sho w   i m pr oved  p e rfor m ance in  te r m s o res pons e  tim e and   pac ke t l os s.     2.3.   Le ast s qu ares  ap p ro xi mat i on   An   ass um ption  m ade  in  this  r esearch  is  that  there  m ay   be  disco ntin uiti es  in  the  DCR  values  at   the  sp eci fic  ra nge  that  we  f ocu on,  an that  th ere  co uld   be  da ta   m easur em e nt  errors  duri ng  ex per im ents  [1 0 ].  This  resea rc h,   therefo re,  us es   an  ap pro xim ation   functi on  to   best  co ns tr uct  gr a phic al   li ne  of   t he  DCR  values   in r el at io to  th e size  of the  c om m un ic at ion   gro up, as  m entio ne i Sect i on  1.   The  le ast   squar es  m et ho d   pro du ce the  best  functi on  f or   da ta   app r oxim ati on   beca us it   aver a ges  ou data  er rors  t a   m ini m u m When  the   f unct ion  is  draw out  a gra ph,  the   li ne  will   not  pa ss  thr ough  ea c data  po i nt,  but  will   traver se  th rough  the  vicinit cl os to  the m The  funct i on   pr oduces  s m oo th  li ne   that  appr ox im at es  r eal   values.   T he   resu lt in f unct ion   is  co ncise  and   is  in depend e nt  of  data  siz e.  Diff e re ntial   an integrati on  cal culat ion ca e asi ly   be  app li e d.   T he  re su lt in f unct ion a re   po ly nom ia l,  a nd   it c orrectn ess  is  dep e ndent  on t he deg ree  of poly no m i al s [ 1 1 ].   The  le ast   s qu a r es  m e tho of  f un ct io a ppr oxi m ation   ca be   app li e in  m any  ways.  For  our  pur poses   we  use   one  ty pe  of  le ast   s quares  cal le the   discrete  le ast   sq ua res  m et hod.   T he  in put  da ta   is  non - c onti nuous,   and   t he  a ppr oxi m ation   is  in  t he  f or m   of   t he   po ly no m ia  n p   with  the  highe st  degree  of   that  pro du ce s   m ini m u m   m ea s quare e rror, sho wn in   E qu at ion   ( 1 ) .     2 2 0 1 1 00   NN n i i i i i n i ii w f x p x w f x a a x a x   (1)     w he 01 n x , x , . . . , x   are  no con ti nu ou s and   01 n w , w , . . . , w   re pr ese nt   weig hted  dat a,  if  Nn the  er r or   ca be  el i m inate us i ng   poly no m i al   fo rm ula.  I this  case,  the  num ber   of   disc onti nuous  data  is  m or im po rtant  tha the d e greee   of  appr ox im at ion . F or c onti nuou s d at a,   E quat io n   ( 1 )   ca n be e xpan de as  foll ows  [1 2 ]:     1 01 0 0 0 0  N N N N j j j n j i i i i n i i i i i i i i i a w x a w x a w x w x f x   (2)     wh e n j  =  0,1,   ...   ,   n o r     wh e n j  =   0    0 1 0 01 0 0 0 0 N N N N n i i i i n i i i i i i i i i a w x a w x a w x w x f x   (3)     wh e n j  =     1 2 1 1 01 0 0 0 0 N N N N n i i i i n i i i i i i i i i a w x a w x a w x w x f x   (4)     wh e n j  =  n    12 01 0 0 0 0 N N N N n n n n i i i i n i i i i i i i i i a w x a w x a w x w x f x   (5)     This  ca n be e xpress ed  as  po ly no m ia l E qu at io ( 6 ) .     Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  Elec  &  C om En g     IS S N:  20 88 - 8708       An a pp r oxim at ion   delay  b et w een c onsecuti v e req uests  f or  c ongestio c ontrol in… ( Chanwit S u wann apon g )   2001   01 n n f x a a x a x   (6)     Eq uation  ( 5 )   c an be e xpresse as  a m at rix.   X a f   (7)     Ma tric es X  a nd  f,   when  all  wei gh te d data  ar e eq ual  1 i w can  be ex pr es sed  as     0 1 2 0 0 1 1 1 1 1 1 1 2 3 1 1 1 1 1 1 1 2 1 2 2 1 1 1 1 1          m m m m m n i i i i i i i i i i i m m m m m n i i i i i i i i i i i m m m m m n n n n n n i i i i i i i i i i i x x x x x f x a a x x x x x f x a a x x x x x f x 2 4 b ac   (8)          w he t his  is  expresse as   an  e qu at i on,  we  get  the   li ne ar  f unct io 01  i y a a x the  quad rati f un ct io 2 0 1 2 ii y a a x a x the   cu bi functi on   23 0 1 2 3 i i i y a a x a x a x t he  qu a rtic   f unc ti on   2 3 4 0 1 2 3 4 i i i i y a a x a x a x a x an so   on.   Be cause  the   data  in  this  researc is   ob ta ine f ro m   exp e rim entat io n,   the  le ast   s quares  m et ho i bette s uited  to  the  ta sk   t ha inter pola ti on  because   ex pe r i m ent   data  m a con t ai erro rs  cau s ed  by  the  m easur em ent  proc ess.    Th res ul ti ng   gra ph   li ne   need   not  pass   ever data point,   bu sh oul d be a  res ult o the  least   total  error.       3.   RESU LT S   A ND AN ALYSIS     This  resea rc pro po ses  a al te rn at ive  f orm   of   un ic ast   w he re  the  L oWP AN   bor der   rou te m anag es   cl ie nt   req uest  m essages,  as  sh ow in  F ig ure  4,   an us es  a si m ple  DCR - base so l ution   based   on   le isure  as  def i ned   i RF C725 2   [ 13 ]   to   le ssen  c onges ti on T he  m eth od  set th li m it   rate  at   the   bor der   router   whe un ic ast   m essa ges  are  co ntin uous ly   sent  to  serv er without  wait ing   f or  respon se  m es sages,   th us   av oidi ng   congesti on.           Figure  4 Re qu est  m essage  m anag em ent throug Lo WPAN  borde r ou te r       The  best  DCR   valu e(s for  e ach  se r ver   gro up  siz a re  obta ined  from   app r oxim a ti on   ba sed  on  t he   fo ll owin proc ess:  1)   Fin ding   DCR  based   on  le isure.   T he  resu lt are  the  DCR  values  a nd   a ver a ge  res pons e   tim in  diff e re nt  gro up  siz es.   2)   T he  values   are  the put  into  le ast   squ ares  ap pro xim at ion   f unct ion.   3)   T he   relat ive  m ini m um that  pr oduc the  le ast   aver age  r esp onse   tim es   in  each  gro up   siz are  ob ta ine d.   T he  detai ls   of each  step a r e ex plaine in   Sect ion s  3.1. t o 3.3.       Evaluation Warning : The document was created with Spire.PDF for Python.
                          IS S N :   2088 - 8708   In t J  Elec  &  C om En g,   V ol.  9 , N o.   3 June   201 9   :   1997   -   2005   2002   3.1.   D C c alculat i on   ba se on  Lei sure   We  can  fin th values  of   DC based   on  le isure  [8 ] Give the  ser ver   gro up   siz (G),  t he   ta rg et   data   trans fer   rate (R ),  a nd the  esti m at ed  respo nse  size (S ), t he DCR  can  b e  ca lc ulate us in t he  E quat ion ( 9) :     11   lo w e r b o u n d L e is u r e SG D C R G R ( G )       ( 9 )     In   our   ex per im ents,  t he  val ue  of   was  betw een  a nd  23,   was   ap pro xi m at ely  80   byte s,  an was   set   to  co ns e r vative  8kbits/ (1   kB/s) T he   lowe bound  for  the  le is ur e   was  betwee 120  m and   83  m s.    Using  E quat io n   ( 9 ) we  see  decr ease  in  D CR   values  sta r ti ng   from   12 m s.   W the refor us ed  DC ran ge   betwee 0 - 12 and   m easur e the  aver a ge  r esp on se  ti m es  for  dif fer e nt  gro up  siz es  (G   3,   5,  10,  15 20,     and 25  node s) by r unni ng sim ulati on s  u si ng the C ooj a sim ulator. Fig ur e  5 s hows  t he res ults in C ooj a.           Figure  5 Re spon s e ti m es f or   diff e re nt grou p si zes as a  fun c ti on   of the  dela y betwee c onsecuti ve req ues ts,  evaluate d usin C ooj a sim ulator       3.2.   D C R app rox im at i on s   To  est im at th value   of  the  op ti m u m     DCR,  we  us t he  data  f ro m   Sect ion   3.1  to   pl ot  gr a ph  us in the  le ast   sq uares  m et ho d.   T he   gr ap is  the  best  m at he m at i cal   rep rese ntati on   of   the  relat ion s hi betwee DCR  and ave ra ge  r e sp onse  tim es wi th m ini m iz ed  eff ect from  d at a error, as  sho wn in Fi gure   6 .     3.3.   Rel at i ve m ini mum for  each gr ou p  siz e   The  relat ive  m ini m u m   that  p rod uces  the  le ast   aver age  res pons ti m e   in  each  gro up  is  determ ined  from   the  gr ap of   DCR  va lue from   Sect ion   3.2.  G r oups   c om pr isi ng   a nd   ser ve rs  yi el DCR  of  0.02 s .   The  value   inc r eases  f or  gr oup  siz es  10,  15,   20,  a nd  25  to   0.0 s 0.04  s,   0.0 s   an 0.10  s,   res pecti ve ly as   sh ow in  Fi gur e 7 .     Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  Elec  &  C om En g     IS S N:  20 88 - 8708       An a pp r oxim at ion   delay  b et w een c onsecuti v e req uests  f or  c ongestio c ontrol in… ( Chanwit S u wann apon g )   2003       Figure  6 DCR  appr oxim a ti on  for  eac h g rou p si ze           Figure  7 Re la ti ve  m ini m u m  f or each  grou s iz e       Evaluation Warning : The document was created with Spire.PDF for Python.
                          IS S N :   2088 - 8708   In t J  Elec  &  C om En g,   V ol.  9 , N o.   3 June   201 9   :   1997   -   2005   2004   Figure   an Figure  s how   the  res ults  of   tho se  e xperim ents.  I e ver exp e rim ent,  the  Lo WPA N   bor der   r oute s ends  co ns ec utive  re qu est   m es sages  to  se rv e r   nodes  at   the  sa m rate.  Each  exp e rim ent  yi el ded  a   si m il ar  patte rn   for  each  gro up  siz e.  The  init ia par of   t he  grap hs   s how  hi gh   a ver a ge  res pons ti m bec aus e   the  DCR  valu was  low,  re su lt ing   in  requ est   m essages  bein sent  to rap idly   an c ausin co ngest ion   as   respo ns m ess age  pac kets  f r om   m ul ti ple  serv e no des  overwhelm   the  bo r der   r ou te r B ut  as  the  D CR   value   increases the  m essage  sen r at beco m es  m or s uited  to  th networ k' capaci ty resu lt in in  lo wer   a nd   lowe aver a ge  res ponse   tim es  un ti a   m ini m u m   aver age   res pons e   tim is  reache d.  Af te this   poi nt  the  res pons e   tim e   sta rts to  i ncr ea se agai as t h DCR i nc reases  due to  the  hi gher  d el ay  inse r te into  the  border  rou te r.     3.4.   D C es timat i on   Af te t he  relat ive  m ini m u m   is  found  in  S ect ion   3.3 the are  v erifie throu gh   e xpe rim entation .     In  orde t e valuate  t he  pe rfor m ance  of  our  pro posed   so luti on,   we   us sim ulati ons.  T determ i ne  the  perform ance  t he   of   the  DC inserted  bet ween   c on s ecu ti ve  un ic ast   r equ e sts  for  group  com m un ic at ion  betwee sin gl e g at eway a nd  m ult iple ser ve rs,   we use t he  Cooja  netw ork  sim ulator.   The  fo ll owin ind ic at ors  a re   obser ve f rom   the  si m ulatio ns t he  a ver a ge  re spo ns ti m e,  the  tim ta ken   by  ser vers  to  res pond  to   un ic ast   c omm un ic at io n,   t he  hop  c ount  (t he  nu m ber   of   rout ers  each   pac ket   go e thr ough  to  rea ch  it de sti n at ion),  a nd  the   pa cket  loss   rati o.   The  set ti ng f or   t hese  e xperi m ents  are  detai le in   Table  1.       Table  1.   E val ua ti on   E xperim e nts S et ti ngs   No d e T y p e   Z1  m o te   Co n tik i versio n   Media Ac cess  Co n trol (M AC)   Co n tik i 3.0     Carrie Sen se  Mult ip le Acc ess   (CSM A)   Rad io   Frequ en cy  ( RF)   IE E 8 0 2 .15 .4 ch an n el 15   Ro u tin g   Proto co l:   RPL   Co AP   Grou p  size:   3  no d es   5  no d es   1 0  no d es   1 5  no d es   2 0  no d es   2 5  no d es   DCR :   0 .02  s   0 .02  s   0 .03  s   0 .04  s   0 .09  s   0 .10  s       The  e xp e rim e nts  in vo l ve  se nd i ng   re qu est   m essages  f ro m   Lo WPAN   bor der   r ou te t group  of   serv e nodes  wh il util iz ing  the  DCR  va lu es  obta ined  i Sect ion   3.2  to  con t ro the  m essage  rate.  F or  each   gro up   siz e total   of   50  sim ulati on a re  ca rr ie out.  T he  resu lt c onfirm   the  ef fecti veness  of  ou pro pos e so luti on,  as   s how i Ta ble  2.       Table  2.   Su m m ary o f   the  Resu lt s o t he  E xper i m ents     Grou p  Size     DCR   Ho p  cou n t ( h )   Res p o n se ti m e  ( s)   Pack et los s (%)   Min   Av erage   Max   Min   Av erage   Max   Min   Av erage   Max   3   0 .02   1   1 .00   1   0 .17   0 .17   0 .17   0   0   0   5   0 .02   1   1 .00   1   0 .26   0 .26   0 .26   0   0   0   10   0 .03   1   1 .20   2   0 .78   0 .79   0 .79   0   0   0   15   0 .04   1   1 .73   3   1 .57   1 .58   1 .59   0   0   0   20   0 .09   1   1 .65   3   2 .64   2 .67   2 .69   0 .2   0 .3   0 .4   25   0 .10   1   1 .80   3   3 .90   3 .91   3 .93   0 .7   0 .8   1 .0       In   te rm of   res pons ti m e,  th resu lt sho that  for  sm alle gro up   siz es  ( an 5),  DC of   0.0 s   pro du ces   an  a ve rag res pons e   tim of   0.1 and  0.2 s,   res pecti vely T he  aver a ge  respo nse   tim increases  as   the num ber   of   neig hbors inc r eases, a  res ult of  higher n um ber  o c olli sion s  in  a s har e d m ediu m .   Re gardin pac ket  loss a im portant  i nd ic at or,  gr oups   c on ta ining   le ss   th an  20   node e xp e rience   an  aver a ge  pac ket  loss  of  0% or  no  l os s.   I gro ups  la r ger  th an  20  no des,   t he  per ce ntage   sta rts  to  inc rea se  to  0.3%,   an kee ps   i ncr easi ng  as  the  gro up  s iz gro ws.  Thi is  du e   to   the   highe node   de ns it causi ng  m or e   colli sion betw een  gro up  m e m ber s.  Anothe possible  f act or   is  that  in  la r ger   gro up s the re  is  higher  a ver a ge   hop  co unt.  Co m m un ic at ion   be tween  the  L oWP A bord e router  an the  serv e re qu i res   m or hops re su lt ing   in m or e dro ppe m essages  befor e  they e ven t ually  r each  the ir d est inati on.       Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  Elec  &  C om En g     IS S N:  20 88 - 8708       An a pp r oxim at ion   delay  b et w een c onsecuti v e req uests  f or  c ongestio c ontrol in… ( Chanwit S u wann apon g )   2005   4.   C O NC L US I O N   This  rese arc pro po ses   m e ans  to  a void  netw ork  c onge sti on   in  l ow   powe a nd   l os s networ ks  durin unic ast   gro up  c ommun ic at io by  i ntr oducin de la ys  between   consecuti ve  re qu e sts  to  lim i the  m essage  sen rate.  It  al so   pr esents  way  to  obta in  the  pr op e DCR  val ue  f or   eac ne twork  group  si ze  by  us in t he  def a ult  le isure   pe ri od  in   the  re quest /resp on se   la ye of  t he  C oAP  prot oco l,   a nd  ap plyi ng  th le ast   sq ua res  appr ox i m ation  m et hod  to  f i nd the  re la ti ve  m ini m um  D CR .   To  e valuate  t the  vali dity   an perform ance  of  this  m et hod,   t he  C ooj a   sim ula tor  is  us e to   sim ulate  diff e re nt  DCR  values  in  net works  unde va rio us   co nd it io ns   as  def i ned   by  each  ex per i m ent.  The  res ults  are  analy zed  a nd   evaluate d.   E xperim ents  confirm   that  the  m et ho pro posed  in  t his  re s earch  is  e ff ect ive  f or   avo i ding  net w ork  co ngest io caused   by  uni cast   group  c om m un ic at ion   in  Co AP with  al m anag e m e nt  bein virtu al ly   on  th send e side I is  able  to  eff e ct ively   red uce  the  com m un ic at ion   w orkl oad  on   t he  ser ver   s ide  of   the Co AP p ro t oco l.  I t i su it a ble for  gr oup  c omm un ic at ion   an d p r ov i des  e xcell ent scal ab il ity.       REFERE NCE S     [1]   N.  L .   Moham ed ,   et  al .,   Perform anc o Non - Uniform   Dut y - C y c le dCont iki MA in   W ireless  S ensor  Networks, ”  Inte rnational   Jo urnal  of El e ct ri c al  and  Comput er  Engi n ee ring   ( IJE CE ) ,   v ol /i ss ue:   7 ( 2 ) ,   pp 942 - 949,   2016 .   [2]   S.  Navulur ,   et   al .,   Agric ult ura Mana gement  t hrough  W ire le ss   Sensors   and  Inte rne of  Thi ngs , ”  Inte rnationa l   Journal  of   Elec t rical   and   Computer  Eng ine ering   ( IJE CE ) ,   v ol /i ss ue:   7 (6) ,   pp .   349 2 - 3499 ,   201 7.   [3]   M.  Kovatsc h,   et   al .,   Low - Po wer  CoAP   for   C onti ki , ”  IEEE  Eighth  Inte rnation al  Confe renc on  Mobil Ad - Ho c   and  Sensor Sy st e ms ,   Vale n ci a ,   sp ai n ,   pp.   855 - 860,   2011.   [4]   Inte rne Eng ineeri ng  T ask  Force   (I ET F),  Group  Com m unic at ion  for   the  C onstrai ned  Appl ic a ti on  Protoco l   (CoAP ),   2014 .   Ret ri eve f rom : https:/ / to ols.iet f . org/ht m l/ rfc 739 0 .   [5]   I.   Ishaq e al . ,   Flexi ble   Unic a st - Based  Group  Com m unic at ion  for  CoAP - Ena ble Devices,”   S ensors ,   v ol /i ss ue:   14(6),   pp .   9833 9877,   2014 .   [6]   M.  Ti loca,   et   a l . ,   Axiom DTLS - base sec ure   IoT  group  comm unic at ion, ”  ACM  Tr ansacti ons  on  Embe dd ed  Computing  Syst e ms ,   vol /i ss ue:   16 (3),   pp .   1 - 29 ,   20 17.      [7]   I.   Ishaq e al . ,   Expe riment al   ev al ua ti on  of   unicast  and  m ultic ast  co ap  group  co m m unic at ion,   S ensors ,   vol /i ss ue :   16(7),   2016 .     [8]   C.   Hou,   et  al .,   SeaHtt p:  res ourc e - ori ented  protoc ol  to  exten REST  sty le   f or  web  of  thi ng s,”   Journal  of  Computer  Scien ce   and   Techno lo gy ,   vo l /i ss ue:   29 (2),   pp .   205 - 215 ,   2014.     [9]   F.  Ouaka ss a nd  S.  Rakr ak,  An  Adapti v Soluti on   for   Congesti on  Control   in   Co AP - base Group  Com m unic at ions,”   Inte rnat ional  Journal  of  Adv a nce Computer  Sci en ce   and  App li cations ,   vol / issue:   8(6),   pp .   234 - 239,   2017 .     [10]   C.   Fan  and  C.   Liu,  novel   al gorit hm   for  ci rcle  c urve   fit t ing  base on  the   le ast  sq uar m et hod  b y   t he  point of  the   Newton’s  rings, ”  Inte rnationa Confe renc on  Computers,  Comm unic a ti ons  and  Syste ms ,   G y ongsan,   Korea ,   pp.   256 260,   2015 .   [11]   I.   K.  Ba y er  and   S.  Soni  Le ast  Square   Approxim at ion  Techni q ue  for  Ene rg y   Conserva ti on  in   W ire le ss   Senso Networks ,”   Int ernati onal  Con fe renc on  Control,   Instrum ent ati on ,   Comm unic ati on  an Computati on al   Technol ogi es  ( ICCICCT ) ,   Ta m il nadu,   Ind ia,  pp .   886 - 889 2014.   [12]   J.  L .   Buch ana n   a nd  P.  R .   Turn er,  Nu m eri ca l   Met hod  and  An aly si s ,   New York ,   McGraw - Hill ,   1 992.   [13]   Inte rne Engi n e e ring  Ta sk  Force   (IE TF),   The   Constrai ned  Appli ca t ion  Protocol   (CoAP ), ”  2014 .   Ret ri eve from htt ps:// tool s.i et f . org/ht m l/ rfc 725 2 .       BIOGR AP HI ES OF  A UTH ORS          Ch anw it  Su w a nn apo ng   rec ei v ed  B. Eng.   and   M.E ng.   degr e e   in  computer   engi nee r ing  from  Khon  Kae n   Un ive rsit y ,   Tha i land  in  2011  an 2013  respe ct i vely .   He  has  publi shed  m an y   publi c at ions  in  t he  ar ea of  W ir eless   Sensor Net work,  Ad Hoc   Net works   and  Sm art Agric ul ture.     Ch atc hai  Khu n boa   is  an  associa t profe ss or  in   the   Dep art m ent  of  Com pute E ngine er ing  a Khon  Kae Univer sit y ,   Tha i la nd .     Dr.  Khunboa  r ec e ive B . Eng   from   Khon  Kae Univer sit y   in   1992,   his  MS degr ee   in  T elec om m unic at ions  from   Univer sit y   of  Pitt sburgh  in  2000,   and  Ph D   degr ee   in  Inform at ion  T ec hno log y   from   Ge orge   Mason Unive rsity   in  2005 .   Hi s res ea rch   in te r ests  inc lud W ireless Sensor Ne twork ,   Int ern e of   Things   and  Softwar def ine d   Netwo rks (SD N).     Evaluation Warning : The document was created with Spire.PDF for Python.