CN110009470A - A kind of settlement method and device - Google Patents

A kind of settlement method and device Download PDF

Info

Publication number
CN110009470A
CN110009470A CN201910246534.5A CN201910246534A CN110009470A CN 110009470 A CN110009470 A CN 110009470A CN 201910246534 A CN201910246534 A CN 201910246534A CN 110009470 A CN110009470 A CN 110009470A
Authority
CN
China
Prior art keywords
settlement
node
clearing
transactions
bargain
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
CN201910246534.5A
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.)
China Unionpay Co Ltd
Original Assignee
China Unionpay 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 China Unionpay Co Ltd filed Critical China Unionpay Co Ltd
Priority to CN201910246534.5A priority Critical patent/CN110009470A/en
Publication of CN110009470A publication Critical patent/CN110009470A/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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention provides a kind of settlement method and devices, it is related to technical field of data processing, this method comprises: determining clearing path digraph according to preset settlement of transactions parameter, settling accounts each settlement of transactions node in the digraph of path has corresponding settlement of transactions parameter.It gets when the settlement information of settlement bargain, clearing path digraph is inquired according to settlement information, determines clearing path.Settlement bargain is treated according to clearing path to be settled accounts to obtain checkout result, checkout result is finally sent to corresponding processing mechanism, processing mechanism is treated settlement bargain according to checkout result and handled.Due to for business scenario building clearing path digraph, settlement information of the difference to settlement bargain in same business scenario, capital settlement can be carried out by clearing path digraph, capital settlement is carried out to settlement bargain to every without handling logic according to practical financial affair work, funds settling processes are simplified, the flexibility and efficiency of capital settlement are improved.

Description

A kind of settlement method and device
Technical field
The present embodiments relate to technical field of data processing more particularly to a kind of settlement methods and device.
Background technique
Existing capital settlement method is the linear process logic of the process type based on practical financial affair work in mentality of designing, Three modules are generally comprised, respectively investment module, fund collect module, fund draws and pays module.Investment module is negative The fund import system that duty settles accounts needs, and check whether the parameter of capital settlement indispensability or data information are complete.Fund is returned Collection module is responsible for original fund carrying out statistics calculating according to different dimensions according to capital settlement requirement.Fund, which draws to pay, returns fund The calculated result of collection is assigned to different bank and account according to a pair requirement is drawn, and can be used for final actual funds stroke and pays.With Capital settlement scene becomes increasingly complex, and funding parameters complexity is also substantially improved, and patrols according further still to the processing of practical financial affair work When collecting progress capital settlement, the efficiency that will lead to capital settlement is reduced.
Summary of the invention
It, will when carrying out capital settlement due to handling logic according to practical financial affair work in complicated capital settlement scene The problem of leading to the efficiency of capital settlement reduces, the embodiment of the invention provides a kind of settlement method and devices.
On the one hand, the embodiment of the invention provides a kind of settlement methods, comprising:
Obtain the settlement information to settlement bargain;
According to the settlement information inquiry clearing path digraph to settlement bargain, the knot to settlement bargain is determined Path is calculated, clearing path digraph is determined according to preset settlement of transactions parameter;Clearing path digraph packet Multiple settlement of transactions nodes are included, each settlement of transactions node has corresponding settlement of transactions parameter;
It settles accounts, obtains described wait settle accounts friendship to settlement bargain to described according to the clearing path to settlement bargain Easy checkout result;
The checkout result to settlement bargain is sent to corresponding processing mechanism, so that the processing mechanism is according to institute Checkout result is stated to be handled to settlement bargain described.
Optionally, clearing path digraph is determined according to preset settlement of transactions parameter, comprising:
Determine settlement of transactions node, include in the settlement of transactions node starting clearing node, intermediate clearing node and Terminate clearing node, the attribute information of each settlement of transactions node includes preset settlement of transactions parameter;
Using starting clearing node as starting point, using end clearing node as terminal, initialization any two transaction Settle accounts the directed walk between node;
Invalid directed walk is rejected according to the attribute information of each settlement of transactions node, generating clearing path has Xiang Tu.
Optionally, it is described according to the settlement information inquiry clearing path digraph of settlement bargain, determine it is described to The clearing path of settlement bargain, comprising:
Using starting clearing node as starting point, using end clearing node as terminal, according to described to settlement bargain Settlement information traverse clearing path digraph, determine described in clearing path to settlement bargain.
Optionally, described to be settled accounts to described to settlement bargain according to the clearing path to settlement bargain, it obtains The checkout result to settlement bargain, comprising:
It is successively carried out to described to settlement bargain using the settlement of transactions node in the clearing path to settlement bargain Clearing, determine the checkout result of each settlement of transactions node;
The checkout result of end clearing node in the clearing path is determined as the clearing knot to settlement bargain Fruit.
Optionally, the settlement of transactions parameter includes following any one or more combination:
Mechanism subordinate relation, mechanism netting relationship, fund directioin parameter, festivals or holidays parameter, amount of money constrained parameters, exchange rate ginseng Number.
On the one hand, the embodiment of the invention provides a kind of checkout apparatus, comprising:
Module is obtained, for obtaining the settlement information to settlement bargain;
Enquiry module, described in determining according to the settlement information inquiry clearing path digraph to settlement bargain To the clearing path of settlement bargain, clearing path digraph is determined according to preset settlement of transactions parameter, the knot Calculating path digraph includes multiple settlement of transactions nodes, and each settlement of transactions node has corresponding settlement of transactions parameter;
Processing module is obtained for settling accounts to described to settlement bargain according to the clearing path to settlement bargain To the checkout result to settlement bargain;
Sending module, for the checkout result to settlement bargain to be sent to corresponding processing mechanism, so that described Processing mechanism is handled to settlement bargain according to the checkout result described.
Optionally, the enquiry module is specifically used for:
Determine settlement of transactions node, include in the settlement of transactions node starting clearing node, intermediate clearing node and Terminate clearing node, the attribute information of each settlement of transactions node includes preset settlement of transactions parameter;
Using starting clearing node as starting point, using end clearing node as terminal, initialization any two transaction Settle accounts the directed walk between node;
Invalid directed walk is rejected according to the attribute information of each settlement of transactions node, generating clearing path has Xiang Tu.
Optionally, the enquiry module is specifically used for:
Using starting clearing node as starting point, using end clearing node as terminal, according to described to settlement bargain Settlement information traverse clearing path digraph, determine described in clearing path to settlement bargain.
Optionally, the processing module is specifically used for:
It is successively carried out to described to settlement bargain using the settlement of transactions node in the clearing path to settlement bargain Clearing, determine the checkout result of each settlement of transactions node;
The checkout result of end clearing node in the clearing path is determined as the clearing knot to settlement bargain Fruit.
Optionally, the settlement of transactions parameter includes following any one or more combination:
Mechanism subordinate relation, mechanism netting relationship, fund directioin parameter, festivals or holidays parameter, amount of money constrained parameters, exchange rate ginseng Number.
On the one hand, the embodiment of the invention provides a kind of terminal devices, including at least one processing unit and at least one A storage unit, wherein the storage unit is stored with computer program, when described program is executed by the processing unit, So that the processing unit executes the step of settlement method.
On the one hand, the embodiment of the invention provides a kind of computer-readable medium, being stored with can be executed by terminal device Computer program, when described program is run on the terminal device so that the terminal device execute settlement method the step of.
In the embodiment of the present invention, clearing path digraph is determined according to preset settlement of transactions parameter, clearing path is oriented Figure includes multiple settlement of transactions nodes, and each settlement of transactions node has corresponding settlement of transactions parameter.It is handed over when getting wait settle accounts When easy settlement information, clearing path digraph directly can be inquired according to settlement information, determine the clearing road to settlement bargain Diameter.Settlement bargain is treated according to clearing path later to be settled accounts, and obtains checkout result, checkout result is finally sent to correspondence Processing mechanism handled so that processing mechanism treats settlement bargain according to checkout result.Due to being constructed for business scenario Path digraph is settled accounts, settlement information of the difference to settlement bargain in same business scenario can be oriented by clearing path Figure carries out capital settlement, carries out capital settlement to settlement bargain to every without handling logic according to practical financial affair work, Funds settling processes are simplified, the flexibility and efficiency of capital settlement are improved.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is a kind of application scenarios schematic diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of system architecture diagram of settlement system provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of settlement method provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of settlement of transactions node provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of the digraph of initialization provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram for settling accounts path digraph provided in an embodiment of the present invention;
Fig. 7 is a kind of flow diagram of settlement method provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of checkout apparatus provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In order to which the purpose of the present invention, technical solution and beneficial effect is more clearly understood, below in conjunction with attached drawing and implementation Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used to explain this hair It is bright, it is not intended to limit the present invention.
Settlement method in the embodiment of the present invention can be applied to application scenarios as shown in Figure 1, in the application scenarios Including settlement system 101 and processing mechanism 102.
Settlement system 101 is receiving when the settlement information of settlement bargain, treats settlement bargain and is settled accounts, and then will Checkout result is sent to the execution of processing mechanism 102.Settlement system 101 can be a server or several servers composition Server cluster or cloud computing center.Processing mechanism 102 can be specific Hua Fu mechanism, such as bank.Settlement system 101 is logical Wireless network is crossed to connect with processing mechanism 102.
Specifically, the architecture diagram of settlement system 101 as indicated with 2, including parameter loading module 201, fund factor parse mould Block 202, digraph initialization module 203, digraph path derivation module 204, path node landing module 205, fund disposition Module 206.
Parameter loading module 201 is used to preset settlement of transactions parameter being loaded into settlement system, wherein settlement of transactions ginseng Number can be mechanism subordinate relation, mechanism netting relationship, fund directioin parameter, festivals or holidays parameter, amount of money constrained parameters, exchange rate ginseng Number etc..
Fund factor parsing module 202 is used for the derivation condition according to clearing path digraph, from the knot to settlement bargain It calculates in information and parses fund factor.
Digraph initialization module 203 is used to settle accounts path digraph according to preset settlement of transactions parametric configuration.
Digraph path derivation module 204 is used to combine the fund factor after parsing, derives in clearing path digraph Out to the clearing path of settlement bargain.
Path node landing module 205 is used to save the checkout result of the intermediate settlement of transactions node in clearing path.
Fund disposition module 206 is used to the checkout result to settlement bargain being sent to corresponding processing mechanism 102, so that Processing mechanism 102 is treated settlement bargain according to checkout result and is handled.
Structural schematic diagram based on application scenario diagram shown in FIG. 1 and settlement system shown in Fig. 2, the embodiment of the present invention mention A kind of process of settlement method is supplied, the process of this method can be executed by checkout apparatus, and checkout apparatus can be Fig. 1 and Fig. 2 Shown in settlement system, as shown in Figure 3, comprising the following steps:
Step S301 obtains the settlement information to settlement bargain.
For example, settlement information can be A mechanism and need to pay B mechanism 1000 when being settled accounts between A mechanism and B mechanism The payment for goods of dollar, B mechanism owe 2000 RMB of A mechanism before.
Step S302 is determined according to the settlement information inquiry clearing path digraph to settlement bargain to settlement bargain Settle accounts path.
Specifically, each to settlement bargain corresponding one unique clearing path, clearing path digraph is according to default Settlement of transactions parameter determine that clearing path digraph includes multiple settlement of transactions nodes, each settlement of transactions node has pair The settlement of transactions parameter answered, when the settlement of transactions parameter difference of settlement of transactions node, the clearing that settlement of transactions node executes are walked Rapid different, each settlement of transactions node can execute a clearing step.Settlement of transactions parameter can be mechanism subordinate relation, machine Structure netting relationship, fund directioin parameter, festivals or holidays parameter, amount of money constrained parameters, exchange rate parameter etc..
Optionally, when path digraph is settled accounts in building, it is first determined settlement of transactions node includes in settlement of transactions node Starting clearing node, intermediate clearing node and end clearing node, the attribute information of each settlement of transactions node include default Settlement of transactions parameter.Using starting clearing node as starting point, to terminate clearing node as terminal, any two transaction knot is initialized Directed walk between operator node rejects invalid directed walk according to the attribute information of each settlement of transactions node, Generate clearing path digraph.
Illustratively, as shown in figure 4, setting node 1 is starting clearing node, node 2, node 3, node 4, node 5 are Centre clearing node, node 6, node 7 are to terminate clearing node, and the attribute information of each settlement of transactions node includes mechanism, angle Color, currency type.Specifically, node 1 is clearing mechanism, and node 2, node 3, node 4, node 5 are agency, node 6, node 7 For Hua Fu mechanism, node 6 draw the state of paying be it is pending, the state of paying of drawing of node 7 is to draw to pay.The role of node 1 is to send/connect Receive, node 2, node 4 role be receive, node 3, node 5 role be send, node 6, node 7 role be send, section Point 1 currency type be currency type A, node 2, node 3 currency type be currency type B, node 4, node 5 currency type be currency type C.It is with node 1 Starting point is terminal with node 6, node 7, initializes the directed walk between any two settlement of transactions node, obtains shown in Fig. 5 Digraph.It sets between node 3,4, incidence relation is not present between node 2,5, then reject this two sides, obtain shown in Fig. 6 Clearing path digraph.
Step S303 treats settlement bargain according to the clearing path to settlement bargain and is settled accounts, obtained to settlement bargain Checkout result.
Specifically, the corresponding clearing step of each settlement of transactions node in path is settled accounts, according to the knot to settlement bargain When calculating path and treating settlement bargain and settled accounts, that is, execute the corresponding clearing step of each settlement of transactions node, finally obtain to The checkout result of settlement bargain.
Checkout result to settlement bargain is sent to corresponding processing mechanism by step S304 so that processing mechanism according to Checkout result is treated settlement bargain and is handled.
Specifically, processing mechanism is the mechanism for executing checkout result, for example, when M company and N company are settled accounts, clearing System determines that checkout result is that M company pays 1000 yuan to N company, then corresponding Hua Fu mechanism, M company, which is drawn, pays 1000 to N company Account.
Due to settling accounts path digraph, clearing of the difference to settlement bargain in same business scenario for business scenario building Information can carry out capital settlement by clearing path digraph, without handling logic pair according to practical financial affair work Every carries out capital settlement to settlement bargain, and funds settling processes are simplified, the flexibility and effect of capital settlement are improved Rate.
Optionally, it in above-mentioned steps S302, is determining when the clearing path of settlement bargain, it can be with starting clearing section Point is starting point, to terminate clearing node as terminal, according to the settlement information traversal clearing path digraph to settlement bargain, is determined Clearing path to settlement bargain.
Illustratively, it sets between M mechanism and N mechanism and is settled accounts, clearing path digraph is as shown in fig. 6, clearing system System is M mechanism settlement system, and setting settlement information includes M mechanism payment 1000 yuan of currency types of N mechanism as the payment for goods of B, the payment of M mechanism 2000 yuan of currency types of N mechanism are the debt of C.It is starting point from node 1, M mechanism payment 1000 yuan of currency types of N mechanism are B in settlement information Payment for goods, then role is to send in fund attribute, and currency type B then enters node 3, and M mechanism pays N mechanism in settlement information The debt that 2000 yuan of currency types are C, then role is to send, and currency type C then enters node 5.Into after node 5, according to Hua Fu mechanism Festivals or holidays parameter and amount of money constrained parameters, determine enter node 6 or node 7.It sets Hua Fu mechanism on weekdays and settles accounts When the amount of money is not less than 0, drawing the state of paying is to draw to pay, then enters node 7, and Hua Fu mechanism is drawn when festivals or holidays or settlement amounts are less than 0 Pay state be it is pending, then enter node 6.
Optionally, in above-mentioned steps S303, settlement bargain is treated according to the clearing path to settlement bargain and is settled accounts When, settlement bargain is successively treated using the settlement of transactions node in the clearing path to settlement bargain and is settled accounts, is determined each The checkout result for the end clearing node settled accounts in path is determined as to settlement bargain by the checkout result of settlement of transactions node Checkout result.
Illustratively, it sets between M mechanism and N mechanism and is settled accounts, clearing path digraph is as shown in fig. 6, clearing system System is M mechanism settlement system, and setting settlement information includes M mechanism payment 1000 yuan of currency types of N mechanism as the payment for goods of B, the payment of M mechanism 2000 yuan of currency types of N mechanism are the debt of C.Determine that clearing path is node 1, section from clearing path digraph according to settlement information Point 3, node 5, node 7.After from node 1 into node 3, node 3 executes clearing, and " it is B that M mechanism, which pays 1000 yuan of currency types of N mechanism, Payment for goods " the step of, according to the exchange rate between currency type A and currency type B, the checkout result that node 3 is calculated is that M mechanism needs to prop up 6000 yuan of currency types for paying N mechanism are the payment for goods of A.After from node 3 into node 5, node 5 executes clearing, and " M mechanism pays N mechanism The step of debt that 2000 yuan of currency types are C ", according to the exchange rate between currency type A and currency type C, the checkout result of node 5 is calculated Need to pay the debt that 20000 yuan of currency types of N mechanism are A for M mechanism.After from node 5 into node 7, node 7 is according to 3 He of node The checkout result of node 5 determine M mechanism need to draw pay N mechanism total amount be 26000 yuan, currency type A.
Optionally, when treating settlement bargain according to the clearing path when settlement bargain and being settled accounts, clearing path is saved In intermediate settlement of transactions node checkout result, according to the checkout result of intermediate settlement of transactions node determine terminate clearing node Checkout result.For example, by the checkout result of node 3 " M mechanism needs to pay the payment for goods that 6000 yuan of currency types of N mechanism are A " with And the checkout result " M mechanism needs to pay the debt that 20000 yuan of currency types of N mechanism are A " of node 5 is maintained in settlement system. Node 7 according to the node 3 of preservation and the checkout result of node 5 determine M mechanism need to draw pay N mechanism total amount be 26000 yuan, Currency type is A.
Due to after receiving settlement information, extracting fund factor from settlement information, then according to fund factor from knot It calculates and derives clearing path to settlement bargain in the digraph of path, later according to the clearing of clearing path to settlement bargain, without It needs to configure corresponding clearing step according to every settlement information and improves settlement efficiency to simplify settlement process.
Embodiment in order to preferably explain the present invention describes the embodiment of the present invention below with reference to specific system architecture and provides A kind of settlement method, as shown in fig. 7, preset settlement of transactions parameter is loaded into settlement system by parameter loading module, transaction Settling accounts parameter includes mechanism subordinate relation, mechanism netting relationship, fund directioin parameter, festivals or holidays parameter, amount of money constrained parameters.Have Path digraph is settled accounts according to preset settlement of transactions parametric configuration to figure initialization module.Fund factor parsing module is according to knot The derivation condition for calculating path digraph, parses fund factor from the settlement information to settlement bargain.Digraph path derives mould Agllutination closes the fund factor after parsing, and the clearing path to settlement bargain is derived in clearing path digraph.Path node Land the checkout result for the intermediate settlement of transactions node that module saves in clearing path.Fund disposes module will be to settlement bargain Checkout result is sent to corresponding processing mechanism, is handled so that processing mechanism treats settlement bargain according to checkout result.
In the embodiment of the present invention, clearing path digraph is determined according to preset settlement of transactions parameter, clearing path is oriented Figure includes multiple settlement of transactions nodes, and each settlement of transactions node has corresponding settlement of transactions parameter.It is handed over when getting wait settle accounts When easy settlement information, clearing path digraph directly can be inquired according to settlement information, determine the clearing road to settlement bargain Diameter.Settlement bargain is treated according to clearing path later to be settled accounts, and obtains checkout result, checkout result is finally sent to correspondence Processing mechanism handled so that processing mechanism treats settlement bargain according to checkout result.Due to being constructed for business scenario Path digraph is settled accounts, settlement information of the difference to settlement bargain in same business scenario can be oriented by clearing path Figure carries out capital settlement, carries out capital settlement to settlement bargain to every without handling logic according to practical financial affair work, Funds settling processes are simplified, the flexibility and efficiency of capital settlement are improved.
Based on the same technical idea, the embodiment of the invention provides a kind of checkout apparatus, as shown in figure 8, the device 800 Include:
Module 801 is obtained, for obtaining the settlement information to settlement bargain;
Enquiry module 802, for determining institute according to the settlement information inquiry clearing path digraph to settlement bargain The clearing path to settlement bargain is stated, clearing path digraph is determined according to preset settlement of transactions parameter, described Settling accounts path digraph includes multiple settlement of transactions nodes, and each settlement of transactions node has corresponding settlement of transactions parameter;
Processing module 803, for being settled accounts to described to settlement bargain according to the clearing path to settlement bargain, Obtain the checkout result to settlement bargain;
Sending module 804, for the checkout result to settlement bargain to be sent to corresponding processing mechanism, so that institute It states processing mechanism and is handled to settlement bargain according to the checkout result described.
Optionally, the enquiry module 802 is specifically used for:
Determine settlement of transactions node, include in the settlement of transactions node starting clearing node, intermediate clearing node and Terminate clearing node, the attribute information of each settlement of transactions node includes preset settlement of transactions parameter;
Using starting clearing node as starting point, using end clearing node as terminal, initialization any two transaction Settle accounts the directed walk between node;
Invalid directed walk is rejected according to the attribute information of each settlement of transactions node, generating clearing path has Xiang Tu.
Optionally, the enquiry module 802 is specifically used for:
Using starting clearing node as starting point, using end clearing node as terminal, according to described to settlement bargain Settlement information traverse clearing path digraph, determine described in clearing path to settlement bargain.
Optionally, the processing module 803 is specifically used for:
It is successively carried out to described to settlement bargain using the settlement of transactions node in the clearing path to settlement bargain Clearing, determine the checkout result of each settlement of transactions node;
The checkout result of end clearing node in the clearing path is determined as the clearing knot to settlement bargain Fruit.
Optionally, the settlement of transactions parameter includes following any one or more combination:
Mechanism subordinate relation, mechanism netting relationship, fund directioin parameter, festivals or holidays parameter, amount of money constrained parameters, exchange rate ginseng Number.
Based on the same technical idea, the embodiment of the invention provides a kind of terminal devices, as shown in figure 9, including at least One processor 901, and the memory 902 connecting at least one processor do not limit processor in the embodiment of the present invention Specific connection medium between 901 and memory 902 is connected as in Fig. 9 by bus between processor 901 and memory 902 Example.Bus can be divided into address bus, data/address bus, control bus etc..
In embodiments of the present invention, memory 902 is stored with the instruction that can be executed by least one processor 901, at least The instruction that one processor 901 is stored by executing memory 902, can execute step included in settlement method above-mentioned Suddenly.
Wherein, processor 901 is the control centre of terminal device, can use various interfaces and connection terminal device Various pieces, by running or executing the instruction being stored in memory 902 and calling is stored in number in memory 902 According to settle accounts.Optionally, processor 901 may include one or more processing units, and processor 901 can be integrated using processing Device and modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation Demodulation processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processing In device 1001.In some embodiments, processor 901 and memory 902 can be realized on the same chip, in some embodiments In, they can also be realized respectively on independent chip.
Processor 901 can be general processor, such as central processing unit (CPU), digital signal processor, dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array or other can Perhaps transistor logic, discrete hardware components may be implemented or execute present invention implementation for programmed logic device, discrete gate Each method, step and logic diagram disclosed in example.General processor can be microprocessor or any conventional processor Deng.The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware processor and execute completion, Huo Zheyong Hardware and software module combination in processor execute completion.
Memory 902 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey Sequence, non-volatile computer executable program and module.Memory 902 may include the storage medium of at least one type, It such as may include flash memory, hard disk, multimedia card, card-type memory, random access storage device (Random Access Memory, RAM), static random-access memory (Static Random Access Memory, SRAM), may be programmed read-only deposit Reservoir (Programmable Read Only Memory, PROM), read-only memory (Read Only Memory, ROM), band Electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), magnetic storage, disk, CD etc..Memory 902 can be used for carrying or storing have instruction or data The desired program code of structure type and can by any other medium of computer access, but not limited to this.The present invention is real Applying the memory 902 in example can also be circuit or other devices that arbitrarily can be realized store function, for storing program Instruction and/or data.
Based on the same technical idea, the embodiment of the invention provides a kind of computer-readable medium, being stored with can be by The computer program that terminal device executes, when described program is run on the terminal device, so that the terminal device executes knot The step of calculation method.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention Form.It is deposited moreover, the present invention can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (12)

1. a kind of settlement method characterized by comprising
Obtain the settlement information to settlement bargain;
According to the settlement information inquiry clearing path digraph to settlement bargain, the clearing road to settlement bargain is determined Diameter, clearing path digraph are determined according to preset settlement of transactions parameter, and the clearing path digraph includes more A settlement of transactions node, each settlement of transactions node have corresponding settlement of transactions parameter;
It settles accounts, obtains described to settlement bargain to settlement bargain to described according to the clearing path to settlement bargain Checkout result;
The checkout result to settlement bargain is sent to corresponding processing mechanism, so that the processing mechanism is according to the knot Result is calculated to be handled to settlement bargain described.
2. the method as described in claim 1, which is characterized in that clearing path digraph is according to preset settlement of transactions What parameter determined, comprising:
It determines settlement of transactions node, includes starting clearing node, intermediate clearing node and end in the settlement of transactions node Node is settled accounts, the attribute information of each settlement of transactions node includes preset settlement of transactions parameter;
Using starting clearing node as starting point, using end clearing node as terminal, any two settlement of transactions is initialized Directed walk between node;
Invalid directed walk is rejected according to the attribute information of each settlement of transactions node, it is oriented to generate clearing path Figure.
3. method according to claim 2, which is characterized in that described to inquire knot to the settlement information of settlement bargain according to Path digraph is calculated, determines the clearing path to settlement bargain, comprising:
Using starting clearing node as starting point, using end clearing node as terminal, according to the knot to settlement bargain It calculates information and traverses clearing path digraph, determine the clearing path to settlement bargain.
4. the method as described in claims 1 to 3 is any, which is characterized in that described according to the clearing road to settlement bargain Diameter is settled accounts to described to settlement bargain, and the checkout result to settlement bargain is obtained, comprising:
It is successively settled accounts to described to settlement bargain using the settlement of transactions node in the clearing path to settlement bargain, Determine the checkout result of each settlement of transactions node;
The checkout result of end clearing node in the clearing path is determined as the checkout result to settlement bargain.
5. method as claimed in claim 4, which is characterized in that the settlement of transactions parameter includes following any one or more Combination:
Mechanism subordinate relation, mechanism netting relationship, fund directioin parameter, festivals or holidays parameter, amount of money constrained parameters, exchange rate parameter.
6. a kind of checkout apparatus characterized by comprising
Module is obtained, for obtaining the settlement information to settlement bargain;
Enquiry module, for determining described wait tie according to the settlement information inquiry clearing path digraph to settlement bargain The clearing path of transaction is calculated, clearing path digraph is determined according to preset settlement of transactions parameter, the clearing road Diameter digraph includes multiple settlement of transactions nodes, and each settlement of transactions node has corresponding settlement of transactions parameter;
Processing module obtains institute for settling accounts to described to settlement bargain according to the clearing path to settlement bargain State the checkout result to settlement bargain;
Sending module, for the checkout result to settlement bargain to be sent to corresponding processing mechanism, so that the processing Mechanism is handled to settlement bargain according to the checkout result described.
7. device as claimed in claim 6, which is characterized in that the enquiry module is specifically used for:
It determines settlement of transactions node, includes starting clearing node, intermediate clearing node and end in the settlement of transactions node Node is settled accounts, the attribute information of each settlement of transactions node includes preset settlement of transactions parameter;
Using starting clearing node as starting point, using end clearing node as terminal, any two settlement of transactions is initialized Directed walk between node;
Invalid directed walk is rejected according to the attribute information of each settlement of transactions node, it is oriented to generate clearing path Figure.
8. device as claimed in claim 7, which is characterized in that the enquiry module is specifically used for:
Using starting clearing node as starting point, using end clearing node as terminal, according to the knot to settlement bargain It calculates information and traverses clearing path digraph, determine the clearing path to settlement bargain.
9. the device as described in claim 6 to 8 is any, which is characterized in that the processing module is specifically used for:
It is successively settled accounts to described to settlement bargain using the settlement of transactions node in the clearing path to settlement bargain, Determine the checkout result of each settlement of transactions node;
The checkout result of end clearing node in the clearing path is determined as the checkout result to settlement bargain.
10. device as claimed in claim 9, which is characterized in that the settlement of transactions parameter includes following any one or more The combination of item:
Mechanism subordinate relation, mechanism netting relationship, fund directioin parameter, festivals or holidays parameter, amount of money constrained parameters, exchange rate parameter.
11. a kind of terminal device, which is characterized in that including at least one processing unit and at least one storage unit, wherein The storage unit is stored with computer program, when described program is executed by the processing unit, so that the processing unit Perform claim requires the step of 1~5 any claim the method.
12. a kind of computer-readable medium, which is characterized in that it is stored with the computer program that can be executed by terminal device, when When described program is run on the terminal device, so that the terminal device perform claim requires the step of 1~5 any the method Suddenly.
CN201910246534.5A 2019-03-29 2019-03-29 A kind of settlement method and device Pending CN110009470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910246534.5A CN110009470A (en) 2019-03-29 2019-03-29 A kind of settlement method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910246534.5A CN110009470A (en) 2019-03-29 2019-03-29 A kind of settlement method and device

Publications (1)

Publication Number Publication Date
CN110009470A true CN110009470A (en) 2019-07-12

Family

ID=67168769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910246534.5A Pending CN110009470A (en) 2019-03-29 2019-03-29 A kind of settlement method and device

Country Status (1)

Country Link
CN (1) CN110009470A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767144A (en) * 2020-06-24 2020-10-13 中国工商银行股份有限公司 Transaction routing determination method, device, equipment and system for transaction data
CN112597442A (en) * 2020-12-30 2021-04-02 南方电网数字电网研究院有限公司 Distributed-based electric power settlement calculation method and system
CN112766948A (en) * 2021-01-12 2021-05-07 深圳前海微众银行股份有限公司 Clearing method, device and equipment based on block chain and computer storage medium
CN113065955A (en) * 2020-12-25 2021-07-02 恒生电子股份有限公司 Method and device for calculating available fund based on business level and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150339651A1 (en) * 2014-05-21 2015-11-26 International Business Machines Corporation Cash flow analytics driven correspondent bank network optimization
WO2017145817A1 (en) * 2016-02-24 2017-08-31 ソニー株式会社 Information processing apparatus and method, and information processing system
CN108681964A (en) * 2018-04-19 2018-10-19 腾讯科技(深圳)有限公司 A kind of business settlement system and settlement of transactions control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150339651A1 (en) * 2014-05-21 2015-11-26 International Business Machines Corporation Cash flow analytics driven correspondent bank network optimization
WO2017145817A1 (en) * 2016-02-24 2017-08-31 ソニー株式会社 Information processing apparatus and method, and information processing system
US20190050835A1 (en) * 2016-02-24 2019-02-14 Sony Corporation Information processing apparatus and method, and information processing system
CN108681964A (en) * 2018-04-19 2018-10-19 腾讯科技(深圳)有限公司 A kind of business settlement system and settlement of transactions control method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767144A (en) * 2020-06-24 2020-10-13 中国工商银行股份有限公司 Transaction routing determination method, device, equipment and system for transaction data
CN111767144B (en) * 2020-06-24 2023-08-25 中国工商银行股份有限公司 Transaction route determination method, device, equipment and system for transaction data
CN113065955A (en) * 2020-12-25 2021-07-02 恒生电子股份有限公司 Method and device for calculating available fund based on business level and electronic equipment
CN112597442A (en) * 2020-12-30 2021-04-02 南方电网数字电网研究院有限公司 Distributed-based electric power settlement calculation method and system
CN112766948A (en) * 2021-01-12 2021-05-07 深圳前海微众银行股份有限公司 Clearing method, device and equipment based on block chain and computer storage medium
CN112766948B (en) * 2021-01-12 2024-03-26 深圳前海微众银行股份有限公司 Block chain-based clearing method, device, equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN110009470A (en) A kind of settlement method and device
CN103366306B (en) Share fund data processing equipment and using method thereof
CN110264342A (en) A kind of business audit method and device based on machine learning
CN108399567A (en) Block chain borrows or lends money method and system
CN109285071A (en) A kind of data processing platform (DPP) and data processing method based on block chain
CN108564387A (en) Credit worthiness transmission method, apparatus and system based on block chain
CN113554509B (en) Processing method, device, medium and electronic equipment for online payment service
CN110689336A (en) Payment channel decision method and device and electronic equipment
CN108734452A (en) Internet resources transfer method, transfer account method and device
US20130282563A1 (en) Systems and Methods for Routing Debit Transactions
CN108985923A (en) Fund clearing processing method and processing device
CN111612453A (en) Decentralized transaction method and device based on block chain and electronic equipment
CN110110269A (en) A kind of event subscription method and device based on block chain
CN112465489A (en) Payment service processing method and device and machine-readable storage medium
CN107590736A (en) Business scenario implementation method and device, computer equipment and readable storage medium storing program for executing
CN109359955A (en) Transaction processing method, device, computer equipment and storage medium
CN108171597A (en) A kind of bank's billing and accounting system assembly method that fastext is supported to respond and system
CN109146674A (en) A kind of method and system of Dynamic Matching loaning bill platform fund
CN107886428A (en) A kind of method and payment clearance system for determining to pay clearing rate
CN106934610A (en) Solve the method and system of the virtual account gathering difference of foreign trade electric business platform bank
CN110060149A (en) Risk management and control method and system after a kind of loan
WO2019010311A1 (en) Systems and methods for dynamic currency pooling interfaces
CN112819473A (en) Order processing method, server, equipment and medium based on digital dictionary
CN106157141B (en) Numerical value processing method and device
CN110276692A (en) A kind of method and device handling transaction data

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