NFC chip anti-collision processing method and device, NFC reading equipment and medium

By introducing active break-off field and retry mechanisms into NFC chips, the communication failure problem of NFC chips when the target card is not responded is solved, which significantly improves the stability and user experience of NFC communication.

CN119676683APending Publication Date: 2025-03-21BEIJING TSINGTENG MICROSYSTEM CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411799217.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

When sending anti-collision instructions, NFC chips may encounter situations where the target card is not responding. The prior art usually immediately reports an error and terminates the communication process, lacking fault tolerance and reducing user experience.

Method used

When the initial RF field is detected, a first anti-collision instruction is sent to the target card. If there is no response, the RF field is cut off and re-established, and then the second anti-collision instruction is sent, and the corresponding operation is performed according to the response result.

Benefits of technology

Through active break-off field and retry mechanisms, communication failures caused by card abnormal state or environmental interference are reduced, and the stability and user experience of the NFC communication process are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119676683A_ABST
    Figure CN119676683A_ABST
Patent Text Reader

Abstract

The invention relates to an NFC chip anti-collision processing method and device, NFC reading equipment and a medium. When the initial radio frequency field with the target card is detected, sending a first anti-collision instruction to the target card; detecting whether the target card generates first response information corresponding to the first anti-collision instruction; if the target card does not generate the first response information, cutting off the initial radio frequency field and then re-establishing a radio frequency field between the target card and the initial radio frequency field; sending a second anti-collision instruction to the target card by using the reestablished radio frequency field; and executing an operation corresponding to a response result according to the response result of the target card to the second anti-collision instruction. Therefore, if the NFC chip detects that the card does not respond to the anti-collision instruction for the first time, the NFC chip actively closes the radio frequency field to interrupt the current communication, reactivates the radio frequency field and sends the anti-collision instruction again to continue to execute the corresponding operation. Therefore, the communication failure caused by the abnormal state of the card is reduced, and the stability of NFC communication and the user experience are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of near field communication technology, and in particular to an NFC chip anti-collision processing method, device, NFC reading device and medium. Background Art

[0002] Near Field Communication (NFC) technology is widely used in mobile payment, access control systems, transportation systems, identity recognition, data exchange and other application scenarios. NFC reading devices usually need to handle the situation where multiple cards exist at the same time. The anti-collision processing method is used to ensure that the NFC chip in the NFC reading device can uniquely identify and communicate with the target card.

[0003] In actual applications, when the NFC chip sends an anti-collision command, the target card may fail to respond. In this case, the usual way to deal with it is to immediately report an error and terminate the current communication process. Although this processing method is simple and direct, it lacks fault tolerance in actual applications and reduces the user experience. Summary of the invention

[0004] In order to solve the above technical problems, the present disclosure provides an NFC chip anti-collision processing method, device, NFC reading device and medium.

[0005] In a first aspect, the present disclosure provides an NFC chip anti-collision processing method, which is applied to an NFC chip of an NFC reading device, and the method includes:

[0006] When an initial radio frequency field between the target card and the target card is detected, a first anti-collision instruction is sent to the target card;

[0007] Detecting whether the target card generates first response information corresponding to the first anti-collision instruction;

[0008] If the target card does not generate the first response information, cutting off the initial radio frequency field and then re-establishing the radio frequency field with the target card;

[0009] Using the re-established radio frequency field, sending a second anti-collision instruction to the target card;

[0010] According to the response result of the target card to the second anti-collision instruction, an operation corresponding to the response result is executed.

[0011] In some embodiments of the present disclosure, the step of executing an operation corresponding to a response result of the target card to the second anti-collision instruction includes:

[0012] If the response result is that the target card does not generate the second response information corresponding to the second anti-collision instruction, a communication error message is generated and the re-established radio frequency field is cut off.

[0013] In some embodiments of the present disclosure, the step of executing an operation corresponding to a response result of the target card to the second anti-collision instruction includes:

[0014] If the response result is that the target card generates the second response information corresponding to the second anti-collision instruction, a card selection success message is generated and the re-established radio frequency field is continued to be maintained.

[0015] In some embodiments of the present disclosure, the method further includes:

[0016] If it is detected that the target card generates the first response information, a card selection success message is generated and the initial radio frequency field is continued to be maintained.

[0017] In some embodiments of the present disclosure, the initial radio frequency field is the same as the re-established radio frequency field; and the first anti-collision instruction is the same as the second anti-collision instruction.

[0018] In some embodiments of the present disclosure, the target card obtains the instruction type and parameters by parsing the first anti-collision instruction or the second anti-collision instruction, and generates a response result of the first anti-collision instruction or the second anti-collision instruction according to the instruction type and parameters.

[0019] In a second aspect, the present disclosure provides an NFC chip anti-collision processing device, which is configured on an NFC chip of an NFC reading device, and the device includes:

[0020] A first sending module, configured to send a first anti-collision instruction to the target card when an initial radio frequency field between the target card and the target card is detected;

[0021] A detection module, used for detecting whether the target card generates first response information corresponding to the first anti-collision instruction;

[0022] a post-cut-off establishing module, configured to re-establish the radio frequency field with the target card after cutting off the initial radio frequency field if the target card does not generate the first response information;

[0023] A second sending module, used for sending a second anti-collision instruction to the target card by using the re-established radio frequency field;

[0024] The execution module is used to execute an operation corresponding to the response result according to the response result of the target card to the second anti-collision instruction.

[0025] In some embodiments of the present disclosure, the device further includes:

[0026] The first generating module is configured to generate communication error information and cut off the re-established radio frequency field if the response result is that the target card does not generate second response information corresponding to the second anti-collision instruction.

[0027] In a third aspect, an embodiment of the present disclosure further provides an NFC reading device, wherein the NFC reading device is configured with an NFC chip, and the NFC chip includes:

[0028] one or more processors;

[0029] a storage device for storing one or more programs,

[0030] When one or more programs are executed by one or more processors, the one or more processors implement the method provided in the first aspect.

[0031] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method provided in the first aspect is implemented.

[0032] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:

[0033] The present invention discloses an NFC chip anti-collision processing method, device, NFC reading device and medium, which is applied to the NFC chip of the NFC reading device. The method includes: when detecting the initial radio frequency field between the target card and the target card, sending a first anti-collision instruction to the target card; detecting whether the target card generates a first response information corresponding to the first anti-collision instruction; if the target card does not generate the first response information, then cutting off the initial radio frequency field and re-establishing the radio frequency field between the target card and the target card; using the re-established radio frequency field, sending a second anti-collision instruction to the target card; according to the response result of the target card to the second anti-collision instruction, performing an operation corresponding to the response result. Thus, when the NFC chip detects for the first time that the card does not respond to the anti-collision instruction, the NFC chip first performs an active field disconnection operation, turns off the radio frequency field to interrupt the current communication, thereby helping the card to clear possible abnormal states, and then the NFC chip reactivates the radio frequency field and sends the anti-collision instruction again, and performs corresponding operations according to the response result of the card to the anti-collision instruction sent again. In this way, not only can the communication failure caused by the abnormal state of the card be reduced, but also the stability and user experience of the NFC communication process are significantly improved, and it is suitable for NFC communication scenarios in various complex application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0036] Figure 1 A flowchart of an NFC chip anti-collision processing method provided by an embodiment of the present disclosure;

[0037] Figure 2 A logic diagram of an NFC chip anti-collision processing method provided by an embodiment of the present disclosure;

[0038] Figure 3 A schematic diagram of the structure of an NFC chip anti-collision processing device provided in an embodiment of the present disclosure;

[0039] Figure 4 A schematic diagram of the structure of an NFC chip in an NFC reading device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0040] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0041] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0042] In order to improve the stability and user experience of the NFC communication process, the following Figure 1 to Figure 2 The NFC chip anti-collision processing method provided by the embodiment of the present disclosure is described. In the embodiment of the present disclosure, the NFC chip anti-collision processing method can be executed by the NFC chip of the NFC reading device.

[0043] Figure 1 A schematic diagram of a flow chart of an NFC chip anti-collision processing method provided by an embodiment of the present disclosure is shown.

[0044] like Figure 1 As shown, the NFC chip anti-collision processing method may include the following steps.

[0045] S110: When an initial radio frequency field between the target card and the target card is detected, a first anti-collision instruction is sent to the target card.

[0046] In this embodiment, when the NFC chip is selecting a card, if an initial radio frequency field is detected between the NFC chip and the target card, the NFC chip first sends a first anti-collision instruction to the target card to try to obtain the user identification (UID) or other identification information of the target card.

[0047] Among them, the first anti-collision instruction includes but is not limited to instructions such as 52 9370, 52 9320, etc.

[0048] For example, in a public transportation gate or access control system, multiple users hold cards close to an NFC reading device (such as a gate). The NFC chip in the NFC reading device selects a target card from multiple cards and establishes an initial radio frequency field with the target card. Then, the NFC chip sends a first anti-collision instruction to the target card to try to obtain the UID or other identification information of the target card.

[0049] S120: Detect whether the target card generates first response information corresponding to the first anti-collision instruction.

[0050] In this embodiment, after receiving the first anti-collision instruction, the target card parses the first anti-collision instruction to obtain the instruction type and parameters, and generates a response result of the first anti-collision instruction according to the instruction type and parameters. Optionally, the response result of the first anti-collision instruction includes generating first response information corresponding to the first anti-collision instruction, or the response result of the first anti-collision instruction includes response failure information (i.e., the first response information is not generated).

[0051] Further, if the target card does not generate the first response information corresponding to the first anti-collision instruction, the NFC chip cannot detect the first response information through the initial radio frequency field, and continues to execute S130.

[0052] S130: If the target card does not generate the first response information, cut off the initial radio frequency field and then re-establish the radio frequency field with the target card.

[0053] In many cases, especially when the card is in an abnormal state (such as electric field interference, card semi-activated state, etc.), the card and NFC chip will not be able to complete the normal communication process, affecting the stability of the radio frequency field.

[0054] In order to solve this problem, the NFC chip in this embodiment cuts off the unstable initial radio frequency field when it detects that the target card has not generated the first response information. Then, the NFC re-establishes the radio frequency field between itself and the target card, so that the re-established radio frequency field eliminates possible abnormal conditions or interference, improves the stability of the radio frequency field, and facilitates the normal communication process between the target card and the NFC chip.

[0055] The initial radio frequency field is the same as the re-established radio frequency field.

[0056] In other cases, after executing S120, the method further includes: if it is detected that the target card generates first response information, then generating card selection success information and continuing to maintain the initial radio frequency field.

[0057] Specifically, if the target card generates the first response information corresponding to the first anti-collision instruction, so that the NFC chip detects the first response information, the NFC chip generates card selection success information and continues to maintain the initial radio frequency field to continue the normal card selection and communication process.

[0058] S140: Send a second anti-collision instruction to the target card using the re-established radio frequency field.

[0059] In this embodiment, after the NFC chip re-establishes the radio frequency field, the NFC chip continues to send a second anti-collision instruction to the target card through the re-established radio frequency field to try again to obtain the UID or other identification information of the target card.

[0060] The first anti-collision instruction and the second anti-collision instruction are the same, and both are for obtaining the UID or other identification information of the target card.

[0061] S150. According to the response result of the target card to the second anti-collision instruction, execute an operation corresponding to the response result.

[0062] In this embodiment, after receiving the second anti-collision instruction, the target card parses the second anti-collision instruction to obtain the instruction type and parameters, and generates a response result of the first anti-collision instruction according to the instruction type and parameters. Optionally, the response result of the second anti-collision instruction includes generating second response information corresponding to the second anti-collision instruction, or the response result of the second anti-collision instruction includes response failure information (i.e., the second response information is not generated).

[0063] Among them, the specific implementation method of S150 includes but is not limited to the following method: if the response result is that the target card does not generate the second response information corresponding to the second anti-collision instruction, then a communication error message is generated and the re-established radio frequency field is cut off; if the response result is that the target card generates the second response information corresponding to the second anti-collision instruction, then a card selection success message is generated and the re-established radio frequency field is continued to be maintained.

[0064] Specifically, if the target card still does not respond, the NFC chip generates a communication error message and cuts off the re-established RF field, that is, it considers that the target card cannot be selected, reports an error according to the specification, and terminates the communication attempt; if the target card responds normally and generates a second response message, the NFC chip generates a card selection success message and continues to maintain the re-established RF field to report that the card selection is successful (such as reporting the 6105 status code), and continues the subsequent communication process.

[0065] In this way, through the active disconnection and retry mechanism, the communication interruption caused by abnormal card status or environmental interference is effectively reduced, and the communication success rate is significantly improved. At the same time, the ability to deal with external interference and abnormal card status is enhanced, avoiding system instability caused by simple error reports. For application scenarios such as mobile payment and access control, reducing communication failures not only improves the reliability of the system, but also significantly improves the user experience.

[0066] An NFC chip anti-collision processing method of the embodiment of the present disclosure is applied to the NFC chip of the NFC reading device, and the method includes: when detecting the initial radio frequency field between the target card and the target card, sending a first anti-collision instruction to the target card; detecting whether the target card generates a first response information corresponding to the first anti-collision instruction; if the target card does not generate the first response information, then cutting off the initial radio frequency field and re-establishing the radio frequency field between the target card and the target card; using the re-established radio frequency field, sending a second anti-collision instruction to the target card; according to the response result of the target card to the second anti-collision instruction, performing an operation corresponding to the response result. Thus, when the NFC chip detects for the first time that the card does not respond to the anti-collision instruction, the NFC chip first performs an active field disconnection operation, turns off the radio frequency field to interrupt the current communication, thereby helping the card to clear possible abnormal states, and then the NFC chip reactivates the radio frequency field and sends the anti-collision instruction again, and performs corresponding operations according to the response result of the card to the anti-collision instruction sent again. In this way, not only can the communication failure caused by the abnormal state of the card be reduced, but also the stability and user experience of the NFC communication process are significantly improved, and it is suitable for NFC communication scenarios in various complex application scenarios.

[0067] In another embodiment of the present disclosure, the overall logic of the NFC chip anti-collision processing method is specifically explained, wherein the method is applied to an NFC chip of an NFC reading device.

[0068] Figure 2 A schematic diagram of another process of NFC chip anti-collision processing provided by an embodiment of the present disclosure is shown.

[0069] S210: When an initial radio frequency field between the target card and the target card is detected, a first anti-collision instruction is sent to the target card.

[0070] Among them, S210 is similar to S110 and will not be described in detail here.

[0071] S220: Detect whether the target card generates first response information corresponding to the first anti-collision instruction.

[0072] Specifically, if the NFC chip determines that the target card has not generated the first response information, S230 is executed; if the NFC chip determines that the target card has generated the first response information, S240 is executed.

[0073] S230, after cutting off the initial radio frequency field, re-establishing the radio frequency field with the target card.

[0074] Among them, S230 is similar to S130 and will not be described in detail here.

[0075] S240: Generate card selection success information and continue to maintain the initial radio frequency field.

[0076] Specifically, if the target card generates the first response information corresponding to the first anti-collision instruction, it means that the NFC chip can detect the first response information, then the NFC chip generates card selection success information and continues to maintain the initial RF field to continue the normal card selection and communication process.

[0077] S250: Send a second anti-collision instruction to the target card using the re-established radio frequency field.

[0078] Among them, S250 is similar to S140 and will not be elaborated here.

[0079] S260: If the response result is that the target card generates second response information corresponding to the second anti-collision instruction, then a card selection success message is generated and the re-established radio frequency field is maintained.

[0080] Specifically, if the target card generates a second response message, it means that the target card responds to the second anti-collision instruction normally and the second response message is detected by the NFC chip. Then, the NFC chip generates a card selection success message and continues to maintain the re-established radio frequency field to report that the card selection is successful (such as reporting a 6105 status code) and continue the subsequent communication process.

[0081] S270: If the response result is that the target card does not generate the second response information corresponding to the second anti-collision instruction, a communication error message is generated and the re-established radio frequency field is cut off.

[0082] Specifically, if the target card does not generate the second response information, it means that the target card cannot respond to the second anti-collision instruction normally. The NFC chip generates a communication error message and cuts off the re-established radio frequency field, that is, it is considered that the target card cannot be selected, reports an error according to the specification, and terminates the communication attempt.

[0083] In this way, by introducing the active disconnection and retry mechanism, it is possible to effectively deal with abnormal card states and reduce communication failures caused by short-term interference or other factors, thereby improving the robustness and fault tolerance of the system. In addition, this method significantly reduces communication interruptions caused by false alarms and provides a more stable and reliable user experience, especially in complex or more interference-prone application scenarios. In addition, it is mainly achieved through improvements at the software and firmware levels, without requiring major changes to existing hardware, and is easy to integrate into existing NFC chip solutions, with strong practicality and scalability.

[0084] The embodiment of the present disclosure also provides an NFC chip anti-collision processing device for implementing the above-mentioned NFC chip anti-collision processing method, and the device is configured on the NFC chip of the NFC reading device. Figure 3 Provide explanation.

[0085] Figure 3 A schematic structural diagram of an NFC chip anti-collision processing device provided by an embodiment of the present disclosure is shown.

[0086] like Figure 3 As shown, the NFC chip anti-collision processing device 300 may include:

[0087] A first sending module 310, configured to send a first anti-collision instruction to a target card when an initial radio frequency field between the target card and the target card is detected;

[0088] A detection module 320, configured to detect whether the target card generates first response information corresponding to the first anti-collision instruction;

[0089] A post-cut-off establishing module 330, configured to re-establish the radio frequency field with the target card after cutting off the initial radio frequency field if the target card does not generate the first response information;

[0090] A second sending module 340 is used to send a second anti-collision instruction to the target card by using the re-established radio frequency field;

[0091] The execution module 350 is used to execute an operation corresponding to the response result of the target card to the second anti-collision instruction.

[0092] An NFC chip anti-collision processing device of the embodiment of the present disclosure is configured in an NFC chip of an NFC reading device, and the device includes: when detecting the initial radio frequency field between the target card and the NFC chip, sending a first anti-collision instruction to the target card; detecting whether the target card generates a first response information corresponding to the first anti-collision instruction; if the target card does not generate the first response information, then cutting off the initial radio frequency field and re-establishing the radio frequency field between the target card and the target card; using the re-established radio frequency field, sending a second anti-collision instruction to the target card; according to the response result of the target card to the second anti-collision instruction, performing an operation corresponding to the response result. Thus, when the NFC chip detects that the card does not respond to the anti-collision instruction for the first time, the NFC chip first performs an active field disconnection operation, turns off the radio frequency field to interrupt the current communication, thereby helping the card to clear possible abnormal states, and then the NFC chip reactivates the radio frequency field and sends the anti-collision instruction again, and performs corresponding operations according to the response result of the card to the anti-collision instruction sent again. In this way, not only can the communication failure caused by the abnormal state of the card be reduced, but also the stability of the NFC communication process and the user experience are significantly improved, and it is suitable for NFC communication scenarios in various complex application scenarios.

[0093] In some embodiments of the present disclosure, the device further includes:

[0094] The first generating module is configured to generate communication error information and cut off the re-established radio frequency field if the response result is that the target card does not generate second response information corresponding to the second anti-collision instruction.

[0095] In some embodiments of the present disclosure, the execution module 350 includes:

[0096] The first processing unit is configured to generate communication error information and cut off the re-established radio frequency field if the response result is that the target card does not generate second response information corresponding to the second anti-collision instruction.

[0097] In some embodiments of the present disclosure, the execution module 350 includes:

[0098] The second processing unit is configured to generate card selection success information and continue to maintain the re-established radio frequency field if the response result is that the target card generates second response information corresponding to the second anti-collision instruction.

[0099] In some embodiments of the present disclosure, the device further includes:

[0100] The second generating module is used for generating card selection success information and continuing to maintain the initial radio frequency field if it is detected that the target card generates the first response information.

[0101] In some embodiments of the present disclosure, the initial radio frequency field is the same as the re-established radio frequency field; and the first anti-collision instruction is the same as the second anti-collision instruction.

[0102] In some embodiments of the present disclosure, the target card obtains the instruction type and parameters by parsing the first anti-collision instruction or the second anti-collision instruction, and generates a response result of the first anti-collision instruction or the second anti-collision instruction according to the instruction type and parameters.

[0103] It should be noted that Figure 3 The NFC chip anti-collision processing device 800 shown can perform Figure 1 to Figure 2 The various steps in the method embodiment shown in the figure are implemented Figure 1 to Figure 2 The various processes and effects in the method embodiment shown are not described in detail here.

[0104] Figure 4 A schematic diagram of the structure of an NFC chip in an NFC reading device provided by an embodiment of the present disclosure is shown.

[0105] like Figure 4 As shown, the NFC chip may include a processor 401 and a memory 402 storing computer program instructions.

[0106] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0107] The memory 402 may include a large capacity memory for information or instructions. By way of example and not limitation, the memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory 402 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 402 may be inside or outside the integrated gateway device. In a particular embodiment, the memory 402 is a non-volatile solid-state memory. In a particular embodiment, the memory 402 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (Electrically Erasable Programmable ROM, EEPROM), an electrically rewritable ROM (EAROM) or a flash memory, or a combination of two or more of these.

[0108] The processor 401 reads and executes the computer program instructions stored in the memory 402 to perform the steps of the NFC chip anti-collision processing method provided in the embodiment of the present disclosure.

[0109] In one example, the NFC chip in the NFC reading device may further include a transceiver 403 and a bus 404. Figure 4 As shown, the processor 401, the memory 402 and the transceiver 403 are connected via a bus 404 and communicate with each other.

[0110] The bus 404 includes hardware, software, or both. For example, but not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industrial Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a Memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, the bus 404 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.

[0111] The following is an embodiment of a computer-readable storage medium provided in an embodiment of the present disclosure. The computer-readable storage medium and the NFC chip anti-collision processing method of the above-mentioned embodiments belong to the same inventive concept. For details not described in detail in the embodiment of the computer-readable storage medium, reference can be made to the embodiment of the above-mentioned NFC chip anti-collision processing method.

[0112] This embodiment provides a storage medium containing computer executable instructions. When the computer executable instructions are executed by a computer processor, they are used to execute an NFC chip anti-collision processing method, which is applied to an NFC chip of an NFC reading device. The method includes:

[0113] When an initial radio frequency field between the target card and the target card is detected, a first anti-collision instruction is sent to the target card;

[0114] Detecting whether the target card generates first response information corresponding to the first anti-collision instruction;

[0115] If the target card does not generate the first response information, cutting off the initial radio frequency field and then re-establishing the radio frequency field with the target card;

[0116] Using the re-established radio frequency field, sending a second anti-collision instruction to the target card;

[0117] According to the response result of the target card to the second anti-collision instruction, an operation corresponding to the response result is executed.

[0118] Of course, the computer executable instructions of a storage medium including computer executable instructions provided in an embodiment of the present disclosure are not limited to the above method operations, and can also execute related operations in the NFC chip anti-collision processing method provided in any embodiment of the present disclosure.

[0119] Through the above description of the implementation methods, the technical personnel in the relevant field can clearly understand that the present disclosure can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present disclosure can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer cloud platform (which can be a personal computer, server, or network cloud platform, etc.) to execute the NFC chip anti-collision processing method provided in each embodiment of the present disclosure.

[0120] Note that the above are only preferred embodiments of the present disclosure and the technical principles used. Those skilled in the art will understand that the present disclosure is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present disclosure. Therefore, although the present disclosure is described in more detail through the above embodiments, the present disclosure is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present disclosure, and the scope of the present disclosure is determined by the scope of the appended claims.

Claims

1. A NFC chip anti-collision processing method, characterized in that: An NFC chip applied to an NFC reading device, the method comprising: When an initial radio frequency field between the target card and the target card is detected, a first anti-collision instruction is sent to the target card; Detecting whether the target card generates first response information corresponding to the first anti-collision instruction; If the target card does not generate the first response information, cutting off the initial radio frequency field and then re-establishing the radio frequency field with the target card; Using the re-established radio frequency field, sending a second anti-collision instruction to the target card; According to the response result of the target card to the second anti-collision instruction, an operation corresponding to the response result is executed.

2. The method according to claim 1, characterized in that The step of executing an operation corresponding to a response result of the target card to the second anti-collision instruction includes: If the response result is that the target card does not generate the second response information corresponding to the second anti-collision instruction, a communication error message is generated and the re-established radio frequency field is cut off.

3. The method according to claim 1, characterized in that The step of executing an operation corresponding to a response result of the target card to the second anti-collision instruction includes: If the response result is that the target card generates the second response information corresponding to the second anti-collision instruction, a card selection success message is generated and the re-established radio frequency field is continued to be maintained.

4. The method according to claim 1, characterized in that Also includes: If it is detected that the target card generates the first response information, a card selection success message is generated and the initial radio frequency field is continued to be maintained.

5. The method according to claim 1, characterized in that The initial radio frequency field is the same as the re-established radio frequency field; the first anti-collision instruction is the same as the second anti-collision instruction.

6. The method according to claim 1, characterized in that The target card obtains the instruction type and parameters by parsing the first anti-collision instruction or the second anti-collision instruction, and generates a response result of the first anti-collision instruction or the second anti-collision instruction according to the instruction type and the parameters.

7. An NFC chip anti-collision processing device, characterized in that: An NFC chip configured in an NFC reading device, the device comprising: A first sending module, configured to send a first anti-collision instruction to the target card when an initial radio frequency field between the target card and the target card is detected; A detection module, used for detecting whether the target card generates first response information corresponding to the first anti-collision instruction; a post-cut-off establishing module, configured to re-establish the radio frequency field with the target card after cutting off the initial radio frequency field if the target card does not generate the first response information; A second sending module, used for sending a second anti-collision instruction to the target card by using the re-established radio frequency field; The execution module is used to execute an operation corresponding to the response result according to the response result of the target card to the second anti-collision instruction.

8. The device according to claim 7, characterized in that Also includes: The first generating module is configured to generate communication error information and cut off the re-established radio frequency field if the response result is that the target card does not generate second response information corresponding to the second anti-collision instruction.

9. An NFC reading device, characterized in that: The NFC reading device is equipped with an NFC chip, and the NFC chip includes: processor; A memory for storing executable instructions; The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the method described in any one of claims 1 to 6.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the method according to any one of claims 1 to 6.

Citation Information

Cited By

  • State switching method and device, equipment and storage medium

    CN120822534A