Default [Q] help, my phone's camera won't work and has green screen

My phone have brought for one year. It was Ali yun os smartphone. These day the camera has something wrong. The camera always turn into black-screen or green-screen. It can't work at all now and can't scan the Two-dimensional code neither. The only way to normally use camera is to unload my TF card.

So you guys smart, what should I do?Is that hardware fault or system problem?