Data processing method, blockchain and its node, and computer-readable storage medium

By introducing artificial intelligence judgment and delayed writing mechanisms into the blockchain system, the data authenticity and accuracy problems in data sharing are solved, the reliability and security of data are improved, and the data sharing efficiency in smart cities is ensured. Trustworthiness.

CN112016087BActive Publication Date: 2024-11-15CHINA TELECOM CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN201910449733.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-05-28
Publication Date
2024-11-15
Estimated Expiration
2039-05-28

AI Technical Summary

Technical Problem

Existing blockchain technology cannot guarantee the authenticity and accuracy of data in data sharing, resulting in poor data reliability.

Method used

Artificial intelligence methods are used to determine whether the data to be written is abnormal data, and delay writing to the blockchain when the result is abnormal, determine whether writing is allowed, and introduce an early warning mechanism to ensure the authenticity of the data.

Benefits of technology

Through delayed writing and secondary judgment, the reliability of data is improved, the authenticity and credibility of data on the blockchain are ensured, and the risk of data tampering is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112016087B_ABST
    Figure CN112016087B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a data processing method, a blockchain and its nodes and a computer-readable storage medium, and relates to the field of computer technology. The method includes: in response to the nodes in the blockchain performing relevant operations to generate data to be written, using an artificial intelligence method to determine whether the data to be written is abnormal data; if the result of the determination is abnormal data, delaying the time for writing the data to be written into the blockchain; and determining whether to allow the data to be written to be written into the blockchain within the delay time. The technical solution disclosed in the present disclosure can improve the reliability of data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a data processing method, a blockchain, a blockchain node, and a computer-readable storage medium. Background Art

[0002] At present, in the management of credit data among various institutions in smart cities, whether it is sharing data within an institution or sharing data across institutions, there is a problem of large data differences and the data quality needs to be improved.

[0003] Among related technologies, the use of blockchain technology can ensure that the data on the chain is difficult to be tampered with, thereby solving the data sharing problem in smart city construction to a certain extent. Summary of the invention

[0004] The inventors of the present disclosure have discovered that the above-mentioned related technologies have the following problems: they can only ensure that the data on the chain is difficult to be tampered with, but cannot guarantee the authenticity and accuracy of the data when it is uploaded to the chain, resulting in poor data reliability.

[0005] In view of this, the present disclosure proposes a data processing technology solution that can improve the reliability of data.

[0006] According to some embodiments of the present disclosure, a data processing method is provided, including: in response to data to be written being generated after a node in a blockchain performs a relevant operation, using an artificial intelligence method to determine whether the data to be written is abnormal data; in the case where the result of the determination is abnormal data, delaying the time for writing the data to be written into the blockchain; and within the delay time, determining whether the data to be written is allowed to be written into the blockchain.

[0007] In some embodiments, the using of an artificial intelligence method to determine whether the data to be written is abnormal data includes: determining whether the data to be written is abnormal data based on whether the related operation is an illegal operation.

[0008] In some embodiments, the using of an artificial intelligence method to determine whether the data to be written is abnormal data includes: determining whether the data to be written is abnormal data based on historical data of a current business scenario.

[0009] In some embodiments, judging whether the data to be written is abnormal data based on whether the relevant operation is an illegal operation includes: judging that the relevant operation is an illegal operation when the relevant operation is illegal addition of information, illegal tampering of information, illegal query of data, malicious deletion of data, or the relevant operation generates a complaint or dispute.

[0010] In some embodiments, the data processing method further includes: if it is not determined within the delay time whether the data to be written is allowed to be written into the blockchain, writing the data to be written into the blockchain as data to be confirmed; determining whether the data to be confirmed is abnormal data; if it is determined to be abnormal data, modifying the data to be confirmed in the blockchain.

[0011] In some embodiments, the data processing method further includes: when it is determined that the data to be written is not allowed to be written into the blockchain, recording the relevant operations.

[0012] According to some other embodiments of the present disclosure, a blockchain node is provided, including: a judgment unit, for responding to the node in the blockchain performing relevant operations and generating data to be written, and using an artificial intelligence method to judge whether the data to be written is abnormal data; a delay unit, for delaying the time for writing the data to be written into the blockchain when the judgment result is abnormal data; and a determination unit, for determining whether the data to be written is allowed to be written into the blockchain within the delay time.

[0013] In some embodiments, the judgment unit judges whether the data to be written is abnormal data according to whether the relevant operation is an illegal operation.

[0014] In some embodiments, the judgment unit determines whether the data to be written is abnormal data based on historical data of the current business scenario.

[0015] In some embodiments, the judgment unit judges that the relevant operation is an illegal operation when the relevant operation is illegal addition of information, illegal tampering of information, illegal query of data, malicious deletion of data, or the relevant operation generates a complaint or dispute.

[0016] In some embodiments, if it is not determined within the delay time whether the data to be written is allowed to be written into the blockchain, the data to be written is written into the blockchain as data to be confirmed; the determination unit determines whether the data to be confirmed is abnormal data; the blockchain node also includes a modification unit for modifying the data to be confirmed in the blockchain if it is determined to be abnormal data.

[0017] In some embodiments, the blockchain node further includes: a recording unit, configured to record the relevant operations when it is determined that the data to be written is not allowed to be written into the blockchain.

[0018] According to some further embodiments of the present disclosure, a blockchain node is provided, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the data processing method in any one of the above embodiments based on instructions stored in the memory device.

[0019] According to some further embodiments of the present disclosure, a blockchain is provided, comprising the blockchain node in any of the above embodiments.

[0020] According to some further embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the data processing method in any of the above embodiments is implemented.

[0021] In the above embodiment, after detecting that the data to be written into the blockchain is abnormal data, the writing of the data is delayed, and a secondary judgment is performed to determine whether the data is allowed to be written. In this way, an early warning mechanism is introduced into the original blockchain system, thereby ensuring the authenticity of the data and improving the reliability of the data. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0023] The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:

[0024] Figure 1 Flowcharts showing some embodiments of the data processing method of the present disclosure;

[0025] Figure 2 Flowcharts showing other embodiments of the data processing method disclosed herein;

[0026] Figure 3 A block diagram illustrating some embodiments of a blockchain node of the present disclosure;

[0027] Figure 4 A block diagram showing some other embodiments of the blockchain node of the present disclosure;

[0028] Figure 5 A block diagram showing some further embodiments of the blockchain node of the present disclosure;

[0029] Figure 6 A block diagram showing some further embodiments of the blockchain node of the present disclosure;

[0030] Figure 7 A block diagram illustrating some embodiments of the blockchain of the present disclosure. DETAILED DESCRIPTION

[0031] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.

[0032] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0033] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0034] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.

[0035] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0036] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0037] Figure 1 Flowcharts showing some embodiments of the data processing method of the present disclosure.

[0038] like Figure 1 As shown, the method includes: step 110, determining whether the data to be written is abnormal data; step 120, delaying the time of writing into the blockchain; and step 130, determining whether writing into the blockchain is allowed.

[0039] In step 110, in response to the data to be written being generated after the node in the blockchain performs relevant operations, an artificial intelligence method is used to determine whether the data to be written is abnormal data. For example, data that is too high or too low can be considered abnormal data (suspicious data); artificial intelligence methods can include machine learning methods and big data analysis methods.

[0040] In some embodiments, whether the data to be written is abnormal data is determined based on whether the relevant operation is an illegal operation. For example, if the relevant operation is illegal addition of information, illegal tampering of information, illegal query of data, malicious deletion of data, or the relevant operation generates a complaint or dispute, the relevant operation is determined to be an illegal operation.

[0041] In some embodiments, a monitoring node for monitoring other nodes may be configured in the blockchain. For example, whether it is a main node or a branch system node in the blockchain, any operation of the node is under the monitoring of the monitoring node.

[0042] In some embodiments, the monitoring node is configured with a monitoring module and an early warning module. For example, if the node has any illegal operation (including adding illegal information, illegally tampering with information, illegally querying data, generating complaints and disputes, maliciously deleting data, etc.), the monitoring module will directly submit the relevant content to the early warning module, and the early warning module will issue and record the early warning information.

[0043] In this way, the operation of each node and the data it generates can be monitored, and automatic warning can be achieved. This monitoring and warning method can improve the reliability of data.

[0044] In some embodiments, it is possible to determine whether the data to be written is abnormal data based on the historical data of the current business scenario. For example, it is possible to determine whether the data to be written is abnormal data that does not conform to the trend of historical data changes, such as a sudden increase or a sudden decrease, based on the historical data of a specific business scenario. Abnormal data can also be determined based on statistical methods such as the average value and standard deviation of historical data.

[0045] The judgment made after retrieval and analysis by artificial intelligence methods can only indicate that there may be problems with the data to be written. Whether it can be written into the blockchain requires further judgment and processing.

[0046] In step 120, when the result of the judgment is abnormal data, the time for writing the data to be written into the blockchain is delayed.

[0047] In some embodiments, when a warning message is generated, the data to be written generated after the relevant operation can be delayed and uploaded to the chain, and the warning message can be sent to the supervision processing module configured in the monitoring node for processing, and the processing results of the supervision processing module can be recorded and saved.

[0048] In step 130, it is determined whether the data to be written is allowed to be written into the blockchain within the delay time. For example, it can be determined whether the data to be written is allowed to be written into the blockchain through manual review within the delay time.

[0049] In some embodiments, when the data on the chain generates an early warning, there will be a certain period of delay in the chain. During the delay, the supervision processing module has a veto to prohibit the data to be written from being uploaded to the chain.

[0050] In some embodiments, when it is determined that the data to be written is not allowed to be written into the blockchain, the relevant operation is recorded. When it is determined that the data to be written is allowed to be written into the blockchain, the relevant operation can also be recorded. The recorded relevant operation information can be used as traceability information, thereby improving the security and reliability of the data.

[0051] In this way, the method can monitor the authenticity of data and high-risk operations performed by nodes in real time and issue alarms in a timely manner, thereby improving the reliability of data.

[0052] In some embodiments, during the delay time, it is not determined whether the data to be written is allowed to be written into the blockchain. For example, during the delay time, the current regulatory department personnel cannot promptly confirm the true situation related to the warning information and need to further inquire and investigate, resulting in an operation timeout. In this case, Figure 2 The embodiments in

[0053] Figure 2 Flowcharts showing other embodiments of the data processing method of the present disclosure.

[0054] like Figure 2 As shown, the method may further include: step 210, writing into the blockchain as data to be confirmed; step 220, determining whether it is abnormal data; and step 230, modifying the data to be confirmed.

[0055] In step 210, if it is not determined whether to allow the data to be written to the blockchain within the delay time, the data to be written is written to the blockchain as data to be confirmed. In other words, if the data to be written cannot be processed in time, the data to be written can be temporarily allowed to be uploaded to the blockchain normally, but its authenticity is marked as pending.

[0056] In step 220, it is determined whether the data to be confirmed is abnormal data. For example, it can be determined whether the data to be confirmed is abnormal data by manual review.

[0057] In step 230, if the data is determined to be abnormal, the data to be confirmed in the blockchain is modified. For example, the blockchain may be extended and the data to be confirmed may be modified. The relevant operation content of the data to be confirmed may be recorded.

[0058] In some embodiments, if the data is determined to be non-abnormal, the warning information is cancelled. The relevant operation content of the data to be confirmed can also be recorded.

[0059] In some embodiments, this method can be applied to cross-institutional data sharing and supervision scenarios. For example, blockchain technology can be used to build a trusted distributed data exchange network to achieve cross-departmental, cross-industry, and cross-regional trusted data sharing and management. By introducing monitoring nodes, it has a veto power over the information on the chain, effectively curbing risks.

[0060] In some embodiments, this method can be applied to data sharing and monitoring scenarios within an organization. For example, blockchain technology is used to build a trusted distributed multi-level data exchange network, creating central system cluster nodes and branch system nodes. Monitoring nodes are introduced to have a veto over information on the chain, effectively curbing risks.

[0061] In some embodiments, the monitoring node is configured with a monitoring module, an early warning module, and a supervision processing module. The Public Security Bureau and various commissions and bureaus are nodes in the blockchain.

[0062] For example, the Public Security Bureau will share the collected citizen credit data among various internal commissions and bureaus. When the commission receives the data, the monitoring module will intervene to monitor the operation. The monitoring module consists of two parts: manual monitoring and intelligent monitoring. When illegal operations are detected, the information is reported to the early warning module. The early warning module records the received early warning information and sends the early warning information to the supervision processing module. After the supervision processing module receives the early warning information generated by the on-chain data, it first delays the information on the chain, and then determines whether the information is abnormal information. If it is abnormal information, the chain is extended and the error information is modified, and the operation content is recorded. For normal information, the information is recorded and the early warning is revoked.

[0063] This method is applicable to the smart city system. It can ensure the authenticity and accuracy of data while ensuring that the efficiency of data sharing within and between government agencies is not affected. At the same time, all data can be traced back to their source, which is highly secure and reliable. By combining supervision with early warning, the efficiency of supervision is greatly improved. It plays a practical role in the construction of smart cities.

[0064] In the above embodiment, after detecting that the data to be written into the blockchain is abnormal data, the writing of the data is delayed, and a secondary judgment is performed to determine whether the data is allowed to be written. In this way, an early warning mechanism is introduced into the original blockchain system, thereby ensuring the authenticity of the data and improving the reliability of the data.

[0065] Figure 3 A block diagram illustrating some embodiments of a blockchain node of the present disclosure.

[0066] like Figure 3 As shown, the blockchain node 3 includes a judgment unit 31, a delay unit 32 and a determination unit 33.

[0067] The judgment unit 31 generates data to be written in response to the node in the blockchain performing relevant operations, and uses an artificial intelligence method to judge whether the data to be written is abnormal data. For example, the judgment unit 31 determines whether the data to be written is abnormal data based on the historical data of the current business scenario.

[0068] In some embodiments, the judgment unit 31 judges whether the data to be written is abnormal data according to whether the relevant operation is an illegal operation. For example, the judgment unit 31 judges the relevant operation as an illegal operation when the relevant operation is illegal addition of information, illegal modification of information, illegal query of data, malicious deletion of data, or the relevant operation generates a complaint or dispute.

[0069] When the delay unit 32 determines that the data is abnormal data, it delays the time for writing the data to be written into the blockchain. The determination unit 33 determines whether to allow the data to be written to be written into the blockchain within the delay time.

[0070] Figure 4 A block diagram illustrating some other embodiments of the blockchain node of the present disclosure.

[0071] like Figure 4 As shown, compared with blockchain node 3, blockchain node 4 also includes a modification unit 44. If it is not determined whether to allow the data to be written to the blockchain within the delay time, the data to be written is written to the blockchain as data to be confirmed. The determination unit 33 determines whether the data to be confirmed is abnormal data. The modification unit 44 modifies the data to be confirmed in the blockchain when it is determined to be abnormal data.

[0072] In some embodiments, the blockchain node 4 further includes a recording unit 45. The recording unit 45 records the relevant operations when determining that the data to be written is not allowed to be written into the blockchain.

[0073] Figure 5 A block diagram showing some further embodiments of a blockchain node of the present disclosure.

[0074] like Figure 5 As shown, the blockchain node 5 of this embodiment includes: a memory 51 and a processor 52 coupled to the memory 51, and the processor 52 is configured to execute the data processing method in any one of the embodiments of the present disclosure based on the instructions stored in the memory 51.

[0075] The memory 51 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, a database, and other programs.

[0076] Figure 6 A block diagram illustrating some further embodiments of a blockchain node of the present disclosure.

[0077] like Figure 6As shown, the blockchain node 6 of this embodiment includes: a memory 610 and a processor 620 coupled to the memory 610, and the processor 620 is configured to execute the data processing method in any one of the aforementioned embodiments based on the instructions stored in the memory 610.

[0078] The memory 610 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs.

[0079] The blockchain node 6 may also include an input / output interface 630, a network interface 640, a storage interface 650, etc. These interfaces 630, 640, 650, the memory 610, and the processor 620 may be connected, for example, via a bus 660. The input / output interface 630 provides a connection interface for input / output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 640 provides a connection interface for various networked devices. The storage interface 650 provides a connection interface for external storage devices such as SD cards and USB flash drives.

[0080] In the above embodiment, after detecting that the data to be written into the blockchain is abnormal data, the writing of the data is delayed, and a secondary judgment is performed to determine whether the data is allowed to be written. In this way, an early warning mechanism is introduced into the original blockchain system, thereby ensuring the authenticity of the data and improving the reliability of the data.

[0081] Figure 7 A block diagram illustrating some embodiments of the blockchain of the present disclosure.

[0082] like Figure 7 As shown, the blockchain 7 includes the blockchain node 71 in one embodiment described above.

[0083] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0084] So far, the data processing method, blockchain, blockchain node and computer-readable storage medium according to the present disclosure have been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed here.

[0085] The method and system of the present disclosure may be implemented in many ways. For example, the method and system of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.

[0086] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims

1. A data processing method, executed by a monitoring node with a veto power in a blockchain, comprising: In response to data to be written being generated after other nodes in the blockchain perform relevant operations, an artificial intelligence method is used to determine whether the data to be written is abnormal data, including: determining whether the data to be written is abnormal data according to whether the relevant operation is an illegal operation, wherein if the relevant operation is illegal addition of information, illegal tampering of information, illegal query of data, malicious deletion of data, or the relevant operation generates a complaint or dispute, the relevant operation is determined to be an illegal operation; If the result of the judgment is abnormal data, delaying the time for writing the data to be written into the blockchain; During the delay time, determine whether the data to be written is allowed to be written into the blockchain, and record related operations.

2. The data processing method according to claim 1, wherein: The method of using an artificial intelligence method to determine whether the data to be written is abnormal data includes: Determine whether the data to be written is abnormal data based on historical data of the current business scenario.

3. The data processing method according to any one of claims 1 to 2, further comprising: If it is not determined within the delay time whether the data to be written is allowed to be written into the blockchain, writing the data to be written into the blockchain as data to be confirmed; Determining whether the data to be confirmed is abnormal data; If the data is determined to be abnormal data, the data to be confirmed in the blockchain is modified.

4. A device deployed on a blockchain with a veto power, including: A judgment unit, for responding to other nodes in the blockchain performing related operations and generating data to be written, and using an artificial intelligence method to judge whether the data to be written is abnormal data, wherein the judgment includes: judging whether the data to be written is abnormal data according to whether the related operation is an illegal operation, wherein when the related operation is illegal addition of information, illegal tampering of information, illegal query of data, malicious deletion of data, or the related operation generates a complaint or dispute, the related operation is judged to be an illegal operation; A delay unit, used for delaying the time for writing the to-be-written data into the blockchain when the judgment result is abnormal data; A determination unit, used to determine whether to allow the data to be written to be written into the blockchain within a delay time; A recording unit is used to record relevant operations after determining whether the data to be written is allowed to be written into the blockchain.

5. The device according to claim 4, wherein: The judgment unit determines whether the data to be written is abnormal data according to historical data of the current business scenario.

6. The device according to any one of claims 4 to 5, wherein If it is not determined within the delay time whether the data to be written is allowed to be written into the blockchain, the data to be written is written into the blockchain as data to be confirmed; The determining unit determines whether the data to be confirmed is abnormal data; Also includes: A modification unit is used to modify the data to be confirmed in the blockchain when it is determined to be abnormal data.

7. A device deployed on a blockchain, comprising: Memory; and A processor coupled to the memory, wherein the processor is configured to execute the data processing method according to any one of claims 1 to 3 based on instructions stored in the memory device.

8. A system comprising: The device according to any one of claims 4 to 7.

9. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the data processing method according to any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Data processing method based on block chain platform

    CN106506493A

  • Data transmission method, block chain node and distributed database

    CN106649838A

  • Method and device for monitoring transaction data, storage medium and electronic device

    CN109409134A