CN114124641B - Block chain exception service processing method, device, equipment and readable storage medium - Google Patents

Block chain exception service processing method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN114124641B
CN114124641B CN202111418285.7A CN202111418285A CN114124641B CN 114124641 B CN114124641 B CN 114124641B CN 202111418285 A CN202111418285 A CN 202111418285A CN 114124641 B CN114124641 B CN 114124641B
Authority
CN
China
Prior art keywords
voting
data
abnormal
service data
nodes
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
CN202111418285.7A
Other languages
Chinese (zh)
Other versions
CN114124641A (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.)
Chengdu Quality Starker Technology Co Ltd
Original Assignee
Chengdu Quality Starker Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Quality Starker Technology Co Ltd filed Critical Chengdu Quality Starker Technology Co Ltd
Priority to CN202111418285.7A priority Critical patent/CN114124641B/en
Publication of CN114124641A publication Critical patent/CN114124641A/en
Application granted granted Critical
Publication of CN114124641B publication Critical patent/CN114124641B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/30Decision processes by autonomous network management units using voting and bidding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of blockchains, in particular to a blockchain abnormal service processing method, a device, equipment and a readable storage medium, wherein the method comprises the following steps: acquiring abnormal service data; according to the abnormal service data, respectively sending voting requests to a plurality of voting nodes; receiving the voting result sent by each voting node and generating voting data; sending the voting data to a master node; receiving the voting data sent by a master node, and executing abnormal service data in the voting data according to the voting data; according to the invention, the voting nodes special for processing the abnormal data are arranged in the blockchain network, so that the flushing operation is performed on the abnormal service data, and the service scene operation requirement that the service data which are already linked cannot be flushed due to personnel or mechanical faults is effectively prevented.

Description

Block chain exception service processing method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a blockchain abnormal service processing method, device, equipment and readable storage medium.
Background
The block chain technology is a technology based on a decentralised or multicentric distributed protocol, a consensus algorithm, asymmetric key signature, hash and the like, and is constructed to safely store digital asset information, the information cannot be forged and tampered, all nodes on a block chain network execute transactions respectively, and the result confirmation is completed together, so that the consistency of executing the transactions by all the nodes is ensured by the consensus algorithm. All nodes in the blockchain network maintain a public account book and ensure that the public account book cannot be forged and tampered.
However, in an actual service scenario, the transaction system cannot ensure that each transaction data is executed correctly, and no omission occurs, so that the existing blockchain network is required to be able to flush the abnormal service data.
Disclosure of Invention
The invention aims to provide a block chain abnormal service processing method, a device, equipment and a readable storage medium, so as to solve the problems.
In order to achieve the above purpose, the embodiment of the present application provides the following technical solutions:
in one aspect, an embodiment of the present application provides a method for processing a blockchain exception service, where the method is adapted to any node in a blockchain network, and includes:
acquiring abnormal service data, wherein the abnormal service data is the service data to be flushed;
respectively sending voting requests to a plurality of voting nodes according to the abnormal service data, wherein the voting requests are used for triggering the voting nodes to initiate voting according to the abnormal service data and feeding back voting results;
receiving the voting result sent by each voting node, and generating voting data, wherein the voting data comprises abnormal service data, a voting strategy and a plurality of voting results;
the voting data are sent to a master node, and the voting data are used for triggering the master node to respectively send the voting data to each node in a blockchain network;
receiving the voting data sent by a master node;
and executing abnormal service data in the voting data according to the voting strategy and a plurality of voting results in the voting data.
Optionally, the sending a voting request to a plurality of voting nodes according to the abnormal service data includes:
calling the abnormal service data;
according to the type of the abnormal service data, a corresponding voting strategy is called, wherein the voting strategy is a voting consensus rule;
determining a plurality of voting nodes according to the voting strategy, wherein the voting nodes are institution nodes with voting weights;
and respectively sending voting requests to the voting nodes.
Optionally, after the obtaining the abnormal service data, the method further includes:
invoking the abnormal service data, wherein the abnormal service data comprises a user signature of a data initiator;
detecting the validity of the user signature, if the user signature is valid, checking and calling associated data of abnormal service data, wherein the associated data is data which is called or based on the abnormal service data in the generation process;
and judging the abnormal condition of the abnormal service data according to the associated data, and generating an abnormal analysis report if the abnormal condition exists.
Optionally, the executing abnormal service data in the voting data includes:
calling a user account of a data initiator corresponding to the abnormal service data;
executing a positive flushing operation on the user account book according to the abnormal data analysis report, wherein the positive flushing operation is to generate new account data according to the abnormal data analysis report to cover the previous account book data;
and sending a positive flushing notification to the terminal of the data initiator, wherein the positive flushing notification is used for prompting the data initiator that the account data is corrected.
Optionally, after the voting requests are sent to the plurality of voting nodes respectively, the method further includes:
receiving a plurality of voting results within a preset time period;
detecting whether a plurality of voting results meet the execution requirement of the voting strategy, and if the plurality of voting results meet the voting strategy, generating voting data;
receiving the voting result sent by each voting node, and generating voting data, wherein the voting data comprises abnormal service data, a voting strategy and a plurality of voting results;
the voting data are sent to a master node, and the voting data are used for triggering the master node to respectively send the voting data to each node in a blockchain network;
receiving the voting data sent by a master node;
and executing abnormal service data in the voting data according to the voting strategy and a plurality of voting results in the voting data.
Optionally, the detecting whether the plurality of voting results meet the execution requirement of the voting strategy includes:
detecting a lowest vote threshold value and a key seat vote number of the voting strategy, wherein the lowest vote threshold value is the proportion of the received vote number to a preset total vote number, and the preset total vote number is the vote number which is set in the voting strategy in advance;
counting the number of the voting results, judging whether the number of the voting results meets the lowest ballot number threshold, if the number of the voting results meets the lowest ballot number threshold, respectively detecting identity information of the voting nodes corresponding to each voting result, judging whether the number of the voting results meets the number of key seats, and if so, judging that a plurality of voting results meet the voting strategy.
Optionally, after the voting requests are sent to the plurality of voting nodes respectively, the method further includes:
receiving a plurality of voting results within a preset time period;
detecting whether a plurality of voting results meet execution requirements of the voting strategies, if the plurality of voting results do not meet the voting strategies, executing screening operation, wherein the screening operation is to screen out identity information of voting nodes which do not vote in a preset time period, and sending an emergency fault instruction to operation and maintenance personnel of the corresponding voting nodes according to the identity information, wherein the emergency fault instruction is information for prompting the operation and maintenance personnel that the voting nodes responsible for the operation and maintenance personnel have faults.
In a second aspect, an embodiment of the present application provides a blockchain exception service processing apparatus, where the apparatus includes:
the first acquisition module is used for acquiring abnormal service data, wherein the abnormal service data are service data which need to be punched;
the first calculation module is used for respectively sending voting requests to a plurality of voting nodes according to the abnormal service data, wherein the voting requests are used for triggering the voting nodes to initiate voting according to the abnormal service data and feeding back voting results;
the second calculation module is used for receiving the voting result sent by each voting node and generating voting data, wherein the voting data comprises abnormal service data, a voting strategy and a plurality of voting results;
the first sending module is used for sending the voting data to a master node, and the voting data is used for triggering the master node to respectively send the voting data to each node in a blockchain network;
and the third calculation module is used for receiving the voting data sent by the master node and executing abnormal service data in the voting data according to the voting strategy and a plurality of voting results in the voting data.
In a third aspect, an embodiment of the present application provides a blockchain exception service processing device, where the device includes a memory and a processor. The memory is used for storing a computer program; the processor is used for implementing the steps of the block chain exception service processing method when executing the computer program.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the blockchain exception service processing method described above.
The beneficial effects of the invention are as follows:
according to the invention, the voting nodes special for processing the abnormal data are arranged in the blockchain network, when the abnormal service data are found, the nodes found out to be the abnormal service data can call the voting strategy matched with the abnormal service data, the voting request for flushing the abnormal data is sent to the corresponding voting nodes according to the voting strategy, and then the voting results of the voting nodes are consensus, so that the flushing operation is carried out on the abnormal service data, and the operation requirement that the service data which are already linked cannot be flushed due to personnel or mechanical faults is effectively prevented.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method for handling abnormal block chain traffic according to an embodiment of the present invention;
FIG. 2 is a schematic block chain exception handling apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a blockchain exception service processing device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals or letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Example 1
As shown in fig. 1, the present embodiment provides a blockchain exception service processing method, which includes step S1, step S2, step S3, step S4, step S5, and step S6.
S1, acquiring abnormal service data, wherein the abnormal service data is service data to be flushed, and the abnormal service data can be generated by detecting a mechanism abnormal detection system such as daily cut check-out among mechanisms or submitting abnormal service correction approval after finding by a user of a mechanism node;
secondly, in this embodiment, if the abnormal service is submitted after being found by the user of the mechanism node, after the mechanism node receives the service, the authenticity or validity of the data needs to be checked, and after the check is passed, the subsequent flushing operation is performed, and a specific checking mode may be:
s11, calling the abnormal service data, wherein the abnormal service data comprises a user signature of a data initiator;
s12, detecting the validity of the user signature, and if the user signature is valid, checking and calling associated data of abnormal service data;
s13, judging the abnormal condition of the abnormal service data according to the associated data, if the abnormal condition exists, generating an abnormal analysis report, wherein the abnormal analysis report is used for facilitating the voting node to verify the generation process of the abnormal service data, and further voting whether to allow the abnormal service data to be processed.
S2, respectively sending voting requests to a plurality of voting nodes according to the abnormal service data, wherein the voting requests are used for triggering the voting nodes to initiate voting according to the abnormal service data and feeding back voting results;
in this embodiment, the specific operation of sending the voting request to the plurality of voting nodes according to the abnormal service data in step S2 is as follows:
s21, calling the abnormal service data;
s22, according to the type of the abnormal service data, a corresponding voting strategy is called, the voting strategy is a voting consensus rule, the voting strategy is formulated in a multiparty negotiation mode according to the action of a plurality of service participants in service activities, authoritative node parties need to be elected in the negotiation process, the authoritative participants are set as voting nodes with voting rights, so that the types of the service data are different, the participants participating in the service activities are also different, and the corresponding voting strategies are also different;
s23, determining a plurality of voting nodes according to the voting strategy, wherein the voting nodes are mechanism nodes with voting rights;
and S24, respectively sending voting requests to the voting nodes.
Next, in step S2, after the voting request is sent to each of the plurality of voting nodes, the specific operation when receiving the voting result sent by the voting node is:
s25, receiving a plurality of voting results in a preset time period;
s26, detecting whether a plurality of voting results meet execution requirements of the voting strategies, and if so, generating voting data;
in step S26, a specific manner of detecting whether the plurality of voting results meet the execution requirement of the voting strategy may be:
s261, detecting a lowest vote threshold value and a key seat vote number of the voting strategy, wherein the lowest vote threshold value is the proportion of the received vote number to a preset total vote number, and the preset total vote number is the vote number which is set in the voting strategy in advance;
s262, counting the number of the voting results, judging whether the number of the voting results meets the lowest ballot number threshold, if the number of the voting results meets the lowest ballot number threshold, respectively detecting identity information of the voting nodes corresponding to each voting result, judging whether the number of the voting results meets the number of key seats, and if so, judging that a plurality of voting results meet the voting strategy.
S27, receiving the voting result sent by each voting node, and generating voting data, wherein the voting data comprises abnormal service data, a voting strategy and a plurality of voting results;
step S28, the voting data are sent to a master node, and the voting data are used for triggering the master node to respectively send the voting data to each node in a blockchain network;
s29, receiving the voting data sent by the master node;
and S210, executing abnormal service data in the voting data according to the voting strategy and a plurality of voting results in the voting data.
S3, receiving the voting result sent by each voting node, and generating voting data, wherein the voting data comprises abnormal service data, a voting strategy and a plurality of voting results;
s4, sending the voting data to a master node, wherein the voting data is used for triggering the master node to respectively send the voting data to each node in a blockchain network;
s5, receiving the voting data sent by the master node;
s6, executing abnormal service data in the voting data according to the voting strategy and a plurality of voting results in the voting data.
In this embodiment, if the abnormal service data is submitted by the user in step S6, the specific operation of executing the abnormal service data in the voting data may be:
s61, a user account of a data initiator corresponding to the abnormal service data is called, the user account is a local private account of a node server, and then the node records the correction operation on a public account;
s62, executing a positive flushing operation on the user account book according to the abnormal data analysis report, wherein the positive flushing operation is to generate new account data according to the abnormal data analysis report to cover the previous account book data;
and S63, sending a positive flushing notification to the terminal of the data initiator, wherein the positive flushing notification is used for prompting the data initiator that the account data is corrected.
Example 2
Based on the above-described embodiment 1, in step S2 in embodiment 1, in the case where the abnormal traffic data discovery node transmits voting requests to the plurality of voting nodes, respectively, there is a case where the voting nodes cannot vote in time, in which case, how is the abnormal traffic data to be handled? The present embodiment gives a solution that is:
s211, receiving a plurality of voting results in a preset time period;
step S212, detecting whether a plurality of voting results meet execution requirements of the voting strategies, if the plurality of voting results do not meet the voting strategies, executing screening operation, wherein the screening operation is to screen out identity information of voting nodes which do not vote in a preset time period, and sending an emergency fault instruction to operation staff of the corresponding voting nodes according to the identity information, wherein the emergency fault instruction is information for prompting the operation staff that the voting nodes responsible for the operation staff have faults.
Example 3
As shown in fig. 2, the present embodiment provides a blockchain exception service processing apparatus, which includes:
a first obtaining module 701, configured to obtain abnormal service data, where the abnormal service data is service data that needs to be flushed;
a first calculation module 702, configured to send voting requests to a plurality of voting nodes according to the abnormal service data, where the voting requests are used to trigger the voting nodes to initiate voting according to the abnormal service data, and feed back a voting result;
a second calculation module 703, configured to receive the voting result sent by each voting node, and generate voting data, where the voting data includes abnormal service data, a voting strategy, and a plurality of voting results;
a first sending module 704, configured to send the voting data to a master node, where the voting data is used to trigger the master node to send the voting data to each node in a blockchain network respectively;
and a third calculation module 706, configured to receive the voting data sent by the master node, and execute abnormal service data in the voting data according to the voting strategy and the multiple voting results in the voting data.
It should be noted that, regarding the apparatus in the above embodiments, the specific manner in which the respective modules perform the operations has been described in detail in the embodiments regarding the method, and will not be described in detail herein.
Example 4
Corresponding to the above method embodiments, the embodiments of the present disclosure further provide a blockchain exception service processing device, where a blockchain exception service processing device described below and a blockchain exception service processing method described above may be referred to correspondingly with each other.
FIG. 3 is a block diagram illustrating a blockchain exception service processing device 800 in accordance with an exemplary embodiment. As shown in fig. 3, the electronic device 800 may include: a processor 801, a memory 802. The electronic device 800 may also include one or more of a multimedia component 803, an input/output (I/O) interface 804, and a communication component 805.
The processor 801 is configured to control overall operation of the electronic device 800 to perform all or part of the steps in the blockchain exception service processing method described above. The memory 402 is used to store various types of data to support operation on the electronic device 800, which may include, for example, instructions for any application or method operating on the electronic device 800, as well as application-related data, such as contact data, messages sent and received, pictures, audio, video, and so forth. The Memory 802 may be implemented by any type or combination of volatile or non-volatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM for short), electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), erasable programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM for short), programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), read-Only Memory (ROM for short), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia component 803 may include a screen and an audio component. Wherein the screen may be, for example, a touch screen, the audio component being for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signals may be further stored in the memory 802 or transmitted through the communication component 805. The audio assembly further comprises at least one speaker for outputting audio signals. The I/O interface 804 provides an interface between the processor 801 and other interface modules, which may be a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the electronic device 800 and other devices. Wireless communication, such as Wi-Fi, bluetooth, near field communication (Near FieldCommunication, NFC for short), 2G, 3G or 4G, or a combination of one or more thereof, the respective communication component 805 may thus comprise: wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic device 800 can be implemented by one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), digital signal processors (DigitalSignal Processor, abbreviated as DSP), digital signal processing devices (Digital Signal Processing Device, abbreviated as DSPD), programmable logic devices (Programmable Logic Device, abbreviated as PLD), field programmable gate arrays (Field Programmable Gate Array, abbreviated as FPGA), controllers, microcontrollers, microprocessors, or other electronic components for performing the blockchain exception service processing method described above.
In another exemplary embodiment, a computer readable storage medium is also provided that includes program instructions that, when executed by a processor, implement the steps of the blockchain exception service processing method described above. For example, the computer readable storage medium may be the memory 802 described above including program instructions executable by the processor 801 of the electronic device 800 to perform the blockchain exception service handling method described above.
Example 5
Corresponding to the above method embodiments, the present disclosure further provides a readable storage medium, where a readable storage medium described below and a blockchain exception service processing method described above may be referred to correspondingly.
A readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the blockchain exception service handling method of the method embodiment described above.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, and the like.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for handling blockchain exception traffic, the method being adapted to any node in a blockchain network, comprising:
acquiring abnormal service data, wherein the abnormal service data is the service data to be flushed;
according to the type of the abnormal service data, a corresponding voting strategy is called, a plurality of voting nodes are determined according to the voting strategy, voting requests are respectively sent to the plurality of voting nodes, and the voting requests are used for triggering the voting nodes to initiate voting according to the abnormal service data and feeding back voting results;
receiving the voting result sent by each voting node, and generating voting data, wherein the voting data comprises abnormal business data, a voting strategy and a plurality of voting results;
the voting data are sent to a master node, and the voting data are used for triggering the master node to respectively send the voting data to each node in a blockchain network;
receiving the voting data sent by a master node, and executing abnormal service data in the voting data according to the voting strategy and a plurality of voting results in the voting data, wherein if the abnormal service data is submitted by a user, executing the abnormal service data in the voting data comprises:
invoking a user account of a data initiator corresponding to the abnormal service data, wherein the user account is a local private account of a node server;
and executing a positive flushing operation on the user account according to the abnormal data analysis report, wherein the positive flushing operation is to generate new account data according to the abnormal data analysis report to cover the previous account data.
2. The blockchain exception service processing method of claim 1, wherein the sending a voting request to each of a plurality of voting nodes according to the exception service data comprises:
calling the abnormal service data;
according to the type of the abnormal service data, a corresponding voting strategy is called, wherein the voting strategy is a voting consensus rule;
determining a plurality of voting nodes according to the voting strategy, wherein the voting nodes are institution nodes with voting weights;
and respectively sending voting requests to the voting nodes.
3. The blockchain exception service processing method of claim 1, further comprising, after the acquiring the exception service data:
invoking the abnormal service data, wherein the abnormal service data comprises a user signature of a data initiator;
detecting the validity of the user signature, if the user signature is valid, checking and calling associated data of abnormal service data, wherein the associated data is data which is called or based on the abnormal service data in the generation process;
and judging the abnormal condition of the abnormal service data according to the associated data, and generating an abnormal analysis report if the abnormal condition exists.
4. The blockchain exception service processing method of claim 1, wherein after performing a flushing operation on the user ledger according to an exception data analysis report, further comprising:
and sending a positive flushing notification to the terminal of the data initiator, wherein the positive flushing notification is used for prompting the data initiator that the account data is corrected.
5. The blockchain exception service processing method of claim 1, wherein after sending the voting requests to the plurality of voting nodes, respectively, further comprising:
receiving a plurality of voting results within a preset time period;
detecting whether a plurality of voting results meet the execution requirement of the voting strategy, and if the plurality of voting results meet the voting strategy, generating voting data;
receiving the voting result sent by each voting node, and generating voting data, wherein the voting data comprises abnormal service data, a voting strategy and a plurality of voting results;
the voting data are sent to a master node, and the voting data are used for triggering the master node to respectively send the voting data to each node in a blockchain network; receiving the voting data sent by a master node;
and executing abnormal service data in the voting data according to the voting strategy and a plurality of voting results in the voting data.
6. The blockchain exception service processing method of claim 5, wherein the detecting whether a plurality of the voting results meet the execution requirement of the voting strategy comprises:
detecting a lowest vote threshold value and a key seat vote number of the voting strategy, wherein the lowest vote threshold value is the proportion of the received vote number to a preset total vote number, and the preset total vote number is the vote number which is set in the voting strategy in advance;
counting the number of the voting results, judging whether the number of the voting results meets the lowest ballot number threshold, if the number of the voting results meets the lowest ballot number threshold, respectively detecting identity information of the voting nodes corresponding to each voting result, judging whether the number of the voting results meets the number of key seats, and if so, judging that a plurality of voting results meet the voting strategy.
7. The blockchain exception service processing method of claim 1, wherein after sending the voting requests to the plurality of voting nodes, respectively, further comprising:
receiving a plurality of voting results within a preset time period;
detecting whether a plurality of voting results meet execution requirements of the voting strategies, if the plurality of voting results do not meet the voting strategies, executing screening operation, wherein the screening operation is to screen out identity information of voting nodes which do not vote in a preset time period, and sending an emergency fault instruction to operation and maintenance personnel of the corresponding voting nodes according to the identity information, wherein the emergency fault instruction is information for prompting the operation and maintenance personnel that the voting nodes responsible for the operation and maintenance personnel have faults.
8. A blockchain exception service handling apparatus, comprising:
the first acquisition module is used for acquiring abnormal service data, wherein the abnormal service data are service data which need to be punched;
the first calculation module is used for calling a corresponding voting strategy according to the type of the abnormal service data, determining a plurality of voting nodes according to the voting strategy, respectively sending voting requests to the plurality of voting nodes, wherein the voting requests are used for triggering the voting nodes to initiate voting according to the abnormal service data and feeding back voting results;
the second calculation module is used for receiving the voting result sent by each voting node and generating voting data, wherein the voting data comprises abnormal service data, a voting strategy and a plurality of voting results;
the first sending module is used for sending the voting data to a master node, and the voting data is used for triggering the master node to respectively send the voting data to each node in a blockchain network;
the third calculation module is configured to receive the voting data sent by the master node, and execute abnormal service data in the voting data according to the voting strategy and the multiple voting results in the voting data, where if the abnormal service data is submitted by a user, executing the abnormal service data in the voting data includes:
invoking a user account of a data initiator corresponding to the abnormal service data, wherein the user account is a local private account of a node server;
and executing a positive flushing operation on the user account according to the abnormal data analysis report, wherein the positive flushing operation is to generate new account data according to the abnormal data analysis report to cover the previous account data.
9. A blockchain exception service handling apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the blockchain exception service processing method of any of claims 1 to 7 when executing the computer program.
10. A readable storage medium, characterized by: the readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the blockchain exception service handling method of any of claims 1 to 7.
CN202111418285.7A 2021-11-26 2021-11-26 Block chain exception service processing method, device, equipment and readable storage medium Active CN114124641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111418285.7A CN114124641B (en) 2021-11-26 2021-11-26 Block chain exception service processing method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111418285.7A CN114124641B (en) 2021-11-26 2021-11-26 Block chain exception service processing method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN114124641A CN114124641A (en) 2022-03-01
CN114124641B true CN114124641B (en) 2023-06-02

Family

ID=80369647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111418285.7A Active CN114124641B (en) 2021-11-26 2021-11-26 Block chain exception service processing method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114124641B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324663A (en) * 2020-01-22 2020-06-23 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium
WO2021120253A1 (en) * 2019-12-16 2021-06-24 郑杰骞 Data storage method and verification method for blockchain structure, blockchain structure implementation method, blockchain-structured system, device, and medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10819722B2 (en) * 2018-03-21 2020-10-27 Honeywell International Inc. Blockchain for securing distributed IIoT or edge device data at rest
US10795882B2 (en) * 2019-04-30 2020-10-06 Alibaba Group Holding Limited Blockchain-based data compression and searching
CN110808839B (en) * 2019-10-30 2022-07-12 百度在线网络技术(北京)有限公司 Processing method, device, equipment and medium for block chain abnormal data
CN110781200B (en) * 2019-10-30 2022-07-08 百度在线网络技术(北京)有限公司 Processing method, device, equipment and medium for block chain abnormal data
CN111338574B (en) * 2020-02-20 2022-07-08 平安科技(深圳)有限公司 Data self-repairing method, device, medium and electronic equipment based on block chain
CN112163856A (en) * 2020-10-09 2021-01-01 北京邮电大学 Consensus method and system for block chain and Internet of things fusion scene
CN113163011A (en) * 2021-04-21 2021-07-23 深圳壹账通智能科技有限公司 Method, system, device and storage medium for modifying data in block chain

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021120253A1 (en) * 2019-12-16 2021-06-24 郑杰骞 Data storage method and verification method for blockchain structure, blockchain structure implementation method, blockchain-structured system, device, and medium
CN111324663A (en) * 2020-01-22 2020-06-23 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium

Also Published As

Publication number Publication date
CN114124641A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
CN111416808B (en) Cross-block-chain data mutual storage method, device, equipment and storage medium
US8010840B2 (en) Generation of problem tickets for a computer system
CN114092252B (en) Block chain transaction execution method, device, equipment and readable storage medium
US10958780B1 (en) Decentralized automatic phone fraud risk management
CN111144083A (en) Report generation method, device, equipment and computer readable storage medium
US20220394120A1 (en) Generating a screening interface for communications
CN111698315A (en) Data processing method and device for block and computer equipment
CN111552942B (en) Identity authentication method, system, device and computer storage medium
CN112581129A (en) Block chain transaction data management method and device, computer equipment and storage medium
JP2011154657A (en) Emergency communication system and method using atm
CN114124641B (en) Block chain exception service processing method, device, equipment and readable storage medium
CN111367934B (en) Data consistency checking method, device, server and medium
CN109741073B (en) Block chain examination attack processing method and system, electronic equipment and storage medium
CN110532810B (en) Information processing method and device, electronic equipment and readable storage medium
CN113763178A (en) Multi-block chain cross-chain transaction method, device, equipment and readable storage medium
CN114500651B (en) Block chain data transmission method, device and equipment and readable storage medium
CN113987574A (en) Block chain private transaction method, device, equipment and readable storage medium
CN114363839A (en) Fraud data early warning method, device, equipment and storage medium
CN111553796A (en) Exchange rate management method and device and computer readable storage medium
CN114066451A (en) Method and system for managing fund transaction and electronic equipment
CN109587241B (en) Data sharing method and equipment
CN113537787A (en) Block chain transaction monitoring method
US20190139132A1 (en) Method and System for Automatically Processing Corporate Action Events
CN111953540A (en) Message generation method and device, electronic equipment and storage medium
CN114928649B (en) Multi-platform service realization method, device and equipment based on block chain

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