Data storing, managing and inquiring method and system for distributed key-value storage system

The invention provides a data storing, managing and inquiring method and system for a distributed key-value storage system. The method comprises the following steps: before storing data, respectively converting data into ordered character strings according to different data classifications and then storing the ordered character strings into the distributed key-value storage system, wherein storage sequences of the converted character strings sequenced according a dictionary sequence are consistent with numerical value sequences before conversion; and during data retrieval, the same conversion is carried out on the numerical values in retrieval conditions. The method provided by the invention supports storage and retrieval of complex data classifications and includes complex data inquiring methods, such as multi-field attribute inquiring, multi-data classification inquiring, numerical value statistic analysis and the like.