The invention discloses an
encryption method and
system based on distributed storage, and relates to the technical field of storage
encryption, an
original data set is divided into a plurality of groups of fragments and the fragments are dispersedly stored on different nodes, so that the data dispersion degree is increased, and even if a part of nodes are attacked, the data can be effectively encrypted. And an attacker is difficult to obtain enough fragments to reconstruct the
original data. Meanwhile, the situation that the
cracking probability Pc is lower than the maximum tolerance threshold Prmax is analyzed and screened out, the fragment number corresponding to the minimum
cracking probability value is extracted, it is further ensured that under the set recombination
threshold number, the safety of data is guaranteed to the maximum degree, and by monitoring and recording the
system performance data under different recombination threshold numbers, the
system performance is improved. According to the method, the performance fluctuation coefficient Xbxs is constructed according to the preset fluctuation threshold value, the performance of the system under different configurations can be accurately evaluated, and if the performance fluctuation coefficient Xbxs exceeds the preset fluctuation threshold value, the system can automatically send out an exclusion instruction to find out the recombination threshold value which does not meet the
performance requirement in time.