Card manufacturing data verification method and device and electronic equipment
Patent Information
- Application Number
- CN202111325618.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-10
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2041-11-10
AI Technical Summary
那么,在收到待验证的制卡数据时,则无法确定该待验证的制卡数据中包含哪些数据元素,这就导致无法采用现有的数据验证方案对这些包含未知数据元素的制卡数据进行有效的数据验证
[0027]本说明书实施例能够获取待验证的制卡文件,该待验证的制卡文件中包含多个制卡数据,一个所述制卡数据中包含至少一个未知的数据元素;再获取待验证的制卡文件中的数据元素的特征系数;然后,基于预设的数据特征信息表,确定与待验证的制卡文件中的数据元素的特征系数相对应的元素类型,该预设的数据特征信息表中包含预先建立的数据元素的类型和数据元素的特征系数之间的对应关系;最后基于与待验证的制卡文件中的数据元素的元素类型相对应的数据验证算法,对待验证的制卡文件中的数据元素进行验证。对于一些未知的数据元素,能够通过确定制卡数据中的数据元素的特征系数来确定数据元素的类型,以及基于该数据元素的类型确定对应的数据验证算法,进而实现对制卡数据中未知的数据元素的有效的数据验证。
Smart Images

Figure CN116108457B_ABST
Abstract
Claims
1. A method of verifying card production data, characterized by, include: Obtain a card production file to be verified, wherein the card production file to be verified contains multiple card production data, and each card production data contains at least one unknown data element; The card manufacturing data in the card manufacturing file to be verified is decomposed to obtain the data feature set corresponding to the multiple data elements in the card manufacturing file to be verified; and the feature coefficients of the multiple data elements are determined based on the data feature set corresponding to the multiple data elements and the input parameter that matches each data feature set; wherein, one data element corresponds to multiple data feature sets, and one data feature set corresponds to a matching input parameter. Based on a preset data feature information table, the element type corresponding to the feature coefficient of the data element in the card production file to be verified is determined. The preset data feature information table contains a pre-established correspondence between the data element type and the feature coefficient of the data element. The data elements in the card production file to be verified are verified based on a data verification algorithm that corresponds to the element type of the data element in the card production file to be verified.
2. The method of claim 1, wherein, Based on the data feature sets corresponding to the multiple data elements and the input parameters matching each data feature set, the feature coefficients of the multiple data elements are determined, including: The feature coefficients of the multiple data elements are determined based on the sum of the products between the data feature sets corresponding to the multiple data elements and the input parameters that match each data feature set.
3. The method of claim 1, wherein, The data elements in the card production file to be verified are verified based on a data verification algorithm corresponding to the element type of the data elements in the file to be verified, including: A data verification model corresponding to the card production file to be verified is established based on the data verification algorithm corresponding to the element type of the data element in the card production file to be verified. Based on the data verification model corresponding to the card production file to be verified, the data elements in the card production file to be verified are verified.
4. The method as described in claim 3, characterized in that, Based on a data verification algorithm corresponding to the element type of the data elements in the card production file to be verified, a data verification model corresponding to the card production file to be verified is established, including: From the preset mapping table between the element type of data elements and data verification algorithms, determine at least one data verification algorithm corresponding to the element type of the data element in the card file to be verified. The at least one data verification algorithm is encapsulated to establish a data verification model corresponding to the card production file to be verified, so that the card production file to be verified serves as the input of the data verification model, and the data verification report of the card production file to be verified serves as the output of the data verification model.
5. The method as described in claim 1, characterized in that, The set of data features corresponding to the plurality of data elements includes at least one of the following: Regional code set; Card type code set; Application identifier set; Manufacturer code set; Enhanced factor set; Number regular expression; Length set.
6. The method according to any one of claims 1 to 5, characterized in that, The card manufacturing file to be verified includes at least one of the following: Physical card data file; Blank card data file; Personalized card writing data file.
7. A device for verifying card issuance data, characterized in that, include: The file acquisition module is used to acquire the card production file to be verified. The card production file to be verified contains multiple card production data, and each card production data contains at least one unknown data element. The feature coefficient acquisition module is used to decompose multiple card production data in the card production file to be verified to obtain a set of data features corresponding to multiple data elements in the card production file to be verified; and to determine the feature coefficients of the multiple data elements based on the set of data features corresponding to the multiple data elements and the input parameters that match each set of data features; wherein, one data element corresponds to multiple sets of data features, and one set of data features corresponds to a matching input parameter. The type determination module is used to determine the element type corresponding to the feature coefficient of the data element in the card production file to be verified based on a preset data feature information table. The preset data feature information table contains a pre-established correspondence between the type of the data element and the feature coefficient of the data element. The data verification module is used to verify the data elements in the card production file to be verified based on a data verification algorithm corresponding to the element type of the data elements in the card production file to be verified.
8. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, performs the following steps: Obtain a card production file to be verified, wherein the card production file to be verified contains multiple card production data, and each card production data contains at least one unknown data element; The card manufacturing data in the card manufacturing file to be verified is decomposed to obtain the data feature set corresponding to the multiple data elements in the card manufacturing file to be verified; and the feature coefficients of the multiple data elements are determined based on the data feature set corresponding to the multiple data elements and the input parameter that matches each data feature set; wherein, one data element corresponds to multiple data feature sets, and one data feature set corresponds to a matching input parameter. Based on a preset data feature information table, the element type corresponding to the feature coefficient of the data element in the card production file to be verified is determined. The preset data feature information table contains a pre-established correspondence between the data element type and the feature coefficient of the data element. The data elements in the card production file to be verified are verified based on a data verification algorithm that corresponds to the element type of the data element in the card production file to be verified.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the following steps: Obtain a card production file to be verified, wherein the card production file to be verified contains multiple card production data, and each card production data contains at least one unknown data element; The card manufacturing data in the card manufacturing file to be verified is decomposed to obtain the data feature set corresponding to the multiple data elements in the card manufacturing file to be verified; and the feature coefficients of the multiple data elements are determined based on the data feature set corresponding to the multiple data elements and the input parameter that matches each data feature set; wherein, one data element corresponds to multiple data feature sets, and one data feature set corresponds to a matching input parameter. Based on a preset data feature information table, the element type corresponding to the feature coefficient of the data element in the card production file to be verified is determined. The preset data feature information table contains a pre-established correspondence between the data element type and the feature coefficient of the data element. The data elements in the card production file to be verified are verified based on a data verification algorithm that corresponds to the element type of the data element in the card production file to be verified.
Citation Information
Patent Citations
Cloud disk data processing method and device, electronic device and storage medium
CN109164986A
Card writing method and device, server and storage medium
CN110460987A