LONDON - Britain will improve the security of smartphones, TVs and connected speakers by banning easy-to-hack default passwords and telling customers when security updates will end, according to a briefing document for the Queen's speech.

The measures will be included in a bill designed to accelerate the deployment of faster communication networks to help meet its target of ensuring the majority of the population is covered by 5G by 2027.

Britain will also legislate to ban high-risk vendors, such as China's Huawei, from parts of the communications infrastructure as announced last year, according to the document published on Tuesday.

(Reporting by Paul Sandle; editing by William James) ((paul.sandle@thomsonreuters.com; +44 20 7542 6843; Reuters Messaging: paul.sandle.thomsonreuters.com@reuters.net))