The invention discloses
glycopyrrolate compounds, which are compounds formed by connecting deoxidized saccharide hydroxyl and a
pyrrole ring, and have a structure shown as a general formula I or II, wherein R1, R6, R10, R15 and R16 are independently selected from -H, -OH and
monosaccharide hydroxyl protective group; and n1 and n2 are independent integers
ranging from 1 to 6. Saccharide ring and
pyrrole connected compounds designed and synthesized in the technical scheme are important intermediates for synthesizing natural saccharide
quinazoline alkaloid by a chemical method. A problem that biological sources of the compounds are insufficient can be solved; and the technological process is concise, and the compounds are easy to synthesize.