Design an efficient resource allocation strategy for integrated sensing and communications to optimize sensing performance while meeting QoS constraints