Method, device and system for debugging NFC parameters

By establishing an NFC connection in a smart wearable device, dynamically adjusting NFC parameters and generating status codes, the problem of low efficiency in parameter adjustment during field debugging is solved, achieving efficient NFC parameter management and rapid verification, thus improving the efficiency and reliability of field debugging.

CN121815225APending Publication Date: 2026-04-07BEIJING TSINGTENG MICROSYSTEM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-12
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Existing smart wearable devices lack a universal and convenient NFC parameter update method, making it impossible for field debugging personnel to dynamically adjust parameters and quickly verify the effect, resulting in low debugging efficiency.

Method used

By establishing an NFC connection between wearable devices and remote devices in card emulation mode, and receiving and generating selection status codes and debugging instructions, dynamic adjustment and verification of NFC parameters can be achieved, reducing reliance on software development.

Benefits of technology

It enables rapid management of NFC parameters during field debugging, improves debugging efficiency and real-time performance, eliminates dependence on software, and enhances the efficiency and reliability of field debugging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121815225A_ABST
    Figure CN121815225A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of near field communication, and discloses a method for debugging NFC parameters, the method is applied to wearable equipment, and the method comprises the following steps: in a card simulation working mode, establishing NFC connection with remote equipment executing a card reading mode; receiving an application selection instruction sent by the remote equipment, generating a selection state code based on the application selection instruction, and sending the selection state code to the remote equipment, so that the remote equipment starts NFC parameter debugging based on the selection state code; and receiving an NFC parameter debugging instruction sent by the remote equipment, and executing NFC parameter debugging based on the NFC parameter debugging instruction. The method provides a scheme for debugging NFC parameters in an external field without relying on software research and development. The invention further discloses a device and a system for debugging the NFC parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of near-field communication technology, such as a method, apparatus, and system for debugging NFC parameters. Background Technology

[0002] With the widespread adoption of NFC (Near Field Communication) technology in wearable smart devices, using NFC to function as public transport cards, access cards, bank cards, car keys, and more has become an essential function for users in their daily lives. However, as NFC is widely used in real-world scenarios, compatibility issues inevitably arise (i.e., compatibility problems between NFC devices and external card readers or cards). Solving these problems requires dynamically adjusting relevant NFC parameters based on the actual external environment.

[0003] Currently, smart wearable devices lack a universal and convenient method for updating NFC parameters. Field debugging personnel cannot dynamically adjust parameters according to actual scenarios and quickly verify their effects. Parameter modifications rely on software developers modifying code and compiling new versions, which greatly affects the efficiency of field debugging.

[0004] Against this backdrop, there is an urgent need for a solution that can break free from software development dependence and support field personnel in dynamically adjusting NFC parameters.

[0005] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0006] To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general commentary, nor is it intended to identify key / important components or describe the scope of protection of these embodiments, but rather as a prelude to the detailed description that follows.

[0007] This disclosure provides a method, apparatus, and system for debugging NFC parameters, offering a solution for field debugging of NFC parameters without relying on software development.

[0008] In some embodiments, the method is applied to a wearable device, and the method includes: establishing an NFC connection with a remote device performing a card reading mode in a card emulation working mode; receiving an application selection instruction sent by the remote device, generating a selection status code based on the application selection instruction and sending it to the remote device, so that the remote device starts NFC parameter debugging based on the selection status code; receiving an NFC parameter debugging instruction sent by the remote device, and performing NFC parameter debugging based on the NFC parameter debugging instruction.

[0009] In some embodiments, the wearable device includes a device host and an NFC controller; receiving an application selection instruction sent by a remote device, generating a selection status code based on the application selection instruction, and sending it to the remote device includes: receiving the application selection instruction sent by the remote device through the NFC controller and forwarding it to the device host; parsing the application selection instruction through the device host to obtain a parsing result; if the parsing result indicates that the NFC parameter management application is selected, generating a selection status code through the device host and sending it to the NFC controller; and sending the selection status code to the remote device in a contactless manner through the NFC controller, so that the remote device can start NFC parameter debugging based on the selection status code.

[0010] In some embodiments, the wearable device includes a device host; receiving an NFC parameter debugging instruction sent by a remote device, and performing NFC parameter debugging based on the NFC parameter debugging instruction, including: if the NFC parameter debugging instruction is an NFC parameter update instruction, updating the NFC parameters and obtaining a parameter update status code by the device host based on the NFC parameter update instruction; or, if the NFC parameter debugging instruction is an NFC parameter read instruction, reading the NFC parameters and obtaining a parameter read status code by the device host based on the NFC parameter read instruction.

[0011] In some embodiments, the wearable device further includes an NFC controller; the method further includes: when the NFC parameter debugging instruction is an NFC parameter read instruction, after the device host reads the NFC parameters based on the NFC parameter read instruction and obtains the parameter read status code, the device host forwards the parameter read status code and the NFC parameters to the NFC controller; the NFC controller encapsulates the NFC parameters and the parameter read status code to obtain encapsulated data, and sends the encapsulated data to a remote device in a contactless manner; when the NFC parameter debugging instruction is an NFC parameter update instruction, after the device host reads the NFC parameters based on the NFC parameter update instruction and obtains the parameter update status code, the device host forwards the parameter update status code to the NFC controller; the NFC controller sends the parameter update status code to a remote device in a contactless manner.

[0012] In some embodiments, the method further includes: after updating the NFC parameters based on the NFC parameter update instruction and obtaining the parameter update status code by the device host, the device host issues an RF restart instruction to update the NFC parameters.

[0013] In some embodiments, the method is applied to a remote device, and the method includes: establishing an NFC connection with a wearable device in a card reader mode and performing a card emulation mode; sending an application selection instruction to the wearable device; receiving a selection status code sent by the wearable device and initiating NFC parameter debugging based on the selection status code; and sending an NFC parameter debugging instruction to the wearable device to cause the wearable device to perform NFC parameter debugging based on the NFC parameter debugging instruction.

[0014] In some embodiments, the apparatus includes a processor and a memory storing program instructions, the processor being configured to, when running the program instructions, perform the method for debugging NFC parameters as described above.

[0015] In some embodiments, the system includes: a wearable device equipped with a first means for debugging NFC parameters, the first means for debugging NFC parameters being capable of performing the method for debugging NFC parameters as described above; and a remote device equipped with a second means for debugging NFC parameters, the second means for debugging NFC parameters being capable of performing the method for debugging NFC parameters as described above.

[0016] In some embodiments, the remote device includes: a terminal device including an NFC parameter debugging application, the NFC parameter debugging application being equipped with a second means for debugging NFC parameters; or, a card reader electrically connected to a host computer equipped with an NFC parameter debugging tool, the NFC parameter debugging tool being equipped with a second means for debugging NFC parameters.

[0017] In some embodiments, the wearable device includes: an NFC controller; and a device host connected to the NFC controller for data interaction with a remote device via a radio frequency front end.

[0018] The method, apparatus, and system for debugging NFC parameters provided in this disclosure can achieve the following technical effects: In card emulation mode, the wearable device establishes an NFC connection with a remote device performing card reading mode. After establishing the NFC connection, the wearable device receives an application selection command from the remote device, generates a selection status code based on the command, and sends it to the remote device to initiate NFC parameter debugging. After the remote device initiates NFC parameter debugging, the wearable device receives an NFC parameter debugging command from the remote device and performs NFC parameter debugging based on the command. This embodiment achieves NFC parameter management through near-field communication between the wearable device and the remote device, eliminating the need for software implementation during field debugging and improving the efficiency of field debugging.

[0019] The above general description and the description below are exemplary and illustrative only and are not intended to limit this application. Attached Figure Description

[0020] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations and drawings do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are shown as similar elements. The drawings are not to be scaled. And wherein: Figure 1 This is a schematic diagram of a system for debugging NFC parameters provided in an embodiment of this disclosure; Figure 2 This is another system schematic diagram for debugging NFC parameters provided in this disclosure embodiment; Figure 3 This is a schematic diagram of a method for debugging NFC parameters provided in an embodiment of this disclosure; Figure 4 This is a schematic diagram of another method for debugging NFC parameters provided in an embodiment of this disclosure; Figure 5 This is a schematic diagram of another method for debugging NFC parameters provided in an embodiment of this disclosure; Figure 6 This is a schematic diagram of another method for debugging NFC parameters provided in an embodiment of this disclosure; Figure 7 This is a schematic diagram of an apparatus for debugging NFC parameters provided in an embodiment of this disclosure.

[0021] Figure label: 1: A system for debugging NFC parameters; 10: Wearable devices; 20: Remote device; 101: Device host; 102: NFC controller; 201: Terminal equipment; 202: Card reader; 203: Host computer; 2011: NFC parameter debugging application; 2031: NFC parameter debugging tool; 70: Device for debugging NFC parameters; 700: Processor; 701: Memory; 702: Communication interface; 703: Bus. Detailed Implementation

[0022] To provide a more detailed understanding of the features and technical content of the embodiments of this disclosure, the implementation of the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for illustrative purposes only and are not intended to limit the embodiments of this disclosure. In the following technical description, for ease of explanation, several details are used to provide a full understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other cases, well-known structures and devices may be simplified in their depiction to simplify the drawings.

[0023] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this disclosure described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.

[0024] Unless otherwise stated, the term "multiple" means two or more.

[0025] In this embodiment of the disclosure, the character " / " indicates that the objects before and after it are in an "or" relationship. For example, A / B means: A or B.

[0026] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.

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

[0028] Figure 1 This is a schematic diagram of an environment for debugging NFC parameters provided in an embodiment of this disclosure. Figure 1 As shown, this disclosure provides a system 1 for debugging NFC parameters, including a wearable device 10 and a remote device 20.

[0029] Figure 2 This is a schematic diagram of an environment for another system for debugging NFC parameters provided in an embodiment of this disclosure. For example... Figure 2As shown, the remote device 20 includes a terminal device 201 or a card reader 202. The terminal device 201 includes an NFC parameter debugging application 2011. The card reader 202 is electrically connected to a host computer 203 that has an NFC parameter debugging tool 2031 installed. The NFC parameter debugging tool 2031 is used to connect to the card reader 202, establish an NFC connection with the wearable device 10 through the card reader 202, and complete data interaction through the card reader 202. Here, the connection between the card reader 202 and the host computer 203 can be via a USB (Universal Serial Bus) electrical connection.

[0030] In some optional embodiments, when the remote device 20 is a terminal device 201, the NFC parameter debugging command is issued by the NFC parameter debugging application 2011. In other optional embodiments, when the remote device 20 is a card reader 202, the NFC parameter debugging command is issued by the NFC parameter debugging tool 2031 installed on the host computer 203. The NFC parameter debugging command includes an NFC parameter update command or an NFC parameter read command, and the NFC parameter update command includes updating NFC parameters.

[0031] Optionally, the wearable device 10 includes a device host 101 and an NFC controller 102.

[0032] The device host 101 is connected to the NFC controller 102 via I2C (Inter-Integrated Circuit, serial communication bus). The device host 101 also interacts with remote devices via an RF front-end.

[0033] Optionally, the device host 101 includes an NFC SDK 1011 (Near Field Communication Software Development Kit). The NFC SDK 1011 is a collection of tools and interfaces for building applications that interact with the remote device 20. The NFC SDK 1011 is configured to support data interaction using the T4T NDEF (NFC Data Exchange Format) protocol specification to update NFC parameters, and to support data interaction via private commands to update NFC parameters. The NFC SDK 1011 is also configured to support reading / updating NFC parameters. The NFC SDK 1011 is further configured to receive and parse commands sent by the remote device 20. These commands include, but are not limited to, application selection commands and NFC parameter debugging commands.

[0034] Optionally, NFC SDK 1011 includes NCI (NFC Controller Interface). NFC SDK 1011 is also configured to assemble received contactless data into an NCI instruction format and send it to NFC controller 102 via I2C.

[0035] The NFC controller 102 acquires near-field communication data through the radio frequency front end, and is used for communication between the NCI and the device host 101, as well as for configuring the operating mode. The operating modes include card emulation mode, card reading mode, and peer-to-peer mode.

[0036] Based on the system configuration of the system used for debugging NFC parameters described above, combined with Figure 3 As shown, this disclosure provides a method for debugging NFC parameters, including: S01, in card emulation mode, the wearable device establishes an NFC connection with a remote device performing card reading mode.

[0037] In this step, the wearable device establishes an NFC connection with the remote device performing the card reading mode, including: the wearable device receiving a tag detection command sent by the remote device; and after receiving the tag detection command, sending card information to the remote device to establish an NFC connection with the remote device performing the card reading mode.

[0038] S02, the wearable device receives an application selection command sent by the remote device, generates a selection status code based on the application selection command, and sends it to the remote device so that the remote device can initiate NFC parameter debugging based on the selection status code. The selection status code indicates that the wearable device has successfully learned that the remote device has the capability for NFC parameter management.

[0039] S03, the wearable device receives the NFC parameter debugging command sent by the remote device and performs NFC parameter debugging based on the NFC parameter debugging command.

[0040] The method for debugging NFC parameters provided in this disclosure establishes an NFC connection between a wearable device and a remote device in card reading mode while the wearable device is in card emulation mode. After establishing the NFC connection, the wearable device receives an application selection command from the remote device, generates a selection status code based on the command, and sends it to the remote device to initiate NFC parameter debugging. After the remote device initiates NFC parameter debugging, the wearable device receives an NFC parameter debugging command from the remote device and performs NFC parameter debugging based on the command. This disclosure achieves NFC parameter management through near-field communication between the wearable device and the remote device, eliminating the need for software implementation during field debugging and improving the efficiency of field debugging.

[0041] Optionally, combined Figure 4 As shown, the wearable device receives an application selection command sent by a remote device, generates a selection status code based on the application selection command, and sends it to the remote device, including: S11, the wearable device receives the application selection instruction sent by the remote device through the NFC controller and forwards it to the device host.

[0042] S12, the wearable device obtains the parsing result by parsing the application selection command through the device host.

[0043] S13, if the parsing result indicates that the NFC parameter management application is selected, the wearable device generates a selection status code through the device host and sends it to the NFC controller.

[0044] S14, the wearable device sends a selection status code to the remote device in a contactless manner through the NFC controller, so that the remote device can start NFC parameter debugging based on the selection status code.

[0045] In this way, after the wearable device establishes an NFC connection with the remote device in card reader mode, it receives the application selection command sent by the remote device through the NFC controller and forwards it to the device host. The device host then parses the application selection command to obtain the parsing result. If the parsing result indicates that the NFC parameter management application is selected, it means that the remote device has a need to update or read NFC parameters. At this time, the wearable device generates a selection status code through the device host and sends it to the NFC controller. Finally, the wearable device sends the selection status code to the remote device in a contactless manner through the NFC controller to start the operation of NFC parameter management. In this embodiment, the wearable device can know whether the remote device has a need to update / read NFC parameters based on the application selection command, and notify the remote device of the need result by means of a selection status code, thereby starting NFC parameter management. In this way, NFC parameter management is realized through near-field communication between the wearable device and the remote device, eliminating the dependence of field debugging on software and improving the efficiency of field debugging.

[0046] Optionally, the wearable device receives an application selection instruction sent by a remote device, generates a selection status code based on the application selection instruction, and sends it to the remote device, further including: After the wearable device obtains the parsing result by parsing the application selection command through the device host, if the parsing result is not the NFC parameter management application to be selected, the device host generates an error status code and sends it to the NFC controller.

[0047] Wearable devices send error status codes to remote devices in a contactless manner via an NFC controller.

[0048] In this way, after the wearable device learns from the application selection command that the remote device does not have the need to update / read NFC parameters, it notifies the remote device with an error status code, thus balancing the efficiency and reliability of field debugging.

[0049] Optionally, the wearable device receives an NFC parameter debugging command sent by a remote device, and performs NFC parameter debugging based on the NFC parameter debugging command, including: When the NFC parameter debugging command is an NFC parameter update command, the wearable device updates the NFC parameters based on the NFC parameter update command through the device host and obtains the parameter update status code; or... When the NFC parameter debugging command is an NFC parameter read command, the wearable device reads the NFC parameters and obtains the parameter read status code through the device host based on the NFC parameter read command.

[0050] Thus, when the NFC parameter debugging command is an NFC parameter update command, the wearable device updates the NFC parameters and obtains the parameter update status code through the device host. Conversely, when the NFC parameter debugging command is an NFC parameter read command, the wearable device reads the NFC parameters and obtains the parameter read status code through the device host. Therefore, this embodiment of the present disclosure can perform corresponding NFC parameter management operations based on NFC parameter management requirements during field debugging, and obtain the corresponding NFC parameter management status, enabling timely reporting of field debugging results and further improving the efficiency of field debugging.

[0051] It should be noted that wearable devices update NFC parameters based on NFC parameter update commands via the NCI of the NFC SDK in the device host, or read NFC parameters based on NFC parameter read commands via the NCI of the NFC SDK in the device host.

[0052] Combination Figure 5 As shown in the embodiments of this disclosure, a method for debugging NFC parameters is also provided, including: S21, in card emulation mode, the wearable device establishes an NFC connection with a remote device performing card reading mode.

[0053] S22, the wearable device receives an application selection command sent by the remote device, generates a selection status code based on the application selection command, and sends it to the remote device so that the remote device can start NFC parameter debugging based on the selection status code. Then proceed to step S23 or step S25.

[0054] S23, when the NFC parameter debugging command is an NFC parameter update command, the wearable device updates the NFC parameters through the device host based on the NFC parameter update command and obtains a parameter update status code. The device host then forwards the parameter update status code to the NFC controller. The parameter update status code indicates the success of the wearable device updating the NFC parameters. For example, if the wearable device successfully updates the NFC parameters through the device host based on the NFC parameter update command, the parameter update status code is a success status code; if the wearable device fails to update the NFC parameters through the device host based on the NFC parameter update command, the parameter update status code is a failure status code.

[0055] S24, the wearable device sends a parameter update status code to a remote device in a contactless manner via the NFC controller.

[0056] S25, when the NFC parameter debugging command is an NFC parameter read command, the wearable device reads the NFC parameters and obtains the parameter read status code through the device host based on the NFC parameter read command, and then forwards the parameter read status code and the NFC parameters to the NFC controller through the device host. The parameter read status code indicates the success of the wearable device reading the NFC parameters. As an example, if the wearable device successfully reads the NFC parameters through the device host based on the NFC parameter read command, the parameter read status code is a success status code; if the wearable device fails to read the NFC parameters through the device host based on the NFC parameter read command, the parameter read status code is a failure status code.

[0057] S26, the wearable device obtains encapsulated data by encapsulating NFC parameters and parameter reading status codes through the NFC controller, and sends the encapsulated data to the remote device in a contactless manner.

[0058] Using the NFC parameter debugging method provided in this disclosure, a wearable device establishes an NFC connection with a remote device performing card reading mode in card emulation mode. After establishing the NFC connection, the wearable device receives an application selection command sent by the remote device, generates a selection status code based on the application selection command, and sends it to the remote device so that the remote device can initiate NFC parameter debugging based on the selection status code. When the NFC parameter debugging command is an NFC parameter update command, the wearable device updates the NFC parameters through the device host based on the NFC parameter update command and obtains a parameter update status code. The device host then forwards the parameter update status code to the NFC controller to send the parameter update status code to the remote device via a contactless method. When the NFC parameter debugging command is an NFC parameter read command, the wearable device reads the NFC parameters through the device host based on the NFC parameter read command and obtains a parameter read status code. The device host then forwards the parameter read status code and NFC parameters to the NFC controller to encapsulate the NFC parameters and parameter read status code before sending them to the remote device via a contactless method. Thus, the embodiments of this disclosure can perform corresponding NFC parameter management operations based on NFC parameter management requirements during field debugging, and synchronously feed back the read NFC parameters and parameter read status codes when the NFC parameter management requirement is an NFC parameter read command, or feed back parameter update status codes when the NFC parameter management requirement is an NFC parameter update command, thereby realizing timely reporting of field debugging results and further improving the efficiency of field debugging.

[0059] Optionally, after the wearable device updates the NFC parameters based on the NFC parameter update command through the device host and obtains the parameter update status code, it sends an RF restart command through the device host to realize the NFC parameter update.

[0060] This allows wearable devices to restart according to the updated NFC parameters, improving the real-time performance of field testing.

[0061] Combination Figure 6 As shown in the embodiments of this disclosure, a method for debugging NFC parameters is also provided, including: S31, in card reader mode, the remote device establishes an NFC connection with the wearable device that performs the card emulation mode.

[0062] S32, the remote device sends an application selection command to the wearable device.

[0063] S33, the remote device receives the selection status code sent by the wearable device and starts NFC parameter debugging based on the selection status code.

[0064] S34, the remote device sends an NFC parameter debugging command to the wearable device so that the wearable device can perform NFC parameter debugging based on the NFC parameter debugging command.

[0065] The method for debugging NFC parameters provided in this disclosure establishes an NFC connection between a remote device in card reader mode and a wearable device in card emulation mode. After establishing the NFC connection, the remote device sends an application selection command to the wearable device and receives a selection status code from the wearable device to initiate NFC parameter debugging based on the selection status code. After initiating NFC parameter debugging, an NFC parameter debugging command is sent to the wearable device to enable it to perform NFC parameter debugging based on the command. This disclosure achieves NFC parameter management through near-field communication between the remote device and the wearable device, eliminating the need for software implementation during field debugging and improving the efficiency of field debugging.

[0066] Optionally, the method for debugging NFC parameters also includes: After the remote device sends an NFC parameter debugging command to the wearable device, it obtains the parameter update status code or encapsulated data sent by the wearable device.

[0067] The remote device displays the parameter update result corresponding to the NFC parameter update command according to the update status code.

[0068] The remote device displays the parameter reading results corresponding to the NFC parameter reading command according to the encapsulated data.

[0069] In this way, field personnel can know the parameter update status under field debugging in real time based on the parameter update results, and know the parameter reading status under field debugging based on the parameter reading results, which not only ensures the efficiency of field debugging, but also improves the real-time performance of field debugging.

[0070] Combination Figure 7 As shown, this disclosure provides an apparatus 70 for debugging NFC parameters, including a processor 700 and a memory 701. Optionally, the apparatus 70 may further include a communication interface 702 and a bus 703. The processor 700, communication interface 702, and memory 701 can communicate with each other via the bus 703. The communication interface 702 can be used for information transmission. The processor 700 can call logical instructions in the memory 701 to execute the method for debugging NFC parameters described in the above embodiment.

[0071] Furthermore, the logic instructions in the aforementioned memory 101 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.

[0072] The memory 101, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this disclosure. The processor 100 executes functional applications and data processing by running the program instructions / modules stored in the memory 101, that is, it implements the method for debugging NFC parameters in the above embodiments.

[0073] The memory 101 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 101 may include high-speed random access memory and may also include non-volatile memory.

[0074] This disclosure also provides a system for debugging NFC parameters, including a wearable device and a remote device. The wearable device is equipped with a first means for debugging NFC parameters, which is capable of performing the method for debugging NFC parameters as described above. The remote device is equipped with a second means for debugging NFC parameters, which is also capable of performing the method for debugging NFC parameters as described above. The installation relationship described herein is not limited to placement within the corresponding device, but also includes installation connections with other components of the corresponding device, including but not limited to physical connections, electrical connections, or signal transmission connections. Those skilled in the art will understand that the means 70 for debugging NFC parameters can be adapted to feasible device bodies to achieve other feasible embodiments.

[0075] Optionally, the remote device 20 includes a terminal device 201 or a card reader 202. The terminal device 201 includes an NFC parameter debugging application 2011, which is equipped with a second device for debugging NFC parameters. The card reader 202 is electrically connected to a host computer 203 equipped with an NFC parameter debugging tool 2031, which is also equipped with a second device for debugging NFC parameters.

[0076] Optionally, the wearable device 201 includes an NFC controller 102 and a device host 101. The device host 101 is connected to the NFC controller 102, and the device host 101 interacts with the remote device 20 via a radio frequency front end.

[0077] This disclosure provides a computer-readable storage medium storing computer-executable instructions configured to perform the above-described method for debugging NFC parameters.

[0078] The technical solutions of this disclosure can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes one or more instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in this disclosure. The aforementioned storage medium can be a non-transitory storage medium, such as a USB flash drive, external hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, etc., and other media capable of storing program code.

[0079] The foregoing description and accompanying drawings fully illustrate embodiments of this disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terminology used in this application is for describing embodiments only and is not intended to limit the claims. As used in the description of embodiments and claims, the singular forms “a,” “an,” and “the” are intended to equally include the plural forms unless the context clearly indicates otherwise. Similarly, the term “and / or” as used in this application means including one or more of the associated listed items and all possible combinations thereof. Additionally, when used in this application, the term "comprise" and its variations "comprises" and / or "comprising" refer to the presence of stated features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof. Without further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes said element. In this document, each embodiment may focus on the differences from other embodiments, and similar or identical parts between embodiments can be referred to mutually. For methods, products, etc., disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, the relevant parts can be referred to the description of the method section.

[0080] Those skilled in the art will recognize that the units and algorithm steps of the various examples 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 implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this disclosure. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

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

Claims

1. A method for debugging near field communication (NFC) parameters, characterized in that, Applied to wearable devices, the method includes: In card emulation mode, an NFC connection is established with a remote device that is performing card reading mode; Receive the application selection command sent by the remote device, generate a selection status code based on the application selection command and send it to the remote device so that the remote device can start NFC parameter debugging based on the selection status code; Receive NFC parameter debugging instructions sent by remote devices and perform NFC parameter debugging based on the NFC parameter debugging instructions.

2. The method according to claim 1, characterized in that, The wearable device includes a main unit and an NFC controller; it receives application selection instructions from a remote device, generates a selection status code based on the application selection instructions, and sends it to the remote device, including: The NFC controller receives application selection instructions from remote devices and forwards them to the device host. The device host parses the application selection command to obtain the parsing result; If the parsing result indicates that the NFC parameter management application is selected, the device host generates a selection status code and sends it to the NFC controller. The NFC controller sends a selection status code to the remote device in a contactless manner, enabling the remote device to initiate NFC parameter debugging based on the selection status code.

3. The method according to claim 1, characterized in that, Wearable devices include a main unit; receiving NFC parameter debugging commands sent by remote devices, and performing NFC parameter debugging based on the NFC parameter debugging commands, including: When the NFC parameter debugging command is an NFC parameter update command, the device host updates the NFC parameters based on the NFC parameter update command and obtains the parameter update status code; or... When the NFC parameter debugging command is an NFC parameter read command, the device host reads the NFC parameters based on the NFC parameter read command and obtains the parameter read status code.

4. The method according to claim 3, characterized in that, Wearable devices also include NFC controllers; the methods also include: When the NFC parameter debugging command is an NFC parameter read command, the device host reads the NFC parameters based on the NFC parameter read command and obtains the parameter read status code. Then, the device host forwards the parameter read status code and NFC parameters to the NFC controller. The NFC controller encapsulates NFC parameters and reads the status code of the parameters to obtain the encapsulated data, and then sends the encapsulated data to the remote device in a contactless manner. When the NFC parameter debugging command is the NFC parameter update command, the device host reads the NFC parameters based on the NFC parameter update command and obtains the parameter update status code, and then forwards the parameter update status code to the NFC controller through the device host. The parameter update status code is sent to the remote device in a contactless manner via the NFC controller.

5. The method according to claim 3, characterized in that, Also includes: After updating the NFC parameters based on the NFC parameter update command and obtaining the parameter update status code, the device host sends an RF restart command to achieve the NFC parameter update.

6. A method for debugging NFC parameters, characterized in that, Applied to remote devices, the method includes: In card reader mode, an NFC connection is established with wearable devices that simulate card operation. Send application selection instructions to wearable devices; Receive the selection status code sent by the wearable device, and start NFC parameter debugging based on the selection status code; Send NFC parameter debugging commands to the wearable device so that the wearable device can perform NFC parameter debugging based on the NFC parameter debugging commands.

7. An apparatus for debugging NFC parameters, comprising a processor and a memory storing program instructions, characterized in that, The processor is configured to, when running the program instructions, perform the method for debugging NFC parameters as described in any one of claims 1 to 6.

8. A system for debugging NFC parameters, characterized in that, include: A wearable device equipped with a first means for debugging NFC parameters, the first means for debugging NFC parameters being capable of performing the method for debugging NFC parameters as described in any one of claims 1 to 5; The remote device is equipped with a second means for debugging NFC parameters, which is capable of performing the method for debugging NFC parameters as described in claim 6.

9. The system according to claim 8, characterized in that, Remote devices include: The terminal device includes an NFC parameter debugging application, which is equipped with a second device for debugging NFC parameters; or, The card reader is electrically connected to a host computer that has an NFC parameter debugging tool installed, the NFC parameter debugging tool having a second device for debugging NFC parameters.

10. The system according to claim 8, characterized in that, Wearable devices include: NFC controller; The device host connects to the NFC controller and interacts with remote devices via an RF front-end.