Design of ultrafast laser plasma x-ray source in laboratory