# US 2023/0068538 A1 · Heterocyclic compound, intermediate, preparation method therefor and application thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0068538 A1
- Document ID: US20230068538A1
- Status: Published application
- Kind: A1
- Application number: 17/417,304
- Filed: 2019-12-27
- Published: 2023-03-02
- Earliest claimed: 2018-12-29
- Assignees: Wuhan Ll Science and Technology Development Co., Ltd.
- Applicants: Wuhan Ll Science and Technology Development Co., Ltd.
- Inventors: Jun LOU; Yongkai CHEN; Junhua LIU; Yihan ZHANG; Xiaodan GUO; Li LIU; Lina QIAN; Chaodong WANG
- Web page: https://patentgrep.com/patent/US20230068538A1

## CPC

- A61P 11/00: Drugs for disorders of the respiratory system
- C07D 471/04: Ortho-condensed systems
- A61P 11/06: Antiasthmatics
- A61P 11/14: Antitussive agents
- A61P 13/00: Drugs for disorders of the urinary system
- A61P 13/02: of urine or of the urinary tract, e.g. urine acidifiers
- A61P 13/10: of the bladder
- A61P 25/04: Centrally acting analgesics, e.g. opioids
- A61P 25/06: Antimigraine agents
- A61P 29/00: Non-central analgesic, antipyretic or antiinflammatory agents, e.g. antirheumatic agents; Non-steroidal antiinflammatory drugs [NSAID]
- C07D 209/18: Radicals substituted by carbon atoms having three bonds to hetero atoms with at the most one bond to halogen, e.g. ester or nitrile radicals
- C07D 265/30: not condensed with other rings
- C07D 317/26: Radicals substituted by doubly bound oxygen or sulfur atoms or by two such atoms singly bound to the same carbon atom
- C07D 413/06: linked by a carbon chain containing only aliphatic carbon atoms
- C07D 487/04: Ortho-condensed systems
- C07D 491/048: the oxygen-containing ring being five-membered
- C07F 5/04: Esters of boric acids
- A61P: SPECIFIC THERAPEUTIC ACTIVITY OF CHEMICAL COMPOUNDS OR MEDICINAL PREPARATIONS
- C07D: HETEROCYCLIC COMPOUNDS (macromolecular compounds C08)
- C07F: ACYCLIC, CARBOCYCLIC OR HETEROCYCLIC COMPOUNDS CONTAINING ELEMENTS OTHER THAN CARBON, HYDROGEN, HALOGEN, OXYGEN, NITROGEN, SULFUR, SELENIUM OR TELLURIUM (metal-containing porphyrins C07D487/22)

## Abstract

Disclosed by the invention is a heterocyclic compound, an intermediate, and a preparation method therefor and an application thereof. Provided by the invention are a heterocyclic compound as shown in formula I, and a stereoisomer, a geometric isomer, a tautomer, a nitrogen oxide, a hydrate, a solvate, a metabolite, an ester, a pharmaceutically acceptable salt or a prodrug thereof. The heterocyclic compound has a high P2X3 antagonistic activity, and has good selectivity, low toxicity, good metabolic stability and little taste influence.

## Claims

### Claim 1

A heterocyclic compound of formula I or a stereoisomer, a geometric isomer, a tautomer, a nitrogen oxide, a hydrate, a solvate, a metabolite, an ester, a pharmaceutically acceptable salt or a prodrug thereof,
wherein,
is a 5 membered heteroaryl or a 5 membered heterocycloalkenyl, wherein the 5 membered heteroaryl contains 1-2 heteroatoms selected from one or more of N, O and S, and the 5 membered heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of N, O and S;
is phenyl, a 5-6 membered heterocycloalkyl, a 5-6 membered heterocycloalkenyl, or a 5-6 membered heteroaryl, wherein the 5-6 membered heterocycloalkyl contains 1-3 heteroatoms selected from one or more of N, O and S, the 5-6 membered heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of N, O and S, and the 5-6 membered heteroaryl contains 1-3 heteroatoms selected from one or more of N, O and S;
Z1, Z2, Z3, Z4, Z5, Z6, Z7, Z8 and Z9 independently represent a ring atom; and when
is a 5 membered heterocycloalkyl, a 5 membered heterocycloalkenyl or a 5 membered heteroaryl, Z6 or Z9 represents a single bond;
m is 1, 2, 3 or 4;
R3 is H, halogen, —OH, a C1-C6 haloalkyl, —CN or a C1-C6 alkyl; when m is not 1, R3 is independently the same or different; or when two adjacent R3 are present, they, together with the ring atom to which they directly link, form a C3-C6 cycloalkyl, a C3-C6 cycloalkenyl, a C3-C9 heterocycloalkyl, a C3-C9 heterocycloalkenyl, phenyl or a 5-6 membered heteroaryl; wherein the C3-C9 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N; the C3-C9 heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of O, S and N; and the 5-6 membered heteroaryl contains 1-3 heteroatoms selected from one or more of O, S and N;
W is a single bond or —C(═O)—NH—;
is phenyl, a 5-6 membered heteroaryl, or a C3-C9 heterocycloalkyl; wherein the 5-6 membered heteroaryl contains 1-3 heteroatoms selected from one or more of N, O and S; and the C3-C9 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N;
n is 1, 2, 3 or 4;
R1 is independently H, halogen, —OH, —CN, an unsubstituted or substituted C1-C6 alkyl, or an unsubstituted or substituted C1-C6 alkyl-O—; wherein the substituted C1-C6 alkyl or the substituted C1-C6 alkyl-O— is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, —COOH, —C(═O)NH2, a C1-C6 alkyl, a C1-C6 alkyl-O— or ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O); when a plurality of substituents are present, they are the same or different; and when n is not 1, R1 is independently the same or different;
Q is H, halogen, —OH, —CF3, —CN, —NH—C(═O)—R1-1, —C(═O)—R1-2, —O—C(═O)—N(R1-3R1-4), —C(═O)—N(R1-5R1-6), —C(═NH)—N(R1-7R1-8), —S(═O)2—N(R1-9R1-10), —S(═O)—N(R1-11R1-12), —O—C(═O)—R1-13, —N(R1-14R1-15), —NH—S(═O)2—R1-16, an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C1-C6 alkyl-O—, an unsubstituted or substituted C2-C6 alkenyl, an unsubstituted or substituted C2-C6 alkenyl-O—, an unsubstituted or substituted C3-C10 cycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkenyl, an unsubstituted or substituted C6-C10 aryl, or an unsubstituted or substituted 5-10 membered heteroaryl; wherein the C3-C9 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N; the C3-C9 heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of O, S and N; and the 5-10 membered heteroaryl contains 1-3 heteroatoms selected from one or more of O, S and N; and the substituted C1-C6 alkyl, the substituted C1-C6 alkyl-O—, the substituted C2-C6 alkenyl, the substituted C2-C6 alkenyl-O—, the substituted C3-C10 cycloalkyl, the substituted C6-C10 aryl, the substituted C3-C9 heterocycloalkyl, the substituted C3-C9 heterocycloalkenyl or the substituted 5-10 membered heteroaryl is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, —COOH, —C(═O)NH2, ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O), —N(R1-21R1-22), —C(═O)—N(R1-23R1-24), —S(═O)2—N(R1-25R1-26), —C(═O)—O—R1-27, and a C1-C6 alkyl, a C1-C6 alkyl-O— or a C3-C6 cycloalkyl that is unsubstituted or substituted with one or more Ra, wherein when a plurality of Ra are present, they are the same or different, and each Ra is halogen, —OH, ═O, —CF3, —CN, —COOH or —C(═O)NH2; and when a plurality of substituents are present, they are the same or different;
R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1- 21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each independently H, an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C1-C6 alkyl-O—, an unsubstituted or substituted C2-C6 alkenyl, an unsubstituted or substituted C2-C6 alkenyl-O—, an unsubstituted or substituted C2-C6 alkynyl, an unsubstituted or substituted C3-C10 cycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkenyl, an unsubstituted or substituted phenyl, or an unsubstituted or substituted 5-10 membered heteroaryl; wherein the C3-C9 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N; the C3-C9 heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of O, S and N; and the 5-10 membered heteroaryl contains 1-3 heteroatoms selected from one or more of N, O and S; and the substituted C1-C6 alkyl, the substituted C1-C6 alkyl-O—, the substituted C2-C6 alkenyl, the substituted C2-C6 alkenyl-O—, the substituted C2-C6 alkynyl, the substituted C3-C10 cycloalkyl, the substituted C3-C9 heterocycloalkyl, the substituted C3-C9 heterocycloalkenyl, the substituted phenyl or the substituted 5-10 membered heteroaryl is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, —COOH, —COOCH3, —NH2, ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O), and a C1-C6 alkyl, a C1-C6 alkyl-O— or a C3-C6 cycloalkyl that is unsubstituted or substituted with one or more Rd, wherein when a plurality of Rd are present, they are the same or different, and each Rd is independently H, halogen, —OH, ═O, —CF3, —CN, —COOH or —C(═O)NH2; and when a plurality of substituents are present, they are the same or different; or
R1-3 and R1-4, R1-5 and R1-6, R1-7 and R1-8, R1-9 and R1-10, R1-11 and R1-12, R1-14 and R1-15, R1-21 and R1-22, R1-23 and R1-24, or R1-25 and R1-26, independently together with the N atom to which they directly link, form an unsubstituted or substituted C3-C9 heterocycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkenyl, or an unsubstituted or substituted 5-10 membered heteroaryl; wherein the C3-C9 heterocycloalkyl contains no heteroatom or 1-2 heteroatoms selected from one or more of O, S and N in addition to the existing N atom; the C3-C9 heterocycloalkenyl contains no heteroatom or 1-2 heteroatoms selected from one or more of O, S and N in addition to the existing N atom; the 5-10 membered heteroaryl contains no heteroatom or 1-2 heteroatoms selected from one or more of O, S and N in addition to the existing N atom; and the substituted C3-C9 heterocycloalkyl, the substituted C3-C9 heterocycloalkenyl or the substituted 5-10 membered heteroaryl is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, a C1-C6 alkyl, a C1-C6 alkyl-O—, ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O), and a C1-C6 alkyl, a C1-C6 alkyl-O— or a C3-C6 cycloalkyl that is unsubstituted or substituted with one or more Rb, wherein when a plurality of Rb are present, they are the same or different, and each Rb is halogen, —OH, ═O, —CF3, —CN, —COOH or —C(═O)NH2; and when a plurality of substituents are present, they are the same or different;
R2 is independently
—C(═O)N(R2-5R2-6) or an unsubstituted or substituted 5-6 membered heteroaryl; wherein the 5-6 membered heteroaryl contains 1-3 heteroatoms selected from one or more of N, O and S; and the substituted 5-6 membered heteroaryl is substituted with one or more substituents independently selected from the following: halogen, —OH, —CN, an unsubstituted or halogen-substituted C1-C6 alkyl, an unsubstituted or halogen-substituted C1-C6 alkyl-O—, —C(═O)R2-7 or —C(═O)N(R2-8R2-9), wherein when a plurality of substituents are present, they are the same or different;
R2-1 and R2-2 are each independently H, halogen, —OH, —CN, an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C1-C6 alkyl-O—, or ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O); wherein the substituted C1-C6 alkyl or the substituted C1-C6 alkyl-O— is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, a C1-C6 alkyl, a C1-C6 alkyl-O— or ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O), and when a plurality of substituents are present, they are the same or different;
X and Y are each independently a single bond, methylene, —O—, —N(R2-3)— or
R2-3, R2-4, R2-5 and R2-6 are each independently H, an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C3-C8 cycloalkyl, an unsubstituted or substituted C3-C8 cycloalkyl-O—, or an unsubstituted or substituted C1-C6 alkyl-O—; wherein the substituted C1-C6 alkyl, the substituted C3-C8 cycloalkyl, the substituted C3-C8 cycloalkyl-O— or the substituted C1-C6 alkyl-O— is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, a C1-C6 alkyl, a C1-C6 alkyl-O— or ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O), and when a plurality of substituents are present, they are the same or different;
R2-7 is independently H, halogen, —OH, —CN, an unsubstituted or halogen-substituted C1-C6 alkyl, or an unsubstituted or halogen-substituted C1-C6 alkyl-O—; and
R2-8 and R2-9 are each independently H, or an unsubstituted or halogen-substituted C1-C6 alkyl.

### Claim 2 (depends on 1)

The heterocyclic compound of formula I or the stereoisomer, the geometric isomer, the tautomer, the nitrogen oxide, the hydrate, the solvate, the metabolite, the ester, the pharmaceutically acceptable salt or the prodrug thereof according to claim 1, wherein when
is a 5 membered heteroaryl, the 5 membered heteroaryl is pyrrolyl, furanyl, thienyl, imidazolyl or pyrazolyl, the pyrrolyl is preferably
the furanyl is preferably
the imidazolyl is preferably
the thienyl is preferably
and the pyrazolyl is preferably
and/or
when
is a 5 membered heterocycloalkenyl, the 5 membered heterocycloalkenyl contains 1-2 heteroatoms selected from one or more of N, O and S, and the 5 membered heterocycloalkenyl is preferably 2,3-dihydro-1H-pyrazolyl, and more preferably
and/or
when
is a 5-6 membered heterocycloalkyl, the 5-6 membered heterocycloalkyl is a 6 membered heterocycloalkyl, wherein the 6 membered heterocycloalkyl contains 1-3 N heteroatoms; and the 5-6 membered heterocycloalkyl is preferably piperazinyl or piperidinyl, the piperazinyl is preferably
and the piperidinyl is preferably
wherein the right-side carbon-nitrogen bond
represents the position fusing to
and/or
when
is a 5-6 membered heterocycloalkenyl, the 5-6 membered heterocycloalkenyl is a 6 membered heterocycloalkenyl, wherein the 6 membered heterocycloalkenyl contains 1-3 N heteroatoms; and the 5-6 membered heterocycloalkenyl is preferably 1,2-dihydropyridinyl or 1,6-dihydropyrimidinyl, the 1,2-dihydropyridinyl is preferably
and the 1,6-dihydropyrimidinyl is preferably
wherein the right-side carbon-nitrogen bond
represents the position fusing to
and/or
when
is a 5-6 membered heteroaryl, the 5-6 membered heteroaryl is a 6 membered heteroaryl, wherein the 6 membered heteroaryl contains 1-3 N heteroatoms; and the 5-6 membered heteroaryl is preferably pyridinyl, and the pyridinyl is preferably or
and/or
m is 1 or 2; and/or
Z7 is substituted with R3, Z8 is unsubstituted or substituted with R3, Z6 and Z9 are unsubstituted; when a plurality of R3 are present, they are the same or different; and more preferably, Z7 is substituted with R3, and Z6, Z8 and Z9 are unsubstituted; and/or
when R3 is halogen, the halogen is fluorine, chlorine, bromine or iodine; and/or
when R3 is a C1-C6 alkyl, the C1-C6 alkyl is C1-C4 alkyl, and preferably methyl; and/or
when R3 is a C1-C6 haloalkyl, the halogen is fluorine, chlorine, bromine or iodine; and/or
when R3 is a C1-C6 haloalkyl, it contains one or more halogens, and preferably 1, 2 or 3 halogens; and/or
when two adjacent R3 are present and they, together with the ring atom to which they directly link, form a C3-C6 cycloalkyl, the C3-C6 cycloalkyl is cyclopropyl, cyclobutyl, cyclopentyl or cyclohexyl; and/or
when two adjacent R3 are present and they, together with the ring atom to which they directly link, form a C3-C6 cycloalkenyl, the C3-C6 cycloalkenyl is cyclopropenyl, cyclobutenyl, cyclopentenyl, cyclohexenyl or cyclohexadienyl; and/or
when two adjacent R3 are present and they, together with the ring atom to which they directly link, form a C3-C9 heterocycloalkyl, the C3-C9 heterocycloalkyl is a C4-C5 heterocycloalkyl, wherein the C4-C5 heterocycloalkyl contains 1-2 heteroatoms selected from one or more of N, O and S; and/or
when two adjacent R3 are present and they, together with the ring atom to which they directly link, form a C3-C9 heterocycloalkenyl, the C3-C9 heterocycloalkenyl is a C4-C5 heterocycloalkenyl, wherein the C4-C5 heterocycloalkenyl contains 1-2 heteroatoms selected from one or more of N, O and S; and/or
when two adjacent R3 are present and they, together with the ring atom to which they directly link, form a 5-6 membered heteroaryl, the 5-6 membered heteroaryl contains 1-2 heteroatoms selected from one or more of N, O and S; and/or
n is 1 or 2; and/or
each R1 is independently located at position α or β of the linkage between
and Z2; and/or
when R1 is halogen, the halogen is fluorine, chlorine, bromine or iodine; and/or
when R1 is an unsubstituted or substituted C1-C6 alkyl or an unsubstituted or substituted C1-C6 alkyl-O—, the C1-C6 alkyl is independently a C1-C4 alkyl, and preferably methyl; and/or
when R1 is a substituted C1-C6 alkyl or a substituted C1-C6 alkyl-O—, and the substituents are each independently halogen, the halogen is fluorine, chlorine, bromine or iodine; and/or
when R1 is a substituted C1-C6 alkyl or a substituted C1-C6 alkyl-O—, and the substituents are each independently a C1-C6 alkyl or a C1-C6 alkyl-O—, the C1-C6 alkyl in the substituents is independently a C1-C4 alkyl, and preferably methyl; and/or
when R1 is a substituted C1-C6 alkyl or a substituted C1-C6 alkyl-O—, the number of the substituents is independently 1, 2 or 3; and/or
Q is located at position β or γ of the linkage between
and W;
when
is a 5-6 membered heteroaryl, the 5-6 membered heteroaryl is a 5 membered heteroaryl, wherein the 5 membered heteroaryl contains 1-2 heteroatoms selected from one or more of N, O and S, and the 5 membered heteroaryl is preferably imidazolyl, thienyl, furanyl or pyrrolyl, the imidazolyl is preferably
and more preferably
the thienyl is preferably
and more preferably
the furanyl is preferably
and more preferably
and the pyrrolyl is preferably
and more preferably
or the 5-6 membered heteroaryl is a 6 membered heteroaryl, wherein the 6 membered heteroaryl contains 1-2 heteroatoms selected from one or more of N, O and S, and the 6 membered heteroaryl is preferably pyridinyl or pyrazinyl, the pyridinyl is preferably
and more preferably
and the pyrazinyl is preferably
and more preferably
and/or
when
is a C3-C9 heterocycloalkyl, the C3-C9 heterocycloalkyl is a C3-C5 heterocycloalkyl, wherein the C3-C5 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of N, O and S; and the C3-C9 heterocycloalkyl is preferably a C4-C5 heterocycloalkyl, wherein the C4-C5 heterocycloalkyl contains 1-2 heteroatoms selected from one or more of N, O and S, the C4-C5 heterocycloalkyl is preferably piperidinyl, and the piperidinyl is preferably
and more preferably
and/or
when Q is halogen, the halogen is fluorine, chlorine, bromine or iodine; and/or
when Q is an unsubstituted or substituted C1-C6 alkyl or an unsubstituted or substituted C1-C6 alkyl-O—, the C1-C6 alkyl is independently a C1-C4 alkyl; and/or
when Q is an unsubstituted or substituted C2-C6 alkenyl or an unsubstituted or substituted C2-C6 alkenyl-O—, the C2-C6 alkenyl is a C2-C4 alkenyl; and/or
when Q is an unsubstituted or substituted C3-C10 cycloalkyl, the C3-C10 cycloalkyl is cyclopropyl, cyclobutyl, cyclopentyl, cyclohexyl, cycloheptyl or cyclooctyl; and/or
when Q is an unsubstituted or substituted C3-C9 heterocycloalkyl, the C3-C9 heterocycloalkyl is a C3-C5 heterocycloalkyl, wherein the C3-C65 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N; the C3-C9 heterocycloalkyl is preferably a C4-C5 heterocycloalkyl, wherein the C4-C5 heterocycloalkyl contains 1-2 heteroatoms selected from one or more of N, O and S; and the C3-C9 heterocycloalkyl is preferably glycidyl, pyrrolidinyl or piperazinyl, the glycidyl is preferably
the pyrrolidinyl is preferably
and the piperazinyl is preferably
and/or
when Q is an unsubstituted or substituted C3-C9 heterocycloalkenyl, the C3-C9 heterocycloalkenyl is a C3-C5 heterocycloalkenyl, wherein the C3-C5 heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of O, S and N; and the C3-C9 heterocycloalkenyl is preferably a C4-C5 heterocycloalkenyl, wherein the C4-C5 heterocycloalkenyl contains 1-2 heteroatoms selected from one or more of N, O and S, and the C4-C5 heterocycloalkenyl is preferably
the
is preferably
the
is preferably
the
is preferably
and the
is preferably
and/or
when Q is an unsubstituted or substituted C6-C10 aryl, the C6-C10 aryl is phenyl; and/or
when Q is an unsubstituted or substituted 5-10 membered heteroaryl, the 5-10 membered heteroaryl is a 5-6 membered heteroaryl, and preferably imidazolyl, oxazolyl, furanyl, thienyl, pyrrolyl, pyrazolyl, isoxazolyl, pyridinyl, triazolyl or pyrimidinyl, the imidazolyl is preferably
the oxazolyl is preferably
the furanyl is preferably
the thienyl is preferably
the pyrrolyl is preferably
the pyrazolyl is preferably
the isoxazolyl is preferably
the pyridinyl is preferably
the pyrimidinyl is preferably
and the triazolyl is preferably
and/or
when Q is a substituted C1-C6 alkyl, a substituted C1-C6 alkyl-O—, a substituted C2-C6 alkenyl, a substituted C2-C6 alkenyl-O—, a substituted C3-C10 cycloalkyl, a substituted C6-C10 aryl, a substituted C3-C9 heterocycloalkyl, a substituted C3-C9 heterocycloalkenyl or a substituted 5-10 membered heteroaryl, the number of substituents is independently 1, 2, 3 or 4; and/or
when Q is a substituted C1-C6 alkyl, a substituted C1-C6 alkyl-O—, a substituted C2-C6 alkenyl, a substituted C2-C6 alkenyl-O—, a substituted C3-C10 cycloalkyl, a substituted C6-C10 aryl, a substituted C3-C9 heterocycloalkyl, a substituted C3-C9 heterocycloalkenyl or a substituted 5-10 membered heteroaryl, and the substituent is halogen, the halogen is independently fluorine, chlorine, bromine, or iodine, and preferably fluorine; and/or
the C1-C6 alkyl in the C1-C6 alkyl or the C1-C6 alkyl-O— that is unsubstituted or substituted with one or more Ra is independently methyl, ethyl, n-propyl, isopropyl, n-butyl, isobutyl, sec-butyl or tert-butyl; and/or
the C3-C6 cycloalkyl in the C3-C6 cycloalkyl that is unsubstituted or substituted with one or more Ra is independently cyclopropyl, cyclobutyl, cyclopentyl or cyclohexyl; and/or
when Ra is halogen, the halogen is independently fluorine, chlorine, bromine or iodine; and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1-21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each an unsubstituted or substituted C1-C6 alkyl, or an unsubstituted or substituted C1-C6 alkyl-O—, the C1-C6 alkyl is independently a C1-C4 alkyl, and preferably methyl, ethyl or tert-pentyl; and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1-21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each an unsubstituted or substituted C2-C6 alkenyl, or an unsubstituted or substituted C2-C6 alkenyl-O—, the C2-C6 alkenyl is independently a C2-C4 alkenyl, and preferably ethenyl; and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-18, R1-19, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1-21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each an unsubstituted or substituted C2-C6 alkynyl, the C2-C6 alkynyl is ethynyl, 1-propynyl, 2-propynyl, 2-butynyl, 1-butynyl or butadiynyl, and preferably ethynyl; and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1-21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each an unsubstituted or substituted C3-C10 cycloalkyl, the C3-C10 cycloalkyl is a C3-C6 cycloalkyl, and preferably cyclopropyl, cyclobutyl, cyclopentyl and cyclohexyl; and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1-21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each an unsubstituted or substituted C3-C9 heterocycloalkyl, the C3-C9 heterocycloalkyl is a C3-C5 heterocycloalkyl, wherein the C3-C5 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N; the C3-C9 heterocycloalkyl is preferably a C4-C5 heterocycloalkyl, wherein the C4-C5 heterocycloalkyl contains 1-2 heteroatoms selected from one or more of N, O and S; and the C3-C9 heterocycloalkyl is preferably glycidyl, tetrahydrofuranyl, tetrahydropyranyl or tetrahydrothienyl, the glycidyl is preferably
the tetrahydrofuranyl is preferably
the tetrahydropyranyl is preferably
and the tetrahydrothienyl is preferably
and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1-21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each an unsubstituted or substituted C3-C9 heterocycloalkenyl, the C3-C9 heterocycloalkenyl is a C3-C5 heterocycloalkenyl, wherein the C3-C5 heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of O, S and N; and the C3-C9 heterocycloalkenyl is preferably a C4-C5 heterocycloalkenyl, wherein the C4-C5 heterocycloalkenyl contains 1-2 heteroatoms selected from one or more of N, O and S; and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1-21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each an unsubstituted or substituted 5-10 membered heteroaryl, the 5-10 membered heteroaryl is a 5-6 membered heteroaryl, wherein the 5-6 membered heteroaryl contains 1-2 heteroatoms selected from one or two of N, O and S; and the 5-10 membered heteroaryl is preferably furanyl or pyridinyl, the furanyl is preferably
and the pyridinyl is preferably
and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1-21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each a substituted C1-C6 alkyl, a substituted C1-C6 alkyl-O—, a substituted C2-C6 alkenyl, a substituted C2-C6 alkenyl-O—, a substituted C2-C6 alkynyl, a substituted C3-C10 cycloalkyl, a substituted phenyl, a substituted C3-C9 heterocycloalkyl, a substituted C3-C9 heterocycloalkenyl or a substituted 5-10 membered heteroaryl, and the substituent is halogen, the halogen is independently fluorine, chlorine, bromine or iodine, and preferably fluorine; and/or
when Rd is independently halogen, the halogen is independently fluorine, chlorine, bromine or iodine, and preferably fluorine; and/or
the number of Rd is independently 1, 2, 3, or 4, and preferably 1 or 2; and/or
the C1-C6 alkyl in the C1-C6 alkyl or the C1-C6 alkyl-O— that is unsubstituted or substituted with one or more Rd is independently methyl, ethyl, n-propyl, isopropyl, n-butyl, isobutyl, sec-butyl or tert-butyl; and/or
the C3-C6 cycloalkyl in the C3-C6 cycloalkyl that is unsubstituted or substituted with one or more Rd is independently cyclopropyl, cyclobutyl, cyclopentyl or cyclohexyl; and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1-21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each a substituted C1-C6 alkyl, a substituted C1-C6 alkyl-O—, a substituted C2-C6 alkenyl, a substituted C2-C6 alkenyl-O—, a substituted C2-C6 alkynyl, a substituted C3-C6 cycloalkyl, a substituted phenyl, a substituted C3-C9 heterocycloalkyl, a substituted C3-C9 heterocycloalkenyl or a substituted 5-10 membered heteroaryl, the number of the substituents is independently 1, 2, 3 or 4, and preferably 1 or 2; and/or
when R1-3 and R1-4, R1-5 and R1-6, R1-7 and R1-8, R1-9 and R1-10, R1-11 and R1-12, R1-14 and R1-15, R1-21 and R1-22, R1-23 and R1-24, or R1-25 and R1-26, independently together with the N atom to which they directly link, form an unsubstituted or substituted C3-C9 heterocycloalkyl, the C3-C9 heterocycloalkyl contains no heteroatom or one heteroatom selected from one of O, S and N in addition to the existing N atom, and is preferably a C3-C5 heterocycloalkyl; and/or
when R1-3 and R1-4, R1-5 and R1-6, R1-7 and R1-8, R1-9 and R1-10, R1-11 and R1-12, R1-14 and R1-15, R1-21 and R1-22, R1-23 and R1-24, or R1-25 and R1-26, independently together with the N atom to which they directly link, form an unsubstituted or substituted C3-C9 heterocycloalkenyl, the C3-C9 heterocycloalkenyl contains no heteroatom or one heteroatom selected from one of O, S and N in addition to the existing N atom, and is preferably a C3-C5 heterocycloalkenyl; and/or
when R1-3 and R1-4, R1-5 and R1-6, R1-7 and R1-8, R1-9 and R1-10, R1-11 and R1-12, R1-14 and R1-15, R1-21 and R1-22, R1-23 and R1-24, or R1-25 and R1-26, independently together with the N atom to which they directly link, form an unsubstituted or substituted 5-10 membered heteroaryl, the 5-10 membered heteroaryl contains no heteroatom or one heteroatom selected from one of O, S and N in addition to the existing N atom, and is preferably a 5-6 membered heteroaryl; and/or
when R1-3 and R1-4, R1-5 and R1-6, R1-7 and R1-8, R1-9 and R1-10, R1-11 and R1-12, R1-14 and R1-15, R1-21 and R1-22, R1-23 and R1-24, or R1-25 and R1-26, independently together with the N atom to which they directly link, form a substituted C3-C9 heterocycloalkyl, a substituted C3-C9 heterocycloalkenyl or a substituted 5-10 membered heteroaryl, and the substituent is halogen, the halogen is independently fluorine, chlorine, bromine or iodine; and/or
the C1-C6 alkyl in the C1-C6 alkyl or the C1-C6 alkyl-O— that is unsubstituted or substituted with one or more Rb is independently methyl, ethyl, n-propyl, isopropyl, n-butyl, isobutyl, sec-butyl or tert-butyl; and/or
the C3-C6 cycloalkyl in the C3-C6 cycloalkyl that is unsubstituted or substituted with one or more Rb is cyclopropyl, cyclobutyl, cyclopentyl or cyclohexyl; and/or
when Rb is halogen, the halogen is independently fluorine, chlorine, bromine or iodine; and/or
when R1-3 and R1-4, R1-5 and R1-6, R1-7 and R1-8, R1-9 and R1-10, R1-11 and R1-12, R1-14 and R1-15, R1-21 and R1-22, R1-23 and R1-24, or R1-25 and R1-26, independently together with the N atom to which they directly link, form a substituted C3-C9 heterocycloalkyl, a substituted C3-C9 heterocycloalkenyl or a substituted 5-10 membered heteroaryl, the number of the substituents is independently 1, 2, 3 or 4, and preferably 1 or 2; and/or
when R2-1 or R2-2 is halogen, the halogen is independently fluorine, chlorine, bromine or iodine; and/or
when R2-1 or R2-2 is an unsubstituted or substituted C1-C6 alkyl or an unsubstituted or substituted C1-C6 alkyl-O—, the C1-C6 alkyl is independently a C1-C4 alkyl; and/or
when R2-1 or R2-2 is a substituted C1-C6 alkyl or a substituted C1-C6 alkyl-O—, and the substituent is halogen, the halogen is independently fluorine, chlorine, bromine or iodine; and/or
when R2-1 or R2-2 is a substituted C1-C6 alkyl or a substituted C1-C6 alkyl-O—, and the substituent is a C1-C6 alkyl or a substituted C1-C6 alkyl-O—, the C1-C6 alkyl in the substituent is independently a C1-C4 alkyl; and/or
when R2-1 or R2-2 is a substituted C1-C6 alkyl or a substituted C1-C6 alkyl-O—, the number of the substituents is independently 1, 2, 3 or 4, and preferably 1 or 2; and/or
when R2-3, R2-4, R2-5 or R2-6 is an unsubstituted or substituted C1-C6 alkyl or an unsubstituted or substituted C1-C6 alkyl-O—, the C1-C6 alkyl is independently a C1-C4 alkyl; and/or
when R2-3, R2-4, R2-5 or R2-6 is an unsubstituted or substituted C3-C8 cycloalkyl or an unsubstituted or substituted C3-C8 cycloalkyl-O—, the C3-C8 cycloalkyl is a C3-C6 cycloalkyl; and/or
when R2-3, R2-4, R2-5 or R2-6 is a substituted C1-C6 alkyl, a substituted C3-C8 cycloalkyl, a substituted C3-C8 cycloalkyl-O— or a substituted C1-C6 alkyl-O—, and the substituent is halogen, the halogen is independently fluorine, chlorine, bromine or iodine; and/or
when R2-3, R2-4, R2-5 or R2-6 is a substituted C1-C6 alkyl, a substituted C3-C8 cycloalkyl, a substituted C3-C8 cycloalkyl-O— or a substituted C1-C6 alkyl-O—, and the substituent is a C1-C6 alkyl or a substituted C1-C6 alkyl-O—, the C1-C6 alkyl in the substituent is independently a C1-C4 alkyl, and preferably methyl or ethyl; and/or
when R2-3, R2-4, R2-5 or R2-6 is a substituted C1-C6 alkyl, a substituted C3-C8 cycloalkyl, a substituted C3-C8 cycloalkyl-O— or a substituted C1-C6 alkyl-O—, and the substituent is a C1-C6 alkyl or a substituted C1-C6 alkyl-O—, the number of the substituents is independently 1, 2, 3 or 4, and preferably 1 or 2; and/or
when R2-7 is independently halogen, R2-7 is independently a halogen-substituted C1-C6 alkyl, or R2-7 is independently a halogen-substituted C1-C6 alkyl-O—, the halogen is independently fluorine, chlorine, bromine or iodine; and/or
when R2-7 is independently an unsubstituted or substituted C1-C6 alkyl, or R2-7 is independently an unsubstituted or substituted C1-C6 alkyl-O—, the C1-C6 alkyl is independently methyl, ethyl, n-propyl, isopropyl, n-butyl, isobutyl, sec-butyl or tert-butyl; and/or
when R2-8 or R2-9 is independently a halogen-substituted C1-C6 alkyl, the halogen is independently fluorine, chlorine, bromine or iodine;
when R2-8 or R2-9 is independently an unsubstituted or halogen-substituted C1-C6 alkyl, the C1-C6 alkyl is independently methyl, ethyl, n-propyl, isopropyl, n-butyl, isobutyl, sec-butyl or tert-butyl; and/or
when R2 is independently an unsubstituted or substituted 5-6 membered heteroaryl, the 5-6 membered heteroaryl is independently pyridinyl; and/or
when R2 is independently a substituted 5-6 membered heteroaryl that may be substituted with halogen, a halogen-substituted C1-C6 alkyl or a halogen-substituted C1-C6 alkyl-O—, the halogen in the substituents is independently fluorine, chlorine, bromine or iodine; and/or
when R2 is independently a substituted 5-6 membered heteroaryl that may be substituted with an unsubstituted or halogen-substituted C1-C6 alkyl, or an unsubstituted or halogen-substituted C1-C6 alkyl-O—, the C1-C6 alkyl in the substituents is independently methyl, ethyl, n-propyl, isopropyl, n-butyl, isobutyl, sec-butyl or tert-butyl.

### Claim 3 (depends on 2)

The heterocyclic compound of formula I or the stereoisomer, the geometric isomer, the tautomer, the nitrogen oxide, the hydrate, the solvate, the metabolite, the ester, the pharmaceutically acceptable salt or the prodrug thereof according to claim 2, wherein when R1 is a substituted C1-C6 alkyl or a substituted C1-C6 alkyl-O—, and the substituents are each independently halogen, the C1-C6 alkyl in the substituted C1-C6 alkyl or the substituted C1-C6 alkyl-O— is independently —CF3; and/or
when R3 is a C1-C6 haloalkyl, the C1-C6 haloalkyl is —CF3, —CH2F or —CHF2; and/or
and preferably
and/or
at least one R1 is located at position α of the linkage between
and Z2, and preferably, when n is 2, each R1 is independently located at position α of the linkage between
and Z2; or at least one R1 is located at position β of the linkage between
and Z2, and preferably, when n is 2, each R1 is independently located at position β of the linkage between
and Z2; and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1-21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each a substituted C1-C6 alkyl, the substituted C1-C6 alkyl is
and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1-21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each a substituted C2-C6 alkenyl, the substituted C2-C6 alkenyl is
and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15R1-16, R1- 21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each a substituted C2-C6 alkynyl, the substituted C2-C6 alkynyl is
and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1-21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each a substituted C3-C10 cycloalkyl, the substituted C3-C10 cycloalkyl is
and preferably
and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1-21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each a substituted C3-C9 heterocycloalkyl, the substituted C3-C9 heterocycloalkyl is
and preferably
and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1-21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each an unsubstituted or substituted phenyl, the substituted phenyl is
and preferably
and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1-21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each an unsubstituted or substituted 5-10 membered heteroaryl, the substituted 5-10 membered heteroaryl is
and preferably
and/or
—C(═O)N(R2-5R2-6) is —C(═O)NH2; and/or
and preferably
and/or
—C(═O)N(R2-8R2-9) is —C(═O)NHCH3.

### Claim 4 (depends on 3)

The heterocyclic compound of formula I or the stereoisomer, the geometric isomer, the tautomer, the nitrogen oxide, the hydrate, the solvate, the metabolite, the ester, the pharmaceutically acceptable salt or the prodrug thereof according to claim 3, wherein the C1-C6 alkyl substituted with one or more Ra is
and/or
the C3-C6 cycloalkyl substituted with one or more Ra is
and preferably
and/or
the C3-C6 cycloalkyl substituted with one or more Rd is
and preferably
and/or
—N(R1-21R1-22) is —NHCH3 or —NH2; and/or
—C(═O)—N(R1-23R1-24) is —C(═O)—NH2 or —C(═O)—NHCH3; and/or
—S(═O)2—N(R1-25R1-26) is —S(═O)2—NH2; and/or
—C(═O)—O—R1-27 is —COOH, —COOC2H5 or —COOCH3; and/or
when R2 is independently an unsubstituted or substituted 5-6 membered heteroaryl, the substituted 5-6 membered heteroaryl is independently

### Claim 5 (depends on 4)

The heterocyclic compound of formula I or the stereoisomer, the geometric isomer, the tautomer, the nitrogen oxide, the hydrate, the solvate, the metabolite, the ester, the pharmaceutically acceptable salt or the prodrug thereof according to claim 4, wherein when
is phenyl,
wherein R1′ has the definition as described for R1, and R1′ is the same as or different from R1;
preferably
and more preferably
and/or
when the
is a 5-6 membered heteroaryl, the
and preferably
and/or
—NH—C(═O)—R1-1 is —NH—C(═O)—CH3, —NH—C(═O)—O—CH3,
and/or
—C(═O)—R1-2 is —C(═O)—CH3 or —C(═O)—O—CH3; and/or
—O—C(═O)—N(R1-3R1-4) is —O—C(═O)—NH—CH3; and/or
—C(═O)—N(R1-5R1-6) is —C(═O)—NH—CH3; and/or
—C(═NH)—N(R1-7R1-8) is —C(═NH)—NH—CH3; and/or
—S(═O)2—N(R1-9R1-10) is —S(═O)2—NH—CH3 or —SO2NH2; and/or
—O—C(═O)—R1-13 is —O—C(═O)—NH—CH3; and/or
—N(R1-14R1-15) is —NH2,
and/or
—NH—S(═O)2—R1-16 is —NH—S(═O)2—CH3; and/or
when Q is a substituted C1-C6 alkyl, the substituted C1-C6 alkyl is
and/or
when Q is a substituted C3-C10 cycloalkyl, the substituted C3-C10 cycloalkyl is
and preferably
and/or
when Q is a substituted C3-C9 heterocycloalkyl, the substituted C3-C9 heterocycloalkyl is
and preferably
and/or
when Q is a substituted C3-C9 heterocycloalkenyl, the substituted C3-C9 heterocycloalkenyl is
and preferably
and/or
when Q is a substituted 5-6 membered heteroaryl, the substituted 5-10 membered heteroaryl is
and/or
when R2 is
one of X and Y is
and the other is a single bond, methylene or —O—; preferably X is —O—; and more preferably R2 is
or when R2 is
X or Y is —N(R2-3)—; preferably one of X and Y is —N(R2-3)—, and the other is —O—, —N(R2-3)— or
and more preferably R2 is

### Claim 6 (depends on 5)

The heterocyclic compound of formula I or the stereoisomer, the geometric isomer, the tautomer, the nitrogen oxide, the hydrate, the solvate, the metabolite, the ester, the pharmaceutically acceptable salt or the prodrug thereof according to claim 5, wherein
and preferably
and/or
Q is H, —OH, —CF3, —CN, —NH2, —NH—C(═O)—CH3, —NH—C(═O)—O—CH3,
—C(═O)—CH3, —C(═O)—C2H5, —C(═O)—O—CH3, —O—C(═O)—NH—CH3, —C(═O)—NH—CH3, —C(═NH)—NH—CH3, —S(═O)2—NH—CH3, —S(═O)2—NH2,
and/or
R2 is
and more preferably

### Claim 7 (depends on 1)

The heterocyclic compound of formula I or the stereoisomer, the geometric isomer, the tautomer, the nitrogen oxide, the hydrate, the solvate, the metabolite, the ester, the pharmaceutically acceptable salt or the prodrug thereof according to claim 1, wherein R3 is halogen, —CHF2, —CH2F or a C1-C6 alkyl;
Q is —NH—C(═O)—R1-1, —N(R1-14R1-15), —NH—S(═O)2—R1-16 an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C3-C10 cycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkyl, or an unsubstituted or substituted 5-10 membered heteroaryl, wherein the C3-C9 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N, the 5-10 membered heteroaryl contains 1-3 heteroatoms selected from one or more of N, O and S; and the substituted C1-C6 alkyl, the substituted C3-C10 cycloalkyl, the substituted C3-C9 heterocycloalkyl or the substituted 5-10 membered heteroaryl is substituted with one or more substituents independently selected from the following: —N(R1-21R1-22), —C(═O)—N(R1-23R1-24), —S(═O)2—N(R1-25R1-26) or —C(═O)—O—R1-27, wherein when a plurality of substituents are present, they are the same or different;
R1-1, R1-14, R1-15, R1-16, R1-21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each independently H, an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C2-C6 alkynyl, an unsubstituted or substituted C3-C10 cycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkyl, or an unsubstituted or substituted 5-10 membered heteroaryl, wherein the C3-C9 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N, the 5-10 membered heteroaryl contains 1-3 heteroatoms selected from one or more of N, O and S; and the substituted C1-C6 alkyl, the substituted C2-C6 alkynyl, the substituted C3-C9 heterocycloalkyl or the substituted 5-10 membered heteroaryl is substituted with one or more substituents independently selected from the following: halogen, —OH, —CN, ═O, —COOH, —C(═O)NH2, —COOCH3, —NH2, and a C1-C6 alkyl, a C1-C6 alkyl-O— or a C3-C6 cycloalkyl that is unsubstituted or substituted with one or more Rd, wherein when a plurality of Rd are present, they are the same or different, and each Rd is independently H, halogen, —OH, ═O, —CF3, —CN, —COOH or —C(═O)NH2; and when a plurality of substituents are present, they are the same or different; or
R3 is halogen, a C1-C6 haloalkyl or a C1-C6 alkyl;
Q is —NH—C(═O)—R1-1, —C(═O)—N(R1-5R1-6), —S(═O)2—N(R1-9R1-10), —N(R1-14R1-15), —NH—S(═O)2—R1-16, an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C3-C10 cycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkenyl, or an unsubstituted or substituted 5-10 membered heteroaryl, wherein the C3-C9 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N, the C3-C9 heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of O, S and N, and the 5-10 membered heteroaryl contains 1-3 heteroatoms selected from one or more of N, O and S; and the substituted C1-C6 alkyl, the substituted C3-C10 cycloalkyl, the substituted C3-C9 heterocycloalkyl, the substituted C3-C9 heterocycloalkenyl or the substituted 5-10 membered heteroaryl is substituted with one or more substituents independently selected from the following: —OH, —CF3, —CN, —N(R1-21R1-22), —C(═O)—N(R1-23R1-24), —S(═O)2—N(R1-25R1-26), —C(═O)—O—R1-27, ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O), and a C1-C6 alkyl, a C1-C6 alkyl-O— or a C3-C6 cycloalkyl that is unsubstituted or substituted with one or more Ra, wherein when a plurality of Ra are present, they are the same or different, and each Ra is halogen, —OH or —COOH; and when a plurality of substituents are present, they are the same or different;
R2 is independently
—C(═O)N(R2-5R2-6) or an unsubstituted or substituted 5-6 membered heteroaryl; wherein the 5-6 membered heteroaryl contains 1-3 heteroatoms selected from one or more of N, O and S, and the substituted 5-6 membered heteroaryl is substituted with one or more substituents independently selected from the following: halogen, —OH, —CN, an unsubstituted or halogen-substituted C1-C6 alkyl, an unsubstituted or halogen-substituted C1-C6 alkyl-O—, —C(═O)R2-7 or —C(═O)N(R2-8R2-9), wherein when a plurality of substituents are present, they are the same or different.

### Claim 8 (depends on 1)

The heterocyclic compound of formula I or the stereoisomer, the geometric isomer, the tautomer, the nitrogen oxide, the hydrate, the solvate, the metabolite, the ester, the pharmaceutically acceptable salt or the prodrug thereof according to claim 1, wherein
the heterocyclic compound of formula I is embodiment I or embodiment II,
embodiment I:
is a 5 membered heteroaryl or a 5 membered heterocycloalkenyl, wherein the 5 membered heteroaryl contains 1-2 heteroatoms selected from one or more of N, O and S, and the 5 membered heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of N, O and S;
is phenyl, a 5-6 membered heterocycloalkyl, a 5-6 membered heterocycloalkenyl, or a 5-6 membered heteroaryl, wherein the 5-6 membered heterocycloalkyl contains 1-3 heteroatoms selected from one or more of N, O and S, the 5-6 membered heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of N, O and S, and the 5-6 membered heteroaryl contains 1-3 heteroatoms selected from one or more of N, O and S;
Z1, Z2, Z3, Z4, Z5, Z6, Z7, Z8 and Z9 independently represent a ring atom; and when
is a 5 membered heterocycloalkyl, a 5 membered heterocycloalkenyl or a 5 membered heteroaryl, Z6 or Z9 represents a single bond;
m is 1, 2, 3 or 4;
R3 is H, halogen, —OH, a C1-C6 haloalkyl, —CN or a C1-C6 alkyl; when m is not 1, R3 is independently the same or different; or when two adjacent R3 are present, they, together with the ring atom to which they directly link, form a C3-C6 cycloalkyl, a C3-C6 cycloalkenyl, a C3-C9 heterocycloalkyl, a C3-C9 heterocycloalkenyl, phenyl or a 5-6 membered heteroaryl, wherein the C3-C9 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N, the C3-C9 heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of O, S and N, and the 5-6 membered heteroaryl contains 1-3 heteroatoms selected from one or more of O, S and N;
W is a single bond or —C(═O)—NH—;
is phenyl, a 5-6 membered heteroaryl, or a C3-C9 heterocycloalkyl, wherein the 5-6 membered heteroaryl contains 1-3 heteroatoms selected from one or more of N, O and S, and the C3-C9 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N;
n is 1, 2, 3 or 4;
R1 is independently H, halogen, —OH, —CN, an unsubstituted or substituted C1-C6 alkyl, or an unsubstituted or substituted C1-C6 alkyl-O—; wherein the substituted C1-C6 alkyl or the substituted C1-C6 alkyl-O— is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, —COOH, —C(═O)NH2, a C1-C6 alkyl, a C1-C6 alkyl-O— or ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O); when a plurality of substituents are present, they are the same or different; and when n is not 1, R1 is independently the same or different;
Q is H, halogen, —OH, —CF3, —CN, —NH—C(═O)—R1-1, —C(═O)—R1-2, —O—C(═O)—N(R1-3R1-4), —C(═O)—N(R1-5R1-6), —C(═NH)—N(R1-7R1-8), —S(═O)2—N(R1-9R1-10), —S(═O)—N(R1-11R1-12), —O—C(═O)—R1-13, —N(R1-14R1-15), —NH—S(═O)2—R1-16, an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C1-C6 alkyl-O—, an unsubstituted or substituted C2-C6 alkenyl, an unsubstituted or substituted C2-C6 alkenyl-O—, an unsubstituted or substituted C3-C10 cycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkenyl, an unsubstituted or substituted C6-C10 aryl, or an unsubstituted or substituted 5-10 membered heteroaryl, wherein the C3-C9 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N, the C3-C9 heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of O, S and N, and the 5-10 membered heteroaryl contains 1-3 heteroatoms selected from one or more of O, S and N; and the substituted C1-C6 alkyl, the substituted C1-C6 alkyl-O—, the substituted C2-C6 alkenyl, the substituted C2-C6 alkenyl-O—, the substituted C3-C10 cycloalkyl, the substituted C6-C10 aryl, the substituted C3-C9 heterocycloalkyl, the substituted C3-C9 heterocycloalkenyl or the substituted 5-10 membered heteroaryl is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, —COOH, —C(═O)NH2, ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O), —N(R1-21R1-22), —C(═O)—N(R1-23R1-24), —S(═O)2—N(R1-25R1-26), —C(═O)—O—R1-27, and a C1-C6 alkyl, a C1-C6 alkyl-O— or a C3-C6 cycloalkyl that is unsubstituted or substituted with one or more Ra, wherein when a plurality of Ra are present, they are the same or different, and each Ra is halogen, —OH, ═O, —CF3, —CN, —COOH or —C(═O)NH2; and when a plurality of substituents are present, they are the same or different;
R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12, R1-13, R1-14, R1-15, R1-16, R1- 21, R1-22, R1-23, R1-24, R1-25, R1-26 and R1-27 are each independently H, an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C1-C6 alkyl-O—, an unsubstituted or substituted C2-C6 alkenyl, an unsubstituted or substituted C2-C6 alkenyl-O—, an unsubstituted or substituted C2-C6 alkynyl, an unsubstituted or substituted C3-C10 cycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkenyl, an unsubstituted or substituted phenyl, or an unsubstituted or substituted 5-10 membered heteroaryl, wherein the C3-C9 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N, the C3-C9 heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of O, S and N, and the 5-10 membered heteroaryl contains 1-3 heteroatoms selected from one or more of N, O and S; and the substituted C1-C6 alkyl, the substituted C1-C6 alkyl-O—, the substituted C2-C6 alkenyl, the substituted C2-C6 alkenyl-O—, the substituted C2-C6 alkynyl, the substituted C3-C10 cycloalkyl, the substituted C3-C9 heterocycloalkyl, the substituted C3-C9 heterocycloalkenyl, the substituted phenyl or the substituted 5-10 membered heteroaryl is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, —COOH, —COOCH3, —NH2, ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O), and a C1-C6 alkyl, a C1-C6 alkyl-O— or a C3-C6 cycloalkyl that is unsubstituted or substituted with one or more Rd, wherein when a plurality of Rd are present, they are the same or different, and each Rd is independently H, halogen, —OH, ═O, —CF3, —CN, —COOH or —C(═O)NH2; and when a plurality of substituents are present, they are the same or different; or
R1-3 and R1-4, R1-5 and R1-6, R1-7 and R1-8, R1-9 and R1-10, R1-11 and R1-12, R1-14 and R1-15, R1-21 and R1-22, R1-23 and R1-24, or R1-25 and R1-26, independently together with the N atom to which they directly link, form an unsubstituted or substituted C3-C9 heterocycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkenyl, or an unsubstituted or substituted 5-10 membered heteroaryl, wherein the C3-C9 heterocycloalkyl contains no heteroatom or 1-2 heteroatoms selected from one or more of O, S and N in addition to the existing N atom, the C3-C9 heterocycloalkenyl contains no heteroatom or 1-2 heteroatoms selected from one or more of O, S and N in addition to the existing N atom, the 5-10 membered heteroaryl contains no heteroatom or 1-2 heteroatoms selected from one or more of O, S and N in addition to the existing N atom; and the substituted C3-C9 heterocycloalkyl, the substituted C3-C9 heterocycloalkenyl or the substituted 5-10 membered heteroaryl is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, a C1-C6 alkyl, a C1-C6 alkyl-O—, ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O), and a C1-C6 alkyl, a C1-C6 alkyl-O— or a C3-C6 cycloalkyl that is unsubstituted or substituted with one or more Rb, wherein when a plurality of Rb are present, they are the same or different, and each Rb is halogen, —OH, ═O, —CF3, —CN, —COOH or —C(═O)NH2; and when a plurality of substituents are present, they are the same or different;
R2 is
or —C(═O)N(R2-5R2-6);
R2-1 and R2-2 are each independently H, halogen, —OH, —CN, an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C1-C6 alkyl-O—, or ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O); wherein the substituted C1-C6 alkyl or the substituted C1-C6 alkyl-O— is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, a C1-C6 alkyl, a C1-C6 alkyl-O— or ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O), and when a plurality of substituents are present, they are the same or different;
X and Y are each independently a single bond, methylene, —O—, —N(R2-3)— or
R2-3, R2-4, R2-5 and R2-6 are each independently H, an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C3-C8 cycloalkyl, an unsubstituted or substituted C3-C8 cycloalkyl-O—, or an unsubstituted or substituted C1-C6 alkyl-O—; wherein the substituted C1-C6 alkyl, the substituted C3-C8 cycloalkyl, the substituted C3-C8 cycloalkyl-O— or the substituted C1-C6 alkyl-O— is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, a C1-C6 alkyl, a C1-C6 alkyl-O— or ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O), and when a plurality of substituents are present, they are the same or different;
embodiment II:
is a 5 membered heteroaryl or a 5 membered heterocycloalkenyl, wherein the 5 membered heteroaryl contains 1-2 heteroatoms selected from one or more of N, O and S, and the 5 membered heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of N, O and S;
is phenyl, a 5-6 membered heterocycloalkyl, a 5-6 membered heterocycloalkenyl, or a 5-6 membered heteroaryl, wherein the 5-6 membered heterocycloalkyl contains 1-3 heteroatoms selected from one or more of N, O and S, the 5-6 membered heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of N, O and S, and the 5-6 membered heteroaryl contains 1-3 heteroatoms selected from one or more of N, O and S;
Z1, Z2, Z3, Z4, Z5, Z6, Z7, Z8 and Z9 independently represent a ring atom; and when
is a 5 membered heterocycloalkyl, a 5 membered heterocycloalkenyl or a 5 membered heteroaryl, Z6 or Z9 represents a single bond;
m is 1, 2, 3 or 4;
R3 is H, halogen, —OH, —CF3, —CN or a C1-C6 alkyl; when m is not 1, R3 is the same or different; or when two adjacent R3 are present, they, together with the ring atom to which they directly link, form a C3-C6 cycloalkyl, a C3-C6 cycloalkenyl, a C3-C5 heterocycloalkyl, a C3-C5 heterocycloalkenyl, phenyl or a 5-6 membered heteroaryl, wherein the C3-C5 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N, the C3-C5 heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of O, S and N, and the 5-6 membered heteroaryl contains 1-3 heteroatoms selected from one or more of O, S and N;
W is a single bond or —C(═O)—NH—;
is phenyl, a 5-6 membered heteroaryl, or a C3-C5 heterocycloalkyl, wherein the 5-6 membered heteroaryl contains 1-3 heteroatoms selected from one or more of N, O and S, and the C3-C5 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N;
n is 1, 2, 3 or 4;
R1 is independently H, halogen, —OH, —CN, an unsubstituted or substituted C1-C6 alkyl, or an unsubstituted or substituted C1-C6 alkyl-O—; wherein the substituted C1-C6 alkyl or the substituted C1-C6 alkyl-O— is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, —COOH, —C(═O)NH2, a C1-C6 alkyl, a C1-C6 alkyl-O— or ═O; when a plurality of substituents are present, they are the same or different; and when n is not 1, R1 is the same or different;
Q is H, halogen, —OH, —CF3, —CN, —NH2, —NH—C(═O)—R1-1, —C(═O)—R1-2, —O—C(═O)—N(R1-3R1-4), —C(═O)—N(R1-5R1-6), —C(═NH)—N(R1-7R1-8), —S(═O)2—N(R1-9R1-10), —S(═O)—N(R1-11R1-12), —O—C(═O)—R1-13, an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C1-C6 alkyl-O—, an unsubstituted or substituted C2-C6 alkenyl, an unsubstituted or substituted C2-C6 alkenyl-O—, an unsubstituted or substituted C6-C10 aryl, an unsubstituted or substituted C3-C5 heterocycloalkyl, an unsubstituted or substituted C3-C5 heterocycloalkenyl, or an unsubstituted or substituted 5-6 membered heteroaryl, wherein the C3-C5 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N, the C3-C5 heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of O, S and N, and the 5-6 membered heteroaryl contains 1-3 heteroatoms selected from one or more of N, O and S; and the substituted C1-C6 alkyl, the substituted C1-C6 alkyl-O—, the substituted C2-C6 alkenyl, the substituted C2-C6 alkenyl-O—, the substituted C6-C10 aryl, the substituted C3-C8 heterocycloalkyl, the substituted C3-C8 heterocycloalkenyl or the substituted 5-6 membered heteroaryl is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, —COOH, —C(═O)NH2, ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O), and a C1-C6 alkyl, a C1-C6 alkyl-O— or a C3-C6 cycloalkyl that is unsubstituted or substituted with one or more Ra, wherein when a plurality of Ra are present, they are the same or different, and each Ra is halogen, —OH, ═O, —CF3, —CN, —COOH or —C(═O)NH2; and when a plurality of substituents are present, they are the same or different;
R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12 and R1-13 are each independently H, an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C1-C6 alkyl-O—, an unsubstituted or substituted C2-C6 alkenyl, an unsubstituted or substituted C2-C6 alkenyl-O—, an unsubstituted or substituted C3-C6 cycloalkyl, an unsubstituted or substituted C3-C5 heterocycloalkyl, an unsubstituted or substituted C3-C5 heterocycloalkenyl, an unsubstituted or substituted phenyl, or an unsubstituted or substituted 5-6 membered heteroaryl, wherein the C3-C5 heterocycloalkyl contains 1-3 heteroatoms selected from one or more of O, S and N, the C3-C5 heterocycloalkenyl contains 1-3 heteroatoms selected from one or more of O, S and N, and the 5-6 membered heteroaryl contains 1-3 heteroatoms selected from one or more of N, O and S; and the substituted C1-C6 alkyl, the substituted C1-C6 alkyl-O—, the substituted C2-C6 alkenyl, the substituted C2-C6 alkenyl-O—, the substituted C3-C6 cycloalkyl, the substituted C3-C5 heterocycloalkyl, the substituted C3-C5 heterocycloalkenyl, the substituted phenyl or the substituted 5-6 membered heteroaryl is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, a C1-C6 alkyl, a C1-C6 alkyl-O—, a C3-C6 cycloalkyl, —COOH or ═O, wherein when a plurality of substituents are present, they are the same or different; or
R1-3 and R1-4, R1-5 and R1-6, R1-7 and R1-8, R1-9 and R1-10, or R1-11 and R1-12, independently together with the N atom to which they directly link, form an unsubstituted or substituted C3-C5 heterocycloalkyl, an unsubstituted or substituted C3-C5 heterocycloalkenyl, or an unsubstituted or substituted 5-6 membered heteroaryl, wherein the C3-C5 heterocycloalkyl contains no heteroatom or 1-2 heteroatoms selected from one or more of O, S and N in addition to the existing N atom, the C3-C8 heterocycloalkenyl contains no heteroatom or 1-2 heteroatoms selected from one or more of O, S and N in addition to the existing N atom, and the 5-6 membered heteroaryl contains no heteroatom or 1-2 heteroatoms selected from one or more of O, S and N in addition to the existing N atom; and the substituted C3-C5 heterocycloalkyl, the substituted C3-C5 heterocycloalkenyl or the substituted 5-6 membered heteroaryl is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, a C1-C6 alkyl, a C1-C6 alkyl-O—, ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O), and a C1-C6 alkyl, a C1-C6 alkyl-O— or a C3-C6 cycloalkyl that is unsubstituted or substituted with one or more Ra, wherein when a plurality of Rb are present, they are the same or different, and each Rb is halogen, —OH, ═O, —CF3, —CN, —COOH or —C(═O)NH2; and when a plurality of substituents are present, they are the same or different;
R2 is
or —C(═O)N(R2-5R2-6);
R2-1 and R2-2 are each independently H, halogen, —OH, —CN, an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C1-C6 alkyl-O—, or ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O); wherein the substituted C1-C6 alkyl or the substituted C1-C6 alkyl-O— is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, a C1-C6 alkyl, a C1-C6 alkyl-O— or ═O, and when a plurality of substituents are present, they are the same or different;
X and Y are each independently a single bond, methylene, —O—, —N(R2-3)— or
R2-3, R2-4, R2-5 and R2-6 are each independently H, an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C3-C8 cycloalkyl, an unsubstituted or substituted C3-C8 cycloalkyl-O—, or an unsubstituted or substituted C1-C6 alkyl-O—; wherein the substituted C1-C6 alkyl, the substituted C3-C8 cycloalkyl, the substituted C3-C8 cycloalkyl-O— or the substituted C1-C6 alkyl-O— is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, a C1-C6 alkyl, a C1-C6 alkyl-O— or ═O, and when a plurality of substituents are present, they are the same or different.

### Claim 9 (depends on 8)

The heterocyclic compound of formula I or the stereoisomer, the geometric isomer, the tautomer, the nitrogen oxide, the hydrate, the solvate, the metabolite, the ester, the pharmaceutically acceptable salt or the prodrug thereof according to claim 8, wherein when
is a 5 membered heteroaryl, the 5 membered heteroaryl is pyrrolyl, furanyl, thienyl or imidazolyl, the pyrrolyl is preferably
the furanyl is preferably
the imidazolyl is preferably
the thienyl is preferably
and the pyrazolyl is preferably
and/or
when two adjacent R3 are present and they, together with the ring atom to which they directly link, form a C3-C5 heterocycloalkyl, the C3-C5 heterocycloalkyl is a C4-C5 heterocycloalkyl, wherein the C4-C5 heterocycloalkyl contains 1-2 heteroatoms selected from one or more of N, O and S; and/or
when two adjacent R3 are present and they, together with the ring atom to which they directly link, form a C3-C5 heterocycloalkenyl, the C3-C5 heterocycloalkenyl is a C4-C5 heterocycloalkenyl, and the C4-C5 heterocycloalkenyl contains 1-2 heteroatoms selected from one or more of N, O and S; and/or
when
is a C3-C5 heterocycloalkyl, the C3-C5 heterocycloalkyl is a C4-C5 heterocycloalkyl, wherein the C4-C5 heterocycloalkyl contains 1-2 heteroatoms selected from one or more of N, O and S, and the C4-C5 heterocycloalkyl is preferably piperidinyl, the piperidinyl is preferably
and more preferably
and/or
when Q is an unsubstituted or substituted C3-C5 heterocycloalkyl, the C3-C5 heterocycloalkyl is a C4-C5 heterocycloalkyl, wherein the C4-C5 heterocycloalkyl contains 1-2 heteroatoms selected from one or more of N, O and S; and the C3-C5 heterocycloalkyl is preferably pyrrolidinyl or piperazinyl, the pyrrolidinyl is preferably
and the piperazinyl is preferably
and/or
when Q is an unsubstituted or substituted C3-C5 heterocycloalkenyl, the C3-C5 heterocycloalkenyl is a C4-C5 heterocycloalkenyl, wherein the C4-C5 heterocycloalkenyl contains 1-2 heteroatoms selected from one or more of N, O and S, and the C4-C5 heterocycloalkenyl is preferably 2,5-dihydro-1H-pyrrolyl, and more preferably
and/or
when Q is an unsubstituted or substituted 5-6 membered heteroaryl, the 5-6 membered heteroaryl is imidazolyl, oxazolyl, furanyl, thienyl, pyrrolyl, pyrazolyl, isoxazolyl, pyridinyl or pyrimidinyl, the imidazolyl is preferably
the oxazolyl is preferably
the furanyl is preferably
the thienyl is preferably
the pyrrolyl is preferably
the pyrazolyl is preferably
the isoxazolyl is preferably
the pyridinyl is preferably
and the pyrimidinyl is preferably
and/or
when Q is a substituted C1-C6 alkyl, a substituted C1-C6 alkyl-O—, a substituted C2-C6 alkenyl, a substituted C2-C6 alkenyl-O—, a substituted C6-C10 aryl, a substituted C3-C5 heterocycloalkyl, a substituted C3-C5 heterocycloalkenyl, or a substituted 5-6 membered heteroaryl, and the substituent is halogen, the halogen is independently fluorine, chlorine, bromine or iodine, and preferably fluorine; and/or
when Q is a substituted C1-C6 alkyl, a substituted C1-C6 alkyl-O—, a substituted C2-C6 alkenyl, a substituted C2-C6 alkenyl-O—, a substituted C6-C10 aryl, a substituted C3-C5 heterocycloalkyl, a substituted C3-C5 heterocycloalkenyl, or a substituted 5-6 membered heteroaryl, and the substituent is a C1-C6 alkyl or a C1-C6 alkyl-O— substituted with one or more Ra, the C1-C6 alkyl in the substituent is independently a C1-C4 alkyl, and preferably methyl; and/or
when Q is a substituted C1-C6 alkyl, a substituted C1-C6 alkyl-O—, a substituted C2-C6 alkenyl, a substituted C2-C6 alkenyl-O—, a substituted C6-C10 aryl, a substituted C3-C5 heterocycloalkyl, a substituted C3-C5 heterocycloalkenyl, or a substituted 5-6 membered heteroaryl, and the substituent is a C3-C6 cycloalkyl substituted with one or more Ra, the C3-C6 cycloalkyl in the substituent is cyclopropyl; and/or
when Q is a substituted C1-C6 alkyl, a substituted C1-C6 alkyl-O—, a substituted C2-C6 alkenyl, a substituted C2-C6 alkenyl-O—, a substituted C6-C10 aryl, a substituted C3-C5 heterocycloalkyl, a substituted C3-C5 heterocycloalkenyl, or a substituted 5-6 membered heteroaryl, the substituent is a C1-C6 alkyl, a C1-C6 alkyl-O— or a C3-C6 cycloalkyl substituted with one or more Ra, and Ra is halogen, the halogen is independently fluorine, chlorine, bromine or iodine; and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12 or R1-13 is an unsubstituted or substituted C1-C6 alkyl, or an unsubstituted or substituted C1-C6 alkyl-O—, the C1-C6 alkyl is independently a C1-C4 alkyl, and preferably methyl or ethyl; and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12 or R1-13 is an unsubstituted or substituted C3-C5 heterocycloalkyl, the C3-C5 heterocycloalkyl is a C4-C5 heterocycloalkyl, wherein the C4-C5 heterocycloalkyl contains 1-2 heteroatoms selected from one or more of N, O and S; and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12 or R1-13 is an unsubstituted or substituted C3-C5 heterocycloalkenyl, the C3-C5 heterocycloalkenyl is a C4-C5 heterocycloalkenyl, and the C4-C5 heterocycloalkenyl contains 1-2 heteroatoms selected from one or more of N, O and S; and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12 or R1-13 is an unsubstituted or substituted 5-6 membered heteroaryl, the 5-6 membered heteroaryl contains 1-2 heteroatoms selected from one or two of N, O and S; and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12 or R1-13 is a substituted C1-C6 alkyl, a substituted C1-C6 alkyl-O—, a substituted C2-C6 alkenyl, a substituted C2-C6 alkenyl-O—, a substituted phenyl, a substituted C3-C5 heterocycloalkyl, a substituted C3-C5 heterocycloalkenyl, or a substituted 5-6 membered heteroaryl, and the substituent is halogen, the halogen is independently fluorine, chlorine, bromine or iodine, and preferably fluorine; and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12 or R1-13 is a substituted C1-C6 alkyl, a substituted C1-C6 alkyl-O—, a substituted C2-C6 alkenyl, a substituted C2-C6 alkenyl-O—, a substituted phenyl, a substituted C3-C5 heterocycloalkyl, a substituted C3-C5 heterocycloalkenyl, or a substituted 5-6 membered heteroaryl, and the substituent is a C1-C6 alkyl or a C1-C6 alkyl-O—, the C1-C6 alkyl in the substituent is independently a C1-C4 alkyl; and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12 or R1-13 is a substituted C1-C6 alkyl, a substituted C1-C6 alkyl-O—, a substituted C2-C6 alkenyl, a substituted C2-C6 alkenyl-O—, a substituted phenyl, a substituted C3-C5 heterocycloalkyl, a substituted C3-C5 heterocycloalkenyl, or a substituted 5-6 membered heteroaryl, and the substituent is a C3-C6 cycloalkyl, the C3-C6 cycloalkyl in the substituent is cyclopropyl; and/or
when R1-3 and R1-4, R1-5 and R1-6, R1-7 and R1-8, R1-9 and R1-10, or R1-11 and R1-12, independently together with the N atom to which they directly link, form a substituted C3-C5 heterocycloalkyl, a substituted C3-C5 heterocycloalkenyl, or a substituted 5-6 membered heteroaryl, and the substituent is a C1-C6 alkyl or a C1-C6 alkyl-O— substituted with one or more Rb, the C1-C6 alkyl in the substituent is independently a C1-C4 alkyl; and/or
when R1-3 and R1-4, R1-5 and R1-6, R1-7 and R1-8, R1-9 and R1-10, or R1-11 and R1-12, independently together with the N atom to which they directly link, form a substituted C3-C5 heterocycloalkyl, a substituted C3-C5 heterocycloalkenyl, or a substituted 5-6 membered heteroaryl, and the substituent is a C3-C6 cycloalkyl substituted with one or more Rb, the C3-C6 cycloalkyl in the substituent is cyclopropyl, cyclobutyl, cyclopentyl, and cyclohexyl; and/or
when R1-3 and R1-4, R1-5 and R1-6, R1-7 and R1-8, R1-9 and R1-10, or R1-11 and R1-12, independently together with the N atom to which they directly link, form a substituted C3-C5 heterocycloalkyl, a substituted C3-C5 heterocycloalkenyl, or a substituted 5-6 membered heteroaryl, the substituent is a C1-C6 alkyl, a C1-C6 alkyl-O— or a C3-C6 cycloalkyl substituted with one or more Rb, wherein when Rb is halogen, the halogen is independently fluorine, chlorine, bromine or iodine.

### Claim 10 (depends on 9)

The heterocyclic compound of formula I or the stereoisomer, the geometric isomer, the tautomer, the nitrogen oxide, the hydrate, the solvate, the metabolite, the ester, the pharmaceutically acceptable salt or the prodrug thereof according to claim 9, wherein
and preferably
and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12 or R1-13, is a substituted C1-C6 alkyl, the substituted C1-C6 alkyl is
and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12 or R1-13 is a substituted C2-C6 alkenyl, the substituted C2-C6 alkenyl is
and/or
when R1-1, R1-2, R1-3, R1-4, R1-5, R1-6, R1-7, R1-8, R1-9, R1-10, R1-11, R1-12 or R1-13 is a substituted C3-C6 cycloalkyl, the substituted C3-C6 cycloalkyl is

### Claim 11 (depends on 10)

The heterocyclic compound of formula I or the stereoisomer, the geometric isomer, the tautomer, the nitrogen oxide, the hydrate, the solvate, the metabolite, the ester, the pharmaceutically acceptable salt or the prodrug thereof according to claim 10, wherein when Q is a substituted C3-C5 heterocycloalkyl, the substituted C3-C5 heterocycloalkyl is
and/or
when Q is a substituted C3-C5 heterocycloalkenyl, the substituted C3-C5 heterocycloalkenyl is
and/or
when Q is a substituted 5-6 membered heteroaryl, the substituted 5-6 membered heteroaryl is
and/or
when Q is —NH—C(═O)—R1-1, the —NH—C(═O)—R1-1 is —NH—C(═O)—CH3, —NH—C(═O)—O—CH3,
and/or
when Q is —S(═O)2—N(R1-9R1-10), the —S(═O)2—N(R1-9R1-10) is —S(═O)2—NH—CH3; and/or
when R2 is
one of X and Y is
and the other is a single bond, methylene or —O—; preferably X is —O—; and more preferably R2 is
or when R2 is
X or Y is —N(R2-3)—; preferably one of X and Y is —N(R2-3)—, and the other is —O—, —N(R2-3)— or
and more preferably R2 is

### Claim 12 (depends on 11)

The heterocyclic compound of formula I or the stereoisomer, the geometric isomer, the tautomer, the nitrogen oxide, the hydrate, the solvate, the metabolite, the ester, the pharmaceutically acceptable salt or the prodrug thereof according to claim 11, wherein
and preferably
and/or
and/or
Q is H, —OH, —CF3, —CN, —NH—C(═O)—CH3, —NH—C(═O)—O—CH3,
—C(═O)—CH3, —C(═O)—C2H5, —C(═O)—O—CH3, —O—C(═O)—NH—CH3, —C(═O)—NH—CH3, —C(═NH)—NH—CH3, —S(═O)2—NH—CH3,
and/or
R2 is
and preferably

### Claim 13 (depends on 1)

The heterocyclic compound of formula I or the stereoisomer, the geometric isomer, the tautomer, the nitrogen oxide, the hydrate, the solvate, the metabolite, the ester, the pharmaceutically acceptable salt or the prodrug thereof according to claim 1, wherein the heterocyclic compound of formula I is of formula I-A as shown below:
wherein
preferably, the heterocyclic compound of formula I is of formula I-A-1 as shown below
wherein R1′ has the definition as described for R1, R1′ is the same as or different from R1, and W is a single bond; and more preferably, the heterocyclic compound of formula I is of formula I-A-2 as shown below:
wherein X is a single bond, methylene or —O—; or
the heterocyclic compound of formula I is of formula I-B as shown below:
wherein R2 is
or —C(═O)N(R2-5R2-6), and X or Y is —N(R2-3)—; preferably, the heterocyclic compound of formula I is of formula I-B-1 as shown below:
wherein R1′ has the definition as described for R1, R1′ is the same as or different from R1, and W is a single bond; and more preferably, the heterocyclic compound of formula I is of formula I-B-2 as shown below:
or
the heterocyclic compound of formula I is of formula I-C as shown below:
wherein Q is H, halogen, —OH, —CF3, —CN, —NH—C(═O)—R1-1, —C(═O)—R1-2, —O—C(═O)—N(R1-3R1-4), —C(═NH)—N(R1-7R1-8), —S(═O)2—N(R1-9R1-10), —S(═O)—N(R1-11R1-12), —O—C(═O)—R1-13, —N(R1-14R1-15), —NH—S(═O)2—R1-16 an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C1-C6 alkyl-O—, an unsubstituted or substituted C2-C6 alkenyl, an unsubstituted or substituted C2-C6 alkenyl-O—, an unsubstituted or substituted C3-C10 cycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkenyl, an unsubstituted or substituted C6-C10 aryl, or an unsubstituted or substituted 5-10 membered heteroaryl;
preferably, the heterocyclic compound of formula I is of formula I-C-1 as shown below:
and more preferably, the heterocyclic compound of formula I is of formula I-C-2 as shown below:
wherein R1′ has the definition as described for R1, R1′ is the same as or different from R1, and X is a single bond, methylene or —O—; or
the heterocyclic compound of formula I is of formula I-C′ as shown below:
wherein Q is H, halogen, —OH, —CF3, —CN, —NH2, —NH—C(═O)—R1-1, —C(═O)—R1-2, —O—C(═O)—N(R1-3R1-4), —C(═NH)—N(R1-7R1-8), —S(═O)2—N(R1-9R1-10), —S(═O)—N(R1-11R1-12), —O—C(═O)—R1-13 an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C1-C6 alkyl-O—, an unsubstituted or substituted C2-C6 alkenyl, an unsubstituted or substituted C2-C6 alkenyl-O—, an unsubstituted or substituted C6-C10 aryl, an unsubstituted or substituted C3-C5 heterocycloalkyl, an unsubstituted or substituted C3-C5 heterocycloalkenyl, or an unsubstituted or substituted 5-6 membered heteroaryl; preferably, the heterocyclic compound of formula I is of formula I-C′-1 as shown below:
and more preferably, the heterocyclic compound of formula I is of formula I-C′-2 as shown below:
wherein R1′ has the definition as described for R1, and R1′ is the same as or different from R1; or the heterocyclic compound of formula I is of formula I-D as shown below:
wherein
is a 5-6 membered heteroaryl or a C3-C5 heterocycloalkyl; preferably, the heterocyclic compound of formula I is of formula I-D-1 as shown below:
and more preferably, the heterocyclic compound of formula I is of formula I-D-2 as shown below:
wherein X is a single bond, methylene or —O—, and W is a single bond; or the heterocyclic compound of formula I is of formula I-E as shown below:
wherein R2 is independently
or an unsubstituted or substituted 5-6 membered heteroaryl; for example, W is a single bond;
preferably, the heterocyclic compound of formula I is of formula I-E-1 as shown below:
for example,
is phenyl or 6 membered heteroaryl; and more preferably, the heterocyclic compound of formula I is of formula I-E-2 as shown below:
for example,
is phenyl.

### Claim 14 (depends on 1)

The heterocyclic compound of formula I or the stereoisomer, the geometric isomer, the tautomer, the nitrogen oxide, the hydrate, the solvate, the metabolite, the ester, the pharmaceutically acceptable salt or the prodrug thereof according to claim 1, wherein
is a 5 membered heteroaryl; and/or
is phenyl, a 6 membered heterocycloalkyl, a 6 membered heterocycloalkenyl, or a 6 membered heteroaryl; and/or
m is 1 or 2; and/or
R3 is H, halogen, —OH, a C1-C6 haloalkyl or a C1-C6 alkyl; and/or
W is a single bond; and/or
n is 1 or 2; and/or
R1 is independently H, halogen, —OH, —CN or an unsubstituted or substituted C1-C6 alkyl; and/or
the substituent in R1 is independently one or more selected from the following: halogen, —OH, —CN or —C(═O)NH2; and/or
Q is H, halogen, —OH, —CN, —NH—C(═O)—R1-1, —C(═O)—R1-2, —O—C(═O)—N(R1-3R1-4), —C(═O)—N(R1-5R1-6), —C(═NH)—N(R1-7R1-8), —S(═O)2—N(R1-9R1-10), —N(R1-14R1-15), —NH—S(═O)2—R1-16, an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C3-C10 cycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkenyl, or an unsubstituted or substituted 5-10 membered heteroaryl, and preferably H, halogen, —OH, —CN, —NH—C(═O)—R1-1, —C(═O)—R1-2, —O—C(═O)—N(R1-3R1-4), —C(═O)—N(R1-5R1-6), —C(═NH)—N(R1-7R1-8), —S(═O)2—N(R1-9R1-10), an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C3-C9 heterocycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkenyl, or an unsubstituted or substituted 5-10 membered heteroaryl; and/or
the substituted C1-C6 alkyl, the substituted C1-C6 alkyl-O—, the substituted C2-C6 alkenyl, the substituted C2-C6 alkenyl-O—, the substituted C6-C10 aryl, the substituted C3-C5 heterocycloalkyl, the substituted C3-C5 heterocycloalkenyl or the substituted 5-6 membered heteroaryl is substituted with one or more substituents independently selected from the following: halogen, —OH, —CF3, —CN, —COOH, —C(═O)NH2, ═O (i.e., two geminal hydrogens on a carbon atom are substituted with the group O), and a C1-C6 alkyl, a C1-C6 alkyl-O— or a C3-C6 cycloalkyl that is unsubstituted or substituted with one or more Ra, wherein when a plurality of Ra are present, they are the same or different, and each Ra is halogen, —OH, ═O, —CF3, —CN, —COOH or —C(═O)NH2; and when a plurality of substituents are present, they are the same or different; and/or
R2 is independently
or —C(═O)N(R2-5R2-6).

### Claim 15 (depends on 1)

The heterocyclic compound of formula I or the stereoisomer, the geometric isomer, the tautomer, the nitrogen oxide, the hydrate, the solvate, the metabolite, the ester, the pharmaceutically acceptable salt or the prodrug thereof according to claim 1, wherein the heterocyclic compound of formula I is the following embodiments:
embodiment I: when Q is H, halogen, —OH, —CF3, —CN, —NH—C(═O)—R1-1, —C(═O)—R1-2, —O—C(═O)—N(R1-3R1-4), —C(═NH)—N(R1-7R1-8), —S(═O)2—N(R1-9R1-10), —S(═O)—N(R1-11R1-12), —O—C(═O)—R1-13, —N(R1-14R1-15), —NH—S(═O)2—R1-16 an unsubstituted or substituted C1-C6 alkyl, an unsubstituted or substituted C1-C6 alkyl-O—, an unsubstituted or substituted C2-C6 alkenyl, an unsubstituted or substituted C2-C6 alkenyl-O—, an unsubstituted or substituted C3-C10 cycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkyl, an unsubstituted or substituted C3-C9 heterocycloalkenyl, an unsubstituted or substituted C6-C10 aryl, or an unsubstituted or substituted 5-10 membered heteroaryl,
or R2 is
wherein X and Y are each independently a single bond, methylene, —O— or
or
embodiment II: when
or R2 is independently
—C(═O)N(R2-5R2-6) or an unsubstituted or substituted 5-6 membered heteroaryl, wherein X or Y is —N(R2-3)—.

### Claim 16 (depends on 1)

The heterocyclic compound of formula I or the stereoisomer, the geometric isomer, the tautomer, the nitrogen oxide, the hydrate, the solvate, the metabolite, the ester, the pharmaceutically acceptable salt or the prodrug thereof according to claim 1, wherein the heterocyclic compound of formula I is preferably any one of the following compounds:
and
the pharmaceutically acceptable salt of the heterocyclic compound of the formula I is the following compound:

### Claim 17 (depends on 1)

A preparation method of the heterocyclic compound of formula I according to claim 1, wherein the preparation method is Scheme I, Scheme II, Scheme III, Scheme IV, Scheme V, Scheme VI, Scheme VII or Scheme VIII, wherein
Scheme I comprises the following step: performing Stille coupling reaction as shown below on a compound of formula II-1 and an organic tin reagent of formula III-1 in an organic solvent in the presence of a catalyst to give the heterocyclic compound of formula I:
wherein X1 is Br or Cl;
Scheme II comprises the following step: performing Suzuki coupling reaction as shown below on a compound of formula II-2 and a compound of formula III-2 in a solvent in the presence of a catalyst and a basic reagent to give the heterocyclic compound of formula I:
wherein X2 is Br or Cl;
Scheme III comprises the following step: performing the reaction as shown below on a compound of formula II-3, a compound of formula III-3 and formaldehyde in an organic solvent to give the heterocyclic compound of formula I:
Scheme IV comprises the following step: performing the reaction as shown below on a compound of formula II-3 and a compound of formula III-4 in an organic solvent to give the heterocyclic compound of formula I:
wherein X3 is a leaving group;
Scheme V comprises the following step: performing amidation reaction as shown below on a compound of formula I, wherein R2 is
and Y is —NH—, and a compound of formula III-5 in an organic solvent in the presence of a basic reagent to give the heterocyclic compound of formula I, wherein Y is
wherein X4 is halogen;
Scheme VI comprises the following step: performing deprotection reaction as shown below on a compound of formula II-4 and a compound of formula III-5 in an organic solvent in the presence of an acid to give the heterocyclic compound of formula I:
wherein Y is —NH—;
Scheme VII comprises the following step: performing substitution reaction as shown below on a compound of formula II-5 and NH(R1-9R1-10) in an organic solvent to give the heterocyclic compound of formula I, wherein Q is —S(═O)2—N(R1-9R1-10):
wherein X5 is Br or Cl;
Scheme VIII comprises the following step: performing deprotection reaction as shown below on a compound of formula II-6 or formula II-6′ in an organic solvent in the presence of an acid to give the heterocyclic compound of formula I:
wherein X6, X6′ and X6″ are N protecting groups; and
the
R3, R2, R1, W, X, Y, R2-1, R2-2, n and m have the definitions as defined in claim 1.

### Claim 18 (depends on 1)

A compound of formula II-1, II-2, II-3, II-4, II-5, II-6 or II-6′:
wherein the
R3, R2, R1, W, X, Y, R2-1, R2-2, n and m have the definitions as defined in claim 1 and X1 is Br or Cl, X5 is Br or Cl, X6, X6′ and R6″ are N protecting groups.

### Claim 19

Compounds as shown below:

### Claim 20 (depends on 1)

A pharmaceutical composition comprising the heterocyclic compound of formula I or the pharmaceutically acceptable salt, the hydrate, the solvate, the metabolite, the stereoisomer, the tautomer or the prodrug thereof according to claim 1.

### Claim 21

(canceled)

### Claim 22 (depends on 20)

A method for preventing, dealing with, treating or ameliorating a disease in a mammal mediated at least in part by P2X3 or associated with P2X3 activity, comprising administering the pharmaceutical composition of claim 20 to a subject in need thereof.

### Claim 23 (depends on 22)

The method according to claim 22, wherein the disease is a pain, a urinary tract disease, or a respiratory disease, wherein the pain is inflammatory pain, surgical pain, visceral pain, dental pain, premenstrual pain, central pain, pain resulting from burns, migraine, or cluster headache; the urinary tract disease is urinary incontinence, overactive bladder, dysuria or cystitis; and the respiratory disease is idiopathic pulmonary fibrosis, chronic obstructive pulmonary disease, asthma, bronchospasm, or chronic cough.
