In last few years, the number of internet users is becoming more than the number of human in the planet themselves. The most parts of surfers are intelligent devices used in daily life or in industry. Connecting smart devices to internet have provided a huge amount of collected data which make analyzing, storing and managing it as a difficult task. On the other hand, cloud computing provides a great potential to manage and store data. Consequently, many researchers propose to benefit from cloud computing to manage data collected by things. However, the use of cloud computing with things is face to many challenges like: minimizing the use of energy, providing the best quality of service, using data effectively and avoiding useless data.