CN110009497A - Decision-making technique and device and electronic equipment based on block chain - Google Patents

Decision-making technique and device and electronic equipment based on block chain Download PDF

Info

Publication number
CN110009497A
CN110009497A CN201910234312.1A CN201910234312A CN110009497A CN 110009497 A CN110009497 A CN 110009497A CN 201910234312 A CN201910234312 A CN 201910234312A CN 110009497 A CN110009497 A CN 110009497A
Authority
CN
China
Prior art keywords
decision
contract
block chain
intelligent
making
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
Application number
CN201910234312.1A
Other languages
Chinese (zh)
Other versions
CN110009497B (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202110269668.6A priority Critical patent/CN113112358A/en
Priority to CN201910234312.1A priority patent/CN110009497B/en
Publication of CN110009497A publication Critical patent/CN110009497A/en
Application granted granted Critical
Publication of CN110009497B publication Critical patent/CN110009497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This specification embodiment provides a kind of decision-making technique based on block chain and device and electronic equipment, which comprises receives the intelligent decision-making contract that decision-making party is submitted;Wherein, the problem of stating in the intelligent decision-making contract to decision and at least two decision alternatives;The intelligent decision-making contract is broadcast to the decision node in the block chain;It obtains the decision node and executes the implementing result returned after the intelligent decision-making contract;Wherein, the implementing result is by the decision node the decision alternatives to confirm aiming at the problem that decision;The result of decision is determined according to the implementing result.

Description

Decision-making technique and device and electronic equipment based on block chain
Technical field
This specification embodiment is related to block chain technical field more particularly to a kind of decision-making technique and dress based on block chain It sets and electronic equipment.
Background technique
Block chain technology is also referred to as distributed account book technology, is that one kind is participated in " remembering jointly by several calculating equipment Account ", the emerging technology of common a complete distributed data base of maintenance.Since block chain technology has decentralization, openly Transparent, every calculating equipment can participate in data-base recording and respectively calculate that data synchronization can be rapidly performed by between equipment Characteristic so that block chain technology is widely applied in numerous fields.
Summary of the invention
A kind of decision-making technique and device and electronic equipment based on block chain that this specification embodiment provides:
According to this specification embodiment in a first aspect, provide a kind of decision-making technique based on block chain,
Receive the intelligent decision-making contract that decision-making party is submitted;Wherein, asking to decision is stated in the intelligent decision-making contract Topic and decision alternatives;
The intelligent decision-making contract is broadcast to the decision node in the block chain;
It obtains the decision node and executes the implementing result returned after the intelligent decision-making contract;Wherein, described to execute knot Fruit is by the decision node the decision alternatives to confirm aiming at the problem that decision;
The result of decision is determined according to the implementing result.
Optionally, described that the result of decision is determined according to the implementing result, it specifically includes:
Count the quantity of identical decision alternatives in the implementing result;
If the quantity of any decision alternatives reaches threshold value, which is determined as the result of decision.
Optionally, the threshold value is determined based on the quantity of decision node.
Optionally, the method also includes:
The result of decision is returned into the decision-making party.
Optionally, after the intelligent decision-making contract that the reception decision-making party is submitted, the method also includes:
Calling is published on the creation logic stated in the intelligent contract of the block chain, and the intelligent decision-making contract is stored In the block chain;
The contract audit logic for being published on and stating in the intelligent contract of the block chain is called, one is written in transaction log A ballot event after the audit node of the block chain listens to the ballot event, submits ballot to hand over to the intelligent contract Easily;The intelligence contract carries out vote trading to summarize arrangement, obtains the auditing result of the intelligent decision-making contract;
The decision node intelligent decision-making contract being broadcast in the block chain, specifically includes:
If auditing result is to pass through, the intelligent decision-making contract is broadcast to the decision node in the block chain.
Optionally, the decision node is the corresponding node of decision system for accessing the block chain, and the method is also wrapped It includes:
Receive the networking request that the decision system of block chain is added in application;
The networking audit logic stated in the intelligent contract being published on the block chain is called, is written in transaction log One ballot event after the audit node of the block chain listens to the ballot event, submits ballot to the intelligent contract Transaction;The intelligence contract carries out vote trading to summarize arrangement, obtains networking auditing result.
Optionally, the block chain includes alliance's chain.
According to the second aspect of this specification embodiment, a kind of decision making device based on block chain is provided,
Receiving unit receives the intelligent decision-making contract that decision-making party is submitted;Wherein, stated in the intelligent decision-making contract to The problem of decision and decision alternatives;
The intelligent decision-making contract is broadcast to the decision node in the block chain by radio unit;
Acquiring unit obtains the decision node and executes the implementing result returned after the intelligent decision-making contract;Wherein, institute Implementing result is stated by the decision node the decision alternatives to confirm aiming at the problem that decision;
Determination unit determines the result of decision according to the implementing result.
Optionally, the determination unit, specifically includes:
Subelement is counted, the quantity of identical decision alternatives in the implementing result is counted;
It determines subelement, if the quantity of any decision alternatives reaches threshold value, which is determined as the result of decision.
Optionally, the threshold value is determined based on the quantity of decision node.
Optionally, described device further include:
The result of decision is returned to the decision-making party by return unit.
Optionally, after the receiving unit, described device further include:
Contract creates subelement, and calling is published on the creation logic stated in the intelligent contract of the block chain, will be described Intelligent decision-making contract is stored in the block chain;
Contract audits subelement, calls the contract audit logic for being published on and stating in the intelligent contract of the block chain, A ballot event, after the audit node of the block chain listens to the ballot event, Xiang Suoshu intelligence are written in transaction log It can contract submission vote trading;The intelligence contract carries out vote trading to summarize arrangement, obtains the intelligent decision-making contract Auditing result;
The radio unit, specifically includes:
If auditing result is to pass through, the intelligent decision-making contract is broadcast to the decision node in the block chain.
Optionally, the decision node is the corresponding node of decision system for accessing the block chain, and described device is also wrapped It includes:
Receiving subelement receives the networking request that the decision system of block chain is added in application;
Network audit subelement, calls the networking audit logic stated in the intelligent contract being published on the block chain, A ballot event, after the audit node of the block chain listens to the ballot event, Xiang Suoshu are written in transaction log Intelligent contract submits vote trading;The intelligence contract carries out vote trading to summarize arrangement, obtains networking auditing result.
Optionally, the block chain includes alliance's chain.
According to the 5th of this specification embodiment the aspect, a kind of electronic equipment is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to decision-making technique of any of the above-described based on block chain.
This specification embodiment provides a kind of decision scheme based on block chain, when business side needs to carry out decision, It can be by calling each decision node in block chain by the intelligent decision-making contract to block chain creation intelligent decision-making contract Decision is carried out to determine decision item to decision problem to what is stated in intelligent decision-making contract.Disclosure on the one hand, based on block chain, The feature that can not be distorted can be inquired at any time and be may insure credible so that decision process cochain deposits card.On the other hand, By introducing multi-party decision system (the corresponding decision node of each decision system) in block chain, first by each decision section Point individually treats decision problem and carries out decision, is then that the comprehensive decision alternatives returned in many ways are final to determine by common recognition mechanism The result of decision;In this way the mistake that decision is likely to occur can be carried out to avoid by an independent side.
Detailed description of the invention
Fig. 1 is that the process of the shared block chain of node device networking for the business block chain that one embodiment of this specification provides is shown It is intended to;
Fig. 2 is the flow diagram for the intelligent decision-making contract audit that one embodiment of this specification provides;
Fig. 3 is the flow diagram for the decision system networking audit that one embodiment of this specification provides;
Fig. 4 is the hardware structure diagram for the decision making device based on block chain that one embodiment of this specification provides;
Fig. 5 is the module diagram for the decision making device based on block chain that one embodiment of this specification provides.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with this specification.On the contrary, they are only and such as institute The example of the consistent device and method of some aspects be described in detail in attached claims, this specification.
It is only to be not intended to be limiting this explanation merely for for the purpose of describing particular embodiments in the term that this specification uses Book.The "an" of used singular, " described " and "the" are also intended to packet in this specification and in the appended claims Most forms are included, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein is Refer to and includes that one or more associated any or all of project listed may combine.
It will be appreciated that though various information may be described using term first, second, third, etc. in this specification, but These information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not taking off In the case where this specification range, the first information can also be referred to as the second information, and similarly, the second information can also be claimed For the first information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... " or " in response to determination ".
Need the demand by manually carrying out audit judgement originally with the continuous development of artificial intelligence, in many business scenarios Automatic decision system completion can be handed to.For example, identification transaction whether there is the need of risk under financing service It asks, it can be by the air control system automatic identification disposed.It whether can be risk subscribers for user information identification user after subdivision (such as credit low, have previous conviction etc.);For Transaction Information identification process of exchange with the presence or absence of unlawful practice (such as money laundering, Swindle etc.).
In general, decision system can be the automatic decision that the decision model being calculated based on big data is realized.Pass through Reasonable function is set, finds out rule from big data by existing big data processing technique.Such as logistic regression (logistic recurrence), the machine learning side such as GBDT (Gradient Boosting Decision Tree) or even deep learning Method can be used for being modeled for these big datas, to obtain the coefficient of parameters in function, and then can obtain To unified equation or calculation formula.According to such decision model, this is input to using data to be identified as input data After decision model, the result of decision that the available decision model exports after calculating.
Nowadays, most of decision system is all that enterprise is privately owned, usually only serves the business of enterprise itself, or provide It is used to a small number of third parties.On the one hand, decision process process is that enterprises are realized;Can't external disclosure, do not have yet External administration;Lack open and oversight mechanism, exists to the mistrustful problem of enterprise.On the other hand, the result of decision is usually base It is obtained in a decision system, if there are problems for this decision system, also results in the result of decision and go wrong.
For this purpose, this specification embodiment provides a kind of decision scheme based on block chain, when business side determines It, can be by calling each in block chain determine by the intelligent decision-making contract to block chain creation intelligent decision-making contract when plan Plan node carries out decision to decision problem to what is stated in intelligent decision-making contract to determine decision item.On the one hand, it is based on block chain Disclosure, the feature that can not distort can be inquired at any time and may insure credible so that decision process cochain deposits card.Separately On the one hand, by introducing multi-party decision system (the corresponding decision node of each decision system) in block chain, first by every A decision node individually treats decision problem and carries out decision, then by common recognition mechanism be the comprehensive decision alternatives returned in many ways come Determine the final result of decision;In this way the mistake that decision is likely to occur can be carried out to avoid by an independent side.
This description presents a kind of flow charts of decision-making technique based on block chain for introduction as shown in Figure 1 below.Such as Fig. 1 It is shown, which comprises
Step 110: the described method includes: receiving the intelligent decision-making contract that decision-making party is submitted;Wherein, the intelligent decision-making is closed The problem of being stated in about to decision and decision alternatives;
Step 120: the intelligent decision-making contract is broadcast to the decision node in the block chain;Obtain the decision section Point executes the implementing result returned after the intelligent decision-making contract;Wherein, the implementing result is directed to institute for the decision node State the decision alternatives confirmed to the problem of decision;
Step 130: the result of decision is determined according to the implementing result.
The block chain described in this specification can specifically include privately owned chain, shared chain and alliance's chain etc., in this theory Without being particularly limited in bright book.
For example, in one scenario, above-mentioned block chain specifically can be by total portion mechanism, branch, agency etc. Alliance's chain as allied member's composition;The operator of alliance's chain can rely on alliance's chain, corresponding to dispose Business;And described above as total portion mechanism of allied member, branch, agency it all can serve as above-mentioned business A service node.Each service node can will be produced by itself or the information relevant to business that receives is to trade Form issued in alliance's chain, and joining after the common recognition processing of the common recognition node in alliance's chain in the transaction Distributed data base in alliance's chain is stored, and " cochain " for completing above-mentioned Transaction Information deposits card.
Wherein, it should be noted that transaction (Transaction) described in this specification refers to and passes through block The client of chain creates, and a data for needing finally to be distributed in the distributed data base of block chain.
Usually there is point of the transaction of narrow sense and the transaction of broad sense in the transaction in block chain.The transaction of narrow sense refers to use The value Transfer that family is issued to block chain;For example, transaction can be user and exist in traditional bit coin block chain network One initiated in block chain transfers accounts.And the transaction of broad sense refers to the industry being intended to business that user issues to block chain Business data;For example, operator can build alliance's chain based on actual business demand, rely on the deployment of alliance's chain it is some with Unrelated other types of line service (for example, depositing card business, fake certification business etc.) of value Transfer, and in this kind of alliance's chain In, transaction can be the service message or service request with business intention that user issues in alliance's chain.
Above-mentioned client may include any type of underlying services data stored using in block chain as data branch Support, to realize the upper layer application of specific business function.
In block chain technology, block chain interior joint carries out operation to block and usually requires to rely on corresponding intelligent contract (Smart contract).Such as the operations such as storage, modification, deletion are required to rely on intelligent contract in block chain.The intelligence Can contract can be it is a kind of be intended to apply contract is propagated, verified or executed in a manner of information-based can be deployed on block chain Computer protocol.By stating that service logic may be implemented to execute corresponding operating in intelligent contract.Intelligent contract allows Do not have to carry out credible transaction in third-party situation.These transaction are traceable and irreversible.Intelligent contract, which is capable of providing, to be better than The safety of traditional contracts method, and reduce other transaction costs relevant to contract.In general, intelligent contract can be and be deployed in area Block chain node is local, can call corresponding intelligent contract when node needs to be implemented some movement, run intelligent contract with The service logic stated in intelligent contract is executed, to obtain implementing result.
Intelligent decision-making contract shown in this specification can refer to for describing the intelligent contract to decision problem.Tool Body, the problem of at least stating to decision in intelligent decision-making contract description and decision alternatives.By the way that decision is abstracted as Decision alternatives are individually determined by each decision node in the form of the multiple-choice question of correct option dynamic change.
In one embodiment, impact factor can also be stated in the intelligent decision-making contract;The impact factor can be used In the dynamic changing process of mark correct option.
In one embodiment, objective decision node can also be stated in the intelligent decision-making contract;It should for specified execute The decision node of intelligent decision-making contract.
In practical applications, general block chain needs to audit the intelligent decision-making contract of decision-making party submission, to ensure this Intelligent decision-making contract is satisfactory.
Specifically, after the intelligent decision-making contract that the reception decision-making party is submitted, the method also includes:
Calling is published on the creation logic stated in the intelligent contract of the block chain, and the intelligent decision-making contract is stored In the block chain;
The contract audit logic for being published on and stating in the intelligent contract of the block chain is called, one is written in transaction log A ballot event after the audit node of the block chain listens to the ballot event, submits ballot to hand over to the intelligent contract Easily;The intelligence contract carries out vote trading to summarize arrangement, obtains the auditing result of the intelligent decision-making contract.
If auditing result is to pass through, the intelligent decision-making contract is broadcast to the decision node in the block chain.
Wherein, each audit node can audit intelligent decision-making contract in local.The audit can be audit What node itself was specified, it is also possible to respectively audit the audit logic that node is discussed and reaches common understanding jointly in block chain.In general, this It is reliably that the target that a audit logic is, which is in order to ensure intelligent decision-making contract, the regulation that keeps on the right side of the law, can be executed Intelligent contract.Each audit node that block chain is added can obtain the audit logic, and according to the audit logic to pending The intelligent decision-making contract of core is audited, and cochain deposits card in the form of vote trading by auditing result.
If summarized in the vote trading of arrangement, audits the quantity passed through and reach first threshold, which can be It is determined based on the quantity of audit node.Such as can be the half of audit number of nodes, that is, it audits the quantity passed through and reaches 50%, then it can determine that intelligent decision-making contract comes into force.Certainly, this first threshold, which can according to need, is flexibly adjusted.
By taking alliance's chain as an example, initial stage is established in alliance's chain, can be conferred by each alliance side and carry out writing for audit logic;With The development of later period business, can also by each alliance side confer carry out contract upgrading.
Below in conjunction with the flow diagram of intelligent decision-making contract shown in Fig. 2 audit.By taking alliance's chain as an example:
1.1, alliance side A writes an intelligent decision-making contract.
1.2, alliance side A submits the creation of the intelligent decision-making contract to trade to alliance's chain.
2.1, the node device of alliance's chain registers the intelligent decision-making contract.
Creation is traded in the node device response of alliance's chain, stores the intelligent decision-making contract.Wherein, the intelligent decision-making of storage Contract is corresponding with the contract address of alliance's chain.
2.2, the node device of alliance's chain returns to registering result.
The node device of alliance's chain to alliance side A return the intelligent decision-making contract whether creation successfully as a result, and Contract address.
3.1, the other each alliance sides of node device notice of alliance's chain are audited.
The intelligent decision-making contract is broadcast to other alliance sides by the node device of alliance's chain, by each alliance side to intelligent decision-making Contract is audited.
3.2, each federation node is audited and is voted, and voting results are returned to alliance's chain in the form of vote trading.
4, the node device of alliance's chain, which summarizes, arranges returning the result for each federation node, and determines auditing result.
5, the node device of alliance's chain returns to auditing result to alliance side A.
It should be noted that alliance's chain can notify alliance side A intelligent decision-making contract if auditing result is that audit passes through Audit passes through;It is also possible to carry out publicity to the intelligent decision-making contract that audit passes through, entered with recruiting decision system.
In one embodiment, the decision node is the corresponding node of decision system for accessing the block chain, the side Method further include:
Receive the networking request that the decision system of block chain is added in application;
The networking audit logic stated in the intelligent contract being published on the block chain is called, is written in transaction log One ballot event after the audit node of the block chain listens to the ballot event, submits ballot to the intelligent contract Transaction;The intelligence contract carries out vote trading to summarize arrangement, obtains networking auditing result.
The decision system of networking is audited by node device on block chain, below in conjunction with decision system shown in Fig. 3 The flow diagram that system networks, equally by taking alliance's chain as an example:
1, each decision system submits the request that networks to alliance's chain;Wherein, each decision is carried in the networking request The application information of system.
In general, the application information may include the qualification information (such as company information, industrial and commercial certificate) of decision system
2.1, the node device in alliance's chain registers application information.
Node device in alliance's chain responds the networking request, registers application information (and returning to enrollment results).
2.2, application information is sent to each alliance side and audited by the node device in alliance's chain.
Node device in alliance's chain calls statement to have the intelligent contract for the audit logic that networks, and application information is sent to respectively Confederation method is audited
3, each alliance side executes to network and audits and vote.
Each alliance side audits application information, and voting results are returned to alliance's chain in the form of vote trading.
4.1, the node device in alliance's chain counts the auditing result of each federation node, to determine networking auditing result.
4.2, networking auditing result is returned to decision system.
If agreeing to that the vote trading quantity to network meets preset condition, it is determined that networking auditing result is to network successfully; If agreeing to that the vote trading discrepancy of quantity to network closes preset condition, it is determined that networking auditing result is the failure that networks.
Wherein, preset condition can be pre-set, can flexibly be adjusted according to actual needs.For example, can be with It include: that the vote trading quantity for agreeing to network is greater than threshold value;Alternatively,
Agree to that the vote trading quantity accounting to network is greater than preset ratio;Again or;
Agree to that the vote trading quantity to network is greater than and disagrees vote trading quantity of networking etc..
5.1, the quantity of the decision system to network is checked.
If 5.2, the decision system quantity to network reaches second threshold, the corresponding decision node of each decision system is notified to hold Intelligent decision-making contract of the row to decision.
In order to avoid carrying out the mistake that decision is likely to occur by an independent side, this specification is more by introducing in block chain Square decision system (the corresponding decision node of each decision system), individually treats decision problem by each decision node and determines Then plan determines the final result of decision by the way that common recognition mechanism is the comprehensive decision alternatives returned in many ways.
Wherein, the decision node executes the implementing result returned after the intelligent decision-making contract;Wherein, described to execute knot Fruit is by the decision node the decision alternatives to confirm aiming at the problem that decision.
The decision node by execute intelligent decision-making contract with obtain statement to decision problem and decision alternatives;Each Decision node can be run to decision problem based on local decision-making system to determine decision alternatives;And by determining decision alternatives with The form cochain of transaction deposits card.Decision choosing corresponding, that the node device of block chain can be returned with each decision node of collect statistics , and the result of decision is determined according to the implementing result.
In one embodiment, described that the result of decision is determined according to the implementing result, it specifically includes:
Count the quantity of identical decision alternatives in the implementing result;
If the quantity of any decision alternatives reaches third threshold value, which is determined as the result of decision.
Wherein, the third threshold value is determined based on the quantity of decision node.
This specification embodiment provides a kind of decision scheme based on block chain, when business side needs to carry out decision, It can be by calling each decision node in block chain by the intelligent decision-making contract to block chain creation intelligent decision-making contract Decision is carried out to determine decision item to decision problem to what is stated in intelligent decision-making contract.Disclosure on the one hand, based on block chain, The feature that can not be distorted can be inquired at any time and be may insure credible so that decision process cochain deposits card.On the other hand, By introducing multi-party decision system (the corresponding decision node of each decision system) in block chain, first by each decision section Point individually treats decision problem and carries out decision, is then that the comprehensive decision alternatives returned in many ways are final to determine by common recognition mechanism The result of decision;In this way the mistake that decision is likely to occur can be carried out to avoid by an independent side.
Corresponding with the aforementioned decision-making technique embodiment based on block chain, this specification additionally provides determining based on block chain The embodiment of plan device.Described device embodiment can also pass through hardware or software and hardware combining by software realization Mode is realized.Taking software implementation as an example, as the device on a logical meaning, being will be non-by the processor of equipment where it Corresponding computer business program instruction is read into memory what operation was formed in volatile memory.For hardware view, As shown in figure 4, a kind of hardware structure diagram for this specification based on equipment where the decision making device of block chain, in addition to shown in Fig. 4 Processor, network interface, except memory and nonvolatile memory, the equipment in embodiment where device is generally according to base In the decision actual functional capability of block chain, it can also include other hardware, this is repeated no more.
Fig. 5 is referred to, for the module map for the decision making device based on block chain that one embodiment of this specification provides, the dress It sets and has corresponded to embodiment illustrated in fig. 1, described device includes:
Receiving unit 310 receives the intelligent decision-making contract that decision-making party is submitted;Wherein, it is stated in the intelligent decision-making contract The problem of to decision and decision alternatives;
The intelligent contract is broadcast to the decision node in the block chain by radio unit 320;
Acquiring unit 330 obtains the decision node and executes the implementing result returned after the intelligent contract;Wherein, institute State the decision alternatives that implementing result is confirmed by the decision node for the intelligent contract;
Determination unit 340 determines the result of decision according to the implementing result.
Optionally, the determination unit 340, specifically includes:
Subelement is counted, the quantity of identical decision alternatives in the implementing result is counted;
It determines subelement, if the quantity of any decision alternatives reaches threshold value, which is determined as the result of decision.
Optionally, the threshold value is determined based on the quantity of decision node.
Optionally, described device further include:
The result of decision is returned to the decision-making party by return unit.
Optionally, after the receiving unit 310, described device further include:
Contract creates subelement, and calling is published on the creation logic stated in the intelligent contract of the block chain, will be described Intelligent decision-making contract is stored in the block chain;
Contract audits subelement, calls the contract audit logic for being published on and stating in the intelligent contract of the block chain, A ballot event, after the audit node of the block chain listens to the ballot event, Xiang Suoshu intelligence are written in transaction log It can contract submission vote trading;The intelligence contract carries out vote trading to summarize arrangement, obtains the intelligent decision-making contract Auditing result;
The radio unit 320, specifically includes:
If auditing result is to pass through, the intelligent contract is broadcast to the decision node in the block chain.
Optionally, the decision node is the corresponding node of decision system for accessing the block chain, and described device is also wrapped It includes:
Receiving subelement receives the networking request that the decision system of block chain is added in application;
Network audit subelement, calls the networking audit logic stated in the intelligent contract being published on the block chain, A ballot event, after the audit node of the block chain listens to the ballot event, Xiang Suoshu are written in transaction log Intelligent contract submits vote trading;The intelligence contract carries out vote trading to summarize arrangement, obtains networking auditing result.
Optionally, the block chain includes alliance's chain.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of any several equipment.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize this specification scheme.Those of ordinary skill in the art are not In the case where making the creative labor, it can understand and implement.
Figure 5 above describes inner function module and the structural representation of the decision making device based on block chain, substantial Executing subject can be a kind of electronic equipment, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the intelligent decision-making contract that decision-making party is submitted;Wherein, asking to decision is stated in the intelligent decision-making contract Topic and decision alternatives;
The intelligent contract is broadcast to the decision node in the block chain;
It obtains the decision node and executes the implementing result returned after the intelligent contract;Wherein, the implementing result is The decision alternatives that the decision node is confirmed for the intelligent contract;
The result of decision is determined according to the implementing result.
Optionally, described that the result of decision is determined according to the implementing result, it specifically includes:
Count the quantity of identical decision alternatives in the implementing result;
If the quantity of any decision alternatives reaches threshold value, which is determined as the result of decision.
Optionally, the threshold value is determined based on the quantity of decision node.
Optionally, further includes:
The result of decision is returned into the decision-making party.
Optionally, after the intelligent decision-making contract that the reception decision-making party is submitted, the method also includes:
Calling is published on the creation logic stated in the intelligent contract of the block chain, and the intelligent decision-making contract is stored In the block chain;
The contract audit logic for being published on and stating in the intelligent contract of the block chain is called, one is written in transaction log A ballot event after the audit node of the block chain listens to the ballot event, submits ballot to hand over to the intelligent contract Easily;The intelligence contract carries out vote trading to summarize arrangement, obtains the auditing result of the intelligent decision-making contract;
It is described that the intelligent contract is broadcast to the decision node in the block chain, it specifically includes:
If auditing result is to pass through, the intelligent contract is broadcast to the decision node in the block chain.
Optionally, the decision node is the corresponding node of decision system for accessing the block chain, and the method is also wrapped It includes:
Receive the networking request that the decision system of block chain is added in application;
The networking audit logic stated in the intelligent contract being published on the block chain is called, is written in transaction log One ballot event after the audit node of the block chain listens to the ballot event, submits ballot to the intelligent contract Transaction;The intelligence contract carries out vote trading to summarize arrangement, obtains networking auditing result.
Optionally, the block chain includes alliance's chain.
In the embodiment of above-mentioned electronic equipment, it should be appreciated that the processor can be central processing unit (English: Central Processing Unit, referred to as: CPU), can also be other general processors, digital signal processor (English: Digital Signal Processor, referred to as: DSP), specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor is also possible to Any conventional processor etc., and memory above-mentioned can be read-only memory (English: read-only memory, abbreviation: ROM), random access memory (English: random access memory, abbreviation: RAM), flash memory, hard disk or solid State hard disk.The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware processor and execute completion, or Hardware and software module combination in person's processor execute completion.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.It is set especially for electronics For standby embodiment, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to method reality Apply the part explanation of example.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to this specification Other embodiments.This specification is intended to cover any variations, uses, or adaptations of this specification, these modifications, Purposes or adaptive change follow the general principle of this specification and undocumented in the art including this specification Common knowledge or conventional techniques.The description and examples are only to be considered as illustrative, the true scope of this specification and Spirit is indicated by the following claims.
It should be understood that this specification is not limited to the precise structure that has been described above and shown in the drawings, And various modifications and changes may be made without departing from the scope thereof.The range of this specification is only limited by the attached claims System.

Claims (15)

1. a kind of decision-making technique based on block chain, which comprises
Receive the intelligent decision-making contract that decision-making party is submitted;Wherein, the problem of stating in the intelligent decision-making contract to decision and Decision alternatives;
The intelligent decision-making contract is broadcast to the decision node in the block chain;
It obtains the decision node and executes the implementing result returned after the intelligent decision-making contract;Wherein, the implementing result is The decision node is the decision alternatives to be confirmed aiming at the problem that decision;
The result of decision is determined according to the implementing result.
2. being specifically included according to the method described in claim 1, described determine the result of decision according to the implementing result:
Count the quantity of identical decision alternatives in the implementing result;
If the quantity of any decision alternatives reaches threshold value, which is determined as the result of decision.
3. according to the method described in claim 2, the threshold value is determined based on the quantity of decision node.
4. according to the method described in claim 1, the method also includes:
The result of decision is returned into the decision-making party.
5. according to the method described in claim 1, it is described reception decision-making party submit intelligent decision-making contract after, the method Further include:
Calling is published on the creation logic stated in the intelligent contract of the block chain, and the intelligent decision-making contract is stored in institute State block chain;
The contract audit logic for being published on and stating in the intelligent contract of the block chain is called, a throwing is written in transaction log Ticket event after the audit node of the block chain listens to the ballot event, submits vote trading to the intelligent contract;Institute It states intelligent contract vote trading is carried out to summarize arrangement, obtains the auditing result of the intelligent decision-making contract;
The decision node intelligent decision-making contract being broadcast in the block chain, specifically includes:
If auditing result is to pass through, the intelligent decision-making contract is broadcast to the decision node in the block chain.
6. according to the method described in claim 1, the decision node is the corresponding section of decision system for accessing the block chain Point, the method also includes:
Receive the networking request that the decision system of block chain is added in application;
The networking audit logic stated in the intelligent contract being published on the block chain is called, one is written in transaction log Ballot event after the audit node of the block chain listens to the ballot event, submits vote trading to the intelligent contract; The intelligence contract carries out vote trading to summarize arrangement, obtains networking auditing result.
7. method according to claim 1-6, the block chain includes alliance's chain.
8. a kind of decision making device based on block chain, described device include:
Receiving unit receives the intelligent decision-making contract that decision-making party is submitted;Wherein, it states in the intelligent decision-making contract to decision The problem of and decision alternatives;
The intelligent decision-making contract is broadcast to the decision node in the block chain by radio unit;
Acquiring unit obtains the decision node and executes the implementing result returned after the intelligent decision-making contract;Wherein, described to hold Row result is by the decision node the decision alternatives to confirm aiming at the problem that decision;
Determination unit determines the result of decision according to the implementing result.
9. device according to claim 8, the determination unit, specifically include:
Subelement is counted, the quantity of identical decision alternatives in the implementing result is counted;
It determines subelement, if the quantity of any decision alternatives reaches threshold value, which is determined as the result of decision.
10. device according to claim 9, the threshold value is determined based on the quantity of decision node.
11. device according to claim 8, described device further include:
The result of decision is returned to the decision-making party by return unit.
12. device according to claim 8, after the receiving unit, described device further include:
Contract creates subelement, and calling is published on the creation logic stated in the intelligent contract of the block chain, by the decision Intelligent contract is stored in the block chain;
Contract audits subelement, calls the contract audit logic for being published on and stating in the intelligent contract of the block chain, is trading A ballot event is written in log, after the audit node of the block chain listens to the ballot event, is closed to the intelligence About submit vote trading;The intelligence contract carries out vote trading to summarize arrangement, obtains the audit of the intelligent decision-making contract As a result;
The radio unit, specifically includes:
If auditing result is to pass through, the intelligent decision-making contract is broadcast to the decision node in the block chain.
13. device according to claim 8, the decision node is the corresponding section of decision system for accessing the block chain Point, described device further include:
Receiving subelement receives the networking request that the decision system of block chain is added in application;
Network audit subelement, calls the networking audit logic stated in the intelligent contract being published on the block chain, is handing over A ballot event is written in easy log, after the audit node of the block chain listens to the ballot event, to the intelligence Contract submits vote trading;The intelligence contract carries out vote trading to summarize arrangement, obtains networking auditing result.
14. the block chain includes alliance's chain according to claim 8-13 described in any item devices.
15. a kind of electronic equipment, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to method described in any one of the claims 1-7.
CN201910234312.1A 2019-03-26 2019-03-26 Block chain-based decision method and device and electronic equipment Active CN110009497B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110269668.6A CN113112358A (en) 2019-03-26 2019-03-26 Block chain-based decision method and device and electronic equipment
CN201910234312.1A CN110009497B (en) 2019-03-26 2019-03-26 Block chain-based decision method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910234312.1A CN110009497B (en) 2019-03-26 2019-03-26 Block chain-based decision method and device and electronic equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202110269668.6A Division CN113112358A (en) 2019-03-26 2019-03-26 Block chain-based decision method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110009497A true CN110009497A (en) 2019-07-12
CN110009497B CN110009497B (en) 2021-01-26

Family

ID=67168253

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910234312.1A Active CN110009497B (en) 2019-03-26 2019-03-26 Block chain-based decision method and device and electronic equipment
CN202110269668.6A Pending CN113112358A (en) 2019-03-26 2019-03-26 Block chain-based decision method and device and electronic equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202110269668.6A Pending CN113112358A (en) 2019-03-26 2019-03-26 Block chain-based decision method and device and electronic equipment

Country Status (1)

Country Link
CN (2) CN110009497B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110390602A (en) * 2019-07-15 2019-10-29 广州亚美信息科技有限公司 Decision data processing method, device and storage medium based on block chain
CN111475577A (en) * 2020-04-21 2020-07-31 吴海娟 Uplink voting method and system for intelligent contract in credit union chain
CN112990568A (en) * 2021-03-11 2021-06-18 华北电力大学 Block chain consensus mechanism construction method under comprehensive energy intelligent transaction scene

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107093143A (en) * 2017-03-24 2017-08-25 钱德君 A kind of block chain construction system of Quantum Chain
CN107341402A (en) * 2017-06-19 2017-11-10 上海策链信息科技有限公司 A kind of program excutive method and device
CN108737175A (en) * 2018-05-19 2018-11-02 上海分布信息科技有限公司 A kind of node administration method and its realize system
US20180336286A1 (en) * 2014-04-14 2018-11-22 Netspective Communications Llc Multi-source user generated electronic data integration in a blockchain-based transactional system
CN109508563A (en) * 2018-12-11 2019-03-22 南京大学 Electronic document authenticity guarantee method based on block chain

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10360191B2 (en) * 2016-10-07 2019-07-23 International Business Machines Corporation Establishing overlay trust consensus for blockchain trust validation system
CN107846289B (en) * 2017-10-11 2020-08-11 众安信息技术服务有限公司 Method, electronic equipment and system for supporting artificial participation block chain decision

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180336286A1 (en) * 2014-04-14 2018-11-22 Netspective Communications Llc Multi-source user generated electronic data integration in a blockchain-based transactional system
CN107093143A (en) * 2017-03-24 2017-08-25 钱德君 A kind of block chain construction system of Quantum Chain
CN107341402A (en) * 2017-06-19 2017-11-10 上海策链信息科技有限公司 A kind of program excutive method and device
CN108737175A (en) * 2018-05-19 2018-11-02 上海分布信息科技有限公司 A kind of node administration method and its realize system
CN109508563A (en) * 2018-12-11 2019-03-22 南京大学 Electronic document authenticity guarantee method based on block chain

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110390602A (en) * 2019-07-15 2019-10-29 广州亚美信息科技有限公司 Decision data processing method, device and storage medium based on block chain
CN111475577A (en) * 2020-04-21 2020-07-31 吴海娟 Uplink voting method and system for intelligent contract in credit union chain
CN111475577B (en) * 2020-04-21 2022-09-02 北京联合永道软件股份有限公司 Uplink voting method and system for intelligent contract in credit union chain
CN112990568A (en) * 2021-03-11 2021-06-18 华北电力大学 Block chain consensus mechanism construction method under comprehensive energy intelligent transaction scene

Also Published As

Publication number Publication date
CN110009497B (en) 2021-01-26
CN113112358A (en) 2021-07-13

Similar Documents

Publication Publication Date Title
US20230177515A1 (en) Decentralized safeguard against fraud
US20200027089A1 (en) Blockchain transaction safety using smart contracts
CN110011996A (en) Application authorization method and device and electronic equipment based on block chain
CN109886694A (en) Data processing method and device and electronic equipment based on block chain
CN110046841A (en) Logistics information source tracing method and device and electronic equipment based on block chain
CN110163753A (en) Houseclearing based on block chain deposits card, application method and device
CN110009497A (en) Decision-making technique and device and electronic equipment based on block chain
CN110046523B (en) Intelligent contract checking method and device and electronic equipment
KR101876674B1 (en) Method of managing common account using block chain and system performing the same
CN110222529A (en) Assets management method, electronic equipment and computer storage medium based on alliance's chain
CN110046900B (en) Invoice revocation method and device based on block chain and electronic equipment
CN109886695A (en) Information sharing method and device and electronic equipment between different blocks chain
CN108416670A (en) Credit matches folk prescription method and server
CN110019326A (en) True from false of bills verification method and device and electronic equipment based on block chain
CN109377338A (en) Financial product processing method and processing device based on block chain
CN108985930A (en) Information processing method and device, block chain node and storage medium
CN111177800A (en) Data processing method and device based on block chain and electronic equipment
CN110602097A (en) Block chain-based task processing method, device, equipment and storage medium
CN110990879B (en) Data evidence storing method based on block chain
CN113762900A (en) Supply chain management system and method based on block chain prediction machine
CN111402033A (en) Asset information management method and device based on block chain
CN110517145A (en) Data trade method and relevant device based on multi-tiling interchain
CN107203343A (en) A kind of date storage method, system and equipment
CN113221191A (en) Block chain-based data evidence storage method, device, equipment and storage medium
TWI625703B (en) Online voting and ballot counting system based on blockchain and method thereof

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40012073

Country of ref document: HK

TA01 Transfer of patent application right

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant