Optimization theory and practical application of membrane science technology based on resource of traditional Chinese medicine residue