CN112199735A - Vertical e-commerce transaction platform based on block chain - Google Patents

Vertical e-commerce transaction platform based on block chain Download PDF

Info

Publication number
CN112199735A
CN112199735A CN202011022370.7A CN202011022370A CN112199735A CN 112199735 A CN112199735 A CN 112199735A CN 202011022370 A CN202011022370 A CN 202011022370A CN 112199735 A CN112199735 A CN 112199735A
Authority
CN
China
Prior art keywords
layer
module
block chain
vertical
business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011022370.7A
Other languages
Chinese (zh)
Other versions
CN112199735B (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.)
Nanjing Boya Blockchain Research Institute Co ltd
Boya Chain Beijing Technology Co ltd
Peking University
Original Assignee
Nanjing Boya Blockchain Research Institute Co ltd
Boya Chain Beijing Technology Co ltd
Peking University
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 Nanjing Boya Blockchain Research Institute Co ltd, Boya Chain Beijing Technology Co ltd, Peking University filed Critical Nanjing Boya Blockchain Research Institute Co ltd
Priority to CN202011022370.7A priority Critical patent/CN112199735B/en
Publication of CN112199735A publication Critical patent/CN112199735A/en
Application granted granted Critical
Publication of CN112199735B publication Critical patent/CN112199735B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or 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/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • 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/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]

Abstract

The invention provides a vertical e-commerce transaction platform based on a block chain, which comprises a data storage layer, an intelligent contract service layer, a business logic layer and an application layer, wherein the data storage layer is used for storing a plurality of data; the data storage layer comprises a block chain system, and the data storage layer is used for storing data of the vertical e-commerce transaction platform based on the block chain system; the intelligent contract service layer is used for creating an intelligent contract, storing the intelligent contract, operating the intelligent contract and butting the data storage layer and the service logic layer; the business logic layer comprises a business logic module and a workflow engine module, and the workflow engine module realizes the sequential operation of the workflow based on the business logic module; the application layer is a visual platform port facing the terminal user. The vertical E-commerce transaction platform based on the block chain standardizes service logic, realizes chain storage and automatic execution of processes such as transaction, money return and the like of the vertical E-commerce transaction platform, improves process management efficiency, and solves the problems of complex service process, multi-system span, low efficiency and high possibility of error.

Description

Vertical e-commerce transaction platform based on block chain
Technical Field
The invention relates to the technical field of network communication and data processing, in particular to a vertical e-commerce transaction platform based on a block chain.
Background
The blockchain technology is actually a distributed book technology implemented based on a P2P network, distributed computing, etc., and utilizes the principles of cryptography and consensus mechanisms to implement non-falsification of recorded information. The functions of non-falsification of historical transactions, ordered transaction time stamping, transaction traceability and the like can be realized by using a block chain technology. The method has wide application prospect in business scenes such as electronic commerce, internet finance, product traceability and the like.
An intelligent contract is a top-level application built on top of a blockchain. An intelligent contract is actually a piece of code written on a blockchain that may implement partial or complete self-execution when a preset condition is triggered. The intelligent contract language is fully graphically understandable, and technicians can realize complex business logic by using the intelligent contract. At present, intelligent contracts are supported in mainstream block chain platforms of Ethengfang, Hyperridge Fabric and the like.
At present, the specialization degree of each industry is higher and higher, the subdivision fields are more and more, the vertical electric commerce oriented to the specific subdivided product market is developed vigorously, more and more excellent vertical electric commerce platforms are developed, and the vertical electric commerce platforms are becoming new air ports. The vertical field has the advantages of concentration and profession, can provide consumer products which are more suitable for specific crowds, meet specific habits of users in a certain field, and can easily obtain user trust, thereby deepening the impression and public praise spread of products and forming brands and unique brand values.
The existing platforms of some vertical e-commerce are mainly based on the traditional method, and are still in business models of B2B or B2C essentially, the security of platform transaction and the responsibility after the breach are evaluated completely by manpower, the efficiency is low, vulnerabilities exist on the process easily, the responsibility of buyers and sellers is unclear, and disputes are easily caused.
For example, weathering steel is a professional steel material and a typical commodity suitable for vertical e-commerce, and the existing vertical e-commerce platform for weathering steel speciality has a certain scale, a large number of buyers and sellers, mixed fish and dragon, complex management and credit evaluation, high cost and easy error.
Disclosure of Invention
Based on this, it is necessary to provide a vertical e-commerce transaction platform based on a block chain, aiming at the technical problems that the service flow of the traditional vertical e-commerce platform is complex, low in efficiency and prone to errors, and across multiple systems.
The invention provides a vertical e-commerce transaction platform based on a block chain, which comprises a data storage layer, an intelligent contract service layer, a business logic layer and an application layer, wherein the data storage layer is used for storing a data file;
the data storage layer comprises a blockchain system, and the data storage layer is used for storing data of the vertical e-commerce transaction platform based on the blockchain system;
the intelligent contract service layer is used for creating an intelligent contract, storing the intelligent contract, operating the intelligent contract and butting the data storage layer and the business logic layer;
the business logic layer comprises a business logic module and a workflow engine module, and the workflow engine module realizes the sequential operation of the workflow based on the business logic module;
the application layer is a visual platform port facing to a terminal user.
In one embodiment, the data storage layer comprises a blockchain underlying platform, a blockchain network, a blockchain underlying architecture, and a terminal device;
the block chain bottom platform is used for realizing uplink storage of the vertical E-commerce transaction system data;
the block chain network is used for realizing point-to-point data transmission and providing a networked communication environment;
the block chain bottom layer structure is used for forming a block chain network;
the terminal device is used for supporting the block chain bottom platform, the block chain network and the block chain bottom framework.
In one embodiment, the vertical e-commerce trading platform is created by the following method:
setting an initial node of the intelligent contract as an administrator node and the other nodes as user nodes;
defining respective authority and functions of the administrator node and the user node;
the user nodes comprise buyer nodes and seller nodes, and the buyer nodes and the seller nodes carry out different operations through the intelligent contract and complete the transaction process through the intelligent contract.
In one embodiment, the blockchain bottom layer architecture adopts a HyperLegger Fabric architecture, and a data layer, a network layer, a consensus layer, an excitation layer, a contract layer and an application layer are sequentially arranged from the bottom layer to the top layer.
In one embodiment, the intelligent contract service layer adopts a chain code structure of HyperLegger Fabric 1.0.
In one embodiment, the business logic module comprises a process definition module, a process analysis module, a process execution module, a database module and a process management module;
the flow definition module is used for creating a user-defined service flow;
the flow analysis module is used for analyzing the business flow into specific business logic and flow tasks and generating corresponding flow codes;
the workflow engine module is used for delivering the process tasks to process processing personnel specified by the business logic;
the flow executing module is used for executing the flow task according to the service logic;
the database module is used for storing process data including a self-defined definition form, a process example and a process processing personnel list;
the process management module is used for managing process examples and starting or canceling the business processes, wherein the process examples are managed by sequencing, adding and deleting the process examples.
In one embodiment, the process execution module includes a judgment module, a cooperation management module and an information communication module;
the judging module is used for judging whether a plurality of process processing personnel process the same process task in the business process;
the cooperation management module is used for managing cooperation information among different process processing personnel;
the information communication module is used for sending the business process information to the corresponding process processing personnel in the business process processing process.
In one embodiment, the customized business process at least includes an order business process, a money return business process, a warehousing business process, a logistics business process and an enterprise information business process.
In one embodiment, the data processing method of the blockchain system is as follows:
receiving service flow data and broadcasting the data to the whole network;
after the business process is confirmed through an encryption algorithm and a consensus algorithm, a block is formed;
after the formed block is broadcasted to the whole network, whether the block is effective or not is judged through all nodes, integrity recording is carried out through a credit investigation recording chain, transaction positioning is carried out through a GPS positioning chain, and fund moving is recorded through a fund moving chain;
after the business process is confirmed by the consensus node, the work process is irreversibly executed under the drive of a workflow engine, all nodes add blocks containing the process task information to an original block chain, and the transaction is normally finished;
when a certain process task fails to be executed in the business process, the workflow engine is used for positioning the process task which fails to be executed and the process processing personnel of the process task which fails to be executed, and forming blocks by the information of the process task which fails to be executed and the information of the process processing personnel of the process task which fails to be executed and adding the blocks into a block chain.
The block chain-based vertical e-commerce transaction platform creatively upgrades the traditional vertical e-commerce platform system by using intelligent contract and workflow engine technology, standardizes business logic, realizes chain storage and automatic execution of processes such as transaction, money return and the like of the vertical e-commerce transaction platform, improves process management efficiency, and solves the problems of complex business process, multi-system crossing, low efficiency and easy error; and the method is combined with a block chain technology, so that the transaction flow is public, transparent and free of tampering, the responsibility of one party in the transaction flow after default can be traced, and a series of bottleneck problems such as trust crisis, supply chain operation, logistics lag, centralized platform management and the like in the electronic commerce development process are solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention and the technical solutions in the designed system architectures, the following briefly introduces the embodiments of the present invention and the system architectures and the drawings used in the technical solutions, which are described below, obviously, the drawings described below are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a block chain-based system architecture diagram of an embodiment of a vertical e-commerce transaction platform of the present invention;
FIG. 2 is a block chain-based hierarchical block chain architecture diagram of an embodiment of a vertical E-commerce transaction platform of the present invention;
FIG. 3 is a block chain link point deployment diagram of an embodiment of the block chain-based vertical e-commerce transaction platform of the present invention;
FIG. 4 is a flow chart of intelligent contract creation and execution for an order of a vertical e-commerce trading platform based on a block chain according to an embodiment of the present invention;
FIG. 5 is a block chain-based intelligent contract creation and execution flow diagram of an embodiment of a vertical e-commerce transaction platform according to the present invention;
FIG. 6 is a schematic diagram of an order customization service flow of an embodiment of a vertical e-commerce transaction platform based on a blockchain according to the present invention;
fig. 7 is a schematic diagram of a return custom service flow of an embodiment of the vertical e-commerce transaction platform based on the blockchain according to the present invention.
Detailed Description
It is to be understood that the following detailed description is exemplary and intended to provide an indicative description of the invention, and it is to be noted that all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
The system architecture and the prior art solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it should be noted that the described embodiments are only for explaining and illustrating the present invention, and not for all purposes. On the basis of the embodiments provided by the invention, all other embodiments obtained by a person with ordinary skill in the art without any creative effort are within the protection scope of the present application.
Referring to fig. 1, a vertical e-commerce transaction platform based on a block chain according to an embodiment of the present invention includes a data storage layer, an intelligent contract service layer, a business logic layer, and an application layer.
The data storage layer comprises a block chain system, and the data storage layer is used for storing data of the vertical e-commerce transaction system based on the block chain system;
the intelligent contract service layer is used for creating an intelligent contract, storing the intelligent contract, operating the intelligent contract and butting the data storage layer and the service logic layer;
the business logic layer comprises a business logic module and a workflow engine module, and the workflow engine module realizes the sequential operation of the workflow based on the business logic module;
the application layer is a visual platform port facing the terminal user.
According to the vertical e-commerce transaction platform based on the block chain, the traditional vertical e-commerce platform system is creatively upgraded by using intelligent contracts and workflow engine technologies, the business logic is normalized, the uplink evidence storage and automatic execution of the processes of e-commerce transaction, money return and the like of the vertical e-commerce transaction platform are realized, the process management efficiency is improved, and the problems of complex business process, multi-system crossing, low efficiency and high possibility of errors are solved; and the method is combined with a block chain technology, so that the transaction flow is public, transparent and free of tampering, the responsibility of one party in the transaction flow after default can be traced, and a series of bottleneck problems such as trust crisis, supply chain operation, logistics lag, centralized platform management and the like in the electronic commerce development process are solved.
The data storage layer in the block chain-based vertical e-commerce transaction platform comprises a block chain system, and the data storage layer is used for storing data of the vertical e-commerce transaction platform based on the block chain system.
The data storage layer is based on a block chain system, for example, the block chain system built by using a HyperLegger Fabric alliance chain is used for distributed data storage, point-to-point transmission, an encryption technology and a common identification mechanism of a packaging bottom layer and the like are realized, the related operation of data uplink and evidence storage is realized, and the purposes of non-falsification after transaction data uplink, permanent storage and traceability when disputes occur between two transaction parties are provided.
Preferably, the blockchain system of the data storage layer comprises a blockchain bottom platform, a blockchain network, a blockchain bottom architecture and a terminal device.
The block chain bottom platform is used for realizing uplink storage of the vertical E-commerce transaction system data;
the block chain network is used for realizing point-to-point data transmission and providing a networked communication environment;
the block chain bottom layer structure is used for forming a block chain network;
the terminal equipment is used for supporting the block chain bottom platform, the block chain network and the block chain bottom framework.
The block chain bottom platform of the block chain system adopts an open source block chain platform based on Hyperridge, the open source block chain platform of Hyperridge is a super financial book technical platform of Linux foundation fund open source, and is a block chain platform based on digital encryption, consensus algorithm and distributed storage, so that a block chain network of a union chain with powerful supervision can be established, and the related operation of data chaining and evidence storage is realized.
Preferably, the system hierarchy of the blockchain used in the present invention is as shown in fig. 2, and the system hierarchy of the blockchain is a network layer, a supervision layer, and a computation layer in sequence. The network layer adopts a HyperLegger Fabric-based architecture, and uses GMSSL as a password toolbox to provide encryption service. The supervisory layer is used for packaging a consensus algorithm, chain codes are adopted to support intelligent contract programming, data security is guaranteed through a contract-level isolation channel, interoperation cross-chain communication services are supported, and a supervised union chain is formed. The computing layer provides a key management function based on a trusted computing environment, adopts data encryption and access control to realize privacy priority, and provides full-period monitoring of data storage, circulation and use links.
Further preferably, the data storage layer of the present invention is deployed based on hyper-hedger Fabric alliance link nodes as shown in fig. 3, where the nodes include data nodes, consensus nodes, and service nodes. The data node is responsible for data access, the consensus node is responsible for realizing a consensus algorithm, endorsements for transactions and the like, and the service node provides services for specific end users in the vertical e-commerce transaction platform. In the node deployment diagram shown in fig. 3, a block chain service network is deployed with the weathering steel vertical e-commerce platform trading platform system as the center. In the field of weathering steel, specific end users include specific end user roles of dealers, gold service providers, recyclers, logistics providers, smelters, customers and the like.
As an optional implementation manner, the method for creating the vertical e-commerce transaction platform comprises the following steps:
setting an initial node of the intelligent contract as an administrator node and the other nodes as user nodes;
defining respective authority and functions of an administrator node and a user node;
the user nodes comprise buyer nodes and seller nodes, and the buyer nodes and the seller nodes carry out different operations through an intelligent contract and complete a transaction process through the intelligent contract.
In the step of defining the respective permissions and functions of the administrator node and the user node, by definition, only the administrator node has the permissions and functions of assigning the permissions to the user node, viewing the user information, and modifying the user information.
As an optional implementation manner, the bottom architecture of the blockchain adopts a hyper-hedger Fabric architecture, and a data layer, a network layer, a consensus layer, an excitation layer, a contract layer and an application layer are sequentially arranged from the bottom to the top.
The intelligent contract service layer in the vertical e-commerce trading platform based on the block chain is used for creating an intelligent contract, storing the intelligent contract, operating the intelligent contract and butting the data storage layer and the business logic layer.
The intelligent contract service layer opens a contract source code, abi byte codes and an intelligent contract address to the outside, and is used for creating an intelligent contract, storing the intelligent contract and operating the intelligent contract, in addition, the intelligent contract service layer is also used for butting a data storage layer and a business logic layer, and has the function of starting and starting, and the intelligent contract service layer provides an Application Programming Interface (API) of the intelligent contract upwards (the business logic layer), for example, the intelligent contract calls the API, the uplink access evidence API, the block chain data evidence obtaining API and the like, and realizes the calling and management of the intelligent contract. The intelligent contract service layer is connected with the HyperLegend Fabric alliance node downwards (a data storage layer) and is responsible for interaction of block chain computing node scheduling, intelligent contract execution scheduling, data uplink evidence storage, data evidence obtaining and the like.
Preferably, the intelligent contract service layer adopts a chain code structure of HyperLegger Fabric 1.0 to provide services such as packaging, installation, instantiation, upgrading and the like of the chain code.
Referring to fig. 4, a process of creating and executing a weathering steel order according to an embodiment of the present invention includes a predetermined stage, an order placing stage, and an execution stage.
(1) A predetermined stage: the buyer customer lifts a predetermined application, submits goods information, money amount and the like to form a pre-order form, lifts a financial service application to a financial institution in a cooperative relationship with the vertical E-commerce platform according to the pre-order form, reserves recovery service to a weathering steel recycling merchant, and issues a confirmation letter after the financial merchant and the recycling merchant confirm to enter the next stage.
(2) The following single stage: the financial confirmation letter and the recovery confirmation letter are returned to the buyer client to confirm that the pre-order is feasible, the client formally places an order and formally orders, the order contains qualification confirmation information in the service confirmation letter and the recovery confirmation letter, an intelligent contract instance of an order placing process is generated through an intelligent contract instance generator, and the next stage is entered.
(3) An execution stage: and automatically executing the transaction on the blockchain network according to the next-stage intelligent contract instance generated in the previous stage, and chaining the chain for evidence storage in the whole transaction process.
Referring to fig. 5, in order to illustrate the weathering steel reimbursement process according to an embodiment of the present invention, the creation and execution process of the intelligent contract includes an application stage, a verification stage, and an execution stage.
(1) Application stage: and the seller client initiates a money return application after the buyer client receives the goods, submits a money return application form to the vertical e-commerce platform, applies for confirmation, sends the money return application form to the buyer client to compare the goods money information, stores an objection if the vertical e-commerce platform or the buyer client verifies that the information is wrong, reports the information to an upper layer, and terminates the contract. The two parties confirm that no error exists, and then the next stage is entered.
(2) And (3) a verification stage: the order verification confirmation of the buyer client and the repayment application confirmation of the E-commerce platform are submitted to the financial institution, the financial institution verifies the information of the two parties and checks the information to generate a repayment list containing the information of the buyer, the seller and the payable items, an intelligent contract instance of the repayment process is generated through an intelligent contract instance generator, and the next stage is entered.
(3) An execution stage: and automatically executing on a block chain network according to the intelligent contract of the money return process generated at the last stage, and automatically issuing the payment to the account of the seller when the money return deadline is over.
The intelligent contract adopts chain codes provided by Hyperhedger Fabric 1.0, and uses Go language or Java language to compile the intelligent contract, and the intelligent contract implementation process is as follows: the business processes of ordering and the like of the buyer at the client side of the vertical e-commerce platform and the business processes of applying for the refund and the like initiated by the seller at the client side of the vertical e-commerce platform are completed by intelligent contracts deployed in the super ledger, wherein the intelligent contracts deployed in the super ledger are a seller access control contract, a buyer access control contract and an information verification contract respectively. For example, a seller access control contract, a buyer access control contract, an information verification contract may be implemented by the following functions, respectively:
the seller accesses a control contract, and the seller manages the goods information on the platform and the registered user information through the contract, and the contract comprises the following functions:
UserRegister () function: the system is used for user registration and qualification evaluation, a seller inputs a user name, a user ID and qualification evaluation information in a merchant registration platform, and the system registers and registers seller information through the function and stores the information in a block chain.
AddResource () function: after registration and qualification evaluation, when the seller issues the goods information, the function is called, information such as the category ID, the quantity and the price of the goods to be issued is input, the goods resources are added, and the goods information is written into the block chain.
DeleteResource () function: when the buyer places an order, the goods information needs to be updated in time, the seller receives the information sent by the intelligent contract of the order, the function is called, the ID of the goods to be changed and the quantity of the goods are input, the updating of the stock information is completed, and if the quantity of the resources is equal to 0, the goods are cancelled. The buyer will then not be able to search for information for the good in the blockchain.
applyFund () function: after the seller delivers the goods, the function is called after a certain period of time, order number information is input, and a refund application is initiated.
A buyer accesses a control contract through which a user registers user information, views goods information, submits an order, etc., the contract comprising the functions of:
UserRegister () function: the buyer inputs the user name and user ID in the merchant registration platform, and the system registers and registers the buyer information through the function and stores the information in the block chain.
ShowResource () function: and searching the current goods list by the function according to the resource ID input by the user, and returning the latest goods information corresponding to the input resource ID.
PlaceOrder () function: the buyer initiates an order application, inputs the ID and the quantity of the goods, locks the goods with the corresponding quantity of the type after submission, calculates the amount of the order and transfers the order to the subsequent flow.
PayMoney () function: and (4) inputting an order ID, paying the payment of the goods by the buyer through an interface of an internet bank or other third-party payment platforms such as a payment bank, a payment account and the like, successfully paying the order, and transferring the state of the order to an execution stage.
The information verification contract is used for verifying whether the information of the return payment application of the seller is consistent with the information of the order issued by the buyer, mainly comprises the information of the goods payment, and comprises the following functions:
and a MatchPolicy () function, after the transaction deadline is up and the seller sends a refund application, the E-commerce platform calls a function to check information, including the ID, the quantity, the total payment and the like of the goods, if the check is problematic, a pool value false is returned, and if the seller and the buyer submit order information in a consistent manner, a pool value true is returned.
Return Fund () function: after the transaction information of the seller and the buyer is checked to be correct, the E-commerce platform approves the money return process, the account information of the seller and the money amount information of the goods are sent to a financial institution of a partner, such as a bank, the money return period is ended, the bank types in the money of the goods according to the corresponding account and the money information of the goods, and the money return process is ended.
Calling a certificate storage interface provided by a block chain system based on an intelligent contract to realize service data uplink, wherein the service system needs to actively inquire the state to confirm whether the certificate storage is successful, and if the certificate storage is failed, the service system needs to resubmit an uplink request. For example, the status code 0 is used to indicate success, the status code-1 indicates failure, the transaction is illegal, the hash parameter is incorrect, and the system request is verified to fail at 4000.
The business logic layer in the block chain-based vertical e-commerce transaction platform comprises a business logic module and a workflow engine module, and the workflow engine module realizes the sequential operation of workflows based on the business logic module. In particular, the workflow engine may employ an Activiti7 workflow engine.
As an optional implementation manner, the business logic module comprises a process definition module, a process analysis module, a process execution module, a database module and a process management module;
the flow definition module is used for creating a user-defined service flow;
the flow analysis module is used for analyzing the business flow into specific business logic and flow tasks and generating corresponding flow codes;
the workflow engine module is used for delivering the process tasks to process treatment personnel appointed by the business logic; if the order is submitted to the seller, the money return sheet is submitted to the buyer and the seller to mutually check the peer.
The flow executing module is used for executing flow tasks according to the service logic;
the database module is used for storing process data including a self-defined definition form, a process example and a process processing personnel list;
the process management module is used for managing process examples and starting the business processes or canceling the business processes, wherein the process examples are managed by sequencing, adding and deleting the process examples.
In the embodiment of the invention, the workflow engine module is arranged on a business logic layer, forms various business logics based on the workflow engine module and the flow module, automatically generates executable codes and relieves the pressure of programmers. Furthermore, through the workflow engine module, the business process management is convenient to realize, each business process of the transaction system is defined and established in a standard mode, the automatic execution of the business processes is driven, and the connection and interaction of the transaction processes among different users are realized.
Furthermore, the business logic layer of the invention is provided with a database module which is used for storing the process data comprising the self-defined form, the process example and the process processing personnel list to form a centralized database which is combined with the storage mode of the distributed database of the data storage layer, the centralized database mainly stores the process data of the working state of the system, the workflow engine and the like, and the distributed database mainly stores the transaction data, so that the safety and the privacy of the transaction system data can be better ensured by combining the two.
As an optional implementation manner, the flow execution module includes a judgment module, a coordination management module, and an information communication module. The judging module is used for judging whether a plurality of process processing personnel process the same process task in the business process; the cooperative management module is used for managing cooperative information among different process processing personnel; the information communication module is used for sending the business process information to the corresponding process processing personnel in the business process processing process.
In the vertical e-commerce transaction platform of the block chain, the user-defined business flow established by the flow definition module in the business logic layer can be a user-defined business flow such as an order flow, a money return flow, a warehousing flow, a logistics flow, an enterprise information flow and the like.
Specifically, the order flow may include flow tasks such as order submission and order tracking; the remittance process comprises the process tasks of applying for the refund, checking the loan and the like; the warehousing process can comprise process tasks such as inventory information, a delivery interface and the like; the logistics process can comprise process tasks such as dispatching and transportation planning, logistics tracking and the like; the enterprise information flow may include flow tasks such as plan management, financial interfaces, and the like.
The application layer in the vertical e-commerce transaction platform based on the block chain is a visual platform port facing to a terminal user.
Preferably, the user layer mainly comprises a platform port of each functional service logic of the trading system, the platform port is a web client or other types of client interfaces, and a user operates on the visual trading platform through the platform port to conduct online trading of commodities.
All operation records of a user in online transaction at the application layer are permanently stored in a blockchain system of the data storage layer through the business logic layer and the intelligent contract service layer based on the workflow engine.
In a specific embodiment of the invention, the back end of the vertical e-commerce platform is based on a spring boot framework, and the front end is based on an vue framework, and a visual application platform port of a web end is built. The primary user identities of the platform ports may be classified as system administrators, sellers, buyers, and the like.
The vertical E-commerce transaction platform based on the block chain is used for providing an E-commerce transaction platform for sellers, buyers and platform managers. The vertical e-commerce transaction platform is built on a block chain infrastructure, a buyer can realize online transaction through a client of the vertical e-commerce transaction platform, transaction information is uploaded to a block chain for storage, and a seller can monitor a transaction money return process through the client of the vertical e-commerce transaction platform; meanwhile, the vertical e-commerce transaction platform disclosed by the invention realizes automatic execution and chaining of transaction flows such as ordering, money return, logistics and the like based on an intelligent contract and a workflow engine, so that the vertical e-commerce transaction platform has the security performance of tamper resistance.
In the above embodiment of the block chain-based vertical e-commerce transaction platform of the present invention, the data storage process is as follows:
the terminal user operates through a platform client, and the generated business process information such as order placement, money return and the like is stored in a centralized database-database module in a business logic layer; meanwhile, the business logic layer automatically executes the transaction business process through the workflow engine and performs the transaction through the block chain system; order information, money return information, loan information and the like generated in the transaction process are stored in a data storage layer-block chain system, and the uplink storage is adopted to reserve the property of being not tamperable and traceability.
In one embodiment, the operation process of the vertical e-commerce trading platform based on the blockchain is as follows:
the data processing method of the block chain system comprises the following steps:
receiving service flow data and broadcasting the data to the whole network;
after the business process is confirmed through an encryption algorithm and a consensus algorithm, a block is formed;
after the formed block is broadcasted to the whole network, whether the block is effective or not is judged through all nodes, integrity recording is carried out through a credit investigation recording chain, transaction positioning is carried out through a GPS positioning chain, and the fund trend is recorded through a fund trend chain;
after the business process is confirmed by the consensus node, the consensus process is irreversibly executed under the drive of a workflow engine, all nodes add blocks containing the process task information to the original block chain, and the transaction is normally finished;
when a certain process task fails to be executed in a business process, the workflow engine is used for positioning the process task which fails to be executed and the process processing personnel of the process task which fails to be executed, and forming blocks by the information of the process task which fails to be executed and the information of the process processing personnel of the process task which fails to be executed and adding the blocks into a block chain.
Please refer to fig. 6 and 7, which are schematic flow charts of weathering steel transaction orders and remittance business in the block chain-based vertical e-commerce transaction platform according to an embodiment of the present invention;
the process processing personnel creates a self-defined business process through the process definition module, for example, an administrator creates a corresponding bpmn business process file according to the business process in an IDE (integrated development environment) by utilizing Activiti, and then utilizes an editor plug-in to edit the process id, set the process name, set a process responsible person and the like to finish the process editing work. The flow analysis module automatically generates a code template, after a perfect business flow file is formed, a corresponding configuration file is modified to be connected with a traditional database, such as Mysql, a plurality of corresponding items are analyzed and generated in the database, relevant information such as business, flow, personnel management and the like is stored, and SQL language can be used for conventional operations such as adding, deleting, modifying, checking and the like.
The intelligent contracts are generated according to the specifications of the business processes, different intelligent contracts are called in different states of the workflow, the intelligent contracts deployed in the block chain are executed according to the needs of the business processes, the current state is promoted to be updated in one or more states of the corresponding workflow, and the sequential execution of the workflow is realized.
In this embodiment, the workflow engine adopts an activti 7 workflow engine, and can perform service development of process management in a java environment, where the specific process is as follows:
(1) and (4) a project principal establishes a flow, sets specific rules of order trading according to the business flow by using a workflow engine, forms a complete bpmn business flow file, and issues an intelligent contract trading flow instance.
(2) Organizations involved in the process, such as sellers, buyers, banks and other financial institutions, complete respective parts in sequence according to the process sequence and rule constraints, and promote the transaction process to be advanced.
(3) And after all the participants finish respective parts according to the flow set by the workflow engine, the transaction is smoothly finished, and all the information of the process is written into the block chain network to store the data. If a problem occurs in a certain process or the process still fails to pass within a set time limit, the problem can be located through the block chain network and reported to an organization administrator or a system administrator for processing.
In the vertical e-commerce transaction platform based on the block chain, the transaction process of the weathering steel on the vertical e-commerce transaction platform is described in detail. The weather-resistant steel is an important industrial building material and is a typical transaction commodity suitable for vertical e-commerce, sellers and buyers of the weather-resistant steel have higher professional requirements, and the vertical e-commerce platform of the embodiment realizes intelligent contract service, negotiable payment service and transaction deposit service of two main transaction processes of ordering and chargeback of steel, and the affirmation and highly credible interactive sharing service of business data of all relevant parties. The business logic layer adopts a workflow engine to directly generate executable codes based on the flow chart, the pressure of programmers is reduced, the execution of specific flows is standardized, the conversion of each state of the workflow engine can also call different intelligent contracts to complete data chain and storage certificate modification and other operations, the execution sequence of the intelligent contracts is further standardized, and the intelligent contracts are guaranteed to be executed in a correct sequence.
In other embodiments, different business processes can be defined according to other commodities suitable for the vertical e-commerce transaction platform, and intelligent contracts can be correspondingly created to adapt to transaction requirements of different commodities.
The foregoing embodiments disclosed are illustrative of the various embodiments disclosed, and modifications and extensions of the above described embodiments to other electronic commerce platforms will be apparent to those skilled in the art in order to enable or use the present invention, and the general principles defined in the present invention may be applied in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not intended to be limited to the embodiments shown above but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A vertical E-commerce transaction platform based on a block chain is characterized by comprising a data storage layer, an intelligent contract service layer, a business logic layer and an application layer;
the data storage layer comprises a blockchain system, and the data storage layer is used for storing data of the vertical e-commerce transaction platform based on the blockchain system;
the intelligent contract service layer is used for creating an intelligent contract, storing the intelligent contract, operating the intelligent contract and butting the data storage layer and the business logic layer;
the business logic layer comprises a business logic module and a workflow engine module, and the workflow engine module realizes the sequential operation of the workflow based on the business logic module;
the application layer is a visual platform port facing to a terminal user.
2. The blockchain-based vertical e-commerce transaction platform of claim 1, wherein the data storage layer comprises a blockchain underlying platform, a blockchain network, a blockchain underlying architecture, and a terminal device;
the block chain bottom platform is used for realizing uplink storage of the vertical E-commerce transaction system data;
the block chain network is used for realizing point-to-point data transmission and providing a networked communication environment;
the block chain bottom layer structure is used for forming a block chain network;
the terminal device is used for supporting the block chain bottom platform, the block chain network and the block chain bottom framework.
3. The vertical e-commerce transaction platform based on the blockchain of claim 2, wherein the vertical e-commerce transaction platform is created by the following method:
setting an initial node of the intelligent contract as an administrator node and the other nodes as user nodes;
defining respective authority and functions of the administrator node and the user node;
the user nodes comprise buyer nodes and seller nodes, and the buyer nodes and the seller nodes carry out different operations through the intelligent contract and complete the transaction process through the intelligent contract.
4. The vertical e-commerce transaction platform based on the blockchain of claim 1, wherein a blockchain bottom layer architecture adopts a HyperLegendr Fabric architecture, and a data layer, a network layer, a consensus layer, an incentive layer, a contract layer and an application layer are sequentially arranged from the bottom layer to the top layer.
5. The vertical e-commerce transaction platform based on the block chain of claim 1, wherein the intelligent contract service layer adopts a chain code structure of Hyperledger Fabric 1.0.
6. The vertical e-commerce transaction platform based on the block chain of claim 1, wherein the business logic module comprises a process definition module, a process analysis module, a process execution module, a database module and a process management module;
the flow definition module is used for creating a user-defined service flow;
the flow analysis module is used for analyzing the business flow into specific business logic and flow tasks and generating corresponding flow codes;
the workflow engine module is used for delivering the process tasks to process processing personnel specified by the business logic;
the flow executing module is used for executing the flow task according to the service logic;
the database module is used for storing flow data including a user-defined form, a flow example and a flow processing personnel list;
the process management module is used for managing process examples and starting or canceling the business processes, wherein the process examples are managed by sequencing, adding and deleting the process examples.
7. The vertical e-commerce transaction platform based on the blockchain of claim 5, wherein the process execution module comprises a judgment module, a cooperative management module and an information communication module;
the judging module is used for judging whether a plurality of process processing personnel process the same process task in the business process;
the cooperation management module is used for managing cooperation information among different process processing personnel;
the information communication module is used for sending the business process information to the corresponding process processing personnel in the business process processing process.
8. The vertical e-commerce transaction platform based on the blockchain of claim 1, wherein the custom business process at least comprises an order business process, a money return business process, a warehousing business process, a logistics business process and an enterprise information business process.
9. The vertical e-commerce transaction platform based on the blockchain of claim 1, wherein the data processing method of the blockchain system is as follows:
receiving service flow data and broadcasting the data to the whole network;
after the business process is confirmed through an encryption algorithm and a consensus algorithm, a block is formed;
after the formed block is broadcasted to the whole network, whether the block is effective or not is judged through all nodes, integrity recording is carried out through a credit investigation recording chain, transaction positioning is carried out through a GPS positioning chain, and fund moving is recorded through a fund moving chain;
after the business process is confirmed by the consensus node, the work process is irreversibly executed under the drive of a workflow engine, all nodes add blocks containing the process task information to an original block chain, and the transaction is normally finished;
when a certain process task fails to be executed in the business process, the workflow engine is used for positioning the process task which fails to be executed and the process processing personnel of the process task which fails to be executed, and forming blocks by the information of the process task which fails to be executed and the information of the process processing personnel of the process task which fails to be executed and adding the blocks into a block chain.
CN202011022370.7A 2020-09-25 2020-09-25 Vertical E-commerce transaction platform based on block chain Active CN112199735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011022370.7A CN112199735B (en) 2020-09-25 2020-09-25 Vertical E-commerce transaction platform based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011022370.7A CN112199735B (en) 2020-09-25 2020-09-25 Vertical E-commerce transaction platform based on block chain

Publications (2)

Publication Number Publication Date
CN112199735A true CN112199735A (en) 2021-01-08
CN112199735B CN112199735B (en) 2024-04-26

Family

ID=74007185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011022370.7A Active CN112199735B (en) 2020-09-25 2020-09-25 Vertical E-commerce transaction platform based on block chain

Country Status (1)

Country Link
CN (1) CN112199735B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112784304A (en) * 2021-01-28 2021-05-11 广东广宇科技发展有限公司 Workflow engine system based on public link platform and implementation method thereof
CN112925510A (en) * 2021-03-05 2021-06-08 安徽家家猫科技有限责任公司 Order cross-system cooperative positioning method based on alliance chain intelligent contract
CN113031968A (en) * 2021-01-19 2021-06-25 杭州电子科技大学 Block chain flow execution system driven by layout chart and using method thereof
CN113312035A (en) * 2021-05-17 2021-08-27 南京大学 Hyperridge Fabric-oriented intelligent contract development plug-in
CN114445010A (en) * 2022-01-26 2022-05-06 电子科技大学 Multi-type intermodal transport system and method based on block chain
CN116308686A (en) * 2023-05-19 2023-06-23 北京未来链技术有限公司 Electronic commerce platform for meta-universe decentralization based on blockchain

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109615096A (en) * 2018-12-20 2019-04-12 北京比新科技有限公司 A kind of Nonexpendable Item source tracing method based on block chain
WO2019075186A1 (en) * 2017-10-11 2019-04-18 The Solar Generation Company Llc Vertical global energy online trading platform
CN109743406A (en) * 2019-02-26 2019-05-10 北京工业大学 A kind of Internet of Things trust data service model based on block chain
CN110058950A (en) * 2019-04-17 2019-07-26 上海沄界信息科技有限公司 Distributed cloud computing method and equipment based on serverless backup framework
US20190258807A1 (en) * 2017-09-26 2019-08-22 Mcs2, Llc Automated adjusting of devices
CN110162556A (en) * 2018-02-11 2019-08-23 陕西爱尚物联科技有限公司 A kind of effective method for playing data value
CN110288307A (en) * 2019-05-13 2019-09-27 西安电子科技大学 Intelligent contract co-development system and data processing method based on Fabric block chain
US20200118068A1 (en) * 2018-10-10 2020-04-16 QuestaWeb, Inc. Hierarchical Blockchain Architecture for Global Trade Management
CN111027936A (en) * 2019-12-10 2020-04-17 杭州趣链科技有限公司 Workflow realization method, equipment and medium based on intelligent contract in alliance network
CN111274202A (en) * 2020-01-15 2020-06-12 深圳市中农网有限公司 Electronic contract generating method and device, computer equipment and storage medium
CN113065926A (en) * 2021-04-13 2021-07-02 湖北漫迪科技有限公司 Vertical e-commerce transaction platform based on block chain

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190258807A1 (en) * 2017-09-26 2019-08-22 Mcs2, Llc Automated adjusting of devices
WO2019075186A1 (en) * 2017-10-11 2019-04-18 The Solar Generation Company Llc Vertical global energy online trading platform
CN110162556A (en) * 2018-02-11 2019-08-23 陕西爱尚物联科技有限公司 A kind of effective method for playing data value
US20200118068A1 (en) * 2018-10-10 2020-04-16 QuestaWeb, Inc. Hierarchical Blockchain Architecture for Global Trade Management
CN109615096A (en) * 2018-12-20 2019-04-12 北京比新科技有限公司 A kind of Nonexpendable Item source tracing method based on block chain
CN109743406A (en) * 2019-02-26 2019-05-10 北京工业大学 A kind of Internet of Things trust data service model based on block chain
CN110058950A (en) * 2019-04-17 2019-07-26 上海沄界信息科技有限公司 Distributed cloud computing method and equipment based on serverless backup framework
CN110288307A (en) * 2019-05-13 2019-09-27 西安电子科技大学 Intelligent contract co-development system and data processing method based on Fabric block chain
CN111027936A (en) * 2019-12-10 2020-04-17 杭州趣链科技有限公司 Workflow realization method, equipment and medium based on intelligent contract in alliance network
CN111274202A (en) * 2020-01-15 2020-06-12 深圳市中农网有限公司 Electronic contract generating method and device, computer equipment and storage medium
CN113065926A (en) * 2021-04-13 2021-07-02 湖北漫迪科技有限公司 Vertical e-commerce transaction platform based on block chain

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
MUHAMMAD IMRAN SARWAR等: "Blockchain - From Cryptocurrency to Vertical Industries - A Deep Shift", 《2019 IEEE INTERNATIONAL CONFERENCE ON SIGNAL PROCESSING, COMMUNICATIONS AND COMPUTING (ICSPCC)》, 16 January 2020 (2020-01-16), pages 1 - 4 *
张家硕等: "区块链隐私保护技术综述", 《保密科学技术》, no. 01, 31 January 2020 (2020-01-31), pages 26 - 29 *
曹彤: "决战区块链垂直产业化", 《中国银行业》, no. 05, 15 May 2018 (2018-05-15), pages 74 - 76 *
李嶒等: "基于Petri网的区块链应用系统业务流程模型研究", 《计算机应用与软件》, vol. 37, no. 09, 10 September 2020 (2020-09-10), pages 8 - 15 *
纵横: "2020新互联网公司TOP300", 《互联网周刊》, no. 21, 30 November 2020 (2020-11-30), pages 30 - 38 *
魏成龙等: "基于区块链技术的金融服务创新", 《金融科技时代》, no. 04, 10 April 2019 (2019-04-10), pages 13 - 19 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113031968A (en) * 2021-01-19 2021-06-25 杭州电子科技大学 Block chain flow execution system driven by layout chart and using method thereof
CN113031968B (en) * 2021-01-19 2022-06-14 杭州电子科技大学 Block chain flow execution system driven by layout chart and using method thereof
CN112784304A (en) * 2021-01-28 2021-05-11 广东广宇科技发展有限公司 Workflow engine system based on public link platform and implementation method thereof
CN112925510A (en) * 2021-03-05 2021-06-08 安徽家家猫科技有限责任公司 Order cross-system cooperative positioning method based on alliance chain intelligent contract
CN113312035A (en) * 2021-05-17 2021-08-27 南京大学 Hyperridge Fabric-oriented intelligent contract development plug-in
CN113312035B (en) * 2021-05-17 2023-06-06 南京大学 Hyperledger Fabric-oriented intelligent contract development plug-in implementation method
CN114445010A (en) * 2022-01-26 2022-05-06 电子科技大学 Multi-type intermodal transport system and method based on block chain
CN114445010B (en) * 2022-01-26 2023-05-23 电子科技大学 Block chain-based multi-mode intermodal system and method
CN116308686A (en) * 2023-05-19 2023-06-23 北京未来链技术有限公司 Electronic commerce platform for meta-universe decentralization based on blockchain
CN116308686B (en) * 2023-05-19 2024-02-13 北京未来链技术有限公司 Electronic commerce platform for meta-universe decentralization based on blockchain

Also Published As

Publication number Publication date
CN112199735B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
Li et al. Blockchain-enabled workflow operating system for logistics resources sharing in E-commerce logistics real estate service
CN112199735B (en) Vertical E-commerce transaction platform based on block chain
Omar et al. Enhancing vendor managed inventory supply chain operations using blockchain smart contracts
Yang et al. Interoperation support for electronic business
US8140367B2 (en) Open marketplace for distributed service arbitrage with integrated risk management
JP5117754B2 (en) Business process variant of software model
US8380553B2 (en) Architectural design for plan-driven procurement application software
CN110443701A (en) The logical card management method of one kind, supply chain financial system and electronic equipment
CN111161017A (en) Cloud marketing system and method based on mobile terminal and block chain
US20060294235A1 (en) Management and data handling system and method
US20030036994A1 (en) Automated mortgage lender processing system
CN110458700A (en) The logical card generation method of one kind, supply chain financial system and electronic equipment
US20090089194A1 (en) Method and Apparatus for Performing Financial Transactions
US8401908B2 (en) Architectural design for make-to-specification application software
JP2010282642A (en) Custom strategy specification in hosted electronic transaction service system
US20050119926A1 (en) Method and system for managing multi-national integrated trade and logistics and processes for efficient, timely, and compliant movement of goods across international borders
CN110288476A (en) Method of commerce and block trade platform based on block trade platform
CN111899072A (en) Block chain based product sale method and system
CN112633970A (en) Intelligent purchasing platform
CN115605893A (en) System, apparatus and method for tracking certified clean energy using blockchains
Papazoglou et al. Web services technology in support of business transactions
Choudhari et al. Sub contractor life cycle management in enterprise system using blockchain technology
Huang et al. Informatization design of raw material purchase and payment for feed processing enterprises under ERP system environment
KR20170014338A (en) Erp system having a structure of modularized frame
KR20080106997A (en) Real Estate Development and Management System and Real Estate Development and Management Method

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