In this paper, isocyanoethyl methacrylate (IEM) is used to functionalize the two ends of poly(ethylene glycol)(PEG) diol with acrylic acid groups through an urethanisation reaction. The synthesized PEG/IEM resin is then photo-cured with a 405nm ultraviolet lamp. Ttrans of the PEG/IEM resin can be regulated by the different molecular weights of PEG and the use of plasticizer Triacetin to reach 44°C, which is closer to the human body temperature. Cytotoxicity assay and DMA shape memory cycling testing show that the PEG/IEM resin has excellent biocompatibility and shape memory properties. The flower structure is prepared and its shape recovery process is demonstrated. The performance of 10wt% nano Fe3 O4 /PEG4000/IEM resin and its composite spring stent structure satisfy the requirement of the stent properties in vivo, and can quickly recover to the original shape under magneticallydriven. This work provides a material option for developing new biological application devices such as ureter stents. This article is protected by copyright. All rights reserved.