Method for transmitting and receiving data in NFC

RE049278 · 2022-11-01

Assignee

Inventors

Cpc classification

International classification

Abstract

A data transmission/reception method in Near Field Communications (NFC) for enhancing data throughput between at least an initiator device and a target device. The data transmission/reception method typically includes initiating a communication between an initiator and a target that perform NFC, aggregating a plurality of data packet units to be transmitted in order to form an aggregated frame, and transmitting the aggregated frame to a counterpart NFC device.

Claims

.[.1. A data transmission/reception method in Near Field Communications (NFC), the method comprising: (a) initiating a communication between an initiator and a target that perform NFC; (b) aggregating a plurality of data packet units for transmission to form an aggregated frame; and (c) transmitting the aggregated frame to one of the target and the initiator, wherein the aggregated frame comprises an identifier of a frame type indicating whether a data frame included in the aggregated frame comprises an Aggregated Information (AI) frame or an Aggregated Unnumbered Information (AUI) frame, wherein the AI frame comprises a data information field that includes a plurality of sequence numbers associated with transmission of the plurality of data packets and reception thereof and the plurality of aggregated data packets, and the AUI frame comprises a data information field that includes the plurality of aggregated data packets without the plurality of sequence numbers associated with transmission of the plurality of data packets and reception thereof..].

.[.2. The data transmission/reception method of claim 1, wherein the initiation of a communication comprises transmitting and receiving configuration parameters regarding the aggregation of the data packet units..].

.[.3. The data transmission/reception method of claim 1, wherein the initiation of a communication in (a) comprises setting a maximum value for the number of data packet units that can be aggregated..].

.[.4. The data transmission/reception method of claim 3, wherein said maximum value for the number of data packets is set by the initiator..].

.[.5. The data transmission/reception method of claim 3, wherein said maximum value for the number of data packets is set by the target..].

.[.6. The data transmission/reception method of claim 3, wherein said maximum value for the number of data packets is set one of the initiator and the target having the lowest capacity for transceiving data packets..].

.[.7. The data transmission/reception method of claim 1, wherein the aggregated frame includes a Cyclic Redundancy Check (CRC) field having a CRC value calculated for all the data packet units included in the aggregated frame..].

.[.8. The data transmission/reception method of claim 1, wherein the aggregated frame comprises an aggregated header including overheads of the data packet units included in the aggregated frame..].

.[.9. The data transmission/reception method of claim 1, wherein the aggregation of the data packet units and the transmission of the aggregated frame are performed by the initiator that initiates NFC..].

.[.10. The data transmission/reception method of claim 9, wherein the aggregation of the data packet units comprises aggregating data packet units for transmission from a same connection..].

.[.11. The data transmission/reception method of claim 9, wherein the aggregation of the data packet units comprises aggregating data packet units for transmission from different connections..].

.[.12. The data transmission/reception method of claim 1, wherein the aggregation of the data packet units and the transmission of the aggregated frame are performed by the target operating by a Radio Frequency (RF) field generated by the initiator as a power source..].

.[.13. The data transmission/reception method of claim 12, wherein the aggregation of the data packet units comprises aggregating data packet units for transmission from the same connection..].

.[.14. The data transmission/reception method of claim 12, wherein the aggregation of the data packet units comprises aggregating data packet units for transmission from different connections..].

.[.15. The data transmission/reception method of claim 12, further comprising receiving an Information (I) frame from the initiator prior to the aggregation of the data packet units, wherein the aggregated frame is transmitted as a response frame responding to the I frame received from the initiator..].

.[.16. The data transmission/reception method of claim 1, wherein each of the AI frame and the AUI frame comprises a Destination Service Access Point (DSAP) field, a Source Service Access Point (SSAP) field, a control field, and a data information field..].

.[.17. The data transmission/reception method of claim 16, wherein the data information field of the AI frame comprises a transmission sequence number of a first inserted data packet unit..].

.[.18. The data transmission/reception method of claim 17, wherein the data information field of the A1 frame further comprises a value indicating a response sequence number corresponding to a transmission sequence number of a last inserted data packet unit..].

.[.19. The data transmission/reception method of claim 16, wherein each of the AI frame and the AUI frame from the same logical connection comprises plural aggregated data packet units and comprises a length information field indicating a length of each data packet unit in front of each data packet unit..].

.[.20. The data transmission/reception method of claim 16, wherein each of the AI frame and the AUI frame from different logical connections comprises a Logical Link Control Protocol (LLCP) data frame from a corresponding logical connection and comprises a length information field indicating a length of each LLCP data frame in front of each LLCP data frame..].

.Iadd.21. A method for transmitting and receiving a data in Near Field Communication (NFC), the method comprising: initiating a communication between an initiator and a target device via the NFC: aggregating a plurality of data packet units for transmission to form an aggregated frame; and transmitting the aggregated frame to the target device or the initiator without relying on a connection setup procedure, wherein the aggregated frame comprises an identifier of a frame type indicating whether the plurality of data packet units included in the aggregated frame is aggregated, wherein the aggregated frame comprises a Destination Service Access Point (DSAP) field, a Source Service Access Point (SSAP) field, a control field including the identifier of the frame type, and a data information field including a data payload, wherein, when the aggregated frame is an aggregated unnumbered information frame, the aggregated frame comprises the data payload including the plurality of aggregated data packet units without a plurality of sequence numbers associated with transmission of the plurality of data packets and reception thereof, wherein the aggregating includes placing a length information field directly in front of a data packet unit in sequence for each of the plurality of data packet units, the number of length information fields is the same as the number of data packet units, and each of the length information fields alternates with each of the packet data units, and wherein, when the aggregated frame is an aggregated information frame, the aggregated frame comprises a data payload including the plurality of data packet units, and a field for recording a plurality of sequence numbers associated with transmission of the plurality of data packet units and reception thereof. .Iaddend.

.Iadd.22. The method of claim 21, further comprising transmitting and receiving configuration parameters regarding the aggregation of the data packet units in order to initiate the communication between the initiator and the target device. .Iaddend.

.Iadd.23. The method of claim 21, further comprising setting a maximum value for the number of data packet units that can be aggregated in order to initiate the communication between the initiator and the target device via the NFC. .Iaddend.

.Iadd.24. The method of claim 21, wherein the aggregated frame comprises a header including overheads of the data packet units included in the aggregated frame. .Iaddend.

.Iadd.25. The method of claim 21, wherein the aggregation of the data packet units comprises aggregating data packet units for transmission from a same connection. .Iaddend.

.Iadd.26. The method of claim 21, wherein the aggregation of the data packet units comprises aggregating data packet units for transmission from different connections. .Iaddend.

.Iadd.27. The method of claim 21, further comprising: receiving an Information (I) frame from the initiator prior to the aggregation of the data packet units, wherein the aggregated frame is a response frame responding to the I frame received, from one of the target device and the initiator. .Iaddend.

.Iadd.28. The method of claim 24, wherein the header of the aggregated frame does not comprises a sequence field for recording a sequence number associated with transmission of the plurality of data packets and reception thereof. .Iaddend.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) The above and other features and advantages of exemplary embodiments of the present invention will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:

(2) FIG. 1 is a ladder diagram illustrating a data transmission/reception method according to an embodiment of the present invention;

(3) FIG. 2 illustrates the structure of an Aggregated Information (UI) frame generated according to an exemplary embodiment of the present invention;

(4) FIG. 3 illustrates the structure of an Aggregated Unnumbered Information (AUI) frame generated according to an exemplary embodiment of the present invention;

(5) FIG. 4 illustrates the structure of a control field according to an exemplary embodiment of the present invention;

(6) FIG. 5 illustrates the structure of data payloads including data packet units aggregated into data information fields according to an exemplary embodiment of the present invention;

(7) FIG. 6 is a ladder diagram illustrating a data transmission/reception method according to another exemplary embodiment of the present invention; and

(8) FIG. 7 illustrates the structure of data payloads including Logical Link Control Protocol (LLCP) data frames aggregated into data information fields according to another exemplary embodiment of the present invention.

(9) Throughout the drawings, the same drawing reference numerals will be understood to refer to the same elements, features and structures.

DETAILED DESCRIPTION

(10) The matters defined in the description such as a detailed construction and elements are provided to assist a person of ordinary skill in the art with a comprehensive understanding of exemplary embodiments of the invention. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the exemplary embodiments described herein can be made without departing from the scope and spirit of the invention. Known structures and configurations may be omitted when their inclusion may obscure appreciation by a person of ordinary skill in the art of the subject matter of the present invention.

(11) FIG. 1 is a flowchart illustrating an example of data transmission/reception method according to the present invention.

(12) Referring now to FIG. 1, the data transmission/reception method according to this exemplary embodiment of the present invention includes step 100 (not shown) of initiating communication between devices supporting Near Field Communications (NFC), which will hereinafter be referred to as NFC devices.

(13) NFC may be typically performed by data transmission/reception between an initiator and a target. The initiator periodically generates and outputs a Radio Frequency (RF) field including a symmetry (SYMM) frame in step 110. Once the target moves into a region of the RF field, it operates by using an RF signal received from the initiator as a power source to enable the target to respond to the initiator. In step 120, the target load-modulates the RF signal, thereby sending back a response frame that responds to the SYMM frame transmitted in step 110. In this way, a link between the initiator and the target is set up.

(14) Upon setup of the link between the initiator and the target, the initiator and the target can then exchange configuration parameters required for communication through the link in step 130. The configuration parameters may include information about whether the initiator and the target support aggregation of data packet units. The configuration parameters may also include the maximum number of data packet units that can be aggregated.

(15) Still referring to FIG. 1, the data transmission/reception method includes a step of aggregating a plurality of data packet units to be transmitted. As shown in FIG. 2, this step may be one of step 200 for aggregating data packet units to be transmitted from the initiator to the target to form an aggregated frame or step 201 for aggregating data packet units requested to the target by the initiator to form an aggregated frame.

(16) A description will now be made herein below regarding the structure of a data frame generated by the step of aggregating data packet units in order to describe in detail, step 200 and step 201 according to an exemplary embodiment of the present invention.

(17) According to the LLCP specification of NFC, two types of data transmission are used, which are referred to a first transmission type and a second transmission type.

(18) The first transmission type of data transmission comprises a connection-less transmission type that is generally considered less reliable than the second transmission type. An information frame called an Unnumbered Information (UI) frame is used in the first transmission type.

(19) The second transmission type of data-transmission is a connection-oriented and more reliable transmission type that implements flow control. An information frame called an Information (I) frame is used in the second transmission type.

(20) FIG. 2 illustrates the structure of an Aggregated Information (UI) frame generated according to an exemplary embodiment of the present invention, and FIG. 3 illustrates the structure of an Aggregated Unnumbered Information (AUI) frame generated according to another exemplary embodiment of the present invention. Referring to the examples shown in FIGS. 2 and 3, each of the AI frame and the AUI frame of the present invention typically includes a Destination Service Access Point (DSAP) field 10 including an address of a destination, a Source Service Access Point (SSAP) field 20 including an address of a source, a control field 30, and one of a data information field 40 for the AI frame, or a data information field 50 for the AUI frame.

(21) Still referring to FIGS. 2 and 3, each of the DSAP field 10, the SSAP field 20, and the control field 30 has the same size and structure for both the AI frame and the AUI frame. On the other hand, the data information field 40 and the data information field 50 are set differently for the AI frame and the AUI frame.

(22) The data information field 40 of the AI frame illustrated in FIG. 2 typically includes a field 43 for recording plural aggregated data packet units and a field 42 for recording a sequence number of a data packet unit (or a first data packet unit) that is to be first transmitted from among data packet units to be transmitted. The data information field 40 of the AI frame may further include a field 41 for recording a response sequence number that is set to correspond to the sequence number of a last data packet unit.

(23) The response sequence number in field 40 may be set to correspond to a data packet unit (or the last data packet unit) included last among data packet units included in a payload of the data information field 40. The response sequence number may comprise a value increased by one from the sequence number of the previous data packet unit.

(24) For example, it is assumed that the data information field 40 of the AI frame includes 3 aggregated data packet units and the field 42 for recording the sequence number of the first data packet unit is set to 4. The 3 data packet units included in the data information field 40 are sequentially assigned sequence numbers based on the sequence number of the first data packet unit. Thus, in the data information field 40, the sequence number of the last data packet unit may be 6. In the field 41, the response sequence number may be set to 7 that is a value increased by one from the sequence number, i.e., 6, of the last data packet unit. In this way, the present invention makes it is possible to implement accumulative acknowledgement for all data frames in the AI frame and also to efficiently maintain flow control.

(25) The data information field 50 of the AUI frame illustrated in FIG. 4 includes plural aggregated data packet units instead of fields for recording sequence numbers as in FIG. 2.

(26) FIG. 4 illustrates the structure of the control field 30 according to an embodiment of the present invention. Referring to FIG. 4, the control field 30 included in both the AI frame and the AUI frame has a size of 1 byte, in which a command is recorded in 0.sup.th-3.sup.rd bits (indicated by reference numeral 32) and information indicating a frame type is recorded in 5.sup.th and 6.sup.th bits (indicated by reference numeral 31). The information recorded in the 5.sup.th and 6.sup.th bits may be defined in TABLE 1 as follows:

(27) TABLE-US-00001 TABLE 1 Control value Indicating information 00 Supervisory 01 AUI frame 10 AI frame 11 Other

(28) In Table 1, ‘00’ indicates a supervisory signal used to indicate several operation states of circuit combinations or apply changes, ‘01’ indicates that a corresponding frame is an AUI frame, and ‘10’ indicates that a corresponding frame is an AI frame. As such, it can be identified whether a corresponding data frame is an AI frame or an AUI frame by using the 5.sup.th and 6.sup.th bits of the control field 30.

(29) FIG. 5 illustrates the structure of data payloads 43 and 53 including data packet units aggregated into the data information fields 40 and 50 according to an exemplary embodiment of the present invention. In the example in FIG. 5, aggregation of data packet units from the same logical connection will be taken as an example. The same logical connection means the same DSAP-SSAP connection.

(30) Referring to FIG. 5, a data payload according to an exemplary embodiment of the present invention includes plural data packet units 52 to be transmitted through the same connection and a length information field 51 inserted in front of each of the data packet units. The length information field 51 indicates the number of bytes of each data packet unit. Each data packet unit may include optional padding bytes, and the number of bytes of the data packet unit in length information field 51 may indicate the number of bytes including the padding bytes. A Cyclic Redundancy Check (CRC) is calculated and included for all the data packet units and the length information field included in the data payload.

(31) Referring back to FIG. 1, the data transmission/reception method according to the exemplary embodiment of the present invention also includes one of step 300 or 301 of transmitting an aggregated frame generated in step 200 or 201, respectively to a counterpart device.

(32) If the aggregated frame has been generated by the initiator, the initiator transmits the aggregated frame to the target in step 300. On the other hand, if the aggregated frame has been generated by the target, the target transmits the aggregated frame to the initiator as a response frame responding to a request frame transmitted from the initiator in step 301.

(33) In the data transmission/reception method according to the examples disclosed above, aggregation of transmission data from the same connection for explanatory purposes. However, aggregation of transmission data from different connections is within the spirit of the present invention and the scope of the appended claims. The different connections mean, for example, different DSAP-SSAP connections.

(34) FIG. 6 is a flowchart illustrating a data transmission/reception method according to another exemplary embodiment of the present invention. Referring to FIG. 6, data transmission/reception between a plurality of initiators and a single target according to this exemplary embodiment of the present invention is provided by way of example.

(35) FIG. 6 shows that each of first through third initiators 611, 615, 617, periodically outputs an SYMM frame in steps 511, 512, and 513, respectively. Once a target moves into a region of an RF field, the target operates by using an RF signal received from the initiator as a power source. The target 613 load-modulates the RF signal, thereby sending back a response frame responding to the SYMM frame in steps 521, 522, and 523. In this way, a link between each of the first through third initiators and the target is set up.

(36) Upon setup of the communication link, each of the first through third initiators 611, 615, 617 and the target 613 exchange configuration parameters required for communication through the link in steps 531, 532, and 533. The configuration parameters may include information about whether each initiator and the target support aggregation of data packet units. The configuration parameters may also include the maximum number of data packet units that can be aggregated.

(37) Each of the first through third initiators 611, 615, 617 transmits a request frame, e.g., an LLCP data frame, to the target 613 in steps 541, 542, and 543. Upon receipt of the request frames, the target, perceiving the request frames received from the first through third initiators, aggregates data frames requested through the request frames to form an aggregated data frame in step 600.

(38) Still referring to FIG. 6, step 600 of aggregating data frames in the data transmission/reception method according to the current exemplary embodiment of the present invention is similar to step 200 in the data transmission/reception method according to the previous exemplary embodiment of the present invention. However, in the data transmission/reception method according to the current exemplary embodiment of the present invention, LLCP data frames to be transmitted from different connections are aggregated for transmission.

(39) In other words, as disclosed in the above paragraph, a header in the data transmission/reception method according to the current exemplary embodiment of the present invention has a similar structure as that in the data transmission/reception method according to the previous exemplary embodiment of the present invention, and a DSAP field and an SSAP field included in the header according to the current exemplary embodiment of the present invention are set to 0. A data payload generated in step 600 has a structure illustrated in FIG. 7.

(40) Referring to FIG. 7, the data payload according to another exemplary embodiment of the present invention includes a plurality of LLCP data frames transmitted from different logical connections. The plurality of LLCP data frames does not include a header field and a CRC field. The data payload includes a length information field inserted in front of each of the LLCP data frames. The length information field (e.g. LEN 1, LEN 2, etc.) that indicates the number of bytes of each LLCP data frame. Each LLCP data frame may include optional padding bytes, and the number of bytes of the LLCP data frame may indicate the number of bytes including the padding bytes. A CRC may be calculated and included for an aggregated LLCP data frame and the length information field, instead of for each LLCP data frame.

(41) The data transmission/reception method according to another exemplary embodiment of the present invention also includes step 700 of transmitting the aggregated data frame. In step 700, the single initiator may transmit the aggregated data frame including a DSAP field and an SSAP field that are set to 0 to each of the plurality of targets as a response frame.

(42) In another exemplary embodiment of the present invention, communications between the plurality of initiators and the single target are taken as an example, and once the target is requested by the plurality of initiators to transmit data, it aggregates the plurality of LLCP data frames to form an aggregated data frame and transmits the aggregated data frame to each of the initiators as a response. However, the present invention is not limited to this exemplary embodiment of the present invention. For example, communications between a plurality of targets and a single initiator may also be possible. In this case, the single initiator may aggregate LLCP data frames to form an aggregated data frame and transmit the aggregated data frame to each of the plurality of targets.

(43) While the invention has been shown and described with reference to exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention, as defined in part by the appended claims. For example, the counterpart NFC device may be another device other than the target or the initiator device. In addition, a maximum value for the number of data packets can be set by one of the initiator and the target having the lowest capacity for transceiving or processing data packets.