CN111737960B - Magnetic card data processing method and system - Google Patents

Magnetic card data processing method and system Download PDF

Info

Publication number
CN111737960B
CN111737960B CN202010625112.1A CN202010625112A CN111737960B CN 111737960 B CN111737960 B CN 111737960B CN 202010625112 A CN202010625112 A CN 202010625112A CN 111737960 B CN111737960 B CN 111737960B
Authority
CN
China
Prior art keywords
magnetic card
data
account
card data
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010625112.1A
Other languages
Chinese (zh)
Other versions
CN111737960A (en
Inventor
党娜
刘洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202010625112.1A priority Critical patent/CN111737960B/en
Publication of CN111737960A publication Critical patent/CN111737960A/en
Application granted granted Critical
Publication of CN111737960B publication Critical patent/CN111737960B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K1/00Methods or arrangements for marking the record carrier in digital fashion
    • G06K1/12Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching
    • G06K1/125Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching by magnetic means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Bioethics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The embodiment of the application discloses a processing method and a processing system of magnetic card data, wherein a data service system acquires original magnetic card data for preprocessing to obtain first magnetic card data; and storing the first magnetic card file at the first target position; the account generation system acquires a first magnetic card file from a first target position to obtain first magnetic card data; decrypting the first magnetic card data to obtain magnetic card account information, and establishing an electronic account according to the magnetic card account information; encrypting the decrypted first magnetic card data to obtain second magnetic card data, and storing the second magnetic card data in a second magnetic card file positioned at a second target position; the card preparation system acquires a second magnetic card file from a second target position to obtain second magnetic card data; decrypting the second magnetic card data and converting the second magnetic card data into magnetic card text data; the magnetic card text data is used for writing magnetism by a test magnetic card and generating a magnetic card corresponding to the electronic account. Therefore, the efficiency of magnetic card data processing is improved, and the test of the magnetic card is facilitated.

Description

Magnetic card data processing method and system
Technical Field
The present invention relates to the field of data processing, and in particular, to a method and a system for processing magnetic card data.
Background
Before the magnetic card is used, the magnetic card data is required to be used for writing magnetic cards. When the magnetic card for testing is generated, the original magnetic card data obtained by application is required to be subjected to data conversion to obtain the data capable of writing magnetism, and then the data capable of writing magnetism is used for writing magnetism of the magnetic card.
However, the conversion process of the magnetic card data for test needs to be performed manually, which results in a complex process of generating the magnetic card data capable of writing magnetism, and low efficiency of generating the magnetic card data capable of writing magnetism, which affects the test result based on the magnetic card test.
Disclosure of Invention
In view of this, the embodiments of the present application provide a method and a system for processing magnetic card data, which can implement automatic processing of magnetic card data for testing, and facilitate magnetic card testing.
In order to solve the above problems, the technical solution provided in the embodiments of the present application is as follows:
in a first aspect, the present application provides a method for processing magnetic card data, the method including:
the data service system acquires original magnetic card data, and preprocesses the original magnetic card data to obtain first magnetic card data; the first magnetic card data are data which respectively meet the reading condition of the account generation system and the reading condition of the card preparation system;
the data service system stores the first magnetic card data into a first magnetic card file positioned at a first target position;
the account generation system acquires the first magnetic card file from the first target position, reads the first magnetic card file and acquires the first magnetic card data; the account generation system decrypts the first magnetic card data, acquires magnetic card account information, and establishes an electronic account according to the magnetic card account information;
the account generation system encrypts the decrypted first magnetic card data to obtain second magnetic card data; the account generation system stores the second magnetic card data into a second magnetic card file positioned at a second target position;
the card preparation system acquires the second magnetic card file from the second target position, reads the second magnetic card file and acquires the second magnetic card data;
the card preparation system decrypts the second magnetic card data and converts the decrypted second magnetic card data into magnetic card text data; the magnetic card text data is used for writing magnetism to a test magnetic card and generating a magnetic card corresponding to the electronic account.
Optionally, the account generation system decrypts the first magnetic card data, obtains magnetic card account information, and establishes an electronic account according to the magnetic card account information, including:
the account generation system performs all decryption on the first magnetic card data, and extracts magnetic card account information from the decrypted first magnetic card data;
encrypting data except the magnetic card account information in the decrypted first magnetic card data to generate first encrypted data;
and establishing a corresponding electronic account according to the magnetic card account information.
Optionally, the account generation system encrypts the decrypted first magnetic card data to obtain second magnetic card data, including:
the account generation system encrypts the magnetic card account information and the account label corresponding to the magnetic card account information to generate second encrypted data; the account tag is marked by the account generation system on the magnetic card account information;
and combining the first encrypted data and the second encrypted data to obtain second magnetic card data.
Optionally, the card preparation system decrypts the second magnetic card data and converts the decrypted second magnetic card data into magnetic card text data, including:
the card preparation system performs all decryption on the second magnetic card data;
and extracting the magnetic card account information from the decrypted second magnetic card data according to the account label, and converting the magnetic card account information into magnetic card text data.
Optionally, the account generation system stores the second magnetic card data in a second magnetic card file located at a second target location, including:
the account generation system stores the second magnetic card data in a second magnetic card file positioned at a first target position, so that the data service system obtains the second magnetic card file from the first target position and stores the second magnetic card file to the second target position.
In a second aspect, the present application provides a magnetic card data processing system, the system comprising:
the system comprises a data service system, an account generation system and a card preparation system; wherein,,
the data service system is used for acquiring original magnetic card data, and preprocessing the original magnetic card data to obtain first magnetic card data; the first magnetic card data are data which respectively meet the reading condition of the account generation system and the reading condition of the card preparation system; storing the first magnetic card data into a first magnetic card file positioned at a first target position;
the account generation system is used for acquiring the first magnetic card file from the first target position and reading the first magnetic card file to obtain the first magnetic card data;
decrypting the first magnetic card data to obtain magnetic card account information, and establishing an electronic account according to the magnetic card account information;
encrypting the decrypted first magnetic card data to obtain second magnetic card data;
storing the second magnetic card data into a second magnetic card file positioned at a second target position;
the card preparation system is used for acquiring the second magnetic card file from the second target position and reading the second magnetic card file to obtain the second magnetic card data;
decrypting the second magnetic card data and converting the decrypted second magnetic card data into magnetic card text data; the magnetic card text data is used for writing magnetism to a test magnetic card and generating a magnetic card corresponding to the electronic account.
Optionally, the account generation system is specifically configured to decrypt all the first magnetic card data, and extract magnetic card account information from the decrypted first magnetic card data; encrypting data except the magnetic card account information in the decrypted first magnetic card data to generate first encrypted data; and establishing a corresponding electronic account according to the magnetic card account information.
Optionally, the account generation system is specifically configured to encrypt the magnetic card account information and an account tag corresponding to the magnetic card account information, so as to generate second encrypted data; the account tag is marked by the account generation system on the magnetic card account information; and combining the first encrypted data and the second encrypted data to obtain second magnetic card data.
Optionally, the card preparation system is specifically configured to decrypt all the second magnetic card data; and extracting the magnetic card account information from the decrypted second magnetic card data according to the account label, and converting the magnetic card account information into magnetic card text data.
Optionally, the account generation system is specifically configured to store the second magnetic card data in a second magnetic card file located at a first target location, so that the data service system obtains the second magnetic card file from the first target location, and stores the second magnetic card file to the second target location.
From this, the embodiment of the application has the following beneficial effects:
firstly, a data service system acquires original magnetic card data, and preprocesses the original magnetic card data to obtain first magnetic card data; the first magnetic card data are data which respectively meet the reading conditions of the account generation system and the card preparation system; the data service system stores the first magnetic card data into a first magnetic card file positioned at a first target position; secondly, the account generation system acquires the first magnetic card file from the first target position, reads the first magnetic card file and acquires the first magnetic card data; the account generation system decrypts the first magnetic card data, acquires magnetic card account information, and establishes an electronic account according to the magnetic card account information; the account generation system encrypts the decrypted first magnetic card data to obtain second magnetic card data; the account generation system stores the second magnetic card data into a second magnetic card file positioned at a second target position; finally, the card preparation system acquires the second magnetic card file from the second target position, reads the second magnetic card file and acquires the second magnetic card data; the card preparation system decrypts the second magnetic card data and converts the decrypted second magnetic card data into magnetic card text data; the magnetic card text data are used for writing magnetism by a magnetic card, and the magnetic card corresponding to the electronic account is generated. The first magnetic card data read by the account generation system and the card preparation system can be obtained through the processing of the original magnetic card data by the data service system. By storing the first magnetic card data in the first magnetic card file located at the first target position, the account generation system can automatically acquire the file. The account generation system establishes a corresponding electronic account and generates second magnetic card data by decrypting and encrypting the first magnetic card data. And storing the second magnetic card data into a second magnetic card file positioned at a second target position, so that the card making preparation system automatically reads the file to obtain the second magnetic card data. The card making preparation system decrypts the second magnetic card data and performs data conversion to obtain magnetic card text data for writing magnetic card. Therefore, according to the embodiment of the application, the original magnetic card data are processed and the positions where the magnetic card data are stored are set, so that automatic processing of the magnetic card data for testing can be realized, the efficiency of processing the magnetic card data is improved, and the test based on the magnetic card is facilitated.
Drawings
Fig. 1 is a flowchart of a processing method of magnetic card data provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a magnetic card data processing system according to an embodiment of the present application.
Detailed Description
In order to facilitate understanding and explanation of the technical solutions provided by the embodiments of the present application, the background art of the present application will be described first.
The magnetic card is written with magnetic before use, and the basic information of the magnetic card is recorded in the magnetic card. The inventor finds that in the generation process of the magnetic card for testing, the application of magnetic card creation is firstly carried out to obtain the magnetic card original data containing the magnetic card basic information after researching the traditional magnetic card data processing. The original data of the magnetic card is ciphertext, can not be directly used for writing magnetism of the magnetic card, and needs to carry out data conversion. After obtaining the magnetic card original data, a worker manually processes the magnetic card original data to obtain magnetic card data for writing magnetism. Because of the testing process, the magnetic card generating system for handling normal business cannot be used, and the magnetic card data needs to be processed in multiple steps. At present, the efficiency of magnetic card data processing is lower due to the fact that the magnetic card data processing is performed manually, and on one hand, the magnetic card data is easy to be wrong due to the manual processing, so that the test is failed; on the other hand, it is difficult to rapidly process a large amount of magnetic card data, which affects the test efficiency.
Based on this, the embodiment of the application provides a processing method of magnetic card data, firstly, a data service system acquires original magnetic card data, and preprocesses the original magnetic card data to obtain first magnetic card data; the first magnetic card data are data which respectively meet the reading conditions of the account generation system and the card preparation system; the data service system stores the first magnetic card data into a first magnetic card file positioned at a first target position; secondly, the account generation system acquires the first magnetic card file from the first target position, reads the first magnetic card file and acquires the first magnetic card data; the account generation system decrypts the first magnetic card data, acquires magnetic card account information, and establishes an electronic account according to the magnetic card account information; the account generation system encrypts the decrypted first magnetic card data to obtain second magnetic card data; the account generation system stores the second magnetic card data into a second magnetic card file positioned at a second target position; finally, the card preparation system acquires the second magnetic card file from the second target position, reads the second magnetic card file and acquires the second magnetic card data; the card preparation system decrypts the second magnetic card data and converts the decrypted second magnetic card data into magnetic card text data; the magnetic card text data are used for writing magnetism by a magnetic card, and the magnetic card corresponding to the electronic account is generated.
In order to facilitate understanding of the technical solution provided by the embodiments of the present application, a method for processing magnetic card data provided by the embodiments of the present application is described below with reference to the accompanying drawings.
Referring to fig. 1, the flowchart of a magnetic card data processing method according to an embodiment of the present application includes steps S101-S106.
S101: the data service system acquires original magnetic card data, and preprocesses the original magnetic card data to obtain first magnetic card data; the first magnetic card data is data satisfying the reading condition of the account generation system and the reading condition of the card preparation system, respectively.
A data service system is a system for performing data preprocessing. The data service system acquires original magnetic card data, wherein the original magnetic card data is encrypted ciphertext generated according to basic information of an application magnetic card.
In order to enable the account generation system and the card preparation system to read data normally later, the data service system can preprocess the original magnetic card data to obtain processed first magnetic card data.
The preprocessing can specifically convert the original magnetic card data into corresponding ASCII codeword throttling, and detect whether the byte length of the ASCII codeword throttling is an integer multiple of 8. Since the ASCII code is an 8-bit number, when the byte length of the resulting ASCII code word stream is not an integer multiple of 8, it is indicated that there is an error in converting the original magnetic card data into the ASCII code word stream, and bit filling is required. And performing exclusive or processing on the ASCII codeword throttle after bit compensation to obtain first magnetic card data.
S102: the data service system stores the first magnetic card data into a first magnetic card file located at a first target position.
After the first magnetic card data is obtained, the first magnetic card data may be stored in a first magnetic card file at the first target location. The first target position is the position where the account generation system reads the file, and the account generation system can directly read the first magnetic card file at the first target position by storing the first magnetic card data into the first magnetic card file at the first target position, so that the account generation system can automatically acquire the first magnetic card data.
It should be noted that, the storage position of the first magnetic card data of the data service system may be preset as the first target position, so that the first magnetic card file is stored to the first target position.
S103: the account generation system acquires the first magnetic card file from the first target position, reads the first magnetic card file and acquires the first magnetic card data; the account generation system decrypts the first magnetic card data, obtains magnetic card account information, and establishes an electronic account according to the magnetic card account information.
The account generation system is used for establishing an electronic account according to the magnetic card account information, and it can be understood that the magnetic card is provided with a corresponding electronic account, and the first magnetic card information is provided with basic information for establishing the magnetic card. The account generation system acquires first magnetic card data through the first magnetic card file, decrypts the first magnetic card data and can obtain magnetic card account information. The magnetic card account information is basic information of a magnetic card required by the account generation system for establishing the electronic account, such as a name, an account, a card type, a product code and the like of a user corresponding to the magnetic card.
In this embodiment of the present application, the method for decrypting the first magnetic card data corresponds to the method for encrypting the original magnetic card data, and the method for encrypting and decrypting the first magnetic card data may adopt a 3DESede and double-length key method.
S104: the account generation system encrypts the decrypted first magnetic card data to obtain second magnetic card data; the account generation system stores the second magnetic card data in a second magnetic card file positioned at a second target position.
The account generation system may encrypt the decrypted first magnetic card data after decrypting the first magnetic card data to obtain magnetic card account information, and then obtain second magnetic card data. The encryption of the decrypted first magnetic card data is to increase the security of data transmission between the systems.
The embodiment of the present application is not limited to the encryption method for obtaining the second magnetic card data, and may be the same as the method for decrypting the first magnetic card data, and may be encryption by adopting a 3DESede and double-length key.
After the second magnetic card data is obtained, the second magnetic card data is stored in a second magnetic card file at a second target position, and the second target position is a position where the card making preparation system reads the file.
In one possible implementation manner, the account generation system cannot directly store the second magnetic card data in the second target location, and the account generation system stores the second magnetic card data in a second magnetic card file located in the second target location, which specifically may include:
the account generation system stores the second magnetic card data in a second magnetic card file positioned at a first target position, so that the data service system obtains the second magnetic card file from the first target position and stores the second magnetic card file to the second target position.
The account generation system may store second magnetic card data in a second magnetic card file at the first target location, and the data service system may transfer the second magnetic card file to the second target location in order to prepare the card for file reading. The second magnetic card file is transferred through the data service system, so that the setting of an account generation system can be reduced, and the data service system is convenient for processing the magnetic card file. The data service system can transfer the second magnetic card file, and can also back up the second magnetic card file, so that the integrity of data is ensured.
S105: the card preparation system acquires the second magnetic card file from the second target position, reads the second magnetic card file and acquires the second magnetic card data.
The card preparation system is used for converting the second magnetic card data to obtain magnetic card data capable of writing magnetism. The card preparation system acquires a second magnetic card file from a second target position and reads second magnetic card data in the second magnetic card file.
S106: the card preparation system decrypts the second magnetic card data and converts the decrypted second magnetic card data into magnetic card text data; the magnetic card text data are used for writing magnetism by a magnetic card, and the magnetic card corresponding to the electronic account is generated.
The card preparation system decrypts the second magnetic card data, and a decryption method of the second magnetic card data by the card preparation system may be the same as an encryption method of the second magnetic card data generation.
The card making preparation system converts the decrypted second magnetic card data into magnetic card text data which can be used for writing magnetic by a magnetic card.
In the embodiment of the application, the original magnetic card data is preprocessed through the data service system to obtain first magnetic card data which can be read by the account generation system and the card making preparation system, and then the first magnetic card data is stored to a first target position, so that the account generation unit automatically reads the first magnetic card file to obtain the first magnetic card data. The account generation system establishes an electronic account according to the magnetic card account information in the decrypted first magnetic card data, and encrypts the electronic account to obtain second magnetic card data. The card making preparation system automatically acquires a second magnetic card file in a second target position, acquires second magnetic card data, decrypts and converts the second magnetic card data to obtain magnetic card text data for magnetic card writing. By storing the processed data of each system to a specific target location, the data of the next data processing system can be automatically processed. Therefore, the automatic processing of the magnetic card data is realized, the corresponding electronic account and the magnetic card text data for writing the magnetic card are automatically generated according to the original magnetic card data, and the processing efficiency of the magnetic card data is improved.
In one possible implementation, in order to facilitate the data conversion by the card preparation system to obtain the magnetic card text data, the account generation system may tag the magnetic card account information after obtaining the magnetic card account information.
The account generation system decrypts the first magnetic card data, obtains magnetic card account information, and establishes an electronic account according to the magnetic card account information, and comprises:
the account generation system performs all decryption on the first magnetic card data, and extracts magnetic card account information from the decrypted first magnetic card data;
encrypting data except the magnetic card account information in the decrypted first magnetic card data to generate first encrypted data;
and establishing a corresponding electronic account according to the magnetic card account information.
Because the account generation system can establish the electronic account according to the magnetic card account information in the first magnetic card data, other data in the first magnetic card data can be partially decrypted for the safety of the data. The partial decryption means that the account generation system can decrypt all the first magnetic card data, extract magnetic card account information from the all decrypted first magnetic card data, and encrypt data other than the magnetic card account information to obtain first encrypted data. When the magnetic card account information is used for establishing the electronic account, other data are in an encrypted state, so that the safety of the data is ensured.
Further, the account generation system encrypts the decrypted first magnetic card data to obtain second magnetic card data, including:
the account generation system encrypts the magnetic card account information and the account label corresponding to the magnetic card account information to generate second encrypted data; the account tag is marked by the account generation system on the magnetic card account information;
and combining the first encrypted data and the second encrypted data to obtain second magnetic card data.
In order to facilitate the card making preparation system to perform data conversion on the magnetic card account information, the account generation system may mark the magnetic card account information with an account tag, and encrypt the magnetic card account information and the account tag to obtain second encrypted data. Since the encryption of data other than the magnetic card account information has already resulted in the first encrypted data, the first encrypted data and the second encrypted data are combined to result in the second magnetic card data. The first encrypted data is identical to the second encrypted data in encryption method.
Correspondingly, the card preparation system decrypts the second magnetic card data and converts the decrypted second magnetic card data into magnetic card text data, and the card preparation system comprises:
the card preparation system performs all decryption on the second magnetic card data;
and extracting the magnetic card account information from the decrypted second magnetic card data according to the account label, and converting the magnetic card account information into magnetic card text data.
The card preparation system decrypts all the second magnetic card data, and can rapidly extract the magnetic card account information according to the account label in the decrypted second magnetic card data. The card making preparation system then converts the magnetic card account information into magnetic card text data so as to write magnetism, and the magnetic card corresponding to the electronic account established by the account generation system is obtained.
In the embodiment of the application, the magnetic card account information is marked by the account generation system, so that the card making preparation system can conveniently acquire the magnetic card account information from the second magnetic card data and convert the magnetic card account information. The card making preparation system can be enabled to conduct data screening, and more accurate magnetic card text data can be obtained to conduct magnetic card writing.
Based on the processing method of the magnetic card data provided by the embodiment of the method, the embodiment of the application also provides a processing system of the magnetic card data, and the processing system of the magnetic card data will be described with reference to the accompanying drawings.
Referring to fig. 2, the schematic diagram of a magnetic card data processing system according to an embodiment of the present application is shown. As shown in fig. 2, the magnetic card data processing system includes:
a data service system 201, an account generation system 202, and a card preparation system 203; wherein,,
the data service system 201 is configured to obtain original magnetic card data, and perform preprocessing on the original magnetic card data to obtain first magnetic card data; the first magnetic card data is data satisfying the reading condition of the account generation system 202 and the reading condition of the card preparation system 203, respectively; storing the first magnetic card data into a first magnetic card file positioned at a first target position;
the account generation system 202 is configured to obtain the first magnetic card file from the first target location, and read the first magnetic card file to obtain the first magnetic card data;
decrypting the first magnetic card data to obtain magnetic card account information, and establishing an electronic account according to the magnetic card account information;
encrypting the decrypted first magnetic card data to obtain second magnetic card data;
storing the second magnetic card data into a second magnetic card file positioned at a second target position;
the card preparation system 203 is configured to obtain the second magnetic card file from the second target location, and read the second magnetic card file to obtain the second magnetic card data;
decrypting the second magnetic card data and converting the decrypted second magnetic card data into magnetic card text data; the magnetic card text data is used for writing magnetism to a test magnetic card and generating a magnetic card corresponding to the electronic account.
Optionally, the account generation system 202 is specifically configured to decrypt all the first magnetic card data, and extract magnetic card account information from the decrypted first magnetic card data; encrypting data except the magnetic card account information in the decrypted first magnetic card data to generate first encrypted data; and establishing a corresponding electronic account according to the magnetic card account information.
Optionally, the account generation system 202 is specifically configured to encrypt the magnetic card account information and an account tag corresponding to the magnetic card account information to generate second encrypted data; the account tag is tagged with the magnetic card account information by the account generation system 202; and combining the first encrypted data and the second encrypted data to obtain second magnetic card data.
Optionally, the card preparation system 203 is specifically configured to decrypt all the second magnetic card data; and extracting the magnetic card account information from the decrypted second magnetic card data according to the account label, and converting the magnetic card account information into magnetic card text data.
Optionally, the account generating system 202 is specifically configured to store the second magnetic card data in a second magnetic card file located at a first target location, so that the data service system 201 obtains the second magnetic card file from the first target location, and stores the second magnetic card file to the second target location.
It should be noted that, in the present description, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different manner from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the system or device disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and the relevant points refer to the description of the method section.
It should be understood that in this application, "at least one" means one or more, and "a plurality" means two or more. "and/or" for describing the association relationship of the association object, the representation may have three relationships, for example, "a and/or B" may represent: only a, only B and both a and B are present, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
It is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for processing magnetic card data, the method comprising:
the data service system acquires original magnetic card data, and preprocesses the original magnetic card data to obtain first magnetic card data; the first magnetic card data are data which respectively meet the reading condition of the account generation system and the reading condition of the card preparation system;
the data service system stores the first magnetic card data into a first magnetic card file positioned at a first target position;
the account generation system acquires the first magnetic card file from the first target position, reads the first magnetic card file and acquires the first magnetic card data; the account generation system decrypts the first magnetic card data, acquires magnetic card account information, and establishes an electronic account according to the magnetic card account information;
the account generation system encrypts the decrypted first magnetic card data to obtain second magnetic card data; the account generation system stores the second magnetic card data into a second magnetic card file positioned at a second target position;
the card preparation system acquires the second magnetic card file from the second target position, reads the second magnetic card file and acquires the second magnetic card data;
the card preparation system decrypts the second magnetic card data and converts the decrypted second magnetic card data into magnetic card text data; the magnetic card text data is used for writing magnetism to a test magnetic card and generating a magnetic card corresponding to the electronic account.
2. The method of claim 1, wherein the account generation system decrypting the first magnetic card data, obtaining magnetic card account information, and establishing an electronic account based on the magnetic card account information, comprises:
the account generation system performs all decryption on the first magnetic card data, and extracts magnetic card account information from the decrypted first magnetic card data;
encrypting data except the magnetic card account information in the decrypted first magnetic card data to generate first encrypted data;
and establishing a corresponding electronic account according to the magnetic card account information.
3. The method of claim 2, wherein the encrypting the decrypted first magnetic card data by the account generation system to obtain second magnetic card data comprises:
the account generation system encrypts the magnetic card account information and the account label corresponding to the magnetic card account information to generate second encrypted data; the account tag is marked by the account generation system on the magnetic card account information;
and combining the first encrypted data and the second encrypted data to obtain second magnetic card data.
4. The method of claim 3, wherein the card preparation system decrypts the second magnetic card data and converts the decrypted second magnetic card data into magnetic card text data, comprising:
the card preparation system performs all decryption on the second magnetic card data;
and extracting the magnetic card account information from the decrypted second magnetic card data according to the account label, and converting the magnetic card account information into magnetic card text data.
5. The method of claim 1, wherein the account generation system depositing the second magnetic card data into a second magnetic card file located at a second target location, comprising:
the account generation system stores the second magnetic card data in a second magnetic card file positioned at a first target position, so that the data service system obtains the second magnetic card file from the first target position and stores the second magnetic card file to the second target position.
6. A magnetic card data processing system, the system comprising: the system comprises a data service system, an account generation system and a card preparation system; wherein,,
the data service system is used for acquiring original magnetic card data, and preprocessing the original magnetic card data to obtain first magnetic card data; the first magnetic card data are data which respectively meet the reading condition of the account generation system and the reading condition of the card preparation system; storing the first magnetic card data into a first magnetic card file positioned at a first target position;
the account generation system is used for acquiring the first magnetic card file from the first target position and reading the first magnetic card file to obtain the first magnetic card data;
decrypting the first magnetic card data to obtain magnetic card account information, and establishing an electronic account according to the magnetic card account information;
encrypting the decrypted first magnetic card data to obtain second magnetic card data;
storing the second magnetic card data into a second magnetic card file positioned at a second target position;
the card preparation system is used for acquiring the second magnetic card file from the second target position and reading the second magnetic card file to obtain the second magnetic card data;
decrypting the second magnetic card data and converting the decrypted second magnetic card data into magnetic card text data; the magnetic card text data is used for writing magnetism to a test magnetic card and generating a magnetic card corresponding to the electronic account.
7. The system of claim 6, wherein the account generation system is specifically configured to decrypt all of the first magnetic card data, and extract magnetic card account information from the decrypted first magnetic card data; encrypting data except the magnetic card account information in the decrypted first magnetic card data to generate first encrypted data; and establishing a corresponding electronic account according to the magnetic card account information.
8. The system of claim 7, wherein the account generation system is specifically configured to encrypt the magnetic card account information and an account tag corresponding to the magnetic card account information to generate second encrypted data; the account tag is marked by the account generation system on the magnetic card account information; and combining the first encrypted data and the second encrypted data to obtain second magnetic card data.
9. The system according to claim 8, wherein said card preparation system is specifically configured to decrypt all of said second magnetic card data; and extracting the magnetic card account information from the decrypted second magnetic card data according to the account label, and converting the magnetic card account information into magnetic card text data.
10. The system of claim 6, wherein the account generation system is specifically configured to store the second magnetic card data in a second magnetic card file located at a first target location, such that the data service system obtains the second magnetic card file from the first target location and stores the second magnetic card file to a second target location.
CN202010625112.1A 2020-07-01 2020-07-01 Magnetic card data processing method and system Active CN111737960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010625112.1A CN111737960B (en) 2020-07-01 2020-07-01 Magnetic card data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010625112.1A CN111737960B (en) 2020-07-01 2020-07-01 Magnetic card data processing method and system

Publications (2)

Publication Number Publication Date
CN111737960A CN111737960A (en) 2020-10-02
CN111737960B true CN111737960B (en) 2023-07-28

Family

ID=72652397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010625112.1A Active CN111737960B (en) 2020-07-01 2020-07-01 Magnetic card data processing method and system

Country Status (1)

Country Link
CN (1) CN111737960B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113361670B (en) * 2021-06-22 2023-01-17 深圳市雪球科技有限公司 Intelligent card personalization processing method and device and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289690A (en) * 2011-05-20 2011-12-21 深圳市凯智汇科技有限公司 Copy-preventing magnetic card technology
CN104112109A (en) * 2013-04-19 2014-10-22 深圳市乐彩智能卡科技有限公司 Magnetic card automatic recognition system and method
CN104809810A (en) * 2015-04-24 2015-07-29 深圳市怡化时代科技有限公司 Method and device for detecting copy card of bank magnetic stripe card
CN110084021A (en) * 2019-05-14 2019-08-02 中国工商银行股份有限公司 Cabinet surface terminal, client, cabinet face data exchange method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008154658A1 (en) * 2007-06-15 2008-12-18 Futurelogic, Inc. Distributed processing printer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289690A (en) * 2011-05-20 2011-12-21 深圳市凯智汇科技有限公司 Copy-preventing magnetic card technology
CN104112109A (en) * 2013-04-19 2014-10-22 深圳市乐彩智能卡科技有限公司 Magnetic card automatic recognition system and method
CN104809810A (en) * 2015-04-24 2015-07-29 深圳市怡化时代科技有限公司 Method and device for detecting copy card of bank magnetic stripe card
CN110084021A (en) * 2019-05-14 2019-08-02 中国工商银行股份有限公司 Cabinet surface terminal, client, cabinet face data exchange method and system

Also Published As

Publication number Publication date
CN111737960A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
JP4788212B2 (en) Digital signature program and digital signature system
CN100508448C (en) Content processing apparatus and content protection program
CN103778590B (en) Using digital picture storage and the method and apparatus of transmission information
CN1930578B (en) The digital signature obtained from least one architectural feature of material cell is used to protect the direct reading of sensitive information and read the method for shielded sensitive information
CN109981266B (en) Method and device for storing and reading key and sensitive information
CN110100422A (en) Data writing method and device based on block chain intelligent contract and storage medium
CN105976005A (en) Two-dimensional code encrypting method, two-dimensional code generating device and two-dimensional code scanning device
CN112016111A (en) Credible bidding encryption and decryption method supporting centralized decryption
CN110929291A (en) Method and device for accessing text file and computer readable storage medium
CN107122681A (en) A kind of method of file encryption-decryption, relevant apparatus and system
CN1830030B (en) Providing method of record carriercomprising encryption indication information, reader and recorder and method
CN106341384A (en) Methods for facilitating secure communication
CN101641701B (en) Device and method for digital processing management of content so as to enable an imposed work flow
CN111737960B (en) Magnetic card data processing method and system
CN114925337B (en) Data labeling method and device and electronic equipment
CN106357402A (en) Data encryption-decryption processing method and device
CN115242485A (en) Data encryption or decryption method, system, electronic equipment and storage medium
RU2004114316A (en) BIOMETRIC AUTHENTICATION SYSTEM
CN111526167A (en) Data transmission method and device applied to block chain
CN107862210A (en) Cipher processing method, system and computer equipment
CN112235101A (en) Encoding method and device and decoding method and device based on hybrid encoding mechanism
CN111625844A (en) Survey data security encryption method and device, electronic equipment and storage medium
CN114492355B (en) Method and system for generating electronic bidding invitation letter and response receipt letter in OFD format
JP2996182B2 (en) IC card system and IC card
CN115567212A (en) File processing method and device, computer equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant