Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification embodiment, below in conjunction with this
Attached drawing in specification embodiment is described in detail the technical solution in this specification embodiment, it is clear that described
Embodiment is only a part of the embodiment of this specification, instead of all the embodiments.The embodiment of base in this manual,
Those of ordinary skill in the art's every other embodiment obtained, all should belong to the range of protection.
Block chain is normally divided into three types: publicly-owned chain (Public Blockchain), privately owned chain (Private
) and alliance's chain (Consortium Blockchain) Blockchain.In addition, there are also a plurality of types of combinations, such as privately owned chain
The different combinations such as+alliance chain, alliance's chain+publicly-owned chain.It is publicly-owned chain that wherein decentralization degree is highest.Publicly-owned chain with than
Special coin, ether mill are representative, and the participant that publicly-owned chain is added can read data record on chain, participate in business and compete newly
Book keeping operation power of block etc..Moreover, each participant's (i.e. node) freely can be added and exit network, and carry out relevant operation.It is private
There is chain then on the contrary, the write-in permission of the network is by some tissue or mechanism controls, reading data permission is by organization prescribed.Simply
For, privately owned chain can be weak center's system, and participating in node has stringent limitation and less.Such block chain is more
It is suitable for using inside particular organization.Alliance's chain is then block chain between publicly-owned chain and privately owned chain, it can be achieved that " part
Decentralization ".Each node usually has corresponding physical mechanism or tissue in alliance's chain;Participant is added by authorization
Enter network and composition interests correlation alliance, it is common to safeguard the operation of block chain.
Whether publicly-owned chain, privately owned chain or alliance's chain, can provide the function of intelligent contract.Intelligence on block chain
Contract is the contract that can be executed by transaction triggering on block catenary system.Intelligent contract can pass through the formal definition of code.
By taking ether mill as an example, user is supported to create in the network of ether mill and call the logic of some complexity, this is ether
Mill is different from the ultimate challenge of bit coin block chain technology.Ether mill is ether mill void as the core of a programmable block chain
Quasi- machine (EVM), each ether mill node can run EVM.EVM is the complete virtual machine of figure spirit, it means that can be with
The logic of various complexity is realized by it.It is exactly to run on EVM that user, which issues in ether mill and call intelligent contract,.
Such as shown in Fig. 1, after a transaction comprising the intelligent contract information of creation is sent ether mill network by Bob, section
The EVM of point 1 can execute this and trade and generate corresponding contract example." 0x6f8ae93 ... " in 1 in figure represents this
The address of contract, what the data field of transaction saved can be bytecode, and the to field of transaction is an empty account.Between node
After being reached an agreement by common recognition mechanism, this contract is successfully created, and subsequent user can call this contract.
Intelligent contract can in a prescribed manner in block chain network each node disjoint execution, it is all to execute record
It is all stored on block chain with data, so just saving on block chain can not distort, will not lose after the completion of such transaction
The transaction certificate of mistake.
Wherein, the transaction in block chain, there are points of the transaction of narrow sense and the transaction of broad sense.The transaction of narrow sense refers to use
The value Transfer that family is issued to block chain;For example, transaction can be user and exist in traditional bit coin block chain network
One initiated in block chain transfers accounts.And the transaction of broad sense refers to the industry being intended to business that user issues to block chain
Business data;For example, operator can build alliance's chain based on actual business demand, rely on the deployment of alliance's chain it is some with
Unrelated other types of of value Transfer is in line service (for example, business of renting a house, vehicle scheduling business, settlement of insurance claim business, credit
Service, medical services etc.), and in this kind of alliance's chain, transaction, which can be one that user issues in alliance's chain, has business
The service message or service request of intention.
Below in conjunction with attached drawing, the technical solution that each embodiment of this specification provides is described in detail.As shown in Fig. 2, Fig. 2 is this
Specification embodiment provide be applied to system in the integration method based on intelligent contract flow diagram, be applied to comprising
In multiple client and the system of block chain node, which specifically comprises the following steps:
S201, client send the transaction comprising the first user identifier to block chain node.In, the transaction is for characterizing
First user has been completed at least one appointed task, and there are corresponding relationships for the first user identifier and second user mark.
Transaction described in this specification (transfer) can be user and be created by the client of block chain, and
Need the stroke count for being used to prove to have been completed a certain appointed task in the distributed data base for being finally distributed to block chain
According to.The form of transaction can be including picture, document, system confirmation message, the structuring table comprising several parameters etc., hand over
Voucher should be completed in easily comprising task identification and task, task completion voucher can be the confirmation comprising server-side signature and disappear
Breath, alternatively, photo, screenshot, document etc. for proving task completion.
Appointed task can be the basic task that system is issued, for example, it is online register, continuing uninterruptedly to register reaches day
Preset value continues on-line time in community forum and reaches preset value etc..This kind of basic tasks can be considered as upper static state not
The everyday tasks of change.Appointed task is also possible to the custom task of user.Appointed task is preparatory by way of intelligent contract
It is deployed in block chain node.
In this specification embodiment, basic task can be deployed in each block chain in the form of system intelligence contract in advance
In node.In addition, user can also be issued custom task client in the form of user's intelligence contract and be deployed in area
In block chain network, this generic task is then the dynamic task that user carries out personal settings based on own characteristic, is exemplified below two
The published method of kind custom task:
The first, for selection by the user, user only needs to be arranged the custom task of offer fundamental type in the client
Corresponding several custom task parameters.
For example, a kind of illustrative custom task can be " removing tourist attractions X ", then at this point, user can lead to
Selection task type " tourism " in client is crossed, voucher selection " admission ticket of tourist attractions X " is completed, selected in task integral "+
10 ", and above-mentioned custom task parameter is sent to block chain node.
In another example the custom task of a kind of property can be " carrying out consumption in trade company Y ", then at this point, user can
Task type " consumption " is selected to pass through in client, completes voucher selection " receipt of trade company Y ", selected in task integral "+
10 ", and above-mentioned custom task parameter is sent to block chain node.
Block chain node is closed when receiving custom task parameter transmitted by client by predefined intelligence
Template is about generated, the intelligent contract comprising aforementioned custom task parameter is generated and is deployed to block chain network.
It should be noted that showing may be selected for user in client during the publication of above-mentioned custom task
Tourist attractions and name of firm, be that can be adjusted by the configuration file being pre-stored in client, server-side can
To the client push configuration file and to update.
Second, for it is certain need the third-party institution authenticate tasks, user can by client to block chain
Node sends the Associated descriptive message of corresponding custom task.For example, user's custom task is that " user A and user B exist
Place C takes parachute jumping certificate ", alternatively, " user A and user B got marriage certificate before certain year one day " etc..
In this case, block chain node can be by the descriptive message of user's custom task of the type to other
Client or node device push perhaps broadcast other clients or node device and such message received are carried out
It supports or opposes ballot, ultimately form a ranking list.And block chain node can be formed according to the message in ranking list forefront
Resolution, and corresponding user's intelligence contract is generated based on the message and is deployed to block chain network.
Client shows that the first user has completed to block chain node by sending the transaction comprising the first user identifier
One or more task, the transaction be used to trigger be deployed in block chain node with intelligence corresponding to the task in transaction
It can contract.
In this specification embodiment, in order to improve the interaction between user, need between the first user and second user
In the presence of corresponding relationship established in advance.This corresponding relationship can be parent child relationship, friends, lovers' relationship etc. in reality
Deng.
The corresponding relationship can send corresponding bind request by client, and pass through the intelligence of binding application accordingly
Contract is realized.For example, with per family pass through real-name authentication after, by fill in relationship provided in client binding close
About, the first user identifier for needing to carry out relationship binding and second user mark are determined, and sends relationship binding application to area
Block chain node.
And block chain node then can then send corresponding recommendation information to second user mark upon receipt of the request
Know corresponding another client then to generate corresponding relationship after receiving the confirmation message that second user is returned and tie up
It trades calmly and is sent to other block chain nodes, any block chain node for receiving bound transaction can call corresponding tie up
It is fixed to apply for intelligent contract, and the corresponding relationship of first user identifier and second user mark is established, it realizes with intelligent contract
Form the corresponding relationship of two users is written in block catenary system.
S203, block chain node execute the intelligent contract disposed in advance based on the transaction, judge corresponding to the transaction
Appointed task whether completed jointly by the first user and second user, if judgement complete, determine corresponding to the appointed task
Task integral, increase separately the task and integrate into the corresponding account of the first user identifier and second user mark.
Any block chain node for receiving transaction can execute the corresponding intelligence disposed in advance based on transaction triggering and close
About.It should be noted that the intelligent contract disposed in advance can be more parts.In general, a task is in the presence of a corresponding
Intelligent contract.
For example, task names included in the available transaction of block chain node, task complete ginseng for basic task
Number triggers corresponding intelligent contract, and determines that first user for the completeness of the task, and provides conclusion.For example, base
Task names Q1 in transaction, task complete parameter 30 minutes to trigger corresponding intelligent contract and determine that the first user is complete
At the task Q1 that checks card.
For the first illustrative custom task above-mentioned, the friendship of the equally available user's upload of block chain node
Task included in easily completes voucher, and is judged based on intelligent contract.The transaction that user is uploaded in the type
Included in completion voucher to can be the form for including photo, screenshot etc. picture.Block chain node can be based on image
Identification obtains key message point therein, and is judged.For example, for custom task " removing tourist attractions X ", Yong Husuo
Task included in the transaction of upload, which completes voucher, can be " admission ticket of tourist attractions X ", and obtain door by image recognition
Unique sequence numbers included in ticket determine the authenticity of the sequence number based on the intelligent contract disposed in advance, to determine the use
Whether family completes the task.
Custom task illustrative for second above-mentioned, block chain node then need to be evaluated accordingly, this
Kind evaluation is realized by assigning corresponding authentication function for certain nodes.For example, for task " user A and user B mono-
Rise and take diving certificate ", when either block chain node receives transaction transmitted by user A, then determined based on intelligent contract,
It needs for the transaction to be forwarded to multiple nodes with diving certificate verification permission to authenticate, there is diving certificate verification power
It after the entity authentication of limit passes through, determines that the task is completed, and by sending confirmation message to other nodes, is called by node
Intelligent contract of voting is voted, and block chain network is written.Example provided by ether mill can be used in intelligent contract of voting
Property ballot and about Ballot.
In this specification embodiment, whether block chain node needs judge a task by first with binding relationship
User and second user are completed jointly.
A kind of embodiment is to generate when intelligent contract is triggered and executes for the first user and second user phase
The task characterization array answered, task characterize the completeness for describing the first user and second user in array respectively.For example, when the
The transaction that one user sends triggers intelligent contract and is performed, and generates state array (0,0, Q1), is judging the first user completion
Afterwards after task Q1, the variation of state array is (1,0, Q1), when the transaction transmitted by the second user triggers the intelligence contract again,
The array, and task Q1 after the completion of judging the first user can be inquired according to the corresponding states of second user and the first user
Afterwards, the variation of state array is (1,1, Q1), so that it is determined that going out the two completes task Q1.
In this embodiment, if transaction transmitted by second user triggers the intelligence contract, fail to find record two
The corresponding state representation array of person, then generate state array (0,1, Q1), and the transaction of first user is waited to trigger the state
The change of array.
In this specification embodiment, state representation array there are durations to be determined based on the task Q1 corresponding to it,
In general, state array corresponding to a basic task will be removed in daily timing;And it is closed in two the corresponding of user
In the validity period of system, the state representation array of a custom task will not generally be removed.
The confirmation of block chain node have the two of corresponding relationship with the task is completed per family when, determine the appointed task institute
Corresponding task integral increases separately the task and integrates the account corresponding to the first user identifier and second user mark
In.In this specification embodiment, if only user completes integral, two with will not increase integral per family.
By the scheme in this specification embodiment, based on the intelligent contract in block chain, user completes to make by oneself jointly
Justice or system the defining of the task, it will be able to obtain corresponding integral, and then can go integral shop exchange corresponding equity and
Gift.In this process, the publication of task, Integral Rule and task the functions such as check and write off can be real by intelligent contract
Existing, within contract validity period, rule can not be modified, so that it is guaranteed that the reliable implementation of rule, transparent in the form of decentralization
Just excitation user behavior improves user experience and viscosity.
When disposing corresponding custom task into block chain network by user's intelligence contract, it is readily appreciated that, often have
A kind of user's custom task can be realized by a kind of corresponding customized user's intelligence contract.Therefore, with
Family increases, and the quantity of user's intelligence contract also will rapidly increase, and which increase the storage capacities of block chain node device, therefore,
It in one embodiment, can also include time parameter in intelligent contract, the time parameter is for when determining that contract is effective
It is long.In general, the effective time of intelligent contract corresponding to system task is longer, such as can be 1 year or indefinite duration, and
The effective time of user's intelligence contract corresponding to user's custom task is then shorter, for example, 3 months or 6 months etc..
Under this embodiment, on the one hand, block chain node, can be first when receiving the transaction for triggering intelligent contract
First judge whether the timestamp of received transaction was in the effective time of intelligent contract, if not in validity period
It is interior, then no longer execute the intelligence contract, i.e. the custom task failure of user;On the other hand, block chain node can also be to not
Again be in validity period can only contract deleted, reduce block chain node storage pressure.
In this specification embodiment, user can also wrap when generating user's intelligence contract by custom task parameter
Two user identifiers containing corresponding relationship.For example, the first user identifier (for example, own identification card number) bound in advance with
Second user identifies (for example, identification card number of girlfriend).To which block chain node is receiving this kind of user's intelligence contract
When generation is requested, two users can be first determined whether with the presence or absence of corresponding relationship, and if it exists, then to generate containing described in the presence of correspondence
User's intelligence contract of two user identifiers of relationship.
Further, receive trigger user's intelligence contract transaction when, can also judge transaction in whether include
First user identifier or second user mark, if it is not, then user's intelligence contract is not executed, if it is, executing
User's intelligence contract.Under this embodiment, user's intelligence contract just contains the mark of two users in publication, only
There is any transmitted transaction in the two users that can just trigger the execution of this part of contract, other any users cannot influence
The task realizes the personalization of user's custom task, improves user experience.
In one embodiment, in certain corresponding relationships, for example, friends, lovers' relationship or marital relations etc.
Deng corresponding relationship binding duration can be set.Such as lovers' relationship binds duration, marital relations binds duration etc..
On the one hand contract that such relationship binding duration is used to determine when user creates customized user's intelligence contract has
Duration is imitated, i.e., when the binding of lovers' relationship is not to be exceeded in contract effective time determined by the time parameter in user's intelligence contract
It is long.For example, deadline is on December 31st, 2019 if when lovers' relationship binding of two users is 6 months a length of, then this two
For user when task is made in publication by oneself, on December 31st, 2019 is also not to be exceeded in the contract validity period of generation.Specifically, can be
Contract generates the deadline for the time being no more than relationship binding plus contract effective time, so that the relationship of two people is avoided to expire,
And customized user's intelligence contract is still before the deadline, needs to complete the situation of task jointly,
Another aspect relationship binding duration can be also used for whether determination should continue to increase in block catenary system to user
Accretion point, for example, in the system provided by this specification embodiment, since a task needs the two is common to complete,
If the relationship binding of a user and another user expire, and without timely establishing corresponding other corresponding relationships,
Even if then he completes alone certain tasks, corresponding intelligent contract can not be triggered and increase task integral.
In one embodiment, whether certain user's custom task is completed, other than needing to authenticate, it is also necessary to
There is the node device of ballot permission to vote to determine.In ether mill, a kind of intelligence conjunction that can be used for voting is provided
About Ballot, Ballot contract are a complete intelligent contracts of voting, which not only supports basic voting function, vote
The franchise of oneself can also be entrusted to other people by people.Based on Ballot contract, voter's identity and motion title can be by
Contract publisher determines, and does not influence the confidence level of voting results.I.e., it is possible to by disposing customized Ballot contract,
It determines the block chain node with ballot permission, and determines user's custom task for needing to vote accordingly, and throw
Ticket result is still believable.
Further, the number of nodes completed in block chain network about approval task is being determined based on Ballot contract
Later, it can determine whether the portion appointed task is completed based on preset condition.Preset condition may is that in ballot herein
The poll that approval task is completed is more than preset quantity, alternatively, the poll for approving of task to complete in ballot is more than preset ratio;Or
Person, (i.e. different nodes has different ballot weights, some authoritys to the weighted score for the poll for approving of task to complete in ballot
The ballot weight of node is larger) it is more than default score value etc..By disclosing believable ballot for task, troop may be implemented
The destruction of the reliable audit and task of task completeness, realizes the just transparent improvement in the inside of community.
Under a kind of implement scene, if any trade company that appointed task contains in trade company's set is consumed,
Then the completion of task included in transaction transmitted by user voucher then needs to include any trade company completion in trade company's set
Consumption certificate of consumption, including receipt, invoice, receipt etc., in this case, after user's completion task, what is obtained appoints
Business integral is then redeemed for the voucher of any trade company consumption in trade company gathers.
The mode that trade company in trade company's set again may be by intelligent contract is added and is moved back in block chain network
Out.For example, can be applied by client when a trade company needs to be added in the block catenary system, based on ballot intelligence
Contract is added or exits the node with ballot permission to the trade company and votes, in each block chain link after voting through
Point will be in the combination of write-in trade company, the trade company.And the related data during entirely applying, vote and being added can be in area
Inquiry obtains in any node of block chain.
Under a kind of specific implement scene, which be can be applied in lovers' love scene.That is lovers two
People carries out lovers' relationship binding by real-name authentication, and by related protocol provided by client in block catenary system, and
And determine that corresponding lovers' relationship binds duration.Since the binding relationship is determining by intelligent contract and distributed is stored in
In each block chain node, therefore within the validity period of lovers' relationship binding, lovers' corresponding relationship in two human world is in block chain network
In it is unique corresponding and can not change.
Two users with binding relationship can be completed in block catenary system by intelligent contract jointly
System task (for example, check card together), it issues and completes personalized custom task (for example, common travel, at some sight spot
See sunrise/sunset, it is hand-made in the completion of some trade company, it is common to obtain third party's certificate, reach marriage certificate) etc., with
To common love integral.And the love integral of user is then redeemed for corresponding lovers' equity, for example, cash bonuses,
The consumption deduction of red packet and trade company's offer, discount coupon, reward in kind etc..
Due to the publication of task, completes, checks and writes off and accumulated point exchanging passes through intelligent contract in block catenary system and obtains
It completes and confirms, it may therefore be assured that the transparent fairness of the process.
Corresponding, this specification embodiment also provides a kind of integrating system based on intelligent contract, includes multiple client
With block chain node, in the system,
Client sends the transaction comprising the first user identifier to block chain node, wherein the transaction is for characterizing the
One user has been completed at least one appointed task, and there are corresponding relationships for the first user identifier and second user mark;
Block chain node executes the intelligent contract disposed in advance based on the transaction, judges that the exchange is corresponding specified
Whether task is completed jointly by the first user and second user, if judgement is completed, determines task corresponding to the appointed task
Integral increases separately the task and integrates into the corresponding account of the first user identifier and second user mark.
Further, in the system, the intelligent contract is disposed in advance in the following way: client receive by with
Custom task parameter determined by the operational order of family, and send the transaction comprising custom task parameter to block chain node,
Wherein, the custom task parameter includes at least task type, completes voucher and custom task integral;Block chain node root
Template is generated according to the custom task parameter and predefined intelligent contract, generates the use comprising the custom task parameter
Family intelligence contract, and user's intelligence contract is disposed into block chain node, wherein user's intelligence contract is for judging
Whether the custom task is completed.
It further, in the system, further include that there are the two of corresponding relationship use in the custom task parameter
Family mark;Correspondingly, block chain node is generated, there are user's intelligence contracts of two user identifiers of corresponding relationship comprising described;
Correspondingly, before block chain node executes the intelligent contract disposed in advance based on the transaction, described in the judgement of block chain node
The first user identifier in transaction whether there is among two user identifiers included in user's intelligence contract, if it is not, not
Execute user's intelligence contract.
It further, in the system, include time parameter in the intelligent contract, the time parameter is for determining
Contract effective time;Correspondingly, before block chain node executes the intelligent contract disposed in advance based on the transaction, block chain
Node determines the timestamp for obtaining the transaction, judges whether the timestamp of the transaction is in the effective time of intelligent contract
It is interior, if it is not, not executing the intelligent contract.
Further, in the system, the corresponding relationship of the first user identifier and second user mark, passes through such as lower section
Formula predefines: client sends the relationship identified comprising the first user identifier and second user and binds application to block chain link
Point;Block chain node sends recommendation information relevant to the binding application another client corresponding to second user mark
End, and receive the confirmation message that another client is returned;Block chain node receives the confirmation message, establishes described the
The corresponding relationship of one user identifier and second user mark, and store.
Further, in the system, the corresponding relationship includes lovers' relationship, and there are feelings for lovers' relationship
Companion's relationship binds duration;Correspondingly, the user identifier includes user real identification mark;Correspondingly, when user creates user
When intelligent contract includes time parameter, when contract effective time determined by the time parameter is no more than the binding of lovers' relationship
It is long.
Further, in the system, block chain node determines that approval is appointed by the intelligent contract disposed in advance
The number of nodes that business is completed judges the exchange pair when the number of nodes that the approval task is completed meets preset condition
The appointed task answered is completed.
Further, in the system, the appointed task includes that any trade company in trade company's set is consumed;
Correspondingly, including the consumption certificate of any trade company completion consumption in trade company's set in the transaction;Correspondingly, the task
Integral is for exchanging the voucher for any trade company consumption in trade company set.
On the other hand, this specification embodiment also provides a kind of integration method based on intelligent contract, is applied to block
In chain node, as shown in figure 3, Fig. 3 is in a kind of block chain node provided by this specification embodiment based on intelligent contract
The schematic diagram of integration method, comprising:
S301 receives the transaction transmitted by client comprising the first user identifier, wherein the transaction is used for
It characterizes the first user and has been completed at least one appointed task, the first user identifier and second user mark have corresponding close
System;
S303 executes the intelligent contract disposed in advance based on the transaction, judges the corresponding appointed task of the exchange
Whether completed jointly by the first user and second user;
S305 determines that task corresponding to the appointed task integrates if judgement is completed;
S307 increases separately the task and integrates into the corresponding account of the first user identifier and second user mark.
Corresponding with another aspect, this specification embodiment also provides a kind of integrating gear based on intelligent contract, application
In block chain node, as shown in figure 4, Fig. 4 is a kind of integrating gear based on intelligent contract that this specification embodiment provides
Structural schematic diagram, comprising:
Receiving module 401 receives the transaction transmitted by client comprising the first user identifier, wherein the friendship
It is easy for the first user of characterization and has been completed at least one appointed task, the first user identifier and second user mark presence pair
It should be related to;
Execution module 403 executes the intelligent contract disposed in advance based on the transaction, judges the corresponding finger of the exchange
Determine whether task is completed jointly by the first user and second user;
Determining module 405 determines that task corresponding to the appointed task integrates if judgement is completed;
Increase module 407, increases separately the task and integrate to corresponding to the first user identifier and second user mark
In account.
This specification embodiment also provides a kind of computer equipment, includes at least memory, processor and is stored in
On reservoir and the computer program that can run on a processor, wherein processor realizes base shown in Fig. 3 when executing described program
In the integration method of intelligent contract.
Fig. 5 shows one kind provided by this specification embodiment and more specifically calculates device hardware structural schematic diagram,
The equipment may include: processor 1010, memory 1020, input/output interface 1030, communication interface 1040 and bus
1050.Wherein processor 1010, memory 1020, input/output interface 1030 and communication interface 1040 are real by bus 1050
The now communication connection inside equipment each other.
Processor 1010 can use general CPU (Central Processing Unit, central processing unit), micro- place
Reason device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one
Or the modes such as multiple integrated circuits are realized, for executing relative program, to realize technical side provided by this specification embodiment
Case.
Memory 1020 can use ROM (Read Only Memory, read-only memory), RAM (Random Access
Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 1020 can store
Operating system and other applications are realizing technical solution provided by this specification embodiment by software or firmware
When, relevant program code is stored in memory 1020, and execution is called by processor 1010.
Input/output interface 1030 is for connecting input/output module, to realize information input and output.Input and output/
Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.Wherein
Input equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display,
Loudspeaker, vibrator, indicator light etc..
Communication interface 1040 is used for connection communication module (not shown), to realize the communication of this equipment and other equipment
Interaction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, can also be wirelessly
(such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 1050 include an access, equipment various components (such as processor 1010, memory 1020, input/it is defeated
Outgoing interface 1030 and communication interface 1040) between transmit information.
It should be noted that although above equipment illustrates only processor 1010, memory 1020, input/output interface
1030, communication interface 1040 and bus 1050, but in the specific implementation process, which can also include realizing normal fortune
Other assemblies necessary to row.In addition, it will be appreciated by those skilled in the art that, it can also be only comprising real in above equipment
Component necessary to existing this specification example scheme, without including all components shown in figure.
This specification embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
The integration method shown in Fig. 3 based on intelligent contract is realized when sequence is executed by processor.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification
Embodiment can be realized by means of software and necessary general hardware platform.Based on this understanding, this specification is implemented
Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words,
The computer software product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are to make
It is each to obtain computer equipment (can be personal computer, server or the network equipment etc.) execution this specification embodiment
Method described in certain parts of a embodiment or embodiment.
System, method, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can
To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment
The combination of any several equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for method reality
For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method
Part explanation.Embodiment of the method described above is only schematical, wherein described be used as separate part description
Module may or may not be physically separated, can be each module when implementing this specification example scheme
Function realize in the same or multiple software and or hardware.Can also select according to the actual needs part therein or
Person's whole module achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not the case where making the creative labor
Under, it can it understands and implements.
The above is only the specific embodiment of this specification embodiment, it is noted that for the general of the art
For logical technical staff, under the premise of not departing from this specification embodiment principle, several improvements and modifications can also be made, this
A little improvements and modifications also should be regarded as the protection scope of this specification embodiment.