A blockchain-based information leakage detection method
By comparing data keyword sequences and user permissions in the blockchain system, the timeliness problem of data leakage detection in blockchain technology is solved, enabling timely detection and prevention of data leakage and improving data security.
Patent Information
- Application Number
- CN202311560775.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-21
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2043-11-21
AI Technical Summary
Existing blockchain technology is unable to detect data leaks in a timely manner, leading to the leakage of confidential data and causing huge losses.
By comparing the standard keyword sequence of the data to be uploaded to the blockchain system with the preset keyword sequence of the user request data, and combining the user's permissions, the risk of data leakage is judged, and if necessary, instructions to prohibit or allow data transmission are issued.
It enables timely detection and prevention of data leaks, improves data security, and reduces the risk of leakage.
Smart Images

Figure CN117714103B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of blockchain technology, and in particular to a blockchain-based method for detecting information leakage. Background Technology
[0002] In the application of blockchain technology, the process of uploading data to the blockchain and requesting data from the blockchain is frequently executed. In essence, a blockchain system built on blockchain technology is a secure and feasible data recording system. When a data leak occurs, although it is possible to trace the source by querying the data in the blockchain system, the inability to detect the data leak in time may lead to huge losses due to the leakage of confidential data such as technical and engineering data. Summary of the Invention
[0003] The technical problem to be solved by this invention is to address the shortcomings of existing technologies, specifically by providing a blockchain-based method for detecting information leakage, as detailed below:
[0004] 1) In a first aspect, the present invention provides a blockchain-based method for detecting information leakage, the specific technical solution of which is as follows:
[0005] When data to be uploaded to the blockchain system, a standard keyword sequence corresponding to the data to be uploaded to the blockchain is obtained;
[0006] When a preset user requests data from the blockchain system, a sequence of keywords to be compared is obtained corresponding to the data requested by the preset user.
[0007] The standard keyword sequence and the keyword sequence to be compared are compared to obtain the comparison results;
[0008] Based on the comparison results and the data access permissions corresponding to the user's logged-in account, it is determined whether the data to be uploaded to the blockchain poses a risk of data leakage.
[0009] The beneficial effects of the blockchain-based information leakage detection method provided by this invention are as follows:
[0010] By comparing the standard keyword sequence corresponding to the data to be uploaded to the blockchain with the preset keyword sequence corresponding to the data requested by the user from the blockchain system, it is possible to determine in a timely manner whether the data to be uploaded to the blockchain has the risk of data leakage.
[0011] Based on the above solution, the blockchain-based information leakage detection method of the present invention can be further improved as follows.
[0012] Furthermore, it also includes: when it is determined that the data to be uploaded to the blockchain has a risk of data leakage, issuing a prohibition instruction to the blockchain system so that the blockchain system does not send any data to the preset users; when it is determined that the data to be uploaded to the blockchain does not have a risk of data leakage, issuing a permission instruction to the blockchain system so that the blockchain system sends data to the preset users.
[0013] Furthermore, when uploading the data to be added to the blockchain system, a standard keyword sequence corresponding to the data is obtained, including:
[0014] When uploading data to be uploaded to the blockchain system, multiple keywords are matched from the data according to a preset keyword list, and then sorted according to their order in the data to be uploaded to obtain a standard keyword sequence.
[0015] When a predefined user requests data from the blockchain system, the system obtains a sequence of keywords to be compared corresponding to the data requested by the predefined user, including:
[0016] When a preset user requests data from the blockchain system, multiple keywords are matched from the data requested by the preset user according to the preset keyword list, and sorted according to their order in the data requested by the preset user to obtain a sequence of keywords to be compared.
[0017] Furthermore, the process of uploading the data to be added to the blockchain system includes:
[0018] The data to be uploaded to the blockchain is encrypted, and then the encrypted data is uploaded to the blockchain system.
[0019] The beneficial effect of adopting the above-mentioned further solution is that by encrypting the data to be uploaded to the blockchain, the security of the data is further improved and the risk of leakage is reduced.
[0020] Furthermore, it also includes:
[0021] When a pre-defined user requests data from the blockchain system, the pre-defined user's identity information is collected.
[0022] Verify the consistency between the preset user's identity information and the identity information corresponding to the preset user's logged-in account.
[0023] The beneficial effects of adopting the above-mentioned further solutions are: through consistency verification, data security is further improved and the risk of leakage is reduced.
[0024] Furthermore, the identity information of preset users is collected, including: collecting the identity information of preset users in a random manner.
[0025] 2) Secondly, the present invention also provides a blockchain-based information leakage detection system, the specific technical solution of which is as follows:
[0026] Includes: a keyword sequence acquisition module, a comparison module, and a judgment module;
[0027] The keyword sequence acquisition module is used to obtain the standard keyword sequence corresponding to the data to be uploaded to the blockchain system when the data to be uploaded to the blockchain system.
[0028] The keyword sequence acquisition module is also used to: obtain the keyword sequence to be compared corresponding to the data requested by the preset user when the preset user requests data in the blockchain system;
[0029] The comparison module is used to: compare the standard keyword sequence with the keyword sequence to be compared, and obtain the comparison results;
[0030] The judgment module is used to determine whether the data to be uploaded to the blockchain has a risk of data leakage, based on the comparison results and the data access permissions corresponding to the pre-set user's logged-in account.
[0031] Based on the above solution, the blockchain-based information leakage detection system of the present invention can be further improved as follows.
[0032] Furthermore, it also includes a data distribution module, which is used to: when it is determined that the data to be uploaded to the blockchain has a risk of data leakage, issue a prohibition instruction to the blockchain system to prevent the blockchain system from distributing any data to the preset users; when it is determined that the data to be uploaded to the blockchain does not have a risk of data leakage, issue a permission instruction to the blockchain system to distribute the data to the preset users.
[0033] Furthermore, the keyword sequence acquisition module is specifically used for:
[0034] When uploading data to be uploaded to the blockchain system, multiple keywords are matched from the data according to a preset keyword list, and then sorted according to their order in the data to be uploaded to obtain a standard keyword sequence.
[0035] When a preset user requests data from the blockchain system, multiple keywords are matched from the data requested by the preset user according to the preset keyword list, and sorted according to their order in the data requested by the preset user to obtain a sequence of keywords to be compared.
[0036] Furthermore, it also includes a data upload module, which is used to: encrypt the data to be uploaded to the blockchain, and upload the encrypted data to the blockchain system.
[0037] Furthermore, it also includes an authentication module, which is used for:
[0038] When a pre-defined user requests data from the blockchain system, the pre-defined user's identity information is collected.
[0039] Verify the consistency between the preset user's identity information and the identity information corresponding to the preset user's logged-in account.
[0040] Furthermore, the process of the identity verification module collecting the identity information of the preset user includes: collecting the identity information of the preset user in a random manner.
[0041] 3) In a third aspect, the present invention also provides a computer device, the computer device including a processor coupled to a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor, so that the computer device implements any of the above-mentioned blockchain-based information leakage detection methods.
[0042] 4) In a fourth aspect, the present invention also provides a computer-readable storage medium storing at least one computer program, which is loaded and executed by a processor to enable the computer to implement any of the above-mentioned blockchain-based information leakage detection methods.
[0043] It should be noted that the beneficial effects of the technical solutions of the second to fourth aspects of the present invention and their corresponding possible implementations can be found in the above description of the technical effects of the first aspect and its corresponding possible implementations, and will not be repeated here. Attached Figure Description
[0044] Other features, objects, and advantages of the invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0045] Figure 1 This is a flowchart illustrating a blockchain-based information leakage detection method according to an embodiment of the present invention.
[0046] Figure 2 This is a schematic diagram of the structure of a blockchain-based information leakage detection system according to an embodiment of the present invention;
[0047] Figure 3 This is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. Detailed Implementation
[0048] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
[0049] like Figure 1As shown in the figure, an information leakage detection method based on blockchain according to an embodiment of the present invention includes the following steps:
[0050] S1. When uploading the data to be uploaded to the blockchain system, the standard keyword sequence corresponding to the data to be uploaded to the blockchain is obtained;
[0051] The data to be uploaded to the blockchain refers to data that needs to be uploaded to the blockchain system, such as financial data and technical engineering data, which can be set according to the actual situation.
[0052] S2. When a preset user requests data from the blockchain system, the sequence of keywords to be compared corresponding to the data requested by the preset user is obtained.
[0053] The term "preset user" can refer to any user or a user specified based on actual circumstances.
[0054] S3. Compare the standard keyword sequence with the keyword sequence to be compared, and obtain the comparison results;
[0055] S4. Based on the comparison results and the data access permissions corresponding to the user's logged-in account, determine whether the data to be uploaded to the blockchain has a risk of data leakage.
[0056] This invention provides a blockchain-based information leakage detection method that compares the standard keyword sequence corresponding to the data to be uploaded to the blockchain with the preset keyword sequence corresponding to the data requested by the user from the blockchain system, thereby promptly determining whether the data to be uploaded to the blockchain has a data leakage risk.
[0057] Optionally, the above technical solution also includes:
[0058] S5. When it is determined that the data to be uploaded to the blockchain has a risk of data leakage, a prohibition instruction for data transmission is issued to the blockchain system so that the blockchain system does not send any data to the preset user; when it is determined that the data to be uploaded to the blockchain does not have a risk of data leakage, a permission instruction for data transmission is issued to the blockchain system so that the blockchain system sends data to the preset user. The data sent to the preset user is the data requested by the preset user from the blockchain system.
[0059] Optionally, in S1, when uploading the data to be uploaded to the blockchain system, a standard keyword sequence corresponding to the data to be uploaded is obtained, including:
[0060] S10. When uploading the data to be uploaded to the blockchain system, according to the preset keyword list, multiple keywords are matched from the data to be uploaded to the blockchain, and the multiple keywords matched from the data to be uploaded to the blockchain are sorted according to their order in the data to be uploaded to the blockchain to obtain a standard keyword sequence.
[0061] The preset keyword list can be set according to actual conditions. For example, keywords for financial data include: "balance sheet", "cash flow statement", "annual report", etc.; keywords for project development data include: "project name", "start time", "end time", "project content", "expected goals", etc.; keywords for technical engineering data about a certain communication equipment include: "communication equipment", "base station", "flowchart", "rendering", etc.
[0062] The keywords recorded in the preset keyword table are matched from the data to be uploaded to the blockchain. These are the multiple keywords matched from the data to be uploaded to the blockchain. Then, the multiple keywords matched from the data to be uploaded to the blockchain are sorted according to their order in the data to be uploaded to the blockchain to obtain a standard keyword sequence.
[0063] Optionally, in S1, when a preset user requests data from the blockchain system, a sequence of keywords to be compared corresponding to the data requested by the preset user is obtained, including:
[0064] S11. When a preset user requests data from the blockchain system, multiple keywords are matched from the requested data according to a preset keyword table, and sorted according to their order in the requested data to obtain a sequence of keywords to be compared. Specifically, S4 is divided into the following three cases:
[0065] 1) First scenario:
[0066] The comparison results show that there is no keyword sequence in the standard keyword sequence that is exactly the same as the keyword sequence to be compared. This indicates that the preset user is not requesting the data to be uploaded to the blockchain. In this case, regardless of the data access permissions corresponding to the level of the preset user's logged-in account, it is determined that the data to be uploaded to the blockchain does not have the risk of data leakage.
[0067] 2) The second scenario:
[0068] The comparison results are as follows: If there is a keyword sequence in the standard keyword sequence that is exactly the same as the keyword sequence to be compared, then the data access permission corresponding to the login account of the preset user is obtained. If the data access permission clearly determines that the preset user can obtain the data requested by the user, then it is determined that the data to be uploaded to the chain does not have the risk of data leakage. Then, a data download instruction is sent to the blockchain system so that the blockchain system can send the data to the preset user.
[0069] 3) The third scenario:
[0070] The comparison results are as follows: In the standard keyword sequence, there is a keyword sequence that is exactly the same as the keyword sequence to be compared. At this time, the data access permission corresponding to the level of the account logged in by the preset user is obtained. If the data access permission does not explicitly determine that the user can obtain the data requested by the user, it is determined that the data to be uploaded to the chain has the risk of data leakage.
[0071] Specifically, the data requested by the user is determined based on the preset search query input by the user; the search query can be formed using "AND", "OR" and keywords in the data requested by the user.
[0072] Optionally, in S1, the process of uploading the data to be added to the blockchain system includes:
[0073] S12. Encrypt the data to be uploaded to the blockchain and then upload the encrypted data to the blockchain system. Encrypting the data to be uploaded to the blockchain further improves data security and reduces the risk of leakage.
[0074] The encryption method for encrypting the data to be uploaded to the blockchain can be set according to the actual situation. When the preset user receives the requested data, the data is decrypted by the decryption method corresponding to the encryption method used to encrypt the data to be uploaded to the blockchain.
[0075] Optionally, the above technical solution also includes:
[0076] S6. When a preset user requests data from the blockchain system, the preset user's identity information is collected. The identity information includes at least one of the following: name, facial image, ID card number, and mobile phone number. The identity information can also be expanded according to the actual situation.
[0077] S7. Perform consistency verification between the preset user's identity information and the identity information corresponding to the account the preset user logs in. Specifically, the identity information corresponding to the logged-in account refers to the identity information of each user with login privileges for that account. Through consistency verification, it is determined whether the preset user is allowed to log in to this account, preventing malicious login to other users' accounts, further improving data security, and reducing the risk of leakage. Specifically:
[0078] When it is determined that the data to be uploaded to the blockchain does not pose a risk of data leakage, and after the consistency verification is passed, a data download permission instruction is issued to the blockchain system so that the blockchain system can send data to the preset user. The data sent to the preset user is the data requested by the preset user from the blockchain system. Otherwise, a data download prohibition instruction is issued to the blockchain system so that the blockchain system does not send any data to the preset user.
[0079] Optionally, in S6, collecting the identity information of a preset user includes: collecting the identity information of a preset user in a random manner.
[0080] This invention collects the identity information of a preset user in a random manner and then performs consistency verification. Specifically, the random collection of the preset user's identity information involves randomly popping up a window for the preset user to fill in their identity information and setting a countdown timer. When the countdown reaches zero, the user's entered identity information is verified for consistency. This effectively prevents malicious login to other people's accounts, further improving data security and reducing the risk of leakage.
[0081] In the above embodiments, although the steps are numbered S1, S2, etc., they are only specific embodiments given by the present invention. Those skilled in the art can adjust the execution order of S1, S2, etc. according to the actual situation, which is also within the protection scope of the present invention. It can be understood that in some embodiments, some or all of the above embodiments may be included.
[0082] like Figure 2 As shown, an information leakage detection system 200 based on blockchain according to an embodiment of the present invention includes: a keyword sequence acquisition module 201, a comparison module 202, and a judgment module 203;
[0083] The keyword sequence acquisition module 201 is used to: obtain the standard keyword sequence corresponding to the data to be uploaded to the blockchain system when uploading the data to be uploaded to the blockchain system;
[0084] The keyword sequence acquisition module 201 is also used to: obtain the keyword sequence to be compared corresponding to the data requested by the preset user when the preset user requests data in the blockchain system;
[0085] The comparison module 202 is used to: compare the standard keyword sequence with the keyword sequence to be compared, and obtain the comparison result;
[0086] The judgment module 203 is used to: determine whether the data to be uploaded to the blockchain has the risk of data leakage based on the comparison results and the data access permissions corresponding to the pre-set user's logged-in account.
[0087] Optionally, the above technical solution also includes a data delivery module, which is used to: when it is determined that the data to be uploaded to the blockchain has a risk of data leakage, issue a prohibition instruction to the blockchain system to prevent the blockchain system from sending any data to the preset user; when it is determined that the data to be uploaded to the blockchain does not have a risk of data leakage, issue a permission instruction to the blockchain system to send data to the preset user.
[0088] Optionally, in the above technical solution, the keyword sequence acquisition module 201 is specifically used for:
[0089] When uploading data to be uploaded to the blockchain system, multiple keywords are matched from the data according to a preset keyword list, and then sorted according to their order in the data to be uploaded to obtain a standard keyword sequence.
[0090] When a preset user requests data from the blockchain system, multiple keywords are matched from the data requested by the preset user according to the preset keyword list, and sorted according to their order in the data requested by the preset user to obtain a sequence of keywords to be compared.
[0091] Optionally, the above technical solution also includes a data upload module, which is used to: encrypt the data to be uploaded to the blockchain, and upload the encrypted data to the blockchain system.
[0092] Optionally, the above technical solution also includes an authentication module, which is used for:
[0093] When a pre-defined user requests data from the blockchain system, the pre-defined user's identity information is collected.
[0094] Verify the consistency between the preset user's identity information and the identity information corresponding to the preset user's logged-in account.
[0095] Optionally, in the above technical solution, the process of the identity verification module collecting the identity information of the preset user includes: collecting the identity information of the preset user in a random manner.
[0096] It should be noted that the beneficial effects of the blockchain-based information leakage detection system 200 provided in the above embodiments are the same as those of the blockchain-based information leakage detection method described above, and will not be repeated here. Furthermore, the system provided in the above embodiments is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the system can be divided into different functional modules according to the actual situation to complete all or part of the functions described above. In addition, the system and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiments, and will not be repeated here.
[0097] like Figure 3 As shown, an embodiment of the present invention provides a computer device 300, which includes a processor 320 coupled to a memory 310. The memory 310 stores at least one computer program 330, which is loaded and executed by the processor 320 to enable the computer device 300 to implement any of the aforementioned blockchain-based information leakage detection methods. Specifically:
[0098] The computer device 300 can vary considerably due to differences in configuration or performance. It may include one or more processors 320 (Central Processing Units, CPUs) and one or more memories 310. The one or more memories 310 store at least one computer program 330, which is loaded and executed by the one or more processors 320 to enable the computer device 300 to implement any of the blockchain-based information leakage detection methods provided in the above embodiments. Of course, the computer device 300 may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The computer device 300 may also include other components for implementing device functions, which will not be elaborated upon here.
[0099] An embodiment of the present invention provides a computer-readable storage medium storing at least one computer program, which is loaded and executed by a processor to enable the computer to implement any of the above-described blockchain-based information leakage detection methods.
[0100] Alternatively, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, a floppy disk, and an optical data storage device, etc.
[0101] In an exemplary embodiment, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform any of the aforementioned blockchain-based information leakage detection methods.
[0102] It should be noted that the terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and represent a limitation on a specific order or sequence. Where appropriate, the order of use for similar objects can be interchanged so that the embodiments of this application described herein can be implemented in an order other than that shown or described.
[0103] Those skilled in the art will recognize that this invention can be implemented as a system, method, or computer program product. Therefore, this invention can be specifically implemented in the following forms: it can be entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to herein as a "circuit," "module," or "system." Furthermore, in some embodiments, this invention can also be implemented as a computer program product contained in one or more computer-readable media, which includes computer-readable program code.
[0104] Any combination of one or more computer-readable media can be used. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0105] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A blockchain-based method for detecting information leakage, characterized in that, include: When data to be uploaded to the blockchain system, a standard keyword sequence corresponding to the data to be uploaded to the blockchain is obtained; When a preset user requests data from the blockchain system, the sequence of keywords to be compared corresponding to the data requested by the preset user is obtained; The standard keyword sequence and the keyword sequence to be compared are compared to obtain the comparison result; Based on the comparison results and the data access permissions corresponding to the preset user's logged-in account, it is determined whether the data to be uploaded to the blockchain has a risk of data leakage. The comparison result is as follows: In the standard keyword sequence, there is no keyword sequence that is exactly the same as the keyword sequence to be compared. At this time, it is determined that the data to be uploaded to the chain does not have the risk of data leakage. The comparison result is as follows: If there is a keyword sequence in the standard keyword sequence that is exactly the same as the keyword sequence to be compared, then the data acquisition permission corresponding to the login account of the preset user is obtained. If the data acquisition permission determines that the preset user can obtain the requested data, then it is determined that the data to be uploaded to the chain does not have the risk of data leakage. Then, an instruction to allow data transmission is sent to the blockchain system so that the blockchain system can send the data to the preset user. The comparison result is as follows: if there is a keyword sequence in the standard keyword sequence that is exactly the same as the keyword sequence to be compared, then the data access permission corresponding to the level of the account logged in by the preset user is obtained. If the data access permission does not determine that the preset user can obtain the requested data, then the data to be uploaded to the chain is determined to have the risk of data leakage. When uploading data to be uploaded to the blockchain system, a standard keyword sequence corresponding to the data is obtained, including: When uploading data to be uploaded to the blockchain system, multiple keywords are matched from the data according to a preset keyword list, and the matched keywords are sorted according to their order in the data to be uploaded to obtain the standard keyword sequence. When a preset user requests data from the blockchain system, a sequence of keywords to be compared is obtained corresponding to the data requested by the preset user, including: When a preset user requests data from the blockchain system, multiple keywords are matched from the data requested by the preset user according to the preset keyword table, and sorted according to the order in which the data was requested by the preset user to obtain a sequence of keywords to be compared.
2. The information leakage detection method based on blockchain according to claim 1, characterized in that, The process of uploading the data to be added to the blockchain system includes: The data to be uploaded to the blockchain is encrypted, and the encrypted data is then uploaded to the blockchain system.
3. The information leakage detection method based on blockchain according to claim 1, characterized in that, Also includes: When a preset user requests data from the blockchain system, the identity information of the preset user is collected. The identity information of the preset user is verified to be consistent with the identity information corresponding to the login account of the preset user.
4. A blockchain-based information leakage detection system, characterized in that, include: Keyword sequence acquisition module, comparison module, and judgment module; The keyword sequence acquisition module is used to: obtain the standard keyword sequence corresponding to the data to be uploaded to the blockchain system when uploading the data to be uploaded to the blockchain system; The keyword sequence acquisition module is also used to: when a preset user requests data from the blockchain system, obtain the keyword sequence to be compared corresponding to the data requested by the preset user; The comparison module is used to: compare the standard keyword sequence and the keyword sequence to be compared, and obtain the comparison result; The judgment module is used to: determine whether the data to be uploaded to the blockchain has a risk of data leakage based on the comparison result and the data access permissions corresponding to the preset user's logged-in account; The comparison result is as follows: In the standard keyword sequence, there is no keyword sequence that is exactly the same as the keyword sequence to be compared. At this time, it is determined that the data to be uploaded to the chain does not have the risk of data leakage. The comparison result is as follows: If there is a keyword sequence in the standard keyword sequence that is exactly the same as the keyword sequence to be compared, then the data acquisition permission corresponding to the login account of the preset user is obtained. If the data acquisition permission determines that the preset user can obtain the requested data, then it is determined that the data to be uploaded to the chain does not have the risk of data leakage. Then, an instruction to allow data transmission is sent to the blockchain system so that the blockchain system can send the data to the preset user. The comparison result is as follows: if there is a keyword sequence in the standard keyword sequence that is exactly the same as the keyword sequence to be compared, then the data access permission corresponding to the level of the account logged in by the preset user is obtained. If the data access permission does not determine that the preset user can obtain the requested data, then the data to be uploaded to the chain is determined to have the risk of data leakage. The keyword sequence acquisition module is specifically used for: When uploading data to be uploaded to the blockchain system, multiple keywords are matched from the data according to a preset keyword list, and the matched keywords are sorted according to their order in the data to be uploaded to obtain the standard keyword sequence. When a preset user requests data from the blockchain system, multiple keywords are matched from the data requested by the preset user according to the preset keyword table, and sorted according to the order in which the data was requested by the preset user to obtain a sequence of keywords to be compared.
5. The information leakage detection system based on blockchain according to claim 4, characterized in that, It also includes a data upload module, which is used to: encrypt the data to be uploaded to the blockchain, and upload the encrypted data to the blockchain system.
6. The information leakage detection system based on blockchain according to claim 4, characterized in that, It also includes an authentication module, which is used for: When a preset user requests data from the blockchain system, the identity information of the preset user is collected. The identity information of the preset user is verified to be consistent with the identity information corresponding to the login account of the preset user.
7. A computer device, characterized in that, The computer device includes a processor coupled to a memory storing at least one computer program, which is loaded and executed by the processor to enable the computer device to implement a blockchain-based information leakage detection method as described in any one of claims 1 to 3.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer program, which is loaded and executed by a processor to enable the computer to implement a blockchain-based information leakage detection method as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Block chain-based trusted data safe storage method, retrieval method and equipment
CN113742764A
Block chain data retrieval method and device, electronic equipment and storage medium
CN114661788A