CN117786741A - Ciphertext storage and ciphertext retrieval open cloud service method, system and medium - Google Patents

Ciphertext storage and ciphertext retrieval open cloud service method, system and medium Download PDF

Info

Publication number
CN117786741A
CN117786741A CN202311786924.4A CN202311786924A CN117786741A CN 117786741 A CN117786741 A CN 117786741A CN 202311786924 A CN202311786924 A CN 202311786924A CN 117786741 A CN117786741 A CN 117786741A
Authority
CN
China
Prior art keywords
information
search
text
retrieval
keyword
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311786924.4A
Other languages
Chinese (zh)
Inventor
张霖涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Basebit Shanghai Information Technology Co ltd
Original Assignee
Basebit Shanghai Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Basebit Shanghai Information Technology Co ltd filed Critical Basebit Shanghai Information Technology Co ltd
Priority to CN202311786924.4A priority Critical patent/CN117786741A/en
Publication of CN117786741A publication Critical patent/CN117786741A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The embodiment of the application provides a ciphertext storage and ciphertext retrieval open cloud service method, a ciphertext storage and ciphertext retrieval open cloud service system and a ciphertext storage and ciphertext retrieval open cloud service medium. The method comprises the following steps: and establishing an account key corresponding database after processing the user account information, obtaining text content to be encrypted after the user account logs in an access terminal, extracting text keywords and text category labels, encrypting the text content, the text keywords and the text category labels according to a stored account private key, obtaining an encrypted signature file information packet, uploading the encrypted signature file information packet to a cloud server, forming the text database by the encrypted signature file information packet uploaded by each user account, obtaining a database keyword label and a category label, extracting and searching the category labels according to search information, encrypting and sending the search keyword labels to the cloud server, then matching the search information with the keyword labels and the category labels to obtain matched search information, comparing the matched search information with a threshold value to obtain effective matched search information, and further obtaining stored account public key information and sending the stored account public key information to the search terminal.

Description

Ciphertext storage and ciphertext retrieval open cloud service method, system and medium
Technical Field
The application relates to the field of ciphertext retrieval, in particular to a ciphertext storage and ciphertext retrieval open cloud service method, a ciphertext storage and ciphertext retrieval open cloud service system and a ciphertext storage and ciphertext retrieval open cloud service medium.
Background
With the rapid development of electronic information in the current society, text and data play an increasingly important role as an element of electronic information transmission, and people cannot leave data in work and life at present, so that the data is important in enterprise development or personal privacy protection. Privacy and security of texts and data in transmission and reference are also increasingly emphasized, and based on the phenomenon, ciphertext storage and ciphertext retrieval are realized on the basis of physical storage at first, but with the rapid increase of quantity and the rapid development of cloud servers, cloud service data storage and data retrieval become core business demands. In processing sensitive text and data, such as financial and medical information, it is becoming more and more important to ensure the security and privacy of the text and data. Therefore, the technology of ciphertext storage and ciphertext retrieval at the cloud server end is generated, but the prior art lacks certain security, and cannot well protect text and data security.
In view of the above problems, an effective technical solution is currently needed.
Disclosure of Invention
The invention aims to provide a ciphertext storage and ciphertext retrieval open cloud service method, a system and a medium, which can realize that a user account extracts keywords and categories from text contents and then encrypts and uploads the keywords and the categories to a server through a storage account private key, a retrieval end encrypts and uploads the encrypted information to a cloud server through a retrieval category and a retrieval keyword tag of the extracted retrieval information according to the retrieval account private key, the encrypted information of the retrieval end is matched with the information uploaded after the encryption of a storage end, the matched retrieval information is obtained, the effective matched retrieval information is selected, further, a storage text matched with the retrieval information and a corresponding public key are obtained, and the storage text and the corresponding public key are sent to a retrieval terminal to be decrypted, so that the technology of ciphertext storage and ciphertext retrieval open cloud service is realized.
The application also provides a ciphertext storage and ciphertext retrieval open cloud service method, which comprises the following steps:
acquiring user account information, inputting the user account information into a preset key generator model for processing to acquire corresponding key information, and establishing an account key corresponding database;
The user account logs in an access terminal and obtains text contents to be encrypted, and text keywords and text category labels are obtained through processing of a preset text labeling model;
the access terminal respectively encrypts the text content, the text keywords and the text door class labels according to a stored account private key to obtain an encrypted signature file information packet, and sends the encrypted signature file information packet to the cloud server;
the cloud server constructs a text database according to the encrypted signature file information package, and processes the text database through preset rules to obtain keyword labels and category labels;
obtaining search information, extracting and obtaining search category labels and search keyword labels, encrypting the search category labels and the search keyword labels to obtain an encrypted search information packet, and sending the encrypted search information packet to the cloud server;
inputting the encrypted retrieval information package, the keyword label and the door class label into a preset matching model for matching processing to obtain matching retrieval information;
extracting the matching degree value of the matching retrieval information and comparing the matching degree value with a preset matching threshold value to obtain effective matching retrieval information;
obtaining storage account information and storage account public key information according to the effective matching retrieval information, and sending the effective matching retrieval information and the storage account public key information to the retrieval terminal;
And the searching terminal decrypts the effective matching searching information according to the public key information of the stored account.
Optionally, in the ciphertext storage and ciphertext retrieval open cloud service method described in the present application, the obtaining the user account information, inputting the user account information into a preset key generator model to process to obtain corresponding key information, and establishing an account key corresponding database specifically includes:
acquiring user account information, inputting the user account information into a preset key generator model for processing to acquire corresponding key information;
the key information comprises public key information and private key information;
establishing a corresponding account key corresponding database according to the user account information, the public key information and the private key information;
and sending the private key information to a corresponding user account, and storing the account key corresponding database to a cloud server.
Optionally, in the ciphertext storing and ciphertext retrieving open cloud service method described in the present application, the access terminal respectively encrypts the text content, the text keyword, and the text category tag according to a storage account private key to obtain an encrypted signature file information packet, and sends the encrypted signature file information packet to the cloud server, where the method specifically includes:
The access terminal respectively encrypts the text content, the text keywords and the text door class labels according to a stored account private key to obtain an encrypted signature file information packet;
the encrypted signature file information package comprises encrypted signature text contents, encrypted signature text keywords and encrypted signature text category labels;
the encrypted signature file information package is sent to the cloud server and stored;
the text content corresponds to the encrypted signature text content, the text keyword corresponds to the encrypted signature text keyword, and the text category label corresponds to the encrypted signature text category label.
Optionally, in the ciphertext storing and ciphertext retrieving open cloud service method described in the present application, the cloud server constructs a text database according to the encrypted signature file information packet, and processes the text database through a preset rule to obtain a keyword tag and a category tag, and specifically includes:
the cloud server stores the encrypted signature file information package in a centralized manner to form a text database;
classifying and storing the text database through preset rules and obtaining keyword labels and door class labels;
Establishing a corresponding subordinate relation between the keyword label and the category label;
wherein the category labels include the keyword labels.
Optionally, in the ciphertext storing and ciphertext retrieving open cloud service method described in the present application, the inputting the encrypted retrieval information packet, the keyword tag, and the generic tag into a preset matching model to perform matching processing, to obtain matching retrieval information specifically includes:
the user account logs in the search terminal;
acquiring search information, and acquiring a search category label and a search keyword label through processing of a preset text labeling model;
the search category labels and the search keyword labels are encrypted through a search account private key to obtain encrypted search category labels and encrypted search keyword labels;
the encryption retrieval category labels and the encryption retrieval keyword labels are sent to the cloud server, and the category labels are correspondingly obtained according to the encryption retrieval category labels;
inputting the encrypted search keyword label and the keyword label into a preset matching model for processing to obtain matching search information, wherein the matching search information comprises matching similarity information and corresponding keyword label information.
Optionally, in the ciphertext storage and ciphertext retrieval open cloud service method described in the present application, the obtaining storage account information and corresponding storage account public key information according to the valid matching retrieval information, and sending the valid matching retrieval information and the storage account public key information to the retrieval terminal specifically includes:
obtaining effective keyword label information correspondingly according to the effective matching retrieval information;
obtaining corresponding encrypted signature text keywords and encrypted signature text contents according to the effective keyword tag information;
obtaining storage account information, storage account public key information and retrieval terminal information according to the encryption signature text keywords and the encryption signature text content;
and sending the encrypted signature text content and the stored account public key information to the retrieval terminal.
Optionally, in the ciphertext storing and ciphertext retrieving open cloud service method described in the present application, the method further includes:
counting the times of searching the same search door class labels within the preset time of the search terminal;
comparing the times with a preset retrieval threshold value to obtain retrieval frequency state information, wherein the retrieval frequency state information comprises frequency or infrequent frequency;
If the search frequency state information is frequent, the storage position of the category label matched with the search category label is sent to the search terminal;
and when the retrieval terminal retrieves the same retrieval category label, the retrieval terminal directly reads the storage position and accesses the cloud server according to the storage position.
Optionally, in the ciphertext storing and ciphertext retrieving open cloud service method described in the present application, the method further includes:
acquiring each search category label which is searched by the search terminal within a preset time, acquiring the category number of the search keyword labels contained in each search category label, and storing the category number as the category number of the search category keyword labels;
acquiring the number of keyword label types under each door type label, and storing the number as the number of door type keyword label types;
comparing the number of the label types of the search gate keywords with the number of the label types of the gate keywords to obtain a gate keyword label coverage index;
comparing the door type keyword label coverage index with a preset retrieval coverage rate threshold value to obtain door type keyword label coverage state information, wherein the door type keyword label coverage state information comprises wide coverage or narrow coverage;
and if the coverage state information of the portal keyword label is wide coverage, sending the public key information of all the user storage accounts under the corresponding portal label to the retrieval terminal.
In a second aspect, the present application provides a ciphertext storage and ciphertext retrieval open cloud service system, the system comprising: the memory comprises a ciphertext storage and ciphertext retrieval open cloud service method program, and the ciphertext storage and ciphertext retrieval open cloud service method program realizes the following steps when being executed by the processor:
acquiring user account information, inputting the user account information into a preset key generator model for processing to acquire corresponding key information, and establishing an account key corresponding database;
the user account logs in an access terminal and obtains text contents to be encrypted, and text keywords and text category labels are obtained through processing of a preset text labeling model;
the access terminal respectively encrypts the text content, the text keywords and the text door class labels according to a stored account private key to obtain an encrypted signature file information packet, and sends the encrypted signature file information packet to the cloud server;
the cloud server constructs a text database according to the encrypted signature file information package, and processes the text database through preset rules to obtain keyword labels and category labels;
Obtaining search information, extracting and obtaining search category labels and search keyword labels, encrypting the search category labels and the search keyword labels to obtain an encrypted search information packet, and sending the encrypted search information packet to the cloud server;
inputting the encrypted retrieval information package, the keyword label and the door class label into a preset matching model for matching processing to obtain matching retrieval information;
extracting the matching degree value of the matching retrieval information and comparing the matching degree value with a preset matching threshold value to obtain effective matching retrieval information;
obtaining storage account information and storage account public key information according to the effective matching retrieval information, and sending the effective matching retrieval information and the storage account public key information to the retrieval terminal;
and the searching terminal decrypts the effective matching searching information according to the public key information of the stored account.
In a third aspect, the present application further provides a readable storage medium, where the readable storage medium includes a ciphertext storage and ciphertext retrieval open cloud service method program, where when the ciphertext storage and ciphertext retrieval open cloud service method program is executed by a processor, the steps of a ciphertext storage and ciphertext retrieval open cloud service method according to any one of the above claims are implemented.
From the above, the ciphertext storage and ciphertext retrieval open cloud service method, system and medium provided by the application. The method comprises the steps of establishing an account key corresponding database after processing user account information, obtaining text content to be encrypted after logging in an access terminal by a user account, extracting text keywords and text category labels, encrypting the text content, the text keywords and the text category labels according to a stored account private key, obtaining an encrypted signature file information packet, uploading the encrypted signature file information packet to a cloud server, forming the text database by the encrypted signature file information packet uploaded by each user account, obtaining a database keyword label and a category label, extracting and searching the category labels according to search information, encrypting and sending the search keyword labels to the cloud server, then matching with the keyword labels and the category labels to obtain matched search information, obtaining effective matched search information through threshold comparison, further obtaining a stored account, storing account public key information and sending the stored account public key information to the search terminal, and realizing a technology of ciphertext storage and ciphertext retrieval open cloud service.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objects and other advantages of the present application may be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a ciphertext storing and ciphertext retrieving open cloud service method provided in an embodiment of the present application;
fig. 2 is a flowchart of a database corresponding to an account key obtained by a ciphertext storing and ciphertext retrieving open cloud service method according to an embodiment of the present application;
fig. 3 is a flowchart of obtaining an encrypted signature file information packet in a ciphertext storage and ciphertext retrieval open cloud service method according to an embodiment of the present application.
Fig. 4 is a flowchart of obtaining matching search information of a ciphertext storage and ciphertext search open cloud service method according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a flowchart of a ciphertext storing and ciphertext retrieving open cloud service method according to some embodiments of the present application. The ciphertext storage and ciphertext retrieval open cloud service method is used in terminal equipment, such as mobile phones, computers and the like. The ciphertext storage and ciphertext retrieval open cloud service method comprises the following steps:
s11, acquiring user account information, inputting the user account information into a preset key generator model for processing to acquire corresponding key information, and establishing an account key corresponding database;
s12, the user account logs in an access terminal and obtains text contents to be encrypted, and text keywords and text category labels are obtained through processing of a preset text labeling model;
s13, the access terminal respectively encrypts the text content, the text keywords and the text category labels according to a stored account private key to obtain an encrypted signature file information packet, and sends the encrypted signature file information packet to the cloud server;
S14, the cloud server constructs a text database according to the encrypted signature file information package, and processes the text database through preset rules to obtain keyword labels and category labels;
s15, acquiring search information, extracting and acquiring search category labels and search keyword labels, encrypting the search category labels and the search keyword labels to obtain an encrypted search information packet, and transmitting the encrypted search information packet to the cloud server;
s16, inputting the encryption retrieval information package, the keyword label and the category label into a preset matching model for matching processing to obtain matching retrieval information;
s17, extracting a matching degree value of the matching retrieval information and comparing the matching degree value with a preset matching threshold value to obtain effective matching retrieval information;
s18, obtaining storage account information and storage account public key information according to the effective matching retrieval information, and sending the effective matching retrieval information and the storage account public key information to the retrieval terminal;
s19, the searching terminal decrypts the effective matching searching information according to the public key information of the stored account.
In order to realize ciphertext storage and ciphertext retrieval open cloud service, firstly, user account information is established, each user account information is processed through a preset key generator model to obtain corresponding key information, the corresponding key information comprises public key information and private key information, an account key corresponding database is established according to an account and the corresponding key information, the user account logs in an access terminal to obtain text content to be encrypted, the text content is input into a preset text labeling model to be processed to obtain text keywords and text portal labels, the access terminal respectively encrypts the text content, the text keywords and the text portal labels according to a stored account private key to obtain an encrypted signature file information package, the encrypted signature file information package comprises encrypted signature text content, encrypted signature text keywords and encrypted signature text portal labels, then the encrypted signature file information package is sent to a cloud server, the cloud server receives the encrypted signature file information package of each user account and then constructs a text database, the text database is processed through a preset rule to obtain keyword labels and portal labels, the retrieval terminal obtains retrieval information according to retrieval information extraction to obtain retrieval portal labels and keyword labels, the retrieval keyword labels are encrypted and the retrieval information labels are sent to the cloud server to obtain the encrypted retrieval information package; and in the cloud server, inputting the encrypted search information packet, the keyword label and the category label into a preset matching model for matching processing, and obtaining matching search information comprising matching similarity information and corresponding keyword label information. Extracting a matching degree value in the matching retrieval information, comparing the matching degree value with a preset matching threshold value, and judging that the matching degree value exceeds the threshold value is effective matching retrieval information; according to the effective matching search information, an effective keyword label can be obtained, according to the effective keyword, an encrypted signature text keyword can be obtained, so that encrypted signature text content is obtained, and because the signature of each user account is different, stored account information and stored account public key information can be obtained, meanwhile, the effective matching search information and the stored account public key information are sent to a search terminal, the search terminal decrypts according to the stored account public key information, and finally search content is obtained.
Referring to fig. 2, fig. 2 is a flowchart of a database corresponding to an account key obtained by a ciphertext storing and ciphertext retrieving open cloud service method according to an embodiment of the present application. According to the embodiment of the invention, the method comprises the steps of obtaining user account information, inputting the user account information into a preset key generator model for processing to obtain corresponding key information, and establishing an account key corresponding database, and specifically comprises the following steps:
s21, acquiring user account information, and inputting the user account information into a preset key generator model for processing to acquire corresponding key information;
s22, the key information comprises public key information and private key information;
s23, establishing a corresponding database of corresponding account keys according to the user account information, the public key information and the private key information;
and S24, the private key information is sent to a corresponding user account, and the account key corresponding database is stored in a cloud server.
The user account information is a user account registered by a user in a ciphertext storage and ciphertext retrieval open cloud service system, the account is unique, an administrator authorizes and manages the account, the user account information is input into a key generator model, the model obtains corresponding unique key information according to different user accounts through processing, the unique key information comprises public key information and private key information, and the public key can be decrypted after the private key is encrypted; in order to ensure the security of text or data, each account has a corresponding unique public key and private key, the user account and key information corresponding to each account one by one are stored, an account key corresponding database is established, the key information can be queried according to the user account through the database, the user account can also be queried according to the key information, after the key is generated, the private key is sent to the user account for encryption, and the account key corresponding database is stored in the cloud server.
Referring to fig. 3, fig. 3 is a flowchart of obtaining an encrypted signature file packet according to an open cloud service method for ciphertext storage and ciphertext retrieval according to an embodiment of the present application. According to the embodiment of the invention, the access terminal respectively encrypts the text content, the text keyword and the text category label according to the stored account private key to obtain an encrypted signature file information packet, and sends the encrypted signature file information packet to the cloud server, and the method specifically comprises the following steps:
s31, the access terminal respectively encrypts the text content, the text keywords and the text category labels according to a stored account private key to obtain an encrypted signature file information packet;
s32, the encrypted signature file information packet comprises encrypted signature text content, encrypted signature text keywords and encrypted signature text category labels;
s33, sending the encrypted signature file information package to the cloud server and storing the encrypted signature file information package;
s34, the text content corresponds to the encrypted signature text content, the text keywords correspond to the encrypted signature text keywords, and the text category labels correspond to the encrypted signature text category labels.
In the ciphertext storage link, after the user account logs in the access terminal, text content, text keywords and text category labels are obtained, the text keywords are extracted from texts and can express the text content, the text category labels classify the text keywords, the text keywords belonging to a certain category are integrated into text category labels, the text keywords are encrypted according to a private key of the stored account, an encrypted signature file information packet is obtained, in the encryption process, the signature of the user account is also added in the encrypted text and used for tracing and confirming the text source, and the encrypted signature file information packet comprises encrypted signature text content, encrypted signature text keywords and encrypted signature text category labels, wherein the corresponding relation among the encrypted signature file information packet is as follows: the text content corresponds to the encrypted signature text content, the text keyword corresponds to the encrypted signature text keyword, the text portal tag corresponds to the encrypted signature text portal tag, the encrypted signature file information package is sent to the cloud server and stored, and the encryption is carried out at the access terminal so as to prevent potential safety hazards such as leakage of data or text in the transmission process.
According to the embodiment of the invention, the cloud server constructs a text database according to the encrypted signature file information package, and processes the text database through a preset rule to obtain a keyword label and a category label, and the method specifically comprises the following steps:
the cloud server stores the encrypted signature file information package in a centralized manner to form a text database;
classifying and storing the text database through preset rules and obtaining keyword labels and door class labels;
establishing a corresponding subordinate relation between the keyword label and the category label;
wherein the category labels include the keyword labels.
It should be noted that, after receiving the encrypted signature file information packet, the cloud server centrally stores the encrypted signature file information packet to form a text database, where a large number of encrypted signature text contents, encrypted signature text keywords and encrypted signature text category labels are stored in the text database, and for convenience in searching, the text database is classified and stored by a preset rule to obtain keyword labels and category labels, and the keyword labels are corresponding to the corresponding category labels according to attribute relationships, and in terms of subordinate relationships, the keyword labels belong to the category labels, and a plurality of keyword labels of the same category can be arranged under the category labels.
Referring to fig. 4, fig. 4 is a flowchart of obtaining matching search information of a ciphertext storage and ciphertext search open cloud service method according to an embodiment of the present application. According to an embodiment of the present invention, the inputting the encrypted search information packet, the keyword tag and the category tag into a preset matching model for matching processing, to obtain matching search information, includes:
s41, a user account logs in a search terminal;
s42, acquiring search information, and acquiring a search category label and a search keyword label through processing of a preset text labeling model;
s43, the search door class labels and the search keyword labels are subjected to encryption processing through a private key of a search account to obtain encrypted search door class labels and encrypted search keyword labels;
s44, sending the encryption retrieval category label and the encryption retrieval keyword label to the cloud server, and correspondingly obtaining the category label according to the encryption retrieval category label;
s45, inputting the encrypted search keyword label and the keyword label into a preset matching model for processing, and obtaining matching search information, wherein the matching search information comprises matching similarity information and corresponding keyword label information.
The method comprises the steps that a user account logs in a search terminal, search information is acquired after logging in is successful, the search information is input into a preset text labeling model to be processed to obtain a search category label and a search keyword label, the search keyword label refers to a keyword which can embody the meaning of search in the search information, the search category label is an attribute of the search information category, text or data stored in a cloud server are encrypted, in order to prevent leakage of the search information in a transmission process or match the search information better and faster in a cloud, therefore, the search information is encrypted at the search terminal, the search information is encrypted through the search terminal, the search category label and the search keyword label are encrypted through a search account private key to be processed to obtain an encrypted search category label and an encrypted search keyword label, then the encrypted search category label and the encrypted search keyword label are sent to a cloud server, after the category label is obtained, the relation between the encrypted search keyword label and the keyword label is confirmed, the keyword label can be matched with the corresponding keyword in a faster way, the keyword is matched with the keyword, the keyword is input into the preset label to be matched with the preset keyword, the keyword is matched with the keyword in a similarity, and the similarity of the search information is obtained, and the similarity is similar to the search result is obtained.
According to the embodiment of the invention, the stored account information and the corresponding stored account public key information are correspondingly obtained according to the valid matching search information, and the valid matching search information and the stored account public key information are sent to the search terminal, which specifically comprises:
obtaining effective keyword label information correspondingly according to the effective matching retrieval information;
obtaining corresponding encrypted signature text keywords and encrypted signature text contents according to the effective keyword tag information;
obtaining storage account information, storage account public key information and retrieval terminal information according to the encryption signature text keywords and the encryption signature text content;
and sending the encrypted signature text content and the stored account public key information to the retrieval terminal.
The method comprises the steps that after the effective matching search information is compared with a preset matching threshold value, the effective matching search information is closer to the search information, after the effective matching search information is obtained, effective keyword label information is correspondingly obtained according to the effective matching search information, the effective keyword label information is a keyword label in the effective matching search information, then corresponding encrypted signature text keywords and encrypted signature text contents are obtained according to the effective keyword label information, then storage account information, storage account public key information and search terminal information can be obtained according to the signature information in the effective matching search information, the encrypted signature text contents and the storage account public key information obtained through tracing are sent to a search terminal, and the search terminal decrypts and reads according to the obtained information.
According to an embodiment of the present invention, further comprising:
counting the times of searching the same search door class labels within the preset time of the search terminal;
comparing the times with a preset retrieval threshold value to obtain retrieval frequency state information, wherein the retrieval frequency state information comprises frequency or infrequent frequency;
if the search frequency state information is frequent, the storage position of the category label matched with the search category label is sent to the search terminal;
and when the retrieval terminal retrieves the same retrieval category label, the retrieval terminal directly reads the storage position and accesses the cloud server according to the storage position.
When the user account number frequently searches for the same type of search gate type tag at the search terminal, it is stated that the user needs to search for the search gate type tag more frequently, want to know the gate type tag deeply and in many ways, in order to make the user search for the search gate type tag more conveniently and rapidly, count the number of times of searching for the same search gate type tag at the search terminal within a preset time, in this embodiment, the preset time is set to 7 days, the management user can customize the time limit according to the needs, compare the counted number of times with a preset search threshold value, obtain search frequency state information, including frequently or infrequently, in this embodiment, the search threshold value is 5, when the counted number of times of searching within 7 days is greater than 5, the search frequency state information is infrequent, if the search frequency state information is frequent, the storage location of the gate type tag corresponding to the search gate type tag is sent to the search terminal and stored, when the search terminal searches for the same search gate type tag, the storage location can be read directly at the search terminal and the cloud server can be accessed directly according to the read information stored in the storage location.
According to an embodiment of the present invention, further comprising:
acquiring each search category label which is searched by the search terminal within a preset time, acquiring the category number of the search keyword labels contained in each search category label, and storing the category number as the category number of the search category keyword labels;
acquiring the number of keyword label types under each door type label, and storing the number as the number of door type keyword label types;
comparing the number of the label types of the search gate keywords with the number of the label types of the gate keywords to obtain a gate keyword label coverage index;
comparing the door type keyword label coverage index with a preset retrieval coverage rate threshold value to obtain door type keyword label coverage state information, wherein the door type keyword label coverage state information comprises wide coverage or narrow coverage;
and if the coverage state information of the portal keyword label is wide coverage, sending the public key information of all the user storage accounts under the corresponding portal label to the retrieval terminal.
The method comprises the steps of counting the number of types of search keyword labels of a search terminal in preset time, storing the number of types of the search keyword labels as the number of types of the search keyword labels, wherein the number of types of the search keyword labels is the number of types of the search keyword labels contained in a certain search keyword label, obtaining the number of types of the keyword labels under the various types of the search keyword labels, storing the number of types of the keyword labels as the number of types of the category keyword labels, comparing the number of types of the search keyword labels with the number of types of the category keyword labels, wherein the number of types of the category keyword labels is a numerator, the number of types of the category keyword labels is a denominator, calculating to obtain a category keyword label coverage index, namely, the ratio of the number of the keyword labels already searched under the category label to the number of the keyword labels, comparing the category label coverage index with a preset coverage threshold value to obtain category keyword label coverage state information, wherein the category label coverage state information comprises a wide coverage index or a category label coverage index which is a user-defined by a user, and the user can be set as a user coverage index according to a preset coverage value of a user, and the user-defined in a preset time, wherein the category coverage index is set as a user-defined by a threshold value, and the user is 30: [0,0.6 ] the door-like keyword tag coverage status information is a narrow coverage; and [0.6,1], when the calculated and obtained coverage index of the door type keyword label is 0.85, the door type keyword label coverage state information is wide coverage, and if the door type keyword label coverage state information is wide coverage, all user storage account public key information under the corresponding door type label is sent to the search terminal.
The invention also discloses a ciphertext storage and ciphertext retrieval open cloud service system, which comprises a memory and a processor, wherein the memory comprises a ciphertext storage and ciphertext retrieval open cloud service method program, and the ciphertext storage and ciphertext retrieval open cloud service method program realizes the following steps when being executed by the processor:
acquiring user account information, inputting the user account information into a preset key generator model for processing to acquire corresponding key information, and establishing an account key corresponding database;
the user account logs in an access terminal and obtains text contents to be encrypted, and text keywords and text category labels are obtained through processing of a preset text labeling model;
the access terminal respectively encrypts the text content, the text keywords and the text door class labels according to a stored account private key to obtain an encrypted signature file information packet, and sends the encrypted signature file information packet to the cloud server;
the cloud server constructs a text database according to the encrypted signature file information package, and processes the text database through preset rules to obtain keyword labels and category labels;
obtaining search information, extracting and obtaining search category labels and search keyword labels, encrypting the search category labels and the search keyword labels to obtain an encrypted search information packet, and sending the encrypted search information packet to the cloud server;
Inputting the encrypted retrieval information package, the keyword label and the door class label into a preset matching model for matching processing to obtain matching retrieval information;
extracting the matching degree value of the matching retrieval information and comparing the matching degree value with a preset matching threshold value to obtain effective matching retrieval information;
obtaining storage account information and storage account public key information according to the effective matching retrieval information, and sending the effective matching retrieval information and the storage account public key information to the retrieval terminal;
and the searching terminal decrypts the effective matching searching information according to the public key information of the stored account.
In order to realize ciphertext storage and ciphertext retrieval open cloud service, firstly, user account information is established, each user account information is processed through a preset key generator model to obtain corresponding key information, the corresponding key information comprises public key information and private key information, an account key corresponding database is established according to an account and the corresponding key information, the user account logs in an access terminal to obtain text content to be encrypted, the text content is input into a preset text labeling model to be processed to obtain text keywords and text portal labels, the access terminal respectively encrypts the text content, the text keywords and the text portal labels according to a stored account private key to obtain an encrypted signature file information package, the encrypted signature file information package comprises encrypted signature text content, encrypted signature text keywords and encrypted signature text portal labels, then the encrypted signature file information package is sent to a cloud server, the cloud server receives the encrypted signature file information package of each user account and then constructs a text database, the text database is processed through a preset rule to obtain keyword labels and portal labels, the retrieval terminal obtains retrieval information according to retrieval information extraction to obtain retrieval portal labels and keyword labels, the retrieval keyword labels are encrypted and the retrieval information labels are sent to the cloud server to obtain the encrypted retrieval information package; and in the cloud server, inputting the encrypted search information packet, the keyword label and the category label into a preset matching model for matching processing, and obtaining matching search information comprising matching similarity information and corresponding keyword label information. Extracting a matching degree value in the matching retrieval information, comparing the matching degree value with a preset matching threshold value, and judging that the matching degree value exceeds the threshold value is effective matching retrieval information; according to the effective matching search information, an effective keyword label can be obtained, according to the effective keyword, an encrypted signature text keyword can be obtained, so that encrypted signature text content is obtained, and because the signature of each user account is different, stored account information and stored account public key information can be obtained, meanwhile, the effective matching search information and the stored account public key information are sent to a search terminal, the search terminal decrypts according to the stored account public key information, and finally search content is obtained.
According to the embodiment of the invention, the method comprises the steps of obtaining user account information, inputting the user account information into a preset key generator model for processing to obtain corresponding key information, and establishing an account key corresponding database, and specifically comprises the following steps:
acquiring user account information, inputting the user account information into a preset key generator model for processing to acquire corresponding key information;
the key information comprises public key information and private key information;
establishing a corresponding account key corresponding database according to the user account information, the public key information and the private key information;
and sending the private key information to a corresponding user account, and storing the account key corresponding database to a cloud server.
The user account information is a user account registered by a user in a ciphertext storage and ciphertext retrieval open cloud service system, the account is unique, an administrator authorizes and manages the account, the user account information is input into a key generator model, the model obtains corresponding unique key information according to different user accounts through processing, the unique key information comprises public key information and private key information, and the public key can be decrypted after the private key is encrypted; in order to ensure the security of text or data, each account has a corresponding unique public key and private key, the user account and key information corresponding to each account one by one are stored, an account key corresponding database is established, the key information can be queried according to the user account through the database, the user account can also be queried according to the key information, after the key is generated, the private key is sent to the user account for encryption, and the account key corresponding database is stored in the cloud server.
According to the embodiment of the invention, the access terminal respectively encrypts the text content, the text keyword and the text category label according to the stored account private key to obtain an encrypted signature file information packet, and sends the encrypted signature file information packet to the cloud server, and the method specifically comprises the following steps:
the access terminal respectively encrypts the text content, the text keywords and the text door class labels according to a stored account private key to obtain an encrypted signature file information packet;
the encrypted signature file information package comprises encrypted signature text contents, encrypted signature text keywords and encrypted signature text category labels;
the encrypted signature file information package is sent to the cloud server and stored;
the text content corresponds to the encrypted signature text content, the text keyword corresponds to the encrypted signature text keyword, and the text category label corresponds to the encrypted signature text category label.
In the ciphertext storage link, after the user account logs in the access terminal, text content, text keywords and text category labels are obtained, the text keywords are extracted from texts and can express the text content, the text category labels classify the text keywords, the text keywords belonging to a certain category are integrated into text category labels, the text keywords are encrypted according to a private key of the stored account, an encrypted signature file information packet is obtained, in the encryption process, the signature of the user account is also added in the encrypted text and used for tracing and confirming the text source, and the encrypted signature file information packet comprises encrypted signature text content, encrypted signature text keywords and encrypted signature text category labels, wherein the corresponding relation among the encrypted signature file information packet is as follows: the text content corresponds to the encrypted signature text content, the text keyword corresponds to the encrypted signature text keyword, the text portal tag corresponds to the encrypted signature text portal tag, the encrypted signature file information package is sent to the cloud server and stored, and the encryption is carried out at the access terminal so as to prevent potential safety hazards such as leakage of data or text in the transmission process.
According to the embodiment of the invention, the cloud server constructs a text database according to the encrypted signature file information package, and processes the text database through a preset rule to obtain a keyword label and a category label, and the method specifically comprises the following steps:
the cloud server stores the encrypted signature file information package in a centralized manner to form a text database;
classifying and storing the text database through preset rules and obtaining keyword labels and door class labels;
establishing a corresponding subordinate relation between the keyword label and the category label;
wherein the category labels include the keyword labels.
After receiving the information package of the encrypted signature file, the cloud server centrally stores the information package to form a text database, and a large number of encrypted signature text contents, encrypted signature text keywords and encrypted signature text portal labels are stored in the text database,
and classifying and storing the text database through a preset rule to obtain keyword labels and category labels, and corresponding the keyword labels with corresponding category labels according to attribute relations, wherein in terms of subordinate relations, the keyword labels are subordinate to the category labels, and a plurality of keyword labels with the same category can be arranged under the category labels.
According to an embodiment of the present invention, the inputting the encrypted search information packet, the keyword tag and the category tag into a preset matching model for matching processing, to obtain matching search information, includes:
the user account logs in the search terminal;
acquiring search information, and acquiring a search category label and a search keyword label through processing of a preset text labeling model;
the search category labels and the search keyword labels are encrypted through a search account private key to obtain encrypted search category labels and encrypted search keyword labels;
the encryption retrieval category labels and the encryption retrieval keyword labels are sent to the cloud server, and the category labels are correspondingly obtained according to the encryption retrieval category labels;
inputting the encrypted search keyword label and the keyword label into a preset matching model for processing to obtain matching search information, wherein the matching search information comprises matching similarity information and corresponding keyword label information.
The method comprises the steps that a user account logs in a search terminal, search information is acquired after logging in is successful, the search information is input into a preset text labeling model to be processed to obtain a search category label and a search keyword label, the search keyword label refers to a keyword which can embody the meaning of search in the search information, the search category label is an attribute of the search information category, text or data stored in a cloud server are encrypted, in order to prevent leakage of the search information in a transmission process or match the search information better and faster in a cloud, therefore, the search information is encrypted at the search terminal, the search information is encrypted through the search terminal, the search category label and the search keyword label are encrypted through a search account private key to be processed to obtain an encrypted search category label and an encrypted search keyword label, then the encrypted search category label and the encrypted search keyword label are sent to a cloud server, after the category label is obtained, the relation between the encrypted search keyword label and the keyword label is confirmed, the keyword label can be matched with the corresponding keyword in a faster way, the keyword is matched with the keyword, the keyword is input into the preset label to be matched with the preset keyword, the keyword is matched with the keyword in a similarity, and the similarity of the search information is obtained, and the similarity is similar to the search result is obtained.
According to the embodiment of the invention, the stored account information and the corresponding stored account public key information are correspondingly obtained according to the valid matching search information, and the valid matching search information and the stored account public key information are sent to the search terminal, which specifically comprises:
obtaining effective keyword label information correspondingly according to the effective matching retrieval information;
obtaining corresponding encrypted signature text keywords and encrypted signature text contents according to the effective keyword tag information;
obtaining storage account information, storage account public key information and retrieval terminal information according to the encryption signature text keywords and the encryption signature text content;
and sending the encrypted signature text content and the stored account public key information to the retrieval terminal.
The method comprises the steps that after the effective matching search information is compared with a preset matching threshold value, the effective matching search information is closer to the search information, after the effective matching search information is obtained, effective keyword label information is correspondingly obtained according to the effective matching search information, the effective keyword label information is a keyword label in the effective matching search information, then corresponding encrypted signature text keywords and encrypted signature text contents are obtained according to the effective keyword label information, then storage account information, storage account public key information and search terminal information can be obtained according to the signature information in the effective matching search information, the encrypted signature text contents and the storage account public key information obtained through tracing are sent to a search terminal, and the search terminal decrypts and reads according to the obtained information.
According to an embodiment of the present invention, further comprising:
counting the times of searching the same search door class labels within the preset time of the search terminal;
comparing the times with a preset retrieval threshold value to obtain retrieval frequency state information, wherein the retrieval frequency state information comprises frequency or infrequent frequency;
if the search frequency state information is frequent, the storage position of the category label matched with the search category label is sent to the search terminal;
and when the retrieval terminal retrieves the same retrieval category label, the retrieval terminal directly reads the storage position and accesses the cloud server according to the storage position.
When the user account number frequently searches for the same type of search gate type tag at the search terminal, it is stated that the user needs to search for the search gate type tag more frequently, want to know the gate type tag deeply and in many ways, in order to make the user search for the search gate type tag more conveniently and rapidly, count the number of times of searching for the same search gate type tag at the search terminal within a preset time, in this embodiment, the preset time is set to 7 days, the management user can customize the time limit according to the needs, compare the counted number of times with a preset search threshold value, obtain search frequency state information, including frequently or infrequently, in this embodiment, the search threshold value is 5, when the counted number of times of searching within 7 days is greater than 5, the search frequency state information is infrequent, if the search frequency state information is frequent, the storage location of the gate type tag corresponding to the search gate type tag is sent to the search terminal and stored, when the search terminal searches for the same search gate type tag, the storage location can be read directly at the search terminal and the cloud server can be accessed directly according to the read information stored in the storage location.
According to an embodiment of the present invention, further comprising:
acquiring each search category label which is searched by the search terminal within a preset time, acquiring the category number of the search keyword labels contained in each search category label, and storing the category number as the category number of the search category keyword labels;
acquiring the number of keyword label types under each door type label, and storing the number as the number of door type keyword label types;
comparing the number of the label types of the search gate keywords with the number of the label types of the gate keywords to obtain a gate keyword label coverage index;
comparing the door type keyword label coverage index with a preset retrieval coverage rate threshold value to obtain door type keyword label coverage state information, wherein the door type keyword label coverage state information comprises wide coverage or narrow coverage;
and if the coverage state information of the portal keyword label is wide coverage, sending the public key information of all the user storage accounts under the corresponding portal label to the retrieval terminal.
The method comprises the steps of counting the number of types of search keyword labels of a search terminal in preset time, storing the number of types of the search keyword labels as the number of types of the search keyword labels, wherein the number of types of the search keyword labels is the number of types of the search keyword labels contained in a certain search keyword label, obtaining the number of types of the keyword labels under the various types of the search keyword labels, storing the number of types of the keyword labels as the number of types of the category keyword labels, comparing the number of types of the search keyword labels with the number of types of the category keyword labels, wherein the number of types of the category keyword labels is a numerator, the number of types of the category keyword labels is a denominator, calculating to obtain a category keyword label coverage index, namely, the ratio of the number of the keyword labels already searched under the category label to the number of the keyword labels, comparing the category label coverage index with a preset coverage threshold value to obtain category keyword label coverage state information, wherein the category label coverage state information comprises a wide coverage index or a category label coverage index which is a user-defined by a user, and the user can be set as a user coverage index according to a preset coverage value of a user, and the user-defined in a preset time, wherein the category coverage index is set as a user-defined by a threshold value, and the user is 30: [0,0.6 ] the door-like keyword tag coverage status information is a narrow coverage; and [0.6,1], when the calculated and obtained coverage index of the door type keyword label is 0.85, the door type keyword label coverage state information is wide coverage, and if the door type keyword label coverage state information is wide coverage, all user storage account public key information under the corresponding door type label is sent to the search terminal.
The third aspect of the present invention provides a readable storage medium, where the readable storage medium includes a ciphertext storage and ciphertext retrieval open cloud service method program, where the ciphertext storage and ciphertext retrieval open cloud service method program, when executed by a processor, implements a ciphertext storage and ciphertext retrieval open cloud service method according to any one of the above steps.
The invention discloses a ciphertext storage and ciphertext retrieval open cloud service method, a system and a medium, wherein an account key corresponding database is established after user account information is processed, a user account is logged in an access terminal to obtain text content to be encrypted, text keywords and text category labels are extracted, the text content, the text keywords and the text category labels are encrypted according to a storage account private key to obtain an encryption signature file information package, the encryption signature file information package is uploaded to a cloud server, the encryption signature file information package uploaded by each user account forms the text database, a database keyword label and a category label are obtained, the search category labels and the search keyword labels are extracted according to search information and are encrypted and then sent to the cloud server, then matching search information is obtained by matching the keyword labels and the category labels, effective matching search information is obtained by threshold comparison, and further storage account public key information is obtained and sent to the search terminal.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present invention may be stored in a readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.

Claims (10)

1. The ciphertext storage and ciphertext retrieval open cloud service method is characterized by comprising the following steps:
acquiring user account information, inputting the user account information into a preset key generator model for processing to acquire corresponding key information, and establishing an account key corresponding database;
the user account logs in an access terminal and obtains text contents to be encrypted, and text keywords and text category labels are obtained through processing of a preset text labeling model;
the access terminal respectively encrypts the text content, the text keywords and the text door class labels according to a stored account private key to obtain an encrypted signature file information packet, and sends the encrypted signature file information packet to the cloud server;
the cloud server constructs a text database according to the encrypted signature file information package, and processes the text database through preset rules to obtain keyword labels and category labels;
obtaining search information, extracting and obtaining search category labels and search keyword labels, encrypting the search category labels and the search keyword labels to obtain an encrypted search information packet, and sending the encrypted search information packet to the cloud server;
inputting the encrypted retrieval information package, the keyword label and the door class label into a preset matching model for matching processing to obtain matching retrieval information;
Extracting the matching degree value of the matching retrieval information and comparing the matching degree value with a preset matching threshold value to obtain effective matching retrieval information;
obtaining storage account information and storage account public key information according to the effective matching retrieval information, and sending the effective matching retrieval information and the storage account public key information to the retrieval terminal;
and the searching terminal decrypts the effective matching searching information according to the public key information of the stored account.
2. The ciphertext storage and ciphertext retrieval open cloud service method of claim 1, wherein the obtaining the user account information, inputting the user account information into a preset key generator model to obtain corresponding key information, and establishing an account key corresponding database, specifically comprises:
acquiring user account information, inputting the user account information into a preset key generator model for processing to acquire corresponding key information;
the key information comprises public key information and private key information;
establishing a corresponding account key corresponding database according to the user account information, the public key information and the private key information;
and sending the private key information to a corresponding user account, and storing the account key corresponding database to a cloud server.
3. The ciphertext storing and ciphertext retrieving open cloud service method of claim 2, wherein the access terminal respectively encrypts the text content, the text keyword and the text category tag according to a stored account private key to obtain an encrypted signature file information packet, and sends the encrypted signature file information packet to the cloud server, and the method specifically comprises:
the access terminal respectively encrypts the text content, the text keywords and the text door class labels according to a stored account private key to obtain an encrypted signature file information packet;
the encrypted signature file information package comprises encrypted signature text contents, encrypted signature text keywords and encrypted signature text category labels;
the encrypted signature file information package is sent to the cloud server and stored;
the text content corresponds to the encrypted signature text content, the text keyword corresponds to the encrypted signature text keyword, and the text category label corresponds to the encrypted signature text category label.
4. The ciphertext storing and ciphertext retrieving open cloud service method of claim 3, wherein the cloud server constructs a text database according to the encrypted signature file information package, and processes the text database by a preset rule to obtain keyword tags and category tags, and the method specifically comprises:
The cloud server stores the encrypted signature file information package in a centralized manner to form a text database;
classifying and storing the text database through preset rules and obtaining keyword labels and door class labels;
establishing a corresponding subordinate relation between the keyword label and the category label;
wherein the category labels include the keyword labels.
5. The ciphertext storing and ciphertext retrieving open cloud service method of claim 4, wherein the inputting the encrypted retrieval information packet, the keyword tag, and the category tag into a preset matching model for matching processing, to obtain matching retrieval information, specifically comprises:
the user account logs in the search terminal;
acquiring search information, and acquiring a search category label and a search keyword label through processing of a preset text labeling model;
the search category labels and the search keyword labels are encrypted through a search account private key to obtain encrypted search category labels and encrypted search keyword labels;
the encryption retrieval category labels and the encryption retrieval keyword labels are sent to the cloud server, and the category labels are correspondingly obtained according to the encryption retrieval category labels;
Inputting the encrypted search keyword label and the keyword label into a preset matching model for processing to obtain matching search information, wherein the matching search information comprises matching similarity information and corresponding keyword label information.
6. The method for storing ciphertext and retrieving open cloud services according to claim 5, wherein the obtaining storage account information and corresponding storage account public key information according to the valid matching search information, and transmitting the valid matching search information and the storage account public key information to the search terminal, specifically comprises:
obtaining effective keyword label information correspondingly according to the effective matching retrieval information;
obtaining corresponding encrypted signature text keywords and encrypted signature text contents according to the effective keyword tag information;
obtaining storage account information, storage account public key information and retrieval terminal information according to the encryption signature text keywords and the encryption signature text content;
and sending the encrypted signature text content and the stored account public key information to the retrieval terminal.
7. The ciphertext storage and ciphertext retrieval open cloud service method of claim 1, further comprising:
Counting the times of searching the same search door class labels within the preset time of the search terminal;
comparing the times with a preset retrieval threshold value to obtain retrieval frequency state information, wherein the retrieval frequency state information comprises frequency or infrequent frequency;
if the search frequency state information is frequent, the storage position of the category label matched with the search category label is sent to the search terminal;
and when the retrieval terminal retrieves the same retrieval category label, the retrieval terminal directly reads the storage position and accesses the cloud server according to the storage position.
8. The ciphertext storage and ciphertext retrieval open cloud service method of claim 1, further comprising:
acquiring each search category label which is searched by the search terminal within a preset time, acquiring the category number of the search keyword labels contained in each search category label, and storing the category number as the category number of the search category keyword labels;
acquiring the number of keyword label types under each door type label, and storing the number as the number of door type keyword label types;
comparing the number of the label types of the search gate keywords with the number of the label types of the gate keywords to obtain a gate keyword label coverage index;
Comparing the door type keyword label coverage index with a preset retrieval coverage rate threshold value to obtain door type keyword label coverage state information, wherein the door type keyword label coverage state information comprises wide coverage or narrow coverage;
and if the coverage state information of the portal keyword label is wide coverage, sending the public key information of all the user storage accounts under the corresponding portal label to the retrieval terminal.
9. The ciphertext storage and ciphertext retrieval open cloud service system is characterized by comprising a memory and a processor, wherein the memory comprises a ciphertext storage and ciphertext retrieval open cloud service method program, and the ciphertext storage and ciphertext retrieval open cloud service method program realizes the following steps when being executed by the processor:
acquiring user account information, inputting the user account information into a preset key generator model for processing to acquire corresponding key information, and establishing an account key corresponding database;
the user account logs in an access terminal and obtains text contents to be encrypted, and text keywords and text category labels are obtained through processing of a preset text labeling model;
the access terminal respectively encrypts the text content, the text keywords and the text door class labels according to a stored account private key to obtain an encrypted signature file information packet, and sends the encrypted signature file information packet to the cloud server;
The cloud server constructs a text database according to the encrypted signature file information package, and processes the text database through preset rules to obtain keyword labels and category labels;
obtaining search information, extracting and obtaining search category labels and search keyword labels, encrypting the search category labels and the search keyword labels to obtain an encrypted search information packet, and sending the encrypted search information packet to the cloud server;
inputting the encrypted retrieval information package, the keyword label and the door class label into a preset matching model for matching processing to obtain matching retrieval information;
extracting the matching degree value of the matching retrieval information and comparing the matching degree value with a preset matching threshold value to obtain effective matching retrieval information;
obtaining storage account information and storage account public key information according to the effective matching retrieval information, and sending the effective matching retrieval information and the storage account public key information to the retrieval terminal;
and the searching terminal decrypts the effective matching searching information according to the public key information of the stored account.
10. A computer readable storage medium, wherein the computer readable storage medium includes a ciphertext storage and ciphertext retrieval open cloud service method program, and when the ciphertext storage and ciphertext retrieval open cloud service method program is executed by a processor, the steps of a ciphertext storage and ciphertext retrieval open cloud service method according to any one of claims 1 to 8 are implemented.
CN202311786924.4A 2023-12-22 2023-12-22 Ciphertext storage and ciphertext retrieval open cloud service method, system and medium Pending CN117786741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311786924.4A CN117786741A (en) 2023-12-22 2023-12-22 Ciphertext storage and ciphertext retrieval open cloud service method, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311786924.4A CN117786741A (en) 2023-12-22 2023-12-22 Ciphertext storage and ciphertext retrieval open cloud service method, system and medium

Publications (1)

Publication Number Publication Date
CN117786741A true CN117786741A (en) 2024-03-29

Family

ID=90387616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311786924.4A Pending CN117786741A (en) 2023-12-22 2023-12-22 Ciphertext storage and ciphertext retrieval open cloud service method, system and medium

Country Status (1)

Country Link
CN (1) CN117786741A (en)

Similar Documents

Publication Publication Date Title
US11893139B2 (en) Method for displaying blockchain data, blockchain browser, user node, and medium
CN108512854B (en) System information safety monitoring method and device, computer equipment and storage medium
CN102598007B (en) Effective detection fingerprints the system and method for data and information
AU2010202627B2 (en) Automated forensic document signatures
CN106650493B (en) A kind of acquisition methods and device of behavioral data
CN108769024B (en) Data acquisition method and multi-data operator negotiation service system
CN102982049B (en) Methods and systems for implementing email recipient templates
US6622248B1 (en) File data retrieving device and recording medium containing computer program for controlling the same
CN111104521A (en) Anti-fraud detection method and detection system based on graph analysis
CN111639355B (en) Data security management method and system
CN115329381A (en) Sensitive data-based analysis and early warning method and device, computer equipment and medium
JP2005539334A (en) Searchable information content for pre-selected data
CN114595689A (en) Data processing method, data processing device, storage medium and computer equipment
CN115062325A (en) Internet of things enterprise management software data security protection method
CN113434588B (en) Data mining analysis method and device based on mobile communication ticket
CN113010904A (en) Data processing method and device and electronic equipment
CN116055067B (en) Weak password detection method, device, electronic equipment and medium
CN109918638B (en) Network data monitoring method
CN114996708B (en) Method and device for studying and judging fraud-related mobile phone application, electronic equipment and storage medium
CN117786741A (en) Ciphertext storage and ciphertext retrieval open cloud service method, system and medium
Burke et al. K-anonymity for privacy preserving crime data publishing in resource constrained environments
CN115659375A (en) Data processing method, data processing device, storage medium and electronic equipment
CN114896618A (en) Method for managing dispersed documents
CN116108111A (en) Analysis system for data analysis management
CN117708870A (en) Data query method, system and medium based on searchable encryption technology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination