Logic of packing operation has been created. Step 1,step 2, step 3, step 4 have been completed.

Signed-off-by: jinshen <shen.jin19810809@gmail.com>