Quantum weak-interaction-based measurement: from sequential weak measurement to protective measurement