A hybrid memory for an electronic device ; wherein the hybrid memory comprises a storage controller , a volatile storage medium , and a non-volatile storage medium , and a physical address segment of the volatile storage medium is different from a physical address segment of the non-volatile storage medium ; the storage controller is configured to receive a read/write instruction from a processor , wherein the read/write instruction carries a first address; and if the first address corresponds to a storage space of the volatile storage medium , the storage controller is configured to write data into the storage space of the volatile storage medium or read data from the storage space of the volatile storage medium ; or if the first address corresponds to a storage space of the non-volatile storage medium , the storage controller is configured to write data into the storage space of the non-volatile storage medium or read data from the storage space of the non-volatile storage medium , wherein the hybrid memory further comprises at least one of a bus , a substrate , a packaging housing , and a bus interface ; the storage controller , the volatile storage medium , and the non-volatile storage medium are integrated on the substrate , the volatile storage medium is connected to the non-volatile storage medium through the bus , the storage controller , the volatile storage medium , the non-volatile storage medium , the bus , and the substrate are packaged inside the packaging housing , the packaging housing externally presents the bus interface , and the bus interface is configured to connect the processor ; the hybrid memory is powered off when the electronic device is screen-off; and the non-volatile storage medium is configured to store data of a preset type, and the data of the preset type comprises at least one of artificial intelligence AI data, patterns, and training results, for instant training. the storage controller is configured to receive a read/write instruction from a processor , wherein the read/write instruction carries a first address; and if the first address corresponds to a storage space of the volatile storage medium , the storage controller is configured to write data into the storage space of the volatile storage medium or read data from the storage space of the volatile storage medium ; or if the first address corresponds to a storage space of the non-volatile storage medium , the storage controller is configured to write data into the storage space of the non-volatile storage medium or read data from the storage space of the non-volatile storage medium , wherein the hybrid memory further comprises at least one of a bus , a substrate , a packaging housing , and a bus interface ; the storage controller , the volatile storage medium , and the non-volatile storage medium are integrated on the substrate , the volatile storage medium is connected to the non-volatile storage medium through the bus , the storage controller , the volatile storage medium , the non-volatile storage medium , the bus , and the substrate are packaged inside the packaging housing , the packaging housing externally presents the bus interface , and the bus interface is configured to connect the processor ; the hybrid memory is powered off when the electronic device is screen-off; and the non-volatile storage medium is configured to store data of a preset type, and the data of the preset type comprises at least one of artificial intelligence AI data, patterns, and training results, for instant training. <EOS>