CN111563126B - Data processing method and device based on block chain system and electronic equipment - Google Patents

Data processing method and device based on block chain system and electronic equipment Download PDF

Info

Publication number
CN111563126B
CN111563126B CN202010397366.2A CN202010397366A CN111563126B CN 111563126 B CN111563126 B CN 111563126B CN 202010397366 A CN202010397366 A CN 202010397366A CN 111563126 B CN111563126 B CN 111563126B
Authority
CN
China
Prior art keywords
message
published
rumor
keywords
issued
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.)
Active
Application number
CN202010397366.2A
Other languages
Chinese (zh)
Other versions
CN111563126A (en
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.)
Zhuo Erzhi Lian Wuhan Research Institute Co Ltd
Original Assignee
Zhuo Erzhi Lian Wuhan Research Institute 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 Zhuo Erzhi Lian Wuhan Research Institute Co Ltd filed Critical Zhuo Erzhi Lian Wuhan Research Institute Co Ltd
Priority to CN202010397366.2A priority Critical patent/CN111563126B/en
Publication of CN111563126A publication Critical patent/CN111563126A/en
Application granted granted Critical
Publication of CN111563126B publication Critical patent/CN111563126B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Abstract

The invention provides a data processing method, a data processing device and electronic equipment based on a block chain system, wherein the method comprises the following steps: the main node receives a message to be issued sent by a common node and extracts keywords in the message to be issued; when the message to be published is not determined to be a rumor based on the keywords, identifying message source words in the keywords, wherein the message source words are used for indicating message sources of the message to be published; accessing a message source corresponding to the message source words, and judging whether the message content with the keywords is consistent with the semantics of the message to be published when the message content with the keywords is inquired out from all the message contents published by the message source; if so, determining that the message to be issued is a real message; if not, determining that the message to be issued is a rumor. By the data processing method, the data processing device and the electronic equipment based on the block chain system, provided by the embodiment of the invention, the auditing efficiency of rumors is improved, and the aim of preventing the rumors from being rapidly spread can be fulfilled.

Description

Data processing method and device based on block chain system and electronic equipment
Technical Field
The invention relates to the field of digital media, in particular to a data processing method and device based on a block chain system and electronic equipment.
Background
At present, public opinion propagation and supervision are key problems in the field of digital media, and paper media, internet media and self-media can release messages, so that the message release channels are diversified, and real messages and rumors exist in messages released by different channels. In order to prevent the rapid spread of rumors, rumors in messages sent from different channels need to be identified.
In order to identify rumors, natural Language Processing (NLP) technology is used to process the messages issued by the above channels to obtain keywords of the messages, and the obtained keywords are then reviewed by network technicians to determine whether the messages are rumors.
The process of auditing messages requires manual involvement, which is long and inefficient.
Disclosure of Invention
In order to solve the above problems, embodiments of the present invention provide a data processing method and apparatus based on a block chain system, and an electronic device.
In a first aspect, an embodiment of the present invention provides a data processing method based on a blockchain system, including:
a main node receives a message to be issued sent by a common node and extracts keywords in the message to be issued;
identifying a message source word in the keyword when the rumor matched with the message to be published is not queried from the rumor database based on the keyword, wherein the message source word is used for indicating a message source of the message to be published;
accessing a message source corresponding to the message source words, and judging whether the semantics of the message content with the keywords and the to-be-issued message are consistent when the keywords are utilized to inquire out the message content with the keywords in all the message contents issued by the message source;
if yes, determining that the message to be issued is a real message;
if not, determining that the message to be published is a rumor.
In a second aspect, an embodiment of the present invention further provides a data processing apparatus, including:
the receiving module is used for receiving a message to be published sent by a common node and extracting keywords in the message to be published;
the identifying module is used for identifying a message source word in the keyword when the rumor matched with the message to be published is not inquired out from the rumor database on the basis of the keyword, wherein the message source word is used for indicating a message source of the message to be published;
the processing module is used for accessing the message source corresponding to the message source words and judging whether the message content with the keywords is consistent with the semantics of the message to be published when the message content with the keywords is inquired out from all the message contents published by the message source;
the first determining module is used for determining that the message to be issued is a real message when the processing module determines that the message content with the keyword is consistent with the semantics of the message to be issued;
and the second determining module is used for determining that the message to be published is a rumor when the processing module determines that the message content with the keywords is inconsistent with the semantics of the message to be published.
In a third aspect, the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the method in the first aspect.
In a fourth aspect, embodiments of the present invention also provide an electronic device, which includes a memory, a processor, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor to perform the steps of the method according to the first aspect.
In the solutions provided in the foregoing first to fourth aspects of the embodiments of the present invention, after receiving a message to be published sent by a common node, a master node extracts a keyword of the message to be published, accesses a message source corresponding to a message source word in the keyword, and when querying out, by using the keyword, message content with the keyword in all message contents published by the message source and the message content with the keyword is consistent with the semantics of the message to be published, it is determined that the message to be published is a rumor.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a data processing method based on a blockchain system according to embodiment 1 of the present invention;
fig. 2 is a schematic structural diagram of a data processing apparatus according to embodiment 2 of the present invention;
fig. 3 shows a schematic structural diagram of an electronic device provided in embodiment 3 of the present invention.
Detailed Description
For clarity and conciseness of description of embodiments of the present invention, a brief introduction to the relevant concepts or technologies is first given:
at present, public opinion propagation and supervision are key problems in the field of digital media, and paper media, internet media and self media can release messages, so that the message release channels are diversified, and real messages and rumors exist in messages released by different channels. In order to prevent the rapid spread of rumors, rumors in messages sent from different channels need to be identified. In order to identify rumors, NLP technology is used to process the messages published in the above channels to obtain keywords of the messages, and the obtained keywords are examined by network technicians to determine whether the messages are rumors. The process of auditing messages requires manual involvement, which is long and inefficient.
The data processing method, the data processing device and the electronic equipment based on the block chain system provided by the embodiment of the application can be applied to the following application scenes:
the application scenario is a blockchain system, including: a master node and a generic node capable of interacting with the master node.
The main node can be various organizations for supervising different messages, and is used for storing the processing behaviors of processing messages by common nodes through a certification technology.
In the following embodiments of the present application, the processing behavior of the common node to process the message refers to issuing the message.
The common node is a user after the registration of the user information of the common node to the main node is completed.
The user, may be, but is not limited to: any person, organization, and business that desires to process a message.
When the user is an organization, and a business, the user information may be textual information about the business area of the organization, and the business.
When the user is an individual, the user information is education background information and work experience information of the user.
The user information may further include: real name system information.
The real-name information includes but is not limited to: the name, address, and (personal) birth date/(organization, and business) registration date of the user.
After the registration of the common node is completed, the master node stores the user information used in the registration of the common node as the registration information of the common node. And, the common node is assigned with the certification resource information used when the information is issued. And the main node distributes a public key and a private key which are used cooperatively to the common node, stores the public key and sends the private key to the common node.
And the common node receives and stores the private key sent by the main node, and uses the received private key as the private key of the common node.
In one embodiment, the credential resource information may be represented by Token.
The main idea of the application is that the main node performs rumor audit on the messages issued by the common nodes, and since the issued message processing behavior is recorded by the main node through the evidence passing technology of the block chain, the message chain is clear. When the message to be issued is determined to be a rumor, the common node for issuing the message can be quickly inquired based on the evidence-passing technology, so that the postnatal tracing is facilitated.
Based on this, according to the data processing method, the data processing device and the electronic device based on the block chain system provided by the embodiment, after receiving a message to be published sent by a common node, a master node extracts a keyword of the message to be published, accesses a message source corresponding to a message source word in the keyword, and determines that the message to be published is a rumor when the message content with the keyword is found out from all message contents published by the message source by using the keyword and is consistent with the semantics of the message to be published, so that the whole rumor judging process does not need manual participation, the message auditing time is shortened, and the message auditing efficiency is improved.
Those skilled in the art should appreciate that the embodiments of the present invention can be implemented as a data processing method and apparatus based on a blockchain system. Thus, embodiments of the invention may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), a combination of hardware and software. Furthermore, in some embodiments, embodiments of the invention may also be embodied in the form of a computer program product in one or more computer-readable storage media having computer program code embodied in the medium.
The computer-readable storage media described above may take any combination of one or more computer-readable storage media. The computer-readable storage medium includes: an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer-readable storage medium include: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only Memory (ROM), an erasable programmable read-only Memory (EPROM), a Flash Memory (Flash Memory), an optical fiber, a compact disc read-only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any combination thereof. In embodiments of the invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, device.
The computer program code embodied on the computer readable storage medium may be transmitted using any appropriate medium, including: wireless, wire, fiber optic cable, radio Frequency (RF), or any suitable combination thereof.
Computer program code for carrying out operations for embodiments of the present invention may be written in one or more programming languages, including an object oriented programming language such as: java, smalltalk, C + +, and also include conventional procedural programming languages, such as: c or a similar programming language. The computer program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be over any of a variety of networks, including: a Local Area Network (LAN) or a Wide Area Network (WAN), which may be connected to the user's computer, may be connected to an external computer.
Embodiments of the present invention will be described below with reference to flowchart illustrations and/or block diagrams of data processing methods and apparatuses based on a blockchain system according to embodiments of the present invention.
It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions. These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing apparatus to function in a particular manner. Thus, the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Example 1
The main execution unit of the data processing method based on the blockchain system provided by the present embodiment is a master node.
When the ordinary node needs to issue a message, the ordinary node may perform the following steps (1) to (3):
(1) Acquiring message content to be issued and a preset number of pieces of certification resource information;
(2) Signing the certification resource information by using the private key of the common node to obtain the certification resource information carrying the signature of the common node;
(3) And generating a message to be issued according to the message content and the certified resource information carrying the common node signature, and sending the generated message to be issued to the main node.
In step (1), the preset number may be any number from 1 to 20, and is not described in detail here. In one embodiment, the preset number may be set to 5.
The content of the message to be published comprises: specific message content text and message source words.
The message source words are used for indicating the message source of the message to be published.
The message sources include, but are not limited to: the names of paper, internet and self media, and the names of organizations, institutions and businesses.
After receiving a message to be issued sent by a common node, referring to a flowchart of a data processing method based on a blockchain system shown in fig. 1, the present embodiment provides a data processing method based on a blockchain system, including the following specific steps:
step 100, a master node receives a message to be published sent by a common node and extracts keywords in the message to be published.
In the step 100, before extracting the keyword of the message to be published, the master node may verify the signature carried in the message to be published by using a public key pre-allocated to the common node that sends the message to be published, where a specific verification process is the prior art and is not described herein again.
And when the signature is verified to be effective, extracting the key words in the message to be issued by utilizing an NLP technology, and storing the evidence-passing resource information paid by the common nodes, so as to record which messages issued by different common nodes, thereby being convenient for public opinion tracing.
The keywords include, but are not limited to: the message source words, the organization names of enterprises, organizations and the like, the names of people, the terms and/or numbers recorded in the message to be published.
After extracting the keywords in the message to be published, the data processing method based on the blockchain system provided in this embodiment may further perform the following steps (1) to (4), and determine whether the message to be published is a rumor according to the extracted keywords:
(1) Performing a query operation of a rumor having the keywords in a rumor database on the basis of the keywords, wherein the rumor database stores verified rumors;
(2) When the rumors with the keywords are inquired from the rumor database, analyzing the rumors with the keywords and the message to be issued by utilizing an NLP (non line segment) technology to obtain an analysis result;
(3) When the analysis result indicates that the rumor with the keywords and the message to be published have the same semantics, determining that the message to be published is the rumor;
(4) When the analysis result indicates that the rumor with the keywords and the to-be-published message are different in semantics, determining that the rumor matched with the to-be-published message is not queried from the rumor database based on the keywords.
In the step (1), the rumor database is set on the master node for storing the verified rumors.
The validated rumors stored in the rumor database may be entered by the worker or crawled by the home node from the internet using crawler technology.
In the step (2), when at least two keywords are extracted from the message to be published, the rumor with the keywords refers to the rumor with all the keywords extracted from the message to be published in the rumor database.
And querying the rumors with all the keywords extracted from the message to be published from the rumor database by using all the keywords extracted from the message to be published as query conditions.
When the rumors with all the keywords extracted from the messages to be published are inquired from the rumor database, performing semantic analysis on the rumors with the keywords and the messages to be published by utilizing an NLP technology to obtain an analysis result.
The above-mentioned process of obtaining the analysis result by performing semantic analysis on the rumors with the keywords and the to-be-released message by using the NLP technology is the prior art, and is not described herein again.
In the step (4), when the analysis result indicates that the semantics of the rumor with the keyword and the to-be-published message are different, it indicates that the rumor with the same semantics as the to-be-published message cannot be queried from the rumor database based on the keyword extracted from the to-be-published message, and then it cannot be determined that the to-be-published message is a rumor, and a conclusion that the rumor matched with the to-be-published message is not queried from the rumor database based on the keyword is obtained. Then, the following step 102 is executed to continuously determine whether the message to be published is a rumor.
And 102, when the rumor matched with the message to be published is not inquired from the rumor database based on the keywords, identifying message source words in the keywords.
In the step 102, the NLP technology is used to identify the message source words in the keywords, and the specific process is the prior art and is not described herein again.
Step 104, accessing the message source corresponding to the message source word, and when the message content with the keyword is found out in all the message contents published by the message source by using the keyword, judging whether the semantics of the message content with the keyword and the message to be published are consistent, if so, executing step 106, otherwise, executing step 108.
In step 104, after the master node obtains the message source term, the master node may input the obtained message source term into a search engine running in the master node itself, and query a website link of the message source corresponding to the message source term. And the main node logs in the website link of the message source corresponding to the inquired message source words so as to access the message source corresponding to the message source words.
In one embodiment, if the message source word is set to be a daily report, the main node inputs the "daily report a" into a search engine running in the main node itself, and the link of the website in the beijing daily report can be queried: www.A.com, and then a master node log www.A.com, may access the message source corresponding to the message source word.
After accessing the message source corresponding to the message source word, the master node may query the message content with all keywords in all message contents issued by the message source by using all keywords extracted from the message to be issued as query conditions, and when querying the message content with the keywords in all message contents issued by the message source by using the keywords, judge whether the semantics of the message content with the keywords and the message to be issued are consistent by using an NLP technology.
The specific process of determining whether the semantics of the message content with the keyword and the message to be issued are consistent by using the NLP technology is the prior art, and is not described herein any more.
And step 106, determining that the message to be issued is a real message.
In step 106, after determining that the message to be published is a real message, the master node publishes the message to be published.
Step 108, determining that the message to be published is a rumor.
In step 108, after determining that the message to be published is a rumor, the master node deletes the message to be published, determines a common node publishing the message to be published according to the signature carried in the stored certification resource information, and returns a prompt that the message to be published is a rumor message publishing failure to the common node sending the message to be published.
The processing behavior of the issued message is recorded by the master node through the evidence-passing technology of the block chain, so that the message chain is clear. When the message to be issued is determined to be a rumor, the master node can quickly inquire out the common node issuing the message based on the evidence-passing technology, so that the rumor can be traced and opened afterwards.
The above steps 104 to 108 describe the process of determining whether the message to be published is a rumor when the keyword is used to query out the message content having the keyword in all the message contents published by the message source.
Then, the following steps (1) to (4) are used to continue to describe the process of determining whether the message to be published is a rumor when the message content with the keyword is inquired from all the message contents which are not published from the message source by using the keyword:
(1) When the message content with the key word is not inquired from all message contents published by the message source by using the key word, the key word is sent to a third-party message source except the message source corresponding to the message source word;
(2) When the message content with the keyword is inquired from the message content issued by the third-party message source by using the keyword, judging whether the message content with the keyword is consistent with the semantics of the message to be issued, if so, executing the step (3), otherwise, executing the step (4);
(3) Determining that the message to be published is a real message;
(4) Determining that the message to be published is a rumor.
In the step (1), the third party message source is any other message source except the message source corresponding to the message source word.
In one embodiment, if the message source word is Beijing Japanese, the third party message sources are paper media, internet media, self media, organizations, institutions, and businesses other than Beijing Japanese.
The process of determining whether the message to be published is a rumor by using the messages published from the third party message sources other than the message source corresponding to the message source words described in the above steps (1) to (4) is similar to the process of determining whether the message to be published is a rumor by using all the messages published from the message sources corresponding to the message source words described in the above steps 104 to 108, and is not repeated here.
If the message content with all the keywords extracted from the message to be published cannot be queried in all the messages published by the third-party message source, determining that the message to be published is an original message published by a common node, and continuing to execute the following steps (1) to (6) by the master node:
(1) When the message content with the key word is not inquired from the message content published by the third-party message source by using the key word, determining that the message to be published is an original message;
(2) Acquiring registration information of a common node which sends the message to be issued;
(3) When the registration information of the common node sending the message to be issued does not have real-name system information, sending a real-name authentication request to the common node sending the message to be issued, so that the common node sends the real-name system information of the common node to the main node for real-name authentication;
(4) When the registration information of the common node sending the message to be issued has real-name system information, inquiring the website link of the common node according to the real-name system information;
(5) Accessing the website link of the common node, and acquiring the contact way of the common node sending the message to be issued from the website link of the common node;
(6) And issuing the message to be issued.
In the step (4), the master node inputs the real-name system information of the common node into a search engine running in the master node itself, and queries the website link of the common node. And the main node logs in the inquired website link of the common node to access the website link of the common node.
In one embodiment, if the generic node is an individual, then the website links of the generic node are social media links of the individual.
If the common node is an organization, organization or enterprise, the website link of the common node is a website link of the organization, organization or enterprise.
The social media link of the individual and the website link of the organization, the organization or the enterprise all record the contact way of the individual, the organization or the enterprise as a common node.
In the step (5), the host node may use the terms related to the contact information as query conditions for querying the contact information of the common node, and obtain the contact information of the common node sending the message to be published from the website link of the common node.
In the step (6), after the message to be published is published, monitoring browsing and forwarding dynamics of the message needs to be performed, and performing real-time follow-up auditing on whether the message is a rumor or based on the browsing and forwarding dynamics of the message.
It can be seen from the above-mentioned process from step (1) to step (6) that when the message issued by the user is the original message, the master node can automatically query the contact information of the common node for subsequent confirmation, and use the real-name information of the common node issuing the original message as the message endorsement issued by the common node itself, so as to achieve the purpose of rapidly identifying the rumor.
In summary, in the data processing method based on the block chain system provided in this embodiment, after receiving a message to be published sent by a common node, a master node extracts a keyword of the message to be published, accesses a message source corresponding to a message source word in the keyword, and when querying out, by using the keyword, message contents with the keyword in all message contents published by the message source and the message contents with the keyword are consistent with semantics of the message to be published, it is determined that the message to be published is a rumor.
Example 2
The present embodiment provides a data processing apparatus for performing the data processing method based on the blockchain system.
Referring to a schematic structural diagram of a data processing apparatus shown in fig. 2, the present embodiment provides a data processing apparatus, including:
a receiving module 200, configured to receive a message to be published sent by a common node, and extract a keyword in the message to be published;
an identifying module 202, configured to identify a message source word in the keyword when a rumor matching the message to be published is not queried from a rumor database based on the keyword, where the message source word is used to indicate a message source of the message to be published;
the processing module 204 is configured to access a message source corresponding to the message source word, and when the message content having the keyword in all message contents published by the message source is queried by using the keyword, determine whether the message content having the keyword is consistent with semantics of the message to be published;
a first determining module 206, configured to determine that the message to be published is a real message when the processing module determines that the message content with the keyword is consistent with the semantics of the message to be published;
a second determining module 208, configured to determine that the message to be published is a rumor when the processing module determines that the message content with the keyword does not conform to the semantics of the message to be published.
The data processing apparatus proposed in this embodiment further includes:
a query module for performing a rumor query operation with the keywords in a rumor database based on the keywords, the rumor database having validated rumors stored therein;
the analysis module is used for analyzing the rumors with the keywords and the messages to be issued by utilizing a natural language processing technology when the rumors with the keywords are inquired from the rumor database to obtain an analysis result;
a third determining module, configured to determine that the message to be published is a rumor when the analysis result indicates that the rumor with the keywords and the message to be published have the same semantics;
a fourth determining module, configured to determine, when the analysis result indicates that the semantics of the rumor with the keyword and the message to be published are different, that the rumor matching the message to be published is not queried from the rumor database based on the keyword.
The data processing apparatus proposed in this embodiment further includes:
the sending module is used for sending the keywords to a third-party message source except for the message source corresponding to the message source words when the message content with the keywords is not inquired from all message contents issued by the message source by using the keywords;
the semantic judgment module is used for judging whether the message content with the keywords is consistent with the semantics of the message to be published when the message content with the keywords is inquired from the message content published by the third-party message source by using the keywords;
a fifth determining module, configured to determine that the message to be published is a real message when the semantic determining module determines that the message content with the keyword is consistent with the semantic of the message to be published;
a sixth determining module, configured to determine that the message to be published is a rumor when the semantic determining module determines that the message content with the keyword is inconsistent with the semantics of the message to be published.
The data processing apparatus proposed in this embodiment further includes:
a seventh determining module, configured to determine that the message to be published is an original message when the message content with the keyword is not queried from the message content published by the third-party message source by using the keyword;
the acquisition module is used for acquiring the registration information of the common node which sends the message to be issued;
the request module is used for sending a real-name authentication request to the common node sending the message to be issued when no real-name information exists in the registration information of the common node sending the message to be issued, so that the common node sends the real-name information of the common node to the main node for real-name authentication;
the second query module is used for querying the website link of the common node according to the real-name information when the registration information of the common node which sends the message to be issued has the real-name information;
the access module is used for accessing the website links of the common nodes and acquiring the contact information of the common nodes sending the messages to be issued from the website links of the common nodes;
and the issuing module is used for issuing the message to be issued.
In summary, in the data processing apparatus provided in this embodiment, after receiving a message to be published sent by a common node, a master node extracts a keyword of the message to be published, and accesses a message source corresponding to a message source word in the keyword, and when querying that message content with the keyword in all message contents published by the message source is consistent with semantics of the message to be published, the message to be published is determined to be a rumor.
Example 3
The present embodiment proposes a computer-readable storage medium, which stores thereon a computer program, which, when executed by a processor, executes the steps of the data processing method based on the blockchain system described in embodiment 1 above. For specific implementation, reference may be made to method embodiment 1, which is not described herein again.
In addition, referring to the schematic structural diagram of another electronic device shown in fig. 3, the present embodiment also provides an electronic device, which includes a bus 51, a processor 52, a transceiver 53, a bus interface 54, a memory 55, and a user interface 56. The electronic device comprises a memory 55.
In this embodiment, the electronic device further includes: one or more programs stored on the memory 55 and executable on the processor 52, configured to be executed by the processor for performing the following steps (1) to (5):
(1) A main node receives a message to be issued sent by a common node and extracts keywords in the message to be issued;
(2) Identifying a message source word in the keyword when the rumor matched with the message to be published is not queried from the rumor database based on the keyword, wherein the message source word is used for indicating a message source of the message to be published;
(3) Accessing a message source corresponding to the message source word, and when the message content with the keyword in all the message contents published by the message source is inquired by using the keyword, judging whether the semantics of the message content with the keyword and the message to be published are consistent, if so, executing the step (4), otherwise, executing the step (5);
(4) Determining that the message to be published is a real message;
(5) Determining that the message to be published is a rumor.
A transceiver 53 for receiving and transmitting data under the control of the processor 52.
In fig. 3, a bus architecture (represented by bus 51), bus 51 may include any number of interconnected buses and bridges, with bus 51 linking together various circuits including one or more processors, represented by general purpose processor 52, and memory, represented by memory 55. The bus 51 may also link various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further in this embodiment. A bus interface 54 provides an interface between the bus 51 and the transceiver 53. The transceiver 53 may be one element or may be multiple elements, such as multiple receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. For example: the transceiver 53 receives external data from other devices. The transceiver 53 is used for transmitting data processed by the processor 52 to other devices. Depending on the nature of the computing system, a user interface 56, such as a keypad, display, speaker, microphone, joystick, may also be provided.
The processor 52 is responsible for managing the bus 51 and the usual processing, running a general-purpose operating system as described above. And memory 55 may be used to store data used by processor 52 in performing operations.
Alternatively, processor 52 may be, but is not limited to: a central processing unit, a singlechip, a microprocessor or a programmable logic device.
It will be appreciated that the memory 55 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM) which functions as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), enhanced Synchronous SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 55 of the systems and methods described in this embodiment is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 55 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 551 and application programs 552.
The operating system 551 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 552 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. A program implementing the method of an embodiment of the present invention may be included in the application 552.
In summary, the present embodiment provides a computer-readable storage medium and an electronic device, where after receiving a message to be published sent by a general node, a master node extracts a keyword of the message to be published, accesses a message source corresponding to a message source word in the keyword, and when querying out, by using the keyword, message content with the keyword from all message contents published by the message source and the message content with the keyword is consistent with the semantics of the message to be published, determines that the message to be published is a rumor, and compared with a manner in which in the related art, the keyword of the message is processed by using an NLP technique, and the obtained keyword is audited by a network technician to determine whether the message is a rumor, the whole rumor determining process does not need to participate manually, thereby shortening the auditing time for rumors, improving the auditing efficiency for rumors, and achieving the purpose of preventing rapid propagation of rumors.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present invention, and shall cover the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A data processing method based on a block chain system is characterized by comprising the following steps:
a main node receives a message to be issued sent by a common node and extracts keywords in the message to be issued;
identifying a message source word in the keyword when the rumor matched with the message to be published is not queried from the rumor database based on the keyword, wherein the message source word is used for indicating a message source of the message to be published;
accessing a message source corresponding to the message source words, and judging whether the message content with the keywords is consistent with the semantics of the message to be published when the message content with the keywords is inquired out from all the message contents published by the message source;
if yes, determining that the message to be issued is a real message;
if not, determining that the message to be issued is a rumor.
2. The method of claim 1, wherein before the step of identifying a message source word in the keyword when it is not determined that the message to be published is a rumor based on the keyword, the method further comprises:
performing a query operation of a rumor having the keywords in a rumor database on the basis of the keywords, wherein the rumor database stores verified rumors;
when the rumors with the keywords are inquired from the rumor database, analyzing the rumors with the keywords and the to-be-issued messages by utilizing a natural language processing technology to obtain an analysis result;
when the analysis result indicates that the rumor with the keywords and the message to be published have the same semantics, determining that the message to be published is the rumor;
when the analysis result indicates that the semantics of the rumor with the keyword and the message to be published are different, determining that the rumor matched with the message to be published is not queried from the rumor database based on the keyword.
3. The method of claim 1, further comprising:
when the message content with the key words is not inquired from all the message contents published by the message sources by using the key words, the key words are sent to the third-party message sources except the message sources corresponding to the message source words;
when the message content with the keywords is inquired from the message content published by the third-party message source by using the keywords, judging whether the semantics of the message content with the keywords and the message to be published are consistent;
if yes, determining that the message to be issued is a real message;
if not, determining that the message to be issued is a rumor.
4. The method of claim 3, further comprising:
when the message content with the key word is not inquired from the message content published by the third-party message source by using the key word, determining that the message to be published is an original message;
acquiring registration information of a common node which sends the message to be issued;
when the registration information of the common node sending the message to be issued does not have real-name system information, sending a real-name authentication request to the common node sending the message to be issued, so that the common node sends the real-name system information of the common node to the main node for real-name authentication;
when the registration information of the common node sending the message to be issued has real-name system information, inquiring the website link of the common node according to the real-name system information;
accessing the website link of the common node, and acquiring the contact way of the common node sending the message to be issued from the website link of the common node;
and issuing the message to be issued.
5. A data processing apparatus, comprising:
the receiving module is used for receiving a message to be published sent by a common node and extracting keywords in the message to be published;
the identification module is used for identifying a message source word in the keyword when the rumor matched with the message to be published is not inquired from the rumor database based on the keyword, wherein the message source word is used for indicating a message source of the message to be published;
the processing module is used for accessing the message source corresponding to the message source words and judging whether the message content with the keywords is consistent with the semantics of the message to be published when the message content with the keywords is inquired out from all the message contents published by the message source;
the first determining module is used for determining that the message to be issued is a real message when the processing module determines that the message content with the keyword is consistent with the semantics of the message to be issued;
and the second determining module is used for determining that the message to be published is a rumor when the processing module determines that the message content with the keywords is inconsistent with the semantics of the message to be published.
6. The apparatus of claim 5, further comprising:
a query module, configured to perform a query operation on a rumor with the keywords in a rumor database based on the keywords, where the rumor database stores verified rumors;
the analysis module is used for analyzing the rumors with the keywords and the messages to be issued by utilizing a natural language processing technology when the rumors with the keywords are inquired from the rumor database to obtain an analysis result;
a third determining module, configured to determine that the message to be published is a rumor when the analysis result indicates that the rumor with the keywords and the message to be published have the same semantics;
and a fourth determining module, configured to determine that a rumor matching the message to be published is not queried from the rumor database based on the keyword when the analysis result indicates that the semantics of the rumor having the keyword and the message to be published are different.
7. The apparatus of claim 5, further comprising:
the sending module is used for sending the keywords to a third-party message source except for the message source corresponding to the message source words when the message content with the keywords is not inquired from all message contents issued by the message source by using the keywords;
the semantic judgment module is used for judging whether the message content with the keywords is consistent with the semantics of the message to be issued when the message content with the keywords is inquired from the message content issued by the third-party message source by using the keywords;
a fifth determining module, configured to determine that the message to be published is a real message when the semantic determining module determines that the message content with the keyword is consistent with the semantic of the message to be published;
a sixth determining module, configured to determine that the message to be published is a rumor when the semantic determining module determines that the message content with the keyword is inconsistent with the semantics of the message to be published.
8. The apparatus of claim 7, further comprising:
a seventh determining module, configured to determine that the message to be published is an original message when the message content with the keyword is not queried from the message content published by the third-party message source by using the keyword;
the acquisition module is used for acquiring the registration information of the common node which sends the message to be issued;
the request module is used for sending a real-name authentication request to the common node sending the message to be issued when no real-name information exists in the registration information of the common node sending the message to be issued, so that the common node sends the real-name information of the common node to the main node for real-name authentication;
the second query module is used for querying the website link of the common node according to the real-name information when the registration information of the common node which sends the message to be issued has the real-name information;
the access module is used for accessing the website links of the common nodes and acquiring the contact information of the common nodes sending the messages to be issued from the website links of the common nodes;
and the issuing module is used for issuing the message to be issued.
9. 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 method according to any one of the claims 1 to 4.
10. An electronic device comprising a memory, a processor, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor to perform the steps of the method of any of claims 1-4.
CN202010397366.2A 2020-05-12 2020-05-12 Data processing method and device based on block chain system and electronic equipment Active CN111563126B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010397366.2A CN111563126B (en) 2020-05-12 2020-05-12 Data processing method and device based on block chain system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010397366.2A CN111563126B (en) 2020-05-12 2020-05-12 Data processing method and device based on block chain system and electronic equipment

Publications (2)

Publication Number Publication Date
CN111563126A CN111563126A (en) 2020-08-21
CN111563126B true CN111563126B (en) 2022-12-20

Family

ID=72074631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010397366.2A Active CN111563126B (en) 2020-05-12 2020-05-12 Data processing method and device based on block chain system and electronic equipment

Country Status (1)

Country Link
CN (1) CN111563126B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113779355B (en) * 2021-08-18 2023-06-27 中国人民解放军战略支援部队信息工程大学 Network rumor tracing evidence obtaining method and system based on blockchain

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271425A (en) * 2018-09-30 2019-01-25 北京字节跳动网络技术有限公司 It constructs the method for rumour database, analyze the method and electronic equipment of rumour data
CN110598144A (en) * 2018-06-12 2019-12-20 张家界航空工业职业技术学院 Method for blocking network rumors
CN111046267A (en) * 2019-12-27 2020-04-21 山东爱城市网信息技术有限公司 Method, device and medium for processing network rumors based on block chains

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9342692B2 (en) * 2013-08-29 2016-05-17 International Business Machines Corporation Neutralizing propagation of malicious information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110598144A (en) * 2018-06-12 2019-12-20 张家界航空工业职业技术学院 Method for blocking network rumors
CN109271425A (en) * 2018-09-30 2019-01-25 北京字节跳动网络技术有限公司 It constructs the method for rumour database, analyze the method and electronic equipment of rumour data
CN111046267A (en) * 2019-12-27 2020-04-21 山东爱城市网信息技术有限公司 Method, device and medium for processing network rumors based on block chains

Also Published As

Publication number Publication date
CN111563126A (en) 2020-08-21

Similar Documents

Publication Publication Date Title
CN109791591B (en) Method and system for identity and credential protection and verification via blockchain
TWI694350B (en) Information supervision method and device based on blockchain
JP2022000757A (en) Model training system, method and storage medium
JP2022000757A5 (en)
WO2020182005A1 (en) Method for information processing in digital asset certificate inheritance transfer, and related device
CN111291394B (en) False information management method, false information management device and storage medium
US8620911B2 (en) Document registry system
CN113726784A (en) Network data security monitoring method, device, equipment and storage medium
US11861031B2 (en) Distributed ledger interface system for background verification of an individual
CN112328486A (en) Interface automation test method and device, computer equipment and storage medium
CN111382252A (en) Question category determination method, device, equipment and medium based on user request
Levshun et al. Design lifecycle for secure cyber-physical systems based on embedded devices
CN111563126B (en) Data processing method and device based on block chain system and electronic equipment
Teppler Testable reliability: a modernized approach to ESI admissibility
WO2014047309A2 (en) Method and system for creating and managing a verified online profile
CN106888200A (en) Mark correlating method, method for sending information and device
Beris et al. Towards a decentralized, trusted, intelligent and linked public sector: A report from the Greek trenches
CN111461727B (en) Transaction behavior monitoring and early warning method and device, storage medium and intelligent equipment
CN110232069B (en) Customer information intelligent input method and device based on big data
Melshiyan et al. Information Security Audit Using Open Source Intelligence Methods
CN113127919A (en) Data processing method and device, computing equipment and storage medium
US10462208B2 (en) File transfer system with dynamic file exchange control functions
CN111541676A (en) Data processing method and device
KR102609300B1 (en) Management system and method for sbom using blockchain
CN113626523B (en) DID-based blockchain data exchange method and system

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
GR01 Patent grant
GR01 Patent grant