The embodiment of the invention provides a data information inquiry method and an electronic device. The data information inquiry method comprises the following steps: receiving a default operation command in the continuous data output process; acquiring the first attribute information included in the default operation command; searching the first information (of the data) matched with the first attribute information in an information collection of the prestored data; and outputting the first information. In the embodiment of the invention, the data information is decomposed in advance, the data information collection is established, and during the data transmission process, the date information corresponding to the attribute information included in the command can be retrieved from the data information collection through the default operation command, and then output, therefore, the processes of network searching, downloading and the like are avoided when a user acquires the relevant information of the data in the prior art, the inquiry operation of data information is simplified, the satisfactory matching result can be directly found, and the user experience is improved.