The present invention discloses and claims a series of substituted N-heterocycloalkyl bipyrrolidinylphenyl amide derivatives of formula (I).Wherein R, R1, R2, R3, R4, X, m, n and p 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-heterocycloalkyl bipyrrolidinylphenyl amide derivatives of formula (I) and intermediates therefor.本發明揭露並主張一系列式(I)經取代的N-雜環烷基聯吡咯啶基苯基醯胺衍生物。其中R、R1、R2、R3、R4、X、m、n和p如本文所定義。更具體而言,本發明之化合物是H3受體調節劑,因此可作為藥劑使用,尤其有助於治療和/或預防H3受體介導的各種疾病,包括與中樞神經系統相關的疾病。此外,本發明還揭露了式(I)經取代的N-雜環烷基聯吡咯啶基苯基醯胺衍生物之製法及其中間體。