Introduction - If you have any usage issues, please Google them yourself
IOC (inversion of control): Name: Inverse of Control. The control of the dependent object is released by the third party system to control the lifecycle of the dependent object.
DI (dependency injection): the specific way of managing the lifecycle of a dependent object is Dependency Injection.
IOC is a software design idea, and DI is an implementation of this software design idea.