SAN FRANCISCO — Google and VSP, the nation’s biggest optical health insurance provider, have struck a deal to offer subsidized frames and prescription lenses for Google Glass, the Internet-connected eyewear.

The announcement could take wearable devices, which tech analysts say are the next wave of computing, out of the realm of science fiction and into the mainstream by making them more affordable and giving them a medical stamp of approval. And it opens the door to a new level of cooperation between the health care and consumer electronics industries, which could lead to a world in which people wear or even ingest computers.

“The key business model of the year for wearables is becoming embedded into the health care system,” said J. P. Gownder, an analyst studying wearable devices at Forrester, which predicts that computers that people can ingest, tattoo on their skin or embed in a tooth are three to five years from being a medical reality.

“Selling wearable consumer electronics one-on-one to individual consumers is kind of a tough business,” Mr. Gownder said. “By embedding them into the health care system, you can reach a mass market.”