| With the development of cloud computing,more and more services are hosted on the cloud.Cloud computing has stronger computing power,larger storage space,and can save a lot of operation and maintenance overhead.However,the security problems caused by cloud computing make it difficult to outsource services involving private data to the cloud.The log system is one of the basic tools of Internet companies.It plays a vital role in maintaining the operation of large-scale Internet applications.From the perspective of resource requirements,the log system requires huge storage space and strong computing power,and is suitable as a cloud computing service.However,since the log information often contains private data,it is difficult for the log system to be directly hosted in the cloud environment.Therefore,in order to further tap the value hidden in cloud computing and allow more fields to enjoy the benefits of cloud computing,the log system is combined with the ciphertext retrieval method to design and implement a log ciphertext retrieval system in the cloud environment.The main work is as follows:(1)Aiming at the low efficiency of existing ciphertext retrieval methods,a ciphertext retrieval method based on block segmentations is proposed.On the basis of the existing scheme,the index and the query vector are divided into blocks,and most of the keywords irrelevant to the query are filtered out by the block segmentations method to reduce redundant calculation,thereby the efficiency of retrieval is improved.Theoretical analysis and experimental results show that the solution is safe under the known background threat model.Compared with the existing scheme,the proposed scheme has the same security and higher retrieval efficiency.(2)According to the functional characteristics and security requirements of the system,the requirements of the system are analyzed.Based on the system requirements,the system is designed in outline,and the system is divided into log retrieval module,log encryption module and log viewing module.The log retrieval module belongs to the server running in the cloud environment.The three modules are designed in detail,the dynamic expansion method of dictionary and index is designed.The message queue technology is introduced in the log transmission link to realize the decoupling of log collection and processing,and at the same time enhance the fault tolerance of the system during peak periods.(3)Based on the above system design,the implementation of the system is completed by using Java language,and the functional test and performance test are carried out in the simulated real production environment.The experimental results show that the system meets the expected requirements and achieves the design goal. |