Abstract
Following the widespread application of cloud computing, many users outsource local data to cloud servers. Encrypting data before outsourcing makes traditional query methods fail. Aiming at the problem of slow query speed and low accuracy of ciphertext queries, an improved ciphertext query method based on multi-attribute keywords is proposed. The method establishes a security index through multi-attribute characteristic vectors, conducts correlation calculations according to the sort order selected by users and multi-keywords, and returns the most relevant sorted query results. Research results show that the method improves both query speed and accuracy.
Introduction: The Challenge of Searching Encrypted Data
As cloud computing becomes ubiquitous, the need to search through encrypted data (ciphertext) has become a critical challenge. Standard encryption renders data unreadable to cloud service providers (CSPs), preventing traditional indexing and searching. Existing ciphertext search methods often struggle with a trade-off between speed and accuracy, frequently lacking effective ranking mechanisms to identify the most relevant documents in a search result. This paper proposes a solution that leverages multi-attribute feature vectors to bridge the gap between security and search utility.
Proposed Methodology
The proposed method addresses these limitations by utilizing multi-attribute feature vectors to enhance retrieval accuracy and speed. The system architecture involves a coordinated flow between data preprocessing and the query sorting process.
Multi-Attribute Feature Extraction
The core innovation is the use of both internal and global attributes to characterize documents:
- Internal Attributes: These include keyword weights calculated via TF-IDF and position weights. For example, keywords found in titles are assigned a higher weight (e.g., 6) than those in the body text (e.g., 1), mimicking human intuition regarding document structure.
- Global Attributes: External metrics such as download counts and citation frequency are used to gauge document quality and authority, preventing results from being dominated by simple keyword frequency.
Security and Retrieval
To maintain privacy, documents are encrypted using symmetric encryption, and keywords are converted into cryptographic "trapdoors." The cloud server uses a multi-attribute evaluation function to rank results based on user preferences—such as sorting by topic relevance or popularity—without ever accessing the plaintext data.
Experimental Results
The method was tested on a library of 100 articles, comparing the multi-attribute approach against standard single-attribute systems.
Query Performance and Relevance
The results demonstrated that the multi-attribute system consistently achieved faster query speeds as the document count increased. More importantly, the relevance of the search results was significantly higher. As shown in the figure below, adding more keywords to a query leads to a substantial increase in relevance compared to traditional methods, as the multi-attribute vectors provide a more nuanced matching criteria.
Conclusion
By integrating position weights and global metadata, this multi-attribute keyword search method provides a more accurate and efficient way to query encrypted cloud data. While the current study demonstrates clear advantages on a controlled scale, future work will focus on scaling the system for larger datasets and ensuring the integrity of global attributes against potential server-side manipulation.
Summary updated