With the rapid development of drone technology and Global Navigation Satellite Systems(GNSS),consumer and commercial drones are becoming increasingly popular.However,the high dependence of drones on GNSS makes them highly susceptible to interference from spoofing signals,which can lead to a series of safety issues.In response to this situation,this article designs and implements an efficient GNSS anti-spoofing method for unmanned aerial vehicles,aiming to improve their flight safety.The system adopts a combination of software and hardware,including a GNSS real-time receiving module carried by the drone,a real-time transmission module connected to the user terminal,and drone flight status information processing technology.This system effectively distinguishes between real signals and spoofing signals by performing double difference processing on the carrier phase observations received by the antenna array.This article verifies the effectiveness and reliability of the system through testing in various scenarios.The test results indicate that the anti-spoofing theory has high accuracy and stability,and can accurately and quickly detect spoofing signals.