CN110288179A - Administering method and device, computer equipment, the storage medium of alliance's chain - Google Patents

Administering method and device, computer equipment, the storage medium of alliance's chain Download PDF

Info

Publication number
CN110288179A
CN110288179A CN201910390791.6A CN201910390791A CN110288179A CN 110288179 A CN110288179 A CN 110288179A CN 201910390791 A CN201910390791 A CN 201910390791A CN 110288179 A CN110288179 A CN 110288179A
Authority
CN
China
Prior art keywords
alliance
chain
contract
intelligent
target
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.)
Pending
Application number
CN201910390791.6A
Other languages
Chinese (zh)
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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart 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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910390791.6A priority Critical patent/CN110288179A/en
Publication of CN110288179A publication Critical patent/CN110288179A/en
Priority to PCT/CN2020/087557 priority patent/WO2020228531A1/en
Pending legal-status Critical Current

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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0637Strategic management or analysis, e.g. setting a goal or target of an organisation; Planning actions based on goals; Analysis or evaluation of effectiveness of goals
    • G06Q10/06375Prediction of business process outcome or impact based on a proposed change
    • 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
    • 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/02Banking, e.g. interest calculation or account maintenance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The embodiment of the invention provides a kind of administering method of alliance's chain and device, computer equipment, storage mediums.On the one hand, this method comprises: the multiple intelligent contracts of setting, wherein each intelligent contract corresponds to a set of decision logic that allied member administers alliance's chain in the multiple intelligence contract;The improvement for administering alliance's chain is triggered to request;Treatment decision-making result is generated according to the improvement request selecting Intelligent target contract, and using the Intelligent target contract.Through the invention, the technical issues of solving low efficiency when administering alliance's chain in the related technology or common recognition mechanism cannot be embodied.

Description

Administering method and device, computer equipment, the storage medium of alliance's chain
[technical field]
The present invention relates to the administering method and device of computer field more particularly to a kind of alliance's chain, computer equipment, deposit Storage media.
[background technique]
In the related technology, alliance's chain be for some special group member and limited third-party block chain, in Portion specifies multiple preselected nodes for book keeping operation people, and each piece of generation is codetermined by all preselected nodes.According to alliance's link network The difference of network centralization degree, and the alliance's chain being divided under different application scene: the whole network discloses, the block of no user licensing scheme Chain, referred to as publicly-owned chain;Network is added in the node for allowing to authorize, and information can be checked according to permission, is often used for inter-agency area Block chain, referred to as alliance's chain or industry chain;Node in all-network all rests in a mechanism hand, referred to as privately owned chain.
In the scheme of the relevant technologies, alliance's chain of product is administered in the industry, is mostly used and is ratified by Federation management side or respectively joined Mode with side based on workflow is ratified in turn.The democracy that the former can not embody block chain controls spirit altogether, and the latter implements tool There is governance process that cannot automate and (need to manually participate in), Management strategy is unable to flexible customization, and governance process is not easy to reach common recognition Disadvantage, it follows that alliance's chain Management strategy in the related technology is unreasonable.
For the above problem present in the relevant technologies, at present it is not yet found that the solution of effect.
[summary of the invention]
In view of this, the embodiment of the invention provides a kind of administering method of alliance's chain and device, computer equipment, storages Medium, low efficiency or the technical issues of common recognition mechanism cannot be embodied when solving to administer alliance's chain in the related technology.
On the one hand, the embodiment of the invention provides a kind of administering methods of alliance's chain, which comprises multiple intelligence are arranged Energy contract, wherein a set of decision that each intelligent contract corresponds to allied member's improvement alliance's chain in the multiple intelligence contract is patrolled Volume;The improvement for administering alliance's chain is triggered to request;According to the improvement request selecting Intelligent target contract, and use institute It states Intelligent target contract and generates treatment decision-making result.
Optionally, it includes: that the first general intelligence is arranged for the allied member on alliance's chain to close that multiple intelligent contracts, which are arranged, It about, and is the intelligent contract of each allied member setting specific second on alliance's chain, wherein the described first intelligent contract pair The first abatement functions are answered, the described second intelligent corresponding second abatement functions of contract, alliance's chain is by multiple allied members Composition.
Optionally, it triggers the improvement for administering alliance's chain to request to include following one: in allied member's access Under trigger condition, triggers first for administering alliance's chain and administer request;Under the trigger condition of subchain member's access, triggering is used Request is administered in administer alliance's chain second, wherein alliance's chain includes one or more subchains, and the subchain member is to appoint Block chain node in one subchain;Under the trigger condition of the verifying access of the intelligent contract of application, triggering is for administering connection The third of alliance's chain administers request.
Optionally, it according to the improvement request selecting Intelligent target contract, and is controlled using Intelligent target contract generation The reason result of decision includes: to administer to ask described the first of target members' triggering that the improvement request is alliance's chain to be accessed It asks or when second administers request, is closed according to the Intelligent target that preset mapping relation trade-off decision logic is white list or blacklist About, wherein the target members include allied member or triggering the second improvement request that request is administered in triggering described first Subchain member;Judge whether the target members are credible according to white list entry or blacklist entry;In white list entry packet When to include the target members or blacklist entry not include the target members, determine that the target members are credible, and to described The common recognition node feeding back of alliance's chain is used to indicate the believable response message of the target members, so that the common recognition node is according to more The response message of a allied member generates treatment decision-making result.
Optionally, it according to the improvement request selecting Intelligent target contract, and is controlled using Intelligent target contract generation The reason result of decision includes: to administer to request in the third for administering the verifying access triggering that request is the intelligent contract of application When, it is the Intelligent target contract of particular code verifying according to preset mapping relation trade-off decision logic;To target to be verified at Member sends verifying message;Receive the response message of target members' feedback;Message is analyzed the response to, in the response message When the middle agreed code for carrying representative capacity, the common recognition node feeding back of Xiang Suoshu alliance chain is used to indicate target members' verifying By response message so that the common recognition node according to the response message of multiple allied members generate treatment decision-making result.
Optionally, it includes following that the common recognition node, which generates treatment decision-making result according to the response message of multiple allied members, One of: it is more than most allied members when being used to indicate the believable response message of the target members receiving, generates and agree to Treatment decision-making result;The believable response message of the target members is used to indicate receive multiple specific allied members When, generate the treatment decision-making result of agreement;The believable sound of the target members is used to indicate receive whole allied members When answering message, the treatment decision-making result of agreement is generated.
Optionally, it when the Intelligent target contract includes one first intelligent contract and multiple second intelligent contracts, adopts Generating treatment decision-making result with the Intelligent target contract includes: that the multiple allied members of triggering execute corresponding second intelligence conjunction About, multiple first result of decision are generated;Using the multiple first result of decision as the input data of the described first intelligent contract, Obtain the output data of the described first intelligent contract;The output data is determined as the treatment decision-making result.
On the other hand, the embodiment of the invention provides a kind of controlling device of alliance's chain, described device includes: setting mould Block, for multiple intelligent contracts to be arranged, wherein each intelligent contract corresponds to allied member and administers connection in the multiple intelligence contract A set of decision logic of alliance's chain;Trigger module, for triggering the improvement request for administering alliance's chain;Abatement modules are used In generating treatment decision-making result according to the improvement request selecting Intelligent target contract, and using the Intelligent target contract.
Optionally, the setup module includes: setting unit, for general to be arranged for the allied member on alliance's chain One intelligent contract, and be the intelligent contract of each allied member setting specific second on alliance's chain, wherein first intelligence Corresponding first abatement functions of energy contract, the described second intelligent corresponding second abatement functions of contract, alliance's chain is by multiple described Allied member's composition.
Optionally, the trigger module includes following one: the first trigger unit, for the triggering in allied member's access Under the conditions of, it triggers first for administering alliance's chain and administers request;Second trigger unit, for the triggering in subchain member's access Under the conditions of, it triggers second for administering alliance's chain and administers request, wherein alliance's chain includes one or more subchains, institute Stating subchain member is the block chain node in any subchain;Third trigger unit, for the verifying in the intelligent contract of application Under the trigger condition of access, triggers the third for administering alliance's chain and administer request.
Optionally, the abatement modules include: first selecting unit, for being to be accessed described in improvement request When described the first of target members' triggering of alliance's chain administers request or the second improvement request, according to preset mapping relation trade-off decision Logic is the Intelligent target contract of white list or blacklist, wherein the target members include triggering first improvement to ask The allied member or triggering described second that ask administer the subchain member of request;Judging unit, for according to white list entry or black List entry judges whether the target members are credible;First governance unit, for white list entry include the target at Member or blacklist entry determine that the target members are credible when not including the target members, and to the common recognition of alliance's chain Node feeding back is used to indicate the believable response message of the target members, so that the common recognition node is according to multiple allied members Response message generates treatment decision-making result.
Optionally, the abatement modules include: the second selecting unit, for being the intelligent contract of application in improvement request Verifying access triggering the third administer request when, according to preset mapping relation trade-off decision logic be particular code verify Intelligent target contract;Transmission unit, for sending verifying message to target members to be verified;Receiving unit, for receiving The response message of target members' feedback;Second governance unit, for analyzing the response to message, in the response message When carrying the agreed code of representative capacity, it is believable that the common recognition node feeding back of Xiang Suoshu alliance chain is used to indicate the target members Response message, so that the common recognition node generates treatment decision-making result according to the response message of multiple allied members.
Optionally, it includes following that the common recognition node, which generates treatment decision-making result according to the response message of multiple allied members, One of: it is more than most allied members when being used to indicate the believable response message of the target members receiving, generates and agree to Treatment decision-making result;The believable response message of the target members is used to indicate receive multiple specific allied members When, generate the treatment decision-making result of agreement;The believable sound of the target members is used to indicate receive whole allied members When answering message, the treatment decision-making result of agreement is generated.
Optionally, when the Intelligent target contract includes one first intelligent contract and multiple second intelligent contracts, institute Stating abatement modules includes: the first generation unit, executes the corresponding second intelligent contract for triggering multiple allied members, generates more A first result of decision;Second generation unit, for using the multiple first result of decision as the described first intelligent contract Input data obtains the output data of the described first intelligent contract;Third governance unit, for the output data to be determined as The treatment decision-making result.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, meter is stored in the storage medium Calculation machine program, wherein the computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
According to still another embodiment of the invention, a kind of electronic device, including memory and processor are additionally provided, it is described Computer program is stored in memory, the processor is arranged to run the computer program to execute any of the above-described Step in embodiment of the method.
Through the invention, the improvement of alliance's chain is carried out by the way that the intelligent contract for administering purposes is arranged, alliance's chain is administered Process may be implemented increasingly automated, complicated Management strategy may be implemented, it is easier to reach the common recognition based on Management strategy.Solution Low efficiency of having determined when administering alliance's chain in the related technology or the technical issues of common recognition mechanism cannot be embodied, according to intelligent contract The common recognition mechanism of automatic execution mechanism and alliance's chain, the improvement common recognition that can be automatically performed alliance are reached, the process entirely administered The manager of alliance or the artificial participation of other participants are not needed.
[Detailed description of the invention]
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field For those of ordinary skill, without any creative labor, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of hardware block diagram of the server of the improvement of alliance's chain of the embodiment of the present invention;
Fig. 2 is the flow chart of the administering method of alliance's chain according to an embodiment of the present invention;
Fig. 3 is the application schematic diagram of alliance's chain of the embodiment of the present invention;
Fig. 4 is the flow chart that the embodiment of the present invention generates treatment decision-making result using specified intelligent contract;
Fig. 5 is the structural block diagram of the controlling device of alliance's chain according to an embodiment of the present invention.
[specific embodiment]
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Embodiment 1
Embodiment of the method provided by the embodiment of the present application one can be in server, terminal or similar operation It is executed in device.For running on the server, Fig. 1 is a kind of server of the improvement of alliance's chain of the embodiment of the present invention Hardware block diagram.As shown in Figure 1, server 10 may include one or more (only showing one in Fig. 1) processors 102 It (processing unit that processor 102 can include but is not limited to Micro-processor MCV or programmable logic device FPGA etc.) and is used for The memory 104 of storing data, optionally, above-mentioned server can also include for communication function transmission device 106 and Input-output equipment 108.It will appreciated by the skilled person that structure shown in FIG. 1 is only to illustrate, not to above-mentioned The structure of server causes to limit.For example, server 10 may also include than shown in Fig. 1 more perhaps less component or With the configuration different from shown in Fig. 1.
Memory 104 can be used for storing computer program, for example, the software program and module of application software, such as this hair The corresponding computer program of administering method of alliance's chain in bright embodiment, processor 102 are stored in memory 104 by operation Interior computer program realizes above-mentioned method thereby executing various function application and data processing.Memory 104 can Including high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or Other non-volatile solid state memories of person.In some instances, memory 104 can further comprise remote relative to processor 102 The memory of journey setting, these remote memories can pass through network connection to server 10.The example of above-mentioned network include but It is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of server 10 provide.In an example, transmitting device 106 includes a network adapter (Network Interface Controller, referred to as NIC), can be connected by base station with other network equipments so as to It is communicated with internet.In an example, transmitting device 106 can be radio frequency (Radio Frequency, referred to as RF) Module is used to wirelessly be communicated with internet.
A kind of administering method of alliance's chain is provided in the present embodiment, and Fig. 2 is alliance's chain according to an embodiment of the present invention Administering method flow chart, as shown in Fig. 2, the process includes the following steps:
Multiple intelligent contracts are arranged in step S202, wherein each intelligent contract corresponds to alliance in the multiple intelligence contract A set of decision logic of member's improvement alliance's chain;
Multiple intelligent contracts of the present embodiment include a set of general intelligent contract and at least a set of specific intelligence contract, It is corresponding, when the intelligent contract of alliance's chain is arranged, a set of general intelligent contract and at least can be set to each allied member A set of specific intelligent contract executes one or more sets intelligent contracts under corresponding scene.
Step S204 triggers the improvement for administering alliance's chain and requests;
Under different trigger conditions, different improvement requests, when requesting object or administering object difference, touching are triggered The improvement request of hair is also possible to difference.
Step S206 is generated according to the improvement request selecting Intelligent target contract, and using the Intelligent target contract Treatment decision-making result.
Scheme through this embodiment carries out the improvement of alliance's chain, connection by the way that the intelligent contract for administering purposes is arranged Alliance's chain governance process may be implemented increasingly automated, complicated Management strategy may be implemented, it is easier to reach based on Management strategy Common recognition.The technical issues of solving low efficiency when administering alliance's chain in the related technology or common recognition mechanism cannot be embodied, foundation The automatic execution mechanism of intelligent contract and the common recognition mechanism of alliance's chain, the improvement common recognition that can be automatically performed alliance are reached, entirely The process of improvement does not need the manager of alliance or the artificial participation of other participants.
The group of alliance's block chain used includes bank, insurance, security, commercial guild, conglomerate and upstream and downstream enterprise Industry.Block chain is born in mobile internet era, and generally oneself is through ITization and interconnection networking for these enterprises, and block chain is for further The efficiency for promoting notarization in the industry chain (supply chain) of their circles, clearing clearing operation and exchange of value network is helpful, still It is attempting to find using existing block chain technology (such as bit coin code family and ether mill), the process performance of existing block chain, Secret protection, compliance etc. are not able to satisfy their business demand.Fig. 3 is the application signal of alliance's chain of the embodiment of the present invention Figure, applies mechanism relevant in security.
The multiple intelligent contracts of the setting of the present embodiment include: that the first general intelligence is arranged for the allied member on alliance's chain Contract, and be the intelligent contract of each allied member setting specific second on alliance's chain, wherein the described first intelligent contract Corresponding first abatement functions, the described second intelligent corresponding second abatement functions of contract, alliance's chain by multiple alliances at Member's composition.
In an embodiment of the present embodiment, the intelligence that the intelligent contract of improvement can be embodied as a kind of system is closed About, each node in system is installed, and during the network establishment of alliance, each federation node installs the intelligence contract, It realizes and carries out unified configuration in attribute (such as endorsement strategy) of the system level to the intelligence contract.
As an application scenarios of the present embodiment, in alliance's chain technology (such as super account book Fabric), intelligence is called The transaction flow of energy contract is as follows:
Submit multiple endorsement sections of transaction motion (transaction proposal) into Alliance Network in transacting customer end (endorsement node is one kind of network node to point, executes intelligent contract for simulating, and hold to transacting customer end feedback intelligent contract Row result);Node simulation of endorsing executes intelligent contract, and to transacting customer end feedback intelligent contract implementing result;Transacting customer Motion will be traded and be packaged into a transaction request from the implementing result that each endorsement node is collected by holding, and be sent to common recognition section Point is ranked up common recognition;Common recognition node is packaged out block to the transaction received according to certain rule, and block is broadcast to Accounting nodes in network;After accounting nodes receive block, the transaction in block can be verified.A wherein step in verifying It exactly goes whether the endorsement result for verifying this transaction meets the relevant endorsement strategy of this intelligence contract, only meets endorsement plan Transaction slightly just can be considered as that effectively, account book slip condition database can be just written in corresponding state change.
The endorsement strategy of intelligent contract in the present embodiment is a kind of configurable strategy or rule, the execution of intelligent contract As a result the endorsement for needing to obtain endorsement node can just come into force, and in the case where node verification of endorsing passes through, could endorse for it.
For the improvement of alliance's chain, the Functional Design of improvement (can be claimed at a kind of special intelligent contract To administer intelligent contract), in the intelligence contract, including treatment decision-making logic;The endorsement strategy setting of this intelligent contract At the Management strategy that allied member arranges, Management strategy may is that needs are more than that most members agree to, or at least need certain Special member is agreed to, or needs member's all agreements, etc..The process of alliance government in this way can be transformed into execution one The process of exchange of a intelligence contract, final result of this transaction can be dependent on preassigned endorsement strategy (namely improvement plans Slightly).
The trigger condition of the present embodiment includes: allied member's access, subchain member access, the verifying standard using intelligent contract Enter;Different types of intelligent contract can be triggered according to different trigger conditions, different types of intelligence contract corresponds to different Treatment decision-making logic, every suit treatment decision-making logic correspond to a kind of improvement demand, trigger the improvement for administering alliance's chain Request can be, but not limited to are as follows: under the trigger condition of allied member's access, triggers the first improvement for administering alliance's chain and asks It asks;Under the trigger condition of subchain member's access, triggers second for administering alliance's chain and administer request, wherein the alliance Chain includes one or more subchains, and the subchain member is the block chain node in any subchain;In the intelligent contract of application Verifying access trigger condition under, trigger for administer alliance's chain third administer request.
Treatment decision-making logic inside the intelligent contract of the improvement of the present embodiment can be based on the customized rule of system, i.e., often Decision logic of a allied member as verifying node, such as member's white list or blacklist, particular code verifying logic etc.; Or certain automatic decision is carried out based on the data on current chain, the rule that these systems define is stored in the form of data on chain In on block chain, is read from chain when administering intelligent contract and executing and be then based on these regular datas progress treatment decision-making.
In one embodiment, when the decision logic of the specified intelligent contract is white list or blacklist, according to The improvement request selecting Intelligent target contract, and treatment decision-making result is generated using the Intelligent target contract and includes:
S11, in the first improvement request administering the target members that request is alliance's chain to be accessed and triggering It is the Intelligent target conjunction of white list or blacklist according to preset mapping relation trade-off decision logic or when the second improvement request About, wherein the target members include allied member or triggering the second improvement request that request is administered in triggering described first Subchain member;
S12 judges whether the target members are credible according to white list entry or blacklist entry;
S13 is determined when it does not include the target members that white list entry, which includes the target members or blacklist entry, The target members are credible, and are used to indicate the believable response of the target members to the common recognition node feeding back of alliance's chain and disappear Breath, so that the common recognition node generates treatment decision-making result according to the response message of multiple allied members.
In another embodiment, when the decision logic of the specified intelligent contract is particular code verifying logic, According to the improvement request selecting Intelligent target contract, and treatment decision-making result is generated using the Intelligent target contract and includes:
S21, when the improvement request administers request for the third that the verifying access of the intelligent contract of application triggers, root It is the Intelligent target contract of particular code verifying according to preset mapping relation trade-off decision logic;
S22 sends verifying message to target members to be verified;
S23 receives the response message of target members' feedback;
S24 analyzes the response to message, when carrying the agreed code of representative capacity in the response message, Xiang Suoshu The common recognition node feeding back of alliance's chain is used to indicate the believable response message of the target members, so that the common recognition node is according to more The response message of a allied member generates treatment decision-making result.
Optionally, it includes following that the common recognition node, which generates treatment decision-making result according to the response message of multiple allied members, One of: it is more than most allied members when being used to indicate the believable response message of the target members receiving, generates and agree to Treatment decision-making result;The believable response message of the target members is used to indicate receive multiple specific allied members When, generate the treatment decision-making result of agreement;The believable sound of the target members is used to indicate receive whole allied members When answering message, the treatment decision-making result of agreement is generated.
In one embodiment of the present embodiment, intelligent contract includes that the intelligent contract of general improvement and particular abatement are intelligently closed About, the two is inherently to administer intelligent contract, the different selections only realized.Contract intelligent for general improvement, at it In include the abatement functions and its treatment decision-making logic of all supports, for example, allied member's access, subchain member access and answering With the verifying of intelligent contract;And for particular abatement intelligence contract, it only include certain specific abatement functions and its treatment decision-making Logic, such as allied member's access.Different abatement functions have the intelligent contract of corresponding improvement.If using general improvement intelligence Can contract mode, implementations is upper relatively easy, management relatively convenient, but it is flexible to be not so good as particular abatement intelligence contract, such as not Different Management strategies can be set for different abatement functions.In addition, being needed if back will support new abatement functions Universal intelligent contract before upgrading is to include new abatement functions.But it for particular abatement intelligence contract, can create simultaneously Configuration one is directed to the intelligent contract of new abatement functions.
When carrying out treatment decision-making using intelligent contract, other than the regular data general according to system, can also configure The respective regular data of allied member (for example, oneself can be set in each allied member white list or blacklist), these connection The specific regular data of alliance member is also deposited on chain, and corresponds to the member identities ID of alliance, and different alliances is corresponding different Regular data.When executing improvement intelligence contract, first judges member identities, then gone to read the member couple according to member identities The ad hoc rules data answered carry out treatment decision-making.
Fig. 4 is the flow chart that the embodiment of the present invention generates treatment decision-making result using specified intelligent contract, in the target When intelligent contract includes one first intelligent contract and multiple second intelligent contracts, is generated and administered using the Intelligent target contract The result of decision includes:
S402 triggers multiple allied members and executes the corresponding second intelligent contract, generates multiple first result of decision;
Since the corresponding second intelligent contract of each allied member is different, first result of decision generated also has can Can be different, such as in the scene of allied member's access, a, b, tri- allied members of c generate first result of decision and are respectively as follows: access, Not access, access;
S404 obtains described the using the multiple first result of decision as the input data of the described first intelligent contract The output data of one intelligent contract;
According to above-mentioned example, by above-mentioned a, the first intelligence of first result of decision input that tri- allied members of b, c generate is closed About carry out decision, such as the first intelligent contract using it is most with imply that by decision logic, then final treatment decision-making result be Access;
The output data is determined as the treatment decision-making result by S406.
In administering intelligent contract, in addition to using general treatment decision-making logic, different allied members can also be directed to Using different treatment decision-making logics, intelligent contract is triggered under different triggering scenes respectively;In another embodiment scene In, treatment decision-making logic includes two parts, and a part is general treatment decision-making logic, and another part is that allied member is respectively only Vertical treatment decision-making logic, the possible realization of one kind are to be suitable for the system-level of each allied member in addition to configuring in alliance's chain The intelligent contract (being assumed to be A, general treatment decision-making logic) of other improvement, can also allow each allied member to configure oneself specific Improvement intelligence contract (being assumed to be B) controlled comprising being the specific treatment decision-making logic of the allied member in B carrying out alliance When reason, each allied member first carries out improvement intelligence and about B, and the result for the treatment of decision-making (R1) is deposited on chain;Then will Treatment decision-making result R1 is executed as an input data for administering intelligence and about A and is administered intelligence and about A and controlled accordingly Manage the result of decision.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
Additionally provide a kind of controlling device of alliance's chain in the present embodiment, the device is for realizing above-described embodiment and excellent Embodiment is selected, the descriptions that have already been made will not be repeated.As used below, predetermined function may be implemented in term " module " Software and/or hardware combination.Although device described in following embodiment is preferably realized with software, hardware, Or the realization of the combination of software and hardware is also that may and be contemplated.
Fig. 5 is the structural block diagram of the controlling device of alliance's chain according to an embodiment of the present invention, as shown in figure 5, the device packet It includes:
Setup module 50, for multiple intelligent contracts to be arranged, wherein each intelligent contract pair in the multiple intelligence contract Allied member is answered to administer a set of decision logic of alliance's chain;
Trigger module 52, for triggering the improvement request for administering alliance's chain;
Abatement modules 54, for being closed according to the improvement request selecting Intelligent target contract, and using the Intelligent target About generate treatment decision-making result.
Optionally, the setup module includes: setting unit, for general to be arranged for the allied member on alliance's chain One intelligent contract, and be the intelligent contract of each allied member setting specific second on alliance's chain, wherein first intelligence Corresponding first abatement functions of energy contract, the described second intelligent corresponding second abatement functions of contract, alliance's chain is by multiple described Allied member's composition.
Optionally, the trigger module includes following one: the first trigger unit, for the triggering in allied member's access Under the conditions of, it triggers first for administering alliance's chain and administers request;Second trigger unit, for the triggering in subchain member's access Under the conditions of, it triggers second for administering alliance's chain and administers request, wherein alliance's chain includes one or more subchains, institute Stating subchain member is the block chain node in any subchain;Third trigger unit, for the verifying in the intelligent contract of application Under the trigger condition of access, triggers the third for administering alliance's chain and administer request.
Optionally, the abatement modules include: first selecting unit, for being to be accessed described in improvement request When described the first of target members' triggering of alliance's chain administers request or the second improvement request, according to preset mapping relation trade-off decision Logic is the Intelligent target contract of white list or blacklist, wherein the target members include triggering first improvement to ask The allied member or triggering described second that ask administer the subchain member of request;Judging unit, for according to white list entry or black List entry judges whether the target members are credible;First governance unit, for white list entry include the target at Member or blacklist entry determine that the target members are credible when not including the target members, and to the common recognition of alliance's chain Node feeding back is used to indicate the believable response message of the target members, so that the common recognition node is according to multiple allied members Response message generates treatment decision-making result.
Optionally, the abatement modules include: the second selecting unit, for being the intelligent contract of application in improvement request Verifying access triggering the third administer request when, according to preset mapping relation trade-off decision logic be particular code verify Intelligent target contract;Transmission unit, for sending verifying message to target members to be verified;Receiving unit, for receiving The response message of target members' feedback;Second governance unit, for analyzing the response to message, in the response message When carrying the agreed code of representative capacity, it is believable that the common recognition node feeding back of Xiang Suoshu alliance chain is used to indicate the target members Response message, so that the common recognition node generates treatment decision-making result according to the response message of multiple allied members.
Optionally, it includes following that the common recognition node, which generates treatment decision-making result according to the response message of multiple allied members, One of: it is more than most allied members when being used to indicate the believable response message of the target members receiving, generates and agree to Treatment decision-making result;The believable response message of the target members is used to indicate receive multiple specific allied members When, generate the treatment decision-making result of agreement;The believable sound of the target members is used to indicate receive whole allied members When answering message, the treatment decision-making result of agreement is generated.
Optionally, when the Intelligent target contract includes one first intelligent contract and multiple second intelligent contracts, institute Stating abatement modules includes: the first generation unit, executes the corresponding second intelligent contract for triggering multiple allied members, generates more A first result of decision;Second generation unit, for using the multiple first result of decision as the described first intelligent contract Input data obtains the output data of the described first intelligent contract;Third governance unit, for the output data to be determined as The treatment decision-making result.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any Combined form is located in different processors.
Embodiment 3
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or group Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown Or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit it is indirect Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that device (can be personal computer, server or network equipment etc.) or processor (Processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps Calculation machine program:
Multiple intelligent contracts are arranged in S1, wherein each intelligent contract corresponds to allied member and controls in the multiple intelligence contract Manage a set of decision logic of alliance's chain;
S2 triggers the improvement for administering alliance's chain and requests;
S3 according to the improvement request selecting Intelligent target contract, and is generated to administer and be determined using the Intelligent target contract Plan result.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read- Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard The various media that can store computer program such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memory There is computer program, which is arranged to run computer program to execute the step in any of the above-described embodiment of the method Suddenly.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission device It is connected with above-mentioned processor, which connects with above-mentioned processor.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
Multiple intelligent contracts are arranged in S1, wherein each intelligent contract corresponds to allied member and controls in the multiple intelligence contract Manage a set of decision logic of alliance's chain;
S2 triggers the improvement for administering alliance's chain and requests;
S3 according to the improvement request selecting Intelligent target contract, and is generated to administer and be determined using the Intelligent target contract Plan result.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (10)

1. a kind of administering method of alliance's chain, which is characterized in that the described method includes:
Multiple intelligent contracts are set, wherein each intelligent contract corresponds to allied member and administers alliance in the multiple intelligence contract A set of decision logic of chain;
The improvement for administering alliance's chain is triggered to request;
Treatment decision-making result is generated according to the improvement request selecting Intelligent target contract, and using the Intelligent target contract.
2. the method according to claim 1, wherein the multiple intelligent contracts of setting include:
The intelligent contract of general first is set for the allied member on alliance's chain, and is set for each allied member on alliance's chain Set the specific second intelligent contract, wherein the described first intelligent corresponding first abatement functions of contract, the described second intelligent contract pair The second abatement functions are answered, alliance's chain is made of multiple allied members.
3. the method according to claim 1, wherein improvement request of the triggering for administering alliance's chain includes Following one:
Under the trigger condition of allied member's access, triggers first for administering alliance's chain and administer request;
Under the trigger condition of subchain member's access, triggers second for administering alliance's chain and administer request, wherein the alliance Chain includes one or more subchains, and the subchain member is the block chain node in any subchain;
Under the trigger condition of the verifying access of the intelligent contract of application, triggers the third for administering alliance's chain and administer request.
4. according to the method described in claim 3, it is characterized in that, according to the improvement request selecting Intelligent target contract, and Generating treatment decision-making result using the Intelligent target contract includes:
It is controlled in the first improvement request for administering target members' triggering that request is alliance's chain to be accessed or second It is the Intelligent target contract of white list or blacklist according to preset mapping relation trade-off decision logic, wherein institute when reason request Stating target members includes that the allied member of request or the subchain member of triggering the second improvement request are administered in triggering described first;
Judge whether the target members are credible according to white list entry or blacklist entry;
When it does not include the target members that white list entry, which includes the target members or blacklist entry, the target is determined Member is credible, and is used to indicate the believable response message of the target members to the common recognition node feeding back of alliance's chain, so that The common recognition node generates treatment decision-making result according to the response message of multiple allied members.
5. according to the method described in claim 3, it is characterized in that, according to the improvement request selecting Intelligent target contract, and Generating treatment decision-making result using the Intelligent target contract includes:
When the improvement request administers request for the third that the verifying access of the intelligent contract of application triggers, reflected according to predetermined Penetrate the Intelligent target contract that relationship trade-off decision logic is particular code verifying;
Verifying message is sent to target members to be verified;
Receive the response message of target members' feedback;
Message is analyzed the response to, when carrying the agreed code of representative capacity in the response message, Xiang Suoshu alliance chain Common recognition node feeding back is used to indicate the response message that the target members are verified, so that the common recognition node is according to multiple The response message of alliance member generates treatment decision-making result.
6. method according to claim 4 or 5, which is characterized in that the common recognition node is according to the sound of multiple allied members Answering message to generate treatment decision-making result includes following one:
It is more than most allied members when being used to indicate the believable response message of the target members receiving, generates agreement Treatment decision-making result;
When being used to indicate the believable response message of the target members of multiple specific allied members is being received, agreement is generated Treatment decision-making result;
When being used to indicate the believable response message of the target members of whole allied members is being received, the improvement of agreement is generated The result of decision.
7. according to the method described in claim 2, it is characterized in that, including that one first intelligence is closed in the Intelligent target contract When about with the multiple second intelligent contracts, generating treatment decision-making result using the Intelligent target contract includes:
It triggers multiple allied members and executes the corresponding second intelligent contract, generate multiple first result of decision;
Using the multiple first result of decision as the input data of the described first intelligent contract, the described first intelligent contract is obtained Output data;
The output data is determined as the treatment decision-making result.
8. a kind of controlling device of alliance's chain, which is characterized in that described device includes:
Setup module, for multiple intelligent contracts to be arranged, wherein each intelligent contract corresponds to alliance in the multiple intelligence contract A set of decision logic of member's improvement alliance's chain;
Trigger module, for triggering the improvement request for administering alliance's chain;
Abatement modules, for being generated according to the improvement request selecting Intelligent target contract, and using the Intelligent target contract Treatment decision-making result.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the computer program is located The step of reason device realizes method described in any one of claims 1 to 7 when executing.
CN201910390791.6A 2019-05-10 2019-05-10 Administering method and device, computer equipment, the storage medium of alliance's chain Pending CN110288179A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910390791.6A CN110288179A (en) 2019-05-10 2019-05-10 Administering method and device, computer equipment, the storage medium of alliance's chain
PCT/CN2020/087557 WO2020228531A1 (en) 2019-05-10 2020-04-28 Consortium blockchain governance method and apparatus, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910390791.6A CN110288179A (en) 2019-05-10 2019-05-10 Administering method and device, computer equipment, the storage medium of alliance's chain

Publications (1)

Publication Number Publication Date
CN110288179A true CN110288179A (en) 2019-09-27

Family

ID=68001544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910390791.6A Pending CN110288179A (en) 2019-05-10 2019-05-10 Administering method and device, computer equipment, the storage medium of alliance's chain

Country Status (2)

Country Link
CN (1) CN110288179A (en)
WO (1) WO2020228531A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110807672A (en) * 2019-11-12 2020-02-18 北京芯际科技有限公司 Block chain-based point cashing method
CN111767211A (en) * 2020-06-15 2020-10-13 北京同邦卓益科技有限公司 Test method and device of alliance chain, storage medium and electronic device
CN111784369A (en) * 2020-07-06 2020-10-16 广东工业大学 Competitive product detection method based on alliance block chain
CN111951074A (en) * 2020-08-05 2020-11-17 珠海格力电器股份有限公司 Sharing equipment system based on alliance chain
WO2020228531A1 (en) * 2019-05-10 2020-11-19 深圳壹账通智能科技有限公司 Consortium blockchain governance method and apparatus, computer device and storage medium
CN114827135A (en) * 2021-01-12 2022-07-29 腾讯科技(深圳)有限公司 Cross-chain cooperative treatment system, method, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733855A (en) * 2017-08-31 2018-02-23 中国科学院信息工程研究所 A kind of block catenary system and application process that can support publicly-owned chain, alliance's chain and privately owned chain simultaneously
CN108256864A (en) * 2018-02-13 2018-07-06 中链科技有限公司 Between a kind of block chain across the foundation of chain alliance and communication means, system
CN108694669A (en) * 2018-07-18 2018-10-23 矩阵元技术(深圳)有限公司 A kind of block chain intelligence contract implementation method and device
CN109087104A (en) * 2018-08-29 2018-12-25 北京京东尚科信息技术有限公司 Block chain intelligence contract administration method and system, computer readable storage medium
CN109272335A (en) * 2018-09-17 2019-01-25 深圳市元征科技股份有限公司 A kind of intelligence contract administration method, system, equipment and computer storage medium
CN109711838A (en) * 2018-12-06 2019-05-03 杭州秘猿科技有限公司 System function administering method, system and equipment in a kind of block chain

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180123779A1 (en) * 2016-11-01 2018-05-03 Jiangang Zhang Flexible Blockchain Smart-Contract Deployment
CN110168582A (en) * 2018-11-30 2019-08-23 阿里巴巴集团控股有限公司 Use decentralization decision more new block chain intelligence contract
CN110288179A (en) * 2019-05-10 2019-09-27 深圳壹账通智能科技有限公司 Administering method and device, computer equipment, the storage medium of alliance's chain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733855A (en) * 2017-08-31 2018-02-23 中国科学院信息工程研究所 A kind of block catenary system and application process that can support publicly-owned chain, alliance's chain and privately owned chain simultaneously
CN108256864A (en) * 2018-02-13 2018-07-06 中链科技有限公司 Between a kind of block chain across the foundation of chain alliance and communication means, system
CN108694669A (en) * 2018-07-18 2018-10-23 矩阵元技术(深圳)有限公司 A kind of block chain intelligence contract implementation method and device
CN109087104A (en) * 2018-08-29 2018-12-25 北京京东尚科信息技术有限公司 Block chain intelligence contract administration method and system, computer readable storage medium
CN109272335A (en) * 2018-09-17 2019-01-25 深圳市元征科技股份有限公司 A kind of intelligence contract administration method, system, equipment and computer storage medium
CN109711838A (en) * 2018-12-06 2019-05-03 杭州秘猿科技有限公司 System function administering method, system and equipment in a kind of block chain

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020228531A1 (en) * 2019-05-10 2020-11-19 深圳壹账通智能科技有限公司 Consortium blockchain governance method and apparatus, computer device and storage medium
CN110807672A (en) * 2019-11-12 2020-02-18 北京芯际科技有限公司 Block chain-based point cashing method
CN111767211A (en) * 2020-06-15 2020-10-13 北京同邦卓益科技有限公司 Test method and device of alliance chain, storage medium and electronic device
CN111784369A (en) * 2020-07-06 2020-10-16 广东工业大学 Competitive product detection method based on alliance block chain
CN111951074A (en) * 2020-08-05 2020-11-17 珠海格力电器股份有限公司 Sharing equipment system based on alliance chain
CN114827135A (en) * 2021-01-12 2022-07-29 腾讯科技(深圳)有限公司 Cross-chain cooperative treatment system, method, equipment and storage medium

Also Published As

Publication number Publication date
WO2020228531A1 (en) 2020-11-19

Similar Documents

Publication Publication Date Title
CN110288179A (en) Administering method and device, computer equipment, the storage medium of alliance's chain
CN110175913B (en) Data processing system, method, computing device and storage medium based on block chain
CN108985774A (en) A kind of motivational techniques, device, equipment and the storage medium of block chain network
CN110490738A (en) A kind of federal learning method of mixing and framework
CN108427992A (en) A kind of machine learning training system and method based on edge cloud computing
CN109040279A (en) Block chain network network-building method, device, equipment and readable storage medium storing program for executing
CN110050474A (en) The type name of subobject for the composite object in Internet of Things network and block chain
CN106060036A (en) Decentralized consenting method and apparatus
CN106097057A (en) A kind of virtual objects distribution method and device
CN106358289A (en) Data acquiring method and device based on crowdsourcing and server
CN109005220A (en) The service implementation method and access gateway of internet of things of internet-of-things terminal
CN106034112B (en) Access control, strategy acquisition, attribute acquisition methods and relevant apparatus
CN109118615A (en) A kind of intelligent building management method, server, medium and system
CN109246201A (en) cloud resource delivery method, processor and storage medium
CN110535679A (en) Management method, framework, network slice sales platform and the management system of slice
Chitra et al. Agent-based simulations of blockchain protocols illustrated via kadena’s chainweb
CN110213345A (en) A kind of AI algorithm management system
CN107067559A (en) A kind of method and apparatus for realizing charging pile interconnection charging
CN106713337A (en) Method and system for accessing supercomputing center, and dispatch server
CN109150981A (en) Block chain network network-building method, device, equipment and computer readable storage medium
CN113486118B (en) Consensus node selection method and device
CN106411588B (en) A kind of network device management method, main equipment and management server
JP6686831B2 (en) Network planning application scenario configuration method, wireless network planning method, and apparatus therefor
CN101640914A (en) Method and device for achieving network selection
CN109104472A (en) Block chain network network-building method, device, equipment and computer readable storage medium

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