In offshore exploration activities, 3D seismic data acquisition always lasts for half to one year. During this long period, the offshore physical conditions have big changes, including water temperature and saline concentration, making the propagation velocity of seismic wave change. Therefore, the seismic data acquired at the same position but in different time has different travel time, giving rise to the static correction problem. In 3D seismic data processing, the problem exists for a long time and cannot be solved. So we have developed a novel procedure to solve the problem. The procedure consists of automatic pick of the relative static shift between the sail lines and the global nonlinear inversion. Meanwhile, some prior knowledge is inducted in the inversion as constraints. Furthermore, the mixed l1 and l2 norm is used to make the inversion insensitive to large residuals, which can remove the error from automatic pick.Numerical simulation and actual date processing results show the method is effective.