| For a series of problems such as opaque parking space information,random parking,and insufficient parking lot integration,there is no good solution to the current car parking problems,At the same time,there is no effective safety management mechanism in the parking lot,and safety accidents such as vehicle theft and scraping occur frequently.Edge computing has the characteristics of nearby processing,low latency,and resource saving.It is suitable for computing task processing of resource-constrained parking lot nodes.In order to solve the parking problem of users driving and traveling,this paper designs and implements an intelligent parking system based on edge computing.This system is composed of three parts: the vehicle user(Mobile terminal),the parking lot(edge server terminal),and the cloud.Aiming at the communication problem between Mobile nodes and parking lot nodes in the system,a Hybrid Hierarchical P2P(HP2P)architecture based on P2 P technology is designed.The network consists of an unstructured network in the lower layer and a structured Chord network in the upper layer.Composition,and research and design a complete set of communication protocols on this basis.Combining the idea of edge computing,the node with the strongest computing and storage capacity is selected from the many parking lot nodes in the lower network as the edge server node,and it cooperates with the cloud to complete computing tasks such as vehicle safety and intelligent management in the parking lot and road condition information sharing.Under the above overall architecture,the functions of the edge server are mainly implemented and tested.The edge server has two main functions: 1.As the manager of the lower-layer network,the edge server guides nodes to add groups and is responsible for computing tasks such as routing and forwarding of upper and lower messages.2.As a parking lot node,it provides vehicle users with intelligent services such as parking lot information query,parking space reservation,vehicle identification,automatic billing,and vehicle safety management,and uses dynamic target recognition algorithms on the edge server to complete the parking lot monitoring Video preprocessing calculation task,and road condition information preprocessing calculation task uploaded by Mobile node.The test results show that all parts of the system are functioning normally.Compared with most current parking management systems,the system is more intelligent,friendly and highly advanced.Aiming at the possible Denial of Service(Do S)attacks on the edge server side of the system,this thesis proposes a joint defense method based on the HP2 P architecture,which mainly includes two points: 1.The storage and sharing mechanism of attack information based on HP2 P architecture,after detecting the Do S attack of malicious nodes,the edge server in the system adds it to the local malicious node blacklist and uploads the metadata information to the HP2 P network,then coordinated storage by other edge servers to realize the sharing of attack information,so the edge server can query the blacklist information at any time;2.Collaborative emergency mechanism within the group.The edge server counts the idle resources of the backup edge server in the group in real time,and when it suffers from a Do S attack,it forwards the attack traffic to the backup edge server node in the group,reduces the Do S attack through traffic load balancing,and sets up an evaluation reward mechanism to achieve positive feedback to improve Security protection capabilities of edge servers.Experimental results show that this method has a good defensive effect. |