CN109919521A - Block chain operation confirmation method and device and electronic equipment - Google Patents
Block chain operation confirmation method and device and electronic equipment Download PDFInfo
- Publication number
- CN109919521A CN109919521A CN201910275538.6A CN201910275538A CN109919521A CN 109919521 A CN109919521 A CN 109919521A CN 201910275538 A CN201910275538 A CN 201910275538A CN 109919521 A CN109919521 A CN 109919521A
- Authority
- CN
- China
- Prior art keywords
- block chain
- risk
- block
- condition
- risk class
- 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.)
- Granted
Links
Abstract
The embodiment of the invention provides a block chain operation confirmation method, a block chain operation confirmation device and electronic equipment, wherein the method comprises the following steps: under the condition that a target block where a block chain operation is generated is located, acquiring a risk state of the block chain operation; and if the risk state meets a preset state condition, confirming the block chain operation. The embodiment of the invention can improve the working efficiency.
Description
Technical field
The present invention relates to Internet technical fields more particularly to a kind of block chain operation acknowledgement method, apparatus and electronics to set
It is standby.
Background technique
With the development of block chain technology, block chain technical application is more and more extensive, such as: it is handed over by block chain
Easily, it the operation of blocks chain such as announces the winners in a lottery and auctions.However, being grasped at present when carrying out the operation of block chain using block chain in the block chain
Make after corresponding block generates, then 6 blocks on chain, just above-mentioned block chain is operated carry out confirmation operation (such as: confirmation operation
Success), that is, it needs just operate block chain progress confirmation operation after waiting 6 blocks, it is low so as to cause working efficiency.
Summary of the invention
The embodiment of the present invention provides a kind of block chain operation acknowledgement method, apparatus and electronic equipment, to solve working efficiency
Low problem.
In a first aspect, the embodiment of the present invention provides a kind of block chain operation acknowledgement method characterized by comprising
In the case where the target block where block chain generates the operation of block chain, the risk of the block chain operation is obtained
State;
If the risk status meets preset state condition, the block chain is operated and carries out confirmation operation.
Optionally, if the risk status meets preset state condition, block chain operation is confirmed
Operation, comprising:
If the risk class that the risk status indicates is lower than default risk class, block chain operation is carried out true
Recognize operation;
The method also includes:
If the risk class that the risk status indicates is at or above the default risk class, in the block
In the case where regenerating at least one block after the chain generation target block, confirmation behaviour is carried out to block chain operation
Make.
Optionally, if the risk status meets first condition, second condition or third condition, the risk status
The risk class of expression is at or above the default risk class;
Wherein, the first condition is to have new node addition in the block chain;
The second condition is that the block chain operates the block that corresponding user carries out twice in succession in the block chain
The interval duration of chain operation is less than preset time threshold;
The third condition is that the block chain operates corresponding operand value more than average operation numerical value, wherein described
Average operation numerical value is the mean value that the block chain operates the operand value of corresponding user within a preset time.
Optionally, described the case where regenerating at least one block after the block chain generates the target block
Under, the block chain is operated and carries out confirmation operation, comprising:
In the case where regenerating N number of block after the block chain generates the target block, the block chain is grasped
Make carry out confirmation operation, wherein the N is corresponding with the risk class that the risk status indicates, and the value of the N and institute
Risk class is stated to be positively correlated.
Second aspect, the embodiment of the present invention provide a kind of block chain operation acknowledgement device, comprising:
Module is obtained, for obtaining the area in the case where target block where block chain generates the operation of block chain
The risk status of block chain operation;
First confirmation module, if meeting preset state condition for the risk status, to the block chain operate into
Row confirmation operation.
Optionally, if first confirmation module is lower than default levels of risk for the risk class that the risk status indicates
Not, then the block chain is operated and carries out confirmation operation;
Described device further include:
Second confirmation module, if the risk class for the risk status to indicate is at or above the default risk
Rank, then in the case where regenerating at least one block after the block chain generates the target block, to the block
Chain operation carries out confirmation operation.
Optionally, if the risk status meets first condition, second condition or third condition, the risk status
The risk class of expression is at or above the default risk class;
Wherein, the first condition is to have new node addition in the block chain;
The second condition is that the block chain operates the block that corresponding user carries out twice in succession in the block chain
The interval duration of chain operation is less than preset time threshold;
The third condition is that the block chain operates corresponding operand value more than average operation numerical value, wherein described
Average operation numerical value is the mean value that the block chain operates the operand value of corresponding user within a preset time.
Optionally, if risk class of second confirmation module for the risk status to indicate is at or above in advance
If risk class, then in the case where regenerating N number of block after the block chain generates the target block, to the block
Chain operation carries out confirmation operation, wherein the N is corresponding with the risk class that the risk status indicates, and the value of the N
It is positively correlated with the risk class.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, including processor, memory and are stored in described deposit
On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor
The step of block chain operation acknowledgement method provided in an embodiment of the present invention.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium
Computer program is stored in matter, the computer program realizes block chain provided in an embodiment of the present invention when being executed by processor
The step of operation acknowledgement method.
In the embodiment of the present invention, in the case where the target block where block chain generates the operation of block chain, described in acquisition
The risk status of block chain operation;If the risk status meets preset state condition, block chain operation is carried out true
Recognize operation.In this way in the case where risk status meets preset state condition, block chain is operated and carries out confirmation operation, so as to
Improve working efficiency.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of flow chart of block chain operation acknowledgement method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another block chain operation acknowledgement method provided in an embodiment of the present invention;
Fig. 3 is a kind of system schematic of block chain operation acknowledgement method provided in an embodiment of the present invention;
Fig. 4 is a kind of structure chart of block chain operation acknowledgement device provided in an embodiment of the present invention;
Fig. 5 is the structure chart of another block chain operation acknowledgement device provided in an embodiment of the present invention;
Fig. 6 is the structure chart of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Term " includes " and its any deformation in the description and claims of this application, it is intended that covering
Non-exclusive includes, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to clearly
Those of list to Chu step or unit, but may include be not clearly listed or for these process, methods, product or
The intrinsic other step or units of equipment.In addition, indicating institute's connecting object using "and/or" in specification and claim
At least one, such as A and/or B, indicate to include independent A, independent B and A and B have three kinds of situations.
In embodiments of the present invention, " illustrative " or " such as " etc. words for indicate make example, illustration or explanation.This
Be described as in inventive embodiments " illustrative " or " such as " any embodiment or design scheme be not necessarily to be construed as comparing
Other embodiments or design scheme more preferably or more advantage.Specifically, use " illustrative " or " such as " etc. words purport
Related notion is being presented in specific ways.
Referring to Figure 1, Fig. 1 is a kind of flow chart of block chain operation acknowledgement method provided in an embodiment of the present invention, such as Fig. 1
It is shown, comprising the following steps:
Step 101, in the case where the target block where block chain generates the operation of block chain, obtain block chain behaviour
The risk status of work.
In the embodiment of the present invention, above-mentioned block chain operation, which can be transaction, prize drawing, auction etc., can be used the progress of block chain
Operation.And the target block where above-mentioned block chain operation can be the block for carrying out block chain operation, or can claim
Note down the block chain operation data block.
And the risk status of the above-mentioned acquisition block chain operation can be by obtain it is all on above-mentioned block chain or
The parameter of Partial Block chain operation, to obtain above-mentioned risk status, alternatively, can be by monitor above-mentioned block chain it is all or
Part of nodes, to obtain above-mentioned risk status.In addition, above-mentioned risk status can indicate above-mentioned block chain operation with the presence or absence of wind
Danger, or can indicate the risk class of above-mentioned block chain operation.
If step 102, the risk status meet preset state condition, confirmation behaviour is carried out to block chain operation
Make.
Wherein, above-mentioned preset state condition can be is arranged before executing step 102, which can be with
It is that there is no risks or risk class to be lower than default risk class.
It is above-mentioned that block chain operation progress confirmation operation can be, above-mentioned block chain is operated and carries out result confirmation,
Such as: determination operates successfully.In addition, after step 102, the confirmation of above-mentioned confirmation operation can also be exported as a result, for example: to
User or server return to operation acknowledgement result.
It should be noted that above-mentioned can be block chain operation progress confirmation operation, generated in above-mentioned block chain
The block chain is operated before next block of above-mentioned target block and carries out confirmation operation.Or can be, in judgement
It states to operate the block chain when risk status meets preset state condition and carries out confirmation operation.
It should be noted that in the embodiment of the present invention, if the risk status is unsatisfactory for preset state condition, above-mentioned side
Method can be in the case where regenerating at least one block after the block chain generates the target block, to the block chain
Operation carries out confirmation operation.Such as: in the case where 5 or 6 blocks of regeneration, the block chain is operated and carries out confirmation operation.
It should be noted that can be applied to can for the above-mentioned block chain operation acknowledgement method provided in the embodiment of the present invention
Based on the electronic equipment that block chain is operated, such as: the electronic equipments such as server, computer, mobile phone, tablet computer, and should
Electronic equipment can be a node of above-mentioned block chain.
In the embodiment of the present invention, in the case where the target block where block chain generates the operation of block chain, described in acquisition
The risk status of block chain operation;If the risk status meets preset state condition, block chain operation is carried out true
Recognize operation.In this way in the case where risk status meets preset state condition, block chain is operated and carries out confirmation operation, so as to
Improve working efficiency.
Fig. 2 is referred to, Fig. 2 is the flow chart of another block chain operation acknowledgement method provided in an embodiment of the present invention, such as
Shown in Fig. 2, comprising the following steps:
Step 201, in the case where the target block where block chain generates the operation of block chain, obtain block chain behaviour
The risk status of work.
In one embodiment, the risk status of the above-mentioned acquisition block chain operation can be the wind for receiving block chain
The risk status that dangerous control node is sent, that is to say, that can be in the embodiment of the present invention and increase risk in block chain network
Control node, the node can monitor in real time each in all operations and block chain network in entire block chain network
Node.In this way, block chain network can be made more safe and reliable by risk control node.
Such as: using block chain as the super chain of Baidu, above-mentioned block chain operation is illustrated for transaction, as shown in figure 3, block
Chain multiple nodes are illustrated with node 1 and node n in figure, and multiple blocks, and intelligent contract are stored in each node.
Risk control node in block chain network all operations and each node be monitored, such as: when risk control node find
When the high behavior of risk, the risk class of system or user can be increased, and the risk status monitored is fed back into transaction system
System, transaction system execute corresponding confirmation operation according to the network state of feedback.
It, can be by rule that region chain operates (such as: trading rules) write-in it should be noted that in the embodiment of the present invention
Intelligent contract, in this way due to intelligent contract be it is disclosed, thereby may be ensured that disclosure, the justice of operation.Furthermore it is possible to by block
In data (such as: the transaction data that transaction system based on the super chain of Baidu generates) deposit block chain of chain operation, and this hair
In bright embodiment, the common recognition mechanism of block chain can be using authorization equity prove (Delegated Proof of Stake,
DPOS), further, (Time-based Delegated Proof can be proved using the authorization equity based on time scheduling
Of Stake, TDPOS) mechanism, so that each node flows out block according to the common recognition mechanism wheel, ruler possibly avoids bifurcated, in turn
Improve the operating characteristics of block chain.
In another embodiment, by monitoring operation and/or node in block chain network, to obtain above-mentioned block
The risk status of chain operation, i.e., in the embodiment, can not increase special risk monitoring and control node, but in block link network
Increase monitoring function in existing node, to reduce network complexity.
If the risk class that step 202, the risk status indicate is lower than default risk class, the block chain is grasped
Make carry out confirmation operation.
In the embodiment, multiple risk classes can be pre-configured with, such as: high risk rank and low-risk rank etc..And
Above-mentioned default risk class can be default risk class high risk rank, that is, when being lower than above-mentioned default risk class, then it is assumed that
Above-mentioned block chain operation is low-risk, carries out confirmation operation so as to the directly described block chain operation.
If the risk class that step 203, the risk status indicate is at or above the default risk class,
In the case where regenerating at least one block after the block chain generation target block, the block chain is operated and is carried out
Confirmation operation.
In embodiment as one kind, if the risk status meets first condition, second condition or third condition,
The risk class that then risk status indicates is at or above the default risk class;
Wherein, the first condition is to have new node addition in the block chain;
The second condition is that the block chain operates the block that corresponding user carries out twice in succession in the block chain
The interval duration of chain operation is less than preset time threshold;
The third condition is that the block chain operates corresponding operand value more than average operation numerical value, wherein described
Average operation numerical value is the mean value that the block chain operates the operand value of corresponding user within a preset time.
Wherein, if having when new node addition in above-mentioned block chain there may be that there can be risk, meet above-mentioned first in this way
When condition, then confirm that there are the risks;If be spaced duration be less than preset time threshold indicate the operation of above-mentioned block chain there may be
Risk, such as: repetitive operation or other people steal, when meeting above-mentioned second condition in this way, then confirm that there are the risks;If area
It is more than average operation numerical value that block chain, which operates corresponding operand value, then it represents that and the operation may be abnormal, such as: the transaction of user
The amount of money has been more than the average value of transaction amount in user's certain time, when meeting above-mentioned third condition in this way, it is determined that exist
The risk.
Further, the feelings of any condition in first condition, second condition and third condition are unsatisfactory in risk status
Under condition, the risk class that above-mentioned risk status indicates is lower than default risk class.Such as: if the risk status indicates the area
There is not new node addition in block chain, and the risk status indicates that the block chain operates corresponding user and connects in the block chain
The interval duration of the continuous block chain operation carried out twice is more than or equal to preset time threshold, and the risk status indicates institute
It states the corresponding operand value of block chain operation and is less than average operation numerical value, then the risk class that risk status indicates is lower than default
Risk class.
In above embodiment, it may be implemented by whether thering is new node to be added, being spaced duration and operand value to judge
Risk class, so that the safety of block chain operation is higher.Such as: there is new node addition in block chain network, then centainly
All Activity in time all thinks risk height, and new node is avoided to do evil;Alternatively, the interval time that same user trades twice is small
In 24 seconds, then it is assumed that the second transaction risk is high;Alternatively, the transaction amount of a user has been more than to hand in user's certain time
The average value of the easy amount of money, then it is assumed that risk is high.
It should be noted that not limiting in the embodiment of the present invention by whether thering is new node to be added, being spaced duration and behaviour
Risk class is judged as numerical value, such as: it can also be and block chain is operated into corresponding operand value and historic high progress
Compare, to judge risk class.
It should also be noted that, can be applied equally in embodiment shown in FIG. 1 in the embodiment, such as: if institute
State risk status be unsatisfactory for above-mentioned first condition, any condition in above-mentioned second condition and above-mentioned third condition, then the risk
State meets above-mentioned preset state condition, and can achieve identical beneficial effect.
As an alternative embodiment, regenerating at least one after the block chain generates the target block
In the case where block, the block chain is operated and carries out confirmation operation, comprising:
In the case where regenerating N number of block after the block chain generates the target block, the block chain is grasped
Make carry out confirmation operation, wherein the N is corresponding with the risk class that the risk status indicates, and the value of the N and institute
Risk class is stated to be positively correlated.
Wherein, the value of above-mentioned N is positively correlated with the risk class and can be, when above-mentioned risk class is higher, N's
Value is bigger, and when above-mentioned risk class is low, the value of N is smaller.Taking according to risk class flexible configuration N may be implemented in this way
Value to promote working efficiency in the case where risk class is at or above default risk class, and reduces operation wind
Danger.Preferential, the value range of above-mentioned N is 1 to 6, it can realizes and determines taking for N in 1 to 6 according to above-mentioned risk class
Value.
In the embodiment, multiple risk classes including above-mentioned default risk class can be preset, when upper
When the risk class for stating risk status expression is a certain risk class in this multiple risk class, then it is assumed that risk is high, needs
After waiting above-mentioned block chain to regenerate other blocks, just above-mentioned block chain is operated and carries out confirmation operation, to ensure that operation will not
It is rolled back, reduces risk.
In the present embodiment, it may be implemented by above-mentioned in the case where risk class is lower than default risk class, to institute
It states the operation of block chain and carries out confirmation operation, confirmation operation is quickly carried out at low-risk ground to realize, to improve work
Efficiency.
Fig. 4 is referred to, Fig. 4 is a kind of structure chart of block chain operation acknowledgement device provided in an embodiment of the present invention, such as Fig. 4
Shown, block chain operation acknowledgement device 400 includes:
Module 401 is obtained, in the case where for generating the target block where block chain operates in block chain, described in acquisition
The risk status of block chain operation;
First confirmation module 402 operates the block chain if meeting preset state condition for the risk status
Carry out confirmation operation.
Optionally, if first confirmation module 402 is lower than default wind for the risk class that the risk status indicates
Dangerous rank then operates the block chain and carries out confirmation operation;
As shown in figure 5, described device further include:
Second confirmation module 403, if the risk class for the risk status to indicate is default at or above described
Risk class, then in the case where regenerating at least one block after the block chain generates the target block, to described
The operation of block chain carries out confirmation operation.
Optionally, if the risk status meets first condition, second condition or third condition, the risk status
The risk class of expression is at or above the default risk class;
Wherein, the first condition is to have new node addition in the block chain;
The second condition is that the block chain operates the block that corresponding user carries out twice in succession in the block chain
The interval duration of chain operation is less than preset time threshold;
The third condition is that the block chain operates corresponding operand value more than average operation numerical value, wherein described
Average operation numerical value is the mean value that the block chain operates the operand value of corresponding user within a preset time.
Optionally, if risk class of second confirmation module 403 for the risk status to indicate is equal to or height
In default risk class, then in the case where regenerating N number of block after the block chain generates the target block, to described
The operation of block chain carries out confirmation operation, wherein and the N is corresponding with the risk class that the risk status indicates, and the N
Value is positively correlated with the risk class.
Device provided in an embodiment of the present invention can be realized each mistake realized in Fig. 1 and embodiment of the method shown in Fig. 2
Journey, and can achieve identical beneficial effect, to avoid repeating, which is not described herein again.
Fig. 6 is referred to, Fig. 6 is the structure chart of a kind of electronic equipment provided in an embodiment of the present invention, as shown in fig. 6, electronics
Equipment 600 includes processor 601, memory 602 and is stored on the memory 602 and can run on the processor
Computer program.
Wherein, following steps are realized when the computer program is executed by the processor 601:
In the case where the target block where block chain generates the operation of block chain, the risk of the block chain operation is obtained
State;
If the risk status meets preset state condition, the block chain is operated and carries out confirmation operation.
Optionally, if the risk status that processor 601 executes meets preset state condition, to the block
Chain operation carries out confirmation operation, comprising:
If the risk class that the risk status indicates is lower than default risk class, block chain operation is carried out true
Recognize operation;
Processor 601 is also used to:
If the risk class that the risk status indicates is at or above the default risk class, in the block
In the case where regenerating at least one block after the chain generation target block, confirmation behaviour is carried out to block chain operation
Make.
Optionally, if the risk status meets first condition, second condition or third condition, the risk status
The risk class of expression is at or above the default risk class;
Wherein, the first condition is to have new node addition in the block chain;
The second condition is that the block chain operates the block that corresponding user carries out twice in succession in the block chain
The interval duration of chain operation is less than preset time threshold;
The third condition is that the block chain operates corresponding operand value more than average operation numerical value, wherein described
Average operation numerical value is the mean value that the block chain operates the operand value of corresponding user within a preset time.
Optionally, if the risk status meets one or more in first condition, second condition and third condition
Part, the then risk class that the risk status indicates are lower than default risk class;
Wherein, the first condition is not have new node addition in the block chain;
The second condition is that the block chain operates the block that corresponding user carries out twice in succession in the block chain
The interval duration of chain operation is more than or equal to preset time threshold;
The third condition is that the corresponding operand value of block chain operation is less than average operation numerical value, wherein institute
Stating average operation numerical value is the mean value that the block chain operates the operand value of corresponding user within a preset time.
Optionally, what processor 601 executed regenerates at least one after the block chain generates the target block
In the case where block, operating progress confirmation operation to the block chain includes:
In the case where regenerating N number of block after the block chain generates the target block, the block chain is grasped
Make carry out confirmation operation, wherein the N is corresponding with the risk class that the risk status indicates, and the value of the N and institute
Risk class is stated to be positively correlated.
Electronic equipment provided in an embodiment of the present invention can be realized electronic equipment in Fig. 1 and embodiment of the method shown in Fig. 2
The each process realized, and can achieve identical beneficial effect, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, stores on the computer readable storage medium
There is computer program, the computer program realizes block chain operation acknowledgement provided in an embodiment of the present invention when being executed by processor
The step of.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (10)
1. a kind of block chain operation acknowledgement method characterized by comprising
In the case where the target block where block chain generates the operation of block chain, the risk shape of the block chain operation is obtained
State;
If the risk status meets preset state condition, the block chain is operated and carries out confirmation operation.
2. the method as described in claim 1, which is characterized in that if the risk status meets preset state condition,
The block chain is operated and carries out confirmation operation, comprising:
If the risk class that the risk status indicates is lower than default risk class, confirmation behaviour is carried out to block chain operation
Make;
The method also includes:
It is raw in the block chain if the risk class that the risk status indicates is at or above the default risk class
In the case where regenerating at least one block after the target block, the block chain is operated and carries out confirmation operation.
3. method according to claim 2, which is characterized in that if the risk status meet first condition, second condition or
Person's third condition, the then risk class that the risk status indicates are at or above the default risk class;
Wherein, the first condition is to have new node addition in the block chain;
The second condition is the block chain behaviour that the block chain operates that corresponding user carries out twice in succession in the block chain
The interval duration of work is less than preset time threshold;
The third condition is that the block chain operates corresponding operand value more than average operation numerical value, wherein described average
Operand value is the mean value that the block chain operates the operand value of corresponding user within a preset time.
4. method according to claim 2, which is characterized in that it is described after the block chain generates the target block again
In the case where generating at least one block, the block chain is operated and carries out confirmation operation, comprising:
In the case where regenerating N number of block after the block chain generates the target block, to the block chain operate into
Row confirmation operation, wherein the N is corresponding with the risk class that the risk status indicates, and the value of the N and the wind
Dangerous rank is positively correlated.
5. a kind of block chain operation acknowledgement device characterized by comprising
Module is obtained, for obtaining the block chain in the case where target block where block chain generates the operation of block chain
The risk status of operation;
First confirmation module carries out block chain operation true if meeting preset state condition for the risk status
Recognize operation.
6. device as claimed in claim 5, which is characterized in that if first confirmation module is indicated for the risk status
Risk class be lower than default risk class, then the block chain is operated and carries out confirmation operation;
Described device further include:
Second confirmation module, if the risk class for the risk status to indicate is at or above the default levels of risk
Not, then in the case where regenerating at least one block after the block chain generates the target block, to the block chain
Operation carries out confirmation operation.
7. device as claimed in claim 6, which is characterized in that if the risk status meet first condition, second condition or
Person's third condition, the then risk class that the risk status indicates are at or above the default risk class;
Wherein, the first condition is to have new node addition in the block chain;
The second condition is the block chain behaviour that the block chain operates that corresponding user carries out twice in succession in the block chain
The interval duration of work is less than preset time threshold;
The third condition is that the block chain operates corresponding operand value more than average operation numerical value, wherein described average
Operand value is the mean value that the block chain operates the operand value of corresponding user within a preset time.
8. device as claimed in claim 6, which is characterized in that if second confirmation module is indicated for the risk status
Risk class be at or above default risk class, then regenerate N after the block chain generates the target block
In the case where a block, the block chain is operated and carries out confirmation operation, wherein the wind that the N and the risk status indicate
Dangerous rank is corresponding, and the value of the N is positively correlated with the risk class.
9. a kind of electronic equipment, which is characterized in that including processor, memory and be stored on the memory and can be described
The computer program run on processor is realized when the computer program is executed by the processor as in Claims 1-4
The step of described in any item block chain operation acknowledgement methods.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program, the computer program realize that block chain operation according to any one of claims 1 to 4 is true when being executed by processor
The step of verifying method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910275538.6A CN109919521B (en) | 2019-04-08 | 2019-04-08 | Block chain operation confirmation method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910275538.6A CN109919521B (en) | 2019-04-08 | 2019-04-08 | Block chain operation confirmation method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109919521A true CN109919521A (en) | 2019-06-21 |
CN109919521B CN109919521B (en) | 2022-05-13 |
Family
ID=66968794
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910275538.6A Active CN109919521B (en) | 2019-04-08 | 2019-04-08 | Block chain operation confirmation method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109919521B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180101848A1 (en) * | 2016-10-12 | 2018-04-12 | Bank Of America Corporation | System for managing a virtual private ledger and distributing workflow of authenticated transactions within a blockchain distributed network |
CN108694500A (en) * | 2018-04-26 | 2018-10-23 | 布比(北京)网络技术有限公司 | A kind of digital asset circulation method and system based on block chain |
CN109034795A (en) * | 2018-06-11 | 2018-12-18 | 广东易上云计算机服务股份有限公司 | A kind of credit based on block chain is bartered platform |
-
2019
- 2019-04-08 CN CN201910275538.6A patent/CN109919521B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180101848A1 (en) * | 2016-10-12 | 2018-04-12 | Bank Of America Corporation | System for managing a virtual private ledger and distributing workflow of authenticated transactions within a blockchain distributed network |
CN108694500A (en) * | 2018-04-26 | 2018-10-23 | 布比(北京)网络技术有限公司 | A kind of digital asset circulation method and system based on block chain |
CN109034795A (en) * | 2018-06-11 | 2018-12-18 | 广东易上云计算机服务股份有限公司 | A kind of credit based on block chain is bartered platform |
Also Published As
Publication number | Publication date |
---|---|
CN109919521B (en) | 2022-05-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Mokhtari et al. | Time-cost tradeoff analysis in project management: An ant system approach | |
CN105354210A (en) | Mobile game payment account behavior data processing method and apparatus | |
CN108492137A (en) | Telephone outbound call control and analysis, electronic device and readable storage medium storing program for executing | |
CN109243619A (en) | Generation method, device and the computer readable storage medium of prediction model | |
CN109039669A (en) | A kind of information processing method and device | |
CN108880845A (en) | A kind of method and relevant apparatus of information alert | |
CN104240467A (en) | Systems and Methods for Process Alarm Reduction | |
CN107888706A (en) | Cloud product bug processing method, device, equipment and computer-readable recording medium | |
CN110147914A (en) | Fire-fighting and emergency management and rescue individual combat command methods and system | |
CN107273589A (en) | Reconstruction strategy generation system and its generation method based on DIMA systems | |
CN110445939A (en) | The prediction technique and device of capacity resource | |
CN115062906A (en) | Intelligent evaluation method and device for production operation risk | |
CN112488163A (en) | Abnormal account identification method and device, computer equipment and storage medium | |
CN108228785A (en) | The check method and check device of device parameter | |
CN108183814A (en) | The malfunction elimination method and apparatus of the communication channel of power information acquisition system | |
CN105430052B (en) | A kind of referee method and device for group system | |
CN109919521A (en) | Block chain operation confirmation method and device and electronic equipment | |
CN111343598B (en) | Intelligent fire-fighting vehicle-mounted platform operation method and system with edge computing capability | |
CN105843675A (en) | Thread exiting method and device | |
CN115953009B (en) | Scheduling method of power system and training method of scheduling decision model | |
CN110837950B (en) | Dynamic scheduling method of RGV (traffic volume group) trolley | |
CN109525437A (en) | Distribution Network Communication node restoration methods and system | |
CN115328621A (en) | Transaction processing method, device and equipment based on block chain and storage medium | |
CN112615880B (en) | Negative feedback scheduling method and scheduling system for executive | |
CN113869717A (en) | Analysis and study method, device, equipment and storage medium for alarm log |
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 |