An automatic sliding mechanism is described. The automatic sliding
mechanism includes a rail base, a sliding rod, an actuating device, and a
sliding rod recovery device. The sliding rod couples to the sliding base
and moves along the sliding base. The actuating device configured on the
rail base locks or unlocks the sliding rod in the rail base. The sliding
rod recovery device configured on the rail base provides a spring force
to move the sliding rod.