Considering the inefficient performance of traditional methods where services are generated centrally in the cloud and then deployed after downloading,an improved service deployment strategy was proposed in this paper based on the construction of services from edge to cloud during the transmission of sensing data through network devices,in which the deployment time of services was advanced to the service generation process and user access characteristics were considered.The strategy consisted of a bottom-up distributed service construction mechanism and a top-down service deployment mechanism.The results show that compared with the least recently used deployment(LRU)scheme,the proposed service placement scheme by combining services generation(SPSG)strategy can effectively reduce network loads by 68.7%and decrease latency of service request by 48.0%,validating the effectiveness of the proposed method.