An intelligent anti-seismic device for a shallow foundation ancient building, comprising a land, a foundation base and a body of the ancient building, wherein a foundation pit is excavated on a surface of the land, a plurality of piles are arranged on an inner wall of the foundation pit, a foundation side beam is integrally formed by pouring on tops of the plurality of piles, a first earthquake proof mechanism capable of being lifted and lowered is fixed on a top of the foundation side beam, a well-shaped base is integrally formed on the inner wall of the foundation pit, a second earthquake proof mechanism is fixed on a surface of the well-shaped base, a frame is fixed on both tops of the first earthquake proof mechanism and the second earthquake proof mechanism, a grillage beam is integrally formed on an inner wall of the frame, the foundation base is fixed on a top of the frame, and the body of the ancient building is fixed on the top of the foundation base;
- and
- the first earthquake proof mechanism comprises a first pedestal, a first mounting seat, a first rubber seat, a second pedestal, a second rubber seat, a hydraulic cylinder, a jacking block, a through hole and a correction mechanism, the first pedestal is fixed on the top of the foundation side beam, the first mounting seat is fixed on a top of the first pedestal, the first rubber seat is fixed on a top of the first mounting seat, the second pedestal is arranged above the first pedestal and the second pedestal is fixedly connected with the frame, the second rubber seat is fixed on a bottom of the second pedestal and the first rubber seat is matched with the second rubber seat, the hydraulic cylinder is fixed by embedding in a middle of the first mounting seat, the jacking block is fixed on a top of the hydraulic cylinder, the through hole is opened in a middle of the second pedestal and the jacking block passes through the through hole, and the correction mechanism is fixed on the top of the first mounting seat.