添加环形buffer