A method of measuring an analyte using a biosensor for prolonging a usage lifetime of the biosensor implanted subcutaneously to measure a physiological signal representative of a physiological parameter associated with the analyte in a biofluid, the biosensor comprising a working electrode, a counter electrode and an auxiliary electrode, the working electrode being at least partially covered by a chemical reagent, the counter electrode including a silver and a silver halide having an initial amount, the method characterised by comprising cyclic steps of: applying a measurement voltage to drive the working electrode to measure the physiological signal, thereby obtaining the physiological parameter, where the silver halide is consumed by a consumption amount; calculating the consumption amount of the silver halide being consumed from the counter electrode by calculating an area under the current curve of the physiological signal during a measurement period, the measurement time period having a time value being one of a constant measurement time period value and a variable measurement time period value; stopping applying the measurement voltage; whenever the physiological parameter is obtained, applying a replenishment voltage between the counter electrode and the auxiliary electrode to drive the counter electrode to cause an oxidation reaction, thereby the silver halide of a replenishment amount being replenished to the counter electrode; calculating the replenishment amount of the silver halide being replenished to the counter electrode by calculating an area under the current curve of the counter electrode during a replenishment period; wherein a guarding value of a sum of the calculated replenishment amount and the initial amount subtracting therefrom the calculated consumption amount is controlled within a range of the initial amount plus or minus a specific value; wherein the replenishment voltage has a constant voltage value and the replenishment time period is dynamically adjusted based on the calculated consumption amount of the silver halide or the replenishment time period has a constant time value and the replenishment voltage has a value dynamically adjusted based on the calculated consumption amount of the silver halide to make the calculated replenishment amount close to the calculated consumption amount or within a certain range of the calculated consumption amount. applying a measurement voltage to drive the working electrode to measure the physiological signal, thereby obtaining the physiological parameter, where the silver halide is consumed by a consumption amount; calculating the consumption amount of the silver halide being consumed from the counter electrode by calculating an area under the current curve of the physiological signal during a measurement period, the measurement time period having a time value being one of a constant measurement time period value and a variable measurement time period value; stopping applying the measurement voltage; whenever the physiological parameter is obtained, applying a replenishment voltage between the counter electrode and the auxiliary electrode to drive the counter electrode to cause an oxidation reaction, thereby the silver halide of a replenishment amount being replenished to the counter electrode; calculating the replenishment amount of the silver halide being replenished to the counter electrode by calculating an area under the current curve of the counter electrode during a replenishment period; wherein a guarding value of a sum of the calculated replenishment amount and the initial amount subtracting therefrom the calculated consumption amount is controlled within a range of the initial amount plus or minus a specific value; wherein the replenishment voltage has a constant voltage value and the replenishment time period is dynamically adjusted based on the calculated consumption amount of the silver halide or the replenishment time period has a constant time value and the replenishment voltage has a value dynamically adjusted based on the calculated consumption amount of the silver halide to make the calculated replenishment amount close to the calculated consumption amount or within a certain range of the calculated consumption amount.