A respiratory mechanics measuring module, comprising a flow sensor (1), a differential pressure sensor (2) and a sampled signal processing circuit (3) which are connected in series, the sampled signal processing circuit (3) transferring the calculation results to a main controller (4), and further comprising a flow sensor reverse connection judging module (5) and an alarm (6), wherein the flow sensor reverse connection judging module (5) judges whether the flow sensor is reversedly connected based on the output signals of the differential pressure sensor (2), and the alarm (6) sends a prompting signal indicating the flow sensor reverse connection to the main controller (4) when the flow sensor reverse connection judging module (5) judges that the flow sensor is reversedly connected.