Google is planning a shake-up of the smartphone market by releasing its own handset, a move that would tighten its grip on mobile software and see it compete directly with the iPhone. The technology giant is in discussions with mobile operators about releasing a Google-branded phone that will extend the company’s move into hardware.