CN109377226A - A kind of Transaction Information management method and relevant device - Google Patents

A kind of Transaction Information management method and relevant device Download PDF

Info

Publication number
CN109377226A
CN109377226A CN201811278116.6A CN201811278116A CN109377226A CN 109377226 A CN109377226 A CN 109377226A CN 201811278116 A CN201811278116 A CN 201811278116A CN 109377226 A CN109377226 A CN 109377226A
Authority
CN
China
Prior art keywords
information
target information
cryptographic hash
user
transaction
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
CN201811278116.6A
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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201811278116.6A priority Critical patent/CN109377226A/en
Publication of CN109377226A publication Critical patent/CN109377226A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing

Abstract

The embodiment of the present application discloses a kind of Transaction Information management method and relevant device, for realizing the transaction response rate promoted in block catenary system.The embodiment of the present application method includes: in the present embodiment, and block chain node device obtains the Transaction Information of user;The Transaction Information is handled according to preset rules, obtains target information;Calculate the cryptographic Hash of the target information;The cryptographic Hash is fed back into the user, so that the user obtains the corresponding information of the cryptographic Hash according to the cryptographic Hash in block catenary system.Therefore, by the way that so that the user is subsequent can to obtain the corresponding information of the cryptographic Hash according to the cryptographic Hash in block catenary system, the purpose of the transaction response rate in block catenary system is promoted with realization in time to cryptographic Hash described in the user feedback.

Description

A kind of Transaction Information management method and relevant device
Technical field
This application involves block chain technical field more particularly to a kind of Transaction Information management method and relevant devices.
Background technique
Throughput (RPS, requests per second) is the quantificational description of server oncurrent processing ability, is referred to The number of request handled in some concurrent user number lower unit time.And in block chain, refer specifically to interior initiation transaction per second Number of requests, may be interpreted as block catenary system to the transaction response rate of the transaction request received.
In the prior art, after transaction request sending, transaction is packaged first, is signed later with private key, signed Information after name, which is sent in the trading pit of this node, carries out legitimacy verifies and sequence processing, after confirmation is successfully entered trading pit Just the cryptographic Hash of Transaction Information can be fed back to user.
However, the operation in trading pit is the transaction in order to make common recognition node optimal at present with correctly sequence execution, it is right It is not valuable for user.Spent time causes the RPS in block catenary system lower in trading pit.
Apply for content
The embodiment of the present application provides a kind of Transaction Information management method and relevant device, for realizing block linkwork is promoted Transaction response rate in system.
The embodiment of the present application first aspect provides a kind of Transaction Information management method, is applied to block chain node device, The described method includes:
Obtain the Transaction Information of user;
The Transaction Information is handled according to preset rules, obtains target information;
Calculate the cryptographic Hash of the target information;
The cryptographic Hash is fed back into the user, so that the user is according to the cryptographic Hash in block catenary system Obtain the corresponding information of the cryptographic Hash.
It is described to press based on the embodiment of the present application in a first aspect, in the first embodiment of the embodiment of the present application first aspect The Transaction Information is handled according to preset rules, target information is obtained, specifically includes:
The Transaction Information is packaged into structural body information, the structural body information includes signature field;
It signs to the structural body information, obtains signing messages;
The signing messages is added in the signature field of the structural body information, obtains the target information.
The first embodiment based on the embodiment of the present application first aspect or first aspect, the embodiment of the present application first aspect Second of embodiment in, after the cryptographic Hash for calculating the target information, the method also includes:
The target information is broadcasted to block catenary system the whole network;
Legitimacy verifies are carried out to the target information;
If legal, then the target information is packaged into block and be registered in block chain.
Second of embodiment based on the embodiment of the present application first aspect, the third reality of the embodiment of the present application first aspect It applies in example, it is described to broadcast the target information to block catenary system the whole network, it specifically includes:
Creation new thread broadcasts the target information to described block catenary system the whole network.
The third embodiment of second of embodiment or first aspect based on the embodiment of the present application first aspect, the application It is described to include: to target information progress legitimacy verifies in 4th kind of embodiment of embodiment first aspect
Whether correct verify the target information;
If so, confirming that the target information is legal.
The embodiment of the present application second aspect provides a kind of Transaction Information management system, is applied to block chain node device, The system comprises:
Acquiring unit, for obtaining the Transaction Information of user;
Processing unit obtains target information for handling according to preset rules the Transaction Information;
Computing unit, for calculating the cryptographic Hash of the target information;
Feedback unit, for the cryptographic Hash to be fed back to the user, so that the user is according to the cryptographic Hash The corresponding information of the cryptographic Hash is obtained in block catenary system.
Based on the embodiment of the present application second aspect, in the first embodiment of the embodiment of the present application second aspect, the place Reason unit is specifically used for:
The Transaction Information is packaged into structural body information;
It signs to the structural body information, obtains signing messages;
The signing messages is added in the signature field of the structural body information, obtains the target information.
The first embodiment based on the embodiment of the present application second aspect or second aspect, the embodiment of the present application second aspect Second of embodiment in, the system also includes:
Radio unit, for broadcasting the target information to block catenary system the whole network;
Verification unit, for carrying out legitimacy verifies to the target information;
Registration unit is encapsulated, for when the verification unit confirms that the target information is legal, then believing the target Breath is packaged into block and is registered in block chain.
Second of embodiment based on the embodiment of the present application second aspect, the third reality of the embodiment of the present application second aspect It applies in example, the radio unit is specifically used for:
Creation new thread broadcasts the target information to described block catenary system the whole network.
The third embodiment of second of embodiment or second aspect based on the embodiment of the present application second aspect, the application In 4th kind of embodiment of embodiment second aspect, the verification unit is specifically used for:
Whether correct verify the target information;
If so, confirming that the target information is legal.
The embodiment of the present application third aspect provides a kind of block chain node device, comprising:
Processor, memory, input-output equipment and bus;
The processor, memory, input-output equipment are connected with the bus respectively;
The processor is used to execute method as in the preceding embodiment.
The embodiment of the present application fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer journey Sequence, it is characterised in that: the step of method as in the preceding embodiment is realized when the computer program is executed by processor.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that in the present embodiment, obtains user's Transaction Information;The Transaction Information is handled according to preset rules, obtains target information;Calculate the Kazakhstan of the target information Uncommon value;The cryptographic Hash is fed back into the user, so that the user obtains in block catenary system according to the cryptographic Hash Take the corresponding information of the cryptographic Hash.Therefore, by time to cryptographic Hash described in the user feedback, so that the user is subsequent The corresponding information of the cryptographic Hash can be obtained in block catenary system according to the cryptographic Hash, promotes block catenary system to realize In transaction response rate purpose.
Detailed description of the invention
Fig. 1 is an a kind of schematic diagram of Transaction Information management method embodiment in the embodiment of the present application;
Fig. 2 is a kind of another schematic diagram of Transaction Information management method embodiment in the embodiment of the present application;
Fig. 3 is a kind of another schematic diagram of Transaction Information management method embodiment in the embodiment of the present application;
Fig. 4 is a kind of another schematic diagram of Transaction Information management method embodiment in the embodiment of the present application;
Fig. 5 is a kind of another schematic diagram of Transaction Information management method embodiment in the embodiment of the present application;
Fig. 6 is an a kind of schematic diagram of Transaction Information management system embodiment in the embodiment of the present application;
Fig. 7 is an a kind of schematic diagram of block chain node device in the embodiment of the present application.
Specific embodiment
The embodiment of the present application provides a kind of Transaction Information management method and relevant device, for realizing block linkwork is promoted Transaction response rate in system.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection It encloses.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing Four " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein or describing Sequence other than appearance is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that covering is non-exclusive Include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to clearly arrange Those of out step or unit, but may include be not clearly listed or it is solid for these process, methods, product or equipment The other step or units having.
Throughput (RPS, requests per second) is the quantificational description of server oncurrent processing ability, is referred to The number of request handled in some concurrent user number lower unit time.And in block chain, refer specifically to interior initiation transaction per second Number of requests, may be interpreted as block catenary system to the transaction response rate of the transaction request received.In the prior art, it is asked in transaction After asking sending, transaction is packaged first, is signed later with private key, the information after signature is sent to the transaction of this node Legitimacy verifies and sequence processing are carried out in pond, confirmation, which is successfully entered after trading pit, can just feed back to the cryptographic Hash of Transaction Information User.However, the operation in trading pit be in order to allow common recognition node to execute optimal transaction at present with correctly sequence, for It is not valuable for family.Spent time causes the RPS in block catenary system lower in trading pit.For this purpose, the application is implemented Example provides a kind of Transaction Information management method and relevant device, for realizing the transaction response rate promoted in block catenary system.
In order to make it easy to understand, the detailed process in the embodiment of the present application is described below, referring to Fig. 1, the application A kind of one embodiment of Transaction Information management method includes: in embodiment
101, the Transaction Information of user is obtained;
In the present embodiment, block chain node device obtains the Transaction Information of user.
Specifically, which can be user terminal, and Transaction Information treatment process is on the subscriber terminal It carries out, block chain node device directly receives the operational order of user herein, and determines user from the operational order of user Transaction Information;In addition, the acquisition process can be the user sent by receiving user terminal with block chain node device Transaction Information, the specific user terminal is one light node (client), the function of only submitting and inquire, all transaction letters Treatment process is ceased in the corresponding block chain node device of the light node.
Wherein, which can initiate to hand over by the either other interfaces of web3js, geth console Easily, specific restriction is not done herein.In addition, the Transaction Information specifically may include transaction initiator, recipient, gold of transferring accounts The one or more information such as volume, satellite information further includes the signing messages for having the user terminal, specially in Transaction Information The user terminal carries out Signature Confirmation to the Transaction Information using unique identity.
102, the Transaction Information is handled according to preset rules, obtains target information;
In the present embodiment, block chain node device is carried out according to the Transaction Information that preset rules acquire step 101 Processing generates target information.
Specifically, the transaction that user submits can be packaged into block catenary system and be used for general knowledge by block chain node device Other structural body form forms target information.Such as jsonTransact ion structural body, Txdata structural body are either other Structural body form, specifically herein without limitation.
103, the cryptographic Hash of the target information is calculated;
In the present embodiment, the target information that block chain node device generates step 102 does the calculating of cryptographic Hash, specifically Ground, the block chain node device calculate the cryptographic Hash of target information according to normal process.
104, the cryptographic Hash is fed back into the user, so that the user is according to the cryptographic Hash in block linkwork The corresponding information of the cryptographic Hash is obtained in system;
In the present embodiment, the cryptographic Hash being calculated in step 103 is fed back to the user by block chain node device, with So that the user obtains the corresponding information of the cryptographic Hash according to the cryptographic Hash in block catenary system
Specifically, which feeds back to use for the cryptographic Hash for the target information being calculated in step 103 Family, so that the user can be inquired in block catenary system by user terminal according to the cryptographic Hash of the target information Operation.Wherein, which uses the cryptographic Hash of target information by user terminal in subsequent operation is traded as inquiry As a result index, it can the corresponding transaction of the target information is checked in logining block catenary system with the cryptographic Hash of target information The transaction results of information.
In the present embodiment, due to progress information pre-processing and (step 102) of signing directly calculates (step 103) afterwards and will breathe out Uncommon value feeds back to user's (step 104), compared with prior art, need not move through pretreatment and sign after be first sent to trading pit into Row legitimacy verifies just with cochain and can return to the cumbersome procedures such as cryptographic Hash later via legitimacy verifies success.Therefore, so that User gets the cryptographic Hash faster, while also improving the system response efficiency of block chain.
It herein, can be straight by the process that cryptographic Hash feeds back to user when the block chain node device is user terminal It connects and shows the cryptographic Hash on the display interface of the user terminal, or be stored in predeterminated position in the form of document, may be used also To be other feedback systems, do not limit specifically herein.When the block chain node device is not user terminal, by Hash Value is sent to the corresponding user terminal of the user by way of communication, or through network address for example in the form of mail It is sent in the corresponding mailbox of the user, can also be other feedback forms, specifically herein without limitation.
In the present embodiment, the Transaction Information of user is obtained;The Transaction Information is handled according to preset rules, is obtained Target information;Calculate the cryptographic Hash of the target information;The cryptographic Hash is fed back into the user, so that user's root The corresponding information of the cryptographic Hash is obtained in block catenary system according to the cryptographic Hash.Therefore, by anti-to the user in time The cryptographic Hash is presented, so that the user is subsequent can to obtain the cryptographic Hash pair according to the cryptographic Hash in block catenary system The information answered, to realize the purpose for promoting the transaction response rate in block catenary system.
In the embodiment of the present application, based on embodiment described in Fig. 1, according to preset rules to the transaction in specific steps 102 Information is handled, obtain there are many modes of target information, is handled by Txdata structural body therein below Mode is introduced.Referring to Fig. 2, based on embodiment described in Fig. 1, a kind of Transaction Information management method in the embodiment of the present application In another embodiment, step 102 be can specifically include:
201, the Transaction Information is packaged into structural body information;
In the present embodiment, the Transaction Information is packaged into structural body information, the structural body letter by block chain node device Breath includes signature field.
Specifically, this sentences Txdata structural body as an example, and specific Txdata structural body content is as shown in table 1. Wherein, the field not provided uses default value.
Table 1
In table 1, V, R, S field are reserved signature field, subsequent to be packed into signing messages in the field.
202, it signs to the structural body information, obtains signing messages;
In the present embodiment, which signs to the structural body information acquired in step 201, obtains To signing messages.
Specifically, signature is signed using the private key of user.Private key is stored in the wallet of user.It is initiated in user Before transaction, user's unlocking account is needed, private key can be got by inputting wallet address and password, program, later just using private Key is signed.Two kinds of situations of block chain node device in the present embodiment are corresponded to, signature process is as follows:
As soon as one, user terminal itself is a block chain node device, then user passes through unlock account before initiating transaction Family obtains private key, and after initiating transaction, user terminal uses private key to sign after carrying out structuring processing to Transaction Information, Obtain signing messages;
Two, user terminal is a light node: after then user initiates logging request using user terminal, from corresponding block Log-on message is obtained in chain node device and initiates to trade, and corresponding block chain node device is in the unlocking account letter for obtaining user After breath, the private key of user is got.After block chain node device carries out structuring processing to the information of user, using getting Private key sign to Transaction Information, obtain signing messages.
203, the signing messages is added in the signature field of the structural body information, obtains the target information.
In the present embodiment, the signing messages acquired in step 202 is added in step 201 by block chain node device In the signature field of obtained structural body information, target information is obtained.
In the present embodiment, specifically the Transaction Information is handled according to preset rules in step 102, obtain target The process of information is further described, and herein, by Information encapsulation and data signature, can improve data realizing Efficiency of transmission while, further improve the safety of data.
In the embodiment of the present application, based on embodiment described in Fig. 1 or Fig. 2, the target information specifically is calculated in step 103 After cryptographic Hash, which can carry out the whole network broadcast for target information, so that using block catenary system The characteristic that data can not distort protects the target information.Below referring to Fig. 3, based on embodiment described in Fig. 1 or Fig. 2, In the embodiment of the present application in a kind of another embodiment of Transaction Information management method, after step 103, can also include:
301, the target information is broadcasted to block catenary system the whole network;
In the present embodiment, block chain node device registers the target information into the block catenary system and the whole network is wide It broadcasts, uses so that the user uses the cryptographic Hash of target information by user terminal in subsequent operation to be traded as inquiry As a result index, it can the corresponding transaction of the target information is checked in logining block catenary system with the cryptographic Hash of target information The transaction results of information.
302, legitimacy verifies are carried out to the target information;
In the present embodiment, which carries out legitimacy verifies to the target information.
303, if legal, then the target information is packaged into block and be registered in block chain.
In the present embodiment, when block chain node device confirms that the legitimacy verifies pass through, then by the target information It is packaged into block and is registered in block chain.
Specifically, then target information is packaged into block and be registered in block chain be specifically included in it is right in the trading pit The Transaction Information executes sequence uplink operation.First line of a couplet operation, which can specifically include, send target information into trading pit, updates Relevant account balance information etc., after being ranked up later with other similar target information, according to the common recognition mechanism of block chain Multiple target informations are packaged into block and are registered in block chain, to complete the process of cochain.
In the present embodiment, the upper chain process of step 301 to 303 executes after step 103, i.e. execution step 103 calculates Step 301 is executed in the present embodiment after the cryptographic Hash of the target information to 303.Wherein, step 104 is anti-by the cryptographic Hash Being fed to the user can be with step 301 to 303 synchronous progress, i.e., block chain node device is synchronous executes step 104 and step 301 to 303;It is particularly used for carrying out legitimacy verifies to target information by step 301 in this present embodiment to 303, herein The timing that can also be executed to step further limits, that is, is limited to execution step 104 for the cryptographic Hash and feeds back to the use Family obtains the feedback information that user acknowledges receipt of and then executes the upper chain process of step 301 to 303, so as to ensure this User has just acquired the cryptographic Hash before completing upper chain process, and can be used the cryptographic Hash straight after upper chain process Tap into the operation such as row relevant inquiring, data acquisition.
It, compared with prior art, specifically can be to step 301 by institute based on embodiment described in Fig. 3 in the embodiment of the present application State target information registered into the block catenary system and the whole network broadcast improve.Below referring to Fig. 4, based on described in Fig. 3 Embodiment, in the embodiment of the present application in a kind of another embodiment of Transaction Information management method, step 301 specifically be can wrap It includes:
401, creation new thread broadcasts the target information to described block catenary system the whole network.
In the present embodiment, block chain node device creates new thread first, later believes the target in the new thread Cease registration and the whole network broadcast into the block catenary system.
Specifically, a corresponding new thread of transaction or the corresponding new thread of multiple transaction.Herein with The prior art is compared, and the prior art is registration and the whole network broadcast into block catenary system on the thread of original transaction, and this reality It applies in example and carries out the operation by newly creating a new thread, to more optimize to scheme, improve the transmission of target information Efficiency.
In the embodiment of the present application, based on embodiment described in Fig. 3 or Fig. 4, specifically the target information is carried out in step 302 In legitimacy verifies, the legitimacy verifies process will be described in detail below.Below referring to Fig. 5, being based on Fig. 3 or figure 4 embodiments, in the embodiment of the present application in a kind of another embodiment of Transaction Information management method, step 302 is to described Target information carries out legitimacy verifies
501, whether correct the target information is verified;
502, if so, confirming that the target information is legal.
In the present embodiment, whether which judges the target information correct, if so, confirming the conjunction Method verification passes through.
Specifically, a node of the block chain node device as access block catenary system, available block chain The information shared in system directly can judge whether the target information is correct by itself progress operation on this basis, Whether in the block catenary system preset intelligence contract either other trading rules are met.Wherein, specific deterministic process It may include judging account trading initiation number, remaining sum, additional information size, whether signature result is correct or others are believed Breath, if judgement meets preset rules, then the legitimacy verifies in verification step 302 pass through.
In addition to this, which can also receive what other node devices in the block catenary system were sent Broadcast message then confirms that the legitimacy verifies pass through when the broadcast message indicates that the target information is correct.Specifically Ground, this judgment mode can save the computational load of the block chain node device itself, i.e., with other sections in block catenary system On the basis of the broadcast message of point device to determine whether by legitimacy verifies, when the broadcast message indicates the target information When correct, then confirm that the legitimacy verifies pass through.
In the embodiment of the present application, other than above-mentioned judgment mode, it is legal in other judgment steps 302 to have Property verification whether pass through, details are not described herein again.In addition, can be used alone one of judgement in the practical application of scheme Whether mode, the legitimacy verifies for being also possible to come in Comprehensive Assessment step 302 in conjunction with a variety of judgment modes pass through.
The method part in the embodiment of the present application is described above, below from the angle of virtual bench to the application Embodiment is illustrated.
Referring to Fig. 6, a kind of one embodiment of Transaction Information management system includes: in the embodiment of the present application
Acquiring unit 601, for obtaining the Transaction Information of user;
Processing unit 602 obtains target information for handling according to preset rules the Transaction Information;
Computing unit 603, for calculating the cryptographic Hash of the target information;
Feedback unit 604, for the cryptographic Hash to be fed back to the user, so that the user is according to the Hash Value obtains the corresponding information of the cryptographic Hash in block catenary system.
In the present embodiment, acquiring unit 601, for obtaining the Transaction Information of user;Processing unit 602, for according to pre- If rule handles the Transaction Information, target information is obtained;Computing unit 603, for calculating the target information Cryptographic Hash;Feedback unit 604, for the cryptographic Hash to be fed back to the user, so that the user is according to the Hash Value obtains the corresponding information of the cryptographic Hash in block catenary system.Therefore, by time to Hash described in the user feedback Value, so that the user is subsequent can to obtain the corresponding information of the cryptographic Hash according to the cryptographic Hash in block catenary system, To realize the purpose for promoting the transaction response rate in block catenary system.
As a preferred embodiment, the processing unit specific 602 is used for:
The Transaction Information is packaged into structural body information;
It signs to the structural body information, obtains signing messages;
The signing messages is added in the signature field of the structural body information, obtains the target information.
As a preferred embodiment, the system also includes:
Radio unit 605, for broadcasting the target information to block catenary system the whole network;
Verification unit 606, for carrying out legitimacy verifies to the target information;
Registration unit 607 is encapsulated, is used for when the verification unit confirms that the target information is legal, then by the target Information encapsulation is at block and is registered in block chain.
As a preferred embodiment, the radio unit 605 is specifically used for:
Creation new thread broadcasts the target information to described block catenary system the whole network.
As a preferred embodiment, the verification unit 606 is specifically used for:
Whether correct verify the target information;
If so, confirming that the target information is legal.
The block chain node device in the embodiment of the present application is described from the angle of entity apparatus below, please refers to figure 7, one embodiment of block chain node device includes: in the embodiment of the present application
The block chain node device 700 can generate bigger difference because configuration or performance are different, may include one Or more than one central processing unit (central processing units, CPU) 701 is (for example, one or more are handled Device) and memory 705, one or more application program or data are stored in the memory 705.
Wherein, memory 705 can be volatile storage or persistent storage.The program for being stored in memory 705 can wrap One or more modules are included, each module may include to the series of instructions operation in server.Further, in Central processor 701 can be set to communicate with memory 705, and a series of fingers in memory 705 are executed on intelligent terminal 700 Enable operation.
The block chain node device 700 can also include one or more power supplys 702, one or more are wired Or radio network interface 703, one or more input/output interfaces 704, and/or, one or more operating systems, Such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Processor 701 is specifically used for executing following steps:
Obtain the Transaction Information of user;
The Transaction Information is handled according to preset rules, obtains target information;
Calculate the cryptographic Hash of the target information;
The cryptographic Hash is fed back into the user, so that the user is according to the cryptographic Hash in block catenary system Obtain the corresponding information of the cryptographic Hash.
It is described that the Transaction Information is handled according to preset rules as a preferred embodiment, target information is obtained, It specifically includes:
The Transaction Information is packaged into structural body information, the structural body information includes signature field;
It signs to the structural body information, obtains signing messages;
The signing messages is added in the signature field of the structural body information, obtains the target information.
As a preferred embodiment, after the cryptographic Hash for calculating the target information, the method also includes:
The target information is broadcasted to block catenary system the whole network;
Legitimacy verifies are carried out to the target information;
If legal, then the target information is packaged into block and be registered in block chain.
It is described to broadcast the target information to block catenary system the whole network as a preferred embodiment, it specifically includes:
Creation new thread broadcasts the target information to described block catenary system the whole network.
It is described to include: to target information progress legitimacy verifies as a preferred embodiment
Whether correct verify the target information;
If so, confirming that the target information is legal.
It is understood that the size of the serial number of above steps is not meant in the various embodiments of the application Execution sequence it is successive, the execution of each step sequence should be determined by its function and internal logic, without coping with the embodiment of the present application Implementation process constitute any restriction.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, 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 unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of Transaction Information management method, which is characterized in that be applied to block chain node device, which comprises
Obtain the Transaction Information of user;
The Transaction Information is handled according to preset rules, obtains target information;
Calculate the cryptographic Hash of the target information;
The cryptographic Hash is fed back into the user, so that the user obtains in block catenary system according to the cryptographic Hash The corresponding information of the cryptographic Hash.
2. the method according to claim 1, wherein it is described according to preset rules to the Transaction Information at Reason, obtains target information, specifically includes:
The Transaction Information is packaged into structural body information, the structural body information includes signature field;
It signs to the structural body information, obtains signing messages;
The signing messages is added in the signature field of the structural body information, obtains the target information.
3. method according to claim 1 or 2, which is characterized in that the cryptographic Hash for calculating the target information it Afterwards, the method also includes:
The target information is broadcasted to block catenary system the whole network;
Legitimacy verifies are carried out to the target information;
If legal, then the target information is packaged into block and be registered in block chain.
4. according to the method described in claim 3, it is characterized in that, described that the target information is wide to block catenary system the whole network It broadcasts, specifically includes:
Creation new thread broadcasts the target information to described block catenary system the whole network.
5. according to the method described in claim 4, it is characterized in that, described carry out legitimacy verifies packet to the target information It includes:
Whether correct verify the target information;
If so, confirming that the target information is legal.
6. a kind of Transaction Information management system, which is characterized in that it is applied to block chain node device, the system comprises:
Acquiring unit, for obtaining the Transaction Information of user;
Processing unit obtains target information for handling according to preset rules the Transaction Information;
Computing unit, for calculating the cryptographic Hash of the target information;
Feedback unit, for the cryptographic Hash to be fed back to the user, so that the user is according to the cryptographic Hash in area The corresponding information of the cryptographic Hash is obtained in block catenary system.
7. system according to claim 6, which is characterized in that the processing unit is specifically used for:
The Transaction Information is packaged into structural body information;
It signs to the structural body information, obtains signing messages;
The signing messages is added in the signature field of the structural body information, obtains the target information.
8. system according to claim 6 or 7, which is characterized in that the system also includes:
Radio unit, for broadcasting the target information to block catenary system the whole network;
Verification unit, for carrying out legitimacy verifies to the target information;
Registration unit is encapsulated, for when the verification unit confirms that the target information is legal, then sealing the target information It dresses up block and is registered in block chain.
9. a kind of block chain node device characterized by comprising
Processor, memory, input-output equipment and bus;
The processor, memory, input-output equipment are connected with the bus respectively;
The processor is for executing such as method described in any one of claim 1 to 5.
10. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that: the computer program It is realized when being executed by processor such as the step of any one of claim 1 to 5 the method.
CN201811278116.6A 2018-10-30 2018-10-30 A kind of Transaction Information management method and relevant device Pending CN109377226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811278116.6A CN109377226A (en) 2018-10-30 2018-10-30 A kind of Transaction Information management method and relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811278116.6A CN109377226A (en) 2018-10-30 2018-10-30 A kind of Transaction Information management method and relevant device

Publications (1)

Publication Number Publication Date
CN109377226A true CN109377226A (en) 2019-02-22

Family

ID=65390727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811278116.6A Pending CN109377226A (en) 2018-10-30 2018-10-30 A kind of Transaction Information management method and relevant device

Country Status (1)

Country Link
CN (1) CN109377226A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263035A (en) * 2019-05-31 2019-09-20 阿里巴巴集团控股有限公司 Data storage, querying method and device and electronic equipment based on block chain
CN110288477A (en) * 2019-06-26 2019-09-27 深圳市元征科技股份有限公司 A kind of block chain transaction data processing method and relevant device
CN110458567A (en) * 2019-08-23 2019-11-15 广东工业大学 A kind of object trading management system and method based on block chain
CN110990410A (en) * 2019-09-20 2020-04-10 腾讯科技(深圳)有限公司 Information searching method and device in block chain, storage medium and computer equipment
CN111415252A (en) * 2020-01-23 2020-07-14 众安信息技术服务有限公司 Privacy transaction processing method and device based on block chain
CN111488347A (en) * 2020-04-08 2020-08-04 北京瑞策科技有限公司 Data query method and device based on service data block chain
WO2020211497A1 (en) * 2019-04-18 2020-10-22 创新先进技术有限公司 Method, system, apparatus and device for storing personal asset change record
CN112307445A (en) * 2020-09-30 2021-02-02 深圳百纳维科技有限公司 Identity management method and device based on block chain
CN112907247A (en) * 2021-03-18 2021-06-04 上海能链众合科技有限公司 Block chain authorization calculation control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968507A (en) * 2012-12-14 2013-03-13 中国银行股份有限公司 Cache table based data query method
CN106934619A (en) * 2017-03-13 2017-07-07 杭州复杂美科技有限公司 A kind of method and system of transaction record
CN108540484A (en) * 2018-04-23 2018-09-14 北京云图科瑞科技有限公司 A kind of method of commerce, apparatus and system based on block chain
CN108615148A (en) * 2018-03-26 2018-10-02 北交金科金融信息服务有限公司 A kind of preposition method of commerce of secured assets and system based on block chain technology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968507A (en) * 2012-12-14 2013-03-13 中国银行股份有限公司 Cache table based data query method
CN106934619A (en) * 2017-03-13 2017-07-07 杭州复杂美科技有限公司 A kind of method and system of transaction record
CN108615148A (en) * 2018-03-26 2018-10-02 北交金科金融信息服务有限公司 A kind of preposition method of commerce of secured assets and system based on block chain technology
CN108540484A (en) * 2018-04-23 2018-09-14 北京云图科瑞科技有限公司 A kind of method of commerce, apparatus and system based on block chain

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020211497A1 (en) * 2019-04-18 2020-10-22 创新先进技术有限公司 Method, system, apparatus and device for storing personal asset change record
CN110263035A (en) * 2019-05-31 2019-09-20 阿里巴巴集团控股有限公司 Data storage, querying method and device and electronic equipment based on block chain
CN110263035B (en) * 2019-05-31 2023-10-27 创新先进技术有限公司 Block chain-based data storage and query method and device and electronic equipment
CN110288477A (en) * 2019-06-26 2019-09-27 深圳市元征科技股份有限公司 A kind of block chain transaction data processing method and relevant device
CN110458567A (en) * 2019-08-23 2019-11-15 广东工业大学 A kind of object trading management system and method based on block chain
CN110990410A (en) * 2019-09-20 2020-04-10 腾讯科技(深圳)有限公司 Information searching method and device in block chain, storage medium and computer equipment
CN110990410B (en) * 2019-09-20 2021-09-17 腾讯科技(深圳)有限公司 Information searching method and device in block chain, storage medium and computer equipment
CN111415252A (en) * 2020-01-23 2020-07-14 众安信息技术服务有限公司 Privacy transaction processing method and device based on block chain
CN111488347A (en) * 2020-04-08 2020-08-04 北京瑞策科技有限公司 Data query method and device based on service data block chain
CN112307445A (en) * 2020-09-30 2021-02-02 深圳百纳维科技有限公司 Identity management method and device based on block chain
CN112307445B (en) * 2020-09-30 2021-08-10 深圳百纳维科技有限公司 Identity management method and device based on block chain
CN112907247A (en) * 2021-03-18 2021-06-04 上海能链众合科技有限公司 Block chain authorization calculation control method
CN112907247B (en) * 2021-03-18 2024-01-26 上海零数众合信息科技有限公司 Block chain authorization calculation control method

Similar Documents

Publication Publication Date Title
CN109377226A (en) A kind of Transaction Information management method and relevant device
CN106161372B (en) A kind of Risk Identification Method and device based on address matching
CN106779716B (en) Authentication method, device and system based on block chain account address
CN105376220A (en) Service implementation method and system and server
CN110458559A (en) Transaction data processing method, device, server and storage medium
CN106549925A (en) Prevent method, the apparatus and system of cross-site request forgery
CN107481011A (en) A kind of transaction rapid acknowledgment method based on license chain
CN104767714A (en) Method, terminal and system for associating user resource information
CN110232265A (en) Dual-identity authentication method, apparatus and system
CN103095666A (en) Third-party application processing method and device
CN110569127B (en) Virtual resource transferring, sending and obtaining method and device
CN106375444B (en) A kind of data processing method and cloud platform server
CN114024723B (en) Online signing method and device based on ESOP system, equipment and medium
CN105631673A (en) Cloud payment method, payment terminal, cloud payment platform and cloud payment system
US20070005602A1 (en) Method, electronic device and computer program product for identifying entities based upon innate knowledge
CN110929237A (en) Identity verification system, method and device and information verification system
CN105871784A (en) Information change processing method and device
CN109005187A (en) A kind of communication information guard method and device
CN111275417A (en) Transaction endorsement processing method, server and computer readable storage medium
CN111681009B (en) Multi-platform centralized authentication and authorization system and method, authentication and authorization and service device
CN107844696A (en) A kind of identifying code interference method and server
CN110493349B (en) Mobile processing method and device for service
CN109377366A (en) Logical card processing method, device and storage medium based on block chain
US20210304884A1 (en) Medical data processing method, cluster processing system and method thereof
CN108848172A (en) A kind of document transmission method and system

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: 20190222