Magnetic card communication methods, communication systems and readable storage media
By encapsulating two near-field communication chips in the same card, and utilizing the sensing time difference of the reader and the data reading and writing order to form dynamic rolling data, the problems of communication card duplication and identification conflict are solved, and the security of data reading is improved.
Patent Information
- Application Number
- CN202510480498.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-17
- Publication Date
- 2026-01-30
- Estimated Expiration
- 2045-04-17
AI Technical Summary
Traditional communication cards are easily copied, and there is a problem of recognition conflict when two communication cards are used together.
The first and second near-field communication chips are packaged in the same card. The public domain data, private domain data and rolling data are read and verified sequentially by the reader to form a dynamic reading sequence code. The chip has been replaced by sensing the time difference.
It solves the security risks of direct copying of communication cards and improves the security of data reading by dynamically rolling data, avoiding identification conflicts.
Smart Images

Figure CN120409506B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of recording medium technology, specifically relating to a device for sensing recording media, and more particularly to a magnetic card communication method, communication system and readable storage medium. Background Technology
[0002] Traditional communication cards are easily copied and can be used immediately after copying, posing a security risk.
[0003] At the same time, users need two communication cards for public domain verification and private domain verification respectively, and the two communication cards cannot be used together directly; otherwise, the card reader will recognize both communication cards at the same time, which will lead to recognition conflict.
[0004] Therefore, there is an urgent need to develop a new magnetic card communication method, communication system, and readable storage medium to solve the technical problem of how to prevent communication cards from being directly copied.
[0005] It should be noted that the information disclosed in this background section is only for understanding the background technology of the present application concept, and therefore, the above description is not considered to constitute prior art information. Summary of the Invention
[0006] This disclosure provides at least one magnetic card communication method, communication system, and readable storage medium.
[0007] In a first aspect, embodiments of this disclosure provide a magnetic card communication method, comprising: encapsulating a first near-field communication chip and a second near-field communication chip in the same card, wherein the first near-field communication chip records first public domain data and first private domain data, and the second near-field communication chip records second public domain data and rolling data; when the first near-field communication chip is read first by a reader / writer, the reader / writer sequentially reads the first public domain data, the first private domain data, the second public domain data, and the rolling data, and verifies the rolling data, and after successful verification, forms a corresponding reading sequence code and writes it into the rolling data of the second near-field communication chip; when the second near-field communication chip is read first by a reader / writer, the reader / writer sequentially reads the second public domain data, the rolling data, the first public domain data, and the first private domain data, and verifies the rolling data, and after successful verification, forms a corresponding reading sequence code and writes it into the rolling data of the second near-field communication chip; and the reader / writer outputs the corresponding reading / writing result to a host computer.
[0008] In one optional implementation, the first near-field communication chip and the second near-field communication chip are packaged in the same card at a set interval, so that the first near-field communication chip and the second near-field communication chip form a corresponding sensing time difference; the reader senses the first near-field communication chip and the second near-field communication chip respectively to obtain the sensing waiting time; the reader verifies whether the sensing waiting time is consistent with the sensing time difference to determine whether the card has been replaced.
[0009] In one optional implementation, after the reader senses the first near-field communication chip and the second near-field communication chip, it reads the two near-field communication chips sequentially according to the order of sensing.
[0010] In one optional implementation, when the first public domain data and the second public domain data are set to be the same, the reader obtains the first public domain data and the second public domain data, and then compares the first public domain data and the second public domain data to determine whether the card has been replaced.
[0011] In one optional implementation, when the first public domain data and the second public domain data are set differently, the reader acquires the first public domain data and the second public domain data, and then combines the first public domain data and the second public domain data to form complete public domain data.
[0012] In one alternative implementation, the reader synchronously saves the rolling data of the second near-field communication chip each time, so as to compare it with the rolling data in the card when the card is read by the reader next time.
[0013] In one optional implementation, when the reader reads the first public domain data, the first private domain data, and the second public domain data in sequence, it forms a reading sequence code "1" to write into the rolling data of the second near-field communication chip.
[0014] In one optional implementation, when the reader reads the second public domain data, the first public domain data, and the first private domain data in sequence, it forms a reading sequence code "2" to be written into the rolling data of the second near-field communication chip.
[0015] Secondly, this disclosure also provides a communication system, which includes: a host computer, a plurality of readers and writers, and a plurality of cards; any one of the cards is inserted into the corresponding reader or writer for reading and writing, so that the reader or writer outputs the corresponding reading and writing result to the host computer.
[0016] In one optional implementation, the card includes: a first near-field communication chip and a second near-field communication chip; the first near-field communication chip records first public domain data and first private domain data, and the second near-field communication chip records second public domain data and scrolling data; when the first near-field communication chip is read first by a reader, the reader reads the first public domain data, the first private domain data, the second public domain data, and the scrolling data in sequence, and verifies the scrolling data, and after successful verification, forms a corresponding reading sequence code and writes it into the scrolling data of the second near-field communication chip; when the second near-field communication chip is read first, the second public domain data, the scrolling data, the first public domain data, and the first private domain data are read in sequence, and the reader verifies the scrolling data, and after successful verification, forms a corresponding reading sequence code and writes it into the scrolling data of the second near-field communication chip.
[0017] Thirdly, embodiments of this disclosure also provide a readable storage medium storing a computer program / instructions thereon, which, when executed by a processor, implements the steps of the magnetic card communication method described above.
[0018] The beneficial effects of this invention are as follows: By assembling two near-field communication chips into a single card, this invention enables a reader to sequentially read and write to the two near-field communication chips, thus resolving the problem of identification conflicts. Furthermore, by setting the distance between the two near-field communication chips during packaging, the reader can accurately identify whether a chip is original by utilizing the time difference in sensing between the two chips, overcoming the security risks caused by the direct copying and use of traditional communication cards. At the same time, dynamic rolling data is formed based on the reading and writing order of public and private domain data on the two near-field communication chips by the reader, further improving the security of data reading.
[0019] Other features and advantages of the invention will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained through the structures particularly pointed out in the description and the drawings.
[0020] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0021] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0022] Figure 1 A flowchart illustrating a magnetic card communication method provided in this embodiment of the disclosure;
[0023] Figure 2 A structural diagram of a card provided in an embodiment of this disclosure;
[0024] Figure 3 A flowchart illustrating a card verification method based on a time difference sensing method provided in this disclosure embodiment;
[0025] Figure 4 A flowchart for reading a card is provided as an embodiment of this disclosure;
[0026] Figure 5 A flowchart illustrating a card verification via public domain data is provided as an embodiment of this disclosure;
[0027] Figure 6 A flowchart illustrating public domain data supplementation provided in this embodiment of the disclosure;
[0028] Figure 7 A schematic diagram of data stored within a first near-field communication chip provided in an embodiment of this disclosure;
[0029] Figure 8 This is a schematic diagram of data stored in a second near-field communication chip according to an embodiment of the present disclosure;
[0030] Figure 9 A schematic diagram illustrating a sequence code reading method provided in this embodiment of the present disclosure;
[0031] Figure 10 A schematic diagram illustrating another method of reading sequence codes provided in this embodiment of the present disclosure;
[0032] Figure 11 This is a schematic diagram of a communication system provided in an embodiment of the present disclosure.
[0033] In the picture:
[0034] 1. First near-field communication chip; 2. Second near-field communication chip; 3. Card. Detailed Implementation
[0035] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0036] The terminology used herein is for the purpose of describing specific exemplary configurations only and is not intended to be limiting. As used herein, the singular articles “a,” “an,” and “the” may also be intended to include plural forms unless otherwise clearly stated herein. The terms “comprising,” “including,” and “having” are inclusive and thus specify the presence of features, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein should not be construed as requiring them to be performed in the specific order discussed or shown, unless specifically identified as such. Additional or alternative steps may be employed.
[0037] As used herein, the phrases “in one embodiment,” “according to one embodiment,” “in some embodiments,” etc., generally refer to the fact that a particular feature, structure, or characteristic following the phrase can be included in at least one embodiment of this disclosure. Therefore, a particular feature, structure, or characteristic can be included in more than one embodiment of this disclosure, such that these phrases do not necessarily refer to the same embodiment. As used herein, the terms “example,” “exemplary,” etc., are used to “serve as an example, instance, or illustration.” Any implementation, aspect, or design described herein as “example” or “exemplary” is not necessarily to be construed as preferred or superior to other implementations, aspects, or designs. Rather, the use of the terms “example,” “exemplary,” etc., is intended to present concepts in a specific manner.
[0038] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0039] The following detailed description of some embodiments of the present invention is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0040] like Figures 1 to 10At least one embodiment provides a magnetic card communication method, comprising: encapsulating a first near-field communication chip 1 and a second near-field communication chip 2 in the same card 3, wherein the first near-field communication chip 1 records first public domain data and first private domain data, and the second near-field communication chip 2 records second public domain data and rolling data; when the first near-field communication chip 1 is read first by a reader / writer, the reader / writer reads the first public domain data, the first private domain data, the second public domain data, and the rolling data in sequence, and verifies the rolling data, and after successful verification, forms a corresponding reading sequence code and writes it into the rolling data of the second near-field communication chip 2; when the second near-field communication chip 2 is read first, the second public domain data, the rolling data, the first public domain data, and the first private domain data are read in sequence, and the reader / writer verifies the rolling data, and after successful verification, forms a corresponding reading sequence code and writes it into the rolling data of the second near-field communication chip 2; and the reader / writer outputs the corresponding reading and writing results to a host computer.
[0041] In at least one embodiment, by combining two near-field communication chips into a card 3, on the one hand, the reader can read and write the two near-field communication chips sequentially, which can solve the problem of identification conflict. On the other hand, the spacing between the two near-field communication chips is set during packaging, that is, the reader can accurately identify whether it is an original chip by using the sensing time difference between the two chips, thus overcoming the security risks caused by the direct copying and use of traditional communication cards. At the same time, dynamic rolling data is formed according to the reading and writing order of public domain data and private domain data on the two near-field communication chips by the reader, which further improves the security of data reading.
[0042] In at least one embodiment, please refer to Figure 2 , Figure 3 The first near-field communication chip 1 and the second near-field communication chip 2 are packaged in the same card 3 at a set interval so that the first near-field communication chip 1 and the second near-field communication chip 2 form a corresponding sensing time difference; the reader senses the first near-field communication chip 1 and the second near-field communication chip 2 respectively to obtain the sensing waiting time; the reader verifies whether the sensing waiting time and the sensing time difference are consistent to determine whether the card 3 has been replaced.
[0043] Specifically, card 3 is placed in the reader, and the reader senses the two near-field communication chips respectively. Since the reader senses the two near-field communication chips at different times, the reader forms a sensing time difference through the two sensing times. At the same time, when the distance between the first near-field communication chip 1 and the second near-field communication chip 2 is different, the sensing time difference will change. The reader will record the sensing time difference for each card 3, and then determine whether card 3 has been replaced.
[0044] In at least one embodiment, please refer to Figure 4After the reader senses the first near-field communication chip 1 and the second near-field communication chip 2, it reads the two near-field communication chips in the order of sensing.
[0045] Specifically, when the reader first senses the first near-field communication chip 1 and then senses the second near-field communication chip 2, the reader first reads the data on the first near-field communication chip 1 and then reads the data on the second near-field communication chip 2.
[0046] Specifically, when the reader first senses the second near-field communication chip 2 and then senses the first near-field communication chip 1, the reader first reads the data on the second near-field communication chip 2, and then reads the data on the first near-field communication chip 1.
[0047] In at least one embodiment, the near-field communication chip is woken up after being sensed, and the near-field communication chip that is woken up first sends a delayed start information to another near-field communication chip, thereby enhancing the reader's ability to read data without collision.
[0048] In at least one embodiment, please refer to Figure 5 When the first public domain data and the second public domain data are set to be the same, the reader obtains the first public domain data and the second public domain data, and compares the first public domain data and the second public domain data to determine whether card 3 has been replaced.
[0049] Specifically, by setting the first public domain data to be the same as the second public domain data, it is possible to determine whether card 3 has been replaced by comparing whether the first public domain data and the second public domain data are the same, thus improving data security.
[0050] In at least one embodiment, please refer to Figure 6 When the first public domain data and the second public domain data are set differently, the reader obtains the first public domain data and the second public domain data, and then combines the first public domain data and the second public domain data to form complete public domain data.
[0051] Specifically, setting the first public domain data to be different from the second public domain data can, on the one hand, split the public domain data and store the data separately to improve security, and on the other hand, reduce the storage requirements of the near-field communication chip.
[0052] In at least one embodiment, the reader synchronously saves the rolling data of the second near-field communication chip 2 each time, so as to compare it with the rolling data in the card 3 when the card 3 is read by the reader next time.
[0053] Specifically, each time card 3 is successfully read by the reader, a new reading sequence code is added to the rolling data. Even if card 3 is physically copied, since the new protocol of the rolling data cannot be known, a new reading sequence code cannot be added to the rolling data, thereby improving the security of card 3.
[0054] In at least one embodiment, please refer to Figure 7 , Figure 8 , Figure 9 When the reader reads the first public domain data, the first private domain data, and the second public domain data in sequence, it forms a reading sequence code "1" to be written into the rolling data of the second near-field communication chip 2.
[0055] Specifically, the first near-field communication chip 1 records first public domain data and first private domain data, and the first public domain data includes public domain code 1 and public domain information 1, and the first private domain data includes private domain code and private domain information.
[0056] Specifically, the second near-field communication chip 2 records second public domain data and rolling data, and the second public domain data includes public domain code 2 and public domain information 2, while the first private domain data includes rolling code and rolling information.
[0057] Specifically, the rolling code is consistent with the reading sequence code.
[0058] Specifically, when the reader reads public domain code 1, private domain code, and public domain code 2 in sequence, it forms reading sequence code "1", which is rolling code "1", and adds the rolling code to the rolling information.
[0059] In at least one embodiment, please refer to Figure 7 , Figure 8 , Figure 10 When the reader reads the second public domain data, the first public domain data, and the first private domain data in sequence, it forms a reading sequence code "2" to be written into the rolling data of the second near-field communication chip 2.
[0060] Specifically, when the reader reads public domain code 2, public domain code 1, and private domain code in sequence, it forms reading sequence code "2", which is rolling code "2", and adds the rolling code to the rolling information.
[0061] Specifically, the scrolling information can be stored in binary format as a scrolling code.
[0062] Based on the same technological concept, such as Figures 1 to 11 At least one embodiment also provides a communication system, which includes: a host computer, a plurality of readers and writers and a plurality of cards 3; any one of the cards 3 is inserted into the corresponding reader or writer for reading and writing, so that the reader or writer outputs the corresponding reading and writing result to the host computer.
[0063] In at least one embodiment, the card 3 includes: a first near-field communication chip 1 and a second near-field communication chip 2; the first near-field communication chip 1 records first public domain data and first private domain data, and the second near-field communication chip 2 records second public domain data and scrolling data; when the first near-field communication chip 1 is read first by the reader, the reader reads the first public domain data, the first private domain data, the second public domain data, and the scrolling data in sequence, and the reader verifies the scrolling data, and after successful verification, forms a corresponding reading sequence code and writes it into the scrolling data of the second near-field communication chip 2; when the second near-field communication chip 2 is read first, the second public domain data, the scrolling data, the first public domain data, and the first private domain data are read in sequence, and the reader verifies the scrolling data, and after successful verification, forms a corresponding reading sequence code and writes it into the scrolling data of the second near-field communication chip 2.
[0064] Based on the same technical concept, at least one embodiment also provides a readable storage medium having a computer program / instructions stored thereon, which, when executed by a processor, implements the steps of the magnetic card communication method described above.
[0065] In summary, this invention combines two near-field communication (NFC) chips into a single card. On one hand, it enables a reader to sequentially read and write to both NFC chips, resolving identification conflicts. On the other hand, by setting a distance between the two NFC chips during packaging, the reader can accurately identify whether a chip is original by utilizing the time difference in sensing between them. This overcomes the security risks associated with traditional communication cards that can be directly copied and used. Furthermore, the dynamic rolling data generated based on the order in which the reader reads and writes public and private domain data on the two NFC chips further enhances data reading security.
[0066] The disclosures and other solutions, examples, embodiments, modules, and functional operations described in this document can be implemented in digital electronic circuits, or computer software, firmware, or hardware, including the structures disclosed in this document and their structural equivalents, or combinations thereof. The disclosures and other embodiments can be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a tangible and non-volatile computer-readable medium for execution by a data processing apparatus or for controlling the operation of the data processing apparatus. The computer-readable medium can be a machine-readable storage device, a machine-readable storage substrate, a storage device, a material composition that influences machine-readable propagated signals, or one or more of these. The terms "data processing unit" or "data processing apparatus" include all means, devices, and machines for processing data, including, for example, programmable processors, computers, or multiprocessors or computer groups. In addition to hardware, the apparatus may also include code that creates an execution environment for a computer program, such as code constituting processor firmware, a protocol stack, a database management system, an operating system, or combinations thereof. The propagated signals are artificially generated signals, such as machine-generated electrical, optical, or electromagnetic signals, which are generated to encode information for transmission to a suitable receiver device.
[0067] Computer programs (also known as programs, software, software applications, scripts, or code) can be written in any programming language (including compiled or interpreted languages) and can be deployed in any form, including as standalone programs or as modules, components, subroutines, or other units suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to that program, or in multiple coordinating files (e.g., a file storing one or more modules, subroutines, or portions of code). Computer programs can be deployed and executed on one or more computers located at a single site or distributed across multiple sites interconnected by a communication network.
[0068] The processing and logic flows described in this document can be executed by one or more programmable processors that execute one or more computer programs to perform functions by manipulating input data and generating outputs. The processing and logic flows can also be executed by special-purpose logic circuitry, and the devices can be implemented as special-purpose logic circuitry, such as FPGAs (Field-Programmable Gate Arrays) or ASICs (Application-Specific Integrated Circuits).
[0069] For example, processors suitable for executing computer programs include general-purpose and special-purpose microprocessors, as well as any one or more of any type of digital computer. Typically, the processor receives instructions and data from read-only memory or random access memory, or both. The basic components of a computer are a processor that executes instructions and one or more storage devices that store the instructions and data. Typically, a computer will also include one or more mass storage devices for storing data, such as magnetic disks, magneto-optical disks, or optical disks, or operatively coupled to receive data from or transfer data to mass storage devices, or both. However, a computer does not necessarily have such devices. Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, including, for example, semiconductor memory devices such as erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and optical disc read-only memory (CD ROM) and digital versatile optical disc read-only memory (DVD-ROM). The processor and memory may be supplemented by dedicated logic circuitry or incorporated into dedicated logic circuitry.
[0070] While this patent document contains numerous details, it should not be construed as limiting the scope of any invention or claim, but rather as a description of features of specific embodiments of a particular invention. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various functions described in the context of a single embodiment may also be implemented individually in multiple embodiments, or in any suitable sub-combination. Furthermore, although the foregoing features may be described as functioning in certain combinations, or even initially claimed to be so, in certain circumstances, one or more features from a combination of claims may be removed from the combination, and a combination of claims may refer to a sub-combination or a variation of a sub-combination.
[0071] Similarly, although the operations are described in a specific order in the accompanying drawings, this should not be construed as requiring the specific order or sequence shown to perform such operations, or all the described operations, in order to obtain the desired result. Furthermore, the separation of various system components in the embodiments of this patent document should not be construed as requiring such separation in all embodiments.
[0072] Only some implementations and examples are described; other implementations, enhancements, and variations can be made based on the content described and illustrated in this patent document.
[0073] When no intermediate component exists other than a line, trace, or other medium between the first and second components, the first component is directly coupled to the second component. When an intermediate component other than a line, trace, or other medium exists between the first and second components, the first component is indirectly coupled to the second component. The term "coupling" and its variations include direct coupling and indirect coupling. Unless otherwise stated, the term "about" is used to mean a range including upper and lower 10% of the value.
[0074] While several embodiments are provided in this disclosure, it should be understood that the disclosed systems and methods may be embodied in many other specific forms without departing from the spirit or scope of this disclosure. The present examples are intended to be illustrative rather than restrictive and are not limited to the details given. For example, various elements or components may be combined or integrated into another system, or certain features may be omitted or not implemented.
[0075] In the several embodiments provided herein, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0076] Furthermore, without departing from the scope of this disclosure, the discrete or individual technologies, systems, subsystems, and methods described and illustrated in the various embodiments may be combined or integrated with other systems, modules, technologies, or methods. Other items shown or discussed as coupled may be directly connected or indirectly coupled or communicated via some interface, device, or intermediate component in an electrical, mechanical, or other manner. Those skilled in the art can identify other examples of changes, substitutions, and modifications without departing from the spirit and scope of this disclosure.
Claims
1. A magnetic card communication method, characterized by, The method comprises the following steps: The first near field communication chip and the second near field communication chip are packaged in the same card, and the first public domain data and the first private domain data are recorded in the first near field communication chip, and the second public domain data and the rolling data are recorded in the second near field communication chip; When the first near field communication chip is read first by the reader, the reader reads the first public domain data, the first private domain data, the second public domain data and the rolling data in sequence, and verifies the rolling data, and writes the corresponding reading sequence code into the rolling data of the second near field communication chip after the verification is passed; When the second near field communication chip is read first by the reader, the reader reads the second public domain data, the rolling data, the first public domain data and the first private domain data in sequence, and verifies the rolling data, and writes the corresponding reading sequence code into the rolling data of the second near field communication chip after the verification is passed; And The reader outputs the corresponding reading result to the upper computer; The first near field communication chip and the second near field communication chip are packaged in the same card with a set distance, so that the first near field communication chip and the second near field communication chip form a corresponding induction time difference; The reader respectively induces the first near field communication chip and the second near field communication chip to obtain the induction waiting time; The reader verifies whether the induction waiting time is consistent with the induction time difference to determine whether the card is replaced.
2. The magnetic card communication method of claim 1, wherein After the reader induces the first near field communication chip and the second near field communication chip, the reader reads the two near field communication chips in sequence according to the induction sequence.
3. The magnetic card communication method of claim 1, wherein When the first public domain data and the second public domain data are set to be the same, the reader compares the first public domain data and the second public domain data after obtaining the first public domain data and the second public domain data, to determine whether the card is replaced.
4. The magnetic card communication method of claim 1, wherein When the first public domain data and the second public domain data are set to be different, the reader combines the first public domain data and the second public domain data after obtaining the first public domain data and the second public domain data, to form complete public domain data.
5. The magnetic card communication method of claim 1, wherein The reader synchronously saves the rolling data of the second near field communication chip each time, to compare the rolling data in the card with the rolling data next time the card is read by the reader.
6. The magnetic card communication method of claim 1, wherein When the reader reads the first public domain data, the first private domain data and the second public domain data in sequence, the reading sequence code "1" is formed to be written into the rolling data of the second near field communication chip.
7. The magnetic card communication method of claim 1, wherein When the reader reads the second public domain data, the first public domain data and the first private domain data in sequence, the reading sequence code "2" is formed to be written into the rolling data of the second near field communication chip.
8. A public and private domain fusion label library communication system using the magnetic card communication method according to any one of claims 1 to 7, characterized by The method comprises the following steps: The upper computer, a plurality of readers and a plurality of cards; Any of the cards is inserted into the corresponding reader for reading and writing, so that the reader outputs the corresponding reading result to the upper computer; The card comprises a first near field communication chip and a second near field communication chip; The first near field communication chip records first public domain data and first private domain data, and the second near field communication chip records second public domain data and rolling data; When the first near field communication chip is read first by a reader, the reader reads the first public domain data, the first private domain data, the second public domain data and the rolling data in sequence, and the reader verifies the rolling data and writes a corresponding reading sequence code into the rolling data of the second near field communication chip after verification; When the second near field communication chip is read first, the second public domain data, the rolling data, the first public domain data and the first private domain data are read in sequence, and the reader verifies the rolling data and writes a corresponding reading sequence code into the rolling data of the second near field communication chip after verification.
9. A readable storage medium, on which a computer program / instruction is stored, characterized in that, The computer program / instruction is executed by the processor to realize the steps of the magnetic card communication method of any one of claims 1-7.
Citation Information
Patent Citations
Automobile electronic identifier multi-card communication anti-conflict card reader and application method thereof
CN106909866A
Non-contact communication anti-collision method, radio frequency identification card and card reader
CN114742084A