The present invention discloses a class of anti influenza virus compounds and their application in the preparation and treatment of influenza virus related drugs. The compounds shown in formula (I) and their pharmaceutically acceptable salts are specifically disclosed.本發公開了一類抗流感病毒化合物,及其在製備治療與流感病毒相關藥物中的應用。具體公開了式(Ⅰ)所示化合物及其藥學上可接受的鹽。