The present invention discloses a data storage method, a data reading method and an electronic device to solve the technical problem that a data storage method is not flexible, to increase the rate of obtaining metadata, and to improve data processing efficiency. The data storage method comprises generating first metadata according to a first command sent by the electronic device, wherein the first metadata are data for describing attributes of data stored in a flash memory of the electronic device; determining whether a first-stage cache region for storing the first metadata satisfies a predetermined condition; and if the predetermined condition is satisfied, storing the first metadata in the first-stage cache region, or if the predetermined condition is not satisfied, storing the first metadata in a second-stage cache region, wherein the first-stage cache region and the second-stage cache region are different cache regions.