The present invention discloses and claims a series of substituted N-heteroaryl spirolactam bipyrrolidines of formula (I).Wherein R1, R2, Q1, Q2, Q3, Q4, X, m, n, p and s are as described herein. More specifically, the compounds of this invention are modulators of H3 receptors and are, therefore, useful as pharmaceutical agents, especially in the treatment and/or prevention of a variety of diseases modulated by H3 receptors including diseases associated with the central nervous system. Additionally, this invention also discloses methods of preparation of substituted N-heteroaryl spirolactam bipyrrolidines of formula (I) and intermediates therefore.本發明揭露了一系列式(I)經取代的N-雜芳基螺環內醯胺聯吡咯啶並申請其專利權。其中R1、R2、Q1、Q2、Q3、Q4、X、m、n、p以及s如本文所定義。更具體地說,本發明之化合物是H3受體調節劑,因此可作為藥劑使用,尤其有助於治療和/或預防H3受體介導的各種疾病,包括與中樞神經系統相關的疾病。此外,本發明還揭露了式(I)經取代的N-雜芳基螺環內醯胺聯吡咯啶之製法及其中間體。