CN108876619A - Processing method, device, equipment and medium based on block chain intelligence contract - Google Patents

Processing method, device, equipment and medium based on block chain intelligence contract Download PDF

Info

Publication number
CN108876619A
CN108876619A CN201810670331.4A CN201810670331A CN108876619A CN 108876619 A CN108876619 A CN 108876619A CN 201810670331 A CN201810670331 A CN 201810670331A CN 108876619 A CN108876619 A CN 108876619A
Authority
CN
China
Prior art keywords
order
intelligence contract
order data
fund
contract
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810670331.4A
Other languages
Chinese (zh)
Other versions
CN108876619B (en
Inventor
王立仁
李哲平
徐立春
张湧
刘虹男
罗红
孙岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Traceability Chain Technology Co Ltd
Beijing University of Posts and Telecommunications
Original Assignee
Beijing Traceability Chain Technology Co Ltd
Beijing University of Posts and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Traceability Chain Technology Co Ltd, Beijing University of Posts and Telecommunications filed Critical Beijing Traceability Chain Technology Co Ltd
Priority to CN201810670331.4A priority Critical patent/CN108876619B/en
Publication of CN108876619A publication Critical patent/CN108876619A/en
Application granted granted Critical
Publication of CN108876619B publication Critical patent/CN108876619B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The embodiment of the invention discloses a kind of processing method, device, equipment and media based on block chain intelligence contract.This method includes:Order parameter to be processed is obtained, order parameter to be processed includes:Order funding parameters and order data parameter;According to the former funding parameters in order funding parameters modification order fund intelligence contract;Based on the logical function in order data parameter, the address parameter of order data intelligence contract and calling logic library, what modification was obtained from order data intelligence contract plans forms data;By the storage of modified order data into order data intelligence contract, to modify order data intelligence contract.The scheme provided according to embodiments of the present invention, fund and order data are stored separately, so that data and logical separation, and calling logic library is modified, and can neatly modify intelligent contract in this way, enhances the adaptability of intelligent contract.

Description

Processing method, device, equipment and medium based on block chain intelligence contract
Technical field
The present invention relates to block chain field more particularly to a kind of processing method based on block chain intelligence contract, device, set Standby and medium.
Background technique
In the prior art by real-life some business logics and application scenarios be abstracted into intelligent contract, pass through intelligence Contract realizes some business logics and the application scenarios in real-life.But intelligent contract is different from legacy application, intelligence Energy contract is once being published on block chain just and can not modify, even if problematic needs are repaired in intelligent contract or service logic becomes With greater need for upgrading, it directly can not directly modify on original contract and issue again again.Result in intelligent contract flexibility compared with Difference, therefore there are limitations for the application scenarios of intelligent contract adaptation.
Summary of the invention
The embodiment of the present invention provides building method, device, equipment and medium based on block chain intelligence contract, can be flexible Intelligent contract is modified on ground, enhances the adaptability of intelligent contract.
According to a first aspect of the embodiments of the present invention, a kind of processing method based on block chain intelligence contract is provided, it is described Processing method includes:
Order parameter to be processed is obtained, order parameter to be processed includes:Order funding parameters and order data parameter;
According to the former funding parameters in order funding parameters modification order fund intelligence contract;
Based on the logic letter in order data parameter, the address parameter of order data intelligence contract and calling logic library Number, what modification was obtained from order data intelligence contract plans forms data;
By the storage of modified order data into order data intelligence contract, to modify order data intelligence contract.
According to a second aspect of the embodiments of the present invention, a kind of processing unit based on block chain intelligence contract is provided, it is described Processing unit includes:
Order fund intelligence contract module, logic library module and order data intelligence contract module;
Order fund intelligence contract module, for obtaining order parameter to be processed, order parameter to be processed includes:Order money Golden parameter and order data parameter;
And for according to the former funding parameters in order funding parameters modification order fund intelligence contract;
Logic library module for the address parameter based on order data parameter, order data intelligence contract, and is called and is patrolled The logical function in library is collected, what modification was obtained from order data intelligence contract plans forms data;
Order data intelligence contract module, for storing modified order data into order data intelligence contract, To modify order data intelligence contract.
According to a third aspect of the embodiments of the present invention, a kind of terminal device is provided, including:
Memory, processor, communication interface and bus;
The memory, the processor are connected by the bus with the communication interface and complete mutual lead to Letter;
The memory is for storing program code;
The processor is run by reading the executable program code stored in the memory can be performed with described The corresponding program of program code, for executing processing method described in first aspect.
According to a fourth aspect of the embodiments of the present invention, a kind of computer storage medium, including instruction are provided, described instruction is worked as When running on computers, the computer is made to execute processing method described in first aspect.
Processing method, device, equipment and the medium based on block chain intelligence contract according to embodiments of the present invention, will provide Gold and order data are stored separately, so that data and logical separation, and calling logic library is modified, and can be overcome due to intelligence The problem of energy contract is not issued and cannot be modified, and intelligent contract can be neatly modified, enhance the adaptation of intelligent contract Property.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention Attached drawing is briefly described, for those of ordinary skill in the art, without creative efforts, also Other drawings may be obtained according to these drawings without any creative labor.
Fig. 1 is the configuration diagram for showing the embodiment of the present invention and being handled based on block chain intelligence contract;
Fig. 2 is to show logical base of the embodiment of the present invention and the one-to-many configuration diagram of order data intelligence contract;
Fig. 3 is to show logical base of the embodiment of the present invention and the many-to-one configuration diagram of order data intelligence contract;
Fig. 4 is the configuration diagram for showing logical base of the embodiment of the present invention Yu order data intelligence contract multi-to-multi;
Fig. 5 is the flow chart for showing the processing method of the embodiment of the present invention;
Fig. 6 is the code schematic diagram for showing Json packaged data of the embodiment of the present invention;
Fig. 7 is the frame of the process for showing upgrade logic of embodiment of the present invention library and the process of upgrading order fund intelligence contract Composition;
Fig. 8 shows the structural schematic diagram of processing unit provided in an embodiment of the present invention;
Fig. 9 is to show to can be realized processing method according to embodiments of the present invention, the example hardware of the calculating equipment of device The structure chart of framework.
Specific embodiment
The feature and exemplary embodiment of various aspects of the invention is described more fully below, in order to make mesh of the invention , technical solution and advantage be more clearly understood, with reference to the accompanying drawings and embodiments, the present invention is further retouched in detail It states.It should be understood that specific embodiment described herein is only configured to explain the present invention, it is not configured as limiting the present invention. To those skilled in the art, the present invention can be real in the case where not needing some details in these details It applies.Below the description of embodiment is used for the purpose of better understanding the present invention to provide by showing example of the invention.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including There is also other identical elements in the process, method, article or equipment of the element.
Fig. 1 is the configuration diagram for showing the embodiment of the present invention and being handled based on block chain intelligence contract.Fig. 2 is to show this hair Bright embodiment logical base and the one-to-many configuration diagram of order data intelligence contract.Fig. 3 is to show logic of the embodiment of the present invention Library and the many-to-one configuration diagram of order data intelligence contract.Fig. 4 is to show logical base of the embodiment of the present invention and order data The configuration diagram of intelligent contract multi-to-multi.
As shown in Figure 1, the intelligent contract processing under first designing a kind of scene for e-commerce in embodiments of the present invention Framework, including the order fund intelligence contract of fund trustship and transfer, stateful order data intelligence contract is ill-mannered The logical base of state.
Firstly, illustratively in block chain intelligent contract function, intelligent contract can be understood from two angles.From For user perspective, intelligent contract is typically considered the program of an automatic security account, for example, when specific condition meets When, which will discharge and shift fund.Technically, intelligent contract may be considered as network server, Only intelligent contract is not to be set up on the internet using IP address, but be erected on block chain, so as on it Face runs specific program.In addition, the code and state of intelligent contract do not depend on some specific hardware and set all on block chain It is standby.And the execution of the program code in intelligent contract is become by people's triggering or successful execution or all states Change and all cancels (including the information sent or received from the contract currently to fail).
And order fund intelligence contract and order data intelligence contract are all to have above-mentioned intelligence to close in the embodiment of the present invention Function about.
Order fund intelligence contract is mainly used for the fund operation of electric business platform, including fund deposit and fund Transfer action.Order fund intelligence contract is also used as proxy entry, requests for upper layer application, execution of order fund intelligence contract The function of middle corresponding function completes the modification of relevant order data intelligence contract by the function in the calling logic library of upper layer Operation.Order fund intelligence contract needs to save the address parameter of order data intelligence contract, by order data intelligence contract Address parameter passes to stateless logical base.
Stateless logical base refers to logical gate only and includes the service logic of electric business transaction, will not store any order Data mode.Stateless logical base, which needs to be called by order fund intelligence contract, to be executed, and when logical base is called, is needed It wants order fund intelligence contract to be passed to the address parameter of order data intelligence contract, is joined by the address of order data intelligence contract Number finds corresponding order data intelligence contract.Then related order numbers are obtained by reading order data intelligence contract According to, and execute corresponding logical operation.It finally calls order data intelligence contract that modified order data is written again, leads to The mode by logic and data separating is crossed, the data modification of order data intelligence contract is completed.
Data order in order data intelligence contract includes:All order data essential informations and order status letter Breath, and reading and write-in function are write to all order status informations, far call is carried out for logical base, realizes data Reading and write operation.
For logical base, there may also be mapping relations, such as Fig. 2 with order data intelligence contract in embodiments of the present invention It is shown, if data are more in business demand, refinement fractionation can be carried out, it is one-to-many using logical base and order data intelligence contract The process of mapping relations, execution is identical as Fig. 1's.
As shown in figure 3, can carry out functional module refinement if the logical process function that is related to of business demand is more, that is, adopt With logical base and the many-to-one mapping relations of order data intelligence contract, the process of execution is also identical with Fig. 1.
As shown in figure 4, logical base and order data can be used if data and service logic are complicated in business demand The mapping relations of intelligent contract multi-to-multi, the process of execution are also identical with Fig. 1.
In order to better understand the present invention, below in conjunction with attached drawing, processing side according to an embodiment of the present invention is described in detail Method, device, equipment and medium, it should be noted that these embodiments are not for limiting the scope of the present disclosure.
Fig. 5 is the flow chart for showing the processing of the embodiment of the present invention.
As shown in figure 5, the processing method 100 in the present embodiment includes the following steps:
Step S110, obtains order parameter to be processed, and order parameter to be processed includes:Order funding parameters and order data Parameter.
In this step, it is to be understood that for example:Order to be processed is " cup of one 10 yuan of purchase ", then 10 yuan are order funding parameters, and buying a cup is order data parameter.
Step S120, according to the former funding parameters in order funding parameters modification order fund intelligence contract.
In this step, need the parameter according to 10 yuan, store in order fund intelligence contract into 10 yuan or 10 yuan of transfer.
Step S130, based in order data parameter, the address parameter of order data intelligence contract and calling logic library Logical function, modify obtained from order data intelligence contract plans forms data.
In this step, stateless logical base is when calling order fund intelligence contract to execute, firstly, it is necessary to which order provides Golden intelligence contract is passed to the address parameter of order data intelligence contract, and stateless logical base passes through the order data intelligence contract Address parameter find corresponding order data intelligence contract.Then order data intelligence contract is read to obtain related order Data, and execute corresponding logical operation.Finally call order data intelligence contract that modified order data is written again.
In this step, by way of by logic and data separating, the data for completing order data intelligence contract are repaired Change.
In one example, the address parameter of order data intelligence contract is stored in the attribute of order fund intelligence contract.
Step S140, by the storage of modified order data into order data intelligence contract, to modify order data intelligence It can contract.
Processing method according to an embodiment of the present invention, fund and order data are stored separately, and upper layer application calls nothing The logical base of state modifies to order fund intelligence contract and order data intelligence contract, can overcome due to intelligent contract Not Fa Bu after the problem of cannot modifying, while can also neatly modify intelligent contract, enhance the adaptability of intelligent contract. In addition, saving a large amount of fuel using logical base, modification cost is reduced.
In one embodiment, order fund intelligence contract, logical base and order data intelligence contract are deployed in block chain On, and the order fund intelligence contract is associated by compiling link and the logical base before deployment.
In this embodiment, order fund intelligence contract is linked by compiling link with logical base, refers to order fund intelligence Energy contract and logical base carry out link association in compiling, to realize intrinsic call, pass through internal links additionally, due to the two Mode bind, may be implemented to upgrade jointly.
Fig. 6 is the code schematic diagram for showing Json packaged data of the embodiment of the present invention.
In one embodiment, step S130 can specifically include:First field is packaged into Json text formatting, will be packaged The first field afterwards is stored into order data intelligence contract, and the second field is directly stored in order data intelligence contract, First field is not parse the field used in modified order data, and the second field is to have solved in modified order data Analyse the field used.
As shown in fig. 6, buyerId, sellerId, state are the second field, being transmitted to for needing independently to stand as parameter is ordered Forms data intelligence contract;And goodJson and shipJson are the first fields, need to carry out goodJson and shipJson Json packaging, after merging into a character string, mediates and passes to order data intelligence contract for a parameter;Such as goodJson quilt Mediate after Json serializing is a character string " { " name ":" cup ", " description ":" very practical cup ", "totalWeight":1 } " it is transmitted to order data intelligence contract.It is a character string that shipJson is mediated after being serialized by Json "{"from":" Beijing ", " to ":" Liaoning Dalian ", " shipCode ":" along rich 110 " } " it is transmitted to order data intelligence contract. So the first field for being ultimately transferred to order data intelligence contract includes goodJson, shipJson;Second field includes BuyerId, sellerId, state.
In this embodiment, the order data intelligence contract in the present invention uses the scheme of field redundancies, i.e., will not need The field used is parsed, is directly stored in order data intelligence using by upper layer application Json escape, and by the field after escape Contract.Have modified the data structure of order data intelligence contract indirectly in this way.
Fig. 7 is the frame of the process for showing upgrade logic of embodiment of the present invention library and the process of upgrading order fund intelligence contract Composition.
In one embodiment, above-mentioned processing method can also include upgrading order fund intelligence contract, logical base and order Forms data intelligence contract.The process in upgrade logic library and the process of upgrading order fund intelligence contract are described separately below.
The process in upgrade logic library is as follows:
Logical base after upgrading is deployed on block chain by upgrade logic library.
According to the address parameter of the logical base after upgrading, compiling link to order fund intelligence contract.
It is understood that in this embodiment, due to before deployment order fund intelligence contract by compiling link with Logical base is associated, so can realize being total to for order fund intelligence contract by compiling link at upgrade logic library With upgrading.
It is as follows to upgrade order fund intelligence contract process:
Upgrade order fund intelligence contract.
The funding parameters of order fund intelligence contract are transferred in the order fund intelligence contract after upgrading before upgrading.
The destructor function for executing order fund intelligence contract before upgrading stores the address parameter of order data intelligence contract In the attribute of order fund intelligence contract after to upgrading.
Order fund intelligence contract after upgrading is deployed in block chain.
In this embodiment, it does not need to repeat to dispose order data intelligence contract, by the order data disposed for the first time intelligence In the attribute of the directly incoming order fund intelligence contract updated of the address parameter of contract, and dispose updated order fund intelligence Can contract, finally execute the destructor function of old order fund intelligence contract, using new order fund intelligence contract address as The new and old contract transfer of fund can be realized in parameter.
With reference to the accompanying drawing, device according to an embodiment of the present invention is discussed in detail.
Fig. 8 shows the structural schematic diagram of processing unit provided in an embodiment of the present invention.As shown in figure 8, processing unit 800 is wrapped It includes:
Order fund intelligence contract module 810, logic library module 820 and order data intelligence contract module 830;
Order fund intelligence contract module 810, for obtaining order parameter to be processed, order parameter to be processed includes:It orders Single funding parameters and order data parameter;
And for according to the former funding parameters in order funding parameters modification order fund intelligence contract.
Logic library module 820 for the address parameter based on order data parameter, order data intelligence contract, and is adjusted With the logical function in logical base, what modification was obtained from order data intelligence contract plans forms data.
Order data intelligence contract module 830, for storing modified order data to order data intelligence contract In, to modify order data intelligence contract.
Processing unit according to an embodiment of the present invention, fund and order data are stored separately, and upper layer application calls nothing The logical base of state modifies to order fund intelligence contract and order data intelligence contract, can avoid the occurrence of intelligent contract Not Fa Bu after the problem of cannot modifying, can neatly modify intelligent contract, enhance the adaptability of intelligent contract.And use is patrolled It collects library and saves a large amount of fuel, reduce modification cost.
In one embodiment, order data intelligence contract module 830, specifically for the first field is packaged into Json text First field after packing is stored into the order data intelligence contract, the second field is directly stored in by format In the order data intelligence contract, first field is not parse the field used in the modified order data, Second field is to have parsed the field used in the modified order data.
In one embodiment, logic library module 820 is also used to upgrade logic library, and the logical base after upgrading is deployed to area On block chain;According to the address parameter of the logical base after upgrading, compiling link to order fund intelligence contract.
In one embodiment, order fund intelligence contract module 810 is also used to upgrade order fund intelligence contract;
The funding parameters of order fund intelligence contract are transferred in the order fund intelligence contract after upgrading before upgrading;
The destructor function for executing order fund intelligence contract before upgrading stores the address parameter of order data intelligence contract In the attribute of order fund intelligence contract after to upgrading;
Order fund intelligence contract after upgrading is deployed in block chain.
The other details of processing unit according to an embodiment of the present invention with more than combine Fig. 1 to Fig. 8 describe according to this hair The method of bright embodiment is similar, and details are not described herein.
It can be by removably or solid in conjunction with Fig. 1 to Fig. 8 treating method and apparatus according to embodiments of the present invention described Surely it is mounted on and calculates equipment realization.Fig. 9 is to show to can be realized the calculating of processing method, device according to embodiments of the present invention and set The structure chart of standby exemplary hardware architecture.As shown in figure 9, calculate equipment 900 include input equipment 901, input interface 902, Central processing unit 903, memory 904, output interface 905 and output equipment 906.Wherein, input interface 902, central processing Device 903, memory 904 and output interface 905 are connected with each other by bus 910, and input equipment 901 and output equipment 906 divide Not Tong Guo input interface 902 and output interface 905 connect with bus 910, and then connect with the other assemblies for calculating equipment 900. Specifically, input equipment 901 is received from external input information, and will be during input information is transmitted to by input interface 902 Central processor 903;Central processing unit 903 carries out input information based on the computer executable instructions stored in memory 904 Output information is temporarily or permanently stored in memory 904 to generate output information, then passes through output interface by processing Output information is transmitted to output equipment 906 by 905;Output information is output to the external confession for calculating equipment 900 by output equipment 906 User uses.
That is, calculating equipment shown in Fig. 9 also may be implemented as include:It is stored with computer executable instructions Memory;And processor, the processor may be implemented when executing computer executable instructions that Fig. 1 to Fig. 8 to be combined to describe Treating method and apparatus.
It should be clear that the invention is not limited to specific configuration described above and shown in figure and processing. For brevity, it is omitted here the detailed description to known method.In the above-described embodiments, several tools have been described and illustrated The step of body, is as example.But method process of the invention is not limited to described and illustrated specific steps, this field Technical staff can be variously modified, modification and addition after understanding spirit of the invention, or suitable between changing the step Sequence.
Functional block shown in structures described above block diagram can be implemented as hardware, software, firmware or their group It closes.When realizing in hardware, it may, for example, be electronic circuit, specific integrated circuit (ASIC), firmware appropriate, insert Part, function card etc..When being realized with software mode, element of the invention is used to execute program or the generation of required task Code section.Perhaps code segment can store in machine readable media program or the data-signal by carrying in carrier wave is passing Defeated medium or communication links are sent." machine readable media " may include any medium for capableing of storage or transmission information. The example of machine readable media includes electronic circuit, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), soft Disk, CD-ROM, CD, hard disk, fiber medium, radio frequency (RF) link, etc..Code segment can be via such as internet, inline The computer network of net etc. is downloaded.
It should also be noted that, the exemplary embodiment referred in the present invention, is retouched based on a series of step or device State certain methods or system.But the present invention is not limited to the sequence of above-mentioned steps, that is to say, that can be according in embodiment The sequence referred to executes step, may also be distinct from that the sequence in embodiment or several steps are performed simultaneously.
The above description is merely a specific embodiment, it is apparent to those skilled in the art that, For convenience of description and succinctly, the system, module of foregoing description and the specific work process of unit can refer to preceding method Corresponding process in embodiment, details are not described herein.It should be understood that scope of protection of the present invention is not limited thereto, it is any to be familiar with Those skilled in the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or substitutions, These modifications or substitutions should be covered by the protection scope of the present invention.

Claims (9)

1. a kind of processing method based on block chain intelligence contract, which is characterized in that the treating method comprises:
Order parameter to be processed is obtained, the order parameter to be processed includes:Order funding parameters and order data parameter;
According to the former funding parameters in order funding parameters modification order fund intelligence contract;
Based on the logic letter in the order data parameter, the address parameter of order data intelligence contract and calling logic library Number, what modification was obtained from the order data intelligence contract plans forms data;
By the storage of modified order data into the order data intelligence contract, intelligently closed with modifying the order data About.
2. processing method according to claim 1, which is characterized in that the address parameter of the order data intelligence contract is deposited Storage is in the attribute of the order fund intelligence contract.
3. processing method according to claim 1, which is characterized in that the order fund intelligence contract, the logical base It is deployed on block chain with the order data intelligence contract, and the order fund intelligence contract passes through compiling before deployment Link is associated with the logical base.
4. processing method according to claim 1, which is characterized in that described to store modified order data to described In order data intelligence contract, to modify the order data intelligence contract, including:
First field is packaged into Json text formatting, by first field storage after packing to the order data intelligence In contract, the second field is directly stored in the order data intelligence contract, first field is described modified The field used is not parsed in order data, second field is to have parsed the word used in the modified order data Section.
5. processing method according to claim 1, which is characterized in that the method further includes:
Upgrade the logical base, the logical base after upgrading is deployed on the block chain;
According to the address parameter of the logical base after upgrading, compiling link to the order fund intelligence contract.
6. processing method according to claim 5, which is characterized in that the method further includes:
Upgrade the order fund intelligence contract;
The funding parameters of the order fund intelligence contract are transferred in the order fund intelligence contract after upgrading before upgrading;
The destructor function for executing the order fund intelligence contract before upgrading, by the address parameter of the order data intelligence contract In the attribute of the order fund intelligence contract after storing upgrading;
The order fund intelligence contract after the upgrading is deployed in the block chain.
7. a kind of processing unit based on block chain intelligence contract, which is characterized in that the processing unit includes:
Order fund intelligence contract module, logic library module and order data intelligence contract module;
The order fund intelligence contract module, for obtaining order parameter to be processed, the order parameter to be processed includes:It orders Single funding parameters and order data parameter;
And for according to the former funding parameters in order funding parameters modification order fund intelligence contract;
The logic library module for the address parameter based on the order data parameter, order data intelligence contract, and is adjusted With the logical function in logical base, what modification was obtained from the order data intelligence contract plans forms data;
The order data intelligence contract module, for storing modified order data to the order data intelligence contract In, to modify the order data intelligence contract.
8. device according to claim 7, which is characterized in that the order fund intelligence contract module, the logical base Module and the order data intelligence contract module are deployed on block chain, and the order fund intelligence contract before deployment It is associated by compiling link and the logical base.
9. device according to claim 7, which is characterized in that the order data intelligence contract module, being specifically used for will First field is packaged into Json text formatting, by first field storage after packing to the order data intelligence contract In, the second field is directly stored in the order data intelligence contract, first field is the modified order The field used is not parsed in data, second field is to have parsed the field used in the modified order data.
CN201810670331.4A 2018-06-26 2018-06-26 Processing method, device, equipment and medium based on block chain intelligent contract Active CN108876619B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810670331.4A CN108876619B (en) 2018-06-26 2018-06-26 Processing method, device, equipment and medium based on block chain intelligent contract

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810670331.4A CN108876619B (en) 2018-06-26 2018-06-26 Processing method, device, equipment and medium based on block chain intelligent contract

Publications (2)

Publication Number Publication Date
CN108876619A true CN108876619A (en) 2018-11-23
CN108876619B CN108876619B (en) 2022-07-05

Family

ID=64294979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810670331.4A Active CN108876619B (en) 2018-06-26 2018-06-26 Processing method, device, equipment and medium based on block chain intelligent contract

Country Status (1)

Country Link
CN (1) CN108876619B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109559229A (en) * 2018-11-30 2019-04-02 众安信息技术服务有限公司 The method of the intelligent contract group of update based on block chain
CN109615518A (en) * 2018-12-11 2019-04-12 北京瑞卓喜投科技发展有限公司 A kind of construction method and intelligence contract system of intelligence contract system
CN110032599A (en) * 2018-12-20 2019-07-19 阿里巴巴集团控股有限公司 The reading of data structure and update method, device, electronic equipment
CN111159301A (en) * 2019-12-31 2020-05-15 中国银行股份有限公司 Data creating method, device, equipment and storage medium based on intelligent contract
WO2020119382A1 (en) * 2018-12-12 2020-06-18 阿里巴巴集团控股有限公司 Data processing method and system based on blockchain smart contract
CN113220701A (en) * 2021-05-25 2021-08-06 成都佰纳瑞信息技术有限公司 Block chain-based data structure adaptive change upgrading method, device, equipment and product
WO2023020193A1 (en) * 2021-08-19 2023-02-23 中国人民银行数字货币研究所 Smart contract execution method and apparatus
TWI822932B (en) * 2018-12-21 2023-11-21 谷本広志 Challenge support system, terminal device, method, program and information processing device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598579A (en) * 2016-12-06 2017-04-26 北京果仁宝科技有限公司 Method and device for integrating dynamic type programming language on block chain
CN106709704A (en) * 2016-11-23 2017-05-24 杭州秘猿科技有限公司 Intelligent contract upgrading method based on permission chain
CN107464148A (en) * 2017-08-23 2017-12-12 众安信息技术服务有限公司 A kind of intelligent contract upgrade method and system based on alliance's chain
CN108196872A (en) * 2017-12-27 2018-06-22 邵美 The upgrade method of intelligent contract in a kind of block catenary system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106709704A (en) * 2016-11-23 2017-05-24 杭州秘猿科技有限公司 Intelligent contract upgrading method based on permission chain
CN106598579A (en) * 2016-12-06 2017-04-26 北京果仁宝科技有限公司 Method and device for integrating dynamic type programming language on block chain
CN107464148A (en) * 2017-08-23 2017-12-12 众安信息技术服务有限公司 A kind of intelligent contract upgrade method and system based on alliance's chain
CN108196872A (en) * 2017-12-27 2018-06-22 邵美 The upgrade method of intelligent contract in a kind of block catenary system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109559229A (en) * 2018-11-30 2019-04-02 众安信息技术服务有限公司 The method of the intelligent contract group of update based on block chain
CN109615518A (en) * 2018-12-11 2019-04-12 北京瑞卓喜投科技发展有限公司 A kind of construction method and intelligence contract system of intelligence contract system
WO2020119382A1 (en) * 2018-12-12 2020-06-18 阿里巴巴集团控股有限公司 Data processing method and system based on blockchain smart contract
US11321710B2 (en) 2018-12-12 2022-05-03 Advanced New Technologies Co., Ltd. Blockchain smart contract-based data processing
CN110032599A (en) * 2018-12-20 2019-07-19 阿里巴巴集团控股有限公司 The reading of data structure and update method, device, electronic equipment
WO2020125219A1 (en) * 2018-12-20 2020-06-25 阿里巴巴集团控股有限公司 Data structure reading method and device, data structure updating method and device, and electronic apparatus
US11232098B2 (en) 2018-12-20 2022-01-25 Advanced New Technologies Co., Ltd. Data structure reading methods and apparatuses, data structure update methods and apparatuses, and electronic devices
TWI822932B (en) * 2018-12-21 2023-11-21 谷本広志 Challenge support system, terminal device, method, program and information processing device
CN111159301A (en) * 2019-12-31 2020-05-15 中国银行股份有限公司 Data creating method, device, equipment and storage medium based on intelligent contract
CN113220701A (en) * 2021-05-25 2021-08-06 成都佰纳瑞信息技术有限公司 Block chain-based data structure adaptive change upgrading method, device, equipment and product
CN113220701B (en) * 2021-05-25 2023-05-02 成都佰纳瑞信息技术有限公司 Block chain-based data structure self-adaptive change upgrading method, device, equipment and product
WO2023020193A1 (en) * 2021-08-19 2023-02-23 中国人民银行数字货币研究所 Smart contract execution method and apparatus

Also Published As

Publication number Publication date
CN108876619B (en) 2022-07-05

Similar Documents

Publication Publication Date Title
CN108876619A (en) Processing method, device, equipment and medium based on block chain intelligence contract
US11048490B2 (en) Service placement techniques for a cloud datacenter
CN104216912B (en) The implementation method and device of a kind of business form work fluidisation without intrusive mood
CN108346028A (en) A kind of business approval processing method, apparatus and system
CN108958714A (en) Service Component formula development approach, device, computer equipment and storage medium
CN109377393A (en) Regular method of calibration and device
CN109446099A (en) Automatic test cases generation method, device, medium and electronic equipment
US9128724B2 (en) Configuring assembly of a system using supplied architectural artifacts
CN106294372A (en) Application program page quick access method and apply its mobile terminal
US8661404B2 (en) Method for improving execution efficiency of a software package customization
CN112036577B (en) Method and device for applying machine learning based on data form and electronic equipment
CN108345511A (en) A kind of application data verification method, device and electronic equipment
CN107885658B (en) Test preposition implementation method, device, terminal device and storage medium
CN102946415B (en) A kind of implementation method of mobile terminal this locality application and device
CN107526598A (en) A kind of Webpage jump control method and system
CN108470004A (en) Test script generation method, test method, device, equipment and storage medium
CN110175027A (en) A kind of method and apparatus for developing business function
CN107193681A (en) Data verification method and device
CN106897153A (en) Call the method and system of API
CN109754234A (en) A kind of polymerization method of payment and device
CN104156200B (en) The statement formula configuration operated for card Content Management and the method and system performed
CN104714529A (en) Remote monitoring platform system for electric automobile
CN108965375A (en) Service call proxy control system, method, server and readable storage medium storing program for executing
CN109165332A (en) A kind of webpage information acquisition methods, device and equipment
CN107678741A (en) Implementation method, device, readable storage medium storing program for executing and the equipment of List View

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant