CN112819468A - Intelligent contract processing method and device and electronic equipment - Google Patents

Intelligent contract processing method and device and electronic equipment Download PDF

Info

Publication number
CN112819468A
CN112819468A CN202110205225.0A CN202110205225A CN112819468A CN 112819468 A CN112819468 A CN 112819468A CN 202110205225 A CN202110205225 A CN 202110205225A CN 112819468 A CN112819468 A CN 112819468A
Authority
CN
China
Prior art keywords
block chain
intelligent contract
contract
user
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
CN202110205225.0A
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.)
Zhejiang Lanjing Technology Co ltd
Original Assignee
Zhejiang Lanjing 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 Zhejiang Lanjing Technology Co ltd filed Critical Zhejiang Lanjing Technology Co ltd
Priority to CN202110205225.0A priority Critical patent/CN112819468A/en
Publication of CN112819468A publication Critical patent/CN112819468A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification
    • G06F16/287Visualization; Browsing
    • 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/3825Use of electronic signatures
    • 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/3827Use of message hashing

Abstract

The invention provides a processing method and a device of an intelligent contract and electronic equipment, wherein the method comprises the steps of sending an initial intelligent contract generated based on object information of an object to be processed and user information of a plurality of target users to the plurality of target users, uploading the initial intelligent contract and each processing result to a block chain if a processing result of each target user confirming the initial intelligent contract is received, generating a final intelligent contract through a management node of the block chain, and displaying the final intelligent contract in a form of a coupon. In the method, after the final intelligent contract is generated based on the initial intelligent contract and each target user confirms the processing result of the initial intelligent contract, the management node of the block chain can display the final intelligent contract in a form of the joint list instead of a form of random characters, and because the contract content of the final intelligent contract can be directly displayed in the display mode of the joint list, the user can visually check the contract content of the final intelligent contract, and the user experience is improved.

Description

Intelligent contract processing method and device and electronic equipment
Technical Field
The invention relates to the technical field of block chains, in particular to a processing method and device of an intelligent contract and electronic equipment.
Background
The block chain is a distributed accounting technology, multi-party data sharing can be realized through the block chain technology, the possibility of data loss and information tampering is technically avoided, and a user can browse and inquire data and information in the block chain through a block chain browser; in the related art, a processing manner of a block chain for data is different from a traditional document data processing manner, for example, taking an electronic application scenario of a coupon under a pollutant control scenario as an example, a coupon is usually represented in a form of a string of random characters in the block chain.
Disclosure of Invention
The invention aims to provide a processing method and device of an intelligent contract and electronic equipment, so that the processing method and device can be conveniently used for checking the content of a coupon and improving the user experience.
The invention provides a processing method of an intelligent contract, which comprises the following steps: generating an initial intelligent contract based on object information of a to-be-processed object acquired in advance and user information of a plurality of target users; and if a processing result of each target user confirming the initial intelligent contract is received, uploading the initial intelligent contract and each processing result to a block chain, so that a management node of the block chain generates a final intelligent contract based on the initial intelligent contract and each processing result, and displaying the contract content of the final intelligent contract in a joint form.
Further, the user information includes a user name; the initial intelligent contract comprises target contract contents corresponding to each target user; the step of uploading the initial intelligent contract and each processing result to a blockchain to enable a management node of the blockchain to generate a final intelligent contract based on the initial intelligent contract and each processing result, and displaying the contract content of the final intelligent contract in a joint form comprises the following steps: generating an electronic signature corresponding to each target user based on the user name of each target user; uploading the electronic signature corresponding to each target user, the initial intelligent contract and each processing result to a block chain, so that a management node of the block chain adds the electronic signature corresponding to the target user at the target contract content corresponding to the target user in the initial intelligent contract based on the processing result corresponding to each target user, and thus obtaining a final intelligent contract; and displaying the contract content of the final intelligent contract in a joint list form through a block chain display window of the block chain.
Further, the electronic signature corresponding to each target user comprises a user name of the target user and a block chain identifier; and the block chain identifier is used for indicating that the target contract content corresponding to the target user passes the block chain authentication.
Further, the block chain display window comprises a data synchronization module, a data query module, a data analysis module, a data monitoring module and a web page; the data synchronization module is used for updating and storing the data in the block chain; the data query module is used for providing a query interface of the data in the block chain; the data analysis module is used for carrying out statistical analysis on the data in the block chain; the data monitoring module is used for monitoring the state information of each node in the block chain; wherein the state information comprises an operation state and a transaction state; the web page is used for displaying the data in the block chain.
Further, the plurality of target users includes: the method includes generating a first user of the object to be processed, transferring a second user of the object to be processed, and receiving a third user of the object to be processed.
Further, the contract content of the final intelligent contract comprises: the contract content management system comprises first contract content corresponding to the first user, second contract content corresponding to the second user and third contract content corresponding to the third user.
Furthermore, the block chain comprises a node authority management module and an account authority management module; the node authority management module is used for: if the appointed node in the block chain initiates a proposal of a newly added target node, voting the proposal by other nodes except the appointed node in the block chain, and if the voting number reaches a preset standard, adding the target node in the block chain; and is also used for: if a designated node in a block chain initiates a proposal for deleting a target node, voting the proposal by other nodes except the designated node in the block chain, and if the voting number reaches a preset standard, deleting the target node in the block chain; the account number authority management module is used for: if the transaction request of the designated account is received, judging whether the designated account is contained in a preset list, if so, agreeing to the transaction request of the designated account, and if not, rejecting the transaction request of the designated account.
The invention provides a processing device of an intelligent contract, which comprises: the generating module is used for generating an initial intelligent contract based on the object information of the object to be processed and the user information of a plurality of target users, wherein the object information is acquired in advance; and the uploading module is used for sending the initial intelligent contracts to the plurality of target users, uploading the initial intelligent contracts and each processing result to a block chain if the processing result of each target user confirming the initial intelligent contracts is received, so that a management node of the block chain generates final intelligent contracts based on the initial intelligent contracts and each processing result, and displaying contract contents of the final intelligent contracts in a joint list form.
The invention provides an electronic device, which comprises a processor and a memory, wherein the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to realize the processing method of the intelligent contract.
The present invention provides a machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement a method of processing an intelligent contract as described in any of the above.
The intelligent contract processing method, the intelligent contract processing device and the electronic equipment generate an initial intelligent contract based on the object information of the object to be processed, which is acquired in advance, and the user information of a plurality of target users; and if a processing result of each target user confirming the initial intelligent contract is received, uploading the initial intelligent contract and each processing result to the block chain, so that a management node of the block chain generates a final intelligent contract based on the initial intelligent contract and each processing result, and displaying contract content of the final intelligent contract in a joint form. In the method, after the final intelligent contract is generated based on the initial intelligent contract and each target user confirms the processing result of the initial intelligent contract, the management node of the block chain can display the final intelligent contract in a form of the joint list instead of a form of random characters, and because the contract content of the final intelligent contract can be directly displayed in the display mode of the joint list, the user can visually check the contract content of the final intelligent contract, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method for processing an intelligent contract according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for processing an intelligent contract according to an embodiment of the present invention;
FIG. 3 is a schematic view of a hazardous waste transfer coupon according to an embodiment of the present invention;
fig. 4 is a block chain browser architecture according to an embodiment of the present invention;
fig. 5 is a schematic view of a browser home page according to an embodiment of the present invention;
FIG. 6 is a block detail page diagram according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a processing apparatus of an intelligent contract according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The block chain is a distributed accounting technology, can be applied to the transaction and circulation process of digital currency, can also be applied to other types of application scenes, can realize the sharing of many kinds of data through the block chain technology, stop the possibility that data are lost and information are tampered technically, but in the practical application, the block chain still faces some problems, firstly, in the aspect of supervision policy, the policy of the supervision units of all places at present mainly aims at the traditional paper flow and the traditional electronic information flow, and the centralized layout is taken as the main point. The traditional block chain is still insufficient in the aspect of adapting to the supervision policy, on one hand, decentralized distributed shared accounts bring about the problem of decentralized supervision main bodies, on the other hand, automatically executed intelligent contracts bring about the problem of legal effectiveness, and on the other hand, data privacy and content supervision problems are brought about by the characteristic that the block chain is difficult to tamper; secondly, in terms of data presentation, the processing manner of the block chain data is different from the processing manner of the general document data. Compared with the traditional informatization government affair system, the block chain technology has not been popularized yet at the application level, such as the government affair system, although the system has higher safety level. Compared with a traditional informatization system, the block chain is lack of a friendly interactive interface, is more complex and obscure in the aspect of display, becomes a large reason for restricting the development of the block chain, can be understood and used, and is a technical realization effect and a technical realization target of the block chain intelligent contract visualization system. In the related art, the user experience is reduced because the user cannot visually check the content of the coupon. Based on this, the embodiment of the invention provides a processing method and device of an intelligent contract and an electronic device, and the technology can be applied to visualization processing of the intelligent contract.
In order to facilitate understanding of the embodiment, a detailed description is first given to a processing method of an intelligent contract disclosed in the embodiment of the present invention; the method can be applied to a console, which can be understood as an operation management system console of an operator with supervision authority; as shown in fig. 1, the method comprises the steps of:
step S102, based on the object information of the object to be processed acquired in advance and the user information of a plurality of target users, an initial intelligent contract is generated.
The object to be treated may be an object that needs to be transferred or treated, for example, taking a pollutant treating scene as an example, the object to be treated may be a pollutant such as waste liquid; the object information may include the name, number, weight, form, characteristics, or packaging manner of the object to be processed, for example, still taking the pollutant treating scene as an example, the name of the object to be processed is waste oil, the weight is 0.5 ton, the form is liquid, the characteristics are inflammable and toxic, the packaging manner is barreled, and the like; the target user may be understood as a user associated with the object to be processed, the number of the target users is usually multiple, for example, the target user may include a user who generates the object to be processed, a user who transfers the object to be processed, a user who receives the object to be processed, and the like; the user information generally includes a user name, a telephone, a communication address or a zip code of the target user; in actual implementation, the object information of the object to be processed and the user information of the target users may be obtained in advance, and the console may generate an initial smart contract based on the information, where the initial smart contract generally includes the object information of the object to be processed and the user information of the target users.
Step S104, the initial intelligent contract is sent to a plurality of target users, if the processing result of each target user confirming the initial intelligent contract is received, the initial intelligent contract and each processing result are uploaded to the block chain, so that the management node of the block chain generates a final intelligent contract based on the initial intelligent contract and each processing result, and the contract content of the final intelligent contract is displayed in a joint list form.
The processing result can be understood as that the target user confirms that the contract content in the initial intelligent contract is correct; the form can be understood as a document for recording the information of commodities or goods, and the form of the form can be understood as an electronic version form of the existing paper form; in practical implementation, the console may send the initial intelligent contract to the target users, and the target users may confirm contract contents in the initial intelligent contract, for example, may confirm whether the name, number, weight, form, property, or packaging manner of the object to be processed is correct, confirm whether the user name, telephone, or communication address of the target user is correct, and if it is correct, may send the correct processing result to the console, and after receiving the processing result corresponding to each target user, the console uploads the initial intelligent contract and each processing result to the block chain, generates a final intelligent contract through the management node of the block chain, and displays the contract contents of the final intelligent contract in a form of a coupon, for example, taking a pollutant control scene as an example, in related technologies, recording or retaining is usually performed in a form of a paper five-coupon, the embodiment can be displayed in the form of an electronic version of the same content as the paper quintuplet.
The processing method of the intelligent contract generates an initial intelligent contract based on the object information of the object to be processed acquired in advance and the user information of a plurality of target users; and if a processing result of each target user confirming the initial intelligent contract is received, uploading the initial intelligent contract and each processing result to the block chain, so that a management node of the block chain generates a final intelligent contract based on the initial intelligent contract and each processing result, and displaying contract content of the final intelligent contract in a joint form. In the method, after the final intelligent contract is generated based on the initial intelligent contract and each target user confirms the processing result of the initial intelligent contract, the management node of the block chain can display the final intelligent contract in a form of the joint list instead of a form of random characters, and because the contract content of the final intelligent contract can be directly displayed in the display mode of the joint list, the user can visually check the contract content of the final intelligent contract, and the user experience is improved.
The embodiment of the invention also provides another intelligent contract processing method, which is realized on the basis of the method of the embodiment; the method mainly describes a specific process of uploading an initial intelligent contract and each processing result to a block chain, so that a management node of the block chain generates a final intelligent contract based on the initial intelligent contract and each processing result, and shows contract content of the final intelligent contract in a form of a coupon, wherein user information comprises a user name; for example, if the target user is a business or an entity, the user name may be a business name or an entity name, etc.; the initial intelligent contract comprises target contract contents corresponding to each target user; in actual implementation, because the target users usually include a plurality of target users, the initial intelligent contract usually includes target contract contents corresponding to each target user; as shown in fig. 2, the method comprises the steps of:
step S202, based on the object information of the object to be processed acquired in advance and the user information of a plurality of target users, an initial intelligent contract is generated.
Step S204, the initial intelligent contract is sent to a plurality of target users, and if the processing result of confirming the initial intelligent contract by each target user is received, an electronic signature corresponding to each target user is generated based on the user name of each target user.
The electronic signature can be understood as an electronic signature, the electronic signature operation is converted into a visual effect which is the same as the paper document stamping operation by using an image processing technology, and meanwhile, the authenticity and the integrity of electronic information and the non-repudiation of a signer are guaranteed by using the electronic signature technology. In practical implementation, since the target user generally includes a plurality of users, for each target user, the electronic signature corresponding to the target user may be generated based on the user name of the target user.
Generally, the electronic signature corresponding to each target user comprises the user name of the target user and the blockchain identifier; and the blockchain identifier is used for indicating that the target contract content corresponding to the target user passes the blockchain authentication. For example, if the block chain is the lottery chain, and the user name of the target user is referred to as a, for example, a, then the electronic signature corresponding to the target user generally includes its name a and the identifier "lottery chain certificate". Since the information on the blockchain is not falsifiable, the credibility of contract contents authenticated by the blockchain is also increased, and the degree of trust of the government on the operator is also increased.
In practical implementation, the plurality of target users typically includes: the method includes generating a first user of the object to be processed, transferring a second user of the object to be processed, and receiving a third user of the object to be processed. For convenience of description, still taking a pollutant treating scene, where the object to be treated is a pollutant, the first user may be understood as a waste generating unit or a unit generating the pollutant, the second user may be understood as a waste transporting unit or a unit transporting the pollutant, and the third user may be understood as a waste receiving unit or a unit receiving the pollutant, etc.
Step S206, uploading the electronic signature, the initial intelligent contract and each processing result corresponding to each target user to the block chain, so that the management node of the block chain adds the electronic signature corresponding to the target user to the target contract content corresponding to the target user in the initial intelligent contract based on the processing result corresponding to each target user, thereby obtaining the final intelligent contract.
In practical implementation, after a corresponding electronic signature is generated for each target user, each electronic signature, the initial intelligent contract and a result of each target user confirming the initial intelligent contract can be uploaded to the block chain, the block chain covers the electronic signature corresponding to each target user in the initial intelligent contract according to the confirmation result corresponding to each target user, as each target user has the corresponding target contract content, for each target user, when the electronic signature is covered, the electronic signature corresponding to the target user is covered on the target contract content corresponding to the target user, and after the electronic signature corresponding to each target user is completed, the final intelligent contract with the electronic signature is obtained.
Taking a pollutant control scene as an example, a mode of five-link list is generally adopted in the related technology, and the pollutant control scene needs to be distributed to a supervision unit for being respectively stamped. After the final intelligent contract is linked up, each supervision unit corresponds to a node of a block chain, namely a server, and the final intelligent contract can be searched through the node.
Generally, in actual implementation, an operator places an intelligent trash can at a first user generating an object to be processed, whether an initial intelligent contract needs to be initiated is determined by monitoring the intelligent trash can, when it is determined that the initial intelligent contract needs to be initiated, a console of the operator can send the initial intelligent contract, object information of the object to be processed and user information of a plurality of target users are filled in the initial intelligent contract in advance, the operator can send a dispatching vehicle to the first user generating the object to be processed, namely, a unit generating pollutants can receive the pollutants, the first user generating the object to be processed can determine whether contract content in the initial intelligent contract is correct through a mobile phone APP, and if no problem is determined, the operator can click "determination"; the second user transferring the object to be processed and the third user receiving the object to be processed also confirm whether the contract content in the initial intelligent contract is correct or not respectively, and if no problem is confirmed, click 'confirm'. The console of the operator can upload the related data to the block chain in real time, and the management node of the block chain can add the electronic signature after receiving the confirmation results of each party, namely, after the confirmation of each target user is completed, the electronic signature corresponding to the target user can be added.
And step S208, displaying the contract content of the final intelligent contract in a form of a joint list through a block chain display window of the block chain.
The blockchain display window may be a blockchain browser, which may be understood as a window for displaying alliance blockchain information and data, and may query uplink information from multiple dimensions such as blocks, transactions, addresses, and the like. For example, the block chain is a lottery chain, and the lottery chain display window is a DApp (Decentralized Application, distributed Application or Decentralized Application) Application developed on the basis of a federation chain, and provides a visual query service for blocks and transaction data on the chain for a user. The user can inquire the transaction records corresponding to the transaction state, the block information and the address according to the transaction hash, the block number and the block chain address, and monitor the working states and the block outlet conditions of all nodes of the block chain. In actual implementation, after the final intelligent contract with the electronic signature is obtained, the contract content of the final intelligent contract can be displayed in a form of a joint order through the block chain display window.
The contract content of the final intelligent contract includes: the contract content management method comprises the steps of first contract content corresponding to a first user, second contract content corresponding to a second user and third contract content corresponding to a third user.
In actual implementation, because the target users usually include a plurality of target users, and the initial intelligent contract includes target contract contents corresponding to each target user, the final intelligent contract with the electronic signature also includes contract contents corresponding to each target user; for example, still taking the pollutant treating scenario as an example, the initial intelligent contract and the final intelligent contract generally include three target users, namely a waste production unit, a transportation unit and a receiving unit, which respectively correspond to the first user, the second user and the third user, and then include in the contract content of the final intelligent contract: first contract content corresponding to the production waste unit, second contract content corresponding to the transportation unit and third contract content corresponding to the receiving unit; or the final intelligent contract displayed in the form of the coupon can be regarded as being composed of three sub-coupons, namely, the receiving coupon corresponding to the waste unit, the transferring coupon corresponding to the transportation unit and the disposing coupon corresponding to the receiving unit.
To further understand this embodiment, a schematic diagram of a hazardous waste transfer coupon is provided as shown in fig. 3, wherein the final intelligent contract is implemented in a conventional manner for building a coupon, and comprises three parts, wherein the first part is filled in by a waste generating unit, and comprises the name, telephone, communication address and zip code of the generating unit, the name, telephone, communication address and zip code of the transporting unit, and the name, telephone, communication address and zip code of the receiving unit, the name, amount, form, waste characteristics, packaging manner, etc. of the waste generating unit; the second part is filled in by waste transport units, wherein the second part comprises the name of the first carrier unit, the transport date, the transport starting point, the transport ending point, the name of the transporter and the like; the third part is filled in by a waste acceptance unit, wherein the third part comprises the name of a receiver, the receiving date, the actual acceptance amount and the like; the first part is covered with electronic signatures corresponding to waste generation units, the second part is covered with electronic signatures corresponding to waste transportation units, and the third part is covered with electronic signatures corresponding to waste receiving units, wherein each electronic signature comprises the name of the corresponding unit and a block chain identifier, for example, the block chain identifier is 'color chain certificate' and the like. It should be noted that the above-mentioned coupon contents are only examples, and the corresponding coupon contents may be set according to different application scenarios.
The block chain display window comprises a data synchronization module, a data query module, a data analysis module, a data monitoring module and a Web (World Wide Web) page; the data synchronization module is used for updating and storing data in the block chain; the data query module is used for providing a query interface of data in the block chain; the data analysis module is used for carrying out statistical analysis on the data in the block chain; the data monitoring module is used for monitoring the state information of each node in the block chain; wherein the state information comprises an operation state and a transaction state; the web page is used to show data in the blockchain.
Referring to fig. 4, a block chain browser architecture diagram is shown, in fig. 4, a block chain is taken as a color chain, and a block chain display window is taken as an example for explanation, where the block chain browser includes a WEB layer, a service layer, and a persistent layer, where the WEB layer includes a browser WEB page (corresponding to the WEB page); the service layer comprises: a data synchronization module, a data query module and a data statistic module (corresponding to the data analysis module); the persistent layer includes: MySQL database and Redis; the service layer of the blockchain browser performs blockchain snooping/data checking (corresponding to the data monitoring module) on the color chain.
The data synchronization module can be used for subscribing block chain data, synchronizing historical and latest transaction data to the data block, maintaining business relations among transactions, blocks and contracts, and performing validity check; the system is mainly responsible for monitoring the block chain nodes in real time, capturing block data, analyzing transaction data and storing the data in a local database. In the processing process, the whole data base on the chain is ensured, the data validity is verified, and the subordinate relation among the address, the transaction, the contract and the block is maintained. The data query module can provide data screening and query interfaces with different dimensions such as a block chain browser address, a block, a contract and the like; the system is mainly responsible for providing data query of transaction, block and address dimensions; after one transaction is successfully linked, the transaction result, the transaction details and the block information to which the transaction details belong can be inquired through transaction hash; the latest block and the latest uplink transaction, the current block height, the accumulated transaction number on the chain and other data on the chain can be checked in real time. The data statistics module can aggregate and statistically analyze the database-falling data according to established rules, is an extension on the basis of browser query, counts the transaction times and transaction frequency of each address and contract in different time dimensions according to time and address dimensions, and visually displays the activity of the addresses and the contracts in a chart form. When a service layer of the blockchain browser conducts block monitoring/data verification on the color chain, the operating states of all nodes on the chain, the P2P network connection state, the block output frequency, the transaction frequency, the block output difficulty and other blockchain operating data details are mainly monitored. The browser web page can also be called as a DApp module, can support data customization inquiry on a DApp chain based on a union chain, is customization service of a browser side to DApp application, supports DApp application contract access meeting provided contract specifications, and is used for analyzing and displaying contract transactions according to the contract specifications.
To further understand the blockchain display window, the following description will use the blockchain display window as a blockchain browser as an example, and refer to a schematic view of a home page of a browser shown in fig. 5, where the home page includes: the system comprises a searching module (corresponding to the data query module), a block chain basic data module, a block module, a transaction module, a quintuplet single module, an integrating module, a block chain monitoring module and the like.
The searching module can filter corresponding on-chain data according to the block chain address, the transaction hash and the block height; the search module is a core function module of the blockchain browser, and can quickly query visual intelligent contracts through the search module: the block chain basic data module displays the latest block number, the total amount of transactions on the chain, the block average fuel limit and the average block outlet time; the block module displays the newly dug block list, and all historical block lists can be checked by clicking more blocks; the transaction module displays the latest uplink transaction list, and all historical transaction lists can be checked by clicking more transactions; the quintuplet single module displays a transaction list of the DApp application currently accessed by the DApp module; the integration module displays the latest acquisition record of integration on the chain; and the block chain monitoring module displays the working state, the network connection state and the block outlet condition of the nodes on the chain.
Referring to a schematic diagram of a block detail page shown in fig. 6, in the block detail page, a user can view the associated block information and the information of the blocked miner by clicking "parent block hash" and "blocked miner address", and can view the transaction details and the information of both transaction parties in a block transaction list, such as a coupon number, creation time, an intelligent contract address of the user, a name of a production and waste enterprise, a name of a transportation enterprise, a name of a processing enterprise, a type/waste code of a dangerous and waste, a transfer amount, a name of a receiver, an actual receiving weight, a signature of a principal, and the like. In addition, the system separately designs and develops the "smart contract customization page". In the intelligent contract customization page, information related to the final intelligent contract on the block chain is presented in the page in a clear and concise mode.
In this embodiment, the block chain system inherits the storage mode of the ether house 1.0 version public chain, and stores the bottom layer data by using the merkel tree and the LevelDB (a database); connecting each of the linked network nodes through a P2P (Peer-to-Peer) network module; an EVM (Ethernet Virtual Machine) and WASM (Web Assembly), which is a portable, small, fast-loading and Web-compatible format, are applied to support the smart contract with complete graphics. Some innovations are made in the technical aspect of block chains for adapting to an application scene of a alliance chain, a permission management mechanism is added, and each block chain comprises a node permission management module and an account permission management module.
The node authority management module is used for: if the appointed node in the block chain initiates a proposal of a newly added target node, voting the proposal by other nodes except the appointed node in the block chain, and if the voting number reaches a preset standard, adding the target node in the block chain; and is also used for: if the appointed node in the block chain initiates a proposal for deleting the target node, voting the proposal by other nodes except the appointed node in the block chain, and if the voting number reaches a preset standard, deleting the target node in the block chain.
The above-mentioned designated node is typically a node that already exists in the block chain; the preset standard can be more than half, namely the voting number can be considered to reach the preset standard when obtaining most votes; in a federation chain scenario, there must be authority control for nodes in the federation, and only admitted nodes can join the entire blockchain network. The following is rights management for a node:
the node generates a public and private key through an asymmetric encryption algorithm, the private key is used for signing, and the public key is used as an Identity (ID) of the node in the network; when the block chain network is initialized for the first time, all the node IDs meeting the admission conditions are written into the created blocks, and the nodes in the network can be ensured to be communicated with each other. When a new member of the federation requests to join, nodes need to be dynamically added at this time. Firstly, a treatment proposal named 'adding node' is initiated by a node existing in the network, other nodes in the network vote for the proposal, when obtaining most of the votes, the node is added into the network at a specific block height, and then the node and other nodes establish communication with each other to formally become legal nodes in the network. If a node needs to be deleted, a certain node initiates a treatment proposal named 'delete node', other nodes in the network vote for the proposal, when a plurality of votes are obtained, the node is kicked out of the network at a specific block height, and then the node cannot communicate with other nodes in the network.
The account number authority management module is used for: and if the transaction request of the designated account is received, judging whether the designated account is contained in the preset list, if so, agreeing to the transaction request of the designated account, and if not, rejecting the transaction request of the designated account.
The preset list may be a white list, and in actual implementation, a black list may also be used, and if the black list is used, an execution step opposite to the white list is used, that is, if the specified account is determined to be included in the black list, the transaction request of the specified account is rejected, and if the specified account is determined not to be included in the black list, the transaction request of the specified account is agreed.
The authority management mechanism for the account in this embodiment controls the account authority through the white list/black list. The transaction can only be sent normally if the account is on the white list or not on the black list, otherwise it is rejected by the system to be added to the block. The function is designed to control the admission authority of a specific account in a fine-grained manner, and to ensure that accounts capable of sending transactions are legal. The following briefly describes the implementation process:
the system is internally provided with an intelligent contract 'permission _ account _ tx' for saving a white list or a black list of accounts which can send transactions. The node client opens parameters supporting account number transaction authority: ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -; nodes with operational privileges, such as white list or black list administrators, add accounts to the intelligent contract. When the account sends a transaction, judging whether the account is in an account white list of the intelligent contract or not, and if the account is in the account white list, allowing the account to send the transaction; if not, it is prohibited from sending the transaction. Or, judging whether the account is in the account blacklist list of the intelligent contract or not, and if the account is in the account blacklist list of the intelligent contract, forbidding the intelligent contract to send the transaction; if not, it is allowed to send the transaction.
The embodiment realizes a block chain management mechanism, can ensure the normal operation stage of the block chain, and realizes the automatic upgrade and evolution of the system without soft branching or hard branching. The following description will be given by taking a block chain as a color chain as an example to describe typical functions included in the governance mechanism, specifically as follows:
1. upgrade and downgrade of the system. In a traditional public chain, an upgrading client is upgraded in a soft forking mode, and the method has the following problems: upgrading is not democratic but mandatory, which does not comply with the decentralization concept; the system upgrading is brought into the management category, whether upgrading is carried out or not is determined in a democratic voting mode, and the rights and interests of the alliance nodes can be better protected.
2. And (5) treatment of specific parameters. The color chain provides governance capability for a plurality of specific parameters, and can dynamically change parameters and accordingly change corresponding functions under the conditions of no soft branching and no client updating.
3. Consensus protocol related governance. Such as block-out time, consensus timeout time, etc., can be dynamically modified in a governance manner.
4. And (4) governing related to authority. Dynamic authority management functions can be realized in a governing mode.
5. Treating under the chain. The under-chain agreement is achieved, but data records can be saved to the chain through governance.
6. Other treatment capabilities. The bottom layer treatment mechanism is pluggable, and the treatment capacity of other modules can be conveniently expanded subsequently. In a word, the colorful body chain realizes the 'all-purpose governing', is flexible and efficient.
In the introduction content of the node authority management module, it can be seen that the function of dynamically adding and deleting nodes is realized through a governance mechanism. The following describes a typical usage of the abatement mechanism by taking "modify block consensus time" as an example.
Assuming that the block-out time for the current system operation is 3 seconds, it is now necessary to reduce the time to 2 seconds. First, a node in the system initiates a proposal of 'change out of block time'. All nodes within the system vote for this proposal. If there are more than 67% votes for a proposal within a proposal cycle time, the proposal passes. Then after a certain block height, the out-of-block time synchronization for all nodes in the system is changed to 2 seconds. If the number of unsupproved tickets is not more than 67%, the proposal is not effective, and the block-out time is still maintained to be 3 seconds. Each proposal has a proposal period, and after the period is over, the proposal is cleared and becomes an unavailable proposal, and the node can not vote for the proposal.
The color chain creatively adds various types of precompiled contracts into the system, and the bottom layer uses the precompiled contract mode to support innovation of a plurality of functional modules and improve the operation efficiency of the block chain. The following objectives can be achieved by designing such contracts: the intelligent contract can support the upper-layer governing mechanism, consensus algorithm and other modules in an intelligent contract mode, and has the characteristic of high cohesion and low decoupling. The complex scene is realized in an intelligent contract mode, and the architecture design can keep good compatibility with the original system. And a part of contracts have an external open interface, so that the union members can interact with the system in a contract mode.
The precompiled contracts described above are a specific class of contracts that are similar to ordinary contracts in underlying storage, but differ from ordinary contracts in some places as follows: precompilation has no contract Owner (Owner), or the blockchain system itself is the contract Owner. Pre-compilation is already added to the system in the created blocks. In addition, the color chain supports adding or modifying precompiled contracts by means of governance. Some optimizations may be performed on the execution of a precompiled contract, which may consume lower resources than a normal contract.
The processing method of the intelligent contract generates the initial intelligent contract based on the object information of the object to be processed acquired in advance and the user information of a plurality of target users. And sending the initial intelligent contract to a plurality of target users, and if a processing result of confirming the initial intelligent contract by each target user is received, generating an electronic signature corresponding to each target user based on the user name of each target user. And uploading the electronic signature corresponding to each target user, the initial intelligent contract and each processing result to the block chain, so that the management node of the block chain adds the electronic signature corresponding to the target user at the target contract content corresponding to the target user in the initial intelligent contract based on the processing result corresponding to each target user, and obtaining a final intelligent contract. And displaying the contract content of the final intelligent contract in a joint list form through a block chain display window of the block chain. In the method, after the final intelligent contract is generated based on the initial intelligent contract and each target user confirms the processing result of the initial intelligent contract, the management node of the block chain can display the final intelligent contract in a form of the joint list instead of a form of random characters, and because the contract content of the final intelligent contract can be directly displayed in the display mode of the joint list, the user can visually check the contract content of the final intelligent contract, and the user experience is improved.
In the above embodiment, the final intelligent contract is displayed in an electronic form of a coupon or a certificate, the system performs visual processing on the block chain, information generated by the unit to which the process belongs is linked up in real time, and an electronic signature can be added as long as the block chain is complete; wherein, the block chain integrity can be understood as: the information of output units, transportation units, receiving units and the like in the initial intelligent contract is complete, the units are effective and legal and are approved by the government, whether the units are authorized or not can be checked through a control station of an operator, if the information is complete and authorized, an electronic signature can be added on the initial intelligent contract by a block chain, if the units are not authorized or the information is incomplete, such as telephone loss and the like, the block chain can be considered to be incomplete, the electronic signature cannot be added on the initial intelligent contract, all final intelligent contracts with the electronic signature are processed by the block chain, and the block chain has the complete characteristics of the block chain such as information safety, distributed sharing and the like. Other related parties can check at any time, and the government departments supervise the whole process. The following explains the overall information circulation process:
and (I) the participating parties create digital identities in the chain, and the identities are checked and authorized by departments related to the location.
Firstly, automatically generating the digital identity with the highest authority by a block chain, distributing the digital identity to relevant government departments, submitting materials to the relevant departments by other parties to apply for the digital identity, wherein the parties can be relevant departments such as an operator, an environmental protection agency and the like, servers are placed at all relevant parties, and the servers form a alliance chain and are trusted; then, the related department verifies the materials, the unit passing the verification can obtain the right of interacting with the block chain information, and the unit failing the verification can not participate in the writing and reading of the data on the block chain, thereby ensuring the exclusivity of the block chain union unit system.
(II) participating parties view final intelligent contracts instantly
Each responsible person uploads the information of the important node to the block chain in real time, and each party can check the process at any time, so that a supervision platform is provided for related departments to supervise the whole process.
According to the processing method of the intelligent contract, the intelligent contract is executed in a traditional form of building a joint list, nodes are deployed in each supervision unit in a mode of a union block chain, access is performed according to the affiliated authority, electronic signatures are displayed in a visual mode, policy files are compatible, and the problem of supervision policies is solved. When the method is applied to a union note electronization application scene under a pollutant treatment scene, authenticity, integrity and reliability of dangerous and useless quintuplet data can be guaranteed while visual interaction is friendly through a mode of electronizing a final intelligent contract.
For further understanding of the blockchain, the technical features of the blockchain are described below.
(1) Information security
The block chain adopts distributed data storage, each node keeps a backup of complete information on a point-to-point network, and the information cannot be lost unless the information of all the nodes is damaged, so that the safety and the integrity of the information are ensured.
The information is encrypted and then is transmitted in the block chain network, an information owner can share the information with a specific organization or an individual, and other organizations or individuals in the network can only obtain the encrypted information and cannot obtain the actual content of the information, so that illegal stealing and illegal use of the information can be prevented.
(2) Non-tamper-able
The block chain constructs a whole-course real record of historical data through a time stamp technology and the like, and the data is not falsifiable and is encrypted. The complete history of the block is unified with the consensus verification of the chain, and each item of data can be retrieved, searched and verified; by means of cryptographic algorithms, the integrity, authenticity and security of the data can be guaranteed. All behaviors, data and information on the block chain can be traced, the risk that a hacker invades and tampers with data or a power mechanism tampers with data in the background is technically eliminated, and various problems caused by data authenticity are avoided.
(3) Data sharing
All nodes on the block chain can participate in writing and reading of information on the chain, and the distributed account book of the block chain is jointly maintained in a mode approved by all parties, so that all the parties can share data on the chain. On one hand, in a block chain information platform with a certificate of pass, the behavior of sharing data on a chain can obtain a certificate of pass reward; on the other hand, due to the transparent and traceable nature of the disclosure of the blockchain, the publication of false or spam information can be detected by other nodes, and thus intra-chain rights can be lost or even legal responsibility can be assumed. Together, these two aspects maintain a benign data sharing environment on the blockchain.
An embodiment of the present invention provides a processing apparatus for an intelligent contract, as shown in fig. 7, the apparatus includes: a generating module 70, configured to generate an initial intelligent contract based on object information of a to-be-processed object obtained in advance and user information of multiple target users; and the uploading module 71 is configured to send the initial intelligent contract to a plurality of target users, and if a processing result of each target user confirming the initial intelligent contract is received, upload the initial intelligent contract and each processing result to the block chain, so that a management node of the block chain generates a final intelligent contract based on the initial intelligent contract and each processing result, and displays contract content of the final intelligent contract in a joint form.
The processing device of the intelligent contract generates an initial intelligent contract based on the object information of the object to be processed acquired in advance and the user information of a plurality of target users; and if a processing result of each target user confirming the initial intelligent contract is received, uploading the initial intelligent contract and each processing result to the block chain, so that a management node of the block chain generates a final intelligent contract based on the initial intelligent contract and each processing result, and displaying contract content of the final intelligent contract in a joint form. In the device, after the final intelligent contract is generated based on the initial intelligent contract and each target user confirms the processing result of the initial intelligent contract, the management node of the block chain can display the final intelligent contract in a form of a joint list instead of a random character form, and because the contract content of the final intelligent contract can be directly displayed in the display mode of the joint list, the user can visually check the contract content of the final intelligent contract, and the user experience is improved.
Further, the user information includes a user name; the initial intelligent contract comprises target contract contents corresponding to each target user; the upload module 71 is further configured to: generating an electronic signature corresponding to each target user based on the user name of each target user; uploading the electronic signature corresponding to each target user, the initial intelligent contract and each processing result to a block chain, so that a management node of the block chain adds the electronic signature corresponding to the target user at the target contract content corresponding to the target user in the initial intelligent contract based on the processing result corresponding to each target user to obtain a final intelligent contract; and displaying the contract content of the final intelligent contract in a joint list form through a block chain display window of the block chain.
Further, the electronic signature corresponding to each target user comprises a user name of the target user and a block chain identifier; and the blockchain identifier is used for indicating that the target contract content corresponding to the target user passes the blockchain authentication.
Furthermore, the block chain display window comprises a data synchronization module, a data query module, a data analysis module, a data monitoring module and a web page; the data synchronization module is used for updating and storing data in the block chain; the data query module is used for providing a query interface of data in the block chain; the data analysis module is used for carrying out statistical analysis on the data in the block chain; the data monitoring module is used for monitoring the state information of each node in the block chain; wherein the state information comprises an operation state and a transaction state; the web page is used to show data in the blockchain.
Further, the plurality of target users includes: the method includes generating a first user of the object to be processed, transferring a second user of the object to be processed, and receiving a third user of the object to be processed.
Further, the contract content of the final intelligent contract comprises: the contract content management method comprises the steps of first contract content corresponding to a first user, second contract content corresponding to a second user and third contract content corresponding to a third user.
Further, the block chain comprises a node authority management module and an account authority management module; the node authority management module is used for: if the appointed node in the block chain initiates a proposal of a newly added target node, voting the proposal by other nodes except the appointed node in the block chain, and if the voting number reaches a preset standard, adding the target node in the block chain; and is also used for: if the appointed node in the block chain initiates a proposal for deleting the target node, voting the proposal by other nodes except the appointed node in the block chain, and if the voting number reaches a preset standard, deleting the target node in the block chain; the account number authority management module is used for: and if the transaction request of the designated account is received, judging whether the designated account is contained in the preset list, if so, agreeing to the transaction request of the designated account, and if not, rejecting the transaction request of the designated account.
The implementation principle and the generated technical effect of the processing device of the intelligent contract provided by the embodiment of the invention are the same as those of the processing method embodiment of the intelligent contract, and for the sake of brief description, corresponding contents in the processing method embodiment of the intelligent contract can be referred to where the embodiment of the processing device of the intelligent contract is not mentioned.
An embodiment of the present invention further provides an electronic device, as shown in fig. 8, where the electronic device includes a processor 130 and a memory 131, the memory 131 stores machine executable instructions that can be executed by the processor 130, and the processor 130 executes the machine executable instructions to implement the processing method of the intelligent contract.
Further, the electronic device shown in fig. 8 further includes a bus 132 and a communication interface 133, and the processor 130, the communication interface 133, and the memory 131 are connected through the bus 132.
The Memory 131 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 133 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 132 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 8, but that does not indicate only one bus or one type of bus.
The processor 130 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 130. The Processor 130 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 131, and the processor 130 reads the information in the memory 131 and completes the steps of the method of the foregoing embodiment in combination with the hardware thereof.
The embodiment of the present invention further provides a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by a processor, the machine-executable instructions cause the processor to implement the processing method of the intelligent contract, and specific implementation may refer to method embodiments, and is not described herein again.
The method and the apparatus for processing an intelligent contract and the computer program product of the electronic device provided by the embodiments of the present invention include a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementations may refer to the method embodiments and are not described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for processing intelligent contracts, the method comprising:
generating an initial intelligent contract based on object information of a to-be-processed object acquired in advance and user information of a plurality of target users;
and if a processing result of each target user confirming the initial intelligent contract is received, uploading the initial intelligent contract and each processing result to a block chain, so that a management node of the block chain generates a final intelligent contract based on the initial intelligent contract and each processing result, and displaying the contract content of the final intelligent contract in a joint form.
2. The method of claim 1, wherein the user information includes a user name; the initial intelligent contract comprises target contract contents corresponding to each target user; the step of uploading the initial intelligent contract and each processing result to a blockchain to enable a management node of the blockchain to generate a final intelligent contract based on the initial intelligent contract and each processing result, and displaying the contract content of the final intelligent contract in a joint form comprises the following steps:
generating an electronic signature corresponding to each target user based on the user name of each target user;
uploading the electronic signature corresponding to each target user, the initial intelligent contract and each processing result to a block chain, so that a management node of the block chain adds the electronic signature corresponding to the target user at the target contract content corresponding to the target user in the initial intelligent contract based on the processing result corresponding to each target user, and thus obtaining a final intelligent contract;
and displaying the contract content of the final intelligent contract in a joint list form through a block chain display window of the block chain.
3. The method of claim 2, wherein the electronic signature associated with each target user comprises a user name of the target user and a blockchain identifier; and the block chain identifier is used for indicating that the target contract content corresponding to the target user passes the block chain authentication.
4. The method of claim 2, wherein the blockchain presentation window comprises a data synchronization module, a data query module, a data analysis module, a data monitoring module, and a web page;
the data synchronization module is used for updating and storing the data in the block chain;
the data query module is used for providing a query interface of the data in the block chain;
the data analysis module is used for carrying out statistical analysis on the data in the block chain;
the data monitoring module is used for monitoring the state information of each node in the block chain; wherein the state information comprises an operation state and a transaction state;
the web page is used for displaying the data in the block chain.
5. The method of claim 1, wherein the plurality of target users comprises: the method includes generating a first user of the object to be processed, transferring a second user of the object to be processed, and receiving a third user of the object to be processed.
6. The method of claim 5, wherein the contract content of the final intelligent contract comprises: the contract content management system comprises first contract content corresponding to the first user, second contract content corresponding to the second user and third contract content corresponding to the third user.
7. The method of claim 1, wherein the blockchain comprises a node authority management module and an account authority management module;
the node authority management module is used for: if the appointed node in the block chain initiates a proposal of a newly added target node, voting the proposal by other nodes except the appointed node in the block chain, and if the voting number reaches a preset standard, adding the target node in the block chain; and is also used for: if a designated node in a block chain initiates a proposal for deleting a target node, voting the proposal by other nodes except the designated node in the block chain, and if the voting number reaches a preset standard, deleting the target node in the block chain;
the account number authority management module is used for: if the transaction request of the designated account is received, judging whether the designated account is contained in a preset list, if so, agreeing to the transaction request of the designated account, and if not, rejecting the transaction request of the designated account.
8. An apparatus for processing smart contracts, the apparatus comprising:
the generating module is used for generating an initial intelligent contract based on the object information of the object to be processed and the user information of a plurality of target users, wherein the object information is acquired in advance;
and the uploading module is used for sending the initial intelligent contracts to the plurality of target users, uploading the initial intelligent contracts and each processing result to a block chain if the processing result of each target user confirming the initial intelligent contracts is received, so that a management node of the block chain generates final intelligent contracts based on the initial intelligent contracts and each processing result, and displaying contract contents of the final intelligent contracts in a joint list form.
9. An electronic device comprising a processor and a memory, the memory storing machine executable instructions executable by the processor, the processor executing the machine executable instructions to implement the method of processing of the smart contract of any of claims 1-7.
10. A machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement a method of processing a smart contract as claimed in any of claims 1 to 7.
CN202110205225.0A 2021-02-24 2021-02-24 Intelligent contract processing method and device and electronic equipment Pending CN112819468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110205225.0A CN112819468A (en) 2021-02-24 2021-02-24 Intelligent contract processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110205225.0A CN112819468A (en) 2021-02-24 2021-02-24 Intelligent contract processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112819468A true CN112819468A (en) 2021-05-18

Family

ID=75865311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110205225.0A Pending CN112819468A (en) 2021-02-24 2021-02-24 Intelligent contract processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112819468A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113407188A (en) * 2021-06-03 2021-09-17 广东辰宜信息科技有限公司 Intelligent contract construction method and device, computer equipment and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392528A (en) * 2017-06-30 2017-11-24 海航创新科技研究有限公司 Container operation data treating method and apparatus
CN108334595A (en) * 2018-01-31 2018-07-27 泰康保险集团股份有限公司 Data sharing method and device
CN108428122A (en) * 2018-02-08 2018-08-21 布比(北京)网络技术有限公司 It is a kind of distribution account book on trade financing method and system
CN109003078A (en) * 2018-06-27 2018-12-14 阿里巴巴集团控股有限公司 Intelligent contract call method and device, electronic equipment based on block chain
CN109583891A (en) * 2018-11-14 2019-04-05 咪咕文化科技有限公司 A kind of information processing method, device and storage medium
CN110275884A (en) * 2019-05-31 2019-09-24 阿里巴巴集团控股有限公司 Date storage method and node
CN110580411A (en) * 2019-11-08 2019-12-17 支付宝(杭州)信息技术有限公司 permission query configuration method and device based on intelligent contract
CN110580245A (en) * 2019-11-08 2019-12-17 支付宝(杭州)信息技术有限公司 private data sharing method and device
CN110597918A (en) * 2019-09-23 2019-12-20 腾讯科技(深圳)有限公司 Account management method and device and computer readable storage medium
CN110599095A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Dangerous waste treatment method based on block chain network and node of block chain network
CN110837658A (en) * 2019-11-18 2020-02-25 浙江蓝景科技有限公司 Processing method and system of coupon information, electronic device and storage medium
CN111026982A (en) * 2019-10-15 2020-04-17 深圳壹账通智能科技有限公司 Intelligent contract processing method, computer equipment and storage medium
CN111260290A (en) * 2020-01-16 2020-06-09 江苏神彩科技股份有限公司 Dangerous waste full-life-cycle management and tracing system and method based on block chain
CN111813441A (en) * 2020-09-10 2020-10-23 腾讯科技(深圳)有限公司 Intelligent contract issuing method and device, computer readable medium and electronic equipment
CN112256662A (en) * 2020-10-22 2021-01-22 安徽农业大学 Storage and tracing method, device, equipment and storage medium for agricultural product information block chain
CN112380582A (en) * 2020-12-22 2021-02-19 平安国际智慧城市科技股份有限公司 Garbage throwing recording method and device based on block chain and computer equipment

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392528A (en) * 2017-06-30 2017-11-24 海航创新科技研究有限公司 Container operation data treating method and apparatus
CN108334595A (en) * 2018-01-31 2018-07-27 泰康保险集团股份有限公司 Data sharing method and device
CN108428122A (en) * 2018-02-08 2018-08-21 布比(北京)网络技术有限公司 It is a kind of distribution account book on trade financing method and system
CN109003078A (en) * 2018-06-27 2018-12-14 阿里巴巴集团控股有限公司 Intelligent contract call method and device, electronic equipment based on block chain
CN109583891A (en) * 2018-11-14 2019-04-05 咪咕文化科技有限公司 A kind of information processing method, device and storage medium
CN110275884A (en) * 2019-05-31 2019-09-24 阿里巴巴集团控股有限公司 Date storage method and node
CN110599095A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 Dangerous waste treatment method based on block chain network and node of block chain network
CN110597918A (en) * 2019-09-23 2019-12-20 腾讯科技(深圳)有限公司 Account management method and device and computer readable storage medium
CN111026982A (en) * 2019-10-15 2020-04-17 深圳壹账通智能科技有限公司 Intelligent contract processing method, computer equipment and storage medium
CN110580245A (en) * 2019-11-08 2019-12-17 支付宝(杭州)信息技术有限公司 private data sharing method and device
CN110580411A (en) * 2019-11-08 2019-12-17 支付宝(杭州)信息技术有限公司 permission query configuration method and device based on intelligent contract
CN110837658A (en) * 2019-11-18 2020-02-25 浙江蓝景科技有限公司 Processing method and system of coupon information, electronic device and storage medium
CN111260290A (en) * 2020-01-16 2020-06-09 江苏神彩科技股份有限公司 Dangerous waste full-life-cycle management and tracing system and method based on block chain
CN111813441A (en) * 2020-09-10 2020-10-23 腾讯科技(深圳)有限公司 Intelligent contract issuing method and device, computer readable medium and electronic equipment
CN112256662A (en) * 2020-10-22 2021-01-22 安徽农业大学 Storage and tracing method, device, equipment and storage medium for agricultural product information block chain
CN112380582A (en) * 2020-12-22 2021-02-19 平安国际智慧城市科技股份有限公司 Garbage throwing recording method and device based on block chain and computer equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王翌飞;: "政府管理视角下区块链技术在工程建设行业中的应用场景研究", 住宅与房地产, no. 20 *
茹越峰;: "区块链技术在集团关联交易管理中的应用探究", 中国总会计师, no. 04 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113407188A (en) * 2021-06-03 2021-09-17 广东辰宜信息科技有限公司 Intelligent contract construction method and device, computer equipment and storage medium
CN113407188B (en) * 2021-06-03 2024-02-09 广东辰宜信息科技有限公司 Intelligent contract construction method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
Campanile et al. Designing a GDPR compliant blockchain-based IoV distributed information tracking system
Minoli et al. Blockchain mechanisms for IoT security
CN111988338B (en) Permission-controllable Internet of things cloud platform based on block chain and data interaction method
CN110266872B (en) Address book data management and control method and device, cloud address book system, computer equipment and computer readable storage medium
ul Hassan et al. Blockchain and the future of the internet: a comprehensive review
CN113239375B (en) Block chain-based privacy factor data sharing system, method, computer device, and medium
CN110569643A (en) traffic management method and device based on block chain network
CN112241919A (en) Multi-domain blockchain network with data flow control
CN110674128A (en) On-chain remediation of block chains
CN115605868A (en) Cross-network identity provisioning
CN114357490A (en) Data sharing method, device and system based on block chain
CN113360458A (en) Distributed file storage sharing system based on alliance chain
CN111385751B (en) Information sending method, device, terminal and readable storage medium
CN113486122A (en) Data sharing method and electronic equipment
CN103020542B (en) Store the technology of the secret information being used for global data center
CN114117264A (en) Illegal website identification method, device, equipment and storage medium based on block chain
Akremi et al. A comprehensive and holistic knowledge model for cloud privacy protection
Gu et al. Autonomous resource request transaction framework based on blockchain in social network
US20200228345A1 (en) Self-governed secure attestation policy for server data privacy logs
CN112819468A (en) Intelligent contract processing method and device and electronic equipment
CN112069529B (en) Block chain-based volume management method and device, computer and storage medium
CN112950209A (en) Nuclear power experience feedback information management method and system based on block chain
CN115987697A (en) Multi-level information data sharing method and system based on event subscription mechanism
CN115150178A (en) Cross-platform unified login authentication method and device based on block chain
CN115145976A (en) Data processing method and device based on block chain, computer equipment and 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