A measurement method, wherein the method comprises: reading, by an electronic device from a hardware storage device of the electronic device, running code and running data that are in a running process of a virtual machine manager, VMM, running on the electronic device, and generating first verification information according to the running code and the running data; storing, by the electronic device, the first verification information; transmitting, by the electronic device, log information to a trusted data center, wherein the log information records information about each operation performed by the electronic device starting from reading, by the electronic device, the running code and the running data and prior to storing the first verification information, and corresponding timestamp information; reading, by the trusted data center, the running code and the running data on the hardware storage device from the received log information; generating, by the trusted data center, second verification information according to the running code and the running data from the received log information; acquiring, by the trusted data center, the first verification information from the electronic device; comparing, by the trusted data center, the first verification information with the second verification information; measuring, by the trusted data center, the electronic device according to a comparison result; wherein the measuring comprises: determining that the log information is not tampered with if the second verification information is the same as the first verification information, and determining that the log information is tampered with if the second verification information is different from the first verification information. reading, by an electronic device from a hardware storage device of the electronic device, running code and running data that are in a running process of a virtual machine manager, VMM, running on the electronic device, and generating first verification information according to the running code and the running data; storing, by the electronic device, the first verification information; transmitting, by the electronic device, log information to a trusted data center, wherein the log information records information about each operation performed by the electronic device starting from reading, by the electronic device, the running code and the running data and prior to storing the first verification information, and corresponding timestamp information; reading, by the trusted data center, the running code and the running data on the hardware storage device from the received log information; generating, by the trusted data center, second verification information according to the running code and the running data from the received log information; acquiring, by the trusted data center, the first verification information from the electronic device; comparing, by the trusted data center, the first verification information with the second verification information; measuring, by the trusted data center, the electronic device according to a comparison result; wherein the measuring comprises: determining that the log information is not tampered with if the second verification information is the same as the first verification information, and determining that the log information is tampered with if the second verification information is different from the first verification information.