Heteroatom doping and structural modification can significantly improve the electrochemical properties of carbon materials, but it is difficult to achieve synchronous control of the two. To this end, N-doped porous carbon material (BCNK) was synthesized using bombyx mori silk as carbon source, melamine and KHCO