Whether it is drug molecules or other types of solid particles, their diffusion caused by thermal motion will eventually lead to release from the medium. In the face of a variety of specific problems, each has its own unique boundary conditions, we can customize the corresponding diffusion equation for each scenario to make the release process more scientific and reasonable. We insist on using theoretical and data-driven methods, rather than relying solely on empirical formulas to predict and analyze the diffusion process.