A new photonic memory developed with multilevel capability for optoelectronic data storage applications