CN109784875A - A kind of cargo transaction method, apparatus and terminal device based on block chain - Google Patents
A kind of cargo transaction method, apparatus and terminal device based on block chain Download PDFInfo
- Publication number
- CN109784875A CN109784875A CN201910153986.9A CN201910153986A CN109784875A CN 109784875 A CN109784875 A CN 109784875A CN 201910153986 A CN201910153986 A CN 201910153986A CN 109784875 A CN109784875 A CN 109784875A
- Authority
- CN
- China
- Prior art keywords
- contract
- contractor
- electronic contract
- block chain
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The application is suitable for block chain technical field, provides a kind of cargo transaction method, apparatus and terminal device based on block chain, which comprises request is signed in receipt of contract, and the contract signing request includes the first electronic contract and contractor's information;First electronic contract is sent to the corresponding contractor of contractor's information, and receives the second electronic contract signed by the contractor;Second electronic contract is registered in block chain;Cargo transaction is completed according to second electronic contract.The application can solve it is existing physical goods transaction during need to sign papery contract, need the problem of spending biggish time cost and transportation cost.
Description
Technical field
The application belong to block chain technical field more particularly to a kind of cargo transaction method, apparatus based on block chain and
Terminal device.
Background technique
There are certain differences for the transaction of physical goods and the transaction of virtual product, in the transaction of virtual product, both sides
Money barter deal can be rapidly carried out by network, and the transaction of physical goods is related to cargo transport and cargo is completed a business transaction, it is difficult to it is fast
Entire process of exchange is completed promptly.
Therefore, the mode that current entity cargo transaction usually first passes through signing papery contract carries out title to the goods friendship
Easily, contract is signed from both sides completes to come into force later, and then both sides at the appointed time carry out cargo with designated place in treaty content
It completes a business transaction.
When carrying out papery contract signing, often require that contract signing both sides sign a contract face to face, if contract signing both sides
In different places, and apart from remote, then make troubles for the signing of contract.
It is that wherein a side first carries out contract signing there is currently a solution, then posts contract documents to another
Side, this scheme can solve the problem of strange land is signed a contract, but still need to spend biggish time cost and transport at
This.
To sum up, existing to need to sign papery contract during physical goods transaction, need to spend the biggish time at
Sheet and transportation cost.
Summary of the invention
It is set in view of this, the embodiment of the present application provides a kind of cargo transaction method, apparatus and terminal based on block chain
It is standby, need to sign papery contract to solve existing during physical goods transaction, need to spend biggish time cost and
The problem of transportation cost.
The first aspect of the embodiment of the present application provides a kind of cargo transaction method based on block chain, comprising:
Request is signed in receipt of contract, and the contract signing request includes the first electronic contract and contractor's information;
First electronic contract is sent to the corresponding contractor of contractor's information, and is received by the signing
Second electronic contract of person's signature;
Second electronic contract is registered in block chain;
Cargo transaction is completed according to second electronic contract.
The second aspect of the embodiment of the present application provides a kind of cargo transaction device based on block chain, comprising:
Sign request module, sign request for receipt of contract, contract signing request include the first electronic contract and
Contractor's information;
Digital Contract Signature module, for first electronic contract to be sent to the corresponding contractor of contractor's information,
And receive the second electronic contract signed by the contractor;
Contract broadcast module, for second electronic contract to be registered in block chain;
Cargo transaction module, for completing cargo transaction according to second electronic contract.
The third aspect of the embodiment of the present application provides a kind of terminal device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
It realizes such as the step of the above method.
The fourth aspect of the embodiment of the present application provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, realizes when the computer program is executed by processor such as the step of the above method.
Existing beneficial effect is the embodiment of the present application compared with prior art:
In the cargo transaction method based on block chain of the application, contract initiator can send contract signing request, close
It include the first electronic contract and contractor's information in request with signing, after system receives contract signing request, by the first electricity
Sub- contract is sent to contractor corresponding with contractor's information, if contractor agrees to treaty content, can close to the first electronics
It is same to be digitally signed, and it will be back to system by the second electronic contract of signature, the second electronic contract is registered in by system
In block chain, the contractor to sign a contract directly can sign electronic contract by network, reduce papery contract signing and consumed
The time cost and transportation cost taken, and the second electronic contract can be registered in block chain, so that the letter of the second electronic contract
Breath can not be tampered, convenient for retrospect inquiry, solve it is existing physical goods transaction during need to sign papery contract, need
The problem of spending biggish time cost and transportation cost.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described.
Fig. 1 is a kind of implementation process schematic diagram of cargo transaction method based on block chain provided by the embodiments of the present application;
Fig. 2 is a kind of schematic diagram of cargo transaction device based on block chain provided by the embodiments of the present application;
Fig. 3 is the schematic diagram of terminal device provided by the embodiments of the present application.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, so as to provide a thorough understanding of the present application embodiment.In other situations, omit to well-known system, device, circuit with
And the detailed description of method, so as not to obscure the description of the present application with unnecessary details.
In order to illustrate technical solution described herein, the following is a description of specific embodiments.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,
Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment
And be not intended to limit the application.As present specification and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In addition, term " first ", " second ", " third " etc. are only used for distinguishing description, and cannot in the description of the present application
It is interpreted as indication or suggestion relative importance.
Embodiment one:
A kind of cargo transaction method based on block chain provided below the embodiment of the present application one is described, and please refers to
Attached drawing 1, the cargo transaction method based on block chain in the embodiment of the present application one include:
Step S101, request is signed in receipt of contract, and the contract signing request includes that the first electronic contract and contractor believe
Breath;
When contract initiator needs to sign a contract, the contract that can send drafts request to system, system demonstration contract mould
Plate gives contract initiator, and contract initiator can add treaty content in contract template, and the first electronics is obtained after the completion of drafting
Contract, contract initiator, which can be set, at this time signs people's information, then sends and closes according to the first electronic contract and signing people's information
With request is signed to system, request is signed in system receipt of contract.
Step S102, first electronic contract is sent to the corresponding contractor of contractor's information, and receives warp
Cross the second electronic contract of contractor's signature;
After system receives contract signing request, the first electronic contract is sent to the corresponding contractor of contractor's information.
Contractor can be two or two or more, can be to the first electronics after contractor receives the first electronic contract
The particulars of a contract are consulted, if contractor agrees to the content of the first electronic contract, can be carried out to the first electronic contract
Then signature will be committed to system by the second electronic contract of signature.
Step S103, second electronic contract is registered in block chain;
After system receives the second electronic contract, the second electronic contract is registered in block chain, since block chain has
Have can not tamper, therefore once the second electronic contract cochain can not then be modified, it is ensured that mistake of second electronic contract in keeping
It will not be modified in journey, be also convenient for that subsequent there are carry out inquiry evidence obtaining when contract dispute.
Step S104, cargo transaction is completed according to second electronic contract.
After second electronic contract is registered in block chain, cargo transaction is completed according to the second electronic contract.
Further, described that first electronic contract is sent to the corresponding contractor of contractor's information, and connect
It receives and is specifically included by the second electronic contract of contractor signature:
It is suitable to be sent to the signing by the signing sequence in A1, acquisition contractor's information for first electronic contract
First contractor in sequence;
When signing electronic contract, the signing mode of synchronization signatures can be used, the signing of sequential signature can also be used
Mode.
When using the signing mode of synchronization signatures, the first electronic contract can be sent to each signing by system simultaneously
Person, each contractor independently sign submission, system receive that each contractor submits after the third electronic contract of signature,
The contractor's signature for integrating each part third electronic contract, obtains the second electronic contract.
When using the signing mode of sequential signature, system can first obtain the signing sequence of contractor's information, then will
First electronic contract sends first contractor in signing sequence, successively signs according to signing sequence.
Signing sequence can be drafted by contract initiator, such as can using contract initiator add contractor sequence as
Signing sequence.
A2, when receive by i-th bit contractor sign third electronic contract when, by the third electronic contract send
To the i+1 position contractor in the signing sequence, repeat until obtaining the second electronics signed by all contractors
Contract, wherein i is greater than or equal to 1 and is less than contractor's sum.
In the signing mode of sequential signature, when i-th bit contractor submits the third electronic contract by signature, system
Third electronic contract can be sent to the i+1 position contractor in signing sequence, repeated until obtaining all contractor's label
Second electronic contract of name then can be by for example, when third electronic contract after system receives first contractor signature
Three electronic contracts are sent to second contractor, when system receives the new third electronics after second contractor signature
When contract, then new third electronic contract can be sent to third position contractor, and so on, until all contractors are according to label
About sequence is successively signed, and obtains the second electronic contract.
Further, described second electronic contract is registered in block chain specifically includes:
B1, signing to the contractor in second electronic contract carries out sign test;
Before the second electronic contract is registered in block chain, it can also sign and carry out to the contractor of the second electronic contract
Sign test, it is ensured that the legitimacy of each contractor's signature.
B2, when the contractor sign sign test pass through when, second electronic contract is registered in block chain.
When all equal sign tests of contractor's signature pass through, then the second electronic contract is registered in block chain, works as presence
Any one contractor sign sign test failure, then it represents that be likely to occur in violation of rules and regulations signature behavior, such as contractor using it is non-I
Certificate sign, then electron contract fail.
In addition, sign test is carried out in addition to signing to contractor, and it can also be before contractor signs, card that contractor is held
Book carries out ca authentication (i.e. digital certificate service), it is ensured that the identity reality and legitimacy of contractor.
Further, before the completion cargo transaction according to second electronic contract, the method also includes:
C1, the fulfillment information of cargo transaction is determined according to second electronic contract and fulfils people;
Physical goods transaction and a significant difference of virtual product transaction are the non real-time nature traded, and virtual product can
To carry out real-time deal by the network platform, and physical goods transaction then needs to arrange the delivery side of cargo handover, recipient, friendship
Pay time and place of delivery.
Before completing cargo transaction according to the second electronic contract, system can determine that cargo is handed over according to the second electronic contract
Easy fulfillment information and people is fulfiled, fulfillment information may include goods information, delivery time, place of delivery and the friendship of cargo transaction
The information such as easy account, fulfil the actual handing over side and recipient that people may include cargo transaction.
C2, the fulfillment information is sent to and described fulfils people.
Fulfillment information has been determined and after fulfiling people, fulfillment information can be sent to and fulfil people by system, system can be
It generates just to be sent to fulfillment information after the second electronic contract and fulfils people, the delivery time that can also arrange in the second electronic contract
A cycle in fulfillment information be sent to fulfil people, for example, the delivery time that system can arrange in the second electronic contract
First 3 days, 1 day first, 2 hours first, preceding 1 hour equi-time point will send fulfillment information and be sent to and fulfil people, prompting is fulfiled people and is done
The preparation of good cargo handover.
Further, the method also includes:
D1, when receive it is described fulfil the delivery confirmation request that the side of deliverying in people is sent when, confirmation prompt will be delivered and sent out
It send to the recipient fulfiled in people;
In the process of physical goods handover, when fulfiling the delivery side in people cargo being consigned to the recipient fulfiled in people,
It can send and deliver confirmation request to system, system is sent to recipient for confirmation request is delivered.
D2, when receiving the delivery confirmation message that the recipient sends, transaction funds that the recipient is prestored
The trading account that is transferred in the fulfillment information simultaneously notifies the delivery side;
Recipient can carry out inspection confirmation to cargo, after confirming that cargo is errorless, can reply and deliver confirmation message extremely
System.
After system receives delivery confirmation message, then the transaction funds that can be prestored recipient in systems, which are transferred to, to be fulfiled
Trading account in information, or fund can also be carried out by other platforms by recipient and transferred accounts.
D3, when receiving the fund confirmation message that the delivery side is sent, will transaction successful information be registered in the area
In block chain.
After delivery side confirmed that transaction funds have arrived at trading account, fund confirmation message can be sent to system,
Confirmation transaction is completed, and transaction successful information can be registered in block chain by system after receiving fund confirmation message.
The particular content of transaction successful information can be determined according to the actual situation, for example, transaction successful information can be with
Including contents such as delivery time, place of delivery, delivery side's information, recipient's information and handover goods informations.
Further, before second electronic contract is registered in block chain, in the process of the second electronic contract
In, the method also includes:
If E1, receiving in contractor's information the message that any one contractor refuses signature, stop generation the
Two electronic contracts, and determine cargo transaction failure.
During the second electron contract, if any one contractor refuses signature, then it represents that the contractor couple
There are objections for treaty content, and the second electron contract fails at this time, stop generating the second electronic contract, and determine cargo transaction
Failure.Contract initiator, then can be to re-initiate contract signing process after amendment of contract content if you need to sign electronic contract again.
Further, before the completion cargo transaction according to second electronic contract, the method also includes:
F1, when receiving the discarded contract request of any one contractor initiation, will the discarded contract request transmission
To other contractors;
After contract signing, if any one contractor thinks that oneself can not defined obligation, Ke Yiti in performance of the contract
Before notify other contractors, send discarded contract request to system, discarded contract request is sent to other contractors by system.
F2, when other described contractors return agree to discard information when, contract is discarded successfully and by contract discard information
It is registered in block chain.
If other contractors agree to discarded contract, returns and agree to discard information to system, then contract is discarded successfully, system
Contract discard information is registered in block chain.
Any one contractor disagrees discarded contract if it exists, then the contractor to break a contract then needs regulation in based on contract
Claim for breaking an agreement rule other contractors are compensated.
In addition, if contractor can not fulfil defined obligation in the place of delivery that the delivery time of agreement reaches agreement,
Such as the cargo of cargo and contract engagement that is late, providing situations such as not being inconsistent, then it is considered as promise breaking, the contractor of promise breaking needs basis
Claim for breaking an agreement rule specified in contract compensates other contractors.
In the cargo transaction method based on block chain that the present embodiment one provides, contract initiator can send contract signing
It requests, includes that the first electronic contract and contractor's information will after system receives contract signing request in contract signing request
First electronic contract is sent to contractor corresponding with contractor's information, can be to first if contractor agrees to treaty content
Electronic contract is digitally signed, and will be back to system by the second electronic contract of signature, and system is by the second electronic contract
It is registered in block chain, the contractor to sign a contract directly can sign electronic contract by network, reduce papery contract label
Spent time cost and transportation cost are ordered, and the second electronic contract can be uploaded in block chain, so that the second electronics closes
With information can not be tampered, convenient for retrospect inquiry, solve it is existing physical goods transaction during need to sign papery
Contract needs the problem of spending biggish time cost and transportation cost.
During signing electronic contract, can be signed a contract by the way of sequential signature, each contract party according to
Signing sequence is successively signed, and the second electronic contract is obtained, and system can sign to the contractor in the second electronic contract and test
Label, to ensure the legitimacy of each contractor's signature, so that it is guaranteed that the second electronic contract is authentic and valid contract.
Before completing cargo transaction, system can determine fulfillment information according to the second electronic contract and fulfil people, will carry out
People is fulfiled in row information transmission, reminds and fulfils the preparation that people carries out cargo handover.
It trades in the process of cargo handover if recipient confirms that cargo is errorless and delivery side acknowledges receipt of transaction funds
It completes, transaction successful information is registered in block chain by system.Recipient can prestore transaction funds in systems, by system
It carries out Fund Supervision and transfers accounts, it is safer to be readily achieved cargo handover.
During signing, each contractor has the right of equality, if any one contractor refuses signature, electronics is closed
Fail with signing.After contract signing, if any one contractor thinks discarded contract, the agreement by other contractors is needed,
When all contractors agree to discarded contract, contract discards the contractor successfully, otherwise to break a contract and needs regulation in based on contract
Claim for breaking an agreement rule other contractors are compensated.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application constitutes any limit
It is fixed.
Embodiment two:
The embodiment of the present application two provides a kind of cargo transaction device based on block chain, for purposes of illustration only, only show with
The relevant part of the application, as shown in Fig. 2, the cargo transaction device based on block chain includes,
Request module 201 is signed, signs request for receipt of contract, the contract signing request includes the first electronic contract
With contractor's information;
Digital Contract Signature module 202, for first electronic contract to be sent to the corresponding signing of contractor's information
Person, and receive the second electronic contract signed by the contractor;
Registration of contracts module 203, for second electronic contract to be registered in block chain;
Cargo transaction module 204, for completing cargo transaction according to second electronic contract.
Further, the Digital Contract Signature module 202 specifically includes:
Sequence submodule sends first electronic contract for obtaining the sequence of the signing in contractor's information
To first contractor in the signing sequence;
Sign submodule, for when receive by i-th bit contractor sign third electronic contract when, by the third
Electronic contract is sent to the i+1 position contractor in the signing sequence, repeats until obtaining signing by all contractors
Second electronic contract of name, wherein i is greater than or equal to 1 and is less than contractor's sum.
Further, the registration of contracts module 203 specifically includes:
Sign test submodule carries out sign test for signing to the contractor in second electronic contract;
Submodule is registered, for when contractor signature sign test passes through, second electronic contract to be registered in area
In block chain.
Further, described device further include:
Information determination module, for determining the fulfillment information of cargo transaction according to second electronic contract and fulfiling people;
It trades reminding module, described fulfils people for the fulfillment information to be sent to.
Further, described device further include:
Deliver confirmation module, for when receive it is described fulfil the delivery confirmation request that the side of deliverying in people is sent when, general
It delivers confirmation prompt and is sent to the recipient fulfiled in people;
Fund is transferred accounts module, for when receiving the delivery confirmation message that the recipient sends, by the recipient
Trading account that the transaction funds prestored are transferred in the fulfillment information simultaneously notifies the delivery side;
It trades successfully module, for will trade and successfully believe when receiving the fund confirmation message that the delivery side is sent
Breath is registered in the block chain.
Further, described device further include:
Failure module is signed, if refusing disappearing for signature for receiving any one contractor in contractor's information
Breath then stops generating the second electronic contract, and determines cargo transaction failure.
Further, described device further include:
Obsolete requests module, for that described will give up when receiving the discarded contract request of any one contractor initiation
It abandons contract request and is sent to other contractors;
Contract discard module, for when other described contractors return to agreement discard information, contract to be discarded successfully simultaneously
Contract discard information is registered in block chain.
It should be noted that the contents such as information exchange, implementation procedure between above-mentioned apparatus/unit, due to the application
Embodiment of the method is based on same design, concrete function and bring technical effect, for details, reference can be made to embodiment of the method part, this
Place repeats no more.
Embodiment three:
Fig. 3 is the schematic diagram for the terminal device that the embodiment of the present application three provides.As shown in figure 3, the terminal of the embodiment is set
Standby 3 include: processor 30, memory 31 and are stored in the meter that can be run in the memory 31 and on the processor 30
Calculation machine program 32.The processor 30 realizes the above-mentioned cargo transaction method based on block chain when executing the computer program 32
Step in embodiment, for example, the processor 30 can realize step S101 shown in FIG. 1 when executing the computer program 32
The detailed process of the steps flow chart into S104, step S101 to S104 is as follows:
Step S101, request is signed in receipt of contract, and the contract signing request includes that the first electronic contract and contractor believe
Breath;
Step S102, first electronic contract is sent to the corresponding contractor of contractor's information, and receives warp
Cross the second electronic contract of contractor's signature;
Step S103, second electronic contract is registered in block chain;
Step S104, cargo transaction is completed according to second electronic contract.
The terminal device 3 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set
It is standby.The terminal device may include, but be not limited only to, processor 30, memory 31.It will be understood by those skilled in the art that Fig. 3
The only example of terminal device 3 does not constitute the restriction to terminal device 3, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 30 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 31 can be the internal storage unit of the terminal device 3, such as the hard disk or interior of terminal device 3
It deposits.The memory 31 is also possible to the External memory equipment of the terminal device 3, such as be equipped on the terminal device 3
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 31 can also both include the storage inside list of the terminal device 3
Member also includes External memory equipment.The memory 31 is for storing needed for the computer program and the terminal device
Other programs and data.The memory 31 can be also used for temporarily storing the data that has exported or will export.
The technical staff in the field can be understood that, for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
In embodiment provided herein, it should be understood that disclosed device/terminal device and method, it can be with
It realizes by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as
Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device
Or the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions
Believe signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality
Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all
Comprising within the scope of protection of this application.
Claims (10)
1. a kind of cargo transaction method based on block chain characterized by comprising
Request is signed in receipt of contract, and the contract signing request includes the first electronic contract and contractor's information;
First electronic contract is sent to the corresponding contractor of contractor's information, and receives and is signed by the contractor
Second electronic contract of name;
Second electronic contract is registered in block chain;
Cargo transaction is completed according to second electronic contract.
2. as described in claim 1 based on the cargo transaction method of block chain, which is characterized in that described by first electronics
Contract is sent to the corresponding contractor of contractor's information, and receives the second electronic contract tool by contractor signature
Body includes:
Obtain the signing sequence in contractor's information, the first electronic contract is sent in the signing sequence
One contractor;
When receiving the third electronic contract by i-th bit contractor signature, the third electronic contract is sent to described
I+1 position contractor in signing sequence repeats the second electronic contract up to obtaining signing by all contractors,
In, i is greater than or equal to 1 and is less than contractor's sum.
3. as described in claim 1 based on the cargo transaction method of block chain, which is characterized in that described by second electronics
Registration of contracts specifically includes in block chain:
It signs to the contractor in second electronic contract and carries out sign test;
When contractor signature sign test passes through, second electronic contract is registered in block chain.
4. the cargo transaction method as described in any one of claims 1-3 based on block chain, which is characterized in that in the basis
Before second electronic contract completes cargo transaction, the method also includes:
The fulfillment information of cargo transaction is determined according to second electronic contract and fulfils people;
The fulfillment information is sent to and described fulfils people.
5. as claimed in claim 4 based on the cargo transaction method of block chain, which is characterized in that the method also includes:
When receive it is described fulfil the delivery confirmation request that the side of deliverying in people is sent when, confirmation will be delivered and prompt to be sent to fulfil
Recipient in people;
When receiving the delivery confirmation message that the recipient sends, the transaction funds that the recipient prestores are transferred to described
Trading account in fulfillment information simultaneously notifies the delivery side;
When receiving the fund confirmation message that the delivery side is sent, transaction successful information is registered in the block chain.
6. as described in claim 1 based on the cargo transaction method of block chain, which is characterized in that the method also includes:
If receiving the message that any one contractor in contractor's information refuses signature, stop generating the conjunction of the second electronics
Together, and cargo transaction failure is determined.
7. as described in claim 1 based on the cargo transaction method of block chain, which is characterized in that described according to described second
Before electronic contract completes cargo transaction, the method also includes:
When receiving the discarded contract request of any one contractor initiation, the discarded contract request is sent to other label
About;
When other described contractors, which return, agrees to discard information, contract is discarded successfully and contract discard information is registered in area
In block chain.
8. a kind of cargo transaction device based on block chain characterized by comprising
Request module is signed, signs request for receipt of contract, the contract signing request includes the first electronic contract and signing
Person's information;
Digital Contract Signature module for first electronic contract to be sent to the corresponding contractor of contractor's information, and connects
Receive the second electronic contract by contractor signature;
Contract broadcast module, for second electronic contract to be registered in block chain;
Cargo transaction module, for completing cargo transaction according to second electronic contract.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 7 when executing the computer program
The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 7 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910153986.9A CN109784875A (en) | 2019-02-28 | 2019-02-28 | A kind of cargo transaction method, apparatus and terminal device based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910153986.9A CN109784875A (en) | 2019-02-28 | 2019-02-28 | A kind of cargo transaction method, apparatus and terminal device based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109784875A true CN109784875A (en) | 2019-05-21 |
Family
ID=66486587
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910153986.9A Pending CN109784875A (en) | 2019-02-28 | 2019-02-28 | A kind of cargo transaction method, apparatus and terminal device based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109784875A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110348835A (en) * | 2019-05-29 | 2019-10-18 | 深圳市元征科技股份有限公司 | A kind of fictitious assets transfer method, device, server and storage medium |
CN111652598A (en) * | 2020-07-01 | 2020-09-11 | 中国银行股份有限公司 | Block chain-based reimbursement protocol signing method and device |
CN112001794A (en) * | 2020-09-02 | 2020-11-27 | 上海市建筑学会 | Intelligent contract generating method, computer device, and storage medium |
CN114357496A (en) * | 2022-03-21 | 2022-04-15 | 杭州天谷信息科技有限公司 | Goods transaction method, device, equipment and storage medium based on electronic contract |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101251915A (en) * | 2008-01-21 | 2008-08-27 | 深圳市永达电子有限公司 | Internet safe payment method and system based on electronic contract |
CN101866465A (en) * | 2009-04-16 | 2010-10-20 | 邵贵平 | Warehousing service electronic transaction system and electronic transaction method |
CN106570681A (en) * | 2016-10-28 | 2017-04-19 | 山东明和软件有限公司 | Anti-tampering private fund electronic contract signing system and method based on block chain |
CN108830545A (en) * | 2018-04-28 | 2018-11-16 | 深圳慧通商务有限公司 | Contract dataset processing method, contract management client and block chain managing device |
-
2019
- 2019-02-28 CN CN201910153986.9A patent/CN109784875A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101251915A (en) * | 2008-01-21 | 2008-08-27 | 深圳市永达电子有限公司 | Internet safe payment method and system based on electronic contract |
CN101866465A (en) * | 2009-04-16 | 2010-10-20 | 邵贵平 | Warehousing service electronic transaction system and electronic transaction method |
CN106570681A (en) * | 2016-10-28 | 2017-04-19 | 山东明和软件有限公司 | Anti-tampering private fund electronic contract signing system and method based on block chain |
CN108830545A (en) * | 2018-04-28 | 2018-11-16 | 深圳慧通商务有限公司 | Contract dataset processing method, contract management client and block chain managing device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110348835A (en) * | 2019-05-29 | 2019-10-18 | 深圳市元征科技股份有限公司 | A kind of fictitious assets transfer method, device, server and storage medium |
CN111652598A (en) * | 2020-07-01 | 2020-09-11 | 中国银行股份有限公司 | Block chain-based reimbursement protocol signing method and device |
CN111652598B (en) * | 2020-07-01 | 2023-09-19 | 中国银行股份有限公司 | Block chain-based underwriting protocol signing method and device |
CN112001794A (en) * | 2020-09-02 | 2020-11-27 | 上海市建筑学会 | Intelligent contract generating method, computer device, and storage medium |
CN114357496A (en) * | 2022-03-21 | 2022-04-15 | 杭州天谷信息科技有限公司 | Goods transaction method, device, equipment and storage medium based on electronic contract |
CN114357496B (en) * | 2022-03-21 | 2022-07-22 | 杭州天谷信息科技有限公司 | Goods transaction method, device, equipment and storage medium based on electronic contract |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109784875A (en) | A kind of cargo transaction method, apparatus and terminal device based on block chain | |
CN106504094B (en) | Transaction matching method and system of distributed general ledger system based on block chain technology | |
CN104392340B (en) | Based on event driven transaction on exchange cargo consolidation dispensing transportation system and method | |
CN109146652A (en) | A kind of online auction system and system based on block chain technology | |
US20140006247A1 (en) | System, device and method for the interaction of security information | |
CN107679794A (en) | A kind of commodity distribution control method and device based on block chain | |
CN108805564A (en) | A kind of method and system carrying out payment and settlement based on block chain | |
CN109035019A (en) | Bill business method, system, computer equipment and storage medium | |
CN110889762B (en) | Data processing method, device and medium | |
CN108701271A (en) | A kind of management method of maintenance of equipment, system and data management server | |
CN111931245A (en) | Information processing method and device | |
CN110930151A (en) | Transaction processing method and device based on block chain, computing equipment and medium | |
CN108701270A (en) | Management method, system and the data management server of maintenance factory | |
CN112907244B (en) | Block chain-based data processing method, device, equipment and readable storage medium | |
CN110135989A (en) | A kind of virtual resource transfer method and block chain node device | |
CN113469662A (en) | Electronic bidding insurance service method | |
CN108492071A (en) | A kind of express delivery information processing method and device based on block chain | |
CN111598592A (en) | Tracing certificate code anti-counterfeiting system and method thereof | |
EP2602753A1 (en) | Network secure pay-as-you-go system | |
CN110516776A (en) | Offline two dimensional code is ridden method and apparatus | |
CN110348835A (en) | A kind of fictitious assets transfer method, device, server and storage medium | |
CN102411747A (en) | Method for authenticating electronic commerce transaction guarantee and prepayment of electronic commerce transaction guarantee | |
CN104376445A (en) | Event-driven floor trading cargo centralized distribution and transportation system | |
CN112734421A (en) | Asset hosting and clearing method and system based on three-party multi-signature and credible signature transaction | |
US20200226629A1 (en) | Trading platform system and 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190521 |