A blockchain security information management system and method

Through terminal devices, the blockchain data is classified and word-partitioned, and the security of text information is verified by classifiers, which solves the problem of incomplete security checks in the existing technology, and realizes the security of blockchain data. Sex verification and improvement, especially the efficiency of security audits for text information types.

CN117272361BActive Publication Date: 2024-12-17GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310174947.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-12-17
Estimated Expiration
2043-02-28

AI Technical Summary

Technical Problem

The existing technology has incomplete security checks on text information in blockchain, which affects the security of blockchain data, especially because the manual review speed is slow and large amounts of text information cannot be effectively processed.

Method used

The terminal device receives the data to be linked for classification and identification, determines its type, and performs word segmentation processing and security verification operations on the text information data, and compares the data with the classifier and non-safe keyword group to determine the data security. If the threshold is met, the link will be carried out, otherwise it will be rejected or improved.

Benefits of technology

The security verification and improvement of blockchain text information has been achieved, especially through automated processing, the security review efficiency of text information has been improved and the overall security of blockchain has been improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117272361B_ABST
    Figure CN117272361B_ABST
Patent Text Reader

Abstract

The present application provides a blockchain security information management system and method, the method comprising: a terminal device receives data to be uploaded to the blockchain, classifies and identifies the data to determine the type of the data; when the terminal device determines that the type of the data belongs to text information, performs an on-chain security verification operation on the text information data to determine the security of the text information data; when the terminal device determines that the text information data belongs to security information, performs an on-chain blockchain operation on the text information data. The technical solution provided by the present application has the advantage of high security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of communications and electronic technology, and specifically to a blockchain security information management system and method. Background Art

[0002] Blockchain is a chain of blocks. Each block stores certain information, and they are connected into a chain in the order of their generation. This chain is stored in all servers. The data of blockchain needs to be put online. With the rise of text information, more and more authors publish novels through the Internet. As the amount of data increases, some text information is also stored on the blockchain. However, security checks are required for text information. At present, the security checks for text information are not perfect, which affects the security of blockchain data. Summary of the invention

[0003] The embodiments of the present application provide a blockchain security information management system and method, which can perform security checks on text information of the blockchain and improve the security of data.

[0004] In a first aspect, an embodiment of the present application provides a blockchain security information management method, the method comprising the steps of:

[0005] The terminal device receives the data to be uploaded to the chain, classifies and identifies the data to determine the type of the data;

[0006] When the terminal device determines that the type of the data is text information, it performs an on-chain security verification operation on the text information data to determine the security of the text information data;

[0007] The performing of an on-chain security verification operation on the text information data to determine the security of the text information data specifically includes:

[0008] Perform word segmentation on the text information data to obtain n keywords, input the n keywords into a classifier to determine n categories corresponding to the n keywords, classify the same categories in the n categories into one category to obtain m categories, determine m non-safe keyword groups corresponding to the m categories from a mapping relationship between categories and non-safe keyword groups, compare the n keywords with the non-safe keywords in the m non-safe keyword groups to determine the number x of the non-safe keywords in the n keywords, and if the number x is greater than a first threshold, determine that the text information data does not belong to safe information, and if the number x is less than the first threshold, determine that the text information data does not belong to safe information;

[0009] When the terminal device determines that the text information data belongs to security information, it performs a blockchain operation on the text information data.

[0010] In a second aspect, a blockchain security information management system is provided, the system being applied to a terminal device, the system comprising:

[0011] A communication unit, used for receiving data to be uploaded;

[0012] A classification unit, used to classify and identify the data to determine the type of the data;

[0013] A verification unit, configured to, when the classification unit determines that the type of the data belongs to text information, perform an on-chain security verification operation on the text information data to determine the security of the text information data;

[0014] The performing of an on-chain security verification operation on the text information data to determine the security of the text information data specifically includes:

[0015] Perform word segmentation on the text information data to obtain n keywords, input the n keywords into a classifier to determine n categories corresponding to the n keywords, classify the same categories in the n categories into one category to obtain m categories, determine m non-safe keyword groups corresponding to the m categories from a mapping relationship between categories and non-safe keyword groups, compare the n keywords with the non-safe keywords in the m non-safe keyword groups to determine the number x of the non-safe keywords in the n keywords, and if the number x is greater than a first threshold, determine that the text information data does not belong to safe information, and if the number x is less than the first threshold, determine that the text information data does not belong to safe information;

[0016] The on-chain unit is used to perform a blockchain operation on the text information data when the verification unit determines that the text information data belongs to security information.

[0017] According to a third aspect, a computer-readable storage medium is provided, which stores a program for electronic data exchange, wherein the program enables a terminal to execute the method provided in the first aspect.

[0018] Implementing the embodiments of the present application has the following beneficial effects:

[0019] The technical solution provided by the present application is that the terminal device receives the data to be uploaded to the blockchain, classifies and identifies the data to determine the type of the data; when the terminal device determines that the type of the data belongs to text information, it performs an on-chain security verification operation on the text information data to determine the security of the text information data; when the terminal device determines that the text information data belongs to security information, it performs an on-chain blockchain operation on the text information data. In this way, the security of the blockchain can be verified and improved, especially for the security of text information types. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0021] Figure 1 It is a schematic diagram of the structure of a blockchain provided in an embodiment of the present application.

[0022] Figure 2 It is a flowchart of a blockchain security information management method provided in an embodiment of the present application.

[0023] Figure 3 A schematic diagram of the steps of an improved process provided for this application. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0025] The terms "first", "second", "third" and "fourth" etc. in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0026] Reference to "embodiments" herein means that a particular feature, result, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0027] See also Figure 1 , Figure 1 A schematic diagram of the structure of a blockchain is provided, such as Figure 1As shown, the blockchain may include multiple terminal devices, and the terminal may be one or any combination of the following: a server, a tablet computer (ipad), a smart phone, a personal computer, etc. Schematically, the above multiple terminals may be connected wirelessly.

[0028] For example, the server can be connected to a tablet computer or a smart phone via WIFI. Of course, in practical applications, other communication methods can also be used for connection, for example, it can be connected via a wireless access network device, such as LTE, NR, etc. For example, the wireless access network device includes, but is not limited to: the next generation base station (generation node B, gNB), evolved node B (evolved node B, eNB), radio network controller (radio network controller, RNC), node B (node ​​B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved node B, or home node B, HNB), baseband unit (baseband unit, BBU), transmitting and receiving point (transmitting and receiving point, TRP), transmitting point (transmitting point, TP), mobile switching center, etc. in the fifth generation mobile communication system (5th-generation, 5G).

[0029] For example, the above-mentioned multiple servers can also be connected through a wired manner, and of course they can also be connected through other means. This application does not limit the specific method of the above-mentioned connection.

[0030] Text information involves a wide range of fields, so the management of the security of text information is very important. The existing audit is based on manual audit. For text information, due to its large amount, the speed of manual audit is too slow, which affects the progress of the audit. Therefore, an intelligent security information processing method is needed to improve the text information stored on the blockchain, thereby improving the security of the blockchain.

[0031] See also Figure 2 , Figure 2 A blockchain security information management method is provided. Figure 1 The method is executed under the blockchain architecture shown in Figure 2 As shown, the following steps are included:

[0032] Step S201: The terminal device receives the data to be uploaded to the chain, and classifies and identifies the data to determine the type of the data;

[0033] By way of example, the above types may include: text information or non-text information.

[0034] For example, the above classification and identification method can adopt a general classification and identification method, such as a support vector machine, a neural network model, etc. Of course, other classification and identification methods can also be adopted, and the present application does not limit the specific method of the above classification and identification.

[0035] Step S202: When the terminal device determines that the data type is text information, it performs an on-chain security verification operation on the text information data to determine the security of the text information data;

[0036] For example, the above-mentioned performing the on-chain security verification operation on the text information data to determine the security of the text information data may specifically include:

[0037] Perform word segmentation processing on the text information data to obtain n keywords, input the n keywords into a classifier respectively to determine n categories corresponding to the n keywords, classify the same categories among the n categories into one category to obtain m categories, determine m non-safe keyword groups corresponding to the m categories from a mapping relationship between categories and non-safe keyword groups, compare the n keywords with the non-safe keywords in the m non-safe keyword groups to determine the number x of the non-safe keywords in the n keywords, if the number x is greater than a first threshold, determine that the text information data does not belong to safe information, if the number x is less than the first threshold, determine that the text information data does not belong to safe information.

[0038] For example, the above categories include but are not limited to: major categories and minor categories. The above major categories and minor categories can be set by different manufacturers and will not be described in detail here.

[0039] For example, the first threshold may be a value set by a user, such as 0, 1, 2, 3, 4, etc.

[0040] Step S203: When the terminal device determines that the text information data is security information, the text information data is processed on the blockchain.

[0041] The above-mentioned blockchain operation can adopt the existing blockchain operation, which will not be repeated here.

[0042] The technical solution provided by the present application is that the terminal device receives the data to be uploaded to the blockchain, classifies and identifies the data to determine the type of the data; when the terminal device determines that the type of the data belongs to text information, it performs an on-chain security verification operation on the text information data to determine the security of the text information data; when the terminal device determines that the text information data belongs to security information, it performs an on-chain blockchain operation on the text information data. In this way, the security of the blockchain can be verified and improved, especially for the security of text information types.

[0043] For example, if the number x is less than the first threshold but greater than 1, an improvement operation is performed on the x keywords to obtain x improved words for the x keywords, x mapping relationships between the x keywords and the x improved words are constructed, and the x mapping relationships are recommended to the user who uploaded the text information data.

[0044] For example, the x improved words of the x keywords obtained by performing the improvement operation on the x keywords may specifically include:

[0045] Obtain at least one category corresponding to x keywords, extract y safety words corresponding to the at least one category, extract at least one sentence containing the x keywords from the text information data, perform grammatical analysis on the x keywords in the at least one sentence to obtain x parts of speech corresponding to the x keywords, extract a first keyword corresponding to a first part of speech among the x parts of speech, query y1 keywords with the same part of speech as the first part of speech from the y safety words, calculate the similarity between the first keyword and the y1 keywords respectively to obtain y1 similarities, extract a keyword with the highest similarity from the y1 similarities and determine it as the improved word corresponding to the first keyword, and traverse the x parts of speech to obtain x improved words for the x keywords.

[0046] The above-mentioned similarity determination method can be obtained by adopting the existing similarity calculation method of two words, which will not be described in detail here.

[0047] The above examples of non-safe words will not be given here. For safe words, taking the urban officialdom - place names as an example, there are Jinling, Modou, Didu, Jiangdu, Jiangcheng, Pengcheng, Yangcheng, etc.

[0048] The above technical solution can provide replacement suggestions for non-safe words, such as verbs, nouns, adverbs, adjectives, etc.

[0049] For example, the above step of performing the improvement operation on x keywords to obtain x improved words of x keywords is as follows: Figure 3 As shown, Figure 3 A schematic diagram of the steps to improve the process, which may include:

[0050] Step S301, extracting at least one category corresponding to x keywords;

[0051] Step S302, screening multiple standards under at least one category to obtain a screened standard containing x keywords;

[0052] The above-mentioned multiple standards can be multiple security standards selected by users. Each security standard contains multiple non-safety keywords and replacement words for non-safety keywords (i.e., safety keywords). The above-mentioned multiple standards can be added by users or manufacturers. This application does not limit the number and expression form of the keywords contained in the above-mentioned multiple standards.

[0053] Step S303: Select x words similar to the x keywords from the safety words in the screening criteria as the x improved words.

[0054] For example, the screening of multiple criteria under at least one category may specifically include:

[0055] Extract the first standard from multiple standards, and query whether multiple keywords under the first standard all contain x keywords. If all contain x keywords, determine the first standard as the filtered standard. If not all contain x keywords, filter the standards after the first standard from the multiple standards to obtain the filtered standard.

[0056] For example, selecting x words similar to x keywords from the safe words in the screened standards as the x improved words may specifically include:

[0057] Extract the first keyword corresponding to the first part of speech from the x parts of speech, obtain multiple keywords in a screened standard, query y2 keywords with the same part of speech as the first part of speech from the multiple keywords, calculate the similarity between the first keyword and the y2 keywords respectively to obtain y2 similarities, extract the keyword with the highest similarity from the y2 similarities and determine it as the improved word corresponding to the first keyword, traverse the x parts of speech to obtain x improved words for the x keywords.

[0058] The present application provides a schematic diagram of a blockchain security information management system, which is applied to a terminal device and includes:

[0059] A communication unit, used for receiving data to be uploaded;

[0060] A classification unit, used to classify and identify the data to determine the type of the data;

[0061] A verification unit, configured to, when the classification unit determines that the type of the data belongs to text information, perform an on-chain security verification operation on the text information data to determine the security of the text information data;

[0062] The performing of an on-chain security verification operation on the text information data to determine the security of the text information data specifically includes:

[0063] Perform word segmentation on the text information data to obtain n keywords, input the n keywords into a classifier to determine n categories corresponding to the n keywords, classify the same categories in the n categories into one category to obtain m categories, determine m non-safe keyword groups corresponding to the m categories from a mapping relationship between categories and non-safe keyword groups, compare the n keywords with the non-safe keywords in the m non-safe keyword groups to determine the number x of the non-safe keywords in the n keywords, and if the number x is greater than a first threshold, determine that the text information data does not belong to safe information, and if the number x is less than the first threshold, determine that the text information data does not belong to safe information;

[0064] The on-chain unit is used to perform a blockchain operation on the text information data when the verification unit determines that the text information data belongs to security information.

[0065] The technical solution provided by the present application receives the data to be uploaded to the blockchain, classifies and identifies the data to determine the type of the data; when the terminal device determines that the type of the data belongs to text information, it performs an on-chain security verification operation on the text information data to determine the security of the text information data; when the terminal device determines that the text information data belongs to security information, it performs an on-chain operation on the text information data. In this way, the security of the blockchain can be verified and improved, especially for the security of text information types.

[0066] Illustratively, if the quantity x is less than the first threshold but greater than 1, the system further comprises: an improvement unit;

[0067] The improvement unit is used to perform improvement operations on x keywords to obtain x improved words of the x keywords, construct x mapping relationships between the x keywords and the x improved words, and recommend the x mapping relationships to the user who uploaded the text information data.

[0068] For example, the improvement unit is specifically used to obtain at least one category corresponding to x keywords, extract y safety words corresponding to the at least one category, extract at least one sentence containing x keywords in the text information data, perform grammatical analysis on the x keywords in the at least one sentence to obtain x parts of speech corresponding to the x keywords, extract the first keyword corresponding to the first part of speech among the x parts of speech, query y1 keywords with the same part of speech as the first part of speech from the y safety words, calculate the similarity between the first keyword and the y1 keywords respectively to obtain y1 similarities, extract the keyword with the highest similarity from the y1 similarities as the improved word corresponding to the first keyword, and traverse the x parts of speech to obtain x improved words for the x keywords.

[0069] For example, the improvement unit is specifically used to extract at least one category corresponding to x keywords; filter multiple standards under at least one category to obtain filtered standards containing x keywords; and select x words similar to the x keywords from the safe words in the filtering standards as the x improved words.

[0070] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods recorded in the above method embodiments.

[0071] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any one of the methods recorded in the above method embodiments.

[0072] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0073] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0074] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A blockchain security information management method, characterized in that: The method comprises the steps of: The terminal device receives the data to be uploaded to the chain, classifies and identifies the data to determine the type of the data; When the terminal device determines that the type of the data is text information, it performs an on-chain security verification operation on the text information data to determine the security of the text information data; The performing of an on-chain security verification operation on the text information data to determine the security of the text information data specifically includes: Perform word segmentation on the text information data to obtain n keywords, input the n keywords into a classifier to determine n categories corresponding to the n keywords, classify the same categories in the n categories into one category to obtain m categories, determine m non-safe keyword groups corresponding to the m categories from a mapping relationship between categories and non-safe keyword groups, compare the n keywords with the non-safe keywords in the m non-safe keyword groups to determine the number x of the non-safe keywords in the n keywords, and if the number x is greater than a first threshold, determine that the text information data does not belong to safe information, and if the number x is less than the first threshold, determine that the text information data does not belong to safe information; When the terminal device determines that the text information data is security information, it performs blockchain operations on the text information data; specifically, it includes: If the number x is less than the first threshold but greater than 1, performing an improvement operation on the x keywords to obtain x improved words of the x keywords, constructing x mapping relationships between the x keywords and the x improved words, and recommending the x mapping relationships to the user who uploaded the text information data; The x improved words obtained by performing the improvement operation on the x keywords specifically include: Obtain at least one category corresponding to x keywords, extract y safety words corresponding to the at least one category, extract at least one sentence containing the x keywords from the text information data, perform grammatical analysis on the x keywords in the at least one sentence to obtain x parts of speech corresponding to the x keywords, extract a first keyword corresponding to a first part of speech among the x parts of speech, query y1 keywords with the same part of speech as the first part of speech from the y safety words, calculate the similarity between the first keyword and the y1 keywords respectively to obtain y1 similarities, extract a keyword with the highest similarity from the y1 similarities and determine it as the improved word corresponding to the first keyword, and traverse the x parts of speech to obtain x improved words for the x keywords.

2. The blockchain security information management method according to claim 1 is characterized in that: The x improved words obtained by performing the improvement operation on the x keywords specifically include: Extract at least one category corresponding to x keywords; Filter multiple criteria under at least one category to obtain filtered criteria containing x keywords; Select x words similar to x keywords from the safe words in the screening criteria as the x improved words.

3. A blockchain security information management system, characterized in that: The system is applied to a terminal device, and the system includes: A communication unit, used for receiving data to be uploaded; A classification unit, used to classify and identify the data to determine the type of the data; A verification unit, configured to, when the classification unit determines that the type of the data belongs to text information, perform an on-chain security verification operation on the text information data to determine the security of the text information data; The performing of an on-chain security verification operation on the text information data to determine the security of the text information data specifically includes: Perform word segmentation on the text information data to obtain n keywords, input the n keywords into a classifier to determine n categories corresponding to the n keywords, classify the same categories in the n categories into one category to obtain m categories, determine m non-safe keyword groups corresponding to the m categories from a mapping relationship between categories and non-safe keyword groups, compare the n keywords with the non-safe keywords in the m non-safe keyword groups to determine the number x of the non-safe keywords in the n keywords, and if the number x is greater than a first threshold, determine that the text information data does not belong to safe information, and if the number x is less than the first threshold, determine that the text information data does not belong to safe information; The on-chain unit is used for performing an on-chain operation on the text information data when the verification unit determines that the text information data belongs to security information; specifically comprising: If the number x is less than the first threshold but greater than 1, the system further includes: an improvement unit, the improvement unit being configured to perform an improvement operation on the x keywords to obtain x improved words of the x keywords, construct x mapping relationships between the x keywords and the x improved words, and recommend the x mapping relationships to the user who uploaded the text information data; The x improved words obtained by performing the improvement operation on the x keywords specifically include: The improvement unit is specifically used to obtain at least one category corresponding to x keywords, extract y safety words corresponding to the at least one category, extract at least one sentence containing x keywords in the text information data, perform grammatical analysis on the x keywords in the at least one sentence to obtain x parts of speech corresponding to the x keywords, extract a first keyword corresponding to a first part of speech among the x parts of speech, query y1 keywords with the same part of speech as the first part of speech from the y safety words, calculate the similarity between the first keyword and the y1 keywords respectively to obtain y1 similarities, extract a keyword with the highest similarity from the y1 similarities to determine it as the improved word corresponding to the first keyword, and traverse the x parts of speech to obtain x improved words for the x keywords.

4. The blockchain security information management method according to claim 3 is characterized in that: The improvement unit is specifically used to extract at least one category corresponding to the x keywords; filter multiple standards under the at least one category to obtain a filtered standard containing the x keywords; Select x words similar to x keywords from the safe words in the screening criteria as the x improved words.

5. A computer-readable storage medium storing a program for electronic data exchange, wherein: The program enables the terminal to execute the method according to any one of claims 1-2.

Citation Information

Cited By

  • Customer information intelligent security management system and method based on blockchain

    CN120434038B