The invention discloses a multi-search supporting design method for an encrypted
database middleware, and aims at encrypting data and anonymizing a data relation mode so as to protect the safety of data stored in a
relation database under a cloud environment with
database outsourcing service, as well as preventing data privacy from being pried and disclosed by a cloud service supplier on the premise that the availability of the data is ensured. The method mainly comprises the steps of enabling correspondence of the data encrypting storing type and search type; building a local
data dictionary;
rewriting SQL statements. The method can support encrypted data storage by a plurality of
modes, anonymizing of the relation mode, and various
modes of searching the encrypted
data dictionary and encrypted data. The method is easy to carry out, high in safety and high in efficiency, supports equivalent search, range search, aggregate search, Top-k search and other search
modes, is free of modification on
database software, and widely supports various commercial relation databases.