CN109144675A - A kind of transaction methods and relevant apparatus - Google Patents

A kind of transaction methods and relevant apparatus Download PDF

Info

Publication number
CN109144675A
CN109144675A CN201810928423.8A CN201810928423A CN109144675A CN 109144675 A CN109144675 A CN 109144675A CN 201810928423 A CN201810928423 A CN 201810928423A CN 109144675 A CN109144675 A CN 109144675A
Authority
CN
China
Prior art keywords
agent
request
processing cost
transaction
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810928423.8A
Other languages
Chinese (zh)
Inventor
张浩川
张泽航
余荣
李培春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong University of Technology
Original Assignee
Guangdong University of Technology
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 Guangdong University of Technology filed Critical Guangdong University of Technology
Priority to CN201810928423.8A priority Critical patent/CN109144675A/en
Publication of CN109144675A publication Critical patent/CN109144675A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/466Transaction processing
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The invention discloses the first transaction requests that a kind of transaction methods, block chain node Receiving Agent end are sent, and handle the affairs to be processed in the request, determine processing cost, when deducting fees, can use agent-side information to agent side and deduct processing cost.Treating the expense that processing affairs are handled due to block chain node can be deducted by agent side, in transaction process, request end is without storing a large amount of tokens, without the determination amount of money per treatment.Present invention also provides a kind of block chain nodes, agent side, request end, and above-mentioned technical effect equally may be implemented.

Description

A kind of transaction methods and relevant apparatus
Technical field
The present invention relates to block chain technical field, more specifically to a kind of transaction methods, block chain node, Agent side, request end.
Background technique
With the development of block chain technology, in everyday scenes using more and more extensive, can handle various Affairs.Wherein, affairs here refer to that affairs of transferring accounts, such as user A transfer accounts and give user B, or execute richer intelligence Energy contract affairs, in these affairs, it is necessary to there is a requestor to initiate transactions requests, and by other participant's (block link networks Node in network) handle its request.
However, current transaction processing facility is still more single, current transaction processing facility are as follows: requestor initiates thing Business processing request (such as transfer request, or execute intelligent contract request) and into block chain network, when its in block chain network When his node processing affairs, then the processing cost for being the digital identity of checking request person, and being generated in treatment process be It is deducted in requestor's account, processing cost here includes executing request expense, such as execute the consumption of ether mill intelligence contract Gas value, and expense of transferring accounts, such as ether coin, bit coin etc..
During being somebody's turn to do, must be requested that having the requestor of transactions requests to need certain token can just initiate to request, otherwise It will be unable to processing request.After requestor first must buy certain token in token transactions platform, transactions requests can be just initiated. Token amount needed for the purchase volume of token may usually be greater than single transactions requests, causes to waste.
And if token amount needed for only buying single transactions requests every time, then initiate transactions requests, then will lead in addition One problem: must first buy token every time, then initiate transactions requests, generate 2 requests in total.And current block chain network Transaction limited throughput, and acknowledging time it is longer (such as bit coin confirmation transaction at least 10 minutes time), requestor purchase After buying token, it is often necessary to wait the sufficiently long time to determine purchase token success, transactions requests could be initiated again.2 requests one Aspect causes tranaction costs to increase (initiating request every time has higher transaction procedure to take), and on the other hand it is inefficient also very big Affect usage experience.
Therefore, transaction cost how is easily delivered without causing token to waste, and is those skilled in the art's needs It solves the problems, such as.
Summary of the invention
The purpose of the present invention is to provide a kind of transaction methods, block chain node, agent side, request end, with convenient Delivery transaction cost without causing token to waste.
To achieve the above object, the embodiment of the invention provides following technical solutions:
A kind of transaction methods are applied to block chain node, comprising:
The first transaction request that Receiving Agent end is sent;Wherein, first transaction request includes agent side The affairs to be processed that information, request end are sent to the agent side;
The affairs to be processed are handled, and determine processing cost;
The processing cost is deducted using the agent-side information.
Wherein, the agent-side information includes:
The digital signature of the agent side block chain address in the block chain network and the agent side.
It is wherein, described to deduct the processing cost using the agent-side information, comprising:
The processing cost is deducted in the agent side using the agent-side information;Wherein, the agent side be used for It settles accounts and obtains all processing costs paid out by the agent side in the request end.
Wherein, first transaction request includes: that the agent-side information, the request end are sent out to the agent side The affairs to be processed and request client information sent;
It is then described to deduct the processing cost using the agent-side information, comprising:
The processing cost is deducted in the request end using the request client information;
Judge whether the processing cost all deducts;
If not, it is determined that do not deduct processing cost;
It is deducted using the agent-side information in the agent side and described does not deduct processing cost;Wherein, the agent side For all processing costs paid out by the agent side to be settled accounts and obtained to the request end.
Wherein, the processing affairs to be processed, and after determining processing cost, further includes:
Judge whether the token amount of the request end storage is greater than or equal to the processing cost;
If so, deducting the processing cost in the request end using the request client information;
If it is not, then executing described the step of deducting the processing cost using the agent-side information.
In order to solve the above technical problems, being applied to agent side present invention also provides a kind of transaction methods, comprising:
Receive the second transaction request sent by request end;Wherein, second transaction request includes wait locate Director's business;
Using the agent-side information of second transaction request and the agent side as the first transaction request, hair It send to block chain node;Wherein, the block chain node is for handling the affairs to be processed, and determines processing cost, utilizes The agent-side information deducts the processing cost.
It is wherein, described to receive the second transaction request sent by request end, comprising:
Whether the account and password that verifying is sent by the request end are correct;
If so, the second transaction request that record is sent by the request end.
In order to solve the above technical problems, being applied to request end present invention also provides a kind of transaction methods, comprising:
The second transaction request is sent to agent side, wherein second transaction request includes affairs to be processed, After the agent side is used to receive second transaction request, by second transaction request and the agent side Agent-side information is sent to block chain node as the first transaction request;Wherein, the block chain node is for handling institute Affairs to be processed are stated, and determine processing cost;
The processing cost is delivered to the agent side;Wherein the processing cost is that the agent side utilizes the agency Client information deducts the processing cost.
It is wherein, described to deliver the processing cost to the agent side, comprising:
The processing cost is delivered to the agent side using default delivery rule.
In order to solve the above technical problems, present invention also provides a kind of block chain nodes, comprising:
First receiving module, the first transaction request sent for Receiving Agent end;Wherein, first office The affairs to be processed that reason request is sent including agent-side information, request end to the agent side;
Processing module for handling the affairs to be processed, and determines processing cost;
Expense deduction module, for deducting the processing cost using the agent-side information.
In order to solve the above technical problems, present invention also provides a kind of agent sides, comprising:
Second receiving module, for receiving the second transaction request sent by request end;Wherein, second affairs Processing request includes affairs to be processed;
First sending module, for using the agent-side information of second transaction request and the agent side as the One transaction request is sent to block chain node;Wherein, the block chain node is used to handle the affairs to be processed, and Determine processing cost;The processing cost is deducted using the agent-side information.
In order to solve the above technical problems, present invention also provides a kind of request ends, comprising:
Second sending module, for sending the second transaction request to agent side, wherein second issued transaction is asked It asks including affairs to be processed, after the agent side is used to receive second transaction request, by second issued transaction The agent-side information of request and the agent side is sent to block chain node as the first transaction request;Wherein, the area Block chain node determines processing cost for handling the affairs to be processed;
Delivery module, for delivering the processing cost to the agent side;Wherein the processing cost is the agency The processing cost is deducted using the agent-side information in end.
By above scheme it is found that a kind of transaction methods provided by the invention, are applied to block chain node, comprising: The first transaction request that Receiving Agent end is sent;Wherein, first transaction request includes agent-side information, request Hold the affairs to be processed sent to the agent side;The affairs to be processed are handled, and determine processing cost;Utilize the agency Client information deducts the processing cost.
It can be seen that a kind of transaction methods provided by the present application, the first of the transmission of block chain node Receiving Agent end Transaction request, and the affairs to be processed in the request are handled, it determines processing cost, when deducting fees, can use agent side Information deducts processing cost to agent side.Treating the expense that processing affairs are handled due to block chain node can be by agent side It deducts, therefore, in transaction process, request end is without storing a large amount of tokens, without the determination amount of money per treatment.
Present invention also provides a kind of block chain nodes, agent side, request end, and above-mentioned technical effect equally may be implemented.
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 a kind of transaction methods flow chart applied to block chain node disclosed by the embodiments of the present invention;
Fig. 2 is a kind of transaction methods process for being specifically applied to block chain node disclosed by the embodiments of the present invention Figure;
Fig. 3 is a kind of transaction methods process for being specifically applied to block chain node disclosed by the embodiments of the present invention Figure;
Fig. 4 is a kind of transaction methods process for being specifically applied to block chain node disclosed by the embodiments of the present invention Figure;
Fig. 5 is a kind of transaction methods flow chart applied to agent side disclosed by the embodiments of the present invention;
Fig. 6 is a kind of transaction methods flow chart applied to request end disclosed by the embodiments of the present invention;
Fig. 7 is a kind of block chain node structure schematic diagram disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of transaction methods, block chain node, agent side, request end, with convenient Transaction cost is delivered without causing token to waste.
Referring to Fig. 1, a kind of transaction methods provided in an embodiment of the present invention are applied to block chain node, specifically include:
S101, the first transaction request that Receiving Agent end is sent;Wherein, first transaction request includes generation The affairs to be processed that reason client information, request end are sent to the agent side.
It include to be processed in the transaction request in the present solution, request end is the one end for initiating transaction request Affairs, and the transaction request is not sent directly to block chain node, and it is sent to agent side, hair is completed at agency by agreement end The operation such as send;Agent side is the one end entrusted by request end, will be wait locate after the information such as affairs to be processed for sending request end Information and the agent-side informations such as director's business are sent to block chain node as the first transaction request;Block chain node for pair Affairs to be processed are handled, determine the processing cost that treatment process generates, and obtain the processing cost.
Specifically, in transaction process, block chain node receives the first issued transaction sent by agent side first Request, in the first transaction request, including at least the affairs to be processed of agent-side information and request end.
It should be noted that agent-side information includes block chain address and agent side of the agent side in block chain network Digital signature, wherein block chain address, that is, agent side public key.
S102 handles the affairs to be processed, and determines processing cost.
Specifically, the affairs to be processed that block chain node processing agent side is sent, and determine processing cost.Processing cost Refer to and affairs to be processed are being treated with the processing cost generated in journey.
It should be noted that agent side can be verified first before block chain node processing affairs to be processed, That is, whether being lawful agencies end using agent-side information (the specially digital signature of agent side) verifying agent side, it is verified Afterwards, it is handled to the affairs to be processed that agent side is sent.
S103 deducts the processing cost using the agent-side information.
In the present solution, processing cost deduction, be no longer only to request end deduct, but utilize agent-side information combine Agent side deducts processing cost.Specific the case where deducting processing cost, can at least be divided into three kinds.
The first situation is all to deduct whole processing costs in agent side, settle accounts reaching agent side to request end Predetermined condition when, then settle accounts the expense paid out by agent side from agent side to request end;
Second situation is processing cost to be deducted in request end, when the token amount that request end is stored is not enough to be deducted When, then block chain node is deducted using remaining expense as processing cost is not deducted in agent side;
The third situation is then that the token amount of request end is enough to be deducted, then processing cost will be deducted all in request end.
Specific introduction will be done in following embodiments about above-mentioned three kinds of situations, will not repeated herein.
It can be seen that a kind of transaction methods provided by the embodiments of the present application, block chain node Receiving Agent end is sent The first transaction request, and handle the affairs to be processed in the request, determine processing cost, when deducting fees, can use Agent-side information deducts processing cost to agent side.Treating the expense that is handled of processing affairs due to block chain node can be by Agent side deducts, and therefore, in transaction process, request end is per treatment without determination without storing a large amount of tokens The amount of money only need to prepare token according to the amount of money that agent side provides when agent side is deducted fees to its clearing.
A kind of specific transaction methods provided by the embodiments of the present application are introduced below, one kind described below Specific transaction methods mainly do the first situation introduced in above-described embodiment and are further defined in explanation, His step content can be cross-referenced with above-described embodiment.
Referring to fig. 2, a kind of specific transaction methods provided by the embodiments of the present application are applied to block chain node, tool Body includes:
S201, the first transaction request that Receiving Agent end is sent;Wherein, first transaction request includes generation The affairs to be processed that reason client information, request end are sent to the agent side.
S202 handles the affairs to be processed, and determines processing cost.
Wherein, S201 and S202 are respectively with S101 in above-described embodiment, and S102 is identical, and particular content can refer to above-mentioned reality Example is applied, details are not described herein again.
S203 deducts the processing cost in the agent side using the agent-side information;Wherein, the agent side is used In being settled accounts to the request end and obtain all processing costs paid out by the agent side.
In the present solution, block chain node can deduct whole processing costs in agent side using agent-side information.
Agent side can settle accounts all processing costs paid out by agent side to request end in predetermined condition.Wherein, it settles accounts Predetermined condition be to be determined by the delivery rule of request end, agent side and request end agreement can determine in advance and deliver rule, example Such as, can be after preset time (such as 1 month), agent side calculates all handlings paid out in preset time to request end With wherein agent side can also predefine agency fee with request end, and in clearing, transaction according to the actual situation Expense and actual treatment expense.
In the present solution, due to for request end, to delivery method the pressing often from the prior art of processing cost It secondary issued transaction and calculates power demand and pays, be changed to according to rule payment is delivered, so that request end is without paying close attention to office The process of reason and each calculation processing expense need to only pay close attention to the delivery rule with agent side, so that the expense of request end be made to hand over It pays simpler.
It should be noted that agent side can provide a variety of delivery rules for request end, selected for request end, in practical knot When calculating processing cost, the predetermined condition of clearing is determined according to the delivery rule of request end selection, and then settled accounts.For example, handing over Paying rule can be monthly delivery, then meets clearing when monthly delivery is every reach one month by preset times delivery etc. Predetermined condition;It is then when not reaching preset number, then to meet the preset condition of clearing by preset times delivery.
A kind of specific transaction methods provided by the embodiments of the present application are introduced below, one kind described below Specific transaction methods further limit and illustrate to the second situation introduced in above-described embodiment, other steps Content can be cross-referenced with any of the above-described embodiment.
Referring to Fig. 3, a kind of specific transaction methods provided by the embodiments of the present application are applied to block chain node, tool Body includes:
S301, the first transaction request that Receiving Agent end is sent;Wherein, first transaction request includes generation The affairs to be processed and the request client information that reason client information, request end are sent to the agent side.
In the present solution, the first transaction request not only include agent-side information, request end sent to agent side to Affairs are handled, further include the request client information that request end is sent to agent side.
It should be noted that request client information can specifically include address (public key) of the request end in block chain network and The digital signature of request end.
S302 handles the affairs to be processed, and determines processing cost.
It is in the present solution, block chain node before handling affairs to be processed, will do it double verification first, i.e., sharp Agent side is verified with agent-side information, using request end information verification request end, when both-end is all verified, just carries out affairs Processing operation.Wherein, the content specifically verified can be the digital signature of agent side and request end.
S303 deducts the processing cost in the request end using the request client information.
Client information is being requested to determine request end in the present solution, block chain node after determining processing cost, is begun with, And it first attempts to deduct processing cost in request end.
S304, judges whether the processing cost all deducts.
Specifically, since the expense of request end storage is any storage, the expense stored not necessarily can be with Meet this processing cost, therefore, block chain node judges whether processing cost is complete after deducting processing cost to request end It deducts in portion.
S305, if not, it is determined that do not deduct processing cost.
If without whole deductions, it needs to be determined that not deducting processing cost without deducted remaining cost.
S306 is deducted in the agent side using the agent-side information and described is not deducted processing cost;Wherein, the generation Reason end to the request end for settling accounts and obtaining all processing costs paid out by the agent side.
Block chain node deducts the processing cost for failing to deduct in request end to agent side using the information of agent side.Agency All expenses paid out, the behaviour calculated in relation to agent side to request end are settled accounts to request end when reaching predetermined condition in end Make, the content of above-described embodiment can be referred to, details are not described herein again.
A kind of specific transaction methods provided by the embodiments of the present application are introduced below, one kind described below Specific transaction methods have made further restriction and explanation to the third situation introduced in above-described embodiment, other Step content can be cross-referenced with above-mentioned any embodiment.
Referring to fig. 4, a kind of specific transaction methods provided by the embodiments of the present application, specifically include:
S401, the first transaction request that Receiving Agent end is sent;Wherein, first transaction request includes generation The affairs to be processed that reason client information, request end are sent to the agent side.
S402 handles the affairs to be processed, and determines processing cost.
S403, judges whether the token amount of the request end storage is greater than or equal to the processing cost.
In this application, after determining processing cost, it is first determined the currently stored token amount in request end whether be greater than or Equal to processing cost.
S404, if so, deducting the processing cost in the request end using the request client information.
Specifically, if the token amount of current request end storage is greater than or equal to processing cost, directly in request end Deduct whole processing costs.
S405, if it is not, then deducting the processing cost using the agent-side information.
If the token amount of current request end storage is less than processing cost, can be provided according to any of the above-described embodiment Step is operated using the deduction that agent-side information carries out processing cost, and particular content is no longer repeated herein.
A kind of transaction methods applied to agent side provided by the embodiments of the present application are introduced below, are hereafter retouched A kind of transaction methods stated can be cross-referenced with any of the above-described embodiment.
Referring to Fig. 5, a kind of transaction methods provided by the embodiments of the present application are applied to agent side, specifically include:
S501 receives the second transaction request sent by request end;Wherein, second transaction request includes Affairs to be processed.
In a specific embodiment, the operation that agent side receives the second transaction request specifically includes:
Whether the account and password that verifying is sent by the request end are correct;
If so, the second transaction request that record is sent by the request end.
In the present solution, request end to agent side register account number and can set corresponding password in advance.It is received in agent side When the second transaction request that request end is sent, whether account, the password for first verifying request end transmission are correct, if correctly, The second transaction request that request end is sent is recorded again.
Specifically, the second transaction request further includes request client information.
For example, request end is R, address of the request end R in block chain network is PKR, digital signature SigR, wait locate Director's business is TransctionR, then the second transaction request can be expressed as RequestR=(TransctionR||PKR|| SigR)。
S502 asks second transaction request and the agent-side information of the agent side as the first issued transaction It asks, is sent to block chain node;Wherein, the block chain node is for handling the affairs to be processed, and determines processing cost, The processing cost is deducted using the agent-side information.
Second transaction request of request end and agent-side information are encapsulated as the first transaction request, example by agent side Such as, the second transaction request is RequestR=(TransctionR||PKR||SigR), agent-side information includes agent side A Address PK in block chain networkA, the digital signature Sig of agent side AA, then the first transaction request can indicate are as follows:
RequestA=(RequestR||PKA||SigA)=(TransctionR||PKR||SigR||PKA||SigA)
First transaction request is sent to block chain node by agent side, is treated processing affairs by block chain node and is carried out Processing cost is handled and deducts, the particular content of block chain node can refer to any of the above-described affairs applied to block chain node The embodiment of processing method, details are not described herein again.
A kind of transaction methods applied to request end provided by the embodiments of the present application are introduced below, are hereafter retouched A kind of transaction methods stated can be cross-referenced with any one of the above embodiment.
Referring to Fig. 6, a kind of transaction methods provided by the embodiments of the present application are applied to request end, specifically include:
S601 sends the second transaction request to agent side, wherein second transaction request includes to be processed Affairs, after the agent side is used to receive second transaction request, by second transaction request and the generation The agent-side information at end is managed as the first transaction request, is sent to block chain node;Wherein, the block chain node is used for The affairs to be processed are handled, and determine processing cost.
In the present solution, request end sends transaction request not directly to block chain, but transaction request is sent out Be sent to agent side, block chain node be sent to by agent side, block chain node processing complete transaction request in It when handling affairs, can deduct the fee to agent side or agent side with request end both ends, no longer only be deducted to request end.Specifically Content can be applied to generation with any of the above-described with reference to the embodiment of any of the above-described transaction methods applied to block chain node The embodiment for managing the transaction methods at end, is no longer repeated herein.
S602 delivers the processing cost to the agent side;Wherein the processing cost utilizes institute for the agent side It states agent-side information and deducts the processing cost.
Preferably, request end is using default rule of delivering to the agent side delivery processing cost.
In the present solution, request end can deliver processing cost to agent side according to default delivery rule, wherein default to deliver Rule can be with specific reference to, to the description of pre-defined rule, no longer being repeated herein in above-described embodiment.
A kind of block chain link point provided by the embodiments of the present application is introduced below, a kind of block chain link described below Point can be cross-referenced with any of the above-described embodiment.
Referring to Fig. 7, a kind of block chain node provided by the embodiments of the present application is specifically included:
First receiving module 701, the first transaction request sent for Receiving Agent end;Wherein, first thing The affairs to be processed that business processing request is sent including agent-side information, request end to the agent side.
Processing module 702 for handling the affairs to be processed, and determines processing cost.
Expense deduction module 703, for deducting the processing cost using the agent-side information.
In one preferred embodiment, the first transaction request includes agent-side information, request end to the generation The affairs to be processed and request client information that end is sent are managed, expense deduction module 703 specifically includes:
First deducts fees unit, for deducting the processing cost in the agent side using the agent-side information;Wherein, The agent side to the request end for settling accounts and obtaining all processing costs paid out by the agent side.
Second deducts fees unit, for using the request client information in the request end deduction processing cost.
Judging unit, for judging whether the processing cost all deducts.
Determination unit does not deduct processing cost for determination
Third is deducted fees unit, described does not deduct handling for deducting using the agent-side information in the agent side With;Wherein, the agent side to the request end for settling accounts and obtaining all handlings paid out by the agent side With.
As another preferred embodiment, the embodiment of the present application further include:
Judgment module, for judging whether the token amount of the request end storage is greater than or equal to the processing cost;
First deducts fees module, when the token amount for storing when the request end is greater than or equal to the processing cost, benefit The processing cost is deducted in the request end with the request client information;
Second deducts fees module, for executing the utilization when the token amount of request end storage is less than the processing cost The agent-side information deducts the step of processing cost.
The block chain node of the present embodiment is for realizing the transaction methods above-mentioned applied to block chain node, therefore The embodiment of the visible transaction methods applied to block chain node hereinbefore of specific embodiment in block chain node Part, for example, the first receiving module 701, processing module 702, expense deduction module 703, are respectively used to realize above-mentioned office Step S101, S102, S103 in reason method, so, specific embodiment is referred to corresponding various pieces embodiment Description, details are not described herein.
A kind of agent side provided by the embodiments of the present application is introduced below, a kind of agent side described below with it is above-mentioned Embodiment provides any embodiment can be cross-referenced.
A kind of agent side provided by the embodiments of the present application, specifically includes:
Second receiving module, for receiving the second transaction request sent by request end;Wherein, second affairs Processing request includes affairs to be processed;
First sending module, for using the agent-side information of second transaction request and the agent side as the One transaction request is sent to block chain node;Wherein, the block chain node is used to handle the affairs to be processed, and Determine processing cost;The processing cost is deducted using the agent-side information.
The agent side of the present embodiment is for realizing the transaction methods above-mentioned applied to agent side, therefore in agent side The visible transaction methods applied to agent side hereinbefore of specific embodiment embodiment part, for example, second connects Module is received, the first sending module is respectively used to realize step S501, S502 in above-mentioned transaction methods, so, it is specific real The mode of applying is referred to the description of corresponding various pieces embodiment, and details are not described herein.
A kind of request end provided by the embodiments of the present application is introduced below, a kind of request end described below with it is above-mentioned Embodiment provides any embodiment can be cross-referenced.
A kind of request end provided by the embodiments of the present application, specifically includes:
Second sending module, for sending the second transaction request to agent side, wherein second issued transaction is asked It asks including affairs to be processed, after the agent side is used to receive second transaction request, by second issued transaction The agent-side information of request and the agent side is sent to block chain node as the first transaction request;Wherein, the area Block chain node determines processing cost for handling the affairs to be processed;
Delivery module, for delivering the processing cost to the agent side;Wherein the processing cost is the agency The processing cost is deducted using the agent-side information in end.
The request end of the present embodiment is for realizing the transaction methods above-mentioned applied to request end, therefore in request end The visible transaction methods applied to request end hereinbefore of specific embodiment embodiment part, for example, second hair Module is sent, delivery module is respectively used to realize step S601, S602 in above-mentioned transaction methods, so, specific embodiment party Formula is referred to the description of corresponding various pieces embodiment, and details are not described herein.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (12)

1. a kind of transaction methods, which is characterized in that be applied to block chain node, comprising:
The first transaction request that Receiving Agent end is sent;Wherein, first transaction request include agent-side information, The affairs to be processed that request end is sent to the agent side;
The affairs to be processed are handled, and determine processing cost;
The processing cost is deducted using the agent-side information.
2. the method according to claim 1, wherein the agent-side information includes:
The digital signature of the agent side block chain address in the block chain network and the agent side.
3. method according to claim 1 or 2, which is characterized in that described to deduct the place using the agent-side information Reason expense, comprising:
The processing cost is deducted in the agent side using the agent-side information;Wherein, the agent side is used for described It settles accounts and obtains all processing costs paid out by the agent side in request end.
4. method according to claim 1 or 2, which is characterized in that first transaction request includes: the agency The affairs to be processed and request client information that client information, the request end are sent to the agent side;
It is then described to deduct the processing cost using the agent-side information, comprising:
The processing cost is deducted in the request end using the request client information;
Judge whether the processing cost all deducts;
If not, it is determined that do not deduct processing cost;
It is deducted using the agent-side information in the agent side and described does not deduct processing cost;Wherein, the agent side is used for It is settled accounts to the request end and obtains all processing costs paid out by the agent side.
5. according to the method described in claim 4, it is characterized in that, described handle the affairs to be processed, and determining handling With later, further includes:
Judge whether the token amount of the request end storage is greater than or equal to the processing cost;
If so, deducting the processing cost in the request end using the request client information;
If it is not, then executing described the step of deducting the processing cost using the agent-side information.
6. a kind of transaction methods, which is characterized in that be applied to agent side, comprising:
Receive the second transaction request sent by request end;Wherein, second transaction request includes thing to be processed Business;
Using the agent-side information of second transaction request and the agent side as the first transaction request, it is sent to Block chain node;Wherein, the block chain node is for handling the affairs to be processed, and determines processing cost, using described Agent-side information deducts the processing cost.
7. according to the method described in claim 6, it is characterized in that, the reception is asked by the second issued transaction that request end is sent It asks, comprising:
Whether the account and password that verifying is sent by the request end are correct;
If so, the second transaction request that record is sent by the request end.
8. a kind of transaction methods, which is characterized in that be applied to request end, comprising:
The second transaction request is sent to agent side, wherein second transaction request includes affairs to be processed, described After agent side is used to receive second transaction request, by the agency of second transaction request and the agent side Client information is sent to block chain node as the first transaction request;Wherein, the block chain node for handle it is described to Affairs are handled, and determine processing cost;
The processing cost is delivered to the agent side;Wherein the processing cost is that the agent side is believed using the agent side Breath deducts the processing cost.
9. according to the method described in claim 8, it is characterized in that, described deliver the processing cost, packet to the agent side It includes:
The processing cost is delivered to the agent side using default delivery rule.
10. a kind of block chain node characterized by comprising
First receiving module, the first transaction request sent for Receiving Agent end;Wherein, first issued transaction is asked Seek the affairs to be processed sent including agent-side information, request end to the agent side;
Processing module for handling the affairs to be processed, and determines processing cost;
Expense deduction module, for deducting the processing cost using the agent-side information.
11. a kind of agent side characterized by comprising
Second receiving module, for receiving the second transaction request sent by request end;Wherein, second issued transaction Request includes affairs to be processed;
First sending module, for using the agent-side information of second transaction request and the agent side as the first thing Business processing request, is sent to block chain node;Wherein, the block chain node is for handling the affairs to be processed, and determines Processing cost;The processing cost is deducted using the agent-side information.
12. a kind of request end characterized by comprising
Second sending module, for sending the second transaction request to agent side, wherein the second transaction request packet Affairs to be processed are included, after the agent side is used to receive second transaction request, by second transaction request Agent-side information with the agent side is sent to block chain node as the first transaction request;Wherein, the block chain Node determines processing cost for handling the affairs to be processed;
Delivery module, for delivering the processing cost to the agent side;Wherein the processing cost is the agent side benefit The processing cost is deducted with the agent-side information.
CN201810928423.8A 2018-08-15 2018-08-15 A kind of transaction methods and relevant apparatus Pending CN109144675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810928423.8A CN109144675A (en) 2018-08-15 2018-08-15 A kind of transaction methods and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810928423.8A CN109144675A (en) 2018-08-15 2018-08-15 A kind of transaction methods and relevant apparatus

Publications (1)

Publication Number Publication Date
CN109144675A true CN109144675A (en) 2019-01-04

Family

ID=64789500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810928423.8A Pending CN109144675A (en) 2018-08-15 2018-08-15 A kind of transaction methods and relevant apparatus

Country Status (1)

Country Link
CN (1) CN109144675A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401544A (en) * 2019-08-29 2019-11-01 北京艾摩瑞策科技有限公司 The allograph method and device thereof of the block chain private key of knowledge payment platform user
CN111178863A (en) * 2019-12-30 2020-05-19 百度在线网络技术(北京)有限公司 Transaction charging method, device, equipment and medium based on block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976232A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset transaction method and device
CN106204013A (en) * 2016-06-28 2016-12-07 韩斌 A kind of based on electric paying method and the system thereof of paying out business
CN107464106A (en) * 2017-07-25 2017-12-12 北京果仁宝科技有限公司 The method and system merchandised between block chain main chain and side chain
CN107862548A (en) * 2017-11-03 2018-03-30 国云科技股份有限公司 A kind of broad range of data sharing method based on block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976232A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset transaction method and device
CN106204013A (en) * 2016-06-28 2016-12-07 韩斌 A kind of based on electric paying method and the system thereof of paying out business
CN107464106A (en) * 2017-07-25 2017-12-12 北京果仁宝科技有限公司 The method and system merchandised between block chain main chain and side chain
CN107862548A (en) * 2017-11-03 2018-03-30 国云科技股份有限公司 A kind of broad range of data sharing method based on block chain

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401544A (en) * 2019-08-29 2019-11-01 北京艾摩瑞策科技有限公司 The allograph method and device thereof of the block chain private key of knowledge payment platform user
CN111178863A (en) * 2019-12-30 2020-05-19 百度在线网络技术(北京)有限公司 Transaction charging method, device, equipment and medium based on block chain
CN111178863B (en) * 2019-12-30 2023-09-15 百度在线网络技术(北京)有限公司 Transaction charging method, device, equipment and medium based on blockchain

Similar Documents

Publication Publication Date Title
KR101920015B1 (en) Method for managing token based on heterogeneous blockchains, and token management server using the same
CN110599323B (en) Resource processing method and processing equipment
US20020087483A1 (en) System, method and program for creating and distributing processes in a heterogeneous network
US20020087481A1 (en) System, method and program for enabling an electronic commerce heterogeneous network
CN110175913A (en) Data processing system, method, calculating equipment and storage medium based on block chain
JP5264510B2 (en) Method and system for billing an account
US20090198619A1 (en) Aggregated hash-chain micropayment system
CN109064167B (en) Data processing method and device based on block chain
US20020087881A1 (en) System, method and program for identifying and binding a process in a heterogeneous network
CN111815322B (en) Distributed payment method with selectable privacy service based on Ethernet
US7133842B2 (en) System, method and program for bidding for best solution process execution in a heterogeneous network
KR20030043786A (en) Network chat with integrated billing
JPH11504144A (en) Electronic money system
CN108510412A (en) Intellectual property transfer management method, electronic equipment and storage medium based on alliance's chain
JPH0981634A (en) Network charging method
US9015074B2 (en) Device and method for facilitating financial transactions
CN110335038A (en) A kind of gas pays out method
JP2004503018A (en) System and method for managing micropayment processing, and corresponding client terminal and retailer device
CN109144675A (en) A kind of transaction methods and relevant apparatus
CN110378693B (en) Distributed energy weak centralized transaction management system based on alliance block chain
WO2020143378A1 (en) Smart contract based collection method and system, and readable storage medium
US20020087473A1 (en) System, method and program for creating an authenticatable, non-repudiatable transactional identity in a heterogeneous network
JP2006221462A (en) Device for service user, device for service provider, device for charging management, network connection service system, and charging method in network connection service
CN111815444B (en) Block chain transaction method, electronic device and storage medium
WO2020162515A1 (en) Control method, server, and program

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

Application publication date: 20190104

RJ01 Rejection of invention patent application after publication