A method for automatically detecting smart card instant card making data and an instant card making system

By using a data verification platform and multiple data detection scripts in real-time smart card card printing equipment, each stage of card printing data is detected in real time, which solves the problem of the inability to comprehensively detect the accuracy and consistency of card printing data in the existing technology. Greater data accuracy and security achieved.

CN113919376BActive Publication Date: 2025-01-24金邦达有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111052470.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-08
Publication Date
2025-01-24
Estimated Expiration
2041-09-08

AI Technical Summary

Technical Problem

In the existing smart card instant card making technology, it is impossible to fully detect the accuracy and consistency of card making data, resulting in card making data that may be inaccurate, affecting the function and security of the card in actual use.

Method used

Obtain multiple data detection scripts through the data verification platform. Each script corresponds to a card -making phase, and the card making data in the instant card making device in real -time detection to ensure the correctness and integrity of the data at each stage.

Benefits of technology

A comprehensive detection of different stages of data in the process of smart card systems is realized, abnormalities are found in time, the accuracy and consistency of data are improved, the problem of data abnormal problems is reduced, and the reliability and security of the card making equipment is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113919376B_ABST
    Figure CN113919376B_ABST
Patent Text Reader

Abstract

The present invention provides a method for automatically detecting the instant card making data of a smart card and an instant card making system. The method selects a data detection script corresponding to the card making data of the stage according to different stages of the card making data of the instant card making to detect the card making data, and can detect the compliance of the received card making data, the standardization of the card making data after data processing, and the correctness of the APDU instruction converted by the card making data, and feeds back the detection results in real time. The present invention also provides an instant card making system using the above-mentioned method for automatically detecting the instant card making data of a smart card, and detects the instant card making data through the data detection script imported by its data verification platform. The present invention can realize the automatic detection of instant card making data, and has the characteristics of comprehensive and controllable detection range, convenient debugging, and easy use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of smart cards, and in particular to a method for automatically detecting smart card instant card making data and an instant card making system. Background Art

[0002] Smart cards are a general term for plastic cards with embedded microchips. They are widely used in our daily lives. Common smart cards include social security cards, bus cards, credit cards, etc.

[0003] In the past, social security cards were often made in a centralized way, and it took about a month for applicants to get the card from the time they applied, which was too long. With the development of card making technology, instant card making has become a widely used way of making social security cards. Applicants only need to go to designated outlets with valid documents to apply, and they can get the card on the same day. This method is convenient and fast, saving service resources.

[0004] After the social security card is made by the instant card making method, the social security card data needs to be tested to ensure the realization of the functions of the social security card. The existing tests on social security card data are mostly to test the card after the card making equipment completes the card making, or to test the card issuance log of the card making equipment. The above methods for testing social security card data have the problem of not being able to confirm the accuracy of the source of the card making data, that is, although some data formats and lengths meet the specifications of the social security card, the actual data does not match the data issued by the social security card management center, which leads to data problems only being discovered when the made social security card is actually used. Moreover, some fields of the card making data in the provincial social security card management system do not need to be written into the card when the card is made on site, but need to be returned to the local social security card management system. Such data cannot be detected by the card issuance log because the card issuance log only detects the correctness of the fields of the card making data written into the card.

[0005] In addition, the social security card-making equipment often needs to pass the test in the test environment provided by the social security card management center before it can be put into use. However, there is a big difference between the test environment and the formal environment of the card-making equipment provided by the social security card management system in each city. After the card-making equipment passes the test in the test environment, it is prone to data anomalies when it is put into use in the formal environment, and troubleshooting of the problem requires a lot of resources.

[0006] The Chinese invention patent with announcement number CN112667609A discloses a card making data processing method, including confirming that the card making data is correct and complete before further processing when the card making data receiving server receives the card making data. The Chinese invention patent with announcement number CN107229958A discloses a smart IC card data detection method, including comparing the feedback information of the smart IC card when writing the card during the personalization of the smart IC card, and terminating or ending the personalization process according to the comparison information. Both of the above two invention patents are applied to centralized card making equipment. If the above two invention patents are applied to instant card making equipment, there are problems such as insufficient detection data, difficulty in adapting the detection method to different outlets in different regions, and high technical requirements for operators. Summary of the invention

[0007] The first object of the present invention is to provide a method for automatically detecting the instant card making data of a smart card.

[0008] The second object of the present invention is to provide an instant card making system which automatically detects the instant card making data of a smart card.

[0009] In order to achieve the above-mentioned first purpose, the present invention provides a method for automatically detecting instant card-making data of a smart card, which is applied to an instant card-making device, including: a data verification platform obtains at least two data detection scripts, each data detection script corresponds to a card-making stage; the data verification platform receives the card-making data from the instant card-making device, and detects the card-making data according to the data detection script: the instant card-making device obtains the card-making data in each target card-making stage according to the target card-making stage corresponding to the data detection script obtained by the data verification platform, and applies the data detection script to detect the card-making data in the target card-making stage; the instant card-making device outputs the detection result of the data verification platform.

[0010] It can be seen from the above scheme that the data detection script is obtained through the data verification platform. The data detection script can achieve the following according to the way of detecting the card-making data in the corresponding target card-making stage: detection of card-making data at different stages of the card-making process, timely detection of anomalies, and a more comprehensive detection scope; data detection scripts can be customized and combined according to the needs of outlets in different regions, with higher flexibility and more suitable for application in instant card-making equipment; instant card-making business migration of different banks or different outlets of banks can reuse existing data detection scripts, which is safer and more efficient; it is convenient for debugging of new project development, timely detection of problems, and shortening of project development cycle; it reduces the operation requirements of outlet personnel, and outlet operators only need to make corresponding processing according to the detection results.

[0011] A further solution is that the data detection script includes at least two of the following: an interface data detection script, a data processing detection script, and a personalized detection script.

[0012] It can be seen that the combination of data detection scripts can timely discover problems in card making data at different stages of instant card making according to project needs.

[0013] A further solution is that, if the data verification platform obtains an interface data detection script, when the external interface module of the instant card-making device obtains the card-making data, the data verification platform applies the interface data detection script to detect the compliance of the card-making data.

[0014] It can be seen that detecting the card making data received by the external interface module can ensure that the card making data received by the instant card making device is correct and reliable.

[0015] A further solution is that, if the data verification platform obtains a data processing detection script, after the data processing module of the instant card making device processes the instant card making data, the data processing detection script is applied to detect whether the card making data processed by the data processing module meets the specifications to be written into the smart card.

[0016] It can be seen that the card making data processed by the data processing module according to the specification of the smart card to be written is detected, which ensures that the card making data processed by the data processing module meets the specification of the smart card to be written.

[0017] A further solution is that, if the data verification platform obtains a personalized detection script, before the personalization module of the instant card making device writes to the smart card, the personalized detection script is used to detect the APDU instructions converted from the card making data.

[0018] It can be seen that before the personalization module writes the smart card, the APDU instruction converted from the card making data is tested to ensure the correctness of the card writing instruction.

[0019] A further solution is that the instant card-making system includes a main control module. When the instant card-making device sends card-making data to the data verification platform, the main control module receives the corresponding card-making data from the external interface module, data processing module or personalization module of the instant card-making device according to the detection script, and the data verification platform receives the card-making data through the main control module.

[0020] In order to achieve the above-mentioned second purpose, the present invention provides an instant card-making system for automatically detecting instant card-making data of a smart card, comprising: an instant card-making device; wherein the instant card-making system also includes a data verification platform, the data verification platform is used to obtain at least two data detection scripts, each data detection script corresponds to a card-making stage, the data verification platform also obtains data from the instant card-making device, and detects the card-making data according to the data detection script: the instant card-making device obtains the card-making data in each target card-making stage according to the target card-making stage corresponding to the data detection script obtained by the data verification platform, and applies the data detection script to detect the card-making data in the target card-making stage, and outputs the detection result of the data verification platform.

[0021] It can be seen from the above scheme that the instant card-making system obtains the data detection script through the data verification platform. The data detection script detects the card-making data according to its corresponding target card-making stage, which can achieve: detection of card-making data at different stages of the card-making process, timely detection of anomalies, and a more comprehensive detection scope; data detection scripts can be customized and combined according to the needs of outlets in different regions, with higher flexibility and more suitable for application in instant card-making equipment; instant card-making business migration of different banks or different outlets of banks can reuse existing data detection scripts, which is safer and more efficient; it is convenient for debugging of new project development, timely detection of problems, and shortening of project development cycle; it reduces the operation requirements of outlet personnel, and outlet operators only need to make corresponding processing according to the detection results.

[0022] A further solution is that the data detection script includes at least two of the following: an interface data detection script, a data processing detection script, and a personalized detection script.

[0023] A further solution is that the interface data detection script is used to detect the compliance of the card-making data when the instant card-making device obtains the card-making data from its external interface module; the data processing detection script is used to detect whether the card-making data processed by the data processing module of the instant card-making device complies with the specifications of the smart card to be written; the personalization detection script is used to detect the APDU instructions converted from the card-making data before the personalization module of the instant card-making device writes the smart card.

[0024] A further solution is that the external interface module can be used to export the detection results of the data verification platform.

[0025] It can be seen that the detection of the data verification platform exported by the external interface module ensures the correctness of the instant card making data returned to the disk. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a flow chart of an embodiment of a method for automatically detecting smart card instant card making data of the present invention.

[0027] Figure 2 It is a structural block diagram of an embodiment of an instant card making system for automatically detecting instant card making data of a smart card according to the present invention.

[0028] The present invention is further described below in conjunction with the accompanying drawings and embodiments. DETAILED DESCRIPTION

[0029] The method for automatically detecting the instant card making data of a smart card of the present invention is applied to an instant card making device, and realizes the automatic detection of the card making data of different card making stages during the card making process of the instant card making device and the feedback of the corresponding detection results. The instant card making system of the present invention applies the method for automatically detecting the instant card making data of a smart card of the present invention.

[0030] The following is an example of using the method of the present invention for automatically detecting smart card instant card making data for instant social security card making.

[0031] See also Figure 1 When the instant card making data detection method of the present invention is used to detect the instant card making data of the social security card, step S1 is first executed. The data verification platform obtains the data detection script according to the actual needs of the project. The data detection script can be written according to the project needs and the social security card specifications, and the existing data detection script can be directly copied or improved. Because the card management systems and card standards of different provinces or cities are different, when the instant card making business of different banks or different branches of banks is migrated, the existing data detection script of the migration site can be reused. In this embodiment, the interface data detection script, data processing detection script, and personalized detection script are imported into the data verification platform, which can respectively detect the card making data of the instant card making device in the stage of obtaining the card making data from the external interface module, the card making data after the data processing module of the instant card making device, and the card making data before the personalization module of the instant card making device writes the card, which are converted into APDU instructions for detection. The data verification platform can receive the card making data transmitted by the instant card making device according to the imported data verification script.

[0032] When the instant card making device starts making cards, the external interface module connects to the card management system of the social security card and receives the card making data. At this time, step S2 is executed, and the data verification platform obtains the card making data from the external interface module of the instant card making device. Specifically, the external interface module transmits the card making data to the main control module of the instant card making device, and the main control module transmits the card making data to the data verification platform.

[0033] After the data verification platform receives the card-making data transmitted by the external interface module, it executes step S3, that is, it detects the card-making data according to the external interface data detection script, judges the compliance of the card-making data received by the external data interface module, mainly verifies the data format and data length required in the external interface requirements, and judges the compliance of the received data according to the requirements of the data fields.

[0034] Example of interface requirement verification:

[0035] Interface message format: <Social Security Number>111111198901011110< / Social Security Number><Name>Name 1< / Name>

[0036] Parameter verification description:

[0037] Serial number Data item name Data Types length Is this field required? 1 Social Security Number Char 18 Y 2 Name Char 50 Y

[0038] At this time, the interface data detection script judges whether the data item names, that is, "Social Security Number" and "Name", are correct, whether the data type is "Char", whether the length is the data length of the corresponding field, and whether it is a field to be written into the social security card, etc. If the data verification platform passes the verification, it will perform the next detection according to the data detection script. If the data verification platform fails the verification, it will execute step S11, that is, the instant card-making device will feedback the information that the card-making data verification fails to the user, and end the instant card-making data detection.

[0039] After the card-making data of the external data interface module passes the detection of the data verification platform, the instant card-making device continues to make cards. The data processing module processes the card-making data according to the requirements or card specifications, including data type conversion, data length calculation, data splicing, data format conversion (for example: XML to json), etc. After the data processing module completes the processing of the card-making data, at this time, S4 is executed, and the data verification platform obtains the card-making data from the data processing module of the instant card-making device. Specifically, the data processing module transmits the card-making data to the main control module of the instant card-making device, and this main control module transmits the card-making data to the data verification platform.

[0040] After the data verification platform receives the card-making data transmitted by the data processing module, it executes step S5, that is, it detects the card-making data according to the data processing detection script, and judges whether the card-making data received by the data processing module conforms to the specifications of the social security card to be written. Examples of card specification data verification are as follows:

[0041]

[0042] If the data verification platform passes the verification, it will perform the next detection according to the data detection script. If the data verification platform fails, it will execute step S11, that is, the instant card-making device will feedback the information that the card-making data verification fails to the user, and end the instant card-making data detection.

[0043] After the card-making data processed by the data processing module passes the detection of the data verification platform, the instant card-making device continues to make cards, and the personalization module of the card-making device converts the card-making data into APDU (Application Protocol Data Unit) instructions and prepares to write them into the card. At this time, step S6 is executed, and the data verification platform obtains the card-making data from the personalization of the instant card-making device. Specifically, the personalization module transmits the card-making data to the main control module of the instant card-making device, and the main control module transmits the card-making data to the data verification platform.

[0044] After the data verification platform receives the APDU instruction converted from the card-making data transmitted by the personalization module, it executes step S7, that is, it detects the APDU instruction converted from the card-making data according to the personalized detection script. Specifically, it detects the correctness of the APDU instruction, including source data comparison and encryption machine connectivity detection. The personalized script will also simulate the card according to the APDU instruction data to test the full functions of the financial application and the full functions of the social security application.

[0045] If the data verification platform passes the verification, the next step of instant card making data detection will be continued. If the data verification platform fails, step S11 will be executed, and the instant card making device will feedback the card making data verification failure information of this stage to the user, and the instant card making data detection will be ended.

[0046] The method for automatically detecting the instant card making data of a smart card in an embodiment of the present invention can be combined with the prior art to detect the card issuance log of a card making device. In the embodiment of the present invention, after the card making data processed by the personalization module passes the detection of the data verification platform, the personalization module of the instant card making device writes the card making data into the card. At this time, step S8 is executed to select whether to verify the card issuance log. If the card issuance log is not selected, step S12 is executed, and the instant card making device feeds back information that the card making data verification is successful to the user, and the instant card making data detection ends; if the card issuance log is selected to be verified, step S10 is executed, and the data verification platform detects the card issuance log. If the detection fails, step S11 is executed, and the instant card making device feeds back information that the card issuance log data detection fails to the user, and the instant card making data detection ends. If the detection passes, step S12 is executed, and the instant card making device feeds back information that the card issuance data verification is successful to the user, and the instant card making data detection ends.

[0047] The instant card making system embodiment of the present invention is as follows:

[0048] See also Figure 2The instant card making system embodiment of the present invention includes an instant card making device 11, a data verification platform 5, and a data detection script 6. The instant card making device 11 includes an external interface module 1, a data processing module 2, a personalization module 3, and a main control module 4. The external interface module 1 is connected to the main control module 4, the data processing module is connected to the main control module 4, the personalization module 3 is connected to the main control module 4, the main control module 4 is connected to the data verification platform 5, and the data detection script 6 is imported into the data verification platform 5.

[0049] The data detection script 6 is used to detect the card making data at different stages of the card making process of the instant card making device. The data verification platform is used to obtain the data detection script. In this embodiment, the data detection script 6 includes an interface data detection script, a data processing detection script, and a personalization detection script. Each data detection script corresponds to a card making stage. The data verification platform also receives the instant card making data from the instant card making device 11, and detects the card making data according to the data detection script 6: the instant card making device 11 obtains the card making data at each target card making stage according to the target card making stage corresponding to the data detection script 6 obtained by the data verification platform 5, and applies the data detection script 6 to detect the card making data under the target card making stage, and outputs the detection result of the data verification platform.

[0050] The interface data detection script is used to detect the compliance of the card making data when the instant card making device 11 obtains the card making data from its external interface module 1 .

[0051] The data processing detection script is used to detect whether the card making data processed by the data processing module 2 of the instant card making device meets the specifications of the smart card to be written after the card making data is processed by the data processing module 2.

[0052] The personalization detection script is used to detect the APDU instructions converted from the card making data before the personalization module 3 of the instant card making device writes the smart card.

[0053] The external data interface module 1 can also be used to export the test results of the data verification platform to ensure the correctness of the data returned to the disk.

[0054] From the above, it can be seen that the present invention performs timely card-making data detection by selecting data detection scripts corresponding to card-making data at different stages of the instant card-making process. The detection range is comprehensive and can be adjusted according to actual needs. It can detect card-making data anomalies in time, facilitate development and debugging, and has low technical requirements for card-making personnel at outlets and other good effects.

Claims

1. A method for automatically detecting smart card instant card making data, applied to instant card making equipment, characterized in that: include: The data verification platform obtains at least two data detection scripts, each of which corresponds to a card making stage; The data detection script is determined according to the card management system and card standards, wherein the data detection script includes at least two of the following: an interface data detection script, a data processing detection script, and a personalized detection script; The data verification platform receives the card-making data from the instant card-making device, and detects the card-making data according to the data detection script: the instant card-making device obtains the card-making data at each target card-making stage according to the target card-making stage corresponding to the data detection script obtained by the data verification platform, and applies the data detection script to detect the card-making data at the target card-making stage; The instant card making device outputs the detection result of the data verification platform; If the data verification platform obtains the interface data detection script, at the stage where the external interface module of the instant card making device obtains the card making data, the data verification platform applies the interface data detection script to detect the compliance of the card making data; If the data verification platform obtains the data processing detection script, after the data processing module of the instant card making device processes the instant card making data, the data processing detection script is applied to detect whether the card making data processed by the data processing module meets the specification of the smart card to be written; When the data verification platform obtains the personalization detection script, before the personalization module of the instant card making device writes the smart card, the personalization detection script is used to detect the APDU instruction converted from the card making data; When the card making data detection of the target card making stage fails, the detection result includes card making data verification failure information of the target card making stage.

2. The method for automatically detecting smart card instant card making data as claimed in claim 1, characterized in that: The instant card-making device includes a main control module. When the instant card-making device sends the card-making data to the data verification platform, the main control module receives the corresponding card-making data from the external interface module, the data processing module or the personalization module of the instant card-making device according to the detection script, and the data verification platform receives the card-making data through the main control module.

3. An instant card making system, comprising: Instant card making equipment; Features: The instant card making system also includes a data verification platform, the data verification platform is used to obtain at least two data detection scripts, each of which corresponds to a card making stage, and the data verification platform also receives card making data from the instant card making device and detects the card making data according to the data detection script: wherein the data detection script includes at least two of the following: an interface data detection script, a data processing detection script, and a personalization detection script; The instant card-making device obtains card-making data in each target card-making stage according to the target card-making stage corresponding to the data detection script obtained by the data verification platform, applies the data detection script to detect the card-making data in the target card-making stage, and outputs the detection result of the data verification platform; when the card-making data detection of the target card-making stage fails, the detection result includes card-making data verification failure information of the target card-making stage.

4. The instant card making system according to claim 3, characterized in that: The interface data detection script is used to detect the compliance of the card making data when the instant card making device obtains the card making data from its external interface module; The data processing detection script is used to detect whether the card making data processed by the data processing module of the instant card making device meets the specification of the smart card to be written after the card making data is processed by the data processing module of the instant card making device; The personalization detection script is used to detect the APDU instruction converted from the card making data before the personalization module of the instant card making device writes the smart card.

5. The instant card making system according to claim 4, characterized in that: The external interface module can be used to export the detection results of the data verification platform.

Citation Information

Patent Citations

  • Intelligent IC card data detection method and device

    CN107229958A

  • Card making data processing method, computer device and computer readable storage medium

    CN112667609A

  • Double verification-based card-making method and system

    CN107169536A