Research Article

Time Slot Detection-Based -ary Tree Anticollision Identification Protocol for RFID Tags in the Internet of Things

Algorithm 2. Pseudocode of update the register RegM.

Initialize register:|RegM|=2m,and RegM = 1
1: B(i)=ID[|pre|+1:|pre|+m]
2: m(i)=Binary_to_ Decimal(B(i))
3: RegM=RegM<< m(i)
Algorithm 2. Pseudocode of update the register RegM.