WO2006080435A1 - 通信装置、通信方法、およびプログラム - Google Patents

通信装置、通信方法、およびプログラム Download PDF

Info

Publication number
WO2006080435A1
WO2006080435A1 PCT/JP2006/301309 JP2006301309W WO2006080435A1 WO 2006080435 A1 WO2006080435 A1 WO 2006080435A1 JP 2006301309 W JP2006301309 W JP 2006301309W WO 2006080435 A1 WO2006080435 A1 WO 2006080435A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication device
communication
initiator
data
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/JP2006/301309
Other languages
English (en)
French (fr)
Inventor
Yoshihisa Takayama
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to HK08102542.1A priority Critical patent/HK1111828B/xx
Priority to CN200680003635.0A priority patent/CN101112010B/zh
Priority to EP06712475.0A priority patent/EP1845632B1/en
Priority to US11/814,974 priority patent/US8515345B2/en
Publication of WO2006080435A1 publication Critical patent/WO2006080435A1/ja
Anticipated expiration legal-status Critical
Priority to US13/908,689 priority patent/US8874033B2/en
Ceased legal-status Critical Current

Links

Classifications

    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04B—TRANSMISSION
    • H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/40—Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
    • H04B5/48—Transceivers
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04B—TRANSMISSION
    • H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/20—Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by the transmission technique; characterised by the transmission medium
    • H04B5/24—Inductive coupling
    • H04B5/26—Inductive coupling using coils
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04B—TRANSMISSION
    • H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/40—Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
    • H04B5/45—Transponders
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04W—WIRELESS COMMUNICATION NETWORKS
    • H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02—Terminal devices
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04B—TRANSMISSION
    • H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/77—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for interrogation
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04B—TRANSMISSION
    • H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/79—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for data transfer in combination with power transfer
    • H—ELECTRICITY
    • H04—ELECTRIC COMMUNICATION TECHNIQUE
    • H04W—WIRELESS COMMUNICATION NETWORKS
    • H04W8/00—Network data management
    • H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data

Definitions

  • the present invention relates to a communication device, a communication method, and a program.
  • a communication device, a communication method, and a communication device capable of fully exhibiting the capability inherent in a communication device that performs near field communication. And program.
  • an IC (Integrated Circuit) card system As a system that performs proximity communication, for example, an IC (Integrated Circuit) card system is widely known.
  • the reader Z writer In an IC card system, the reader Z writer generates an electromagnetic wave to form a so-called RF (Radio Frequency) field (magnetic field).
  • RF Radio Frequency
  • the IC card When the IC card approaches the reader / writer, the IC card receives power supply by electromagnetic induction and transmits data to and from the reader Z writer.
  • NFCIP (Near Field Communication Interface and Protocol) -1 is an example of a communication protocol for performing near field communication represented by a smart IC card system. NFCIP-1 is also defined as ISO / IEC 18092.
  • NFCIP-1 includes an active mode, which is a communication mode for transmitting data by outputting electromagnetic waves and modulating the electromagnetic waves in each of a plurality of communication devices that transmit and receive data.
  • One of the plurality of communication devices outputs an electromagnetic wave and modulates the electromagnetic wave to transmit data, and the other communication device of the plurality of communication devices includes the one communication device.
  • the passive mode which is a communication mode that transmits data by load-modulating the electromagnetic waves output by the NFCIP-1, is defined between the active mode and the passive mode. Communication is performed in any of the communication modes (see, for example, Patent Document 1 and Non-Patent Document 1).
  • Patent Document 1 JP 2004-215225 A
  • the present invention has been made in view of such a situation, and makes it possible to sufficiently exhibit the inherent capabilities of a communication device that performs near field communication.
  • the communication device of the present invention is a communication device that communicates with another communication device that is a communication partner in accordance with a communication protocol in which one or more commands and one or more responses are defined.
  • Each of a plurality of devices that transmit and receive data outputs an electromagnetic wave, and an active mode that is a communication mode for transmitting data by modulating the electromagnetic wave, and one of the devices outputs an electromagnetic wave.
  • data is transmitted by modulating the electromagnetic wave, and data is transmitted by load-modulating the electromagnetic wave output from one device in the other devices among the plurality of devices.
  • Communication means for performing communication in one of the communication modes of the passive mode, the communication device itself or other communication device has A data group containing one or more information related to one type of capability is generated for each type of capability, and the generated one or more data groups are converted into one or more commands and one or more specified in the communication protocol. It is characterized by comprising control means for controlling to store in a predetermined one of the responses and transmit to another communication device.
  • the communication protocol further defines an attribute that the communication device and other communication devices should or can have, and notifies the communication partner of the attribute as one of one or more commands.
  • at least an attribute command to request is specified, and at least an attribute response to the attribute command is specified as one of one or more commands, and the control means has a type specified as an attribute in the communication protocol.
  • n + 1 different abilities where n is an integer value greater than or equal to 0
  • a data group containing 1 or more information related to the corresponding type of abilities is generated for each n + 1 type.
  • N + 1 days The group of data can be stored in an attribute command or attribute response and controlled to be transmitted to another communication device.
  • Each of the control means has n + 1 types of abilities and a corresponding type of abilities! /
  • Each of the n + 1 types of data groups is generated for each n + 1 type of data group that includes at least information indicating the level that the communication device itself has, can, or can have.
  • a group can be stored in an attribute command and controlled to be transmitted to another communication device.
  • the control means For each of the n + 1 types of capabilities, the control means notifies the communication device itself of the level of the corresponding type of capability that the other communication device has or can have.
  • a data group including at least an instruction to be generated is generated for each n + 1 type, and the generated n + 1 data group is stored in an attribute command and transmitted to another communication device. can do.
  • the communication device For each of the n + 1 types of capabilities, the communication device itself has, or has, the level that the communication device itself has or can have for each of the n + 1 types of capabilities.
  • a data group including at least an instruction to notify the communication device is generated for each n + 1 type, and the generated n + 1 data group is stored in the attribute command and transmitted to the communication device itself.
  • the control unit further performs control to receive the attribute command by the communication device itself, and n + 1 based on an instruction included in each of the n + 1 data groups stored in the received attribute command.
  • a data group including at least information indicating the level of the capability of the corresponding type that the communication device itself has can, or can have.
  • Each generated, n + 1 generated The data group, while stored in the attribute response, it is possible to perform control to transmit to the other communication device.
  • the control means For each of the n + 1 types of capabilities, the control means generates a data group for each of n + 1 types including at least an instruction that another communication device activates the corresponding type of capability.
  • the generated n + 1 data groups can be stored in the attribute command and transmitted to other communication devices.
  • a data group including at least an instruction that the communication apparatus itself performs the data generation is generated for each n + 1 type, and the generated n + 1 data group is stored in the attribute command and stored in the communication apparatus itself.
  • the control means further performs control to receive the attribute command by the communication device itself, and based on an instruction included in each of the n + 1 data groups stored in the received attribute command. Further, the control for performing the activation activity of each of the n + 1 types of abilities is further performed, and at least information indicating the result of the activation activity of the corresponding type of abilities is provided for each of the n + 1 types of abilities.
  • Each of the included data groups is generated for each n + 1 type, and the generated n + 1 data groups are stored in the attribute response and controlled to be transmitted to other communication devices. it can.
  • One of the one or more types of capabilities specified by information included in each of one or more data groups stored in the command or response is an electromagnetic wave output from the communication device or other communication device. The ability to control the power of the.
  • the communication method of the present invention is a communication method of a communication device that communicates with another communication device that is a communication partner in accordance with a communication protocol in which at least one command and at least one response are defined. Therefore, an active mode, which is a communication mode in which an electromagnetic wave is output to each of a plurality of devices that transmit and receive data and data is transmitted by modulating the electromagnetic wave, and one of the plurality of devices. In this device, an electromagnetic wave is output and data is transmitted by modulating the electromagnetic wave. In another device of the plurality of devices, data transmission is performed by load-modulating the electromagnetic wave output by one device.
  • the communication device communicates with another communication device that is a communication partner in accordance with a communication protocol that is defined at least, and includes one or more pieces of information related to one predetermined capability of the communication device itself or another communication device.
  • a group of data is generated for each type of capability, and the generated one or more data groups are stored in a predetermined one of one or more commands and one or more responses specified by the communication protocol. Thus, control for transmission to another communication apparatus is performed.
  • the program of the present invention is a communication mode in which each of a plurality of devices that transmit and receive data outputs an electromagnetic wave and modulates the electromagnetic wave to transmit the data.
  • Active mode and one of a plurality of devices outputs an electromagnetic wave and modulates the electromagnetic wave to transmit data, and in another device of the plurality of devices, one device Communicating in one of the communication modes of the passive mode, which is a communication mode that transmits data by load-modulating the electromagnetic waves output by
  • a data group including one or more pieces of information related to one predetermined type of capability possessed by the communication device itself or another communication device is generated for each type of capability, and the generated one or more data groups are generated using a communication protocol. It is characterized by including a control step of performing control for storing in one of one or more specified commands and one or more responses and transmitting to another communication device.
  • an active mode is a communication mode in which electromagnetic waves are output and data is transmitted by modulating the electromagnetic waves. And out of multiple devices
  • the device 1 outputs electromagnetic waves and modulates the electromagnetic waves to transmit data, and the other devices of the plurality of devices perform load modulation on the electromagnetic waves output by the devices 1
  • Communication is performed in any one of the communication modes of the passive mode, which is a communication mode for transmission, and the communication device and the communication device are in accordance with a communication protocol in which at least one command and at least one response are defined. Then, communication is performed with another communication apparatus that is the communication partner. Specifically, a data group including one or more pieces of information related to one predetermined type of capability of the communication device itself or another communication device is generated for each type of capability, and the generated one or more data The group is stored in a predetermined one of one or more commands and one or more responses specified in the communication protocol, and transmitted to other communication devices.
  • a communication device can perform near field communication with another communication device.
  • FIG. 1 is a diagram showing a configuration example of an embodiment of a communication system to which the present invention is applied.
  • FIG. 2 is a diagram illustrating a passive mode.
  • FIG. 3 is a diagram for explaining an active mode.
  • FIG. 4 is a block diagram showing a configuration example of the NFC communication apparatus 1;
  • FIG. 5 is a timing chart illustrating initial RFCA processing.
  • FIG. 6 is a timing chart illustrating active RFCA processing.
  • FIG. 7 is a diagram for explaining SDD processing.
  • FIG. 8 A list of commands and responses.
  • FIG. 9 is a flowchart for explaining general initialization and SDD performed by the NFC communication device.
  • FIG. 10 is a flowchart for explaining the activation protocol in the passive mode.
  • FIG. 11 is a flowchart for explaining an activation protocol in the active mode.
  • FIG. 12 is a diagram for explaining an example of the structure of a capsule to which the present invention is applied.
  • FIG. 13 is a diagram for explaining the structure of a command ATR_REQ.
  • FIG. 14 is a diagram for explaining the structure of a field BSi of a command ATR_REQ.
  • FIG. 15 A diagram explaining a transmission rate that can be set in the field BS or field BRi of the command ATR_REQ.
  • FIG. 16 is a diagram for explaining the structure of a field PPi of a command ATR_REQ.
  • FIG. 17 is a diagram for explaining information LRi that can be set in bit bit 4 of field PPi of command ATR_REQ.
  • FIG. 18 is another diagram for explaining information LRi that can be set in bit bit 4 of field PPi of command ATR_REQ.
  • FIG. 19 is a diagram for explaining the structure of a response ATR_RES.
  • FIG. 20 is a flowchart for explaining an ATR_REQ transmission process on the initiator side.
  • FIG. 21 is a flowchart for explaining ATR_REQ reception processing on the target side.
  • FIG. 22 is a flowchart for explaining the ATR_RES reception process on the initiator side. Explanation of symbols
  • FIG. 1 shows a communication system to which the present invention is applied (a system is a system in which a plurality of devices are logically coupled, and whether or not each component device is in the same casing). Show the example of the configuration of the embodiment! / Speak.
  • the communication system is also configured with three NFC communication devices 1, 2, and 3.
  • Each of NFC communication devices 1 to 3 can perform near field communication (NFC (Near Field Communication)) by electromagnetic induction using a single frequency carrier wave with other NFC communication devices. Talk!
  • NFC Near Field Communication
  • the carrier frequency used by the NFC communication apparatuses 1 to 3 for example, 13.56 MHz of ISM (Industrial Scientific Medical) band can be employed.
  • proximity communication means communication that enables a distance between communicating devices to be within several tens of centimeters, and includes communication that is performed when the communicating devices (the casing) are in contact with each other. .
  • the communication system of FIG. 1 can be employed as an IC card system in which one or more of the NFC communication devices 1 to 3 is a reader Z writer and the other one or more is an IC card.
  • each of the NFC communication devices 1 to 3 can be employed as a communication system such as a PDA (Personal Digital Assistant), a PC (Personal Computer), a mobile phone, a wristwatch, or a pen.
  • the NFC communication devices 1 to 3 are devices that perform near field communication, and are not limited to the IC card or the reader Z writer of the IC card system.
  • the NFC communication devices 1 to 3 can communicate in two communication modes.
  • the two communication modes are a noisy mode and an active mode.
  • NFC communication devices 1 and 2 for example, NFC communication devices 1 to 3, passive mode.
  • one of the NFC communication devices 1 and 2 is an NFC communication device, for example, the NFC communication device 1 generates an electromagnetic wave (corresponding to a carrier wave) generated by itself.
  • the data is transmitted to the NFC communication device 2 which is the other NFC communication device, and the NFC communication device 2 performs load modulation on the electromagnetic wave (corresponding carrier wave) generated by the NFC communication device 1.
  • the NFC communication device 2 performs load modulation on the electromagnetic wave (corresponding carrier wave) generated by the NFC communication device 1.
  • data is transmitted to the NFC communication device 1.
  • both NFC communication apparatuses 1 and 2 transmit data by modulating the electromagnetic wave (corresponding carrier wave) generated by itself.
  • a device that first outputs an electromagnetic wave to start communication, and so to speak is called an initiator.
  • the initiator sends a command to the communication partner, and the communication partner returns a response to the command, and the communication partner that returns a response to the command from the initiator is called a target.
  • NFC communication device 1 starts outputting electromagnetic waves and starts communication with NFC communication device 2, for example, as shown in FIGS. 2 and 3, NFC communication device 1 is an initiator. NFC communication device 2 is the target.
  • the NFC communication device 1 that is an initiator continues to output electromagnetic waves, and the NFC communication device 1 modulates the electromagnetic waves output by itself, thereby
  • the NFC communication device 2 transmits data to the NFC communication device 1 by load-modulating the electromagnetic wave output from the NFC communication device 1 that is the initiator. .
  • the NFC communication device 1 when the NFC communication device 1 that is the initiator transmits data, the NFC communication device 1 starts output of the electromagnetic wave by itself and modulates the electromagnetic wave. The data is transmitted to the target NFC communication device 2. Then, the NFC communication device 1 stops the output of the electromagnetic wave after the data transmission is completed.
  • the target NFC communication device 2 also transmits data, the NFC communication device 2 starts output of electromagnetic waves by itself and modulates the electromagnetic waves to transmit data to the target NFC communication device 2. Then, the NFC communication device 2 stops the output of the electromagnetic wave after the data transmission is completed.
  • FIG. 3 when the NFC communication device 1 that is the initiator transmits data, the NFC communication device 1 starts output of the electromagnetic wave by itself and modulates the electromagnetic wave. The data is transmitted to the target NFC communication device 2. Then, the NFC communication device 2 stops the output of the electromagnetic wave after the data transmission is completed.
  • the communication system is configured by three NFC communication apparatuses 1 to 3, but the number of NFC communication apparatuses that constitute the communication system is not limited to three. It may be above.
  • the communication system can be configured to include, for example, an IC card or a reader Z writer that constitutes a conventional IC card system.
  • FIG. 4 shows a configuration example of the NFC communication apparatus 1 in FIG.
  • the other NFC communication devices 2 and 3 in FIG. 1 are also configured in the same manner as the NFC communication device 1 in FIG.
  • the antenna 11 constitutes a closed loop coil, and outputs an electromagnetic wave when the current flowing through the coil changes.
  • a current flows through the antenna 11 as the magnetic flux passing through the coil as the antenna 11 changes.
  • the receiving unit 12 receives the current flowing through the antenna 11, performs tuning and detection, and outputs the current to the demodulating unit 13.
  • the demodulator 13 demodulates the signal supplied from the receiver 12 and supplies it to the decoder 14.
  • the decoding unit 14 decodes, for example, a Manchester code as a signal supplied from the demodulation unit 13, and supplies data obtained as a result of the decoding to the data processing unit 15.
  • the data processing unit 15 performs a predetermined process based on the data supplied from the decoding unit 14. Further, the data processing unit 15 supplies data to be transmitted to another device to the encoding unit 16.
  • the encoding unit 16 encodes the data supplied from the data processing unit 15 into, for example, a Manchester code, and supplies the encoded data to the selection unit 17.
  • the selection unit 17 selects either the modulation unit 19 or the load modulation unit 20 and outputs a signal supplied from the encoding unit 16 to the selected one.
  • the selection unit 17 selects the modulation unit 19 or the load modulation unit 20 according to the control of the control unit 21.
  • the control unit 21 causes the selection unit 17 to select the load modulation unit 20.
  • the control unit 21 controls the selection unit 17 when the communication mode is the active mode, or when the communication mode is the passive mode and the NFC communication device 1 is the initiator.
  • the modulation unit 19 is selected. Therefore, the signal output from the encoding unit 16 is supplied to the load modulation unit 20 via the selection unit 17 in the case where the communication mode is the passive mode and the NFC communication device 1 is the target. In other cases, the signal is supplied to the modulation unit 19 via the selection unit 17.
  • the electromagnetic wave output unit 18 allows the antenna 11 to pass a current for radiating a carrier wave (having its electromagnetic wave) having a predetermined single frequency from the antenna 11.
  • the modulation unit 19 modulates a carrier wave as a current that the electromagnetic wave output unit 18 passes through the antenna 11 according to a signal supplied from the selection unit 17.
  • the antenna 11 emits an electromagnetic wave in which the carrier wave is modulated in accordance with the data output from the data processing unit 15 to the encoding unit 16.
  • the load modulation unit 20 changes the impedance when the coil as the antenna 11 is viewed from the outside according to the signal supplied from the selection unit 17.
  • an RF field electromagnetic field
  • the impedance when the coil as the antenna 11 is viewed changes.
  • the RF field around 11 also changes.
  • the carrier wave as the electromagnetic wave output from another device is modulated (load modulation) according to the signal supplied from the selection unit 17, and the data output from the data processing unit 15 to the encoding unit 16 is converted into the electromagnetic wave. Is sent to other devices.
  • amplitude modulation (ASK (Amplitude Shift Keying)) can be adopted as a modulation method in the modulation unit 19 and the load modulation unit 20.
  • the modulation method in the modulation unit 19 and the load modulation unit 20 is not limited to ASK, and may employ PSK (Phase Shift Keying), QAM (Quadrature Amplitude Modulation), and the like.
  • the amplitude modulation degree is not limited to a numerical value such as 8% to 30%, 50%, and 100%, but a suitable one can be selected.
  • the control unit 21 controls each block constituting the NFC communication device 1. That is, the control unit 21 includes, for example, a CPU (Central Processing Unit) 21A, an EEPROM (Electrically and Erasable Programmable Read Only Memory) 21B, and other RAM (Random Access Memory) (not shown).
  • the CPU 21A executes the program stored in the EEPROM 21B, thereby controlling each block constituting the NFC communication device 1 and other various types. Perform the process.
  • the EEPROM 21B stores programs to be executed by the CPU 21A and data necessary for the operation of the CPU 21A.
  • a series of processing performed by the CPU 21A executing a program can be performed by using dedicated hardware instead of the CPU 21A.
  • the programs to be executed by CPU21A are preinstalled in EEPROM21B, flexible disks, CD-ROM (Compact Disc Read Only Memory), MO (Magneto Optical) disks, DVDs (Digital Versatile Discs), magnetic disks. It can be stored (recorded) temporarily or permanently in a removable recording medium such as a semiconductor memory and provided as so-called packaged software.
  • the program can be transmitted to the NFC communication device 1 by proximity communication and installed in the EEPROM 21B.
  • the power supply unit 22 supplies necessary power to each block constituting the NFC communication apparatus 1.
  • FIG. 4 the line indicating that the control unit 21 controls each block constituting the NFC communication device 1 and the power supply unit 22 supplies power to each block constituting the NFC communication device 1 are shown. Illustration of a line representing this is omitted because the figure becomes complicated.
  • the power source unit 22 may include a battery (battery), or may not include a battery and the current that flows through the antenna 11 may obtain power as a power source.
  • the NFC communication device 1 operates only as a passive mode target.
  • the decoding unit 14 and the encoding unit 16 are configured to process the Manchester code.
  • a modified mirror is required. It is also possible to select one of multiple codes such as NRZ (Non Return to Zero) for processing.
  • any of the NFC communication devices 1 to 3 can be an initiator that first outputs an electromagnetic wave and starts communication. Further, in the active mode, the NFC communication devices 1 to 3 output electromagnetic waves by themselves regardless of whether they are the initiator or the target.
  • each of the NFC communication devices 1 to 3 detects whether or not there is an electromagnetic wave (due to an RF field) from another device, and starts output of the electromagnetic wave only when the electromagnetic wave does not exist. Thus, collision is prevented.
  • the RFCA RF Collision Avoidance
  • the RFCA process includes an initial RFCA process initially performed by the NFC communication device (in FIG. 1, one or more of the NFC communication devices 1 to 3) that is going to be an initiator and a communication in the active mode.
  • the initial RFCA process and the response RFCA process differ in the time from when the presence of electromagnetic waves by other devices is not detected until the timing at which electromagnetic wave output must be started.
  • FIG. 5 shows an electromagnetic wave whose output is started by the initial RFCA process.
  • the horizontal axis represents time
  • the vertical axis represents the level of electromagnetic waves output from the NFC communication device.
  • the NFC communication device that intends to become an initiator always detects electromagnetic waves by other devices, and is continuously detected by the electromagnetic force time T + n XT by other devices.
  • ⁇ ⁇ ⁇ ⁇ at time T + n XT is called initial delay time
  • n is an integer between 0 and 3, and is generated using a random number. T is called RF latency
  • Time T is called the initial guard time, for example
  • NFC communication device power When the output of electromagnetic waves is started by initial RFCA processing, the FC communication device becomes an initiator force. At that time, when the active mode is set as the communication mode, the FC communication device becomes the initiator. The NFC communication device stops the output of electromagnetic waves after it finishes sending its own data. On the other hand, when the passive mode is set as the communication mode, the NFC communication device that became the initiator continues the output of the electromagnetic wave started by the initial RFCA process until the communication with the target is completely completed.
  • FIG. 6 shows an electromagnetic wave whose output is started by response RFCA processing.
  • the NFC communication device that attempts to output electromagnetic waves in the active mode detects the electromagnetic waves by other devices and continues for the electromagnetic force time T + n XT by the other devices.
  • Is called the active guard time, and for example, a value larger than 1024 / f is adopted.
  • the initial delay time T is larger than 4096 / f, whereas the active delay time T
  • the delay time T is between 768 / f and 2559Zf.
  • the electromagnetic wave When trying to become an initiator, it is necessary for the electromagnetic wave to be absent for a longer time than when trying to output the electromagnetic wave during communication in the active mode. Reverse In other words, when an NFC communication device tries to output an electromagnetic wave during communication in active mode, the electromagnetic wave does not exist much longer than when trying to become an initiator. It must output electromagnetic waves. This is due to the following reasons.
  • any NFC communication device may stop the output of electromagnetic waves. For this reason, when an NFC communication device tries to become an initiator, the NFC communication device that is going to become an initiator to confirm that active mode communication should be performed around the NFC communication device. Other devices output electromagnetic waves around the! It is necessary to confirm that there is enough time.
  • the initiator outputs electromagnetic waves to transmit data to the target.
  • the target transmits data to the initiator by starting the output of the electromagnetic wave after the initiator stops the output of the electromagnetic wave. Then, after the target stops outputting the electromagnetic wave, the initiator sends the data to the initiator by starting the output of the electromagnetic wave, and thereafter, the data is exchanged between the initiator and the target in the same manner. .
  • the electromagnetic wave must be output after a short period of time after the electromagnetic wave does not exist.
  • the NFC communication apparatus that intends to become an initiator starts output of electromagnetic waves by the initial RFCA process, and then transmits data.
  • An NFC communication device that wants to become an initiator becomes an initiator by starting output of electromagnetic waves, and an NFC communication device that is in a position close to the initiator becomes a target, but the initiator exchanges data with the target. In order to do this, you must identify the target that exchanges the data.
  • the initiator uses, for example, a random number as information for identifying each target with respect to one or more targets that are close to the initiator.
  • NFCID NFC Identification
  • the target that exists in the vicinity of the initiator sends an NFCID that identifies itself to the initiator.
  • the initiator identifies the target by the NFCID transmitted from the target as described above, and exchanges data with the identified target.
  • the initiator sends a command (request) ATR_REQ, which will be described later, including the NFCID that identifies itself, and responds to the ATR_REQ with a target force command ATR_REQ, which will be described later ATR_RES Is returned (transmitted) including the NFCID that identifies itself, so that the initiator and the target recognize each other's NFCID and identify each other.
  • the initiator performs a process called SDD (Single Device Detection) process to identify the target existing in the vicinity (close position) by the NFCID.
  • SDD Single Device Detection
  • the initiator requests the NFCID of the target. This request is made when the initiator transmits a frame called a polling request frame.
  • the target receives a polling request frame, for example, it determines its NFCID by a random number and transmits a frame called a polling response frame in which the NFCID is arranged.
  • the initiator recognizes the target NFCID by receiving the polling response frame sent from the target.
  • the initiator when the initiator requests the NFCID for the surrounding targets, if there are multiple targets around the initiator, two or more of the multiple targets can be NFCID may be sent. In this case, NFCIDs transmitted from the two or more targets collide, and the initiator cannot recognize the collided NFCID.
  • the SDD process is performed by a method using a time slot, for example, in order to avoid NFCID collision.
  • FIG. 7 shows a sequence of SDD processing performed by a method using time slots.
  • five targets # 1, # 2, # 3, # 4, and # 5 exist around the initiator.
  • the ability of the initiator to transmit a polling request frame After completion of the transmission, a time slot having a width of a predetermined time T is provided only for a predetermined time T.
  • the time T is, for example, 512 X 64 / f, and is the time as the time slot width.
  • T is, for example, 256 X 64 / f.
  • the time slot is, for example, the most s c in time
  • FIG. 7 shows four time slots # 0, # 1, # 2, and # 3, but it is possible to provide up to 16 time slots, for example.
  • the number of time slots provided for a given polling request frame is specified by the initiator, included in the polling request frame, and sent to the target.
  • the target receives the polling request frame transmitted from the initiator, and recognizes the number of time slots TSN arranged in the polling request frame. Furthermore, the target generates an integer R in the range of 0 or more and TSN-1 by random numbers, and transmits a polling response frame in which its NFCID is arranged at the timing of time slot #R specified by the integer R.
  • the target determines the time slot as the timing for transmitting the polling response frame by using a random number. As a result, the timing at which the response frames are transmitted varies, so that collision between polling response frames transmitted by multiple targets can be avoided.
  • the initiator cannot normally receive the polling response frames of targets # 1 and # 3 in which collision occurs. Therefore, the initiator transmits a polling request frame again, and thereby requests the targets # 1 and # 3 to transmit a polling response frame in which the respective NFCIDs are arranged. Thereafter, until the initiator can recognize all the NFCIDs of the targets # 1 to # 5 around it, the initiator transmits the polling request frame and the target transmits the polling response frame repeatedly.
  • the polling response frames may collide again. . Therefore, in the target, if the polling request frame is received again in a short time after receiving the initiator power polling request frame, for example, the polling request may be ignored. it can. However, in this case, in the embodiment shown in FIG. 7, for targets # 1 and # 3 that cause a polling response collision with respect to the polling request frame transmitted first, the initiator # 1 And # 3 cannot recognize the NFCID of # 3, so target # 1 You will not be able to exchange data with # 3.
  • the initiators # 2, # 4, and # 5 that have successfully received the polling response frame and recognized the NFCI D are temporarily removed from the communication target (deselected state).
  • the polling response frame is returned because of the strong target that cannot recognize the NFCID by sending the first polling request frame. Only 1 and # 3. Therefore, in this case, it is possible to recognize all NFCIDs of targets # 1 to # 5 while reducing the possibility of collision between polling response frames.
  • the target when the target receives the polling request frame, the target determines (generates) its NFCID with a random number. For this reason, the same NFCID may be placed in the polling response frame from different targets and sent to the initiator.
  • the polling request is sent to the identifier, for example, in the same manner as when polling response frames cause a collision. The frame can be sent again.
  • the NFC communication device uses the IC card reader / writer Z writer that constitutes the existing IC card system, the transmission that is adopted by the IC card / reader Z writer. You can exchange data at a rate. If the target is an IC card of an existing card system, for example, the SDD process is performed as follows, for example
  • the initiator starts the output of electromagnetic waves by the initial RFCA process, and the IC card as the target obtains a power source from the electromagnetic wave card and starts the process.
  • the target is an IC card of an existing IC card system, a power source for operation is generated from the electromagnetic wave output from the initiator.
  • the target Once the target has obtained power and is in an operable state, it prepares to receive a polling request frame, for example, within 2 seconds at the longest. Wait for a request frame to be sent.
  • the initiator can transmit a polling request frame regardless of whether the target is ready to receive the polling request frame.
  • the target When receiving the polling request frame from the initiator, the target transmits a polling response frame to the initiator at the timing of a predetermined time slot as described above.
  • the initiator can normally receive the polling response frame from the target, the initiator recognizes the NFCID of the target as described above. On the other hand, if the initiator cannot successfully receive the polling response frame from the target, it can send the polling request frame again.
  • the target is an IC card of an existing IC card system
  • a power source for operation is generated from the electromagnetic wave output from the initiator.
  • the initiator continues the electromagnetic wave output started by the initial RFCA process until the communication with the target is completely completed.
  • communication is performed by the initiator transmitting a command to the target and transmitting (returning) a response to the command of the target power / initiator power.
  • FIG. 8 shows a command transmitted from the initiator to the target and a response transmitted from the target to the cieter.
  • the character with REQ after the underbar ⁇ indicates a command
  • the character with RES after the underbar ⁇ indicates a response.
  • six types of commands are prepared, and the response to the command is the same as the command.
  • ATR—RES, WUP—RES, PSL—RES, DEP—RES, DSL—RES, and RL S_RES are available.
  • the initiator sends a command (request) to the target, and the target sends a response corresponding to the command to the requestor
  • the command is sent by the initiator, and the response is sent to the target. Sent by get.
  • the command ATR_REQ is transmitted to the target when the initiator informs the target of its own attribute (specification) and requests the target attribute.
  • the initiator or target attributes include the transmission rate of data that can be transmitted and received by the initiator or target.
  • the command ATR_REQ includes an NFCID that identifies the initiator, and the target recognizes the initiator attribute and the NFCID by receiving the command ATR_REQ.
  • the response ATR_RES is transmitted to the initiator as a response to the command ATR_REQ when the target receives the command ATR_REQ.
  • Response ATR_RES contains the target attributes and NFCID.
  • the transmission rate information as attributes arranged in the command ATR_REQ and the response ATR_RES can include all transmission rates of data that can be transmitted and received by the initiator and the target.
  • the initiator can recognize the transmission rate at which the target can be transmitted and received only by exchanging the command ATR_REQ and the response ATR_RES once between the initiator and the target.
  • the transmission rate at which transmission and reception can be performed can be recognized.
  • the command WUP_REQ is transmitted when the initiator selects a target for communication.
  • the target can be placed in a deselect state (a state in which data transmission to the initiator (response) is prohibited).
  • WUP_REQ is sent when the deselect state is cleared and the target is ready to send data to the initiator.
  • the target NFCID for solving the deselect state is placed in the command WUP_REQ, and among the targets that have received the command WUP_REQ, the target specified by the NFCID placed in the command WUP_REQ is in the deselected state. Unravel your state.
  • the response WUP_RES indicates that the target specified by the NFCID placed in the command WUP_REQ among the targets that received the command WUP_REQ is deselected. Sent as a response to the command WUP_REQ when the status is solved.
  • command WUP_REQ is transmitted only when the initiator is in the active mode
  • response WUP_RES is transmitted only when the target is in the active mode
  • the command PSL_REQ is transmitted when the initiator changes communication parameters related to communication with the target.
  • the communication parameters include, for example, the transmission rate of data exchanged between the initiator and the target.
  • the communication parameter value after the change is placed in the command PSL_REQ, and is sent from the initiator to the target.
  • the target receives the command PSL_REQ and changes the communication parameter according to the value of the communication parameter placed there.
  • the target sends a response PSL_RES to the command PSL_REQ.
  • the command DEP_REQ is transmitted when the initiator transmits / receives data (so-called actual data) (data exchange with the target), and data to be transmitted to the target is arranged there.
  • the response DEP_RES is transmitted as a response to the command DEP_REQ by the target, and data to be transmitted to the initiator is arranged there. Therefore, data is transmitted from the initiator to the target by the command DEP_REQ, and data is transmitted from the target to the initiator by the response DEP_RES to the command DEP_REQ.
  • the command DSL_REQ is transmitted when the initiator sets the target to the deselected state.
  • the target that has received the command DSL_REQ sends a response DSL_RES to the command DSL_REQ and enters the deselect state. After that, it does not respond to commands other than the command WUP_REQ (no response is returned).
  • the command RLS_REQ is transmitted when the initiator completely ends the communication with the target.
  • the target that has received the command RLS_REQ sends a response RLS_RES to the command RLS_REQ and completes the communication with the initiator completely.
  • both the commands DSL_REQ and RLS_REQ are common in that the target is also released from the target power of communication with the initiator.
  • the target released by the command DSL_REQ becomes communicable with the initiator again by the command WUP_REQ.
  • the target released by the command RLS_REQ is the first by the initiator. Period RFCA processing power Unless processing is performed again, communication with the initiator is not possible.
  • the commands DSL_REQ and RLS_REQ are different.
  • FIG. 9 is a flowchart for explaining an outline of communication processing according to NFCIP-1.
  • step S1 the NFC communication apparatus serving as an initiator performs initial RFC A processing, and proceeds to step S2.
  • step S2 the NFC communication device serving as an initiator determines whether or not an RF field has been detected by the initial RFCA processing in step S1. If it is determined in step S2 that the RF field has been detected, the process returns to step S1, and the same processing is repeated thereafter. That is, while the NFC communication device that is the initiator detects the RF field, the NFC communication device that forms the RF field must not interfere with communication by other NFC communication devices that form the RF field. ,.
  • step S2 if it is determined in step S2 that the RF field has not been detected, the NFC communication apparatus selects one of the active mode and the passive mode, and proceeds to step S3.
  • the NFC communication device becomes an initiator and selects the transmission rate.
  • NFCIP-1 for example, it is possible to select a transmission rate used for actual communication from a plurality of transmission rates such as 106 kbps, 212 kbps, and 424 kbps. Therefore, in step S3, the NFC communication apparatus that has become the initiator selects a transmission rate.
  • step S2 when performing the communication in the noisy mode, the process proceeds from step S2 to step S3-1 of steps S3-1 and S3-2 constituting step S3.
  • step S3-1 change the communication mode to passive mode and select the transmission rate.
  • step S3-1 the NFC communication device that has become the initiator performs predetermined initialization processing and SDD processing !, and step S4 of steps S4-1 and S4-2 that constitute step S4. — Proceed to 1.
  • step S4-1 the NFC communication device is activated (activated) in the noisy mode, and exchanges the command ATR_REQ and the response A TR_RES with the target in the passive mode. Proceed to 5.
  • step S2 when performing active mode communication, the process proceeds from step S2 to step S3-2 of steps S3-1 and S3-2 that constitute step S3.
  • the NFC communication apparatus communicates with the emulator.
  • the communication mode is shifted to the active mode, the transmission rate is selected, and the process proceeds to step S4-2 in steps S4-1 and S4-2 that constitute step S4.
  • step S4-2 the NFC communication apparatus is activated in the active mode, exchanges a command ATR_REQ and a response ATR_RES with the target, and proceeds to step S5.
  • step S5 the NFC communication device selects the communication parameter required for communication (for example, the transmission rate), and if the current communication parameter power needs to be changed, selects the communication parameter. Then, exchange the command PSL_REQ and response PSL_RES with the communication parameters, etc. with the target, change the communication parameters, and proceed to step S6
  • step S6 the NFC communication device exchanges a command DEP_REQ and a response DEP_RES with the target according to the communication parameters selected in step S5, and exchanges data (communication using the data exchange protocol). ), And after completing the data exchange, proceed to step S7.
  • step S7 the NFC communication device exchanges the command DSL_REQ and response DSL_RES or the command RSL_REQ and response RSL_RES with the target, deactivates them, and ends the transaction.
  • the NFC communication device can be set to be a target by default, for example, and the NFC communication device set as the target does not form an RF field, and commands from the initiator It is in a waiting state until is sent (until the initiator forms an RF field).
  • the NFC communication apparatus can become an initiator in response to a request for application power, for example. Furthermore, for example, the application selects (determines) the transmission rate and the power to change the communication mode to either active mode or passive mode. be able to.
  • the NFC communication apparatus that becomes the initiator forms the RF field, and the target is activated by the RF field formed by the initiator.
  • the initiator transmits a command in the selected communication mode and transmission rate, and the target returns (sends) a response in the same communication mode and transmission rate as the initiator.
  • step S11 the initiator performs initial RFCA processing, proceeds to step S12, and sets the communication mode to the passive mode.
  • step S 13 the initiator performs initialization processing and SDD processing, and selects a transmission rate.
  • step S11 corresponds to the process of steps S1 and S2 in FIG. 9
  • step S12 and S13 corresponds to the process of step S3 (S3-1) in FIG.
  • the process proceeds to step S14, where the initiator determines whether to request an attribute from the target.
  • the attribute is information on the specification of the NFC communication apparatus, and includes, for example, information on a transmission rate that can be supported by the NFC communication apparatus.
  • step S14 If it is determined in step S14 that no attribute is requested from the target,
  • the initiator performs communication with the target in accordance with the original protocol, returns to step S14, and thereafter repeats the same processing.
  • step S14 If it is determined in step S14 that an attribute is requested from the target, the process proceeds to step S16, and the initiator transmits a command ATR_REQ, from which the attribute is requested to the target. Then, the initiator waits for the response ATR_RES to the command ATR_REQ to be transmitted from the target, proceeds to step S17, receives the response ATR_RES, and proceeds to step S18.
  • step S18 the initiator determines whether the communication parameter, that is, for example, the transmission rate can be changed based on the response ATR_RES received from the target in step S17. If it is determined in step S18 that the transmission rate cannot be changed, steps S19 to S21 are skipped and the process proceeds to step S22.
  • the communication parameter that is, for example, the transmission rate can be changed based on the response ATR_RES received from the target in step S17. If it is determined in step S18 that the transmission rate cannot be changed, steps S19 to S21 are skipped and the process proceeds to step S22.
  • step S18 If it is determined in step S18 that the transmission rate can be changed, the process proceeds to step S19, and the initiator transmits the command PSL_REQ, thereby requesting the target to change the transmission rate. To do. Then, the initiator waits for the response PSL_RES to the command PSL_REQ to be transmitted from the target, proceeds from step S19 to S20, receives the response PSL_RES, and proceeds to step S21. In step S21, the initiator changes the force applied to the response PSL_RES received in step S20, the communication parameter, for example, the transmission rate, and proceeds to step S22.
  • the communication parameter for example, the transmission rate
  • steps S18 to S21 corresponds to the processing of step S5 of FIG.
  • step S22 the initiator exchanges data with the target, that is, exchanges the command DEP_REQ and the response DEP_RES with the power S set as the data exchange protocol.
  • step S22 corresponds to the process of step S6 of FIG.
  • step S22 After data conversion is performed in step S22, the initiator proceeds to step S23 or step S25 as necessary.
  • step S22 when the initiator sets the target to the deselected state, the process proceeds from step S22 to S23 and transmits the command DSL_REQ. Then, the initiator waits for the response DSL_RES to the command DSL_R EQ to be transmitted from the target, proceeds to step S23 force S24, receives the response DSL_RES, returns to step S14, and repeats the same processing below. .
  • the initiator proceeds from step S22 to S25 and transmits a command RLS_REQ. Then, the initiator waits for the response RLS_RES to the command RLS_REQ to be transmitted from the target, proceeds to steps S25 and S26, receives the response RLS-RES, returns to step S11, and so on. Repeat the same process.
  • steps S23 and S24 and the processing in steps S25 and S26 are the same as those in FIG. Corresponds to the processing of S7.
  • step S31 the initiator performs an initial RFCA process, proceeds to step S32, sets the communication mode to the active mode, and selects the transmission rate.
  • step S31 corresponds to the process of steps S1 and S2 in FIG. 9, and the process of step S32 corresponds to the process of step S3 (S3-2).
  • steps S33 to S39 the same processing as in steps S16 to S22 of Fig. 10 is performed.
  • step S33 the initiator transmits a command ATR_REQ, thereby requesting an attribute from the target. Then, the initiator waits for the response ATR_RES to the command ATR_REQ sent from the target, proceeds to step S34, receives the response ATR_RES, and proceeds to step S35.
  • step S35 the initiator determines whether or not the communication parameter, for example, the transmission rate can be changed, based on the response ATR_RES received from the target in step S34. If it is determined in step S35 that the transmission rate cannot be changed, steps S36 to S38 are skipped and the process proceeds to step S39.
  • the communication parameter for example, the transmission rate can be changed
  • step S35 If it is determined in step S35 that the transmission rate can be changed, the process proceeds to step S36, and the initiator transmits the command PSL_REQ, thereby requesting the target to change the transmission rate. To do. Then, the initiator waits for the response PSL_RES to the command PSL_REQ to be transmitted from the target, proceeds from step S36 to S37, receives the response PSL_RES, and proceeds to step S38. In step S38, the initiator changes the force applied to the response PSL_RES received in step S37, the communication parameter, for example, the transmission rate, and proceeds to step S39.
  • the communication parameter for example, the transmission rate
  • step S39 the initiator exchanges data with the data exchange protocol and the target, that is, exchanges the command DEP_REQ and the response DEP_RES.
  • steps S33 and S34 corresponds to the processing in step S4 (S4-2) in FIG. 9, and the processing in steps S35 to S38 corresponds to the processing in step S5 in FIG. Also, the process of step S39 corresponds to the process of step S6 in FIG.
  • step S39 After the data conversion in step S39, the process proceeds to step S40 or S44 as necessary.
  • the initiator when the initiator sets the target that is currently communicating to the deselected state and wakes up one of the targets that are already in the deselected state, the initiator performs steps S39 and S40. Proceed and send the command DSL_REQ to the target to be deselected. Then, the initiator waits for the response DSL_RES to the command DSL_REQ to be transmitted from the target, proceeds to step S40 / S41, and receives the response DSL_RES.
  • the target that sent the response DSL_RES is in the deselected state.
  • step S41 the initiator transmits a command WUP_REQ to the target to be woken up.
  • the initiator waits for the response WUP_RES to the command WUP_REQ to be transmitted from the target, proceeds to step S42, step S43, receives the response WUP_RES, and returns to step S35.
  • the target that has sent the response WUP_RES wakes up, and the wake-up target becomes the target of processing subsequent to step S35 performed by the initiator.
  • the initiator proceeds from step S39 to S44 and transmits a command RLS_REQ. Then, the initiator waits for the response RLS_RES to the command RLS_REQ to be transmitted from the target, proceeds to steps S44 and S45, receives the response RLS-RES, returns to step S31, and so on. Similar processing is repeated.
  • steps S40 to S43 and the processing of steps S44 and S45 correspond to the processing of step S7 in Fig. 9.
  • the present inventor creates a data group including one or more pieces of information related to a predetermined one type of capability possessed by the predetermined NFC communication device itself or the communication partner for each type of capability. And invented a method of storing one or more data groups in a predetermined command or a predetermined response and transmitting them to a communication partner's NFC communication device.
  • a structure (data group) configured by arranging fields related to a predetermined type of capability in a predetermined order is referred to as a capsule.
  • predetermined information is described” for one predetermined field among one or more fields constituting a predetermined structure including a capsule, “predetermined information is Called “set”. That is, in this method of the present invention, n + 1 types of at least one NFC communication device of the transmission side and the reception side (the communication partner side as viewed from the transmission side) are provided by the NFC communication device on the transmission side.
  • n is an integer value of 0 or more
  • various information related to the abilities of the corresponding type is set in a predetermined one of the one or more fields.
  • all capsules are generated for each n + 1 type, and n + 1 capsules are stored in a predetermined command or a predetermined response and transmitted to the receiving NFC communication apparatus.
  • this capsule for example, a field in which information indicating a predetermined type of capability is set, and "information for instructing the communication partner side of the capability activity" for the predetermined type of capability are set It may also be configured to include a field in which “information for notifying the communication partner that the capability has been confirmed” is set for the predetermined type of capability. it can.
  • the NFC communication apparatus can use the capsule 51 having the structure shown in FIG. That is, FIG. 12 shows an example of a capsule structure to which the present invention is applied.
  • the capsule 51 of Fig. 12 includes fields 61 to 65.
  • header information is described as shown in FIG. Therefore, hereinafter, the field 61 is simply referred to as a header 61.
  • field 62 As shown in FIG. 12, the NFC communication device on the transmission side instructs the NFC communication device on the reception side (the communication partner side as viewed from the transmission side) to perform predetermined processing. Love Information is set. Therefore, the field 62 is hereinafter referred to as an “information for instructing processing” field 62. In other words, as will be described later, the “information for instructing processing” field 62 may be set with one of “information for instructing the communication partner side about the activity activity”. However, a specific example of information set in the “information for instructing processing” field 62 will be described later.
  • the field 63 As shown in FIG. 12, information indicating a predetermined type of capability among the capabilities of the transmitting NFC communication apparatus is set. Therefore, the field 63 is hereinafter referred to as an “ability information” field 63. A specific example of information set in the “information indicating capability” field 63 will be described later.
  • the NFC communication device on the transmission side has the “capability” on the left side of the NFC communication device on the reception side (the communication partner side as viewed from the transmission side)
  • Information for setting information in the “information to be displayed” field 63 that is, information for performing a predetermined instruction for a predetermined type of capability is set. Therefore, the field 64 is hereinafter referred to as an “instruction for information indicating capability” field 64. That is, in the “instruction for information indicating ability” field 64, one of “information for instructing the communication partner side about the ability activity” may be set. However, a specific example of information set in the “instruction for information indicating ability” field 64 will be described later.
  • the field 65 is referred to as an “accompanying information” field 65.
  • the NFC communication device on the transmission side can set “information for notifying the communication partner that the capability has been confirmed” as the accompanying information in the “accompanying information” field 65.
  • the NFC communication device on the transmission side can set “information for notifying the communication partner that the capability has been confirmed” as the accompanying information in the “accompanying information” field 65.
  • a specific example of information set in the “accompanying information” field 65 will be described later.
  • the NFCIP-1 standard can be used faithfully between the NFC communication device and the NFC communication device on the communication partner side (in accordance with the NFCIP-1 described above).
  • the capacity of the capacity group specified by NFCIP-1 or higher that is, the type of capacity different from the type specified by NFCIP-1, or specified by NFCIP-1
  • the capability level of the NFC communication device or the NFC communication device on the communication partner side is exchanged for the existence of a type of capability that exceeds the level specified in NFCIP-1. It becomes possible to realize instruction and confirmation of the activity key.
  • NFCIP-1 is a capability that exceeds the capability group defined by NFCIP-1, that is, different from the type specified by NFCIP-1, or even if the type specified by NFCIP-1 This is because the ability level ability possessed by NFCI P-1 can be easily included in the capsule 51 with information on a kind of ability that is higher than a certain level.
  • the NFC communication device communicates with the NFC communication device on the communication partner side as described above. Communication processing according to 1 can be executed as it is.
  • the storage location of the capsule 51 may be an arbitrary command or an arbitrary response, but in this embodiment, it is a command ATR_REQ or a response ATR_RES.
  • the command ATR_REQ and the response ATR_RES are used when notifying the attribute (specification) of the device or requesting the attribute of the communication partner as described above. That is, it makes sense to store the capsule 51, which is used when notifying its own capability or requesting the capability of the communication partner, in the command ATR_REQ and the response ATR_RES.
  • the command ATR_REQ and the response ATR_RES define a field called “General Byte” (hereinafter referred to as field Gi), and capsule 51 can be stored in this field Gi. This is because it can be done easily.
  • the initiator transmits a command ATR_REQ and the target transmits a response ATR_RES.
  • the target may send a command ATR_REQ and the initiator may send a response ATR_RES.
  • FIG. 13 shows the structure of the command ATR_REQ defined by NFCIP-1.
  • the command ATR_REQ is composed of the field CMD0, the field CMD1, and the fields ByteO to Byten + 14 (n is an integer value of 0 or more) from the beginning (from the left in the figure). Has been.
  • the NFC communication device that transmits this command ATR_REQ that is, the above-described NFCID that identifies the initiator is set.
  • field Bytell the bit rate (transmission rate) at which the initiator transmitting this command ATR_REQ transmits data is set.
  • field Bytell is also referred to as field BSi. Details of the field BSi will be described later with reference to FIG. 14 and FIG.
  • field Bytell the bit rate (transmission rate) at which the initiator transmitting this command ATR_REQ receives data is set.
  • field Bytell is also referred to as field BRi. Details of field BRi will be described later together with details of field BSi.
  • field Bytel3 an optional parameter for the initiator that transmits this command ATR_REQ is set.
  • field Bytel3 is also called field PPi. Details of the field PPi will be described later with reference to FIGS.
  • Each of the fields Bytel4 to Bytel4 + n is a field called General Byte described above, that is, each of the fields Gi. That is, each of n + 1 fields Gi is allocated to this command ATR_REQ as each of fields Bytel4 to Bytel4 + n.
  • each of the n fields Gi will be referred to as fields Gi [0] to Gi [n] in the order of arrangement (in order from the left in FIG. 13).
  • Each of the fields Gi [0] to Gi [n] is a field in which various information designated by the designer or the like is set, and is a field prepared as an option. That is, the value n can be changed by a designer or the like, and becomes an integer value of 0 or more as described above. . This value n is set in the field PPi, as will be described later.
  • One capsule 51 in FIG. 12 is stored one by one.
  • Figure 14 shows the structure of the field BSi as defined by NFCIP-1!
  • the field BSi is composed of 1-byte information, that is, 8-bit information.
  • bits bitO to bit7 from the least significant bit (the rightmost bit in FIG. 14) to the upper bit (in the left direction in FIG. 14).
  • bits bitO bits bitO to bit7 from the least significant bit (the rightmost bit in FIG. 14) to the upper bit (in the left direction in FIG. 14).
  • Bits bit4 to bit7 in field BSi are set to 0 (ZERO), and for each bit bitOno to bit3, the initiator sending this command ATR_REQ is 847 kbps, 1 695 kbps, 3390 Information (0 or 1) indicating whether processing at each transmission rate of kbps and 6780 kbps is possible is set. That is, for example, if 0 indicates that processing is not possible and 1 indicates that processing is possible, that bit 0 is set to 0 indicates that the initiator transmitting this command ATR_REQ is processing at a transmission rate of 847 kbps. It means you can't. On the other hand, setting bit 1 to bitO means that the initiator sending this command ATR_REQ can process at a transmission rate of 847 kbps.
  • NFC communication device must be able to execute processing at the transmission rates of 106 kbps, 212 kbps, and 424 kbps, and t ⁇ is specified in NFCIP-l. It is.
  • the possible values for the transmission rate at the time of data transmission / reception are 106 kbps, 212 kbps, 424 kbps, 847 kbps, 1695 kbps, 339 0. kbps and 6780 kbps are specified. That is, the table in Figure 15 is specified by NFCIP-1. Indicate the transmission rate.
  • the item “Communication Mode” on the leftmost side describes the communication mode that can be communicated at the transmission rate described in the item “k bpsj” on the right!
  • communication is possible in any communication mode of active mode (active) and passive mode (passive) (like that NFC communication device)
  • active active
  • passive mode passive
  • the power is specified by NFCIP-1, whereas it can be communicated in Active mode (Active) at 847 kbps, 1695 kbps, 3390 kbps, and 6780 kbps. (If you configure an NFC communication device like that), it is specified in force NFCIP-1.
  • the item “kbps” in the middle describes the transmission rate defined in NFCIP-1.
  • the rightmost “Divisor D” item uses the following equation (1) when the transmission rate described in the left “kbps” item is used. ) Describes the value of parameter D used in!
  • Equation (1) bd represents the bit duration and fc represents the carrier frequency.
  • field BRi is basically the same as the structure of field BSi described above, and a description thereof will be omitted.
  • an initiator that transmits this command ATR_REQ or a target that receives this command ATR_REQ is higher than 6780kbps! Even if processing at a transmission rate is possible, such a high The transmission rate is not defined in NFCIP-1, and cannot be set in field BRi or field BSi. Therefore, in such a case, the initiator includes information on such a high transmission rate in the capsule 51 in FIG. 12, and further includes the capsule 51 in the field Gi [k] ( k may be stored in any value of 0 to n). As a result, transmission / reception at such a high transmission rate can be realized.
  • the field PPi of the command ATR_REQ will be described.
  • Fig. 16 shows the structure of the field PPi defined in NFCIP-1.
  • the field PPi is composed of bits bitO to bit7.
  • Bits bit7, bit6, bit3, and bit2 are set to O (ZERO).
  • bits bit4 and bit5 information L Ri for designating the effective data length of the transport data is set.
  • FIG. 17 is a table showing each possible value of the information LRi and the range LEN of the effective data length of the transport data indicated by each value.
  • the transport data is the Transport data field shown in FIG. 18, that is, the fields CMD0 to ByteN (N is an integer value of 0 or more.
  • FIG. 18 shows the structure of one frame including transport data (for example, in the present embodiment, one of the commands and responses shown in FIG. 8 described above).
  • the upper figure shows the structure of one frame when the transmission rate is 106 kps
  • the lower figure shows one structure when the transmission rate is 212 kps or 424 kbps.
  • the structure of the frame is shown.
  • a value indicating the first field of the frame is set in the field described as SB.
  • the field written with LEN is set to a value obtained by adding 1 to the effective data length of the transport data field that follows.
  • information indicating the preamble (Premable) is set.
  • SYNC information indicating a synchronization pattern (Synchronous pattern bit) is set.
  • El and E2 a value indicating that it is the last field of the frame is set.
  • the information LRi is "10". That is, in this case, the “10” force is set to bits bit4 and bit5 of the field PPi in FIG.
  • the information LRi is “11”. That is, in this case, “11” is set to bits bit4 and bit5 of the field PPi in FIG.
  • NAD Node Address
  • ATR_REQ the subaddress of the device ID of the initiator that transmits this command ATR_REQ, which is set in the field BytelO in FIG. 13 described above, that is, the field DIDi in FIG.
  • the ability to have 16 subaddresses per device ID is specified in NFCIP-1!
  • bit bitO for example, 0 indicates that it is not used, and 1 indicates that it is used. If bit bitO is set to 0, this means that the scheduler that transmits this command ATR_REQ has a subaddress. Means not to use. On the other hand, when bit bitO is set to 1, this means that the initiator sending this command ATR_REQ uses the sub address.
  • FIG. 19 shows the response of the command ATR_REQ having such a structure, that is, the structure of the response ATR_RES. Comparing FIG. 13 and FIG. 19, it can be seen that the structure of the response ATR_RES has the same structure as that of the command ATR_REQ. Therefore, the description of the structure of the response ATR_RES is omitted!
  • the capsule 51 in FIG. 12 described above has the command ATR_REQ and the response ATR_RES.
  • Response Stored in the field Gi of ATR_RES and transmitted / received between multiple NFC communication devices.
  • the initiator transmits the command ATR_REQ to the target in the process of step S16 in Fig. 10 or step S33 in Fig. 11 described above.
  • the processing in step S16 in FIG. 10 or step S33 in FIG. can be executed. That is, FIG. 20 is a flowchart for explaining an example of “initiator-side ATR_REQ transmission processing” in the case where the initiator transmits a command ATR_REQ including at least one capsule 51.
  • FIG. 21 shows an example of target-side processing (hereinafter referred to as target-side ATR_REQ reception processing) for “initiator-side ATR_REQ transmission processing” in FIG.
  • FIG. 21 is a flow chart for explaining an example of “target side ATR_REQ reception processing” when the target receives a command ATR_REQ that may include the capsule 51.
  • FIG. 22 is a flowchart for explaining an example of “the ATR_RES reception process on the side of the shita” when the initiator receives a response ATR_RES to the command ATR_REQ including at least one capsule 51.
  • the "ATR_REQ transmission processing on the initiator side” in FIG. 20 is executed by the emulator.
  • the “target side ATR_REQ reception process” is executed by the target, and the “initiator side ATR_RES reception process” in FIG. 22 is executed by the initiator.
  • the target may send the command ATR_REQ.
  • the “initiator-side ATR_REQ transmission process” in FIG. 20 is executed by the target
  • the “target-side ATR_REQ reception process” in FIG. 21 is executed by the initiator
  • the “initiator-side ATR_RES reception” in FIG. “Process” is to be executed by the target.
  • n + 1 capsules 51 are generated or used.
  • field Gi [of request ATR_REQ or response ATR_RES One stored in k] (k is any value from 0 to n) is called a capsule [k].
  • step S61 the initiator generates each of the capsules [0] to [n] for the command ATR_REQ. Specific examples of capsules [0] to [n] for the command ATR_REQ will be described later.
  • step S62 the initiator stores each of the capsules [0] to [n] in each of the fields Gi [0] to Gi [n] of the command ATR_REQ.
  • step S63 the initiator sets the field PPi of the command ATR_REQ.
  • step S64 the initiator sets the other fields (field BSi, field BRi, etc.) of the command ATR_REQ.
  • step S65 the initiator transmits a command ATR_REQ to the target.
  • step S81 the target receives the command ATR_REQ.
  • step S82 the target interprets the command ATR_REQ.
  • step S83 the target determines whether information is stored in the fields Gi [0] to Gi [n] of the command ATR_REQ based on the interpretation result of the command ATR_REQ.
  • step S83 If it is determined in step S83 that no information is stored in the fields Gi [0] to Gi [n] of the command ATR_REQ, the process proceeds to step S88. That is, the processes of steps S84 to S87 described later are not executed. The processing after step S88 will be described later.
  • step S81 the command ATR_REQ transmitted from the initiator is received in the process of step S81 and correctly interpreted in the process of step S82.
  • the capsules [0] to [n] are stored in the fields Gi [0] to Gi [n] of the command ATR_REQ, respectively. Therefore, in such a case, in step S83, it is determined that information is stored in the fields Gi [0] to Gi [n] of the command ATR_REQ, and the process proceeds to step S84.
  • step S84 the target is stored in a predetermined process according to each of the fields Gi [0] to Gi [n] of the command ATR_REQ, that is, each of the fields Gi [0] to Gi [n].
  • a predetermined process is executed according to the contents of the capsules [0] to [k]. A specific example of the predetermined process executed in step S84 will be described later. To do.
  • step S85 the target determines whether or not the predetermined process in step S84 has succeeded.
  • step S85 If it is determined in step S85 that the predetermined process in step S84 has failed (not succeeded), the process proceeds to step S88. That is, the processes of steps S86 and S87 described later are not executed. The processing after step S88 will be described later.
  • step S85 determines whether the predetermined process in step S84 has succeeded. If it is determined in step S85 that the predetermined process in step S84 has succeeded, the process proceeds to step S86.
  • step S86 the target generates capsules [0] to [n] for the response ATR_RES. Specific examples of the capsules [0] to [n] for the response ATR_RES will be described later.
  • step S87 the target stores each of the capsules [0] to [n] in each of the fields Gi [0] to Gi [n] of the response ATR_RES. As a result, the process proceeds to step S88.
  • step S87 when the process of step S87 is completed, when it is determined NO in step S83, or when it is determined NO in step S85, the process proceeds to step S88. move on.
  • step S88 the target sets the field PPi of the response ATR_RES.
  • step S89 the target sets the other fields (field BSi, field BRi, etc.) of response ATR_RES.
  • step S90 the target transmits a response ATR_RES to the initiator.
  • step S101 the initiator receives the response ATR_RES.
  • step S102 the initiator interprets the response ATR_RES.
  • step S103 the initiator determines whether or not the information is stored in the fields Gi [0] to Gi [n] of the response ATR_RES based on the interpretation result of the response ATR_RES.
  • step S103 If it is determined in step S103 that no information is stored in the fields Gi [0] to Gi [n] of the response ATR_RES, the process proceeds to step S106.
  • step S106 the initiator retransmits the command ATR_RES storing the capsules [0] to [n] to the target.
  • step S101 the processing is returned to step S101, and the subsequent processing is repeated. That is, the response ATR_RES sent from the target to the command ATR_RES retransmitted in the process of step S106 is acquired in the process of step S101, and the subsequent processes for the response ATR_RES are processed. Repeated.
  • the target cannot execute the "ATR_REQ reception processing on the target side" in Fig. 21!
  • the loop process of steps S101 to S106 is repeated endlessly. Therefore, although not shown, the initiator counts the number of repetitions of the loop processing in steps S101 to S106, and the target is an NFC communication device that cannot handle the capsule 51 when the number of repetitions exceeds a predetermined threshold. It is also possible to forcibly terminate the “initiator-side ATR_RES reception process” after executing a predetermined process such as storing the setting contents of the response ATR_RES internally.
  • step S104 the capsule [0 ] Through capsule [k] is sent from the target to the initiator, and when the response ATR_RES is received in step S101 and correctly interpreted in step S102, in step S103 Then, it is determined that information is stored in the fields Gi [0] to Gi [n] of the response ATR_RES, and the process proceeds to step S104.
  • step S104 the initiator performs predetermined processing according to each of the fields Gi [0] to Gi [n] of the response ATR_RES, that is, each of the fields Gi [0] to Gi [n].
  • Predetermined processing is executed according to the contents of each of the capsules [0] to [k] stored therein. A specific example of the predetermined process executed in step S104 will be described later.
  • step S105 the initiator determines whether or not the predetermined process in step S104 is successful.
  • step S105 If it is determined in step S105 that the predetermined process in step S104 has failed (not succeeded), the process proceeds to step S106, and the subsequent processes are repeated. That is, in step S106, the command ATR_RES storing the capsules [0] to [n] is retransmitted, and in step S101, the response ATR_RES is obtained in step S101, and the response ATR_RES is obtained. The subsequent processing is repeated.
  • step S105 if it is determined in step S105 that the predetermined process in step S104 has succeeded, the “initiator-side ATR_RES reception process” ends.
  • the "initiator-side ATR_REQ transmission process" in FIG. 20 is executed as the process in step S16 in FIG. 10 or step S33 in FIG. 11, and the “initiator-side ATR_RES reception process” in FIG.
  • the command ATR_REQ and the response ATR_RES are exchanged once each.
  • the number of exchanges between the command ATR_REQ and the response ATR_RES is not limited to one and may be multiple.
  • the command ATR_REQ including the capsule 51 of Fig. 12 and the response ATR_RES is exchanged, and the capability It has been described above that it is possible to realize the instruction and confirmation of the activity.
  • the initiator and the target exchange the command ATR_REQ and the response ATR_RES in order to exchange the existence of a predetermined type of capability.
  • the command ATR_REQ and the response ATR_RES can be exchanged once more in order to instruct and confirm the activation of the given type of ability.
  • step 18 or Fig. 11 in Fig. 10 is performed.
  • the process of step S35 will be executed. That is, the series of processes of “initiator-side ATR_R EQ transmission process” in FIG. 20, “target-side ATR_REQ reception process” in FIG. 21, and “the ATR_RES reception process on the initiator side” in FIG. 22 is repeated twice. After that, the process of step 18 in FIG. 10 or step S35 in FIG. 11 is executed.
  • RF Power control the capability of controlling the output power of wireless communication between the initiator and the target
  • the initiator and the target exchange the level of RF power control capability, and perform an instruction to perform RF power control within the range of that level (indication of activation key) and confirmation
  • a specific example of a series of processing executed by the initiator and the target in this case will be described.
  • the initiator for example, the following capsule [0]
  • the initiator sets information indicating the content of “RF Power Control capability report” in the “information instructing processing” field 62 of FIG.
  • the initiator indicates whether or not the output power can exceed a predetermined maximum value Hmax as information indicating the capability of its own RF power control.
  • a predetermined maximum value Hmax as information indicating the capability of its own RF power control.
  • the initiator sets an instruction to “store the setting value of the“ information indicating capability ”field 63” in the “instruction for information indicating capability” field 64.
  • the initiator understands each piece of information stored in this capsule 51 and completes the storage of the setting value in the “information indicating capability” field 63. If so, respond to the “accompanying information” field 65 of the capsule 51 included in the response ATR_RES by setting a predetermined password ⁇ RF Power capability interpretation complete ⁇ . ”T ⁇ Information indicating the contents Set.
  • the initiator arranges the fields set in this way in the order shown in Fig. 12, thereby generating a capsule [0].
  • step S62 of Fig. 20 the initiator stores this capsule [0] in the field Gi [0] of the command ATR_REQ.
  • Gi General Byte
  • step S64 the initiator sets other fields (field BSi, field BRi, etc. in Fig. 13), and in step S65, each information (each value) is set. ) Command ATR_REQ with) set is sent to the target.
  • the target receives this command ATR_REQ in the process of step S81 in FIG. 21, and interprets it in the process of step S82.
  • step S82 If the interpretation of the command ATR_REQ in step S82 is successful, it is determined in the process of step S83 that information is stored in the field Gi [0] of the command ATR_REQ, and the process proceeds to step S84.
  • step S84 the target executes, for example, the following processing according to the capsule [0] stored in the field Gi [0] of the command ATR_REQ.
  • the target states that the setting content of the “instruction for information indicating ability” field 64 in the capsule [0], that is, “store the setting value of the information indicating ability” field 63 is stored. Reads the setting contents of the “capability information” field 63 of the capsule [0] and stores it in its own.
  • the target sets the content of the “accompanying information” field 65 in the capsule [0], that is, the “information indicating capability” field by understanding each information stored in the capsule 51.
  • step S85 it is determined that the predetermined process has been successful, and the process proceeds to step S86.
  • the target is the process for response ATR_RES, for example, Create capsule [0].
  • the target responds to the "information indicating processing capability" field 62 in FIG. Set the information indicating.
  • the target uses the "information indicating capability" field 63 as information indicating its own RF power control capability, "whether or not the output power can exceed a predetermined maximum value Hmax. ”,“ Whether the output power can exceed the predetermined minimum value Hmin ”,“ How many steps can be adjusted between the maximum value Hmax and the minimum value Hmin ”,“ Indication of default value ”, “How many steps can be adjusted between the maximum value Hmax and the device-specific maximum output power (RF Power)” and “What is between the minimum value Hmin and the device-specific minimum output power (RF Power)” Set the information such as “Adjustable at each stage”.
  • the target sets an instruction to “store the setting value of“ information indicating capability ”field 63” in the “instruction for information indicating capability” field 64.
  • the target sets information indicating a predetermined password ⁇ RF Power capability interpretation completed ⁇ in the "accompanying information" field 65 in accordance with the above-mentioned instruction included in the command ATR_REQ from the initiator. To do.
  • the target generates capsules [0] by arranging the fields set in this way in the order shown in FIG.
  • the target stores this capsule [0] in the field Gi [0] of the response ATR_RES.
  • the target sets the field PPi of the command ATR_REQ. Specifically, the target sets the field Gi (General Byte) to be valid by setting 1 to the bit bitl in FIG. 16 described above, that is, by setting 1 as the information Gi. Show. In addition, in this case, only the field Gi [0] is used as the target, and as a result, the response ATR_RES up to the field Bytel4 becomes “00” for bits 4 and 5 in FIG. Set. That is, “00” is set as the information LRi.
  • Gi General Byte
  • n 0, the force at which “00” is set as the information LRi, as described above, “00”, “01”, “11”, and “11” An appropriate value corresponding to the actual n Is set.
  • the target also sets appropriate values for the other bits of field PPi.
  • the target sets other fields (field BSi, field BRi, etc. in Fig. 13) in the process of step S89, and each information (each value in this way in the process of step S90). ) ATR_RES with response set is sent to the initiator.
  • the initiator receives this response ATR_RES in the process of step S101 in FIG. 22, and interprets it in the process of step S102.
  • step S102 If the interpretation of the response ATR_RES in step S102 is successful, it is determined in the process of step S103 that information is stored in the field Gi [0] of the response ATR_RES, and the process proceeds to step S104.
  • step S104 the initiator executes the following process, for example, according to the capsule [0] stored in the field Gi [0] of the response ATR_RES.
  • the “processing instruction information” field 62 in FIG. 12 includes “RF power control capability report and response to report from initiator”. Therefore, this capsule [0] is a capsule for reporting RF Power Control capability for the target and responding to the previously sent command ATR_REQ. Recognize that.
  • the initiator sets the content of the “instruction for information indicating capability” field 64 in the capsule [0], that is, “store the setting value of the“ information indicating capability ”field 63”. Then, it reads out the setting contents of the “capability information” field 63 in the capsule [0], and stores it in its own.
  • the initiator recognizes the setting content of the "accompanying information" field 65 in the capsule [0], that is, the content of the predetermined password ⁇ RF Power capability interpretation complete ⁇ .
  • step S 105 it is determined that the predetermined process has been successful, and the “ATR-RES reception process on the cisator side” ends.
  • the power level of RF power control can be exchanged between the initiator and the target.
  • the initiator and the target perform RF power control within the range of the level. 20 (initiator side ATR_R EQ transmission processing), FIG. 21 “target side ATR_REQ reception processing”, and FIG. Perform a series of “ATR_RES reception processing on the side of the creator” once.
  • the initiator for example, the following capsule [0]
  • the initiator sets “execution instruction” and information indicating the contents in the “processing instruction information” field 62 in FIG.
  • the initiator sets information indicating that "the target of execution instruction is RF Power Control" in the "information indicating capability" field 63.
  • the initiator sets an instruction “lower output power (RF Power) by two levels below minimum value Hmin” in “instruction for information indicating capability” field 64. It should be noted that here, if the target has the ability to adjust in three steps within the range of the minimum value Hmin force to zero, the above information will be exchanged for the existence of the ability. As a result of this processing, it is assumed that the initiator has already recognized.
  • RF Power lower output power
  • the initiator is set in the "instruction information" field 65 for the "accompanying information” field 65, "understands each piece of information stored in this capsule 51, and in the" instruction for information indicating capability "" field 64.
  • the execution of the instruction is completed, set the predetermined password ⁇ successfully lowered the output voltage by two levels ⁇ for the "accompanying information” field 65 in the capsule 51 included in the response ATR_RES. Set the information indicating the content of "Please answer.”
  • the initiator arranges the fields set in this way in the order shown in Fig. 12, thereby generating capsule [0].
  • step S62 of FIG. 20 the initiator uses this capsule [0] as a command.
  • step S64 the initiator sets other fields (field BSi, field BRi, etc. in Fig. 13), and in step S65, each information (each value) is set. ) Command ATR_REQ with) set is sent to the target.
  • the target receives this command ATR_REQ in the process of step S81 in Fig. 21, and interprets it in the process of step S82.
  • step S82 When the interpretation of the command ATR_REQ in step S82 is successful, it is determined in the process of step S83 that information is stored in the field Gi [0] of the command ATR_REQ, and the process proceeds to step S84.
  • step S84 the target executes, for example, the following processing according to the capsule [0] stored in the field Gi [0] of the command ATR_REQ.
  • This capsule [0] recognizes that it is a capsule for indicating the activity of a predetermined type of ability.
  • the target reads the setting contents of the "capability information" field 63 in the capsule [0] in order to recognize which type of ability's activity is to be instructed.
  • information indicating that “the target of execution instruction is RF Power Control” is read. Therefore, the target recognizes that this capsule [0] is a capsule for instructing execution of RF Power Control.
  • the target receives the setting content of the “instruction for information indicating capability” field 64, that is, the command “lower the output power (RF Power) by two steps from the minimum value Hmin”. It performs various processes necessary to reduce its own output power (RF Power) by two steps below the minimum value Hmin.
  • the target sets the content of the "accompanying information” field 65 in the capsule [0], that is, “understands each piece of information stored in the capsule 51 and" instructions for information indicating capability ""
  • the predetermined password successfully lowering the output voltage by two levels
  • the predetermined password is added to the “accompanying information” field 65 of the capsule 51 included in the response ATR_RES. Recognize that you should reply by setting ⁇ .
  • step S85 it is determined that the predetermined process has been successful, and the process proceeds to step S86.
  • the target generates the capsule [0] for the response ATR_RES as shown below, for example, in the process of step S86.
  • the target sets information indicating the content of the "response to the instruction from the sheeter" in the "information instructing processing" field 62 in FIG.
  • the target sends a command from the initiator to the “accompanying information” field 65.
  • the target arranges the fields set in this way in the order shown in Fig. 12 to generate capsule [0].
  • step S87 in Fig. 21 the target sends this capsule [0] as a response.
  • the target sets the field PPi of the command ATR_REQ. Make a decision. Specifically, the target sets the field Gi (General Byte) to be valid by setting 1 to the bit bitl in FIG. 16 described above, that is, by setting 1 as the information Gi. Show. In addition, in this case, only the field Gi [0] is used as the target, and as a result, the response ATR_RES up to the field Bytel4 becomes “00” for bits 4 and 5 in FIG. Set. That is, “00” is set as the information LRi.
  • Gi General Byte
  • n 0, the force at which “00” is set as the information LRi, as described above, “00”, “01”, “11”, and “11” Of these, an appropriate value corresponding to the actual n is set.
  • the target also sets appropriate values for the other bits in field PPi.
  • step S89 the target sets other fields (field BSi, field BRi, etc. in Fig. 13), and in step S90, each information (each value) is set. ) ATR_RES with response set is sent to the initiator.
  • the initiator receives this response ATR_RES in the process of step S101 in Fig. 22, and interprets it in the process of step S102.
  • step S102 When the interpretation of the response ATR_RES in step S102 is successful, it is determined in the process of step S103 that information is stored in the field Gi [0] of the response ATR_RES.
  • step S104 The process proceeds to step S104.
  • step S104 the initiator executes, for example, the following processing according to the capsule [0] stored in the field Gi [0] of the response ATR_RES.
  • the initiator [0] is a capsule for making a response to the command ATR_REQ sent earlier. Recognize that.
  • the initiator sets the content of the “accompanying information” field 65 in the capsule [0].
  • step S 105 it is determined that the predetermined process has been successful, and the “ATR RES reception process on the cisator side” ends.
  • the initiator and the target after exchanging the RF power control capability level, perform instructions (activation instructions) and confirmation to perform RF power control within the level range. It can be carried out.
  • the output voltage when the information is transmitted / received is kept as low as possible.
  • the confidentiality of the information can be achieved, that is, the eavesdropping of the information can be prevented.
  • this effect becomes more prominent when the target is composed of a card or the like, and the issuer writes important information such as key information to the card when the card is issued.
  • the initiator when the initiator communicates with a predetermined target as a communication partner in the state where another target exists, collision may occur as described above. Even in such a case, the initiator can suppress the output voltage of the other target and increase the output power of the target of the communication partner, thereby achieving an effect of preventing collision.
  • the capsule 51 in FIG. 12 is stored in the command ATR_REQ and the response ATR_RES, as described above, the storage destination is not particularly limited.
  • the capsule 51 when exchanging the power level of RF Power control, the capsule 51 is stored in the command ATR_REQ or the response ATR_RES, and an instruction to perform RF Power control within the range of the level (indication of activity key) ) And confirmation, the capsule 51 can be stored in the command DEP_REQ and the response DEP_RES.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Near-Field Transmission Systems (AREA)
  • Telephone Function (AREA)

Abstract

本発明は、近接通信を行う通信装置が本来有している能力を十分に発揮することができるようにする通信装置、通信方法、およびプログラムに関する。イニシエータは、NFCIP-1に従って、ターゲットと近接通信を行う。例えば、イニシエータは、イニシエータ自身またはターゲットが有する所定のn+1種類の能力のそれぞれについて、対応する能力に関連する情報を1以上含むカプセル[0]乃至[n]を生成する(S61)。次に、イニシエータは、生成されたカプセル[0]乃至[n]を含むコマンドATR_REQを生成する(S62乃至S64)。そして、イニシエータは、コマンドATR_REQをターゲットに送信する。本発明は、例えば、ICカードシステムなどに適用できる。

Description

明 細 書
通信装置、通信方法、およびプログラム
技術分野
[0001] 本発明は、通信装置、通信方法、およびプログラムに関し、例えば、近接通信を行 う通信装置が本来有している能力を十分に発揮することができるようにする通信装置 、通信方法、およびプログラムに関する。
背景技術
[0002] 近接通信を行うシステムとしては、例えば、 IC(Integrated Circuit)カードシステムが 広く知られている。 ICカードシステムにおいては、リーダ Zライタが電磁波を発生する ことにより、いわゆる RF(Radio Frequency)フィールド(磁界)を形成する。そして、リー ダ/ライタに、 ICカードが近づくと、 ICカードは、電磁誘導によって、電源の供給を受 けるとともに、リーダ Zライタとの間でデータ伝送を行う。
[0003] 力かる ICカードシステムに代表される近接通信を行うための通信プロトコルとしては 、例えば、 NFCIP(Near Field Communication Interface and Protocol)— 1がある。なお、 NFCIP- 1は、 ISO/IEC 18092としても規定されている。
[0004] NFCIP-1には、データを送受信する複数の通信装置のそれぞれにお 、て、電磁波 を出力し、その電磁波を変調することによりデータの送信を行う通信モードであるァク ティブモードと、複数の通信装置のうちの 1の通信装置において、電磁波を出力し、 その電磁波を変調することによりデータの送信を行うとともに、複数の通信装置のうち の他の通信装置において、 1の通信装置が出力する電磁波を負荷変調することによ りデータの送信を行う通信モードであるパッシブモードとが規定されており、 NFCIP-1 に準拠した複数の通信装置どうしは、アクティブモードまたはパッシブモードのうちの いずれかの通信モードで通信を行う(例えば、特許文献 1や非特許文献 1参照)。
[0005] 特許文献 1:特開 2004-215225号公報
^^特干文献 1: Standard Eし ivlA— 340, Near Field Communication Interface and Prot ocol(NFCIP-l)", 2nd Edition, December 2004, ECMA
発明の開示 発明が解決しょうとする課題
[0006] し力しながら、複数の通信装置が NFCIP-1に準拠した通信を行う場合、複数の通信 装置のうちの少なくとも 1つ力 NFCIP-1で規定されている能力群以上の能力を本来 有していたとしても、本来有している能力を十分に発揮できていない、という課題があ つた o
[0007] 本発明は、このような状況に鑑みてなされたものであり、近接通信を行う通信装置が 本来有している能力を十分に発揮することができるようにするものである。
課題を解決するための手段
[0008] 本発明の通信装置は、 1以上のコマンド、および、 1以上のレスポンスが少なくとも 規定されて 、る通信プロトコルに従って、通信相手である他の通信装置と通信を行う 通信装置であって、データを送受信する複数の装置のそれぞれにおいて、電磁波を 出力し、その電磁波を変調することによりデータの送信を行う通信モードであるァクテ イブモードと、複数の装置のうちの 1の装置において、電磁波を出力し、その電磁波 を変調することによりデータの送信を行うとともに、前記複数の装置のうちの他の装置 において、 1の装置が出力する電磁波を負荷変調することによりデータの送信を行う 通信モードであるパッシブモードとのうちのいずれかの通信モードで通信を行う通信 手段と、通信装置自身または他の通信装置が有する所定の 1種類の能力に関連す る情報を 1以上含むデータ群を能力の種類毎にそれぞれ生成し、生成された 1以上 のデータ群を、通信プロトコルで規定されている 1以上のコマンドおよび 1以上のレス ポンスのうちの所定の 1つに格納させて、他の通信装置に送信する制御を行う制御 手段を備えることを特徴とする。
[0009] 通信プロトコルは、通信装置および他の通信装置が有すべきまたは有することが可 能な属性をさらに規定し、 1以上のコマンドのうちの 1つとして、その属性を通信相手 に通知するまたは要求するための属性コマンドを少なくとも規定し、 1以上のコマンド のうちの 1つとして、属性コマンドに対する属性レスポンスを少なくとも規定しており、 制御手段は、通信プロトコルに属性として規定されている種類とは異なる n+1種類 (n は、 0以上の整数値)の能力のそれぞれについて、対応する種類の能力に関連する 情報を 1以上含むデータ群を n+1種類毎にそれぞれ生成し、生成された n+1個のデー タ群を、属性コマンドまたは属性レスポンスに格納させて、他の通信装置に送信する 制御を行うようにすることができる。
[0010] 制御手段は、 n+1種類の能力のそれぞれにつ 、て、対応する種類の能力につ!/、て の、通信装置自身が有して 、るまたは有することが可能なレベルを示す情報を少なく とも含むデータ群を n+1種類毎にそれぞれ生成し、生成された n+1個のデータ群を、 属性コマンドに格納させて、他の通信装置に送信する制御を行うようにすることがで きる。
[0011] 制御手段は、 n+1種類の能力のそれぞれについて、対応する種類の能力について の、他の通信装置が有して 、るまたは有することが可能なレベルを通信装置自身に 対して通知する指示を少なくとも含むデータ群を n+1種類毎にそれぞれ生成し、生成 された n+1個のデータ群を、属性コマンドに格納させて、他の通信装置に送信する制 御を行うようにすることができる。
[0012] 他の通信装置により、 n+1種類の能力のそれぞれについて、対応する種類の能力 につ 、ての、通信装置自身が有して 、るまたは有することが可能なレベルを他の通 信装置に対して通知する指示を少なくとも含むデータ群が n+1種類毎にそれぞれ生 成され、生成された n+1個のデータ群が属性コマンドに格納されて通信装置自身に 送信されてきた場合、制御手段は、属性コマンドを通信装置自身が受信する制御を さらに行い、受信された属性コマンドに格納された n+1個のデータ群のそれぞれに含 まれる指示に基づいて、 n+1種類の能力のそれぞれについて、対応する種類の能力 につ 、ての、通信装置自身が有して 、るまたは有することが可能なレベルを示す情 報を少なくとも含むデータ群を n+1種類毎にそれぞれ生成し、生成された n+1個のデ ータ群を、属性レスポンスに格納させて、他の通信装置に送信する制御を行うように することができる。
[0013] 制御手段は、 n+1種類の能力のそれぞれについて、対応する種類の能力の活性化 を他の通信装置が行うことの指示を少なくとも含むデータ群を n+1種類毎にそれぞれ 生成し、生成された n+1個のデータ群を、属性コマンドに格納させて、他の通信装置 に送信する制御を行うようにすることができる。
[0014] 他の通信装置により、 n+1種類の能力のそれぞれについて、対応する能力の活性 化を通信装置自身が行うことの指示を少なくとも含むデータ群が n+1種類毎にそれぞ れ生成され、生成された n+1個のデータ群が属性コマンドに格納されて通信装置自 身に送信されてきた場合、制御手段は、属性コマンドを通信装置自身が受信する制 御をさらに行い、受信された属性コマンドに格納された n+1個のデータ群のそれぞれ に含まれる指示に基づ 、て、 n+1種類の能力のそれぞれの活性ィ匕を行うための制御 をさらに行い、 n+1種類の能力のそれぞれについて、対応する種類の能力の活性ィ匕 の結果を示す情報を少なくとも含むデータ群を n+1種類毎にそれぞれ生成し、生成さ れた n+1個のデータ群を、属性レスポンスに格納させて、他の通信装置に送信する制 御を行うようにすることができる。
[0015] コマンドまたはレスポンスに格納される 1以上のデータ群のそれぞれに含まれる情 報により特定される 1種類以上の能力のうちの 1種類は、通信装置または他の通信装 置が出力する電磁波の電力の制御を行う能力であるようにすることができる。
[0016] 本発明の通信方法は、 1以上のコマンド、および、 1以上のレスポンスが少なくとも 規定されて 、る通信プロトコルに従って、通信相手である他の通信装置と通信を行う 通信装置の通信方法であって、データを送受信する複数の装置のそれぞれにぉ 、 て、電磁波を出力し、その電磁波を変調することによりデータの送信を行う通信モー ドであるアクティブモードと、複数の装置のうちの 1の装置において、電磁波を出力し 、その電磁波を変調することによりデータの送信を行うとともに、複数の装置のうちの 他の装置において、 1の装置が出力する電磁波を負荷変調することによりデータの送 信を行う通信モードであるパッシブモードとのうちのいずれかの通信モードで通信を 行うこと、 1以上のコマンド、および、 1以上のレスポンスが少なくとも規定されている通 信プロトコルに従って、通信相手である他の通信装置と通信を行い、通信装置自身 または他の通信装置が有する所定の 1種類の能力に関連する情報を 1以上含むデ 一タ群を能力の種類毎にそれぞれ生成し、生成された 1以上のデータ群を、通信プ ロトコルで規定されている 1以上のコマンドおよび 1以上のレスポンスのうちの所定の 1 つに格納させて、他の通信装置に送信する制御を行うことを特徴とする。
[0017] 本発明のプログラムは、データを送受信する複数の装置のそれぞれにおいて、電 磁波を出力し、その電磁波を変調することによりデータの送信を行う通信モードであ るアクティブモードと、複数の装置のうちの 1の装置において、電磁波を出力し、その 電磁波を変調することによりデータの送信を行うとともに、複数の装置のうちの他の装 置において、 1の装置が出力する電磁波を負荷変調することによりデータの送信を行 う通信モードであるパッシブモードとのうちのいずれかの通信モードで通信を行うこと
、 1以上のコマンド、および、 1以上のレスポンスが少なくとも規定されている通信プロ トコルに従って、通信相手である他の通信装置と通信を行う通信装置を制御するコン ピュータに実行させるプログラムであって、通信装置自身または他の通信装置が有 する所定の 1種類の能力に関連する情報を 1以上含むデータ群を能力の種類毎に それぞれ生成し、生成された 1以上のデータ群を、通信プロトコルで規定されている 1 以上のコマンドおよび 1以上のレスポンスのうちの所定の 1つに格納させて、他の通 信装置に送信する制御を行う制御ステップを含むことを特徴とする。
[0018] 本発明の通信装置および通信方法並びにプログラムにおいては、データを送受信 する複数の装置のそれぞれにおいて、電磁波を出力し、その電磁波を変調すること によりデータの送信を行う通信モードであるアクティブモードと、複数の装置のうちの
1の装置において、電磁波を出力し、その電磁波を変調することによりデータの送信 を行うとともに、複数の装置のうちの他の装置において、 1の装置が出力する電磁波 を負荷変調することによりデータの送信を行う通信モードであるパッシブモードとのう ちのいずれかの通信モードで通信が行われ、また、 1以上のコマンド、および、 1以上 のレスポンスが少なくとも規定されている通信プロトコルに従って、通信装置と、その 通信相手である他の通信装置との間で通信が行われる。詳細には、通信装置自身ま たは他の通信装置が有する所定の 1種類の能力に関連する情報を 1以上含むデー タ群が能力の種類毎にそれぞれ生成され、生成された 1以上のデータ群が、通信プ ロトコルで規定されている 1以上のコマンドおよび 1以上のレスポンスのうちの所定の 1 つに格納されて、他の通信装置に送信される。
発明の効果
[0019] 本発明によれば、通信装置が、他の通信装置と近接通信を行うことが可能になる。
特に、近接通信を行う通信装置が本来有している能力を十分に発揮することが可能 になる。 図面の簡単な説明
[図 1]本発明を適用した通信システムの一実施の形態の構成例を示す図である。
[図 2]パッシブモードを説明する図である。
[図 3]アクティブモードを説明する図である。
[図 4]NFC通信装置 1の構成例を示すブロック図である。
[図 5]初期 RFCA処理を説明するタイミングチャートである。
[図 6]アクティブ RFCA処理を説明するタイミングチャートである。
[図 7]SDD処理を説明する図である。
[図 8]コマンドとレスポンスの一覧を示す図である。
[図 9]NFC通信装置が行う一般的な初期化と SDDを説明するためのフローチャート である。
[図 10]パッシブモードにおけるアクティベーションプロトコルを説明するためのフロー チャートである。
[図 11]アクティブモードにおけるアクティベーションプロトコルを説明するためのフロー チャートである。
[図 12]本発明が適用されるカプセルの構造例を説明する図である。
[図 13]コマンド ATR_REQの構造を説明する図である。
[図 14]コマンド ATR_REQのフィールド BSiの構造を説明する図である。
[図 15]コマンド ATR_REQのフィールド BSほたはフィールド BRiに設定可能な伝送レー トを説明する図である。
[図 16]コマンド ATR_REQのフィールド PPiの構造を説明する図である。
[図 17]コマンド ATR_REQのフィールド PPiのビット bit4に設定可能な情報 LRiを説明す る図である。
[図 18]コマンド ATR_REQのフィールド PPiのビット bit4に設定可能な情報 LRiを説明す る他の図である。
[図 19]レスポンス ATR_RESの構造を説明する図である。
[図 20]イニシエータ側の ATR_REQ送信処理を説明するためのフローチャートである。
[図 21]ターゲット側の ATR_REQ受信処理を説明するためのフローチャートである。 [図 22]イニシエータ側の ATR_RES受信処理を説明するためのフローチャートである。 符号の説明
[0021] 1乃至 3 NFC通信装置, 11アンテナ, 12受信部, 13復調部, 14デコード部,
15データ処理部, 16エンコード部, 17選択部, 18電磁波出力部, 19変調 部, 20負荷変調部, 21制御部, 21A CPU, 21B EEPROM, 22電源部, 51 カプセノレ, 61乃至 65フィーノレド
発明を実施するための最良の形態
[0022] 以下、図面を参照して、本発明の実施の形態について説明する。
[0023] 図 1は、本発明を適用した通信システム (システムとは、複数の装置が論理的に結 合したもの物を 、、各構成の装置が同一筐体中にあるか否かは問わな 、)の一実 施の形態の構成例を示して!/ヽる。
[0024] 図 1においては、通信システムは、 3つの NFC通信装置 1, 2, 3力も構成されている 。 NFC通信装置 1乃至 3それぞれは、他の NFC通信装置との間で、単一の周波数の 搬送波を使用した、電磁誘導による近接通信 (NFC(Near Field Communication))を 行うことができるようになって!/ヽる。
[0025] ここで、 NFC通信装置 1乃至 3が使用する搬送波の周波数としては、例えば、 ISM(In dustrial Scientific Medical)バンドの 13.56MHzなどを採用することができる。
[0026] また、近接通信とは、通信する装置どうしの距離が、数 10cm以内となって可能となる 通信を意味し、通信する装置どうし (の筐体)が接触して行う通信も含まれる。
[0027] なお、図 1の通信システムは、 NFC通信装置 1乃至 3のうちの 1以上をリーダ Zライタ とするとともに、他の 1以上を ICカードとする ICカードシステムとして採用することがで きることは勿論、 NFC通信装置 1乃至 3それぞれを、 PDA(Personal Digital Assistant) 、 PC (Personal Computer)、携帯電話、腕時計、ペン等の通信システムとして採用す ることも可能である。即ち、 NFC通信装置 1乃至 3は、近接通信を行う装置であり、 IC カードシステムの ICカードやリーダ Zライタなどに限定されるものではない。
[0028] NFC通信装置 1乃至 3は、 2つの通信モードによる通信が可能である。 2つの通信 モードとしては、ノッシブモードとアクティブモードとがある。いま、 NFC通信装置 1乃 至 3のうちの、例えば、 NFC通信装置 1と 2の間の通信に注目すると、パッシブモード では、上述した従来の ICカードシステムと同様に、 NFC通信装置 1と 2のうちの一方の NFC通信装置である、例えば、 NFC通信装置 1は、自身が発生する電磁波(に対応 する搬送波)を変調することにより、他方の NFC通信装置である NFC通信装置 2にデ ータを送信し、 NFC通信装置 2は、 NFC通信装置 1が発生する電磁波(に対応する搬 送波)を負荷変調することにより、 NFC通信装置 1にデータを送信する。
[0029] 一方、アクティブモードでは、 NFC通信装置 1と 2のいずれも、自身が発生する電磁 波(に対応する搬送波)を変調することにより、データを送信する。
[0030] ここで、電磁誘導による近接通信を行う場合、最初に電磁波を出力して通信を開始 し、いわば通信の主導権を握る装置を、イニシエータと呼ぶ。イニシエータは、通信 相手にコマンドを送信し、その通信相手は、そのコマンドに対するレスポンスを返す 形で、近接通信が行われる力 イニシエータからのコマンドに対するレスポンスを返 す通信相手を、ターゲットと呼ぶ。
[0031] 例えば、いま、 NFC通信装置 1が電磁波の出力を開始して、 NFC通信装置 2との通 信を開始したとすると、図 2および図 3に示すように、 NFC通信装置 1がイニシエータと なり、 NFC通信装置 2がターゲットとなる。
[0032] そして、パッシブモードでは、図 2に示すように、イニシエータである NFC通信装置 1 が電磁波を出力し続け、 NFC通信装置 1は、自身が出力している電磁波を変調する ことにより、ターゲットである NFC通信装置 2に、データを送信するとともに、 NFC通信 装置 2は、イニシエータである NFC通信装置 1が出力している電磁波を負荷変調する ことにより、 NFC通信装置 1に、データを送信する。
[0033] 一方、アクティブモードでは、図 3に示すように、イニシエータである NFC通信装置 1 は、自身がデータを送信する場合に、自身で電磁波の出力を開始し、その電磁波を 変調することにより、ターゲットである NFC通信装置 2に、データを送信する。そして、 NFC通信装置 1は、データの送信終了後は、電磁波の出力を停止する。ターゲットで ある NFC通信装置 2も、自身がデータを送信する場合に、自身で電磁波の出力を開 始し、その電磁波を変調することにより、ターゲットである NFC通信装置 2に、データを 送信する。そして、 NFC通信装置 2は、データの送信終了後は、電磁波の出力を停 止する。 [0034] なお、図 1では、 3つの NFC通信装置 1乃至 3によって、通信システムが構成されて いるが、通信システムを構成する NFC通信装置は、 3つに限定されるものではなぐ 2 または 4以上であっても良い。さらに、通信システムは、 NFC通信装置の他、例えば、 従来の ICカードシステムを構成する ICカードやリーダ Zライタなどを含めて構成する ことも可能である。
[0035] 次に、図 4は、図 1の NFC通信装置 1の構成例を示している。なお、図 1の他の NFC 通信装置 2および 3も、図 4の NFC通信装置 1と同様に構成されるため、その説明は、 省略する。
[0036] アンテナ 11は、閉ループのコイルを構成しており、このコイルに流れる電流が変化 することで、電磁波を出力する。また、アンテナ 11としてのコイルを通る磁束が変化す ることで、アンテナ 11に電流が流れる。
[0037] 受信部 12は、アンテナ 11に流れる電流を受信し、同調と検波を行い、復調部 13に 出力する。復調部 13は、受信部 12から供給される信号を復調し、デコード部 14に供 給する。デコード部 14は、復調部 13から供給される信号としての、例えばマンチェス タ符号などをデコードし、そのデコードの結果得られるデータを、データ処理部 15に 供給する。
[0038] データ処理部 15は、デコード部 14から供給されるデータに基づき、所定の処理を 行う。また、データ処理部 15は、他の装置に送信すべきデータを、エンコード部 16に 供給する。
[0039] エンコード部 16は、データ処理部 15から供給されるデータを、例えば、マンチェス タ符号などにエンコードし、選択部 17に供給する。選択部 17は、変調部 19または負 荷変調部 20のうちのいずれか一方を選択し、その選択した方に、エンコード部 16か ら供給される信号を出力する。
[0040] ここで、選択部 17は、制御部 21の制御にしたがって、変調部 19または負荷変調部 20を選択する。制御部 21は、通信モードがパッシブモードであり、 NFC通信装置 1が ターゲットとなっている場合は、選択部 17に負荷変調部 20を選択させる。また、制御 部 21は、通信モードがアクティブモードである場合、または通信モードがパッシブモ ードであり、かつ、 NFC通信装置 1がイニシエータとなっている場合は、選択部 17に 変調部 19を選択させる。従って、エンコード部 16が出力する信号は、通信モードが パッシブモードであり、 NFC通信装置 1がターゲットとなっているケースでは、選択部 1 7を介して、負荷変調部 20に供給されるが、他のケースでは、選択部 17を介して、変 調部 19に供給される。
[0041] 電磁波出力部 18は、アンテナ 11から、所定の単一の周波数の搬送波(の電磁波) を放射させるための電流を、アンテナ 11に流す。変調部 19は、電磁波出力部 18が アンテナ 11に流す電流としての搬送波を、選択部 17から供給される信号にしたがつ て変調する。これにより、アンテナ 11からは、データ処理部 15がエンコード部 16に出 力したデータにしたがって搬送波を変調した電磁波が放射される。
[0042] 負荷変調部 20は、外部からアンテナ 11としてのコイルを見たときのインピーダンス を、選択部 17から供給される信号にしたがって変化させる。他の装置が搬送波として の電磁波を出力することにより、アンテナ 11の周囲に RFフィールド (磁界)が形成され ている場合、アンテナ 11としてのコイルを見たときのインピーダンスが変化することに より、アンテナ 11の周囲の RFフィールドも変化する。これにより、他の装置が出力して いる電磁波としての搬送波が、選択部 17から供給される信号にしたがって変調 (負 荷変調)され、データ処理部 15がエンコード部 16に出力したデータが、電磁波を出 力して 、る他の装置に送信される。
[0043] ここで、変調部 19および負荷変調部 20における変調方式としては、例えば、振幅 変調 (ASK(Amplitude Shift Keying))を採用することができる。但し、変調部 19および 負荷変調部 20における変調方式は、 ASKに限定されるものではなぐ PSK(Phase Shif t Keying)や QAM(Quadrature Amplitude Modulation)その他を採用することが可能で ある。また、振幅の変調度についても 8%から 30%、 50%、 100%等数値に限定される ことはなぐ好適なものを選択すれば良い。
[0044] 制御部 21は、 NFC通信装置 1を構成する各ブロックの制御等を行う。即ち、制御部 21は、例えば、 CPU(Central Processing Unit)21Aや、 EEPROM(Electrically and Era sable Programmable Read Only Memory)21B、その他図示せぬ RAM(Random Acces s Memory)などで構成される。 CPU21Aは、 EEPROM21Bに記憶されているプログラ ムを実行し、これにより、 NFC通信装置 1を構成する各ブロックの制御、その他の各種 の処理を行う。 EEPROM21Bは、 CPU21Aが実行すべきプログラムや、 CPU21Aの 動作上必要なデータを記憶する。
[0045] なお、 CPU21Aがプログラムを実行することにより行う一連の処理は、 CPU21Aに 代えて専用のハードウェアを設けて、その専用のハードウェアによって行うことが可能 である。また、 CPU21Aに実行させるプログラムは、 EEPROM21Bにあらかじめインス トールしておく他、フレキシブルディスク、 CD- ROM(Compact Disc Read Only Memor y), MO(Magneto Optical)ディスク, DVD(Digital Versatile Disc),磁気ディスク、半導 体メモリなどのリムーバブル記録媒体に、一時的あるいは永続的に格納 (記録)し、い わゆるパッケージソフトウェアとして提供することができる。さらに、プログラムは、近接 通信によって、 NFC通信装置 1に送信し、 EEPROM21Bにインストールすることができ る。
[0046] 電源部 22は、 NFC通信装置 1を構成する各ブロックに、必要な電源を供給する。な お、図 4では、制御部 21が NFC通信装置 1を構成する各ブロックを制御することを表 す線の図示と、電源部 22が NFC通信装置 1を構成する各ブロックに電源を供給する ことを表す線の図示は、図が煩雑になるため、省略してある。また、電源部 22は、電 池 (バッテリ)を内蔵していても良いし、電池を内蔵せずに、アンテナ 11に流れる電流 力も電源となる電力を得るものであっても良い。但し、後者の場合には、 NFC通信装 置 1は、パッシブモードのターゲットとしてのみ動作する。
[0047] ここで、上述の場合には、デコード部 14およびエンコード部 16において、マンチェ スタ符号を処理するようにした力 デコード部 14およびエンコード部 16では、マンチ エスタ符号だけでなぐ例えば、モディファイドミラーや、 NRZ(Non Return to Zero)な どの複数種類の符号の中から 1つを選択して処理するようにすることが可能である。
[0048] 次に、 NFC通信装置 1乃至 3は、いずれも、最初に電磁波を出力して通信を開始す るイニシエータになり得る。さらに、アクティブモードでは、 NFC通信装置 1乃至 3は、 イニシエータとなる場合でも、ターゲットとなる場合でも、自身で電磁波を出力する。
[0049] 従って、 NFC通信装置 1乃至 3が近接している状態で、そのうちの 2以上が同時に 電磁波を出力した場合には、コリジョン (collision)が生じ、通信を行うことができなくな る。 [0050] そこで、 NFC通信装置 1乃至 3それぞれは、他の装置からの電磁波(による RFフィ 一ルド)が存在するかどうかを検出し、存在しない場合にのみ、電磁波の出力を開始 し、これにより、コリジョンを防止するようになっている。ここで、このように、他の装置か らの電磁波が存在するかどうかを検出し、存在しない場合にのみ、電磁波の出力を 開始する処理を、コリジョンを防止するという目的から、 RFCA(RF Collision Avoidance )処理という。
[0051] RFCA処理には、イニシエータとなろうとする NFC通信装置(図 1では、 NFC通信装 置 1乃至 3のうちの 1以上)が最初に行う初期 RFCA処理と、アクティブモードでの通信 中において、電磁波の出力を開始する NFC通信装置が、その開始をしょうとするごと に行うレスポンス RFCA処理との 2つがある。初期 RFCA処理であっても、レスポンス RF CA処理であっても、電磁波の出力を開始する前に、他の装置による電磁波が存在 するかどうかを検出し、存在しない場合にのみ、電磁波の出力を開始するという点は 同一である。但し、初期 RFCA処理とレスポンス RFCA処理とでは、他の装置による電 磁波の存在が検出されなくなつてから、電磁波の出力を開始しなければならないタイ ミングまでの時間等が異なる。
[0052] そこで、まず図 5を参照して、初期 RFCA処理について説明する。
[0053] 図 5は、初期 RFCA処理によって出力が開始される電磁波を示している。なお、図 5 において (後述する図 6も同様)、横軸は時間を表し、縦軸は、 NFC通信装置が出力 する電磁波のレベルを表す。
[0054] イニシエータとなろうとする NFC通信装置は、常時、他の装置による電磁波の検出 を行っており、他の装置による電磁波力 時間 T +n XT だけ連続して検出され
IDT FW
な力つた場合、電磁波の出力を開始し、その出力から時間 Τ だけ経過した後に、
I FG
データ(コマンドを含む)の送信 (Send Request)を開始する。
[0055] ここで、時間 T +n XT における Τ は、初期遅延時間と呼ばれ、搬送波の周
IDT RFW IDT
波数を fで表すこととすると、例えば、 4096/fより大の値が採用される。 nは、例え ば、 0以上 3以下の整数で、乱数を用いて生成される。 T は、 RF待ち時間と呼ばれ
RFW
、例えば、 512/fが採用される。時間 T は、初期ガードタイムと呼ばれ、例えば、
c IRFG
5msより大の値が採用される。 [0056] なお、電磁波が検出されてはならない時間 T +ηΧΤ 〖こ、乱数である ηを採用
IDT RFW
することにより、複数の NFC通信装置が同一のタイミングで、電磁波の出力を開始し てしまう可能性の低減が図られて 、る。
[0057] NFC通信装置力 初期 RFCA処理によって、電磁波の出力を開始した場合、その Ν FC通信装置は、イニシエータとなる力 その際、通信モードとして、アクティブモード が設定されたときには、イニシエータとなった NFC通信装置は、自身のデータの送信 を終了した後、電磁波の出力を停止する。一方、通信モードとして、パッシブモード が設定されたときには、イニシエータとなった NFC通信装置は、ターゲットとの通信が 完全に完了するまで、初期 RFCA処理によって開始した電磁波の出力を、そのまま続 行する。
[0058] 次に、図 6は、レスポンス RFCA処理によって出力が開始される電磁波を示している
[0059] アクティブモードにおいて電磁波を出力しょうとする NFC通信装置は、他の装置に よる電磁波の検出を行い、他の装置による電磁波力 時間 T +n XT だけ連続
ADT FW
して検出されな力つた場合、電磁波の出力を開始し、その出力から時間 Τ だけ経
ARFG
過した後に、データの送信 (Send Responsese)を開始する。
[0060] ここで、時間 T +n XT 〖こおける ηと Τ は、図 5の初期 RFCA処理における場
ADT RFW RFW
合と同一のものである。また、時間 T +nXT における Τ は、アクティブディレ
ADT RFW ADT
ィタイムと呼ばれ、例えば、 768/f
c以上 2559Zf
c以下の値が採用される。時間 T
ARF
は、アクティブガードタイムと呼ばれ、例えば、 1024/fより大の値が採用される。
G c
[0061] 図 5と図 6から明らかなように、初期 RFCA処理によって電磁波の出力を開始するに は、少なくとも初期遅延時間 T の間、電磁波が存在してはならず、レスポンス RFCA
IDT
処理によって電磁波の出力を開始するには、少なくともアクティブディレイタイム τ
ADT
の間、電磁波が存在してはならない。
[0062] そして、初期遅延時間 T は、 4096/fより大の値であるのに対して、アクティブデ
IDT c
ィレイタイム T は、 768/f以上 2559Zf以下の値であることから、 NFC通信装置
ADT c c
がイニシエータになろうとする場合には、アクティブモードでの通信中にお 、て電磁 波を出力しょうとする場合よりも、電磁波が存在しない状態が長時間必要である。逆 に言えば、 NFC通信装置がアクティブモードでの通信中において電磁波を出力しょう とする場合には、イニシエータになろうとする場合よりも、電磁波が存在しない状態に なつてから、それほど間をおかずに、電磁波を出力しなければならない。これは、次 のような理由による。
[0063] 即ち、 NFC通信装置がアクティブモードで通信を行う場合、一方の NFC通信装置は 、 自身で電磁波を出力してデータを送信し、その後、電磁波の出力を停止する。そし て、他方の NFC通信装置が電磁波の出力を開始し、データを送信する。従って、ァク ティブモードの通信では、いずれの NFC通信装置も、電磁波の出力を停止しているこ とがある。このため、 NFC通信装置がイニシエータになろうとする場合には、その NFC 通信装置の周囲でアクティブモードの通信が行われて ヽな 、ことを確認するために、 イニシエータになろうとしている NFC通信装置の周囲で、他の装置が電磁波を出力し て!、な 、ことを、十分な時間確認する必要がある。
[0064] これに対して、アクティブモードでは、上述したように、イニシエータが電磁波を出力 することにより、ターゲットにデータを送信する。そして、ターゲットは、イニシエータが 電磁波の出力を停止してから、電磁波の出力を開始することにより、イニシエータに データを送信する。その後、イニシエータは、ターゲットが電磁波の出力を停止して から、電磁波の出力を開始することにより、イニシエータにデータを送信し、以下、同 様にして、イニシエータとターゲットの間でデータがやりとりされる。
[0065] 従って、アクティブモードの通信を行っているイニシエータとターゲットの周囲に、ィ ユシェータとなろうとする NFC通信装置が存在する場合に、アクティブモードの通信 を行っているイニシエータとターゲットのうちの一方が電磁波の出力を停止してから、 他方が電磁波の出力を開始するまでの時間が長いと、その間は電磁波が存在しない ため、イニシエータとなろうとする NFC通信装置力 初期 RFCA処理によって電磁波 の出力を開始する。
この場合、先に行われていたアクティブモードの通信が妨げられることになる。
[0066] このため、アクティブモードの通信中に行われるレスポンス RFCA処理では、電磁波 が存在しない状態になつてから、それほど間をおかずに、電磁波を出力しなければ ならないようにしている。 [0067] 次に、イニシエータになろうとする NFC通信装置は、図 5で説明したように、初期 RF CA処理によって電磁波の出力を開始し、その後、データの送信を行う。イニシエータ になろうとする NFC通信装置は、電磁波の出力を開始することで、イニシエータとなり 、そのイニシエータに近接する位置に存在する NFC通信装置はターゲットとなるが、 イニシエータが、ターゲットとデータのやりとりをするには、そのデータをやりとりするタ 一ゲットを特定しなければならない。このため、イニシエータは、初期 RFCA処理によ つて電磁波の出力を開始した後に、そのイニシエータに近接する位置に存在する 1 以上のターゲットに対して、各ターゲットを特定する情報としての、例えば、乱数など によって決定される NFCID(NFC Identification)を要求する。そして、イニシエータに 近接する位置に存在するターゲットは、イニシエータ力もの要求に応じて、自身を特 定する NFCIDを、イニシエータに送信する。
[0068] イニシエータは、以上のようにしてターゲットから送信されてくる NFCIDによってター ゲットを特定し、その特定したターゲットとの間で、データのやりとりを行う。
[0069] アクティブモードでは、イニシエータが、後述するコマンド(リクエスト) ATR_REQを、 そこに自身を特定する NFCIDを含めて送信し、その ATR_REQに対して、 1のターゲッ ト力 コマンド ATR_REQに対する後述するレスポンス ATR_RESを、そこに自身を特定 する NFCIDを含めて返す (送信する)ことにより、イニシエータとターゲットとが、互い の NFCIDを認識し、互いを特定する。
[0070] 一方、パッシブモードでは、イニシエータは、 SDD(Single Device Detection)処理と 呼ばれる処理を行うことによって、その周囲(近接する位置)に存在するターゲットを、 その NFCIDによって特定する。
[0071] ここで、 SDD処理にお!、て、イニシエータは、ターゲットの NFCIDを要求する力 こ の要求は、イニシエータが、ポーリングリクエストフレームと呼ばれるフレームを送信す ることによって行われる。ターゲットは、ポーリングリクエストフレームを受信すると、例 えば、 自身の NFCIDを乱数によって決定し、その NFCIDを配置したポーリングレスポ ンスフレームと呼ばれるフレームを送信する。イニシエータは、ターゲットから送信さ れてくるポーリングレスポンスフレームを受信することで、ターゲットの NFCIDを認識す る。 [0072] ところで、ノ ッシブモードのターゲットは、負荷変調によりデータを送信するから、 RF CA処理を行わない。従って、 SDD処理において、イニシエータが、その周囲のターゲ ットに対して、その NFCIDを要求した場合、イニシエータの周囲に、複数のターゲット が存在するときには、その複数のターゲットの 2以上から、同時に、 NFCIDが送信され てくることがあり得る。この場合、その 2以上のターゲットから送信されてくる NFCIDが コリジョンし、イニシエータは、そのコリジョンした NFCIDを認識することができない。
[0073] そこで、 SDD処理は、 NFCIDのコリジョンをなるベく避けるために、例えば、タイムス ロットを用いた方法で行われる。
[0074] 即ち、図 7は、タイムスロットを用いた方法により行われる SDD処理のシーケンスを示 している。なお、図 7では、イニシエータの周囲に、 5つのターゲット # 1, # 2, # 3, # 4, # 5が存在するものとしてある。
[0075] SDD処理では、イニシエータがポーリングリクエストフレームを送信する力 その送 信の完了後、所定の時間 Tだけおいて、所定の時間 Tの幅のタイムスロットが設けら
d s
れる。なお、時間 Tは、例えば、 512 X 64/f とされ、タイムスロットの幅としての時間
d c
Tは、例えば、 256 X 64/f とされる。また、タイムスロットは、例えば、時間的に最も s c
先行するものから、 0からのシーケンシャルな番号 (整数)が付されることによって特定 される。
[0076] ここで、図 7では、タイムスロット # 0, # 1, # 2, # 3の 4つを示してあるが、タイムス ロットは、例えば、 16まで設けることが可能である。あるポーリングリクエストフレームに 対して設けられるタイムスロットの数 TSNは、イニシエータが指定し、ポーリングリクエス トフレームに含められて、ターゲットに送信される。
[0077] ターゲットは、イニシエータ力 送信されてくるポーリングリクエストフレームを受信し 、そのポーリングリクエストフレームに配置されているタイムスロットの数 TSNを認識す る。さらに、ターゲットは、 0以上 TSN— 1の範囲の整数 Rを、乱数により生成し、その 整数 Rによって特定されるタイムスロット # Rのタイミングで、 自身の NFCIDを配置した ポーリングレスポンスフレームを送信する。
[0078] 以上のように、ターゲットは、ポーリングレスポンスフレームを送信するタイミングとし てのタイムスロットを、乱数により決定するので、複数のターゲットがポーリングレスポ ンスフレームを送信するタイミングがばらつくこととなり、これにより、複数のターゲット が送信するポーリングレスポンスフレームどうしのコリジョンをなるベく避けることができ る。
[0079] なお、ターゲットにおいて、ポーリングレスポンスフレームを送信するタイミングとして のタイムスロットを、乱数により決定しても、複数のターゲットがポーリングレスポンスフ レームを送信するタイムスロットが一致し、これにより、ポーリングレスポンスフレームの コリジョンが生じる場合がある。図 7の実施の形態では、タイムスロット # 0において、タ 一ゲット # 4のポーリングレスポンスフレーム力 タイムスロット # 1において、ターゲッ ト # 1と # 3のポーリングレスポンスフレームが、タイムスロット # 2において、ターゲット # 5のポーリングレスポンスフレームが、タイムスロット # 3において、ターゲット # 2の ポーリングレスポンスフレームが、それぞれ送信されており、ターゲット # 1と # 3のポ 一リングレスポンスフレームがコリジョンを生じている。
[0080] この場合、イニシエータは、コリジョンを生じているターゲット # 1と # 3のポーリング レスポンスフレームを正常に受信することができない。そのため、イニシエータは、再 度、ポーリングリクエストフレームを送信し、これにより、ターゲット # 1と # 3に対して、 それぞれの NFCIDが配置されたポーリングレスポンスフレームの送信を要求する。以 下、イニシエータにおいて、その周囲にあるターゲット # 1乃至 # 5すべての NFCIDを 認識することができるまで、イニシエータによるポーリングリクエストフレームの送信と、 ターゲットによるポーリングレスポンスフレームの送信とが繰り返し行われる。
[0081] なお、イニシエータが、ポーリングリクエストフレームを再度送信した場合に、すべて のターゲット # 1乃至 # 5力 ポーリングレスポンスフレームを返すこととすると、再び、 ポーリングレスポンスフレームどうしがコリジョンを起こす可能性がある。そこで、ターゲ ットにおいては、イニシエータ力 ポーリングリクエストフレームを受信した後、それほ ど時間をおかずに、ポーリングリクエストフレームを再度受信した場合には、例えば、 そのポーリングリクエストを無視するようにすることができる。但し、この場合、図 7の実 施の形態では、最初に送信されたポーリングリクエストフレームに対して、ポーリング レスポンスのコリジョンを生じているターゲット # 1と # 3については、イニシエータは、 そのターゲット # 1と # 3の NFCIDを認識することができないので、ターゲット # 1また は # 3との間でのデータのやりとりは、できないことになる。
[0082] そこで、イニシエータが、ポーリングレスポンスフレームを正常に受信し、その NFCI Dを認識することができたターゲット # 2, # 4, # 5については、通信対象から一時的 にはずし (ディセレクト状態にし)、これにより、ポーリングリクエストフレームに対する応 答としてのポーリングレスポンスフレームを返さな 、ようにすることができる。この場合 、イニシエータが送信する再度のポーリングリクエストフレームに対して、ポーリングレ スポンスフレームを返してくるのは、最初のポーリングリクエストフレームの送信によつ て NFCIDを認識することができな力つたターゲット # 1と # 3だけとなる。従って、この 場合、ポーリングレスポンスフレームどうしがコリジョンを起こす可能性を小さくしながら 、ターゲット # 1乃至 # 5すべての NFCIDを認識することが可能となる。
[0083] また、ここでは、ターゲットは、上述したように、ポーリングリクエストフレームを受信す ると、自身の NFCIDを、乱数によって決定(生成)する。このため、異なるターゲットか ら、同一の NFCIDがポーリングレスポンスフレームに配置されて、イニシエータに送信 されてくる場合があり得る。イニシエータにおいて、異なるタイムスロットにおいて、同 一の NFCIDが配置されたポーリングレスポンスフレームが受信された場合、ィユシェ ータには、例えば、ポーリングレスポンスフレームどうしがコリジョンを起こした場合と同 様に、ポーリングリクエストフレームを再度送信させることができる。
[0084] ここで、上述したように、 NFC通信装置は、既存の ICカードシステムを構成する IC力 ードゃリーダ Zライタとの間でも、その ICカードやリーダ Zライタが採用している伝送 レートで、データのやりとりを行うことができる。いま、ターゲットが、例えば、既存の カードシステムの ICカードである場合、 SDD処理は、例えば、次のようにして行われる
[0085] 即ち、イニシエータは、初期 RFCA処理により、電磁波の出力を開始し、ターゲット である ICカードは、その電磁波カゝら電源を得て、処理を開始する。つまり、いまの場 合、ターゲットは、既存の ICカードシステムの ICカードであるから、動作するための電 源を、イニシエータが出力する電磁波から生成する。
[0086] ターゲットは、電源を得て、動作可能な状態になつてから、例えば、最長でも 2秒以 内に、ポーリングリクエストフレームを受信する準備を行い、イニシエータからポーリン グリクエストフレームが送信されてくるのを待つ。
[0087] 一方、イニシエータは、ターゲットにおいてポーリングリクエストフレームを受信する 準備が整った力どうかに関係なぐポーリングリクエストフレームを送信することができ る。
[0088] ターゲットは、イニシエータからのポーリングリクエストフレームを受信した場合、上 述したように、所定のタイムスロットのタイミングで、ポーリングレスポンスフレームを、ィ ニシエータに送信する。イニシエータは、ターゲットからのポーリングレスポンスフレー ムを正常受信することができた場合、上述したように、そのターゲットの NFCIDを認識 する。一方、イニシエータは、ターゲットからのポーリングレスポンスフレームを正常受 信することができな力つた場合、ポーリングリクエストフレームを、再度送信することが できる。
[0089] なお、いまの場合、ターゲットは、既存の ICカードシステムの ICカードであるから、動 作するための電源を、イニシエータが出力する電磁波から生成する。このため、ィ- シエータは、初期 RFCA処理によって開始した電磁波の出力を、ターゲットとの通信 が完全に終了するまで続行する。
[0090] 次に、 NFC通信装置では、イニシエータがターゲットにコマンドを送信し、ターゲット 力 イニシエータ力 のコマンドに対するレスポンスを送信する(返す)ことで、通信が 行われる。
[0091] そこで、図 8は、イニシエータがターゲットに送信するコマンドと、ターゲットがィ-シ エータに送信するレスポンスとを示している。
[0092] 図 8において、アンダーバー〇の後に REQの文字が記述されているものは、コマン ドを表し、アンダーバー〇の後に RESの文字が記述されているものは、レスポンスを表 す。図 8の実施の形態では、コマンドとして、 ATR_REQ, WUP.REQ, PSL.REQ, DEP_ REQ, DSL.REQ, RLS_REQの 6種類が用意されており、コマンドに対するレスポンスと しても、コマンドと同様に、 ATR— RES, WUP— RES, PSL— RES, DEP— RES, DSL— RES, RL S_RESの 6種類が用意されている。上述したように、イニシエータは、コマンド(リクエス ト)をターゲットに送信し、ターゲットは、そのコマンドに対応するレスポンスをィユシェ ータに送信するので、コマンドは、イニシエータによって送信され、レスポンスは、ター ゲットによって送信される。
[0093] コマンド ATR_REQは、イニシエータが、ターゲットに対して、自身の属性 (仕様)を知 らせるとともに、ターゲットの属性を要求するときに、ターゲットに送信される。ここで、 イニシエータまたはターゲットの属性としては、そのイニシエータまたはターゲットが送 受信することのできるデータの伝送レートなどがある。なお、コマンド ATR_REQには、 イニシエータの属性の他、そのイニシエータを特定する NFCIDなどが配置され、ター ゲットは、コマンド ATR_REQを受信することにより、イニシエータの属性と NFCIDを認 識する。
[0094] レスポンス ATR_RESは、ターゲットが、コマンド ATR_REQを受信した場合に、そのコ マンド ATR_REQに対する応答として、イニシエータに送信される。レスポンス ATR_RE Sには、ターゲットの属性や NFCIDなどが配置される。
[0095] なお、コマンド ATR_REQやレスポンス ATR_RESに配置される属性としての伝送レー トの情報には、イニシエータやターゲットが送受信することのできるデータの伝送レー トすべてを含めることができる。この場合、イニシエータとターゲットとの間で、コマンド ATR_REQとレスポンス ATR_RESのやりとりが 1度行われるだけで、イニシエータは、タ 一ゲットが送受信可能な伝送レートを認識することができ、ターゲットも、イニシエータ が送受信可能な伝送レートを認識することができる。
[0096] コマンド WUP_REQは、イニシエータが、通信するターゲットを選択するときに送信さ れる。即ち、後述するコマンド DSL_REQを、イニシエータ力もターゲットに送信すること により、ターゲットを、ディセレクト (deselect)状態(イニシエータへのデータの送信(レ スポンス)を禁止した状態)とすることができるが、コマンド WUP_REQは、そのディセレ タト状態を解いて、ターゲットを、イニシエータへのデータの送信を可能にする状態と する場合に送信される。なお、コマンド WUP_REQには、ディセレクト状態を解くターゲ ットの NFCIDが配置され、コマンド WUP_REQを受信したターゲットのうち、そのコマン ド WUP_REQに配置されている NFCIDによって特定されるターゲットが、ディセレクト状 態を解く。
[0097] レスポンス WUP_RESは、コマンド WUP_REQを受信したターゲットのうち、そのコマン ド WUP_REQに配置されている NFCIDによって特定されるターゲットが、ディセレクト状 態を解いた場合にコマンド WUP_REQに対する応答として送信される。
[0098] なお、コマンド WUP_REQは、イニシエータがアクティブモード時にのみ送信し、レス ポンス WUP_RESは、ターゲットがアクティブモード時にのみ送信する。
[0099] コマンド PSL_REQは、イニシエータが、ターゲットとの通信に関する通信パラメータを 変更するときに送信される。ここで、通信パラメータとしては、例えば、イニシエータと ターゲットとの間でやりとりするデータの伝送レートなどがある。
[0100] コマンド PSL_REQには、変更後の通信パラメータの値が配置され、イニシエータから ターゲットに送信される。ターゲットは、コマンド PSL_REQを受信し、そこに配置されて いる通信パラメータの値にしたがって、通信パラメータを変更する。さらに、ターゲット は、コマンド PSL_REQに対するレスポンス PSL_RESを送信する。
[0101] コマンド DEP_REQは、イニシエータが、データ(いわゆる実データ)の送受信(ター ゲットとの間のデータ交換)を行うときに送信され、そこには、ターゲットに送信すべき データが配置される。レスポンス DEP_RESは、ターゲットが、コマンド DEP_REQに対す る応答として送信し、そこには、イニシエータに送信すべきデータが配置される。従つ て、コマンド DEP_REQによって、イニシエータからターゲットにデータが送信され、そ のコマンド DEP_REQに対するレスポンス DEP_RESによって、ターゲットからィ-シエー タにデータが送信される。
[0102] コマンド DSL_REQは、イニシエータが、ターゲットをディセレクト状態とするときに送 信される。コマンド DSL_REQを受信したターゲットは、そのコマンド DSL_REQに対する レスポンス DSL_RESを送信してディセレクト状態となり、以後、コマンド WUP_REQ以外 のコマンドには反応しなくなる(レスポンスを返さなくなる)。
[0103] コマンド RLS_REQは、イニシエータが、ターゲットとの通信を完全に終了するときに 送信される。コマンド RLS_REQを受信したターゲットは、そのコマンド RLS_REQに対す るレスポンス RLS_RESを送信し、イニシエータとの通信を完全に終了する。
[0104] ここで、コマンド DSL_REQと RLS_REQは、いずれも、ターゲットを、イニシエータとの 通信の対象力も解放する点で共通する。し力しながら、コマンド DSL_REQによって解 放されたターゲットは、コマンド WUP_REQによって、再び、イニシエータと通信可能な 状態となるが、コマンド RLS_REQによって解放されたターゲットは、イニシエータが初 期 RFCA処理力 処理をやり直さないと、イニシエータと通信可能な状態とならない。 かかる点で、コマンド DSL_REQと RLS_REQは、異なる。
[0105] 次に、 NFC通信装置の通信は、 ISO/IEC 18092として規定されて!、る NFCIP-1にし たがって行われる。
[0106] そこで、図 9乃至図 11を参照して、 NFCIP-1にしたがった通信処理について説明 する。
[0107] まず、図 9は、 NFCIP-1にしたがった通信処理の概要を説明するフローチャートであ る。
[0108] まず最初に、ステップ S1において、イニシエータとなる NFC通信装置は、初期 RFC A処理を行い、ステップ S2に進む。ステップ S2では、イニシエータとなる NFC通信装 置は、ステップ S1の初期 RFCA処理により、 RFフィールドを検出したかどうかを判定 する。ステップ S2において、 RFフィールドを検出したと判定された場合、ステップ S1 に戻り、以下、同様の処理が繰り返される。即ち、イニシエータとなる NFC通信装置は 、 RFフィールドを検出している間は、その RFフィールドを形成している他の NFC通信 装置による通信の妨げとならな 、ように、 RFフィールドを形成しな 、。
[0109] 一方、ステップ S2において、 RFフィールドを検出していないと判定された場合、 NF C通信装置は、アクティブモードとパッシブモードのうちのいずれかの通信モードを選 択して、ステップ S3に進み、 NFC通信装置は、イニシエータとなって、伝送レートの 選択等を行う。
[0110] 即ち、 NFCIP-1では、例えば、 106kbpsや、 212kbps, 424kbps等の複数の伝送レー トの中から、実際の通信に使用する伝送レートを選択することが可能である。そこで、 ステップ S3では、イニシエータとなった NFC通信装置は、伝送レートの選択を行う。
[0111] 具体的には、ノ ッシブモードの通信を行う場合、ステップ S2から、ステップ S3を構 成するステップ S3— 1と S3— 2のうちのステップ S3— 1に進み、 NFC通信装置は、ィ ユシェータとなって、通信モードをパッシブモードに移行させ、伝送レートを選択する 。さらに、ステップ S3— 1では、イニシエータとなった NFC通信装置は、所定の初期化 処理と SDD処理を行!、、ステップ S4を構成するステップ S4— 1と S4— 2のうちのステ ップ S4— 1に進む。 [0112] ステップ S4— 1では、 NFC通信装置は、ノッシブモードでアクティベーション(活性 ィ匕)(起動)し、パッシブモードのターゲットとの間で、コマンド ATR_REQとレスポンス A TR_RESをやりとりして、ステップ S 5に進む。
[0113] 一方、アクティブモードの通信を行う場合、ステップ S 2から、ステップ S3を構成する ステップ S3— 1と S3— 2のうちのステップ S3— 2に進み、 NFC通信装置は、ィユシェ ータとなって、通信モードをアクティブモードに移行させ、伝送レートを選択し、ステツ プ S4を構成するステップ S4— 1と S4— 2のうちのステップ S4— 2に進む。
[0114] ステップ S4— 2では、 NFC通信装置は、アクティブモードでアクティベーションし、タ 一ゲットとの間で、コマンド ATR_REQとレスポンス ATR_RESをやりとりして、ステップ S5 に進む。
[0115] ステップ S5では、 NFC通信装置は、通信に必要な通信パラメータ(例えば、伝送レ ートなど)を、現在の通信パラメータ力も変更する必要がある場合には、その通信パラ メータを選択し、その通信パラメータ等を配置したコマンド PSL_REQとレスポンス PSL_ RESを、ターゲットとの間でやりとりして、通信パラメータを変更し、ステップ S6に進む
[0116] ステップ S6では、 NFC通信装置は、ステップ S5で選択した通信パラメータにしたが つて、コマンド DEP_REQとレスポンス DEP_RESを、ターゲットとの間でやりとりして、デ ータ交換プロトコルによるデータ交換 (通信)を行い、そのデータ交換の終了後、ステ ップ S7〖こ進む。ステップ S7では、 NFC通信装置は、コマンド DSL_REQとレスポンス D SL_RES、またはコマンド RSL_REQとレスポンス RSL_RESを、ターゲットとの間でやりとり して、ディアクティベーション (非活性化)し、トランザクションを終了する。
[0117] なお、 NFC通信装置は、例えば、デフォルトで、ターゲットとなるように設定すること ができ、ターゲットに設定されている NFC通信装置は、 RFフィールドを形成することは せず、イニシエータからコマンドが送信されてくるまで (イニシエータが RFフィールドを 形成するまで)、待ち状態となる。
[0118] また、 NFC通信装置は、例えば、アプリケーション力 の要求に応じて、ィ-シエー タとなることができる。さらに、例えば、アプリケーションでは、通信モードをアクティブ モードまたはパッシブモードのうちのいずれにする力、伝送レートを選択 (決定)する ことができる。
[0119] また、イニシエータとなった NFC通信装置は、外部に RFフィールドが形成されてい なければ、 RFフィールドを形成し、ターゲットは、イニシエータによって形成された RF フィールドによって活性ィ匕する。
[0120] その後、イニシエータは、選択された通信モードと伝送レートで、コマンドを送信し、 ターゲットは、イニシエータと同一の通信モードと伝送レートで、レスポンスを返す(送 信する)。
[0121] 次に、図 10のフローチャートを参照して、パッシブモードにおけるァクティべーショ ンプロトコルの処理(パッシブモードでのデータ交換を行うのに、 NFC通信装置で行 われる処理)を説明する。
[0122] まず最初に、ステップ S11において、イニシエータは、初期 RFCA処理を行い、ステ ップ S 12に進み、通信モードをパッシブモードとする。そして、ステップ S 13に進み、 イニシエータは、初期化処理と SDD処理を行って、伝送レートを選択する。
[0123] ここで、ステップ S11の処理が、図 9のステップ S1および S2の処理に対応し、ステツ プ S12および S13の処理が、図 9のステップ S3 (S3— 1)の処理に対応する。
[0124] その後、ステップ S14に進み、イニシエータは、ターゲットに属性を要求するかどう かを判定する。ここで、属性とは、 NFC通信装置の仕様の情報で、例えば、 NFC通信 装置が対応することができる伝送レートの情報などがある。
[0125] ステップ S14において、ターゲットに属性を要求しないと判定された場合、ステップ
S335に進み、イニシエータは、ターゲットとの通信を、独自プロトコルにしたがって行 い、ステップ S14に戻り、以下、同様の処理を繰り返す。
[0126] また、ステップ S14において、ターゲットに属性を要求すると判定された場合、ステツ プ S16〖こ進み、イニシエータは、コマンド ATR_REQを送信し、これ〖こより、ターゲットに 属性を要求する。そして、イニシエータは、ターゲットからコマンド ATR_REQに対する レスポンス ATR_RESが送信されてくるのを待って、ステップ S 17〖こ進み、そのレスポン ス ATR_RESを受信して、ステップ S 18に進む。
[0127] ここで、ステップ S16および S17の処理は、図 9のステップ S4 (S4—1)の処理に対 応する。 [0128] ステップ S18では、イニシエータは、ステップ S 17でターゲットから受信したレスポン ス ATR_RESに基づき、通信パラメータ、即ち、例えば、伝送レートを変更することがで きるかどうかを判定する。ステップ S18において、伝送レートを変更することができな いと判定された場合、ステップ S19乃至 S21をスキップして、ステップ S22に進む。
[0129] また、ステップ S18において、伝送レートを変更することができると判定された場合、 ステップ S19に進み、イニシエータは、コマンド PSL_REQを送信し、これにより、ターゲ ットに伝送レートの変更を要求する。そして、イニシエータは、コマンド PSL_REQに対 するレスポンス PSL_RESがターゲットから送信されてくるのを待って、ステップ S 19から S20〖こ進み、そのレスポンス PSL_RESを受信して、ステップ S21〖こ進む。ステップ S21 では、イニシエータは、ステップ S20で受信したレスポンス PSL_RESにした力^、、通信 パラメータ、即ち、例えば、伝送レートを変更し、ステップ S22に進む。
[0130] ここで、ステップ S18乃至 S21の処理は、図 9のステップ S5の処理に対応する。
[0131] ステップ S22では、イニシエータは、データ交換プロトコルにした力 Sい、ターゲットと の間でデータ交換、即ち、コマンド DEP_REQとレスポンス DEP_RESのやりとりを行う。
[0132] ここで、ステップ S22の処理は、図 9のステップ S6の処理に対応する。
[0133] ステップ S22においてデータ変換が行われた後は、イニシエータは、必要に応じて 、ステップ S23また ίま S25に進む。
[0134] 即ち、イニシエータは、ターゲットをディセレクト状態にする場合、ステップ S22から S23に進み、コマンド DSL_REQを送信する。そして、イニシエータは、コマンド DSL_R EQに対するレスポンス DSL_RESがターゲットから送信されてくるのを待って、ステップ S23力 S24に進み、そのレスポンス DSL_RESを受信して、ステップ S14に戻り、以下 、同様の処理を繰り返す。
[0135] 一方、イニシエータは、ターゲットとの通信を完全に終了する場合、ステップ S22か ら S25に進み、コマンド RLS_REQを送信する。そして、イニシエータは、コマンド RLS_ REQに対するレスポンス RLS_RESがターゲットから送信されてくるのを待って、ステツ プ S25力ら S26に進み、そのレスポンス RLS— RESを受信して、ステップ S 11に戻り、以 下、同様の処理を繰り返す。
[0136] ここで、ステップ S23と S24の処理や、ステップ S25と S26の処理は、図 9のステップ S7の処理に対応する。
[0137] 次に、図 11のフローチャートを参照して、アクティブモードにおけるァクティべーショ ンプロトコルを説明する。
[0138] まず最初に、ステップ S31において、イニシエータは、初期 RFCA処理を行い、ステ ップ S32〖こ進み、通信モードをアクティブモードとして、伝送レートを選択する。
[0139] ここで、ステップ S31の処理は、図 9のステップ S1および S2の処理に対応し、ステツ プ S32の処理は、ステップ S3 (S3— 2)の処理に対応する。
[0140] その後、ステップ S33乃至 S39において、図 10のステップ S16乃至 S22における 場合とそれぞれ同様の処理が行われる。
[0141] 即ち、ステップ S33では、イニシエータは、コマンド ATR_REQを送信し、これにより、 ターゲットに属性を要求する。そして、イニシエータは、ターゲットからコマンド ATR_RE Qに対するレスポンス ATR_RESが送信されてくるのを待って、ステップ S34に進み、そ のレスポンス ATR_RESを受信して、ステップ S35に進む。
[0142] ステップ S35では、イニシエータは、ステップ S34でターゲットから受信したレスポン ス ATR_RESに基づき、通信パラメータ、即ち、例えば、伝送レートを変更することがで きるかどうかを判定する。ステップ S35において、伝送レートを変更することができな いと判定された場合、ステップ S36乃至 S38をスキップして、ステップ S39に進む。
[0143] また、ステップ S35において、伝送レートを変更することができると判定された場合、 ステップ S36に進み、イニシエータは、コマンド PSL_REQを送信し、これにより、ターゲ ットに伝送レートの変更を要求する。そして、イニシエータは、コマンド PSL_REQに対 するレスポンス PSL_RESがターゲットから送信されてくるのを待って、ステップ S36から S37〖こ進み、そのレスポンス PSL_RESを受信して、ステップ S38〖こ進む。ステップ S38 では、イニシエータは、ステップ S37で受信したレスポンス PSL_RESにした力^、、通信 パラメータ、即ち、例えば、伝送レートを変更し、ステップ S39に進む。
[0144] ステップ S39では、イニシエータは、データ交換プロトコルにしたカ^、、ターゲットと の間でデータ交換、即ち、コマンド DEP_REQとレスポンス DEP_RESのやりとりを行う。
[0145] ここで、ステップ S33および S34の処理は、図 9のステップ S4 (S4— 2)の処理に対 応し、ステップ S35乃至 S38の処理は、図 9のステップ S5の処理に対応する。また、 ステップ S39の処理は、図 9のステップ S6の処理に対応する。
[0146] ステップ S39におけるデータ変換の後は、必要に応じて、ステップ S40または S44 に進む。
[0147] 即ち、イニシエータは、いま通信を行っているターゲットをディセレクト状態にし、既 にディセレクト状態になっているターゲットのうちのいずれかをウェイクアップさせる場 合、ステップ S39力ら S40〖こ進み、ディセレクト状態にするターゲット宛に、コマンド DS L_REQを送信する。そして、イニシエータは、コマンド DSL_REQに対するレスポンス DS L_RESがターゲットから送信されてくるのを待って、ステップ S40力 S41に進み、そ のレスポンス DSL_RESを受信する。ここで、レスポンス DSL_RESを送信してきたターゲ ットは、ディセレクト状態になる。
[0148] その後、ステップ S41力ら S42に進み、イニシエータは、ウェイクアップさせるターゲ ット宛に、コマンド WUP_REQを送信する。そして、イニシエータは、コマンド WUP_REQ に対するレスポンス WUP_RESがターゲットから送信されてくるのを待って、ステップ S4 2力 S43〖こ進み、そのレスポンス WUP_RESを受信して、ステップ S35〖こ戻る。ここで 、レスポンス WUP_RESを送信してきたターゲットはウェイクアップし、そのウェイクアツ プしたターゲットが、イニシエータがその後に行うステップ S35以降の処理の対象とな る。
[0149] 一方、イニシエータは、ターゲットとの通信を完全に終了する場合、ステップ S39か ら S44に進み、コマンド RLS_REQを送信する。そして、イニシエータは、コマンド RLS_ REQに対するレスポンス RLS_RESがターゲットから送信されてくるのを待って、ステツ プ S44力ら S45に進み、そのレスポンス RLS— RESを受信して、ステップ S31に戻り、以 下、同様の処理を繰り返す。
[0150] ここで、ステップ S40乃至 43の処理や、ステップ S44と S45の処理は、図 9のステツ プ S7の処理に対応する。
[0151] 以上、図 9乃至図 11を参照して、 NFCIP-1に従った通信処理について説明した。
[0152] ところで、 NFC通信装置力 このような NFCIP-1に従った通信処理を単に行っただ けでは、本来有している能力を十分に発揮できない、という上述した従来の課題が生 じてしまう。 [0153] そこで、本発明人は、所定の 1つの NFC通信装置が、自身または通信相手が有す る所定の 1種類の能力に関連する情報を 1以上含むデータ群を能力の種類毎に生 成し、 1以上のデータ群を所定のコマンドや所定のレスポンスに格納させて、通信相 手の NFC通信装置に送信する、といった手法をさらに発明した。
[0154] なお、以下、所定の種類の能力に関連する情報が記述されるフィールカ ^以上所 定の順番に配置されることで構成される構造体 (データ群)を、カプセルと呼ぶ。また 、以下、カプセルも含めて所定の構造体を構成する 1以上のフィールドのうちの、所 定の 1つのフィールドに対して、「所定の情報が記述されること」を、「所定の情報が設 定される」と呼ぶ。即ち、本発明のこの手法では、送信側の NFC通信装置により、送 信側と受信側 (送信側から見て通信相手側)とのうちの少なくとも一方の NFC通信装 置が有する n+1種類 (nは 0以上の整数値)の能力のそれぞれにつ 、て、対応する種 類の能力に関連する各種情報が 1以上のフィールドのうちの所定の 1つに設定される ことで、対応する種類の能力につ 、てのカプセルが n+1種類毎にそれぞれ生成され、 n+1個のカプセルが所定のコマンドや所定のレスポンスに格納されて、受信側の NFC 通信装置に送信される。
[0155] このカプセルは、例えば、所定の種類の能力を示す情報が設定されるフィールド、 その所定の種類の能力についての「能力の活性ィ匕を通信相手側に指示するための 情報」が設定されるフィールド、その所定の種類の能力につ 、ての「能力の活性化を 自身が確認したことを通信相手側に通知するための情報」が設定されるフィールドを 含むように構成することもできる。
[0156] 具体的には例えば、 NFC通信装置は、図 12に示される構造のカプセル 51を利用 することができる。即ち、図 12は、本発明が適用されるカプセルの構造の一例を示し ている。
[0157] 図 12のカプセル 51は、フィールド 61乃至 65から構成されている。
[0158] フィールド 61には、図 12の記載の通り、いわゆるヘッダ情報が記述される。そこで、 以下、フィールド 61を、単にヘッダ 61と呼ぶ。
[0159] フィールド 62には、図 12の記載の通り、送信側の NFC通信装置が、受信側(送信 側から見て通信相手側)の NFC通信装置に対して、所定の処理を指示するための情 報が設定される。そこで、以下、フィールド 62を、「処理を指示する情報」フィールド 6 2と呼ぶ。即ち、後述するように、「処理を指示する情報」フィールド 62には、「能力の 活性ィ匕を通信相手側に指示するための情報」のうちのひとつが設定される場合があ る。ただし、「処理を指示する情報」フィールド 62に設定される情報の具体例につい ては、後述する。
[0160] フィールド 63には、図 12の記載の通り、送信側の NFC通信装置が有する能力のう ちの、所定の種類の能力を示す情報が設定される。そこで、以下、フィールド 63を、「 能力を示す情報」フィールド 63と呼ぶ。なお、「能力を示す情報」フィールド 63に設 定される情報の具体例については、後述する。
[0161] フィールド 64には、図 12の記載の通り、送信側の NFC通信装置が、受信側(送信 側から見て通信相手側)の NFC通信装置に対して、その左方の「能力を示す情報」フ ィールド 63に設定された情報に対する指示、即ち、所定の種類の能力に対する所定 の指示を行うための情報が設定される。そこで、以下、フィールド 64を、「能力を示す 情報に対する指示」フィールド 64と呼ぶ。即ち、「能力を示す情報に対する指示」フィ 一ルド 64には、「能力の活性ィ匕を通信相手側に指示するための情報」のうちのひと つが設定される場合がある。ただし、「能力を示す情報に対する指示」フィールド 64 に設定される情報の具体例については、後述する。
[0162] フィールド 65には、図 12の記載の通り、その他の付随情報が設定される。そこで、 以下、フィールド 65を、「付随情報」フィールド 65と呼ぶ。例えば、送信側の NFC通信 装置は、「能力の活性ィ匕を自身が確認したことを通信相手側に通知するための情報」 を付随情報として、「付随情報」フィールド 65に設定することもできる。ただし、「付随 情報」フィールド 65に設定される情報の具体例については、後述する。
[0163] このようなカプセル 51を採用することで、 NFC通信装置と通信相手側の NFC通信装 置との間で、 NFCIP-1規格をそのまま忠実に利用しつつ(上述した NFCIP-1に従った 通信処理を行いつつ)、 NFCIP-1で規定している能力群以上の能力、即ち、 NFCIP- 1で規定している種類とは異なる種類の能力、或いは、 NFCIP-1で規定している種類 であっても、 NFC通信装置または通信相手側の NFC通信装置が有する能力レベル 力 NFCIP-1で規定しているレベル以上である種類の能力の存在を交換したり、その 能力の活性ィ匕の指示や確認を実現することが可能になる。 NFCIP-1で規定して 、る 能力群以上の能力、即ち、 NFCIP-1で規定している種類とは異なる能力、或いは、 N FCIP-1で規定している種類であっても、 NFC装置が有している能力レベル力 NFCI P-1で規定して 、るレベル以上である種類の能力に関する情報を、カプセル 51に容 易に含ませることができるからである。
[0164] また、このようなカプセル 51を採用しない他の NFC通信装置がたとえ通信相手とな つたとしても、 NFC通信装置は、その通信相手側の NFC通信装置との間で、上述した NFCIP-1に従った通信処理をそのまま実行することが可能になる。
[0165] このようなカプセル 51の格納先は、上述したように、任意のコマンドまたは任意のレ スポンスでよいが、本実施の形態では、コマンド ATR_REQまたはレスポンス ATR_RES とされている。コマンド ATR_REQやレスポンス ATR_RESは、上述したように、自身の属 性 (仕様)を知らせたり、通信相手の属性を要求するときに利用されるからである。即 ち、自身の能力を知らせたり、通信相手の能力を要求するときに利用されるカプセル 51を、コマンド ATR_REQやレスポンス ATR_RESに格納することは理にかなつているか らである。また、 NFCIP- 1では、コマンド ATR_REQやレスポンス ATR_RESには、 Gener al Byteと称されるフィールド(以下、フィールド Giと呼ぶ)が規定されており、このフィ 一ルド Giにカプセル 51を格納することが容易にできるからである。
[0166] ここで、図 13乃至図 19を参照して、コマンド ATR_REQとレスポンス ATR_RESとにつ いてさらに詳しく説明する。
[0167] なお、以下、便宜上、イニシエータがコマンド ATR_REQを送信し、ターゲットがレス ポンス ATR_RESを送信するとして、説明を行う。ただし、当然ながら、実際にはその逆 、即ち、ターゲットがコマンド ATR_REQを送信し、イニシエータがレスポンス ATR_RES を送信する場合もあり得る。
[0168] 図 13は、 NFCIP-1で規定されているコマンド ATR_REQの構造を示している。
[0169] 図 13に示されるように、コマンド ATR_REQには、先頭から(図中左から)、フィールド CMD0、フィールド CMD1、および、フィールド ByteO乃至 Byten+14 (nは 0以上の整数 値)から構成されている。
[0170] フィールド CMD0には、(D4)が設定される。フィールド CMD1には、このコマンドがコ マンド ATR_REQであることを示す値(00)が設定される。
[0171] フィールド ByteO乃至 Byte9には、このコマンド ATR_REQを送信する NFC通信装置、 即ち、イニシエータを特定する上述した NFCIDが設定される。
[0172] フィールド BytelOには、このコマンド ATR_REQを送信するイニシエータのデバイス I
Dである Dimが設定される。そこで、以下、フィールド BytelOを、フィールド DIDiとも呼
[0173] フィールド Bytellには、このコマンド ATR_REQを送信するイニシエータがデータを 送信する際のビットレート (伝送レート)が設定される。なお、以下、フィールド Bytell を、フィールド BSiとも呼ぶ。フィールド BSiの詳細については、図 14と図 15とを参照し て後述する。
[0174] フィールド Bytel2には、このコマンド ATR_REQを送信するイニシエータがデータを 受信する際のビットレート (伝送レート)が設定される。なお、以下、フィールド Bytell を、フィールド BRiとも呼ぶ。フィールド BRiの詳細については、フィールド BSiの詳細と ともに後述する。
[0175] このように、フィールド BSiに設定される伝送レートと、フィールド BRiに設定される伝 送レートとのそれぞれ力 上述したように、このコマンド ATR_REQを送信するィニシェ ータの属性 (仕様)のひとつになる。
[0176] フィールド Bytel3には、このコマンド ATR_REQを送信するイニシエータについての オプションパラメータが設定される。なお、以下、フィールド Bytel3を、フィールド PPiと も呼ぶ。フィールド PPiの詳細については、図 16乃至図 18を参照して後述する。
[0177] フィールド Bytel4乃至 Bytel4+nのそれぞれが、上述した General Byteと称されるフ ィールド、即ち、フィールド Giのそれぞれである。即ち、 n+1個のフィールド Giのそれぞ れが、フィールド Bytel4乃至 Bytel4+nのそれぞれとして、このコマンド ATR_REQに配 置されることになる。以下、 n個のフィールド Giのそれぞれを、その配置順に(図 13中 左から順に)、フィールド Gi[0]乃至 Gi[n]のそれぞれと呼ぶ。
[0178] フィールド Gi[0]乃至 Gi[n]のそれぞれは、設計者等により指定される各種情報が設 定されるフィールドであって、オプションとして用意されているフィールドである。即ち 、値 nは、設計者等により可変可能とされており、上述したように 0以上の整数値となる 。この値 nは、後述するように、フィールド PPiに設定される。
[0179] 本実施の形態では、上述したように、フィールド Gi[0]乃至 Gi[n]のそれぞれに対して
、図 12のカプセル 51が 1つずつ格納される。
[0180] 以下、コマンド ATR_REQのうちの、フィールド BSiを図 14と図 15とを参照して説明し
、引き続き、フィールド BRiを説明し、そして、フィールド PPiを図 16乃至図 18を参照し て説明する。
[0181] 図 14は、 NFCIP-1で規定されて!、るフィールド BSiの構造を示して!/、る。
[0182] 図 14に示されるように、フィールド BSiは、 1バイトの情報、即ち、 8ビットの情報で構 成される。
[0183] なお、以下、最下位ビット(図 14中最右のビット)から上位ビットに向けて(図 14中左 方向に)、各ビットの情報を、ビット bitO乃至 bit7のそれぞれと呼ぶ。このことは、 1バイ トの情報で構成される他のフィールド、即ち、フィールド BRi, PPi, Gi等でも同様とされ る。
[0184] フィールド BSiのうちの、ビット bit4乃至 bit7には、 0 (ZERO)が設定され、ビット bitO乃 至 bit3のそれぞれには、このコマンド ATR_REQを送信するイニシエータが 847 kbps, 1 695 kbps, 3390 kbps,および 6780 kbpsのそれぞれの伝送レートでの処理ができる か否かを示す情報 (0または 1)が設定される。即ち、例えば、 0が処理できないことを 示し、 1が処理できることを示すとすると、ビット bitOに 0が設定されていることは、この コマンド ATR_REQを送信するイニシエータが 847 kbpsの伝送レートでの処理ができな いことを意味する。これに対して、ビット bitOに 1が設定されていることは、このコマンド ATR_REQを送信するイニシエータが 847 kbpsの伝送レートでの処理ができることを意 味する。
[0185] なお、 NFC通信装置は、 106 kbps, 212 kbps,および 424 kbpsのそれぞれの伝送 レートでの処理は必須で実行できなければならな 、、 t\、うことが NFCIP-lで規定さ れている。
[0186] 換言すると、 NFCIP-1では、図 15に示されるように、データの送受信時の伝送レー トとして取りうる値として、 106 kbps, 212 kbps, 424 kbps, 847 kbps, 1695 kbps, 339 0 kbps,および 6780 kbpsが規定されている。即ち、図 15の表は、 NFCIP-1で規定さ れて 、る伝送レートを示して 、る。
[0187] 図 15の表において、一番左の「Communication Mode」の項目には、その右方の「k bpsjの項目に記述されて 、る伝送レートで通信可能な通信モードが記述されて!、る 。即ち、 106 kbps、 212 kbps、および 424 kbpsの伝送レートでは、アクティブモード( Active)とパッシブモード (Passive)との何れの通信モードでも通信可能であること(そ のように NFC通信装置を構成すればよいこと)力 NFCIP-1で規定されている。これに 対して、 847 kbps、 1695 kbps、 3390 kbps、および 6780 kbpsでは、アクティブモード( Active)で通信可能であればよ 、こと(そのように NFC通信装置を構成すればょ 、こと )力 NFCIP- 1で規定されている。
[0188] 図 15の表において、真ん中の「kbps」の項目には、 NFCIP-1で規定されている伝送 レートが記述されている。
[0189] 図 15の表において、一番右の「Divisor D」の項目には、その左方の「kbps」の項目 に記述されている伝送レートが使用されるときにおける、次の式(1)で使用されるパラ メータ Dの値が記述されて!、る。
[0190] lbd = 128 /(D X fc) · · · (1)
式(1)において、 bdはビットの継続時間を、 fcは搬送波の周波数を、それぞれ示し ている。
[0191] 以上、図 13のコマンド ATR_REQのうちの、フィールド BSiの構造について説明した。
[0192] なお、フィールド BRiの構造は、上述したフィールド BSiの構造と基本的に同様である ので、その説明については省略する。
[0193] 換言すると、例えばこのコマンド ATR_REQを送信するイニシエータ、または、このコ マンド ATR_REQを受信するターゲットが、 6780kbpsよりも高!、伝送レートでの処理が 可能であったとしても、そのような高い伝送レートは、 NFCIP-1では規定されておらず 、フィールド BRiやフィールド BSiに設定することができない。そこで、このような場合、 イニシエータは、そのような高い伝送レートに関する情報を図 12のカプセル 51に含 め、さらに、そのカプセル 51を、このコマンド ATR_REQのうちの図 13のフィールド Gi[k ] (kは、 0乃至 nのうちのいずれかの値)に格納させればよい。これにより、そのような高 い伝送レートでの送受信の実現も可能になる。 [0194] 次に、図 16乃至図 18を参照して、コマンド ATR_REQのうちのフィールド PPiを説明 する。
[0195] 図 16は、 NFCIP-1で規定されているフィールド PPiの構造を示している。
[0196] 図 16に示されるように、フィールド PPiは、ビット bitO乃至 bit7から構成される。
[0197] ビット bit7, bit6, bit3, bit2には O (ZERO)が設定される。
[0198] ビット bit4, bit5には、トランスポートデータの有効データ長を指定するための情報 L Riが設定される。
[0199] この情報 LRiとして、図 17に示されるように、「00」、「01」、「10」、および「11」のうち の何れかの値が採用される。即ち、図 17は、情報 LRiが取り得る各値と、各値が示す トランスポートデータの有効データ長の範囲 LEN とを示す表である。
MAX
[0200] また、トランスポートデータとは、図 18に示される Transport data field,即ち、フィー ルド CMD0乃至 ByteN (Nは 0以上の整数値であり、図 13や後述する図 19の例の場 合には n+14である)のことをいう。即ち、図 18は、トランスポートデータを含む 1つのフ レーム(例えば本実施の形態では、上述した図 8に示されるコマンドやレスポンスのう ちの所定の 1つ)の構造を示している。詳細には、図 18のうちの、上側の図は、伝送 レートが 106kpsの場合の 1つのフレームの構造を示しており、下側の図は、伝送レー トが 212kpsまたは 424kbpsの場合の 1つのフレームの構造を示している。
[0201] なお、図 18において、 SBと記述されたフィールドには、フレームの最初のフィールド であることを示す値が設定される。 LENと記述されたフィールド〖こは、それに続くトラン スポートデータ(Transport data field)の有効データ長に対して 1が加算された値が設 定される。 PAと記述されたフィールド〖こは、前文 (Premable)を示す情報が設定される。 SYNCと記述されたフィールドには、同期パターンを示す情報(Synchronous pattern b it)が設定される。 Elと E2と記述されたフィールドには、フレームの最後のフィールドで あることを示す値が設定される。
[0202] 図 17と図 18に示されるように、フィールド Byte63まである場合には、即ち、トランス ポートデータの有効データ長が 66バイトまでの場合には、情報 LRiは「00」となる。即 ち、この場合、「00」が、図 16のフィールド PPiのビット bit4, bit5に設定される。
[0203] フィールド Bytel27まである場合には、即ち、トランスポートデータの有効データ長が 130バイトまでの場合には、情報 LRiは「01」となる。即ち、この場合、「01」力 図 16 のフィールド PPiのビット bit4, bit5に設定される。
[0204] フィールド Bytel91まである場合には、即ち、トランスポートデータの有効データ長が 194バイトまでの場合には、情報 LRiは「10」となる。即ち、この場合、「10」力 図 16 のフィールド PPiのビット bit4, bit5に設定される。
[0205] フィールド Byte255まである場合には、即ち、トランスポートデータの有効データ長 力 S258バイトまでの場合には、情報 LRiは「11」となる。即ち、この場合、「11」が、図 1 6のフィールド PPiのビット bit4, bit5に設定される。
[0206] また、図 16のフィールド PPiのビット bitlには、このフィールド PPiに続いて、上述した フィールド Gi[0]乃至 Gi[n]が配置されて ヽるカゝ否か (存在するか否か)を示す情報 Gi が設定される。即ち、情報 Giは 0または 1となるので、例えば、 0が配置されていない( 存在しない)ことを示し、 1が配置されている(存在する)ことを示すとする。この場合、 ビット bitlに 0が設定されて!、ることは、このフィールド PPiに続 、てフィールド Gi[0]乃 至 Gi[n]が配置されていないこと、即ち、本実施の形態では図 12のカプセル 51が 1つ も格納されていないことを意味する。これに対して、ビット bitlに 1が設定されているこ とは、このフィールド PPiに続いてフィールド Gi[0]乃至 Gi[n]が配置されていること、即 ち、本実施の形態ではカプセル 51が少なくとも 1つ格納されて ヽることを意味する。
[0207] また、このフィールド PPiのビット bitOには、 NAD (Node Address)を使用するか否かを 示す情報(0または 1)が設定される。 NADとは、上述した図 13のフィールド BytelO、 即ち、図 13のフィールド DIDiに設定される、このコマンド ATR_REQを送信するィニシ エータのデバイス IDのサブアドレスをいう。ひとつのデバイス IDに対して、 16個のサ ブアドレスを持つことが可能であること力 NFCIP-1で規定されて!、る。
[0208] このビット bitOにおいて、例えば、 0が使用しないことを示し、 1が使用することを示す とすると、ビット bitOに 0が設定されていることは、このコマンド ATR_REQを送信するィ ユシェータがサブアドレスを使用しないことを意味する。これに対して、ビット bitOに 1 が設定されて 、ることは、このコマンド ATR_REQを送信するイニシエータがサブアドレ スを使用することを意味する。
[0209] 以上、図 13乃至図 18を参照して、コマンド ATR_REQの詳細な構造について説明し た。
[0210] このような構造を有するコマンド ATR_REQのレスポンス、即ち、レスポンス ATR_RES の構造が図 19に示されている。図 13と図 19とを比較するに、レスポンス ATR_RESの 構造は、コマンド ATR_REQの構造と同様の構造を有していることがわかる。そこで、レ スポンス ATR_RESの構造の説明につ!/、ては省略する。
[0211] 以上説明したように、 NFCIP- 1では、コマンド ATR_REQやレスポンス ATR_RESには、 フィールド Giが規定されているため、本実施の形態では、上述した図 12のカプセル 5 1は、コマンド ATR_REQやレスポンス ATR_RESのフィールド Giに格納されて、複数の N FC通信装置の間で送受信されることになる。
[0212] 具体的には例えば、本実施の形態では、イニシエータが、上述した図 10のステップ S 16または図 11のステップ S33の処理で、コマンド ATR_REQをターゲットに送信する 。この場合、イニシエータが、少なくとも 1つのカプセル 51をコマンド ATR_REQに含め て、そのコマンド ATR_REQをターゲットに送信するときには、上述した図 10のステップ S 16または図 11のステップ S33の処理として、例えば図 20に示される「イニシエータ 側の ATR_REQ送信処理」を実行することができる。即ち、図 20は、少なくとも 1つの力 プセル 51を含むコマンド ATR_REQをイニシエータが送信する場合の「イニシエータ 側の ATR_REQ送信処理」の一例を説明するフローチャートである。
[0213] このような図 20の「イニシエータ側の ATR_REQ送信処理」に対するターゲット側の 処理(以下、ターゲット側の ATR_REQ受信処理と呼ぶ)の一例力 図 21に示されてい る。
即ち、図 21は、カプセル 51を含んでいる可能性があるコマンド ATR_REQをターゲット が受信する場合の「ターゲット側の ATR_REQ受信処理」の一例を説明するフローチヤ ートである。
[0214] 後述するように、図 21の「ターゲット側の ATR_REQ受信処理」の結果として、レスポ ンス ATR_RESがターゲットからイニシエータに送信されてくるので、本実施の形態で は、イニシエータが、上述した図 10のステップ S17または図 11のステップ S34の処理 で、レスポンス ATR_RESを受信する。この場合、図 10のステップ S17または図 11のス テツプ S34の処理として、例えば図 22に示される「イニシエータ側の ATR_RES受信処 理」を実行することができる。即ち、図 22は、少なくとも 1つのカプセル 51を含むコマ ンド ATR_REQに対するレスポンス ATR_RESをイニシエータが受信する場合の「ィ -シ エータ側の ATR_RES受信処理」の一例を説明するフローチャートである。
[0215] なお、ここでは、上述したように、イニシエータがコマンド ATR_REQを送信すると便 宜上仮定しているため、図 20の「イニシエータ側の ATR_REQ送信処理」はィユシェ ータにより実行され、図 21の「ターゲット側の ATR_REQ受信処理」はターゲットにより 実行され、図 22の「イニシエータ側の ATR_RES受信処理」はイニシエータにより実行 されることになる。ただし、上述したように、ターゲットがコマンド ATR_REQを送信する 場合もある。このような場合、図 20の「イニシエータ側の ATR_REQ送信処理」はター ゲットにより実行され、図 21の「ターゲット側の ATR_REQ受信処理」はイニシエータに より実行され、図 22の「イニシエータ側の ATR_RES受信処理」はターゲットにより実行 されること〖こなる。
[0216] 以下、図 20の「イニシエータ側の ATR_REQ送信処理」、図 21の「ターゲット側の AT R_REQ受信処理」、および、図 22の「イニシエータ側の ATR_RES受信処理」のそれぞ れについて、その順番に個別に説明していく。
[0217] なお、以下の説明では、 n+1個のカプセル 51が生成または利用されることになるが 、 n+1個のカプセル 51のうちの、リクエスト ATR_REQまたはレスポンス ATR_RESのフィ 一ルド Gi[k] (kは、 0乃至 nのうちのいずれかの値)に格納される 1つを、カプセル [k]と 称する。
[0218] はじめに、図 20のフローチャートを参照して、「イニシエータ側の ATR_REQ送信処 理」の一例を説明する。
[0219] ステップ S61において、イニシエータは、コマンド ATR_REQ用のカプセル [0]乃至 [ n]のそれぞれを生成する。なお、コマンド ATR_REQ用のカプセル [0]乃至 [n]の具 体例については後述する。
[0220] ステップ S62において、イニシエータは、カプセル [0]乃至 [n]のそれぞれを、コマ ンド ATR_REQのフィールド Gi[0]乃至 Gi[n]のそれぞれに格納する。
[0221] ステップ S63において、イニシエータは、コマンド ATR_REQのフィールド PPiを設定 する。 [0222] ステップ S64において、イニシエータは、コマンド ATR_REQのその他のフィールド( フィールド BSiやフィールド BRi等)を設定する。
[0223] ステップ S65において、イニシエータは、コマンド ATR_REQをターゲットに対して送 信する。
[0224] これにより、「イニシエータ側の ATR_REQ送信処理」は終了となる。
[0225] このようにして、コマンド ATR_REQがイニシエータからターゲットに送信されると、タ 一ゲットは、例えば図 21の「ターゲット側の ATR_REQ受信処理」の処理を実行する。 そこで、以下、図 21のフローチャートを参照して、「ターゲット側の ATR_REQ受信処理
」の一例を説明する。
[0226] ステップ S81において、ターゲットは、コマンド ATR_REQを受信する。
[0227] ステップ S82において、ターゲットは、コマンド ATR_REQの解釈を行う。
[0228] ステップ S83において、ターゲットは、コマンド ATR_REQの解釈の結果に基づいて、 コマンド ATR_REQのフィールド Gi[0]乃至 Gi[n]に情報が格納されているか否かを判定 する。
[0229] ステップ S83にお!/、て、コマンド ATR_REQのフィールド Gi[0]乃至 Gi[n]に情報が何も 格納されていないと判定された場合、処理はステップ S88に進む。即ち、後述するス テツプ S84乃至 S87の処理は実行されない。なお、ステップ S88以降の処理につい ては後述する。
[0230] これに対して、図 20の「イニシエータ側の ATR_REQ送信処理」の結果、ィ-シエー タから送信されてきたコマンド ATR_REQがステップ S81の処理で受信され、ステップ S 82の処理で正しく解釈された場合には、コマンド ATR_REQのフィールド Gi[0]乃至 Gi[ n]のそれぞれにはカプセル [0]乃至カプセル [n]のそれぞれが格納されて!、る。そこで 、このような場合、ステップ S83において、コマンド ATR_REQのフィールド Gi[0]乃至 Gi [n]に情報が格納されていると判定されて、処理はステップ S84に進む。
[0231] ステップ S84において、ターゲットは、コマンド ATR_REQのフィールド Gi[0]乃至 Gi[n ]のそれぞれに従った所定の処理、即ち、フィールド Gi[0]乃至 Gi[n]のそれぞれに格 納されたカプセル [0]乃至カプセル [k]のそれぞれの内容に従った所定の処理を実行 する。なお、ステップ S84において実行される所定の処理の具体例については後述 する。
[0232] ステップ S85において、ターゲットは、ステップ S84における所定の処理が成功した か否かを判定する。
[0233] ステップ S85において、ステップ S84における所定の処理が失敗した (成功してい ない)と判定された場合、処理はステップ S88に進む。即ち、後述するステップ S86と S87の処理は実行されない。なお、ステップ S88以降の処理については後述する。
[0234] これに対して、ステップ S85において、ステップ S84における所定の処理が成功し たと判定された場合、処理はステップ S86に進む。ステップ S86において、ターゲット は、レスポンス ATR_RES用のカプセル [0]乃至 [n]を生成する。なお、レスポンス ATR _RES用のカプセル [0]乃至 [n]の具体例につ 、ては後述する。
[0235] ステップ S87において、ターゲットは、カプセル [0]乃至 [n]のそれぞれを、レスポン ス ATR_RESのフィールド Gi[0]乃至 Gi[n]のそれぞれに格納する。これにより、処理は ステップ S88に進む。
[0236] 以上説明したように、ステップ S87の処理が終了した場合、ステップ S83において N Oであると判定された場合、または、ステップ S85において NOであると判定された場 合、処理はステップ S88に進む。ステップ S88において、ターゲットは、レスポンス AT R_RESのフィールド PPiを設定する。
[0237] ステップ S89において、ターゲットは、レスポンス ATR_RESのその他のフィールド(フ ィールド BSiやフィールド BRi等)を設定する。
[0238] ステップ S90において、ターゲットは、レスポンス ATR_RESをイニシエータに対して 送信する。
[0239] これにより、「ターゲット側の ATR_REQ受信処理」は終了となる。
[0240] このようにして、レスポンス ATR_RESがターゲットからイニシエータに送信されると、ィ -シエータは、例えば図 22の「イニシエータ側の ATR_RES受信処理」の処理を実行 する。そこで、以下、図 22のフローチャートを参照して、「イニシエータ側の ATR_RES 受信処理」の一例を説明する。
[0241] ステップ S101において、イニシエータは、レスポンス ATR_RESを受信する。
[0242] ステップ S102において、イニシエータは、レスポンス ATR_RESの解釈を行う。 [0243] ステップ S103において、イニシエータは、レスポンス ATR_RESの解釈の結果に基 づ 、て、レスポンス ATR_RESのフィールド Gi[0]乃至 Gi[n]に情報が格納されて 、る力 否かを判定する。
[0244] ステップ S 103において、レスポンス ATR_RESのフィールド Gi[0]乃至 Gi[n]に情報が 何も格納されていないと判定された場合、処理はステップ S 106に進む。ステップ S1 06において、イニシエータは、カプセル [0]乃至 [n]が格納されたコマンド ATR_RESを ターゲットに再送信する。
[0245] その後、処理はステップ S101に戻され、それ以降の処理が繰り返される。即ち、ス テツプ S106の処理で再送信されたコマンド ATR_RESに対してターゲットから送信さ れてきたレスポンス ATR_RESがステップ S 101の処理で取得され、そのレスポンス ATR _RESにつ 、てのそれ以降の処理が繰り返される。
[0246] なお、ターゲットが、図 21の「ターゲット側の ATR_REQ受信処理」を実行できな!/ヽ場 合、即ち、図 12のカプセル 51を取り扱えない場合、ステップ S101乃至 S106のルー プ処理が延々と繰り返されることになる。そこで、図示はしないが、イニシエータは、ス テツプ S101乃至 S106のループ処理の繰り返し回数をカウントし、繰り返し回数が所 定の閾値以上となった場合、ターゲットはカプセル 51を取り扱えない NFC通信装置 であるとみなして、そのレスポンス ATR_RESの設定内容を内部に記憶する等の所定 の処理を実行した後、「イニシエータ側の ATR_RES受信処理」を強制的に終了させる ようにしてもよい。
[0247] これに対して、図 21の「ターゲット側の ATR_REQ受信処理」にお!/、て、上述したステ ップ S86と S87の処理が実行されて、ステップ S90の処理で、カプセル [0]乃至カプ セル [k]を含むレスポンス ATR_RESがターゲットからイニシエータに送信され、さらに、 そのレスポンス ATR_RESがステップ S101の処理で受信され、ステップ S102の処理 で正しく解釈された場合には、ステップ S 103において、レスポンス ATR_RESのフィー ルド Gi[0]乃至 Gi[n]に情報が格納されていると判定されて、処理はステップ S104に 進む。
[0248] ステップ S104において、イニシエータは、レスポンス ATR_RESのフィールド Gi[0]乃 至 Gi[n]のそれぞれに従った所定の処理、即ち、フィールド Gi[0]乃至 Gi[n]のそれぞ れに格納されたカプセル [0]乃至カプセル [k]のそれぞれの内容に従った所定の処理 を実行する。なお、ステップ S104において実行される所定の処理の具体例について は後述する。
[0249] ステップ S105において、イニシエータは、ステップ S 104における所定の処理が成 功したカゝ否かを判定する。
[0250] ステップ S105において、ステップ S104における所定の処理が失敗した (成功して いない)と判定された場合、処理はステップ S 106に進み、それ以降の処理が繰り返 される。即ち、ステップ S106の処理で、カプセル [0]乃至 [n]が格納されたコマンド ATR _RESが再送信され、ステップ S101の処理で、それに対するレスポンス ATR_RESがス テツプ S101が取得され、そのレスポンス ATR_RESについてのそれ以降の処理が繰り 返される。
[0251] これに対して、ステップ S105において、ステップ S 104における所定の処理が成功 したと判定された場合、「イニシエータ側の ATR_RES受信処理」は終了となる。
[0252] 以上、図 20の「イニシエータ側の ATR_REQ送信処理」、図 21の「ターゲット側の AT R_REQ受信処理」、および、図 22の「イニシエータ側の ATR_RES受信処理」のそれぞ れについて説明した。
[0253] ところで、このような図 20の「イニシエータ側の ATR_REQ送信処理」が図 10のステツ プ S16または図 11のステップ S33の処理として実行され、図 22の「イニシエータ側の ATR_RES受信処理」が図 10のステップ S17または図 11のステップ S34の処理として 実行される場合には、コマンド ATR_REQとレスポンス ATR_RESとは 1回ずつやり取りさ れること〖こなる。
[0254] ただし、コマンド ATR_REQとレスポンス ATR_RESとのやり取りの回数は、 1回に限定 されず、複数回でもよい。
[0255] 例えば、上述した図 12のカプセル 51を含むコマンド ATR_REQとレスポンス ATR_RE Sとを、イニシエータとターゲットとの間でやり取りすることで、所定の種類の能力の存 在を交換して、その能力の活性ィ匕の指示や確認を実現することが可能になることに ついて上述した。この実現方法として、イニシエータとターゲットとは、所定の種類の 能力の存在を交換するために、コマンド ATR_REQとレスポンス ATR_RESとのやり取り を 1回行い、その後、その所定の種類の能力の活性ィ匕の指示や確認を行うために、 コマンド ATR_REQとレスポンス ATR_RESとのやり取りをさらに 1回行うことができる。
[0256] この場合、図示はしないが、図 10のステップ S16と S17との処理、または、図 11の ステップ S33と S34との処理が 2回繰り返された後、図 10のステップ 18または図 11の ステップ S35の処理が実行されることになる。即ち、図 20の「イニシエータ側の ATR_R EQ送信処理」、図 21の「ターゲット側の ATR_REQ受信処理」、および、図 22の「ィ- シエータ側の ATR_RES受信処理」の一連の処理が 2回繰り返された後、図 10のステ ップ 18または図 11のステップ S35の処理が実行されることになる。
[0257] 以下、所定の種類の能力の存在を交換するために実行される、図 20の「ィニシェ ータ側の ATR_REQ送信処理」、図 21の「ターゲット側の ATR_REQ受信処理」、および 、図 22の「イニシエータ側の ATR— RES受信処理」の一連の処理の具体例につ!、て説 明する。そして、その説明に続いて、その所定の種類の能力の活性ィ匕の指示や確認 を実現するために実行される、図 20の「イニシエータ側の ATR_REQ送信処理」、図 2 1の「ターゲット側の ATR_REQ受信処理」、および、図 22の「イニシエータ側の ATR_R ES受信処理」の一連の処理の具体例について説明する。
[0258] 即ち、ここでは、イニシエータとターゲットとの間の無線通信の出力電力の制御(以 下、 RF Power controlと記述する)の能力を、能力の 1つの種類の具体例として挙げ て、以下の説明を行っていく。換言すると、ここでは、イニシエータとターゲットとが、 R F Power controlの能力のレベルを交換して、そのレベルの範囲内で RF Power contr olを行うための指示 (活性ィ匕の指示)や確認を行う場合におけるイニシエータとターゲ ットとが実行する一連の処理の具体例について説明する。
[0259] この場合、はじめに、イニシエータとターゲットとは、 RF Power controlの能力を交換 するために、図 20の「イニシエータ側の ATR_REQ送信処理」、図 21の「ターゲット側 の ATR_REQ受信処理」、および、図 22の「イニシエータ側の ATR_RES受信処理」の 一連の処理を 1回行う。
[0260] 詳細には、イニシエータは、図 20のステップ S61の処理で、例えば次のようなカプ セノレ [0]
を生成する。 [0261] 即ち、イニシエータは、図 12の「処理を指示する情報」フィールド 62に対して、「RF Power Controlの能力の報告」という内容を示す情報を設定する。
[0262] 次に、イニシエータは、「能力を示す情報」フィールド 63に対して、自分自身の RF P ower Controlの能力を示す情報として、「出力電力が所定の最大値 Hmaxを超えられ るか否か」、「出力電力が所定の最小値 Hminを超えられる力否か」、「最大値 Hmaxと 最小値 Hminとの間は何段階で調節可能であるのか」、「デフォルトの値の指示」、「最 大値 Hmaxと機器固有の最大出力電力(RF Power)との間は何段階で調節可能であ るの力、」、および「最小値 Hminと機器固有の最小出力電力(RF Power)との間は何段 階で調節可能であるのか」等の情報を設定する。
[0263] 次に、イニシエータは、「能力を示す情報に対する指示」フィールド 64に対して、「「 能力を示す情報」フィールド 63の設定値を記憶せよ」 、う命令を設定する。
[0264] 次に、イニシエータは、「付随情報」フィールド 65に対して、「このカプセル 51に格 納された各情報を理解して、「能力を示す情報」フィールド 63の設定値の記憶を完了 したならば、レスポンス ATR_RESに含めるカプセル 51のうちの「付随情報」フィールド 65に対して、所定の合言葉 {RF Power能力解釈完了 }を設定することで返事をせよ」 t ヽぅ内容を示す情報を設定する。
[0265] そして、イニシエータは、このようにして設定された各フィールドを図 12に示される 順番で配置することで、カプセル [0]を生成する。
[0266] 次に、図 20のステップ S62の処理で、イニシエータは、このカプセル [0]を、コマンド ATR_REQのフィールド Gi[0]に格納する。
[0267] 次に、ステップ S63の処理で、イニシエータは、コマンド ATR_REQのフィールド PPi の設定を行う。詳細には、イニシエータは、上述した図 16のビット bitlに対して 1を設 定することにより、即ち、情報 Giとして 1を設定することにより、フィールド Gi (General B yte)が有効であることを示す。また、イニシエータは、いまの場合、フィールド Gi[0]だ けが利用され、その結果、フィールド Bytel4までのコマンド ATR_REQとなることから、 図 16のビット bit4, bit5に対して「00」を設定する。即ち、情報 LRiとして「00」が設定さ れる。なお、いまの場合、 n=0とされているため、情報 LRiとして「00」が設定されたが、 上述したように、「00」、「01」、「11」、および、「11」のうちの、実際の nに対応する適 切な値が設定される。また、イニシエータは、フィールド PPiのその他のビットに対して も適切な値を設定する。
[0268] そして、イニシエータは、ステップ S64の処理で、その他のフィールド(図 13のフィ 一ルド BSiやフィールド BRi等)の設定を行い、ステップ S65の処理で、このようにして 各情報 (各値)が設定されたコマンド ATR_REQをターゲットに送信する。
[0269] すると、ターゲットは、図 21のステップ S81の処理で、このコマンド ATR_REQを受信 し、ステップ S82の処理で、その解釈を行う。
[0270] ステップ S82におけるコマンド ATR_REQの解釈が成功すると、ステップ S83の処理 で、コマンド ATR_REQのフィールド Gi[0]に情報が格納されていると判定されて、処理 はステップ S84に進む。
[0271] ステップ S84の処理で、ターゲットは、コマンド ATR_REQのフィールド Gi[0]に格納さ れているカプセル [0]に従って、例えば次のような処理を実行する。
[0272] 即ち、いまの場合、カプセル [0]のうちの図 12の「処理を指示する情報」フィールド 6 2には、「RF Power Controlの能力の報告」という内容を示す情報が設定されるので、 ターゲットは、このカプセル [0]は、イニシエータについての「RF Power Controlの能力 の報告」をするためのカプセルであることを認識する。
[0273] 次に、ターゲットは、カプセル [0]のうちの「能力を示す情報に対する指示」フィール ド 64の設定内容、即ち、「「能力を示す情報」フィールド 63の設定値を記憶せよ」とい う命令を受け取り、カプセル [0]のうちの「能力を示す情報」フィールド 63の設定内容 を読み出して、自分自身の内部に記憶する。
[0274] そして、ターゲットは、カプセル [0]のうちの「付随情報」フィールド 65の設定内容、 即ち、「このカプセル 51に格納された各情報を理解して、「能力を示す情報」フィール ド 63の設定値の記憶を完了したならば、レスポンス ATR_RESに含めるカプセル 51の うちの「付随情報」フィールド 65に対して、所定の合言葉 {RF Power能力解釈完了 } を設定することで返事をせよ」 ヽぅ内容を認識する。
[0275] これにより、ステップ S85の処理では、所定の処理が成功したと判定されて、処理は ステップ S86に進む。
[0276] ターゲットは、ステップ S86の処理で、例えば次のような、レスポンス ATR_RES用の カプセル [0]を生成する。
[0277] 即ち、ターゲットは、図 12の「処理を指示する情報」フィールド 62に対して、「RF Po wer Controlの自身の能力の報告、および、イニシエータ力もの報告に対する返答」と Vヽぅ内容を示す情報を設定する。
[0278] 次に、ターゲットは、「能力を示す情報」フィールド 63に対して、自分自身の RF Pow er Controlの能力を示す情報として、「出力電力が所定の最大値 Hmaxを超えられる か否か」、「出力電力が所定の最小値 Hminを超えられるか否か」、「最大値 Hmaxと最 小値 Hminとの間は何段階で調節可能であるのか」、「デフォルトの値の指示」、「最大 値 Hmaxと機器固有の最大出力電力(RF Power)との間は何段階で調節可能である のか」、および「最小値 Hminと機器固有の最小出力電力(RF Power)との間は何段階 で調節可能であるのか」等の情報を設定する。
[0279] 次に、ターゲットは、「能力を示す情報に対する指示」フィールド 64に対して、「「能 力を示す情報」フィールド 63の設定値を記憶せよ」 、う命令を設定する。
[0280] 次に、ターゲットは、「付随情報」フィールド 65に対して、イニシエータからのコマンド ATR_REQに含まれていた上述した指示に従って、所定の合言葉 {RF Power能力解 釈完了 }を示す情報を設定する。
[0281] そして、ターゲットは、このようにして設定された各フィールドを図 12に示される順番 で配置することで、カプセル [0]を生成する。
[0282] 次に、図 21のステップ S87の処理で、ターゲットは、このカプセル [0]を、レスポンス ATR_RESのフィールド Gi[0]に格納する。
[0283] 次に、ステップ S88の処理で、ターゲットは、コマンド ATR_REQのフィールド PPiの設 定を行う。詳細には、ターゲットは、上述した図 16のビット bitlに対して 1を設定するこ とにより、即ち、情報 Giとして 1を設定することにより、フィールド Gi (General Byte)が有 効であることを示す。また、ターゲットは、いまの場合、フィールド Gi[0]だけが利用さ れ、その結果、フィールド Bytel4までのレスポンス ATR_RESとなることから、図 16のビ ット bit4, bit5に対して「00」を設定する。即ち、情報 LRiとして「00」が設定される。な お、いまの場合、 n=0とされているため、情報 LRiとして「00」が設定された力 上述し たように、「00」、「01」、「11」、および、「11」のうちの、実際の nに対応する適切な値 が設定される。また、ターゲットは、フィールド PPiのその他のビットに対しても適切な 値を設定する。
[0284] そして、ターゲットは、ステップ S89の処理で、その他のフィールド(図 13のフィール ド BSiやフィールド BRi等)の設定を行い、ステップ S90の処理で、このようにして各情 報(各値)が設定されたレスポンス ATR_RESをイニシエータに送信する。
[0285] すると、イニシエータは、図 22のステップ S101の処理で、このレスポンス ATR_RES を受信し、ステップ S 102の処理で、その解釈を行う。
[0286] ステップ S102におけるレスポンス ATR_RESの解釈が成功すると、ステップ S103の 処理で、レスポンス ATR_RESのフィールド Gi[0]に情報が格納されて 、ると判定されて 、処理はステップ S 104に進む。
[0287] ステップ S 104の処理で、イニシエータは、レスポンス ATR_RESのフィールド Gi[0]に 格納されているカプセル [0]に従って、例えば次のような処理を実行する。
[0288] 即ち、いまの場合、カプセル [0]のうちの図 12の「処理を指示する情報」フィールド 6 2には、「RF Power Controlの能力の報告、および、イニシエータからの報告に対する 返答」という内容を示す情報が設定されるので、イニシエータは、このカプセル [0]は、 ターゲットについての RF Power Controlの能力の報告と、先に送信したコマンド ATR_ REQに対する返答とを行うためのカプセルであることを認識する。
[0289] 次に、イニシエータは、カプセル [0]のうちの「能力を示す情報に対する指示」フィ 一ルド 64の設定内容、即ち、「「能力を示す情報」フィールド 63の設定値を記憶せよ 」と 、う命令を受け取り、カプセル [0]のうちの「能力を示す情報」フィールド 63の設定 内容を読み出して、自分自身の内部に記憶する。
[0290] そして、イニシエータは、カプセル [0]のうちの「付随情報」フィールド 65の設定内容 、即ち、所定の合言葉 {RF Power能力解釈完了 }という内容を認識する。
[0291] これにより、ステップ S 105の処理では、所定の処理が成功したと判定されて、「ィ- シエータ側の ATR— RES受信処理」が終了となる。
[0292] 以上のようにして、イニシエータとターゲットとは、 RF Power controlの能力のレベル を交換することができる。
[0293] 次に、イニシエータとターゲットとは、そのレベルの範囲内で RF Power controlを行う ための指示 (活性ィ匕の指示)や確認を行うために、図 20の「イニシエータ側の ATR_R EQ送信処理」、図 21の「ターゲット側の ATR_REQ受信処理」、および、図 22の「ィ- シエータ側の ATR_RES受信処理」の一連の処理を 1回行う。
[0294] 詳細には、イニシエータは、図 20のステップ S61の処理で、例えば次のようなカプ セノレ [0]
を生成する。
[0295] 即ち、イニシエータは、図 12の「処理を指示する情報」フィールド 62に対して、「実 行指示」と!、う内容を示す情報を設定する。
[0296] 次に、イニシエータは、「能力を示す情報」フィールド 63に対して、「実行指示の対 象は RF Power Controlである」という内容を示す情報を設定する。
[0297] 次に、イニシエータは、「能力を示す情報に対する指示」フィールド 64に対して、「 出力電力(RF Power)を最小値 Hminよりも 2段階下げろ」という命令を設定する。なお 、ここでは、最小値 Hmin力 ゼロまでの範囲内で 3段階の調節ができる能力をターゲ ット有して 、ると 、う情報が、能力の存在の交換にっ 、ての上述した一連の処理の結 果として、イニシエータにより認識済みであるとする。
[0298] 次に、イニシエータは、「付随情報」フィールド 65に対して、「このカプセル 51に格 納された各情報を理解して、「能力を示す情報に対する指示」フィールド 64に設定さ れた命令に対する処理の実行を完了したならば、レスポンス ATR_RESに含めるカプ セル 51のうちの「付随情報」フィールド 65に対して、所定の合言葉 {出力電圧を 2段 階下げるのに成功しました }を設定することで返事をせよ」という内容を示す情報を設 定する。
[0299] そして、イニシエータは、このようにして設定された各フィールドを図 12に示される 順番で配置することで、カプセル [0]を生成する。
[0300] 次に、図 20のステップ S62の処理で、イニシエータは、このカプセル [0]を、コマンド
ATR_REQのフィールド Gi[0]に格納する。
[0301] 次に、ステップ S63の処理で、イニシエータは、コマンド ATR_REQのフィールド PPi の設定を行う。詳細には、イニシエータは、上述した図 16のビット bitlに対して 1を設 定することにより、即ち、情報 Giとして 1を設定することにより、フィールド Gi (General B yte)が有効であることを示す。また、イニシエータは、いまの場合、フィールド Gi[0]だ けが利用され、その結果、フィールド Bytel4までのコマンド ATR_REQとなることから、 図 16のビット bit4, bit5に対して「00」を設定する。即ち、情報 LRiとして「00」が設定さ れる。なお、いまの場合、 n=0とされているため、情報 LRiとして「00」が設定されたが、 上述したように、「00」、「01」、「11」、および、「11」のうちの、実際の nに対応する適 切な値が設定される。また、イニシエータは、フィールド PPiのその他のビットに対して も適切な値を設定する。
[0302] そして、イニシエータは、ステップ S64の処理で、その他のフィールド(図 13のフィ 一ルド BSiやフィールド BRi等)の設定を行い、ステップ S65の処理で、このようにして 各情報 (各値)が設定されたコマンド ATR_REQをターゲットに送信する。
[0303] すると、ターゲットは、図 21のステップ S81の処理で、このコマンド ATR_REQを受信 し、ステップ S82の処理で、その解釈を行う。
[0304] ステップ S82におけるコマンド ATR_REQの解釈が成功すると、ステップ S83の処理 で、コマンド ATR_REQのフィールド Gi[0]に情報が格納されていると判定されて、処理 はステップ S84に進む。
[0305] ステップ S84の処理で、ターゲットは、コマンド ATR_REQのフィールド Gi[0]に格納さ れているカプセル [0]に従って、例えば次のような処理を実行する。
[0306] 即ち、いまの場合、カプセル [0]のうちの図 12の「処理を指示する情報」フィールド 6 2には、「実行指示」という内容を示す情報が設定されるので、ターゲットは、このカブ セル [0]は、所定の種類の能力の活性ィ匕を指示するためのカプセルであることを認識 する。
[0307] そこで、ターゲットは、何れの種類の能力の活性ィ匕を指示するのかを認識するため に、カプセル [0]のうちの「能力を示す情報」フィールド 63の設定内容を読み出す。 いまの場合、「実行指示の対象は RF Power Controlである」という内容を示す情報が 読み出される。従って、ターゲットは、このカプセル [0]は、 RF Power Controlの実行の 指示を行うカプセルであることを認識する。
[0308] 次に、ターゲットは、「能力を示す情報に対する指示」フィールド 64の設定内容、即 ち、「出力電力(RF Power)を最小値 Hminよりも 2段階下げろ」という命令を受け取り、 自分自身の出力電力(RF Power)を最小値 Hminよりも 2段階下げるために必要な各 種処理を実行する。
[0309] そして、ターゲットは、カプセル [0]のうちの「付随情報」フィールド 65の設定内容、 即ち、「このカプセル 51に格納された各情報を理解して、「能力を示す情報に対する 指示」フィールド 64に設定された命令に対する処理の実行を完了したならば、レスポ ンス ATR_RESに含めるカプセル 51のうちの「付随情報」フィールド 65に対して、所定 の合言葉 {出力電圧を 2段階下げるのに成功しました }を設定することで返事をせよ」 という内容を認識する。
[0310] これにより、ステップ S85の処理では、所定の処理が成功したと判定されて、処理は ステップ S86に進む。
[0311] ターゲットは、ステップ S86の処理で、例えば次のような、レスポンス ATR_RES用の カプセル [0]を生成する。
[0312] 即ち、ターゲットは、図 12の「処理を指示する情報」フィールド 62に対して、「ィ -シ エータからの命令に対する返答」 、う内容を示す情報を設定する。
[0313] 次に、ターゲットは、「付随情報」フィールド 65に対して、イニシエータからのコマンド
ATR_REQに含まれていた上述した指示に従って、所定の合言葉 {出力電圧を 2段階 下げるのに成功しました }を示す情報を設定する。
[0314] そして、ターゲットは、このようにして設定された各フィールドを図 12に示される順番 で配置することで、カプセル [0]を生成する。
[0315] なお、ここでは、ターゲットは、イニシエータ力もの命令に対する返答のみを行うとし て、「能力を示す情報」フィールド 63と、「能力を示す情報に対する指示」フィールド 6
4とには何も設定しない。ただし、ターゲットが、イニシエータ側の RF Power Controlを 実行する場合には、「能力を示す情報」フィールド 63や、「能力を示す情報に対する 指示」フィールド 64に対して、イニシエータからのコマンド ATR_REQに含まれるカプセ ル G[0]の設定内容と同様の内容を設定することもできる。
[0316] 次に、図 21のステップ S87の処理で、ターゲットは、このカプセル [0]を、レスポンス
ATR_RESのフィールド Gi[0]に格納する。
[0317] 次に、ステップ S88の処理で、ターゲットは、コマンド ATR_REQのフィールド PPiの設 定を行う。詳細には、ターゲットは、上述した図 16のビット bitlに対して 1を設定するこ とにより、即ち、情報 Giとして 1を設定することにより、フィールド Gi (General Byte)が有 効であることを示す。また、ターゲットは、いまの場合、フィールド Gi[0]だけが利用さ れ、その結果、フィールド Bytel4までのレスポンス ATR_RESとなることから、図 16のビ ット bit4, bit5に対して「00」を設定する。即ち、情報 LRiとして「00」が設定される。な お、いまの場合、 n=0とされているため、情報 LRiとして「00」が設定された力 上述し たように、「00」、「01」、「11」、および、「11」のうちの、実際の nに対応する適切な値 が設定される。また、ターゲットは、フィールド PPiのその他のビットに対しても適切な 値を設定する。
[0318] そして、ターゲットは、ステップ S89の処理で、その他のフィールド(図 13のフィール ド BSiやフィールド BRi等)の設定を行い、ステップ S90の処理で、このようにして各情 報(各値)が設定されたレスポンス ATR_RESをイニシエータに送信する。
[0319] すると、イニシエータは、図 22のステップ S101の処理で、このレスポンス ATR_RES を受信し、ステップ S 102の処理で、その解釈を行う。
[0320] ステップ S102におけるレスポンス ATR_RESの解釈が成功すると、ステップ S103の 処理で、レスポンス ATR_RESのフィールド Gi[0]に情報が格納されて 、ると判定されて
、処理はステップ S 104に進む。
[0321] ステップ S104の処理で、イニシエータは、レスポンス ATR_RESのフィールド Gi[0]に 格納されているカプセル [0]に従って、例えば次のような処理を実行する。
[0322] 即ち、いまの場合、カプセル [0]のうちの図 12の「処理を指示する情報」フィールド 6
2には、「イニシエータからの命令に対する返答」 t 、う内容を示す情報が設定される ので、イニシエータは、このカプセル [0]は、先に送信したコマンド ATR_REQに対する 返答を行うためのカプセルであることを認識する。
[0323] そこで、イニシエータは、カプセル [0]のうちの「付随情報」フィールド 65の設定内容
、即ち、所定の合言葉 {出力電圧を 2段階下げるのに成功しました }という内容を認識 する。
[0324] これにより、ステップ S 105の処理では、所定の処理が成功したと判定されて、「ィ- シエータ側の ATR RES受信処理」が終了となる。 [0325] 以上のようにして、イニシエータとターゲットとは、 RF Power controlの能力のレベル を交換した後に、そのレベルの範囲内で RF Power controlを行うための指示(活性化 の指示)や確認を行うことができる。
[0326] これにより、例えば、イニシエータが、重要度の高い情報を、ターゲットに対して書き 込んだり、或いはターゲットから読み出す場合、その情報が送受信される際の出力電 圧を可能な限り低く抑えることが可能になり、その結果、その情報の秘匿性を図ること ができる、即ち、その情報の盗聴を防止することができるという効果を奏することが可 能になる。特に、ターゲットがカード等で構成され、そのカードの発行時に、ィユシェ ータがそのカードに対して鍵情報等の重要情報を書き込む場合に、この効果はより 顕著なものとなる。
[0327] また、例えば、イニシエータが、他のターゲットが存在する状態で、所定のターゲット を通信相手として通信を行う場合には、上述したように、コリジョンが生じる場合がある 。このような場合も、イニシエータは、他のターゲットの出力電圧を抑えるとともに、通 信相手のターゲットの出力電力を上げることで、コリジョンを防止することができるとい う効果を奏することも可能になる。
[0328] また、上述した例では、 RF Power controlの能力のレベルを交換する場合にも、そ のレベルの範囲内で RF Power controlを行うための指示(活性化の指示)や確認を 行う場合〖こも、図 12のカプセル 51は、コマンド ATR_REQやレスポンス ATR_RESに格 納されたが、上述したように、その格納先は特に限定されない。例えば、 RF Power co ntrolの能力のレベルを交換する場合には、コマンド ATR_REQやレスポンス ATR_RES にカプセル 51を格納させて、そのレベルの範囲内で RF Power controlを行うための 指示 (活性ィ匕の指示)や確認を行う場合には、コマンド DEP_REQやレスポンス DEP_R ESにカプセル 51を格納させることも可能である。
[0329] なお、本明細書にぉ 、て、記録媒体に記録されるプログラムを記述するステップは 、その順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理 されなくとも、並列的あるいは個別に実行される処理をも含むものである。

Claims

請求の範囲
[1] 1以上のコマンド、および、 1以上のレスポンスが少なくとも規定されている通信プロ トコルに従って、通信相手である他の通信装置と通信を行う通信装置であって、 データを送受信する複数の装置のそれぞれにおいて、電磁波を出力し、その電磁波 を変調することによりデータの送信を行う通信モードであるアクティブモードと、複数 の装置のうちの 1の装置において、電磁波を出力し、その電磁波を変調することによ りデータの送信を行うとともに、前記複数の装置のうちの他の装置において、前記 1 の装置が出力する電磁波を負荷変調することによりデータの送信を行う通信モード であるパッシブモードとのうちのいずれかの通信モードで通信を行う通信手段と、 前記通信装置自身または前記他の通信装置が有する所定の 1種類の能力に関連 する情報を 1以上含むデータ群を能力の種類毎にそれぞれ生成し、生成された 1以 上の前記データ群を、前記通信プロトコルで規定されている 1以上の前記コマンドお よび 1以上の前記レスポンスのうちの所定の 1つに格納させて、前記他の通信装置に 送信する制御を行う制御手段
を備えることを特徴とする通信装置。
[2] 前記通信プロトコルは、前記通信装置および前記他の通信装置が有すべきまたは 有することが可能な属性をさらに規定し、 1以上の前記コマンドのうちの 1つとして、前 記属性を通信相手に通知するまたは要求するための属性コマンドを少なくとも規定し
、 1以上の前記コマンドのうちの 1つとして、前記属性コマンドに対する属性レスポンス を少なくとも規定しており、
前記制御手段は、前記通信プロトコルに前記属性として規定されて 、る種類とは異 なる n+1種類 (nは、 0以上の整数値)の能力のそれぞれについて、対応する種類の 能力に関連する情報を 1以上含む前記データ群を n+1種類毎にそれぞれ生成し、生 成された n+1個の前記データ群を、前記属性コマンドまたは前記属性レスポンスに格 納させて、前記他の通信装置に送信する制御を行う
ことを特徴とする請求項 1に記載の通信装置。
[3] 前記制御手段は、 n+1種類の能力のそれぞれにつ 、て、対応する種類の能力につ V、ての、前記通信装置自身が有して 、るまたは有することが可能なレベルを示す情 報を少なくとも含む前記データ群を n+1種類毎にそれぞれ生成し、生成された n+1個 の前記データ群を、前記属性コマンドに格納させて、前記他の通信装置に送信する 制御を行う
ことを特徴とする請求項 2に記載の通信装置。
[4] 前記制御手段は、 n+1種類の能力のそれぞれについて、対応する種類の能力につ V、ての、前記他の通信装置が有して 、るまたは有することが可能なレベルを前記通 信装置自身に対して通知する指示を少なくとも含む前記データ群を n+1種類毎にそ れぞれ生成し、生成された n+1個の前記データ群を、前記属性コマンドに格納させて 、前記他の通信装置に送信する制御を行う
ことを特徴とする請求項 2に記載の通信装置。
[5] 前記他の通信装置により、 n+1種類の能力のそれぞれについて、対応する種類の 能力につ 、ての、前記通信装置自身が有して 、るまたは有することが可能なレベル を前記他の通信装置に対して通知する指示を少なくとも含むデータ群が n+1種類毎 にそれぞれ生成され、生成された n+1個の前記データ群が前記属性コマンドに格納 されて前記通信装置自身に送信されてきた場合、
前記制御手段は、
前記属性コマンドを前記通信装置自身が受信する制御をさらに行い、 受信された前記属性コマンドに格納された n+1個の前記データ群のそれぞれに含 まれる前記指示に基づいて、 n+1種類の能力のそれぞれについて、対応する種類の 能力につ 、ての、前記通信装置自身が有して 、るまたは有することが可能なレベル を示す情報を少なくとも含むデータ群を n+1種類毎にそれぞれ生成し、生成された n+ 1個の前記データ群を、前記属性レスポンスに格納させて、前記他の通信装置に送 信する制御を行う
ことを特徴とする請求項 2に記載の通信装置。
[6] 前記制御手段は、 n+1種類の能力のそれぞれについて、対応する種類の能力の活 性ィ匕を前記他の通信装置が行うことの指示を少なくとも含む前記データ群を n+1種類 毎にそれぞれ生成し、生成された n+1個の前記データ群を、前記属性コマンドに格納 させて、前記他の通信装置に送信する制御を行う ことを特徴とする請求項 2に記載の通信装置。
[7] 前記他の通信装置により、 n+1種類の能力のそれぞれについて、対応する能力の 活性化を前記通信装置自身が行うことの指示を少なくとも含むデータ群が n+1種類毎 にそれぞれ生成され、生成された n+1個の前記データ群が前記属性コマンドに格納 されて前記通信装置自身に送信されてきた場合、
前記制御手段は、
前記属性コマンドを前記通信装置自身が受信する制御をさらに行い、 受信された前記属性コマンドに格納された n+1個の前記データ群のそれぞれに含 まれる前記指示に基づ 、て、 n+1種類の能力のそれぞれの活性ィ匕を行うための制御 をさらに行い、
n+1種類の能力のそれぞれにつ 、て、対応する種類の能力の活性化の結果を示 す情報を少なくとも含むデータ群を n+1種類毎にそれぞれ生成し、生成された n+1個 の前記データ群を、前記属性レスポンスに格納させて、前記他の通信装置に送信す る制御を行う
ことを特徴とする請求項 2に記載の通信装置。
[8] 前記コマンドまたは前記レスポンスに格納される 1以上のデータ群のそれぞれに含 まれる情報により特定される 1種類以上の能力のうちの 1種類は、前記通信装置また は前記他の通信装置が出力する電磁波の電力の制御を行う能力である
ことを特徴とする請求項 1に記載の通信装置。
[9] 1以上のコマンド、および、 1以上のレスポンスが少なくとも規定されている通信プロ トコルに従って、通信相手である他の通信装置と通信を行う通信装置の通信方法で あって、
データを送受信する複数の装置のそれぞれにおいて、電磁波を出力し、その電磁波 を変調することによりデータの送信を行う通信モードであるアクティブモードと、複数 の装置のうちの 1の装置において、電磁波を出力し、その電磁波を変調することによ りデータの送信を行うとともに、前記複数の装置のうちの他の装置において、前記 1 の装置が出力する電磁波を負荷変調することによりデータの送信を行う通信モード であるパッシブモードとのうちの!/、ずれかの通信モードで通信を行 、、 前記通信装置自身または前記他の通信装置が有する所定の 1種類の能力に関連 する情報を 1以上含むデータ群を能力の種類毎にそれぞれ生成し、生成された 1以 上の前記データ群を、前記通信プロトコルで規定されている 1以上の前記コマンドお よび 1以上の前記レスポンスのうちの所定の 1つに格納させて、前記他の通信装置に 送信する制御を行う
ことを特徴とする通信方法。
データを送受信する複数の装置のそれぞれにおいて、電磁波を出力し、その電磁 波を変調することによりデータの送信を行う通信モードであるアクティブモードと、複 数の装置のうちの 1の装置において、電磁波を出力し、その電磁波を変調することに よりデータの送信を行うとともに、前記複数の装置のうちの他の装置において、前記 1 の装置が出力する電磁波を負荷変調することによりデータの送信を行う通信モード であるパッシブモードとのうちのいずれかの通信モードで通信を行うこと、 1以上のコ マンド、および、 1以上のレスポンスが少なくとも規定されている通信プロトコルに従つ て、通信相手である他の通信装置と通信を行う通信装置を制御するコンピュータに 実行させるプログラムにおいて、
前記通信装置自身または前記他の通信装置が有する所定の 1種類の能力に関連 する情報を 1以上含むデータ群を能力の種類毎にそれぞれ生成し、生成された 1以 上の前記データ群を、前記通信プロトコルで規定されている 1以上の前記コマンドお よび 1以上の前記レスポンスのうちの所定の 1つに格納させて、前記他の通信装置に 送信する制御を行う制御ステップ
を含むことを特徴とするプログラム。
PCT/JP2006/301309 2005-01-31 2006-01-27 通信装置、通信方法、およびプログラム Ceased WO2006080435A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
HK08102542.1A HK1111828B (en) 2005-01-31 2006-01-27 Communication apparatus and communication method for near field communication
CN200680003635.0A CN101112010B (zh) 2005-01-31 2006-01-27 用于近场通信的通信装置和通信方法
EP06712475.0A EP1845632B1 (en) 2005-01-31 2006-01-27 Communication apparatus, communication method, and program
US11/814,974 US8515345B2 (en) 2005-01-31 2006-01-27 Communication apparatus, communication method, and program
US13/908,689 US8874033B2 (en) 2005-01-31 2013-06-03 Communication apparatus, communication method, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005023434A JP4432787B2 (ja) 2005-01-31 2005-01-31 通信装置、通信方法、およびプログラム
JP2005-023434 2005-01-31

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US11/814,974 A-371-Of-International US8515345B2 (en) 2005-01-31 2006-01-27 Communication apparatus, communication method, and program
US13/908,689 Continuation US8874033B2 (en) 2005-01-31 2013-06-03 Communication apparatus, communication method, and program

Publications (1)

Publication Number Publication Date
WO2006080435A1 true WO2006080435A1 (ja) 2006-08-03

Family

ID=36740459

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/301309 Ceased WO2006080435A1 (ja) 2005-01-31 2006-01-27 通信装置、通信方法、およびプログラム

Country Status (5)

Country Link
US (2) US8515345B2 (ja)
EP (1) EP1845632B1 (ja)
JP (1) JP4432787B2 (ja)
CN (1) CN101112010B (ja)
WO (1) WO2006080435A1 (ja)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102013901A (zh) * 2009-09-08 2011-04-13 韩国电子通信研究院 使用近场的通信设备
EP1990940A3 (en) * 2007-05-07 2011-07-06 Samsung Electronics Co., Ltd. Method for transmitting and receiving data in NFC
US8537907B2 (en) 2010-02-23 2013-09-17 Samsung Electronics Co., Ltd Receiving system for use in near field communication and mode detection method therefore
JP2014534669A (ja) * 2011-09-30 2014-12-18 クアルコム,インコーポレイテッド Nfcデータ交換構成パラメータ更新機構を改善するための方法および装置

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8340111B1 (en) * 2008-03-26 2012-12-25 Marvell Israel (M.I.S.L) Ltd. Method and apparatus for power reduction in network
JP4458184B2 (ja) * 2008-06-09 2010-04-28 ソニー株式会社 情報管理装置、通信処理装置、および方法、並びにプログラム
JP4548524B2 (ja) * 2008-07-29 2010-09-22 ソニー株式会社 通信装置、プログラム、通信方法および通信システム
JP4720899B2 (ja) 2008-11-27 2011-07-13 ソニー株式会社 通信装置、通信方法、プログラム、および通信システム
US20110076951A1 (en) * 2009-09-30 2011-03-31 Kabushiki Kaisha Toshiba Information processing apparatus
CN102804873A (zh) 2010-02-22 2012-11-28 高通股份有限公司 基于接入终端排序来控制接入点发射功率
CN102804875B (zh) 2010-02-22 2015-10-21 高通股份有限公司 基于事件触发的接入终端消息发送来控制接入点发射功率
US9397726B2 (en) * 2010-08-23 2016-07-19 Radeum, Inc. System and method for communicating between near field communication devices within a target region using near field communication
US8068011B1 (en) 2010-08-27 2011-11-29 Q Street, LLC System and method for interactive user-directed interfacing between handheld devices and RFID media
EP2736207B1 (en) * 2011-07-21 2018-12-12 LG Electronics Inc. Communication of wireless power receiver through wireless power signal
US9124303B2 (en) * 2011-10-19 2015-09-01 Nokia Technologies Oy Apparatus and method for near field communication
US9214988B2 (en) * 2012-02-06 2015-12-15 Qualcomm Incorporated Methods and apparatus for improving peer communications using an active communication mode
JP6019675B2 (ja) 2012-03-30 2016-11-02 ブラザー工業株式会社 機能実行装置
JP6019676B2 (ja) 2012-03-30 2016-11-02 ブラザー工業株式会社 通信装置
JP5867319B2 (ja) 2012-07-03 2016-02-24 ブラザー工業株式会社 通信装置
JP5958161B2 (ja) 2012-08-03 2016-07-27 ブラザー工業株式会社 通信装置
JP5900228B2 (ja) 2012-08-06 2016-04-06 ブラザー工業株式会社 通信装置
FR3002099B1 (fr) 2013-02-12 2016-05-27 Proton World Int Nv Configuration de routeurs nfc pour communication p2p
JP6332768B2 (ja) * 2013-03-18 2018-05-30 華為終端(東莞)有限公司 Nfcデバイスのための通信方法および装置ならびにそのnfcデバイス
KR20150009072A (ko) * 2013-07-12 2015-01-26 삼성전자주식회사 동작모드 제어 방법 및 그 방법을 처리하는 전자 장치
US9916707B2 (en) 2013-08-19 2018-03-13 Arm Ip Limited Interacting with embedded devices within a user's environment
US9088895B2 (en) * 2013-08-19 2015-07-21 Arm Ip Limited Establishing communication links automatically with local devices
JP6264815B2 (ja) 2013-09-30 2018-01-24 ブラザー工業株式会社 通信装置
JP6402494B2 (ja) 2014-05-30 2018-10-10 ブラザー工業株式会社 機能実行システム、機能実行装置、及び、通信端末
JP2016010117A (ja) * 2014-06-26 2016-01-18 カシオ計算機株式会社 無線通信装置、無線通信システム、無線通信方法、及びプログラム
KR102272243B1 (ko) * 2014-09-18 2021-07-06 삼성전자주식회사 카드 리더기 및 그것의 동작 방법
US9723431B2 (en) 2014-12-18 2017-08-01 Intel Corporation Close proximity transport configuration
EP3430703B1 (en) * 2016-07-29 2021-08-25 Hewlett-Packard Development Company, L.P. Wireless charging
CN115884117A (zh) * 2022-12-28 2023-03-31 中兴通讯股份有限公司 一种指令发送、接收方法,通信节点及存储介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003515981A (ja) * 1999-11-22 2003-05-07 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド 送信電力レベル調整のための方法と装置
JP2004215225A (ja) * 2002-12-17 2004-07-29 Sony Corp 通信システムおよび通信方法、並びにデータ処理装置

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3231394B2 (ja) * 1992-04-01 2001-11-19 株式会社リコー モデム
JPH0715525A (ja) * 1993-06-28 1995-01-17 Ricoh Co Ltd マルチメディア通信端末装置
US5473691A (en) * 1993-11-05 1995-12-05 Microsoft Corporation System and method for computer data transmission
CA2134620A1 (en) * 1993-11-05 1995-05-06 Arul Menezes System and method for exchanging computer data processing capabilities
JP3522882B2 (ja) * 1995-03-22 2004-04-26 株式会社東芝 プロトコル切換方法
WO1999052270A1 (en) * 1998-04-06 1999-10-14 Matsushita Graphic Communication Systems, Inc. Image communication device and image communication method
US6282407B1 (en) 1998-04-16 2001-08-28 Motorola, Inc. Active electrostatic transceiver and communicating system
CN1143237C (zh) * 1998-07-21 2004-03-24 皇家菲利浦电子有限公司 用至少另一种辅助载波信号从数据载体向站传输数据的系统
KR100697002B1 (ko) * 2001-02-17 2007-03-20 삼성전자주식회사 톤 간격 조절을 포함한 초고속 디지털 가입자회선을 위한초기화 방법 및 이를 지원하는 시스템
US7423989B2 (en) * 2004-02-13 2008-09-09 Broadcom Corporation Preamble formats for MIMO wireless communications
US8300666B2 (en) * 2004-10-07 2012-10-30 Cisco Technology, Inc. Inline power-based common mode communications in a wired data telecommunications network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003515981A (ja) * 1999-11-22 2003-05-07 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド 送信電力レベル調整のための方法と装置
JP2004215225A (ja) * 2002-12-17 2004-07-29 Sony Corp 通信システムおよび通信方法、並びにデータ処理装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1845632A4 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE45346E1 (en) 2007-05-07 2015-01-20 Samsung Electronics Co., Ltd. Method for transmitting and receiving data in NFC
EP2760142A1 (en) * 2007-05-07 2014-07-30 Samsung Electronics Co., Ltd. Apparatus and method for transmitting and receiving data in NFC
CN103281729A (zh) * 2007-05-07 2013-09-04 三星电子株式会社 用于在近距离通信中传送和接收数据的方法
USRE49278E1 (en) 2007-05-07 2022-11-01 Samsung Electronics Co., Ltd. Method for transmitting and receiving data in NFC
KR101408544B1 (ko) * 2007-05-07 2014-06-17 삼성전자주식회사 근거리무선통신의 데이터 송수신 방법
EP2760143A1 (en) * 2007-05-07 2014-07-30 Samsung Electronics Co., Ltd. Apparatus for transmitting and receiving data in NFC
EP1990940A3 (en) * 2007-05-07 2011-07-06 Samsung Electronics Co., Ltd. Method for transmitting and receiving data in NFC
USRE47634E1 (en) 2007-05-07 2019-10-01 Samsung Electronics Co., Ltd. Method for transmitting and receiving data in NFC
EP2753117A3 (en) * 2007-05-07 2014-07-30 Samsung Electronics Co., Ltd. Apparatus and method for transmitting and receiving data in NFC
CN103281729B (zh) * 2007-05-07 2016-09-28 三星电子株式会社 用于在近距离通信中传送和接收数据的方法
CN102013901A (zh) * 2009-09-08 2011-04-13 韩国电子通信研究院 使用近场的通信设备
US8537907B2 (en) 2010-02-23 2013-09-17 Samsung Electronics Co., Ltd Receiving system for use in near field communication and mode detection method therefore
JP2014534669A (ja) * 2011-09-30 2014-12-18 クアルコム,インコーポレイテッド Nfcデータ交換構成パラメータ更新機構を改善するための方法および装置
KR101826913B1 (ko) * 2011-09-30 2018-02-07 퀄컴 인코포레이티드 Nfc 데이터 교환 구성 파라미터 업데이트 메커니즘들을 개선하기 위한 방법들 및 장치
US9112541B2 (en) 2011-09-30 2015-08-18 Qualcomm Incorporated Methods and apparatus for improving NFC data exchange configuration parameter update mechanisms

Also Published As

Publication number Publication date
JP4432787B2 (ja) 2010-03-17
JP2006211519A (ja) 2006-08-10
EP1845632A4 (en) 2012-12-12
HK1111828A1 (en) 2008-08-15
US20130267175A1 (en) 2013-10-10
EP1845632B1 (en) 2014-08-20
US8515345B2 (en) 2013-08-20
US20080299907A1 (en) 2008-12-04
CN101112010B (zh) 2011-03-30
CN101112010A (zh) 2008-01-23
EP1845632A1 (en) 2007-10-17
US8874033B2 (en) 2014-10-28

Similar Documents

Publication Publication Date Title
JP4432787B2 (ja) 通信装置、通信方法、およびプログラム
JP4367349B2 (ja) 通信装置、通信方法、およびプログラム
JP4378643B2 (ja) 通信システム、通信装置、通信方法、およびプログラム
JP4023308B2 (ja) 通信装置および通信方法
US8942629B2 (en) Communication system, communication method, and data processing apparatus
RU2533170C2 (ru) Устройство передачи данных, способ передачи данных, программа и система передачи данных
KR20130107968A (ko) 근거리 무선 통신 리더를 구비한 모바일 단말 장치와 근거리 무선 통신 태그를 구비한 디바이스 및 그 ap 연결 방법
JP4706702B2 (ja) 通信システム、通信装置および通信方法、並びにプログラム
JP2010130311A (ja) 通信装置、通信方法、プログラム、および通信システム
JP4525715B2 (ja) 通信装置、通信方法、および通信システム
JP4682735B2 (ja) 通信システム、通信装置、通信方法、およびプログラム
HK1111828B (en) Communication apparatus and communication method for near field communication
JP3695464B2 (ja) 近接通信方法および通信装置
JP4967507B2 (ja) 処理装置および方法、並びにプログラム
JP5327558B2 (ja) 通信装置、通信方法、およびプログラム
JP5263314B2 (ja) 通信装置
HK1086118B (en) Communication system, communication method, and data processing apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2006712475

Country of ref document: EP

Ref document number: 200680003635.0

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 11814974

Country of ref document: US

WWP Wipo information: published in national office

Ref document number: 2006712475

Country of ref document: EP