[go: up one dir, main page]

CN113987088A - A data file generation method, device, device and storage medium - Google Patents

A data file generation method, device, device and storage medium Download PDF

Info

Publication number
CN113987088A
CN113987088A CN202111257008.2A CN202111257008A CN113987088A CN 113987088 A CN113987088 A CN 113987088A CN 202111257008 A CN202111257008 A CN 202111257008A CN 113987088 A CN113987088 A CN 113987088A
Authority
CN
China
Prior art keywords
information
data file
transaction
target
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111257008.2A
Other languages
Chinese (zh)
Other versions
CN113987088B (en
Inventor
吕超
崔倩男
苗丽雯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Pudong Development Bank Co Ltd
Original Assignee
Shanghai Pudong Development Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Pudong Development Bank Co Ltd filed Critical Shanghai Pudong Development Bank Co Ltd
Priority to CN202111257008.2A priority Critical patent/CN113987088B/en
Priority claimed from CN202111257008.2A external-priority patent/CN113987088B/en
Publication of CN113987088A publication Critical patent/CN113987088A/en
Application granted granted Critical
Publication of CN113987088B publication Critical patent/CN113987088B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/283Multi-dimensional databases or data warehouses, e.g. MOLAP or ROLAP
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a data file generation method, a data file generation device, data file generation equipment and a storage medium. The method comprises the following steps: receiving original transaction information, wherein the original transaction information carries identification information; screening the original transaction information according to a preset pushing range to obtain target transaction information; acquiring transaction subject information from at least one transaction subject system by calling a real-time interface according to the identification information; and generating a first target data file according to the target transaction information and the transaction main body information. By the technical scheme, timely and accurate data used for enterprise statistical analysis or external supervision can be ensured.

Description

一种数据文件生成方法、装置、设备及存储介质A data file generation method, device, device and storage medium

技术领域technical field

本发明实施例涉及软件工程、信息安全与数据处理交叉技术领域,尤其涉及一种数据文件生成方法、装置、设备及存储介质。The embodiments of the present invention relate to the technical fields of software engineering, information security and data processing, and in particular, to a method, apparatus, device and storage medium for generating a data file.

背景技术Background technique

随着企业运营时间的增长,业务规模的扩大,企业存储的数据量也越来越多,对各种不同数据进行加工汇总处理是企业决策分析必不可少的步骤。With the growth of enterprise operation time and the expansion of business scale, the amount of data stored by the enterprise is also increasing. Processing and summarizing various data is an essential step for enterprise decision analysis.

在现有技术方案中,数据从不同系统收集,统一整理存储于数据仓库中,并由数据仓库下集市进行提取加工,转换成需要的格式,下发到交换平台。交换平台收到对应信号文件,将数据按既定路由传送到对应报送系统。最终由报送系统对数据进行加工生成报送文件,发送监管机构。In the prior art solution, data is collected from different systems, uniformly sorted and stored in the data warehouse, extracted and processed by the market under the data warehouse, converted into a required format, and sent to the exchange platform. The exchange platform receives the corresponding signal file and transmits the data to the corresponding reporting system according to the established route. Finally, the data is processed by the reporting system to generate a submission file, which is sent to the regulatory agency.

数据仓库极大的便利了多系统之间数据的融合利用,但在这个大量多种数据共同存储的平台上,每一点数据规格或参数的变动都需要整个数据供求链上的所有使用或处理这些数据的系统做相应的调整。如果某个系统存在客观或主观上的原因没能在同一时间进行相应调整,就会出现各系统数据不一致的情况。这种数据不一致情况通常差异越普遍就越容易被发现,针对特殊数据的变动,出现频率越小,影响范围也小的就越不容易被发现。同时,数据仓库对数据进行装载整理存储等过程都需要消耗大量时间,一旦中间过程存在资源或其他问题需要等待,则后续的所有过程都需要等待,对数据及时性有巨大的影响。The data warehouse greatly facilitates the integration and utilization of data between multiple systems, but on this platform where a large number of data are stored together, every change in data specifications or parameters requires all the use or processing of these data in the entire data supply and demand chain. The data system is adjusted accordingly. If there are objective or subjective reasons for a system not to be adjusted accordingly at the same time, data inconsistencies between systems will occur. This kind of data inconsistency is usually the more common the difference is, the easier it is to be found. For the change of special data, the less frequent it occurs and the less affected the scope is, the less likely it is to be found. At the same time, the data warehouse takes a lot of time to load, organize and store data. Once there are resources or other problems in the intermediate process, all subsequent processes need to wait, which has a huge impact on the timeliness of data.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种数据文件生成方法、装置、设备及存储介质,以实现能够确保企业统计分析或外部监管用到的数据及时准确。Embodiments of the present invention provide a method, device, device and storage medium for generating a data file, so as to ensure timely and accurate data used in enterprise statistical analysis or external supervision.

第一方面,本发明实施例提供了一种数据文件生成方法,包括:In a first aspect, an embodiment of the present invention provides a method for generating a data file, including:

接收原始交易信息,其中,所述原始交易信息携带标识信息;receiving original transaction information, wherein the original transaction information carries identification information;

根据预设推送范围对所述原始交易信息进行筛选,得到目标交易信息;Screening the original transaction information according to the preset push range to obtain target transaction information;

根据所述标识信息通过调用实时接口从至少一个交易主体系统中获取交易主体信息;Obtain transaction subject information from at least one transaction subject system by calling a real-time interface according to the identification information;

根据所述目标交易信息和所述交易主体信息生成第一目标数据文件。A first target data file is generated according to the target transaction information and the transaction subject information.

第二方面,本发明实施例还提供了一种数据文件生成装置,该装置包括:In a second aspect, an embodiment of the present invention also provides a data file generating device, the device comprising:

第一接收模块,用于接收原始交易信息,其中,所述原始交易信息携带标识信息;a first receiving module, configured to receive original transaction information, wherein the original transaction information carries identification information;

筛选模块,用于根据预设推送范围对所述原始交易信息进行筛选,得到目标交易信息;a screening module, configured to screen the original transaction information according to a preset push range to obtain target transaction information;

获取模块,用于根据所述标识信息通过调用实时接口从至少一个交易主体系统中获取交易主体信息;an acquisition module, configured to acquire transaction subject information from at least one transaction subject system by calling a real-time interface according to the identification information;

第一生成模块,用于根据所述目标交易信息和所述交易主体信息生成第一目标数据文件。The first generating module is configured to generate a first target data file according to the target transaction information and the transaction subject information.

第三方面,本发明实施例还提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如本发明实施例中任一所述的数据文件生成方法。In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implementing the program as described in the present invention when the processor executes the program The data file generation method described in any one of the embodiments.

第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明实施例中任一所述的数据文件生成方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the method for generating a data file according to any one of the embodiments of the present invention.

本发明实施例通过接收原始交易信息,其中,所述原始交易信息携带标识信息;根据预设推送范围对所述原始交易信息进行筛选,得到目标交易信息;根据所述标识信息通过调用实时接口从至少一个交易主体系统中获取交易主体信息;根据所述目标交易信息和所述交易主体信息生成第一目标数据文件。本发明的技术方案能够确保企业统计分析或外部监管用到的数据及时准确。In this embodiment of the present invention, the original transaction information is received, wherein the original transaction information carries identification information; the original transaction information is screened according to a preset push range to obtain target transaction information; according to the identification information, the real-time interface is called from the Obtain transaction subject information in at least one transaction subject system; generate a first target data file according to the target transaction information and the transaction subject information. The technical scheme of the present invention can ensure that the data used in enterprise statistical analysis or external supervision is timely and accurate.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.

图1是本发明实施例一提供的一种数据文件生成方法的流程图;1 is a flowchart of a method for generating a data file according to Embodiment 1 of the present invention;

图2是本发明实施例一提供的一种数据文件生成方法中生成新链路数据的流程图;2 is a flowchart of generating new link data in a data file generating method provided in Embodiment 1 of the present invention;

图3是本发明实施例一提供的一种数据文件生成方法中新链路与原链路形成过程及对比操作示意图;3 is a schematic diagram of a process of forming a new link and an original link and a comparison operation in a method for generating a data file provided in Embodiment 1 of the present invention;

图4是本发明实施例一提供的一种数据文件生成方法中第一目标数据文件和第二目标数据文件对比的流程图;4 is a flowchart of a comparison between a first target data file and a second target data file in a data file generation method provided in Embodiment 1 of the present invention;

图5是本发明实施例二提供的一种数据文件生成装置的结构示意图;5 is a schematic structural diagram of a data file generating apparatus provided in Embodiment 2 of the present invention;

图6是本发明实施例三提供的一种电子设备的结构示意图;6 is a schematic structural diagram of an electronic device according to Embodiment 3 of the present invention;

图7是本发明实施例四提供的一种包含计算机程序的计算机可读存储介质的结构示意图。FIG. 7 is a schematic structural diagram of a computer-readable storage medium containing a computer program according to Embodiment 4 of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。此外,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the present invention. Furthermore, the embodiments of the invention and the features of the embodiments may be combined with each other without conflict.

在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。此外,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。Before discussing the exemplary embodiments in greater detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts various operations (or steps) as a sequential process, many of the operations may be performed in parallel, concurrently, or concurrently. Additionally, the order of operations can be rearranged. The process may be terminated when its operation is complete, but may also have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, subroutines, and the like. Furthermore, the embodiments of the invention and the features of the embodiments may be combined with each other without conflict.

本发明使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”。The term "including" and its variants used in the present invention are open to include, ie, "including but not limited to". The term "based on" is "based at least in part on." The term "one embodiment" means "at least one embodiment."

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本发明的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

实施例一Example 1

图1是本发明实施例一提供的一种数据文件生成方法的流程图,本实施例可适用于数据文件生成的情况,该方法可以由本发明实施例中的数据文件生成装置来执行,该装置可采用软件和/或硬件的方式实现,如图1所示,该方法具体包括如下步骤:FIG. 1 is a flowchart of a method for generating a data file provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of generating a data file. The method can be executed by the device for generating a data file in the embodiment of the present invention. The device It can be implemented in software and/or hardware, as shown in Figure 1, the method specifically includes the following steps:

S101、接收原始交易信息。S101. Receive original transaction information.

其中,原始交易信息携带标识信息。The original transaction information carries identification information.

需要说明的是,原始交易信息指的是交易数据,例如某客户于某年某月某日通过某银行卡支付购买了某商家的某件商品。原始交易信息携带有标识信息,标识信息例如可以是该原始交易信息的银行卡和交易信息(银行卡号和交易编号等信息)。It should be noted that the original transaction information refers to transaction data, for example, a customer purchased a certain commodity of a certain merchant through a bank card payment on a certain day of a certain year in a certain month. The original transaction information carries identification information, and the identification information may be, for example, the bank card and transaction information (information such as bank card number and transaction number) of the original transaction information.

在实际操作过程中,报送系统可以直接接收由交易系统发送的原始交易信息,也可以是交易系统将原始交易信息发送给交换平台,报送系统接收交换平台转发的原始交易信息。In the actual operation process, the reporting system can directly receive the original transaction information sent by the trading system, or the trading system can send the original transaction information to the exchange platform, and the reporting system can receive the original transaction information forwarded by the exchange platform.

S102、根据预设推送范围对原始交易信息进行筛选,得到目标交易信息。S102. Screen the original transaction information according to a preset push range to obtain target transaction information.

其中,推送范围可以是由报送系统预先设定的,例如可以是交易金额大于1000元的所有交易,也可以是在某年某月某日之前的所有交易。The push range may be preset by the reporting system, for example, all transactions with a transaction amount greater than 1,000 yuan, or all transactions before a certain day of a certain year in a certain year.

在本实施例中,目标交易信息指的是根据预设推送范围对原始交易信息进行筛选后得到的符合推送范围的交易信息。In this embodiment, the target transaction information refers to transaction information that conforms to the push range obtained after screening the original transaction information according to the preset push range.

在实际操作过程中,报送系统根据报送系统预先设定的推送范围对原始交易信息进行筛选,得到目标交易信息。例如推送范围可以是交易金额大于1000元的所有交易信息,对原始交易信息进行筛选,得到的所有交易金额大于1000元的交易信息就是目标交易信息。In the actual operation process, the reporting system filters the original transaction information according to the push range preset by the reporting system to obtain the target transaction information. For example, the push range may be all transaction information with a transaction amount greater than 1,000 yuan. After screening the original transaction information, all the obtained transaction information with a transaction amount greater than 1,000 yuan is the target transaction information.

S103、根据标识信息通过调用实时接口从至少一个交易主体系统中获取交易主体信息。S103: Acquire transaction subject information from at least one transaction subject system by calling a real-time interface according to the identification information.

在本实施例中,调用的实时接口为ESB实时数据接口,ESB全称为EnterpriseService Bus,为企业服务总线,可提供一系列的标准接口,统一处理系统间的服务调用关系,实现业务系统间的真正松耦合。In this embodiment, the real-time interface called is the ESB real-time data interface. The full name of ESB is EnterpriseService Bus, which is an enterprise service bus. loosely coupled.

需要解释的是,交易主体系统指的是存储交易涉及的主体(客户信息和金融卡信息等)的系统,交易主体系统可以是一个或多个。交易主体信息指的是原始交易信息涉及的客户个人信息(卡户ID、国别和身份证等信息)、金融卡信息(银行卡类型、发卡机构、发卡网点所在机构代码等)。例如,原始交易信息为某客户于某年某月某日通过某银行卡支付购买了某商家的某件商品,则主体系统中存储的交易主体信息为该交易涉及银行卡信息和持卡人客户的个人信息。It should be explained that the transaction subject system refers to a system that stores subjects involved in the transaction (customer information and financial card information, etc.), and the transaction subject system may be one or more. Transaction subject information refers to customer personal information (card account ID, country and ID card, etc.) and financial card information (bank card type, card issuer, institution code of the card issuing outlet, etc.) involved in the original transaction information. For example, if the original transaction information is that a customer purchased a certain commodity from a certain merchant through a bank card payment on a certain day in a certain year, the transaction subject information stored in the main system is the bank card information involved in the transaction and the cardholder's customer. personal information.

在实际操作过程中,报送系统根据原始交易信息携带的标识信息通过调用ESB实时数据接口从至少一个交易主体系统中获取交易主体信息。In the actual operation process, the reporting system obtains transaction subject information from at least one transaction subject system by invoking the ESB real-time data interface according to the identification information carried by the original transaction information.

S104、根据目标交易信息和交易主体信息生成第一目标数据文件。S104. Generate a first target data file according to the target transaction information and the transaction subject information.

在本实施例中,第一目标数据文件指的是生成的报送监管的数据文件。In this embodiment, the first target data file refers to the generated data file for reporting to supervision.

在实际操作过程中,报送系统根据预设推送范围对原始交易信息进行筛选得到目标交易信息,根据原始交易信息携带的标识信息通过调用ESB实时接口从至少一个交易主体系统中获取交易主体信息,根据目标交易信息和交易主体信息生成第一目标数据文件。In the actual operation process, the reporting system filters the original transaction information according to the preset push range to obtain the target transaction information, and obtains the transaction subject information from at least one transaction subject system by calling the ESB real-time interface according to the identification information carried in the original transaction information. A first target data file is generated according to the target transaction information and the transaction subject information.

可选的,根据目标交易信息和交易主体信息生成第一目标数据文件包括:Optionally, generating the first target data file according to the target transaction information and transaction subject information includes:

将目标交易信息和交易主体信息进行拼接,得到目标数据。The target transaction information and the transaction subject information are spliced to obtain target data.

需要说明的是,拼接指的是报送系统得到目标交易信息之后,根据目标交易信息携带的标识信息(原始交易信息携带标识信息,目标交易信息为根据预设推送范围对原始交易信息进行筛选得到,因此目标交易信息也携带标识信息)通过调用实时接口从至少一个交易主体系统中获取与目标交易信息匹配的交易主体信息,将目标交易信息中包含的交易信息与交易主体信息中包含的客户个人信息以及金融卡信息进行拼接,拼接之后形成的数据为目标数据。It should be noted that splicing refers to after the reporting system obtains the target transaction information, according to the identification information carried by the target transaction information (the original transaction information carries the identification information, and the target transaction information is obtained by filtering the original transaction information according to the preset push range. , so the target transaction information also carries the identification information) by calling the real-time interface to obtain the transaction subject information matching the target transaction information from at least one transaction subject system, and compare the transaction information contained in the target transaction information with the customer personal information contained in the transaction subject information. Information and financial card information are spliced, and the data formed after splicing is the target data.

根据数据采集规则和目标数据生成第一目标数据文件。A first target data file is generated according to the data collection rule and target data.

需要解释的是,数据采集规则是报送系统预先存储的由目标机构设定的日常数据采集规格。It should be explained that the data collection rules are the daily data collection specifications set by the target organization and pre-stored in the reporting system.

具体的,目标机构要求生成数据接口文件并使用网络专线通过消息传输系统进行数据报送。目标机构对各类业务数据报送规格有特定要求,不同业务数据需分类报送,各类数据代码规范编码统一,因此需要根据数据采集规则将目标数据生成符合目标机构要求的数据接口文件进行报送。Specifically, the target organization requires to generate a data interface file and use a dedicated network line to report data through the message transmission system. The target organization has specific requirements for the reporting specifications of various business data. Different business data needs to be classified and submitted, and the codes of various data codes are unified. Therefore, it is necessary to generate a data interface file that meets the requirements of the target organization according to the data collection rules for reporting. deliver.

可选的,在根据目标交易信息和交易主体信息生成第一目标数据文件之后,还包括:Optionally, after generating the first target data file according to the target transaction information and the transaction subject information, the method further includes:

接收第二目标数据文件。A second target data file is received.

需要说明的是,第二目标数据文件指的是报送系统接收到的现有技术中从不同系统收集数据,统一整理存储于数据仓库,并由数据仓库下集市(不同系统对应不同的集市,相当于子数据库)进行提取加工,转换成需要的格式,下发到交换平台,交换平台收到对应信号文件,将数据按既定路由传送到对应报送系统,最终由报送系统对数据进行加工生成报送文件,发送目标机构的数据文件。It should be noted that the second target data file refers to the data collected from different systems in the prior art received by the reporting system, sorted and stored in the data warehouse in a unified manner, and then marketed by the data warehouse (different systems correspond to different sets of data). City, equivalent to a sub-database) for extraction and processing, convert it into the required format, and send it to the exchange platform. The exchange platform receives the corresponding signal file, and transmits the data to the corresponding reporting system according to the established route. Perform processing to generate a report file, and send the data file of the target organization.

根据关键字对第一目标数据文件和第二目标数据文件进行排序。The first target data file and the second target data file are sorted according to the keywords.

示例性的,关键字可以是交易编号。Exemplarily, the keyword may be a transaction number.

在本实施例中,排序指的是将第一目标数据文件和第二目标数据文件均按照关键字进行排序。例如第一目标数据文件中包含交易编号为001-099的数据文件,第二目标数据文件也包含交易编号为001-099的数据文件,则将第一目标数据文件和第二目标数据文件均按照从001到099的顺序进行排序。In this embodiment, sorting refers to sorting both the first target data file and the second target data file according to keywords. For example, the first target data file contains data files with transaction numbers 001-099, and the second target data file also contains data files with transaction numbers 001-099. Sort from 001 to 099.

若排序后的第一目标数据文件和排序后的第二目标数据文件存在差异,则根据排序后的第一目标数据文件和排序后的第二目标数据文件存在的差异生成提示信息。If there is a difference between the sorted first target data file and the sorted second target data file, prompt information is generated according to the difference between the sorted first target data file and the sorted second target data file.

其中,提示信息指的是第一目标数据文件和第二目标数据文件存在差异时生成的指示信息,例如可以是文字提示,也可以是数字或图形类信息。The prompt information refers to the instruction information generated when there is a difference between the first target data file and the second target data file, for example, it may be a text prompt, or may be digital or graphic information.

在实际操作过程中,获取到第一目标数据文件和第二目标数据文件后,为保证数据准确性,报送系统会解析第一目标数据文件和第二目标数据文件的关键字,将按关键字排序生成排序后的文件进行逐行比对,生成比对的差异文件。当出现数据不一致的情况,报送系统会给相关业务及科技人员发出预警通知,保证数据差异可以在T+0.5日之前得到人工干预,问题数据的修正处理和对应链路的数据逻辑优化工作也能尽快展开。In the actual operation process, after the first target data file and the second target data file are obtained, in order to ensure the accuracy of the data, the reporting system will parse the keywords of the first target data file and the second target data file, and will press the key Word sorting generates the sorted files for line-by-line comparison, and generates a comparison difference file. When there is data inconsistency, the reporting system will issue an early warning notice to the relevant business and technical personnel to ensure that the data discrepancy can be manually intervened before T+0.5 days, and the correction and processing of the problem data and the data logic optimization of the corresponding link will also be performed. can be expanded as soon as possible.

为保证数据报送的及时性,报送系统会在每日清晨按正常批量时间将第二目标数据文件进行入库处理,生成报送文件后发送目标机构。若交换平台不能按时送达第二目标数据文件,则将第一目标数据文件进行入库处理,生成报送文件后发送目标机构。双目标数据文件比对确保了报送数据的及时性和准确性。In order to ensure the timeliness of data submission, the submission system will process the second target data file into the warehouse according to the normal batch time every morning, and send the target institution after generating the submission file. If the exchange platform cannot deliver the second target data file on time, the first target data file is put into storage, and the report file is generated and sent to the target organization. The double-target data file comparison ensures the timeliness and accuracy of the submitted data.

可选的,接收第二目标数据文件包括:Optionally, receiving the second target data file includes:

接收交换平台转发的第二目标数据文件,其中,第二目标数据文件为数据仓库中存储的第一数据文件,第一数据文件为基于第一数据生成的数据文件,第一数据为从交易系统和至少一个交易主体系统中获取的数据。Receive the second target data file forwarded by the exchange platform, wherein the second target data file is the first data file stored in the data warehouse, the first data file is a data file generated based on the first data, and the first data is from the transaction system. and data obtained from the system of at least one transaction subject.

示例性的,接受交换平台转发的第二目标数据文件,其中,第二目标数据文件为数据仓库下集市基于第一数据筛选拼接生成的第一数据文件,第一数据为数据仓库解析第一数据文件后存储于数据仓库的数据,第一数据文件为对交易系统和交易主体系统中数据提取并格式化生成的文件。Exemplarily, the second target data file forwarded by the exchange platform is accepted, wherein the second target data file is the first data file generated by the marketplace under the data warehouse based on the first data screening and splicing, and the first data is the first data file analyzed by the data warehouse. The data file is the data stored in the data warehouse after the data file, and the first data file is a file generated by extracting and formatting the data in the transaction system and the transaction subject system.

需要说明的是,交换平台指的是上述交换平台,用于传输数据文件。It should be noted that the exchange platform refers to the above exchange platform, which is used to transmit data files.

在本实施例中,数据仓库可以理解为一个数据库,是为解决不同系统之间数据的联机分析处理与数据挖掘而创造的一个面向主题的、集成的、相对稳定的数据集合,可以保存大量的数据供分析使用,且允许使用多种访问技术。In this embodiment, the data warehouse can be understood as a database, which is a subject-oriented, integrated and relatively stable data collection created to solve the online analysis processing and data mining of data between different systems, and can store a large number of The data is used for analysis and allows the use of various access technologies.

其中,交易系统指的是源信息系统中存储交易信息的系统。源信息系统中包含3个系统:交易系统、客户系统和金融卡系统,其中,交易系统存储上述S101中所述的原始交易信息,客户系统存储客户个人信息(卡户ID、国别和身份证等信息),金融卡系统存储交易银行卡信息(银行卡类型、发卡机构代码、发卡网点所在机构代码等信息)。Among them, the transaction system refers to the system that stores transaction information in the source information system. The source information system includes 3 systems: transaction system, customer system and financial card system, wherein the transaction system stores the original transaction information described in the above S101, and the customer system stores the customer's personal information (card account ID, country and identity card). and other information), the financial card system stores transaction bank card information (bank card type, card issuer code, institution code of the card issuing outlet, etc.).

从交易系统和至少一个交易主体系统中获取第一数据,数据仓库将基于第一数据生成的第一数据文件解析存储到仓库基础信息库中,由数据仓库下集市进行提取加工,转换成需要的格式,从而得到第二目标数据文件。数据仓库将第二目标数据文件下发到交换平台,交换平台收到对应的第二目标数据文件按既定路由传送到对应报送系统。The first data is obtained from the transaction system and at least one transaction subject system, the data warehouse parses and stores the first data file generated based on the first data in the warehouse basic information database, and is extracted and processed by the market under the data warehouse, and converted into required data. format to obtain the second target data file. The data warehouse sends the second target data file to the exchange platform, and the exchange platform receives the corresponding second target data file and transmits it to the corresponding reporting system according to a predetermined route.

可选的,接收原始交易信息,包括:Optionally, receive raw transaction information, including:

接收交易系统发送的原始交易信息;Receive the original transaction information sent by the transaction system;

或者,or,

接收交换平台转发的原始交易信息。Receive the original transaction information forwarded by the exchange platform.

报送系统可以直接接收由交易系统发送的原始交易信息,也可以是交易系统将原始交易信息发送给交换平台,报送系统接收交换平台转发的原始交易信息。The reporting system can directly receive the original transaction information sent by the trading system, or the trading system can send the original transaction information to the exchange platform, and the reporting system can receive the original transaction information forwarded by the exchange platform.

其中,所述原始交易信息为交易系统推送的前一日交易信息。Wherein, the original transaction information is the transaction information of the previous day pushed by the transaction system.

需要解释的是,前一日交易信息指的是交易系统推送前一日的所有交易信息。由于银行内部采用日结算,因此源信息系统每日凌晨将监管报送涉及的前一日所有数据推送至交换平台,再由交换平台按照报送系统确定的规则将数据文件下发至报送系统,发送到目标机构,以保证数据报送的及时性。It should be explained that the transaction information of the previous day refers to all the transaction information of the previous day pushed by the transaction system. Since the bank adopts daily settlement, the source information system pushes all the data of the previous day involved in the regulatory submission to the exchange platform every morning, and then the exchange platform sends the data files to the reporting system according to the rules determined by the reporting system. , sent to the target organization to ensure the timeliness of data reporting.

本实施例的技术方案,通过接收原始交易信息,其中,所述原始交易信息携带标识信息;根据预设推送范围对所述原始交易信息进行筛选,得到目标交易信息;根据所述标识信息通过调用实时接口从至少一个交易主体系统中获取交易主体信息;根据所述目标交易信息和所述交易主体信息生成第一目标数据文件。能够确保企业统计分析或外部监管用到的数据及时准确。In the technical solution of this embodiment, the original transaction information is received, wherein the original transaction information carries identification information; the original transaction information is screened according to a preset push range to obtain the target transaction information; according to the identification information, the target transaction information is obtained by calling The real-time interface acquires transaction subject information from at least one transaction subject system; and generates a first target data file according to the target transaction information and the transaction subject information. It can ensure the timely and accurate data used in enterprise statistical analysis or external supervision.

作为本实施例的一个示例性描述,图2是本发明实施例一提供的一种数据文件生成方法中生成新链路数据的流程图。其中,新链路为上述源信息系统、上述交换平台和上述报送系统组成的链路。对应的,原链路为上述源信息系统、上述数据仓库、上述交换平台和上述报送系统组成的链路。As an exemplary description of this embodiment, FIG. 2 is a flowchart of generating new link data in a method for generating a data file provided in Embodiment 1 of the present invention. The new link is a link composed of the above-mentioned source information system, the above-mentioned exchange platform, and the above-mentioned reporting system. Correspondingly, the original link is a link composed of the above-mentioned source information system, the above-mentioned data warehouse, the above-mentioned exchange platform, and the above-mentioned reporting system.

如图2所示,一种数据文件生成方法中生成新链路数据的流程包括如下操作:As shown in Figure 2, the process of generating new link data in a data file generating method includes the following operations:

源信息系统中的交易系统提取前一日所有应报送原始交易信息发送到交换平台。The transaction system in the source information system extracts all the original transaction information that should be reported the day before and sends it to the exchange platform.

交换平台将原始交易信息推送到交换平台的指定目录下。文件中每一行为一条交易信息,将交易信息的每个字段按照约定分隔符进行分割,文件格式及字符集设定也需按照约定格式设置(源信息系统与交换平台之间事先约定格式及路由信息)。The exchange platform pushes the original transaction information to the designated directory of the exchange platform. Each line in the file is a piece of transaction information, and each field of the transaction information is divided according to the agreed delimiter, and the file format and character set settings also need to be set according to the agreed format (the format and routing are agreed in advance between the source information system and the exchange platform. information).

交换平台收到源信息系统中的交易系统操作完成的信号标志文件(交易系统向交换平台发送数据文件结束之后会发送信号标志文件,当交换平台收到信号标志文件后意味着所有数据文件传输结束)后,开始文件调度作业。将源信息系统中交易系统的待传输文件,按照指定格式下发到报送系统文件采集目录下(交换平台与报送系统之间事先约定格式及路由信息)。报送系统在Quartz(一个完全由Java编写的开源作业调度框架,为在Java应用程序中进行作业调度,允许程序开发人员根据时间的间隔来调度作业)定时任务指定时间点批处理执行文件采集任务,将原始交易信息存放到数据表中,开始筛选,将前一日原始交易信息中不需要报送的交易和正反对冲的交易剔除掉,生成需要报送的目标交易信息。The exchange platform receives the signal flag file that the transaction system operation is completed in the source information system (the transaction system will send the signal flag file after the data file is sent to the exchange platform, and when the exchange platform receives the signal flag file, it means that the transmission of all data files is over. ), start the file scheduling job. Send the files to be transmitted in the transaction system in the source information system to the file collection directory of the reporting system according to the specified format (the format and routing information are agreed in advance between the exchange platform and the reporting system). The reporting system is in Quartz (an open source job scheduling framework completely written in Java, for job scheduling in Java applications, allowing program developers to schedule jobs according to time intervals) timed tasks specify time points to batch execute file collection tasks , store the original transaction information in the data table, start screening, remove the transactions that do not need to be reported and the transactions that are positive and negative in the original transaction information of the previous day, and generate the target transaction information that needs to be reported.

按照筛选后需要报送的目标交易信息,根据原始交易信息携带的标识信息,逐一调用ESB实时数据接口从源信息系统中的交易主体系统中获取目标交易信息对应的交易涉及金融卡信息、持卡人客户信息及发卡机构等信息。According to the target transaction information that needs to be reported after screening, according to the identification information carried by the original transaction information, call the ESB real-time data interface one by one to obtain the target transaction information from the transaction subject system in the source information system. The corresponding transaction involves financial card information, cardholders information on customers and card issuers.

将需要报送的目标交易信息和ESB获取到的交易主体信息拼接存放到同一个数据表,并按照日常数据采集规格生成第一目标数据文件。至此,新链路数据生成。The target transaction information to be reported and the transaction subject information obtained by the ESB are spliced and stored in the same data table, and the first target data file is generated according to the daily data collection specifications. At this point, new link data is generated.

作为本实施例的一个示例性描述,图3是本发明实施例一提供的一种数据文件生成方法中新链路与原链路形成过程及对比操作示意图。本优选实施例为上述第一目标数据文件和上述第二目标数据文件的形成过程,以及上述第一目标数据文件和上述第二目标数据文件对比并生成提示信息的详细描述。As an exemplary description of this embodiment, FIG. 3 is a schematic diagram of a process of forming a new link and an original link and a comparison operation in a method for generating a data file provided in Embodiment 1 of the present invention. This preferred embodiment is a detailed description of the formation process of the above-mentioned first target data file and the above-mentioned second target data file, and the comparison of the above-mentioned first target data file and the above-mentioned second target data file to generate prompt information.

原链路中源信息系统分批将数据传送至数据仓库,数据仓库批量作业将数据规格化入库,由数据集市对基础数据进行筛选抽取拼接其他信息并生成第二目标数据文件并传输到交换平台,最后由交换平台下发至报送系统。由于受原链路上各系统数据的质量、逻辑更新频率、存量隐性问题、链路传输路径过长等影响,使得通过数据仓库链路进行数据处理得到的数据质量不佳。The source information system in the original link transfers the data to the data warehouse in batches, and the data warehouse batches operate to normalize the data into the warehouse. The exchange platform is finally sent to the reporting system by the exchange platform. Due to the influence of the quality of data of each system on the original link, the frequency of logical update, the hidden problem of inventory, and the long transmission path of the link, the quality of the data obtained through the data warehouse link is poor.

为了提升数据报送的准确性,本发明实施例提出了在报送系统增加数据来源的方法,将源信息系统数据直接供应到报送系统,并将数据仓库的数据筛选拼接逻辑复现到报送系统,生成第一目标数据文件,作为数据供应的新链路。新链路取消了数据仓库等中间节点,避免了数据仓库基础信息和数据模型信息等变动对最终数据的影响。同时,原链路和新链路中间过程中任意节点的变动都能在最后的数据对比中体现出来,便于及时发现和修正。双链路同时供数的方法,在保持原链路稳定供数的基础上,提供了附加的一条供数通道,用于应急备用、发现异常等情况,确保了数据的时效性和完整性。In order to improve the accuracy of data reporting, the embodiment of the present invention proposes a method for adding data sources to the reporting system, directly supplying the source information system data to the reporting system, and replicating the data filtering and splicing logic of the data warehouse to the reporting system. Send the system to generate the first target data file as a new link for data supply. The new link cancels the intermediate nodes such as the data warehouse, and avoids the impact of changes in the basic information of the data warehouse and data model information on the final data. At the same time, the change of any node in the middle process of the original link and the new link can be reflected in the final data comparison, which is convenient for timely discovery and correction. The method of dual-link simultaneous supply provides an additional supply channel on the basis of maintaining the stable supply of the original link, which is used for emergency backup, abnormal detection, etc., ensuring the timeliness and integrity of data.

图3中源信息系统1为交易系统,源信息系统2和3为客户系统和金融卡系统,数据信息1为交易信息,数据信息2和3为客户信息和金融卡信息。In Fig. 3, the source information system 1 is a transaction system, the source information systems 2 and 3 are the customer system and the financial card system, the data information 1 is the transaction information, and the data information 2 and 3 are the customer information and the financial card information.

如图3所示,一种数据文件生成方法中新链路与原链路形成过程及对比操作如下:As shown in Figure 3, the new link and the original link formation process and comparison operation in a data file generation method are as follows:

新链路的交易信息(图3中竖向的数据信息1)由交换平台下发到报送系统,客户信息和金融卡信息(图3中竖向的数据信息2和3)则通过企业服务总线传输给报送系统,报送系统在Quartz定时任务指定时间点批处理执行文件采集任务,将客户信息和金融卡信息存放到明细数据表中,形成第一目标数据文件。The transaction information of the new link (the vertical data information 1 in Figure 3) is sent to the reporting system by the exchange platform, and the customer information and financial card information (the vertical data information 2 and 3 in Figure 3) are sent through the enterprise service The bus is transmitted to the reporting system, and the reporting system executes the file collection task in batches at the time specified by the Quartz timing task, and stores the customer information and financial card information in the detailed data table to form the first target data file.

为保证数据稳定报送监管,原链路不做重大逻辑修改,保留原始数据流程。原始数据文件(图3中横向的数据信息1、2和3)由数据仓库下集市对已入仓基础数据进行筛选拼接组成,然后通过交换平台下发到报送系统,形成第二目标数据文件。In order to ensure stable data submission and supervision, the original link does not make major logical modifications, and the original data flow is retained. The original data files (the horizontal data information 1, 2 and 3 in Figure 3) are composed of the basic data that has been entered into the warehouse by the market under the data warehouse, and then sent to the reporting system through the exchange platform to form the second target data document.

两条链路的数据文件都获取后,通过配置cron(计划任务,是一个Linux下的定时任务执行工具,能够指定时间,指定次数执行定时任务,可以执行Linux下的绝大多数命令)定时任务借助Linux命令对数据文件进行比对。文件比对前需根据关键字对第一目标数据文件和第二目标数据文件进行排序,然后逐行比对文件内容,跳过相同的数据行,将差异数据行或者一个文件中存在另一个文件中不存在的数据行,输出到指定的比对结果文件中,若两文件无差异行,则结果文件为空文件;若两文件存在差异行,则结果文件保存差异行,根据差异生成差错报告并进行数据处理报送。After the data files of the two links are obtained, by configuring cron (scheduled task, which is a timing task execution tool under Linux, it can specify the time and the specified number of times to execute the timing task, and can execute most commands under Linux) timing task. Compare data files with the help of Linux commands. Before file comparison, it is necessary to sort the first target data file and the second target data file according to the keywords, and then compare the file contents line by line, skip the same data line, and store the difference data line or another file in one file. The data lines that do not exist in the two files are output to the specified comparison result file. If there are no difference lines in the two files, the result file is an empty file; if there are different lines in the two files, the result file saves the difference lines, and generates an error report according to the difference. and data processing and reporting.

数据仓库数据加工逻辑比较复杂,数据准确性对数据加工逻辑、数据模型设计、基础数据信息等依赖较大。通过缩短数据传输链路,减少因数据转换导致与源信息系统数据差异较大的问题,同时实现最短链路供数,提高数据报送完整性和准确性,达到数据无差错报送目的。之后增加双链路同步比对供数,两条链路互为主备,保障了供数的稳定性,增强了供数链路的异常应对力。The data processing logic of the data warehouse is relatively complex, and the data accuracy is highly dependent on the data processing logic, data model design, and basic data information. By shortening the data transmission link, it reduces the problem of large data differences from the source information system due to data conversion, and at the same time realizes the shortest link supply, improves the integrity and accuracy of data reporting, and achieves the purpose of error-free data reporting. Later, dual-link synchronization comparison was added, and the two links were master and backup, which ensured the stability of the supply and enhanced the abnormal response of the supply link.

作为本实施例的一个示例性描述,图4是本发明实施例一提供的一种数据文件生成方法中第一目标数据文件和第二目标数据文件对比的流程图。本优选实施例为上述第一目标数据文件和上述第二目标数据文件对比过程的详细描述。As an exemplary description of this embodiment, FIG. 4 is a flowchart of a comparison between a first target data file and a second target data file in a data file generation method provided in Embodiment 1 of the present invention. This preferred embodiment is a detailed description of the comparison process between the above-mentioned first target data file and the above-mentioned second target data file.

如图4所示,一种数据文件生成方法中第一目标数据文件和第二目标数据文件对比的流程包括如下操作:As shown in Figure 4, the process of comparing the first target data file and the second target data file in a data file generation method includes the following operations:

生成第一目标数据文件后根据关键字对第一目标数据文件进行排序,生成第二目标数据文件后根据关键字对第二目标数据文件进行排序,之后将第一目标数据文件和第二目标数据文件按行进行对比。如两文件存在差异行,将差异数据行或者一个文件中存在另一个文件中不存在的数据行,输出到指定的比对结果文件中,结果文件保存差异行;若两文件无差异行,则结果文件为空文件。After the first target data file is generated, the first target data file is sorted according to the keywords, the second target data file is sorted according to the keywords after the second target data file is generated, and then the first target data file and the second target data file are sorted. Files are compared row by row. If there are difference lines in the two files, output the difference data lines or data lines that do not exist in the other file in one file to the specified comparison result file, and the result file saves the difference lines; if there are no difference lines in the two files, then The resulting file is an empty file.

为了让业务人员和科技人员及时知晓文件比对的差异,本发明实施例在数据比对结果生成后,增加配置Quartz定时任务,用于通知文件比对结果。任务首先判断比对结果文件是否为空,如果比对文件为空,则两链路数据无差异,此时程序会通知双链路比对无异常;如果比对文件不为空,则程序解析数据比对结果,获取到差异数据的关键字和差异字段,并将差异信息通知到相关人员。In order to let business personnel and scientific and technical personnel know the difference of file comparison in time, in this embodiment of the present invention, after the data comparison result is generated, a Quartz timed task is added to be configured to notify the file comparison result. The task firstly judges whether the comparison result file is empty. If the comparison file is empty, there is no difference in the data of the two links. At this time, the program will notify the dual-link comparison that there is no abnormality; if the comparison file is not empty, the program will parse it. Data comparison results, get the keywords and difference fields of the difference data, and notify the relevant personnel of the difference information.

为保证数据报送的及时性,无论比对结果是否存在差异,程序都会在当日清晨7:00前将原链路送来的第二目标数据文件优先入库生成报送文件,首个批次发送到目标机构,确保大批量的数据能正常报送。如果当日数据比对出现差异,相关人员收到异常通知后,应及时排查差异原因,酌情更正后可在当日中午12:00前安排修正后数据重报,可保证数据问题在当日解决。In order to ensure the timeliness of data submission, regardless of whether there are differences in the comparison results, the program will prioritize the second target data files sent from the original link into the warehouse before 7:00 in the morning on the same day to generate submission files. Send it to the target institution to ensure that large batches of data can be submitted normally. If there is a discrepancy in the data comparison of the day, after receiving the abnormal notice, the relevant personnel should investigate the reason for the discrepancy in a timely manner. After correcting as appropriate, the revised data can be re-reported before 12:00 noon on the same day to ensure that the data problem can be resolved on the same day.

对于单链路供数出现延迟或未供数的异常情况,双链路对比方法可在原链路的第二目标数据文件未到达的预警出现后,及时启用备用链路,将新链路第一目标数据文件采集入库生成报送文件优先进行报送。双链路报送保证了主备链路互补报送,使数据正常送达监管,提升了数据报送通路的健壮性。For the abnormal situation where the supply of the single link is delayed or not supplied, the dual-link comparison method can enable the backup link in time after the warning that the second target data file of the original link has not arrived, and put the new link first The target data files are collected and put into the warehouse to generate the submission files, and they will be submitted first. The dual-link reporting ensures the complementary reporting of the active and standby links, so that the data is normally delivered to the supervision, and the robustness of the data reporting path is improved.

监管数据报送的时效性要求较高,双链路对比方法可在数据入库前完成数据准确性校验。若校验有异常数据,则触发预警机制,可通知到相关负责人进行数据核对与修正,缩短了人工相应维护数据的时间,保障了数据可在监管要求的时效之内完成数据维护和报送。本发明实施例提高了报送监管的数据质量,通过双链路对比技术,保证了双链路并行过程中数据的一致性、完整性、时效性以及安全性。The timeliness of regulatory data submission is relatively high, and the dual-link comparison method can complete data accuracy verification before data storage. If there is abnormal data in the verification, an early warning mechanism will be triggered, and the relevant person in charge can be notified to check and correct the data, which shortens the time for manual maintenance of the data, and ensures that the data can be maintained and submitted within the time limit required by the regulatory requirements. . The embodiment of the present invention improves the quality of the data submitted for supervision, and ensures the consistency, integrity, timeliness and security of the data in the parallel process of the dual links through the dual link comparison technology.

实施例二Embodiment 2

图5是本发明实施例二提供的一种数据文件生成装置的结构示意图。本实施例可适用于数据文件生成的情况,该装置可采用软件和/或硬件的方式实现,该装置可集成在任何提供数据文件生成功能的设备中,如图5所示,所述数据文件生成装置具体包括:第一接收模块210、筛选模块220、获取模块230和第一生成模块240。FIG. 5 is a schematic structural diagram of a data file generating apparatus according to Embodiment 2 of the present invention. This embodiment can be applied to the case of data file generation, the device can be implemented in software and/or hardware, and the device can be integrated in any device that provides a data file generation function, as shown in FIG. 5 , the data file The generating apparatus specifically includes: a first receiving module 210 , a screening module 220 , an obtaining module 230 and a first generating module 240 .

其中,第一接收模块210,用于接收原始交易信息,其中,所述原始交易信息携带标识信息;The first receiving module 210 is configured to receive original transaction information, wherein the original transaction information carries identification information;

筛选模块220,用于根据预设推送范围对所述原始交易信息进行筛选,得到目标交易信息;A screening module 220, configured to screen the original transaction information according to a preset push range to obtain target transaction information;

获取模块230,用于根据所述标识信息通过调用实时接口从至少一个交易主体系统中获取交易主体信息;an acquisition module 230, configured to acquire transaction subject information from at least one transaction subject system by invoking a real-time interface according to the identification information;

第一生成模块240,用于根据所述目标交易信息和所述交易主体信息生成第一目标数据文件。The first generating module 240 is configured to generate a first target data file according to the target transaction information and the transaction subject information.

进一步的,第一生成模块240包括:Further, the first generation module 240 includes:

拼接单元,用于将所述目标交易信息和所述交易主体信息进行拼接,得到目标数据;a splicing unit for splicing the target transaction information and the transaction subject information to obtain target data;

生成单元,用于根据数据采集规则和所述目标数据生成第一目标数据文件。A generating unit, configured to generate a first target data file according to the data collection rule and the target data.

进一步的,上述装置还包括:Further, the above-mentioned device also includes:

第二接收模块,用于在根据所述目标交易信息和所述交易主体信息生成第一目标数据文件之后,接收第二目标数据文件;a second receiving module, configured to receive a second target data file after generating the first target data file according to the target transaction information and the transaction subject information;

排序模块,用于在根据所述目标交易信息和所述交易主体信息生成第一目标数据文件之后,根据关键字对所述第一目标数据文件和所述第二目标数据文件进行排序;其中,所述关键字包括:交易编号。a sorting module, configured to sort the first target data file and the second target data file according to keywords after generating the first target data file according to the target transaction information and the transaction subject information; wherein, The keyword includes: transaction number.

第二生成模块,用于在根据所述目标交易信息和所述交易主体信息生成第一目标数据文件之后,若排序后的第一目标数据文件和排序后的第二目标数据文件存在差异,则根据排序后的第一目标数据文件和排序后的第二目标数据文件存在的差异生成提示信息。The second generating module is configured to, after generating the first target data file according to the target transaction information and the transaction subject information, if there is a difference between the sorted first target data file and the sorted second target data file, then The prompt information is generated according to the difference between the sorted first target data file and the sorted second target data file.

进一步的,第二接收模块具体用于:Further, the second receiving module is specifically used for:

接收交换平台转发的第二目标数据文件,其中,所述第二目标数据文件为数据仓库中存储的第一数据文件,所述第一数据文件为基于第一数据生成的数据文件,所述第一数据为从交易系统和至少一个交易主体系统中获取的数据。Receive the second target data file forwarded by the exchange platform, wherein the second target data file is the first data file stored in the data warehouse, the first data file is a data file generated based on the first data, and the first data file is One data is data obtained from the transaction system and at least one transaction subject system.

进一步的,第一接收模块210包括:Further, the first receiving module 210 includes:

第一接收单元,用于接收交易系统发送的原始交易信息;a first receiving unit, configured to receive the original transaction information sent by the transaction system;

或者,or,

第二接收单元,用于接收交换平台转发的原始交易信息,其中,所述原始交易信息为交易系统推送的前一日交易信息。The second receiving unit is configured to receive the original transaction information forwarded by the exchange platform, wherein the original transaction information is the transaction information of the previous day pushed by the transaction system.

上述产品可执行本发明任意实施例所提供的数据文件生成方法,具备执行数据文件生成方法相应的功能模块和有益效果。The above product can execute the data file generation method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the data file generation method.

本实施例的技术方案,通过接收原始交易信息,其中,所述原始交易信息携带标识信息;根据预设推送范围对所述原始交易信息进行筛选,得到目标交易信息;根据所述标识信息通过调用实时接口从至少一个交易主体系统中获取交易主体信息;根据所述目标交易信息和所述交易主体信息生成第一目标数据文件。能够确保企业统计分析或外部监管用到的数据及时准确。In the technical solution of this embodiment, the original transaction information is received, wherein the original transaction information carries identification information; the original transaction information is screened according to a preset push range to obtain the target transaction information; according to the identification information, the target transaction information is obtained by calling The real-time interface acquires transaction subject information from at least one transaction subject system; and generates a first target data file according to the target transaction information and the transaction subject information. It can ensure the timely and accurate data used in enterprise statistical analysis or external supervision.

实施例三Embodiment 3

图6是本发明实施例三提供的一种电子设备的结构示意图。图6示出了适于用来实现本发明实施方式的电子设备312的框图。图6显示的电子设备312仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。设备312是典型的数据文件生成功能的计算设备。FIG. 6 is a schematic structural diagram of an electronic device according to Embodiment 3 of the present invention. Figure 6 shows a block diagram of an electronic device 312 suitable for use in implementing embodiments of the present invention. The electronic device 312 shown in FIG. 6 is only an example, and should not impose any limitation on the function and scope of use of the embodiment of the present invention. Device 312 is a typical data file generation function computing device.

如图6所示,电子设备312以通用计算设备的形式表现。电子设备312的组件可以包括但不限于:一个或者多个处理器316,存储装置328,连接不同系统组件(包括存储装置328和处理器316)的总线318。As shown in FIG. 6, electronic device 312 takes the form of a general-purpose computing device. Components of electronic device 312 may include, but are not limited to, one or more processors 316, storage 328, and a bus 318 that connects various system components including storage 328 and processor 316.

总线318表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(Industry StandardArchitecture,ISA)总线,微通道体系结构(Micro Channel Architecture,MCA)总线,增强型ISA总线、视频电子标准协会(Video Electronics Standards Association,VESA)局域总线以及外围组件互连(Peripheral Component Interconnect,PCI)总线。The bus 318 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, enhanced ISA bus, Video Electronics Standards Association (Video Electronics Standards Association) , VESA) local bus and peripheral component interconnect (Peripheral Component Interconnect, PCI) bus.

电子设备312典型地包括多种计算机系统可读介质。这些介质可以是任何能够被电子设备312访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Electronic device 312 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 312, including both volatile and nonvolatile media, removable and non-removable media.

存储装置328可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(Random Access Memory,RAM)330和/或高速缓存存储器332。电子设备312可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统334可以用于读写不可移动的、非易失性磁介质(图6未显示,通常称为“硬盘驱动器”)。尽管图6中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如只读光盘(Compact Disc-Read Only Memory,CD-ROM)、数字视盘(Digital Video Disc-Read Only Memory,DVD-ROM)或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线318相连。存储装置328可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的数据文件生成功能。Storage 328 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 330 and/or cache memory 332 . Electronic device 312 may further include other removable/non-removable, volatile/non-volatile computer system storage media. For example only, storage system 334 may be used to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard disk drive"). Although not shown in FIG. 6, a magnetic disk drive for reading and writing to removable non-volatile magnetic disks (eg "floppy disks") and removable non-volatile optical disks (eg Compact Disc-Read only) may be provided. Read Only Memory, CD-ROM), Digital Video Disc (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical media) read and write optical disc drives. In these cases, each drive may be connected to bus 318 through one or more data media interfaces. Storage 328 may include at least one program product having a set (eg, at least one) of program modules configured to perform the data file generation functions of various embodiments of the present invention.

具有一组(至少一个)程序模块326的程序336,可以存储在例如存储装置328中,这样的程序模块326包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块326通常执行本发明所描述的实施例中的功能和/或方法。A program 336 having a set (at least one) of program modules 326, which may be stored, for example, in a storage device 328, such program modules 326 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, which An implementation of a network environment may be included in each or some combination of the examples. Program modules 326 generally perform the functions and/or methods of the described embodiments of the present invention.

电子设备312也可以与一个或多个外部设备314(例如键盘、指向设备、摄像头、显示器324等)通信,还可与一个或者多个使得用户能与该电子设备312交互的设备通信,和/或与使得该电子设备312能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口322进行。并且,电子设备312还可以通过网络适配器320与一个或者多个网络(例如局域网(Local Area Network,LAN),广域网Wide Area Network,WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器320通过总线318与电子设备312的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备312使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、磁盘阵列(Redundant Arrays of Independent Disks,RAID)系统、磁带驱动器以及数据备份存储系统等。The electronic device 312 may also communicate with one or more external devices 314 (eg, a keyboard, pointing device, camera, display 324, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 312, and/or Or with any device (eg, network card, modem, etc.) that enables the electronic device 312 to communicate with one or more other computing devices. Such communication may take place through input/output (I/O) interface 322 . Also, the electronic device 312 may communicate with one or more networks (eg, Local Area Network (LAN), Wide Area Network, WAN) and/or a public network such as the Internet through a network adapter 320 . As shown, network adapter 320 communicates with other modules of electronic device 312 via bus 318 . It should be understood that, although not shown, other hardware and/or software modules may be used in conjunction with electronic device 312, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Arrays of Independent Disks, RAID) systems, tape drives, and data backup storage systems.

处理器316通过运行存储在存储装置328中的程序,从而执行各种功能应用以及数据处理,例如实现本发明上述实施例所提供的数据文件生成方法;The processor 316 executes various functional applications and data processing by running the programs stored in the storage device 328, such as implementing the data file generation method provided by the above-mentioned embodiments of the present invention;

接收原始交易信息,其中,所述原始交易信息携带标识信息;receiving original transaction information, wherein the original transaction information carries identification information;

根据预设推送范围对所述原始交易信息进行筛选,得到目标交易信息;Screening the original transaction information according to the preset push range to obtain target transaction information;

根据所述标识信息通过调用实时接口从至少一个交易主体系统中获取交易主体信息;Obtain transaction subject information from at least one transaction subject system by calling a real-time interface according to the identification information;

根据所述目标交易信息和所述交易主体信息生成第一目标数据文件。A first target data file is generated according to the target transaction information and the transaction subject information.

实施例四Embodiment 4

图7是本发明实施例四提供的一种包含计算机程序的计算机可读存储介质的结构示意图。本发明实施例提供了一种计算机可读存储介质61,其上存储有计算机程序610,该程序被一个或多个处理器执行时实现如本申请所有发明实施例提供的数据文件生成方法:FIG. 7 is a schematic structural diagram of a computer-readable storage medium containing a computer program according to Embodiment 4 of the present invention. Embodiments of the present invention provide a computer-readable storage medium 61 on which a computer program 610 is stored, and when the program is executed by one or more processors, implements the data file generation methods provided by all the inventive embodiments of this application:

接收原始交易信息,其中,所述原始交易信息携带标识信息;receiving original transaction information, wherein the original transaction information carries identification information;

根据预设推送范围对所述原始交易信息进行筛选,得到目标交易信息;Screening the original transaction information according to the preset push range to obtain target transaction information;

根据所述标识信息通过调用实时接口从至少一个交易主体系统中获取交易主体信息;Obtain transaction subject information from at least one transaction subject system by calling a real-time interface according to the identification information;

根据所述目标交易信息和所述交易主体信息生成第一目标数据文件。A first target data file is generated according to the target transaction information and the transaction subject information.

可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Any combination of one or more computer-readable media may be employed. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (a non-exhaustive list) of computer readable storage media include: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .

计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

在一些实施方式中,客户端、服务器可以利用诸如HTTP(Hyper Text TransferProtocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and server can use any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol) to communicate, and can communicate with digital data in any form or medium Communication (eg, a communication network) interconnects. Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.

上述计算机可读介质可以是上述电子设备中所包含的,也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being assembled into the electronic device.

可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络包括局域网(LAN)或广域网(WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedures, or a combination thereof programming language - such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. Where a remote computer is involved, the remote computer may be connected to the user's computer through any kind of network including a local area network (LAN) or wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider to connect over the Internet) .

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.

描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner. Among them, the name of the unit does not constitute a limitation of the unit itself under certain circumstances.

本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), complex programmable Logical Devices (CPLDs) and more.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope is determined by the scope of the appended claims.

Claims (10)

1.一种数据文件生成方法,其特征在于,包括:1. a data file generation method, is characterized in that, comprises: 接收原始交易信息,其中,所述原始交易信息携带标识信息;receiving original transaction information, wherein the original transaction information carries identification information; 根据预设推送范围对所述原始交易信息进行筛选,得到目标交易信息;Screening the original transaction information according to the preset push range to obtain target transaction information; 根据所述标识信息通过调用实时接口从至少一个交易主体系统中获取交易主体信息;Obtain transaction subject information from at least one transaction subject system by calling a real-time interface according to the identification information; 根据所述目标交易信息和所述交易主体信息生成第一目标数据文件。A first target data file is generated according to the target transaction information and the transaction subject information. 2.根据权利要求1所述的方法,其特征在于,根据所述目标交易信息和所述交易主体信息生成第一目标数据文件包括:2. The method according to claim 1, wherein generating the first target data file according to the target transaction information and the transaction subject information comprises: 将所述目标交易信息和所述交易主体信息进行拼接,得到目标数据;Splicing the target transaction information and the transaction subject information to obtain target data; 根据数据采集规则和所述目标数据生成第一目标数据文件。A first target data file is generated according to the data collection rule and the target data. 3.根据权利要求1所述的方法,其特征在于,在根据所述目标交易信息和所述交易主体信息生成第一目标数据文件之后,还包括:3. The method according to claim 1, wherein after generating the first target data file according to the target transaction information and the transaction subject information, the method further comprises: 接收第二目标数据文件;receiving the second target data file; 根据关键字对所述第一目标数据文件和所述第二目标数据文件进行排序;Sort the first target data file and the second target data file according to keywords; 若排序后的第一目标数据文件和排序后的第二目标数据文件存在差异,则根据排序后的第一目标数据文件和排序后的第二目标数据文件存在的差异生成提示信息。If there is a difference between the sorted first target data file and the sorted second target data file, prompt information is generated according to the difference between the sorted first target data file and the sorted second target data file. 4.根据权利要求3所述的方法,其特征在于,所述关键字包括:交易编号。4. The method according to claim 3, wherein the keyword comprises: a transaction number. 5.根据权利要求3所述的方法,其特征在于,接收第二目标数据文件包括:5. The method according to claim 3, wherein receiving the second target data file comprises: 接收交换平台转发的第二目标数据文件,其中,所述第二目标数据文件为数据仓库中存储的第一数据文件,所述第一数据文件为基于第一数据生成的数据文件,所述第一数据为从交易系统和至少一个交易主体系统中获取的数据。Receive the second target data file forwarded by the exchange platform, wherein the second target data file is the first data file stored in the data warehouse, the first data file is a data file generated based on the first data, and the first data file is One data is data obtained from the transaction system and at least one transaction subject system. 6.根据权利要求1所述的方法,其特征在于,接收原始交易信息,包括:6. The method according to claim 1, wherein receiving the original transaction information comprises: 接收交易系统发送的原始交易信息;Receive the original transaction information sent by the transaction system; 或者,or, 接收交换平台转发的原始交易信息,其中,所述原始交易信息为交易系统推送的前一日交易信息。The original transaction information forwarded by the exchange platform is received, wherein the original transaction information is the transaction information of the previous day pushed by the transaction system. 7.一种数据文件生成装置,其特征在于,包括:7. A device for generating data files, comprising: 第一接收模块,用于接收原始交易信息,其中,所述原始交易信息携带标识信息;a first receiving module, configured to receive original transaction information, wherein the original transaction information carries identification information; 筛选模块,用于根据预设推送范围对所述原始交易信息进行筛选,得到目标交易信息;a screening module, configured to screen the original transaction information according to a preset push range to obtain target transaction information; 获取模块,用于根据所述标识信息通过调用实时接口从至少一个交易主体系统中获取交易主体信息;an acquisition module, configured to acquire transaction subject information from at least one transaction subject system by calling a real-time interface according to the identification information; 第一生成模块,用于根据所述目标交易信息和所述交易主体信息生成第一目标数据文件。The first generating module is configured to generate a first target data file according to the target transaction information and the transaction subject information. 8.根据权利要求7所述的装置,其特征在于,所述第一生成模块包括:8. The apparatus according to claim 7, wherein the first generating module comprises: 拼接单元,用于将所述目标交易信息和所述交易主体信息进行拼接,得到目标数据;a splicing unit for splicing the target transaction information and the transaction subject information to obtain target data; 生成单元,用于根据数据采集规则和所述目标数据生成第一目标数据文件。A generating unit, configured to generate a first target data file according to the data collection rule and the target data. 9.一种电子设备,其特征在于,包括:9. An electronic device, characterized in that, comprising: 一个或多个处理器;one or more processors; 存储器,用于存储一个或多个程序;memory for storing one or more programs; 当所述一个或多个程序被所述一个或多个处理器执行时,使得所述处理器实现如权利要求1-6中任一所述的方法。The one or more programs, when executed by the one or more processors, cause the processors to implement the method of any of claims 1-6. 10.一种包含计算机程序的计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被一个或多个处理器执行时实现如权利要求1-6中任一所述的方法。10. A computer-readable storage medium comprising a computer program, on which the computer program is stored, characterized in that, when the program is executed by one or more processors, the method as claimed in any one of claims 1-6 is implemented .
CN202111257008.2A 2021-10-27 Data file generation method, device, equipment and storage medium Active CN113987088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111257008.2A CN113987088B (en) 2021-10-27 Data file generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111257008.2A CN113987088B (en) 2021-10-27 Data file generation method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113987088A true CN113987088A (en) 2022-01-28
CN113987088B CN113987088B (en) 2025-09-16

Family

ID=

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114676168A (en) * 2022-03-14 2022-06-28 达而观信息科技(上海)有限公司 A data tracking method, device, electronic device and storage medium
CN115757410A (en) * 2022-11-21 2023-03-07 上海浦东发展银行股份有限公司 FlinkSQL dimension table join implementation method, device and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020138417A1 (en) * 2001-03-20 2002-09-26 David Lawrence Risk management clearinghouse
CN101102233A (en) * 2007-06-27 2008-01-09 中国移动通信集团四川有限公司 Data inconsistency detection and processing method
CN108009223A (en) * 2017-11-24 2018-05-08 中体彩科技发展有限公司 The consistency detecting method and device of a kind of transaction data
CN112540959A (en) * 2020-12-14 2021-03-23 建信金融科技有限责任公司 Data processing method and device
CN112598505A (en) * 2020-12-25 2021-04-02 无锡航吴科技有限公司 System and method for supervising nationally-owned financing platform based on comparison rule
CN112767149A (en) * 2021-01-11 2021-05-07 腾讯科技(深圳)有限公司 Abnormal subject detection method and device, computer equipment and storage medium
CN112837061A (en) * 2021-02-26 2021-05-25 腾讯科技(深圳)有限公司 Data processing method and related device
CN113297146A (en) * 2021-06-01 2021-08-24 中国建设银行股份有限公司 Processing model and method for local supervision submission data

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020138417A1 (en) * 2001-03-20 2002-09-26 David Lawrence Risk management clearinghouse
CN101102233A (en) * 2007-06-27 2008-01-09 中国移动通信集团四川有限公司 Data inconsistency detection and processing method
CN108009223A (en) * 2017-11-24 2018-05-08 中体彩科技发展有限公司 The consistency detecting method and device of a kind of transaction data
CN112540959A (en) * 2020-12-14 2021-03-23 建信金融科技有限责任公司 Data processing method and device
CN112598505A (en) * 2020-12-25 2021-04-02 无锡航吴科技有限公司 System and method for supervising nationally-owned financing platform based on comparison rule
CN112767149A (en) * 2021-01-11 2021-05-07 腾讯科技(深圳)有限公司 Abnormal subject detection method and device, computer equipment and storage medium
CN112837061A (en) * 2021-02-26 2021-05-25 腾讯科技(深圳)有限公司 Data processing method and related device
CN113297146A (en) * 2021-06-01 2021-08-24 中国建设银行股份有限公司 Processing model and method for local supervision submission data

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
周天军: "基于数据仓库的银行监管报送系统设计与实现", 中国优秀硕士学位论文全文数据库 信息科技辑, no. 2, 15 February 2017 (2017-02-15), pages 138 - 2227 *
潇湘灬隐者: "银行数据仓库体系实践(13)--数据应用之监管报送", pages 1, Retrieved from the Internet <URL:https://www.cnblogs.com/xiaojianblogs/p/13809023.html> *
镜花水月: "浅谈银行数据仓库:数据集市建模思路 ——监管报送项目的数据集市建模实践", pages 1, Retrieved from the Internet <URL:https://www.infoq.cn/article/AlKTxgS6ryvsRXrYfyev> *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114676168A (en) * 2022-03-14 2022-06-28 达而观信息科技(上海)有限公司 A data tracking method, device, electronic device and storage medium
CN115757410A (en) * 2022-11-21 2023-03-07 上海浦东发展银行股份有限公司 FlinkSQL dimension table join implementation method, device and medium
CN115757410B (en) * 2022-11-21 2025-07-22 上海浦东发展银行股份有限公司 FlinkSQL-dimensional table join implementation method, equipment and medium

Similar Documents

Publication Publication Date Title
CA3033859C (en) Method and system for automatically extracting relevant tax terms from forms and instructions
US7614057B2 (en) Entity linking system
US20090024997A1 (en) Batch processing apparatus
US20150161280A1 (en) Method and system for centralized issue tracking
US8112481B2 (en) Document message state management engine
US20170262847A1 (en) Automated Transactions Clearing System and Method
CN113760922B (en) Business data processing system, method, server and storage medium
US11256713B2 (en) Virtual transaction queues for database replication
CN114077518A (en) Data snapshot method, device, equipment and storage medium
CN111125106A (en) Batch running task execution method, device, server and storage medium
CN113360556A (en) Data processing method, device, equipment and storage medium
CN116244384A (en) Data synchronization method, data synchronization device, electronic equipment and storage medium
CN112990741B (en) A workload assessment method, device, equipment and storage medium
CN110765148A (en) A business data processing method and device
CN113987088B (en) Data file generation method, device, equipment and storage medium
CN113987088A (en) A data file generation method, device, device and storage medium
CN111444212A (en) Unified accounting method and device based on accounting system and accounting system
US12222925B1 (en) Systems and methods for ensuring quality of search system data
CN117033431A (en) Work order processing method, device, electronic equipment and medium
CN111026763A (en) Data processing method, device, equipment and storage medium
TW201610907A (en) Methodology for synchronizing heterogeneous data with telecom orders
CN114936915B (en) Data processing method, device, electronic device and storage medium
US20250190201A1 (en) System and method for determining potential issues with a software deployment
US20250139633A1 (en) User-Friendly Smart Contract Authoring on Distributed Ledger
CN116843335A (en) Multiparty reconciliation method, apparatus, device, medium and program product

Legal Events

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