A comet-chasing space probe that has been in hibernation for almost three years has woken up and sent its first signal back to Earth.

The European Space Agency received the all-clear message "Hello World!" from its Rosetta spacecraft some 800 million kilometres (500 million miles) away shortly after 6pm.

Rosetta was put into hibernation in 2011 to conserve energy for its long journey to meet with comet 67P/Churyumov-Gerasimenko.

If all goes as planned the probe will rendezvous with the comet in the coming months and drop a lander onto its icy surface in November.

Rosetta is named after a block of stone that allowed archaeologists to decipher ancient Egyptian hieroglyphs. Scientists hope the probe's findings will help them understand the composition of comets and thereby discover more about the origins and evolution of our solar system.

Comets are regarded as flying time capsules because they are essentially unchanged for 4.6 billion years. Scientists have speculated that comets, essentially giant, dirty snowballs, may be responsible for the water found on some planets.

And like asteroids, comets also pose a theoretical threat to life on Earth.

If all goes as planned, Rosetta will reach 67P in the coming months and fly a series of complicated manoeuvres to observe the comet - a lump of rock and ice about four kilometres (2.5 miles) in diameter - before dropping a lander onto its icy surface in November.

The Philae lander will dig up samples and analyse them with its on-board instruments.

The probe and its lander will keep sending back data until their batteries die or the debris streaming off the comet irreparably damages their sensitive instruments.

The mission is different from Nasa's Deep Impact probe that fired a projectile into a comet in 2005 so scientists could study the resulting plume of matter.

The agency also managed to land a probe on an asteroid in 2001, but comets are much more volatile places because they constantly release dust and gas that can harm a spacecraft.

Nasa is planning another space rock mission between 2019 and 2021. The agency is looking into sending a robotic spaceship to lasso a small asteroid and haul it close to the moon, where spacewalking astronauts would explore it.