The invention belongs to the technical field of data
encryption processing, and provides an order-preserving
ciphertext indexing method and
system supporting forward security. According to the technical scheme, firstly, a new segmentation function is designed, the uniformity of the size of a subset and the rationality of a segmentation interval are balanced through a
global optimization objective function, and a new segmentation function is designed; a segmentation strategy can be adjusted according to
data density and abrupt
change points, and the size of a subset and a segmentation interval can be flexibly weighed through
lambda; secondly, a new index structure is constructed, the order-preserving
ciphertext can be inquired in a personalized mode according to the state of the multi-user token, and the
index function of forward security is supported; the method comprises the following steps: mapping
ciphertext data and token states in a user query token to a target address on a token state key chain, forming a search token, sending the search token to carry out
data retrieval, carrying out
data retrieval according to the target address, and carrying out retrieval on a multi-level index to finally obtain a
result set of target data. And the retrieval efficiency is considered while the security is considered.