FIELD: computer equipment.
SUBSTANCE: invention relates to the computer equipment. Method of storing data, wherein a blockchain node receives a service request, wherein the service request comprises one or more types of data and corresponding service data corresponding to one or more data types, which are stored in a blockchain; determining at least one of the type of service or identification information corresponding to the service request; request is parsed to receive each type of service request data and service data corresponding to each data type; determining that no relational database was created to comply with the service type; in response to determination that no relational database was created to comply with the service type, creating a relational database to match the service type; and based on the mapping relationship between the data type and service data, the service data which are obtained by parsing are stored in a database corresponding to the host computer unit by executing the data storage operator.
EFFECT: technical result consists in improvement of efficiency of requesting data in a blockchain.
10 cl, 5 dwg
Authors
Dates
2020-08-13—Published
2018-03-26—Filed