Process automation method, system and equipment for foreign exchange fund business

By introducing process engine technology into the foreign exchange capital business and configuring a transaction matching processing engine, automatic verification and accounting operations before capital account accounting are realized, solving the problems of low processing efficiency and high operational risk of foreign exchange capital business in the existing technology. , improving the efficiency and security of business processing.

CN118365276BActive Publication Date: 2024-10-25CFETS FINANCIAL DATA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410537382.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-10-25
Estimated Expiration
2044-04-30

Smart Images

  • Figure CN118365276B_ABST
    Figure CN118365276B_ABST
Patent Text Reader

Abstract

The present invention discloses a process automation method, system and device for foreign exchange fund business, and relates to the technical field of process automation engine. The method comprises: configuring a transaction matching processing engine, a cash flow account matching engine and a calculation engine to process the corresponding processes respectively; setting an automated process engine to initiate a polling task at a fixed time, comprising the steps of: querying the foreign exchange fund transaction information and cash flow information of the fund account to be recorded on the day; when determining that the central parity rate of the day has been updated, checking whether the transaction corresponding to the cash flow has completed the transaction matching and cash flow account matching respectively; exiting the current polling when there is a mismatch; when all items are matched, notifying the calculation engine to generate the corresponding fund account entry information, and ending the current polling; waiting for the next polling time to arrive and initiating the polling task again. The present invention realizes the automation of the foreign exchange fund business process, improves the process processing efficiency, and reduces the operational risk.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of process automation engines, and in particular to a process automation method, system and device for foreign exchange fund business. Background Art

[0002] Interbank foreign exchange market business usually includes RMB foreign exchange spot, RMB foreign exchange forward, RMB foreign exchange swap, RMB foreign exchange currency swap, RMB foreign exchange option, foreign currency pair business, foreign currency lending, foreign currency repurchase, online foreign currency interbank deposits and foreign currency interest rate swap and other foreign exchange fund business. At present, most small and medium-sized banks use foreign exchange fund management system to carry out foreign exchange business fund delivery accounting. For the specific process, please refer to Figure 1 shown.

[0003] On the day of fund settlement, there are many things that need to be checked and confirmed before the foreign exchange fund business is recorded in the fund account. For example, it is necessary to check whether the RMB exchange rate midpoint has been updated on that day, whether both parties have completed the transaction confirmation, and whether the RMB corresponding to the foreign exchange settlement and sale business involving the payment of foreign currency has been received. At the same time, the data sources involved can come from multiple systems inside and outside the institution, including the post-transaction processing platform of the foreign exchange trading center, the second-generation payment system within the institution, the Swift system front-end, etc. There are many data sources. Figure 1 In the accounting process shown, each accounting operation of the capital account needs to be manually checked (through manual non-systematic verification), which has the following problems: there is a lot of data to be checked, which consumes a lot of human resources and has low processing efficiency; the number of foreign exchange transactions is large and the business types are complicated, the review rules are numerous and complex, the data is also relatively fragmented, and it is highly dependent on the professional level and experience of business personnel; with the increase in business volume, operational risks are further highlighted. Once the business that needs to be processed every day reaches a certain level, the existing processing model is difficult to adapt to the development of banking business.

[0004] On the other hand, in order to solve the problems of low efficiency, high cost and easy error in manual process management, the existing technology provides business process management BPM technology. BPM is widely used in manufacturing, retail and financial industries with a high degree of process informatization. The core of business process management BPM is the process engine. The process engine is a system or program used to drive the business. It provides an underlying support platform for process design, operation and review, and is used to drive the business to flow according to the set steps. The process engine can adapt to complex and changing business scenarios and build different business processes by combining different process nodes. It makes process configuration and adjustment more flexible, and also improves the reuse ability of business modules. At present, there are many open source and commercial process engines on the market. They are based on relevant business process management specifications and provide rich process node functions and parameterized configuration functions.

[0005] According to the development needs of foreign exchange fund business, whether it is possible to automate the process links before fund account recording based on process engine technology to reduce manual operations, thereby improving process processing efficiency and reducing operational risks, etc., is a technical problem that urgently needs to be solved. Summary of the invention

[0006] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a process automation method, system and device for foreign exchange fund business. Based on the process engine technology, the present invention combines the characteristics of the data and process of the current foreign exchange fund business, integrates the data and process of the foreign exchange fund business, and configures a system including a transaction matching processing engine, a cash flow account matching engine (including a RMB account matching engine and a foreign currency account matching engine), a calculation engine and an automated process engine. The system automatically completes the pre-bookkeeping verification operation and bookkeeping operation, realizes the automation of the foreign exchange fund business process, greatly reduces manual operations, effectively improves the process processing efficiency, and reduces operational risks.

[0007] To achieve the above objectives, the present invention provides the following technical solutions:

[0008] A process automation method for foreign exchange fund business, comprising: corresponding to the transaction matching process and the cash flow account matching process, respectively setting a transaction matching process engine and a cash flow account matching engine to process the corresponding processes; corresponding to the accounting process of the foreign exchange fund business, setting an accounting engine to process the accounting process of business transaction information;

[0009] In addition, an automated process engine is set up, which is configured to initiate a polling task at a fixed time. After the polling task is initiated, the following steps are executed: the foreign exchange fund transaction information and cash flow information of the fund account to be recorded on the day are queried; when it is determined that the central parity rate of the day is updated, the matching data of the aforementioned transaction matching processing engine and the cash flow incoming account matching engine are obtained to check whether the transaction corresponding to the cash flow has completed the transaction matching and whether the cash flow has completed the incoming account matching respectively; when there is one mismatch, the current polling is exited, and the polling task is initiated again when the next polling time arrives; when all items are matched, the aforementioned accounting engine is notified to perform accounting, generate the fund account entry information corresponding to the cash flow, end the current polling, and wait for the next polling time to arrive to initiate the polling task again.

[0010] Furthermore, the transaction matching processing engine is configured to: monitor the post-transaction processing platform of the foreign exchange trading center, obtain the transaction confirmation information or Swift confirmation message matching information pushed by the post-transaction processing platform, and update the confirmation status of both parties to the transaction and the transaction matching status in real time according to the obtained information.

[0011] Furthermore, for transactions that are confirmed through the post-transaction processing platform, the transaction confirmation information pushed by the post-transaction processing platform includes the transaction number and confirmation status. When the confirmation status is confirmed by both parties, it means that the transaction has been confirmed by both parties.

[0012] At this time, the transaction matching processing engine is configured to: after obtaining the aforementioned transaction confirmation information, determine whether the transaction is in a state of confirmation by both parties according to the confirmation status therein, and when the transaction is in a state of confirmation by both parties, determine that the transaction matching is successful; match the transaction number information in the transaction confirmation information with the transaction number of the transaction information in the foreign exchange funds management system, and update the matching status;

[0013] For transactions confirmed through Swift confirmation messages, the post-transaction processing platform matches the confirmation messages sent by the institution with the confirmation messages received, and pushes the confirmation message matching results to the foreign exchange fund management system of the institution; when the confirmation messages sent and received by the institution completely match, it means that the transaction parties have completed the confirmation;

[0014] At this time, the transaction matching processing engine is configured to: after obtaining the aforementioned confirmation message matching result, when the confirmation message matching result is a complete match, determine that the transaction matching is successful and update the matching status.

[0015] Furthermore, after a transaction is concluded, the confirmation of both parties of the transaction is monitored. When the transaction fails to reach the confirmation state of both parties within a set time range or the confirmation message of the transaction confirmation fails to match successfully, the transaction exception processing unit is started;

[0016] The transaction exception processing unit is configured to perform the following steps:

[0017] For transactions that are confirmed through the post-trade processing platform, if the confirmation status of both parties is not reached within the set time range, after obtaining the preset login account information, log in to the post-trade processing platform of the foreign exchange trading center to obtain the confirmation status details of the transaction; determine whether the confirmation is successful by the institution or the other party based on the confirmation status details; if it is determined that the confirmation is unsuccessful by the institution, send a transaction confirmation operation reminder to the associated contact to remind the associated contact to perform the transaction confirmation operation on the post-trade processing platform; if it is determined that the other party's institution has not confirmed successfully, after obtaining the communication contact information of the relevant business personnel of the other party, send a transaction confirmation operation reminder to the aforementioned relevant business personnel;

[0018] For transactions confirmed through Swift confirmation messages, if the confirmation message for transaction confirmation fails to match successfully within the set time range, after obtaining the preset login account information, log in to the post-trade processing platform of the foreign exchange trading center to obtain the confirmation message matching status details of the transaction; determine whether the institution on the side has failed to send the confirmation message successfully or the other party’s institution has failed to send the confirmation message successfully based on the confirmation message matching status details; when it is determined that the institution on the side has failed to send the confirmation message successfully, send a message confirmation reminder to the associated contact to remind the associated contact to send the transaction confirmation message to the Swift system and check the message matching status; when it is determined that the other party’s institution has failed to send the confirmation message successfully, after obtaining the communication contact information of the relevant business personnel of the other party’s institution, send a message confirmation reminder to the aforementioned relevant business personnel; when it is determined that both institutions have successfully sent the confirmation message, but the post-trade processing platform has not completed the matching successfully, start the manual confirmation operation mode;

[0019] In the manual confirmation operation mode, the post-transaction processing platform outputs the confirmation message information of the other party institution to the user. When the user's correct confirmation operation on the confirmation message information of the other party institution is collected, the post-transaction processing platform determines that the confirmation message is completely matched successfully and updates the confirmation message matching status.

[0020] Furthermore, the cash flow account matching engine includes a RMB account matching engine and a foreign currency account matching engine.

[0021] The RMB incoming account matching engine is configured to start the RMB incoming account matching process according to a preset time period, as follows: when the set time arrives, obtain and synchronize the RMB incoming account information from the payment system within the institution, and match the RMB incoming account information with the cash flow information in the foreign exchange fund management system; when the cash flow information can be matched, update the matching status and then end; when the cash flow information cannot be matched, directly end;

[0022] The foreign currency incoming account matching engine is configured to start the foreign currency incoming account matching process according to a preset time period, as follows: when the set time arrives, the incoming account message information is obtained and synchronized from the Swift system front-end in the institution, and the message information is matched with the cash flow information in the foreign exchange funds management system; when the cash flow information can be matched, the matching status is updated and then ended; when the cash flow information cannot be matched, it is ended directly.

[0023] Furthermore, the RMB incoming account information includes the amount, date, payee's large amount payment bank number and incoming account information of the RMB incoming account;

[0024] The message information includes the payer's bank code (BIC Code), payer account number, payment amount, payment currency and payment date.

[0025] Furthermore, the automated process engine is provided with a mid-price exchange rate monitoring unit for determining whether the mid-price exchange rate of the day is updated;

[0026] The middle rate monitoring unit is configured to: obtain the middle rate of RMB exchange rate on the day and the middle rate of RMB exchange rate on the previous day; compare the middle rates of RMB exchange rate on the day with the middle rate of RMB exchange rate on the previous day to determine whether the middle rates of RMB exchange rate on the two days are the same; when the middle rates of RMB exchange rate on the day are different from the middle rates of RMB exchange rate on the previous day, determine that the middle rate of RMB exchange rate on the day is updated.

[0027] Furthermore, the polling task information of the automation process engine is configured through the Spring scheduled task SpringTask. The polling task information includes the polling frequency, the polling start time of the day, and the polling end time of the day. The polling task information is configured through the cron expression in the scheduled task.

[0028] After receiving the polling task information configured by the user through the cron expression, the automated process engine generates a chain check item that matches the polling task according to the configured polling task information. When the polling time arrives, the automated process engine starts to check from the starting check item until all chain check items are matched. If the chain check items are matched successfully, at this time, it is determined that the corresponding cash flow data meets the preconditions for automatic submission, and the accounting engine is notified to generate the corresponding fund account entry information, ending the polling; when one of the check items in the chain check items does not match, the chain check item fails to match. At this time, it is determined that the corresponding cash flow data does not meet the preconditions for automatic submission, and the task execution is terminated, that is, exiting this polling;

[0029] Regardless of whether a polling has cash flow data that meets the prerequisites, the automated process engine will end the polling task and wait for the next polling time to arrive to re-initiate the polling task until the polling end time of the day arrives and the last polling of the day is completed. The automated process engine ends the polling task of the day.

[0030] The present invention also provides a foreign exchange fund management system, the system comprising a transaction matching processing engine, a cash flow account matching engine, a calculation engine and an automated process engine;

[0031] The transaction matching processing engine is used to process the transaction matching process; the cash flow matching engine is used to process the cash flow matching process; the accounting engine is used to process the accounting process of foreign exchange funds business;

[0032] The automated process engine is configured to initiate a polling task at a fixed time. After the polling task is initiated, the following steps are executed: the foreign exchange fund transaction information and cash flow information of the fund account to be recorded on the day are queried; when it is determined that the central parity rate of the day is updated, the matching data of the aforementioned transaction matching processing engine and the cash flow incoming account matching engine are obtained to check whether the transaction corresponding to the cash flow has completed the transaction matching and whether the cash flow has completed the incoming account matching respectively; when there is one mismatch, the current polling is exited, and the polling task is initiated again when the next polling time arrives; when all items are matched, the aforementioned accounting engine is notified to perform accounting, generate the fund account entry information corresponding to the cash flow, end the current polling, and wait for the next polling time to arrive to initiate the polling task again.

[0033] The present invention also provides an electronic device, comprising:

[0034] one or more processors;

[0035] A memory for storing one or more programs;

[0036] When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method as described in any of the preceding items.

[0037] Due to the adoption of the above technical scheme, the present invention has the following advantages and positive effects compared with the prior art, as an example: based on the process engine technology, the present invention combines the characteristics of the data and processes of the current foreign exchange funds business, integrates the data and processes of the foreign exchange funds business, and configures a system including a transaction matching processing engine, a cash flow account matching engine (including a RMB account matching engine and a foreign currency account matching engine), a calculation engine and an automated process engine. The system automatically completes the pre-bookkeeping verification operation and the bookkeeping operation, realizes the automation of the foreign exchange funds business process, greatly reduces manual operations, effectively improves the process processing efficiency, and reduces operational risks. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A schematic diagram of the foreign exchange business funds settlement accounting process provided by the prior art.

[0039] Figure 2 A schematic diagram of the connection of multiple engines in a system provided by an embodiment of the present invention.

[0040] Figure 3 A schematic diagram of a post-transaction confirmation process provided by an embodiment of the present invention.

[0041] Figure 4 A schematic diagram of the confirmation message matching process provided by an embodiment of the present invention.

[0042] Figure 5A flow chart of transaction matching processing provided in an embodiment of the present invention.

[0043] Figure 6 A flow chart of RMB incoming account matching provided by an embodiment of the present invention.

[0044] Figure 7 A foreign currency incoming account matching process is provided in an embodiment of the present invention.

[0045] Figure 8 A process processing diagram of the automated process engine provided by an embodiment of the present invention.

[0046] Fig. 9 A diagram describing a configuration example of a cron expression provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0047] The following is a further detailed description of the process automation method, system and device for foreign exchange fund business disclosed in the present invention in combination with the accompanying drawings and specific embodiments. It should be noted that the technology (including methods and devices) known to ordinary technicians in the relevant field may not be discussed in detail, but in appropriate cases, the above-mentioned known technology is considered to be part of the specification. At the same time, other examples of the exemplary embodiment may have different values. The structures, proportions, sizes, etc. shown in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the invention.

[0048] In the description of the embodiments of the present application, " / " means or, and "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" means: A and B exist alone, B exists alone, and A and B exist at the same time. In the description of the embodiments of the present application, "multiple" means two or more.

[0049] Terminology explanation:

[0050] 1) Interbank foreign exchange market business: including RMB foreign exchange spot, RMB foreign exchange forward, RMB foreign exchange swap, RMB foreign exchange currency swap, RMB foreign exchange option, foreign currency pair business, foreign currency lending, foreign currency repurchase, online foreign currency interbank deposits and foreign currency interest rate swaps, etc.

[0051] 2) RMB exchange rate midpoint: RMB exchange rate midpoint refers to the midpoint of RMB exchange rate against major foreign currencies such as the US dollar, which is calculated and released daily by the Trading Center under the authorization of the People's Bank of China. Institutions usually use it as a reference exchange rate for exchange rate profit and loss calculations, foreign exchange delivery investment income calculations, report conversion, etc.

[0052] 3) Swift system: The Swift system is an inter-bank telegraph communication system. The Swift system provides the community with a message transmission platform, communication standards, etc. There are two standard formats for Swift messages: one is the MT type format based on FIN, and the other is the MX type format based on XML. The confirmation messages involved in the embodiments of the present invention are MT300 and MT320, i.e., foreign exchange trading confirmation messages and time deposit confirmation messages.

[0053] The technical concept and solution of the present invention are introduced below based on exemplary application scenarios. Example

[0054] In the existing foreign exchange fund management system, when processing the foreign exchange business fund delivery accounting, the accounting operation (including fund delivery, exercise, matching and other operations) information of each fund account needs to be manually checked, which mainly includes two parts: one is that it is necessary to manually confirm offline whether the fund account meets the accounting conditions. For example, for a RMB fund inflow, strictly speaking, it is necessary to first check whether the party has received the incoming account, and only after confirming the arrival of the account can the fund account be recorded, and the corresponding fund account balance can be increased; the second is that manual submission of accounting is required. The efficiency is low, and as the business volume increases, the operational risk is further highlighted. The present invention is an improvement proposed for the above-mentioned prior art. Based on the data and audit process characteristics of the foreign exchange fund business, the intelligent engine technology is introduced to configure the automatic process, and the confirmation work before accounting is automated. In this way, the user can, according to the needs, connect the data that originally needs to be manually checked to the system through the corresponding data interface, and the system calls each process engine to realize the automatic verification of the data, which greatly reduces the manual operation when processing the foreign exchange business fund delivery accounting. For example, for the incoming account information involved in a certain business transaction, the foreign exchange funds management system can obtain the corresponding incoming account flow from the payment system within the institution, and then use the intelligent engine configured by the present invention to automatically cross-check the amount, date, the other party's payment bank number and other information in the incoming account flow with the cash flow in the system. After the cross-check is successful, the system automatically completes the accounting processing.

[0055] Specifically, this embodiment provides a process automation method for foreign exchange funds business, including: setting a transaction matching processing engine and a cash flow matching engine for the corresponding transaction matching processing process and the cash flow matching process to process the corresponding processes; setting an accounting engine for the accounting process of the foreign exchange funds business to process the accounting process of the business transaction information; and setting an automated process engine to periodically initiate a polling task to determine whether the funds account can generate funds account entries by the accounting engine.

[0056] The automated process engine has data interfaces established between the transaction matching processing engine and the cash flow account matching engine, respectively, and the automated process engine can obtain data in the transaction matching processing engine and the cash flow account matching engine through the data interfaces. For example, the automated process engine can query the data in the transaction matching processing engine through the data interface to obtain the transaction matching status of a certain cash flow data; and the automated process engine can query the data in the cash flow account matching engine through the corresponding data interface to obtain the account matching status of a certain cash flow data.

[0057] The cash flow account matching engine includes two engines, namely, a RMB account matching engine and a foreign currency account matching engine, which are used for RMB account matching process processing and foreign currency account matching process processing respectively.

[0058] The automated process engine is configured to initiate a polling task at a fixed time. After the polling task is initiated, the following steps are performed: the foreign exchange fund transaction information and cash flow information of the fund account to be recorded on the day are queried; when it is determined that the central parity rate of the day is updated, the matching data of the aforementioned transaction matching processing engine and the cash flow incoming account matching engine are obtained to check whether the transaction corresponding to the cash flow has completed the transaction matching and whether the cash flow has completed the incoming account matching; when there is a mismatch, the current polling is exited, and the polling task is initiated again when the next polling time comes; when all items are matched, the aforementioned accounting engine is notified to perform accounting, generate the fund account entry information corresponding to the cash flow, end the current polling, and wait for the next polling time to come to initiate the polling task again.

[0059] The above solution provided by the present invention configures a transaction matching processing engine, a RMB incoming account matching engine, a foreign currency incoming account matching engine, a calculation engine and an automated process engine. Figure 2 As shown, it is possible to automatically check the transaction data of the funds account that needs to be recorded, and based on the matching of the transaction data, when it is determined that the transaction data meets the automatic recording conditions, the accounting work of the funds account is automatically completed, that is, the accounting engine is triggered to generate corresponding funds account entry information.

[0060] Each intelligent engine provided in this embodiment can execute process processing tasks in parallel, which can greatly improve processing efficiency. For the automated process engine, regardless of whether there is cash flow data that meets the conditions in a certain polling, the automated process engine will end the polling, wait for the next polling time to re-initiate the polling, re-query the data and check (verify), and so on until the last polling of the day is completed, and the automated process engine ends the polling work of the day.

[0061] In this embodiment, the transaction matching processing engine is configured to: monitor the post-transaction processing platform of the foreign exchange trading center, obtain the transaction confirmation information or Swift confirmation message matching information pushed by the post-transaction processing platform, and update the confirmation status of both parties to the transaction and the transaction matching status in real time according to the obtained information.

[0062] For trades confirmed via the post-trade processing platform, Figure 3 The corresponding post-transaction confirmation process is illustrated. After the transaction is concluded, the two institutions send the transaction conclusion information to the foreign exchange trading system of the foreign exchange trading center. The foreign exchange trading system notifies the post-transaction processing platform of the transaction confirmation information. The post-transaction processing platform sends a confirmation notification to the two institutions based on the transaction confirmation information of the two institutions.

[0063] For transactions confirmed via Swift confirmation messages, Figure 4 The example illustrates the confirmation message matching process. After the transaction is concluded, both institutions send the transaction conclusion information to the foreign exchange trading system of the foreign exchange trading center, and at the same time, both institutions send the transaction confirmation message to the Swift system; then, the Swift system transmits the confirmation message to both institutions (transmits the transaction confirmation message of one institution to the other institution); then, the Swift system forwards the messages sent and received by the institution to the post-trade processing platform of the foreign exchange trading center, and the post-trade processing platform pushes the confirmation message matching results to the institution based on the received message information.

[0064] According to the above process, see Figure 5 As shown, the transaction matching processing engine is configured to perform the following steps: obtaining information pushed by the post-transaction processing platform of the foreign exchange trading center, and determining whether the received information belongs to transaction confirmation information; when it is determined to be transaction confirmation information, obtaining the transaction number and confirmation status in the transaction confirmation information, and when it is determined that the confirmation status is confirmed by both parties, it indicates that the business transaction has been confirmed by both parties, and the transaction matching is determined to be successful; when it is determined that it does not belong to transaction confirmation information, it indicates that the information is Swift confirmation message matching information, and at this time, continue to determine whether the confirmation message is completely matched, if the confirmation message is completely matched, it indicates that both parties have completed the confirmation, and the transaction matching is determined to be successful.

[0065] Specifically, for transactions that are confirmed through the post-transaction processing platform, the transaction confirmation information pushed by the post-transaction processing platform includes at least the transaction number and confirmation status. At this time, the transaction matching processing engine is configured to: after obtaining the aforementioned transaction confirmation information, determine whether the transaction is in a state of confirmation by both parties according to the confirmation status therein, and when the transaction is in a state of confirmation by both parties, determine that the transaction matching is successful; match the transaction number information in the transaction confirmation information with the transaction number of the transaction information in the foreign exchange funds management system so that the two are consistent, and update the matching status.

[0066] For transactions confirmed through Swift confirmation messages, the post-transaction processing platform matches the confirmation messages sent by the institution and the confirmation messages received, and pushes the confirmation message matching results to the institution's foreign exchange fund management system; when the confirmation messages sent and received by the institution completely match, it means that the transaction parties have completed the confirmation. At this time, the transaction matching processing engine is configured to: after obtaining the aforementioned confirmation message matching results, when the confirmation message matching results are completely matched, determine that the transaction matching is successful and update the matching status.

[0067] In another implementation of this embodiment, after a transaction is concluded, the confirmation of both parties of the transaction can also be monitored. When the transaction does not reach the confirmation state of both parties within the set time range or the confirmation message of the transaction confirmation does not match successfully, the transaction exception processing unit is started, the reason why the transaction does not match successfully is obtained through the transaction exception processing unit, and a reminder is issued according to the reason.

[0068] Specifically, for a transaction that is confirmed through a post-transaction processing platform, when the confirmation status of both parties is not reached within a set time range, the transaction exception processing unit is configured to perform the following steps: after obtaining the preset login account information, log in to the post-transaction processing platform of the foreign exchange trading center to obtain the confirmation status details of the transaction; determine whether the confirmation is successful by the own institution or the other party's institution according to the confirmation status details; when it is determined that the confirmation is unsuccessful by the own institution, send a transaction confirmation operation reminder to the associated contact to remind the associated contact to perform the transaction confirmation operation on the post-transaction processing platform; when it is determined that the confirmation is unsuccessful by the other party's institution, after obtaining the communication contact information of the relevant business personnel of the other party's institution, send a transaction confirmation operation reminder to the aforementioned relevant business personnel.

[0069] For transactions that are confirmed through Swift confirmation messages, when the confirmation messages for transaction confirmation are not successfully matched within the set time range, the transaction exception processing unit is also configured to perform the following steps: after obtaining the preset login account information, log in to the post-transaction processing platform of the foreign exchange trading center to obtain the confirmation message matching status details of the transaction; determine whether the own institution has failed to successfully send the confirmation message or the other party's institution has failed to successfully send the confirmation message based on the confirmation message matching status details; when it is determined that the own institution has failed to successfully send the confirmation message, send a message confirmation reminder to the associated contact to remind the associated contact to send a transaction confirmation message to the Swift system and check the message matching status; when it is determined that the other party's institution has failed to successfully send the confirmation message, after obtaining the communication contact information of the relevant business personnel of the other party's institution, send a message confirmation reminder to the aforementioned relevant business personnel; when it is determined that both institutions have successfully sent the confirmation messages, but the post-transaction processing platform has not completed the matching successfully, start the manual confirmation operation mode.

[0070] In the manual confirmation operation mode, the post-transaction processing platform outputs the confirmation message information of the other party institution to the user. When the user's correct confirmation operation on the confirmation message information of the other party institution is collected, the post-transaction processing platform determines that the confirmation message is completely matched successfully and updates the confirmation message matching status.

[0071] In this way, for transactions confirmed by the post-transaction processing platform, if the transaction confirmation does not reach the "mutual confirmation" status for a long time after the transaction is completed, you can trigger the login to the post-transaction confirmation platform of the foreign exchange trading center to view the confirmation status information of the transaction. If the confirmation is not successful by our institution, you can remind the related personnel to perform manual confirmation operations on the post-transaction processing platform; if the confirmation is not successful by the other institution, you can contact the business personnel of the other institution and send them a transaction confirmation operation reminder to require them to confirm the transaction as soon as possible. For transactions matched by confirmation messages, if the transaction confirmation fails to match successfully for a long time after the transaction is concluded, you can also trigger the login to the post-transaction confirmation platform of the foreign exchange trading center to view the message matching status information of the transaction. If it is caused by the failure of the institution to successfully send the confirmation message, you can remind the related personnel to reissue the confirmation message and check the matching status in time; if it is caused by the failure of the other institution to successfully send the confirmation message, you can contact the business personnel of the other institution and send them a transaction confirmation operation reminder to require them to send the confirmation message as soon as possible; if both parties have sent the confirmation message but the post-transaction processing platform has not matched, the manual confirmation operation mode is started. In the manual confirmation operation mode, the specific information of the confirmation message can be output to the user. When the user confirms that the other party's message meets the requirements, the user can manually complete the confirmation message matching on the post-transaction processing platform.

[0072] In this embodiment, the RMB incoming account matching engine is configured to start the RMB incoming account matching process according to a preset time period, which can be specifically as follows: when the set time arrives, obtain and synchronize the RMB incoming account information from the payment system within the institution, and match the cash flow information in the foreign exchange fund management system according to the amount, date, payer large payment bank number and incoming account information of the incoming account; when the cash flow information can be matched, update the matching status and then end the RMB incoming account matching process; when the cash flow information cannot be matched, directly end the RMB incoming account matching process, see Figure 6 shown.

[0073] The foreign currency incoming account matching engine is configured to start the foreign currency incoming account matching process according to a preset time period, as follows: when the set time arrives, the incoming account message information is obtained and synchronized from the Swift system front-end in the institution, and the payee bank code BIC Code, payee account number, payment amount, payment currency and payment date in the message information are matched with the cash flow information in the foreign exchange fund management system; when the cash flow information can be matched, the matching status is updated, and then the foreign currency incoming account matching process is terminated; when the cash flow information cannot be matched, the foreign currency incoming account matching process is directly terminated, see Figure 7 shown.

[0074] In this embodiment, the automated process engine may further be provided with a mid-price exchange rate monitoring unit for determining whether the mid-price exchange rate of the day is updated.

[0075] Specifically, the middle exchange rate monitoring unit is configured to: obtain the middle exchange rate of RMB on the day, and obtain the middle exchange rate of RMB on the previous day; compare the middle exchange rates of RMB on the day with those on the previous day, and determine whether the middle exchange rates of RMB on the two days are the same; when the middle exchange rates of RMB on the day are different from those on the previous day, determine that the middle exchange rate of the day is updated.

[0076] In specific implementation, you can use Spring scheduled task SpringTask to configure the polling task information of the automation process engine. The polling task information includes polling frequency, polling start time for the day, and polling end time for the day. The polling task information is configured through the cron expression in the scheduled task.

[0077] After receiving the polling task information configured by the user through the cron expression, the automated process engine can generate a chain check item that matches the polling task according to the configured polling task information. The chain check item is composed of a series of check items, including at least the starting check item. After the polling time arrives, the automated process engine starts from the starting check item until all chain check items are matched (after one check item completes the matching check, the matching check of the next check item continues). When all chain check items can be matched successfully (for example, the check results of all the aforementioned check items are yes), it is determined that the corresponding cash flow data meets the preconditions for automatic submission (that is, it meets the automatic accounting conditions), and the accounting engine is notified to generate the corresponding capital account entry information, and the polling ends. When one of the check items in the chain check items does not match, the chain check item fails to match. At this time, it is determined that the corresponding cash flow data does not meet the preconditions for automatic submission, and the task execution is terminated, that is, the current polling is exited.

[0078] See also Figure 8 As shown, specifically, the chain check items may include three check items, starting from the starting check item, which are the exchange rate check item (used to check whether the current day's central parity exchange rate is updated), the transaction matching check item (used to check whether the transaction corresponding to a cash flow has completed the transaction matching), and the incoming account matching check item (used to check whether the cash flow has completed the incoming account matching). In a polling, if the check results of the above three check items are all yes, it is determined that the corresponding cash flow data meets the preconditions for automatic submission, and the accounting engine is notified to generate the corresponding fund account entry information; if the central parity exchange rate of this polling has not been updated, that is, the result of the corresponding first check item is no, then the chain check item matching fails, the task is directly terminated, the polling here is exited, and the next polling is waiting for the arrival. If the result of the starting check item is yes, the second check item is entered. If the result of the second check item is no (that is, the transaction matching is not completed), it is also determined that the chain check item matching fails, the task is directly terminated, the polling here is exited, and the next polling is waiting for the arrival. And so on.

[0079] In this embodiment, regardless of whether a polling has cash flow data that meets the prerequisite, the automated process engine will end the polling task and wait for the next polling time to arrive to re-initiate the polling task until the polling end time of the day arrives and the last polling of the day is completed, and then the automated process engine ends the polling task of the day.

[0080] In this embodiment, the user can configure the polling task by configuring the cron expression in the scheduled task Spring Task according to actual business needs. The grammatical rules for configuring the cron expression in the scheduled task belong to the prior art and will not be repeated here.

[0081] For example, the configuration sample of the cron expression can be found in Fig. 9 shown.

[0082] Take the user-configured cron expression "0 0 / 1 9-18 * * *" as an example, which means that between 9:00 (the start time of the polling on the day) and 18:59 (the end time of the polling on the day), the polling work is performed at a polling frequency of once per minute. Based on the above configuration, the automated process engine initiates the first polling task at 9:00 on the day. After the polling task is initiated, it queries the data and executes the chain check items according to the preset steps. When all the check items in the chain check items are completed without failure, the accounting engine is triggered to generate the corresponding fund account entries. If a check item task in the chain check item fails, it is considered that the current task does not meet the preconditions for automatic submission, and the polling is terminated. Regardless of whether there is cash flow data that meets the conditions in this polling, the automated process engine will end the polling task, wait for the next polling time (9:01) to arrive, and re-initiate the polling task. And so on, until the automated process engine completes the last polling of the day at 18:59 on the day, and then ends the polling work of the day.

[0083] The above technical solution provided by the present invention, on the one hand, integrates the data and processes of foreign exchange fund business, and realizes the process automation of the verification work before accounting; on the other hand, a matching mechanism of chain check items is configured based on the commonality of foreign exchange business in the inter-bank market. In actual application, users can also configure chain check items according to specific business - such as adding check items, which provides the scalability and adaptability of the system.

[0084] Another embodiment of the present invention further provides a foreign exchange funds management system.

[0085] The system includes a transaction matching processing engine, a cash flow account matching engine, a calculation engine and an automated process engine.

[0086] The transaction matching processing engine is used to perform transaction matching processing flow processing; the cash flow account matching engine is used to perform cash flow account matching flow processing; the accounting engine is used to perform accounting process processing of foreign exchange fund business.

[0087] The automated process engine is configured to initiate a polling task at a fixed time. After the polling task is initiated, the following steps are executed: the foreign exchange fund transaction information and cash flow information of the fund account to be recorded on the day are queried; when it is determined that the central parity rate of the day is updated, the matching data of the aforementioned transaction matching processing engine and the cash flow incoming account matching engine are obtained to check whether the transaction corresponding to the cash flow has completed the transaction matching and whether the cash flow has completed the incoming account matching respectively; when there is one mismatch, the current polling is exited, and the polling task is initiated again when the next polling time arrives; when all items are matched, the aforementioned accounting engine is notified to perform accounting, generate the fund account entry information corresponding to the cash flow, end the current polling, and wait for the next polling time to arrive to initiate the polling task again.

[0088] For other technical features, please refer to the description of the previous embodiment and will not be repeated here.

[0089] Another embodiment of the present invention further provides an electronic device, including:

[0090] one or more processors;

[0091] A memory for storing one or more programs;

[0092] When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method as described in any of the preceding items.

[0093] For other technical features, please refer to the description of the previous embodiment and will not be repeated here.

[0094] The present invention also provides a computer-readable storage medium for storing a computer program that can be executed by a processing unit, wherein the computer program implements the above-mentioned method when executed by the processing unit.

[0095] The storage medium may include any medium that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0096] For other technical features, please refer to the description of the previous embodiment and will not be repeated here.

[0097] In the above description, the disclosure of the present invention is not intended to limit itself to these aspects. Rather, within the scope of the target protection of the present disclosure, the components can be selectively and operatively combined in any number. In addition, terms such as "include", "encompass" and "have" should be interpreted as inclusive or open by default, rather than exclusive or closed, unless they are explicitly defined to the contrary. All technical, scientific or other terms are consistent with the meanings understood by those skilled in the art, unless they are defined to the contrary. Common terms found in dictionaries should not be interpreted too idealistically or too impractically in the context of relevant technical documents, unless the present disclosure explicitly defines them as such. Any changes and modifications made by a person of ordinary skill in the field of the present invention based on the above disclosure belong to the scope of protection of the claims.

Claims

1. A process automation method for foreign exchange fund business, Features: Corresponding to the transaction matching process and the cash flow account matching process, a transaction matching process engine and a cash flow account matching engine are respectively set up to process the corresponding processes; Set up an accounting engine for the accounting process of foreign exchange funds business to process the accounting process of business transaction information; And, an automated process engine is set, which is configured to initiate a polling task at a fixed time. After the polling task is initiated, the following steps are executed: the foreign exchange fund transaction information and cash flow information of the fund account to be recorded on the day are queried; when it is determined that the central parity rate of the day has been updated, the matching data of the aforementioned transaction matching processing engine and the cash flow incoming account matching engine are obtained to check whether the transaction corresponding to a cash flow has completed the transaction matching and whether the cash flow has completed the incoming account matching; when there is a mismatch, the current polling is exited, and the polling task is initiated again when the next polling time arrives; When all items are matched, the aforementioned accounting engine is notified to perform accounting, generate the fund account entry information corresponding to the cash flow, end this polling, and wait for the next polling time to arrive to initiate the polling task again; The cash flow account matching engine includes a RMB account matching engine and a foreign currency account matching engine; The RMB incoming account matching engine is configured to start the RMB incoming account matching process according to a preset time period, as follows: when the set time arrives, obtain and synchronize the RMB incoming account information from the payment system within the institution, and match the RMB incoming account information with the cash flow information in the foreign exchange fund management system; when the cash flow information in the foreign exchange fund management system can be matched, update the matching status and then end; when the cash flow information in the foreign exchange fund management system cannot be matched, directly end; The foreign currency incoming account matching engine is configured to start the foreign currency incoming account matching process according to a preset time period, as follows: when the set time arrives, the incoming account message information is obtained and synchronized from the Swift system front-end in the institution, and the message information is matched with the cash flow information in the foreign exchange funds management system; when the cash flow information in the foreign exchange funds management system can be matched, the matching status is updated and then ended; when the cash flow information in the foreign exchange funds management system cannot be matched, it is ended directly.

2. The method according to claim 1, Features: The transaction matching processing engine is configured to: monitor the post-transaction processing platform of the foreign exchange trading center, obtain the transaction confirmation information or Swift confirmation message matching information pushed by the post-transaction processing platform, and update the confirmation status of both parties to the transaction and the transaction matching status in real time according to the obtained information.

3. The method according to claim 2, Features: For transactions that are confirmed through the post-transaction processing platform, the transaction confirmation information pushed by the post-transaction processing platform includes the transaction number and confirmation status. When the confirmation status is confirmed by both parties, it means that the transaction has been confirmed by both parties. At this time, the transaction matching processing engine is configured to: after obtaining the aforementioned transaction confirmation information, determine whether the transaction is in a state of confirmation by both parties according to the confirmation status therein, and when the transaction is in a state of confirmation by both parties, determine that the transaction matching is successful; match the transaction number information in the transaction confirmation information with the transaction number of the transaction information in the foreign exchange funds management system, and update the matching status; For transactions confirmed through Swift confirmation messages, the post-transaction processing platform matches the confirmation messages sent by the institution with the confirmation messages received, and pushes the confirmation message matching results to the foreign exchange fund management system of the institution; when the confirmation messages sent and received by the institution completely match, it means that the transaction parties have completed the confirmation; At this time, the transaction matching processing engine is configured to: after obtaining the aforementioned confirmation message matching result, when the confirmation message matching result is a complete match, determine that the transaction matching is successful and update the matching status.

4. The method according to claim 3, Features: After a transaction is concluded, the confirmation of both parties of the transaction is monitored. When the transaction fails to reach the confirmation status of both parties within the set time range or the confirmation message of the transaction confirmation fails to match successfully, the transaction exception processing unit is started.

5. The method according to claim 4, Features: The transaction exception processing unit is configured to perform the following steps: For transactions that are confirmed through the post-trade processing platform, if the confirmation status of both parties is not reached within the set time range, after obtaining the preset login account information, log in to the post-trade processing platform of the foreign exchange trading center to obtain the confirmation status details of the transaction; determine whether the confirmation is successful by the institution or the other party based on the confirmation status details; if it is determined that the confirmation is unsuccessful by the institution, send a transaction confirmation operation reminder to the associated contact to remind the associated contact to perform the transaction confirmation operation on the post-trade processing platform; if it is determined that the other party's institution is unsuccessful, after obtaining the communication contact information of the relevant business personnel of the other party, send a transaction confirmation operation reminder to the aforementioned relevant business personnel; For transactions confirmed through Swift confirmation messages, if the confirmation message for transaction confirmation fails to match successfully within the set time range, after obtaining the preset login account information, log in to the post-trade processing platform of the foreign exchange trading center to obtain the confirmation message matching status details of this transaction; determine whether the institution on the side has failed to send the confirmation message successfully or the other party’s institution has failed to send the confirmation message successfully based on the confirmation message matching status details; when it is determined that the institution on the side has failed to send the confirmation message successfully, send a message confirmation reminder to the associated contact to remind the associated contact to send the transaction confirmation message to the Swift system and check the message matching status; when it is determined that the other party’s institution has failed to send the confirmation message successfully, after obtaining the communication contact information of the relevant business personnel of the other party’s institution, send a message confirmation reminder to the aforementioned relevant business personnel; when it is determined that both institutions have successfully sent the confirmation message, but the post-trade processing platform has not completed the matching successfully, start the manual confirmation operation mode; In the manual confirmation operation mode, the post-transaction processing platform outputs the confirmation message information of the other party institution to the user. When the user's correct confirmation operation on the confirmation message information of the other party institution is collected, the post-transaction processing platform determines that the confirmation message is completely matched successfully and updates the confirmation message matching status.

6. The method according to claim 1, Features: The RMB incoming account information includes the amount, date, payee's large amount payment bank number and incoming account information of the RMB incoming account; The message information includes the payer's bank code (BIC Code), payer account number, payment amount, payment currency and payment date.

7. The method according to claim 1, Features: The automated process engine is provided with a mid-price exchange rate monitoring unit for determining whether the mid-price exchange rate of the day is updated; The middle rate monitoring unit is configured to: obtain the middle rate of RMB exchange rate on the day and the middle rate of RMB exchange rate on the previous day; compare the middle rates of RMB exchange rate on the day with the middle rate of RMB exchange rate on the previous day to determine whether the middle rates of RMB exchange rate on the two days are the same; when the middle rates of RMB exchange rate on the day are different from the middle rates of RMB exchange rate on the previous day, determine that the middle rate of RMB exchange rate on the day is updated.

8. The method according to claim 1 or 7, Features: Use Spring scheduled task SpringTask to configure the polling task information of the automation process engine. The polling task information includes the polling frequency, the polling start time of the day, and the polling end time of the day. Use the cron expression in the scheduled task to configure the polling task information. After receiving the polling task information configured by the user through the cron expression, the automated process engine generates a chain check item that matches the polling task according to the configured polling task information. When the polling time arrives, the automated process engine starts to check from the starting check item until all chain check items are matched. If the chain check items are matched successfully, at this time, it is determined that the corresponding cash flow data meets the preconditions for automatic submission, and the accounting engine is notified to generate the corresponding fund account entry information, ending the polling; when one of the check items in the chain check items does not match, the chain check item fails to match. At this time, it is determined that the corresponding cash flow data does not meet the preconditions for automatic submission, and the task execution is terminated, that is, exiting this polling; Regardless of whether a polling has cash flow data that meets the prerequisites, the automated process engine will end the polling task and wait for the next polling time to arrive to re-initiate the polling task until the polling end time of the day arrives and the last polling of the day is completed. The automated process engine ends the polling task of the day.

9. A foreign exchange funds management system, Features: Including transaction matching processing engine, cash flow matching engine, accounting engine and automated process engine; The transaction matching processing engine is used to perform transaction matching processing flow processing; The cash flow account matching engine is used to process the cash flow account matching process; The accounting engine is used to process the accounting process of foreign exchange funds business; The automated process engine is configured to initiate a polling task at a fixed time. After the polling task is initiated, the following steps are performed: the foreign exchange fund transaction information and cash flow information of the fund account to be recorded on the day are queried; when it is determined that the central parity rate of the day is updated, the matching data of the transaction matching processing engine and the cash flow incoming account matching engine are obtained to check whether the transaction corresponding to a cash flow has completed the transaction matching and whether the cash flow has completed the incoming account matching respectively; when there is a mismatch, the current polling is exited, and the polling task is initiated again when the next polling time arrives; When all items are matched, the aforementioned accounting engine is notified to perform accounting, generate the fund account entry information corresponding to the cash flow, end this polling, and wait for the next polling time to arrive to initiate the polling task again; Wherein, the cash flow account matching engine includes a RMB account matching engine and a foreign currency account matching engine; The RMB incoming account matching engine is configured to start the RMB incoming account matching process according to a preset time period, as follows: when the set time arrives, obtain and synchronize the RMB incoming account information from the payment system within the institution, and match the RMB incoming account information with the cash flow information in the foreign exchange fund management system; when the cash flow information in the foreign exchange fund management system can be matched, update the matching status and then end; when the cash flow information in the foreign exchange fund management system cannot be matched, directly end; The foreign currency incoming account matching engine is configured to start the foreign currency incoming account matching process according to a preset time period, as follows: when the set time arrives, the incoming account message information is obtained and synchronized from the Swift system front-end in the institution, and the message information is matched with the cash flow information in the foreign exchange funds management system; when the cash flow information in the foreign exchange funds management system can be matched, the matching status is updated and then ended; when the cash flow information in the foreign exchange funds management system cannot be matched, it is ended directly.

10. An electronic device, It is characterized in that include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method according to any one of claims 1 to 8.