CN111797160B - Method, system and electronic device for sharing intelligent contract - Google Patents

Method, system and electronic device for sharing intelligent contract Download PDF

Info

Publication number
CN111797160B
CN111797160B CN202010549945.4A CN202010549945A CN111797160B CN 111797160 B CN111797160 B CN 111797160B CN 202010549945 A CN202010549945 A CN 202010549945A CN 111797160 B CN111797160 B CN 111797160B
Authority
CN
China
Prior art keywords
channel
user
intelligent contract
users
project
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.)
Active
Application number
CN202010549945.4A
Other languages
Chinese (zh)
Other versions
CN111797160A (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.)
Suning Financial Technology Nanjing Co Ltd
Original Assignee
Suning Financial Technology Nanjing 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 Suning Financial Technology Nanjing Co Ltd filed Critical Suning Financial Technology Nanjing Co Ltd
Priority to CN202010549945.4A priority Critical patent/CN111797160B/en
Publication of CN111797160A publication Critical patent/CN111797160A/en
Application granted granted Critical
Publication of CN111797160B publication Critical patent/CN111797160B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The invention discloses a method, a system and electronic equipment for sharing intelligent contracts, wherein the method comprises the following steps: initializing a project block, wherein a channel is created in the project block, and Peer nodes are added in the channel, and each Peer node corresponds to one user; uploading the intelligent contract to a channel where the current user is located, and instantiating the intelligent contract in a Peer node corresponding to the current user; by inviting other users into the channel, the smart contracts in the channel are used in conjunction with other users. The system adopts the method to realize sharing of the intelligent contracts so as to reduce development cost and promote the multiplexing rate of the intelligent contracts.

Description

Method, system and electronic device for sharing intelligent contract
Technical Field
The invention relates to the field of blockchain technology application, in particular to a method, a system and electronic equipment for sharing intelligent contracts.
Background
Hyperledger Fabric (super ledger), which is a chained data structure, is specifically a cryptographically guaranteed, non-tamperable and non-counterfeitable distributed ledger. The intelligent contract is a language script used for operating the bottom account book record, is used for bearing business and is responsible for specific business logic. In the development and use of Fabric, different users have the same demands in the same alliance chain, so that a large number of intelligent contracts with the same functions can be uploaded, but because intelligent contracts among users cannot be reused, not only is resource waste and development time cost increased, but also the fact that a caller who calls contract interface service needs to access a new contract interface every time is inconvenient.
Disclosure of Invention
The invention aims to provide a method, a system and electronic equipment for sharing intelligent contracts, which realize sharing of intelligent contracts so as to reduce development cost and improve the multiplexing rate of intelligent contracts.
In order to achieve the above object, the present invention provides the following technical solutions:
a method of sharing a smart contract, comprising:
initializing a project block, wherein a channel is created in the project block, and Peer nodes are added in the channel, and each Peer node corresponds to one user;
uploading the intelligent contract to a channel where the current user is located, and instantiating the intelligent contract in a Peer node corresponding to the current user;
by inviting other users into the channel, the smart contracts in the channel are used in conjunction with other users.
Preferably, the method for initializing the project block comprises the following steps:
initializing a project block according to project block parameters selected by a user or default project block parameters, and generating Orderer nodes and Peer nodes;
creating one or more channels according to the certificate of the Orderer node, and simultaneously generating a channel block file of each channel;
and the Peer node requests to join the channel according to the channel block file.
Specifically, the project block parameters include a fabric version number, parameters of the ranking service module, and the number of Orderer nodes and Peer nodes.
Preferably, in the project block initialization process, each project block is deployed on a slave server through a server IP designated by a user, and the project blocks and channels in the project blocks are automatically numbered.
Preferably, the slave server is mounted on the master server through a file sharing service, the master server provides interface request service for the outside, user requests are distributed to the appointed slave server through the master server, and the slave server realizes data storage and task processing.
Preferably, at least one channel is created in the project block, and at least one Peer node is added in the channel.
Preferably, the method for uploading the intelligent contract to the channel where the current user is located and instantiating the intelligent contract in the Peer node corresponding to the current user comprises the following steps:
after uploading the intelligent contract to a designated slave server, the user uploads the intelligent contract to a corresponding channel according to the number of the project block and the number of the channel, and stores the intelligent contract in a Peer node corresponding to the user;
and running a command for installing the intelligent contract according to the CA digital certificate of the Peer node corresponding to the user and the MSP member management service path, packaging the intelligent contract and transmitting the intelligent contract to the Peer node for instantiation.
Specifically, by inviting other users into the channel, the method of using the smart contract in the channel with other users includes:
the other users are invited to the channel by sending an offer code;
creating or distributing Peer nodes corresponding to other users;
and authorizing other users to call the intelligent contracts to corresponding Peer nodes for instantiation so as to realize the use of the intelligent contracts in the channel together with other users.
A system for sharing intelligent contracts, comprising an initialization module, an instantiation module, and an offer module, wherein,
the initialization module is used for initializing a project block, a channel is created in the project block, and Peer nodes are added in the channel, and each Peer node corresponds to one user;
the instantiation module uploads the intelligent contract to a channel where the current user is located, and instantiates the intelligent contract in the Peer node corresponding to the current user;
the offer module is used for using the intelligent contract in the channel together with other users by offering other users to the channel.
An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the aforementioned method of sharing smart contracts.
Compared with the prior art, the method, the system and the electronic equipment for sharing the intelligent contract have the following beneficial effects:
in the method for sharing the intelligent contract, firstly, the project block is initialized, then the intelligent contract is uploaded to the channel where the current user is located in the project block, instantiation installation is carried out in the Peer node corresponding to the current user, and finally, other users are authorized to call the intelligent contract to the corresponding Peer node for instantiation by inviting the other users to the same channel, so that the intelligent contract in the channel is used together with other users, multiplexing of the intelligent contract is improved, and development cost is reduced.
The system for sharing the intelligent contract provided by the invention adopts the method for sharing the intelligent contract, so that the multiplexing of the intelligent contract is improved, and the coupling of the intelligent contract and the system is reduced.
The method for sharing the intelligent contract can be executed in the electronic equipment, so that the multiplexing of the intelligent contract is improved, the coupling of the intelligent contract and the system is reduced, and the development cost is reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a flow chart of a method for sharing intelligent contracts in an embodiment of the present invention;
FIG. 2 is a schematic diagram of a slave server mounted to a master server according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
In order to make the above objects, features and advantages of the present invention more comprehensible, the following description of the embodiments accompanied with the accompanying drawings will be given in detail. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, a method for sharing an intelligent contract provided in this embodiment includes:
initializing a project block, wherein a channel is created in the project block, and Peer nodes are added in the channel, and each Peer node corresponds to one user;
uploading the intelligent contract to a channel where the current user is located, and instantiating the intelligent contract in a Peer node corresponding to the current user;
by inviting other users into the channel, the smart contracts in the channel are used in conjunction with other users.
In the method for sharing the intelligent contract provided by the embodiment of the invention, firstly, the project block is initialized, then the intelligent contract is uploaded to the channel where the current user is located in the project block, and is subjected to instantiation installation in the Peer node corresponding to the current user, and finally, other users are authorized to call the intelligent contract to the corresponding Peer node for instantiation by inviting the other users to the same channel, so that the intelligent contract in the channel is used together with other users, the multiplexing of the intelligent contract is improved, and the development cost is reduced.
In the execution process of the method, the user does not need to pay attention to the problem of log maintenance built by the fabric system, and as long as the user is focused on the development of the intelligent contract, other users can be invited to the channel of the user in the development of the project block of the user, so that the other users can call the intelligent contract of the user, and meanwhile, the other users can upload the intelligent contract written by the user, so that the users can share the intelligent contract, the development cost is reduced, the multiplexing rate of the intelligent contract is improved, and meanwhile, the intelligent contract access of an open source can also improve the function of an interface.
Specifically, in the method for sharing intelligent contracts provided by the embodiment of the present invention, the method for initializing the project block includes:
initializing a project block according to project block parameters selected by a user or default project block parameters, and generating Orderer nodes and Peer nodes;
creating one or more channels according to the certificate of the Orderer node, and simultaneously generating a channel block file of each channel;
and the Peer node requests to join the channel according to the channel block file.
Based on the existing software or system for generating the block project in the prior art, the project block is initialized according to project block parameters selected by a user or default project block parameters, and the user does not need to pay attention to the problem of log maintenance built by the fabric system, so long as the user is focused on the development of intelligent contracts. The project block parameters comprise fabric version numbers, parameters of the sequencing service module and the number of Orderer nodes and Peer nodes. The parameters of the ranking service module include the software integrated in the fabric system, such as zookeeper, kafka, etc., that is used to select the project block to be generated.
In the method for sharing intelligent contracts provided by the embodiment of the invention, the concept of a channel is introduced, at least one channel is created in the project block, and at least one Peer node is added in the channel. The user in the same project can create the Peer node corresponding to the user in the same channel, the intelligent contract is installed in the Peer node by instantiation, and if other users in the same channel also call the function contract, the intelligent contract is installed on the Peer of the user by instantiation again.
In addition, each newly created project block is a private chain by default, and if an interface is developed for each project block when the private chain is increased, development workload is increased, and the system is inconvenient for a caller of a data interface. For this reason, referring to fig. 2, in the method for sharing intelligent contracts according to the embodiment of the present invention, each project block is deployed on a slave server through a server IP designated by a user, and the project blocks and channels in the project blocks are automatically numbered. When project blocks are created more, we need a client to manage these slave servers, and we call the master server (master) to manage these node servers. The slave servers are mounted on the master server through the file sharing service, the master server provides interface request service for the outside, user requests are distributed to the appointed slave servers through the master server, and the slave servers realize data storage and task processing. The file sharing service can be realized by using an nfs service, and the nfs service has the advantages of quick deployment, simple maintenance and the like compared with other file sharing services.
When the user requests to call the bottom data of the Peer node, the bottom data is distributed to the slave servers which the user needs to request through the master server, and the master server is only responsible for forwarding the user request, and the data storage and processing are still completed by the slave servers. The slave server is mounted on the master server, the master server does not need to pay attention to data, only the management of the slave server is concerned, and meanwhile, the whole system can provide a unified interface for an external data calling party, so that the calling party can use the data conveniently.
The method for uploading the intelligent contract to the channel where the current user is located and instantiating the intelligent contract in the Peer node corresponding to the current user comprises the following steps:
after uploading the intelligent contract to a designated slave server, the user uploads the intelligent contract to a corresponding channel according to the number of the project block and the number of the channel, and stores the intelligent contract in a Peer node corresponding to the user;
the intelligent contract is a code written in go language, or can be called a chain code, and a command for installing the intelligent contract is operated according to a CA digital certificate of a Peer node corresponding to a user and an MSP member management service path, and the intelligent contract is packed and sent to the Peer node for instantiation.
After the instantiation is completed, the contract function may be invoked, whether the just created project block is a separate private chain node project, and only the person or organization that created the private chain node may use it. We can invite one or more persons into our project channel by offer, authorizing multiple persons to commonly use the smart contract in one channel to achieve creation of one sharable project block.
In an implementation process, a method for jointly using intelligent contracts in a channel with other users by inviting the other users to the channel comprises the following steps:
the method comprises the steps of offering other users to a channel by sending an offer code;
creating or distributing Peer nodes corresponding to other users;
and authorizing other users to call the intelligent contracts to the corresponding Peer nodes for instantiation so as to realize the use of the intelligent contracts in the channels together with other users.
When the users are invited to have permission calling in the channels, the same interfaces can call different intelligent contract interfaces through the change of parameter item numbers, channel numbers and intelligent contract numbers, meanwhile, the system can record each operation of the users, and the users can check the health conditions of the project blocks of the users through the fabric browser.
Example two
The system for sharing the intelligent contract comprises an initialization module, an instantiation module and an offer module, wherein the initialization module is used for initializing a project block, a channel is created in the project block, and Peer nodes are added in the channel, and each Peer node corresponds to one user; the instantiation module uploads the intelligent contract to a channel where the current user is located, and instantiates the intelligent contract in the Peer node corresponding to the current user; the offer module is used for using the intelligent contract in the channel with other users by offering the other users to the channel.
The system for sharing the intelligent contract provided by the invention adopts the method for sharing the intelligent contract in the first embodiment, so that the multiplexing of the intelligent contract is improved, and the coupling of the intelligent contract and the system is reduced. Compared with the prior art, the beneficial effects of the system for sharing intelligent contracts provided by the embodiment of the present invention are the same as those of the method for sharing intelligent contracts provided by the first embodiment, and other technical features of the system for sharing intelligent contracts are the same as those disclosed by the method of the previous embodiment, which are not described in detail herein.
Example III
An electronic device, the electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the aforementioned method of sharing a smart contract.
Referring now to fig. 3, a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 3, the electronic device may include a processing means (e.g., a central processing unit, a graphic processor, etc.) that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) or a program loaded from a storage means into a Random Access Memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM and RAM are connected to each other via a bus. An input/output (I/O) interface is also connected to the bus.
In general, the following systems may be connected to the I/O interface: input devices including, for example, touch screens, touch pads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices including, for example, liquid Crystal Displays (LCDs), speakers, vibrators, etc.; storage devices including, for example, magnetic tape, hard disk, etc.; a communication device. The communication means may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While electronic devices having various systems are shown in the figures, it should be understood that not all of the illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from ROM. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by a processing device.
The electronic equipment provided by the invention adopts the method for sharing the intelligent contract in the first embodiment, so that the multiplexing of the intelligent contract is improved, the coupling of the intelligent contract and the system is reduced, and the development cost is reduced. Compared with the prior art, the electronic device provided by the embodiment of the invention has the same beneficial effects as the method for sharing the intelligent contract provided by the first embodiment, and other technical features in the electronic device are the same as the features disclosed by the method for sharing the intelligent contract provided by the first embodiment, and are not repeated herein.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring at least two internet protocol addresses; sending a node evaluation request comprising the at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects an internet protocol address from the at least two internet protocol addresses and returns the internet protocol address; receiving an Internet protocol address returned by the node evaluation equipment; wherein the acquired internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from the at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented in software or hardware. The name of a module is not limited to the module itself in some cases, and for example, the initialization module may be described as "a module for initializing a project block".
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the description of the above embodiments, particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method of sharing a smart contract, comprising:
initializing a project block, wherein a channel is created in the project block, and Peer nodes are added in the channel, and each Peer node corresponds to one user;
uploading the intelligent contract to a channel where the current user is located, and instantiating the intelligent contract in a Peer node corresponding to the current user;
by inviting other users into the channel, using the smart contracts in the channel with other users;
in the project block initialization process, each project block is deployed on a slave server through a server IP appointed by a user, and the project blocks and channels in the project blocks are numbered automatically;
the slave servers are mounted on the master server through file sharing service, the master server provides interface request service to the outside, user requests are distributed to the appointed slave servers through the master server, and the slave servers realize data storage and task processing.
2. The method of sharing a smart contract according to claim 1, wherein the method of initializing a project block includes:
initializing a project block according to project block parameters selected by a user or default project block parameters, and generating Orderer nodes and Peer nodes;
creating one or more channels according to the certificate of the Orderer node, and simultaneously generating a channel block file of each channel;
and the Peer node requests to join the channel according to the channel block file.
3. The method of sharing intelligent contracts according to claim 2, wherein the project block parameters include a fabric version number, parameters of a ranking service module, and the number of Orderer nodes and Peer nodes.
4. A method of sharing a smart contract according to any one of claims 1-3, characterized in that at least one channel is created in the project block and at least one Peer node is added in the channel.
5. The method for sharing a smart contract according to claim 4, wherein the method for uploading the smart contract to a channel where a current user is located and instantiating in a Peer node corresponding to the current user includes:
after uploading the intelligent contract to a designated slave server, the user uploads the intelligent contract to a corresponding channel according to the number of the project block and the number of the channel, and stores the intelligent contract in a Peer node corresponding to the user;
and running a command for installing the intelligent contract according to the CA digital certificate of the Peer node corresponding to the user and the MSP member management service path, packaging the intelligent contract and transmitting the intelligent contract to the Peer node for instantiation.
6. The method of sharing a smart contract according to claim 1 or 5, characterized in that the method of using the smart contract in the channel together with other users by inviting other users into the channel includes:
the other users are invited to the channel by sending an offer code;
creating or distributing Peer nodes corresponding to other users;
and authorizing other users to call the intelligent contracts to corresponding Peer nodes for instantiation so as to realize the use of the intelligent contracts in the channel together with other users.
7. A system for sharing intelligent contracts is characterized by comprising an initialization module, an instantiation module and an offer module, wherein,
the initialization module is used for initializing a project block, a channel is created in the project block, and Peer nodes are added in the channel, and each Peer node corresponds to one user;
the instantiation module uploads the intelligent contract to a channel where the current user is located, and instantiates the intelligent contract in the Peer node corresponding to the current user;
the offer module is used for using the intelligent contract in the channel together with other users by offering other users to the channel;
in the project block initialization process, each project block is deployed on a slave server through a server IP appointed by a user, and the project blocks and channels in the project blocks are numbered automatically;
the slave servers are mounted on the master server through file sharing service, the master server provides interface request service to the outside, user requests are distributed to the appointed slave servers through the master server, and the slave servers realize data storage and task processing.
8. An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of sharing a smart contract of any of the preceding claims 1 to 6.
CN202010549945.4A 2020-06-16 2020-06-16 Method, system and electronic device for sharing intelligent contract Active CN111797160B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010549945.4A CN111797160B (en) 2020-06-16 2020-06-16 Method, system and electronic device for sharing intelligent contract

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010549945.4A CN111797160B (en) 2020-06-16 2020-06-16 Method, system and electronic device for sharing intelligent contract

Publications (2)

Publication Number Publication Date
CN111797160A CN111797160A (en) 2020-10-20
CN111797160B true CN111797160B (en) 2023-05-02

Family

ID=72804450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010549945.4A Active CN111797160B (en) 2020-06-16 2020-06-16 Method, system and electronic device for sharing intelligent contract

Country Status (1)

Country Link
CN (1) CN111797160B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112924921A (en) * 2021-01-21 2021-06-08 国网河北省电力有限公司信息通信分公司 Credible collection mechanism of smart electric meter quality data based on block chain

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769258A (en) * 2018-06-29 2018-11-06 上海点融信息科技有限责任公司 Method and apparatus for block chain network to be hosted in block chain application platform
CN109040029A (en) * 2018-07-13 2018-12-18 上海点融信息科技有限责任公司 The method and apparatus of affairs are executed in block chain
CN109194506A (en) * 2018-08-16 2019-01-11 北京京东尚科信息技术有限公司 Block chain network dispositions method, platform and computer storage medium
CN109981679A (en) * 2019-04-08 2019-07-05 上海点融信息科技有限责任公司 The method and apparatus of affairs are executed in block chain network
CN110163004A (en) * 2018-02-14 2019-08-23 华为技术有限公司 A kind of method, relevant device and system that block chain generates
CN110599181A (en) * 2019-09-26 2019-12-20 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and storage medium
CN110932854A (en) * 2019-12-09 2020-03-27 华北电力大学 Block chain key distribution system and method for Internet of things
CN111221568A (en) * 2020-01-10 2020-06-02 杭州趣链科技有限公司 Fabric chain code life cycle management system based on physical machine deployment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110163004A (en) * 2018-02-14 2019-08-23 华为技术有限公司 A kind of method, relevant device and system that block chain generates
CN108769258A (en) * 2018-06-29 2018-11-06 上海点融信息科技有限责任公司 Method and apparatus for block chain network to be hosted in block chain application platform
CN109040029A (en) * 2018-07-13 2018-12-18 上海点融信息科技有限责任公司 The method and apparatus of affairs are executed in block chain
CN109194506A (en) * 2018-08-16 2019-01-11 北京京东尚科信息技术有限公司 Block chain network dispositions method, platform and computer storage medium
CN109981679A (en) * 2019-04-08 2019-07-05 上海点融信息科技有限责任公司 The method and apparatus of affairs are executed in block chain network
CN110599181A (en) * 2019-09-26 2019-12-20 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and storage medium
CN110932854A (en) * 2019-12-09 2020-03-27 华北电力大学 Block chain key distribution system and method for Internet of things
CN111221568A (en) * 2020-01-10 2020-06-02 杭州趣链科技有限公司 Fabric chain code life cycle management system based on physical machine deployment

Also Published As

Publication number Publication date
CN111797160A (en) 2020-10-20

Similar Documents

Publication Publication Date Title
CN109582310B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN111931962B (en) Information display method and device and electronic equipment
CN111309375B (en) Method, device, medium and electronic equipment for generating remote procedure call toolkit
CN111797160B (en) Method, system and electronic device for sharing intelligent contract
US20240104671A1 (en) Method and apparatus for group management, electronic device, and storage medium
CN115022106B (en) Group information processing method, device, equipment and medium
CN111382039A (en) Method, device, electronic equipment and storage medium for reporting user behavior event
CN109669679B (en) Service detection and processing method and device and electronic equipment
CN114625479A (en) Cloud edge collaborative application management method in edge computing and corresponding device
CN113778566A (en) Native application calling method and device, electronic equipment and computer readable medium
CN113709171A (en) Method and device for cross-component state communication
CN116319322B (en) Power equipment node communication connection method, device, equipment and computer medium
CN111641692B (en) Session data processing method and device and electronic equipment
CN116820354B (en) Data storage method, data storage device and data storage system
CN110099122B (en) Method and apparatus for sending network request
CN116506452B (en) Multi-cloud data storage method, device, equipment and storage medium
CN110750242B (en) File deployment method, system, medium and electronic equipment
CN111796802B (en) Function package generation method and device and electronic equipment
WO2023116167A1 (en) Lifecycle event management method and apparatus, storage medium and electronic device
CN111381897B (en) Interface calling method and device, mobile terminal and storage medium
CN111381898B (en) Interface calling method and device, mobile terminal and storage medium
CN116126263A (en) Non-mirror image screen projection method, device, equipment and storage medium
CN115309410A (en) Application release method and device and electronic equipment
CN114564311A (en) Information processing method and device and electronic equipment
CN116192709A (en) Method, device, equipment and computer readable medium for testing communication between virtual machines

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