A kind of enterprise's equity online trading platform based on block chain technology
Technical field
The invention belongs to block chain technical fields, and in particular to a kind of enterprise's equity online trading based on block chain technology
Platform.
Background technique
Block chain technology, abbreviation BT (Blockchain technology), is also referred to as distributed account book technology, is
A kind of internet database technology, its main feature is that it is decentralization, open and clear, allow everyone to each may participate in data-base recording.It is narrow
For justice, block chain is a kind of a kind of chained record for being sequentially in time combined into data block in such a way that sequence is connected
Structure, and the distributed account book that can not be distorted He can not forge guaranteed in a manner of cryptography.Broadly, block chain technology is
It is verified using block linked data structure and knows together algorithm with storing data, using distributed node to generate and more new data, benefit
Guarantee the safety of data transmission and access with the mode of cryptography, compiled using the intelligent contract being made of automatized script code
One kind of journey and operation data completely new distributed basis framework and calculation.Network common recognition is the important set of block catenary system
At part, the design for mechanism of knowing together is directly related to the performance and safety of block catenary system, by the block chain of approval common recognition mechanism
The network that node is constituted is network of knowing together.
The equity investment of China is fast-developing, merges with scientific and technical innovation closely, and under the lasting standard guidance of government,
Equity investment industry has vast potential for future development.Although Chinese equity investment industry is in booming phase, this biography
The share exchange mode of system exits difficulty there are still mobility is lacked, and data are updated not in time, easily distorted, and are easily revealed, and management becomes
The problems such as more process is many and diverse.It is main reason is that lack the opaque of flexible mechanism of exchange and technological means and information
And bring transaction is insincere.With the rapid development of internet, block chain technology has all started a number of fields in all trades and professions
Word storm, the Distributed Storage having, decentralization, can not distort, can be traced, trusted the features such as so that the skill
Art receives the extensive attention of every profession and trade.
Summary of the invention
It is easily tampered for the administration inconvenience and transaction data caused by during traditional forms of enterprises's share exchange
Problem, it is an object of that present invention to provide a kind of enterprise's equity online trading platform based on block chain technology.
The technical scheme adopted by the invention is as follows:
A kind of enterprise's equity online trading platform based on block chain technology, including enterprise's equity purchase module, enterprise's stock
Weigh shift module and Trading Authorization approval module;
Enterprise's equity buys module, buys interactive interface for providing equity to registration user terminal, then to
Equity unique identification and equity quantity purchase sequentially input in the equity purchase interactive interface and purchase object are handed over
Easily verification, and after transaction verifies successfully, it generates enterprise's equity and buys information, finally by enterprise's equity purchase information write-in
Into share exchange database, wherein enterprise's equity purchase information includes to sell the unique identification of account, purchase account
Unique identification, the equity unique identification of purchase object and equity quantity purchase, it is super that the share exchange database is located at block chain
In the block chain of grade node;
Enterprise's equity shift module, for registration user terminal provide equity shift interactive interface, then to
The equity unique identification and stock of the unique identification for being transferred to account, transfer object that are sequentially input in equity transfer transactions interface
Power transfer quantity carries out transaction verification, and after transaction verifies successfully, enterprise's equity transinformation is generated, finally by the enterprise
Equity transinformation is written in the share exchange database, wherein enterprise's equity transinformation includes to produce account
Unique identification, be transferred to account unique identification, the equity unique identification of transfer object and equity transfer quantity;
The Trading Authorization approval module, for providing share exchange authorization examination & approval interactive interface to supervision side's terminal and needing
Enterprise's share exchange information of examination & approval is authorized, is then examined according to what is inputted in share exchange authorization examination & approval interactive interface
Batch processing is as a result, mark the transaction validity of corresponding enterprise's share exchange information, finally by the examination & approval processing result and label
As a result it is written in the share exchange database, wherein enterprise's share exchange information includes to come from enterprise's equity
The enterprise's equity purchase information and/or enterprise's equity transinformation from enterprise's equity shift module for buying module.
Optimization, further include enterprise's equity enquiry module;Enterprise's equity enquiry module is used for registration user terminal
Equity is provided and inquires interactive interface, then according to the inquiry request inputted in equity inquiry interactive interface, from the stock
It is inquired in power transaction data base and feeds back corresponding query result, wherein the query result includes commercially available enterprise's equity letter
Breath, has bought enterprise's equity information and/or enterprise's equity historical transactional information at transferable enterprise's equity information.
Further specifically, commercially available enterprise's equity information include the first query object equity unique identification, can
Quantity purchase, current share prices and/or the enterprise of owned enterprise essential information;
Transferable enterprise's equity information includes the equity unique identification of the second query object, transferable quantity, buys
Share price, current share prices and/or the enterprise of owned enterprise essential information;
It is described bought enterprise's equity information include third query object equity unique identification, quantity purchase, buy
Share price, current share prices and/or the enterprise of owned enterprise essential information;
Enterprise's equity historical transactional information include the equity unique identification of the 4th query object, historical trading quantity,
Enterprise's essential information of historical trading share price, historical trading time and/or owned enterprise.
Optimization, it is described that equity sequentially input in equity purchase interactive interface and purchase object is uniquely marked
Know the mode for carrying out transaction verification with equity quantity purchase, includes the following steps:
S101. the equity unique identification for verifying the purchase object whether there is in the share exchange database, if
In the presence of then finding the current of the corresponding purchase object in the share exchange database can purchase quantity, and described
It is shown in equity purchase interactive interface, otherwise shows input error in equity purchase interactive interface;
Whether the equity quantity purchase for S102. verifying the purchase object is not more than the currently commercially available quantity, if not
It is greater than, then confirms that transaction verifies successfully, and shown in equity purchase interactive interface, is otherwise bought in the equity
Input error is shown in interactive interface.
Optimization, it is described to the unique identification for being transferred to account sequentially input in equity transfer transactions interface, turn
The equity unique identification and equity transfer quantity of moving object carry out the mode of transaction verification, include the following steps:
S201. the unique identification that account is transferred to described in verification whether there is in the share exchange database, and if it exists,
S202 is thened follow the steps, otherwise shows input error in equity transfer interactive interface;
S202. the equity unique identification for verifying the transfer object whether there is in the share exchange database, if
In the presence of then find corresponding login account and the transfer object in the share exchange database has currently bought number
Amount, and shown in equity transfer interactive interface, it otherwise shows and inputs out in equity transfer interactive interface
It is wrong;
Whether the equity quantity purchase for S203. verifying the transfer object is not more than the current quantity purchase, if not
It is greater than, then confirms that transaction verifies successfully, and shown in equity transfer interactive interface, is otherwise shifted in the equity
Input error is shown in interactive interface.
Optimization, the examination & approval processing result that the basis inputs in share exchange authorization examination & approval interactive interface, mark
The mode for remembering the transaction validity of corresponding enterprise's share exchange information includes the following:
If examination & approval processing result instruction " refusal ", the transaction validity of corresponding enterprise's share exchange information is marked to be
Engineering noise, and buy in interactive interface or equity transfer interactive interface and show in the equity of correspondence enterprise's share exchange information
The examination & approval processing result;
If examination & approval processing result instruction " agreement ", the transaction validity of corresponding enterprise's share exchange information is marked to be
" effective ", and buy in interactive interface or equity transfer interactive interface and show in the equity of correspondence enterprise's share exchange information
The examination & approval processing result.
Optimization, if examination & approval processing result instruction " refusal ", also includes to refuse in the examination & approval processing result
Exhausted reason information.
Specifically, the equity unique identification is that equity code or equity are numbered.
The invention has the benefit that
(1) the invention provides a kind of distributed general ledger system record equity transaction data by block chain, and
The online trading platform of share exchange information is protected using its characteristic that can not be distorted, i.e., on the one hand passes through setting enterprise's equity
Buy module, enterprise's equity shift module and Trading Authorization approval module, can realize respectively equity purchase, equity transfer and
Transaction approval process, is on the other hand located at the block of block chain super node by the way that process of exchange related data to be written in real time
In share exchange database on chain, ensure that data can not tamper, safety, consistency and validity, alleviate biography
The data processing pressure of system enterprise's share exchange, and then the safety of enterprise's share exchange can be greatlyd improve, guarantee transaction
The legitimate rights and interests of user realize quick, convenient and fast clearance/clearing purpose, can be effectively prevented economic dispute, effective solution
Safety problem durings equity transaction in assets information etc..
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the system structure diagram of enterprise's equity online trading platform provided by the invention.
Specific embodiment
With reference to the accompanying drawing and specific embodiment the present invention is further elaborated.It should be noted that for this
The explanation of a little way of example is used to help understand the present invention, but and does not constitute a limitation of the invention.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes
System, for example, A and/or B, can indicate: individualism A, individualism B exist simultaneously tri- kinds of situations of A and B, the terms
"/and " it is to describe another affiliated partner relationship, indicate may exist two kinds of relationships, for example, A/ and B, can indicate: individually depositing
In A, two kinds of situations of individualism A and B, in addition, character "/" herein, typicallying represent forward-backward correlation object is a kind of "or" pass
System.
Embodiment one
As shown in Figure 1, enterprise's equity online trading platform based on block chain technology provided in this embodiment, including
Enterprise's equity buys module, enterprise's equity shift module and Trading Authorization approval module.
Enterprise's equity buys module, buys interactive interface for providing equity to registration user terminal, then to
Equity unique identification and equity quantity purchase sequentially input in the equity purchase interactive interface and purchase object are handed over
Easily verification, and after transaction verifies successfully, it generates enterprise's equity and buys information, finally by enterprise's equity purchase information write-in
Into share exchange database, wherein enterprise's equity purchase information can be, but not limited to unique mark comprising selling account
Knowledge, unique identification, the equity unique identification of purchase object and the equity quantity purchase of purchase account etc., the share exchange data
Warehouse compartment is in the block chain of block chain super node.
Enterprise's equity purchase module carries out equity purchase for facilitating registration user to pass through the module, and in equity
Monitoring party can be requested to carry out the examination & approval of equity purchase in purchasing process.It is described to register user terminal to register in platform side
Success and the electronic equipment held by registering user, can be, but not limited to as smart phone or computer.The purchase object
For registration user to the enterprise's equity to be bought.The equity unique identification can be, but not limited to as equity code or equity
Number.The share exchange database can be, but not limited to for recording all unique identifications for registering users, all enterprises stock
The equity unique identification of power, it is all correspond enterprise's equity enterprise's essential information, it is all equity purchase, equity transfer with
And generated share exchange related data in transaction approval process, such as historical trading quantity, historical trading share price and history
Exchange hour etc..
Specifically, described uniquely mark equity sequentially input in equity purchase interactive interface and purchase object
Know the mode for carrying out transaction verification with equity quantity purchase, includes the following steps: that S101. verifies the equity of the purchase object only
One mark whether there is in the share exchange database, and if it exists, then find in the share exchange database pair
The current commercially available quantity of the purchase object is answered, and is shown in equity purchase interactive interface, otherwise described
Input error is shown in equity purchase interactive interface;Whether the equity quantity purchase for S102. verifying the purchase object is not more than
The currently commercially available quantity confirms that transaction verifies successfully if being not more than, and gives in equity purchase interactive interface
Otherwise display shows input error in equity purchase interactive interface.
Enterprise's equity shift module, for registration user terminal provide equity shift interactive interface, then to
The equity unique identification and stock of the unique identification for being transferred to account, transfer object that are sequentially input in equity transfer transactions interface
Power transfer quantity carries out transaction verification, and after transaction verifies successfully, enterprise's equity transinformation is generated, finally by the enterprise
Equity transinformation is written in the share exchange database, wherein enterprise's equity transinformation can be, but not limited to
Comprising producing the unique identification of account, the unique identification for being transferred to account, the equity unique identification of transfer object and equity transfer number
Amount.
Enterprise's equity shift module for it is convenient bought enterprise's equity and registered user by the module into
Row equity shifts, and the examination & approval of monitoring party progress equity transfer can be requested in equity transfer process.The transfer object
For registration user to the enterprise's equity to be produced.
Specifically, it is described to the unique identification for being transferred to account sequentially input in equity transfer transactions interface, turn
The equity unique identification and equity transfer quantity of moving object carry out the mode of transaction verification, include the following steps: that S201. verifies institute
It states and is transferred to the unique identification of account and whether there is in the share exchange database, and if it exists, then follow the steps S202, otherwise
Input error is shown in equity transfer interactive interface;S202. the equity unique identification of the transfer object is verified in institute
Stating whether there is in share exchange database, and if it exists, then find corresponding login account in the share exchange database
It with the current quantity purchase of the transfer object, and is shown in equity transfer interactive interface, otherwise described
Input error is shown in equity transfer interactive interface;Whether the equity quantity purchase for S203. verifying the transfer object is not more than
The current quantity purchase confirms that transaction verifies successfully if being not more than, and gives in equity transfer interactive interface
Otherwise display shows input error in equity transfer interactive interface.
The Trading Authorization approval module, for providing share exchange authorization examination & approval interactive interface to supervision side's terminal and needing
Enterprise's share exchange information of examination & approval is authorized, is then examined according to what is inputted in share exchange authorization examination & approval interactive interface
Batch processing is as a result, mark the transaction validity of corresponding enterprise's share exchange information, finally by the examination & approval processing result and label
As a result it is written in the share exchange database, wherein enterprise's share exchange information can be, but not limited to comprising coming from
The enterprise's equity purchase information and/or enterprise's equity from enterprise's equity shift module of enterprise's equity purchase module
Transinformation.
The Trading Authorization approval module is for facilitating monitoring party (i.e. transaction supervisory organ/personnel) by the module to stock
Power purchase, transfer data are checked or are examined, and then upload on block chain and return to note for examination & approval processing result again
Volume user terminal.Supervision side's terminal succeeds in registration in platform side and is held by the supervisory organ/personnel that trade
Electronic equipment also can be, but not limited to as smart phone or computer.Enterprise's share exchange information is used for as pending
Content carries out interface display when trading the verification of supervisory organ/personnel or examination & approval, needs to authorize the trigger condition of examination & approval can be with
But it is not limited to be selected to determine by registration user or when number of transaction is more than certain predetermined threshold value, such as quantity purchase or transfer quantity
More than enterprise's share exchange quantity defined by the country one belongs to's scope of law.
Specifically, the examination & approval processing result that the basis inputs in share exchange authorization examination & approval interactive interface, mark
The mode of the transaction validity of corresponding enterprise's share exchange information is remembered, if including the following: that the examination & approval processing result instruction " is refused
Absolutely ", then the transaction validity for marking corresponding enterprise's share exchange information is engineering noise, and in correspondence enterprise's share exchange letter
The examination & approval processing result is shown in the equity purchase interactive interface or equity transfer interactive interface of breath;If the examination & approval processing knot
Fruit indicates " agreement ", then marking the transaction validity of corresponding enterprise's share exchange information is " effective ", and in the correspondence enterprise
The examination & approval processing result is shown in the equity purchase interactive interface or equity transfer interactive interface of share exchange information.In addition,
It also include reason for rejection information in the examination & approval processing result if the examination & approval processing result indicates " refusal ", wherein
The reason for rejection information can by transaction supervisory organ/personnel it is customized, so as to registration user feedback Reason For Denial.
Optimization, enterprise's equity online trading platform may also include enterprise's equity enquiry module;Enterprise's equity
Enquiry module inquires interactive interface for providing equity to registration user terminal, then inquires interaction circle according in the equity
The inquiry request inputted in face inquires from the share exchange database and feeds back corresponding query result, wherein is described to look into
Asking result can be, but not limited to comprising commercially available enterprise's equity information, transferable enterprise's equity information, has bought enterprise's equity letter
Breath and/or enterprise's equity historical transactional information.
Enterprise's equity enquiry module is used to that user to be facilitated to pass through the enterprise that the module polls can operate in block chain
Equity data and transactions history record (including buy, shift etc. record).Further specifically, commercially available enterprise's equity letter
Breath can be, but not limited to the equity unique identification comprising the first query object, commercially available quantity, current share prices and/or owned enterprise
Enterprise's essential information;Transferable enterprise's equity information can be, but not limited to the equity comprising the second query object and uniquely mark
Knowledge, buys share price, current share prices and/or the enterprise of owned enterprise essential information at transferable quantity;It is described to have bought enterprise's equity
Information can be, but not limited to comprising third query object equity unique identification, quantity purchase, buy share price, current share prices
And/or enterprise's essential information of owned enterprise;Enterprise's equity historical transactional information can be, but not limited to comprising the 4th inquiry
Equity unique identification, historical trading quantity, historical trading share price, historical trading time and/or the enterprise of owned enterprise of object
Essential information.Wherein, first query object or the 4th query object can be, but not limited to as enterprise's stock to be checked
Power, second query object or the third query object can be, but not limited to as login account.
To sum up, using enterprise's equity online trading platform provided by the present embodiment based on block chain technology, have such as
Lower technical effect:
(1) a kind of distributed general ledger system record equity transaction data by block chain, and benefit are present embodiments provided
The online trading platform of share exchange information is protected with its characteristic that can not be distorted, i.e., is on the one hand purchased by setting enterprise's equity
Module, enterprise's equity shift module and Trading Authorization approval module are bought, can realize equity purchase, equity transfer respectively and is handed over
On the other hand easy approval process is located at the block chain of block chain super node by the way that process of exchange related data to be written in real time
On share exchange database in, ensure that data can not tamper, safety, consistency and validity, alleviate tradition
The data processing pressure of enterprise's share exchange, and then the safety of enterprise's share exchange can be greatlyd improve, guarantee that transaction is used
The legitimate rights and interests at family realize quick, convenient and fast clearance/clearing purpose, can be effectively prevented economic dispute, effective solution exists
Safety problem during equity transaction in assets information etc..
The present invention is not limited to above-mentioned optional embodiment, anyone can show that other are each under the inspiration of the present invention
The product of kind form.Above-mentioned specific embodiment should not be understood the limitation of pairs of protection scope of the present invention, protection of the invention
Range should be subject to be defined in claims, and specification can be used for interpreting the claims.