The octreotide-conjugated chitosan-molecular beacon nanoparticles (CS-MB-OCT) can specifically bind to SSTR2 expressed by the lung cancer cells to achieve the goal of identification of lung cancer cells and imaging miR-155 in vivo and in vitro. The gene discussed is SSTR2; the disease is lung cancer.