The invention discloses an intelligent electronic lock for controlling opening and closing of a valve. The intelligent electronic lock comprises a valve cover, a fixing bolt, a base, a pressure sensor, a lock body, an unsealing button, a motor, a toothed rod and a fixing plate, wherein a valve grip is movably mounted on the valve cover, and the fixing bolt is movably mounted on the valve cover and penetrates through the valve cover. According to the intelligent electronic lock for controlling opening and closing of the valve, a 4G communication technology, a satellite positioning technology and a micro-electromechanical integrated control technology are adopted, after cement powder goods are loaded, a driver closes the valve, when a vehicle leaves an electronic fence of a delivery place, a platform automatically issues an unsealing operation instruction, the electronic lock is locked, the vehicle starts and reaches a destination, the platform automatically judges the state of entering and exiting the electronic fence according to reported GPS information, an instruction is issued for unsealing under the legal condition, unlocking and unloading are performed, and under the condition of network interruption, the electronic lock can be connected for unlocking through an emergency unlocking button or APP Bluetooth of equipment.