Magnetic card communication method, communication system and readable storage medium

By encapsulating two near-field communication chips in the communication card and utilizing induction time difference and data sequence verification, the problem of the communication card being copied and identified conflicts is solved, achieving higher security and accuracy.

CN120409506AActive Publication Date: 2025-08-01LIYANG CHANGDA TECH ZHUANYI CENT LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510480498.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-17
Publication Date
2025-08-01
Estimated Expiration
2045-04-17

AI Technical Summary

Technical Problem

Traditional communication cards are easily copied directly, and there is a problem of identification conflict when two communication cards are stacked together.

Method used

Two near-field communication chips are packaged in the same card, and the induction time difference is formed by setting the spacing, and the reader and writer sequentially read and verify the order of public and private domain data to form dynamic scrolling data to improve security.

Benefits of technology

It solves the security risks of direct copying of communication cards, avoids identification conflicts, and improves the security and accuracy of data reading.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120409506A_ABST
    Figure CN120409506A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of recording carriers, and particularly relates to a magnetic card communication method and system and a readable storage medium, and the magnetic card communication method comprises the steps: packaging two near field communication chips in the same card; when any near field communication chip is firstly read by the reader-writer, the reader-writer reads data in sequence, and the reader-writer verifies the rolling data to form a corresponding reading sequence code to be written into the rolling data of the second near field communication chip; the two near-field communication chips form one card, the reader-writer can read and write the two near-field communication chips in sequence, the problem of recognition conflicts is solved, the distance between the two near-field communication chips is set when the two near-field communication chips are packaged, that is, whether the two near-field communication chips are original chips or not can be accurately recognized according to the induction time difference of the reader-writer to the two near-field communication chips, and the recognition efficiency of the two near-field communication chips is improved. The potential safety hazard caused by the fact that a traditional communication card can be used after being directly copied is overcome, meanwhile, dynamic rolling data are generated, and the data reading safety is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of recording carriers, and particularly relates to a device for a sensing recording carrier, and more particularly to a magnetic card communication method, a communication system, and a readable storage medium. Background Art

[0002] Traditional communication cards are easily directly copied and can be used after being copied, which poses a security risk.

[0003] At the same time, users need two communication cards to perform public domain verification and private domain verification respectively, and the two communication cards cannot be directly stacked for use, otherwise the card reader will recognize the two communication cards simultaneously, thus there is a problem of recognition conflict.

[0004] Therefore, there is an urgent need to develop a new magnetic card communication method, a communication system, and a readable storage medium to solve the technical problem of how to avoid direct copying of communication cards.

[0005] It should be noted that the above information disclosed in this background art section is only used to understand the background art of the concept of this application. Therefore, it is not considered that the above description constitutes information of the prior art. Summary of the Invention

[0006] The embodiments of the present disclosure at least provide a magnetic card communication method, a communication system, and a readable storage medium.

[0007] In a first aspect, the embodiments of the present disclosure provide a magnetic card communication method, which includes: encapsulating a first near-field communication chip and a second near-field communication chip in the same card, and recording first public domain data and first private domain data in the first near-field communication chip, and recording second public domain data and rolling data in the second near-field communication chip; when the first near-field communication chip is first read by a card reader, the card reader sequentially reads the first public domain data, the first private domain data, the second public domain data, and the rolling data in order, and the card reader verifies the rolling data, and after the verification passes, forms a corresponding read sequence code and writes it into the rolling data of the second near-field communication chip; when the second near-field communication chip is first read by the card reader, the card reader sequentially reads the second public domain data, the rolling data, the first public domain data, and the first private domain data in order, and the card reader verifies the rolling data, and after the verification passes, forms a corresponding read sequence code and writes it into the rolling data of the second near-field communication chip; and the card reader outputs a corresponding read and write result to an upper computer.

[0008] In an alternative embodiment, the first near-field communication chip and the second near-field communication chip are encapsulated in the same card at a set spacing, so that the first near-field communication chip and the second near-field communication chip form a corresponding induction time difference; the reader respectively senses 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 has been replaced.

[0009] In an alternative embodiment, 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 in the order of induction.

[0010] In an alternative embodiment, when the first public domain data is set to be the same as the second public domain data, after the reader obtains the first public domain data and the second public domain data, it compares the first public domain data with the second public domain data to determine whether the card has been replaced.

[0011] In an alternative embodiment, when the first public domain data is set to be different from the second public domain data, after the reader obtains the first public domain data and the second public domain data, it combines the first public domain data with the second public domain data to form complete public domain data.

[0012] In an alternative embodiment, 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 an alternative embodiment, when the reader sequentially reads the first public domain data, the first private domain data, and the second public domain data in order, a read sequence code "1" is formed and written into the rolling data of the second near-field communication chip.

[0014] In an alternative embodiment, when the reader sequentially reads the second public domain data, the first public domain data, and the first private domain data in order, a read sequence code "2" is formed and written into the rolling data of the second near-field communication chip.

[0015] In a second aspect, the embodiments of the present disclosure further provide a communication system, which includes: a host computer, a plurality of readers, and a plurality of cards; any one of the cards is inserted into the corresponding reader for reading and writing, so that the reader outputs the corresponding reading and writing result to the host computer.

[0016] In an alternative embodiment, the card includes: a first near-field communication chip and a second near-field communication chip; the first near-field communication chip stores first public domain data and first private domain data, and the second near-field communication chip stores second public domain data and rolling data; when the first near-field communication chip is read by a reader first, the reader sequentially reads the first public domain data, the first private domain data, the second public domain data, and the rolling data, and the reader verifies the rolling data and writes a corresponding read sequence code into the rolling data of the second near-field communication chip after passing the 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 sequentially read, and the reader verifies the rolling data and writes a corresponding read sequence code into the rolling data of the second near-field communication chip after passing the verification.

[0017] In a third aspect, an embodiment of the present disclosure further provides a readable storage medium, on which a computer program / instructions are stored, and when the computer program / instructions are executed by a processor, the steps of the above magnetic card communication method are implemented.

[0018] The beneficial effects of the present invention are as follows: by forming a card with two near-field communication chips, on the one hand, the reader can sequentially read and write the two near-field communication chips, 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 induction time difference between the two, overcoming the security risks caused by the traditional communication card being directly copied and used. At the same time, dynamic rolling data is formed according to the reading and writing order of the public domain data 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 present invention will be described in the following specification, and, in part, will be obvious from the specification, or will be understood by implementing the present invention. The objectives and other advantages of the present invention are achieved and obtained by the structures specifically pointed out in the specification and the drawings.

[0020] To make the above objectives, features, and advantages of the present invention more obvious and understandable, the following specific preferred embodiments are given, and in conjunction with the accompanying drawings, the detailed description is as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0022] Figure 1 Flow chart of a magnetic card communication method provided by an embodiment of the present disclosure; Figure 2 Structural diagram of a card provided by an embodiment of the present disclosure; Figure 3 Flow chart of verifying a card by induction time difference provided by an embodiment of the present disclosure; Figure 4 Flow chart of reading a card provided by an embodiment of the present disclosure; Figure 5 Flow chart of verifying a card by public domain data provided by an embodiment of the present disclosure; Figure 6 Flow chart of supplementing by public domain data provided by an embodiment of the present disclosure; Figure 7 Schematic diagram of data stored in a first near - field communication chip provided by an embodiment of the present disclosure; Figure 8 Schematic diagram of data stored in a second near - field communication chip provided by an embodiment of the present disclosure; Figure 9 Schematic diagram of reading a sequence code provided by an embodiment of the present disclosure; Figure 10 Another schematic diagram of reading a sequence code provided by an embodiment of the present disclosure; Figure 11 Principle block diagram of a communication system provided by an embodiment of the present disclosure.

[0023] In the figure: 1. First near - field communication chip; 2. Second near - field communication chip; 3. Card. Specific implementation manner

[0024] 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 some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0025] The terms used herein are for the purpose of describing particular exemplary configurations only and are not intended to be limiting. As used herein, the singular articles "a", "an", and "the" may also be intended to include the plural forms, unless the context clearly indicates otherwise herein. The terms "comprising", "including", and "having" are inclusive and thus specify the presence of stated 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 necessarily requiring that they be performed in the particular order discussed or illustrated, unless specifically identified as an order of performance. Additional or alternative steps may be employed.

[0026] As used herein, phrases such as "in one embodiment", "according to one embodiment", "in some embodiments", etc. generally refer to the fact that the particular feature, structure, or characteristic following such phrase may be included in at least one embodiment of the present disclosure. Thus, a particular feature, structure, or characteristic may be included in more than one embodiment of the present disclosure, such that these phrases do not necessarily refer to the same embodiment. As used herein, the terms "example", "exemplary", etc. are used "as an example, instance, or illustration. Any embodiment, aspect, or design described herein as "example" or "exemplary" is not necessarily to be construed as preferred or superior to other embodiments, aspects, or designs. Instead, the use of the terms "example", "exemplary", etc. is intended to present concepts in a concrete manner.

[0027] It should be noted that like reference numerals and letters denote like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.

[0028] The following, with reference to the accompanying drawings, describes in detail some embodiments of the present invention. In the case of no conflict, the following embodiments and the features in the embodiments may be combined with each other.

[0029] As Figures 1 to 10, at least one embodiment provides a magnetic card communication method, which includes: encapsulating a first near-field communication chip 1 and a second near-field communication chip 2 in the same card 3, recording first public domain data and first private domain data in the first near-field communication chip 1, and recording second public domain data and rolling data in the second near-field communication chip 2; when the first near-field communication chip 1 is read by a reader first, the reader sequentially reads the first public domain data, the first private domain data, the second public domain data, and the rolling data, and the reader verifies the rolling data and writes a corresponding read sequence code into the rolling data of the second near-field communication chip 2 after the verification passes; 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 sequentially read, and the reader verifies the rolling data and writes a corresponding read sequence code into the rolling data of the second near-field communication chip 2 after the verification passes; and the reader outputs a corresponding read and write result to an upper computer.

[0030] In at least one embodiment, by forming a card 3 with two near-field communication chips, on the one hand, the reader can read and write the two near-field communication chips in sequence, which can solve the problem of identification conflict. On the other hand, when the two near-field communication chips are encapsulated, the distance between them is set, that is, the reader can accurately identify whether it is an original chip by using the induction time difference between the two. This overcomes the security risk caused by the traditional communication card being directly copied and used. At the same time, dynamic rolling data is formed according to the read and write order of the public domain data and private domain data on the two near-field communication chips by the reader, further improving the security of data reading.

[0031] In at least one embodiment, please refer to Figure 2 , Figure 3 , encapsulating the first near-field communication chip 1 and the second near-field communication chip 2 in the same card 3 at a set distance, so that a corresponding induction time difference is formed between the first near-field communication chip 1 and the second near-field communication chip 2; the reader respectively senses the first near-field communication chip 1 and the second near-field communication chip 2 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 3 has been replaced.

[0032] Specifically, when the card 3 is placed in the reader, the reader respectively senses the two near-field communication chips, and since the reader has different induction times for the two near-field communication chips, the reader forms an induction time difference through the two induction 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 induction time difference will change, and the reader will record the induction time difference for each card 3, and then determine whether the card 3 has been replaced.

[0033] 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.

[0034] Specifically, when the reader senses the first near-field communication chip 1 first 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.

[0035] Specifically, when the reader senses the second near-field communication chip 2 first 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.

[0036] In at least one embodiment, the near-field communication chip wakes up after being sensed, and the first-woken near-field communication chip sends a delayed start-up message to the other near-field communication chip, thereby enhancing the anti-collision ability of the reader to read data.

[0037] In at least one embodiment, please refer to Figure 5 , when the first public domain data is set to be the same as the second public domain data, after the reader obtains the first public domain data and the second public domain data, it compares the first public domain data with the second public domain data to determine whether the card 3 has been replaced.

[0038] Specifically, setting the first public domain data to be the same as the second public domain data, that is, by comparing whether the first public domain data is the same as the second public domain data, it is possible to determine whether the card 3 has been replaced, improving data security.

[0039] In at least one embodiment, please refer to Figure 6 , when the first public domain data is set to be different from the second public domain data, after the reader obtains the first public domain data and the second public domain data, it combines the first public domain data with the second public domain data to form complete public domain data.

[0040] 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 save the data separately to improve security, and on the other hand, can also reduce the storage capacity of the near-field communication chip.

[0041] 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.

[0042] Specifically, each time the card 3 is successfully read by the reader, a new read sequence code is added to the rolling data. Even if the card 3 is physically copied, since the new protocol of the rolling data cannot be known, it is impossible to add a new read sequence code to the rolling data, thereby improving the security of the card 3.

[0043] In at least one embodiment, refer to Figure 7 , Figure 8 , Figure 9 . When the reader sequentially reads the first public domain data, the first private domain data, and the second public domain data in order, a read order code "1" is formed and written into the rolling data of the second near field communication chip 2.

[0044] Specifically, the first near field communication chip 1 records the first public domain data and the first private domain data, and the first public domain data includes a public domain code 1 and public domain information 1, and the first private domain data includes a private domain code and private domain information.

[0045] Specifically, the second near field communication chip 2 records the second public domain data and rolling data, and the second public domain data includes a public domain code 2 and public domain information 2, and the first private domain data includes a rolling code and rolling information.

[0046] Specifically, the rolling code is consistent with the read order code.

[0047] Specifically, when the reader sequentially reads the public domain code 1, the private domain code, and the public domain code 2 in order, a read order code "1", that is, the rolling code "1", is formed, and the rolling code is added to the rolling information.

[0048] In at least one embodiment, refer to Figure 7 , Figure 8 , Figure 10 . When the reader sequentially reads the second public domain data, the first public domain data, and the first private domain data in order, a read order code "2" is formed and written into the rolling data of the second near field communication chip 2.

[0049] Specifically, when the reader sequentially reads the public domain code 2, the public domain code 1, and the private domain code in order, a read order code "2", that is, the rolling code "2", is formed, and the rolling code is added to the rolling information.

[0050] Specifically, the rolling information can adopt a binary method to store the rolling code.

[0051] Based on the same technical concept, as Figures 1 to 11 , at least one embodiment further provides a communication system, which includes: a host computer, a plurality of readers, and a plurality of cards 3; any one of the cards 3 is inserted into the corresponding reader for reading and writing, so that the reader outputs the corresponding reading and writing results to the host computer.

[0052] 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 stores first public domain data and first private domain data, and the second near-field communication chip 2 stores second public domain data and rolling data; when the first near-field communication chip 1 is read by a reader first, the reader sequentially reads the first public domain data, the first private domain data, the second public domain data, and the rolling data, and the reader verifies the rolling data, and after the verification passes, forms a corresponding read 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 sequentially read, and the reader verifies the rolling data, and after the verification passes, forms a corresponding read sequence code and writes it into the rolling data of the second near-field communication chip 2.

[0053] Based on the same inventive concept, at least one embodiment further provides a readable storage medium, on which a computer program / instructions are stored, and when the computer program / instructions are executed by a processor, the steps of the above magnetic card communication method are implemented.

[0054] In summary, by forming a card with two near-field communication chips, the present invention can, on the one hand, enable the reader to read and write the two near-field communication chips in sequence, solving the problem of identification conflict, and on the other hand, when the two near-field communication chips are encapsulated, the distance between them is set, that is, by using the induction time difference between the two by the reader, it can accurately identify whether it is an original chip, overcoming the security risk caused by the traditional communication card being directly copied and used. At the same time, according to the read and write order of the public domain data and private domain data on the two near-field communication chips by the reader, dynamic rolling data is formed, further improving the security of data reading.

[0055] The disclosures and other solutions, examples, embodiments, modules, and functional operations described in this document can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed herein and their structural equivalents, or in combinations of one or more of them. The disclosed content and other embodiments can be implemented as one or more computer program products, i.e., modules of computer program instructions encoded on a tangible and non-transitory computer-readable medium for execution by, or to control the operation of, a data processing apparatus. The computer-readable medium can be a machine-readable storage device, a machine-readable storage substrate, a storage device, a substance composition affecting a machine-readable propagated signal, or a combination of one or more of them. The term "data processing unit" or "data processing apparatus" includes all apparatuses, devices, and machines for processing data, including, for example, programmable processors, computers, or multiprocessors or groups of computers. In addition to hardware, the apparatus can also include code that creates an execution environment for the computer program, e.g., code constituting processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them. A propagated signal is an artificially generated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal, which is generated to encode information for transmission to a suitable receiver device.

[0056] A computer program (also called a program, software, software application, script, or code) can be written in any form of programming language (including a compiled or interpreted language) and can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. The program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts in a markup language document), in a single file dedicated to the program, or in multiple coordinated files (e.g., files that store one or more modules, subroutines, or portions of code). A computer program can be deployed to be executed on one or more computers that are located at one site or distributed across multiple sites and interconnected by a communication network.

[0057] 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 operating on input data and generating output. The processing and logic flows can also be executed by special-purpose logic circuitry, and the apparatus can also be implemented as special-purpose logic circuitry, e.g., an FPGA (field-programmable gate array) or an ASIC (application-specific integrated circuit).

[0058] For example, a processor suitable for executing a computer program includes general and special purpose microprocessors, and any one or more of any type of digital computer. Generally, a processor will receive instructions and data from a read-only memory or a 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. Generally, a computer will also include one or more mass storage devices for storing data, such as, for example, magnetic disks, magneto-optical disks, or optical disks, or operably coupled to receive data from a mass storage device or to transfer data to a mass storage device, 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 compact disc read-only memory (CD ROM) and digital versatile disc read-only memory (DVD-ROM) discs. The processor and memory may be supplemented by, or incorporated in, special purpose logic circuitry.

[0059] Although this patent document contains many details, it should not be construed as limiting any invention or the scope of any claim, but rather as describing features of particular embodiments of a particular invention. Certain features described in the context of separate embodiments of this patent document 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 separately in multiple embodiments, or in any suitable sub-combination. Additionally, although the above features may be described as acting in certain combinations, and even initially claimed as such, in some cases, one or more features from a claimed combination may be removed from the combination, and the claimed combination may be directed to a sub-combination or a variation of a sub-combination.

[0060] Likewise, although operations are depicted in the drawings in a particular order, this should not be understood to mean that such operations must be performed in the particular order shown or in sequential order to obtain a desired result, or that all illustrated operations must be performed. Additionally, the separation of various system components in the embodiments of this patent document should not be understood to mean that such separation is required in all embodiments.

[0061] Only some implementations and examples are described, and other implementations, enhancements, and variations may be made based on what is described and illustrated in this patent document.

[0062] When there is no intermediate component other than a wire, trace, or another medium between a first component and a second component, the first component is directly coupled to the second component. When there is an intermediate component between the first component and the second component other than a wire, trace, or another medium, the first component is indirectly coupled to the second component. The term "coupled" and its variants include both direct coupling and indirect coupling. Unless otherwise stated, the use of the term "about" means including a range of plus or minus 10% of the numerical value.

[0063] Although several embodiments are provided in the present 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 the present disclosure. The current examples are considered illustrative rather than restrictive and are not limited to the details given. For example, various elements or components may be combined or integrated in another system, or some features may be omitted or not implemented.

[0064] In several embodiments provided herein, it should be understood that the disclosed apparatus and methods may also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the figures show the possible architectures, functions, and operations of apparatus, methods, and computer program products according to multiple embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the module, program segment, or part of code contains one or more executable instructions for implementing the 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 marked in the figures. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system for performing the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

[0065] In addition, without departing from the scope of the present disclosure, the discrete or separate technologies, systems, subsystems, and methods described and illustrated in various embodiments may be combined or integrated with other systems, modules, technologies, or methods. Other items shown or discussed as being coupled may be directly connected, or may be indirectly coupled or communicate electrically, mechanically, or otherwise through some interface, device, or intermediate component. Those skilled in the art can determine other examples of changes, substitutions, and alterations without departing from the spirit and scope disclosed herein.

Claims

1. A magnetic card communication method, characterized in that, Including: Encapsulating a first near-field communication chip and a second near-field communication chip in the same card, recording first public domain data and first private domain data in the first near-field communication chip, and recording second public domain data and rolling data in the second near-field communication chip; When the first near-field communication chip is read by the reader first, the reader sequentially reads the first public domain data, the first private domain data, the second public domain data, and the rolling data in order, and the reader verifies the rolling data, and after the verification passes, forms a corresponding read 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 by the reader first, the reader sequentially reads the second public domain data, the rolling data, the first public domain data, and the first private domain data in order, and the reader verifies the rolling data, and after the verification passes, forms a corresponding read sequence code and writes it into the rolling data of the second near-field communication chip; And The reader outputs the corresponding read and write results to the host computer.

2. The magnetic card communication method according to claim 1, characterized in that The first near-field communication chip and the second near-field communication chip are encapsulated in the same card at 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 senses 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 has been replaced.

3. The magnetic card communication method according to claim 2, characterized in that After the reader senses the first near-field communication chip and the second near-field communication chip, it sequentially reads the two near-field communication chips in the order of induction.

4. The magnetic card communication method according to claim 1, characterized in that When the first public domain data is set to be the same as the second public domain data, after the reader obtains the first public domain data and the second public domain data, it compares the first public domain data and the second public domain data to determine whether the card has been replaced.

5. The magnetic card communication method according to claim 1, characterized in that When the first public domain data is set to be different from the second public domain data, after the reader obtains the first public domain data and the second public domain data, it combines the first public domain data and the second public domain data to form complete public domain data.

6. The magnetic card communication method according to claim 1, characterized in that 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.

7. The magnetic card communication method according to claim 1, characterized in that When the reader sequentially reads the first public domain data, the first private domain data, and the second public domain data in order, it forms a read sequence code "1" to write into the rolling data of the second near-field communication chip.

8. The magnetic card communication method according to claim 1, characterized in that When the reader sequentially reads the second public domain data, the first public domain data, and the first private domain data in order, it forms a read sequence code "2" to write into the rolling data of the second near-field communication chip.

9. A communication system for a public-private domain integrated tag library, characterized in that, Including: A host computer, a plurality of readers and a plurality of cards; Any of the said cards is inserted into the corresponding reader / writer for reading and writing, so that the reader / writer outputs the corresponding reading and writing results to the host computer.

10. The public-private domain integrated tag library communication system according to claim 9, wherein the card includes: a first near-field communication chip and a second near-field communication chip; the first near-field communication chip stores first public domain data and first private domain data, and the second near-field communication chip stores second public domain data and rolling data; when the first near-field communication chip is first read by the 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 the reader / writer verifies the rolling data, and after the verification is passed, 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 first read, the second public domain data, the rolling data, the first public domain data, and the first private domain data are sequentially read, and the reader / writer verifies the rolling data, and after the verification is passed, forms a corresponding reading sequence code and writes it into the rolling data of the second near-field communication chip.

11. A readable storage medium having a computer program / instructions stored thereon, characterized in that, When the computer program / instructions are executed by the processor, the steps of the magnetic card communication method according to any one of claims 1-8 are implemented.

Citation Information

Patent Citations

  • Method and device for identifying card based on near-field communication (NFC) and NFC system

    CN103793673A

  • 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

  • Near field communication card reading method, amusement card head and storage medium

    CN118551777A

  • Artificial leather

    KR1020250135973A