WO2018121328A1 - Multi-center file transfer processing method and apparatus - Google Patents

Multi-center file transfer processing method and apparatus Download PDF

Info

Publication number
WO2018121328A1
WO2018121328A1 PCT/CN2017/117025 CN2017117025W WO2018121328A1 WO 2018121328 A1 WO2018121328 A1 WO 2018121328A1 CN 2017117025 W CN2017117025 W CN 2017117025W WO 2018121328 A1 WO2018121328 A1 WO 2018121328A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
transaction
clearing
center
forwarded
Prior art date
Application number
PCT/CN2017/117025
Other languages
French (fr)
Chinese (zh)
Inventor
杨森
陈林
徐立伟
张峻浩
张飞
Original Assignee
中国银联股份有限公司
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 中国银联股份有限公司 filed Critical 中国银联股份有限公司
Publication of WO2018121328A1 publication Critical patent/WO2018121328A1/en

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; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/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

Definitions

  • Obtaining the file attributes of the to-be-forwarded clearing file including:
  • the sender is a regional exchange parent center
  • the file attribute is a mixed transaction exclusive clearing file
  • the to-be-forwarded clearing file is marked as a clearing file to be merged from the regional exchange parent center.
  • the sender When the sender is a regional exchange sub-center, determining whether the file attribute is a local transaction-specific clearing file, and if yes, sending, by the sending unit, the to-be-forwarded clearing file to the receiving party;
  • the sender exchanges the parent center for the area, it is determined whether the file attribute is a cross-region transaction-specific clearing file, and if yes, the to-be-forwarded clearing file is sent to the receiving party by the sending unit.
  • the processing unit is configured to: obtain a file name of the to-be-forwarded clearing file, and determine the file attribute according to the file name;
  • the file name is pre-configured as a clearing file name unique to the local transaction, a clearing file name unique to the cross-region transaction, and a clearing file name exclusive to the mixed transaction, wherein the mixed transaction means that both sides of the transaction are local institutions and Trading by overseas institutions.
  • processing unit is further configured to:
  • the processing unit marks the to-be-forwarded clearing file as a clearing file to be merged from the regional exchange sub-center, or marks the to-be-forwarded clearing file as a clearing file to be merged from the regional exchange parent center, Also used for:
  • the transaction record is written to the local transaction file; if not, the transaction record is written to the inter-regional transaction file.
  • An embodiment of the present application further provides an electronic device, including: at least one processor, a transceiver, and a memory communicatively coupled to the at least one processor; wherein the memory is stored for execution by the at least one processor And the instructions are executed by the at least one processor to enable the at least one processor to perform the multi-center file forwarding processing method of the embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a multi-center file forwarding method according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of a multi-center file forwarding device according to an embodiment of the present invention.
  • the inventors of the present invention have found that in order to speed up the construction of new regional exchange sub-centers and accelerate the process of business migration of overseas institutions, it is necessary to provide a unified functional interface for multi-centers and member institutions within the system architecture, which can be Based on the transformation of the regional exchange sub-center and the regional exchange parent center, all transaction files of local transactions, trans-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 clearing documents issued by the center and 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 exchange area).
  • providing a unified functional interface for the multi-center and member institutions in the system architecture means that the function interfaces of the file transceiving are the same for the overseas institutions of the switching sub-center of the network access area or the local institutions within the area.
  • the functional interfaces for file transceiving are the same.
  • the function interface for file transceiving does not change.
  • the original cross-region clearing system does not need to be modified.
  • Step 201 Receive a clearing file to be forwarded
  • Step 202 Acquire a sender, a receiver, and a file attribute of the clearing file to be forwarded;
  • the regional exchange sub-center is a sub-center of the exchange service in the processing area in each area deployed.
  • the regional exchange sub-center is only responsible for the liquidation of the local part of the intra-regional transactions and the issuance of clearing documents.
  • Step 312 Forward the merged clearing file to the receiver according to the identifier information of the receiver.
  • the receiver is a local institution or an overseas institution in the area.
  • the documents uploaded by member institutions are mixed documents of local transactions and cross-regional transactions, so as to avoid the difficulty or even the inability of the organization to distinguish whether the transactions are local transactions or cross-regional transactions.
  • Step 401 Receive a transaction file to be forwarded that includes multiple transaction records.
  • the sender exchanges the parent center for the area, it is determined whether the file attribute is a cross-region transaction-specific clearing file, and if so, the clearing file to be forwarded is sent to the receiving party by the sending unit 603.
  • the file name is pre-configured as the name of the clearing file file exclusive to the local transaction, the name of the clearing file file exclusive to the cross-region transaction and the file name of the clearing file exclusive to the mixed transaction, and the mixed transaction means the transaction
  • the two parties are the transactions of local institutions and overseas institutions.
  • the found clearing files to be merged are merged, and the merged clearing file is sent to the receiving party by the sending unit 603.
  • the file sending module sends the file directly to the domain switching sub-center or the regional switching parent center and the member institutions in the area according to the file forwarding request from the file receiving function module, the file splitting function module, and the file combining function module.
  • the memory 820 is a non-volatile computer readable storage medium, and can be used for storing non-volatile software programs, non-volatile computer executable programs, and modules, such as the multi-center file forwarding processing method provided in the embodiments of the present application.
  • Corresponding program instructions/modules for example, receiving unit 601, processing unit 602, transmitting unit 603 shown in FIG. 6).
  • the processor 810 executes various functional applications and data processing of the server by executing non-volatile software programs, instructions, and modules stored in the memory 820, that is, implementing the multi-center file forwarding processing method in the above embodiment.
  • Input device 830 can receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic device.
  • the output device 840 can include a display device such as a display screen.
  • the transceiver 800 is further configured to receive a transaction file to be forwarded that includes multiple transaction records; the processor is further configured to: obtain and identify a bank card identifier recorded in each transaction record; Transmitting, by the sending unit, the local transaction file to the regional exchange sub-center, The sending unit sends the cross-region transaction file to the regional exchange parent center.
  • the present application provides a non-transitory computer storage medium storing computer-executable instructions for causing the computer to perform the above A multi-center file forwarding processing method in any of the embodiments.

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

A multi-center file transfer processing method and apparatus, used to realize unified sending and receiving of files between a regional exchange sub-center, a regional exchange main center and an intra-regional member institution in a multi-center bank card exchange system architecture. The present invention comprises: receiving a settlement file to be forwarded; acquiring a sender, a receiver and a file type of the settlement file to be forwarded; when the sender is a regional exchange sub-center, determining whether the file type is a local transaction-specific file, and if so, sending the settlement file to be forwarded to the receiver; when the sender is a regional exchange main center, determining whether the file type is a cross-regional transaction-specific file, and if so, sending the settlement file to be forwarded to the receiver. The present invention allows a settlement file or a transaction file to be smoothly forwarded between a member institution, a regional exchange sub-center and a regional exchange main center without modifying the member institution, regional exchange sub-center and regional exchange main center.

Description

一种多中心文件转发处理方法及装置Multi-center file forwarding processing method and device
本申请要求在2016年12月27日提交中国专利局、申请号为201611229089.4、发明名称为“一种多中心文件转发处理方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201611229089.4, entitled "A Multi-Core File Forwarding Processing Method and Apparatus", filed on December 27, 2016, the entire contents of which are hereby incorporated by reference. In this application.
技术领域Technical field
本发明实施例涉及通信技术领域,尤其涉及一种多中心文件转发处理方法及装置。The embodiments of the present invention relate to the field of communications technologies, and in particular, to a multi-center file forwarding processing method and apparatus.
背景技术Background technique
现有的银行卡转接清算中心一般存在异地备份或者区域交换子中心之间的联动,而区域交换子中心在区域内的交易一般要求进行区域内集中清算。比如,随着银行卡产业及金融体系的建设发展,大多数国家都要求本地交易落地转接和清算,区域交换子中心负责处理区域内业务的本地业务,并作为跨区业务的桥梁。The existing bank card transfer clearing center generally has the linkage between the remote backup or the regional exchange sub-center, and the regional exchange sub-center transactions in the area generally require centralized clearing in the area. For example, with the development of the bank card industry and the financial system, most countries require local transactions to be transferred and cleared. The regional exchange sub-center is responsible for handling the local business of the regional business and serves as a bridge for cross-regional business.
例如,如图1所示的系统架构中,包括父交换中心和多个交换子中心,父交换中心只处理跨境交易,交换子中心只处理区域内本地交易,对于父交换中心,所接入的清算系统主要用于跨境交易的清算,对于交换子中心,接入的清算系统主要用于本地交易的清算。与父交换子中心直联的成员机构之间发生跨境交易。For example, in the system architecture shown in FIG. 1, including a parent switching center and multiple switching sub-centers, the parent switching center only processes cross-border transactions, and the switching sub-center only processes local transactions within the area, and is accessed by the parent switching center. The clearing system is mainly used for the clearing of cross-border transactions. For the exchange sub-center, the clearing system for access is mainly used for the clearing of local transactions. Cross-border transactions occur between member institutions directly linked to the parent exchange sub-center.
如果一个区域内原本没有区域交换子中心,新建区域交换子中心以后,建设了区域内本地清算系统,并统一将该区域内的成员机构进行接入,区域内发生的本地交易由区域交换子中心自行进行清算,跨区交易仍然由区域交换父中心进行清算。新成员机构为海外机构时,一旦接入了区域交换子中心,便不期望继续接入区域交换父中心。那么海外机构的跨境交易就需要迁移至区域交换子中心,但是区域交换子中心只能处理本地交易,无法与其他区域中心联动进行多中心清算文件的转接和清算。在不改变区域交换子中心的清 算文件收发的前提下,新成员机构在区域内发生的本地交易、跨区交易或者混合交易的清算文件如何转发处理就成为了亟待解决的问题。If there is no regional exchange sub-center in an area, after the new regional exchange sub-center, the local clearing system in the area is constructed, and the member institutions in the area are uniformly connected. The local transactions occurring in the area are controlled by the regional exchange sub-center. Clearing by itself, cross-regional transactions are still liquidated by the regional exchange parent center. When the new member institution is an overseas institution, once the regional exchange sub-center is accessed, it is not expected to continue to access the area to exchange the parent center. Then cross-border transactions of overseas institutions need to be transferred to the regional exchange sub-center, but the regional exchange sub-center can only handle local transactions, and cannot transfer and clear the multi-center clearing documents in conjunction with other regional centers. Without changing the clearing of the regional exchange subcenter Under the premise of sending and receiving documents, how to forward and process the clearing documents of local transactions, cross-regional transactions or mixed transactions that occur in the new member institutions has become an urgent problem to be solved.
在理想情况下,更期望成员机构无需区分区域交换子中心和区域交换父中心。因此,如何使新成员机构的清算文件能够在机构、区域交换子中心以及区域交换父中心间中流转,就成为了问题的关键。Ideally, it is more desirable for member institutions to distinguish between regional exchange sub-centers and regional exchange parent centers. Therefore, how to make the liquidation documents of new member institutions flow among institutions, regional exchange sub-centers and regional exchange parent centers becomes the key to the problem.
发明内容Summary of the invention
本发明提供一种多中心文件转发处理方法及装置,用以实现交易文件和清算文件的统一收发,从而兼容多中心的清算系统。The invention provides a multi-center file forwarding processing method and device, which is used for realizing unified transmission and reception of transaction files and clearing files, thereby being compatible with a multi-center clearing system.
本发明实施例提供一种多中心文件转发处理方法,包括:The embodiment of the invention provides a multi-center file forwarding processing method, including:
接收待转发清算文件;Receiving a clearing file to be forwarded;
获取所述待转发清算文件的发送方、接收方和文件属性;Obtaining a sender, a receiver, and a file attribute of the to-be-forwarded clearing file;
在所述发送方为区域交换子中心时,确定所述文件属性是否为本地交易专属清算文件,若是,将所述待转发清算文件发送给所述接收方;When the sender is a regional exchange sub-center, determining whether the file attribute is a local transaction-specific clearing file, and if yes, sending the to-be-forwarded clearing file to the receiving party;
在所述发送方为区域交换父中心时,确定所述文件属性是否为跨区交易专属清算文件,若是,将所述待转发清算文件发送给所述接收方。When the sender exchanges the parent center for the area, it is determined whether the file attribute is a cross-region transaction-specific clearing file, and if yes, the to-be-forwarded clearing file is sent to the receiving party.
可选的,所述文件属性预先配置为本地交易专属清算文件,跨区交易专属清算文件和混合交易专属清算文件;Optionally, the file attribute is pre-configured as a local transaction exclusive clearing file, a cross-region transaction exclusive clearing file, and a mixed transaction exclusive clearing file;
获取所述待转发清算文件的文件属性,包括:Obtaining the file attributes of the to-be-forwarded clearing file, including:
获取所述待转发清算文件的文件名;Obtaining a file name of the clearing file to be forwarded;
根据所述文件名,确定所述文件属性,其中,所述文件名预先配置为本地交易专属的清算文件文件名,跨区交易专属的清算文件文件名和混合交易专属的清算文件文件名,所述混合交易是指交易的双方分别为本地机构和海外机构的交易。Determining, according to the file name, the file attribute, wherein the file name is pre-configured as a clearing file name unique to a local transaction, a clearing file name of a cross-region transaction exclusive, and a clearing file name unique to the mixed transaction, A mixed transaction is a transaction between a local agency 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 a mixed transaction-specific clearing file, the to-be-forwarded clearing file is marked as being to be merged from the regional exchange sub-center Clearing documents; or,
在所述发送方为区域交换父中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件。When the sender is a regional exchange parent center, if it is determined that the file attribute is a mixed transaction exclusive clearing file, the to-be-forwarded clearing file is marked as a clearing file to be merged from the regional exchange parent center.
进一步的,在将所述待转发清算文件标记为来自区域交换子中心的待合并清算文件,或者将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件之后,所述方法还包括:Further, after marking the to-be-forwarded clearing file as a clearing file to be merged from the regional exchange sub-center, or marking the to-be-forwarded clearing file as a clearing file to be merged from the regional exchange parent center, the method further include:
查找是否存在分别来自区域交换子中心和来自区域交换父中心的文件名相同的待合并清算文件;Finding whether there is a clearing file to be merged from the regional exchange subcenter and the file name from the regional exchange parent center respectively;
若存在,将查找到的待合并清算文件进行合并,并将合并后的清算文件发送给所述接收方。If yes, the found clearing files to be merged are merged, and the merged clearing file is sent to the receiving party.
可选的,所述方法还包括:Optionally, the method further includes:
接收包括多条交易记录的待转发交易文件;Receiving a transaction file to be forwarded including a plurality of transaction records;
获取及每条交易记录中记录的银行卡标识;Obtain and identify the bank card ID recorded in each transaction record;
根据所述多条交易记录分别记录的银行卡标识,将所述待转发交易文件拆分为本地交易文件和跨区交易文件;并Separating the to-be-forwarded transaction file into a local transaction file and a cross-region transaction file according to the bank card identifier respectively recorded by the plurality of transaction records;
将所述本地交易文件发送给区域交换子中心,将所述跨区交易文件发送给区域交换父中心。Sending the local transaction file to the regional exchange sub-center, and transmitting the cross-region transaction file to the regional exchange parent center.
进一步的,根据所述多条交易记录分别记录的银行卡标识,将所述待转发交易文件拆分为本地交易文件和跨区交易文件,包括:Further, according to the bank card identifier respectively recorded by the plurality of transaction records, the to-be-forwarded transaction file is split into a local transaction file and an inter-regional transaction file, including:
针对任意一条交易记录,查找本地银行卡标识数据库中是否存在该条交易记录的银行卡标识;For any transaction record, find the bank card identifier of the transaction record in the local bank card identification database;
若存在,将该条交易记录写入所述本地交易文件中;若不存在,将该条交易记录写入所述跨区交易文件中。If present, the transaction record is written to the local transaction file; if not, the transaction record is written to the inter-regional transaction file.
本发明实施例提供一种多中心文件转发处理装置,包括:An embodiment of the present invention provides a multi-center file forwarding processing apparatus, including:
接收单元,用于接收待转发清算文件;a receiving unit, configured to receive a clearing file to be forwarded;
处理单元,用于获取所述待转发清算文件的发送方、接收方和文件属性; a processing unit, configured to acquire a sender, a receiver, and a file attribute of the to-be-forwarded clearing file;
在所述发送方为区域交换子中心时,确定所述文件属性是否为本地交易专属清算文件,若是,通过发送单元将所述待转发清算文件发送给所述接收方;When the sender is a regional exchange sub-center, determining whether the file attribute is a local transaction-specific clearing file, and if yes, sending, by the sending unit, the to-be-forwarded clearing file to the receiving party;
在所述发送方为区域交换父中心时,确定所述文件属性是否为跨区交易专属清算文件,若是,通过发送单元将所述待转发清算文件发送给所述接收方。When the sender exchanges the parent center for the area, it is determined whether the file attribute is a cross-region transaction-specific clearing file, and if yes, the to-be-forwarded clearing file is sent to the receiving party by the sending unit.
可选的,所述文件属性预先配置为本地交易专属清算文件,跨区交易专属清算文件和混合交易专属清算文件;Optionally, the file attribute is pre-configured as a local transaction exclusive clearing file, a cross-region transaction exclusive clearing file, and a mixed transaction exclusive clearing file;
所述处理单元用于:获取所述待转发清算文件的文件名,根据所述文件名,确定所述文件属性;The processing unit is configured to: obtain a file name of the to-be-forwarded clearing file, and determine the file attribute according to the file name;
其中,所述文件名预先配置为本地交易专属的清算文件文件名,跨区交易专属的清算文件文件名和混合交易专属的清算文件文件名,所述混合交易是指交易的双方分别为本地机构和海外机构的交易。Wherein, the file name is pre-configured as a clearing file name unique to the local transaction, a clearing file name unique to the cross-region transaction, and a clearing file name exclusive to the mixed transaction, wherein the mixed transaction means that both sides of the transaction are local institutions and Trading by overseas institutions.
可选的,所述处理单元还用于:Optionally, 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 a mixed transaction-specific clearing file, the to-be-forwarded clearing file is marked as a clearing file to be merged from the regional exchange sub-center; or
在所述发送方为区域交换父中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件。When the sender is a regional exchange parent center, if it is determined that the file attribute is a mixed transaction exclusive clearing file, the to-be-forwarded clearing file is marked as a clearing file to be merged from the regional exchange parent center.
进一步的,所述处理单元在将所述待转发清算文件标记为来自区域交换子中心的待合并清算文件,或者将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件之后,还用于:Further, after the processing unit marks the to-be-forwarded clearing file as a clearing file to be merged from the regional exchange sub-center, or marks the to-be-forwarded clearing file as a clearing file to be merged from the regional exchange parent center, Also used for:
查找是否存在分别来自区域交换子中心和来自区域交换父中心的文件名相同的待合并清算文件;Finding whether there is a clearing file to be merged from the regional exchange subcenter and the file name from the regional exchange parent center respectively;
若存在,将查找到的待合并清算文件进行合并,并通过所述发送单元将合并后的清算文件发送给所述接收方。 If yes, the found clearing files to be merged are merged, and the merged clearing file is sent to the receiving party by the sending unit.
可选的,所述方法还包括:Optionally, the method further includes:
所述接收单元,还用于接收包括多条交易记录的待转发交易文件;The receiving unit is further configured to receive a transaction file to be forwarded that includes multiple transaction records;
所述处理单元,还用于获取及每条交易记录中记录的银行卡标识;根据所述多条交易记录分别记录的银行卡标识,将所述待转发交易文件拆分为本地交易文件和跨区交易文件;并通过所述发送单元将所述本地交易文件发送给区域交换子中心,通过所述发送单元将所述跨区交易文件发送给区域交换父中心。The processing unit is further configured to acquire and identify a bank card identifier recorded in each transaction record; and divide the transaction file to be forwarded into local transaction files and crosses according to the bank card identifier respectively recorded by the plurality of transaction records And transmitting, by the sending unit, the local transaction file to the regional exchange sub-center, and transmitting, by the sending unit, the cross-region transaction file to the regional exchange parent center.
进一步的,所述处理单元具体用于:Further, the processing unit is specifically configured to:
针对任意一条交易记录,查找本地银行卡标识数据库中是否存在该条交易记录的银行卡标识;For any transaction record, find the bank card identifier of the transaction record in the local bank card identification database;
若存在,将该条交易记录写入所述本地交易文件中;若不存在,将该条交易记录写入所述跨区交易文件中。If present, the transaction record is written to the local transaction file; if not, the transaction record is written to the inter-regional transaction file.
本发明实施例中,在不对成员机构、区域交换子中心和区域交换父中心进行改造的情况下,可以为系统架构内的多中心和成员机构提供统一的功能接口,能够实现多中心清算文件收发的统一封装,使得在区域内发生的所有交易文件都能准确的发给对应的区域交换子中心或区域交换父中心,使得区域交换子中心或区域交换父中心下发的清算文件能够顺畅的转发给对应的成员机构(包括入网区域交换子中心的本地机构和海外机构),进而加快新增区域交换子中心的建设,以及加快海外机构业务迁移的进程。In the embodiment of the present invention, when the member institution, the regional exchange sub-center, and the regional exchange parent center are not modified, a unified functional interface can be provided for the multi-center and member institutions in the system architecture, and the multi-center clearing file can be transmitted and received. Uniform encapsulation, so that all transaction files occurring in the area can 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 exchange area sub-centers), thereby accelerating the construction of new regional exchange sub-centers and accelerating the process of business migration of overseas institutions.
本申请实施例还提供了一种电子设备,包括:至少一个处理器、收发器和与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行本申请实施例的多中心文件转发处理方法。An embodiment of the present application further provides an electronic device, including: at least one processor, a transceiver, and a memory communicatively coupled to the at least one processor; wherein the memory is stored for execution by the at least one processor And the instructions are executed by the at least one processor to enable the at least one processor to perform the multi-center file forwarding processing method of the embodiment of the present application.
本申请实施例还提供了一种非易失性计算机存储介质,所述非暂态计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使所述计算机执行本申请实施例的多中心文件转发处理方法。The embodiment of the present application further provides a non-transitory computer storage medium storing computer executable instructions for causing the computer to perform the implementation of the present application. Example of a multi-center file forwarding processing method.
本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括 存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括所述计算机可执行指令,当所述计算机可执行指令被计算机执行时,使所述计算机执行本申请实施例的多中心文件转发处理方法。The embodiment of the present application further provides a computer program product, where the computer program product includes a computing program stored on a non-transitory computer readable storage medium, the computer program comprising the computer executable instructions, when the computer executable instructions are executed by a computer, causing the computer to perform many of the embodiments of the present application Central file forwarding processing method.
通过上述多中心文件转发系统,在不对成员机构、区域交换子中心和区域交换父中心进行改造的情况下,可以为系统架构内的多中心和成员机构提供统一的功能接口,能够实现多中心清算文件收发的统一封装,使得在区域内发生的所有交易文件都能准确的发给对应的区域交换子中心或区域交换父中心,使得区域交换子中心或区域交换父中心下发的清算文件能够顺畅的转发给对应的成员机构(包括入网区域交换子中心的本地机构和海外机构),进而加快新增区域交换子中心的建设,以及加快海外机构业务迁移的进程。Through the above-mentioned multi-center file forwarding system, without modifying the member institutions, the regional exchange sub-centers, and the regional exchange parent center, a unified functional interface can be provided for the multi-center and member institutions in the system architecture, and multi-center clearing can be realized. The uniform encapsulation of the file is 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 the regional exchange parent center can be smoothed. It is forwarded to the corresponding member institutions (including the local institutions and overseas institutions of the network exchange sub-center), thereby accelerating the construction of new regional exchange sub-centers and accelerating the process of business migration of overseas institutions.
附图说明DRAWINGS
图1为本发明实施例提供的一种多中心的银行卡业务交换系统架构;FIG. 1 is a schematic diagram of a multi-center bank card service switching system according to an embodiment of the present invention;
图2为本发明实施例提供的一种多中心文件转发方法的流程示意图;2 is a schematic flowchart of a multi-center file forwarding method according to an embodiment of the present invention;
图3为本发明实施例提供的一种多中心文件转发方法的流程示意图;3 is a schematic flowchart of a multi-center file forwarding method according to an embodiment of the present invention;
图4为本发明实施例提供的一种多中心文件转发方法的流程示意图;4 is a schematic flowchart of a multi-center file forwarding method according to an embodiment of the present invention;
图5为本发明实施例提供的一种多中心文件转发方法的流程示意图;FIG. 5 is a schematic flowchart of a multi-center file forwarding method according to an embodiment of the present disclosure;
图6为本发明实施例提供的一种多中心文件转发装置的结构示意图;FIG. 6 is a schematic structural diagram of a multi-center file forwarding device according to 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;
图8为本申请实施例提供的一种电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式detailed description
为了使本发明所解决的技术问题、技术方案以及有效果更加清楚明白,以下结合说明书附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。并且在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings in the accompanying drawings. The invention is not intended to limit the invention. And in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
本发明提供的方法适用于存在要求区域中心内落地,但又与其他区域中 心联动的多中心清算文件处理,比如有海外本地交易落地需求的跨境银行卡清算系统。The method provided by the invention is suitable for landing in the center of the required area, but in other areas Multi-center clearing documents for heart-linking, such as cross-border bank card clearing systems with overseas local transactions.
本发明的发明人发现:为了加快新增区域交换子中心的建设,以及加快海外机构业务迁移的进程,需要为系统架构内的多中心和成员机构提供统一的功能接口,能够在不对成员机构、区域交换子中心以及区域交换父中心进行改造的基础上,使得在区域内发生的所有本地交易、跨区交易或者混合交易的交易文件都能准确的发给对应的区域交换子中心或者区域交换父中心,以及区域交换子中心或区域交换父中心下发的清算文件能够准确的转发给对应的成员机构(包括入网区域交换子中心的本地机构和海外机构)。在这样的应用需求下,本发明提供一种文件转发方法来适应该应用需求,能够实现多中心清算文件收发的统一封装,使得清算文件或者交易文件在成员机构、区域交换子中心以及区域交换父中心间流畅转发。The inventors of the present invention have found that in order to speed up the construction of new regional exchange sub-centers and accelerate the process of business migration of overseas institutions, it is necessary to provide a unified functional interface for multi-centers and member institutions within the system architecture, which can be Based on the transformation of the regional exchange sub-center and the regional exchange parent center, all transaction files of local transactions, trans-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 clearing documents issued by the center and 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 exchange area). Under such application requirements, the present invention provides a file forwarding method to adapt to the application requirements, and can realize unified encapsulation of multi-center clearing file sending and receiving, so that clearing files or transaction files are exchanged in member institutions, regional exchange sub-centers, and regional exchange parents. 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 function interfaces of the file transceiving are the same for the overseas institutions of the switching sub-center of the network access area or the local institutions within the area. For all regional exchange sub-centers, the functional interfaces for file transceiving are the same. For the area exchange parent center, the function interface for file transceiving does not change. For each regional exchange sub-center, there is no need to transform the original local clearing system for the business migration needs of the newly-incorporated overseas institutions. For the regional exchange parent center, the original cross-region clearing system does not need to be modified.
基于本发明的发明构思,如图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, and the method flow thereof mainly includes:
步骤201,接收待转发清算文件;Step 201: Receive a clearing file to be forwarded;
步骤202,获取待转发清算文件的发送方、接收方和文件属性;Step 202: Acquire a sender, a receiver, and a file attribute of the clearing file to be forwarded;
步骤203,在发送方为区域交换子中心时,确定文件属性是否为本地交易专属文件,若是,将待转发清算文件发送给接收方;在发送方为区域交换父中心时,确定文件属性是否为跨区交易专属文件,若是,将待转发清算文件发送给接收方。Step 203: When the sender is a regional exchange sub-center, determine whether the file attribute is a local transaction-specific file, and if yes, send the to-be-forwarded clearing file to the receiver; when the sender exchanges the parent center for the area, determine whether the file attribute is Trans-regional transaction-specific documents, if yes, send the pending clearing file to the recipient.
针对上述方法流程,对待转发清算文件的发送方和接收方作出以下说明: For the above method flow, the sender and receiver of the forwarding clearing file are described as follows:
根据多种交换业务场景,待转发清算文件的发送方可以为区域交换子中心,也可以是区域交换父中心。According to multiple switching service scenarios, the sender of the clearing file to be forwarded may be a regional switching sub-center or a regional switching parent center.
其中,区域交换子中心,是部署在的各个区域内的处理区域内交换业务的子中心。区域交换子中心只负责区域内交易的本地部分的清算,以及清算文件的下发。The regional exchange sub-center is a sub-center of the exchange service in the processing area in each area deployed. The regional exchange sub-center is only responsible for the liquidation of the local part of the intra-regional transactions and the issuance of clearing documents.
其中,区域交换父中心是主要负责协调、集中处理各区域交换子中心之间业务的总的交换业务处理中心。区域交换父中心只负责跨区交易的清算,以及清算文件的下发。The regional exchange parent center is a total exchange service processing center that is mainly responsible for coordinating and centrally processing the services between the exchange sub-centers of each area. The regional exchange parent center is only responsible for the liquidation of cross-regional transactions and the issuance of clearing documents.
区域交换子中心所在区域内的机构,包括区域内的本地机构和区域内的海外机构。The organization within the area where the regional exchange sub-center is located, including local institutions within the region and overseas institutions within the region.
根据多种交换业务场景,业务类型主要分为3种。如果一笔交易的交易双方都为区域内的本地机构,则该笔交易被称为本地交易(也称专属本地交易)。如果一笔交易的交易双方分别为区域内的本地机构和区域内的海外机构,则该笔交易被称为混合交易。如果一笔交易的交易双方都为海外机构,至少其中一方为区域内的海外机构,则该笔交易被称为跨区交易(也称专属跨区交易)。According to various exchange business scenarios, the service types are mainly divided into three types. If both parties to a transaction are local institutions within the region, the transaction is referred to as a local transaction (also known as an exclusive local transaction). If the transaction is a local institution within the region and an overseas institution within the region, the transaction is called a hybrid transaction. If both parties to a transaction are overseas and at least one of them is an overseas institution within the region, the transaction is referred to as a cross-regional transaction (also known as a proprietary cross-regional transaction).
对于区域内的海外机构来说,交易类型配置为两种,专属跨区交易和混合交易,海外机构在区域交换子中心的区域范围内可能发生跨区交易,也可能发生混合交易。For overseas institutions in the region, there are two types of transactions, exclusive cross-regional transactions and mixed transactions. Overseas institutions may have cross-regional transactions within the regional exchange sub-centers, and mixed transactions may occur.
对于区域内的本地机构来说,交易类型配置为两种,专属本地交易和混合交易,海外机构在区域交换子中心的区域范围内可能发生跨区交易,也可能发生混合交易。For local institutions in the region, the transaction type is configured into two types, exclusive local transactions and mixed transactions. Overseas institutions may have cross-regional transactions within the regional exchange sub-centers, and mixed transactions may occur.
对于区域交换子中心来说,区域内交易的本地部分是指本地交易和混合交易的本地部分,区域交换子中心的本地清算系统只处理区域内交易的本地部分的清算,即区域交换子中心与专属本地交易和混合交易的本地机构进行清算。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, and the local clearing system of the regional exchange sub-center only processes the clearing of the local part of the intra-regional transaction, ie the regional exchange sub-center and Local institutions that specialize in local transactions and mixed transactions are liquidated.
对于区域交换父中心来说,区域交换父中心的跨区清算系统只处理海外 机构的清算,即区域交换父中心与专属跨区交易和混合交易的海外机构进行清算。For the regional exchange parent center, the regional exchange parent center's cross-region clearing system only handles overseas The liquidation of an institution, that is, the regional exchange of the parent center and the overseas organization of exclusive cross-regional transactions and mixed transactions for liquidation.
因此,根据多种交换业务场景,待转发清算文件的接收方可以为区域内的本地机构,也可以是区域内的海外机构。Therefore, according to a plurality of exchange service scenarios, the recipient of the clearing file to be forwarded may be a local institution in the area or an overseas institution in the area.
如果待转发清算文件是区域交换子中心下发的,则待转发清算文件的接收方为区域内的本地机构或者区域内的海外机构。If the to-be-forwarded clearing file is issued by the regional exchange sub-center, the recipient of the clearing file to be forwarded is the local institution in the area or the overseas institution in the area.
如果待转发清算文件是区域交换父中心下发的,则待转发清算文件的接收方为区域内的海外机构。If the to-be-forwarded clearing file is issued by the regional exchange parent, the recipient of the clearing file to be forwarded is the overseas institution in the area.
为了保证待清算文件或者交易文件在区域交换父中心、区域交换子中心以及成员机构(区域内的本地机构和区域内的海外机构)之间流畅转发,本发明实施例提供一种多中心文件转发系统,可以分别和区域交换子中心、区域交换父中心以及区域内成员机构建立文件收发通道。In order to ensure that the to-be-cleared file or the transaction file is smoothly forwarded between the regional exchange parent center, the regional exchange sub-center, and the member institution (the local organization in the area and the overseas organization in the area), the embodiment of the present invention provides a multi-center file forwarding. The system can establish a file transceiver channel with the regional exchange sub-center, the regional exchange parent center, and the member institutions in the area.
对于区域交换父中心、区域交换子中心和成员机构来说,只需要重新配置文件收发的IP地址,即可与多中心文件转发系统建立文件收发通道。对于多中心文件转发系统,只需预先配置区域交换子中心、区域交换父中心以及区域内成员机构的IP地址,即可建立分别与区域交换子中心、区域交换父中心以及区域内成员机构的文件收发通道。For the area exchange parent center, the area exchange sub-center, and the member organizations, you only need to reconfigure the IP address sent and received by the file to establish a file transceiver channel with the multi-center file forwarding system. For a multi-center file forwarding system, you only need to pre-configure the regional exchange sub-center, the regional exchange parent center, and the IP addresses of the member organizations in the area to establish files for the regional exchange sub-center, the regional exchange parent center, and the member institutions in the area. Transceiver channel.
为了顺利向区域内的成员机构下发来自不同中心的清算文件,多中心文件转发系统,针对下发给成员机构的文件进行了文件属性的配置。In order to smoothly deliver the clearing documents from different centers to the member institutions in the area, the multi-center file forwarding system configures the file attributes for the files sent to the member institutions.
具体的,下发给成员机构的文件的文件属性预先配置为三种:本地交易专属清算文件、跨区交易专属清算文件、以及混合交易专属清算文件。其中,这三种文件通过文件名来区分。Specifically, the file attributes of the documents issued to the member institutions are pre-configured into three types: local transaction exclusive clearing documents, inter-regional transaction clearing files, and mixed transaction exclusive clearing files. Among them, these three files are distinguished by file names.
即本地交易专属清算文件的文件名预先配置为本地交易专属的清算文件文件名,跨区交易专属清算文件的文件名预先配置为跨区交易专属的清算文件文件名,混合交易专属清算文件的文件名预先配置为混合交易专属的清算文件文件名。这样文件转发系统根据接收到来自区域交换父中心或区域交换子中心下发的清算文件时,仅根据接收到的清算文件的文件名就可以确定下 发给成员机构的文件的文件名以及文件属性。That is, the file name of the local transaction exclusive clearing file is pre-configured as the clearing file name of the local transaction exclusive, and the file name of the exclusive clearing file of the cross-region transaction is pre-configured as the clearing file name of the exclusive transaction of the cross-region transaction, and the file of the exclusive clearing file of the mixed transaction. The name is pre-configured as the name of the clearing file file for the mixed transaction. In this way, when the file forwarding system receives the clearing file issued from the regional exchange parent center or the regional exchange sub-center, it can be determined only according to the file name of the received clearing file. The file name and file attributes of the file sent to the member institution.
例如,对于同一笔混合交易,区域交换父中心和区域交换子中心下发的清算文件的文件名均为:IFD******01ACOM。对于一笔本地交易,区域交换子中心下发的清算文件的文件名为TIFD******01ACOM。对于一笔跨区交易,区域交换父中心下发的清算文件的文件名为@@@@@@@@.tar.Z,一般来说,跨区交易专属的清算文件的文件名根据海外机构的跨区需求进行个性化定制。上述文件名仅为简单示例。For example, for the same mixed transaction, the file name of the clearing file issued by the regional exchange parent center and the regional exchange sub-center is: IFD******01ACOM. For a local transaction, the file name of the clearing 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 exclusive to the trans-regional transaction is based on the overseas institution. The cross-regional needs are personalized. The above file names are only simple examples.
可选的,为了避免业务冲突,区域交换子中心和区域交换父中心下发的文件的文件名,与多中心文件转发系统下发给成员机构的文件的文件名相同。为了避免文件替换,将接收到来自区域交换子中心和区域交换父中心的清算文件和下发给成员机构的清算文件分别存储在不同的目录下。Optionally, in order to avoid a service conflict, the file name of the file delivered by the area exchange sub-center and the area exchange parent center is the same as the file name of the file sent by the multi-center file forwarding system to the member institution. In order to avoid file replacement, the clearing files received from the regional exchange subcenter and the regional exchange parent center and the clearing files sent 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 a mixed transaction-specific clearing file, the to-be-forwarded clearing file is marked as a clearing file to be merged from the regional exchange sub-center; and whether the existence exists from the regional exchange sub-center and The clearing file to be merged with the same file name from the regional exchange parent center; if it exists, the found clearing files to be merged are merged, and the merged clearing file is sent to the receiving party.
在发送方为区域交换父中心时,若确定文件属性为混合交易专属清算文件,则将待转发清算文件标记为来自区域交换父中心的待合并清算文件。When the sender exchanges the parent center for the area, if it is determined that the file attribute is a mixed transaction exclusive clearing file, the pending clearing file is marked as the clearing file to be merged from the regional exchange parent center.
查找是否存在分别来自区域交换子中心和来自区域交换父中心的文件名相同的待合并清算文件;Finding whether there is a clearing file to be merged from the regional exchange subcenter and the file name from the regional exchange parent center respectively;
若存在,将查找到的待合并清算文件进行合并,并将合并后的清算文件发送给接收方。If it exists, the found clearing documents to be merged are merged, and the merged clearing file is sent to the receiving party.
为了避免业务冲突,在待转发清算文件合并前,接收到的区域交换子中心和区域交换父中心下发的清算文件的文件名,与多中心文件转发系统下发给成员机构的合并后的清算文件的文件名相同。为了避免文件替换,将待合并清算文件和合并后的清算文件分别存储在不同的目录下。 In order to avoid the business conflict, the file name of the clearing file sent by the received regional exchange sub-center and the regional exchange parent center before the merged clearing file is merged, and the merged clearing issued by the multi-center file forwarding system to the member institutions The file name of the file is the same. In order to avoid file replacement, the pending clearing file and the merged clearing file are stored in different directories.
下面结合图3所示的流程图说明多中心文件转发系统对区域交换子中心和区域交换父中心下发给区域内成员机构的清算文件的转发逻辑,具体如下:The following describes the forwarding logic of the clearing file sent by the multi-center file forwarding system to the regional switching sub-center and the regional switching parent center to the member institutions in the area, as follows:
步骤301:接收新的待转发清算文件,待转发清算文件中携带有发送方的标识信息,以及接收方的标识信息,如发送方的IP信息,接收方的IP信息。Step 301: Receive a new clearing file to be forwarded, where the forwarding clearing file carries the identifier information of the sender, and the identifier information of the receiver, such as the IP information of the sender, and the IP information of the receiver.
步骤302,根据发送方的标识信息,确定待转发清算文件的发送方为区域交换子中心还是区域交换父中心。Step 302: Determine, according to the identifier information of the sender, whether the sender of the clearing file to be forwarded is a regional exchange sub-center or a regional exchange parent center.
若待转发清算文件的发送方为区域交换子中心,执行步骤303,If the sender of the clearing file to be forwarded is a regional switching sub-center, go to step 303.
若待转发清算文件的发送方为区域交换父中心,执行步骤304;If the sender of the clearing file to be forwarded is the area exchange parent center, step 304 is performed;
步骤303,判断该待转发清算文件是否是区域内本地交易专属清算文件,Step 303: Determine whether the to-be-forwarded clearing file is a local transaction-specific clearing file.
若是区域内本地交易专属清算文件,执行步骤305,If it is a local transaction exclusive clearing file in the area, go to step 305.
若否,则是区域内混合交易专属清算文件,执行步骤306,If not, it is the intra-regional mixed transaction exclusive clearing file, and step 306 is performed.
步骤305,根据接收方的标识信息,将该待转发清算文件直接转发给接收方,此时,接收方为区域内的本地机构。Step 305: Forward the to-be-forwarded clearing file to the receiver directly according to the identifier information of the receiver. At this time, the receiver is a local institution in the area.
步骤306,将待转发清算文件的标记为来自区域交换子中心的待合并清算文件,并根据该待转发清算文件的文件名,循环逐一检查每个待合并清算文件的文件名,并进入步骤307,Step 306: Mark the to-be-forwarded clearing file as the clearing file to be merged from the regional exchange sub-center, and check the file name of each clearing file to be merged one by one according to the file name of the clearing file to be forwarded, and proceed to step 307. ,
步骤307,判断是否存在文件名相同,且来自区域交换父中心的待合并清算文件,若存在,转入步骤311,若不存在,返回步骤306,继续循环等待。In step 307, it is determined whether there is a clearing file to be merged from the regional exchange parent center, and if yes, go to step 311. If not, return to step 306 to continue the loop waiting.
步骤304,判断该待转发清算文件是否是跨区交易专属清算文件,Step 304: Determine whether the to-be-forwarded clearing file is a cross-regional transaction-specific clearing file.
若是区域内跨区交易专属清算文件,执行步骤308,If the intra-regional cross-region transaction exclusive clearing file is executed, step 308 is performed.
若否,则是区域内混合交易专属清算文件,执行步骤309,If not, it is the exclusive clearing file for the inter-regional mixed transaction, and step 309 is performed.
步骤308,根据接收方的标识信息,将该待转发清算文件直接转发给接收方,此时,接收方为区域内的海外机构。Step 308: Forward the to-be-forwarded clearing file to the receiver directly according to the identifier information of the receiver. At this time, the receiver is an overseas institution in the area.
步骤309,将待转发清算文件的标记为来自区域交换父中心的待合并清算文件,并根据该待转发清算文件的文件名,循环逐一检查每个待合并清算文件的文件名,并进入步骤310;Step 309: Mark the to-be-transferred clearing file as the clearing file to be merged from the regional exchange parent center, and check the file name of each clearing file to be merged one by one according to the file name of the clearing file to be forwarded, and proceed to step 310. ;
步骤310,判断是否存在文件名相同,且来自区域交换子中心的待合并清 算文件,若存在,转入步骤311,若不存在,返回步骤309,继续循环等待。Step 310: Determine whether there is a file name that is the same, and the to-be-consolidated from the regional exchange sub-center The calculation file, if yes, proceeds to step 311, and if not, returns to step 309 to continue the loop waiting.
步骤311,将文件名相同,且分别来自区域交换子中心的待合并清算文件和来自区域交换父中心的待合并清算文件进行合并,合并后的清算文件的文件名与合并前的文件名相同。然后转入步骤312;Step 311: Combine the to-be-consolidated clearing files from the regional exchange sub-center and the to-be-consolidated clearing files from the regional exchange parent center, and the file names of the merged clearing files are the same as the file names before the merge. Then proceeds to step 312;
步骤312,根据接收方的标识信息,将合并后的清算文件转发给接收方,此时,接收方为区域内的本地机构或海外机构。Step 312: Forward the merged clearing file to the receiver according to the identifier information of the receiver. At this time, the receiver is a local institution or an overseas institution in the area.
根据上述方法流程可知,本发明的多中心文件转发系统可以顺畅的将来自区域交换父中心或者区域交换子中心下发的文件准确的转发给区域内的成员机构。According to the above method flow, the multi-center file forwarding system of the present invention can smoothly forward the documents delivered from the regional exchange parent center or the regional exchange sub-center to the member institutions in the area.
除了负责清算文件的下发,多中心文件转发系统还能够基于与区域交换子中心、区域交换父中心、成员机构的文件收发通道向区域交换父中心和区域交换子中心上传成员机构的交易文件。In addition to being responsible for the issuance of the clearing file, the multi-center file forwarding system can also upload the transaction files of the member institutions to the regional exchange parent center and the regional exchange sub-center based on the file exchange channel with the regional exchange sub-center, the regional exchange parent center, and the member institution.
一般来讲成员机构上传的文件均为本地交易和跨区交易混合的文件,以避免机构难以甚至无法区分交易为本地交易还是跨区交易问题。In general, the documents uploaded by member institutions are mixed documents of local transactions and cross-regional transactions, so as to avoid the difficulty or even the inability of the organization to distinguish whether the transactions are local transactions or cross-regional transactions.
多中心文件转发系统向区域交换父中心和区域交换子中心上传成员机构的交易文件,如图4所示,包括:The multi-center file forwarding system uploads the transaction files of the member institutions to the regional exchange parent center and the regional exchange sub-center, as shown in FIG. 4, including:
步骤401,接收包括多条交易记录的待转发交易文件;Step 401: Receive a transaction file to be forwarded that includes multiple transaction records.
步骤402,获取及每条交易记录中记录的银行卡标识;Step 402: Obtain a bank card identifier recorded in each transaction record;
步骤403,根据多条交易记录分别记录的银行卡标识,将待转发交易文件拆分为本地交易文件和跨区交易文件;Step 403: split the transaction file to be forwarded into a local transaction file and a cross-region transaction file according to the bank card identifier respectively recorded by the plurality of transaction records;
步骤404,将本地交易文件发送给区域交换子中心,将跨区交易文件发送给区域交换父中心。In step 404, the local transaction file is sent to the regional exchange sub-center, and the cross-region transaction file is sent to the regional exchange parent center.
其中,步骤403具体包括:针对任意一条交易记录,查找本地银行卡标识数据库中是否存在该条交易记录的银行卡标识;若存在,将该条交易记录写入本地交易文件中;若不存在,将该条交易记录写入跨区交易文件中。The step 403 specifically includes: searching for a bank card identifier of the transaction record in the local bank card identification database for any one transaction record; if present, writing the transaction record to the local transaction file; if not, Write the transaction record to the cross-region transaction file.
其中,交易记录中记录的银行卡标识为交易双方中为发卡机构的银行卡卡BIN。通常卡BIN为一个银行卡号的前6位,为来区分不同的银行卡。对 于区域内的本地机构,在入网区域交换子中心时,如果本地机构为发卡机构,则其银行卡的卡BIN会在区域子中心进行注册,发卡机构的卡BIN会存储在区域交换子中心的本地银行卡标识数据库中,而本发明的多中心文件转发系统设置在区域交换子中心的主系统下,可以随时调用区域交换子中心的本地银行卡标识数据库中的卡BIN数据,进而进行交易文件的拆分。The bank card identifier recorded in the transaction record is the bank card BIN of the card issuer in the transaction. Usually the card BIN is the first 6 digits of a bank card number to distinguish different bank cards. Correct For the local institution in the area, when the sub-center is exchanged in the network access area, if the local institution is the card issuer, the card BIN of the 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. 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, and can call the card BIN data in the local bank card identification database of the regional exchange sub-center at any time, and then execute the transaction file. Split.
为了避免业务冲突,在待转发交易文件拆分前,接收到的成员机构发送的文件名,与多中心文件转发系统发送区域交换子中心和区域交换父中心的交易文件的文件名相同,即拆分前的待转发交易文件的文件名和拆分后的本地交易文件、跨区交易文件的文件名相同。为了避免文件替换,将拆分前的待转发交易文件和拆分后的本地交易文件、跨区交易文件分别存储在不同的目录下。In order to avoid business conflicts, before the transaction file to be forwarded is split, the file name sent by the member institution received is the same as the file name of the transaction file sent by the multi-center file forwarding system to the regional exchange sub-center and the regional exchange parent center. The file name of the previously forwarded transaction file is the same as the file name of the split local transaction file and the interregional transaction file. In order to avoid file replacement, the transaction file to be forwarded before splitting and the split local transaction file and cross-region transaction file are stored in different directories.
下面结合图5所示的流程图说明多中心文件转发系统对本地机构上传给区域交换子中心或区域交换父中心的交易文件的转发逻辑,具体如下:The following describes the forwarding logic of the transaction file uploaded by the multi-center file forwarding system to the regional switching sub-center or the regional switching parent center in conjunction with the flowchart shown in FIG. 5, as follows:
步骤501,接收待转发的交易文件,待转发的交易文件包括多条交易记录,交易记录中的交易可以是本地交易、跨区交易、混合交易中的任意两种或者三种。待转发的交易文件中携带有发送方的标识信息,如发送方的IP信息,其中,此处的发送方为区域内的本地机构或者海外机构。Step 501: Receive a transaction file to be forwarded, and the transaction file to be forwarded includes a plurality of transaction records, and the transaction in the transaction record may be any two or three of a local transaction, a cross-region transaction, and a mixed transaction. The transaction file to be forwarded carries the identification information of the sender, such as the IP information of the sender, wherein the sender here is a local institution or an overseas institution in the area.
步骤502,逐条分析上传的交易文件的每个交易记录,分别拆分到不同文件中,每次拆分后执行步骤503,其中,分析每条交易记录时,执行步骤504; Step 502, analyzing each transaction record of the uploaded transaction file one by one, split into different files, each step is performed after step 503, wherein each transaction record is analyzed, step 504 is performed;
步骤504,获取每条交易记录中的卡BIN,判断区域交换子中心中是否存在该记录对应的卡BIN;Step 504: Acquire a card BIN in each transaction record, and determine whether a card BIN corresponding to the record exists in the area exchange sub-center;
若区域交换子中心中存在该记录对应的卡BIN,则执行步骤505,若区域交换子中心中不存在该记录对应的卡BIN,则执行步骤506;If the card BIN corresponding to the record exists in the area exchange sub-center, step 505 is performed, if the card BIN corresponding to the record does not exist in the area exchange sub-center, step 506 is performed;
步骤505,将该条记录写入本地交易文件,并转入步骤502; Step 505, the record is written into the local transaction file, and proceeds to step 502;
步骤506,将该条记录写入跨区域交易文件,并转入步骤502; Step 506, the record is written into the cross-region transaction file, and proceeds to step 502;
步骤503,判断是否完成所有交易记录的分析和拆分,若是,执行步骤507,若否,转入步骤504。 In step 503, it is determined whether the analysis and splitting of all the transaction records are completed. If yes, step 507 is performed, and if no, the process proceeds to step 504.
步骤507:将拆分出的本地交易文件发送给区域交换子中心,将拆出的跨区域交易文件发送给区域交换父中心。Step 507: Send the split local transaction file to the regional exchange sub-center, and send the disconnected cross-region 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 forward the uploaded files from the member institutions in the area to the regional exchange parent center or the regional exchange sub-center.
通过上述方法流程,在不对成员机构、区域交换子中心和区域交换父中心进行改造的情况下,可以为系统架构内的多中心和成员机构提供统一的功能接口,能够实现多中心清算文件收发的统一封装,使得在区域内发生的所有交易文件都能准确的发给对应的区域交换子中心或区域交换父中心,使得区域交换子中心或区域交换父中心下发的清算文件能够顺畅的转发给对应的成员机构(包括入网区域交换子中心的本地机构和海外机构),进而加快新增区域交换子中心的建设,以及加快海外机构业务迁移的进程。Through the above method flow, without modifying the member institution, the regional exchange sub-center, and the regional exchange parent center, a unified functional interface can be provided for the multi-center and member institutions in the system architecture, and the multi-center clearing file can be transmitted and received. Uniform encapsulation, so that all transaction files generated in the area can be accurately sent to the corresponding regional exchange sub-center or regional exchange parent center, so that the clearing documents 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 exchange area sub-centers), thereby accelerating the construction of new regional exchange sub-centers and accelerating the process of business migration of overseas institutions.
基于上述方法流程,本发明实施例提供了一种多中心文件转发装置,应用在本发明提供的多中心文件转发系统中。Based on the foregoing method flow, the embodiment of the present invention provides a multi-center file forwarding device, 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 device 600, including:
接收单元601,用于接收待转发清算文件;The receiving unit 601 is configured to receive a clearing file to be forwarded;
处理单元602,用于获取待转发清算文件的发送方、接收方和文件属性;The processing unit 602 is configured to obtain a sender, a receiver, and a file attribute of the clearing file to be forwarded;
在发送方为区域交换子中心时,确定文件属性是否为本地交易专属清算文件,若是,通过发送单元603将待转发清算文件发送给接收方;When the sender is a regional exchange sub-center, it is determined whether the file attribute is a local transaction-specific clearing file, and if so, the clearing file to be forwarded is sent to the receiving party by the sending unit 603;
在发送方为区域交换父中心时,确定文件属性是否为跨区交易专属清算文件,若是,通过发送单元603将待转发清算文件发送给接收方。When the sender exchanges the parent center for the area, it is determined whether the file attribute is a cross-region transaction-specific clearing file, and if so, the clearing file to be forwarded is sent to the receiving party by the sending unit 603.
可选的,文件属性预先配置为本地交易专属清算文件,跨区交易专属清算文件和混合交易专属清算文件;Optionally, the file attributes are pre-configured as a local transaction-specific clearing file, a cross-regional transaction-specific clearing file, and a mixed-transaction-specific clearing file;
处理单元602用于:获取待转发清算文件的文件名,根据文件名,确定文件属性;The processing unit 602 is configured to: obtain a file name of the clearing file to be forwarded, and determine a file attribute according to the file name;
其中,文件名预先配置为本地交易专属的清算文件文件名,跨区交易专属的清算文件文件名和混合交易专属的清算文件文件名,混合交易是指交易 的双方分别为本地机构和海外机构的交易。Among them, the file name is pre-configured as the name of the clearing file file exclusive to the local transaction, the name of the clearing file file exclusive to the cross-region transaction and the file name of the clearing file exclusive to the mixed transaction, and the mixed transaction means the transaction The two parties are the transactions of local institutions and overseas institutions.
可选的,处理单元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 a mixed transaction-specific clearing file, the to-be-forwarded clearing file is marked as a clearing file to be merged from the regional exchange sub-center; or
在发送方为区域交换父中心时,若确定文件属性为混合交易专属清算文件,则将待转发清算文件标记为来自区域交换父中心的待合并清算文件。When the sender exchanges the parent center for the area, if it is determined that the file attribute is a mixed transaction exclusive clearing file, the pending clearing file is marked as the clearing file to be merged from the regional exchange parent center.
进一步的,处理单元在将待转发清算文件标记为来自区域交换子中心的待合并清算文件,或者将待转发清算文件标记为来自区域交换父中心的待合并清算文件之后,还用于:Further, the processing unit, after marking the to-be-forwarded clearing file as the clearing file to be merged from the regional exchange sub-center, or marking the to-be-forwarded clearing file as the clearing file to be merged from the regional exchange parent center, is further used for:
查找是否存在分别来自区域交换子中心和来自区域交换父中心的文件名相同的待合并清算文件;Finding whether there is a clearing file to be merged from the regional exchange subcenter and the file name from the regional exchange parent center respectively;
若存在,将查找到的待合并清算文件进行合并,并通过发送单元603将合并后的清算文件发送给接收方。If yes, the found clearing files to be merged are merged, and the merged clearing file is sent to the receiving party by the sending unit 603.
可选的,接收单元601,还用于接收包括多条交易记录的待转发交易文件;Optionally, the receiving unit 601 is further configured to receive a to-be-forwarded transaction file that includes multiple transaction records;
处理单元602,还用于获取及每条交易记录中记录的银行卡标识;根据多条交易记录分别记录的银行卡标识,将待转发交易文件拆分为本地交易文件和跨区交易文件;并通过发送单元将本地交易文件发送给区域交换子中心,通过发送单元603将跨区交易文件发送给区域交换父中心。The processing unit 602 is further configured to obtain the bank card identifier recorded in each transaction record; and divide the transaction file to be forwarded into a local transaction file and a cross-region transaction file according to the bank card identifier respectively recorded by the plurality of transaction records; The local transaction file is transmitted to the regional exchange sub-center through the transmitting unit, and the inter-regional transaction file is transmitted to the regional exchange parent center through the transmitting unit 603.
进一步的,处理单元602具体用于:Further, the processing unit 602 is specifically configured to:
针对任意一条交易记录,查找本地银行卡标识数据库中是否存在该条交易记录的银行卡标识;For any transaction record, find the bank card identifier of the transaction record in the local bank card identification database;
若存在,将该条交易记录写入本地交易文件中;若不存在,将该条交易记录写入跨区交易文件中。If it exists, the transaction record is written into the local transaction file; if it does not exist, the transaction record is written into the cross-region transaction file.
通过上述多中心文件转发装置600,在不对成员机构、区域交换子中心和区域交换父中心进行改造的情况下,可以为系统架构内的多中心和成员机构提供统一的功能接口,能够实现多中心清算文件收发的统一封装,使得在区 域内发生的所有交易文件都能准确的发给对应的区域交换子中心或区域交换父中心,使得区域交换子中心或区域交换父中心下发的清算文件能够顺畅的转发给对应的成员机构(包括入网区域交换子中心的本地机构和海外机构),进而加快新增区域交换子中心的建设,以及加快海外机构业务迁移的进程。The multi-center file forwarding device 600 can provide a unified functional interface for multi-center and member organizations in the system architecture without modifying the member institution, the regional exchange sub-center, and the regional exchange parent center, and can implement multi-center Uniform encapsulation of clearing and receiving documents, making it in the district All the transaction files that are generated in the domain can be accurately sent to the corresponding regional exchange sub-center or the regional exchange parent center, so that the clearing documents issued by the regional exchange sub-center or the regional exchange parent can be smoothly forwarded to the corresponding member institutions (including The local institutions and overseas institutions of the sub-network exchange sub-centers will accelerate the construction of new regional exchange sub-centers and accelerate the process of business relocation of overseas institutions.
基于上述多中心文件转发装置,本发明实施例提供一种可选的多中心文件转发系统,设置在图1所示的多中心银行卡交换系统架构的每个区域交换子中心的系统下,如图7所示,主要包括文件接收功能模块、文件拆分功能模块、文件合并功能模块及文件发送功能模块。其中,文件接收功能模块相当于上述实施例中的接收单元601,文件拆分功能模块和文件合并功能模块相当于上述实施例中的处理单元602,文件发送功能模块相当于上述实施例中的发送单元603。多中心文件转发系统中的这四个功能模块的功能如下:Based on the foregoing multi-center file forwarding device, an embodiment of the present invention provides an optional multi-center file forwarding system, which is disposed under the system of each regional switching sub-center of the multi-center bank card switching 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 combining function module, and a file sending function module. The file receiving function module is equivalent to the receiving unit 601 in the above embodiment, and the file splitting function module and the file combining function module are equivalent to the processing unit 602 in the above embodiment, and the file sending function module is equivalent to the sending in the above embodiment. Unit 603. The functions of these four functional modules in the multi-center file forwarding system are as follows:
文件接收功能模块,主要负责接收来自区域交换子中心或区域交换父中心以及本地成员机构的文件发送请求。并根据文件发送方及文件属性判断,若文件来自本地机构,则该文件交由文件拆分模块处理;若文件来自区域交换子中心或区域交换父中心,并且该文件是区域内的混合交易清算文件,则该文件交由文件合并模块处理,否则直接交由文件发送模块转发。The file receiving function module is mainly responsible for receiving a file sending request from a regional exchange sub-center or a regional exchange parent center and a local member institution. According to the file sender and file attributes, if the file comes from the local organization, the file is processed by the file splitting module; 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 area If the file is filed, the file is processed by the file merge module, otherwise it is directly forwarded by the file sending module.
文件拆分功能模块,主要针对来自本地机构的文件进行拆分处理,并将拆分后的本地交易文件和跨区域交易文件交由文件发送模块分别转发给区域交换子中心和区域交换父中心。The file split function module mainly splits the files from the local organization, and transfers the split local transaction files and the cross-region transaction files to the file exchange module and the regional exchange parent center respectively.
文件合并功能模块,主要针对来自区域交换子中心或区域交换父中心的混合清算文件进行合并,并将合并后的混合清算文件交由文件发送模块转发给区域内的成员机构,包括区域内的本地机构和区域内的海外机构。The file merging function module mainly combines the mixed clearing files from the regional exchange sub-center or the regional exchange parent center, and forwards the merged mixed clearing file to the member sending organization in the area, including the local area in the area. Institutions and overseas institutions within the region.
文件发送模块,主要根据来自文件接收功能模块、文件拆分功能模块、文件合并功能模块的文件转发请求,将文件直接发送给域交换子中心或区域交换父中心以及区域内的成员机构。The file sending module sends the file directly to the domain switching sub-center or the regional switching parent center and the member institutions in the area according to the file forwarding request from the file receiving function module, the file splitting function module, and the file combining function module.
通过上述多中心文件转发系统,在不对成员机构、区域交换子中心和区域交换父中心进行改造的情况下,可以为系统架构内的多中心和成员机构提 供统一的功能接口,能够实现多中心清算文件收发的统一封装,使得在区域内发生的所有交易文件都能准确的发给对应的区域交换子中心或区域交换父中心,使得区域交换子中心或区域交换父中心下发的清算文件能够顺畅的转发给对应的成员机构(包括入网区域交换子中心的本地机构和海外机构),进而加快新增区域交换子中心的建设,以及加快海外机构业务迁移的进程。Through the multi-center file forwarding system described above, the multi-center and member institutions within the system architecture can be proposed without modifying the member institutions, the regional exchange sub-centers, and the regional exchange parent center. A unified functional interface can realize unified encapsulation of multi-center clearing file transmission and reception, so that all transaction files occurring in the area can be accurately sent to the corresponding regional exchange sub-center or regional exchange parent center, so that the regional exchange sub-center or The clearing documents issued by the regional exchange parent center can be smoothly forwarded to the corresponding member institutions (including the local institutions and overseas institutions of the network exchange sub-center), thereby accelerating the construction of new regional exchange sub-centers and accelerating the overseas business migration. Process.
本申请实施例还提供一种电子设备,如图8所示,包括:至少一个处理器810;收发器800;以及与至少一个处理器810通信连接的存储器820;The embodiment of the present application further provides an electronic device, as shown in FIG. 8, comprising: at least one processor 810; a transceiver 800; and a memory 820 communicatively coupled to the at least one processor 810;
一个或多个处理器810以及存储器820,图3中以一个处理器810为例。One or more processors 810 and memory 820, one processor 810 is taken as an example in FIG.
电子设备的界面显示方法的电子设备还可以包括:收发器800,输入装置830和输出装置840。The electronic device of the interface display method of the electronic device may further include: a transceiver 800, an input device 830, and an output device 840.
收发器800、处理器810、存储器820、输入装置830和输出装置840可以通过总线或者其他方式连接,图3中以通过总线连接为例。The transceiver 800, the processor 810, the memory 820, the input device 830, and the output device 840 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
存储器820作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施方式中提供的多中心文件转发处理方法对应的程序指令/模块(例如,附图6所示的接收单元601,处理单元602,发送单元603)。处理器810通过运行存储在存储器820中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述实施方式中的多中心文件转发处理方法。The memory 820 is a non-volatile computer readable storage medium, and can be used for storing non-volatile software programs, non-volatile computer executable programs, and modules, such as the multi-center file forwarding processing method provided in the embodiments of the present application. Corresponding program instructions/modules (for example, receiving unit 601, processing unit 602, transmitting unit 603 shown in FIG. 6). The processor 810 executes various functional applications and data processing of the server by executing non-volatile software programs, instructions, and modules stored in the memory 820, that is, implementing the multi-center file forwarding processing method in the above embodiment.
存储器820可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据多中心文件转发处理装置的使用所创建的数据等。此外,存储器820可以包括高速随机存取存储器820,还可以包括非易失性存储器820,例如至少一个磁盘存储器820件、闪存器件、或其他非易失性固态存储器820件。在一些实施例中,存储器820可选包括相对于处理器810远程设置的存储器820,这些远程存储器820可以通过网络连接至多中心文件转发处理方法的处理装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。 The memory 820 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the multi-center file forwarding processing device, and the like. . Moreover, memory 820 can include high speed random access memory 820, and can also include non-volatile memory 820, such as at least one disk storage 820 device, flash memory device, or other non-volatile solid state memory 820 device. In some embodiments, memory 820 can optionally include memory 820 remotely disposed relative to processor 810, which can be coupled to the processing device of the multi-center file forwarding processing method over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置830可接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。输出装置840可包括显示屏等显示设备。 Input device 830 can receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic device. The output device 840 can include a display device such as a display screen.
一个或者多个模块存储在存储器820中,当被一个或者多个处理器810执行时,执行上述任意方法实施方式中提供的多中心文件转发处理方法。One or more modules are stored in memory 820, and when executed by one or more processors 810, perform the multi-center file forwarding processing method provided in any of the method embodiments described above.
具体而言,所述收发器800,用于接收待转发清算文件;处理器810能够:获取所述待转发清算文件的发送方、接收方和文件属性;在所述发送方为区域交换子中心时,确定所述文件属性是否为本地交易专属清算文件,若是,通过发送单元将所述待转发清算文件发送给所述接收方;在所述发送方为区域交换父中心时,确定所述文件属性是否为跨区交易专属清算文件,若是,通过发送单元将所述待转发清算文件发送给所述接收方。Specifically, the transceiver 800 is configured to receive a clearing file to be forwarded; the processor 810 is configured to: obtain a sender, a receiver, and a file attribute of the clearing file to be forwarded; Determining whether the file attribute is a local transaction-specific clearing file, if yes, sending the to-be-forwarded clearing file to the receiving party by the sending unit; determining the file when the sending party is a regional exchange parent center Whether the attribute is a cross-region transaction-specific clearing file, and if so, the clearing file to be forwarded is sent to the receiving party by the sending unit.
可选的,所述文件属性预先配置为本地交易专属清算文件,跨区交易专属清算文件和混合交易专属清算文件;所述处理器810能够:获取所述待转发清算文件的文件名,根据所述文件名,确定所述文件属性;其中,所述文件名预先配置为本地交易专属的清算文件文件名,跨区交易专属的清算文件文件名和混合交易专属的清算文件文件名,所述混合交易是指交易的双方分别为本地机构和海外机构的交易。Optionally, the file attribute is pre-configured as a local transaction-specific clearing file, a cross-region transaction-specific clearing file, and a mixed-transaction-specific clearing file; the processor 810 can: obtain the file name of the clearing file to be forwarded, according to the Defining the file attribute, wherein the file name is pre-configured as a clearing file name unique to the local transaction, a clearing file name of the exclusive transaction of the cross-region transaction, and a clearing file name of the mixed transaction exclusive, the mixed transaction It means that the two sides of the transaction are transactions between local institutions and overseas institutions.
可选的,所述处理器810还能够:在所述发送方为区域交换子中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换子中心的待合并清算文件;或者,在所述发送方为区域交换父中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件。Optionally, the processor 810 is further configured to: when the sender is a regional exchange sub-center, if the file attribute is determined to be a hybrid transaction-specific clearing file, mark the to-be-forwarded clearing file as being from a regional exchange The clearing file to be merged in the subcenter; or, when the sender is the regional exchange parent center, if it is determined that the file attribute is a mixed transaction exclusive clearing file, the clearing file to be forwarded is marked as being from the regional exchange parent center The pending clearing documents.
可选的,所述处理器810还能够:在将所述待转发清算文件标记为来自区域交换子中心的待合并清算文件,或者将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件之后,查找是否存在分别来自区域交换子中心和来自区域交换父中心的文件名相同的待合并清算文件;若存在,将查找到的待合并清算文件进行合并,并通过所述发送单元将合并后的清算文件发 送给所述接收方。Optionally, the processor 810 is further configured to: mark the to-be-forwarded clearing file as a clearing file to be merged from the regional exchange sub-center, or mark the to-be-forwarded clearing file as a candidate from the regional exchange parent center After the clearing file is merged, it is found whether there are clearing files to be merged from the regional exchange sub-center and the file name from the regional exchange parent center respectively; if yes, the found clearing files to be merged are merged and passed through the sending unit The merged clearing file will be sent Send to the recipient.
可选的,所述收发器800,还用于接收包括多条交易记录的待转发交易文件;所述处理器还能够:获取及每条交易记录中记录的银行卡标识;根据所述多条交易记录分别记录的银行卡标识,将所述待转发交易文件拆分为本地交易文件和跨区交易文件;并通过所述发送单元将所述本地交易文件发送给区域交换子中心,通过所述发送单元将所述跨区交易文件发送给区域交换父中心。Optionally, the transceiver 800 is further configured to receive a transaction file to be forwarded that includes multiple transaction records; the processor is further configured to: obtain and identify a bank card identifier recorded in each transaction record; Transmitting, by the sending unit, the local transaction file to the regional exchange sub-center, The sending unit sends the cross-region transaction file to the regional exchange parent center.
可选的,所述处理器810能够:针对任意一条交易记录,查找本地银行卡标识数据库中是否存在该条交易记录的银行卡标识;若存在,将该条交易记录写入所述本地交易文件中;若不存在,将该条交易记录写入所述跨区交易文件中。Optionally, the processor 810 is configured to: find, for any one transaction record, whether a bank card identifier of the transaction record exists in the local bank card identification database; if yes, write the transaction record to the local transaction file. If there is no such, the transaction record is written into the cross-region transaction file.
本申请实施例的电子设备以多种形式存在,包括但不限于:The electronic device of the embodiment of the present application exists in various forms, including but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
(4)其他具有数据交互功能的电子装置。(4) Other electronic devices with data interaction functions.
通过上述多中心文件转发系统,在不对成员机构、区域交换子中心和区域交换父中心进行改造的情况下,可以为系统架构内的多中心和成员机构提供统一的功能接口,能够实现多中心清算文件收发的统一封装,使得在区域内发生的所有交易文件都能准确的发给对应的区域交换子中心或区域交换父中心,使得区域交换子中心或区域交换父中心下发的清算文件能够顺畅的转 发给对应的成员机构(包括入网区域交换子中心的本地机构和海外机构),进而加快新增区域交换子中心的建设,以及加快海外机构业务迁移的进程。Through the above-mentioned multi-center file forwarding system, without modifying the member institutions, the regional exchange sub-centers, and the regional exchange parent center, a unified functional interface can be provided for the multi-center and member institutions in the system architecture, and multi-center clearing can be realized. The uniform encapsulation of the file is 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 the regional exchange parent center can be smoothed. Turn It is sent to the corresponding member institutions (including the local institutions and overseas institutions of the network exchange sub-center), thereby accelerating the construction of new regional exchange sub-centers and accelerating the process of business migration of overseas institutions.
基于相同的发明构思,本申请提供一种非易失性计算机存储介质,所述非暂态计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使所述计算机执行上述任一实施方式中的多中心文件转发处理方法。Based on the same inventive concept, the present application provides a non-transitory computer storage medium storing computer-executable instructions for causing the computer to perform the above A multi-center file forwarding processing method in any of the embodiments.
基于相同的发明构思,本申请提供一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括所述计算机可执行指令,当所述计算机可执行指令被计算机执行时,使所述计算机执行上述任一实施方式中的多中心文件转发处理方法。Based on the same inventive concept, the present application provides a computer program product comprising a computing program stored on a non-transitory computer readable storage medium, the computer program comprising the computer executable instructions When the computer executable instructions are executed by a computer, the computer is caused to perform the multi-center file forwarding processing method of any of the above embodiments.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机装置(可以是个人计算机,服务器,或者网络装置等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the various embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on such understanding, the above-described technical solutions may be embodied in the form of software products in essence or in the form of software products, which may be stored in a computer readable storage medium such as ROM/RAM, magnetic Discs, discs, etc., include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。 Finally, it should be noted that the above embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced by the equivalents. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种多中心文件转发处理方法,应用于电子设备,其特征在于,包括:A multi-center file forwarding processing method is applied to an electronic device, and includes:
    接收待转发清算文件;Receiving a clearing file to be forwarded;
    获取所述待转发清算文件的发送方、接收方和文件属性;Obtaining a sender, a receiver, and a file attribute of the to-be-forwarded clearing file;
    在所述发送方为区域交换子中心时,确定所述文件属性是否为本地交易专属清算文件,若是,将所述待转发清算文件发送给所述接收方;When the sender is a regional exchange sub-center, determining whether the file attribute is a local transaction-specific clearing file, and if yes, sending the to-be-forwarded clearing file to the receiving party;
    在所述发送方为区域交换父中心时,确定所述文件属性是否为跨区交易专属清算文件,若是,将所述待转发清算文件发送给所述接收方。When the sender exchanges the parent center for the area, it is determined whether the file attribute is a cross-region transaction-specific clearing file, and if yes, the to-be-forwarded clearing file is sent to the receiving party.
  2. 如权利要求1所述的方法,其特征在于,所述文件属性预先配置为本地交易专属清算文件,跨区交易专属清算文件和混合交易专属清算文件;The method of claim 1 wherein said file attributes are pre-configured as local transaction-specific clearing documents, trans-regional transactional clearing documents and hybrid transaction-specific clearing documents;
    获取所述待转发清算文件的文件属性,包括:Obtaining the file attributes of the to-be-forwarded clearing file, including:
    获取所述待转发清算文件的文件名;Obtaining a file name of the clearing file to be forwarded;
    根据所述文件名,确定所述文件属性,其中,所述文件名预先配置为本地交易专属的清算文件文件名,跨区交易专属的清算文件文件名和混合交易专属的清算文件文件名,所述混合交易是指交易的双方分别为本地机构和海外机构的交易。Determining, according to the file name, the file attribute, wherein the file name is pre-configured as a clearing file name unique to a local transaction, a clearing file name of a cross-region transaction exclusive, and a clearing file name unique to the mixed transaction, A mixed transaction is a transaction between a local agency and an overseas institution.
  3. 如权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, wherein the method further comprises:
    在所述发送方为区域交换子中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换子中心的待合并清算文件;或者,When the sender is a regional exchange sub-center, if it is determined that the file attribute is a mixed transaction-specific clearing file, the to-be-forwarded clearing file is marked as a clearing file to be merged from the regional exchange sub-center; or
    在所述发送方为区域交换父中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件。When the sender is a regional exchange parent center, if it is determined that the file attribute is a mixed transaction exclusive clearing file, the to-be-forwarded clearing file is marked as a clearing file to be merged from the regional exchange parent center.
  4. 如权利要求3所述的方法,其特征在于,在将所述待转发清算文件标记为来自区域交换子中心的待合并清算文件,或者将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件之后,所述方法还包括: The method according to claim 3, wherein the clearing file to be forwarded is marked as a clearing file to be merged from the regional exchange subcenter, or the clearing file to be forwarded is marked as being from a regional exchange parent center After the liquidation file is to be merged, the method further includes:
    查找是否存在分别来自区域交换子中心和来自区域交换父中心的文件名相同的待合并清算文件;Finding whether there is a clearing file to be merged from the regional exchange subcenter and the file name from the regional exchange parent center respectively;
    若存在,将查找到的待合并清算文件进行合并,并将合并后的清算文件发送给所述接收方。If yes, the found clearing files to be merged are merged, and the merged clearing file is sent to the receiving party.
  5. 如权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:The method of any of claims 1 to 4, further comprising:
    接收包括多条交易记录的待转发交易文件;Receiving a transaction file to be forwarded including a plurality of transaction records;
    获取及每条交易记录中记录的银行卡标识;Obtain and identify the bank card ID recorded in each transaction record;
    根据所述多条交易记录分别记录的银行卡标识,将所述待转发交易文件拆分为本地交易文件和跨区交易文件;并Separating the to-be-forwarded transaction file into a local transaction file and a cross-region transaction file according to the bank card identifier respectively recorded by the plurality of transaction records;
    将所述本地交易文件发送给区域交换子中心,将所述跨区交易文件发送给区域交换父中心。Sending the local transaction file to the regional exchange sub-center, and transmitting the cross-region transaction file to the regional exchange parent center.
  6. 如权利要求5所述的方法,其特征在于,根据所述多条交易记录分别记录的银行卡标识,将所述待转发交易文件拆分为本地交易文件和跨区交易文件,包括:The method of claim 5, wherein the transaction file to be forwarded is split into a local transaction file and a cross-region transaction file according to the bank card identifier respectively recorded by the plurality of transaction records, including:
    针对任意一条交易记录,查找本地银行卡标识数据库中是否存在该条交易记录的银行卡标识;For any transaction record, find the bank card identifier of the transaction record in the local bank card identification database;
    若存在,将该条交易记录写入所述本地交易文件中;若不存在,将该条交易记录写入所述跨区交易文件中。If present, the transaction record is written to the local transaction file; if not, the transaction record is written to the inter-regional transaction file.
  7. 一种多中心文件转发处理装置,其特征在于,包括:A multi-center file forwarding processing device, comprising:
    接收单元,用于接收待转发清算文件;a receiving unit, configured to receive a clearing file to be forwarded;
    处理单元,用于获取所述待转发清算文件的发送方、接收方和文件属性;a processing unit, configured to acquire a sender, a receiver, and a file attribute of the to-be-forwarded clearing file;
    在所述发送方为区域交换子中心时,确定所述文件属性是否为本地交易专属清算文件,若是,通过发送单元将所述待转发清算文件发送给所述接收方;When the sender is a regional exchange sub-center, determining whether the file attribute is a local transaction-specific clearing file, and if yes, sending, by the sending unit, the to-be-forwarded clearing file to the receiving party;
    在所述发送方为区域交换父中心时,确定所述文件属性是否为跨区交易专属清算文件,若是,通过发送单元将所述待转发清算文件发送给所述接收 方。Determining, when the sender is a regional exchange parent center, whether the file attribute is a cross-region transaction-specific clearing file, and if yes, sending, by the sending unit, the to-be-forwarded clearing file to the receiving square.
  8. 如权利要求7所述的装置,其特征在于,所述文件属性预先配置为本地交易专属清算文件,跨区交易专属清算文件和混合交易专属清算文件;The apparatus according to claim 7, wherein said file attribute is preconfigured as a local transaction exclusive clearing file, a cross-region transaction exclusive clearing file and a mixed transaction exclusive clearing file;
    所述处理单元用于:获取所述待转发清算文件的文件名,根据所述文件名,确定所述文件属性;The processing unit is configured to: obtain a file name of the to-be-forwarded clearing file, and determine the file attribute according to the file name;
    其中,所述文件名预先配置为本地交易专属的清算文件文件名,跨区交易专属的清算文件文件名和混合交易专属的清算文件文件名,所述混合交易是指交易的双方分别为本地机构和海外机构的交易。Wherein, the file name is pre-configured as a clearing file name unique to the local transaction, a clearing file name unique to the cross-region transaction, and a clearing file name exclusive to the mixed transaction, wherein the mixed transaction means that both sides of the transaction are local institutions and Trading by overseas institutions.
  9. 如权利要求8所述的装置,其特征在于,所述处理单元还用于:The device according to claim 8, wherein 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 a mixed transaction-specific clearing file, the to-be-forwarded clearing file is marked as a clearing file to be merged from the regional exchange sub-center; or
    在所述发送方为区域交换父中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件。When the sender is a regional exchange parent center, if it is determined that the file attribute is a mixed transaction exclusive clearing file, the to-be-forwarded clearing file is marked as a clearing file to be merged from the regional exchange parent center.
  10. 如权利要求9所述的装置,其特征在于,所述处理单元在将所述待转发清算文件标记为来自区域交换子中心的待合并清算文件,或者将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件之后,还用于:The apparatus according to claim 9, wherein said processing unit marks said to-be-forwarded clearing file as a clearing file to be merged from a regional exchange sub-center, or marks said to-be-forwarded clearing file as being from a region After exchanging the parent center's pending clearing file, it is also used to:
    查找是否存在分别来自区域交换子中心和来自区域交换父中心的文件名相同的待合并清算文件;Finding whether there is a clearing file to be merged from the regional exchange subcenter and the file name from the regional exchange parent center respectively;
    若存在,将查找到的待合并清算文件进行合并,并通过所述发送单元将合并后的清算文件发送给所述接收方。If yes, the found clearing files to be merged are merged, and the merged clearing file is sent to the receiving party by the sending unit.
  11. 如权利要求7至10中任一项所述的装置,其特征在于,所述接收单元,还用于接收包括多条交易记录的待转发交易文件;The device according to any one of claims 7 to 10, wherein the receiving unit is further configured to receive a transaction file to be forwarded including a plurality of transaction records;
    所述处理单元,还用于获取及每条交易记录中记录的银行卡标识;根据所述多条交易记录分别记录的银行卡标识,将所述待转发交易文件拆分为本地交易文件和跨区交易文件;并通过所述发送单元将所述本地交易文件发送 给区域交换子中心,通过所述发送单元将所述跨区交易文件发送给区域交换父中心。The processing unit is further configured to acquire and identify a bank card identifier recorded in each transaction record; and divide the transaction file to be forwarded into local transaction files and crosses according to the bank card identifier respectively recorded by the plurality of transaction records Transaction file; and sending the local transaction file through the sending unit And sending, by the sending unit, the cross-region transaction file to the regional exchange parent center.
  12. 如权利要求11所述的装置,其特征在于,所述处理单元具体用于:The device according to claim 11, wherein the processing unit is specifically configured to:
    针对任意一条交易记录,查找本地银行卡标识数据库中是否存在该条交易记录的银行卡标识;For any transaction record, find the bank card identifier of the transaction record in the local bank card identification database;
    若存在,将该条交易记录写入所述本地交易文件中;若不存在,将该条交易记录写入所述跨区交易文件中。If present, the transaction record is written to the local transaction file; if not, the transaction record is written to the inter-regional transaction file.
  13. 一种电子设备,其特征在于,包括:至少一个处理器、收发器和与所述至少一个处理器通信连接的存储器;An electronic device, comprising: at least one processor, a transceiver, and a memory communicatively coupled to the at least one processor;
    所述收发器,用于接收待转发清算文件;The transceiver is configured to receive a clearing file to be forwarded;
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
    获取所述待转发清算文件的发送方、接收方和文件属性;Obtaining a sender, a receiver, and a file attribute of the to-be-forwarded clearing file;
    在所述发送方为区域交换子中心时,确定所述文件属性是否为本地交易专属清算文件,若是,通过发送单元将所述待转发清算文件发送给所述接收方;When the sender is a regional exchange sub-center, determining whether the file attribute is a local transaction-specific clearing file, and if yes, sending, by the sending unit, the to-be-forwarded clearing file to the receiving party;
    在所述发送方为区域交换父中心时,确定所述文件属性是否为跨区交易专属清算文件,若是,通过发送单元将所述待转发清算文件发送给所述接收方。When the sender exchanges the parent center for the area, it is determined whether the file attribute is a cross-region transaction-specific clearing file, and if yes, the to-be-forwarded clearing file is sent to the receiving party by the sending unit.
  14. 如权利要求13所述的电子设备,其特征在于,所述文件属性预先配置为本地交易专属清算文件,跨区交易专属清算文件和混合交易专属清算文件;所述处理器能够:The electronic device of claim 13 wherein said file attributes are pre-configured as local transaction-specific clearing files, trans-regional transactional clearing files and hybrid transaction-specific clearing files; said processor capable of:
    获取所述待转发清算文件的文件名,根据所述文件名,确定所述文件属性;Obtaining a file name of the to-be-forwarded clearing file, and determining the file attribute according to the file name;
    其中,所述文件名预先配置为本地交易专属的清算文件文件名,跨区交易专属的清算文件文件名和混合交易专属的清算文件文件名,所述混合交易是指交易的双方分别为本地机构和海外机构的交易。 Wherein, the file name is pre-configured as a clearing file name unique to the local transaction, a clearing file name unique to the cross-region transaction, and a clearing file name exclusive to the mixed transaction, wherein the mixed transaction means that both sides of the transaction are local institutions and Trading by overseas institutions.
  15. 如权利要求14所述的电子设备,其特征在于,所述处理器还能够:The electronic device of claim 14, wherein the processor is further capable of:
    在所述发送方为区域交换子中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换子中心的待合并清算文件;或者,When the sender is a regional exchange sub-center, if it is determined that the file attribute is a mixed transaction-specific clearing file, the to-be-forwarded clearing file is marked as a clearing file to be merged from the regional exchange sub-center; or
    在所述发送方为区域交换父中心时,若确定所述文件属性为混合交易专属清算文件,则将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件。When the sender is a regional exchange parent center, if it is determined that the file attribute is a mixed transaction exclusive clearing file, the to-be-forwarded clearing file is marked as a clearing file to be merged from the regional exchange parent center.
  16. 如权利要求15所述的电子设备,其特征在于,所述处理器还能够:The electronic device of claim 15 wherein said processor is further capable of:
    在将所述待转发清算文件标记为来自区域交换子中心的待合并清算文件,或者将所述待转发清算文件标记为来自区域交换父中心的待合并清算文件之后,查找是否存在分别来自区域交换子中心和来自区域交换父中心的文件名相同的待合并清算文件;After marking the to-be-forwarded clearing file as a clearing file to be merged from the regional exchange sub-center, or marking the to-be-forwarded clearing file as a clearing file to be merged from the regional exchange parent center, it is found whether there is a separate exchange from the area The sub-center and the clearing file to be merged with the same file name from the regional exchange parent center;
    若存在,将查找到的待合并清算文件进行合并,并通过所述发送单元将合并后的清算文件发送给所述接收方。If yes, the found clearing files to be merged are merged, and the merged clearing file is sent to the receiving party by the sending unit.
  17. 如权利要求13至16中任一项所述的电子设备,其特征在于,The electronic device according to any one of claims 13 to 16, wherein
    所述收发器,还用于接收包括多条交易记录的待转发交易文件;The transceiver is further configured to receive a transaction file to be forwarded including multiple transaction records;
    所述处理器还能够:获取及每条交易记录中记录的银行卡标识;根据所述多条交易记录分别记录的银行卡标识,将所述待转发交易文件拆分为本地交易文件和跨区交易文件;并通过所述发送单元将所述本地交易文件发送给区域交换子中心,通过所述发送单元将所述跨区交易文件发送给区域交换父中心。The processor is further configured to: acquire and identify a bank card identifier recorded in each transaction record; and split the to-be-forwarded transaction file into a local transaction file and a cross-region according to the bank card identifier respectively recorded by the plurality of transaction records Transmitting a file; and transmitting, by the sending unit, the local transaction file to a regional exchange sub-center, and transmitting, by the sending unit, the cross-region transaction file to a regional exchange parent center.
  18. 如权利要求17所述的电子设备,其特征在于,所述处理器能够:The electronic device of claim 17 wherein said processor is capable of:
    针对任意一条交易记录,查找本地银行卡标识数据库中是否存在该条交易记录的银行卡标识;For any transaction record, find the bank card identifier of the transaction record in the local bank card identification database;
    若存在,将该条交易记录写入所述本地交易文件中;若不存在,将该条交易记录写入所述跨区交易文件中。If present, the transaction record is written to the local transaction file; if not, the transaction record is written to the inter-regional transaction file.
  19. 一种非易失性计算机存储介质,其特征在于,所述非暂态计算机可 读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使所述计算机执行权利要求1-6任一项所述的多中心文件转发处理方法。Non-volatile computer storage medium, characterized in that the non-transitory computer can The read storage medium stores computer executable instructions for causing the computer to perform the multi-center file forwarding processing method of any of claims 1-6.
  20. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括所述计算机可执行指令,当所述计算机可执行指令被计算机执行时,使所述计算机执行权利要求1-6任一项所述的多中心文件转发处理方法。 A computer program product, comprising: a computing program stored on a non-transitory computer readable storage medium, the computer program comprising the computer executable instructions, when the computer executable instructions When executed by a computer, the computer is caused to perform the multi-center file forwarding processing method according to any one of claims 1-6.
PCT/CN2017/117025 2016-12-27 2017-12-18 Multi-center file transfer processing method and apparatus WO2018121328A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2018121328A1 true WO2018121328A1 (en) 2018-07-05

Family

ID=58984192

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (3)

* 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
CN114549137A (en) * 2022-02-28 2022-05-27 北京有竹居网络技术有限公司 Request processing method and device

Citations (4)

* 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
CN105931112A (en) * 2015-11-25 2016-09-07 中国银联股份有限公司 Cross-border transaction liquidation method and system
CN106803836A (en) * 2016-12-27 2017-06-06 中国银联股份有限公司 A kind of multicenter file method for processing forwarding and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7626991B2 (en) * 2004-05-10 2009-12-01 Yahoo! Inc. Clearinghouse for messages between disparate networks
CN105868032A (en) * 2016-03-28 2016-08-17 中国建设银行股份有限公司 Message processing system and method supporting multi-system access

Patent Citations (4)

* 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
CN105931112A (en) * 2015-11-25 2016-09-07 中国银联股份有限公司 Cross-border transaction liquidation method and system
CN106803836A (en) * 2016-12-27 2017-06-06 中国银联股份有限公司 A kind of multicenter file method for processing forwarding and device

Also Published As

Publication number Publication date
CN106803836A (en) 2017-06-06
CN106803836B (en) 2021-03-23

Similar Documents

Publication Publication Date Title
CN110163004B (en) Block chain generation method, related equipment and system
CN108416577B (en) Block chain service system
CN110365491B (en) Service processing method, device, equipment, storage medium and data sharing system
CN114240404A (en) Virtual assistant in a communication session
US10616003B2 (en) Methods and systems for service interworking between servers using different user identification systems
WO2018121328A1 (en) Multi-center file transfer processing method and apparatus
CN109597640B (en) Account management method, device, equipment and medium for application program
CN104392190B (en) The method and device of virtual card hypostazation is carried out by mobile terminal device
US11233837B2 (en) Method and system for group call using unicast and multicast
CN108985930A (en) Information processing method and device, block chain node and storage medium
CN110960856B (en) Game data management system, management method and storage medium
CN109639598A (en) Request processing method, server, storage medium and device based on micro services
CN113392158A (en) Service data processing method and device and data center
CN112600830B (en) Service data processing method and device, electronic equipment and storage medium
KR20140109565A (en) push service system and method
CN114020689A (en) Data processing method, data processing device, electronic device, and storage medium
CN107203877A (en) The method and apparatus for closely realizing business between account
US20180218419A1 (en) Method and apparatus for providing digital product using user account synchronization
WO2015192796A1 (en) Automatic application release method and system based on trusted service manager
CN109118220A (en) For handling the method, apparatus and storage medium of affairs in distributed network
CN109120723A (en) A kind of method for interchanging data and system based on http protocol
CN113726838A (en) File transmission method, device, equipment and storage medium
JP5986251B1 (en) Electronic record receivable transfer record request automatic exclusion system
CN113905037A (en) File transmission management method, device, equipment and storage medium
CN105894180A (en) Stamp management method and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17886672

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17886672

Country of ref document: EP

Kind code of ref document: A1