Mobile phone automatic shutdown or reboot

Solution:
1. Please carefully confirm what operations have been done before the mobile phone encounters this problem.
2. If there are problems after installing some software, try to uninstall these software.
3. Try to upgrade the system version to the latest version.
4. Clear the data after backup and try again.
5. If the above methods can not solve the problem, it is recommended to go to the local after-sales for inspection