Communication method and communication device for NFC (Near Field Communication) chip, and electronic equipment

By analyzing the feedback waveform category of the NFC chip, the reason for the failure of the electronic device to send communication information to the NFC chip is accurately identified, and corresponding processing solutions are adopted, which solves the problem of misjudging NFC chip failure in the prior art, and accurately recognizes and automatically handles communication failures.

CN119696630APending Publication Date: 2025-03-25BEIJING TSINGTENG MICROSYSTEM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411791268.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

In the prior art, when an electronic device fails to send communication information to an NFC chip, it is difficult to accurately identify the cause of failure, and it is easy to misjudgment that there is a failure in the NFC chip.

Method used

By receiving the feedback waveform of the NFC chip, confirm its category, distinguishing between low-power blocking waveforms and active blocking waveforms, and adopting the corresponding resend communication information according to different waveform categories.

Benefits of technology

It realizes the accurate identification of the reasons for the failure of electronic devices to send communication information to the NFC chip, and automatically handles the communication failure situation, avoiding the misjudgment of the failure of the NFC chip.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119696630A_ABST
    Figure CN119696630A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of near field communication, and discloses a communication method and a communication device for an NFC chip, and electronic equipment. The communication method comprises the following steps: receiving a feedback waveform of the NFC chip under the condition that communication information is failed to be sent to the NFC chip; confirming the category of the feedback waveform; under the condition that the feedback waveform is the low-power-consumption blocking waveform, communication information is sent to the NFC chip again according to a first set mode; and under the condition that the feedback waveform is the active blocking waveform, the communication information is sent to the NFC chip again according to a second setting mode. According to the method and the device, the demodulated digital signal can be ensured to be the digital signal with concentrated energy, so that the method and the device can realize accurate identification of the reason for failure of sending the communication information to the NFC chip by the electronic equipment and automatic processing of the communication failure condition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of near field communication, for example, to a communication method and a communication device and an electronic device for communicating with an NFC chip. Background Art

[0002] Currently, electronic devices (eg, mobile phones) and NFC chips usually communicate via an I2C communication interface, with the electronic device acting as a host and the NFC chip acting as a slave, and the communication protocol between them needs to comply with the NCI specification.

[0003] In the related art, when an electronic device fails to send communication information to an NFC chip, it will determine that the NFC chip is in a low power consumption state, and will resend the communication information after a set delay (e.g., 5ms). When the number of resending the communication information exceeds the set number (e.g., 3 times), it will be determined that the NFC chip has a fault, and the control hardware will be reset and restarted.

[0004] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:

[0005] When the NFC chip has not finished processing the previous communication information, it cannot receive new information. In this case, the electronic device will fail to send communication information to the NFC chip. And the time required for the NFC chip to process a communication message is much longer than the time required to resend the communication information a set number of times in the related art. This results in that if the electronic device fails to send communication information to the NFC chip because the NFC chip has not finished processing the previous communication information, it will be very easy to mistakenly determine that the NFC chip is faulty. Therefore, how to accurately identify the reason why the electronic device fails to send communication information to the NFC chip has become a technical problem that needs to be solved urgently.

[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0007] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0008] The embodiments of the present disclosure provide a method, a communication device, and an electronic device for communicating with an NFC chip, which can accurately identify the reason why the electronic device fails to send communication information to the NFC chip, and can automatically handle the communication failure.

[0009] In some embodiments, a method for communicating with an NFC chip includes: in case of failure in sending communication information to the NFC chip, receiving a feedback waveform from the NFC chip; confirming the category of the feedback waveform; in case the feedback waveform is a low-power blocking waveform, re-sending the communication information to the NFC chip according to a first setting method; in case the feedback waveform is an active blocking waveform, re-sending the communication information to the NFC chip according to a second setting method.

[0010] Optionally, the feedback waveform includes a clock signal line and a data signal line; confirming the category of the feedback waveform includes: when the data signal line is kept at a high level starting from a first set rising edge in the clock signal line, determining that the feedback waveform is a low-power blocking waveform; when the data signal line presents an ACK shape in the stage between the second set rising edge and the previous falling edge in the clock signal line, and when the data signal line presents a NAK shape in the stage between the second set rising edge and the next falling edge, determining that the feedback waveform is an active blocking waveform.

[0011] Optionally, the duration of the ACK form and the NAK form are both greater than or equal to the set duration.

[0012] Optionally, re-sending communication information to the NFC chip according to the first setting method includes: starting from receiving the feedback waveform, re-sending the communication information to the NFC chip after extending the first time length.

[0013] Optionally, re-sending communication information to the NFC chip according to a second setting method includes: starting from receiving the feedback waveform, extending the second time length and re-sending the communication information to the NFC chip; wherein the second time length is greater than or equal to 10 times the first time length.

[0014] Optionally, re-sending communication information to the NFC chip according to the second setting method includes: determining a third time period according to the communication information previously sent to the NFC chip; and re-sending communication information to the NFC chip after extending the third time period.

[0015] Optionally, the communication method further includes: when the number of times of resending the communication information to the NFC chip reaches a set number, giving up sending the communication information this time and issuing a prompt message of NFC chip hardware failure.

[0016] In some embodiments, a device for communicating with an NFC chip includes: a first sending module, configured to receive a feedback waveform of the NFC chip when sending communication information to the NFC chip fails; a confirmation module, configured to confirm the category of the feedback waveform; a second sending module, configured to re-send the communication information to the NFC chip according to a first setting method when the feedback waveform is a low-power blocking waveform; and a third sending module, configured to re-send the communication information to the NFC chip according to a second setting method when the feedback waveform is an active blocking waveform.

[0017] In some embodiments, a device for communicating with an NFC chip includes a processor and a memory storing program instructions, and the processor is configured to execute the above-mentioned method for communicating with an NFC chip when running the program instructions.

[0018] In some embodiments, an electronic device includes: a device body; and a communication device for an NFC chip as described above, which is disposed in the device body.

[0019] The communication method, communication device, and electronic device for communicating with an NFC chip provided in the embodiments of the present disclosure can achieve the following technical effects:

[0020] When an electronic device fails to send communication information to an NFC chip, the NFC chip will send a feedback signal to the electronic device, and the signal is in the form of a waveform. Through research, the disclosed embodiment found that there is a clear difference between the feedback waveform sent to the electronic device when the NFC chip is in a low-power state causing communication failure and the NFC chip has not completed processing the previous communication information causing communication failure. Therefore, when the communication information fails to be sent to the NFC chip, the disclosed embodiment will determine the category of the feedback waveform sent by the NFC chip, and then identify the reason for the failure of the electronic device to send communication information to the NFC chip based on the category of the feedback waveform. And for different reasons, corresponding solutions for resending communication information to the NFC chip are set. In this way, accurate identification of the reason for the failure of the electronic device to send communication information to the NFC chip and automatic processing of communication failure situations are achieved.

[0021] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0023] Figure 1 is a schematic diagram of an electronic device provided by an embodiment of the present disclosure;

[0024] Figure 2 is a schematic diagram of a method for communicating with an NFC chip provided by an embodiment of the present disclosure;

[0025] Figure 3 is a schematic diagram of another method for communicating with an NFC chip provided by an embodiment of the present disclosure;

[0026] Figure 4 is a schematic diagram of a low-power blocking waveform provided by an embodiment of the present disclosure;

[0027] Figure 5 is a schematic diagram of an active blocking waveform provided by an embodiment of the present disclosure;

[0028] Figure 6 is a schematic diagram of a device for communicating with an NFC chip provided by an embodiment of the present disclosure;

[0029] Figure 7 It is a schematic diagram of another device for communicating with an NFC chip provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0031] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0032] Unless otherwise stated, the term "plurality" of a feature means two or more.

[0033] In the embodiment of the present disclosure, the character " / " feature indicates that the preceding and following objects are in an "or" relationship. For example, the A / B feature indicates: A or B.

[0034] The term "and / or" is a description of the association relationship between objects, and the characteristic indicates that there can be three relationships. For example, A and / or B, the characteristic indicates: A or B, or, A and B.

[0035] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0036] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other.

[0037] In the embodiments of the present disclosure, the electronic device refers to a device used for near field communication with an NFC chip, such as a smart phone, a tablet computer, and an NFC reader / writer. Figure 1 As shown, the electronic device includes a device body 110 and a communication device 600 (700) for communicating with an NFC chip.

[0038] Specifically, the communication device 600 ( 700 ) for communicating with the NFC chip is provided in the device body 110 .

[0039] Optionally, the communication device 700 for the NFC chip includes a processor. When the communication information sent to the NFC chip fails, the processor can receive the feedback waveform of the NFC chip and confirm the type of the feedback waveform. When the feedback waveform is a low-power blocking waveform, the processor can resend the communication information to the NFC chip in a first setting mode. When the feedback waveform is an active blocking waveform, the processor resends the communication information to the NFC chip in a second setting mode.

[0040] In combination with the above electronic device, the present disclosure provides a method for communicating with an NFC chip, such as Figure 2 As shown, the communication method includes:

[0041] S201: When the processor fails to send communication information to the NFC chip, the processor receives a feedback waveform from the NFC chip.

[0042] Specifically, if the electronic device fails to send communication information to the NFC chip, it indicates that the NFC chip is currently in a low power state or is processing the previous communication information. There is a certain difference in the feedback waveform of the NFC chip in these two cases. Therefore, when the communication information fails to be sent to the NFC chip, the processor needs to receive the feedback waveform of the NFC chip so as to determine the specific reason for the failure to send the communication information to the NFC chip based on the feedback waveform.

[0043] S202: The processor confirms the type of the feedback waveform.

[0044] Specifically, feedback waveform templates can be pre-set when communication fails due to the NFC chip being in a low power state and the NFC chip not completing processing of the previous communication information. The processor determines the category of the feedback waveform by comparing the feedback waveform with which feedback waveform template has a high similarity.

[0045] Specifically, based on the characteristics of the feedback waveform when the NFC chip is in a low power state causing communication failure and the NFC chip has not completed processing the previous communication information causing communication failure, determination conditions for different categories of feedback waveforms can be set. The processor determines the category of the feedback waveform by determining which determination condition the feedback waveform meets.

[0046] S203: When the feedback waveform is a low-power blocking waveform, the processor re-sends communication information to the NFC chip according to the first setting mode.

[0047] Specifically, the first setting method is a scheme for resending communication information to the NFC chip in response to a situation where the NFC chip is in a low power consumption state and thus fails to send communication information to the NFC chip.

[0048] Specifically, the low-power blocking waveform is a waveform that is fed back to the electronic device when the NFC chip is in a low-power state and an electronic device sends communication information to it. Therefore, if the category of the feedback waveform is a low-power blocking waveform, it indicates that the reason for the failure to send communication information to the NFC chip this time is that the NFC chip is currently in a low-power state. Therefore, in this case, the processor needs to resend the communication information to the NFC chip according to the first setting method.

[0049] Optionally, re-sending communication information to the NFC chip according to the first setting method includes: starting from receiving the feedback waveform, re-sending the communication information to the NFC chip after extending the first time length.

[0050] Specifically, if the communication failure is caused by the NFC chip being in a low power state, although the communication information sent last time cannot be received by the NFC chip, it will wake up the NFC chip from the low power state. Therefore, starting from receiving the feedback waveform, the first time length is extended and the communication information is resent, so that the NFC chip can receive data normally, solving the communication failure in this case.

[0051] Optionally, the value range of the first duration is 5 ms to 10 ms.

[0052] S204: When the feedback waveform is an active blocking waveform, the processor re-sends communication information to the NFC chip according to the second setting mode.

[0053] Specifically, the second setting method is a scheme for resending communication information to the NFC chip in response to a situation where the NFC chip fails to complete processing of a previous communication information, thereby causing a failure in sending communication information to the NFC chip.

[0054] Specifically, the active blocking waveform is a waveform that is fed back to the electronic device when the NFC chip is in the communication information processing state and an electronic device sends new communication information to it. Therefore, if the feedback waveform category is an active blocking waveform, it indicates that the reason for the failure to send communication information to the NFC chip this time is that the NFC chip has not completed processing the previous communication information. Therefore, in this case, the processor needs to resend the communication information to the NFC chip according to the second setting method.

[0055] Optionally, re-sending communication information to the NFC chip according to a second setting method includes: starting from receiving the feedback waveform, extending the second time length and re-sending the communication information to the NFC chip; wherein the second time length is greater than or equal to 10 times the first time length.

[0056] Specifically, if the communication failure is caused by the NFC chip processing the previous communication information, the NFC chip can receive data normally by resending the communication information after it has processed the previous communication information. Therefore, starting from receiving the feedback waveform, the communication failure in this case can be solved by resending the communication information after extending the second time length (wherein the second time length needs to be set longer, at least 10 times the first time length).

[0057] Optionally, re-sending communication information to the NFC chip according to the second setting method includes: determining a third time period according to the communication information previously sent to the NFC chip; and re-sending communication information to the NFC chip after extending the third time period.

[0058] Specifically, if the communication failure is caused by the NFC chip processing the previous communication information, the NFC chip can receive data normally by resending the communication information after the NFC chip has processed the previous communication information. Therefore, the communication failure in this case can be solved by determining the third time required to process the communication information based on the previous communication information sent to the NFC chip, and resending the communication information after extending the third time.

[0059] When an electronic device fails to send communication information to an NFC chip, the NFC chip will send a feedback signal to the electronic device, and the signal is in the form of a waveform. Through research, the disclosed embodiment found that there is a clear difference between the feedback waveform sent to the electronic device when the NFC chip is in a low-power state causing communication failure and the NFC chip has not completed processing the previous communication information causing communication failure. Therefore, when the communication information fails to be sent to the NFC chip, the disclosed embodiment will determine the category of the feedback waveform sent by the NFC chip, and then accurately identify the reason why the electronic device failed to send the communication information to the NFC chip based on the category of the feedback waveform. And for different reasons, corresponding solutions for resending communication information to the NFC chip are set. In this way, accurate identification of the reason for the failure of the electronic device to send communication information to the NFC chip and automatic processing of communication failure situations are achieved.

[0060] The present disclosure provides another method for communicating with an NFC chip, such as Figure 2 As shown, the communication method includes:

[0061] S301, when the processor fails to send communication information to the NFC chip, the processor receives a feedback waveform from the NFC chip; wherein the feedback waveform includes a clock signal line and a data signal line.

[0062] Specifically, the clock signal line is an SCL (Serial Clock Line) signal line, and the data signal line is an SDA (Serial Data Line) line.

[0063] S302: The processor determines that the feedback waveform is a low power blocking waveform when the data signal line is kept at a high level starting from a first set rising edge in the clock signal line.

[0064] Specifically, since the NFC chip does not drive the data signal line, when the electronic device communicates with the NFC chip, if the NFC chip is driven by the electronic device, the data signal should be at a low level, and if the NFC chip is not driven by the electronic device, the data signal should be at a high level. Therefore, if the data signal line has been kept at a high level since the first set rising edge in the clock signal line, it can be considered that the NFC chip is currently in a low power consumption state, and the feedback waveform can be determined to be a low power consumption blocking waveform.

[0065] For example, the low power blocking waveform is as follows: Figure 4 shown.

[0066] S303: When the feedback waveform is a low-power blocking waveform, the processor re-sends communication information to the NFC chip according to the first setting mode.

[0067] S304, when the data signal line presents an ACK state during the period between the second set rising edge and the previous falling edge of the clock signal line, and when the data signal line presents a NAK state during the period between the second set rising edge and the next falling edge, the processor determines that the feedback waveform is an active blocking waveform.

[0068] Specifically, during the period when the NFC chip is communicating information, the data signal line cannot change when the clock signal line is at a high level. In this case, before the rising edge of the clock signal line starts to process the communication information, the data signal line needs to be at a low level, and from the rising edge of the clock signal line starting to process the communication information to the next falling edge, the data signal line needs to be at a low level. This signal line transformation form is called the ACK-NAK signal change form. Therefore, if the data signal line presents an ACK form in the stage between the second set rising edge and the previous falling edge of the clock signal line, and the data signal line presents a NAK form in the stage between the second set rising edge and the next falling edge, it can be determined that the feedback waveform is an active blocking waveform.

[0069] Exemplarily, the active blocking waveform is as follows Figure 5 shown.

[0070] Optionally, the duration of the ACK form and the NAK form are both greater than or equal to the set duration.

[0071] Specifically, the set time length needs to be greater than the specified time length of the filter used by the electronic device. In this way, it can be avoided that the data signals in the form of ACK and NAK are filtered out as noise by the filter of the electronic device, resulting in the inability to identify the type of the feedback waveform.

[0072] It should be noted that the stage of generating ACK and NAK signals needs to meet the sampling frequency of the clock signal (for example, at 100KHz, 400KHz and 1MHz frequencies), so as to avoid the failure of ACK and NAK data signals to be collected.

[0073] S305: When the feedback waveform is an active blocking waveform, the processor re-sends the communication information to the NFC chip according to the second setting mode.

[0074] In the disclosed embodiment, different types of feedback waveform determination conditions are preset, and the type of the feedback waveform is determined by determining which determination condition the feedback waveform meets, which is conducive to improving the speed and accuracy of determining the type of the feedback waveform.

[0075] In some embodiments, the communication method further includes: when the number of times the communication information is re-sent to the NFC chip reaches a set number, giving up sending the communication information this time and issuing a prompt message of NFC chip hardware failure.

[0076] Specifically, if the number of times the communication information is resent to the NFC chip reaches the set number, it indicates that the reason why the electronic device fails to send the communication information to the NFC chip is not because the NFC chip is in a low power state, resulting in a communication failure, or the NFC chip has not completed processing the previous communication information, but because of a hardware failure of the NFC chip. Therefore, in this case, the communication information can be abandoned and a prompt message of a hardware failure of the NFC chip can be issued.

[0077] Optionally, the number of times is set to 3 to 5 times.

[0078] In the disclosed embodiment, when the number of times of resending communication information to the NFC chip reaches a set number, the communication information will be abandoned and a prompt will be given that the NFC chip has a hardware failure. In this way, it can be avoided that when the NFC chip has a hardware failure, multiple useless communication information is sent to the NFC chip.

[0079] Combination Figure 6 As shown, the embodiment of the present disclosure provides a demodulation device 500 for NFC signals, including: a first sending module 601, a confirmation module 602, a second sending module 603 and a third sending module 604. The first sending module 601 is configured to receive a feedback waveform of the NFC chip when the communication information sent to the NFC chip fails. The confirmation module 602 is configured to confirm the category of the feedback waveform. The second sending module 603 is configured to resend the communication information to the NFC chip according to the first setting mode when the feedback waveform is a low-power blocking waveform. The third sending module 604 is configured to resend the communication information to the NFC chip according to the second setting mode when the feedback waveform is an active blocking waveform.

[0080] Combination Figure 7 As shown, an embodiment of the present disclosure provides a communication device 700 for communicating with an NFC chip, and the communication device 700 for communicating with an NFC chip includes: a processor (processor) 701 and a memory (memory) 702. Optionally, the device may also include a communication interface (Communication Interface) 703 and a bus 704. Among them, the processor 701, the communication interface 703, and the memory 702 can communicate with each other through the bus 704. The communication interface 703 can be used for information transmission. The processor 701 can call the logic instructions in the memory 702 to execute the communication method for the NFC chip of the above embodiment.

[0081] In addition, the logic instructions in the memory 702 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.

[0082] The memory 702 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 701 executes functional applications and data processing by running the program instructions / modules stored in the memory 702, that is, implementing the communication method for the NFC chip in the above embodiment.

[0083] The memory 702 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 702 may include a high-speed random access memory and may also include a non-volatile memory.

[0084] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned method for communicating with an NFC chip.

[0085] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.

[0086] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0087] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0088] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0089] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for communicating with an NFC chip, characterized in that: include: In case of failure in sending communication information to the NFC chip, receiving a feedback waveform from the NFC chip; Confirm the type of feedback waveform; When the feedback waveform is a low-power blocking waveform, resending communication information to the NFC chip according to the first setting mode; When the feedback waveform is an active blocking waveform, the communication information is resent to the NFC chip according to the second setting mode.

2. The communication method according to claim 1, characterized in that: The feedback waveform includes a clock signal line and a data signal line; confirm the type of feedback waveform, including: When the data signal line is kept at a high level starting from a first set rising edge in the clock signal line, determining that the feedback waveform is a low power blocking waveform; When the data signal line presents an ACK state in the stage between the second set rising edge and the previous falling edge in the clock signal line, and when the data signal line presents a NAK state in the stage between the second set rising edge and the next falling edge, the feedback waveform is determined to be an active blocking waveform.

3. The communication method according to claim 2, characterized in that: The duration of the ACK form and the NAK form are both greater than or equal to the set duration.

4. The communication method according to any one of claims 1 to 3, characterized in that: Re-sending communication information to the NFC chip according to the first setting method includes: Starting from receiving the feedback waveform, the communication information is resent to the NFC chip after extending the first time duration.

5. The communication method according to any one of claims 1 to 3, characterized in that: Resending communication information to the NFC chip according to the second setting method includes: Starting from receiving the feedback waveform, the communication information is resent to the NFC chip after extending the second time period; The second duration is greater than or equal to 10 times the first duration.

6. The communication method according to any one of claims 1 to 3, characterized in that: Resending communication information to the NFC chip according to the second setting method includes: Determining a third duration according to the communication information previously sent to the NFC chip; After the third time period is extended, the communication information is sent to the NFC chip again.

7. The communication method according to any one of claims 1 to 3, characterized in that: Also includes: When the number of times the communication information is resent to the NFC chip reaches the set number, the communication information is abandoned and a prompt message of NFC chip hardware failure is issued.

8. A communication device for an NFC chip, characterized in that: include: A first sending module is configured to receive a feedback waveform from the NFC chip when sending communication information to the NFC chip fails; A confirmation module configured to confirm the category of the feedback waveform; A second sending module is configured to resend the communication information to the NFC chip according to the first setting mode when the feedback waveform is a low power blocking waveform; The third sending module is configured to resend the communication information to the NFC chip according to the second setting mode when the feedback waveform is an active blocking waveform.

9. A communication device for an NFC chip, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for communicating with an NFC chip according to any one of claims 1 to 7 when running the program instructions.

10. An electronic device, characterized in that: include: Equipment body; The device for communicating with an NFC chip as described in claim 8 or 9 is arranged on the device body.