Photoplethysmography (PPG) is widely utilized in wearable healthcare devices due to its convenient measurement capabilities. However, the unrestricted behavior of users often introduces artifacts into the PPG signal. As a result, signal processing and quality assessment play a crucial role in ensuring that the information contained in the signal can be effectively acquired and analyzed. Traditionally, researchers have discussed signal quality and processing algorithms separately, with individual algorithms developed to address specific artifacts. In this paper, we propose a quality-aware signal processing mechanism that evaluates incoming PPG signals using the signal quality index (SQI) and selects the appropriate processing method based on the SQI. Unlike conventional processing approaches, our proposed mechanism recommends processing algorithms based on the quality of each signal, offering an alternative option for designing signal processing flows. Furthermore, our mechanism achieves a favorable trade-off between accuracy and energy consumption, which are the key considerations in long-term heart rate monitoring.