CN108920257A - Transaction methods, device, equipment and storage medium - Google Patents

Transaction methods, device, equipment and storage medium Download PDF

Info

Publication number
CN108920257A
CN108920257A CN201810661718.3A CN201810661718A CN108920257A CN 108920257 A CN108920257 A CN 108920257A CN 201810661718 A CN201810661718 A CN 201810661718A CN 108920257 A CN108920257 A CN 108920257A
Authority
CN
China
Prior art keywords
block
node
transaction status
party application
status data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810661718.3A
Other languages
Chinese (zh)
Other versions
CN108920257B (en
Inventor
郑伟德
潘晓雷
吕恩茂
邢宝平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810661718.3A priority Critical patent/CN108920257B/en
Publication of CN108920257A publication Critical patent/CN108920257A/en
Application granted granted Critical
Publication of CN108920257B publication Critical patent/CN108920257B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The embodiment of the invention discloses a kind of transaction methods, device, equipment and storage mediums.Wherein, this method is executed by the node in block catenary system, and this method includes:Obtain the transaction status data of third-party application;Block into block catenary system generates node and sends the transaction status data, so that the block is generated node and the transaction status data are written in block chain.Technical solution provided in an embodiment of the present invention, since transaction status data are stored in block chain, be for third-party application and platform side it is transparent, can not distort, the accuracy and public credibility of Transaction Information are improved, and then improves the accuracy of third-party application checkout result.

Description

Transaction methods, device, equipment and storage medium
Technical field
The present embodiments relate to block chain technical field more particularly to a kind of transaction methods, device, equipment and deposit Storage media.
Background technique
In certain Internet application scenes, common platform has been opened to the outside world the ability to pay of Collection and Payment On Behalf, is incorporated more Kind channel of disbursement.Third-party application provides a user content service by common platform, and ordinary user can be by platform to Tripartite carrys out the content service provided using third-party application using payment expense.
The treatment process for relying on common platform at present is as follows:Third-party application needs to initiate order to be paid, and platform side exists User, which pays, to complete, and notifies payment result to third-party application, and when reaching the settlement time of third-party application, platform side is to the The order of tripartite's application is settled accounts and checkout result is informed third-party application.
However, the checkout result of affairs is subject to platform and is recorded at present, there may be dispute.It is notified if there is platform Developer's order is paid successfully, but does not charge to this order in final settlement records, then third-party application needs to retain at that time Log, and third-party application to platform side initiate put to the proof and arbitration process it is comparatively laborious.Also, settling accounts contract is also to deposit Storage is opaque to third-party application in platform side.
Summary of the invention
The embodiment of the invention provides a kind of transaction method, device, equipment and storage mediums, and Transaction Information can be improved Accuracy and public credibility.
In a first aspect, executed the embodiment of the invention provides a kind of transaction methods by the node in block catenary system, This method includes:
Obtain the transaction status data of third-party application;
Block into block catenary system generates node and sends the transaction status data, and so that the block is generated node will In the transaction status data write-in block chain.
Second aspect, the embodiment of the invention also provides a kind of transacter, the section being configured in block catenary system In point, which includes:
Data acquisition module, for obtaining the transaction status data of third-party application;
Data transmission blocks generate node for the block into block catenary system and send the transaction status data, make The block generates node and the transaction status data is written in block chain.
The third aspect, the embodiment of the invention also provides a kind of equipment, which includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes any transaction methods in first aspect.
Fourth aspect, the embodiment of the invention also provides a kind of storage mediums, are stored thereon with computer program, the program Any transaction methods in first aspect are realized when being executed by processor.
Technical solution provided in an embodiment of the present invention, third-party application node or platform side's node in block catenary system exist After getting the transaction status data of third-party application, which is sent to the block in block catenary system and is generated Node makes block generate node and the transaction status data is written in block chain.Since transaction status data are stored in block In chain, be for third-party application and platform side it is transparent, can not distort, improve Transaction Information accuracy and public letter Power, and then improve the accuracy of third-party application checkout result.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the transaction methods provided in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of the transaction methods provided in the embodiment of the present invention two;
Fig. 3 is a kind of flow chart of the transaction methods provided in the embodiment of the present invention three;
Fig. 4 is a kind of structural block diagram of the transacter provided in the embodiment of the present invention four;
Fig. 5 is a kind of structural schematic diagram of the equipment provided in the embodiment of the present invention five.
Specific embodiment
The embodiment of the present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this Locate described specific embodiment and is used only for explaining the embodiment of the present invention, rather than limitation of the invention.It further needs exist for Bright, only parts related to embodiments of the present invention are shown for ease of description, in attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart of a kind of transaction methods that the embodiment of the present invention one provides, this implementation is by block chain technology It is applied in the scene that third-party application is interacted with common platform side, the clearing knot of the Transaction Information for solving third-party application Fruit be only subject to common platform side record, and clearing contract be merely stored in common platform side, lead to the clearing knot of Transaction Information Fruit and clearing contract have the problems such as accuracy and low public credibility.The present embodiment is suitable for publicly-owned chain or alliance's chain block Chain.The scheme of the embodiment of the present invention is applied to the node in block catenary system, which can be third-party application node or flat Platform side's node, wherein it is configured with third-party application client and block chain applications client in third-party application node, one the Tripartite's application node can be used for multiple third-party application accounts;Block chain application client is also configured in platform side's node End.It should be noted that can have a kind of platform side's node in block catenary system, it can also be there are many platform side's node.It is different The service function that platform side's node is realized is different.This method can be held by transacter provided in an embodiment of the present invention Row, the mode which can be used software and/or hardware are realized, and can be integrated in the calculating equipment of carrying block catenary system node In.Referring to Fig. 1, this method is specifically included:
S110 obtains the transaction status data of third-party application.
Wherein, third-party application refers to the content provider that content service is provided a user by common platform, such as bear's paw Number developer of platform or the public platform of wechat platform.Transaction status data can be the affairs that third-party application is initiated and submit Request is in the status data in each stage.Optionally, if it is order request to be paid that affairs, which submit request, corresponding affairs shape State data can include but is not limited to order and generate data, order processing data and order completion data etc..
Specifically, third-party application, which initiates affairs to platform side, submits request, platform side is according to user to thing on platform The operational circumstances of request are submitted in business, to third-party application feedback operation result.Therefore, localized nodes can obtain third party in real time The affairs of application submit the result etc. of request and platform side's feedback.It is answered it should be noted that localized nodes can be third party With node or platform side's node.
Illustratively, the transaction status data for obtaining third-party application may include:Obtain the third in block catenary system The affairs to be processed that Fang Yingyong is initiated;And/or obtain the affairs shape for the third-party application that the platform side in block catenary system is sent State changes data.
Wherein, affairs to be processed can be order, transaction to be processed and inquiry to be processed to be processed etc.;Transaction status becomes More data refer to the changed data of transaction status data, as pay status adjusts data.Optionally, in the present embodiment, to Processing affairs are orders to be processed, and transaction status change data include pay status, order reimbursement, order is completed and order is returned goods At least one of order pay status data.
Wherein, pay status may include in not paying, paying, pay failure and payment completion etc.;Order reimbursement can be with It is that user first pays the bill but third-party application is not provided and serviced provided by service, third-party application with the amount of money of user's payment not The decline of service charge needed for symbol, third-party application or user's institute's payment amount are more than in payment amount of third-party application setting etc. It is generated under either case;Order completion refers to that transaction terminates, i.e., user completes payment and third-party application is also provided to user Corresponding service;The order return of goods can service produced when being expected not being inconsistent with user provided by third-party application.
Specifically, third-party application node can obtain in the following way if localized nodes are third-party application nodes Transaction status data:Third-party application node itself obtain that any third-party application that it is supported initiates to platform side to Handle affairs;The transaction status of the third-party application sent by platform side's node belonging to receiving platform side changes data.This It outside, can be from any node in block catenary system or the block of itself if transaction status data are stored in block chain It is obtained in chain.
Corresponding, if localized nodes are platform side's nodes, platform side's node can obtain transaction status in the following way Data:Receive the affairs to be processed that any third-party application that third-party application node is sent is initiated;Platform side's node is from certainly The transaction status for the third-party application that body obtains changes data;It, can be in addition, if transaction status data are stored in block chain It is obtained from any node in block catenary system or in the block chain of itself.
S120, the block into block catenary system generate node and send transaction status data, and block is made to generate node for thing It is engaged in status data write-in block chain.
Specific operation can be, after localized nodes get the transaction status data of third-party application, by the affairs shape State data be transmitted to the block in block catenary system generate node so that block generate node to the transaction status data at It manages and is stored in block chain.It is also possible to which transaction status data to be sent to other nodes in block catenary system.
Illustratively, the block into block catenary system generates node and sends transaction status data, and block is made to generate node After transaction status data are written in block chain, can also include:Receive the transaction status data that block generates node feeding back The block address being stored in block chain.
Specifically, after localized nodes receive the block address thing can be inquired in block chain according to block address at any time Business status data, further ensures the accuracy of transaction status data.
Technical solution provided in an embodiment of the present invention, third-party application node or platform side's node in block catenary system exist After getting the transaction status data of third-party application, which is sent to the block in block catenary system and is generated Node makes block generate node and the transaction status data is written in block chain.Since transaction status data are stored in block In chain, be for third-party application and platform side it is transparent, can not distort, improve Transaction Information accuracy and public letter Power, and then improve the accuracy of third-party application checkout result.
Embodiment two
Fig. 2 is a kind of flow chart of transaction methods provided by Embodiment 2 of the present invention, and the present embodiment is in above-mentioned implementation It is further to optimize on the basis of example one.Referring to fig. 2, this method specifically includes:
S210 obtains the transaction status data of third-party application.
S220, the block into block catenary system generate node and send transaction status data, and block is made to generate node for thing It is engaged in status data write-in block chain.
S230 generates node to block and sends transaction status inquiry request.
Wherein, transaction status inquiry request is used to indicate block generation node and searches in block chain and transaction status inquiry Request associated transaction status data.Optionally, may include in transaction status inquiry request:Third-party application mark, user Mark, affairs ID or block address etc..Wherein, third-party application mark refers to the identity mark for unique identification third-party application Will, such as the public key, ID or icon that can be third-party application etc.;The mark of user can be resource owner user name, Account, ID or cell-phone number etc..
It should be noted that different third-party applications corresponds to different transaction status data;Same third-party application to Different user provides service, and corresponding transaction status data are also different;Block address may include store transaction status data The id of the byte offsets that block id and transaction status data store in block, block is used for unique identification's block, can To be block height;Byte offsets are the inclined of position in block where referring to that a certain transaction status data are accurately positioned Shifting amount.
Specifically, localized nodes when put to the proof or do not accept to checkout result, can generate node to block Transaction status inquiry request is sent, affairs shape can also be sent by the arbitrary node of other store transaction status datas into block chain State inquiry request.
It is corresponding, after block generation node receives transaction status inquiry request, it can identify and use with third-party application Family is identified as keyword, and transaction status data associated with transaction status inquiry request are searched in block chain.It can also be straight It connects and inquires transaction status associated with transaction status inquiry request according to the block address for including in transaction status inquiry request Data.
S240 receives the transaction status data that block generates node checks.
Specifically, after block generates querying node to transaction status data associated with transaction status inquiry request, Transaction status data are fed back to localized nodes.
Technical solution provided in an embodiment of the present invention, since transaction status data being stored in block chain, for Tripartite apply and platform side be it is transparent, can not distort, third-party application node or platform side's node in block catenary system When being put to the proof or settle accounts etc., node transmission transaction status inquiry request can be generated to block and is inquired.It ensure that The accuracy and public credibility of Transaction Information, and then improve the accuracy of third-party application checkout result.
Embodiment three
Fig. 3 is a kind of flow chart for transaction methods that the embodiment of the present invention three provides, and the present embodiment is in above-mentioned implementation It is further to optimize on the basis of example.Referring to Fig. 3, this method is specifically included:
S310 obtains the transaction status data of third-party application.
S320, the block into block catenary system generate node and send transaction status data, and block is made to generate node for thing It is engaged in status data write-in block chain.
S330 generates the clearing contract that node sends third-party application and platform side concludes to block, block is made to generate section Clearing contract is written in block chain point.
Wherein, the electronics for safeguarding common interest that clearing contract refers to that third-party application and platform side are signed closes Together, may include:The rate and single that third-party application mark, platform side's mark, billing cycle, platform side collect are collected the charges Deng.Rate that billing cycle different platform side collects is different, the rate collected such as platform side can include but is not limited to a day rate, All rates, moon rate and annual rate etc..Single collection of charges refers to that third-party application initiates primary affairs to be processed to platform side The expense that need to be paid to platform side when completion.
Specific operation can be, and after the clearing contract concluded when third-party application and platform side, localized nodes are by the knot It calculates contract and is transmitted to the generation node of the block in block catenary system, so that block generates node and handled simultaneously the clearing contract It is stored in block chain.Meanwhile clearing contract can also be sent to other nodes in block catenary system.
In the present embodiment, since clearing contract is stored in block chain, platform side and third-party application can settled accounts When period reaches, self-clearing is avoided and is only settled accounts by platform side, and the accuracy and public credibility of caused checkout result are low The problem of.
Illustratively, if any one of clearing contract that the third-party application stored on localized nodes and platform side conclude hair It is raw to update, then node is generated to block send the clearing contract updated.
It should be noted that the step S320 and S330 in the present embodiment do not have successive point, the two can also be performed simultaneously.
S340 generates node to block and sends the settlement request including the period to be verified.
Wherein, settlement request is used to indicate block generation node and obtains third-party application from block chain in the time to be verified Transaction status data in section, and generated according to the rate that platform side in the transaction status data of acquisition and clearing contract collects Checkout result.Settlement request may include period, third-party application mark and platform side's mark to be verified etc..
Period to be verified refers to that third-party application deposits the checkout result in certain time period with either one in platform side In doubt, using the period as period to be verified, such as a week, one month or 1 year;Checkout result is flat Platform side how much amount of money should be turned to third-party application.
Specifically, if localized nodes are third-party application node, in order to ensure the interests of third-party application, when third party answers With the clearing to the checkout result in a certain billing cycle in platform side there are doubt or third-party application in a certain billing cycle As a result when checkout result difference with platform side, it includes the time to be verified that third-party application node, which will generate node to block and send, The settlement request of section.
Alternatively, when platform side, discovery third-party application does not abide by the pact of clearing contract if localized nodes are platform side's node Fixed, when so that clearing are inconsistent with platform side's checkout result, it includes to be verified that platform side's node, which will generate node to block and send, The settlement request of period.
After block generates the settlement request that node receives localized nodes transmission, identified according to third-party application and to be verified Period traverses entire block chain, obtains all transaction status data of the third-party application within the period to be verified;And foundation The rate that transaction status data and platform side collect generates checkout result, and the checkout result is stored in block chain.
It plays tricks probability, and avoids it should be noted that generating node to further reduce localized nodes or block There is third-party application or platform side unilaterally to break a contract phenomenon, causes the damage of the rights and interests of platform side or third-party application, this implementation The block catenary system of example can also include supervisory node.Wherein, supervisory node refers to that public credibility is stronger, for ensureing third party Using and platform side's both sides' equity authoritative third party's node.It can be independent node in block chain, in supervisory node It is also configured with block chain applications client.
Illustratively, after the clearing contract that node sends third-party application and platform side concludes being generated to block, may be used also To include:Into block catenary system, supervisory node sends the settlement request including the period to be verified, is used to indicate supervisory node From obtaining transaction status data of the third-party application within the period to be verified, and the transaction status number according to acquisition in block chain The rate collected of platform side generates checkout result accordingly and in clearing contract.
S350 receives the checkout result that block generates node feeding back.
Specifically, when block generates transaction status data and knot of the node according to third-party application within the period to be verified After calculating the rate generation checkout result that platform side collects in contract, checkout result will be fed back to localized nodes.Or by checkout result The block address being stored in block chain feeds back to localized nodes, so that localized nodes obtain clearing knot according to the block address Fruit.
Technical solution provided in an embodiment of the present invention, third-party application node or platform side's node in block catenary system exist After getting the transaction status data of third-party application, which is sent to the block in block catenary system and is generated Node makes block generate node and the transaction status data is written in block chain;Meanwhile third-party application and platform side being concluded Clearing contract be also sent to the block in block catenary system and generate node, so that block is generated node for the clearing contract write area In block chain.Since transaction status data and clearing contract are stored in block chain, it is for third-party application and platform side Transparent, it can not distort, improve Transaction Information and settle accounts the accuracy and public credibility of contract, and then improve third party and answer With the accuracy of checkout result.
Example IV
Fig. 4 is a kind of structural block diagram for transacter that the embodiment of the present invention four provides, which is configured at block In node in catenary system, transaction methods provided by any embodiment of the invention can be performed, it is corresponding to have execution method Functional module and beneficial effect.As shown in figure 4, the apparatus may include:
Data acquisition module 410, for obtaining the transaction status data of third-party application;
Data transmission blocks 420 generate node for the block into block catenary system and send the transaction status data, Make the block generate node the transaction status data are written in block chain.
Technical solution provided in an embodiment of the present invention, third-party application node or platform side's node in block catenary system exist After getting the transaction status data of third-party application, which is sent to the block in block catenary system and is generated Node makes block generate node and the transaction status data is written in block chain.Since transaction status data are stored in block In chain, be for third-party application and platform side it is transparent, can not distort, improve Transaction Information accuracy and public letter Power, and then improve the accuracy of third-party application checkout result.
Illustratively, data acquisition module 410 is specifically used for:
Obtain the affairs to be processed that the third-party application in block catenary system is initiated;And/or
The transaction status for obtaining the third-party application that the platform side in block catenary system is sent changes data.
Wherein, affairs to be processed are orders to be processed, and transaction status change data include pay status, order reimbursement, order It is single to complete and at least one of order is returned goods order pay status data.
Illustratively, above-mentioned apparatus can also include:
Inquiry request sending module, for into block catenary system block generate node send transaction status data it Afterwards, node being generated to block and sending transaction status inquiry request, wherein transaction status inquiry request is used to indicate block and generates section Point is searched and the associated transaction status data of transaction status inquiry request in block chain;
Data reception module generates the transaction status data of node checks for receiving block.
Illustratively, above-mentioned apparatus can also include:
Contract sending module is settled accounts, node sends third-party application and the clearing of platform side's conclusion are closed for generating to block About, so that block is generated node will settle accounts in contract write-in block chain.
Illustratively, above-mentioned apparatus can also include:
Settlement request sending module, for generating the clearing that node sends third-party application and platform side concludes to block After contract, node is generated to block and sends the settlement request including the period to be verified, wherein settlement request is used to indicate area Block generates node from transaction status data of the acquisition third-party application within the period to be verified in block chain, and according to acquisition The rate that platform side collects in transaction status data and clearing contract generates checkout result;
Checkout result receiving module generates the checkout result of node feeding back for receiving block.
Illustratively, the node in block catenary system can be third-party application node or platform side's node.
Embodiment five
Fig. 5 is a kind of structural schematic diagram for equipment that the embodiment of the present invention five provides, and Fig. 5, which is shown, to be suitable for being used to realizing this The block diagram of the example devices of inventive embodiments embodiment.The equipment 12 that Fig. 5 is shown is only an example, should not be to this hair The function and use scope of bright embodiment bring any restrictions.Equipment 12 is typically the meter for undertaking block catenary system nodal function Calculate equipment.
As shown in figure 5, equipment 12 is showed in the form of universal computing device.The component of equipment 12 may include but unlimited In:One or more processor or processing unit 16, system storage 28, connecting different system components, (including system is deposited Reservoir 28 and processing unit 16) bus 18.
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment 12 The usable medium of access, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Equipment 12 may further include it is other it is removable/nonremovable, Volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing irremovable , non-volatile magnetic media (Fig. 5 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 5, use can be provided In the disc driver read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to removable anonvolatile optical disk The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can To be connected by one or more data media interfaces with bus 18.System storage 28 may include that at least one program produces Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention real Apply the function of each embodiment of example.
Program/utility 40 with one group of (at least one) program module 42 can store and store in such as system In device 28, such program module 42 includes but is not limited to operating system, one or more application program, other program modules And program data, it may include the realization of network environment in each of these examples or certain combination.Program module 42 Usually execute the function and/or method in described embodiment of the embodiment of the present invention.
Equipment 12 can also be communicated with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.), Can also be enabled a user to one or more equipment interacted with the equipment 12 communication, and/or with enable the equipment 12 with One or more of the other any equipment (such as network interface card, modem etc.) communication for calculating equipment and being communicated.It is this logical Letter can be carried out by input/output (I/O) interface 22.Also, equipment 12 can also by network adapter 20 and one or The multiple networks of person (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown, Network adapter 20 is communicated by bus 18 with other modules of equipment 12.It should be understood that although not shown in the drawings, can combine Equipment 12 uses other hardware and/or software module, including but not limited to:Microcode, device driver, redundant processing unit, External disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and Data processing, such as realize transaction methods provided by the embodiment of the present invention.
Embodiment six
The embodiment of the present invention six also provides a kind of computer readable storage medium, be stored thereon with computer program (or For computer executable instructions), issued transaction side described in above-mentioned any embodiment can be realized when which is executed by processor Method.The computer readable storage medium can be configured in the calculating equipment of carrying block catenary system node.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:Tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming languages or combinations thereof come write for execute the embodiment of the present invention operation Computer program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, further include conventional procedural programming language-such as " C " language or similar program design language Speech.Program code can be executed fully on the user computer, partly be executed on the user computer, as an independence Software package execute, part on the user computer part execute on the remote computer or completely in remote computer or It is executed on server.In situations involving remote computers, remote computer can pass through the network of any kind --- packet It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit It is connected with ISP by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being implemented by above embodiments to the present invention Example is described in further detail, but the embodiment of the present invention is not limited only to above embodiments, is not departing from structure of the present invention It can also include more other equivalent embodiments in the case where think of, and the scope of the present invention is determined by scope of the appended claims It is fixed.

Claims (10)

1. a kind of transaction methods, which is characterized in that it is executed by the node in block catenary system, the method includes:
Obtain the transaction status data of third-party application;
Block into block catenary system generates node and sends the transaction status data, and so that the block is generated node will be described Transaction status data are written in block chain.
2. the method according to claim 1, wherein obtain third-party application transaction status data, including:
Obtain the affairs to be processed that the third-party application in block catenary system is initiated;And/or
The transaction status for obtaining the third-party application that the platform side in block catenary system is sent changes data.
3. according to the method described in claim 2, it is characterized in that, the affairs to be processed are order to be processed, the affairs Status Change data include pay status, order reimbursement, order complete and order return goods at least one of order payment shape State data.
4. the method according to claim 1, wherein the block into block catenary system generates described in node transmission After transaction status data, further include:
Node is generated to block and sends transaction status inquiry request, wherein the transaction status inquiry request is used to indicate the area Block generates node and searches in the block chain and the associated transaction status data of the transaction status inquiry request;
Receive the transaction status data that the block generates node checks.
5. the method according to claim 1, wherein further including:
The clearing contract that node sends third-party application and platform side concludes is generated to block, the block is made to generate node for institute It states in clearing contract write-in block chain.
6. according to the method described in claim 5, it is characterized in that, generating node to block sends third-party application and platform side After the clearing contract of conclusion, further include:
Node is generated to block and sends the settlement request including the period to be verified, wherein the settlement request is used to indicate block Node is generated from transaction status data of the acquisition third-party application within the period to be verified in block chain, and according to acquisition Transaction status data and the clearing contract in the rate collected of platform side generate checkout result;
Receive the checkout result that block generates node feeding back.
7. method according to claim 1-6, which is characterized in that the node in the block catenary system is third Square application node or platform side's node.
8. a kind of transacter, which is characterized in that be configured in the node in block catenary system, described device includes:
Data acquisition module, for obtaining the transaction status data of third-party application;
Data transmission blocks generate node for the block into block catenary system and send the transaction status data, make described Block generates node and the transaction status data is written in block chain.
9. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as transaction methods of any of claims 1-7.
10. a kind of storage medium, is stored thereon with computer program, which is characterized in that the realization when program is executed by processor Such as transaction methods of any of claims 1-7.
CN201810661718.3A 2018-06-25 2018-06-25 Transaction processing method, device, equipment and storage medium Active CN108920257B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810661718.3A CN108920257B (en) 2018-06-25 2018-06-25 Transaction processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810661718.3A CN108920257B (en) 2018-06-25 2018-06-25 Transaction processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108920257A true CN108920257A (en) 2018-11-30
CN108920257B CN108920257B (en) 2021-09-10

Family

ID=64422042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810661718.3A Active CN108920257B (en) 2018-06-25 2018-06-25 Transaction processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108920257B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109711201A (en) * 2018-12-29 2019-05-03 百度在线网络技术(北京)有限公司 Poverty alleviation processing method, device, equipment and medium based on block chain
CN110377401A (en) * 2019-07-17 2019-10-25 江苏满运软件科技有限公司 Transactions requests processing method, device, server and storage medium based on IDEA
CN110633970A (en) * 2019-09-19 2019-12-31 深圳前海环融联易信息科技服务有限公司 Digital asset sorting method and device, computer equipment and storage medium
CN110866753A (en) * 2019-10-24 2020-03-06 腾讯科技(深圳)有限公司 Third party settlement control method and device, electronic equipment and storage medium
CN111178863A (en) * 2019-12-30 2020-05-19 百度在线网络技术(北京)有限公司 Transaction charging method, device, equipment and medium based on block chain
CN111273874A (en) * 2018-12-04 2020-06-12 精工爱普生株式会社 Providing device and processing system
WO2020224249A1 (en) * 2019-05-07 2020-11-12 深圳壹账通智能科技有限公司 Blockchain-based transaction processing method, device and apparatus, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150277681A1 (en) * 2014-03-31 2015-10-01 Monticello Enterprises LLC System and method for providing a single input field having multiple processing possibilities
CN105809062A (en) * 2016-03-01 2016-07-27 布比(北京)网络技术有限公司 Contract construction and execution methods and apparatuses
US20170236104A1 (en) * 2016-02-12 2017-08-17 D+H Usa Corporation Peer-to-Peer Financial Transactions Using A Private Distributed Ledger
CN107368259A (en) * 2017-05-25 2017-11-21 阿里巴巴集团控股有限公司 A kind of method and apparatus that business datum is write in the catenary system to block
CN107622387A (en) * 2017-08-04 2018-01-23 现在(北京)支付股份有限公司 Public number method of payment based on block chain technology
CN107784474A (en) * 2016-08-24 2018-03-09 深圳市图灵奇点智能科技有限公司 A kind of novel electron contract and its method performed automatically
CN107895297A (en) * 2017-11-03 2018-04-10 深圳市易达云科技有限公司 A kind of order creation method and system
US20180101914A1 (en) * 2016-10-10 2018-04-12 Escolhalegal, Llc Systems, methods and machine-readable mediums for data management and payment processing

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150277681A1 (en) * 2014-03-31 2015-10-01 Monticello Enterprises LLC System and method for providing a single input field having multiple processing possibilities
US20170236104A1 (en) * 2016-02-12 2017-08-17 D+H Usa Corporation Peer-to-Peer Financial Transactions Using A Private Distributed Ledger
CN105809062A (en) * 2016-03-01 2016-07-27 布比(北京)网络技术有限公司 Contract construction and execution methods and apparatuses
CN107784474A (en) * 2016-08-24 2018-03-09 深圳市图灵奇点智能科技有限公司 A kind of novel electron contract and its method performed automatically
US20180101914A1 (en) * 2016-10-10 2018-04-12 Escolhalegal, Llc Systems, methods and machine-readable mediums for data management and payment processing
CN107368259A (en) * 2017-05-25 2017-11-21 阿里巴巴集团控股有限公司 A kind of method and apparatus that business datum is write in the catenary system to block
CN107622387A (en) * 2017-08-04 2018-01-23 现在(北京)支付股份有限公司 Public number method of payment based on block chain technology
CN107895297A (en) * 2017-11-03 2018-04-10 深圳市易达云科技有限公司 A kind of order creation method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YAN ZHU ET AL.: "《Interactive Incontestable Signature for Transactions Confirmation in Bitcoin Blockchain》", 《2016 IEEE 40TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC)》 *
陈齐 等: "《区块链技术在新型网络购物平台设计中的应用》", 《武汉理工大学学报(信息与管理工程版)》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111273874A (en) * 2018-12-04 2020-06-12 精工爱普生株式会社 Providing device and processing system
CN111273874B (en) * 2018-12-04 2023-08-15 精工爱普生株式会社 Providing device and processing system
CN109711201A (en) * 2018-12-29 2019-05-03 百度在线网络技术(北京)有限公司 Poverty alleviation processing method, device, equipment and medium based on block chain
WO2020224249A1 (en) * 2019-05-07 2020-11-12 深圳壹账通智能科技有限公司 Blockchain-based transaction processing method, device and apparatus, and storage medium
CN110377401A (en) * 2019-07-17 2019-10-25 江苏满运软件科技有限公司 Transactions requests processing method, device, server and storage medium based on IDEA
CN110377401B (en) * 2019-07-17 2022-10-04 江苏满运软件科技有限公司 Transaction request processing method, device, server and storage medium based on IDEA
CN110633970A (en) * 2019-09-19 2019-12-31 深圳前海环融联易信息科技服务有限公司 Digital asset sorting method and device, computer equipment and storage medium
CN110866753A (en) * 2019-10-24 2020-03-06 腾讯科技(深圳)有限公司 Third party settlement control method and device, electronic equipment and storage medium
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

Also Published As

Publication number Publication date
CN108920257B (en) 2021-09-10

Similar Documents

Publication Publication Date Title
CN108920257A (en) Transaction methods, device, equipment and storage medium
US8175971B1 (en) Lifetime guaranteed income rider
CN109584031A (en) Account checking method, device, electronic equipment and computer-readable medium
CN111857888B (en) Transaction processing method and device
CN110008716A (en) Block chain method of commerce and device, electronic equipment, storage medium
WO2016201429A1 (en) Transfer system and method
WO2018107597A1 (en) Method and device for data processing, and funds management server
CN111899111A (en) Capital matching method, device, server and storage medium
CN111260471A (en) Accounting and transaction information processing system, method, apparatus, device and medium
CN110705981B (en) Real-time settlement method and device
CN110516463A (en) Method and apparatus for generating information
CN110322321A (en) Electronic bill assignment method, device, equipment and medium based on block chain
US20210217003A1 (en) System and method for managing merchant terms and conditions applicable to a payment transaction
CN109658234A (en) Payment beforehand method for computing data, device, computer equipment and storage medium
CN110009492A (en) Block chain method of commerce and device, electronic equipment, storage medium
CN110009323A (en) Block chain method of commerce and device, electronic equipment, storage medium
JP7260506B2 (en) Payment Systems, Payment Methods and Programs
CN112184418A (en) Inter-company loan processing method, inter-company loan processing device, computer equipment and storage medium
WO2020063180A1 (en) Transaction processing method and device, electronic device and computer-readable storage medium
CN111091457A (en) Big data-based accounting management method, device, equipment and medium
CN110503393A (en) Electronic contract management method, system and electronic equipment for automobile leasing platform
CN114511393B (en) Financial data processing method and system
CN105825349B (en) Method and device for recording account information in multiple terminals
US8571981B1 (en) Method and system for establishing electronic financial transactions between entities
CN111949337B (en) Accounting processing method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant