Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein certainly
Beginning to same or similar label eventually represents same or similar element or the member with same or like function
Part.The embodiments described below with reference to the accompanying drawings are exemplary, is only used for explaining the present invention, and can not
It is interpreted as limitation of the present invention.On the contrary, embodiments of the invention include falling into attached claims
All changes, modification and equivalent in the range of spirit and intension.
Fig. 1 is the schematic flow sheet for the method for calibration applied to financial message that one embodiment of the invention is proposed.
The present embodiment is configured to apply the verification in financial message with the method for calibration for being applied to financial message
Illustrated in device.Wherein, payment can should be for example arranged on applied to the calibration equipment of financial message
In system, the embodiment of the present invention is not restricted to this.
The method of the present embodiment can (ISO20022 be marked based on international finance service financial circles general message standard
It is accurate).
Referring to Fig. 1, this method includes:
S11:Financial message is obtained, and financial message is parsed to obtain the subtab of financial message.
Wherein, financial message is used to make to enter business communication, each financial machine on line between each financial institution
Structure can for example domestic and international banking institution, liquidation organization, or clearing mechanism etc..Financial message is for example domestic
Two pay out and pay system message, Construction Bank's message, external SWIFT messages, BOA messages, and CITI reports
Text etc..
Financial message follows ISO20022 standards.
It is understood that financial message can be made up of multistage label, for example, financial message includes one
Or multiple one-level labels, wherein, each one-level label includes one or more subtab, therefore,
With the difference of the type of service belonging to financial message, the label at the same level of identical financial message can have difference
Or identical check value.
Wherein, the type of service according to belonging to financial message, financial message can be divided into payment class message,
Non-pay class message, batch pay class message, and documentary information message.
Referring to Fig. 2, Fig. 2 is the one-level label schematic diagram of financial message in the embodiment of the present invention, wherein, branch
Pay the one-level label such as message essential information, former message essential information, message traffic channel information of class message
Deng;The one-level label of non-pay class message such as message essential information, former message essential information, message traffic
Channel information etc.;Batch pays the one-level label such as batch header packet information and batch group header of class message;
The one-level label of documentary information message is such as message essential information, former message essential information, routing iinformation.
In one embodiment, referring to Fig. 3, each one-level label includes one or more subtab, right
" service handling information " one-level label in Fig. 2 carries out fine granularity example, the one-level mark of non-pay class message
Sign in " service handling information " and can pay class message with peculiar " service condition code " subtab and file is logical
Know message peculiar " date of settlement " and " processing state " subtab, and the financial message of all types of service
Shared " response return code ", " response description information ", " processing date ", " netting date ", " netting play ",
And " business participate in mechanism line number " subtab, wherein, the shared son of the financial messages of all types of service
The value of label is consistent with type, that is, follows ISO20022 standards.
To pass through extensible markup language (Extensible Markup Language, XML) in the present embodiment
Mark financial message example.
Further, alternatively, referring to Fig. 4 and Fig. 5, Fig. 4 is to pay out to pay with two in the embodiment of the present invention
The XML file schematic diagram of the CNAPS messages (saps.360.001.01) of system, Fig. 5 is implemented for the present invention
With the XML file schematic diagram of Citibank's message CITI messages in example.
Wherein, label<xml>For illustrating the information such as XML versions and decoding process;Label<Document>
For illustrating XML NameSpaces, label<xml>And label<Document>It is necessity of all financial messages
Label.<BkToCstmrAcctRpt>It is CNAPS messages saps.360.001.01 root label;<MsgId>
The subtab for being, wherein,<MsgId>The path of subtab is<BkToCstmrAcctRpt>/<GrpHdr>.
It is identical<MsgId>Subtab is in the path of CITI messages<CstmrCdtTrfInitn>/<GrpHdr>.Can be with
Understand be, although in CNAPS messages<MsgId>In subtab and CITI messages<MsgId>Son mark
The value of label, attribute, and type are identical, but path is differed, in CNAPS messages<CreDtTm>
In subtab and CITI messages<CreDtTm>Subtab, by that analogy.
S12:The school of basic XML tag checker corresponding with the key assignments of subtab is read from the first allocation list
Test value, and read from the second allocation list the check value of the feature checker of financial message.
In one embodiment, the checker verified to financial message includes one or more one-level mark
Checker is signed, each one-level label checker includes one or more basic XML tag checker, its
In, one-level label checker can be used for verifying the path of the subtab of financial message, basic XMl
Label checker can be used for value to the subtab of financial message, attribute, and type is verified.
It is alternatively possible to be given birth to previously according to basic XML tag checker corresponding with the subtab of financial message
Into the first allocation list, and previously according to feature checker corresponding with the subtab of financial message generation second
Allocation list.
It is understood that previously according to basic XML tag checker corresponding with the subtab of financial message
Generate the first allocation list, i.e. according to value, attribute of each financial institution to different or identical subtab,
And the basic XML tag checker of verification specification generation of type, and by the key assignments of subtab and corresponding base
Plinth XML tag checker generates the first allocation list, further, previously according to the subtab pair with financial message
The feature checker answered generates the second allocation list, i.e. according to each financial institution to different or identical
The verification specification of the characteristic point of label generates the second allocation list, after the first allocation list and the second allocation list is generated,
Can also be by allocation list storage in the server, this is not restricted.
The subtab of financial message is generally got, for example, getting in Fig. 4 in CNAPS messages
<MsgId>Subtab and<CreDtTm>In subtab, and Fig. 5 in CITI messages<MsgId>Subtab
With<CreDtTm>Subtab, can first be positioned<MsgId>Subtab and<CreDtTm>Subtab is in different finance
Path in message.For example, in CNAPS messages,<MsgId>Subtab and<CreDtTm>Subtab
Path is<BkToCstmrAcctRpt>/<GrpHdr>, and in CITI messages,<MsgId>Subtab and
<CreDtTm>The path of subtab is<CstmrCdtTrfInitn>/<GrpHdr>, according to different paths
Navigate to<MsgId>Subtab and<CreDtTm>After subtab, it can verify<MsgId>Subtab and
<CreDtTm>The value of subtab, attribute, and type, due to identical subtab in different financial messages
Path is different, it is therefore desirable to which, to subtab duplication check, the verification of financial message is inefficient.
And in embodiments of the invention, can be from the first allocation list after the subtab of financial message is got
The middle check value for reading basic XML tag checker corresponding with the key assignments of subtab, and configured from the 3rd
Path corresponding with the key assignments of subtab check value is obtained in table, wherein, the first allocation list is basis and finance
What the corresponding basic XML tag checker of subtab of message was previously generated, the 3rd allocation list is basis and gold
Melt what the corresponding one-level label checker of one-level label of message was previously generated, and, from the second allocation list
The check value of the feature checker of financial message is read, the second allocation list is according to the subtab with financial message
What corresponding feature checker was previously generated, it is possible to achieve according to the key assignments of subtab from the first allocation list,
The check value that correspondence checker is transferred in two allocation lists, and the 3rd allocation list is verified, it is not necessary to not
Duplication check is carried out with the subtab under path, the verification efficiency of financial message is lifted.
S13:According to the check value of the check value of basic XML tag checker and feature checker to financial message
Verified.
Alternatively, according to the check value of the check value of basic XML tag checker and feature checker to finance
Message is verified, including:According to subtab of the check value of basic XML tag checker to financial message
Value, attribute, and type verified;The son of financial message is marked according to the check value of feature checker
The characteristic point of label is verified.
For example, by taking CNAPS messages as an example, using subtab of the basic XML tag checker to CNAPS messages
Value, attribute, and type carry out verification can be as follows with example, wherein, basic XML tag checker
Check value can include the value based on ISO20022 standards, the attribute based on ISO20022 standards, Yi Jiji
In the type of ISO20022 standards, when subtab is " early warning value notification type ", based on ISO20022
The value of standard may be " ENAB " (early warning unlatching) or " DISA " (early warning releasing), it is assumed that CNAPS
The value based on ISO20022 standards of message subtab " early warning value notification type " is " ENAB ", then when connecing
When the value of the CNAPS messages subtab " early warning value notification type " received is " ENAB ", the subtab is " pre-
The value of alert value notification type " is legal, and when the CNAPS messages subtab " early warning value notification type " received
Value be " DISA " when, the value of the subtab " early warning value notification type " is illegal, with this complete docking
The verification of the value of the CNAPS messages subtab " early warning value notification type " received;Based on ISO20022 standards
Attribute may for " [1..1] " (represent CNAPS messages must have subtab " early warning value notification type ",
If the CNAPS messages received do not have subtab " early warning value notification type ", to the CNAPS received
Message format can not be parsed normally) or " [0..1] " (represent that CNAPS messages not essential subtabs is " pre-
Alert value notification type ", if the CNAPS messages received do not fill in subtab " early warning value notification type ",
CNAPS message formats will not parse mistake), the CNAPS message subtab " early warning to receiving is completed with this
The verification of the attribute of value notification type ";Type based on ISO20022 standards is, for example, " Max4Text " (text
This form, comprising letter and number, shortest length is 1, and maximum length is 4, when length is more than 4, is reported an error),
Assuming that the type based on ISO20022 standards of CNAPS messages subtab " early warning value notification type " is
" Max4Text ", then when the type of the CNAPS messages subtab " early warning value notification type " received is
When " 12x ", the value of the subtab " early warning value notification type " is legal, and when the CNAPS messages received
When the type of subtab " early warning value notification type " is " 12345 ", the subtab " early warning value notification type "
Value it is illegal, the value of the CNAPS messages subtab " early warning value notification type " to receiving is completed with this
Verification.Type based on ISO20022 standards can be with for example, MaxNNumericText, represents numeral
String, minimum 1, most N numerals;ISODate:The date is represented, form is yyyy-mm-dd;
ISODateTime:Date and time is represented, form is yyyy-mm-ddTHH:MM:SS.
In the present embodiment, by obtaining the subtab of financial message, and according to basic XML tag checker
The check value of check value and feature checker is verified to financial message, can effectively lift financial message
Verify efficiency.
Fig. 6 is the flow signal for the method for calibration applied to financial message that another embodiment of the present invention is proposed
Figure.
The present embodiment is configured to apply the verification in financial message with the method for calibration for being applied to financial message
Illustrated in device.Wherein, payment can should be for example arranged on applied to the calibration equipment of financial message
In system, the embodiment of the present invention is not restricted to this.
The method of the present embodiment can (ISO20022 be marked based on international finance service financial circles general message standard
It is accurate).
Referring to Fig. 6, this method includes:
S601:Configured according to basic XML tag checker generation first corresponding with the subtab of financial message
Table.
It is understood that previously according to basic XML tag checker corresponding with the subtab of financial message
Generate the first allocation list, i.e. according to value, attribute of each financial institution to different or identical subtab,
And the basic XML tag checker of verification specification generation of type, and by the key assignments of subtab and corresponding base
Plinth XML tag checker generates the first allocation list.
Referring to Fig. 7, in the present embodiment based on the first allocation list exemplified by XML tag verification allocation list.Its
In, according to ISO20022 standards, previously according to basic XML tag school corresponding with the subtab of financial message
Test device and generate the first allocation list, for example, for subtab, it has the basis of 3 ISO20022 standard dimensions
The check value of XML tag checker, i.e. the value based on ISO20022 standards, based on ISO20022 standards
Attribute, and the type based on ISO20022 standards, basic XML tag checker can be 3 from this
ISO20022 standard dimensions are verified to subtab.All basic XML tags verified to subtab
The check value of checker is stored in the server in the form of the first allocation list, wherein, key assignments (key) is
COMMON represents that general purpose I SO20022 verifies standard, and key assignments (key) is that financial institution's mark represents the finance
There is special specification in mechanism to subtab verification.
The special specification verified for financial institution to subtab, can be configured by S602.Referring to figure
7, CNAPS messages<MsgId>The type checking value of subtab is different.If financial institution is to subtab school
Special specification is tested, basic XML tag checker can read the key-value pair with subtab from the second checklist
The check value for the feature checker answered carries out characteristic point verification.
S602:Second allocation list is generated according to feature checker corresponding with the subtab of financial message.
It is understood that previously according to feature checker corresponding with the subtab of financial message generation second
Allocation list, i.e. according to verification specification of each financial institution to the characteristic point of different or identical subtab
The second allocation list is generated, after the first allocation list and the second allocation list is generated, allocation list can also be stored in
In server, this is not restricted.
Referring to Fig. 8, in the present embodiment so that the second allocation list is specific message particularization allocation list as an example.Wherein,
The second allocation list can be generated previously according to feature checker corresponding with the subtab of financial message, such as it is literary
Part notice message, U.S. silver cmt.052 messages,<CdtDbtInd>The legitimate value of subtab has CRDT and DBIT.
If credit business,<CdtDbtInd>The value of subtab is CRDT, if debit transaction,
<CdtDbtInd>The value of subtab is DBIT;Such as pay in class message, pain.001 messages
<EndToEndId>In subtab, the check value of basic XML tag checker, and ISO20022 standards
Type be Text Max 35 (most long 35) of char types, still, the Citibank<EndToEndId>Son mark
It is 15 to sign length, and Bank of America-National Trust & Savings Association<EndToEndId>Subtab, is 15, root according to US ACH systems
It it is 16 according to US Wires systems.The check value of the feature checker of financial message can be configured second
In allocation list.
S603:3rd allocation list is generated according to one-level label checker corresponding with the one-level label of financial message.
Verify and match somebody with somebody by one-level label " message essential information " of the 3rd allocation list referring to Fig. 9, in the present embodiment
Exemplified by putting table.Wherein it is possible to previously according to one-level label checker corresponding with the one-level label of financial message
The 3rd allocation list is generated, one-level label is made up of the subtab of at least one, corresponding, one-level label school
Device is tested to be made up of the basic XML tag checker of at least one.The subtab of different financial institution financial message
Path it is different or identical, in embodiments of the invention, in order that one-level label checker can verify it is all
The different financial message of structure, one-level label checker can be added and the path of subtab is verified.
Alternatively, referring to Fig. 9, one-level label " message essential information " verification allocation list can include three dimensions
Information, one-level label " message essential information " verification allocation list left column for composition one-level label son
XML tag checker based on label, right column, centre is classified as different financial institution, the path of subtab.
S604:Financial message is obtained, and financial message is parsed to obtain the subtab of financial message.
Wherein, financial message is used to make to enter business communication, each financial machine on line between each financial institution
Structure can for example domestic and international banking institution, liquidation organization, or clearing mechanism etc..Financial message is for example domestic
Two pay out and pay system message, Construction Bank's message, external SWIFT messages, BOA messages, and CITI reports
Text etc..
Financial message follows ISO20022 standards.
It is understood that financial message can be made up of multistage label, for example, financial message includes one
Or multiple one-level labels, wherein, each one-level label includes one or more subtab, therefore,
With the difference of the type of service belonging to financial message, the label at the same level of identical financial message can have difference
Or identical check value.
Wherein, the type of service according to belonging to financial message, financial message can be divided into payment class message,
Non-pay class message, batch pay class message, and documentary information message.
Referring to Fig. 2, Fig. 2 is the one-level label schematic diagram of financial message in the embodiment of the present invention, wherein, branch
Pay the one-level label such as message essential information, former message essential information, message traffic channel information of class message
Deng;The one-level label of non-pay class message such as message essential information, former message essential information, message traffic
Channel information etc.;Batch pays the one-level label such as batch header packet information and batch group header of class message;
The one-level label of documentary information message is such as message essential information, former message essential information, routing iinformation.
In one embodiment, referring to Fig. 3, each one-level label includes one or more subtab, right
" service handling information " one-level label in Fig. 2 carries out fine granularity example, the one-level mark of non-pay class message
Sign in " service handling information " and can pay class message with peculiar " service condition code " subtab and file is logical
Know message peculiar " date of settlement " and " processing state " subtab, and the financial message of all types of service
Shared " response return code ", " response description information ", " processing date ", " netting date ", " netting play ",
And " business participate in mechanism line number " subtab, wherein, the shared son of the financial messages of all types of service
The value of label is consistent with type, that is, follows ISO20022 standards.
To pass through extensible markup language (Extensible Markup Language, XML) in the present embodiment
Mark financial message example.
Further, alternatively, referring to Fig. 4 and Fig. 5, Fig. 4 is to pay out to pay with two in the embodiment of the present invention
The XML file schematic diagram of the CNAPS messages (saps.360.001.01) of system, Fig. 5 is implemented for the present invention
With the XML file schematic diagram of Citibank's message CITI messages in example.
Wherein, label<xml>For illustrating the information such as XML versions and decoding process;Label<Document>
For illustrating XML NameSpaces, label<xml>And label<Document>It is necessity of all financial messages
Label.<BkToCstmrAcctRpt>It is CNAPS messages saps.360.001.01 root label;<MsgId>
The subtab for being, wherein,<MsgId>The path of subtab is<BkToCstmrAcctRpt>/<GrpHdr>.
It is identical<MsgId>Subtab is in the path of CITI messages<CstmrCdtTrfInitn>/<GrpHdr>.Can be with
Understand be, although in CNAPS messages<MsgId>In subtab and CITI messages<MsgId>Son mark
The value of label, attribute, and type are identical, but path is differed, in CNAPS messages<CreDtTm>
In subtab and CITI messages<CreDtTm>Subtab, by that analogy.
S605:Object identifier device corresponding with the type of service belonging to financial message is obtained, wherein, target school
Test device and include the one-level label checker of at least one, each one-level label checker includes the base of at least one
Plinth XML tag checker.
Referring to Figure 10, Figure 10 is the structural representation of object identifier device in the embodiment of the present invention, wherein, figure
10 include the object identifier device 101 that the type of service according to belonging to financial message is classified, one-level label school
Test device 102, and basic XML tag checker 103.Object identifier device is by the one-level label school of at least one
Device composition is tested, one-level label checker is made up of the basic XML tag checker of at least one.Different mesh
Mark the different or identical and different object identifier device of one-level label checker included in checker 101
The number of one-level label checker included in 101 is different or identical.Furthermore, it is to be understood that
Basic XML tag checker included in different one-level label checkers 102 is different or identical, and
The number difference or phase of basic XML tag checker included in different one-level label checkers 102
Together.
In one alternate embodiment, referring to Figure 11, the type of service according to belonging to financial message can be with
Financial message is divided into payment class message, non-pay class message, batch and pays class message, and file leads to
Know message.It is understood that the one-level label checker included due to the financial message of identical services type
Total class may it is identical, therefore, it can according to the type of service of financial message encapsulate four general checkers,
The general checker includes the one-level label checker of at least one.
S606:Base corresponding with the key assignments of subtab is obtained from the basic XML tag checker of at least one
Plinth XML tag checker.
For example, during actually verification, can first judge the type of service belonging to the financial message, and
General checker corresponding with the type of service belonging to financial message is obtained as object identifier device, subsequently from mesh
Mark and base corresponding with the key assignments of subtab is obtained in the basic XML tag checker of at least one in checker
Plinth XML tag checker, it is not necessary to travel through the basic XML tag checker of all subtabs, is reduced
The number for the basic XML tag checker that the subtab of verification financial message needs, lifting financial message
Verify efficiency.
S607:Basic XML tag checker corresponding with the key assignments of subtab is read from the first allocation list
Check value, and from the second allocation list read financial message feature checker check value.
, can be from the first allocation list after the subtab of financial message is got in embodiments of the invention
The check value of basic XML tag checker corresponding with the key assignments of subtab is read, wherein, the first allocation list
It is to be previously generated according to basic XML tag checker corresponding with the subtab of financial message, and, from
The check value of the feature checker of financial message is read in second allocation list, the second allocation list is basis and finance
What the corresponding feature checker of subtab of message was previously generated, it is possible to achieve according to the key assignments of subtab from
The check value that correspondence checker is transferred in one allocation list, the second allocation list is verified, it is not necessary to not going the same way
Subtab under footpath carries out duplication check, lifts the verification efficiency of financial message.
S608:Value, attribute according to the check value of basic XML tag checker to the subtab of financial message,
And type is verified.
For example, by taking CNAPS messages as an example, being marked using basic XML tag checker to the son of CNAPS messages
The value of label, attribute, and type progress verification can be as follows with example, wherein, basic XML tag checker
Check value can include the value based on ISO20022 standards, the attribute based on ISO20022 standards, and
Based on the type of ISO20022 standards, when subtab is " early warning value notification type ", based on ISO20022
The value of standard may be " ENAB " (early warning unlatching) or " DISA " (early warning releasing), it is assumed that CNAPS
The value based on ISO20022 standards of message subtab " early warning value notification type " is " ENAB ", then when connecing
When the value of the CNAPS messages subtab " early warning value notification type " received is " ENAB ", the subtab is " pre-
The value of alert value notification type " is legal, and when the CNAPS messages subtab " early warning value notification type " received
Value be " DISA " when, the value of the subtab " early warning value notification type " is illegal, with this complete docking
The verification of the value of the CNAPS messages subtab " early warning value notification type " received;Based on ISO20022 standards
Attribute may for " [1..1] " (represent CNAPS messages must have subtab " early warning value notification type ",
If the CNAPS messages received do not have subtab " early warning value notification type ", to the CNAPS received
Message format can not be parsed normally) or " [0..1] " (represent that CNAPS messages not essential subtabs is " pre-
Alert value notification type ", if the CNAPS messages received do not fill in subtab " early warning value notification type ",
CNAPS message formats will not parse mistake), the CNAPS message subtab " early warning to receiving is completed with this
The verification of the attribute of value notification type ";Type based on ISO20022 standards is, for example, " Max4Text " (text
This form, comprising letter and number, shortest length is 1, and maximum length is 4, when length is more than 4, is reported an error),
Assuming that the type based on ISO20022 standards of CNAPS messages subtab " early warning value notification type " is
" Max4Text ", then when the type of the CNAPS messages subtab " early warning value notification type " received is
When " 12x ", the value of the subtab " early warning value notification type " is legal, and when the CNAPS messages received
When the type of subtab " early warning value notification type " is " 12345 ", the subtab " early warning value notification type "
Value it is illegal, the value of the CNAPS messages subtab " early warning value notification type " to receiving is completed with this
Verification.Type based on ISO20022 standards can be with for example, MaxNNumericText, represents numeral
String, minimum 1, most N numerals;ISODate:The date is represented, form is yyyy-mm-dd;
ISODateTime:Date and time is represented, form is yyyy-mm-ddTHH:MM:SS.
S609:The characteristic point of the subtab of financial message is verified according to the check value of feature checker.
For example, after the check value of feature checker of financial message is read from the second allocation list, according to spy
The check value for levying checker is verified to the characteristic point of the subtab of financial message.
S610:Path corresponding with the key assignments of subtab check value is obtained from the 3rd allocation list.
, can also be from the 3rd allocation list after the subtab of financial message is got in embodiments of the invention
Middle acquisition path corresponding with the key assignments of subtab check value, wherein, the 3rd allocation list is reported according to finance
What the corresponding one-level label checker of one-level label of text was previously generated, it is possible to achieve according to the key assignments of subtab
The check value that correspondence checker is transferred from the 3rd allocation list carries out path verification, is ensureing financial message mark
In the case of the accuracy for signing path verification, the verification efficiency of financial message is lifted.
S611:The path of the subtab of financial message is verified according to corresponding path check value.
For example, after the path check value of financial message is read from the 3rd allocation list, according to path check value
The path of the subtab of financial message is verified.
In the present embodiment, the path of subtab is verified by increasing one-level label, makes one-level label checker
The verification for the financial message that any structure is differed is can be suitably used for, is ensureing the verification of financial message subtab path
Accuracy in the case of, lifted financial message verification efficiency.By first judging belonging to the financial message
Type of service, and acquisition general checker corresponding with the type of service belonging to financial message is used as object identifier
Device, is obtained and subtab subsequently from the basic XML tag checker of at least one in object identifier device
The corresponding basic XML tag checker of key assignments, it is not necessary to travel through the basic XML tag of all subtabs
Checker, reduces the number for the basic XML tag checker that the subtab of verification financial message needs, carries
Rise the verification efficiency of financial message.By obtaining the subtab of financial message, and according to basic XML tag school
The check value of the check value and feature checker of testing device is verified to financial message, can effectively lift finance
The verification efficiency of message.
Figure 12 is the structural representation for the calibration equipment applied to financial message that another embodiment of the present invention is proposed
Figure.
Wherein, it should for example can be arranged on applied to the calibration equipment of financial message in payment system, the present invention
Embodiment is not restricted to this.
The method of the present embodiment can (ISO20022 be marked based on international finance service financial circles general message standard
It is accurate).
Referring to Figure 12, the device 120 includes:First acquisition module 121, read module 122, and school
Test module 123.Wherein,
First acquisition module 121, is parsed to obtain gold for obtaining financial message, and to financial message
Melt the subtab of message.
Read module 122, for reading basic XML corresponding with the key assignments of subtab from the first allocation list
The check value of label checker, and from the second allocation list read financial message feature checker verification
Value.
Correction verification module 123, for the check value according to basic XML tag checker and the school of feature checker
Value is tested to verify financial message.
Alternatively, in some embodiments, referring to Figure 13, the device 120 also includes:
Second acquisition module 124, for obtaining object identifier corresponding with the type of service belonging to financial message
Device, wherein, object identifier device includes the one-level label checker of at least one, each one-level label checker
Basic XML tag checker comprising at least one.
3rd acquisition module 125, for being obtained from the basic XML tag checker of at least one and son mark
The corresponding basic XML tag checker of key assignments of label.
4th acquisition module 126, for obtaining path corresponding with the key assignments of subtab from the 3rd allocation list
Check value.
Configuration module 127, for according to basic XML tag checker corresponding with the subtab of financial message
Generate the first allocation list;Second allocation list is generated according to feature checker corresponding with the subtab of financial message.
Configuration module 127 is additionally operable to:According to one-level label checker corresponding with the one-level label of financial message
Generate the 3rd allocation list.
Alternatively, in some embodiments, referring to Figure 13, correction verification module 123 also includes:
Back ground Information verify submodule 1231, for according to the check value of basic XML tag checker to finance
The value of the subtab of message, attribute, and type are verified.
Characteristic point verifies submodule 1232, and the son of financial message is marked for the check value according to feature checker
The characteristic point of label is verified.
Path verification submodule 1233 is used for according to corresponding path check value to the subtab of financial message
Path is verified.
It should be noted that the explanation of the foregoing method of calibration embodiment to applied to financial message is also fitted
For the calibration equipment 120 applied to financial message of the embodiment, its realization principle is similar, herein no longer
Repeat.
In the present embodiment, the path of subtab is verified by increasing one-level label, makes one-level label checker
The verification for the financial message that any structure is differed is can be suitably used for, is ensureing the verification of financial message subtab path
Accuracy in the case of, lifted financial message verification efficiency.By first judging belonging to the financial message
Type of service, and acquisition general checker corresponding with the type of service belonging to financial message is used as object identifier
Device, is obtained and subtab subsequently from the basic XML tag checker of at least one in object identifier device
The corresponding basic XML tag checker of key assignments, it is not necessary to travel through the basic XML tag of all subtabs
Checker, reduces the number for the basic XML tag checker that the subtab of verification financial message needs, carries
Rise the verification efficiency of financial message.By obtaining the subtab of financial message, and according to basic XML tag school
The check value of the check value and feature checker of testing device is verified to financial message, can effectively lift finance
The verification efficiency of message.
It should be noted that in the description of the invention, term " first ", " second " etc. are only used for retouching
Purpose is stated, and it is not intended that indicating or implying relative importance.In addition, in the description of the invention, removing
Non- to be otherwise noted, " multiple " are meant that two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, table
Show including it is one or more be used for realize specific logical function or process the step of executable instruction code
Module, fragment or part, and the preferred embodiment of the present invention scope include other realization, its
In can not by order that is shown or discussing, including according to involved function by it is basic and meanwhile in the way of or
In the opposite order, perform function is carried out, this should be by embodiments of the invention person of ordinary skill in the field
Understood.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.
In the above-described embodiment, multiple steps or method can in memory and by suitable instruction be held with storage
The software or firmware that row system is performed are realized.If for example, realized with hardware, and in another embodiment party
It is the same in formula, it can be realized with any one of following technology well known in the art or their combination:Have
For the discrete logic for the logic gates that logic function is realized to data-signal, with suitable combination
The application specific integrated circuit of logic gates, programmable gate array (PGA), field programmable gate array (FPGA)
Deng.
Those skilled in the art are appreciated that to realize the whole or portion that above-described embodiment method is carried
It can be by program step by step to instruct the hardware of correlation to complete, described program can be stored in a kind of meter
In calculation machine readable storage medium storing program for executing, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing module,
Can also be that unit is individually physically present, can also two or more units be integrated in a module
In.Above-mentioned integrated module can both be realized in the form of hardware, it would however also be possible to employ software function module
Form is realized.If the integrated module is realized using in the form of software function module and is used as independent product
Sale in use, can also be stored in a computer read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ",
The description of " specific example " or " some examples " etc. means to combine the specific spy that the embodiment or example are described
Levy, structure, material or feature are contained at least one embodiment of the present invention or example.In this explanation
In book, identical embodiment or example are not necessarily referring to the schematic representation of above-mentioned term.Moreover, retouching
Specific features, structure, material or the feature stated can be in any one or more embodiments or example
Combine in an appropriate manner.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment
It is exemplary, it is impossible to be interpreted as limitation of the present invention, one of ordinary skill in the art is the present invention's
In the range of above-described embodiment can be changed, change, replace and modification.