CN110336814A - A kind of analytic method, equipment and the system of SWIFT message - Google Patents

A kind of analytic method, equipment and the system of SWIFT message Download PDF

Info

Publication number
CN110336814A
CN110336814A CN201910592968.0A CN201910592968A CN110336814A CN 110336814 A CN110336814 A CN 110336814A CN 201910592968 A CN201910592968 A CN 201910592968A CN 110336814 A CN110336814 A CN 110336814A
Authority
CN
China
Prior art keywords
message
swift
rule
check item
verification
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.)
Pending
Application number
CN201910592968.0A
Other languages
Chinese (zh)
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 CN201910592968.0A priority Critical patent/CN110336814A/en
Publication of CN110336814A publication Critical patent/CN110336814A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention provides analytic method, system, computer equipment and the computer readable storage medium of a kind of SWIFT message, is related to technical field of data processing.The described method includes: receiving the SWIFT message that client is sent by SWIFT channel;The SWIFT message is parsed, each tag entry in the SWIFT message is obtained;Obtain check item corresponding with the SWIFT message and verification rule;The SWIFT message after parsing is verified according to the check item and verification rule.The present invention saves the check item and verification rule of all types of SWIFT messages by increasing allocation list newly, then according in allocation list check item and verification rule to client send SWIFT message verify, if realizing newly-increased message checking item or modification verification rule, then then it can be achieved by modifying allocation list, without modifying code, checking routine modularization, reusability are high.

Description

A kind of analytic method, equipment and the system of SWIFT message
Technical field
The present invention is about technical field of data processing, is concretely a kind of especially with regard to the processing technique of message The analytic method of SWIFT message, the resolution system of SWIFT message, computer equipment and computer readable storage medium.
Background technique
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein Description recognizes it is the prior art not because not being included in this section.
When client sends message to bank's progress money transfer transactions by SWIFT channel, after bank receives client's message, need Format check is carried out to client's message.The verification of client's message, including school are completed in packet parsing program in the prior art Test item and verification rule.There are following technological deficiencies under this kind of mode:
If 1, increasing message checking item or modification verification rule newly, it is necessary to modify code, scalability is low.Modification code need through The series of steps such as waiting, task-cycle, functional test, operation are crossed, are taken a long time.
2, code redundancy transmits the same kind message handler of service (such as Fin, Fileact) by different messages Difference, then message item verifies correlative code there are redundancy, and reusability is low.
Therefore, a kind of new scheme how is provided, being able to solve above-mentioned technological deficiency is this field skill urgently to be resolved Art problem.
Summary of the invention
In view of this, the present invention provides a kind of analytic methods of SWIFT message, the resolution system of SWIFT message, calculating Machine equipment and computer readable storage medium save check item and the verification of all types of SWIFT messages by increasing allocation list newly Rule, then according in allocation list check item and verification rule to client send SWIFT message verify, if realizing Newly-increased message checking item or modification verification rule, then then can be achieved by modifying allocation list, do not have to modification code, checking routine mould Block, reusability are high.
To achieve the goals above, the present invention provides a kind of analytic methods of SWIFT message, which comprises
Receive the SWIFT message that client is sent by SWIFT channel;
The SWIFT message is parsed, each tag entry in the SWIFT message is obtained;
Obtain check item corresponding with the SWIFT message and verification rule;
The SWIFT message after parsing is verified according to the check item and verification rule.
In a preferred embodiment of the invention, the method also includes:
The corresponding check item of different type of messages and verification rule are saved into allocation list, the type of message includes Class message and debit class message are paid, the prime implicant of wanting of the verification rule includes that rule name, rule schemata and rule are retouched It states.
In a preferred embodiment of the invention, the method also includes:
When needing newly-increased check item and/or verification rule, by newly-increased check item and/or verification rules modification to described In allocation list.
In a preferred embodiment of the invention, check item corresponding with the SWIFT message and verification rule are obtained Include:
Obtain the corresponding type of message of the SWIFT message;
Check item corresponding with the type of message and verification are obtained from the allocation list according to the type of message Rule.
In a preferred embodiment of the invention, the SWIFT after parsing is reported according to the check item and verification rule Text carries out verification
Each tag entry is verified according to the verification rule, obtains check results.
In a preferred embodiment of the invention, the method also includes:
When the check results show that the SWIFT message checking passes through, by the SWIFT message accounting in database In.
In a preferred embodiment of the invention, the method also includes:
When the check results show that the SWIFT message checking does not pass through, the error message generated in record verification, And the error message is back to the client.
It is an object of the invention to provide a kind of resolution system of SWIFT message, the system comprises:
Message receiving module, the SWIFT message sent for receiving client by SWIFT channel;
Packet parsing module obtains each tag entry in the SWIFT message for parsing the SWIFT message;
Rule acquisition module, for obtaining check item corresponding with the SWIFT message and verification rule;
Message checking module, for carrying out school to the SWIFT message after parsing according to the check item and verification rule It tests.
In a preferred embodiment of the invention, the system also includes:
Allocation list, for saving the corresponding check item of different type of messages and verification rule, the type of message include Class message and debit class message are paid, the prime implicant of wanting of the verification rule includes that rule name, rule schemata and rule are retouched It states.
In a preferred embodiment of the invention, the system also includes:
Allocation list modified module, for when needing newly-increased check item and/or verification rule, by newly-increased check item and/ Or verification rules modification is into the allocation list.
In a preferred embodiment of the invention, the rule acquisition module includes:
Type of message obtains module, for obtaining the corresponding type of message of the SWIFT message;
Rule acquisition module is verified, for obtaining from the allocation list according to the type of message and the type of message Corresponding check item and verification rule.
In a preferred embodiment of the invention, the message checking module includes:
Check results determining module obtains school for verifying to each tag entry according to the verification rule Test result.
In a preferred embodiment of the invention, the system also includes:
Message data preserving module will be described for when the check results show that the SWIFT message checking passes through SWIFT message accounting is in the database.
In a preferred embodiment of the invention, the system also includes:
Error message sending module, for recording when the check results show that the SWIFT message checking does not pass through The error message generated in verification, and the error message is back to the client.
It is an object of the invention to provide a kind of computer equipment, including memory, processor and it is stored in storage On device and the computer program that can run on a processor, the processor realize one kind when executing the computer program The analytic method of SWIFT message.
It is an object of the invention to provide a kind of computer readable storage medium, the computer-readable storage medium Matter is stored with the analytic method for executing a kind of SWIFT message.
The beneficial effects of the present invention are provide a kind of analytic method of SWIFT message, the parsing system of SWIFT message System, computer equipment and computer readable storage medium save the check item of all types of SWIFT messages by increasing allocation list newly And verification rule, then according in allocation list check item and verification rule SWIFT message that client is sent verify, it is real If having showed newly-increased message checking item or modification verification rule, it then can be achieved by modifying allocation list, do not have to modification code, verification Program modularity, reusability are high.
For above and other objects, features and advantages of the invention can be clearer and more comprehensible, preferred embodiment is cited below particularly, And cooperate institute's accompanying drawings, it is described in detail below.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow chart of the analytic method of SWIFT message provided in an embodiment of the present invention;
Fig. 2 is the specific flow chart of the step S103 in Fig. 1;
Fig. 3 is a kind of flow chart of the embodiment two of the analytic method of SWIFT message provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of the embodiment three of the analytic method of SWIFT message provided in an embodiment of the present invention;
Fig. 5 is a kind of flow chart of the embodiment four of the analytic method of SWIFT message provided in an embodiment of the present invention;
Fig. 6 is a kind of flow chart of the embodiment five of the analytic method of SWIFT message provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of the resolution system of SWIFT message provided in an embodiment of the present invention;
Fig. 8 is that the structure of rule acquisition module in a kind of resolution system of SWIFT message provided in an embodiment of the present invention is shown It is intended to;
Fig. 9 is a kind of structural representation of the embodiment two of the resolution system of SWIFT message provided in an embodiment of the present invention Figure;
Figure 10 is a kind of structural representation of the embodiment three of the resolution system of SWIFT message provided in an embodiment of the present invention Figure;
Figure 11 is a kind of structural representation of the embodiment four of the resolution system of SWIFT message provided in an embodiment of the present invention Figure;
Figure 12 is a kind of structural representation of the embodiment five of the resolution system of SWIFT message provided in an embodiment of the present invention Figure;
Figure 13 is the flow diagram of the parsing of SWIFT message in specific embodiment provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Those skilled in the art will understand that embodiments of the present invention can be implemented as a kind of system, device, method or Computer program product.Therefore, disclose can be with specific implementation is as follows by the present invention, it may be assumed that complete hardware, complete software The form that (including firmware, resident software, microcode etc.) or hardware and software combine.
Currently, client passes through global cooperative bank's Financial Telecommunication association (Society For Worldwide Interbank Financial Telecommunication S.C., SWIFT) channel transmission message to bank's progress money transfer transactions, receive by bank To after client's message, need to carry out format check to client's message.This verification mode completes visitor in packet parsing program The verification of family message, including check item and verification rule, if check item or modification verification rule need to be increased under such mode newly, Code must be modified.Modifying code need to take a long time by series of steps such as waiting, task-cycle, functional test, operations.
The invention proposes a kind of analytic method of SWIFT message, referring to Fig. 1, SWIFT message provided by the invention Analytic method includes:
S101: the SWIFT message that client is sent by SWIFT channel is received.
In one embodiment of the invention, client sends SWIFT message to bank by SWIFT channel, and bank receives To after client's message, need to carry out format check to SWIFT message.
S102: parsing the SWIFT message, obtains each tag entry in the SWIFT message.
In one embodiment of the invention, SWIFT message, available each tag entry content of message are parsed.
S103: check item corresponding with the SWIFT message and verification rule are obtained.
Fig. 2 is the specific flow chart of step S103, referring to Fig. 2, the step includes:
S201: the corresponding type of message of the SWIFT message is obtained.
S202: obtained from the allocation list according to the type of message check item corresponding with the type of message and Verification rule.
Referring to Fig. 1, this method further include:
S104: the SWIFT message after parsing is verified according to the check item and verification rule.
In one embodiment of the invention, each tag entry is verified according to the verification rule, is obtained To check results.
Fig. 3 is a kind of flow chart of the embodiment two of the analytic method of SWIFT message provided in an embodiment of the present invention, is asked Refering to Fig. 3, in one embodiment of the invention, the method also includes:
S100: the allocation list of the corresponding check item of different type of messages and verification rule composition is constructed.
In this embodiment, allocation list is constructed for different type of messages.The type of message includes payment class report Text, debit class message, specifically, commonly payment class message include MT101, PAIN.001.001.03, PAIN.001.001.02 etc., debit class message include MT104, Pain.008.001.02 etc..
Allocation list mainly includes verifying regular definition table and message label format check defines table.The verification rule is wanted Prime implicant includes rule name, rule schemata and rule description.Verification rule uses regular expression.Message label format check Definition table wants prime implicant mainly and has tag entry, whether optional, verification rule, type of message, message version etc..
Fig. 4 is a kind of flow chart of the embodiment three of the analytic method of SWIFT message provided in an embodiment of the present invention, is asked Refering to Fig. 4, in one embodiment of the invention, the method also includes:
S105: when needing newly-increased check item and/or verification rule, by newly-increased check item and/or verification rules modification To in the allocation list.
Therefore, in the check item of message of the present invention and verification rule storage allocation list, if newly-increased message checking item or modification It when verification rule, only can be realized by modifying allocation list, do not have to modification code.
Fig. 5 is a kind of flow chart of the embodiment four of the analytic method of SWIFT message provided in an embodiment of the present invention, is asked Refering to Fig. 5, in one embodiment of the invention, the method also includes:
S106: when the check results show that the SWIFT message checking passes through, the SWIFT message accounting is existed In database.
Fig. 6 is a kind of flow chart of the embodiment five of the analytic method of SWIFT message provided in an embodiment of the present invention, is asked Refering to Fig. 6, in one embodiment of the invention, the method also includes:
S107: when the check results show that the SWIFT message checking does not pass through, the mistake generated in verification is recorded Information, and the error message is back to the client.
As above it is a kind of method of the parsing of SWIFT message provided by the invention, is saved by newly-increased allocation list all kinds of The check item of type SWIFT message and verification rule, then according in allocation list check item and verification rule client is sent SWIFT message is verified, then can be real by modification allocation list if realizing newly-increased message checking item or modification verification rule It is existing, do not have to modification code, checking routine modularization, reusability height.
The present invention also provides a kind of computer equipment, including memory, processor and storage are on a memory and can be The computer program run on processor, the processor realize a kind of solution of SWIFT message when executing the computer program Analysis method.
The present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage has execution A kind of analytic method of SWIFT message.
It should be noted that although describing the operation of the method for the present invention in the accompanying drawings with particular order, this is not required that Or hint must execute these operations in this particular order, or have to carry out operation shown in whole and be just able to achieve the phase The result of prestige.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or will One step is decomposed into execution of multiple steps.After describing exemplary embodiment of the invention, next, with reference to attached drawing pair The system of exemplary embodiment of the invention is introduced.The implementation of the system may refer to above-mentioned whole implementation, repetition Place repeats no more.
Fig. 7 is a kind of structural schematic diagram of the resolution system of SWIFT message provided in an embodiment of the present invention, referring to Fig. 7, The system includes:
Message receiving module 100, the SWIFT message sent for receiving client by SWIFT channel.
In one embodiment of the invention, client sends SWIFT message to bank by SWIFT channel, and bank receives To after client's message, need to carry out format check to SWIFT message.
Packet parsing module 200 obtains each tag entry in the SWIFT message for parsing the SWIFT message.
In one embodiment of the invention, SWIFT message, available each tag entry content of message are parsed.
Rule acquisition module 300, for obtaining check item corresponding with the SWIFT message and verification rule.
Fig. 8 is the specific flow chart of rule acquisition module 300, referring to Fig. 8, the rule acquisition module 300 includes:
Type of message obtains module 301, for obtaining the corresponding type of message of the SWIFT message.
Rule acquisition module 302 is verified, for obtaining from the allocation list according to the type of message and the message The corresponding check item of type and verification rule.
Referring to Fig. 7, the system further include:
Message checking module 400, for being carried out according to the check item and verification rule to the SWIFT message after parsing Verification.
Fig. 9 is a kind of structural representation of the embodiment two of the resolution system of SWIFT message provided in an embodiment of the present invention Figure, referring to Fig. 9, the system in this embodiment further include:
Allocation list constructs module 500, for constructing the corresponding check item of different type of messages and verification rule composition Allocation list.
In this embodiment, allocation list is constructed for different type of messages.The type of message includes payment class report Text, debit class message, specifically, commonly payment class message include MT101, PAIN.001.001.03, PAIN.001.001.02 etc., debit class message include MT104, Pain.008.001.02 etc..
Allocation list mainly includes verifying regular definition table and message label format check defines table.The verification rule is wanted Prime implicant includes rule name, rule schemata and rule description.Verification rule uses regular expression.Message label format check Definition table wants prime implicant mainly and has tag entry, whether optional, verification rule, type of message, message version etc..
Figure 10 is a kind of structural representation of the embodiment three of the resolution system of SWIFT message provided in an embodiment of the present invention Figure, referring to Fig. 10, the system in this embodiment further include:
Allocation list modified module 600, the check item for will increase newly when needing newly-increased check item and/or verification rule And/or verification rules modification is into the allocation list.
Therefore, in the check item of message of the present invention and verification rule storage allocation list, if newly-increased message checking item or modification It when verification rule, only can be realized by modifying allocation list, do not have to modification code.
In one embodiment of the invention, each tag entry is verified according to the verification rule, is obtained To check results.
Figure 11 is a kind of structural representation of the embodiment four of the resolution system of SWIFT message provided in an embodiment of the present invention Figure, please refers to Figure 11, in this embodiment the system further include:
Message data preserving module 700, for inciting somebody to action when the check results show that the SWIFT message checking passes through The SWIFT message accounting is in the database.
Figure 12 is a kind of structural representation of the embodiment five of the resolution system of SWIFT message provided in an embodiment of the present invention Figure, please refers to Figure 12, in this embodiment the system further include:
Error message sending module 800, for when the check results show that the SWIFT message checking does not pass through, The error message generated in record verification, and the error message is back to the client.
As above it is a kind of system of the parsing of SWIFT message provided by the invention, is saved by newly-increased allocation list all kinds of The check item of type SWIFT message and verification rule, then according in allocation list check item and verification rule client is sent SWIFT message is verified, then can be real by modification allocation list if realizing newly-increased message checking item or modification verification rule It is existing, do not have to modification code, checking routine modularization, reusability height.
In addition, although being referred to several unit modules of system in the above detailed description, it is this to divide only simultaneously Non-imposed.In fact, embodiment according to the present invention, the feature and function of two or more above-described units can To embody in a unit.Equally, the feature and function of an above-described unit can also be served as reasons with further division Multiple units embody.Terms used above " module " and " unit ", can be realize predetermined function software and/or Hardware.Although module described in following embodiment is preferably realized with software, the group of hardware or software and hardware The realization of conjunction is also that may and be contemplated.
Below with reference to specific embodiment, technical solution of the present invention is discussed in detail.Figure 13 is provided by the invention specific The flow diagram of the parsing of SWIFT message in embodiment, please refers to Figure 13, in this embodiment, the parsing packet of SWIFT message It includes:
S11: parsing client's message obtains a tag entry content in message;
S12: check item and verification rule are obtained from allocation list according to type of message;
S13: each tag entry is verified according to trading rules;
S14: when passed the verification, client's message information is recorded into database;
S15: when obstructed out-of-date, the misregistration information of verification;
S16: production replys message and returns to client.
That is, in this embodiment, after receiving client's message, parsing first to client's message, client is obtained Then each tag entry content in message obtains check information and is verified from allocation list, if verification passes through, records data Library simultaneously carries out subsequent operation, misregistration information and returns to client if verification does not pass through.
In conclusion the present invention provides a kind of methods of the parsing of SWIFT message, the resolution system of SWIFT message, meter Machine equipment and computer readable storage medium are calculated, check item and the school of all types of SWIFT messages are saved by increasing allocation list newly Test rule, then according in allocation list check item and verification rule to client send SWIFT message verify, realize If newly-increased message checking item or modification verification rule, then can be achieved by modifying allocation list, do not have to modification code, checking routine Modularization, reusability are high.
It is improvement on hardware (for example, to diode, crystal that the improvement of one technology, which can be distinguished clearly, Pipe, switch etc. circuit structures improvement) or software on improvement (improvement for method flow).However, with technology The improvement of development, current many method flows can be considered as directly improving for hardware circuit.Designer is almost All corresponding hardware circuit is obtained by the way that improved method flow to be programmed into hardware circuit.Therefore, it cannot be said that one The improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) just It is such a integrated circuit, logic function determines device programming by user.It is voluntarily programmed by designer Lai one Dedicated integrated circuit is designed without asking chip maker and made to a digital display circuit " integrated " on a piece of PLD Chip.Moreover, nowadays, substitution manually makes IC chip, and " logic compiler (logic is also used in this programming instead mostly Compiler) " software realizes that when it writes with program development software compiler used is similar, and before compiling Also handy specific programming language is write for source code, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kinds, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、 CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed Integrated Circuit is most generally used at present Hardware Description Language) and Verilog2.Those skilled in the art also will be apparent to the skilled artisan that only needs will be square Method process slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages, so that it may be readily available reality The now hardware circuit of the logical method process.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller Device: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited Memory controller is also implemented as a part of the control logic of memory.
It is also known in the art that other than realizing controller in a manner of pure computer readable program code, it is complete Entirely can by by method and step carry out programming in logic come so that controller with logic gate, switch, specific integrated circuit, programmable Logic controller realizes identical function with the form for being embedded in microcontroller etc..Therefore this controller is considered one kind Hardware component, and the structure that the device for realizing various functions for including in it can also be considered as in hardware component.Or Even, can will be considered as realizing the device of various functions either the software module of implementation method can be Hardware Subdivision again Structure in part.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when application.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can It realizes by means of software and necessary general hardware platform.Based on this understanding, the technical solution essence of the application On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer system (can be personal computer, server or network system etc.) executes the certain of each embodiment of the application or embodiment Method described in part.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The application can be used in numerous general or special purpose computing system environments or configuration.Such as: personal computer, clothes Business device computer, hand system or portable system, plate system, multicomputer system, microprocessor-based system, set Top box, programmable consumer electronics system, network PC, minicomputer, mainframe computer including any of the above system or system Distributed computing environment etc..
The application can describe in the general context of computer-executable instructions executed by a computer, such as program Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by Task is executed by the connected teleprocessing system of communication network.In a distributed computing environment, program module can be with In the local and remote computer storage media including storage system.
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that the application there are many deformation and Variation does not depart from spirit herein, it is desirable to which the attached claims include the essence of these deformations and variation without departing from the application Mind.

Claims (16)

1. a kind of analytic method of SWIFT message, which is characterized in that the described method includes:
Receive the SWIFT message that client is sent by SWIFT channel;
The SWIFT message is parsed, each tag entry in the SWIFT message is obtained;
Obtain check item corresponding with the SWIFT message and verification rule;
The SWIFT message after parsing is verified according to the check item and verification rule.
2. the method according to claim 1, wherein the method also includes:
The allocation list of the corresponding check item of different type of messages and verification rule composition is constructed, the type of message includes payment The prime implicant of wanting of class message and debit class message, the verification rule includes rule name, rule schemata and rule description.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
When needing newly-increased check item and/or verification rule, by newly-increased check item and/or verification rules modification to the configuration In table.
4. according to the method described in claim 3, it is characterized in that, obtain corresponding with SWIFT message check item and Verifying rule includes:
Obtain the corresponding type of message of the SWIFT message;
Check item corresponding with the type of message and verification rule are obtained from the allocation list according to the type of message.
5. according to the method described in claim 4, it is characterized in that, according to the check item and after verifying rule to parsing SWIFT message carries out verification
Each tag entry is verified according to the verification rule, obtains check results.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
When the check results show that the SWIFT message checking passes through, in the database by the SWIFT message accounting.
7. according to the method described in claim 5, it is characterized in that, the method also includes:
When the check results show that the SWIFT message checking does not pass through, the error message generated in record verification, and will The error message is back to the client.
8. a kind of resolution system of SWIFT message, which is characterized in that the system comprises:
Message receiving module, the SWIFT message sent for receiving client by SWIFT channel;
Packet parsing module obtains each tag entry in the SWIFT message for parsing the SWIFT message;
Rule acquisition module, for obtaining check item corresponding with the SWIFT message and verification rule;
Message checking module, for being verified according to the check item and verification rule to the SWIFT message after parsing.
9. system according to claim 8, which is characterized in that the system also includes:
Allocation list constructs module, for constructing the allocation list of the corresponding check item of different type of messages and verification rule composition, The type of message includes payment class message and debit class message, and the prime implicant of wanting of the verification rule includes rule name, rule Then format and rule description.
10. system according to claim 9, which is characterized in that the system also includes:
Allocation list modified module, for when needing newly-increased check item and/or verification rule, by newly-increased check item and/or school Rules modification is tested into the allocation list.
11. system according to claim 10, which is characterized in that the rule acquisition module includes:
Type of message obtains module, for obtaining the corresponding type of message of the SWIFT message;
Rule acquisition module is verified, it is corresponding with the type of message for being obtained from the allocation list according to the type of message Check item and verification rule.
12. system according to claim 11, which is characterized in that the message checking module includes:
Check results determining module obtains verification knot for verifying to each tag entry according to the verification rule Fruit.
13. system according to claim 12, which is characterized in that the system also includes:
Message data preserving module will be described for when the check results show that the SWIFT message checking passes through SWIFT message accounting is in the database.
14. system according to claim 12, which is characterized in that the system also includes:
Error message sending module, for when the check results show that the SWIFT message checking does not pass through, record to be verified The error message of middle generation, and the error message is back to the client.
15. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor realizes claim 1 to 7 any one power when executing the computer program Benefit requires the analytic method of the SWIFT message.
16. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has perform claim It is required that the analytic method of SWIFT message described in 1 to 7 any one claim.
CN201910592968.0A 2019-07-03 2019-07-03 A kind of analytic method, equipment and the system of SWIFT message Pending CN110336814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910592968.0A CN110336814A (en) 2019-07-03 2019-07-03 A kind of analytic method, equipment and the system of SWIFT message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910592968.0A CN110336814A (en) 2019-07-03 2019-07-03 A kind of analytic method, equipment and the system of SWIFT message

Publications (1)

Publication Number Publication Date
CN110336814A true CN110336814A (en) 2019-10-15

Family

ID=68142922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910592968.0A Pending CN110336814A (en) 2019-07-03 2019-07-03 A kind of analytic method, equipment and the system of SWIFT message

Country Status (1)

Country Link
CN (1) CN110336814A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111049813A (en) * 2019-12-04 2020-04-21 中国银行股份有限公司 Message assembling method, message analyzing method, message assembling device, message analyzing device and storage medium
CN111402057A (en) * 2020-03-31 2020-07-10 中国工商银行股份有限公司 Transaction message matching method, device, computing equipment and medium
CN113312108A (en) * 2021-06-18 2021-08-27 中国农业银行股份有限公司 SWIFT message checking method and device, electronic equipment and storage medium
CN114844956A (en) * 2022-04-15 2022-08-02 中国工商银行股份有限公司 Message checking method and device, storage medium and electronic equipment
CN115277887A (en) * 2022-08-03 2022-11-01 中国银行股份有限公司 Message content sending and processing method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008150121A1 (en) * 2007-06-05 2008-12-11 Shinhan Bank System and method for supporting business loan classified by visible trade step and program recording medium
US20140249979A1 (en) * 2013-03-01 2014-09-04 Secodix Corporation Enhancing the handling speed of electronic financial services messages
CN106130811A (en) * 2016-06-02 2016-11-16 中国工商银行股份有限公司 Data communications test method and device
CN106815725A (en) * 2016-12-30 2017-06-09 ***股份有限公司 A kind of transaction verification method and device
CN107231337A (en) * 2016-03-25 2017-10-03 阿里巴巴集团控股有限公司 Method of calibration and device applied to financial message
CN109032598A (en) * 2018-07-13 2018-12-18 中国银行股份有限公司 A kind of dynamic creation method and device of transaction flow
CN109379326A (en) * 2018-08-29 2019-02-22 中国建设银行股份有限公司 XML message rule method of calibration, equipment and storage medium
CN109889375A (en) * 2019-01-23 2019-06-14 中国银行股份有限公司 Service message method of calibration, device and computer storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008150121A1 (en) * 2007-06-05 2008-12-11 Shinhan Bank System and method for supporting business loan classified by visible trade step and program recording medium
US20140249979A1 (en) * 2013-03-01 2014-09-04 Secodix Corporation Enhancing the handling speed of electronic financial services messages
CN107231337A (en) * 2016-03-25 2017-10-03 阿里巴巴集团控股有限公司 Method of calibration and device applied to financial message
CN106130811A (en) * 2016-06-02 2016-11-16 中国工商银行股份有限公司 Data communications test method and device
CN106815725A (en) * 2016-12-30 2017-06-09 ***股份有限公司 A kind of transaction verification method and device
CN109032598A (en) * 2018-07-13 2018-12-18 中国银行股份有限公司 A kind of dynamic creation method and device of transaction flow
CN109379326A (en) * 2018-08-29 2019-02-22 中国建设银行股份有限公司 XML message rule method of calibration, equipment and storage medium
CN109889375A (en) * 2019-01-23 2019-06-14 中国银行股份有限公司 Service message method of calibration, device and computer storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111049813A (en) * 2019-12-04 2020-04-21 中国银行股份有限公司 Message assembling method, message analyzing method, message assembling device, message analyzing device and storage medium
CN111049813B (en) * 2019-12-04 2022-07-12 中国银行股份有限公司 Message assembling method, message analyzing method, message assembling device, message analyzing device and storage medium
CN111402057A (en) * 2020-03-31 2020-07-10 中国工商银行股份有限公司 Transaction message matching method, device, computing equipment and medium
CN113312108A (en) * 2021-06-18 2021-08-27 中国农业银行股份有限公司 SWIFT message checking method and device, electronic equipment and storage medium
CN113312108B (en) * 2021-06-18 2023-10-03 中国农业银行股份有限公司 SWIFT message verification method and device, electronic equipment and storage medium
CN114844956A (en) * 2022-04-15 2022-08-02 中国工商银行股份有限公司 Message checking method and device, storage medium and electronic equipment
CN114844956B (en) * 2022-04-15 2024-03-08 中国工商银行股份有限公司 Message verification method and device, storage medium and electronic equipment
CN115277887A (en) * 2022-08-03 2022-11-01 中国银行股份有限公司 Message content sending and processing method and device

Similar Documents

Publication Publication Date Title
CN110336814A (en) A kind of analytic method, equipment and the system of SWIFT message
US10318246B2 (en) System, method, and recording medium for validating computer documentation
CN109614102A (en) Code automatic generation method, device, electronic equipment and storage medium
CN114424257A (en) Automatic rendering and extraction of form data using machine learning
US8839198B2 (en) Automated analysis of composite applications
CN107016420A (en) A kind of method for processing business and device
CN107608798A (en) A kind of method for processing business and equipment
US20190089549A1 (en) Information processing system and charge calculation apparatus
CN107592334A (en) A kind of information popularization method, apparatus and equipment
CN110390182A (en) A kind of method, system and the equipment of determining small routine classification
CN105224542A (en) A kind of method and apparatus business object data being imported platform
WO2023284558A1 (en) Payment page sending based on aggregated code
CN110032515A (en) A kind of interface detection case generation method, device and storage medium
CN111159040A (en) Test data generation method, device, equipment and storage medium
WO2024055779A1 (en) Bill processing method and apparatus
EP3532922B1 (en) Processing application programming interface (api) queries based on variable schemas
CN112330502A (en) Contract auditing method and device, electronic equipment and storage medium
US20230222461A1 (en) System and method for payment processing telemetry
CN114548963B (en) Payment interaction processing method and device
CN109376285A (en) Data sorting verification method, electronic equipment and medium based on json format
CN111881025B (en) Automatic test task scheduling method, device and system
CN109214911A (en) The treating method and apparatus of bill reconciliation exception
CN110019045A (en) Method and device is landed in log
CN112596781A (en) Service execution and service configuration method and device
CN110597862A (en) Data entry method, equipment and system based on information system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191015