Principle and application of packer