A Generic Spc Framework For The Characterization of Batch Profiles