| The rapid development of mobile Internet technology and spatiotemporal positioning technology has promoted the popularization of location-based service applications.The user generates a location certificate based on identity information and location information,and uses it as a credential to obtain location services,which is currently the main method to ensure the reliability of location services.The traditional proof-of-location system adopts an infrastructure-based proof-of-location method and stores the proof-of-location information in a centralized database.However,this method has the problem of location proof efficiency limited by the distribution of users near the infrastructure,and the single point of failure of the centralized database model.This paper proposes a location proof method based on the mixture of nearby users and infrastructure,and designs and develops a decentralized storage location proof system based on blockchain technology.The specific contents include:(1)Based on the consortium chain framework(Hyperledger Fabric),through the four steps of installing the operating environment,obtaining network components,configuring the network environment and implementing business logic,design and develop the underlying storage blockchain network for location proof information,and Test its storage interface and query interface.(2)Propose a location attestation method based on a mixture of nearby users and infrastructure,designed in scenarios such as lack of nearby users,presence of nearby users,nearby users far away from the communication range,nearby users who do not meet the location certification assistance conditions,and requests for users to stay away from infrastructure and other scenarios.Location Proof Algorithm.(3)On the basis of defining user information,infrastructure information and location certification information,and determining the system data transmission method,design system functions such as creation and modification of user information and infrastructure information,location certification and location certification information traceability.(4)Based on the Springboot framework,develop and implement the location certification function of the system,and define the background service interface for the location certification information storage network connection,system basic functions,and advanced traceability functions.(5)Based on the Vue framework,design and implement a blockchain-based visual location proof system.The system test operation shows that the blockchain-based location proof system designed and developed in this paper can achieve efficient location proof and ensure the security of location proof information storage.The research results have certain practical value for promoting the in-depth development and application of location-based service systems. |