An anthropogenic pest-resistant gene having a nucleotide sequence as represented by SEQ IN NO. 1, and, an anti-Cry1Ab toxin idiotypic single-chain antibody encoded by the anthropogenic pest-resistant gene and having a nucleotide sequence as represented by SEQ IN NO. 2.