CN112037002A - Fragmentation-removing message processing method and system based on distributed payment system - Google Patents

Fragmentation-removing message processing method and system based on distributed payment system Download PDF

Info

Publication number
CN112037002A
CN112037002A CN202010916902.5A CN202010916902A CN112037002A CN 112037002 A CN112037002 A CN 112037002A CN 202010916902 A CN202010916902 A CN 202010916902A CN 112037002 A CN112037002 A CN 112037002A
Authority
CN
China
Prior art keywords
message
logic
domain
analysis
logic domain
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
CN202010916902.5A
Other languages
Chinese (zh)
Other versions
CN112037002B (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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202010916902.5A priority Critical patent/CN112037002B/en
Priority claimed from CN202010916902.5A external-priority patent/CN112037002B/en
Publication of CN112037002A publication Critical patent/CN112037002A/en
Application granted granted Critical
Publication of CN112037002B publication Critical patent/CN112037002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors

Abstract

The invention discloses a fragmentation-removing message processing method and a fragmentation-removing message processing system based on a distributed payment system, wherein the method comprises the following steps: setting supported message types in a message type table; inserting the logic domain into a logic domain table according to the logic domain and the path of the message type, and storing the absolute path of the logic domain into a path table; generating an analysis group report according to a logic domain table and a path table corresponding to the message type of the local clearing system; acquiring a payment message submitted by a distributed payment platform system, analyzing by using an analysis composition table, and analyzing the payment message; and after the analysis is successful, the message is assembled and sent out according to the analysis composition table and the demand scene. The invention can carry out personalized configuration aiming at different local clearing, and designs corresponding analysis assembly tables according to different requirements of different ISO20022 message types, thereby leading the message processing to be more flexible and simultaneously increasing the reusability.

Description

Fragmentation-removing message processing method and system based on distributed payment system
Technical Field
The present invention relates to the field of message processing technologies, and in particular, to a fragmentation-removing message processing method and system based on a distributed payment system.
Background
The distributed system has high cohesiveness, transparency and convenience, and the core idea is to divide and treat a huge system. A large system with complex business logic is divided into a plurality of small services in a distributed mode, each micro service concentrates on the business logic of a module, the coupling is small, the independence is high, and the development cost of a large-scale system is greatly simplified. Different micro services are called back and forth with each other through the interface.
Currently, a DPP system (Distributed Payment Platform system) is used to construct a uniform Distributed Payment Platform, connect each local clearing system, and provide a multi-channel and faster Payment service for customers. Aiming at different ISO20022 messages (such as pacs.008, pacs.009, pacs.002 and the like represent different message types) from each local clearing system or messages with different version numbers of the same ISO20022 message (such as pacs.008.001.02, pacs.008.001.06 and the like are the pacs.008 messages, but the version numbers are different, and field information in the messages is also different), the DPP system cannot flexibly process the messages.
Therefore, a technical solution for flexibly processing messages in a distributed payment system is needed.
Disclosure of Invention
In order to realize flexible processing of messages of a distributed payment system, the invention provides a fragmentation-removing message processing method and a fragmentation-removing message processing system based on the distributed payment system, wherein the concept of a logic domain is utilized to analyze multiple types and versions of ISO20022 messages and perform group reporting after analysis, the logic domain can be multiplexed in various message types, fragmentation in the process of processing the multiple types and versions of ISO20022 messages is removed, and certain flexibility and reusability are realized.
In a first aspect of an embodiment of the present invention, a method for processing a defragmentation packet based on a distributed payment system is provided, where the method includes:
setting supported message types in a message type table;
inserting the logic domain into a logic domain table according to the logic domain and the path of the message type, and storing the absolute path of the logic domain into a path table;
generating an analysis group report according to a logic domain table and a path table corresponding to the message type of the local clearing system;
acquiring a payment message submitted by a distributed payment platform system, analyzing by using the analysis composition table, and analyzing the payment message;
and after the analysis is successful, the message is assembled and sent out according to the analysis composition table and the demand scene.
In a second aspect of the embodiments of the present invention, a defragmentation message processing system based on a distributed payment system is provided, where the system includes:
the setting module is used for setting the supported message types in the message type table;
the information insertion module is used for inserting the logic domain into a logic domain table according to the logic domain and the path of the message type and storing the absolute path of the logic domain into a path table;
the analysis group report generation module is used for generating an analysis group report according to the logic domain table and the path table corresponding to the message type of the local clearing system;
the analysis module is used for acquiring a payment message submitted by the distributed payment platform system, analyzing the payment message by using the analysis composition table and analyzing the payment message;
and the packet report module is used for assembling and sending the message according to the analysis composition table and the demand scene after the analysis is successful.
In a third aspect of the embodiments of the present invention, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements a defragmentation message processing method based on a distributed payment system when executing the computer program.
In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, where a computer program is stored, and the computer program, when executed by a processor, implements a defragmentation message processing method based on a distributed payment system.
According to the method and the system for processing the de-fragmentation message based on the distributed payment system, the ISO20022 message is analyzed and reported in a group mode by using the logic domain, so that the problem of ISO20022 message fragmentation is successfully solved, and different versions of various ISO20022 message types and the same ISO20022 type can be conveniently supported; in addition, a configuration means is used for maintaining a new ISO20022 message, so that the risk brought by code modification is reduced, the cost is lower, the error rate is reduced, and the maintainability and the stability of the system are enhanced; meanwhile, the message processing mode can be multiplexed, the method can be suitable for a new ISO20022 message type only by modifying the configuration of the database, bottom layer codes do not need to be modified, and the flexibility is higher.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a defragmentation message processing method based on a distributed payment system according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of part of information of a pacs.008 message with a version number of 07 according to an embodiment of the present invention.
FIG. 3 is a diagram illustrating a structure of a logical domain table according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a logical domain path table according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a message type table according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a parsing group report according to an embodiment of the present invention.
Fig. 7 is a schematic structural diagram of a defragmentation message processing system based on a distributed payment system according to an embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to the embodiment of the invention, a set of logic domain basic data is established to identify and multiplex fields in various ISO20022 message types, the fragmentation in the process of processing ISO20022 multi-type and multi-version messages is removed, the logic domain is utilized to analyze and report the ISO20022 messages, personalized configuration can be carried out aiming at different local clearing, and corresponding analysis and assembly tables are designed according to different requirements of different ISO20022 message types, so that the message processing is more flexible, the reusability is increased, and the method and the system are suitable for different local clearing systems.
In the embodiments of the present invention, terms to be described include:
DPP: distributed Payment Platform, Distributed Payment Platform System.
ISO 20022: the financial service and financial industry universal message scheme is an international standard issued by the international standardization organization, and provides a solution for establishing universal messages facing businesses.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Fig. 1 is a schematic diagram of a defragmentation message processing flow based on a distributed payment system according to an embodiment of the present invention. As shown in fig. 1, the method includes:
step S101, setting supported message types in a message type table;
step S102, inserting the logic domain into a logic domain table according to the logic domain and the path of the message type, and storing the absolute path of the logic domain into a path table;
step S103, generating an analysis group report according to a logic domain table and a path table corresponding to the message type of the local clearing system;
step S104, obtaining a payment message submitted by the distributed payment platform system, analyzing by using the analysis composition table, and analyzing the payment message;
and S105, after the analysis is successful, assembling and sending the message according to the analysis composition table and the demand scene.
In order to explain the defragmentation message processing method based on the distributed payment system more clearly, a specific embodiment is described below.
Step S101:
and setting the message type of the ISO20022 message in a message type table, wherein the same message type with different versions is defined as two records.
Step S102:
abstracting logic domain information according to ISO20022 message types, wherein the logic domain information at least comprises a message information logic domain, a message attribute information logic domain and a message monitoring information logic domain, and inserting the logic domain into a logic domain table;
and acquiring an absolute path of the logic domain under the ISO20022 message type, and storing the absolute path into a path table.
Step S103:
setting a logical domain name and logical domain attribute information of a local clearing system in the analysis group report, wherein the logical domain attribute information comprises necessary items and optional items;
and associating the logic domain table and the path table corresponding to the message type of the local clearing system with the analysis group report to generate the analysis group report of the local clearing system.
Step S104:
acquiring a payment message submitted by a distributed payment platform system, and determining all logic domains contained in the current scene according to configuration information in the analysis group report;
and traversing the logic domains in sequence, finding out the corresponding XML nodes according to the paths configured in the analysis group report, taking out the values in the XML nodes, checking the requirements including format and length, putting the XML nodes into the corresponding logic domains if the XML nodes meet the requirements, successfully analyzing the logic domains, throwing the exception if the XML nodes do not meet the requirements, failing to analyze the logic domains, and finishing the logic domain analysis after all the logic domains are successfully analyzed.
Step S105:
after all the logic domains are analyzed successfully, determining all the logic domains contained in the current scene according to the configuration information in the analysis group report;
traversing the logic domains in sequence, judging whether the mandatory item of the logic domain has a value, if so, checking the requirements including format and length, and if not, throwing out an exception, and failing to report; if the necessary item of the logic domain is empty, assigning a default value to the logic domain or selecting one of the candidate values for assignment, so that all the necessary items are not empty, and the report is successfully assembled and sent out.
Further, the defragmentation message processing method based on the distributed payment system according to the present invention is described with reference to a specific embodiment, but it should be noted that the embodiment is only for better describing the present invention and is not to be construed as an undue limitation to the present invention.
Firstly, the supported ISO20022 message type is defined, a logic domain is defined, an absolute path of the specific logic domain in the specific ISO20022 message type is defined, an analysis group report relation is defined, and a message object is designed.
And defining supported ISO20022 message types, wherein the same ISO20022 message with different version numbers is defined into two different message types.
Specifically, a logical domain is defined:
splitting the message into different types of logic domains according to each field information, message attribute information, monitoring information and the like in a specific ISO20022 message, such as a message information related logic domain, a message attribute related logic domain, a message monitoring information related logic domain, a user-defined information related logic domain and the like; the logical fields may support different data types, such as character type, numerical type, date type, etc.; a logical field may support a single line of information or multiple lines of information.
Defining an absolute path of a specific logical domain in a specific ISO20022 packet type:
the ISO20022 messages are all based on XML structures, so that the path starts from a root node, and an absolute path of a specific logic domain in a specific ISO20022 message type is defined; the analysis of the ISO20022 message and the group report is to find the corresponding logic domain based on the absolute path.
Defining the report relationship of the analysis group:
the parsing group report relationship contains the complete set of logic domains involved in a specific message type and other information required by the parsing group report, such as which local clearing is sent to or from, whether the logic domain is selected and filled, a logic domain default value, a maximum length of the logic domain, a minimum length, a maximum line number, a minimum line number, and the like.
Designing a message object:
the message object contains all the logical domain information. Writing business logic codes to realize the following functions: the value of each logic domain of the message can be set through a uniform interface, and the message information is correspondingly changed while the logic domain is set; after the setting is finished, the value of the logic domain can be acquired through the unified interface.
Referring to fig. 2, a partial information diagram of a pacs.008 message with a version number of 07 according to an embodiment of the present invention is shown. As shown in fig. 2, the logical domain concept is described by taking the fields in the markup box as an example.
The logic domain basic data is the basis of the message analysis module and mainly comprises the following steps:
a logical domain table MESSAGE _ FIELDS, a logical domain absolute PATH table MESSAGE _ FIELDS _ PATH, a MESSAGE type table MESSAGE _ TYPES and a parsing group MESSAGE relationship table MESSAGE _ PARSE _ FORMAT.
Logical field table MESSAGE _ FIELDS:
the method mainly stores logic domain information abstracted from supported ISO20022 message types, such as a message information logic domain, a message attribute information logic domain, a message monitoring information logic domain and the like.
An exemplary MESSAGE _ FIELDS table structure is shown in fig. 3. In fig. 3, the leaf node MsgId is abstracted to an X _ MSG _ ID logical field, the type is incoming message, and the data type is character.
Logical domain PATH table MESSAGE _ fieldpath:
storing the absolute paths of the logic domains under the specific message types, wherein the absolute paths of the same logic domain in different ISO20022 messages can be different; an exemplary logical domain path table structure is shown in fig. 4. In fig. 4, the path of the leaf node MsgId is/Document/fitoficstmcrcdtttrf/GrpHdr/MsgId, and is consistent with the path in the picture message information. When the DPP system receives a version 07 pacs.008 message, the position of the logical field is found according to the path table, so as to determine the value of the logical field.
MESSAGE type table MESSAGE _ type:
an exemplary packet type table structure is shown in fig. 5, in which all packet types supported by the DPP system are stored, and the same ISO20022 packet with different versions is defined as two records.
PARSE set report MESSAGE _ part _ FORMAT:
and storing which logical fields and the attribute requirements of the logical fields, such as necessary filling or selected filling, length, row number and the like, contained in a specific ISO20022 message under various specific local clearing. The DPP system reports the message analysis and the group report format check based on the analysis group report. A specific parsing group report structure is shown in fig. 6, wherein all logical fields contained in a specific packet type under specific local clearing can be determined according to mop field (identifying local clearing information) and msg _ type field (identifying packet type information). The analysis group report is associated with the logic domain path table, so that the absolute paths of all domains under a specific message type can be obtained, and the values of all logic domains can be obtained by analyzing the incoming time; when the message is assembled, the value of the logic domain can be set according to the absolute path and the requirements of different local clearing, thereby completing the assembly of the message information.
Based on the basic data of the logic domain, the multi-type and multi-version message processing of ISO20022 can be carried out. The message processing mainly comprises two parts of analyzing incoming messages and assembling outgoing messages. The analysis of the incoming message means that various types of received messages are analyzed, and the information is stored in various logic domains. The assembled report is that the XML message meeting the standard requirement is assembled according to the requirements of each local clearing standard and the values of the logic domains.
The incoming part is parsed, and according to the configuration in the MESSAGE _ part _ FORMAT table, the mop field and the msg _ type field can determine all the logical fields contained in the scene. Traversing the logic domains in sequence, finding out the corresponding XML node according to the PATH configured in the MESSAGE _ FIELDS _ PATH, taking out the value in the node, checking the requirements of format, length and the like, putting the node into the corresponding logic domain if the node meets the requirements, otherwise throwing the exception and failing to analyze. And if all the logic domains are successfully analyzed, the analysis is normally completed.
And the group report part determines all the logic domains which should be contained in the scene according to the configuration in the MESSAGE _ part _ FORMAT table. And traversing the logic domains in sequence, if the logic domains need to be filled, judging whether a value exists, if the value exists, checking the requirements of format, length and the like, if the value does not meet the requirements, throwing the exception, and failing to report the group. If the necessary logical field is empty, a default value is assigned to the logical field or one of the possible candidate values is selected for assignment. All the necessary logical fields are not empty, and the group report is successful.
It should be noted that although the operations of the method of the present invention have been described in the above embodiments and the accompanying drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the operations shown must be performed, to achieve the desired results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
Having described the method of an exemplary embodiment of the present invention, a distributed payment system based defragmentation message processing system of an exemplary embodiment of the present invention is next described with reference to fig. 7.
For implementation of the defragmentation message processing system based on the distributed payment system, reference may be made to implementation of the above method, and repeated details are not repeated. The term "module" or "unit" used hereinafter may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Based on the same inventive concept, the present invention further provides a defragmentation message processing system based on a distributed payment system, as shown in fig. 7, the system comprises:
a setting module 710, configured to set a supported message type in a message type table;
an information insertion module 720, configured to insert the logical field into a logical field table according to the logical field and the path of the packet type, and store the absolute path of the logical field into a path table;
the analysis group report generation module 730 is configured to generate an analysis group report according to the logic domain table and the path table corresponding to the message type of the local clearing system;
the analysis module 740 is configured to obtain a payment message submitted by the distributed payment platform system, analyze the payment message by using the analysis composition table, and analyze the payment message;
and the packet report module 750 is configured to, after the analysis is successful, perform packet assembly according to the analysis composition table and the demand scenario, and send out the packet assembly.
Further, the setting module 710 is specifically configured to
And setting the message type of the ISO20022 message in a message type table, wherein the same message type with different versions is defined as two records.
Further, the information inserting module 720 is specifically configured to:
abstracting logic domain information according to ISO20022 message types, wherein the logic domain information at least comprises a message information logic domain, a message attribute information logic domain and a message monitoring information logic domain, and inserting the logic domain into a logic domain table;
and acquiring an absolute path of the logic domain under the ISO20022 message type, and storing the absolute path into a path table.
Further, the parsing group report generating module 730 is specifically configured to:
setting a logical domain name and logical domain attribute information of a local clearing system in the analysis group report, wherein the logical domain attribute information comprises necessary items and optional items;
and associating the logic domain table and the path table corresponding to the message type of the local clearing system with the analysis group report to generate the analysis group report of the local clearing system.
Further, the parsing module 740 is specifically configured to:
acquiring a payment message submitted by a distributed payment platform system, and determining all logic domains contained in the current scene according to configuration information in the analysis group report;
and traversing the logic domains in sequence, finding out the corresponding XML nodes according to the paths configured in the analysis group report, taking out the values in the XML nodes, checking the requirements including format and length, putting the XML nodes into the corresponding logic domains if the XML nodes meet the requirements, successfully analyzing the logic domains, throwing the exception if the XML nodes do not meet the requirements, failing to analyze the logic domains, and finishing the logic domain analysis after all the logic domains are successfully analyzed.
Further, the report combining module 750 is specifically configured to:
after all the logic domains are analyzed successfully, determining all the logic domains contained in the current scene according to the configuration information in the analysis group report;
traversing the logic domains in sequence, judging whether the mandatory item of the logic domain has a value, if so, checking the requirements including format and length, and if not, throwing out an exception, and failing to report; if the necessary item of the logic domain is empty, assigning a default value to the logic domain or selecting one of the candidate values for assignment, so that all the necessary items are not empty, and the report is successfully assembled and sent out.
It should be noted that although several modules of a distributed payment system based defragmentation message processing system are mentioned in the above detailed description, such partitioning is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the modules described above may be embodied in one module according to embodiments of the invention. Conversely, the features and functions of one module described above may be further divided into embodiments by a plurality of modules.
Based on the aforementioned inventive concept, as shown in fig. 8, the present invention further provides a computer device 800, which includes a memory 810, a processor 820, and a computer program 830 stored in the memory 810 and operable on the processor 820, wherein the processor 820 implements the aforementioned defragmentation message processing method based on the distributed payment system when executing the computer program 830.
Based on the foregoing inventive concept, the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the defragmentation message processing method based on the distributed payment system.
According to the method and the system for processing the de-fragmentation message based on the distributed payment system, the ISO20022 message is analyzed and reported in a group mode by using the logic domain, so that the problem of ISO20022 message fragmentation is successfully solved, and different versions of various ISO20022 message types and the same ISO20022 type can be conveniently supported; in addition, a configuration means is used for maintaining a new ISO20022 message, so that the risk brought by code modification is reduced, the cost is lower, the error rate is reduced, and the maintainability and the stability of the system are enhanced; meanwhile, the message processing mode can be multiplexed, the method can be suitable for a new ISO20022 message type only by modifying the configuration of the database, bottom layer codes do not need to be modified, and the flexibility is higher.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. A fragmentation-removing message processing method based on a distributed payment system is characterized by comprising the following steps:
setting supported message types in a message type table;
inserting the logic domain into a logic domain table according to the logic domain and the path of the message type, and storing the absolute path of the logic domain into a path table;
generating an analysis group report according to a logic domain table and a path table corresponding to the message type of the local clearing system;
acquiring a payment message submitted by a distributed payment platform system, analyzing by using the analysis composition table, and analyzing the payment message;
and after the analysis is successful, the message is assembled and sent out according to the analysis composition table and the demand scene.
2. The defragmentation message handling method according to claim 1, wherein the setting of supported message types in the message type table comprises:
and setting the message type of the ISO20022 message in a message type table, wherein the same message type with different versions is defined as two records.
3. The de-fragmentation message processing method based on the distributed payment system of claim 1, wherein the step of inserting the logical field into a logical field table according to the logical field and the path of the message type and storing the absolute path of the logical field into a path table comprises the steps of:
abstracting logic domain information according to ISO20022 message types, wherein the logic domain information at least comprises a message information logic domain, a message attribute information logic domain and a message monitoring information logic domain, and inserting the logic domain into a logic domain table;
and acquiring an absolute path of the logic domain under the ISO20022 message type, and storing the absolute path into a path table.
4. The defragmentation message processing method according to claim 3, wherein the generating of the analysis group report according to the logical domain table and the path table corresponding to the message type of the local clearing system comprises:
setting a logical domain name and logical domain attribute information of a local clearing system in the analysis group report, wherein the logical domain attribute information comprises necessary items and optional items;
and associating the logic domain table and the path table corresponding to the message type of the local clearing system with the analysis group report to generate the analysis group report of the local clearing system.
5. The method for de-fragmenting a message processing based on a distributed payment system according to claim 1, wherein the steps of obtaining a payment message submitted by the distributed payment platform system, analyzing the payment message by using the analysis composition table, and analyzing the payment message include:
acquiring a payment message submitted by a distributed payment platform system, and determining all logic domains contained in the current scene according to configuration information in the analysis group report;
and traversing the logic domains in sequence, finding out the corresponding XML nodes according to the paths configured in the analysis group report, taking out the values in the XML nodes, checking the requirements including format and length, putting the XML nodes into the corresponding logic domains if the XML nodes meet the requirements, successfully analyzing the logic domains, throwing the exception if the XML nodes do not meet the requirements, failing to analyze the logic domains, and finishing the logic domain analysis after all the logic domains are successfully analyzed.
6. The method for de-fragmenting a message for processing based on a distributed payment system as claimed in claim 5, wherein after the parsing is successful, the message is assembled and sent out according to the parsing composition table and the demand scenario, comprising:
after all the logic domains are analyzed successfully, determining all the logic domains contained in the current scene according to the configuration information in the analysis group report;
traversing the logic domains in sequence, judging whether the mandatory item of the logic domain has a value, if so, checking the requirements including format and length, and if not, throwing out an exception, and failing to report; if the necessary item of the logic domain is empty, assigning a default value to the logic domain or selecting one of the candidate values for assignment, so that all the necessary items are not empty, and the report is successfully assembled and sent out.
7. A de-fragmentation message processing system based on a distributed payment system, the system comprising:
the setting module is used for setting the supported message types in the message type table;
the information insertion module is used for inserting the logic domain into a logic domain table according to the logic domain and the path of the message type and storing the absolute path of the logic domain into a path table;
the analysis group report generation module is used for generating an analysis group report according to the logic domain table and the path table corresponding to the message type of the local clearing system;
the analysis module is used for acquiring a payment message submitted by the distributed payment platform system, analyzing the payment message by using the analysis composition table and analyzing the payment message;
and the packet report module is used for assembling and sending the message according to the analysis composition table and the demand scene after the analysis is successful.
8. The distributed payment system-based defragmentation messaging system of claim 7, wherein the configuration module is specifically configured to configure the defragmentation messaging system to perform
And setting the message type of the ISO20022 message in a message type table, wherein the same message type with different versions is defined as two records.
9. The distributed payment system-based de-fragmentation message processing system of claim 7, wherein the information insertion module is specifically configured to:
abstracting logic domain information according to ISO20022 message types, wherein the logic domain information at least comprises a message information logic domain, a message attribute information logic domain and a message monitoring information logic domain, and inserting the logic domain into a logic domain table;
and acquiring an absolute path of the logic domain under the ISO20022 message type, and storing the absolute path into a path table.
10. The de-fragmentation message processing system based on the distributed payment system of claim 9, wherein the parsing group report generation module is specifically configured to:
setting a logical domain name and logical domain attribute information of a local clearing system in the analysis group report, wherein the logical domain attribute information comprises necessary items and optional items;
and associating the logic domain table and the path table corresponding to the message type of the local clearing system with the analysis group report to generate the analysis group report of the local clearing system.
11. The distributed payment system-based de-fragmentation message processing system of claim 7, wherein the parsing module is specifically configured to:
acquiring a payment message submitted by a distributed payment platform system, and determining all logic domains contained in the current scene according to configuration information in the analysis group report;
and traversing the logic domains in sequence, finding out the corresponding XML nodes according to the paths configured in the analysis group report, taking out the values in the XML nodes, checking the requirements including format and length, putting the XML nodes into the corresponding logic domains if the XML nodes meet the requirements, successfully analyzing the logic domains, throwing the exception if the XML nodes do not meet the requirements, failing to analyze the logic domains, and finishing the logic domain analysis after all the logic domains are successfully analyzed.
12. The de-fragmentation message processing system based on a distributed payment system of claim 11, wherein the group report module is specifically configured to:
after all the logic domains are analyzed successfully, determining all the logic domains contained in the current scene according to the configuration information in the analysis group report;
traversing the logic domains in sequence, judging whether the mandatory item of the logic domain has a value, if so, checking the requirements including format and length, and if not, throwing out an exception, and failing to report; if the necessary item of the logic domain is empty, assigning a default value to the logic domain or selecting one of the candidate values for assignment, so that all the necessary items are not empty, and the report is successfully assembled and sent out.
13. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 6 when executing the computer program.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method of any one of claims 1 to 6.
CN202010916902.5A 2020-09-03 Defragmentation message processing method and defragmentation message processing system based on distributed payment system Active CN112037002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010916902.5A CN112037002B (en) 2020-09-03 Defragmentation message processing method and defragmentation message processing system based on distributed payment system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010916902.5A CN112037002B (en) 2020-09-03 Defragmentation message processing method and defragmentation message processing system based on distributed payment system

Publications (2)

Publication Number Publication Date
CN112037002A true CN112037002A (en) 2020-12-04
CN112037002B CN112037002B (en) 2024-04-23

Family

ID=

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101957974A (en) * 2009-07-15 2011-01-26 中国工商银行股份有限公司 Multi-payment and clearing system supporting remittance processing device and method
US20150082322A1 (en) * 2013-09-16 2015-03-19 Nicira, Inc. Data Upgrade Framework for Distributed Systems
CN105427101A (en) * 2015-11-19 2016-03-23 成都连银信息技术有限公司 Unified payment access gateway supporting multiple payment channels
CN105872035A (en) * 2016-03-28 2016-08-17 中国建设银行股份有限公司 System and method for processing multi-channel messages
CN106209911A (en) * 2016-08-30 2016-12-07 北京仁聚汇通信息科技有限责任公司 The data processing method of a kind of unified payment message and system
CN109274604A (en) * 2018-09-29 2019-01-25 阿里巴巴集团控股有限公司 Message processing method and system
WO2020029971A1 (en) * 2018-08-10 2020-02-13 京东数字科技控股有限公司 Processing method and device for payment process, medium and electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101957974A (en) * 2009-07-15 2011-01-26 中国工商银行股份有限公司 Multi-payment and clearing system supporting remittance processing device and method
US20150082322A1 (en) * 2013-09-16 2015-03-19 Nicira, Inc. Data Upgrade Framework for Distributed Systems
CN105427101A (en) * 2015-11-19 2016-03-23 成都连银信息技术有限公司 Unified payment access gateway supporting multiple payment channels
CN105872035A (en) * 2016-03-28 2016-08-17 中国建设银行股份有限公司 System and method for processing multi-channel messages
CN106209911A (en) * 2016-08-30 2016-12-07 北京仁聚汇通信息科技有限责任公司 The data processing method of a kind of unified payment message and system
WO2020029971A1 (en) * 2018-08-10 2020-02-13 京东数字科技控股有限公司 Processing method and device for payment process, medium and electronic device
CN109274604A (en) * 2018-09-29 2019-01-25 阿里巴巴集团控股有限公司 Message processing method and system

Similar Documents

Publication Publication Date Title
CN106886410B (en) A kind of software version management system
US5745897A (en) Method and system for compiling management information base specifications
CN113067883B (en) Data transmission method, device, computer equipment and storage medium
CN101661584B (en) Dynamic order workflow template instantiator and decoupler
CN112835560A (en) WEB multi-terminal low-code intelligent software development platform
CN108509392B (en) Multi-mechanism account checking method, system, computer equipment and storage medium
CN111367818B (en) System component testing method and device based on dynamic data return
CN108984712A (en) Counting method, equipment and readable storage medium storing program for executing are made based on business scenario
CN112906206B (en) Digital twin model construction method and device
CN111198923A (en) Data synchronization method and system based on message queue
CN110830539A (en) Network storage system and method
CN112769706A (en) Componentized routing method and system
US11544119B2 (en) Business rules processing framework for implementing new desired functionality in a telecommunication application
CN115841236A (en) Business modeling method, device and medium for realizing quick response
CN109587351B (en) Call testing method, device, equipment and storage medium
CN111464384A (en) Consistency test method and device for asynchronous messages
CN113448826A (en) Software automation test system and method
CN107094085B (en) Signaling transmission method and device
CN108376082B (en) Reference library version updating method and system
CN113489593A (en) JSON message checking method and JSON message checking device
CN103646015B (en) Transmission, the method and system for receiving and transmitting XML message
CN111339055B (en) Big data cluster capacity expansion method and device
CN112037002B (en) Defragmentation message processing method and defragmentation message processing system based on distributed payment system
CN112037002A (en) Fragmentation-removing message processing method and system based on distributed payment system
CN114895879B (en) Management system design scheme determining method, device, equipment and storage medium

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