A method, device and medium for outputting domain data of a financial IC card transaction 55
By configuring the verification architecture and initializing public labels, the financial IC card transaction data of 55 fields is parsed and classified step by step, solving the problem of the complexity of financial IC card transaction development, realizing the visual logical decomposition and data display, reducing the learning difficulty and improving development efficiency.
Patent Information
- Application Number
- CN202211164250.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-23
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2042-09-23
AI Technical Summary
The development of financial IC card transactions is complex, making it difficult for beginners to get started quickly, and for developers and maintenance personnel to explain and analyze related issues in detail through visualization.
A method for outputting 55-domain data of financial IC card transactions is provided, including tag initialization, hierarchical parsing and classification output. It is achieved by configuring the verification architecture, setting initialization input parameters, generating initialization public tags, and using the tag initialization unit, tag hierarchical parsing unit and 55-domain data classification output unit for logical decomposition and visualization.
It reduces the learning difficulty of developing financial IC card transactions, improves the ease of learning and visualization of development, helps beginners quickly understand relevant knowledge, saves learning and explanation time, and improves the work efficiency of developers.
Smart Images

Figure CN115471337B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of IC card communication and transaction development technology, specifically to the field of terminal equipment, and particularly to a method, apparatus and medium for outputting data in the 55 domain of financial IC card transactions. Background Technology
[0002] Currently, in the underlying development of communication and transactions for financial IC cards, learning about financial IC card transactions is a very complex process, involving various data and the interplay between hardware and software. This makes it difficult for novice developers to quickly get started. Similarly, for development and maintenance personnel, it is difficult to explain the entire development process and analyze related issues in detail through visualization of these complex IC card transaction data. Summary of the Invention
[0003] The purpose of this invention is to address the aforementioned problems in the prior art by providing a method, apparatus, and medium for outputting 55-domain data of financial IC card transactions, thereby resolving the difficulties in learning, explaining, and analyzing the development of financial IC card transactions in the prior art.
[0004] To solve the above-mentioned technical problems, the specific technical solution of the present invention is as follows:
[0005] On one hand, the present invention provides a method for outputting 55-domain data of financial IC card transactions, comprising the following steps:
[0006] Tag initialization:
[0007] Configure the verification architecture, set the initialization input parameters, and generate an initialization common label based on the verification architecture and the initialization input parameters;
[0008] Tag step-by-step parsing:
[0009] Based on the verification architecture and the initial public label, a step-by-step parsing operation of the label data is performed to obtain the label dataset;
[0010] 55-domain data classification output:
[0011] Based on the aforementioned validation architecture and the aforementioned label dataset, 55 domain result data are classified and output.
[0012] As an improved solution, the configuration verification architecture includes:
[0013] Configure the tag initialization module, set the common parameter area in the tag initialization module, and obtain the first sub-architecture;
[0014] The card reader communication analysis module is configured, the CHIP communication control unit and the label analysis control unit are arranged in the label initialization module, and a second sub-architecture is obtained.
[0015] The 55 domain data organization module is configured, the query transaction 55 domain data organization unit and the consumption transaction 55 domain data organization unit are arranged in the 55 domain data organization module, and a third sub-architecture is obtained.
[0016] The first sub-architecture, the second sub-architecture and the third sub-architecture constitute the verification architecture.
[0017] As an improved scheme, the initialization input parameter comprises: counter number data and transaction amount data.
[0018] The initialization public label is generated based on the verification architecture and the initialization input parameter, comprising:
[0019] The counter number data and the transaction amount data are input into the public parameter area.
[0020] The label initialization module is called to read the counter number data and the transaction amount data in the public parameter area, and the label initialization module is called to generate a teller number label and a transaction amount label based on the counter number data and the transaction amount data.
[0021] The label initialization module is called to obtain first time data, and the label initialization module is called to generate a time data label based on the first time data.
[0022] The label initialization module is called to set a first fixed value, a second fixed value, a third fixed value and a fourth fixed value.
[0023] The teller number label, the transaction amount label, the time data label, the first fixed value, the second fixed value, the third fixed value and the fourth fixed value are packaged to obtain the initialization public label.
[0024] As an improved scheme, the label data step-by-step analysis operation comprises:
[0025] The card reader communication analysis module is called to generate first label data based on the CHIP communication control unit, the label analysis control unit, the first fixed value and the second fixed value.
[0026] The card reader communication analysis module is called to generate second label data based on the CHIP communication control unit, the label analysis control unit and the first label data.
[0027] The card reader communication analysis module is invoked to generate third label data based on the CHIP communication control unit, the label analysis control unit, the second label data, the transaction amount label, the time data label, and the third fixed value;
[0028] The first label data, the second label data, the third label data, the teller number label, and the fourth fixed value are packaged to obtain the label data set.
[0029] As an improved solution, the first label data is generated based on the CHIP communication control unit, the label analysis control unit, the first fixed value, and the second fixed value, including:
[0030] The CHIP communication control unit is invoked based on the first fixed value to generate a first CHIP instruction corresponding to a PSE selection function; the label analysis control unit is invoked to obtain first response information of the card reader to the first CHIP instruction; and the label analysis control unit is invoked to analyze the first response information to obtain first sub-label data.
[0031] The CHIP communication control unit is invoked based on the second fixed value to generate a second CHIP instruction corresponding to a PSE directory file reading function; the label analysis control unit is invoked to obtain second response information of the card reader to the second CHIP instruction; and the label analysis control unit is invoked to analyze the second response information to obtain second sub-label data.
[0032] The first sub-label data and the second sub-label data are packaged to obtain the first label data.
[0033] As an improved solution, the second label data is generated based on the CHIP communication control unit, the label analysis control unit, and the first label data, including:
[0034] The CHIP communication control unit is invoked based on the second sub-label data to generate a third CHIP instruction corresponding to an ADF selection function.
[0035] The label analysis control unit is invoked to obtain third response information of the card reader to the third CHIP instruction.
[0036] The label analysis control unit is invoked to analyze the third response information to obtain third sub-label data and fourth sub-label data.
[0037] The third sub-label data and the fourth sub-label data are packaged to obtain the second label data.
[0038] As an improved scheme, the third label data is generated based on the CHIP communication control unit, the label analysis control unit, the second label data, the transaction amount label, the time data label and the third fixed value, and the third label data is generated by:
[0039] The CHIP communication control unit is called based on the third fixed value and the third sub-label data to generate a fourth CHIP instruction corresponding to a GPO instruction function; the label analysis control unit is called to obtain fourth response information of the card reader to the fourth CHIP instruction; the label analysis control unit is called to analyze the fourth response information to obtain fifth sub-label data; and the sixth sub-label data is generated based on the fifth sub-label data;
[0040] The CHIP communication control unit is called based on the fifth sub-label data to generate a fifth CHIP instruction corresponding to a record reading function; the label analysis control unit is called to obtain fifth response information of the card reader to the fifth CHIP instruction; and the label analysis control unit is called to analyze the fifth response information to obtain seventh sub-label data;
[0041] The CHIP communication control unit is called based on the transaction amount label, the time data label and the third fixed value to generate a sixth CHIP instruction corresponding to a GAC1 command function; the label analysis control unit is called to obtain sixth response information of the card reader to the sixth CHIP instruction to obtain eighth sub-label data; and the ninth sub-label data is generated based on the fifth sub-label data in the eighth sub-label data;
[0042] The tenth sub-label data corresponding to the transaction type is obtained;
[0043] The sixth sub-label data, the ninth sub-label data and the tenth sub-label data are packaged to obtain the third label data.
[0044] As an improved scheme, the third label data is generated based on the CHIP communication control unit, the label analysis control unit, the second label data, the transaction amount label, the time data label and the third fixed value, and the third label data is generated by:
[0045] The query transaction 55 domain data label in the label data set is extracted by the query transaction 55 domain data organization unit of the 55 domain data organization module;
[0046] The consumption transaction 55 domain data label in the label data set is extracted by the consumption transaction 55 domain data organization unit of the 55 domain data organization module;
[0047] The query transaction 55 domain data label is set as first 55 domain result data, and the consumption transaction 55 domain data label is set as second 55 domain result data; and the first 55 domain result data and the second 55 domain result data are output by using a first display strategy.
[0048] In another aspect, the application further provides an output device for financial IC card transaction 55 domain data, comprising:
[0049] a label initialization unit, a label hierarchical analysis unit and a 55 domain data classified output unit;
[0050] The label initialization unit is configured to configure a verification framework, set an initialization key input parameter, and generate an initialization common label based on the verification framework and the initialization key input parameter;
[0051] The label hierarchical analysis unit is configured to perform a label data hierarchical analysis operation according to the verification framework and the initialization common label, and obtain a label data set;
[0052] The 55 domain data classified output unit is configured to classify and output 55 domain result data according to the verification framework and the label data set.
[0053] In another aspect, the application further provides a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to implement the steps of the output method for financial IC card transaction 55 domain data.
[0054] The application has the following beneficial effects:
[0055] 1. The output method for financial IC card transaction 55 domain data can realize intelligent decomposition of complex logical operations and data interaction processing contained in financial IC card transaction through visual web organization, and can perform each step of the decomposition by using a hierarchical execution logic, record label data in each step during the execution of each step, and help developers to clearly and completely and in detail show instruction data during the financial IC card transaction through the execution of the steps and the visual data, thereby reducing the learning difficulty of financial IC card transaction development. 2. The label data recorded in each step is used for final 55 domain data classified output, which helps developers and operation and maintenance personnel to verify 55 domain related problems in the financial IC card transaction, and provides effective data support for the 55 domain related problems in the financial IC card transaction through the output 55 domain result data. 3. The complete 55 domain data output logic helps beginners of the financial IC card transaction to quickly understand related knowledge, improves the ease of learning and visualization of the financial IC card transaction development, saves most of the learning time and explanation time of the developers, and is beneficial to improving the work efficiency of the developers.
[0056] 2、The financial IC card transaction 55 domain data output device can realize intelligent decomposition of complex logical operations and data interaction processing contained in the financial IC card transaction in the visual web page organization through the cooperation of the tag initialization unit, the tag hierarchical parsing unit and the 55 domain data classification output unit, and the decomposition steps are executed step by step through the hierarchical execution logic, and the tag data in each step is recorded while each step is executed, so that the instruction data in the financial IC card transaction is clearly and completely displayed through the step execution and the visual data, the learning difficulty of the financial IC card transaction development is reduced, and the recorded tag data in each step is finally classified and output, which helps the development and operation personnel to verify the 55 domain related problems in the financial IC card transaction, and provides effective data support for the 55 domain related problems in the financial IC card transaction through the output 55 domain result data. This complete 55 domain data output logic helps the beginners of the financial IC card transaction to quickly understand the related knowledge, improves the learnability and visualization of the financial IC card transaction development, saves most of the learning time and explanation time of the developers, and is beneficial to improve the work efficiency of the developers.
[0057] 3、The computer readable storage medium can realize the cooperation of the tag initialization unit, the tag hierarchical parsing unit and the 55 domain data classification output unit, and realize the financial IC card transaction 55 domain data output method, and the computer readable storage medium effectively improves the operability of the financial IC card transaction 55 domain data output method. BRIEF DESCRIPTION OF DRAWINGS
[0058] In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings needed to be used in the specific embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without creative labor.
[0059] Figure 1 is a flowchart of the financial IC card transaction 55 domain data output method of the embodiment 1 of the present application;
[0060] Figure 2 is a detailed flowchart of the financial IC card transaction 55 domain data output method of the embodiment 1 of the present application;
[0061] Figure 3is a schematic diagram of the architecture of the output device of the financial IC card transaction 55 field data according to the embodiment 2 of the present application. DETAILED DESCRIPTION
[0062] The preferred embodiments of the present application are described in detail below with reference to the accompanying drawings, so that the advantages and features of the present application can be more easily understood by those skilled in the art, and the scope of protection of the present application is more clearly defined.
[0063] In the description of the present application, it should be noted that the embodiments described in the present application are part of the embodiments of the present application, not all the embodiments; all other embodiments obtained by those skilled in the art without creative labor based on the embodiments in the present application, belong to the scope of protection of the present application.
[0064] The terms "first", "second", and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, device, product or equipment including a series of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or equipment.
[0065] Embodiment 1
[0066] The present embodiment provides a financial IC card transaction 55 field data output method, as shown in Figure 1 and Figure 2 comprising the following steps:
[0067] S100, label initialization:
[0068] S110, configuration verification architecture, set initialization key input parameters, generate initialization public label based on the verification architecture and the initialization key input parameters;
[0069] S200, label parsing:
[0070] S210, based on the verification architecture and the initialization public label, performing label data parsing operation step by step, obtaining label data set;
[0071] S300, 55 field data classification output:
[0072] S310, based on the verification architecture and the label data set, classifying and outputting 55 field result data.
[0073] In the embodiment, all operation flows are displayed in the applied terminal device through visual operation pages, thereby realizing more intuitive display and output.
[0074] As an embodiment of the application, the configuration verification architecture comprises: a configuration tag initialization module, wherein a public parameter area is set in the tag initialization module to obtain a first sub-architecture; a configuration card reader communication analysis module, wherein a CHIP communication control unit and a tag analysis control unit are set in the tag initialization module to obtain a second sub-architecture; and a configuration 55 domain data organization module, wherein a query transaction 55 domain data organization unit and a consumption transaction 55 domain data organization unit are set in the 55 domain data organization module to obtain a third sub-architecture; in the embodiment, the tag initialization module, the CHIP communication control unit, the tag analysis control unit, the query transaction 55 domain data organization unit and the consumption transaction 55 domain data organization unit are all button components set in the applied terminal device; the first sub-architecture, the second sub-architecture and the third sub-architecture constitute the verification architecture.
[0075] As an embodiment of the application, the initialization input parameter comprises: counter number data and transaction amount data; and generating an initialization public tag based on the verification architecture and the initialization input parameter comprises:
[0076] inputting the counter number data and the transaction amount data into the public parameter area;
[0077] calling the tag initialization module to read the counter number data and the transaction amount data in the public parameter area, and calling the tag initialization module to generate a cashier number tag and a transaction amount tag based on the counter number data and the transaction amount data; in the embodiment, the cashier number tag is 9F1E, and the transaction amount tag is 9F02; calling the tag initialization module to obtain first time data, the first time data being current time, and calling the tag initialization module to generate a time data tag based on the first time data, the time data tag being 9A, 9F37 and 9F21, i.e. 9A, 9F37 and 9F21 are generated according to current time;
[0078] The tag initialization module is invoked to set a third fixed value, which is also in tag form, including: 9F03, 9F1A, 95, 5F2A, 9C, 9F4E, 9F7A, DF69, and 9F66. The tag initialization module is then invoked to set a fourth fixed value, which is also in tag form, including: 9F33, 9F34, and 9F35. The tag initialization module is also invoked to set a first fixed value, which is also in tag form, including: 00A404000E315041592E5359532E4444463031. The tag initialization module is then invoked to set the first fixed value, which is also in tag form, including: 00A404000E315041592E5359532E4444463031. The initialization module sets a second fixed value, which is also in the form of a label, including: 00B2010C00; therefore, the teller number label, the transaction amount label, the time data label, the first fixed value, the second fixed value, the third fixed value, and the fourth fixed value are packaged to obtain the initialization public label; in this embodiment, based on the above method logic, in application, the aforementioned initialization public label can be generated by inputting the teller number data and the transaction amount data into the public parameter area and pressing the button component corresponding to the label initialization module;
[0079] As one embodiment of the present invention, the tag data parsing operation includes: calling the card reader communication parsing module to generate first tag data based on the CHIP communication control unit, the tag parsing control unit, the first fixed value and the second fixed value. The first tag data is obtained by parsing the information identification between the card reader and the IC card through the cooperation between the modules, and obtaining the tag data used in financial IC card transactions related to the functions of "selecting PSE" and "reading PSE directory file".
[0080] The card reader communication parsing module is invoked to generate second tag data based on the CHIP communication control unit, the tag parsing control unit, and the first tag data. The second tag data is obtained by parsing and processing information identification between the card reader and the IC card through the cooperation between the modules, and thus obtaining the tag data used in financial IC card transactions related to the "select ADF" function.
[0081] The reader communication parsing module is invoked to generate third tag data based on the CHIP communication control unit, the tag parsing control unit, the second tag data, the transaction amount tag, the time data tag, and the third fixed value. The third tag data is obtained through the parsing and processing of information identification between the reader and the IC card by the cooperation between the modules, resulting in tag data used in financial IC card transactions related to functions such as "GPO command", "READ RECORD", and "GAC1 command".
[0082] Packing the first label data, the second label data, the third label data, the teller number label and the fourth fixed value, a data set of final verification 55 domain data can be obtained, that is, the label data set is obtained;
[0083] Correspondingly, when the label data is parsed step by step, the CHIP communication is called to obtain the response information of the card reader, and finally the TLV label data is obtained by analyzing the label data, and the above-mentioned modules are mainly based on the above-mentioned modules. The order of the above-mentioned modules is as follows: the functions of selecting PSE, reading PSE directory file, selecting ADF, GPO instruction, READRECORD and GAC1 command are verified in sequence, and the related TLV label data is obtained.
[0084] As an embodiment of the present application, the first label data is generated based on the CHIP communication control unit, the label parsing control unit, the first fixed value and the second fixed value, and the first label data comprises:
[0085] The first CHIP instruction corresponding to the PSE selection function is generated by calling the CHIP communication control unit based on the first fixed value; the first response information of the card reader to the first CHIP instruction is obtained by calling the label parsing control unit; and the first sub-label data is obtained by parsing the first response information by calling the label parsing control unit. In this embodiment, the PSE selection function button is arranged on the CHIP communication control unit, and the above-mentioned steps are applied as follows: based on the fixed value 00A404000E315041592E5359532E4444463031, the "select PSE" button is clicked to generate one CHIP instruction, the CHIP communication is performed by the CHIP communication control unit, and the label data is obtained by parsing. In this step, only the CHIP communication is emphasized, and the parsed label 55 domain data does not participate in the subsequent verification.
[0086] Based on the second fixed value, the CHIP communication control unit is called to generate a second CHIP instruction corresponding to the PSE directory file reading function; the tag analysis control unit is called to obtain second response information of the card reader to the second CHIP instruction; and the tag analysis control unit is called to analyze the second response information to obtain second sub-tag data, which is 4F.
[0087] As an embodiment of the present application, the second tag data is generated based on the CHIP communication control unit, the tag analysis control unit and the first tag data, which includes:
[0088] Based on the second sub-tag data, the CHIP communication control unit is called to generate a third CHIP instruction corresponding to the ADF selection function; the tag analysis control unit is called to obtain third response information of the card reader to the third CHIP instruction; and the tag analysis control unit is called to analyze the third response information to obtain third sub-tag data 9F38 and fourth sub-tag data 84, wherein the third sub-tag data is 9F38 and the fourth sub-tag data is 84. In this embodiment, the CHIP communication control unit is further provided with an ADF selection function button, so that the above steps are applied as follows: in combination with the 4F tag data of the "read PSE directory file" response, the "select ADF" button is clicked to generate one CHIP instruction, and the CHIP communication control unit is used to perform CHIP communication and analysis to obtain tag data (i.e. 9F38, 84 tag); and the third sub-tag data and the fourth tag data are packaged to obtain the second tag data.
[0089] As an embodiment of the present application, the third tag data is generated based on the CHIP communication control unit, the tag analysis control unit, the second tag data, the transaction amount tag, the time data tag and the third fixed value, which includes:
[0090] The CHIP communication control unit is called based on the third fixed value and the third sub-tag data to generate a fourth CHIP instruction corresponding to a GPO instruction function; the tag analysis control unit is called to obtain fourth response information of the card reader to the fourth CHIP instruction; the tag analysis control unit is called to analyze the fourth response information to obtain fifth sub-tag data; the sixth sub-tag data is generated based on the fifth sub-tag data; the fifth sub-tag data is 80, and the sixth sub-tag data is 82; in this embodiment, the CHIP communication control unit is also provided with a GPO instruction function button, so that the above steps are applied as follows: 9F7A, DF69, 9F66 in the third fixed value, and 9F38 tag data obtained in the above step of selecting ADF are combined, the GPO instruction button is clicked to generate one CHIP instruction, CHIP communication is performed through the CHIP communication control unit, and tag data is obtained through analysis, the tag data includes tag 80, and tag 82 can be generated through the 80 tag;
[0091] The CHIP communication control unit is called based on the fifth sub-tag data to generate a fifth CHIP instruction corresponding to a record reading function; the tag analysis control unit is called to obtain fifth response information of the card reader to the fifth CHIP instruction; the tag analysis control unit is called to analyze the fifth response information to obtain seventh sub-tag data; in this embodiment, the CHIP communication control unit is also provided with a READRECORD function button, so that the above steps are applied as follows: the 80 tag data in the GPO instruction response is combined, the READRECORD button is clicked to generate multiple CHIP instructions, CHIP communication is performed through the CHIP communication control unit, and tag data, that is, the seventh sub-tag data, is obtained through analysis; the process of this step is still used to emphasize CHIP communication, and the tag 55 domain data obtained through analysis is not used;
[0092] The CHIP communication control unit is called to generate a sixth CHIP instruction corresponding to the GAC1 command function based on the transaction amount tag, the time data tag and the third fixed value; the tag analysis control unit is called to obtain sixth response information of the card reader to the sixth CHIP instruction, to obtain eighth sub-tag data; the ninth sub-tag data is generated based on the fifth sub-tag data in the eighth sub-tag data, and in this embodiment, the ninth sub-tag data includes 9F27, 9F36, 9F26 and 9F10; the CHIP communication control unit is further provided with a GAC1 command function button, so that the above steps are applied as follows: the common tags 9F02, 9F03, 9F1A, 95, 5F2A, 9A, 9C, 9F37, 9F21 and 9F4E in the transaction amount tag, the time data tag and the third fixed value are combined, the “GAC1 command” button is clicked to generate one CHIP instruction, CHIP communication is performed through the CHIP communication control unit, and tag data is obtained through analysis, the tag data also includes the tag 80, the tags 9F27, 9F36, 9F26 and 9F10 can be generated through the tag 80; finally, when the tag is packed, the tag data related to the transaction type is still missing, so the tenth sub-tag data corresponding to the transaction type is obtained, and the tenth sub-tag data is 9F09; therefore, the sixth sub-tag data, the ninth sub-tag data and the tenth sub-tag data are packed to obtain the third tag data.
[0093] As an embodiment of the present application, the classification output 55 domain result data based on the verification architecture and the label data set comprises: extracting the query transaction 55 domain data label in the label data set by calling the query transaction 55 domain data organization unit of the 55 domain data organization module; extracting the consumption transaction 55 domain data label in the label data set by calling the consumption transaction 55 domain data organization unit of the 55 domain data organization module; setting the query transaction 55 domain data label as the first 55 domain result data and setting the consumption transaction 55 domain data label as the second 55 domain result data; outputting the first 55 domain result data and the second 55 domain result data by using the first display strategy; and correspondingly, in the actual application of the foregoing steps, clicking the “organize query transaction 55 domain” button component or the “organize consumption transaction 55 domain” button component to finally obtain the query transaction 55 domain data and the consumption transaction 55 domain data respectively; the classification output of different types of 55 domain data is realized through the “organize query transaction 55 domain” button component and the “organize consumption transaction 55 domain” button component; the TLV labels participating in the organization of the query transaction 55 domain data (the first 55 domain result data) and the consumption transaction 55 domain data (the second 55 domain result data) are highlighted respectively; and the finally displayed labels comprise 9F26, 9F27, 9F10, 9F37, 9F36, 95, 9A, 9C, 9F02, 5F2A, 82, 9F1A, 9F03, 9F33, 9F34, 9F35, 9F1E, 9F41, 84, 9F09, so that the developers and learners can intuitively obtain the 55 domain data of the query transaction and the consumption transaction; therefore, the first display strategy is to highlight the obtained label data on the operation page or the webpage; and finally, the webpage organization verification of the financial IC card transaction 55 domain data can help the beginners of the financial IC card transaction to quickly understand the related knowledge and help the developers and operation and maintenance personnel to organize and verify the problems related to the IC transaction 55 domain through the decomposition steps.
[0094] Embodiment 2
[0095] Based on the same inventive concept as the output method of the financial IC card transaction 55 domain data described in embodiment 1, the present embodiment provides an output device of the financial IC card transaction 55 domain data, as shown in Figure 3 which comprises a label initialization unit, a label step-by-step analysis unit and a 55 domain data classification output unit.
[0096] The label initialization unit is configured to configure a verification architecture, set an initialization key input parameter, and generate an initialization common label based on the verification architecture and the initialization key input parameter.
[0097] As an embodiment of the present application, the tag initialization unit configures the verification architecture, comprising: the tag initialization unit configures a tag initialization module, the tag initialization unit sets a public parameter area in the tag initialization module to obtain a first sub-architecture; the tag initialization unit configures a card reader communication analysis module, the tag initialization unit sets a CHIP communication control unit and a tag analysis control unit in the tag initialization module to obtain a second sub-architecture; the tag initialization unit configures a 55 domain data organization module, the tag initialization unit sets a query transaction 55 domain data organization unit and a consumption transaction 55 domain data organization unit in the 55 domain data organization module to obtain a third sub-architecture; the tag initialization unit causes the first sub-architecture, the second sub-architecture and the third sub-architecture to constitute the verification architecture.
[0098] As an embodiment of the present application, the initialization input parameter comprises: counter number data and transaction amount data.
[0099] As an embodiment of the present application, the tag initialization unit generates an initialization public tag based on the verification architecture and the initialization input parameter, comprising: the tag initialization unit inputs the counter number data and the transaction amount data to the public parameter area; the tag initialization unit calls the tag initialization module to read the counter number data and the transaction amount data in the public parameter area, the tag initialization unit calls the tag initialization module to generate a cashier number tag and a transaction amount tag based on the counter number data and the transaction amount data; the tag initialization unit calls the tag initialization module to obtain first time data, the tag initialization unit calls the tag initialization module to generate a time data tag based on the first time data; the tag initialization unit calls the tag initialization module to set a first fixed value, a second fixed value, a third fixed value and a fourth fixed value; the tag initialization unit packs the cashier number tag, the transaction amount tag, the time data tag, the first fixed value, the second fixed value, the third fixed value and the fourth fixed value to obtain the initialization public tag.
[0100] A tag step-by-step analysis unit is configured to perform a tag data step-by-step analysis operation according to the verification architecture and the initialization public tag to obtain a tag data set.
[0101] As an embodiment of the present application, the tag data step-by-step parsing operation comprises: the tag step-by-step parsing unit calling the card reader communication parsing module to generate first tag data based on the CHIP communication control unit, the tag parsing control unit, the first fixed value and the second fixed value; the tag step-by-step parsing unit calling the card reader communication parsing module to generate second tag data based on the CHIP communication control unit, the tag parsing control unit and the first tag data; the tag step-by-step parsing unit calling the card reader communication parsing module to generate third tag data based on the CHIP communication control unit, the tag parsing control unit, the second tag data, the transaction amount tag, the time data tag and the third fixed value; and the tag step-by-step parsing unit packing the first tag data, the second tag data, the third tag data, the teller number tag and the fourth fixed value to obtain the tag data set.
[0102] As an embodiment of the present application, the tag step-by-step parsing unit generates first tag data based on the CHIP communication control unit, the tag parsing control unit, the first fixed value and the second fixed value, which comprises: the tag step-by-step parsing unit calling the CHIP communication control unit to generate first CHIP instructions corresponding to PSE selection function based on the first fixed value; the tag step-by-step parsing unit calling the tag parsing control unit to obtain first response information of the card reader to the first CHIP instructions; the tag step-by-step parsing unit calling the tag parsing control unit to parse the first response information to obtain first sub-tag data; the tag step-by-step parsing unit calling the CHIP communication control unit to generate second CHIP instructions corresponding to PSE directory file reading function based on the second fixed value; the tag step-by-step parsing unit calling the tag parsing control unit to obtain second response information of the card reader to the second CHIP instructions; the tag step-by-step parsing unit calling the tag parsing control unit to parse the second response information to obtain second sub-tag data; and the tag step-by-step parsing unit packing the first sub-tag data and the second sub-tag data to obtain the first tag data.
[0103] As an embodiment of the present application, the label step-by-step analysis unit generates the second label data based on the CHIP communication control unit, the label analysis control unit and the first label data, comprising: the label step-by-step analysis unit calls the CHIP communication control unit to generate the third CHIP instruction corresponding to the ADF selection function based on the second sub-label data; the label step-by-step analysis unit calls the label analysis control unit to obtain the third response information of the card reader to the third CHIP instruction; the label step-by-step analysis unit calls the label analysis control unit to analyze the third response information to obtain the third sub-label data and the fourth sub-label data; and the label step-by-step analysis unit packs the third sub-label data and the fourth sub-label data to obtain the second label data.
[0104] As an embodiment of the present application, the label step-by-step analysis unit generates the third label data based on the CHIP communication control unit, the label analysis control unit, the second label data, the transaction amount label, the time data label and the third fixed value, comprising:
[0105] The label step-by-step analysis unit calls the CHIP communication control unit to generate the fourth CHIP instruction corresponding to the GPO instruction function based on the third fixed value and the third sub-label data; the label step-by-step analysis unit calls the label analysis control unit to obtain the fourth response information of the card reader to the fourth CHIP instruction; the label step-by-step analysis unit calls the label analysis control unit to analyze the fourth response information to obtain the fifth sub-label data; the label step-by-step analysis unit generates the sixth sub-label data based on the fifth sub-label data; the label step-by-step analysis unit calls the CHIP communication control unit to generate the fifth CHIP instruction corresponding to the record reading function based on the fifth sub-label data; the label step-by-step analysis unit calls the label analysis control unit to obtain the fifth response information of the card reader to the fifth CHIP instruction; the label step-by-step analysis unit calls the label analysis control unit to analyze the fifth response information to obtain the seventh sub-label data; the label step-by-step analysis unit calls the CHIP communication control unit to generate the sixth CHIP instruction corresponding to the GAC1 command function based on the transaction amount label, the time data label and the third fixed value; the label step-by-step analysis unit calls the label analysis control unit to obtain the sixth response information of the card reader to the sixth CHIP instruction to obtain the eighth sub-label data; the label step-by-step analysis unit generates the ninth sub-label data based on the fifth sub-label data in the eighth sub-label data; the label step-by-step analysis unit obtains the tenth sub-label data corresponding to the transaction type; and the label step-by-step analysis unit packs the sixth sub-label data, the ninth sub-label data and the tenth sub-label data to obtain the third label data.
[0106] 55 domain data classification output unit, configured to classify and output 55 domain result data according to the verification architecture and the label data set.
[0107] As an embodiment of the present application, the 55 domain data classification output unit classifies and outputs 55 domain result data based on the verification architecture and the label data set, including: the 55 domain data classification output unit extracts query transaction 55 domain data labels in the label data set by calling the query transaction 55 domain data organization unit through the 55 domain data organization module; the 55 domain data classification output unit extracts consumption transaction 55 domain data labels in the label data set by calling the consumption transaction 55 domain data organization unit through the 55 domain data organization module; the 55 domain data classification output unit sets the query transaction 55 domain data labels as first 55 domain result data, and the 55 domain data classification output unit sets the consumption transaction 55 domain data labels as second 55 domain result data; and the 55 domain data classification output unit outputs the first 55 domain result data and the second 55 domain result data by using a first display strategy.
[0108] Embodiment 3
[0109] The present embodiment provides a computer readable storage medium, comprising:
[0110] The storage medium is used to store computer software instructions for implementing the output method of the financial IC card transaction 55 domain data as described in Embodiment 1, which includes executable programs for executing the programs set for the output method of the financial IC card transaction 55 domain data. Specifically, the executable programs can be built into the output device of the financial IC card transaction 55 domain data as described in Embodiment 2, so that the output device of the financial IC card transaction 55 domain data can implement the output method of the financial IC card transaction 55 domain data as described in Embodiment 1 by executing the built-in executable programs.
[0111] In addition, the computer readable storage medium of the present embodiment can adopt any combination of one or more readable storage media, wherein the readable storage medium includes an electrical, optical, electromagnetic, infrared or semiconductor system, device or component, or any combination thereof.
[0112] Different from the prior art, the output method, device and medium for 55 domain data of a financial IC card transaction can intelligently decompose complex logical operations and data interaction processing contained in the financial IC card transaction through visual web organization, and execute the decomposed steps through a step-by-step execution logic. While executing each step, the label data in each step is recorded, so that the instruction data in the financial IC card transaction is clearly, completely and in detail displayed through the step execution and visual data, the learning difficulty of the financial IC card transaction development is reduced, and the 55 domain data classification output is performed through the label data recorded in each step, which helps the development and operation personnel to verify the 55 domain related problems in the financial IC card transaction, and provides effective data support for the 55 domain related problems in the financial IC card transaction through the output 55 domain result data. This complete 55 domain data output logic helps the beginners of the financial IC card transaction to quickly understand the related knowledge, improves the learnability and visualization of the financial IC card transaction development, saves most of the learning time and explanation time of the developers, and is beneficial to improve the work efficiency of the developers.
[0113] It should be understood that, in various embodiments herein, the size of the sequence number of each process described above does not mean the order of execution, and the execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments herein.
[0114] It should also be understood that, in the embodiments herein, the term "and / or" only describes the association relationship of the associated objects, which means that there can be three relationships. For example, A and / or B can represent three cases of A alone, A and B together, and B alone. In addition, the character " / " in this paper generally represents that the front and rear associated objects are in an "or" relationship.
[0115] Those skilled in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized in electronic hardware, computer software or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been described in the above description. Whether the functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this paper.
[0116] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
[0117] In several embodiments provided herein, it should be understood that the disclosed system, apparatus and method can be implemented in other ways. For example, the apparatus embodiments described above are merely schematic, and the division of the units is merely a logical function division. In actual implementation, another division manner can be adopted, for example, a plurality of units or components can be combined or integrated into another system, or some features can be omitted or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, and can also be electrical, mechanical or other form of connection.
[0118] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place or distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiments provided herein.
[0119] In addition, the functional units in each of the embodiments herein can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0120] When the integrated unit is realized in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions provided herein, the essential part or the whole or part of the technical solutions provided herein can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various program code storage media.
[0121] The above description is only an embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation based on the content of the specification and drawings, or direct or indirect application in other related technical fields, is also included in the patent protection scope of the present application.
Claims
1. A method of outputting a financial IC card transaction 55 field data, characterized by, The method comprises the following steps: Tag initialization: Configure a verification architecture, set initialization input parameters, generate an initialization public tag based on the verification architecture and the initialization input parameters; Tag hierarchical resolution: Perform a hierarchical resolution operation on tag data based on the verification architecture and the initialization public tag to obtain a tag data set; 55 domain data classification output: Classify and output 55 domain result data based on the verification architecture and the tag data set; The configuration verification architecture comprises: configuring a tag initialization module, setting a public parameter area in the tag initialization module to obtain a first sub-architecture; configuring a card reader communication analysis module, setting a CHIP communication control unit and a tag resolution control unit in the tag initialization module to obtain a second sub-architecture; configuring a 55 domain data organization module, setting a query transaction 55 domain data organization unit and a consumption transaction 55 domain data organization unit in the 55 domain data organization module to obtain a third sub-architecture; and the first sub-architecture, the second sub-architecture, and the third sub-architecture constitute the verification architecture; The initialization input parameters comprise: counter number data and transaction amount data; The initialization public tag is generated based on the verification architecture and the initialization input parameters, which comprises: inputting the counter number data and the transaction amount data into the public parameter area; calling the tag initialization module to read the counter number data and the transaction amount data in the public parameter area, and calling the tag initialization module to generate a teller number tag and a transaction amount tag based on the counter number data and the transaction amount data; calling the tag initialization module to obtain first time data, and calling the tag initialization module to generate a time data tag based on the first time data; calling the tag initialization module to set a first fixed value, a second fixed value, a third fixed value, and a fourth fixed value; and packaging the teller number tag, the transaction amount tag, the time data tag, the first fixed value, the second fixed value, the third fixed value, and the fourth fixed value to obtain the initialization public tag.
2. The method for outputting 55 domain data of a financial IC card transaction according to claim 1, wherein: The hierarchical resolution operation on tag data comprises: Calling the card reader communication analysis module to generate first tag data based on the CHIP communication control unit, the tag resolution control unit, the first fixed value, and the second fixed value; Calling the card reader communication analysis module to generate second tag data based on the CHIP communication control unit, the tag resolution control unit, and the first tag data; Calling the card reader communication analysis module to generate third tag data based on the CHIP communication control unit, the tag resolution control unit, the second tag data, the transaction amount tag, the time data tag, and the third fixed value; Packaging the first tag data, the second tag data, the third tag data, the teller number tag, and the fourth fixed value to obtain the tag data set. 3.The method of claim 2, wherein: the first tag data is generated based on the CHIP communication control unit, the tag analysis control unit, the first fixed value, and the second fixed value, including: generating a first CHIP instruction corresponding to a PSE selection function based on the first fixed value; obtaining first response information of the card reader to the first CHIP instruction based on the tag analysis control unit; and obtaining first sub-tag data by analyzing the first response information based on the tag analysis control unit; generating a second CHIP instruction corresponding to a PSE directory file reading function based on the CHIP communication control unit based on the second fixed value; obtaining second response information of the card reader to the second CHIP instruction based on the tag analysis control unit; and obtaining second sub-tag data by analyzing the second response information based on the tag analysis control unit; and packing the first sub-tag data and the second sub-tag data to obtain the first tag data. 4.The method of claim 2, wherein: the second tag data is generated based on the CHIP communication control unit, the tag analysis control unit, and the first tag data, including: generating a third CHIP instruction corresponding to an ADF selection function based on the second sub-tag data; obtaining third response information of the card reader to the third CHIP instruction based on the tag analysis control unit; obtaining third sub-tag data and fourth sub-tag data by analyzing the third response information based on the tag analysis control unit; and packing the third sub-tag data and the fourth sub-tag data to obtain the second tag data. 5.The method of claim 2, wherein: the third tag data is generated based on the CHIP communication control unit, the tag analysis control unit, the second tag data, the transaction amount tag, the time data tag, and the third fixed value, including: generating a fourth CHIP instruction corresponding to a GPO instruction function based on the third fixed value and the third sub-tag data; obtaining fourth response information of the card reader to the fourth CHIP instruction based on the CHIP communication control unit; obtaining fifth sub-tag data by analyzing the fourth response information based on the tag analysis control unit; and generating sixth sub-tag data based on the fifth sub-tag data; generating a fifth CHIP instruction corresponding to a record reading function based on the CHIP communication control unit based on the fifth sub-tag data; obtaining fifth response information of the card reader to the fifth CHIP instruction based on the tag analysis control unit; and obtaining seventh sub-tag data by analyzing the fifth response information based on the tag analysis control unit. Based on the transaction amount label, the time data label and the third fixed value, the CHIP communication control unit is called to generate a sixth CHIP instruction corresponding to the GAC1 command function; the label analysis control unit is called to obtain the sixth response information of the card reader to the sixth CHIP instruction, and eighth sub-label data is obtained; based on the fifth sub-label data in the eighth sub-label data, ninth sub-label data is generated; Obtain the tenth sub-label data corresponding to the transaction type; Pack the sixth sub-label data, the ninth sub-label data and the tenth sub-label data to obtain the third label data.
6. The financial IC card transaction 55 domain data output method according to claim 2, characterized in that: The third label data is based on the verification architecture and the label data set classification output 55 domain result data, comprising: The 55 domain data organization module calls the query transaction 55 domain data organization unit to extract the query transaction 55 domain data label in the label data set; The 55 domain data organization module calls the consumption transaction 55 domain data organization unit to extract the consumption transaction 55 domain data label in the label data set; Set the query transaction 55 domain data label as the first 55 domain result data, and set the consumption transaction 55 domain data label as the second 55 domain result data; output the first 55 domain result data and the second 55 domain result data using the first display strategy.
7. A financial IC card transaction 55 field data verification device for a financial IC card transaction 55 field data output method according to claim 6, characterized by It comprises a label initialization unit, a label hierarchical analysis unit and a 55 domain data classification output unit; The label initialization unit is configured to configure a verification architecture, set an initialization key input parameter, and generate an initialization common label based on the verification architecture and the initialization key input parameter; The label hierarchical analysis unit is configured to perform a label data hierarchical analysis operation according to the verification architecture and the initialization common label to obtain a label data set; The 55 domain data classification output unit is configured to classify and output 55 domain result data according to the verification architecture and the label data set.
8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to realize the steps of the financial IC card transaction 55 domain data output method in any one of claims 1-6.
Citation Information
Patent Citations
Intelligent financial card-reading system
CN102930670A
UnionPay IC card transaction data analysis system and method
CN107992992A