Blockchain information monitoring method, device and electronic device
By extracting and identifying the bad information in the blockchain, the problem of non -modified bad information on the blockchain has been solved, the security monitoring and analysis of the blockchain is realized, and the normal use efficiency and security of the blockchain are improved.
Patent Information
- Application Number
- CN202011642890.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-31
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2040-12-31
AI Technical Summary
In blockchain technology, bad information on the chain cannot be modified once it is put on the chain, resulting in negative impacts on the normal use of the blockchain and even security risks. An effective information monitoring method is needed.
By obtaining the data of the blockchain to be monitored, determine the required configuration file and resource files, and extract text data to be monitored from the blockchain data based on these files, call the text recognition model to identify these data, and realize the blockchain Monitoring and analysis of bad information.
Effectively monitor and analyze the bad information on the blockchain, avoid its negative effects on the normal use of the blockchain, and improve the security and reliability of the blockchain.
Smart Images

Figure CN112801782B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a blockchain information monitoring method, device and electronic equipment. Background Art
[0002] Blockchain technology is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain has the characteristics of decentralization, good traceability, and difficulty in tampering. These characteristics ensure the "honesty" and "transparency" of blockchain, can effectively solve the problem of information asymmetry, and realize collaborative trust and concerted action among multiple subjects. In fact, blockchain can be used in many scenarios, including finance, logistics, education, public services, digital copyright, medical health, food safety, social welfare and other fields, and has broad application prospects in the future.
[0003] In various application scenarios of blockchain, blocks can store not only structured data that is easy for machines to process, but also unstructured text content. Due to the anonymity and immutability of information in blockchain, some lawless elements have begun to use blockchain to publish and spread bad information. Once bad information is uploaded to the chain, it cannot be modified, which has a negative impact on the normal use of blockchain and even creates security risks. Therefore, it is urgent to propose a blockchain information monitoring method to monitor and analyze the information on the chain. Summary of the invention
[0004] Therefore, the present invention provides a blockchain information monitoring method, device and electronic device to monitor and analyze the information on the chain.
[0005] According to a first aspect, an embodiment of the present invention discloses a blockchain information monitoring method, comprising: when blockchain data to be monitored is obtained, determining a configuration file and a resource file required to extract the blockchain data to be monitored, wherein the configuration file includes a text expression template corresponding to the blockchain data to be monitored, and the resource file includes an algorithm and / or model required to extract the blockchain data; according to the resource file and the configuration file, extracting the text data to be monitored from the blockchain data to be monitored; calling a text recognition model; and identifying the text data to be monitored according to the text recognition model.
[0006] Optionally, when the blockchain data to be monitored is obtained and before determining the configuration files and resource files required to extract the blockchain data to be monitored, the method further includes: pre-acquiring and storing a plurality of configuration files and resource files required to extract the blockchain data.
[0007] Optionally, after identifying the text data to be monitored according to the text recognition model, the method further includes: when the identification result of the text data to be monitored is negative information, recording information of the blockchain to which the negative information belongs, the information of the blockchain including: any multiple of the blockchain type, the block height where the negative information is located, the entry to which the negative information belongs, and the entry creation time.
[0008] Optionally, the method further includes: when the identification result of the text data to be monitored is bad information, marking the bad information; when a data browsing request is received, filtering the bad information according to the marking result and then feeding back the data corresponding to the data browsing request to the user.
[0009] Optionally, the method further includes: tracing the negative information according to the blockchain information to which the negative information belongs; and generating a negative information tracing report based on the tracing results.
[0010] According to the second aspect, an embodiment of the present invention further discloses a blockchain information monitoring device, including: a determination module, used to determine the configuration file and resource file required to extract the blockchain data to be monitored when the blockchain data to be monitored is obtained, wherein the configuration file includes a text expression template corresponding to the blockchain data to be monitored, and the resource file includes an algorithm and / or model required to extract the blockchain data; an extraction module, used to extract the text data to be monitored from the blockchain data to be monitored according to the resource file and the configuration file; a calling module, used to call a text recognition model; and an identification module, used to identify the text data to be monitored according to the text recognition model.
[0011] Optionally, the device also includes: a storage module, used to pre-acquire and store various configuration files and resource files required for extracting blockchain data.
[0012] Optionally, the device also includes: a recording module, which is used to record the information of the blockchain to which the negative information belongs when the identification result of the text data to be monitored is negative information, and the information of the blockchain includes: any multiple of the blockchain type, the block height where the negative information is located, the entry to which the negative information belongs, and the entry creation time.
[0013] According to the third aspect, an embodiment of the present invention also discloses an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor performs the steps of the blockchain information monitoring method as described in the first aspect or any optional embodiment of the first aspect.
[0014] According to the fourth aspect, an embodiment of the present invention further discloses a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the blockchain information monitoring method as described in the first aspect or any optional embodiment of the first aspect are implemented.
[0015] The technical solution of the present invention has the following advantages:
[0016] The blockchain information monitoring method / device provided by the present invention, when obtaining the blockchain data to be monitored, determines the configuration file and resource file required for extracting the blockchain data to be monitored according to the data type stored in the blockchain to be monitored, extracts the text data to be monitored from the blockchain data to be monitored according to the resource file and the configuration file, calls the text recognition model, identifies the text data to be monitored according to the text recognition model, and realizes the monitoring and subsequent analysis of the bad information of the blockchain based on the identification of the text data to be monitored, so as to avoid the bad information on the chain from having a negative impact on the normal use of the blockchain. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 This is a flowchart of a specific example of the blockchain information monitoring method in an embodiment of the present invention;
[0019] Figure 2 This is a principle block diagram of a specific example of a blockchain information monitoring device in an embodiment of the present invention;
[0020] Figure 3 FIG. 4 is a specific example diagram of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION
[0021] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0022] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0023] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can also be the internal connection of two components, it can be a wireless connection, or it can be a wired connection. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0024] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0025] The embodiment of the present invention discloses a blockchain information monitoring method, which is used for an electronic device for blockchain information monitoring, such as Figure 1 As shown, the method comprises the following steps:
[0026] Step 101: When the blockchain data to be monitored is obtained, the configuration file and resource file required to extract the blockchain data to be monitored are determined, wherein the configuration file includes a text expression template corresponding to the blockchain data to be monitored, and the resource file includes an algorithm and / or model required to extract the blockchain data.
[0027] Exemplarily, the acquisition method of the blockchain data to be monitored can be that the electronic device used for blockchain information monitoring communicates with the public interface of any node in the blockchain network to be monitored, accesses and downloads each block of block information, and then obtains the blockchain data to be monitored. For the acquired blockchain data to be monitored, the method for determining the configuration file and resource file required to extract the blockchain data to be monitored can be to know the data type stored in the blockchain to be monitored in advance, and determine the corresponding configuration file and resource file according to the data type to achieve the subsequent accurate identification of the blockchain data to be monitored; the method for determining the configuration file and resource file required to extract the blockchain data to be monitored can also be determined according to the user's identification needs. For example, the blockchain data to be monitored contains smart contracts and transaction content. When the user only needs to monitor the transaction content in the blockchain data to be monitored, the monitoring requirements can be uploaded through the interactive module on the electronic device. The electronic device used for blockchain information monitoring can determine the required configuration file and resource file according to the received user requirements. The embodiment of the present application does not limit the method for determining the configuration file and resource file, and those skilled in the art can determine it according to actual needs.
[0028] The configuration file includes the text expression template corresponding to the blockchain data to be monitored, such as the unique expression mode of each type of bad information, such as regular expressions, typical example sentence patterns, etc.; the resource file includes the algorithm and / or model required to extract blockchain data. Due to the diversity of data types stored in the blockchain, such as the stored data types generally include token names, memo information, smart contracts, etc., each type of data has its own inherent representation form, and different algorithms and / or models are needed to achieve accurate extraction of different types of data. For example, for the representation form of smart contracts is code, the corresponding extraction algorithm needs to be able to accurately extract the code; for the possible representation form of memo information can be text, then the corresponding extraction algorithm needs to be able to accurately extract the text. In order to achieve accurate extraction of data with different representation forms, a machine learning model that can accurately segment data characters can be obtained in advance, and the corresponding machine learning model is called according to the type of blockchain data to be extracted for data segmentation and extraction.
[0029] Furthermore, for different types of blockchain data obtained, multiple different types of blockchain data may be combined into a string of data. In addition to data extraction, the corresponding algorithm for extracting blockchain data can also accurately identify the data type in a string of data, such as the remark information is in the form of text representation and the smart contract is in the form of code representation. When the remark information and the smart contract appear in a string of data at the same time, the corresponding algorithm is called to identify the data type. When it is identified as a "text" representation, the machine learning model for extracting text is used to extract the data. When it is identified as a "code" representation, the machine learning model for extracting code is used to perform data extraction operations. The embodiments of the present application do not limit the specific extraction algorithm, and those skilled in the art can determine it according to actual needs.
[0030] Step 102: extract the text data to be monitored from the blockchain data to be monitored according to the resource file and the configuration file.
[0031] Exemplarily, when a resource file and a configuration file for extracting the blockchain data to be monitored are obtained, the method for extracting the text data to be monitored can be to use the resource file to identify the data type, and call the corresponding type of data extraction machine learning model to extract data according to the identification result. The specific extraction method can be performed according to the expression mode such as the bad information regular expression and the typical example sentence mode in the configuration file to extract the text data to be monitored in the blockchain data to be monitored, and the obtained text data to be monitored represents data that may be bad information. In the embodiment of the present application, the specific type of the bad information is not limited, and the bad information can be defined according to actual needs, and then the bad information is identified in the blockchain data to be monitored. When the bad information type is a new type, its corresponding configuration file and resource file can be dynamically loaded or replaced, as long as it can be called by the electronic device used for blockchain information monitoring.
[0032] Step 103, calling a text recognition model;
[0033] Exemplarily, when the text data to be monitored is obtained, a text recognition model is called to determine whether the extracted text data to be monitored is bad information data. The text recognition model can be a machine learning model or a deep learning model, or it can be a keyword matching or regular expression matching model. The text recognition model can be a pre-trained recognition model that can be used to identify type text, or it can be a text recognition model corresponding to the type of text data to be monitored that is loaded and replaced according to the type of text data to be monitored, and targeted text recognition is performed by calling the corresponding text recognition model. The embodiment of the present application does not limit the text recognition model, and those skilled in the art can determine it according to actual needs, as long as bad information recognition can be achieved.
[0034] Step 104: Identify the text data to be monitored according to the text recognition model. Identify the text data to be monitored according to the text recognition model to determine whether the text data to be monitored is bad information, so as to monitor and subsequently analyze the bad information on the blockchain, and avoid the negative impact of the bad information on the blockchain on the normal use of the blockchain.
[0035] As an optional implementation of the present invention, before step 101, the method further includes: pre-acquiring and storing a variety of configuration files and resource files required for extracting blockchain data.
[0036] Exemplarily, in order to improve the recognition efficiency of the acquired blockchain data to be monitored, the data types contained in all types of blockchains can be predetermined, and the configuration files and resource files corresponding to each data type can be preset and stored. When the blockchain data to be monitored is acquired, the corresponding configuration files and resource files can be called from the database storing the configuration files and resource files according to the recognition requirements.
[0037] As an optional implementation of the present invention, after step 104, the method further includes: when the identification result of the text data to be monitored is negative information, recording the information of the blockchain to which the negative information belongs, the information of the blockchain including: any multiple of the blockchain type, the block height where the negative information is located, the entry to which the negative information belongs, and the entry creation time.
[0038] Exemplarily, when the identification result of the text data to be monitored is negative information, the information of the blockchain to which the negative information belongs is recorded, so as to facilitate the subsequent regular monitoring of the blockchain to which the negative information belongs and the monitoring of the flow of the negative information. The information of the blockchain to which the recorded negative information belongs may include any of: the type of blockchain, the block height where the negative information is located, the entry to which the negative information belongs, and the time when the entry was created. The embodiment of the present application does not limit the type of information of the blockchain to which the recorded negative information belongs, and those skilled in the art can determine it according to actual needs.
[0039] The method of determining the information of the block to which the bad information belongs is as follows: each block of the blockchain contains many information units, each of which carries an identifier and timestamp information to distinguish other units. After obtaining a block of information in the blockchain, it is parsed from the outside to the inside according to the block structure, first reading and parsing the block information, and then parsing the small units inside the block. If the internal information unit has a deeper level, continue to go deeper until the entire block information is scanned. When bad information is found, the position of the information on the entire blockchain can be accurately located based on the scanned structural information, that is, for any bad information, all the data of the blockchain where the bad information is located can be obtained through the entire scanning process, and the information of the blockchain to which the bad information belongs can be selectively recorded according to the use needs.
[0040] As an optional embodiment of the present invention, the method further comprises:
[0041] When the recognition result of the text data to be monitored is bad information, the bad information is marked.
[0042] For example, when the identification result of the monitored text data is negative information, the negative information is marked to facilitate subsequent tracking and monitoring of the negative information. The specific marking method can be to store in the system the blockchain to which the negative information belongs, the height of the negative information in the blockchain to which it belongs, the entry to which the negative information belongs, and other information. As long as the stored information can accurately locate the negative information, the negative information mark is added to the stored information.
[0043] When a data browsing request is received, the bad information is filtered according to the marking result and then the data corresponding to the data browsing request is fed back to the user.
[0044] Exemplarily, when a user's browsing request for data stored on the blockchain is received, data is obtained from the corresponding blockchain and parsed. When the data contained in the parsing result is the same as the data in the marking result, it indicates that the data fed back to the user contains bad information. The bad information is filtered out from the data fed back to the user, and then the data is fed back to the user, so as to achieve selective feedback of the data stored in the blockchain and achieve the purpose of shielding bad information in the blockchain.
[0045] As an optional implementation of the present invention, the method also includes: tracing the bad information according to the blockchain information to which the bad information belongs; and generating a bad information tracing report based on the tracing results.
[0046] Exemplarily, once bad information is identified, the system will record the data of the bad information, such as the entry to which the bad information belongs, the time when the entry was created, etc. The entry to which the bad information belongs refers to a more fine-grained information unit within the block information, which may include information such as the transaction address of the bad information. The entry creation time refers to the timestamp generated when the information unit is created. The source of the bad information can be traced in combination with the timestamp and the transaction address. For bad information that has been successfully traced, a readable bad information traceability report can be generated; and by obtaining the "entry to which the bad information belongs" and the "entry creation time", the position of the bad information on the blockchain can be determined, and the context of the bad information can be restored. By analyzing the context of the on-chain information, the bad information can be better identified, and the accuracy and comprehensiveness of the bad information identification results on the blockchain can be improved.
[0047] The embodiment of the present invention also discloses a blockchain information monitoring device, such as Figure 2 As shown, the device comprises:
[0048] A determination module 201 is used to determine, when the blockchain data to be monitored is obtained, a configuration file and a resource file required to extract the blockchain data to be monitored, wherein the configuration file includes a text expression template corresponding to the blockchain data to be monitored, and the resource file includes an algorithm and / or model required to extract the blockchain data;
[0049] An extraction module 202, configured to extract the text data to be monitored from the blockchain data to be monitored according to the resource file and the configuration file;
[0050] A calling module 203 is used to call a text recognition model;
[0051] The recognition module 204 is used to recognize the text data to be monitored according to the text recognition model.
[0052] The blockchain information monitoring device provided by the present invention identifies the text data to be monitored according to the text recognition model to determine whether the text data to be monitored is bad information, thereby realizing the monitoring and subsequent analysis of the bad information on the blockchain, and preventing the bad information on the chain from having a negative impact on the normal use of the blockchain.
[0053] As an optional embodiment of the present invention, the device also includes: a storage module, used to pre-acquire and store various configuration files and resource files required for extracting blockchain data.
[0054] As an optional embodiment of the present invention, the device also includes: a recording module, which is used to record the information of the blockchain to which the bad information belongs when the identification result of the text data to be monitored is bad information, and the information of the blockchain includes: any multiple of the blockchain type, the block height where the bad information is located, the entry to which the bad information belongs, and the entry creation time.
[0055] As an optional embodiment of the present invention, the device also includes: a marking module, which is used to mark the bad information when the identification result of the text data to be monitored is bad information; a filtering module, which is used to filter the bad information according to the marking result when a data browsing request is received, and then feedback the data corresponding to the data browsing request to the user.
[0056] As an optional embodiment of the present invention, the device also includes: a tracing module, which is used to trace the negative information according to the blockchain information to which the negative information belongs; and a generating module, which is used to generate a negative information tracing report based on the tracing results.
[0057] The embodiment of the present invention further provides an electronic device, such as Figure 3 As shown, the electronic device may include a processor 401 and a memory 402, wherein the processor 401 and the memory 402 may be connected via a bus or other means. Figure 3 The example of connecting through bus is taken in the following.
[0058] The processor 401 may be a central processing unit (CPU). The processor 401 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.
[0059] The memory 402 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the blockchain information monitoring method in the embodiment of the present invention. The processor 401 executes various functional applications and data processing of the processor by running the non-transient software programs, instructions and modules stored in the memory 402, that is, the blockchain information monitoring method in the above method embodiment is implemented.
[0060] The memory 402 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created by the processor 401, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 402 may optionally include a memory remotely arranged relative to the processor 401, and these remote memories may be connected to the processor 401 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0061] The one or more modules are stored in the memory 402, and when executed by the processor 401, the following is performed: Figure 1 The blockchain information monitoring method in the illustrated embodiment.
[0062] For details of the above electronic equipment, please refer to Figure 1 The corresponding related descriptions and effects in the illustrated embodiments can be understood and will not be repeated here.
[0063] Those skilled in the art can understand that the implementation of all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.
[0064] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A blockchain information monitoring method, characterized in that: include: When the blockchain data to be monitored is obtained, the configuration file and resource file required for extracting the blockchain data to be monitored are determined, wherein the configuration file includes a text expression template corresponding to the blockchain data to be monitored, and the resource file includes an algorithm and / or model required for extracting the blockchain data. For the obtained blockchain data to be monitored, the configuration file and resource file required for extracting the blockchain data to be monitored are determined in a manner of obtaining the data type stored in the blockchain to be monitored in advance, and determining the corresponding configuration file and resource file according to the data type to achieve subsequent accurate identification of the blockchain data to be monitored; Extracting text data to be monitored from the blockchain data to be monitored according to the resource file and the configuration file, where the text data to be monitored represents data that may be bad information; Calling a text recognition model, where the text recognition model is any one of a machine learning model, a deep learning model, a keyword matching model, and a regular expression matching model; Identify the text data to be monitored according to the text recognition model; The extracting the text data to be monitored from the blockchain data to be monitored according to the resource file and the configuration file includes: Using the resource file to extract the blockchain data to be monitored to obtain data of the corresponding type; The corresponding type of data is extracted using the configuration file to obtain the text data to be monitored.
2. The method according to claim 1, characterized in that When the blockchain data to be monitored is obtained, before determining the configuration file and resource file required to extract the blockchain data to be monitored, the method further includes: Pre-acquire and store various configuration files and resource files required to extract blockchain data.
3. The method according to claim 1, characterized in that After identifying the text data to be monitored according to the text recognition model, the method further includes: When the identification result of the text data to be monitored is negative information, the information of the blockchain to which the negative information belongs is recorded, and the information of the blockchain includes: any multiple of the blockchain type, the block height where the negative information is located, the entry to which the negative information belongs, and the entry creation time.
4. The method according to claim 3, characterized in that The method further comprises: When the recognition result of the text data to be monitored is negative information, marking the negative information; When a data browsing request is received, the bad information is filtered according to the marking result and then the data corresponding to the data browsing request is fed back to the user.
5. The method according to claim 3, characterized in that: The method further comprises: Tracing the source of the bad information according to the blockchain information to which the bad information belongs; Generate a bad information tracing report based on the tracing results.
6. A blockchain information monitoring device, characterized in that: include: A determination module is used to determine, when the blockchain data to be monitored is obtained, a configuration file and a resource file required to extract the blockchain data to be monitored, wherein the configuration file includes a text expression template corresponding to the blockchain data to be monitored, and the resource file includes an algorithm and / or model required to extract the blockchain data. For the obtained blockchain data to be monitored, the configuration file and the resource file required to extract the blockchain data to be monitored are determined in a manner of obtaining in advance the type of data stored in the blockchain to be monitored, and determining the corresponding configuration file and resource file according to the data type to achieve subsequent accurate identification of the blockchain data to be monitored; An extraction module, used to extract the text data to be monitored from the blockchain data to be monitored according to the resource file and the configuration file, wherein the text data to be monitored represents data that may be bad information; A calling module, used to call a text recognition model, where the text recognition model is any one of a machine learning model, a deep learning model, a keyword matching model, and a regular expression matching model; A recognition module, used for recognizing the text data to be monitored according to the text recognition model; The extracting the text data to be monitored from the blockchain data to be monitored according to the resource file and the configuration file includes: Using the resource file to extract the blockchain data to be monitored to obtain data of the corresponding type; The corresponding type of data is extracted using the configuration file to obtain the text data to be monitored.
7. The device according to claim 6, characterized in that The device also includes: a storage module, which is used to pre-acquire and store multiple configuration files and resource files required for extracting blockchain data.
8. The device according to claim 6, characterized in that The device also includes: a recording module, which is used to record the information of the blockchain to which the bad information belongs when the identification result of the text data to be monitored is bad information, and the information of the blockchain includes: any multiple of the blockchain type, the block height where the bad information is located, the entry to which the bad information belongs, and the entry creation time.
9. An electronic device, characterized in that: include: at least one processor; And a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor performs the steps of the blockchain information monitoring method as described in any one of claims 1-5.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the blockchain information monitoring method as described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Sensitive data detection method and device, computer equipment and storage medium
CN111783138A