CN108647967A - Select the method, apparatus and common recognition node of block chain common recognition mechanism - Google Patents

Select the method, apparatus and common recognition node of block chain common recognition mechanism Download PDF

Info

Publication number
CN108647967A
CN108647967A CN201810441528.0A CN201810441528A CN108647967A CN 108647967 A CN108647967 A CN 108647967A CN 201810441528 A CN201810441528 A CN 201810441528A CN 108647967 A CN108647967 A CN 108647967A
Authority
CN
China
Prior art keywords
common recognition
recognition mechanism
block chain
business datum
grade
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
CN201810441528.0A
Other languages
Chinese (zh)
Other versions
CN108647967B (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810441528.0A priority Critical patent/CN108647967B/en
Publication of CN108647967A publication Critical patent/CN108647967A/en
Application granted granted Critical
Publication of CN108647967B publication Critical patent/CN108647967B/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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Abstract

Method, apparatus, common recognition node and the computer readable storage medium for mechanism of knowing together present disclose provides a kind of selection block chain, are related to field of computer technology.Selection block chain common recognition mechanism method include:After receiving business datum, according to the common recognition mechanism impact factor information in business datum, the common recognition mechanism grade of business datum is determined;Using the common recognition mechanism grade of business datum, corresponding block chain common recognition mechanism is selected for business datum from all alternative block chain common recognition mechanism.The disclosure can dynamically select suitable block chain common recognition mechanism, to reduce the resource overhead caused by common recognition mechanism in block chain technology in real time according to the common recognition mechanism impact factor information in business datum.

Description

Select the method, apparatus and common recognition node of block chain common recognition mechanism
Technical field
This disclosure relates to which field of computer technology, more particularly to a kind of method, apparatus of selection block chain common recognition mechanism are total to Know node and computer readable storage medium.
Background technology
As block chain technology is in the application of every profession and trade, block chain technology is greatly improved.But block chain skill at present The raising of art is confined to internal build and realization of block chain etc. always.Currently, multiple ministries and commissions such as Ministry of Industry and Information and the country Outer more industry giants set up special team or laboratory, actively push forward the research of block chain technology and its application.Block chain It has been applied to the multiple fields such as supply chain management, food security, information propagation.
Existing block chain technology is used by many manufacturers in real work life, and user can be from the area that producer provides Block chain information is checked in block chain product.
Invention content
Applicant passes through the study found that block chain technology can cause larger resource overhead in the relevant technologies.
The technical problem that the disclosure solves is how to reduce resource overhead caused by block chain technology.
According to the one side of the embodiment of the present disclosure, a kind of method of selection block chain common recognition mechanism is provided, including: After receiving business datum, according to the common recognition mechanism impact factor information in business datum, the common recognition mechanism of business datum is determined Grade;It is opposite for business datum selection from all alternative block chain common recognition mechanism using the common recognition mechanism grade of business datum The block chain common recognition mechanism answered.
In some embodiments, according to the common recognition mechanism impact factor information in business datum, being total to for business datum is determined Knowledge mechanism grade includes:Using common recognition mechanism impact factor information, determine business datum in each common recognition mechanism impact factor item Under common recognition mechanism impact factor numerical value, common recognition mechanism impact factor weight;It will common recognition mechanism impact factor numerical value, common recognition mechanism Impact factor weight is weighted summation, obtains the common recognition mechanism grade of business datum.
In some embodiments, common recognition mechanism impact factor includes user type rank, information security rank, data type Rank and type of service rank.
In some embodiments, it is grade being total to not less than business datum for the block chain common recognition mechanism that business datum selects Knowledge mechanism grade.
In some embodiments, this method further includes:Predefine the common recognition mechanism of each alternative block chain common recognition mechanism The common recognition mechanism grade of grade, each alternative block chain common recognition mechanism is proportionate with common recognition mechanism complexity.
In some embodiments, this method further includes:The block chain common recognition mechanism of selection is reported into user;Receive user The block chain common recognition mechanism feedback information of transmission;According to selected block chain common recognition mechanism and block chain common recognition mechanism feedback Information selects block chain common recognition mechanism for business datum again.
According to the other side of the embodiment of the present disclosure, a kind of common recognition node is provided, including:Mechanism grade determines mould Block is configured as after receiving business datum, according to the common recognition mechanism impact factor information in business datum, determines business number According to common recognition mechanism grade;Common recognition mechanism selecting module is configured as the common recognition mechanism grade using business datum, from all standby In the block chain common recognition mechanism of constituency corresponding block chain common recognition mechanism is selected for business datum.
In some embodiments, mechanism level determination module is configured as:Using common recognition mechanism impact factor information, determine Common recognition mechanism impact factor numerical value, common recognition mechanism impact factor of the business datum under each common recognition mechanism impact factor item are weighed Weight;Common recognition mechanism impact factor numerical value, common recognition mechanism impact factor weight are weighted summation, obtain the common recognition of business datum Mechanism grade.
In some embodiments, common recognition mechanism impact factor includes user type rank, information security rank, data type Rank and type of service rank.
In some embodiments, it is grade being total to not less than business datum for the block chain common recognition mechanism that business datum selects Knowledge mechanism grade.
In some embodiments, common recognition node further includes alternate mechanism level determination module, is configured as:It predefines each The common recognition mechanism grade of a alternative block chain common recognition mechanism, the common recognition mechanism grade and common recognition of each alternative block chain common recognition mechanism Mechanism complexity is proportionate.
In some embodiments, common recognition node further includes common recognition mechanism gravity treatment module, is configured as:By the block chain of selection Common recognition mechanism reports to user;Receive the block chain common recognition mechanism feedback information that user sends;It is total according to selected block chain Knowledge mechanism and block chain common recognition mechanism feedback information are that business datum selects block chain common recognition mechanism again.
According to the another aspect of the embodiment of the present disclosure, a kind of device of selection block chain common recognition mechanism is provided, including: Memory;And it is coupled to the processor of memory, processor is configured as being based on instruction stored in memory, before execution The method for the selection block chain common recognition mechanism stated.
According to another aspect of the embodiment of the present disclosure, a kind of computer readable storage medium is provided, wherein computer Readable storage medium storing program for executing is stored with computer instruction, and selection block chain common recognition mechanism above-mentioned is realized in instruction when being executed by processor Method.
The disclosure can dynamically select suitable area in real time according to the common recognition mechanism impact factor information in business datum Block chain common recognition mechanism, to reduce the resource overhead caused by common recognition mechanism in block chain technology.
By referring to the drawings to the detailed description of the exemplary embodiment of the disclosure, the other feature of the disclosure and its Advantage will become apparent.
Description of the drawings
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some disclosed embodiments without having to pay creative labor, may be used also for those of ordinary skill in the art With obtain other attached drawings according to these attached drawings.
Fig. 1 shows relevant block chain Technical Architecture schematic diagram.
The flow diagram for the method for mechanism of knowing together Fig. 2 shows the selection block chain of an embodiment of the present disclosure.
Fig. 3 shows an application examples of the common recognition mechanism grade of determining business datum.
Fig. 4 shows the flow diagram of the method for the selection block chain common recognition mechanism of another embodiment of the disclosure.
Fig. 5 shows the Technical Architecture schematic diagram of the block chain of one embodiment.
Fig. 6 shows the structural schematic diagram of the common recognition node of an embodiment of the present disclosure.
Fig. 7 shows the structural schematic diagram of the device of the selection block chain common recognition mechanism of an embodiment of the present disclosure.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present disclosure, the technical solution in the embodiment of the present disclosure is carried out clear, complete Site preparation describes, it is clear that described embodiment is only disclosure a part of the embodiment, instead of all the embodiments.Below Description only actually at least one exemplary embodiment is illustrative, is never used as to the disclosure and its application or makes Any restrictions.Based on the embodiment in the disclosure, those of ordinary skill in the art are not making creative work premise Lower obtained all other embodiment belongs to the range of disclosure protection.
Block chain is the novel of the computer technologies such as Distributed Storage, point-to-point transmission, common recognition mechanism, Encryption Algorithm Application model.At present using more block chain technology have hyperledger fabric, Sawtooth Lake, lroha, Corda etc..Fig. 1 shows block chain Technical Architecture schematic diagram in the related technology.Block chain technology frame in the related technology Structure includes application layer, excitation layer, common recognition layer, safe floor, data Layer.The particular technique details such as Fig. 1 of each layer involved in It is shown.
Inventor studies the common recognition mechanism in block chain technology.So-called common recognition mechanism is in block catenary system Realize the mathematical algorithm established trust between different nodes, obtain equity.It has been recognised by the inventors that existing block chain technology largely makes With single internal consensus mechanism, the selection for mechanism of knowing together lacks flexibility.Some common recognition mechanism are a bit more complicated, need to disappear Consume more resource and relatively slow;Some common recognition mechanism are then fairly simple, consume fewer resource and relatively rapid.If some are used Family, some business do not need relatively stringent common recognition mechanism, and the common recognition mechanism of single inside may lead to all users, own Business can all use relative complex stringent common recognition mechanism to lead to the wasting of resources to cause larger resource overhead.For this purpose, Inventor has carried out quantization modulation according to the complexity of common recognition mechanism to common recognition mechanism, complicated common recognition mechanism is assigned higher Common recognition mechanism grade, the mechanism that will simply know together assigns lower common recognition mechanism grade, to be moved in real time according to business datum The suitable block chain common recognition mechanism of selection of state.
The method that the selection block chain common recognition mechanism of an embodiment of the present disclosure is described with reference to Fig. 2, to illustrate how Reduce the resource overhead caused by common recognition mechanism in block chain technology.
The flow diagram for the method for mechanism of knowing together Fig. 2 shows the selection block chain of an embodiment of the present disclosure.Such as Fig. 2 Shown, the method for the selection block chain common recognition mechanism in the embodiment includes step S202~step S208.
In step S202, common recognition node receives business datum.
For example, common recognition node A can be from other common recognition Node-B receiver business datums.There can be common recognition in business datum Mechanism impact factor information can specifically include member's type identification, security type mark, data type mark and service class Type identifies.
In step S204, common recognition node determines business number according to the common recognition mechanism impact factor information in business datum According to common recognition mechanism grade.
During carrying out block chain endorsement, common recognition mechanism impact factor for example can include but is not limited to user type grade Not, information security rank, data type rank and type of service rank.Can as needed to common recognition mechanism impact factor into Row extension.The regular member in user type rank, such as operation system member's mechanism can be determined according to member's type identification Or platinum member.Information security rank can be determined according to security type mark, such as user information can be in operation system It is the higher information of safe class, merchandise news may be the lower information of safe class.It can be true according to data type mark Fixed number is respectively provided with different data type ranks according to type level, such as daily record data, transaction data, user data;According to Type of service mark can determine and type of service rank, such as electric business system, settlement of transactions is opposite core Business, type of service rank are higher;Searching service is the business of opposite edges, and type of service rank is relatively low.
Utilize common recognition mechanism impact factor information, it may be determined that business datum is under each common recognition mechanism impact factor item Common recognition mechanism impact factor numerical value, common recognition mechanism impact factor weight.Then, by common recognition mechanism impact factor numerical value, common recognition machine Impact factor weight processed is weighted summation, obtains the common recognition mechanism grade of business datum.
Optionally, in step S206, the common recognition mechanism grade of each alternative block chain common recognition mechanism is predefined, it is each The common recognition mechanism grade of alternative block chain common recognition mechanism is proportionate with common recognition mechanism complexity.
Alternative block chain common recognition mechanism can specifically include POW (Proof of Work, proof of work), POS (Proof Of Stake, equity prove), DPOS (Delegated Proof of Stake, share authorisation verification mechanism), PBFT (Practical Byzantine Fault Tolerance, practical Byzantine failure tolerance algorithm) etc..POW by with or operation Calculate a random number for meeting rule, that is, obtain this book keeping operation power, then send out epicycle and need the data that record, the whole network its It is stored together after its node verification.POS is a kind of upgrading common recognition mechanism, can according to the ratio of token shared by each node and when Between, mine disaster degree is dug in the then reduction of equal proportion, to accelerate to look for the speed of random number.DPOS allows each to hold bit stock People votes, and thus generates 101 representatives, we can be understood as 101 super nodes or mine pond, and this 101 A mutual right of super node is essentially equal.PBFT is a kind of state machine copy replication algorithm, i.e. service is used as state Machine is modeled, and state machine carries out copy replication in the different nodes of distributed system.The copy of each state machine saves The state of service, while also achieving the operation of service.The set that all copies form is indicated using capital R, is made Arrived with 0 | R | each copy of -1 integer representation.
It, can be alternatively total by POW, POS, DPOS, PBFT, PAXOS, RAFT, RIPPLE etc. when dividing common recognition mechanism grade Knowledge mechanism is divided into 1-10 common recognition mechanism grade, i.e., each common recognition mechanism grade has corresponding common recognition mechanism, can also incite somebody to action The common recognition mechanism grade of PAXOS or RAFT is set as 8 ranks or more and (indicates the common recognition mechanism grade of business datum otherwise be less than 8 can just use the common recognition mechanism), the common recognition mechanism grade of PBFT is set to 5 ranks or more, by POW, POS, RIPPLE Common recognition mechanism grade is set as 1 or more rank.
In step S208, common recognition node utilizes the common recognition mechanism grade of business datum, knows together from all alternative block chains In mechanism corresponding block chain common recognition mechanism is selected for business datum.
For example, the common recognition mechanism grade of business datum is 5.If alternative common recognition mechanism be according to 1~10 grade step by step Divide, then can select from alternative common recognition mechanism common recognition mechanism grade for 5 block chain common recognition mechanism.If alternative common recognition Mechanism is divided according to rate range, then the grade for the block chain common recognition mechanism of business datum selection is not less than business The common recognition mechanism grade of data, i.e., first judge whether the common recognition mechanism grade of business datum meets not less than this condition of 8 ranks, Further judge that knowledge mechanism grade meets not less than this condition of 5 ranks in the case that ungratified, therefore selects PBFT.
Can be according to the common recognition mechanism impact factor information in business datum in above-described embodiment, dynamic selection in real time is closed Suitable block chain common recognition mechanism, to reduce the resource overhead caused by common recognition mechanism in block chain technology.
The common recognition mechanism grade of business datum how is determined with reference to Fig. 3 descriptions.
Fig. 3 shows an application examples of the common recognition mechanism grade of determining business datum.As shown in Figure 3, it is assumed that influence altogether Knowledge mechanism includes user type rank, information security rank and type of service rank.
User type rank is X, and as user type rating value becomes larger, the attention degree that user receives accordingly becomes larger, phase The weight answered can accordingly increase;Information security rank is Y, and as information security rating value becomes larger, user security rank is wanted It asks and becomes larger, corresponding weight can accordingly increase;Type of service rank is Z, as type of service rank becomes larger, the business system that uses System will become complicated and changeable, and shared weight also can accordingly increase.L, M, N are respectively weighting coefficient, and wherein X, Y, Z, L, M, N takes Value range is greater than equal to 1 and is less than or equal to 10, and meets L+M+N=10.The common recognition mechanism grade V of business datum can be indicated For V=X*L*0.1+Y*M*0.1+Z*N*0.1+ ....
For example, user type rank is 5, weight 3;Information security rank is 8, weight 5;Type of service rank is 4, Weight is 2.Therefore, V=X*L*0.1+Y*M*0.1+Z*N*0.1=6.3.To select suitable common recognition mechanism according to calculated value It executes.
The method for selecting block chain common recognition mechanism of another embodiment of the disclosure is described with reference to Fig. 4.
Fig. 4 shows the flow diagram of the method for the selection block chain common recognition mechanism of another embodiment of the disclosure.Such as Shown in Fig. 4, on the basis of embodiment shown in Fig. 2, the method for the selection block chain common recognition mechanism in the present embodiment further includes step Rapid S408~S412.
In step S410, the block chain common recognition mechanism of selection is reported to user by common recognition node.
For example, common recognition node A can know together the block chain of selection, mechanism PBFT and common recognition 5 grade of mechanism report to use Family.After user receives the block chain common recognition mechanism of common recognition node A selections, it can be determined that whether the common recognition mechanism meets its business It is required that.
In step S412, common recognition node receives the block chain common recognition mechanism feedback information that user sends.
For example, user judges common recognition mechanism that need not be so stringent complicated, the common recognition mechanism of more inferior grade can be received, It can be to common recognition node feeding back information.The feedback information is specifically as follows common recognition scheme information, with its needs of instruction common recognition node Common recognition mechanism;May be common recognition mechanism class information, the common recognition mechanism grade that it is needed with instruction common recognition node;It can be with For mechanism level adjustment information of knowing together, (or height-regulating) common recognition mechanism grade is reduced with instruction common recognition node.
In step S414, common recognition node is according to selected block chain common recognition mechanism and block chain common recognition mechanism feedback Information selects block chain common recognition mechanism for business datum again.
After common recognition node A receives the feedback information of user, common recognition mechanism can be reselected according to feedback information.Specifically For directly select common recognition mechanism, first determine common recognition mechanism grade or adjustment common recognition mechanism grade, need rely on feedback letter Depending on the form of breath.
In above-described embodiment, user can according to actual needs be adjusted the block chain of selection common recognition mechanism, to The block chain common recognition real-time dynamic select characteristic of mechanism is further enhanced, can be further reduced in block chain technology because of common recognition machine Resource overhead caused by system, and user experience can be enhanced.
Fig. 5 shows the Technical Architecture schematic diagram of the block chain of one embodiment.Wherein, preferable common recognition mechanism selecting party The design method of case is modularization, such as Notary.As shown in figure 5, increasing common recognition mechanism in existing block chain Technical Architecture Dynamic select layer can build the mechanism that common recognition algorithm is selected with internal dynamic.Dynamic select layer can be by mechanism shadow of knowing together It rings the factor and weight coefficient and carries out rational arithmetic, know together mechanism in conjunction with common recognition mechanism degree of belief Dynamic Programming,
The structure of the common recognition node of an embodiment of the present disclosure is described with reference to Fig. 6.
Fig. 6 shows the structural schematic diagram of the common recognition node of an embodiment of the present disclosure.As shown in fig. 6, the embodiment Common recognition node 60 include:Mechanism level determination module 602 and common recognition mechanism selecting module 604.
Mechanism level determination module 602, is configured as after receiving business datum, according to the common recognition machine in business datum Impact factor information processed determines the common recognition mechanism grade of business datum;
Common recognition mechanism selecting module 604 is configured as the common recognition mechanism grade using business datum, from all alternative blocks In chain common recognition mechanism corresponding block chain common recognition mechanism is selected for business datum.
In some embodiments, mechanism level determination module 602 is configured as:Using common recognition mechanism impact factor information, Determine common recognition mechanism impact factor numerical value, common recognition mechanism impact factor of the business datum under each common recognition mechanism impact factor item Weight;Common recognition mechanism impact factor numerical value, common recognition mechanism impact factor weight are weighted summation, obtain being total to for business datum Knowledge mechanism grade.
In some embodiments, common recognition mechanism impact factor includes user type rank, information security rank, data type Rank and type of service rank.
In some embodiments, it is grade being total to not less than business datum for the block chain common recognition mechanism that business datum selects Knowledge mechanism grade.
In some embodiments, common recognition node 60 further includes alternate mechanism level determination module 606, is configured as:In advance Determine the common recognition mechanism grade of each alternative block chain common recognition mechanism, the common recognition mechanism grade of each alternative block chain common recognition mechanism It is proportionate with common recognition mechanism complexity.
Can be according to the common recognition mechanism impact factor information in business datum in above-described embodiment, dynamic selection in real time is closed Suitable block chain common recognition mechanism, to reduce the resource overhead caused by common recognition mechanism in block chain technology.
In some embodiments, common recognition node 60 further includes common recognition mechanism gravity treatment module 608, is configured as:By selection Block chain common recognition mechanism reports to user;Receive the block chain common recognition mechanism feedback information that user sends;According to selected area Block chain common recognition mechanism and block chain common recognition mechanism feedback information are that business datum selects block chain common recognition mechanism again.
In above-described embodiment, user can according to actual needs be adjusted the block chain of selection common recognition mechanism, to The block chain common recognition real-time dynamic select characteristic of mechanism is further enhanced, can be further reduced in block chain technology because of common recognition machine Resource overhead caused by system, and user experience can be enhanced.
Fig. 7 shows the structural schematic diagram of the device of the selection block chain common recognition mechanism of an embodiment of the present disclosure.Such as Fig. 7 Shown, the device 70 of the selection block chain common recognition mechanism of the embodiment includes:Memory 710 and it is coupled to the memory 710 Processor 720, processor 720 is configured as based on the instruction being stored in memory 710, executing any one aforementioned implementation The method of selection block chain common recognition mechanism in example.
Wherein, memory 710 is such as may include system storage, fixed non-volatile memory medium.System stores Device is such as being stored with operating system, application program, Boot loader (Boot Loader) and other programs.
Mechanical hand apparatus for work 70 can also include input/output interface 730, network interface 740, memory interface 750 etc.. It can for example be connected by bus 760 between these interfaces 730,740,750 and memory 710 and processor 720.Wherein, The input-output equipment such as input/output interface 730 is display, mouse, keyboard, touch screen provide connecting interface.Network interface 740 provide connecting interface for various networked devices.The external storages such as memory interface 740 is SD card, USB flash disk provide connection and connect Mouthful.
The disclosure further includes a kind of computer readable storage medium, is stored thereon with computer instruction, which is handled Device realizes the selection block chain common recognition mechanism in any one aforementioned embodiment method when executing.
It should be understood by those skilled in the art that, embodiment of the disclosure can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the disclosure Apply the form of example.Moreover, the disclosure can be used in one or more wherein include computer usable program code computer The calculating implemented on non-transient storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) can be used The form of machine program product.
The disclosure is with reference to method, the flow of equipment (system) and computer program product according to the embodiment of the present disclosure Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is merely the preferred embodiments of the disclosure, not to limit the disclosure, all spirit in the disclosure and Within principle, any modification, equivalent replacement, improvement and so on should be included within the protection domain of the disclosure.

Claims (14)

1. a kind of method of selection block chain common recognition mechanism, including:
After receiving business datum, according to the common recognition mechanism impact factor information in the business datum, the business is determined The common recognition mechanism grade of data;
It is the business datum choosing from all alternative block chain common recognition mechanism using the common recognition mechanism grade of the business datum Select corresponding block chain common recognition mechanism.
2. the method for claim 1, wherein the common recognition mechanism impact factor according in the business datum is believed Breath, determines that the common recognition mechanism grade of the business datum includes:
Using common recognition mechanism impact factor information, common recognition of the business datum under each common recognition mechanism impact factor item is determined Mechanism impact factor numerical value, common recognition mechanism impact factor weight;
Common recognition mechanism impact factor numerical value, common recognition mechanism impact factor weight are weighted summation, obtain the business datum Common recognition mechanism grade.
3. method as claimed in claim 2, wherein the common recognition mechanism impact factor includes user type rank, information peace Full rank, data type rank and type of service rank.
4. the grade the method for claim 1, wherein for the block chain common recognition mechanism of business datum selection is not low In the common recognition mechanism grade of the business datum.
5. method as claimed in claim 4, wherein the method further includes:
Predefine the common recognition mechanism grade of each alternative block chain common recognition mechanism, the common recognition of each alternative block chain common recognition mechanism Mechanism grade is proportionate with common recognition mechanism complexity.
6. the method for claim 1, wherein the method further includes:
The block chain common recognition mechanism of selection is reported into user;
Receive the block chain common recognition mechanism feedback information that user sends;
It is again the business number according to selected block chain common recognition mechanism and block chain common recognition mechanism feedback information According to selection block chain common recognition mechanism.
7. a kind of common recognition node, including:
Mechanism level determination module, is configured as after receiving business datum, according to the common recognition mechanism in the business datum Impact factor information determines the common recognition mechanism grade of the business datum;
Common recognition mechanism selecting module is configured as the common recognition mechanism grade using the business datum, from all alternative block chains It is that the business datum selects corresponding block chain common recognition mechanism in common recognition mechanism.
8. common recognition node as claimed in claim 7, wherein the mechanism level determination module is configured as:
Using common recognition mechanism impact factor information, common recognition of the business datum under each common recognition mechanism impact factor item is determined Mechanism impact factor numerical value, common recognition mechanism impact factor weight;
Common recognition mechanism impact factor numerical value, common recognition mechanism impact factor weight are weighted summation, obtain the business datum Common recognition mechanism grade.
9. common recognition node as claimed in claim 8, wherein the common recognition mechanism impact factor includes user type rank, letter Cease security level, data type rank and type of service rank.
10. as claimed in claim 7 common recognition node, wherein for the business datum selection block chain know together mechanism etc. Grade is not less than the common recognition mechanism grade of the business datum.
11. common recognition node as claimed in claim 10, wherein the common recognition node further includes that alternate mechanism grade determines mould Block is configured as:
Predefine the common recognition mechanism grade of each alternative block chain common recognition mechanism, the common recognition of each alternative block chain common recognition mechanism Mechanism grade is proportionate with common recognition mechanism complexity.
12. as claimed in claim 7 common recognition node, wherein the common recognition node further includes common recognition mechanism gravity treatment module, by with It is set to:
The block chain common recognition mechanism of selection is reported into user;
Receive the block chain common recognition mechanism feedback information that user sends;
It is again the business number according to selected block chain common recognition mechanism and block chain common recognition mechanism feedback information According to selection block chain common recognition mechanism.
13. a kind of device of selection block chain common recognition mechanism, including:
Memory;And
It is coupled to the processor of the memory, the processor is configured as based on the instruction being stored in the memory, Execute the method such as selection block chain common recognition mechanism according to any one of claims 1 to 6.
14. a kind of computer readable storage medium, wherein the computer-readable recording medium storage has computer instruction, institute State the method realized when instruction is executed by processor such as selection block chain common recognition mechanism according to any one of claims 1 to 6.
CN201810441528.0A 2018-05-10 2018-05-10 Method and device for selecting block chain consensus mechanism and consensus node Active CN108647967B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810441528.0A CN108647967B (en) 2018-05-10 2018-05-10 Method and device for selecting block chain consensus mechanism and consensus node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810441528.0A CN108647967B (en) 2018-05-10 2018-05-10 Method and device for selecting block chain consensus mechanism and consensus node

Publications (2)

Publication Number Publication Date
CN108647967A true CN108647967A (en) 2018-10-12
CN108647967B CN108647967B (en) 2021-09-14

Family

ID=63754121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810441528.0A Active CN108647967B (en) 2018-05-10 2018-05-10 Method and device for selecting block chain consensus mechanism and consensus node

Country Status (1)

Country Link
CN (1) CN108647967B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508295A (en) * 2018-11-14 2019-03-22 联动优势科技有限公司 Block chain common recognition test of heuristics method, apparatus, computing device and storage medium
CN110557427A (en) * 2019-07-15 2019-12-10 浙江工业大学 Intelligent home security control method for balancing network performance and security
CN111464633A (en) * 2020-03-31 2020-07-28 成都质数斯达克科技有限公司 Consensus method and system for transaction information of block chain
TWI701618B (en) * 2019-01-09 2020-08-11 台灣海耶克股份有限公司 Method of allocating resources by task hierarchy
WO2020173498A1 (en) * 2019-02-26 2020-09-03 白杰 Blockchain-based subnet transaction method and system
CN111861469A (en) * 2020-07-27 2020-10-30 北京金山云网络技术有限公司 Processing method and device for consensus mechanism in block chain and electronic equipment
CN112261155A (en) * 2020-12-21 2021-01-22 哈尔滨工业大学(深圳)(哈尔滨工业大学深圳科技创新研究院) Internet of things access control method with dynamic consensus based on block chains of alliances
WO2021239087A1 (en) * 2020-05-29 2021-12-02 支付宝(杭州)信息技术有限公司 Data processing method, apparatus and device, and medium
CN113992335A (en) * 2021-12-28 2022-01-28 广州敏行区块链科技有限公司 Self-adaptive multi-consensus block chain processing method and system
CN114296831A (en) * 2021-12-30 2022-04-08 迅鳐成都科技有限公司 Dynamic loading method, device and system for block chain consensus algorithm and storage medium
CN115470292A (en) * 2022-08-22 2022-12-13 深圳市沃享科技有限公司 Block chain consensus method, block chain consensus device, electronic equipment and readable storage medium
CN116614311A (en) * 2023-07-18 2023-08-18 中移(苏州)软件技术有限公司 Mirror image signature method, device, service node, terminal and readable storage medium
CN117336296A (en) * 2023-12-01 2024-01-02 太极计算机股份有限公司 Intelligent selection method for cluster consensus
WO2024007483A1 (en) * 2022-07-07 2024-01-11 Hsbc Software Development (Guangdong) Limited Method for implementing network consensus algorithm

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150046538A1 (en) * 2006-11-16 2015-02-12 Watertown Software, Inc. System And Method For Algorithmic Selection Of A Consensus From A Plurality Of Ideas
CN106651346A (en) * 2016-11-28 2017-05-10 上海凯岸信息科技有限公司 Block chain-based credit investigation data sharing and trading system
CN107360248A (en) * 2017-07-31 2017-11-17 众安信息技术服务有限公司 For configuring the method and apparatus locally known together and computer-readable recording medium
CN107450981A (en) * 2017-05-31 2017-12-08 阿里巴巴集团控股有限公司 A kind of block chain common recognition method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150046538A1 (en) * 2006-11-16 2015-02-12 Watertown Software, Inc. System And Method For Algorithmic Selection Of A Consensus From A Plurality Of Ideas
CN106651346A (en) * 2016-11-28 2017-05-10 上海凯岸信息科技有限公司 Block chain-based credit investigation data sharing and trading system
CN107450981A (en) * 2017-05-31 2017-12-08 阿里巴巴集团控股有限公司 A kind of block chain common recognition method and apparatus
CN107360248A (en) * 2017-07-31 2017-11-17 众安信息技术服务有限公司 For configuring the method and apparatus locally known together and computer-readable recording medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
KEJIAO LI: "Proof of Vote: A High-Performance Consensus Protocol Based on Vote Mechanism & Consortium Blockchain", 《2017 IEEE 19TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS》 *
陆雯珺 等: "可信环境下数据交易协同机制研究及应用", 《现代计算机》 *
陈德 等: "基于Hyperledger的自交易共享平台解决方案", 《计算机时代》 *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508295B (en) * 2018-11-14 2021-11-09 联动优势科技有限公司 Block chain consensus algorithm testing method and device, calculating device and storage medium
CN109508295A (en) * 2018-11-14 2019-03-22 联动优势科技有限公司 Block chain common recognition test of heuristics method, apparatus, computing device and storage medium
TWI701618B (en) * 2019-01-09 2020-08-11 台灣海耶克股份有限公司 Method of allocating resources by task hierarchy
WO2020173498A1 (en) * 2019-02-26 2020-09-03 白杰 Blockchain-based subnet transaction method and system
CN110557427B (en) * 2019-07-15 2022-07-26 浙江工业大学 Intelligent home security control method for balancing network performance and security
CN110557427A (en) * 2019-07-15 2019-12-10 浙江工业大学 Intelligent home security control method for balancing network performance and security
CN111464633A (en) * 2020-03-31 2020-07-28 成都质数斯达克科技有限公司 Consensus method and system for transaction information of block chain
WO2021239087A1 (en) * 2020-05-29 2021-12-02 支付宝(杭州)信息技术有限公司 Data processing method, apparatus and device, and medium
CN111861469A (en) * 2020-07-27 2020-10-30 北京金山云网络技术有限公司 Processing method and device for consensus mechanism in block chain and electronic equipment
CN112261155A (en) * 2020-12-21 2021-01-22 哈尔滨工业大学(深圳)(哈尔滨工业大学深圳科技创新研究院) Internet of things access control method with dynamic consensus based on block chains of alliances
CN112261155B (en) * 2020-12-21 2021-03-16 哈尔滨工业大学(深圳)(哈尔滨工业大学深圳科技创新研究院) Internet of things access control method with dynamic consensus based on block chains of alliances
CN113992335A (en) * 2021-12-28 2022-01-28 广州敏行区块链科技有限公司 Self-adaptive multi-consensus block chain processing method and system
CN114296831A (en) * 2021-12-30 2022-04-08 迅鳐成都科技有限公司 Dynamic loading method, device and system for block chain consensus algorithm and storage medium
WO2024007483A1 (en) * 2022-07-07 2024-01-11 Hsbc Software Development (Guangdong) Limited Method for implementing network consensus algorithm
CN115470292A (en) * 2022-08-22 2022-12-13 深圳市沃享科技有限公司 Block chain consensus method, block chain consensus device, electronic equipment and readable storage medium
CN115470292B (en) * 2022-08-22 2023-10-10 深圳市沃享科技有限公司 Block chain consensus method, device, electronic equipment and readable storage medium
CN116614311A (en) * 2023-07-18 2023-08-18 中移(苏州)软件技术有限公司 Mirror image signature method, device, service node, terminal and readable storage medium
CN116614311B (en) * 2023-07-18 2023-11-03 中移(苏州)软件技术有限公司 Mirror image signature method, device, service node, terminal and readable storage medium
CN117336296A (en) * 2023-12-01 2024-01-02 太极计算机股份有限公司 Intelligent selection method for cluster consensus
CN117336296B (en) * 2023-12-01 2024-03-26 太极计算机股份有限公司 Intelligent selection method for cluster consensus

Also Published As

Publication number Publication date
CN108647967B (en) 2021-09-14

Similar Documents

Publication Publication Date Title
CN108647967A (en) Select the method, apparatus and common recognition node of block chain common recognition mechanism
Attar et al. A simulation-based optimization approach for free distributed repairable multi-state availability-redundancy allocation problems
Xu et al. Chemical reaction optimization for task scheduling in grid computing
WO2020151129A1 (en) Quantum machine learning framework construction method and apparatus, and quantum computer and computer storage medium
US8250007B2 (en) Method of generating precedence-preserving crossover and mutation operations in genetic algorithms
CN101295380B (en) Method and system for estimating resource provisioning
US10970361B2 (en) Information processing apparatus, ising device, and information processing apparatus control method
Dias et al. Parallel computing applied to the stochastic dynamic programming for long term operation planning of hydrothermal power systems
US11715003B2 (en) Optimization system, optimization apparatus, and optimization system control method for solving optimization problems by a stochastic search
KR20210125893A (en) Method and device for processing transaction request in blockchain, electronic apparatus, and storage medium
US8527322B2 (en) Proactive demand shaping for a configurable product portfolio with uncertain demand
CN106371902A (en) A system to place virtual machines onto servers based upon backup runtime constraints
Wang et al. A novel method for solving multiobjective linear programming problems with triangular neutrosophic numbers
Frauenthaler et al. A framework for blockchain interoperability and runtime selection
Davidson et al. The weighted independent domination problem: Integer linear programming models and metaheuristic approaches
Mohammadi et al. Learning-aided asynchronous admm for optimal power flow
CN103782290A (en) Generation of recommendation values
Li et al. Order assignment and scheduling under processing and distribution time uncertainty
CN103649942A (en) Retail forecasting using parameter estimation
JP2018206199A (en) Management device, management method, and program
JPH02136034A (en) Optimal power load distribution system by neural network
Li et al. Minimizing job completion time variance for service stability on identical parallel machines
Ni et al. An ant colony optimization for the composite SaaS placement problem in the cloud
CN115705496A (en) Quantum computer operating system and quantum computer
CN114217825A (en) Method, apparatus, machine-readable storage medium and processor for decision engine

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