[go: up one dir, main page]

CN106803836B - Multi-center file forwarding processing method and device - Google Patents

Multi-center file forwarding processing method and device Download PDF

Info

Publication number
CN106803836B
CN106803836B CN201611229089.4A CN201611229089A CN106803836B CN 106803836 B CN106803836 B CN 106803836B CN 201611229089 A CN201611229089 A CN 201611229089A CN 106803836 B CN106803836 B CN 106803836B
Authority
CN
China
Prior art keywords
file
clearing
center
transaction
regional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611229089.4A
Other languages
Chinese (zh)
Other versions
CN106803836A (en
Inventor
杨森
陈林
徐立伟
张峻浩
张飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Unionpay Co Ltd
Original Assignee
China Unionpay Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Unionpay Co Ltd filed Critical China Unionpay Co Ltd
Priority to CN201611229089.4A priority Critical patent/CN106803836B/en
Publication of CN106803836A publication Critical patent/CN106803836A/en
Priority to PCT/CN2017/117025 priority patent/WO2018121328A1/en
Application granted granted Critical
Publication of CN106803836B publication Critical patent/CN106803836B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本发明公开了一种多中心文件转发处理方法及装置,用以实现多中心银行卡交换系统架构中的区域交换子中心、区域交换父中心,以及区域内成员机构之间的文件的统一收发。本发明包括:接收待转发清算文件;获取待转发清算文件的发送方、接收方和文件属性;在发送方为区域交换子中心时,确定文件属性是否为本地交易专属文件,若是,将待转发清算文件发送给接收方;在发送方为区域交换父中心时,确定文件属性是否为跨区交易专属文件,若是,将待转发清算文件发送给接收方。在不对成员机构、区域交换子中心以及区域交换父中心进行改造的基础上,使得清算文件或者交易文件在成员机构、区域交换子中心以及区域交换父中心间流畅转发。

Figure 201611229089

The invention discloses a multi-center file forwarding processing method and device, which are used to realize the unified sending and receiving of files between regional exchange sub-center, regional exchange parent center and member institutions in the region in the multi-center bank card exchange system architecture. The invention includes: receiving the clearing document to be forwarded; acquiring the sender, the receiver and the document attribute of the clearing document to be forwarded; when the sender is a regional exchange sub-center, determining whether the document attribute is a local transaction exclusive document, and if so, storing the document to be forwarded The clearing file is sent to the receiver; when the sender is the parent center of the regional exchange, determine whether the file attribute is an exclusive file for cross-regional transactions, and if so, send the clearing file to be forwarded to the receiver. On the basis of not transforming member institutions, regional exchange sub-centers and regional exchange parent centers, clearing documents or transaction files can be smoothly forwarded among member institutions, regional exchange sub-centers and regional exchange parent centers.

Figure 201611229089

Description

一种多中心文件转发处理方法及装置A kind of multi-center file forwarding processing method and device

技术领域technical field

本发明实施例涉及通信技术领域,尤其涉及一种多中心文件转发处理方法及装置。Embodiments of the present invention relate to the field of communication technologies, and in particular, to a method and device for forwarding and processing a multi-center file.

背景技术Background technique

现有的银行卡转接清算中心一般存在异地备份或者区域交换子中心之间的联动,而区域交换子中心在区域内的交易一般要求进行区域内集中清算。比如,随着银行卡产业及金融体系的建设发展,大多数国家都要求本地交易落地转接和清算,区域交换子中心负责处理区域内业务的本地业务,并作为跨区业务的桥梁。Existing bank card transfer clearing centers generally have off-site backup or linkage between regional exchange sub-centers, and regional exchange sub-centers generally require intra-regional centralized clearing for transactions within the region. For example, with the construction and development of the bank card industry and financial system, most countries require local transactions to be transferred and cleared on the ground, and the regional exchange sub-center is responsible for handling local business of intra-regional business and acts as a bridge for cross-regional business.

例如,如图1所示的系统架构中,包括父交换中心和多个交换子中心,父交换中心只处理跨境交易,交换子中心只处理区域内本地交易,对于父交换中心,所接入的清算系统主要用于跨境交易的清算,对于交换子中心,接入的清算系统主要用于本地交易的清算。与父交换子中心直联的成员机构之间发生跨境交易。For example, the system architecture shown in Figure 1 includes a parent exchange center and multiple exchange child centers. The parent exchange center only handles cross-border transactions, and the exchange child center only handles local transactions within the region. For the parent exchange center, the The clearing system is mainly used for the clearing of cross-border transactions. For the exchange sub-center, the connected clearing system is mainly used for the clearing of local transactions. Cross-border transactions occur between member institutions that are directly connected to the parent exchange child center.

如果一个区域内原本没有区域交换子中心,新建区域交换子中心以后,建设了区域内本地清算系统,并统一将该区域内的成员机构进行接入,区域内发生的本地交易由区域交换子中心自行进行清算,跨区交易仍然由区域交换父中心进行清算。新成员机构为海外机构时,一旦接入了区域交换子中心,便不期望继续接入区域交换父中心。那么海外机构的跨境交易就需要迁移至区域交换子中心,但是区域交换子中心只能处理本地交易,无法与其他区域中心联动进行多中心清算文件的转接和清算。在不改变区域交换子中心的清算文件收发的前提下,新成员机构在区域内发生的本地交易、跨区交易或者混合交易的清算文件如何转发处理就成为了亟待解决的问题。If there is no regional exchange sub-center in a region, after the new regional exchange sub-center is built, a local clearing system in the region is built, and the member institutions in the region are uniformly connected, and the local transactions in the region are handled by the regional exchange sub-center. Clearing is done by itself, and cross-regional transactions are still cleared by the regional exchange parent center. When a new member institution is an overseas institution, once it has connected to the regional exchange child center, it is not expected to continue to access the regional exchange parent center. Then the cross-border transactions of overseas institutions need to be migrated to the regional exchange sub-center, but the regional exchange sub-center can only process local transactions, and cannot link with other regional centers to transfer and clear multi-center clearing documents. On the premise of not changing the sending and receiving of clearing documents of regional exchange sub-centers, how to forward and process clearing documents of local transactions, cross-regional transactions or mixed transactions of new member institutions in the region has become an urgent problem to be solved.

在理想情况下,更期望成员机构无需区分区域交换子中心和区域交换父中心。因此,如何使新成员机构的清算文件能够在机构、区域交换子中心以及区域交换父中心间中流转,就成为了问题的关键。Ideally, it is more desirable that member institutions do not need to distinguish between regional exchange child centers and regional exchange parent centers. Therefore, how to make the clearing documents of the new member institutions circulate among the institutions, the regional exchange sub-center and the regional exchange parent center becomes the key of the problem.

发明内容SUMMARY OF THE INVENTION

本发明提供一种多中心文件转发处理方法及装置,用以实现交易文件和清算文件的统一收发,从而兼容多中心的清算系统。The invention provides a multi-center file forwarding processing method and device, which are used to realize the unified sending and receiving of transaction files and clearing files, so as to be compatible with multi-center clearing systems.

本发明实施例提供一种多中心文件转发处理方法,包括:The embodiment of the present invention provides a multi-center file forwarding processing method, including:

接收待转发清算文件;Receive clearing documents to be forwarded;

获取所述待转发清算文件的发送方、接收方和文件属性;obtaining the sender, receiver and file attributes of the clearing document to be forwarded;

在所述发送方为区域交换子中心时,确定所述文件属性是否为本地交易专属清算文件,若是,将所述待转发清算文件发送给所述接收方;When the sender is a regional exchange sub-center, determine whether the file attribute is an exclusive clearing file for local transactions, and if so, send the to-be-forwarded clearing file to the receiver;

在所述发送方为区域交换父中心时,确定所述文件属性是否为跨区交易专属清算文件,若是,将所述待转发清算文件发送给所述接收方。When the sender is the regional exchange parent center, determine whether the file attribute is an exclusive clearing file for cross-regional transactions, and if so, send the to-be-forwarded clearing file to the receiver.

可选的,所述文件属性预先配置为本地交易专属清算文件,跨区交易专属清算文件和混合交易专属清算文件;Optionally, the file attributes are pre-configured as an exclusive clearing file for local transactions, an exclusive clearing file for cross-regional transactions, and an exclusive clearing file for mixed transactions;

获取所述待转发清算文件的文件属性,包括:Obtain the file attributes of the clearing file to be forwarded, including:

获取所述待转发清算文件的文件名;obtaining the file name of the clearing document to be forwarded;

根据所述文件名,确定所述文件属性,其中,所述文件名预先配置为本地交易专属的清算文件文件名,跨区交易专属的清算文件文件名和混合交易专属的清算文件文件名,所述混合交易是指交易的双方分别为本地机构和海外机构的交易。The file attribute is determined according to the file name, wherein the file name is preconfigured as a clearing file file name exclusive to local transactions, a clearing file file name exclusive to cross-regional transactions and a clearing file file name exclusive to mixed transactions, the A hybrid transaction refers to a transaction in which the two parties to the transaction are a local institution and an overseas institution.

可选的,所述方法还包括:Optionally, the method further includes:

在所述发送方为区域交换子中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换子中心的待合并清算文件;或者,When the sender is a regional exchange sub-center, if it is determined that the file attribute is an exclusive clearing file for mixed transactions, the to-be-forwarded clearing file is marked as a to-be-merged clearing file from the regional exchange sub-center; or,

在所述发送方为区域交换父中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件。When the sender is the regional exchange parent center, if it is determined that the file attribute is an exclusive clearing file for mixed transactions, the to-be-forwarded clearing file is marked as a to-be-merged clearing file from the regional exchange parent center.

进一步的,在将所述待转发清算文件标记为来自区域交换子中心的待合并清算文件,或者将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件之后,所述方法还包括:Further, after the clearing document to be forwarded is marked as the clearing document to be merged from the regional exchange sub-center, or the clearing document to be forwarded is marked as the clearing document to be merged from the regional exchange parent center, the method further: include:

查找是否存在分别来自区域交换子中心和来自区域交换父中心的文件名相同的待合并清算文件;Find out whether there are files to be merged and cleared with the same file names from the regional exchange sub-center and from the regional exchange parent center;

若存在,将查找到的待合并清算文件进行合并,并将合并后的清算文件发送给所述接收方。If it exists, merge the found settlement documents to be merged, and send the merged settlement documents to the receiver.

可选的,所述方法还包括:Optionally, the method further includes:

接收包括多条交易记录的待转发交易文件;Receive transaction files to be forwarded including multiple transaction records;

获取及每条交易记录中记录的银行卡标识;Obtain and record the bank card identification in each transaction record;

根据所述多条交易记录分别记录的银行卡标识,将所述待转发交易文件拆分为本地交易文件和跨区交易文件;并Splitting the transaction file to be forwarded into a local transaction file and a cross-regional transaction file according to the bank card identifiers recorded respectively in the plurality of transaction records; and

将所述本地交易文件发送给区域交换子中心,将所述跨区交易文件发送给区域交换父中心。The local transaction file is sent to the regional exchange sub-center, and the cross-regional transaction file is sent to the regional exchange parent center.

进一步的,根据所述多条交易记录分别记录的银行卡标识,将所述待转发交易文件拆分为本地交易文件和跨区交易文件,包括:Further, according to the bank card identifiers recorded respectively in the multiple transaction records, the to-be-forwarded transaction file is split into a local transaction file and a cross-regional transaction file, including:

针对任意一条交易记录,查找本地银行卡标识数据库中是否存在该条交易记录的银行卡标识;For any transaction record, find out whether the bank card identifier of the transaction record exists in the local bank card identifier database;

若存在,将该条交易记录写入所述本地交易文件中;若不存在,将该条交易记录写入所述跨区交易文件中。If it exists, write the transaction record into the local transaction file; if it does not exist, write the transaction record into the cross-region transaction file.

本发明实施例提供一种多中心文件转发处理装置,包括:An embodiment of the present invention provides a multi-center file forwarding processing device, including:

接收单元,用于接收待转发清算文件;a receiving unit, configured to receive the clearing document to be forwarded;

处理单元,用于获取所述待转发清算文件的发送方、接收方和文件属性;a processing unit, configured to acquire the sender, receiver and file attributes of the clearing document to be forwarded;

在所述发送方为区域交换子中心时,确定所述文件属性是否为本地交易专属清算文件,若是,通过发送单元将所述待转发清算文件发送给所述接收方;When the sender is a regional exchange sub-center, determine whether the file attribute is an exclusive clearing file for local transactions, and if so, send the to-be-forwarded clearing file to the receiver through a sending unit;

在所述发送方为区域交换父中心时,确定所述文件属性是否为跨区交易专属清算文件,若是,通过发送单元将所述待转发清算文件发送给所述接收方。When the sender is the regional exchange parent center, determine whether the file attribute is an exclusive clearing file for cross-regional transactions, and if so, send the to-be-forwarded clearing file to the receiver through a sending unit.

可选的,所述文件属性预先配置为本地交易专属清算文件,跨区交易专属清算文件和混合交易专属清算文件;Optionally, the file attributes are pre-configured as an exclusive clearing file for local transactions, an exclusive clearing file for cross-regional transactions, and an exclusive clearing file for mixed transactions;

所述处理单元用于:获取所述待转发清算文件的文件名,根据所述文件名,确定所述文件属性;The processing unit is configured to: obtain the file name of the clearing file to be forwarded, and determine the file attribute according to the file name;

其中,所述文件名预先配置为本地交易专属的清算文件文件名,跨区交易专属的清算文件文件名和混合交易专属的清算文件文件名,所述混合交易是指交易的双方分别为本地机构和海外机构的交易。Wherein, the file name is preconfigured as a clearing file file name exclusive to local transactions, a clearing file file name exclusive to cross-regional transactions, and a clearing file file name exclusive to mixed transactions, where the mixed transaction means that the two parties to the transaction are the local institution and the Transactions with overseas institutions.

可选的,所述处理单元还用于:Optionally, the processing unit is also used for:

在所述发送方为区域交换子中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换子中心的待合并清算文件;或者,When the sender is a regional exchange sub-center, if it is determined that the file attribute is an exclusive clearing file for mixed transactions, the to-be-forwarded clearing file is marked as a to-be-merged clearing file from the regional exchange sub-center; or,

在所述发送方为区域交换父中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件。When the sender is the regional exchange parent center, if it is determined that the file attribute is an exclusive clearing file for mixed transactions, the to-be-forwarded clearing file is marked as a to-be-merged clearing file from the regional exchange parent center.

进一步的,所述处理单元在将所述待转发清算文件标记为来自区域交换子中心的待合并清算文件,或者将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件之后,还用于:Further, after the processing unit marks the clearing document to be forwarded as the clearing document to be merged from the regional exchange sub-center, or marks the clearing document to be forwarded as the clearing document to be consolidated from the regional exchange parent center, Also used for:

查找是否存在分别来自区域交换子中心和来自区域交换父中心的文件名相同的待合并清算文件;Find out whether there are files to be merged and cleared with the same file names from the regional exchange sub-center and from the regional exchange parent center;

若存在,将查找到的待合并清算文件进行合并,并通过所述发送单元将合并后的清算文件发送给所述接收方。If it exists, merge the found settlement documents to be merged, and send the merged settlement documents to the receiver through the sending unit.

可选的,所述方法还包括:Optionally, the method further includes:

所述接收单元,还用于接收包括多条交易记录的待转发交易文件;The receiving unit is further configured to receive a transaction file to be forwarded including a plurality of transaction records;

所述处理单元,还用于获取及每条交易记录中记录的银行卡标识;根据所述多条交易记录分别记录的银行卡标识,将所述待转发交易文件拆分为本地交易文件和跨区交易文件;并通过所述发送单元将所述本地交易文件发送给区域交换子中心,通过所述发送单元将所述跨区交易文件发送给区域交换父中心。The processing unit is also used to obtain the bank card identifier recorded in each transaction record; according to the bank card identifiers recorded respectively in the multiple transaction records, the transaction file to be forwarded is split into a local transaction file and a cross-border transaction file. and send the local transaction file to the regional exchange sub-center through the sending unit, and send the cross-regional transaction file to the regional exchange parent center through the sending unit.

进一步的,所述处理单元具体用于:Further, the processing unit is specifically used for:

针对任意一条交易记录,查找本地银行卡标识数据库中是否存在该条交易记录的银行卡标识;For any transaction record, find out whether the bank card identifier of the transaction record exists in the local bank card identifier database;

若存在,将该条交易记录写入所述本地交易文件中;若不存在,将该条交易记录写入所述跨区交易文件中。If it exists, write the transaction record into the local transaction file; if it does not exist, write the transaction record into the cross-region transaction file.

本发明实施例中,在不对成员机构、区域交换子中心和区域交换父中心进行改造的情况下,可以为系统架构内的多中心和成员机构提供统一的功能接口,能够实现多中心清算文件收发的统一封装,使得在区域内发生的所有交易文件都能准确的发给对应的区域交换子中心或区域交换父中心,使得区域交换子中心或区域交换父中心下发的清算文件能够顺畅的转发给对应的成员机构(包括入网区域交换子中心的本地机构和海外机构),进而加快新增区域交换子中心的建设,以及加快海外机构业务迁移的进程。In the embodiment of the present invention, a unified functional interface can be provided for the multi-center and member institutions in the system architecture without the modification of the member institutions, the regional exchange sub-center and the regional exchange parent center, and the multi-center clearing file can be sent and received. unified encapsulation, so that all transaction files occurring in the region can be accurately sent to the corresponding regional exchange sub-center or regional exchange parent center, so that the settlement files issued by the regional exchange sub-center or regional exchange parent center can be smoothly forwarded To the corresponding member institutions (including the local institutions and overseas institutions of the regional exchange sub-centers in the network), to speed up the construction of new regional exchange sub-centers, and to speed up the process of business migration of overseas institutions.

附图说明Description of drawings

附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the specification, and are used to explain the present invention together with the embodiments of the present invention, and do not constitute a limitation to the present invention. In the attached image:

图1为本发明实施例提供的一种多中心的银行卡业务交换系统架构;1 is a multi-center bank card business exchange system architecture provided by an embodiment of the present invention;

图2为本发明实施例提供的一种多中心文件转发方法的流程示意图;2 is a schematic flowchart of a multi-center file forwarding method provided by an embodiment of the present invention;

图3为本发明实施例提供的一种多中心文件转发方法的流程示意图;3 is a schematic flowchart of a multi-center file forwarding method provided by an embodiment of the present invention;

图4为本发明实施例提供的一种多中心文件转发方法的流程示意图;4 is a schematic flowchart of a multi-center file forwarding method provided by an embodiment of the present invention;

图5为本发明实施例提供的一种多中心文件转发方法的流程示意图;5 is a schematic flowchart of a multi-center file forwarding method provided by an embodiment of the present invention;

图6为本发明实施例提供的一种多中心文件转发装置的结构示意图;6 is a schematic structural diagram of a multi-center file forwarding apparatus provided by an embodiment of the present invention;

图7为本发明实施例提供的一种多中心文件转发系统的结构示意图。FIG. 7 is a schematic structural diagram of a multi-center file forwarding system according to an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明所解决的技术问题、技术方案以及有效果更加清楚明白,以下结合说明书附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。并且在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。In order to make the technical problems, technical solutions and effects solved by the present invention clearer, the preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention. The invention is not intended to limit the present invention. And the embodiments in this application and the features in the embodiments may be combined with each other without conflict.

本发明提供的方法适用于存在要求区域中心内落地,但又与其他区域中心联动的多中心清算文件处理,比如有海外本地交易落地需求的跨境银行卡清算系统。The method provided by the present invention is suitable for the processing of multi-center clearing documents that require landing in a regional center but is linked with other regional centers, such as a cross-border bank card clearing system that requires overseas local transaction landing.

本发明的发明人发现:为了加快新增区域交换子中心的建设,以及加快海外机构业务迁移的进程,需要为系统架构内的多中心和成员机构提供统一的功能接口,能够在不对成员机构、区域交换子中心以及区域交换父中心进行改造的基础上,使得在区域内发生的所有本地交易、跨区交易或者混合交易的交易文件都能准确的发给对应的区域交换子中心或者区域交换父中心,以及区域交换子中心或区域交换父中心下发的清算文件能够准确的转发给对应的成员机构(包括入网区域交换子中心的本地机构和海外机构)。在这样的应用需求下,本发明提供一种文件转发方法来适应该应用需求,能够实现多中心清算文件收发的统一封装,使得清算文件或者交易文件在成员机构、区域交换子中心以及区域交换父中心间流畅转发。The inventor of the present invention found that: in order to speed up the construction of new regional exchange sub-centers, and to speed up the process of business migration of overseas institutions, it is necessary to provide a unified functional interface for the multi-center and member institutions in the system architecture, and it is necessary to provide a unified functional interface to the member institutions, On the basis of the transformation of the regional exchange sub-center and the regional exchange parent center, the transaction files of all local transactions, cross-regional transactions or mixed transactions occurring in the region can be accurately sent to the corresponding regional exchange sub-center or regional exchange parent. The settlement documents issued by the center, as well as the regional exchange sub-center or the regional exchange parent center can be accurately forwarded to the corresponding member institutions (including the local institutions and overseas institutions of the network-connected regional exchange sub-center). Under such application requirements, the present invention provides a file forwarding method to meet the application requirements, which can realize the unified encapsulation of multi-center clearing file sending and receiving, so that clearing files or transaction files can be stored in member institutions, regional exchange sub-centers and regional exchange parent Smooth forwarding between centers.

其中,为系统架构内的多中心和成员机构提供统一的功能接口是指:对入网区域交换子中心的海外机构或者区域内的本地机构来说,文件收发的功能接口都相同。对所有的区域交换子中心来说,文件收发的功能接口都相同。对区域交换父中心来说,文件收发的功能接口不变。对于每个区域交换子中心来说,不需要针对新入网的海外机构的业务迁移需求,来改造原有的本地清算系统。对区域交换父中心来说,原有的跨区清算系统也不需要进行改造。Among them, providing a unified functional interface for the multi-center and member institutions in the system architecture means that the functional interfaces for sending and receiving files are the same for the overseas institutions of the regional exchange sub-center or the local institutions in the region. For all regional exchange sub-centers, the functional interface of file sending and receiving is the same. For the regional exchange parent center, the functional interface of file sending and receiving remains unchanged. For each regional exchange sub-center, there is no need to transform the original local clearing system to meet the business migration needs of the newly-connected overseas institutions. For the regional exchange parent center, the original cross-regional clearing system does not need to be transformed.

基于本发明的发明构思,如图2所示,本发明实施例提供一种多中心文件转发处理方法,由多中心的文件转发系统来执行,其方法流程,主要包括:Based on the inventive concept of the present invention, as shown in FIG. 2, an embodiment of the present invention provides a multi-center file forwarding processing method, which is executed by a multi-center file forwarding system. The method flow mainly includes:

步骤201,接收待转发清算文件;Step 201, receiving the clearing document to be forwarded;

步骤202,获取待转发清算文件的发送方、接收方和文件属性;Step 202, acquiring the sender, receiver and file attributes of the clearing file to be forwarded;

步骤203,在发送方为区域交换子中心时,确定文件属性是否为本地交易专属文件,若是,将待转发清算文件发送给接收方;在发送方为区域交换父中心时,确定文件属性是否为跨区交易专属文件,若是,将待转发清算文件发送给接收方。Step 203, when the sender is the regional exchange sub-center, determine whether the file attribute is a local transaction exclusive file, and if so, send the to-be-forwarded clearing file to the receiver; when the sender is the regional exchange parent center, determine whether the file attribute is The exclusive document for cross-regional transactions, if so, send the clearing document to be forwarded to the recipient.

针对上述方法流程,对待转发清算文件的发送方和接收方作出以下说明:For the above method and process, the sender and receiver of the documents to be forwarded for clearing shall make the following explanations:

根据多种交换业务场景,待转发清算文件的发送方可以为区域交换子中心,也可以是区域交换父中心。According to various exchange business scenarios, the sender of the clearing document to be forwarded can be the regional exchange sub-center or the regional exchange parent center.

其中,区域交换子中心,是部署在的各个区域内的处理区域内交换业务的子中心。区域交换子中心只负责区域内交易的本地部分的清算,以及清算文件的下发。The regional switching sub-center is a sub-center that is deployed in each region and processes intra-regional switching services. The regional exchange sub-center is only responsible for the clearing of the local part of the intra-regional transactions and the issuance of clearing documents.

其中,区域交换父中心是主要负责协调、集中处理各区域交换子中心之间业务的总的交换业务处理中心。区域交换父中心只负责跨区交易的清算,以及清算文件的下发。Among them, the regional switching parent center is the general switching service processing center mainly responsible for coordinating and centrally processing the services between the regional switching sub-centers. The regional exchange parent center is only responsible for the clearing of cross-regional transactions and the issuance of clearing documents.

区域交换子中心所在区域内的机构,包括区域内的本地机构和区域内的海外机构。Institutions in the region where the regional exchange sub-center is located, including local institutions in the region and overseas institutions in the region.

根据多种交换业务场景,业务类型主要分为3种。如果一笔交易的交易双方都为区域内的本地机构,则该笔交易被称为本地交易(也称专属本地交易)。如果一笔交易的交易双方分别为区域内的本地机构和区域内的海外机构,则该笔交易被称为混合交易。如果一笔交易的交易双方都为海外机构,至少其中一方为区域内的海外机构,则该笔交易被称为跨区交易(也称专属跨区交易)。According to various exchange business scenarios, the business types are mainly divided into three types. A transaction is called a local transaction (also called an exclusive local transaction) if both parties to the transaction are local institutions in the region. If the two parties to a transaction are a local institution in the region and an overseas institution in the region, the transaction is called a hybrid transaction. If both parties to a transaction are overseas institutions, and at least one of them is an overseas institution in the region, the transaction is called a cross-regional transaction (also called an exclusive cross-regional transaction).

对于区域内的海外机构来说,交易类型配置为两种,专属跨区交易和混合交易,海外机构在区域交换子中心的区域范围内可能发生跨区交易,也可能发生混合交易。For overseas institutions in the region, there are two types of transaction configuration: exclusive cross-regional transactions and mixed transactions. Overseas institutions may have cross-regional transactions or mixed transactions within the regional scope of the regional exchange sub-center.

对于区域内的本地机构来说,交易类型配置为两种,专属本地交易和混合交易,海外机构在区域交换子中心的区域范围内可能发生跨区交易,也可能发生混合交易。For local institutions in the region, there are two types of transaction configuration: exclusive local transactions and mixed transactions. Overseas institutions may have cross-regional transactions or mixed transactions within the regional scope of the regional exchange sub-center.

对于区域交换子中心来说,区域内交易的本地部分是指本地交易和混合交易的本地部分,区域交换子中心的本地清算系统只处理区域内交易的本地部分的清算,即区域交换子中心与专属本地交易和混合交易的本地机构进行清算。For the regional exchange sub-center, the local part of the intra-regional transaction refers to the local part of the local transaction and the mixed transaction. Dedicated local institutions for local and hybrid transactions for clearing.

对于区域交换父中心来说,区域交换父中心的跨区清算系统只处理海外机构的清算,即区域交换父中心与专属跨区交易和混合交易的海外机构进行清算。For the regional exchange parent center, the cross-regional clearing system of the regional exchange parent center only handles the settlement of overseas institutions, that is, the regional exchange parent center conducts clearing with overseas institutions dedicated to cross-regional transactions and mixed transactions.

因此,根据多种交换业务场景,待转发清算文件的接收方可以为区域内的本地机构,也可以是区域内的海外机构。Therefore, according to various exchange business scenarios, the recipient of the clearing document to be forwarded can be a local institution in the region or an overseas institution in the region.

如果待转发清算文件是区域交换子中心下发的,则待转发清算文件的接收方为区域内的本地机构或者区域内的海外机构。If the clearing document to be forwarded is issued by the regional exchange sub-center, the recipient of the clearing document to be forwarded is a local institution in the area or an overseas institution in the area.

如果待转发清算文件是区域交换父中心下发的,则待转发清算文件的接收方为区域内的海外机构。If the clearing document to be forwarded is issued by the regional exchange parent center, the recipient of the clearing document to be forwarded is an overseas institution in the area.

为了保证待清算文件或者交易文件在区域交换父中心、区域交换子中心以及成员机构(区域内的本地机构和区域内的海外机构)之间流畅转发,本发明实施例提供一种多中心文件转发系统,可以分别和区域交换子中心、区域交换父中心以及区域内成员机构建立文件收发通道。In order to ensure the smooth forwarding of documents to be cleared or transaction documents between the parent regional exchange center, the regional exchange sub-center, and member institutions (local institutions in the region and overseas institutions in the region), the embodiment of the present invention provides a multi-center file forwarding The system can establish file sending and receiving channels with the regional exchange sub-center, the regional exchange parent center and the member institutions in the region respectively.

对于区域交换父中心、区域交换子中心和成员机构来说,只需要重新配置文件收发的IP地址,即可与多中心文件转发系统建立文件收发通道。对于多中心文件转发系统,只需预先配置区域交换子中心、区域交换父中心以及区域内成员机构的IP地址,即可建立分别与区域交换子中心、区域交换父中心以及区域内成员机构的文件收发通道。For the regional exchange parent center, regional exchange sub-center and member institutions, it is only necessary to reconfigure the IP addresses for file sending and receiving to establish a file sending and receiving channel with the multi-center file forwarding system. For a multi-center file forwarding system, it is only necessary to pre-configure the IP addresses of the regional exchange sub-center, the regional exchange parent center and the member institutions in the region, and then the files for the regional exchange sub-center, the regional exchange parent center and the member institutions in the region can be established respectively. Transceiver channel.

为了顺利向区域内的成员机构下发来自不同中心的清算文件,多中心文件转发系统,针对下发给成员机构的文件进行了文件属性的配置。In order to smoothly distribute clearing documents from different centers to member institutions in the region, the multi-center file forwarding system configures file attributes for the documents issued to member institutions.

具体的,下发给成员机构的文件的文件属性预先配置为三种:本地交易专属清算文件、跨区交易专属清算文件、以及混合交易专属清算文件。其中,这三种文件通过文件名来区分。Specifically, the file attributes of the files issued to member institutions are pre-configured into three types: exclusive clearing files for local transactions, exclusive clearing files for cross-regional transactions, and exclusive clearing files for mixed transactions. Among them, these three kinds of files are distinguished by file names.

即本地交易专属清算文件的文件名预先配置为本地交易专属的清算文件文件名,跨区交易专属清算文件的文件名预先配置为跨区交易专属的清算文件文件名,混合交易专属清算文件的文件名预先配置为混合交易专属的清算文件文件名。这样文件转发系统根据接收到来自区域交换父中心或区域交换子中心下发的清算文件时,仅根据接收到的清算文件的文件名就可以确定下发给成员机构的文件的文件名以及文件属性。That is, the file name of the exclusive clearing file for local transactions is pre-configured as the file name of the clearing file exclusive to local transactions, the file name of the exclusive clearing file for cross-regional transactions is pre-configured as the file name of the exclusive clearing file for cross-region transactions, and the file name of the exclusive clearing file for mixed transactions is pre-configured. The name is preconfigured to be the clearing file filename specific to the mixed transaction. In this way, when the file forwarding system receives the clearing file issued by the regional exchange parent center or regional exchange sub-center, it can determine the file name and file attribute of the file issued to the member institution only according to the file name of the received clearing file. .

例如,对于同一笔混合交易,区域交换父中心和区域交换子中心下发的清算文件的文件名均为:IFD******01ACOM。对于一笔本地交易,区域交换子中心下发的清算文件的文件名为TIFD******01ACOM。对于一笔跨区交易,区域交换父中心下发的清算文件的文件名为@@@@@@@@.tar.Z,一般来说,跨区交易专属的清算文件的文件名根据海外机构的跨区需求进行个性化定制。上述文件名仅为简单示例。For example, for the same mixed transaction, the file names of the settlement files issued by the regional exchange parent center and the regional exchange sub-center are: IFD******01ACOM. For a local transaction, the file name of the settlement file issued by the regional exchange sub-center is TIFD******01ACOM. For a cross-regional transaction, the file name of the clearing file issued by the regional exchange parent center is @@@@@@@@.tar.Z. Generally speaking, the file name of the clearing file dedicated to cross-regional transactions is based on the overseas institution. Customized for cross-regional needs. The above file names are just simple examples.

可选的,为了避免业务冲突,区域交换子中心和区域交换父中心下发的文件的文件名,与多中心文件转发系统下发给成员机构的文件的文件名相同。为了避免文件替换,将接收到来自区域交换子中心和区域交换父中心的清算文件和下发给成员机构的清算文件分别存储在不同的目录下。Optionally, in order to avoid business conflicts, the file names of the files issued by the regional exchange sub-center and the regional exchange parent center are the same as the file names of the files issued by the multi-center file forwarding system to member institutions. In order to avoid file replacement, the clearing files received from the regional exchange sub-center and the regional exchange parent center and the clearing files issued to the member institutions are stored in different directories.

可选的,除了上述方法流程,还包括以下步骤:Optionally, in addition to the above method flow, the following steps are also included:

在发送方为区域交换子中心时,若确定文件属性为混合交易专属清算文件,则将待转发清算文件标记为来自区域交换子中心的待合并清算文件;查找是否存在分别来自区域交换子中心和来自区域交换父中心的文件名相同的待合并清算文件;若存在,将查找到的待合并清算文件进行合并,并将合并后的清算文件发送给接收方。When the sender is a regional exchange sub-center, if it is determined that the file attribute is an exclusive clearing file for mixed transactions, the to-be-forwarded clearing file is marked as a to-be-merged clearing file from the regional exchange sub-center; The file to be merged and cleared with the same file name from the parent center of the regional exchange; if it exists, the found files to be merged and cleared will be merged, and the merged clearing file will be sent to the receiver.

在发送方为区域交换父中心时,若确定文件属性为混合交易专属清算文件,则将待转发清算文件标记为来自区域交换父中心的待合并清算文件。When the sender is the regional exchange parent center, if it is determined that the file attribute is an exclusive clearing file for mixed transactions, the clearing file to be forwarded is marked as the clearing file to be merged from the regional exchange parent center.

查找是否存在分别来自区域交换子中心和来自区域交换父中心的文件名相同的待合并清算文件;Find out whether there are files to be merged and cleared with the same file names from the regional exchange sub-center and from the regional exchange parent center;

若存在,将查找到的待合并清算文件进行合并,并将合并后的清算文件发送给接收方。If it exists, merge the found clearing documents to be merged, and send the merged clearing documents to the receiver.

为了避免业务冲突,在待转发清算文件合并前,接收到的区域交换子中心和区域交换父中心下发的清算文件的文件名,与多中心文件转发系统下发给成员机构的合并后的清算文件的文件名相同。为了避免文件替换,将待合并清算文件和合并后的清算文件分别存储在不同的目录下。In order to avoid business conflicts, before the clearing documents to be forwarded are merged, the file names of the clearing documents received by the regional exchange sub-center and the regional exchange parent center are the same as the merged clearing documents issued by the multi-center file forwarding system to the member institutions. The file names of the files are the same. In order to avoid file replacement, the to-be-merged clearing file and the combined clearing file are stored in different directories.

下面结合图3所示的流程图说明多中心文件转发系统对区域交换子中心和区域交换父中心下发给区域内成员机构的清算文件的转发逻辑,具体如下:The following describes the forwarding logic of the multi-center file forwarding system to the clearing files issued by the regional exchange sub-center and the regional exchange parent center to the member institutions in the region in conjunction with the flowchart shown in FIG. 3, as follows:

步骤301:接收新的待转发清算文件,待转发清算文件中携带有发送方的标识信息,以及接收方的标识信息,如发送方的IP信息,接收方的IP信息。Step 301: Receive a new clearing file to be forwarded, and the clearing file to be forwarded carries the identification information of the sender and the identification information of the receiver, such as the IP information of the sender and the IP information of the receiver.

步骤302,根据发送方的标识信息,确定待转发清算文件的发送方为区域交换子中心还是区域交换父中心。Step 302, according to the identification information of the sender, determine whether the sender of the clearing file to be forwarded is the regional exchange sub-center or the regional exchange parent center.

若待转发清算文件的发送方为区域交换子中心,执行步骤303,If the sender of the clearing file to be forwarded is the regional exchange sub-center, go to step 303,

若待转发清算文件的发送方为区域交换父中心,执行步骤304;If the sender of the settlement file to be forwarded is the regional exchange parent center, go to step 304;

步骤303,判断该待转发清算文件是否是区域内本地交易专属清算文件,Step 303, judging whether the to-be-forwarded clearing file is an exclusive clearing file for local transactions in the region,

若是区域内本地交易专属清算文件,执行步骤305,If it is an exclusive clearing file for local transactions in the region, go to step 305,

若否,则是区域内混合交易专属清算文件,执行步骤306,If not, it is an exclusive settlement file for mixed transactions within the region, and step 306 is executed.

步骤305,根据接收方的标识信息,将该待转发清算文件直接转发给接收方,此时,接收方为区域内的本地机构。Step 305, according to the identification information of the receiver, directly forward the to-be-forwarded clearing document to the receiver, in this case, the receiver is a local institution in the area.

步骤306,将待转发清算文件的标记为来自区域交换子中心的待合并清算文件,并根据该待转发清算文件的文件名,循环逐一检查每个待合并清算文件的文件名,并进入步骤307,Step 306: Mark the clearing document to be forwarded as the clearing document to be merged from the regional exchange sub-center, and check the file name of each clearing document to be merged one by one according to the file name of the clearing document to be forwarded, and go to step 307 ,

步骤307,判断是否存在文件名相同,且来自区域交换父中心的待合并清算文件,若存在,转入步骤311,若不存在,返回步骤306,继续循环等待。In step 307, it is judged whether there is a file to be merged and cleared from the regional exchange parent center with the same file name. If it exists, go to step 311.

步骤304,判断该待转发清算文件是否是跨区交易专属清算文件,Step 304, determine whether the clearing document to be forwarded is an exclusive clearing document for cross-regional transactions,

若是区域内跨区交易专属清算文件,执行步骤308,If it is an exclusive clearing file for intra-regional cross-regional transactions, go to step 308,

若否,则是区域内混合交易专属清算文件,执行步骤309,If not, it is an exclusive settlement file for mixed transactions within the region, and step 309 is executed.

步骤308,根据接收方的标识信息,将该待转发清算文件直接转发给接收方,此时,接收方为区域内的海外机构。Step 308, according to the identification information of the receiver, directly forward the to-be-forwarded clearing document to the receiver, in this case, the receiver is an overseas institution in the region.

步骤309,将待转发清算文件的标记为来自区域交换父中心的待合并清算文件,并根据该待转发清算文件的文件名,循环逐一检查每个待合并清算文件的文件名,并进入步骤310;Step 309: Mark the clearing document to be forwarded as the clearing document to be merged from the regional exchange parent center, and check the file name of each clearing document to be merged one by one according to the file name of the clearing document to be forwarded, and go to step 310 ;

步骤310,判断是否存在文件名相同,且来自区域交换子中心的待合并清算文件,若存在,转入步骤311,若不存在,返回步骤309,继续循环等待。In step 310, it is judged whether there is a file to be merged and cleared from the regional exchange sub-center with the same file name. If it exists, go to step 311.

步骤311,将文件名相同,且分别来自区域交换子中心的待合并清算文件和来自区域交换父中心的待合并清算文件进行合并,合并后的清算文件的文件名与合并前的文件名相同。然后转入步骤312;Step 311 , merge the files to be merged and cleared from the regional exchange sub-center with the same file names and the files to be merged and cleared from the regional exchange parent center, and the file names of the merged clearing files are the same as the file names before the merger. Then go to step 312;

步骤312,根据接收方的标识信息,将合并后的清算文件转发给接收方,此时,接收方为区域内的本地机构或海外机构。Step 312 , according to the identification information of the receiver, forward the merged clearing document to the receiver, at this time, the receiver is a local institution or an overseas institution in the region.

根据上述方法流程可知,本发明的多中心文件转发系统可以顺畅的将来自区域交换父中心或者区域交换子中心下发的文件准确的转发给区域内的成员机构。According to the above method flow, the multi-center file forwarding system of the present invention can smoothly and accurately forward the files issued from the regional exchange parent center or the regional exchange sub-center to the member institutions in the region.

除了负责清算文件的下发,多中心文件转发系统还能够基于与区域交换子中心、区域交换父中心、成员机构的文件收发通道向区域交换父中心和区域交换子中心上传成员机构的交易文件。In addition to issuing clearing documents, the multi-center file forwarding system can also upload transaction files of member institutions to the regional exchange parent center and regional exchange sub-center based on the file sending and receiving channels with the regional exchange sub-center, regional exchange parent center, and member institutions.

一般来讲成员机构上传的文件均为本地交易和跨区交易混合的文件,以避免机构难以甚至无法区分交易为本地交易还是跨区交易问题。Generally speaking, the documents uploaded by member institutions are mixed documents of local transactions and cross-regional transactions, so as to avoid the difficulty or even inability of institutions to distinguish whether the transaction is a local transaction or a cross-regional transaction.

多中心文件转发系统向区域交换父中心和区域交换子中心上传成员机构的交易文件,如图4所示,包括:The multi-center file forwarding system uploads the transaction files of member institutions to the regional exchange parent center and regional exchange sub-center, as shown in Figure 4, including:

步骤401,接收包括多条交易记录的待转发交易文件;Step 401, receiving a transaction file to be forwarded including a plurality of transaction records;

步骤402,获取及每条交易记录中记录的银行卡标识;Step 402, obtain and record the bank card identifier in each transaction record;

步骤403,根据多条交易记录分别记录的银行卡标识,将待转发交易文件拆分为本地交易文件和跨区交易文件;Step 403, splitting the transaction file to be forwarded into a local transaction file and a cross-regional transaction file according to the bank card identifiers recorded respectively in the multiple transaction records;

步骤404,将本地交易文件发送给区域交换子中心,将跨区交易文件发送给区域交换父中心。In step 404, the local transaction file is sent to the regional exchange sub-center, and the cross-regional transaction file is sent to the regional exchange parent center.

其中,步骤403具体包括:针对任意一条交易记录,查找本地银行卡标识数据库中是否存在该条交易记录的银行卡标识;若存在,将该条交易记录写入本地交易文件中;若不存在,将该条交易记录写入跨区交易文件中。Wherein, step 403 specifically includes: for any transaction record, finding out whether the bank card identifier of the transaction record exists in the local bank card identifier database; if so, writing the transaction record into the local transaction file; if not, writing the transaction record into the local transaction file; Write the transaction record into the cross-region transaction file.

其中,交易记录中记录的银行卡标识为交易双方中为发卡机构的银行卡卡BIN。通常卡BIN为一个银行卡号的前6位,为来区分不同的银行卡。对于区域内的本地机构,在入网区域交换子中心时,如果本地机构为发卡机构,则其银行卡的卡BIN会在区域子中心进行注册,发卡机构的卡BIN会存储在区域交换子中心的本地银行卡标识数据库中,而本发明的多中心文件转发系统设置在区域交换子中心的主系统下,可以随时调用区域交换子中心的本地银行卡标识数据库中的卡BIN数据,进而进行交易文件的拆分。Wherein, the bank card identifier recorded in the transaction record is the bank card BIN of the card issuer in both parties to the transaction. Usually the card BIN is the first 6 digits of a bank card number to distinguish different bank cards. For local institutions in the region, when accessing the regional exchange sub-center, if the local institution is a card issuer, the card BIN of its bank card will be registered in the regional sub-center, and the card BIN of the card issuer will be stored in the regional exchange sub-center. In the local bank card identification database, and the multi-center file forwarding system of the present invention is set under the main system of the regional exchange sub-center, the card BIN data in the local bank card identification database of the regional exchange sub-center can be called at any time, and then the transaction file split.

为了避免业务冲突,在待转发交易文件拆分前,接收到的成员机构发送的文件名,与多中心文件转发系统发送区域交换子中心和区域交换父中心的交易文件的文件名相同,即拆分前的待转发交易文件的文件名和拆分后的本地交易文件、跨区交易文件的文件名相同。为了避免文件替换,将拆分前的待转发交易文件和拆分后的本地交易文件、跨区交易文件分别存储在不同的目录下。In order to avoid business conflicts, before the transaction file to be forwarded is split, the file name of the received file sent by the member institution is the same as the file name of the transaction file sent by the regional exchange sub-center and the regional exchange parent center by the multi-center file forwarding system. The file name of the transaction file to be forwarded before the split is the same as the file name of the split local transaction file and the cross-regional transaction file. In order to avoid file replacement, the transaction files to be forwarded before the split, the local transaction files and the cross-region transaction files after the split are stored in different directories respectively.

下面结合图5所示的流程图说明多中心文件转发系统对本地机构上传给区域交换子中心或区域交换父中心的交易文件的转发逻辑,具体如下:The following describes the forwarding logic of the multi-center file forwarding system to the transaction files uploaded by the local organization to the regional exchange sub-center or the regional exchange parent center in conjunction with the flowchart shown in FIG. 5 , as follows:

步骤501,接收待转发的交易文件,待转发的交易文件包括多条交易记录,交易记录中的交易可以是本地交易、跨区交易、混合交易中的任意两种或者三种。待转发的交易文件中携带有发送方的标识信息,如发送方的IP信息,其中,此处的发送方为区域内的本地机构或者海外机构。Step 501: Receive a transaction file to be forwarded, the transaction file to be forwarded includes multiple transaction records, and the transactions in the transaction records can be any two or three of local transactions, cross-region transactions, and hybrid transactions. The transaction file to be forwarded carries the identification information of the sender, such as the sender's IP information, where the sender here is a local institution or an overseas institution in the region.

步骤502,逐条分析上传的交易文件的每个交易记录,分别拆分到不同文件中,每次拆分后执行步骤503,其中,分析每条交易记录时,执行步骤504;Step 502, analyze each transaction record of the uploaded transaction file one by one, split them into different files, and perform step 503 after each split, wherein, when analyzing each transaction record, perform step 504;

步骤504,获取每条交易记录中的卡BIN,判断区域交换子中心中是否存在该记录对应的卡BIN;Step 504, obtaining the card BIN in each transaction record, and judging whether there is a card BIN corresponding to the record in the regional exchange sub-center;

若区域交换子中心中存在该记录对应的卡BIN,则执行步骤505,若区域交换子中心中不存在该记录对应的卡BIN,则执行步骤506;If there is a card BIN corresponding to the record in the regional exchange sub-center, then go to step 505; if there is no card BIN corresponding to the record in the regional exchange sub-center, go to step 506;

步骤505,将该条记录写入本地交易文件,并转入步骤502;Step 505, write the record into the local transaction file, and go to step 502;

步骤506,将该条记录写入跨区域交易文件,并转入步骤502;Step 506, write the record into the cross-regional transaction file, and go to step 502;

步骤503,判断是否完成所有交易记录的分析和拆分,若是,执行步骤507,若否,转入步骤504。In step 503, it is judged whether the analysis and splitting of all transaction records are completed, if yes, go to step 507, if not, go to step 504.

步骤507:将拆分出的本地交易文件发送给区域交换子中心,将拆出的跨区域交易文件发送给区域交换父中心。Step 507: Send the split local transaction file to the regional exchange sub-center, and send the split cross-regional transaction file to the regional exchange parent center.

根据上述方法流程可知,本发明的多中心文件转发系统可以顺畅的将来自区域内的成员机构的上传文件准确的转发给区域交换父中心或者区域交换子中心。According to the above method flow, the multi-center file forwarding system of the present invention can smoothly and accurately forward the uploaded files from the member institutions in the region to the regional exchange parent center or the regional exchange sub-center.

通过上述方法流程,在不对成员机构、区域交换子中心和区域交换父中心进行改造的情况下,可以为系统架构内的多中心和成员机构提供统一的功能接口,能够实现多中心清算文件收发的统一封装,使得在区域内发生的所有交易文件都能准确的发给对应的区域交换子中心或区域交换父中心,使得区域交换子中心或区域交换父中心下发的清算文件能够顺畅的转发给对应的成员机构(包括入网区域交换子中心的本地机构和海外机构),进而加快新增区域交换子中心的建设,以及加快海外机构业务迁移的进程。Through the above method and process, a unified functional interface can be provided for the multi-center and member institutions in the system architecture without modification of the member institutions, the regional exchange sub-center and the regional exchange parent center, and the multi-center clearing documents can be sent and received. Unified encapsulation, so that all transaction files that occur in the region can be accurately sent to the corresponding regional exchange sub-center or regional exchange parent center, so that the settlement files issued by the regional exchange sub-center or regional exchange parent center can be smoothly forwarded to Corresponding member institutions (including local institutions and overseas institutions of the regional exchange sub-centers in the network), thereby speeding up the construction of new regional exchange sub-centers and speeding up the process of business migration of overseas institutions.

基于上述方法流程,本发明实施例提供了一种多中心文件转发装置,应用在本发明提供的多中心文件转发系统中。Based on the above method flow, an embodiment of the present invention provides a multi-center file forwarding apparatus, which is applied in the multi-center file forwarding system provided by the present invention.

如图6所示,本发明实施例提供一种多中心文件转发装置600,包括:As shown in FIG. 6, an embodiment of the present invention provides a multi-center file forwarding apparatus 600, including:

接收单元601,用于接收待转发清算文件;A receiving unit 601, configured to receive a clearing document to be forwarded;

处理单元602,用于获取待转发清算文件的发送方、接收方和文件属性;a processing unit 602, configured to obtain the sender, receiver and file attributes of the clearing file to be forwarded;

在发送方为区域交换子中心时,确定文件属性是否为本地交易专属清算文件,若是,通过发送单元603将待转发清算文件发送给接收方;When the sender is a regional exchange sub-center, determine whether the file attribute is an exclusive clearing file for local transactions, and if so, send the clearing file to be forwarded to the receiver through the sending unit 603;

在发送方为区域交换父中心时,确定文件属性是否为跨区交易专属清算文件,若是,通过发送单元603将待转发清算文件发送给接收方。When the sender is the regional exchange parent center, it is determined whether the file attribute is an exclusive clearing file for cross-regional transactions, and if so, the sending unit 603 sends the clearing file to be forwarded to the receiver.

可选的,文件属性预先配置为本地交易专属清算文件,跨区交易专属清算文件和混合交易专属清算文件;Optionally, the file attributes are pre-configured as an exclusive clearing file for local transactions, an exclusive clearing file for cross-regional transactions, and an exclusive clearing file for mixed transactions;

处理单元602用于:获取待转发清算文件的文件名,根据文件名,确定文件属性;The processing unit 602 is configured to: obtain the file name of the clearing file to be forwarded, and determine the file attribute according to the file name;

其中,文件名预先配置为本地交易专属的清算文件文件名,跨区交易专属的清算文件文件名和混合交易专属的清算文件文件名,混合交易是指交易的双方分别为本地机构和海外机构的交易。Among them, the file names are pre-configured as the clearing file file name for local transactions, the clearing file file name for cross-regional transactions, and the clearing file file name for hybrid transactions. .

可选的,处理单元602还用于:Optionally, the processing unit 602 is further configured to:

在发送方为区域交换子中心时,若确定文件属性为混合交易专属清算文件,则将待转发清算文件标记为来自区域交换子中心的待合并清算文件;或者,When the sender is a regional exchange sub-center, if it is determined that the file attribute is an exclusive clearing file for mixed transactions, the to-be-forwarded clearing file is marked as a to-be-merged clearing file from the regional exchange sub-center; or,

在发送方为区域交换父中心时,若确定文件属性为混合交易专属清算文件,则将待转发清算文件标记为来自区域交换父中心的待合并清算文件。When the sender is the regional exchange parent center, if it is determined that the file attribute is an exclusive clearing file for mixed transactions, the clearing file to be forwarded is marked as the clearing file to be merged from the regional exchange parent center.

进一步的,处理单元在将待转发清算文件标记为来自区域交换子中心的待合并清算文件,或者将待转发清算文件标记为来自区域交换父中心的待合并清算文件之后,还用于:Further, after marking the clearing document to be forwarded as the clearing document to be merged from the regional exchange sub-center, or marking the clearing document to be forwarded as the clearing document to be merged from the regional exchange parent center, the processing unit is further used for:

查找是否存在分别来自区域交换子中心和来自区域交换父中心的文件名相同的待合并清算文件;Find out whether there are files to be merged and cleared with the same file names from the regional exchange sub-center and from the regional exchange parent center;

若存在,将查找到的待合并清算文件进行合并,并通过发送单元603将合并后的清算文件发送给接收方。If it exists, the found clearing files to be combined are combined, and the combined clearing files are sent to the receiver through the sending unit 603 .

可选的,接收单元601,还用于接收包括多条交易记录的待转发交易文件;Optionally, the receiving unit 601 is further configured to receive transaction files to be forwarded including multiple transaction records;

处理单元602,还用于获取及每条交易记录中记录的银行卡标识;根据多条交易记录分别记录的银行卡标识,将待转发交易文件拆分为本地交易文件和跨区交易文件;并通过发送单元将本地交易文件发送给区域交换子中心,通过发送单元603将跨区交易文件发送给区域交换父中心。The processing unit 602 is also used to obtain the bank card identifier recorded in each transaction record; split the transaction file to be forwarded into a local transaction file and a cross-regional transaction file according to the bank card identifiers recorded respectively in the multiple transaction records; and The local transaction file is sent to the regional exchange sub-center through the sending unit, and the cross-regional transaction file is sent to the regional exchange parent center through the sending unit 603 .

进一步的,处理单元602具体用于:Further, the processing unit 602 is specifically used for:

针对任意一条交易记录,查找本地银行卡标识数据库中是否存在该条交易记录的银行卡标识;For any transaction record, find out whether the bank card identifier of the transaction record exists in the local bank card identifier database;

若存在,将该条交易记录写入本地交易文件中;若不存在,将该条交易记录写入跨区交易文件中。If it exists, write the transaction record into the local transaction file; if it does not exist, write the transaction record into the cross-region transaction file.

通过上述多中心文件转发装置600,在不对成员机构、区域交换子中心和区域交换父中心进行改造的情况下,可以为系统架构内的多中心和成员机构提供统一的功能接口,能够实现多中心清算文件收发的统一封装,使得在区域内发生的所有交易文件都能准确的发给对应的区域交换子中心或区域交换父中心,使得区域交换子中心或区域交换父中心下发的清算文件能够顺畅的转发给对应的成员机构(包括入网区域交换子中心的本地机构和海外机构),进而加快新增区域交换子中心的建设,以及加快海外机构业务迁移的进程。The above-mentioned multi-center file forwarding device 600 can provide a unified functional interface for the multi-center and member organizations in the system architecture without modifying the member institutions, the regional exchange sub-center and the regional exchange parent center, and can realize the multi-center The unified encapsulation of clearing file sending and receiving, so that all transaction files occurring in the region can be accurately sent to the corresponding regional exchange sub-center or regional exchange parent center, so that the settlement files issued by the regional exchange sub-center or regional exchange parent center can be It is smoothly forwarded to the corresponding member institutions (including local institutions and overseas institutions in the regional exchange sub-centers in the network), thereby accelerating the construction of new regional exchange sub-centers and accelerating the process of business migration of overseas institutions.

基于上述多中心文件转发装置,本发明实施例提供一种可选的多中心文件转发系统,设置在图1所示的多中心银行卡交换系统架构的每个区域交换子中心的系统下,如图7所示,主要包括文件接收功能模块、文件拆分功能模块、文件合并功能模块及文件发送功能模块。其中,文件接收功能模块相当于上述实施例中的接收单元601,文件拆分功能模块和文件合并功能模块相当于上述实施例中的处理单元602,文件发送功能模块相当于上述实施例中的发送单元603。多中心文件转发系统中的这四个功能模块的功能如下:Based on the above multi-center file forwarding device, the embodiment of the present invention provides an optional multi-center file forwarding system, which is set under the system of each regional exchange sub-center of the multi-center bank card exchange system architecture shown in FIG. As shown in FIG. 7 , it mainly includes a file receiving function module, a file splitting function module, a file merging function module and a file sending function module. The file receiving function module is equivalent to the receiving unit 601 in the above embodiment, the file splitting function module and the file merging function module are equivalent to the processing unit 602 in the above embodiment, and the file sending function module is equivalent to the sending unit in the above embodiment. unit 603. The functions of the four functional modules in the multi-center file forwarding system are as follows:

文件接收功能模块,主要负责接收来自区域交换子中心或区域交换父中心以及本地成员机构的文件发送请求。并根据文件发送方及文件属性判断,若文件来自本地机构,则该文件交由文件拆分模块处理;若文件来自区域交换子中心或区域交换父中心,并且该文件是区域内的混合交易清算文件,则该文件交由文件合并模块处理,否则直接交由文件发送模块转发。The file receiving function module is mainly responsible for receiving file sending requests from regional exchange sub-centers or regional exchange parent centers and local member institutions. And according to the file sender and file attributes, if the file comes from a local institution, the file will be handed over to the file splitting module for processing; if the file comes from the regional exchange sub-center or the regional exchange parent center, and the file is a mixed transaction clearing in the region file, the file is handed over to the file merging module for processing, otherwise it is directly forwarded to the file sending module.

文件拆分功能模块,主要针对来自本地机构的文件进行拆分处理,并将拆分后的本地交易文件和跨区域交易文件交由文件发送模块分别转发给区域交换子中心和区域交换父中心。The file splitting function module mainly splits the files from local institutions, and forwards the split local transaction files and cross-regional transaction files to the regional exchange sub-center and regional exchange parent center respectively by the file sending module.

文件合并功能模块,主要针对来自区域交换子中心或区域交换父中心的混合清算文件进行合并,并将合并后的混合清算文件交由文件发送模块转发给区域内的成员机构,包括区域内的本地机构和区域内的海外机构。The file merging function module mainly merges the mixed clearing files from the regional exchange sub-center or the regional exchange parent center, and forwards the combined mixed clearing file to the file sending module to the member institutions in the region, including local local institutions in the region. Institutions and overseas institutions in the region.

文件发送模块,主要根据来自文件接收功能模块、文件拆分功能模块、文件合并功能模块的文件转发请求,将文件直接发送给域交换子中心或区域交换父中心以及区域内的成员机构。The file sending module mainly sends the file directly to the domain exchange sub-center or the regional exchange parent center and member institutions in the region according to the file forwarding request from the file receiving function module, the file splitting function module and the file merging function module.

通过上述多中心文件转发系统,在不对成员机构、区域交换子中心和区域交换父中心进行改造的情况下,可以为系统架构内的多中心和成员机构提供统一的功能接口,能够实现多中心清算文件收发的统一封装,使得在区域内发生的所有交易文件都能准确的发给对应的区域交换子中心或区域交换父中心,使得区域交换子中心或区域交换父中心下发的清算文件能够顺畅的转发给对应的成员机构(包括入网区域交换子中心的本地机构和海外机构),进而加快新增区域交换子中心的建设,以及加快海外机构业务迁移的进程。Through the above-mentioned multi-center file forwarding system, a unified functional interface can be provided for the multi-center and member institutions in the system architecture without the need to transform the member institutions, regional exchange sub-centers and regional exchange parent centers, and multi-center clearing can be realized. The unified encapsulation of file sending and receiving enables all transaction files in the region to be accurately sent to the corresponding regional exchange sub-center or regional exchange parent center, so that the clearing files issued by the regional exchange sub-center or regional exchange parent center can be smoothly forwarded to the corresponding member institutions (including local institutions and overseas institutions of the regional exchange sub-centers in the network), thereby speeding up the construction of new regional exchange sub-centers and accelerating the process of business migration of overseas institutions.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although preferred embodiments of the present invention have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiment and all changes and modifications that fall within the scope of the present invention.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims (8)

1.一种多中心文件转发处理方法,其特征在于,适用于包括多中心文件转发系统、发送方、接收方的系统;所述方法由所述多中心文件转发系统执行;所述方法包括:1. a multi-center file forwarding processing method, is characterized in that, is applicable to the system that comprises multi-center file forwarding system, sender, receiver; Described method is carried out by described multi-center file forwarding system; Described method comprises: 接收待转发清算文件;Receive clearing documents to be forwarded; 获取所述待转发清算文件的发送方、接收方和文件属性;obtaining the sender, receiver and file attributes of the clearing document to be forwarded; 在所述发送方为区域交换子中心时,确定所述文件属性是否为本地交易专属清算文件,若是,将所述待转发清算文件发送给所述接收方;所述接收方为区域内的本地机构或者区域内的海外机构;When the sender is a regional exchange sub-center, determine whether the file attribute is an exclusive clearing file for local transactions, and if so, send the to-be-forwarded clearing file to the receiver; the receiver is a local local transaction in the region Institutions or overseas institutions in the region; 在所述发送方为区域交换父中心时,确定所述文件属性是否为跨区交易专属清算文件,若是,将所述待转发清算文件发送给所述接收方;所述接收方为区域内的海外机构;When the sender is the regional exchange parent center, determine whether the file attribute is an exclusive clearing file for cross-regional transactions, and if so, send the to-be-forwarded clearing file to the receiver; overseas institutions; 在所述发送方为区域交换子中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换子中心的待合并清算文件;或者,在所述发送方为区域交换父中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件;查找是否存在分别来自区域交换子中心和来自区域交换父中心的文件名相同的待合并清算文件;若存在,将查找到的待合并清算文件进行合并,并将合并后的清算文件发送给所述接收方。When the sender is a regional exchange sub-center, if it is determined that the file attribute is an exclusive clearing file for mixed transactions, the to-be-forwarded clearing file is marked as a to-be-merged clearing file from the regional exchange sub-center; When the sender is the regional exchange parent center, if it is determined that the file attribute is an exclusive clearing file for mixed transactions, the clearing file to be forwarded is marked as the clearing file to be merged from the regional exchange parent center; Exchange the files to be merged and cleared with the same file name from the regional exchange parent center; if there is, merge the found files to be merged and cleared, and send the merged clearing file to the receiver. 2.如权利要求1所述的方法,其特征在于,所述文件属性预先配置为本地交易专属清算文件,跨区交易专属清算文件和混合交易专属清算文件;2. The method according to claim 1, wherein the file attributes are preconfigured as an exclusive clearing file for local transactions, an exclusive clearing file for cross-regional transactions, and an exclusive clearing file for mixed transactions; 获取所述待转发清算文件的文件属性,包括:Obtain the file attributes of the clearing file to be forwarded, including: 获取所述待转发清算文件的文件名;obtaining the file name of the clearing document to be forwarded; 根据所述文件名,确定所述文件属性,其中,所述文件名预先配置为本地交易专属的清算文件文件名,跨区交易专属的清算文件文件名和混合交易专属的清算文件文件名,所述混合交易是指交易的双方分别为本地机构和海外机构的交易。The file attribute is determined according to the file name, wherein the file name is preconfigured as a clearing file file name exclusive to local transactions, a clearing file file name exclusive to cross-regional transactions and a clearing file file name exclusive to mixed transactions, the A hybrid transaction refers to a transaction in which the two parties to the transaction are a local institution and an overseas institution. 3.如权利要求1或2所述的方法,其特征在于,所述方法还包括:3. The method of claim 1 or 2, wherein the method further comprises: 接收包括多条交易记录的待转发交易文件;Receive transaction files to be forwarded including multiple transaction records; 获取及每条交易记录中记录的银行卡标识;Obtain and record the bank card identification in each transaction record; 根据所述多条交易记录分别记录的银行卡标识,将所述待转发交易文件拆分为本地交易文件和跨区交易文件;并Splitting the transaction file to be forwarded into a local transaction file and a cross-regional transaction file according to the bank card identifiers recorded respectively in the plurality of transaction records; and 将所述本地交易文件发送给区域交换子中心,将所述跨区交易文件发送给区域交换父中心。The local transaction file is sent to the regional exchange sub-center, and the cross-regional transaction file is sent to the regional exchange parent center. 4.如权利要求3所述的方法,其特征在于,根据所述多条交易记录分别记录的银行卡标识,将所述待转发交易文件拆分为本地交易文件和跨区交易文件,包括:4. The method of claim 3, wherein, according to the bank card identifiers recorded respectively in the multiple transaction records, the transaction file to be forwarded is split into a local transaction file and a cross-regional transaction file, comprising: 针对任意一条交易记录,查找本地银行卡标识数据库中是否存在该条交易记录的银行卡标识;For any transaction record, find out whether the bank card identifier of the transaction record exists in the local bank card identifier database; 若存在,将该条交易记录写入所述本地交易文件中;若不存在,将该条交易记录写入所述跨区交易文件中。If it exists, write the transaction record into the local transaction file; if it does not exist, write the transaction record into the cross-region transaction file. 5.一种多中心文件转发处理装置,其特征在于,适用于包括多中心文件转发系统、发送方、接收方的系统;所述装置是所述多中心文件转发系统;所述装置包括:5. A multi-center file forwarding processing device, characterized in that it is applicable to a system comprising a multi-center file forwarding system, a sender, and a receiver; the device is the multi-center file forwarding system; the device comprises: 接收单元,用于接收待转发清算文件;a receiving unit, configured to receive the clearing document to be forwarded; 处理单元,用于获取所述待转发清算文件的发送方、接收方和文件属性;a processing unit, configured to acquire the sender, receiver and file attributes of the clearing document to be forwarded; 在所述发送方为区域交换子中心时,确定所述文件属性是否为本地交易专属清算文件,若是,通过发送单元将所述待转发清算文件发送给所述接收方;所述接收方为区域内的本地机构或者区域内的海外机构;When the sender is a regional exchange sub-center, determine whether the file attribute is an exclusive clearing file for local transactions, and if so, send the to-be-forwarded clearing file to the receiver through the sending unit; the receiver is a regional local institutions in the region or overseas institutions in the region; 在所述发送方为区域交换父中心时,确定所述文件属性是否为跨区交易专属清算文件,若是,通过发送单元将所述待转发清算文件发送给所述接收方;所述接收方为区域内的海外机构;When the sender is the regional exchange parent center, determine whether the file attribute is an exclusive clearing file for cross-regional transactions, and if so, send the to-be-forwarded clearing file to the receiver through the sending unit; the receiver is overseas institutions in the region; 所述处理单元还用于:在所述发送方为区域交换子中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换子中心的待合并清算文件;或者,在所述发送方为区域交换父中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件;The processing unit is further configured to: when the sender is a regional exchange sub-center, if it is determined that the file attribute is an exclusive clearing file for mixed transactions, mark the clearing file to be forwarded as a pending clearing file from the regional exchange sub-center. Merge clearing documents; or, when the sender is the regional exchange parent center, if it is determined that the file attribute is an exclusive clearing file for mixed transactions, the to-be-forwarded clearing file is marked as the to-be-merged clearing document from the regional exchange parent center document; 所述处理单元还用于:查找是否存在分别来自区域交换子中心和来自区域交换父中心的文件名相同的待合并清算文件;若存在,将查找到的待合并清算文件进行合并,并通过所述发送单元将合并后的清算文件发送给所述接收方。The processing unit is also used to: find out whether there are files to be merged and cleared with the same file name from the regional exchange sub-center and from the regional exchange parent center; The sending unit sends the merged clearing document to the receiver. 6.如权利要求5所述的装置,其特征在于,所述文件属性预先配置为本地交易专属清算文件,跨区交易专属清算文件和混合交易专属清算文件;6. The apparatus according to claim 5, wherein the file attributes are preconfigured as an exclusive clearing file for local transactions, an exclusive clearing file for cross-regional transactions, and an exclusive clearing file for mixed transactions; 所述处理单元用于:获取所述待转发清算文件的文件名,根据所述文件名,确定所述文件属性;The processing unit is configured to: obtain the file name of the clearing file to be forwarded, and determine the file attribute according to the file name; 其中,所述文件名预先配置为本地交易专属的清算文件文件名,跨区交易专属的清算文件文件名和混合交易专属的清算文件文件名,所述混合交易是指交易的双方分别为本地机构和海外机构的交易。Wherein, the file name is preconfigured as a clearing file file name exclusive to local transactions, a clearing file file name exclusive to cross-regional transactions, and a clearing file file name exclusive to mixed transactions, where the mixed transaction means that the two parties to the transaction are the local institution and the Transactions with overseas institutions. 7.如权利要求5或6所述的装置,其特征在于,所述装置 还包括:7. The apparatus of claim 5 or 6, wherein the apparatus further comprises: 所述接收单元,还用于接收包括多条交易记录的待转发交易文件;The receiving unit is further configured to receive a transaction file to be forwarded including a plurality of transaction records; 所述处理单元,还用于获取及每条交易记录中记录的银行卡标识;根据所述多条交易记录分别记录的银行卡标识,将所述待转发交易文件拆分为本地交易文件和跨区交易文件;并通过所述发送单元将所述本地交易文件发送给区域交换子中心,通过所述发送单元将所述跨区交易文件发送给区域交换父中心。The processing unit is also used to obtain the bank card identifier recorded in each transaction record; according to the bank card identifiers recorded respectively in the multiple transaction records, the transaction file to be forwarded is split into a local transaction file and a cross-border transaction file. and send the local transaction file to the regional exchange sub-center through the sending unit, and send the cross-regional transaction file to the regional exchange parent center through the sending unit. 8.如权利要求7所述的装置,其特征在于,所述处理单元具体用于:8. The apparatus according to claim 7, wherein the processing unit is specifically configured to: 针对任意一条交易记录,查找本地银行卡标识数据库中是否存在该条交易记录的银行卡标识;For any transaction record, find out whether the bank card identifier of the transaction record exists in the local bank card identifier database; 若存在,将该条交易记录写入所述本地交易文件中;若不存在,将该条交易记录写入所述跨区交易文件中。If it exists, write the transaction record into the local transaction file; if it does not exist, write the transaction record into the cross-region transaction file.
CN201611229089.4A 2016-12-27 2016-12-27 Multi-center file forwarding processing method and device Active CN106803836B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611229089.4A CN106803836B (en) 2016-12-27 2016-12-27 Multi-center file forwarding processing method and device
PCT/CN2017/117025 WO2018121328A1 (en) 2016-12-27 2017-12-18 Multi-center file transfer processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611229089.4A CN106803836B (en) 2016-12-27 2016-12-27 Multi-center file forwarding processing method and device

Publications (2)

Publication Number Publication Date
CN106803836A CN106803836A (en) 2017-06-06
CN106803836B true CN106803836B (en) 2021-03-23

Family

ID=58984192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611229089.4A Active CN106803836B (en) 2016-12-27 2016-12-27 Multi-center file forwarding processing method and device

Country Status (2)

Country Link
CN (1) CN106803836B (en)
WO (1) WO2018121328A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106803836B (en) * 2016-12-27 2021-03-23 中国银联股份有限公司 Multi-center file forwarding processing method and device
CN111831611B (en) * 2020-07-09 2023-08-25 中国工商银行股份有限公司 Cross-border data exchange method, device and system
CN114549137B (en) * 2022-02-28 2025-10-03 北京有竹居网络技术有限公司 Request processing method and device
CN116049139A (en) * 2022-12-26 2023-05-02 中国建设银行股份有限公司 A business data migration method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005112359A2 (en) * 2004-05-10 2005-11-24 Yahoo Inc. Clearinghouse for messages between disparate im networks
CN105868032A (en) * 2016-03-28 2016-08-17 中国建设银行股份有限公司 Message processing system and method supporting multi-system access
CN105931112A (en) * 2015-11-25 2016-09-07 中国银联股份有限公司 Cross-border transaction liquidation method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080097899A1 (en) * 2006-07-14 2008-04-24 The Clearing House Payments Company L.L.C. Method and system for electronic settlement of checks
CN101916421A (en) * 2010-09-01 2010-12-15 中国建设银行股份有限公司 Foreign exchange remittance service processing method and system
CN106803836B (en) * 2016-12-27 2021-03-23 中国银联股份有限公司 Multi-center file forwarding processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005112359A2 (en) * 2004-05-10 2005-11-24 Yahoo Inc. Clearinghouse for messages between disparate im networks
CN105931112A (en) * 2015-11-25 2016-09-07 中国银联股份有限公司 Cross-border transaction liquidation method and system
CN105868032A (en) * 2016-03-28 2016-08-17 中国建设银行股份有限公司 Message processing system and method supporting multi-system access

Also Published As

Publication number Publication date
CN106803836A (en) 2017-06-06
WO2018121328A1 (en) 2018-07-05

Similar Documents

Publication Publication Date Title
US10416966B2 (en) Data processing systems for identity validation of data subject access requests and related methods
CN106803836B (en) Multi-center file forwarding processing method and device
CN110765489A (en) Multi-tenant database isolation method and system, electronic device and computer storage medium
CN113868289A (en) Identification analysis system and method suitable for intelligent Internet of things system
CN111415233A (en) Bank electronic inquiry letter generation method based on block chain multi-party authorization
US12148050B2 (en) Taxpayers switching tax preparers
CN112734405A (en) Item acceptance method, item acceptance device, related equipment and storage medium
CN111190936B (en) Trusted identification association relation query method based on block chain technology, corresponding storage medium and electronic device
CN112926033A (en) Task process tracing system based on block chain cross-chain cooperation
US11637814B2 (en) Deploying and utilizing a dynamic data stenciling system with a smart linking engine
US11748496B1 (en) Data jurisdiction management
CN105450733A (en) Business data distribution processing method and system
CN118378132B (en) A model training data annotation method and system based on Minio
CN114240629A (en) Automatic posting method for citation file, program product, readable medium and electronic device
CN105279670B (en) Application automatic release method and system based on trusted service management platform
JP7041675B2 (en) Methods and systems for collecting digital documents from multiple suppliers
CN113256420B (en) Enterprise user identification method, device, equipment and medium in transaction
CN103839064A (en) Method and system for extracting electronic stamp account information
KR101809362B1 (en) Transaction Information Managing System using Optical Character Reader System and Computerized Transaction Information Managing Method using It
US20250390483A1 (en) System, Method, And Device for Uploading Data from Premises to Remote Computing Environments
AU2020202543A1 (en) Unauthenticated access to artifacts in commerce networks
CN110334547A (en) The system and method for customer information local disposition overseas
JP7333293B2 (en) Data delivery system and data delivery method
CN115658629A (en) A system and method for sharing information of civil aircraft aviation materials
CN108234438B (en) An automatic encapsulation method for multi-access across systems

Legal Events

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