Resource transfer method, device and equipment
By obtaining and verifying clearing documents, statements and flow information, the resource transfer of the banking system is achieved, and the problem that the banking system cannot be timely flat, improving efficiency and ability to deal with fluctuations in the foreign exchange market are avoided.
Patent Information
- Application Number
- CN202011035830.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-27
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2040-09-27
AI Technical Summary
The existing banking system cannot process liquidation documents in a timely manner in the wild card collection transaction, resulting in the inability to conduct flat trading on the day of receipt of the liquidation documents, resulting in the widening of the gap between the exchange rate and the flat exchange rate, and unable to effectively deal with fluctuations in the foreign exchange market, resulting in bank settlement Losses in foreign exchange sales business.
By obtaining the liquidation file set, liquidation report and resource transfer flow information set, verify the integrity of the liquidation file and perform information consistency verification, determine the resource information set to be liquidated, realize resource transfer, and reduce the number of customer exchange rates and flat exchange rates within the system time difference.
It improves the efficiency of the banking system in the process of resource transfer, shortens the gap between customer exchange rates and flat exchange rates, promptly responds to foreign exchange market fluctuations, and avoids banking business losses.
Smart Images

Figure CN112085607B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of this specification relate to the technical field of foreign exchange settlement and sale, and in particular to a resource transfer method, device and equipment. Background Art
[0002] In foreign card acquiring transactions, the management of the foreign exchange sales exposure generated by the transaction becomes increasingly important as the transaction volume increases. At present, banks adopt the business processing mode of "end-of-day batch entry and next-day commissioned closing" for foreign exchange settlement and sales on behalf of customers. The business needs to transfer foreign card acquiring funds and conduct foreign exchange settlement and sales operations before 10 am every day, which places high demands on the real-time nature of business processing and clearing documents. If the clearing documents cannot be handled in time, it may lead to overnight foreign exchange exposure risks. In the case of foreign exchange exposure, exchange rate fluctuations may cause losses to the bank's current income or economic value, thereby forming exchange rate risks.
[0003] In the prior art, since the current bank system does not have the automatic processing of clearing documents and the automatic reading and entry of foreign card fees, business personnel are required to manually process clearing documents and manually enter foreign card fees, and review personnel are required to review, which makes the execution efficiency of the bank system low, and there are problems such as delayed collection of transaction data and slow data processing. Therefore, the bank system using the technical solution in the prior art usually needs to achieve flat trading on the next day after receiving the clearing documents, which will cause losses in the bank's foreign exchange settlement and sales business. It can be seen that the bank system using the technical solution in the prior art has low processing efficiency and cannot close the market on the day when the clearing documents are received, so as to shorten the gap between the customer exchange rate and the flat exchange rate, as well as the time difference between the time point of resource transfer and the flat time point, so as to better cope with fluctuations in the foreign exchange market.
[0004] To address the above problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of this specification provide a resource transfer method, device and equipment to solve the problem in the prior art that it is impossible to close the market on the day the clearing document is received, so as to shorten the customer exchange rate and the closing exchange rate time point in the system to the greatest extent, shorten the time difference between transaction and closing, and thus better cope with fluctuations in the foreign exchange market.
[0006] The embodiment of the present specification provides a resource transfer method, including: obtaining a liquidation file set, a liquidation report, and a resource transfer flow information set; wherein the liquidation file set contains resource transfer information of a target date recorded by a card organization; when the integrity of the liquidation file set is verified, the consistency of information in the liquidation file set and the resource transfer flow information set is checked to obtain a check result; according to the liquidation report and the check result, a resource information set to be liquidated on the target date is determined; and resource transfer is performed according to the resource information set to be liquidated.
[0007] The embodiments of the present specification also provide a resource transfer device, including: an acquisition module, used to acquire a liquidation file set, a liquidation report and a resource transfer flow information set; wherein the liquidation file set contains resource transfer information of a target date recorded by a card organization; a blending module, used to check the consistency of information in the liquidation file set and the resource transfer flow information set after verifying the integrity of the liquidation file set, and obtain a verification result; a determination module, used to determine the resource information set to be liquidated on the target date according to the liquidation report and the verification result; and a settlement module, used to transfer resources according to the resource information set to be liquidated.
[0008] The embodiment of the present specification also provides a resource transfer device, including a processor and a memory for storing processor-executable instructions, wherein the processor implements the steps of the resource transfer method when executing the instructions.
[0009] The embodiments of the present specification also provide a computer-readable storage medium on which computer instructions are stored, and the steps of the resource transfer method are implemented when the instructions are executed.
[0010] The embodiment of this specification provides a resource transfer method, which can obtain a clearing file set, a clearing report and a resource transfer flow information set in a timely manner, wherein the clearing file set contains the resource transfer information of the target date recorded by the card organization. When the integrity of the clearing file set is verified, the consistency of the information in the clearing file set and the resource transfer flow information set can be checked to obtain a verification result. Further, the resource information set to be cleared on the target date can be determined according to the clearing report and the verification result, and the resource transfer can be performed according to the resource information set to be cleared. In the process of realizing resource transfer, the bank system does not need manual operation, and can process the clearing file set and clearing report in a timely manner to ensure the timeliness of settlement, thereby improving the efficiency of the bank system in executing resource transfer, thereby effectively shortening the gap between the customer exchange rate and the flat exchange rate, and the time difference between the time point of resource transfer and the flat time point, thereby better coping with fluctuations in the foreign exchange market. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The drawings described herein are used to provide a further understanding of the embodiments of this specification, constitute a part of the embodiments of this specification, and do not constitute a limitation of the embodiments of this specification. In the drawings:
[0012] Figure 1 is a schematic diagram of the structure of a resource transfer system provided according to an embodiment of this specification;
[0013] Figure 2is a schematic diagram of the steps of a resource transfer method provided in an embodiment of this specification;
[0014] Figure 3 is a schematic diagram of the structure of a resource transfer device provided according to an embodiment of this specification;
[0015] Figure 4 It is a structural diagram of a resource transfer device provided according to an embodiment of this specification. DETAILED DESCRIPTION
[0016] The principles and spirit of the embodiments of this specification will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the embodiments of this specification, and are not intended to limit the scope of the embodiments of this specification in any way. On the contrary, these embodiments are provided to make the disclosure of the embodiments of this specification more thorough and complete, and to fully convey the scope of the disclosure to those skilled in the art.
[0017] Those skilled in the art know that the implementation of the embodiments of this specification can be implemented as a system, device, method or computer program product. Therefore, the embodiments disclosed in this specification can be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0018] Although the processes described below include multiple operations that occur in a particular order, it should be clear that these processes may include more or fewer operations, which may be performed sequentially or in parallel (eg, using parallel processors or a multi-threaded environment).
[0019] In a scenario example of the present application, a checkbox identification system is provided, such as Figure 1 As shown, it may include: a terminal device 101 and a server 102, and a user may initiate a resource transfer request through the terminal device 101. The server 102 may obtain a clearing file set, a clearing report, and a resource transfer flow information set in response to the resource transfer request submitted by the user, and, if the integrity of the clearing file set is verified, the clearing file set and the resource transfer flow information set are checked for consistency, and a check result is obtained. Further, settlement may be performed according to the clearing report and the check result, so that the resource transfer operation may be efficiently performed after the clearing file set and the clearing report are obtained, so as to effectively shorten the gap between the customer exchange rate and the flat exchange rate, and the time difference between the time point of resource transfer and the flat time point, so as to better cope with fluctuations in the foreign exchange market. In some scenario examples, the server 102 may also feed back the result of the resource transfer to the terminal device 101.
[0020] The terminal device 101 may be a terminal device or software operated by a user. Specifically, the terminal device may be a terminal device such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart watch or other wearable device, or a robot device. Of course, the terminal device 101 may also be software that can run in the terminal device. For example: system applications, payment applications, browsers, WeChat applets and other application software.
[0021] The server 102 can be a single server or a server cluster. Of course, the server function can also be realized through cloud computing technology. The server 102 can be connected to multiple terminal devices, or it can be a server with a powerful information set library. Based on the resource transfer request submitted by the user, it can obtain the clearing file set, clearing report and resource transfer flow information set, and verify the consistency of the clearing file set and the resource transfer flow information set when the integrity of the clearing file set is verified to obtain the verification result. Further, settlement can be performed according to the clearing report and the verification result, so that the resource transfer operation can be efficiently performed after the clearing file set and clearing report are obtained, so as to effectively shorten the gap between the customer exchange rate and the flat exchange rate, and the time difference between the time point of resource transfer and the flat time point, so as to better cope with the fluctuations in the foreign exchange market.
[0022] For foreign card acquiring transactions, the international card organization will summarize and compile all transaction data on the transaction date (t) on the next day (t+1) of the transaction date to generate a clearing document set and a clearing report, and send the clearing document set and the clearing report to the head office at 0:00 on the second working day (t+2) after the transaction date. The resource transfer needs to be completed before 10:00 on the second working day (t+2) after the transaction date to avoid overnight foreign exchange exposure risk. In the prior art, due to the manual processing of clearing document sets and clearing reports, the resource transfer cannot be completed before 10:00 on the second working day (t+2) after the transaction date due to the limitation of working time and work efficiency. Usually, the resource transfer can only be completed before 10:00 on the third working day (t+3) after the transaction date, resulting in overnight foreign exchange exposure risk, which will cause losses in the bank's foreign exchange settlement and sales business.
[0023] Among them, the above-mentioned foreign cards refer to credit cards and debit cards issued by overseas card issuers with global universal payment verification functions. Foreign card acquiring refers to domestic non-financial institutions collecting foreign exchange payments from overseas individuals to domestic individuals on behalf of domestic websites. The business process is generally that after overseas individuals purchase goods on domestic websites, they pay foreign exchange payments to domestic non-financial institutions’ overseas bank accounts through overseas payment companies that cooperate with domestic non-financial institutions. After confirming receipt of foreign exchange payments, domestic non-financial institutions notify domestic websites to ship goods to overseas individuals. Foreign card transactions of each branch can be forwarded to international card organizations through the foreign card center, and the clearing documents returned by the international card organization are cleared to each branch through the foreign card center.
[0024] See also Figure 2 This embodiment can provide a resource transfer method. The resource transfer method can be used to efficiently perform resource transfer operations after obtaining a clearing file set and a clearing report, so as to effectively shorten the gap between the customer exchange rate and the flat exchange rate, as well as the time difference between the time point of resource transfer and the flat exchange time point, thereby better coping with fluctuations in the foreign exchange market. The above-mentioned resource transfer method may include the following steps.
[0025] S201: Acquire a liquidation file set, a liquidation report, and a resource transfer flow information set; wherein the liquidation file set includes resource transfer information of a target date recorded by the card organization.
[0026] In this embodiment, the settlement file set and the settlement report can be automatically obtained when the card organization sends them to ensure the timeliness of the acquisition. In addition, the resource transfer flow information set recorded by the foreign card transaction system can be obtained. The acquisition order of the above settlement file set, settlement report and resource transfer flow information set can be determined according to the actual situation, and this embodiment of the specification does not limit this.
[0027] In this embodiment, the above-mentioned clearing file set may include resource transfer information of the target date recorded by the card organization, wherein the above-mentioned target date may be the date of establishment of the foreign card transaction, and the specific date may be determined according to actual needs. The above-mentioned resource transfer information may be detailed information of each online resource transfer, and may include at least one of the following: card number, authorization number, resource transfer serial number, resource transfer identifier. The above-mentioned resource transfer may be an online transfer of virtual resources, and a resource transfer may be a transaction.
[0028] In this embodiment, the full name of the above-mentioned card organization is the bank card switching and clearing organization (also known as the credit card organization / bank card organization), which is an international or regional payment card organization composed of members, authorizing members to issue cards, accepting merchant card transactions, and owning and operating its own international regional processing network. The card organization is responsible for building and operating a global or regional unified payment card information exchange network, responsible for information conversion and fund clearing of payment card transactions, and formulating and promoting payment card inter-bank transaction business specifications and technical standards.
[0029] In this embodiment, the above-mentioned liquidation report can be a report on the resource income and expenditure activities of the card organization during the liquidation process, and may include: a summary of resource transfers on the above-mentioned target date, a summary of service fees collected or paid by the card organization for issuing banks and acquiring banks for services provided on a weekly / monthly / yearly basis, and other information.
[0030] S202: When the integrity of the liquidation file set is verified, the consistency of information in the liquidation file set and the resource transfer flow information set is checked to obtain a verification result.
[0031] In this embodiment, if the reconciliation is performed before the settlement documents are complete, the reconciliation will be unbalanced, resulting in overpayment and underpayment, which will affect the subsequent fund transfer. Therefore, the integrity of the settlement document set can be verified first, and when it is determined that the settlement documents in the settlement document set are complete, the consistency of the information in the settlement document set and the resource transfer flow information set is checked to obtain the verification result.
[0032] In this embodiment, the consistency of the information in the clearing file set and the resource transfer flow information set can be checked to determine whether the resource transfer information recorded by the card organization is consistent with the resource transfer flow information recorded by the foreign card transaction system, so as to ensure the accuracy of the data recorded in the clearing file set. In an example scenario, the resource transfers can be blended one by one in the order in which they occur. For a resource transfer, if the clearing file set and the resource transfer flow information set have a unique record, the resource transfer can be checked to determine that the resource transfer blending is successful.
[0033] In this embodiment, the above verification result may include data in all successfully verified clearing files.
[0034] In one embodiment, the consistency of information in the liquidation file set and the resource transfer flow information set is checked to obtain a verification result, which may include: each piece of resource transfer information to be liquidated in the liquidation file set is checked with each resource transfer flow in the resource transfer flow information set, and the successfully verified resource transfer flow can be written into the target flow table, and the target flow table is used as the verification result.
[0035] In this embodiment, the settlement file set and the resource transfer flow information set can be searched against each other through the card number, authorization number, transaction serial number, transaction identifier, etc. in the resource transfer information. Settlement data that is not found and the resource transfer flow information will be regarded as long payments, and settlement data that is not found and the resource transfer flow information will be regarded as short payments. "Long payments" and "short payments" are actually the surplus and shortage of resources.
[0036] In this embodiment, in order to facilitate business inquiries and subsequent dispute and error handling operations, the successfully blended resource transfer flow can be written into the target flow table for storage. The above verification results can be stored in the form of a table or image, which can be determined according to actual conditions, and this specification embodiment does not limit this.
[0037] S203: Determine the resource information set to be liquidated on the target date according to the liquidation report and the verification result.
[0038] In this embodiment, since the liquidation report and the verification result record the resource transfer situation on the target date, the resource information set to be liquidated on the target date can be determined according to the liquidation report and the verification result.
[0039] In this embodiment, since the transfer of resources may involve two parties: the first party and the second party, and the first party and the second party may both be the initiator and the receiver, the set of information on resources to be settled on the target date may include: resources that the first party and / or the second party need to settle.
[0040] Both clearing and settlement are the process and means of settling the creditor-debtor relationship between the payee and the payee. In payment activities, the account funds within the same bank can be directly settled, while the account funds between different banks must be cleared first and then settled. Clearing mainly refers to the payment and collection of money between different banks. It can be considered that before the settlement, the initiating bank and the receiving bank send, receive, and verify the payment instructions. The result is a comprehensive exchange of settlement tools and payment information, and the establishment of a final settlement position. It can be a calculation process of who pays who how much, who owes who how much, and finally netting out the difference to get a final calculation of who should pay who how much. It can be seen that clearing is used for account funds between different banks. Funds between peers do not need clearing, and direct settlement is enough.
[0041] S204: Transfer resources according to the to-be-liquidated resource information set.
[0042] In this embodiment, since the above-mentioned information set of resources to be cleared includes the resources that need to be settled involving both parties of the resource transfer, resource transfer can be carried out according to the above-mentioned information set of resources to be cleared, thereby realizing resource allocation, so as to minimize the time difference between the customer exchange rate and the flat exchange rate in the system, and avoid losses in foreign exchange settlement and sales business due to exchange rate issues.
[0043] In this implementation, settlement of accounts refers to the process of performing corresponding accounting treatment on the initiating bank and the receiving bank for the pending settlement positions generated during the liquidation process, completing the resource transfer, and notifying the payee and payee. In the China UnionPay Bank Card Network Joint Technical Specification V2.1, settlement is defined as the process of completing the transfer of funds between customer accounts.
[0044] In this embodiment, the above-mentioned flat position refers to the transaction in which the bank sells the foreign exchange settlement position or buys the foreign exchange position through the foreign exchange trading market to supplement the foreign exchange sales position after handling the foreign exchange settlement and sale business on behalf of customers or its own foreign exchange settlement and sale business.
[0045] From the above description, it can be seen that the embodiment of this specification achieves the following technical effects: the clearing file set, clearing report and resource transfer flow information set can be obtained in time, wherein the clearing file set contains the resource transfer information of the target date recorded by the card organization. When the integrity of the clearing file set is verified, the consistency of the information in the clearing file set and the resource transfer flow information set can be checked to obtain the verification result. Further, the resource information set to be cleared on the target date can be determined according to the clearing report and the verification result, and the resource transfer can be performed according to the resource information set to be cleared. In the process of realizing resource transfer, the bank system does not need manual operation, and can process the clearing file set and clearing report in time to ensure the timeliness of settlement, thereby improving the efficiency of the bank system in executing resource transfer, thereby effectively shortening the gap between the customer exchange rate and the flat exchange rate, and the time difference between the time point of resource transfer and the flat time point, and thus can better cope with the fluctuations in the foreign exchange market.
[0046] In one implementation, after transferring resources according to the to-be-liquidated resource information set, foreign exchange settlement and sale processing can also be performed. The head office can call the foreign exchange settlement and sale interface of the personal fund transaction component to settle and sell foreign exchange in US dollars, and each branch can call the foreign exchange settlement and sale interface to settle the principal, record the RMB amount of foreign exchange settlement and sale after settlement, and automatically calculate the difference between the principal settlement amount and the foreign exchange settlement and sale amount, and record the difference amount in the profit and loss account. Among them, the profit and loss account refers to an account used to reflect the income obtained and the cost and expenses incurred.
[0047] In this implementation, the above-mentioned foreign exchange settlement and sale is a general term for foreign exchange settlement and sale. Bank foreign exchange settlement and sale refers to the foreign exchange settlement and sale business handled by the bank for its customers and itself, including forward foreign exchange settlement and sale performance and option exercise data, but does not include interbank foreign exchange market transaction data. The statistical time point for bank foreign exchange settlement and sale is when the RMB and foreign exchange exchange behavior occurs. Foreign exchange settlement, also known as "foreign exchange settlement", refers to the behavior of the owner of foreign exchange income selling his foreign exchange income to the designated foreign exchange bank, and the designated foreign exchange bank paying the equivalent amount of local currency at a certain exchange rate. Foreign exchange sale, also known as "foreign exchange sale", refers to the behavior of the designated foreign exchange bank selling foreign exchange to the foreign exchange user and collecting the equivalent amount of RMB according to the RMB exchange rate on the day the transaction occurs.
[0048] In one embodiment, before checking the consistency of the information in the clearing file set and the resource transfer flow information set, it may also include: obtaining the preset number of clearing files set by the card organization, and determining the number of clearing files in the clearing file set. Further, when it is determined that the number of clearing files in the clearing file set is equal to the preset number of clearing files set by the card organization, it is determined that the clearing file set has integrity.
[0049] In this embodiment, since the card organization may send multiple settlement files in a single day, that is, the settlement file set contains multiple settlement files, but the number of settlement files sent by the card organization in a single day is fixed, the integrity of the settlement file set can be judged by the number of settlement files received.
[0050] In one embodiment, before checking the consistency of the information in the liquidation file set and the resource transfer flow information set, the method may further include: obtaining the MD5 check value of each liquidation file in the liquidation file set, and determining the MD5 actual value of each liquidation file in the liquidation file set using a message digest algorithm. Further, when it is determined that the MD5 actual value of each liquidation file in the liquidation file set is equal to the MD5 check value, it is determined that each liquidation file in the liquidation file set has integrity.
[0051] In this implementation, since the content in the liquidation file involves the allocation of resources, the liquidation file needs to have high security and confidentiality. In order to ensure that the information in the liquidation file is not lost or tampered with during the transmission process, the MD5 actual value of each liquidation file in the liquidation file set can be determined by using a message digest algorithm, and the calculated actual value is compared with the check value of the file itself. When the MD5 actual value of each liquidation file in the liquidation file set is equal to the MD5 check value, it can be determined that each liquidation file in the liquidation file set has integrity.
[0052] In this embodiment, the above MD5 (Message Digest Algorithm MD5, Message Digest Algorithm Fifth Edition) is a hash function widely used in the field of computer security to provide message integrity protection. The practical application of MD5 is to generate a fingerprint (digital fingerprint, MD5 value refers to this digital fingerprint calculated by MD5) for a message (byte string), which can effectively prevent "tampering". MD5 is widely used in encryption and decryption technology. For example: the MD5 checksum software WinMD5.zip provided by Tiantian Security Network for download has an MD5 value of 1e07ab3591d25583eff5129293dc98d2. After downloading the software, the MD5 is calculated and found to be 81395f50b94bb4891a4ce4ffb6ccf64b, which means that the ZIP has been modified by others. It can be seen that the MD5 value calculated for the same file or character in any language and environment is the same.
[0053] In one embodiment, determining the resource information set to be cleared on the target date based on the clearing report and the verification result may include: determining the clearing service fee of each first party based on the clearing report, and determining the clearing information set of each first party based on the verification result and the clearing service fee of each first party. Further, the resource to be cleared of each first party may be determined based on the target resource to be cleared by the card organization to the second party and the clearing information set of each first party, so that the resource to be cleared of each first party may be used as the resource information set to be cleared on the target date.
[0054] In this embodiment, since the clearing report can record the service fees collected or paid by the card organization for the issuing bank and the acquiring bank for the services provided on a weekly / monthly / yearly basis, the clearing service fees of each first party can be determined based on the clearing report. The above-mentioned first party can be a branch, and there can be multiple first parties.
[0055] In one scenario example, the resource transfer quantity and resource transfer amount of each branch can be summarized from the dimension of the branch number of each branch based on the above verification results, so as to determine the clearing principal, clearing fee and clearing status (whether the branch cleared successfully) of each branch. Furthermore, the funds cleared by the international card organization to the head office can be transferred to the accounts of each branch based on the determined results.
[0056] In this embodiment, the above-mentioned clearing is the data preparation stage of clearing, which mainly summarizes, organizes and classifies all online resource transfer data of the day according to the transfer between member banks, such as this bank transferring to others, others transferring to this bank, credit, debit, number of transactions, amount, net difference, etc.
[0057] In this embodiment, the above-mentioned clearing information set includes at least one of the following: clearing principal, clearing handling fee, clearing service fee, clearing status, etc. Among them, since clearing involves foreign exchange and local currency, the above-mentioned clearing principal may include: clearing principal (US dollars), clearing principal (RMB), of course, the clearing principal is not limited to the above examples, and technicians in the relevant field may make other changes under the inspiration of the technical essence of the embodiments of this specification, but as long as the functions and effects achieved are the same or similar to the embodiments of this specification, they should be covered within the protection scope of the embodiments of this specification.
[0058] In one embodiment, determining the clearing service fee of each first party based on the clearing report may include: converting the clearing report into a byte stream, and matching the byte stream using a regular expression to determine the clearing service fee of each first party recorded in the clearing report.
[0059] In this embodiment, in order to facilitate the computer to read the file efficiently, the liquidation report can be converted into a byte stream. The byte stream is composed of bytes and does not contain a continuous stream of boundary data. The byte stream is directly transmitted using binary encoding.
[0060] In this embodiment, the above regular expression, sometimes also called rational expression, is a character sequence that defines a search pattern, and the regular expression consists of constants (representing a set of strings) and operators (representing operations on these sets). Usually, this pattern is used for "find" or "find and replace" operations on strings through string search algorithms, or for input validation. Therefore, the regular expression can be used to match the bytes in the liquidation report that record the liquidation service fees of each first party.
[0061] In this embodiment, since the format of the settlement file sent by the card organization may be an 8583 file encoded in EBCDIC, before checking the consistency of the settlement file set and the resource transfer flow information set, it may also include: converting the format of each settlement file in the settlement file set into a settlement file in a readable format. The readable format may be a computer-readable format, such as a binary code, etc., which may be determined according to actual conditions, and is not limited in this embodiment of the specification.
[0062] In this embodiment, EBCDIC (Extended Binary Coded Decimal Interchange Code) is a character encoding table introduced by International Business Machines Corporation between 1963 and 1964, which is arranged according to the binary evolved decimal (BCD) of the early punching machine. The above 8583 file can be an 8583 message. The 8583 message is an international standard packet format, which consists of up to 128 fields. Each field has a unified regulation and is divided into fixed length and variable length. The first section of the 8583 packet is a bitmap, which is a key replacement for packing and unpacking to determine the field field. The 8583 protocol is mostly used in the development of POS machines.
[0063] Based on the same inventive concept, a resource transfer device is also provided in the embodiments of this specification, such as the following embodiments. Since the principle of solving the problem by the resource transfer device is similar to that of the resource transfer method, the implementation of the resource transfer device can refer to the implementation of the resource transfer method, and the repeated parts will not be repeated. As used below, the term "unit" or "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived. Figure 3 is a structural block diagram of a resource transfer device according to an embodiment of this specification, such as Figure 3 As shown, it may include: an acquisition module 301, a blending module 302, a determination module 303 and a settlement module 304. The structure is described below.
[0064] The acquisition module 301 can be used to acquire a liquidation file set, a liquidation report, and a resource transfer flow information set; wherein the liquidation file set includes resource transfer information of a target date recorded by the card organization;
[0065] The blending module 302 can be used to check the consistency of the liquidation file set and the resource transfer flow information set when the integrity of the liquidation file set is verified to obtain a verification result;
[0066] The determination module 303 may be used to determine the set of to-be-liquidated resource information on the target date according to the liquidation report and the verification result;
[0067] The settlement module 304 may be used to transfer resources according to the to-be-settled resource information set.
[0068] The embodiment of this specification also provides an electronic device, which can be specifically referred to in Figure 4The electronic device composition structure diagram based on the resource transfer method provided in the embodiment of this specification is shown, and the electronic device may specifically include an input device 41, a processor 42, and a memory 43. Among them, the input device 41 can be specifically used to input a liquidation file set, a liquidation report, and a resource transfer flow information set. The processor 42 can be specifically used to obtain a liquidation file set, a liquidation report, and a resource transfer flow information set; wherein the liquidation file set contains the resource transfer information of the target date recorded by the card organization; when the integrity of the liquidation file set is verified, the consistency of the information in the liquidation file set and the resource transfer flow information set is checked to obtain a verification result; according to the liquidation report and the verification result, the resource information set to be liquidated on the target date is determined; and the resource transfer is performed according to the resource information set to be liquidated. The memory 43 can be specifically used to store parameters such as the resource information set to be liquidated.
[0069] In this embodiment, the input device can specifically be one of the main devices for information exchange between the user and the computer system. The input device can include a keyboard, a mouse, a camera, a scanner, a light pen, a handwriting input board, a voice input device, etc.; the input device is used to input the original data and the program for processing these numbers into the computer. The input device can also obtain and receive data transmitted from other modules, units, and devices. The processor can be implemented in any appropriate manner. For example, the processor can take the form of a computer-readable medium, a logic gate, a switch, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a programmable logic controller, and an embedded microcontroller, etc., such as a microprocessor or a processor and a computer-readable program code (such as software or firmware) that can be executed by the (micro) processor. The memory can specifically be a memory device used to store information in modern information technology. The memory can include multiple levels. In a digital system, anything that can store binary data can be a memory; in an integrated circuit, a circuit with a storage function without a physical form is also called a memory, such as a RAM, a FIFO, etc.; in a system, a storage device with a physical form is also called a memory, such as a memory stick, a TF card, etc.
[0070] In this embodiment, the functions and effects specifically realized by the electronic device can be explained in comparison with other embodiments and will not be described in detail here.
[0071] The embodiments of the present specification also provide a computer storage medium based on the resource transfer method, the computer storage medium stores computer program instructions, and when the computer program instructions are executed, the following can be achieved: obtaining a liquidation file set, a liquidation report, and a resource transfer flow information set; wherein the liquidation file set contains resource transfer information of the target date recorded by the card organization; when the integrity of the liquidation file set is verified, the consistency of the information in the liquidation file set and the resource transfer flow information set is checked to obtain a verification result; according to the liquidation report and the verification result, the resource information set to be liquidated on the target date is determined; and resource transfer is performed according to the resource information set to be liquidated.
[0072] In this embodiment, the storage medium includes, but is not limited to, a random access memory (RAM), a read-only memory (ROM), a cache, a hard disk (HDD), or a memory card. The memory may be used to store computer program instructions. The network communication unit may be an interface for network connection communication set in accordance with the standard specified by the communication protocol.
[0073] In this embodiment, the functions and effects specifically implemented by the program instructions stored in the computer storage medium can be explained in comparison with other embodiments and will not be repeated here.
[0074] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of this specification can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of this specification are not limited to any specific combination of hardware and software.
[0075] Although the embodiments of this specification provide method operation steps as described in the above embodiments or flowcharts, more or fewer operation steps may be included in the method based on routine or no creative labor. In the steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided by the embodiments of this specification. When the device or terminal product of the method described in practice is executed, it can be executed in sequence or in parallel according to the method shown in the embodiments or drawings (for example, a parallel processor or a multi-threaded processing environment).
[0076] It should be understood that the above description is for illustration and not for limitation. By reading the above description, many embodiments and many applications beyond the examples provided will be apparent to those skilled in the art. Therefore, the scope of the embodiments of this specification should not be determined with reference to the above description, but should be determined with reference to the full scope of the aforementioned claims and the equivalents possessed by these claims.
[0077] The above is only a preferred embodiment of the embodiment of this specification, and is not intended to limit the embodiment of this specification. For those skilled in the art, the embodiment of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiment of this specification shall be included in the protection scope of the embodiment of this specification.
Claims
1. A resource transfer method, characterized in that: include: Obtaining a liquidation file set, a liquidation report, and a resource transfer flow information set; wherein the liquidation file set includes resource transfer information of the target date recorded by the card organization; In the case where the integrity of the liquidation file set is verified, the consistency of information in the liquidation file set and the resource transfer flow information set is checked to obtain a verification result; Determine, according to the settlement report and the verification result, a set of information on resources to be settled on the target date, wherein the set of information on resources to be settled on the target date includes resources that need to be settled between the two parties of the resource transfer; Transferring resources according to the to-be-liquidated resource information set; Wherein, determining the set of information on resources to be liquidated on the target date according to the liquidation report and the verification result includes: determining a clearing service fee for each first party based on the clearing report; Determining a clearing information set of each first party according to the checking result and the clearing service fee of each first party; Determining the resources to be cleared of each first party according to the target resources to be cleared by the card organization to the second party and the clearing information sets of each first party; Using the to-be-liquidated resources of each first party as the to-be-liquidated resource information set of the target date, where the target date is the transaction conclusion date; The determining of the clearing service fee of each first party based on the clearing report includes: Converting the liquidation report into a byte stream; The byte stream is matched using a regular expression to determine the clearing service fees of the various first parties recorded in the clearing report.
2. The method according to claim 1, characterized in that: Before checking the consistency of the information in the liquidation file set and the resource transfer flow information set, the method further includes: Get the preset number of clearing files set by the card organization; Determining the number of liquidation documents in the liquidation document set; When it is determined that the number of clearing files in the clearing file set is equal to the preset number of clearing files set by the card organization, it is determined that the clearing file set has integrity.
3. The method according to claim 1, characterized in that Before checking the consistency of the information in the liquidation file set and the resource transfer flow information set, the method further includes: Obtaining the MD5 checksum of each clearing file in the clearing file set; Determine the actual MD5 value of each clearing file in the clearing file set by using a message digest algorithm; When it is determined that the MD5 actual value of each liquidation file in the liquidation file set is equal to the MD5 check value, it is determined that each liquidation file in the liquidation file set has integrity.
4. The method according to claim 1, characterized in that: The consistency of the information in the liquidation file set and the resource transfer flow information set is checked to obtain a check result, including: respectively checking each to-be-liquidated resource transfer information in the liquidation file set with each resource transfer flow in the resource transfer flow information set; Write the successfully verified resource transfer flow into the target flow table; The target flow table is used as the verification result.
5. The method according to claim 1, characterized in that The clearing information set includes at least one of the following: clearing principal, clearing handling fee, clearing service fee, and clearing status.
6. The method according to claim 1, characterized in that Before checking the consistency of the information in the liquidation file set and the resource transfer flow information set, the method further includes: The format of each clearing file in the clearing file set is converted into a clearing file in a readable format.
7. A resource transfer device, characterized in that: include: An acquisition module, used to acquire a liquidation file set, a liquidation report, and a resource transfer flow information set; wherein the liquidation file set includes resource transfer information of a target date recorded by the card organization; A checking module, configured to check the consistency of information in the liquidation file set and the resource transfer flow information set when the integrity of the liquidation file set is verified to obtain a checking result; A determination module, configured to determine the set of to-be-liquidated resource information on the target date according to the liquidation report and the verification result, wherein the set of to-be-liquidated resource information on the target date includes resources that need to be settled and are involved in resource transfer between the two parties; A settlement module, used for transferring resources according to the to-be-cleared resource information set; Wherein, determining the set of information on resources to be liquidated on the target date according to the liquidation report and the verification result includes: determining a clearing service fee for each first party based on the clearing report; Determining a clearing information set of each first party according to the checking result and the clearing service fee of each first party; Determining the resources to be cleared of each first party according to the target resources to be cleared by the card organization to the second party and the clearing information sets of each first party; Using the to-be-liquidated resources of each first party as the to-be-liquidated resource information set of the target date, where the target date is the transaction conclusion date; The determining of the clearing service fee of each first party based on the clearing report includes: Converting the liquidation report into a byte stream; The byte stream is matched using a regular expression to determine the clearing service fees of the various first parties recorded in the clearing report.
8. A resource transfer device, characterized in that: The method comprises a processor and a memory for storing processor-executable instructions, wherein the processor implements the steps of the method according to any one of claims 1 to 6 when executing the instructions.
9. A computer-readable storage medium, characterized in that: Computer instructions are stored thereon, and when the instructions are executed, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Double-check verification system and double-check verification method for bank card capital settlement platform
CN104574179A
Data checking method and device applicable to fund consignment sale mechanism
CN104732441A
Resource clearing method and device, computer equipment and storage medium
CN110232565A
System and method for validating received clearing information for implementing a global electronic funds transfer
US20140279484A1
