The invention relates to a method and a device both based on annulus pressure measuring while drilling and for early monitoring gas invasion of a wellhole. The device is characterized in that the device comprises a drilling column arranged in the wellhole, the bottom of the drilling column is connected with an annulus pressure measuring while drilling device and a drilling bit, the annulus pressure measuring while drilling device comprises an annulus pressure sensor, an annulus temperature sensor, a signal monitoring circuit, a data storage circuit, a battery and a data connector, the top of the annulus pressure measuring while drilling device is connected with a measuring while drilling device which comprises a signal receiving module and a pulse generator, a drilling fluid returning flowmeter is arranged on the upper portion of the drilling column, one side of a wellhead is connected with a mud pump and a mud circulating pool through a pipeline, a mud pressure sensor is mounted on the mud pump, a mud level meter is arranged in the mud circulating pool, the drilling fluid returning flowmeter, the mud pressure sensor and the mud level meter are in wire connection with a well logging instrument respectively, a filter module and a signal measuring module are arranged in the well logging instrument, and the well logging instrument is connected with a data analyzing and alarming module through a wire. The method and the device can be applied to deepwater oil drilling operations.