A computer implemented method for determining a state of a target database, the target database being a blockchain database whose state value is to be determined, the method comprising: determining a state transition operation performed on the target database; determining one or more data operation objects corresponding to the state transition operation; serializing each data operation object of the one or more data operation objects into corresponding serialized data in a binary format to obtain serialized data, the serializing comprising: determining whether a sequence of performing the state transition operation by all of the one or more data operation objects is fixed, in response to determining that the sequence of performing the state transition operation by all of the one or more data operation objects is fixed, concatenating, based on the sequence of performing the state transition operation, the serialized data corresponding to all of the one or more the data operation objects, to obtain concatenated serialized data, and in response to determining that the sequence of performing the state transition operation by all of the one or more data operation objects is not fixed, concatenating, based on a first predetermined sequence, the serialized data corresponding to all of the one or more the data operation objects, to obtain concatenated serialized data, wherein the first predetermined sequence is a same predetermined concatenating sequence irrespective of a specific database whose state is to be determined; determining a hash value of the concatenated serialized data; and determining, based on the hash value and a pre-state value that is of the target database and that exists before the state transition operation is performed, a state value that is of the target database and that exists after the state transition operation is performed, wherein the state value is used to represent the state of the target database. determining a state transition operation performed on the target database; determining one or more data operation objects corresponding to the state transition operation; serializing each data operation object of the one or more data operation objects into corresponding serialized data in a binary format to obtain serialized data, the serializing comprising: determining whether a sequence of performing the state transition operation by all of the one or more data operation objects is fixed, in response to determining that the sequence of performing the state transition operation by all of the one or more data operation objects is fixed, concatenating, based on the sequence of performing the state transition operation, the serialized data corresponding to all of the one or more the data operation objects, to obtain concatenated serialized data, and in response to determining that the sequence of performing the state transition operation by all of the one or more data operation objects is not fixed, concatenating, based on a first predetermined sequence, the serialized data corresponding to all of the one or more the data operation objects, to obtain concatenated serialized data, wherein the first predetermined sequence is a same predetermined concatenating sequence irrespective of a specific database whose state is to be determined; determining whether a sequence of performing the state transition operation by all of the one or more data operation objects is fixed, in response to determining that the sequence of performing the state transition operation by all of the one or more data operation objects is fixed, concatenating, based on the sequence of performing the state transition operation, the serialized data corresponding to all of the one or more the data operation objects, to obtain concatenated serialized data, and in response to determining that the sequence of performing the state transition operation by all of the one or more data operation objects is not fixed, concatenating, based on a first predetermined sequence, the serialized data corresponding to all of the one or more the data operation objects, to obtain concatenated serialized data, wherein the first predetermined sequence is a same predetermined concatenating sequence irrespective of a specific database whose state is to be determined; determining a hash value of the concatenated serialized data; and determining, based on the hash value and a pre-state value that is of the target database and that exists before the state transition operation is performed, a state value that is of the target database and that exists after the state transition operation is performed, wherein the state value is used to represent the state of the target database.