A near-field communication method, device, and computer-readable storage medium
A near-field communication and address storage technology, which is applied in the field of communication, can solve problems such as low data transmission efficiency, prone to abnormal data transmission, and unstable NFC card connection, so as to improve efficiency, realize data communication connection management, and improve stability Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0095] Figure 4 An example flow diagram of a near field communication method provided by an embodiment of the present invention. see Figure 4 , the NFC methods in this example include:
[0096] Step 10: The NFC card reader polls the NFC card ID that is close to the bottom layer to determine whether there is a close NFC card ID. When an NFC card is close to the NFC card reader, save the current close NFC card ID.
[0097] Step 20: Judging whether the ID number of the current close card is the same as the ID number of the current transaction operation card (i.e. the NFC card currently executed by the NFC reader), if it is the same, then perform step 30; if not, then perform step 40;
[0098] Step 30: Polling a small data block of the file in the read-write file queue, and judging whether the read-write file NFC card is interrupted, if interrupted, then re-execute step 10; if not interrupted, then execute step 50;
[0099] Step 40: Determine whether the current business oper...
example 2
[0103] Figure 5 Another example flowchart of the near field communication method provided by the embodiment of the present invention. see Figure 5 , the NFC methods in this example include:
[0104] Step 1: Obtain the card's basic information and input and output streams. Determine whether the storage space is in a standardized format, if not, format the NFC card storage space, including the boot area, storage page area, file description area and file data area; if yes, perform step 2;
[0105] Step 2: Create a card object and a read-write object. The upper layer requests to monitor the read-write file, and sets the upper-layer buffer read-write file list, and then judges whether to perform a read operation or a write operation. If the read operation is performed, perform step 3; perform a write operation , then go to step 7;
[0106] Step 3: Obtain the initial storage page of the file according to the file description;
[0107] Step 4: Read the file data corresponding ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


