This paper proposes a similar structure method (SSM) to solve the boundary value problem of the extended modified Bessel equation. The method could efficiently solve a second-order linear homogeneous differential equation’s boundary value problem and obtain its solutions’ similar structure. A mathematics model is set up on the dual-porosity media, in which the influence of fractal dimension, spherical flow, wellbore storage, and skin factor is taken into cosideration. Researches in the model found that it was a special type of the extended modified Bessel equation in Laplace space. Then, the formation pressure and wellbore pressure under three types of outer boundaries (infinite, constant pressure, and closed) are obtained via SSM in Laplace space. Combining SSM with the Stehfest algorithm, we propose the similar structure method algorithm (SSMA) which can be used to calculate wellbore pressure and pressure derivative of reservoir seepage models clearly. Type curves of fractal dual-porosity spherical flow are plotted by SSMA. The presented algorithm promotes the development of well test analysis software.