CN113112272A - Foreign exchange service processing method and device based on block chain - Google Patents
Foreign exchange service processing method and device based on block chain Download PDFInfo
- Publication number
- CN113112272A CN113112272A CN202110532558.4A CN202110532558A CN113112272A CN 113112272 A CN113112272 A CN 113112272A CN 202110532558 A CN202110532558 A CN 202110532558A CN 113112272 A CN113112272 A CN 113112272A
- Authority
- CN
- China
- Prior art keywords
- bank
- foreign exchange
- transaction request
- transaction
- service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 25
- 238000000034 method Methods 0.000 claims abstract description 18
- 238000004590 computer program Methods 0.000 claims description 12
- 230000008014 freezing Effects 0.000 claims description 7
- 238000007710 freezing Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 13
- 230000008901 benefit Effects 0.000 description 5
- 230000000977 initiatory effect Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000006399 behavior Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/381—Currency conversion
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/02—Banking, e.g. interest calculation or account maintenance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a foreign exchange service processing method and a foreign exchange service processing device based on a block chain, which relate to the technical field of the block chain, and the method comprises the following steps: acquiring a foreign exchange business transaction request initiated by a target user through a foreign exchange business system of a first bank; inquiring exchange rate information of a plurality of banks from the block chain network according to the foreign exchange business transaction request, and determining a second bank executing business transaction corresponding to the foreign exchange business transaction request according to the exchange rate information of each bank; and calling a foreign exchange business system of the second bank, and executing business transaction corresponding to the foreign exchange business transaction request. The invention can realize the purpose of executing the foreign exchange business transaction across banks, and selects the most suitable bank to execute the foreign exchange business transaction according to the exchange rate information of each bank, so that the user can obtain the maximum profit, thereby improving the user experience.
Description
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a method and an apparatus for processing foreign exchange services based on blockchains.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
The foreign exchange transaction service refers to a transaction for exchanging one national currency with another national currency, and the exchange rate between the two currencies is the foreign exchange rate. Currently, the rate price defined by each bank is often floated on the basis of a reference rate (for example, an international rate price), so that the foreign exchange rates of different banks may be different.
In the prior art, when a certain user opens or closes a warehouse through a foreign exchange business system of a certain bank, the user often can only deal at the exchange rate price of the bank but cannot deal at the exchange rate price of other banks, so that the foreign exchange transaction of the user may not be at the optimal exchange rate price.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a foreign exchange service processing method based on a block chain, which is used for solving the technical problem that the existing foreign exchange service system of a bank cannot implement the cross-bank execution of foreign exchange service transaction, and comprises the following steps: acquiring a foreign exchange business transaction request initiated by a target user through a foreign exchange business system of a first bank; inquiring exchange rate information of a plurality of banks from the block chain network according to the foreign exchange business transaction request, and determining a second bank executing business transaction corresponding to the foreign exchange business transaction request according to the exchange rate information of each bank; and calling a foreign exchange business system of the second bank, and executing business transaction corresponding to the foreign exchange business transaction request.
The embodiment of the invention also provides a block chain-based foreign exchange service processing device, which is used for solving the technical problem that the existing foreign exchange service system of the bank can not execute the foreign exchange service transaction across banks, and the device comprises: the foreign exchange service request module is used for acquiring a foreign exchange service transaction request initiated by a target user through a foreign exchange service system of a first bank; the exchange rate information inquiry module is used for inquiring the exchange rate information of a plurality of banks from the block chain network according to the foreign exchange business transaction request and determining a second bank for executing business transaction corresponding to the foreign exchange business transaction request according to the exchange rate information of each bank; and the foreign exchange business transaction module is used for calling a foreign exchange business system of the second bank and executing business transaction corresponding to the foreign exchange business transaction request.
The embodiment of the invention also provides computer equipment for solving the technical problem that the existing foreign exchange business system of the bank cannot implement the cross-bank execution of the foreign exchange business transaction.
The embodiment of the invention also provides a computer readable storage medium, which is used for solving the technical problem that the existing foreign exchange business system of the bank cannot implement the cross-bank execution of the foreign exchange business transaction.
The foreign exchange service processing method, the device, the computer equipment and the computer readable storage medium based on the block chain provided by the embodiment of the invention store the exchange rate information of a plurality of banks based on the block chain network, after a foreign exchange service transaction request initiated by a target user through a foreign exchange service system of a first bank is obtained, the exchange rate information of each bank is inquired from the block chain network according to the foreign exchange service transaction request, a second bank executing the service transaction corresponding to the foreign exchange service transaction request is determined according to the exchange rate information of each bank, and then the foreign exchange service system of the second bank is called to execute the service transaction corresponding to the foreign exchange service transaction request.
According to the embodiment of the invention, the purpose of executing the foreign exchange business transaction across banks can be realized, the most suitable bank is selected to execute the foreign exchange business transaction according to the exchange rate information of each bank, and the user can obtain the maximum benefit, so that the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a flowchart of a block chain-based foreign exchange service processing method according to an embodiment of the present invention;
fig. 2 is a flow chart of an optional foreign exchange service processing based on a blockchain according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a block chain-based foreign exchange service processing apparatus according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an alternative block chain-based foreign exchange service processing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a computer device provided in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
The embodiment of the present invention provides a block chain-based foreign exchange service processing method, and fig. 1 is a flowchart of a block chain-based foreign exchange service processing method provided in the embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
s101, a foreign exchange business transaction request initiated by a target user through a foreign exchange business system of a first bank is obtained.
It should be noted that the foreign exchange service transaction request in the embodiment of the present invention may be an opening transaction request or a flat-selling transaction request, and opening refers to a behavior of a trader to newly buy or newly sell a certain number of futures contracts; the term "tie-in" refers to the action of a trader in dealing with futures contracts bought or sold before sale; the opening transaction request in the embodiment of the invention is a transaction request for requesting to newly buy or newly sell a currency; the flat-warehouse transaction request in the embodiment of the invention refers to a transaction request for a currency bought or sold before sale.
S102, according to the foreign exchange business transaction request, the exchange rate information of a plurality of banks is inquired from the block chain network, and according to the exchange rate information of each bank, a second bank executing business transaction corresponding to the foreign exchange business transaction request is determined.
It should be noted that the blockchain network in the embodiment of the present invention may be a blockchain network constructed by using the foreign exchange service system of each bank as a blockchain storage node; or a separate blockchain network to which the foreign exchange business systems of the banks are accessed through blockchain clients. Because the foreign exchange business systems of all the banks communicate with the blockchain network, the foreign exchange business systems of all the banks can upload the exchange rate information of money exchanged by all the banks to the blockchain network, so that the foreign exchange business system of any one bank can inquire the exchange rate information of other banks through the blockchain network.
It should be noted that the second bank and the first bank in the embodiment of the present invention may be the same bank or different banks. When selecting a bank for executing the transaction corresponding to the foreign exchange transaction request, different banks may be selected according to the difference of the foreign exchange transaction requests. For example, for an open transaction request to newly buy a certain currency, the bank with the lowest exchange rate needs to be selected; for a flat-warehouse transaction request to sell a certain currency bought before, a bank with the highest exchange rate needs to be selected; for an open transaction request that newly sells a certain currency, the bank with the highest exchange rate needs to be selected. Obviously, for other business scenarios, those skilled in the art can set different screening conditions according to specific situations, and select a bank suitable for executing the current business transaction.
S103, calling a foreign exchange business system of the second bank, and executing business transaction corresponding to the foreign exchange business transaction request.
After determining the bank which is most suitable for executing the business transaction corresponding to the current foreign exchange business transaction request, calling the foreign exchange business system of the bank to execute the business transaction corresponding to the foreign exchange business transaction request.
In an embodiment, after the foreign exchange service system of the second bank is called to execute the service transaction corresponding to the foreign exchange service transaction request, the foreign exchange service processing method based on the blockchain provided in the embodiment of the present invention may further include the following steps: acquiring a service transaction result of the foreign exchange service transaction request; and returning the service transaction result of the foreign exchange service transaction request to the foreign exchange service system of the first bank. By the embodiment, the first bank can quickly return the foreign exchange business transaction result to the client of the target user, so that the target can quickly know the business transaction result.
In order to quickly update the position information of the user after the foreign exchange transaction is finished, in an embodiment, the block chain-based foreign exchange transaction processing method provided in an embodiment of the present invention may further include the following steps: and updating the position holding information of the target user according to the service transaction result of the foreign exchange service transaction request.
In an embodiment, when the foreign exchange service transaction request is an open-warehouse transaction request, the block chain-based foreign exchange service processing method provided in the embodiment of the present invention may further implement the freezing of the deposit by the following steps: acquiring account information of a target user in a first bank or a second bank; and according to the account information of the target user in the first bank or the second bank, freezing the account fund of the target user in the first bank or the second bank as the deposit for the foreign exchange business transaction request. In specific implementation, because the first bank is the bank initiating the foreign exchange transaction request and the second bank is the bank executing the foreign exchange transaction, a certain amount of funds of the user can be frozen from the first bank or the second bank to be used as the deposit for the foreign exchange transaction service. Furthermore, account balance information of the target user in the first bank and the second bank can be detected, so that an account with the account balance larger than the amount of the deposit is preferentially selected, and the deposit is frozen.
Further, if the balance of the accounts of the first bank and the second bank is less than the amount of the deposit, the block chain-based foreign exchange transaction processing method provided in the embodiment of the present invention may further freeze a part of funds in the account of the first bank and another part of funds in the account of the second bank, as long as the frozen amounts of the first bank and the second bank are greater than the amount of the deposit.
Furthermore, if the sum of the account balances of the first bank and the second bank is still less than the amount of the deposit, the block chain-based foreign exchange service processing method provided in the embodiment of the present invention may further query the account balance information of the target user in the third bank, so as to use the fund frozen in the third bank as the deposit to ensure that the foreign exchange service transaction can be smoothly performed.
In an embodiment, when the fx business transaction request is a flat-cabin transaction request, the fx business processing method based on the blockchain provided in the embodiment of the present invention may further implement release of the deposit by the following steps: acquiring account information of a target user in a first bank or a second bank; and releasing the account fund of the target user as the deposit in the first bank or the second bank according to the account information of the target user in the first bank or the second bank.
Because the foreign exchange service processing method provided in the embodiment of the present invention can implement cross-bank foreign exchange service transaction, and facilitate tracing of transaction information in order to avoid transaction disputes, in an embodiment, the foreign exchange service processing method based on the blockchain provided in the embodiment of the present invention may further include the following steps: acquiring service transaction information of a foreign exchange service transaction request; and storing the service transaction information of the foreign exchange service transaction request into the blockchain network.
In order to facilitate the accounting management of each bank, in an embodiment, the block chain-based foreign exchange transaction processing method provided in the embodiment of the present invention may further implement reconciliation processing of a foreign exchange transaction by the following steps: generating a batch reconciliation file according to the business transaction information of the plurality of foreign exchange business transaction requests; and sending the generated batch reconciliation files to a foreign exchange business system of a corresponding bank.
Fig. 2 is a flow chart of optional foreign exchange service processing based on a blockchain provided in the embodiment of the present invention, and as shown in fig. 2, the flow chart specifically includes:
initiating a foreign exchange business transaction request: when a user opens a warehouse or levels a warehouse through a certain bank, the bank informs the price scheduling module of the transaction request, the price scheduling module inquires exchange rate prices from various banks respectively after receiving the request, and then the user is committed with the most appropriate exchange rate price. If the customer buys the foreign exchange, the transaction is made at the lowest price of each bank, and if the customer sells the foreign exchange, the transaction is made at the highest price of each bank. And initiating the opening transaction from which bank, namely opening the bank.
Storing foreign exchange business transaction information: and when the foreign exchange transaction is successful, storing the transaction record information in the block chain for the user to inquire through each bank terminal and carrying out the leveling operation. Optionally, the recorded information includes, but is not limited to: opening bank information, transaction account information, name, identification number, foreign exchange name, transaction price, transaction amount, opening mark, leveling mark and the like.
③ notification of trade: when the foreign exchange business transaction is successful, the transaction information is notified to a transaction initiating bank, meanwhile, if the transaction is an opening transaction, the bank freezes the deposit, and if the transaction is a flat transaction, the deposit does not need to be frozen. Optionally, the transaction information sent to the transaction initiating bank includes, but is not limited to: opening bank information, transaction account, name information, identification number, foreign exchange name, transaction price, transaction amount, opening mark, leveling mark and the like.
Fourthly, flat warehouse transaction: when the user is in the cross-bank bunk state through bank A, judging whether the user is in the cross-bank bunk state, and if the user is in the bunk state through bank A, informing bank A of releasing the deposit through a transaction notification module; if the flat warehouse is the warehouse of the warehouse opening behavior B bank, the transaction notification module notifies the B bank to release the deposit. And simultaneously storing the block chain of the flat warehouse transaction records and informing the bank A.
Fifthly, updating the position holding information: and when the user's flat-position transaction is successful, recalculating the position taking record of the user. If the user opens a warehouse of 100 yuan, and then performs leveling to warehouse of 40 yuan, the taken position is changed to 60 yuan, that is, the taken position is 60 yuan when the user inquires through the bank end again.
Sixthly, checking account between banks: and generating batch files for all transactions, and sending the batch files to a corresponding bank for reconciliation.
As can be seen from the above, the block chain-based foreign exchange service processing method provided in the embodiment of the present invention achieves that users open a warehouse and cross a parallel warehouse based on the block chain technology, and all deal at the most appropriate price. When a user opens a warehouse through a certain bank, the bank inquires the exchange rate price of each bank from the block chain network according to the transaction request, then executes the foreign exchange business transaction of the user with the most appropriate exchange rate price, and freezes the deposit. And recording and storing the service transaction information to a block chain network for a user to inquire through each bank end, and carrying out the bunkering operation to release the deposit. After the bin is leveled, the guarantee gold is released; and after the warehouse is leveled, updating the warehouse taking record of the user. By the embodiment of the invention, the user can make a transaction to the customer at the most favorable price of each bank at that time, and the customer can inquire the money purchasing record across lines, perform the operation of leveling across lines, improve the benefits of the customer and improve the experience of the customer.
Based on the same inventive concept, an embodiment of the present invention further provides a block chain-based foreign exchange service processing apparatus, as described in the following embodiments. Because the principle of the device for solving the problems is similar to the block chain-based foreign exchange service processing method, the implementation of the device can refer to the implementation of the block chain-based foreign exchange service processing method, and repeated parts are not described again.
Fig. 3 is a schematic diagram of a block chain-based foreign exchange service processing apparatus according to an embodiment of the present invention, and as shown in fig. 3, the apparatus includes: a foreign exchange service request module 31, an exchange rate information inquiry module 32 and a foreign exchange service transaction module 33.
The foreign exchange service request module 31 is configured to obtain a foreign exchange service transaction request initiated by a target user through a foreign exchange service system of a first bank; the exchange rate information inquiry module 32 is used for inquiring the exchange rate information of a plurality of banks from the block chain network according to the foreign exchange business transaction request, and determining a second bank for executing business transaction corresponding to the foreign exchange business transaction request according to the exchange rate information of each bank; and the foreign exchange business transaction module 33 is configured to invoke a foreign exchange business system of the second bank and execute a business transaction corresponding to the foreign exchange business transaction request.
In an embodiment, as shown in fig. 4, the block chain-based fx service processing apparatus according to an embodiment of the present invention may further include: a transaction notification module 34, configured to obtain a service transaction result of the foreign exchange service transaction request; and returning the service transaction result of the foreign exchange service transaction request to the foreign exchange service system of the first bank.
In an embodiment, as shown in fig. 4, the block chain-based fx service processing apparatus according to an embodiment of the present invention may further include: and the foreign exchange service information updating module 35 is configured to update the position holding information of the target user according to the service transaction result of the foreign exchange service transaction request.
In an embodiment, as shown in fig. 4, in a case that the fx business transaction request is an open-warehouse transaction request, the block chain-based fx business processing apparatus provided in an embodiment of the present invention may further include: the deposit freezing module 36 is configured to obtain account information of the target user in the first bank or the second bank; and according to the account information of the target user in the first bank or the second bank, freezing the account fund of the target user in the first bank or the second bank as the deposit for the foreign exchange business transaction request.
In an embodiment, as shown in fig. 4, in a case that the fx business transaction request is an open-warehouse transaction request, the block chain-based fx business processing apparatus provided in an embodiment of the present invention may further include: the deposit release module 37 is configured to obtain account information of the target user in the first bank or the second bank; and releasing the account fund of the target user as the deposit in the first bank or the second bank according to the account information of the target user in the first bank or the second bank.
In an embodiment, as shown in fig. 4, the block chain-based fx service processing apparatus according to an embodiment of the present invention may further include: a service information storage module 38, configured to obtain service transaction information of the foreign exchange service transaction request; and storing the service transaction information of the foreign exchange service transaction request in the blockchain network.
In an embodiment, as shown in fig. 4, the block chain-based fx service processing apparatus according to an embodiment of the present invention may further include: the service information batch processing module 39 generates a batch reconciliation file by using the service transaction information of the plurality of foreign exchange service transaction requests; and sending the generated batch reconciliation files to a foreign exchange business system of a corresponding bank.
Based on the same inventive concept, a computer device is further provided in the embodiments of the present invention to solve the technical problem that the existing bank's foreign exchange business system cannot implement the cross-bank execution of the foreign exchange business transaction, fig. 5 is a schematic diagram of a computer device provided in the embodiments of the present invention, as shown in fig. 5, the computer device 50 includes a memory 501, a processor 502, and a computer program stored on the memory 501 and operable on the processor 502, and the block chain-based foreign exchange business processing method is implemented when the processor 502 executes the computer program.
Based on the same inventive concept, the embodiment of the present invention further provides a computer-readable storage medium, which is used for solving the technical problem that the existing bank foreign exchange business system cannot implement the cross-bank execution of the foreign exchange business transaction.
To sum up, the foreign exchange service processing method, device, computer device and computer readable storage medium provided in the embodiments of the present invention store exchange rate information of multiple banks based on a blockchain network, after obtaining a foreign exchange service transaction request initiated by a target user through a foreign exchange service system of a first bank, query, according to the foreign exchange service transaction request, exchange rate information of each bank from the blockchain network, determine, according to the exchange rate information of each bank, a second bank that executes a service transaction corresponding to the foreign exchange service transaction request, and then call a foreign exchange service system of the second bank to execute the service transaction corresponding to the foreign exchange service transaction request.
According to the embodiment of the invention, the purpose of executing the foreign exchange business transaction across banks can be realized, the most suitable bank is selected to execute the foreign exchange business transaction according to the exchange rate information of each bank, and the user can obtain the maximum benefit, so that the user experience is improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (16)
1. A foreign exchange service processing method based on a block chain is characterized by comprising the following steps:
acquiring a foreign exchange business transaction request initiated by a target user through a foreign exchange business system of a first bank;
inquiring exchange rate information of a plurality of banks from a block chain network according to the foreign exchange business transaction request, and determining a second bank for executing business transaction corresponding to the foreign exchange business transaction request according to the exchange rate information of each bank;
and calling a foreign exchange business system of a second bank, and executing business transaction corresponding to the foreign exchange business transaction request.
2. The method of claim 1, wherein after invoking a foreign exchange transaction system of a second bank to perform a transaction corresponding to the foreign exchange transaction request, the method further comprises:
acquiring a service transaction result of the foreign exchange service transaction request;
and returning the service transaction result of the foreign exchange service transaction request to the foreign exchange service system of the first bank.
3. The method of claim 2, wherein the foreign exchange business transaction request is an open-warehouse transaction request or a flat-warehouse transaction request, and after obtaining a business transaction result of the foreign exchange business transaction request, the method further comprises:
and updating the position taking information of the target user according to the service transaction result of the foreign exchange service transaction request.
4. The method of claim 3, wherein in the event that the foreign exchange transaction request is an open-warehouse transaction request, the method further comprises:
acquiring account information of the target user in a first bank or a second bank;
and according to the account information of the target user in the first bank or the second bank, freezing the account fund of the target user in the first bank or the second bank as the deposit of the foreign exchange business transaction request.
5. The method of claim 3, wherein in the case where the fx business transaction request is a flat-box transaction request, the method further comprises:
acquiring account information of the target user in a first bank or a second bank;
and releasing the account fund of the target user as the deposit in the first bank or the second bank according to the account information of the target user in the first bank or the second bank.
6. The method of claim 1, wherein after invoking a foreign exchange transaction system of a second bank to perform a transaction corresponding to the foreign exchange transaction request, the method further comprises:
acquiring the service transaction information of the foreign exchange service transaction request;
and storing the service transaction information of the foreign exchange service transaction request into the block chain network.
7. The method of claim 6, wherein the method further comprises:
generating a batch reconciliation file according to the business transaction information of the plurality of foreign exchange business transaction requests;
and sending the generated batch reconciliation files to a foreign exchange business system of a corresponding bank.
8. A block chain-based foreign exchange service processing apparatus, comprising:
the foreign exchange service request module is used for acquiring a foreign exchange service transaction request initiated by a target user through a foreign exchange service system of a first bank;
the exchange rate information inquiry module is used for inquiring exchange rate information of a plurality of banks from a block chain network according to the foreign exchange business transaction request and determining a second bank for executing business transaction corresponding to the foreign exchange business transaction request according to the exchange rate information of each bank;
and the foreign exchange business transaction module is used for calling a foreign exchange business system of a second bank and executing business transaction corresponding to the foreign exchange business transaction request.
9. The apparatus of claim 8, wherein the apparatus further comprises:
the transaction notification module is used for acquiring a service transaction result of the foreign exchange service transaction request; and returning the service transaction result of the foreign exchange service transaction request to the foreign exchange service system of the first bank.
10. The apparatus of claim 9, wherein the foreign exchange transaction request is an open-bin transaction request or a flat-bin transaction request, the apparatus further comprising:
and the foreign exchange service information updating module is used for updating the position holding information of the target user according to the service transaction result of the foreign exchange service transaction request.
11. The apparatus of claim 10, wherein in the event that the foreign exchange transaction request is an open-warehouse transaction request, the apparatus further comprises:
the deposit freezing module is used for acquiring account information of the target user in a first bank or a second bank; and according to the account information of the target user in the first bank or the second bank, freezing the account fund of the target user in the first bank or the second bank as the deposit of the foreign exchange business transaction request.
12. The apparatus of claim 10, wherein in the case where the fx business transaction request is a flat-box transaction request, the apparatus further comprises:
the deposit release module is used for acquiring account information of the target user in a first bank or a second bank; and releasing the account fund of the target user as the deposit in the first bank or the second bank according to the account information of the target user in the first bank or the second bank.
13. The apparatus of claim 8, wherein the apparatus further comprises:
the service information storage module is used for acquiring the service transaction information of the foreign exchange service transaction request; and storing the service transaction information of the foreign exchange service transaction request to the block chain network.
14. The apparatus of claim 13, wherein the apparatus further comprises:
the service information batch processing module is used for generating batch reconciliation files by using the service transaction information of the plurality of foreign exchange service transaction requests; and sending the generated batch reconciliation files to a foreign exchange business system of a corresponding bank.
15. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the block chain based fx business processing method according to any of claims 1 to 7 when executing the computer program.
16. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the block chain-based fx business processing method according to any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110532558.4A CN113112272A (en) | 2021-05-17 | 2021-05-17 | Foreign exchange service processing method and device based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110532558.4A CN113112272A (en) | 2021-05-17 | 2021-05-17 | Foreign exchange service processing method and device based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113112272A true CN113112272A (en) | 2021-07-13 |
Family
ID=76722312
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110532558.4A Pending CN113112272A (en) | 2021-05-17 | 2021-05-17 | Foreign exchange service processing method and device based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113112272A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113450099A (en) * | 2021-07-14 | 2021-09-28 | 中国银行股份有限公司 | Foreign exchange hanging list transaction processing method, device and system based on alliance chain |
CN113469669A (en) * | 2021-07-16 | 2021-10-01 | 中国银行股份有限公司 | Method for querying client information across instances, related device and computer storage medium |
CN113487318A (en) * | 2021-07-28 | 2021-10-08 | 中国银行股份有限公司 | Foreign exchange quotation reminding method and device based on block chain |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010078648A (en) * | 2000-02-09 | 2001-08-21 | 김동광 | A foreign-exchange trading system and method based on a network |
US20150363770A1 (en) * | 2014-06-16 | 2015-12-17 | Bank Of America Corporation | Cryptocurrency Transaction Payment System |
CN108920505A (en) * | 2018-05-29 | 2018-11-30 | 阿里巴巴集团控股有限公司 | Exchange rate enquiring component device, server-side and method |
US20190347652A1 (en) * | 2018-05-11 | 2019-11-14 | Global Mobile Finance, Inc. | Methodology and system for selecting nodes to execute chaincode in a blockchain environment with a mobile money gateway |
CN111445248A (en) * | 2020-04-13 | 2020-07-24 | 中国银行股份有限公司 | Foreign exchange transaction processing method, device and system and storage medium |
CN111552739A (en) * | 2020-04-27 | 2020-08-18 | 中国银行股份有限公司 | Personal foreign exchange information management method and device based on block chain |
CN112037044A (en) * | 2020-09-02 | 2020-12-04 | 中国银行股份有限公司 | Information recommendation method and device |
-
2021
- 2021-05-17 CN CN202110532558.4A patent/CN113112272A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010078648A (en) * | 2000-02-09 | 2001-08-21 | 김동광 | A foreign-exchange trading system and method based on a network |
US20150363770A1 (en) * | 2014-06-16 | 2015-12-17 | Bank Of America Corporation | Cryptocurrency Transaction Payment System |
US20190347652A1 (en) * | 2018-05-11 | 2019-11-14 | Global Mobile Finance, Inc. | Methodology and system for selecting nodes to execute chaincode in a blockchain environment with a mobile money gateway |
CN108920505A (en) * | 2018-05-29 | 2018-11-30 | 阿里巴巴集团控股有限公司 | Exchange rate enquiring component device, server-side and method |
CN111445248A (en) * | 2020-04-13 | 2020-07-24 | 中国银行股份有限公司 | Foreign exchange transaction processing method, device and system and storage medium |
CN111552739A (en) * | 2020-04-27 | 2020-08-18 | 中国银行股份有限公司 | Personal foreign exchange information management method and device based on block chain |
CN112037044A (en) * | 2020-09-02 | 2020-12-04 | 中国银行股份有限公司 | Information recommendation method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113450099A (en) * | 2021-07-14 | 2021-09-28 | 中国银行股份有限公司 | Foreign exchange hanging list transaction processing method, device and system based on alliance chain |
CN113469669A (en) * | 2021-07-16 | 2021-10-01 | 中国银行股份有限公司 | Method for querying client information across instances, related device and computer storage medium |
CN113487318A (en) * | 2021-07-28 | 2021-10-08 | 中国银行股份有限公司 | Foreign exchange quotation reminding method and device based on block chain |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110148017B (en) | Rights issuing method and device based on blockchain, electronic equipment and storage medium | |
CN113112272A (en) | Foreign exchange service processing method and device based on block chain | |
CN108446975B (en) | Quota management method and device | |
KR20200091882A (en) | Incremental digital asset collateral wallet | |
JP5919375B2 (en) | Payment for non-settled transactions | |
JP2022508450A (en) | Systems and methods that implement smart stave coins to facilitate cryptographic trustless smart swaps | |
KR102267655B1 (en) | Method for investment based on blockchain and apparatus for using the method | |
US20050065864A1 (en) | Loan management system loan management apparatus and loan management method corresponding to security evaluation | |
CN109886676A (en) | Method of payment, calculating equipment, storage medium for block chain network | |
CN110942393B (en) | Transaction processing method and device based on main account and sub account, and electronic equipment | |
CN111260362A (en) | Information processing method and device of block chain network and storage medium | |
CN114331717B (en) | Transaction risk control method, device, computer equipment and storage medium | |
CN111125786A (en) | Bond distribution data storage method, device and system based on block chain | |
CN112035681A (en) | Credit card rate information determination method and device based on knowledge graph | |
CN111340487A (en) | Resource settlement method and device | |
CN116823471A (en) | Transaction policy return method and device, electronic equipment and storage medium | |
CN108564354A (en) | settlement method, service platform and server | |
KR102283627B1 (en) | Method for loan based on blockchain and apparatus for using the method | |
US10832325B2 (en) | System, method, and apparatus for providing a prediction-based marketplace | |
CN113450099A (en) | Foreign exchange hanging list transaction processing method, device and system based on alliance chain | |
CN111192129A (en) | Method and device for obtaining zero interest rate of multiple nodes on interest rate time limit structure curve | |
CN113656415B (en) | Payment method, payment device, payment apparatus, and storage medium | |
JP6507244B2 (en) | Financial transaction management device and financial transaction management program | |
KR20220060656A (en) | Method and device for providing overseas stock trading service | |
CN113129136A (en) | Loan amount updating method and device based on block chain |
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 |