CN112801782A - Block chain information monitoring method and device and electronic equipment - Google Patents

Block chain information monitoring method and device and electronic equipment Download PDF

Info

Publication number
CN112801782A
CN112801782A CN202011642890.8A CN202011642890A CN112801782A CN 112801782 A CN112801782 A CN 112801782A CN 202011642890 A CN202011642890 A CN 202011642890A CN 112801782 A CN112801782 A CN 112801782A
Authority
CN
China
Prior art keywords
data
monitored
information
block chain
blockchain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011642890.8A
Other languages
Chinese (zh)
Inventor
许达
叶茂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhifan Technology Co ltd
Original Assignee
Beijing Zhifan Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zhifan Technology Co ltd filed Critical Beijing Zhifan Technology Co ltd
Priority to CN202011642890.8A priority Critical patent/CN112801782A/en
Publication of CN112801782A publication Critical patent/CN112801782A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Computing Systems (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a block chain information monitoring method, a block chain information monitoring device and electronic equipment, wherein the method comprises the following steps: when acquiring data of a blockchain to be monitored, determining a configuration file and a resource file which are required for extracting the data of the blockchain to be monitored, wherein the configuration file comprises a text expression template corresponding to the data of the blockchain to be monitored, and the resource file comprises an algorithm and/or a model which are required for extracting the data of the blockchain; extracting text data to be monitored from the block chain data to be monitored according to the resource file and the configuration file; calling a text recognition model; and identifying the text data to be monitored according to the text identification model to monitor and analyze the bad information of the block chain, and avoiding the negative influence of the bad information of the chain on the normal use of the block chain.

Description

Block chain information monitoring method and device and electronic equipment
Technical Field
The invention relates to the technical field of block chains, in particular to a block chain information monitoring method and device and electronic equipment.
Background
The block chain technology originates from bitcoin, and is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. The blockchain has the characteristics of decentralization, good traceability, difficulty in tampering and the like, the integrity and the transparency of the blockchain are guaranteed, the information asymmetry problem can be effectively solved, and the cooperative trust and the consistent action among a plurality of main bodies are realized. The current relatively large-scale application is in the field of finance, represented by cryptocurrency. In fact, the block chain can be applied to a plurality of fields, such as finance, logistics, education, public service, digital copyright, medical health, food safety, social public welfare and the like, and has wide application prospect in the future.
In many application scenarios of blockchains, a tile may store unstructured text content in addition to structured data that is easy to machine handle, such as transaction addresses in the digital currency domain, network IP, address hashes, transaction amounts, etc. Due to the anonymity and the non-modifiable nature of blockchains, some lawbreakers have begun to publish and propagate bad information using blockchains. Once the bad information is uplinked, the bad information cannot be modified, which may cause negative impact on the normal use of the blockchain and even cause security risk, so it is urgently needed to provide a blockchain information monitoring method for monitoring and analyzing the information on the chain.
Disclosure of Invention
Therefore, the invention provides a block chain information monitoring method, a block chain information monitoring device and electronic equipment for monitoring and analyzing chain information.
According to a first aspect, an embodiment of the present invention discloses a method for monitoring block chain information, including: when acquiring data of a blockchain to be monitored, determining a configuration file and a resource file which are required for extracting the data of the blockchain to be monitored, wherein the configuration file comprises a text expression template corresponding to the data of the blockchain to be monitored, and the resource file comprises an algorithm and/or a model which are required for extracting the data of the blockchain; extracting text data to be monitored from the block chain data to be monitored according to the resource file and the configuration file; calling a text recognition model; and identifying the text data to be monitored according to the text identification model.
Optionally, before the obtaining of the blockchain data to be monitored and determining the configuration file and the resource file required for extracting the blockchain data to be monitored, the method further includes: and acquiring and storing a plurality of configuration files and resource files required by extracting the block chain data in advance.
Optionally, after the text data to be monitored is identified according to the text identification model, the method further includes: when the identification result of the text data to be monitored is bad information, recording the information of the block chain to which the bad information belongs, wherein the information of the block chain comprises: the block chain type, the block height of the bad information, the item to which the bad information belongs and the item creating time.
Optionally, the method further comprises: when the identification result of the text data to be monitored is bad information, marking the bad information; and when a data browsing request is received, filtering the bad information according to a marking result and feeding back data corresponding to the data browsing request to a user.
Optionally, the method further comprises: tracing the bad information according to the block chain information to which the bad information belongs; and generating a bad information tracing report according to the tracing result.
According to a second aspect, an embodiment of the present invention further discloses a device for monitoring blockchain information, including: the system comprises a determining module and a processing module, wherein the determining module is used for determining a configuration file and a resource file which are required for extracting the blockchain data to be monitored when the blockchain data to be monitored is obtained, the configuration file comprises a text expression template corresponding to the blockchain data to be monitored, and the resource file comprises an algorithm and/or a model which are required for extracting the blockchain data; the extraction module is used for extracting text data to be monitored from the block chain data to be monitored according to the resource file and the configuration file; the calling module is used for calling the text recognition model; and the recognition module is used for recognizing the text data to be monitored according to the text recognition model.
Optionally, the apparatus further comprises: and the storage module is used for acquiring and storing various configuration files and resource files required by extracting the block chain data in advance.
Optionally, the apparatus further comprises: the recording module is used for recording the information of the block chain to which the bad information belongs when the identification result of the text data to be monitored is the bad information, and the information of the block chain comprises: the block chain type, the block height of the bad information, the item to which the bad information belongs and the item creating time.
According to a third aspect, an embodiment of the present invention further discloses an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to cause the at least one processor to perform the steps of the block chain information monitoring method according to the first aspect or any one of the optional embodiments of the first aspect.
According to a fourth aspect, the embodiments of the present invention further disclose a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the block chain information monitoring method according to the first aspect or any optional embodiment of the first aspect.
The technical scheme of the invention has the following advantages:
according to the block chain information monitoring method/device, when the data of the block chain to be monitored is obtained, the configuration file and the resource file which are required for extracting the data of the block chain to be monitored are determined according to the data type stored in the block chain to be monitored, the text data to be monitored is extracted from the data of the block chain to be monitored according to the resource file and the configuration file, the text recognition model is called, the text data to be monitored is recognized according to the text recognition model, monitoring and subsequent analysis of bad information of the block chain are realized according to the recognition of the text data to be monitored, and negative influence of the bad information of the uplink on normal use of the block chain is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart illustrating an exemplary method for monitoring blockchain information according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of an exemplary embodiment of a device for monitoring blockchain information according to an embodiment of the present invention;
fig. 3 is a diagram of a specific example of an electronic device in an embodiment of the invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be communicated with each other inside the two elements, or may be wirelessly connected or wired connected. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The embodiment of the invention discloses a block chain information monitoring method, which is used for electronic equipment for monitoring block chain information, and as shown in figure 1, the method comprises the following steps:
step 101, when acquiring blockchain data to be monitored, determining a configuration file and a resource file required for extracting the blockchain data to be monitored, wherein the configuration file comprises a text expression template corresponding to the blockchain data to be monitored, and the resource file comprises an algorithm and/or a model required for extracting the blockchain data.
For example, the to-be-monitored blockchain data may be obtained by communicatively connecting an electronic device for monitoring blockchain information with a public interface of a node in any to-be-monitored blockchain network, accessing and downloading each piece of blockchain information, and then obtaining the to-be-monitored blockchain data. For the acquired data of the blockchain to be monitored, the manner of determining the configuration file and the resource file required for extracting the data of the blockchain 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 the resource file according to the data type so as to accurately identify the subsequent data of the blockchain to be monitored; the mode of determining the configuration file and the resource file required for extracting the blockchain data to be monitored can also be determined according to the identification requirements of the user, for example, the blockchain data to be monitored contains an intelligent contract 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 an interaction module on the electronic device, and the electronic device for monitoring the blockchain information can determine the required configuration file and the resource file according to the received user requirements. The method for determining the configuration file and the resource file is not limited in the embodiment of the present application, and those skilled in the art can determine the method according to actual needs.
The configuration file comprises a text expression template corresponding to the block chain data to be monitored, such as a specific expression mode of each type of bad information, such as a regular expression, a typical example sentence mode and the like; the resource file includes algorithms and/or models needed to extract blockchain data. Because the data types stored in the blockchain are diversified, for example, the stored data types generally include token names, memo information, intelligent contracts and the like, each type of data has its own inherent characterization form, different algorithms and/or models need to be used to accurately extract different types of data, for example, the characterization form of the intelligent contract is a code, and the corresponding extraction algorithm needs to be capable of accurately extracting the code; the possible representation form of the memo information can be characters, and the corresponding extraction algorithm needs to be capable of realizing accurate extraction of the characters. In order to accurately extract data in different representation forms, machine learning models capable of accurately segmenting data characters can be obtained in advance, and corresponding machine learning models are called according to types of block chain data to be extracted to segment and extract the data.
Further, for the acquired different types of blockchain data, the multiple different types of blockchain data may be merged into a string of data, the corresponding algorithm for extracting blockchain data may extract data, and may also accurately identify the data type in the string of data, for example, when the remark information is in a text representation form and an intelligent contract code representation form, the remark information and the intelligent contract information are simultaneously appeared in the string of data, the corresponding algorithm is called to identify the data type, when the remark information is in the "text" representation form, the machine learning model for extracting text is used to extract data, and when the "code" representation form is identified, the machine learning model for extracting code is used to perform data extraction operation. The specific extraction algorithm is not limited in the embodiments of the present application, and those skilled in the art can determine the extraction algorithm according to actual needs.
And 102, extracting text data to be monitored from the block chain data to be monitored according to the resource file and the configuration file.
Illustratively, when a resource file and a configuration file for extracting the blockchain data to be monitored are obtained, the manner of extracting the text data to be monitored can be that the resource file is utilized to identify the data type, a data extraction machine learning model of a corresponding type is called according to the identification result to extract the data, the specific extraction manner can be that data extraction is carried out according to expression modes such as a bad information regular expression and a typical example sentence mode in the configuration file to obtain the text data to be monitored in the blockchain data to be monitored, and the obtained text data to be monitored can represent data which may be bad information. The specific type of the bad information is not limited in the embodiment of the application, the bad information can be defined according to actual needs, then the bad information is identified in the block chain data to be monitored, when the type of the bad information is a newly added type, a configuration file and a resource file corresponding to the bad information can be dynamically loaded or replaced, and the bad information can be called by the electronic equipment for monitoring the block chain information.
Step 103, calling a text recognition model;
illustratively, 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, and can also be a keyword matching model or a regular expression matching model. The text recognition model can be a pre-trained recognition model which can be used for recognizing type texts, and can also be a text recognition model which is loaded and replaced according to the type of the obtained text data to be monitored and corresponds to the type of the text data to be monitored, and targeted text recognition is carried out by calling the corresponding text recognition model. The text recognition model is not limited in the embodiment of the application, and a person skilled in the art can determine the text recognition model according to actual needs as long as bad information recognition can be realized.
And 104, identifying the text data to be monitored according to the text identification model. And identifying the text data to be monitored according to the text identification model to determine whether the text data to be monitored is bad information, so that monitoring and subsequent analysis of the bad information of the block chain are realized, and the adverse effect of the bad information of the uplink on the normal use of the block chain is avoided.
As an optional embodiment of the present invention, before step 101, the method further comprises: and acquiring and storing a plurality of configuration files and resource files required by extracting the block chain data in advance.
For example, in order to improve the identification efficiency of the acquired data of the blockchain to be monitored, the data types included in all types of blockchains may be predetermined, and the configuration file and the resource file corresponding to each data type may be preset and stored. When the blockchain data to be monitored is obtained, the corresponding configuration file and the corresponding resource file can be called from the database in which the configuration file and the corresponding resource file are stored according to the identification requirement.
As an alternative embodiment of the present invention, after step 104, the method further comprises: when the identification result of the text data to be monitored is bad information, recording the information of the block chain to which the bad information belongs, wherein the information of the block chain comprises: the block chain type, the block height of the bad information, the item to which the bad information belongs and the item creating time.
Illustratively, when the obtained identification result of the text data to be monitored is bad information, recording the information of the block chain to which the bad information belongs, so as to monitor the block chain to which the bad information belongs regularly and monitor the flow direction of the bad information. The information of the block chain to which the bad information is recorded may include: the type of the block chain, the height of the block where the bad information is located, the item to which the bad information belongs, and the time for creating the item are arbitrary.
The determination method of the information of the block to which the bad information belongs is as follows: each block of the block chain comprises a plurality of information units, each information unit is provided with an identifier and timestamp information to distinguish other units, after a block of information in the block chain is obtained, the block of information is analyzed according to a block structure from outside to inside, the analyzed block of information is read firstly, then small units in the block are analyzed, and if the internal information units have deeper levels, the depth continues until the whole block of information is scanned. When the bad information is found, the position of the information on the whole block chain can be accurately positioned according to the scanned structural information, namely, for any bad information, all data of the block chain where the bad information is located can be obtained through the whole scanning process, and the information of the block chain to which the bad information belongs can be selectively recorded according to use requirements.
As an optional embodiment of the present invention, the method further comprises:
and when the identification result of the text data to be monitored is bad information, marking the bad information.
Illustratively, when the identification result of the text data to be monitored is bad information, the bad information is marked so as to facilitate follow-up tracking and monitoring of the bad information. The specific marking mode can be that the system stores the block chain to which the bad information belongs, the height of the bad information in the block chain to which the bad information belongs, the item to which the bad information belongs and other information, as long as the stored information can be accurately positioned to the bad information, and the bad information mark is added to the stored information.
And when a data browsing request is received, filtering the bad information according to a marking result and feeding back data corresponding to the data browsing request to a user.
Illustratively, when a browsing request of a user for data stored on a block chain is received, the data in the corresponding block chain is acquired and analyzed, and when the data contained in the analysis result is the same as the data in the marking result, it is indicated that the data fed back to the user contains bad information. And filtering the bad information from the data fed back by the user and feeding back the data to the user, so that the data stored in the block chain is selectively fed back, and the purpose of shielding the bad information in the block chain is realized.
As an optional embodiment of the present invention, the method further comprises: tracing the bad information according to the block chain information to which the bad information belongs; and generating a bad information tracing report according to the tracing result.
For example, once the bad information is identified, the system records data of the bad information, such as an entry to which the bad information belongs, an entry creation time and the like, wherein the entry to which the bad information belongs refers to a finer-grained information unit inside the block information, information such as a transaction address of the bad information can be included in the information unit, the entry creation time refers to a time stamp generated when the information unit is created, and the source of the bad information can be tracked by combining the time stamp and the transaction address. For the bad information which is successfully traced, a readable bad information tracing report can be generated; and by acquiring the 'belonged item' and 'item creating time' of the bad information, the context of the bad information can be restored by determining the position of the bad information on the block chain, the bad information can be better identified by analyzing the context of the information on the chain, and the accuracy and comprehensiveness of the bad information identification result on the block chain are improved.
The embodiment of the present invention further discloses a device for monitoring block chain information, as shown in fig. 2, the device includes:
the determining module 201 is configured to determine, when acquiring blockchain data to be monitored, a configuration file and a resource file required for extracting the blockchain data to be monitored, where 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 a model required for extracting the blockchain data;
an extracting module 202, configured to extract text data to be monitored from the blockchain data to be monitored according to the resource file and the configuration file;
the calling module 203 is used for calling the text recognition model;
and the identification module 204 is configured to identify the text data to be monitored according to the text identification model.
The block chain information monitoring device provided by the invention identifies the text data to be monitored according to the text identification model to determine whether the text data to be monitored is bad information, so that monitoring and subsequent analysis of the bad information of the block chain are realized, and negative influence of the bad information of the uplink on normal use of the block chain is avoided.
As an optional embodiment of the present invention, the apparatus further comprises: and the storage module is used for acquiring and storing various configuration files and resource files required by extracting the block chain data in advance.
As an optional embodiment of the present invention, the apparatus further comprises: the recording module is used for recording the information of the block chain to which the bad information belongs when the identification result of the text data to be monitored is the bad information, and the information of the block chain comprises: the block chain type, the block height of the bad information, the item to which the bad information belongs and the item creating time.
As an optional embodiment of the present invention, the apparatus further comprises: the marking module is used for marking the bad information when the identification result of the text data to be monitored is the bad information; and the filtering module is used for filtering the bad information according to the marking result and feeding back data corresponding to the data browsing request to the user when the data browsing request is received.
As an optional embodiment of the present invention, the apparatus further comprises: the source tracing module is used for tracing the source of the bad information according to the block chain information to which the bad information belongs; and the generating module is used for generating a bad information tracing report according to the tracing result.
An embodiment of the present invention further provides an electronic device, as shown in fig. 3, the electronic device may include a processor 401 and a memory 402, where the processor 401 and the memory 402 may be connected by a bus or in another manner, and fig. 3 takes the connection by the bus as an example.
Processor 401 may be a Central Processing Unit (CPU). The Processor 401 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 402, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the blockchain information monitoring method in the embodiments of the present invention. The processor 401 executes various functional applications and data processing of the processor by running non-transitory software programs, instructions and modules stored in the memory 402, that is, the block chain information monitoring method in the above method embodiment is implemented.
The memory 402 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 401, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 402 may optionally include memory located remotely from processor 401, which may be connected to processor 401 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 402 and when executed by the processor 401, perform the block chain information monitoring method in the embodiment shown in fig. 1.
The details of the electronic device may be understood with reference to the corresponding related description and effects in the embodiment shown in fig. 1, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
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 invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

1. A method for monitoring block chain information, comprising:
when acquiring data of a blockchain to be monitored, determining a configuration file and a resource file which are required for extracting the data of the blockchain to be monitored, wherein the configuration file comprises a text expression template corresponding to the data of the blockchain to be monitored, and the resource file comprises an algorithm and/or a model which are required for extracting the data of the blockchain;
extracting text data to be monitored from the block chain data to be monitored according to the resource file and the configuration file;
calling a text recognition model;
and identifying the text data to be monitored according to the text identification model.
2. The method according to claim 1, wherein before the obtaining of the blockchain data to be monitored and the determining of the configuration file and the resource file required for extracting the blockchain data to be monitored, the method further comprises:
and acquiring and storing a plurality of configuration files and resource files required by extracting the block chain data in advance.
3. The method according to claim 1, wherein after the text data to be monitored is recognized according to the text recognition model, the method further comprises:
when the identification result of the text data to be monitored is bad information, recording the information of the block chain to which the bad information belongs, wherein the information of the block chain comprises: the block chain type, the block height of the bad information, the item to which the bad information belongs and the item creating time.
4. The method of claim 3, further comprising:
when the identification result of the text data to be monitored is bad information, marking the bad information;
and when a data browsing request is received, filtering the bad information according to a marking result and feeding back data corresponding to the data browsing request to a user.
5. The method of claim 3, further comprising:
tracing the bad information according to the block chain information to which the bad information belongs;
and generating a bad information tracing report according to the tracing result.
6. A blockchain information monitoring apparatus, comprising:
the system comprises a determining module and a processing module, wherein the determining module is used for determining a configuration file and a resource file which are required for extracting the blockchain data to be monitored when the blockchain data to be monitored is obtained, the configuration file comprises a text expression template corresponding to the blockchain data to be monitored, and the resource file comprises an algorithm and/or a model which are required for extracting the blockchain data;
the extraction module is used for extracting text data to be monitored from the block chain data to be monitored according to the resource file and the configuration file;
the calling module is used for calling the text recognition model;
and the recognition module is used for recognizing the text data to be monitored according to the text recognition model.
7. The apparatus of claim 6, further comprising: and the storage module is used for acquiring and storing various configuration files and resource files required by extracting the block chain data in advance.
8. The apparatus of claim 6, further comprising: the recording module is used for recording the information of the block chain to which the bad information belongs when the identification result of the text data to be monitored is the bad information, and the information of the block chain comprises: the block chain type, the block height of the bad information, the item to which the bad information belongs and the item creating time.
9. An electronic device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the steps of the blockchain information monitoring method of any one of claims 1 to 5.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the blockchain information monitoring method according to any one of claims 1 to 5.
CN202011642890.8A 2020-12-31 2020-12-31 Block chain information monitoring method and device and electronic equipment Pending CN112801782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011642890.8A CN112801782A (en) 2020-12-31 2020-12-31 Block chain information monitoring method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011642890.8A CN112801782A (en) 2020-12-31 2020-12-31 Block chain information monitoring method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112801782A true CN112801782A (en) 2021-05-14

Family

ID=75809290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011642890.8A Pending CN112801782A (en) 2020-12-31 2020-12-31 Block chain information monitoring method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112801782A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108648079A (en) * 2018-05-02 2018-10-12 北京阿尔山金融科技有限公司 Block chain node monitoring method, apparatus and system
KR20180113140A (en) * 2017-04-05 2018-10-15 삼성에스디에스 주식회사 System for processing data based on blockchain and Operating method thereof
CN109886683A (en) * 2019-02-25 2019-06-14 北京神荼科技有限公司 Monitor the method, apparatus and storage medium of block chain data
CN110910138A (en) * 2019-12-04 2020-03-24 中科扶云(杭州)科技有限公司 Block chain data supervision method and device
CN111783138A (en) * 2020-06-24 2020-10-16 中国平安财产保险股份有限公司 Sensitive data detection method and device, computer equipment and storage medium
CN111814472A (en) * 2020-09-03 2020-10-23 平安国际智慧城市科技股份有限公司 Text recognition method, device, equipment and storage medium
CN111884878A (en) * 2020-07-24 2020-11-03 樊馨 Data monitoring method based on block chain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180113140A (en) * 2017-04-05 2018-10-15 삼성에스디에스 주식회사 System for processing data based on blockchain and Operating method thereof
CN108648079A (en) * 2018-05-02 2018-10-12 北京阿尔山金融科技有限公司 Block chain node monitoring method, apparatus and system
CN109886683A (en) * 2019-02-25 2019-06-14 北京神荼科技有限公司 Monitor the method, apparatus and storage medium of block chain data
CN110910138A (en) * 2019-12-04 2020-03-24 中科扶云(杭州)科技有限公司 Block chain data supervision method and device
CN111783138A (en) * 2020-06-24 2020-10-16 中国平安财产保险股份有限公司 Sensitive data detection method and device, computer equipment and storage medium
CN111884878A (en) * 2020-07-24 2020-11-03 樊馨 Data monitoring method based on block chain
CN111814472A (en) * 2020-09-03 2020-10-23 平安国际智慧城市科技股份有限公司 Text recognition method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110275958B (en) Website information identification method and device and electronic equipment
CN107239666B (en) Method and system for desensitizing medical image data
CN106951925B (en) Data processing method, device, server and system
CN109376291B (en) Website fingerprint information scanning method and device based on web crawler
CN113489713B (en) Network attack detection method, device, equipment and storage medium
WO2018202171A1 (en) Buried point verification system and method
CN107085549B (en) Method and device for generating fault information
CN107508809B (en) Method and device for identifying website type
CN111160783B (en) Digital asset value evaluation method and system and electronic equipment
CN109800354B (en) Resume modification intention identification method and system based on block chain storage
US20160012082A1 (en) Content-based revision history timelines
CN108287823B (en) Message data processing method and device, computer equipment and storage medium
CN109948343A (en) Leak detection method, Hole Detection device and computer readable storage medium
WO2020206906A1 (en) Registration information processing method and apparatus, computer device, and storage medium
CN111859093A (en) Sensitive word processing method and device and readable storage medium
CN114817968B (en) Method, device and equipment for tracing path of featureless data and storage medium
CN112528166A (en) User relationship analysis method and device, computer equipment and storage medium
WO2016188334A1 (en) Method and device for processing application access data
CN111737692A (en) Application program risk detection method and device, equipment and storage medium
CN113157315A (en) Method, device, equipment and medium for identifying difference information of different versions of software
CN114528457A (en) Web fingerprint detection method and related equipment
US9665574B1 (en) Automatically scraping and adding contact information
CN112732949A (en) Service data labeling method and device, computer equipment and storage medium
CN114493255A (en) Enterprise abnormity monitoring method based on knowledge graph and related equipment thereof
CN116453125A (en) Data input method, device, equipment and storage medium based on artificial intelligence

Legal Events

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