A personalized data checking method, device and medium applied to IC card

By extracting data from the IC card's personalized log and traversing the checkpoint list, the existence and numerical correctness of DGI and TAG are judged, which solves the problem of low efficiency and insufficient comprehensiveness in IC card personalized data checking in the existing technology, and achieves Efficient comprehensive inspection.

CN111046236BActive Publication Date: 2024-09-03GUANGDONG CHUTIAN DRAGON SMART CARD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201911228859.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-04
Publication Date
2024-09-03
Estimated Expiration
2039-12-04

AI Technical Summary

Technical Problem

The IC card personalized data checking method in the existing technology is inefficient and not comprehensive enough. It cannot completely check all the personalized data and requires manual simulation of transactions for verification.

Method used

Extract data from the personalized log of the IC card, traverse each detection point according to the preset checkpoint list, determine the existence and numerical correctness of DGI and TAG, and implement a comprehensive inspection.

Benefits of technology

It improves the inspection efficiency and realizes a comprehensive inspection of personalized data. There is no need to manually simulate transactions, and the inspection is more comprehensive and efficient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111046236B
    Figure CN111046236B
Patent Text Reader

Abstract

The present invention discloses a personalized data inspection method, device and medium applied to an IC card. The method first extracts personalized data from a personalized log of an IC card, and then traverses a preset checkpoint list to determine whether the inspection items corresponding to each checkpoint list meet the corresponding requirements until the inspection is completed. It can be seen that the method, on the one hand, does not require manual simulation of the transaction process, so the inspection efficiency is high, and on the other hand, the checkpoint list is traversed to achieve a comprehensive inspection of the personalized data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a personalized data checking method, device and medium applied to an IC card. Background Art

[0002] There are many types of IC cards (Integrated Circuit Cards), which usually have personalized data to perform specific functions. For example, before delivering IC cards to users, banks need to personalize IC cards using card manufacturing data.

[0003] In order to verify whether the card making data and personalization data are correct, we need to check whether the personalization data is correct or not, so as to find out potential problems. In the prior art, the testing method adopted is to download the card making data to the IC card, and then simulate the transaction of the IC card by manual operation, and judge whether there is any problem with the personalization data through the transaction process.

[0004] It can be seen that the above method needs to simulate transactions on the IC card. During the simulated transaction, it is possible that only part of the personalized data on the IC card is used. Therefore, only this part of the personalized data can be checked, and the remaining personalized data cannot be checked, resulting in an incomplete personalized data check and low efficiency of manual operation. Summary of the invention

[0005] The object of the present invention is to provide a personalized data inspection method, device and medium applied to an IC card, which is used to extract personalized data from a personalized log and then traverse each inspection point according to a inspection point list, thereby enabling a comprehensive inspection.

[0006] In order to solve the above technical problems, the present invention provides a personalized data checking method applied to an IC card, comprising:

[0007] Extracting personal data from the personalization log of the IC card;

[0008] Traverse the pre-set checkpoint list;

[0009] Determining whether DGI and / or TAG exist in the personalized data according to the current item checkpoint;

[0010] If it does not exist, determine whether it is the last checkpoint;

[0011] If it is not the last checkpoint, returning to the step of traversing the preset checkpoint list;

[0012] If it exists, determine whether the corresponding value is correct, record the check result, and then determine whether it is the last checkpoint;

[0013] If it is not the last checkpoint, return to the step of traversing the preset checkpoint list.

[0014] Preferably, if it is the last checkpoint, it also includes:

[0015] Output the first inspection result.

[0016] Preferably, judging whether DGI and / or TAG exist in the personalized data according to the current item checkpoint comprises:

[0017] If the DGI and / or TAG corresponding to the current item checkpoint exists, determining that the DGI and / or TAG in the personalized data in the current item checkpoint exists;

[0018] If the TAG corresponding to the current item checkpoint exists, and there is no mutually exclusive pair of TAG combinations, it is determined that the TAG in the personalized data in the current item checkpoint exists.

[0019] Preferably, the determining whether the corresponding value is correct includes:

[0020] Determine whether the current DGI and / or TAG conforms to the numerical type judgment rules;

[0021] If yes, it is determined that the corresponding value is correct, otherwise, it is determined that the corresponding value is wrong;

[0022] Among them, the numerical value type judgment rules include: the numerical value only contains letters + numbers, the numerical value only contains special letters + numbers + Chinese characters, the numerical value is less than a predetermined value, and the decrypted data contains a strong supplementary identifier.

[0023] Preferably, if there are pre-specified data elements in the personalized data, it also includes:

[0024] Determine whether the same data element exists multiple times;

[0025] If so, check whether the values ​​of the same data element are consistent.

[0026] Preferably, the checking of the value of the same data element includes:

[0027] Traversing the pre-specified data elements;

[0028] Determine whether each value of the data element is equal.

[0029] Preferably, it also includes:

[0030] The second inspection result is output.

[0031] In order to solve the above technical problems, the present invention further provides a personalized data checking device applied to an IC card, comprising:

[0032] An extraction module, used for extracting personalized data from the personalized log of the IC card;

[0033] The traversal module is used to traverse the pre-set checkpoint list;

[0034] A first judgment module is used to judge whether DGI and / or TAG exist in the personalized data according to the current item checkpoint, and if yes, trigger the second judgment module; if no, trigger the third judgment module;

[0035] The second judgment module is used to judge whether the corresponding value is correct, record the result, and then trigger the third judgment module;

[0036] The third judgment module is used to judge whether it is the last checkpoint, if not, trigger the traversal module, if yes, trigger the output module;

[0037] To solve the above technical problems, the present invention also provides a personalized data checking device applied to an IC card, comprising a memory for storing a computer program;

[0038] A processor is used to implement the steps of the personalized data checking method applied to the IC card when executing the computer program.

[0039] To solve the above technical problem, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the personalized data checking method applied to an IC card are implemented.

[0040] The personalized data inspection method applied to the IC card provided by the present invention first extracts personalized data from the personalized log of the IC card, and then traverses the preset checkpoint list to determine whether the inspection items corresponding to each checkpoint list meet the corresponding requirements until the inspection is completed. It can be seen that this method, on the one hand, does not require manual simulation of the transaction process, so the inspection efficiency is high, and on the other hand, the checkpoint list is traversed to achieve a comprehensive inspection of the personalized data.

[0041] In addition, the personalized data checking device and medium applied to the IC card provided by the present invention correspond to the above method and have the same effect as above. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 A flowchart of a method for checking the existence and correctness of personalized data elements applied to an IC card provided by an embodiment of the present invention;

[0044] Figure 2 A flowchart of a method for determining whether data element values ​​are consistent provided by an embodiment of the present invention;

[0045] Figure 3 The present invention provides a personalized data checking device applied to an IC card. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0047] The core of the present invention is to provide a personalized data checking method, device and medium applied to IC card.

[0048] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0049] Figure 1 The present invention provides a flowchart of a method for checking the existence and correctness of a personalized data element applied to an IC card. Figure 1 As shown, the method includes:

[0050] S10: Extracting personalized data from the personalized log of the IC card.

[0051] The personalized log is similar to the log of other electronic products, for example, the log generated by the computer, and the personalized log contains the data generated by the operation of the IC card. In addition to the personalized data, the personalized log also includes data such as the time corresponding to various operations. Since the present invention only focuses on the personalized data, it is necessary to extract the personalized data from the personalized log. It should be noted that since different types of data have identifiers, it is possible to determine which are personalized data and which are not through the data identifier, so as to extract the personalized data from the personalized log. In order to avoid omissions, it is usually extracted in a traversal manner. Of course, in addition to the traversal manner, other orders can also be used for extraction, which is not limited by the present invention.

[0052] It should be noted that the type of IC card mentioned in the present invention is not limited, and can be a bank card or other card. In the following, the IC card will be described as a bank card.

[0053] In order to facilitate subsequent rapid operations on the personalized data, the extracted personalized data may be loaded into the memory.

[0054] S11: Traverse the pre-set checkpoint list.

[0055] The checkpoint list is pre-stored in the server, so that everyone can use the same and latest checkpoints. The checkpoint list can be updated at any time according to the increase of test experience. The checkpoint list contains multiple checkpoints. In order to prevent omissions, the checkpoint list is traversed in this embodiment.

[0056] S12: Determine whether DGI and / or TAG exist in the personalized data according to the current item checkpoint, if not, proceed to S13, if yes, proceed to S14.

[0057] DGI represents a data group composed of data elements, and TAG represents a data element.

[0058] Each checkpoint contains its own check object. The purpose of this step is to check the existence of DGI and / or TAG. Specifically, this step includes: if the DGI and / or TAG corresponding to the current checkpoint exists, then it is determined that the DGI and / or TAG in the personalized data in the current checkpoint exists; if the TAG corresponding to the current checkpoint exists, and there is no mutually exclusive pair of TAG combinations, then it is determined that the TAG in the personalized data in the current checkpoint exists.

[0059] S13: Determine whether it is the last checkpoint, if not, return to S11.

[0060] S14: Determine whether the corresponding numerical value is correct, record the inspection result, and then enter S13.

[0061] Specifically, S14 includes:

[0062] Determine whether the current DGI and / or TAG conforms to the numerical type judgment rules;

[0063] If yes, it is determined that the corresponding value is correct, otherwise, it is determined that the corresponding value is wrong;

[0064] Among them, the value type judgment rules include: the value only contains letters + numbers, the value only contains special letters + numbers + Chinese characters, the value is less than a predetermined value, and the decrypted data contains a strong supplementary identifier.

[0065] In a specific implementation, the mandatory identifier may end with 800000…, where the special letters are obtained according to the personalized data specification.

[0066] According to the above steps, the checkpoint list is fully checked. It can be understood that in S14, if it is incorrect, then enter S13.

[0067] The personalized data inspection method applied to the IC card provided in this embodiment first extracts personalized data from the personalized log of the IC card, and then traverses the preset checkpoint list to determine whether the inspection items corresponding to each checkpoint list meet the corresponding requirements until the inspection is completed. It can be seen that this method, on the one hand, does not require manual simulation of the transaction process, so the inspection efficiency is high, and on the other hand, the checkpoint list is traversed to achieve a comprehensive inspection of the personalized data.

[0068] Based on the above embodiment, as a preferred implementation, the personalized data checking method applied to the IC card also includes:

[0069] S15: When the last checkpoint is checked, the first check result is output.

[0070] It is understandable that the first inspection result may include which personalized data meets the requirements and which does not meet the requirements. Through the first inspection result, the staff can quickly determine the current personalized data status in order to perform the next step. In addition, this embodiment does not limit the output method of the first inspection result, which can be in text format or other formats, which does not affect the implementation of this solution.

[0071] In the above embodiment, if there are pre-specified data elements in the personalized data, it is necessary to further check the data elements. The specific checking method includes:

[0072] Determine whether the same data element exists multiple times. If so, check whether the values ​​of the same data element are consistent.

[0073] Figure 2 A flowchart of a method for determining whether data element values ​​are consistent provided by an embodiment of the present invention. Figure 2 As shown in the figure, checking the value of the same data element includes:

[0074] S20: Traverse the pre-specified data elements.

[0075] S21: Determine whether each value of the data element is equal.

[0076] Furthermore, the personalized data checking method applied to the IC card also includes:

[0077] S22: Output the second inspection result.

[0078] It is understandable that the second inspection result and the first inspection result are only used to distinguish two different inspection results, and the second inspection result only records the value of the same data element. In addition, this embodiment does not limit the output method of the second inspection result, which can be in text format or other formats, which does not affect the implementation of this solution.

[0079] In the above embodiments, the personalized data checking method applied to the IC card is described in detail, and the present invention also provides a corresponding embodiment of the personalized data checking device applied to the IC card. It should be noted that the present invention describes the embodiments of the device part from two perspectives, one is based on the functional module perspective, and the other is based on the hardware perspective.

[0080] Figure 3 A personalized data checking device applied to an IC card provided in an embodiment of the present invention comprises:

[0081] The extraction module 10 is used to extract personalized data from the personalized log of the IC card.

[0082] The traversal module 11 is used to traverse a preset checkpoint list.

[0083] The first judgment module 12 is used to judge whether DGI and / or TAG exist in the personalized data according to the current item checkpoint, and if yes, the second judgment module is triggered. If no, the third judgment module is triggered;

[0084] The second judgment module 14 is used to judge whether the corresponding numerical value is correct, record the result, and then trigger the third judgment module.

[0085] The third judgment module 13 is used to judge whether it is the last checkpoint, if not, the traversal module is triggered, if yes, the output module is triggered.

[0086] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.

[0087] The personalized data inspection device for IC cards provided in this embodiment first extracts personalized data from the personalized log of the IC card, and then traverses the preset checkpoint list to determine whether the inspection items corresponding to each checkpoint list meet the corresponding requirements until the inspection is completed. It can be seen that, when applied to this device, on the one hand, there is no need to manually simulate the transaction process, so the inspection efficiency is high, and on the other hand, the checkpoint list is traversed to achieve a comprehensive inspection of the personalized data.

[0088] In addition, the present invention provides a personalized data checking device applied to an IC card, comprising a memory for storing a computer program;

[0089] The processor is used to implement the steps of the personalized data checking method applied to the IC card as described above when executing the computer program.

[0090] The personalized data inspection device for IC cards provided in this embodiment, when executing a computer program, first extracts personalized data from the personalized log of the IC card, and then traverses the preset checkpoint list to determine whether the check items corresponding to each checkpoint list meet the corresponding requirements until the inspection is completed. It can be seen that, when applied to this device, on the one hand, there is no need to manually simulate the transaction process, so the inspection efficiency is high, and on the other hand, the checkpoint list is traversed to achieve a comprehensive inspection of the personalized data.

[0091] Finally, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the personalized data checking method applied to an IC card are implemented.

[0092] It is understandable that if the method in the above embodiment is implemented 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 solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0093] The above is a detailed introduction to the personalized data inspection method, device and medium for IC cards provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, the present invention can also be improved and modified in a number of ways, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

[0094] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. A personalized data checking method applied to an IC card without simulating a transaction process, characterized in that: The simulated transaction process is a process of simulating a transaction on an IC card, and the method comprises: Extracting personalized data from an IC card personalized log based on the data identifier; the personalized log is generated by a computer and contains data generated by the IC card operation; Traversing a preset checkpoint list; the checkpoint list is pre-stored in the server; Determining whether DGI and / or TAG exist in the personalized data according to the current item checkpoint; If it does not exist, determine whether it is the last checkpoint; If it is not the last checkpoint, returning to the step of traversing the preset checkpoint list; If it exists, determine whether the corresponding value is correct, record the check result, and then determine whether it is the last checkpoint; If it is not the last checkpoint, return to the step of traversing the preset checkpoint list.

2. The personalized data checking method for IC card without simulating transaction process according to claim 1, characterized in that: The IC card personalization log is a log generated by a computer; and / or, the checkpoint list is pre-stored in a server; and / or, if it is the last checkpoint, it also includes: Output the first inspection result.

3. The personalized data checking method applied to IC card without simulating transaction process according to claim 1, characterized in that: The determining whether there is DGI and / or TAG in the personalized data according to the current item checkpoint includes: If the DGI and / or TAG corresponding to the current item checkpoint exists, determining that the DGI and / or TAG in the personalized data extracted by the data identifier in the current item checkpoint exists; If the TAG corresponding to the current item checkpoint exists, and there is no mutually exclusive pair of TAG combinations, it is determined that the TAG in the personalized data in the current item checkpoint exists.

4. The personalized data checking method applied to IC card without simulating transaction process according to claim 1, characterized in that: The determining whether the corresponding value is correct includes: Determine whether the current DGI and / or TAG conforms to the numerical type judgment rules; If yes, it is determined that the corresponding value is correct, otherwise, it is determined that the corresponding value is wrong; Among them, the numerical value type judgment rules include: the numerical value only contains letters + numbers, the numerical value only contains special letters + numbers + Chinese characters, the numerical value is less than a predetermined value, and the decrypted data contains a strong supplementary identifier.

5. The personalized data checking method applied to IC card without simulating transaction process according to any one of claims 1 to 4, characterized in that: If there are pre-specified data elements in the personalization data, it also includes: Determine whether the same data element exists multiple times; If so, check whether the values ​​of the same data element are consistent.

6. The personalized data checking method applied to IC card without simulating transaction process according to claim 5, characterized in that: The checking of the value of the same data element includes: Traversing the pre-specified data elements; Determine whether each value of the data element is equal.

7. The personalized data checking method applied to IC card without simulating transaction process according to claim 6, characterized in that: Also includes: The second inspection result is output.

8. A personalized data checking device applied to an IC card without simulating a transaction process, characterized in that: The simulated transaction process is a process of simulating a transaction on an IC card, and the device comprises: An extraction module, used to extract personalized data from an IC card personalized log based on the data identifier; the personalized log is generated by a computer and contains data generated by the IC card operation; A traversal module, used for traversing a preset checkpoint list; the checkpoint list is pre-stored in the server; A first judgment module is used to judge whether DGI and / or TAG exist in the personalized data according to the current item checkpoint, and if yes, trigger the second judgment module; if no, trigger the third judgment module; The second judgment module is used to judge whether the corresponding value is correct, record the result, and then trigger the third judgment module; The third judgment module is used to judge whether it is the last checkpoint, if not, trigger the traversal module, if yes, trigger the output module; Output module, used to output inspection results.

9. A personalized data checking device applied to an IC card without simulating a transaction process, characterized in that: comprising a memory for storing a computer program; A processor, configured to implement the steps of the personalized data checking method applied to an IC card without simulating a transaction process as claimed in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the personalized data checking method applied to an IC card without simulating a transaction process as claimed in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Financial integrated circuit card personalized data detecting method and system

    CN103714295A

  • Smart IC card data checking method and system

    CN107453873A

  • Intelligent card automatic full-inspecting method and device, computer device and storage medium

    CN108229202A

  • Data verification method and device

    CN108279992A

  • A service data automatic access method and device

    CN109656519A