The invention relates to a novel heterocycle-spiro structure compound, which has a structure shown as general formula I, wherien, E1 and E2 independently represent O, S or Se atoms and are different from each other; R1, R2, R3 and R4 independently represent an aromatic group containing n benzene rings and / or aromatic heterocycles and having electron-donating properties or being neutral respectively, or represent H atom; and n represents an integer of 1-7. The compound provided by the invention takes a spiro structure as the main body, the main structure has a rigid structure and an electron-rich structure unit at the same time, can have good thermal stability while providing excellent hole transport performance. The structure has appropriate HOMO and LUMO energy levels and high Eg, can effectively improve the photoelectric performance and the lifetime of OLED devices. An electron-donating group or neutral group is introduced into the structure, so that the compound can be well appliedto OLED devices as a hole transport material.