Card-making file generation method, card-making file generation system and computer readable storage medium
Through artificial intelligence and language models automatically generated and checked the card -making script during the smart card production process, it solved the problem of difficulty finding and long card making cycles in existing technology, and realized the efficient generation of card making documents and examine.
Patent Information
- Application Number
- CN202411283463.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2025-01-28
AI Technical Summary
During the smart card making process, the existing technology requires manual participation in the generation of card making scripts, which makes it difficult to detect errors, and the card making cycle is long and consumes human resources.
Obtain user card making information by artificial intelligence, call the language model to generate card making scripts, and use the smart card data processing system, personal chemical card module and card production module to check the simulation card and check to generate the results of the comparison.
The automation generation and inspection of smart card file files has been realized, the consumption of human resources is reduced, and the efficiency of card -making documents is improved.
Smart Images

Figure CN119378528A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart card manufacturing, and in particular to a card manufacturing file generation method, a card manufacturing file generation system and a computer-readable storage medium. Background Art
[0002] Smart card data processing is an important part of smart card manufacturing. After obtaining the original data from the customer, the smart card data is processed to generate the card making data written into the smart card. The steps of smart card data processing include providing smart card making requirements from smart card technical support personnel, developers writing card making scripts according to the card making requirements, and the smart card data processing system executing the card making script to generate a card making file. At present, when smart card data processing generates card making scripts, the entire step requires manual participation. The card making scripts are provided by developers and smart card technical support personnel. During this period, it is difficult to find errors in the card making script when configuring smart card data. After the card making is completed, the smart card technical support personnel can check the card and then troubleshoot the problem. If the smart card fails the card inspection, the card making script needs to be rewritten, resulting in a long card making cycle and wasted human resources.
[0003] There is an existing method for automatically generating an IMS smart card. The method obtains the name of the operator to be tested, automatically searches for and obtains the IMS smart card requirement table of the corresponding operator according to the operator name; extracts the corresponding parameters in the IMS smart card requirement table according to the pre-established IMS smart card parameter table, and fills them into the IMS smart card parameter table; converts the parameters in the IMS smart card parameter table, generates and outputs an IMS smart card simulation script for testing; based on the IMS smart card simulation script, automatically simulates the IMS smart cards of each operator and performs tests. This smart card generation method generates scripts through templates. When a customer has new requirements for a smart card, the parameter table may not have the parameter settings corresponding to the customer's new requirements. The customer still needs staff to write scripts, which consumes human resources. Summary of the invention
[0004] The first object of the present invention is to provide a card making file generation method which reduces human resource consumption.
[0005] The second object of the present invention is to provide a card making file generation system for realizing the above-mentioned card making file generation method.
[0006] The third object of the present invention is to provide a computer-readable storage medium using the above card making file generation method. To achieve the first purpose of the present invention, the present invention provides a card-making file generation method, which includes: an artificial intelligence entity obtains user card-making information, inputs the user card-making information into a language model for parsing, and generates a card-making script; the artificial intelligence entity calls a smart card data processing system to execute the card-making script to generate the card-making file; the artificial intelligence entity calls a personalized card-making module to simulate card-making on the card-making file and generates a personalized log; the artificial intelligence entity calls a card-making checking module to compare the card-making script, the personalized log and the user card-making information to generate a comparison result; the artificial intelligence entity sends the comparison result to the card-making user to determine whether user confirmation information has been received. If user confirmation information has been received, the card-making file is used for the card-making operation.
[0007] It can be seen from the above scheme that after the artificial intelligence communicates with the user who needs to make a card, it obtains the user's card making information, inputs the user's card making information into the language model for parsing, and generates a card making script. The artificial intelligence calls the smart card data processing system through the system interface to execute the card making script, calls the personalized card making module to simulate the card making of the card making file, and calls the card making inspection module for inspection and comparison. That is, the artificial intelligence can realize full process control of the personalized data processing of the smart card. The card making user only needs to communicate with the artificial intelligence, and the artificial intelligence can call each system interface to complete the task, thereby completing the generation and inspection of the card making file, reducing the professional requirements of the staff and improving the efficiency of the generation of the card making file.
[0008] In a further solution, the artificial intelligence entity inputs the card-making information into the language model for parsing, and when generating the card-making script, it also executes: the language model also outputs the first card-making form.
[0009] It can be seen that the first card making table is the parameter table of the card making file, and its contents include card directory structure, DGI grouping, Key label, card operation, etc.
[0010] In a further solution, after the artificial intelligence body calls the personalized card making module to generate a personalized log, it also executes: the artificial intelligence body inputs the card making script and the personalized log into the language model for parsing to generate a second card making form.
[0011] It can be seen that by extracting the card making script and the content of the personalized log through the language model, the card making content after simulated card making can be obtained, thereby generating a second card making form for comparison.
[0012] In a further solution, the step of the artificial intelligence body calling the card making check module to compare the card making script, the personalized log and the user card making information includes: the artificial intelligence body calling the card making check module to compare the first card making form and the second card making form.
[0013] It can be seen that by comparing whether the contents of the first card-making form and the second card-making form are consistent, it is possible to determine whether an error occurs after the simulated card-making, thereby generating a comparison result.
[0014] In a further solution, before the artificial intelligence entity obtains the user's card making information, it also executes: calling the retrieval model to collect smart card data processing information and script information corresponding to the smart card data processing information; inputting the smart card data processing information and the script information corresponding to the smart card data information into the language model for training.
[0015] It can be seen that by collecting relevant smart card data processing information and script information through the retrieval model, the language model is trained so that the language model meets the production requirements of smart cards and better parses user card making information.
[0016] In a further solution, if no user confirmation information is received, the artificial intelligence agent obtains the user modification information, sends the user modification information to the language model, and generates a card making script for modification.
[0017] It can be seen from this that if the user does not confirm the card-making file, the card-making file does not meet the user's needs. The artificial intelligence entity can guide the customer to enter user modification information and regenerate the card-making script.
[0018] In order to achieve the second purpose of the present invention, the card-making file generation system provided by the present invention includes an artificial intelligence entity, a smart card data processing system, a personalized card-making module and a card-making inspection module. The artificial intelligence entity is connected to the smart card data processing system, the personalized card-making module and the card-making inspection module respectively through a system interface. The artificial intelligence entity implements the above-mentioned card-making file generation method when executing a computer program.
[0019] In order to achieve the third objective, the present invention provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed, the above-mentioned card-making file generation method is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a system structure block diagram of an embodiment of the card making file generation system of the present invention.
[0021] Figure 2 It is a flow chart of an embodiment of the card making file generating method of the present invention.
[0022] The present invention is further described below in conjunction with the accompanying drawings and embodiments. DETAILED DESCRIPTION
[0023] The card making file method provided by the present invention communicates with the user who needs to make a card through an artificial intelligence entity, obtains the user's card making information, calls the language model to generate a card making script, calls various systems and modules to simulate card making and check the card making file, thereby generating a card making file. The artificial intelligence entity controls the entire process of card making file generation, thereby reducing the professional requirements of the staff and improving the efficiency of card making file generation.
[0024] Card making file generation system embodiment: See also Figure 1 The card making file generation system of this embodiment includes an artificial intelligence entity 11, a system interface 12, a smart card data processing system 13, a personalized card making module 14 and a card making inspection module 15. The artificial intelligence entity 11 is connected to the smart card data processing system 13, the personalized card making module 14 and the card making inspection module 15 through the system interface 12. The smart card data processing system 13 can execute the card making script to generate a card making file, and the personalized card making module 14 can simulate card making for the card making file and generate a personalized log. The card making inspection module 15 can compare the card making script and the personalized log after simulating card making to obtain a comparison result. The artificial intelligence entity 11 calls the smart card data processing system 13, the personalized card making module 14 and the card making inspection module 15 according to the card making file generation requirements and the task, so as to generate a suitable card making file.
[0025] Card making file generation method embodiment: See also Figure 2 The card making file generation method of this embodiment is implemented by the card making file generation system of the card making file generation system embodiment. When implementing the card making file generation method of this embodiment, firstly execute step S1, the artificial intelligence entity obtains the user's card making information, inputs the user's card making information into the language model for parsing, and generates a card making script. The card making user can communicate with the artificial intelligence entity through a dialog box, so that the artificial intelligence entity obtains the user's card making information. The user's card making information includes the personalized information or key requirements of the smart card. After the artificial intelligence entity obtains the user's card making information, the user's card making information is input into the language model for parsing. The language model can parse the user's demand characteristics to generate a card making script. The language model is trained by an open source language model such as the LLM language model or the Qwen language model, the Mistral language model, etc. The training step of the language model of this embodiment includes the artificial intelligence entity calling the retrieval model to collect the smart card data processing information and the script information corresponding to the smart card data processing information; the smart card data processing information and the script information corresponding to the smart card data information are input into the language model for training. At the same time, the language model is fine-tuned by a fine-tuning model such as the LoRA model or the RLHF model, so that the language model has the ability to process and configure smart card data.
[0026] When the language model parses the user's card making information to generate a card making script, the language model also outputs a first card making form. The first card making form is a parameter table of the card making file, including card directory structure, DGI grouping, Key label, card operation, etc.
[0027] After the artificial intelligence generates the card-making script, step S2 is executed, and the artificial intelligence calls the smart card data processing system to execute the card-making script to generate a card-making file. The smart card data processing system can execute the card-making script to generate a card-making file. The smart card data processing system parses the card-making script, and then intercepts the static data, that is, the fixed data written into the smart card; then intercepts the dynamic data, that is, the data that needs to be encrypted and decrypted, personalized data, card-specific data, etc.; then connects to the key management system, obtains the relevant key certificate of the smart card, performs encryption and decryption operations on important data, and thus generates a card-making file.
[0028] After the artificial intelligence calls the smart card data processing system to execute the card making script to generate the card making file, step S3 is executed, and the artificial intelligence calls the personalized card making module to simulate the card making file and generate a personalized log. Among them, the personalized card making module can parse the card making file, and the simulated data interacts with the simulated smart card generated by the card making file, thereby generating a personalized log.
[0029] After the artificial intelligence entity obtains the personalized log, it inputs the card making script and the personalized log into the language model for parsing to generate the second card making form. The language model can extract the card making features of the smart card from the card making script and the personalized log, thereby generating the second card making form. The content of the second card making form includes the card directory structure, DGI grouping, Key label, card operation, etc.
[0030] After the artificial intelligence obtains the second card-making form, step S4 is executed. The artificial intelligence calls the card-making inspection module to compare the card-making script, the personalized log and the user card-making information to generate the comparison result, that is, the first card-making form and the second card-making form are compared to see whether the content of the first card-making form is the same as the content of the second card-making form. If they are the same, the card-making script and the user card-making information are output to be consistent. If they are not the same, the card-making script and the user card-making information are output to be inconsistent. Since the first card-making form is obtained by extracting the user card-making information through the language model, and the second card-making form is obtained by extracting the card-making script and the personalized log through the language model, the comparison result can be obtained by comparing the first card-making form and the second card-making form. The card-making inspection module compares the user card-making data with the personalized log generated after the simulation, so that defects in the card-making file can be checked.
[0031] After the artificial intelligence entity obtains the comparison result, it executes step S5 to send the comparison result to the card making user through a dialog box. The card making user can obtain the comparison result and the contents of the first card making form and the second card making form, and can confirm the comparison result or make a modification request. The artificial intelligence entity then executes step S6 to determine whether the user confirmation information is received. If the user confirmation information is received, step S7 is executed to use the card making file for the card making operation.
[0032] If the user confirmation information is not received, the artificial intelligence needs to guide the card making user to input the features to be modified, and then execute step S8, the artificial intelligence receives the user modification information and generates a modified card making script. After generating the modified card making script, the artificial intelligence also needs to execute step S2, calling the smart card data processing system to execute the modified card making script to generate the card making file, until the user confirmation information is received.
[0033] Artificial intelligence can achieve full process control for the personalized data processing of smart cards. Card-making users only need to communicate with the artificial intelligence, and the artificial intelligence can call various system interfaces to complete the task, thereby completing the generation and inspection of card-making files, reducing the professional requirements of staff and improving the efficiency of card-making file generation. Through artificial intelligence, the entire data processing process is simplified, and the professional requirements of production operators for cards are reduced, thereby reducing labor cost requirements.
[0034] Computer readable storage medium embodiment: The card-making file generation method in the card-making file generation system described in the above embodiment can be stored in a computer-readable storage medium in the form of a computer program. When the computer program is executed by a processor, the steps of the card-making file generation method embodiment in the above card-making file generation system can be completed. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0035] The above are only preferred embodiments of the present invention, but the design concept of the invention is not limited thereto. Without departing from the concept of the present invention, more other equivalent embodiments may be included. It is obvious to those skilled in the art that various changes, readjustments and substitutions can be made without departing from the protection scope of the present invention.
Claims
1. A card making file generation method, characterized in that: The method includes: The artificial intelligence entity obtains the user's card making information, inputs the user's card making information into the language model for parsing, and generates a card making script; The artificial intelligence entity calls the smart card data processing system to execute the card making script to generate the card making file; The artificial intelligence entity calls the personalized card making module to simulate card making on the card making file and generate a personalized log; The artificial intelligence entity calls the card making check module to compare the card making script, the personalization log and the user card making information to generate a comparison result; The artificial intelligence entity sends the comparison result to the card making user to determine whether user confirmation information has been received. If user confirmation information is received, the card making file is used for the card making operation.
2. The card making file generation method according to claim 1, characterized in that: The artificial intelligence entity inputs the card making information into the language model for parsing, and when generating the card making script, it also executes: The language model also outputs a first card making form.
3. The card making file generation method according to claim 2, characterized in that: After the artificial intelligence agent calls the personalized card making module to generate a personalized log, it also executes: The artificial intelligence entity inputs the card making script and the personalized log into the language model for parsing to generate a second card making form.
4. The card making file generation method according to claim 3, characterized in that: The step of the artificial intelligence entity calling the card making check module to compare the card making script, the personalization log and the user card making information includes: The artificial intelligence agent calls the card making inspection module to compare the first card making form with the second card making form.
5. The card making file generation method according to any one of claims 1 to 4, characterized in that: Before the artificial intelligence entity obtains the user's card making information, it also executes: The artificial intelligence entity calls the retrieval model to collect smart card data processing information and script information corresponding to the smart card data processing information; The smart card data processing information and the script information corresponding to the smart card data information are input into the language model for training.
6. The card making file generation method according to any one of claims 1 to 4, characterized in that: If the user confirmation information is not received, the artificial intelligence entity obtains the user modification information, sends the user modification information to the language model, and generates a modified card making script.
7. A card making file generation system, comprising an artificial intelligence entity, a smart card data processing system, a personalized card making module and a card making inspection module, wherein the artificial intelligence entity is connected to the smart card data processing system, the personalized card making module and the card making inspection module respectively through a system interface, characterized in that: The artificial intelligence entity implements the card making file generation method as described in any one of claims 1 to 6 when executing the computer program.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the card making file generating method according to any one of claims 1 to 6 is implemented.