US7711323B2 - Wireless communication apparatus and response data processing method therefor - Google Patents

Wireless communication apparatus and response data processing method therefor Download PDF

Info

Publication number
US7711323B2
US7711323B2 US10/987,759 US98775904A US7711323B2 US 7711323 B2 US7711323 B2 US 7711323B2 US 98775904 A US98775904 A US 98775904A US 7711323 B2 US7711323 B2 US 7711323B2
Authority
US
United States
Prior art keywords
response data
response
wireless communication
data
communication apparatus
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.)
Expired - Fee Related, expires
Application number
US10/987,759
Other versions
US20050111420A1 (en
Inventor
Kunihide Fujii
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
Assigned to SONY CORPORATION reassignment SONY CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: FUJII, KUMHIDE
Publication of US20050111420A1 publication Critical patent/US20050111420A1/en
Application granted granted Critical
Publication of US7711323B2 publication Critical patent/US7711323B2/en
Expired - Fee Related legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • H04B5/48
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10019Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves resolving collision on the communication channels between simultaneously or concurrently interrogated record carriers.
    • G06K7/10029Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves resolving collision on the communication channels between simultaneously or concurrently interrogated record carriers. the collision being resolved in the time domain, e.g. using binary tree search or RFID responses allocated to a random time slot
    • G06K7/10039Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves resolving collision on the communication channels between simultaneously or concurrently interrogated record carriers. the collision being resolved in the time domain, e.g. using binary tree search or RFID responses allocated to a random time slot interrogator driven, i.e. synchronous
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/341Active cards, i.e. cards including their own processing means, e.g. including an IC or chip
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F7/00Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
    • G07F7/08Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
    • G07F7/0806Details of the card
    • G07F7/0833Card having specific functional components
    • G07F7/084Additional components relating to data transfer and storing, e.g. error detection, self-diagnosis
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F7/00Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
    • G07F7/08Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
    • G07F7/10Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means together with a coded signal, e.g. in the form of personal identification information, like personal identification number [PIN] or biometric data
    • G07F7/1008Active credit-cards provided with means to personalise their use, e.g. with PIN-introduction/comparison system

Definitions

  • the present invention relates to wireless communication apparatuses. More specifically the present invention relates to a wireless communication apparatus incorporating near field communication (NFC) technology.
  • NFC near field communication
  • a compact and lightweight terminal device such as a mobile phone, incorporates a non-contact IC (integrated circuit) card and communicates with, for example, an IC card reader/writer.
  • IC integrated circuit
  • a mobile phone incorporates a non-contact IC card and the card of the mobile phone is brought into close proximity to an IC card R/W (IC card reader/writer), thus allowing the information stored in the non-contact IC card to be communicated over electromagnetic waves from the IC card reader/writer.
  • NFC near field communication
  • the NFC system Due to its shorter communication range than wireless communication systems, such as Bluetooth and wireless LAN systems, the NFC system provides high security communication.
  • the NFC technology has also attracted attention in view of a different feature from traditional communication technologies, namely, that the NFC technology enables automatic communication between NFC-incorporated devices within or near a predetermined region.
  • the NFC technology also enables data communication at high transfer rates (e.g., up to 424 kbps), at which high-quality images can be transmitted.
  • a portable wireless communication terminal such as a mobile phone or a PDA, including a wireless communication interface device incorporating NFC technology enables credit card settlement and access to network content, such as tickets and games, in a simple manner once the NFC-incorporated device is brought into close proximity.
  • the NFC technology is also expected, by content and service providers, to provide a new mechanism for users to access various services.
  • a wireless communication control device e.g., a wireless communication interface device
  • a controller e.g., a baseband controller
  • the controller When wirelessly transmitting or receiving frames, the controller must read and write the information stored in a register of the wireless communication interface device at a high rate. If the controller cannot access the register of the wireless communication interface device at high rate, communication is not established.
  • a response check, such as polling, required for detecting a communicating party within a communication range is particularly time-critical because response data, such as polling responses, must be transmitted and received in a limited short period of time.
  • a high-performance controller is required for performing response checking and other normal processing.
  • a high-performance controller is required for performing response checking and other normal processing.
  • the present invention relates to wireless communication apparatuses. More specifically the present invention relates to a wireless communication apparatus incorporating near field communication (NFC) technology.
  • NFC near field communication
  • a wireless communication apparatus and response data processing method therefor are provided in which response data processing, such as response checking, can be performed individually without control from a controller.
  • the wireless communication interface device includes a transmitter configured to transmit the response request data, a counter configured to count time for determining whether or not a time limit for waiting for the response data has elapsed, a storage unit configured to store the response data, a receiver configured to receive first response data from the external wireless apparatus and instantaneously receive second response data without an instruction from the controller when the time limit has not elapsed, a frame length checking unit configured to check a frame length of the received response data, and an error detector configured to perform error detection on the response data. An error detection result of the error detector is stored in the storage unit.
  • the wireless communication interface device performs time-critical response data processing independently without using the processing performance of the controller.
  • a high-performance controller is not required for performing the response data processing since the processing resource of the controller can effectively be utilized.
  • the external wireless apparatus may be any apparatus capable of transmitting and receiving data to and from the wireless communication apparatus, or may be a wireless communication apparatus.
  • the frame length checking unit may check a frame value set in the response data against a preset frame value, the frame value indicating the frame length of the response data.
  • the frame value may be set in a length portion of the response data.
  • the controller and the wireless communication interface device may be connected by a serial interface.
  • the serial interface requires a fewer signal lines than a parallel interface, thus providing a larger space for installation and high layout flexibility. Since the space is saved, the size can be reduced.
  • the storage unit may have a capacity such that a plurality of response data or response request data can be stored. Therefore, the rate at which the controller accesses the response data or response request data stored in the storage unit in the wireless communication interface need not be high.
  • the error detector may remove an error detection code included in the response data, and the response data from which the error detection code is removed may be stored in the storage unit. Therefore, an error detection result can be immediately checked for without performing error detection each time response data is accessed, and efficient data storage can be achieved.
  • the wireless communication interface device may further include a state machine unit that controls the processing performed independently from the controller, and the receiver may receive the second response data according to an instruction from the state machine unit. Therefore, the transmitter, the counter, the storage unit, the receiver, the frame length checking unit, and the error detector of the wireless communication interface device can perform the individual processing according to instructions from the state machine unit using commands without control of the controller. The commands are issued by the controller to the wireless communication interface device, and are then processed by the wireless communication interface device using the state machine unit.
  • the wireless communication interface device includes a receiver configured to receive the response request data, a storage unit configured to store the response data, an identification information authenticating unit configured to authenticate identification information that is included in the received response request data, an identification information setting unit configured to set identification information of the wireless communication apparatus in the response data when the response request data includes request information that requests identification information, a time frame determining unit configured to determine a time frame in which the response data is to be transmitted, and a transmitter configured to transmit the response data according to the time frame without an instruction from the controller.
  • the wireless communication interface device performs time-critical response data processing independently without using the processing performance of the controller.
  • a high-performance controller is not required for performing the response data processing since the processing resource of the controller can effectively be utilized.
  • the external wireless apparatus may be any apparatus capable of transmitting and receiving data to and from the wireless communication apparatus, or may be a wireless communication apparatus.
  • the identification information authenticating unit may compare the identification information included in the response request data with identification information of the wireless communication apparatus that receives the response request data.
  • the controller and the wireless communication interface device may be connected by a serial interface.
  • the wireless communication interface device may further include a state machine unit that controls the processing performed independently from the controller. Therefore, the receiver, the storage unit, the identification information authenticating unit, the identification information setting unit, the time frame determining unit, and the transmitter of the wireless communication interface apparatus can perform the individual processing according to instructions from the state machine unit using commands without control of the controller.
  • a response data processing method for a wireless communication apparatus including a controller, for communicating data with an external wireless apparatus in a wireless communication range by requesting response data and waiting for the response data from the external wireless apparatus includes the steps of counting a time limit for waiting for the response data from the external wireless apparatus without control of the controller, checking a frame length of the response data without control of the controller, performing error detection on the response data without control of the controller, and storing the response data and an error detection result without control of the controller.
  • a frame value set in the response data may be checked against a preset frame value, the frame value indicating the frame length of the response data.
  • the stored response data may be response data from which an error detection code used in the error detection is removed.
  • a response data processing method for a wireless communication apparatus including a controller, for communicating data with an external wireless apparatus in a wireless communication range by receiving response request data from the external wireless apparatus and transmitting response data in response to the response request data, includes the steps of authenticating identification information that is included in the received response request data without control from the controller, setting identification information of the wireless communication apparatus in the response data without control of the controller when the response request data includes request information that requests identification information, determining a time frame in which the response data is to be transmitted without control from the controller, and transmitting the response data according to the time frame.
  • the identification information included in the response request data may be compared with identification information of the wireless communication apparatus that receives the response request data.
  • time-critical response data processing can be performed independently without control of a controller.
  • the present invention is applicable to a wireless communication apparatus capable of wireless communication, particularly, to a wireless communication apparatus incorporating NFC technology.
  • FIG. 1 is a schematic diagram of a wireless communication system including a wireless communication apparatus according to an embodiment of the present invention.
  • FIG. 2 is a schematic block diagram of the wireless communication apparatus in an embodiment.
  • FIG. 3 is a timing chart schematically showing polling processing in an embodiment.
  • FIG. 4 is a flowchart schematically showing the polling operation in an embodiment.
  • FIG. 5 is a schematic diagram of the frame format of a polling command in an embodiment.
  • FIG. 6 is a chart showing the relationship between targets and time slots allocated to the targets in an embodiment.
  • FIG. 7 is a schematic diagram of the frame format of a polling response in an embodiment.
  • FIG. 8 is a schematic diagram of an error register according to an embodiment.
  • FIG. 1 is a schematic diagram of a wireless communication system 100 including the wireless communication apparatus of this embodiment.
  • the wireless communication system 100 includes a plurality of wireless communication apparatuses 101 ( 101 a and 101 b ). Although two wireless communication apparatuses 101 are shown in FIG. 1 , any number of communication apparatuses more than one may be used.
  • the wireless communication apparatus 101 that issues a polling command is referred to as an initiator
  • the wireless communication apparatus 101 that receives a polling command from the initiator and that issues and transmits a polling response to the initiator is referred to as a target.
  • the polling command may be, but is not limited to, one type of response request data for requesting response data.
  • the wireless communication apparatus 101 a is an initiator and the wireless communication apparatus 101 b is a target.
  • the target is allowed to receive a polling command issued by the initiator at predetermined time intervals.
  • the initiator Upon receiving a polling response issued from the target within a time limit, the initiator identifies the target (the wireless communication apparatus 101 b ), and communicates with the target. Polling is described in detail below.
  • the wireless communication apparatus 101 may be a communication apparatus using the NFC technology.
  • the wireless communication apparatus 101 may be a battery-equipped apparatus, such as a mobile phone, a digital camera, a notebook PC, an IC card reader/writer, or a PDA, or a non-battery apparatus, such as a non-contact IC card.
  • the wireless communication apparatus 101 in the wireless communication system 100 includes a control circuit having a controller 111 for controlling the wireless communication device 101 , and a wireless communication interface device incorporating NFC functions.
  • the controller 111 (including controllers 111 a and 111 b ) is a control unit that controls the overall apparatus, and the control unit may be, but is not limited to, for example, a baseband controller of a mobile phone, a central processing unit (CPU) of a notebook PC, or a microprocessor.
  • the control unit may be, but is not limited to, for example, a baseband controller of a mobile phone, a central processing unit (CPU) of a notebook PC, or a microprocessor.
  • FIG. 2 is a schematic block diagram of the wireless communication apparatus 101 according to this embodiment.
  • the wireless communication apparatus 101 includes at least the controller 111 , a wireless communication interface device 201 , and an antenna unit 219 .
  • the wireless communication interface device 201 issues a polling command at predetermined time intervals and transmits the polling command in form of 13.56-MHz AM-modulated RF signals via the antenna unit 219 , or receives a polling response and stores the polling response data demodulated from the RF signal.
  • the wireless communication interface device 201 includes a communication interface unit 203 , a state machine unit 205 , a command register unit 207 , a timer unit 209 , a CRC (cyclic redundancy check) unit 211 , a wireless communication I/F (interface) unit 213 , a signal receiver unit 215 , a signal transmitter unit 217 , the antenna unit 219 , an FIFO (First-In First-Out) unit 221 , a random number generator unit 223 , a bus 225 , a frame length check unit 226 , an identification information (ID) authenticating unit 227 , an identification information (ID) setting unit 228 , and a time frame determining unit 229 .
  • the wireless communication interface device 201 receives or transmits a polling command or the like in units of frames, by way of example; however, the present invention is not limited to this example.
  • the communication interface unit 203 is connected with the controller 111 via a serial interface. For example, 8-bit parallel or serial data is transmitted to the communication interface unit 203 .
  • the serial interface that connects the communication interface unit 203 and the controller 111 may be, for example, an SPI (Serial Peripheral Interface), a UART (Universal Asynchronous Receiver Transmitter) serial interface, or a 12C serial interface.
  • SPI Serial Peripheral Interface
  • UART Universal Asynchronous Receiver Transmitter
  • 12C 12C serial interface
  • the antenna unit 219 receives a 13.56-MHz RF (radio frequency) signal transmitted from the target, or transmits a 13.56-MHz RF signal to the target.
  • a 13.56-MHz RF radio frequency
  • the signal receiver unit 215 which is capable of receiving data, such as polling data, removes the fundamental component from the 13.56-MHz AM-modulated RF signal, and then demodulates the RF signal.
  • the demodulated data is digital data indicating a “0” or “1” signal.
  • the signal transmitter unit 217 modulates the data transmitted from the wireless communication I/F unit 213 into an RF signal, and transmits the RF signal to the antenna unit 219 .
  • the signal receiver unit 215 and the wireless communication I/F unit 213 Upon receiving a first polling command or a first polling response, the signal receiver unit 215 and the wireless communication I/F unit 213 immediately receive a second polling command or a second polling response according to an instruction not from the controller 111 but from the state machine unit 205 .
  • the CRC unit 211 is an error detection unit that receives the data transmitted in units of frames and that sequentially performs a cyclic redundancy check (CRC) on the received data for error detection. After the error detection, the CRC unit 211 stores the data and an error detection result in the FIFO unit 221 .
  • CRC is a procedure used to check for errors in data transmission or when reading from and writing to a disk. Any other procedure may be used, such as an odd parity check, an even parity check, a vertical redundancy check (VRC), a longitudinal redundancy check (LRC), a group check, or a checksum. The details of the CRC processing are described below.
  • the timer unit 209 generates a timing signal using a counter, and counts time using a clock signal so that the processing of the wireless communication interface device 201 is performed at a desired time or within a certain period of time.
  • the clock signal counted by the timer unit 209 is checked to perform the processing at a desired time.
  • the timer unit 209 may be a monitor timer that indicates an alarm at timeout, a watchdog timer that alerts the operator that processing is impossible, a real-time timer, a periodic timer or the like.
  • the command register unit 207 is a register incorporated in the wireless communication interface device 201 .
  • the command register unit 207 stores start or end commands for the processing to be executed by the state machine unit 205 .
  • the command register unit 207 stores commands, e.g., “Idle”, “Config”, “GenerateRandomID”, “CalcCRC”, “Transmit”, “Receive”, “Transceive”, “AutoColl”, “MFAuthent”, “SoftReset”, and the like.
  • the “Idle” command is a command for canceling execution of the current command.
  • the “Config” command is a command for setting the communication environment, e.g., a certain time or time intervals at which a polling command is issued.
  • the “GenerateRandomID” command is a command for generating a 10-byte random number.
  • the “CalcCRC” command is a command for causing the CRC unit 211 to perform a CRC.
  • the “Transmit” command is a command for transmitting data to the FIFO unit 221 .
  • the “Receive” command is a command for causing the receiver to wait for data to be transmitted.
  • a control register (not shown) is set to “1”
  • the “Transceive” command causes the initiator to transmit data from the FIFO unit 221 via the antenna unit 219 , and causes the initiator to function as a receiver automatically after the transmission. If the control register is set to “0”, the “Transceive” command causes the initiator to function as a transmitter automatically when data is received via the antenna unit 219 .
  • the “AutoColl” command is a command for handling polling.
  • a command for the subsequent processing to polling is stored in the FIFO unit 221 .
  • the “SoftReset” command is a command for initializing the wireless communication interface device 201 .
  • the state machine unit 205 executes the commands stored in the command register unit 207 , and instructs the processing.
  • the state machine unit 205 is implemented by a logic circuit. For example, after the state machine unit 205 executes a command and instructs the processing, if an error occurs in the instructed component, then, the state machine unit 205 executes a command stored at a predetermined address of the command register unit 207 . Thus, the state machine unit 205 executes or terminates the commands stored in the command register unit 207 according to conditions.
  • the state machine unit 205 can control multiple processes, such as polling, independently from control of the controller 111 in the wireless communication device 101 .
  • the state machine unit 205 is implemented by a logic circuit.
  • the state machine unit 205 may be implemented by a program, e.g., firmware.
  • the command that triggers polling is issued by the controller 111 or the like.
  • the FIFO unit 221 is a data storage unit, and is a register in and from which data is stored and retrieved in FIFO order.
  • the capacity of the FIFO unit 221 may be, but is not limited to, 64 bytes.
  • the random number generator unit 223 generates a 10-byte random number in response to the “GenerateRandomID” command. This random number is used for polling in this embodiment, namely, for determining a time slot.
  • the frame length check unit 226 checks for the frame length of the received data based on a prescribed frame length according to an instruction from the state machine unit 205 . For example, the frame length check unit 226 compares a value set in a length portion of a polling command, indicating the frame length, with a prescribed frame value, and determines whether or not a match is found. This example is merely illustrative, and it may be determined whether or not the frame length is within a prescribed frame value.
  • the ID authenticating unit 227 authenticates a system code, which is identification information that identifies the wireless communication device 101 at the receiving destination, from the received data according to an instruction from the state machine unit 205 . If the correct system code is set, the received data is regarded as correct data, and is not discarded.
  • a system code which is identification information that identifies the wireless communication device 101 at the receiving destination
  • the wireless communication apparatus 101 at the receiving destination sets its system code in response data, and transmits the response data to the wireless communication apparatus 101 at the receiving source according to an instruction from the state machine unit 205 .
  • the target receives a polling command from the initiator.
  • the ID setting unit 228 of the target determines that the polling command has a setting that its system code be sent, this system code is set in polling response data.
  • the process for setting a system code is described below.
  • the time frame determining unit 229 determines a time slot in which the target is to transmit a polling response to the initiator based on the random number generated by the random number generator unit 223 .
  • FIG. 3 is a timing chart schematically showing polling processing according to an embodiment.
  • the target within a communication range is ready to receive a polling command from the initiator.
  • the target Upon receiving a polling command 301 , the target determines a time slot for a response to the initiator according to a time slot number (TSN) specified in the frame of the polling command 301 .
  • TSN time slot number
  • five targets are shown; however, any number of targets may be used as long as one or more than one target is used.
  • a time slot is determined by the random number generated by the random number generator unit 223 , as described in detail below.
  • the target transmits a polling response to the initiator in the allocated time slot after a fixed response time (T d ).
  • T d response time
  • the target allocated time slot 2 sends a polling response 309 to the initiator after time T d and 2 ⁇ T s has passed.
  • the initiator finishes receiving a polling response from the target. After the predetermined period of time, the series of polling operations is repeated; the initiator again issues and transmits a polling command to the target.
  • FIG. 4 is a flowchart schematically showing the polling operation of this embodiment.
  • polling is performed between one initiator and one target, by way of example. This example is merely illustrative, and polling may be performed between one initiator and N targets or between N initiators and N targets.
  • the initiator issues and transmits a polling command to the target at predetermined time intervals according to the command executed by the state machine unit 205 (step S 401 ).
  • the timer unit 209 of the initiator starts counting a time limit for waiting for a polling response to be returned from the target.
  • the time limit is preset as environment setting information by, for example, the “Config” command or the like.
  • FIG. 5 is a schematic diagram of the frame format of the polling command of this embodiment.
  • the frame of the polling command is constituted by a preamble portion containing a minimum of 48 bits, a 16-bit SYNC portion indicating the sync start position, an 8-bit length portion indicating the length (byte) obtained by adding one byte to the payload length (byte), a payload portion, and a 16-bit CRC code portion.
  • the frame format of the polling command complies with, for example, ISO/IEC 18092.
  • the added one byte of the length portion indicates the length of the length portion.
  • the preamble portion is set to “0”, the SYNC portion is set to hexadecimal “B24D”, and the length portion is set to “6”.
  • the payload portion has hexadecimal “00”, “FF”, “FF”, and “00” each set in one byte in order from the portion on the right of the length portion shown in FIG. 5 , and also has “TSN (time slot number)”.
  • the “TSN” is set to a time slot number value, represented by hexadecimal “00”, “01”, or “0F”, and the remaining area is a reserved area (RSN).
  • the target determines only time slot 0 . For example, when the “TSN” is set to “0F”, the target determines any time slot from time slots 0 to F.
  • the polling command transmitted from the initiator is received by a target within the communication range (step S 403 ).
  • the target that receives (step S 403 ) the polling command stores in advance the frame of a polling response in form of logic levels in order to instantaneously respond to the initiator.
  • the target Upon receiving the polling command, according to the command executed by the state machine unit 205 , the target checks for the system command by comparing the system code of the target stored in advance together with the frame of the polling response with the system code set in the received polling command (step S 407 ).
  • the system code set in the polling command is allocated “FFFF” in the payload portion at the second and third bytes from the left.
  • the “FFFF” is a wildcard, which is applied to any system code.
  • this target is regarded as an appropriate target that is to return a polling response, and the subsequent processing is performed. If an incorrect system code is set in the polling command, the state machine unit 205 stops polling due to a system code error. For example, when system code “1234” is stored, system code “1243” is regarded to be incorrect.
  • the target checks for the 1-byte value on the left of the “TSN” of the payload portion of the polling command. If this value is “01”, the system code of this target is set in a pad portion of the frame of a polling response (step S 409 ). In FIG. 5 , the 1-byte value on the left of the “TSN” is “00”.
  • the target does not set the system code in the pad portion of the polling response. If this 1-byte value is “01”, the target having system code “1234” sets “1234” in the pad portion of the polling response.
  • the initiator that receives the polling response can obtain the system code of the target from the target, and can efficiently identify the target if the initiator does not know the system code of the target when transmitting the polling command.
  • the frame format of the polling response is described in detail below.
  • the target determines the time slot in which the polling response of this target is sent to the initiator (step S 411 ).
  • the time slot is determined based on the random number generated by the random number generator unit 223 .
  • slot time slot 0 is allocated when the time slot number (“TSN”) value of the polling command is “00”
  • time slot 0 or time slot 1 is allocated when the time slot number value is “01”
  • any of time slots 0 to 3 is allocated when the time slot number value is “03”
  • any of time slots 0 to 7 is allocated when the time slot number value is “07”.
  • FIG. 6 is a chart showing the relationship between targets and the time slots allocated to the targets according to this embodiment.
  • targets 1 and 3 are allocated time slot 1 .
  • the random number generator unit 223 of the target 1 and the random number generator unit 223 of the target 3 generate the same random number.
  • a single time slot is allocated to a plurality of targets, and these targets return polling responses to the initiator in this time slot. At this time, collision occurs, and the initiator does not correctly receive the polling responses.
  • the targets that are allocated time slot 1 transmit polling responses 305 and 307 to the initiator. These polling responses are transmitted substantially at the same time, which causes collision, and are not correctly received by the initiator.
  • FIG. 7 is a schematic diagram of the frame format of the polling response of this embodiment.
  • the frame format of the polling response complies with, for example, ISO/IEC 18092.
  • the frame format of the polling response is constituted by a preamble portion containing a minimum of 48 bits, a 16-bit SYNC portion indicating the sync start position, a length portion indicating the length from a payload portion to the end (byte), the payload portion, and a 16-bit CRC code portion.
  • the preamble portion is all set to “0”
  • the SYNC portion is set to hexadecimal “B24D”
  • the length portion is set to hexadecimal “12”.
  • the payload portion has hexadecimal “01” set in one byte, an 8-byte NFCID2 portion, and an 8-byte pad portion in order from the portion on the right of the length portion shown in FIG. 7 (from the beginning position of the payload portion).
  • the CRC code portion of the frame of the polling response has a remainder value given from generator polynomial (G(x)) when transmitting the polling response. Based on the remainder value set in the CRC code portion, the initiator performs a CRC to check for errors in the data.
  • the polling response having the frame format described above is transmitted from the target in the allocated time slot, and is then received by the initiator within the receiving time limit for the initiator (step S 415 ).
  • the CRC unit 211 of the initiator receives bit-by-bit the polling response data demodulated from the polling responses transmitted from the target, which is sequentially supplied from the wireless communication I/F unit 213 , and performs a CRC (step S 415 ).
  • the CRC is performed sequentially on every one byte included in the frame of the polling response.
  • the CRC is performed while receiving the polling response from the target rather than after receiving all data included in the frame.
  • the CRC is defined by, for example, ISO/IEC 18092.
  • the generator polynomial (G(x)) for use in a CRC is given by Eq. (1) below, complying with ITU-T Recommendation V.41.
  • This generator polynomial is merely illustrative, and, for example, ANSI CRC-16 generator polynomial may be used instead.
  • G ( x ) x 16 +x 12 +x 5 +1 Eq. (1)
  • the CRC unit 211 of the initiator extracts one byte from the most significant bit (MSB) that is the beginning bit of the frame of the polling response data transmitted from the wireless communication I/F unit 213 .
  • MSB most significant bit
  • the CRC unit 211 performs left bit-shifting to move the CRC value left, and a carry bit is XORed with Eq. (1).
  • the CRC unit 211 performs left bit-shifting to move the extracted data left, and a carry bit is XORed with the CRC value and the data extracted at the first stage.
  • the CRC unit 211 repeats the processing in the second and third stages seven times to process the remaining 7 bits of the 8 bits.
  • the CRC unit 211 performs the processing in the first to fourth stages again.
  • the CRC value is “0”, it is determined that no error occurs. That is, no remainder exists. If any remainder exists, it is determined that an error occurs.
  • the state machine unit 205 sets “1” in a CRC error field in an error register of the FIFO unit 221 .
  • FIG. 8 is a schematic diagram of the error register of this embodiment.
  • the error register is constituted by a “preliminary” field at the seventh bit; a “Temp error” field, an “RF error” field, a “BufferOvfl” field, a “Coll error” field, a “CRC error” field, a “Parity error” field, and a “protocol error” field.
  • the “preliminary” field has “0” stored therein in advance.
  • the “Temp error” field is set to “1” indicating a temp error when a temperature sensor detects heat, and the power of the antenna unit 219 is automatically turned off.
  • the “RF error” field is set to “1” indicating an RF error when the other party does not operate in an active communication mode in the RF field within a certain period of time, which is specified by the NFCIP1 standard.
  • the “BufferOvfl” field is set to “1” indicating a buffer overflow when the state machine unit 205 is to write data into the FIFO unit 221 that is full.
  • the “Coll error” field is set to “1” when bit collision is detected, and is automatically initialized at the initial stage on the target side.
  • the “Coll error” field is set to “1” only when the transmission rate is 106 kbps, and is set to “0” otherwise, e.g., when the transmission rate is 212 kbps or 424 kbps.
  • the “CRC error” field is set to “1” when the CRC unit 211 detects an error as a result of CRC processing.
  • the value set in the “CRC error” field is automatically initialized when reception begins.
  • the “Parity error” field is set to “1” when an error is detected as a result of parity check.
  • the value set in the “Parity error” field is automatically initialized when reception begins.
  • the “Protocol error” field is set to “1” indicating a protocol error at least in any case of: (1) incorrect SOF (start of frame), (2) “1” set in the initiator of the control register when executing an “AntiColl” command, and (3) incorrect data length of received data.
  • the state machine unit 205 determines whether or not the value set in the length portion of the received polling response is within a range preset by the initiator (step S 419 ).
  • the value set in the length portion of the polling response is 100 bytes, and the range preset by the initiator is 1 to 20 bytes.
  • the value set in the length portion is out of the range, and therefore, no data is stored in the FIFO unit 221 .
  • the initiator may preset a range or a fixed value, e.g., “17” or “30”.
  • the state machine unit 205 After the value set in the length portion of the polling response is checked for (step S 419 ), the state machine unit 205 stores the data of the polling response, exclusive of the CRC code portion, in the FIFO unit 221 (step S 421 ).
  • step S 423 If the predetermined time limit for waiting for the polling response, which is counted by the timer unit 209 of the initiator, has elapsed (step S 423 ), the initiator terminates the series of polling operations, and waits for the next polling command to be transmitted (step S 425 ). After standby, when the predetermined period of time has elapsed, a polling command is transmitted again to the target, and the polling procedure described above (the processing of steps S 401 to S 423 ) is repeated.
  • the wireless communication interface device 201 can independently perform time-critical polling even if the controller 111 accesses a register, such as the FIFO unit 221 , at a low rate, or without control from the controller 111 .
  • the controller 111 of the wireless communication apparatus 101 need not have excessive capabilities, resulting in high design flexibility.
  • the controller which is difficult to mount due to the cost of improvement in the art, can be connected with the wireless communication interface device 201 , or a high-performance controller is not required. Thus, the cost can be reduced.
  • the controller 111 and the wireless communication interface device 201 can be connected by a low-rate communication interface 203 , such as a UART interface.
  • the UART interface is a serial interface that only requires two lines for transmitting signals and that requires a smaller space than a parallel interface. Thus, the layout of other devices can be flexibly conducted.
  • a parallel interface requires the parallel signal width (eight lines for 8 bits) for transmitting and receiving signals in a parallel manner, and also requires several timing control lines. Therefore, the parallel signal wiring is not suitable for lightweight and compact mobile devices, such as portable phones.
  • Time-critical polling can be performed substantially solely by the wireless communication interface device 201 , thus minimizing the size of the logic source compared to polling performed by a timer device (not shown), a CPU (not shown), etc., typically incorporated in the controller 111 .
  • the state machine unit 205 , the CRC unit 211 , the timer unit 209 , the random number generator unit 223 , the frame length check unit 226 , the ID authenticating unit 227 , the ID setting unit 228 , and the time frame determining unit 229 of the wireless communication interface device 201 are implemented by hardware (logic circuits).
  • the present invention is not limited to this embodiment.
  • the state machine unit 205 , the CRC unit 211 , the timer unit 209 , and the random number generator unit 223 may be implemented by a program composed of one or more than one module or component.
  • wireless communication apparatus 101 and the wireless communication interface device 201 have been described in the context of wireless communication, the present invention is not limited to wireless communication, and may embrace, for example, communication via a line.

Abstract

A wireless communication apparatus that communicates data with an external wireless apparatus in a wireless communication range includes a controller and a wireless communication interface device is provided. The wireless communication interface device includes a transmitting unit that transmits response request data to the external wireless apparatus, a counter that counts time for determining whether or not a time limit for waiting for the response data has elapsed, a storage unit that stores the response data, a receiving unit that receives first response data from the external wireless apparatus and that instantaneously receives second response data without an instruction from the controller when the time limit has not elapsed, a frame length checking unit that checks a frame length of the received response data, and an error detector that performs error detection on the response data.

Description

CROSS REFERENCE TO RELATED APPLICATIONS
The present application claims priority to Japanese Patent Document No. P2003-389191 filed on Nov. 19, 2003, the disclosure of which in its entirety is herein incorporated by reference.
BACKGROUND OF THE INVENTION
The present invention relates to wireless communication apparatuses. More specifically the present invention relates to a wireless communication apparatus incorporating near field communication (NFC) technology.
In a known non-physical-contact communication technology, a compact and lightweight terminal device, such as a mobile phone, incorporates a non-contact IC (integrated circuit) card and communicates with, for example, an IC card reader/writer. See, Japanese Unexamined Patent Application Publication No. 2002-345037. In that publication, a mobile phone incorporates a non-contact IC card and the card of the mobile phone is brought into close proximity to an IC card R/W (IC card reader/writer), thus allowing the information stored in the non-contact IC card to be communicated over electromagnetic waves from the IC card reader/writer.
One short-range wireless communication technology extended to inter-device communication using a communication protocol between non-contact IC cards and IC card readers/writers, called near field communication (NFC) technology, has attracted attention. The NFC technology (an NFC antenna, an NFC circuit, a SAM (secure application module) card, etc.) incorporated in devices such as mobile phones, digital cameras, PDAs (personal digital assistants), notebook PCs (personal computers), game devices, and computer peripheral devices enables any type of data to be exchanged with other NFC-incorporated devices in a short range less than, for example, 20 cm.
Due to its shorter communication range than wireless communication systems, such as Bluetooth and wireless LAN systems, the NFC system provides high security communication. The NFC technology has also attracted attention in view of a different feature from traditional communication technologies, namely, that the NFC technology enables automatic communication between NFC-incorporated devices within or near a predetermined region. The NFC technology also enables data communication at high transfer rates (e.g., up to 424 kbps), at which high-quality images can be transmitted.
A portable wireless communication terminal, such as a mobile phone or a PDA, including a wireless communication interface device incorporating NFC technology enables credit card settlement and access to network content, such as tickets and games, in a simple manner once the NFC-incorporated device is brought into close proximity. The NFC technology is also expected, by content and service providers, to provide a new mechanism for users to access various services.
A wireless communication control device (e.g., a wireless communication interface device) is typically controlled by a controller (e.g., a baseband controller) during communication between a card of a portable communication device and an IC card reader/writer. When wirelessly transmitting or receiving frames, the controller must read and write the information stored in a register of the wireless communication interface device at a high rate. If the controller cannot access the register of the wireless communication interface device at high rate, communication is not established.
A response check, such as polling, required for detecting a communicating party within a communication range is particularly time-critical because response data, such as polling responses, must be transmitted and received in a limited short period of time.
Thus, a high-performance controller is required for performing response checking and other normal processing. However, due to the demands for saving the energy to prolong the operating time and reducing the size of devices, such as mobile phones, it is difficult to incorporate a high-performance controller into the devices.
SUMMARY OF THE INVENTION
The present invention relates to wireless communication apparatuses. More specifically the present invention relates to a wireless communication apparatus incorporating near field communication (NFC) technology.
In an embodiment, a wireless communication apparatus and response data processing method therefor are provided in which response data processing, such as response checking, can be performed individually without control from a controller.
In an embodiment of the present invention, a wireless communication apparatus that communicates data with an external wireless apparatus in a wireless communication range includes a controller configured to control the wireless communication apparatus, and a wireless communication interface device configured to receive response data independently from control of the controller in response to response request data transmitted to the external wireless apparatus. The wireless communication interface device includes a transmitter configured to transmit the response request data, a counter configured to count time for determining whether or not a time limit for waiting for the response data has elapsed, a storage unit configured to store the response data, a receiver configured to receive first response data from the external wireless apparatus and instantaneously receive second response data without an instruction from the controller when the time limit has not elapsed, a frame length checking unit configured to check a frame length of the received response data, and an error detector configured to perform error detection on the response data. An error detection result of the error detector is stored in the storage unit.
According to an embodiment, the wireless communication interface device performs time-critical response data processing independently without using the processing performance of the controller. Thus, a high-performance controller is not required for performing the response data processing since the processing resource of the controller can effectively be utilized. The external wireless apparatus may be any apparatus capable of transmitting and receiving data to and from the wireless communication apparatus, or may be a wireless communication apparatus.
The frame length checking unit may check a frame value set in the response data against a preset frame value, the frame value indicating the frame length of the response data. The frame value may be set in a length portion of the response data.
The controller and the wireless communication interface device may be connected by a serial interface. The serial interface requires a fewer signal lines than a parallel interface, thus providing a larger space for installation and high layout flexibility. Since the space is saved, the size can be reduced.
The storage unit may have a capacity such that a plurality of response data or response request data can be stored. Therefore, the rate at which the controller accesses the response data or response request data stored in the storage unit in the wireless communication interface need not be high.
The error detector may remove an error detection code included in the response data, and the response data from which the error detection code is removed may be stored in the storage unit. Therefore, an error detection result can be immediately checked for without performing error detection each time response data is accessed, and efficient data storage can be achieved.
The wireless communication interface device may further include a state machine unit that controls the processing performed independently from the controller, and the receiver may receive the second response data according to an instruction from the state machine unit. Therefore, the transmitter, the counter, the storage unit, the receiver, the frame length checking unit, and the error detector of the wireless communication interface device can perform the individual processing according to instructions from the state machine unit using commands without control of the controller. The commands are issued by the controller to the wireless communication interface device, and are then processed by the wireless communication interface device using the state machine unit.
In another embodiment, a wireless communication apparatus that communicates data with an external wireless apparatus in a wireless communication range includes a controller configured to control the wireless communication apparatus, and a wireless communication interface device configured to transmit response data independently from control of the controller in response to response request data received from the external wireless apparatus. The wireless communication interface device includes a receiver configured to receive the response request data, a storage unit configured to store the response data, an identification information authenticating unit configured to authenticate identification information that is included in the received response request data, an identification information setting unit configured to set identification information of the wireless communication apparatus in the response data when the response request data includes request information that requests identification information, a time frame determining unit configured to determine a time frame in which the response data is to be transmitted, and a transmitter configured to transmit the response data according to the time frame without an instruction from the controller.
According to another embodiment, the wireless communication interface device performs time-critical response data processing independently without using the processing performance of the controller. Thus, a high-performance controller is not required for performing the response data processing since the processing resource of the controller can effectively be utilized. In an embodiment, the external wireless apparatus may be any apparatus capable of transmitting and receiving data to and from the wireless communication apparatus, or may be a wireless communication apparatus.
The identification information authenticating unit may compare the identification information included in the response request data with identification information of the wireless communication apparatus that receives the response request data.
The controller and the wireless communication interface device may be connected by a serial interface.
The wireless communication interface device may further include a state machine unit that controls the processing performed independently from the controller. Therefore, the receiver, the storage unit, the identification information authenticating unit, the identification information setting unit, the time frame determining unit, and the transmitter of the wireless communication interface apparatus can perform the individual processing according to instructions from the state machine unit using commands without control of the controller.
In still another embodiment, a response data processing method for a wireless communication apparatus including a controller, for communicating data with an external wireless apparatus in a wireless communication range by requesting response data and waiting for the response data from the external wireless apparatus includes the steps of counting a time limit for waiting for the response data from the external wireless apparatus without control of the controller, checking a frame length of the response data without control of the controller, performing error detection on the response data without control of the controller, and storing the response data and an error detection result without control of the controller.
In the step of checking a frame length, a frame value set in the response data may be checked against a preset frame value, the frame value indicating the frame length of the response data.
The stored response data may be response data from which an error detection code used in the error detection is removed.
In still yet another embodiment, a response data processing method for a wireless communication apparatus including a controller, for communicating data with an external wireless apparatus in a wireless communication range by receiving response request data from the external wireless apparatus and transmitting response data in response to the response request data, includes the steps of authenticating identification information that is included in the received response request data without control from the controller, setting identification information of the wireless communication apparatus in the response data without control of the controller when the response request data includes request information that requests identification information, determining a time frame in which the response data is to be transmitted without control from the controller, and transmitting the response data according to the time frame.
In the step of authenticating identification information, the identification information included in the response request data may be compared with identification information of the wireless communication apparatus that receives the response request data.
According to an embodiment, therefore, time-critical response data processing can be performed independently without control of a controller.
The present invention is applicable to a wireless communication apparatus capable of wireless communication, particularly, to a wireless communication apparatus incorporating NFC technology.
Additional features and advantages of the present invention are described in, and will be apparent from, the following Detailed Description of the Invention and the figures.
BRIEF DESCRIPTION OF THE FIGURES
FIG. 1 is a schematic diagram of a wireless communication system including a wireless communication apparatus according to an embodiment of the present invention.
FIG. 2 is a schematic block diagram of the wireless communication apparatus in an embodiment.
FIG. 3 is a timing chart schematically showing polling processing in an embodiment.
FIG. 4 is a flowchart schematically showing the polling operation in an embodiment.
FIG. 5 is a schematic diagram of the frame format of a polling command in an embodiment.
FIG. 6 is a chart showing the relationship between targets and time slots allocated to the targets in an embodiment.
FIG. 7 is a schematic diagram of the frame format of a polling response in an embodiment.
FIG. 8 is a schematic diagram of an error register according to an embodiment.
DETAILED DESCRIPTION OF THE INVENTION
Preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description taken in conjunction with the drawings, components having substantially the same function and structure are given the same reference number, and an overlapping description thereof is omitted.
A wireless communication apparatus according to an embodiment of the present invention will be described with reference to FIG. 1. FIG. 1 is a schematic diagram of a wireless communication system 100 including the wireless communication apparatus of this embodiment.
The wireless communication system 100 includes a plurality of wireless communication apparatuses 101 (101 a and 101 b). Although two wireless communication apparatuses 101 are shown in FIG. 1, any number of communication apparatuses more than one may be used.
Throughout this document, in the wireless communication system 100, the wireless communication apparatus 101 that issues a polling command is referred to as an initiator, and the wireless communication apparatus 101 that receives a polling command from the initiator and that issues and transmits a polling response to the initiator is referred to as a target. In this embodiment, the polling command may be, but is not limited to, one type of response request data for requesting response data.
In FIG. 1, for example, the wireless communication apparatus 101 a is an initiator and the wireless communication apparatus 101 b is a target. In wireless communication in the wireless communication system 100 of this embodiment, when the target is near a communication region less than, for example, 20 cm from the initiator, the target is allowed to receive a polling command issued by the initiator at predetermined time intervals. Upon receiving a polling response issued from the target within a time limit, the initiator identifies the target (the wireless communication apparatus 101 b), and communicates with the target. Polling is described in detail below.
The wireless communication apparatus 101 may be a communication apparatus using the NFC technology. The wireless communication apparatus 101 may be a battery-equipped apparatus, such as a mobile phone, a digital camera, a notebook PC, an IC card reader/writer, or a PDA, or a non-battery apparatus, such as a non-contact IC card.
The wireless communication apparatus 101 in the wireless communication system 100 includes a control circuit having a controller 111 for controlling the wireless communication device 101, and a wireless communication interface device incorporating NFC functions.
In an embodiment, the controller 111 (including controllers 111 a and 111 b) is a control unit that controls the overall apparatus, and the control unit may be, but is not limited to, for example, a baseband controller of a mobile phone, a central processing unit (CPU) of a notebook PC, or a microprocessor.
The circuit structure of the wireless communication apparatus 101 incorporating NFC functions according to this embodiment will be described with reference to FIG. 2. FIG. 2 is a schematic block diagram of the wireless communication apparatus 101 according to this embodiment.
As shown in FIG. 2, the wireless communication apparatus 101 includes at least the controller 111, a wireless communication interface device 201, and an antenna unit 219.
The wireless communication interface device 201 issues a polling command at predetermined time intervals and transmits the polling command in form of 13.56-MHz AM-modulated RF signals via the antenna unit 219, or receives a polling response and stores the polling response data demodulated from the RF signal.
The wireless communication interface device 201 includes a communication interface unit 203, a state machine unit 205, a command register unit 207, a timer unit 209, a CRC (cyclic redundancy check) unit 211, a wireless communication I/F (interface) unit 213, a signal receiver unit 215, a signal transmitter unit 217, the antenna unit 219, an FIFO (First-In First-Out) unit 221, a random number generator unit 223, a bus 225, a frame length check unit 226, an identification information (ID) authenticating unit 227, an identification information (ID) setting unit 228, and a time frame determining unit 229. The wireless communication interface device 201 receives or transmits a polling command or the like in units of frames, by way of example; however, the present invention is not limited to this example.
The communication interface unit 203 is connected with the controller 111 via a serial interface. For example, 8-bit parallel or serial data is transmitted to the communication interface unit 203.
The serial interface that connects the communication interface unit 203 and the controller 111 may be, for example, an SPI (Serial Peripheral Interface), a UART (Universal Asynchronous Receiver Transmitter) serial interface, or a 12C serial interface.
As shown in FIG. 2, for example, the antenna unit 219 receives a 13.56-MHz RF (radio frequency) signal transmitted from the target, or transmits a 13.56-MHz RF signal to the target.
The signal receiver unit 215, which is capable of receiving data, such as polling data, removes the fundamental component from the 13.56-MHz AM-modulated RF signal, and then demodulates the RF signal. The demodulated data is digital data indicating a “0” or “1” signal. The signal transmitter unit 217 modulates the data transmitted from the wireless communication I/F unit 213 into an RF signal, and transmits the RF signal to the antenna unit 219.
Upon receiving a first polling command or a first polling response, the signal receiver unit 215 and the wireless communication I/F unit 213 immediately receive a second polling command or a second polling response according to an instruction not from the controller 111 but from the state machine unit 205.
The CRC unit 211 is an error detection unit that receives the data transmitted in units of frames and that sequentially performs a cyclic redundancy check (CRC) on the received data for error detection. After the error detection, the CRC unit 211 stores the data and an error detection result in the FIFO unit 221. A CRC is a procedure used to check for errors in data transmission or when reading from and writing to a disk. Any other procedure may be used, such as an odd parity check, an even parity check, a vertical redundancy check (VRC), a longitudinal redundancy check (LRC), a group check, or a checksum. The details of the CRC processing are described below.
The timer unit 209 generates a timing signal using a counter, and counts time using a clock signal so that the processing of the wireless communication interface device 201 is performed at a desired time or within a certain period of time. The clock signal counted by the timer unit 209 is checked to perform the processing at a desired time.
The timer unit 209 may be a monitor timer that indicates an alarm at timeout, a watchdog timer that alerts the operator that processing is impossible, a real-time timer, a periodic timer or the like.
The command register unit 207 is a register incorporated in the wireless communication interface device 201. The command register unit 207 stores start or end commands for the processing to be executed by the state machine unit 205.
The command register unit 207 stores commands, e.g., “Idle”, “Config”, “GenerateRandomID”, “CalcCRC”, “Transmit”, “Receive”, “Transceive”, “AutoColl”, “MFAuthent”, “SoftReset”, and the like.
The “Idle” command is a command for canceling execution of the current command. The “Config” command is a command for setting the communication environment, e.g., a certain time or time intervals at which a polling command is issued. The “GenerateRandomID” command is a command for generating a 10-byte random number. The “CalcCRC” command is a command for causing the CRC unit 211 to perform a CRC.
The “Transmit” command is a command for transmitting data to the FIFO unit 221. The “Receive” command is a command for causing the receiver to wait for data to be transmitted.
If a control register (not shown) is set to “1”, the “Transceive” command causes the initiator to transmit data from the FIFO unit 221 via the antenna unit 219, and causes the initiator to function as a receiver automatically after the transmission. If the control register is set to “0”, the “Transceive” command causes the initiator to function as a transmitter automatically when data is received via the antenna unit 219.
The “AutoColl” command is a command for handling polling. A command for the subsequent processing to polling is stored in the FIFO unit 221. The “SoftReset” command is a command for initializing the wireless communication interface device 201.
The state machine unit 205 executes the commands stored in the command register unit 207, and instructs the processing. The state machine unit 205 is implemented by a logic circuit. For example, after the state machine unit 205 executes a command and instructs the processing, if an error occurs in the instructed component, then, the state machine unit 205 executes a command stored at a predetermined address of the command register unit 207. Thus, the state machine unit 205 executes or terminates the commands stored in the command register unit 207 according to conditions.
By executing the commands, the state machine unit 205 can control multiple processes, such as polling, independently from control of the controller 111 in the wireless communication device 101. In an embodiment, the state machine unit 205 is implemented by a logic circuit. Alternatively, the state machine unit 205 may be implemented by a program, e.g., firmware. The command that triggers polling is issued by the controller 111 or the like.
The FIFO unit 221 is a data storage unit, and is a register in and from which data is stored and retrieved in FIFO order. In this embodiment, the capacity of the FIFO unit 221 may be, but is not limited to, 64 bytes.
The random number generator unit 223 generates a 10-byte random number in response to the “GenerateRandomID” command. This random number is used for polling in this embodiment, namely, for determining a time slot.
The frame length check unit 226 checks for the frame length of the received data based on a prescribed frame length according to an instruction from the state machine unit 205. For example, the frame length check unit 226 compares a value set in a length portion of a polling command, indicating the frame length, with a prescribed frame value, and determines whether or not a match is found. This example is merely illustrative, and it may be determined whether or not the frame length is within a prescribed frame value.
The ID authenticating unit 227 authenticates a system code, which is identification information that identifies the wireless communication device 101 at the receiving destination, from the received data according to an instruction from the state machine unit 205. If the correct system code is set, the received data is regarded as correct data, and is not discarded.
When the data transmitted from the wireless communication apparatus 101 at the receiving source has a setting that the system code of the wireless communication apparatus 101 at the receiving destination be sent, the wireless communication apparatus 101 at the receiving destination sets its system code in response data, and transmits the response data to the wireless communication apparatus 101 at the receiving source according to an instruction from the state machine unit 205.
For example, the target receives a polling command from the initiator. When the ID setting unit 228 of the target determines that the polling command has a setting that its system code be sent, this system code is set in polling response data. The process for setting a system code is described below.
The time frame determining unit 229 determines a time slot in which the target is to transmit a polling response to the initiator based on the random number generated by the random number generator unit 223.
Polling of the wireless communication apparatus 101 according to an embodiment will now be described with reference to FIG. 3. FIG. 3 is a timing chart schematically showing polling processing according to an embodiment.
As shown in FIG. 3, the target within a communication range is ready to receive a polling command from the initiator. Upon receiving a polling command 301, the target determines a time slot for a response to the initiator according to a time slot number (TSN) specified in the frame of the polling command 301. In FIG. 3, five targets are shown; however, any number of targets may be used as long as one or more than one target is used. In this embodiment, a time slot is determined by the random number generated by the random number generator unit 223, as described in detail below.
When the time slot is determined, the target transmits a polling response to the initiator in the allocated time slot after a fixed response time (Td). For example, the target allocated time slot 2 sends a polling response 309 to the initiator after time Td and 2×Ts has passed.
When it is determined from counting of the timer unit 209 that a time limit for waiting for a polling response from the target has passed after the initiator sent a polling command, the initiator finishes receiving a polling response from the target. After the predetermined period of time, the series of polling operations is repeated; the initiator again issues and transmits a polling command to the target.
A polling process of the wireless communication apparatus 101 according to this embodiment will now be described with reference to FIG. 4. FIG. 4 is a flowchart schematically showing the polling operation of this embodiment. In FIG. 4, polling is performed between one initiator and one target, by way of example. This example is merely illustrative, and polling may be performed between one initiator and N targets or between N initiators and N targets.
As shown in FIG. 4, the initiator issues and transmits a polling command to the target at predetermined time intervals according to the command executed by the state machine unit 205 (step S401). At the time when the polling command is transmitted, the timer unit 209 of the initiator starts counting a time limit for waiting for a polling response to be returned from the target. The time limit is preset as environment setting information by, for example, the “Config” command or the like.
The frame format of the polling command of this embodiment will be described with reference to FIG. 5. FIG. 5 is a schematic diagram of the frame format of the polling command of this embodiment.
As shown in FIG. 5, the frame of the polling command is constituted by a preamble portion containing a minimum of 48 bits, a 16-bit SYNC portion indicating the sync start position, an 8-bit length portion indicating the length (byte) obtained by adding one byte to the payload length (byte), a payload portion, and a 16-bit CRC code portion. The frame format of the polling command complies with, for example, ISO/IEC 18092. The added one byte of the length portion indicates the length of the length portion.
In the polling command of an embodiment, the preamble portion is set to “0”, the SYNC portion is set to hexadecimal “B24D”, and the length portion is set to “6”.
The payload portion has hexadecimal “00”, “FF”, “FF”, and “00” each set in one byte in order from the portion on the right of the length portion shown in FIG. 5, and also has “TSN (time slot number)”. The “TSN” is set to a time slot number value, represented by hexadecimal “00”, “01”, or “0F”, and the remaining area is a reserved area (RSN).
For example, if the “TSN” is set to “00”, the target determines only time slot 0. For example, when the “TSN” is set to “0F”, the target determines any time slot from time slots 0 to F.
Referring back to FIG. 4, the polling command transmitted from the initiator is received by a target within the communication range (step S403). The target that receives (step S403) the polling command stores in advance the frame of a polling response in form of logic levels in order to instantaneously respond to the initiator.
Upon receiving the polling command, according to the command executed by the state machine unit 205, the target checks for the system command by comparing the system code of the target stored in advance together with the frame of the polling response with the system code set in the received polling command (step S407).
The system code set in the polling command is allocated “FFFF” in the payload portion at the second and third bytes from the left. The “FFFF” is a wildcard, which is applied to any system code.
If a match is found between the system code of the received polling command and the system code stored in the target in advance, this target is regarded as an appropriate target that is to return a polling response, and the subsequent processing is performed. If an incorrect system code is set in the polling command, the state machine unit 205 stops polling due to a system code error. For example, when system code “1234” is stored, system code “1243” is regarded to be incorrect.
Then, the target checks for the 1-byte value on the left of the “TSN” of the payload portion of the polling command. If this value is “01”, the system code of this target is set in a pad portion of the frame of a polling response (step S409). In FIG. 5, the 1-byte value on the left of the “TSN” is “00”.
In this case, as shown in FIG. 5, the target does not set the system code in the pad portion of the polling response. If this 1-byte value is “01”, the target having system code “1234” sets “1234” in the pad portion of the polling response.
The initiator that receives the polling response can obtain the system code of the target from the target, and can efficiently identify the target if the initiator does not know the system code of the target when transmitting the polling command. The frame format of the polling response is described in detail below.
Then, the target determines the time slot in which the polling response of this target is sent to the initiator (step S411). The time slot is determined based on the random number generated by the random number generator unit 223.
For example, slot time slot 0 is allocated when the time slot number (“TSN”) value of the polling command is “00”, time slot 0 or time slot 1 is allocated when the time slot number value is “01”, any of time slots 0 to 3 is allocated when the time slot number value is “03”, and any of time slots 0 to 7 is allocated when the time slot number value is “07”.
When the time slot is determined (step S411), as shown in FIG. 6, the time at which each target is to transmit a polling response is determined. The targets transmit polling responses to the initiator in the individually allocated time slots (step S413). FIG. 6 is a chart showing the relationship between targets and the time slots allocated to the targets according to this embodiment.
As shown in FIG. 6, targets 1 and 3 are allocated time slot 1. In this case, the random number generator unit 223 of the target 1 and the random number generator unit 223 of the target 3 generate the same random number.
In this event, which is rare, a single time slot is allocated to a plurality of targets, and these targets return polling responses to the initiator in this time slot. At this time, collision occurs, and the initiator does not correctly receive the polling responses.
As shown in FIG. 3, the targets that are allocated time slot 1 transmit polling responses 305 and 307 to the initiator. These polling responses are transmitted substantially at the same time, which causes collision, and are not correctly received by the initiator.
The frame format of the polling response of this embodiment will now be described with reference to FIG. 7. FIG. 7 is a schematic diagram of the frame format of the polling response of this embodiment. The frame format of the polling response complies with, for example, ISO/IEC 18092.
As shown in FIG. 7, the frame format of the polling response is constituted by a preamble portion containing a minimum of 48 bits, a 16-bit SYNC portion indicating the sync start position, a length portion indicating the length from a payload portion to the end (byte), the payload portion, and a 16-bit CRC code portion.
In the polling response of this embodiment, the preamble portion is all set to “0”, the SYNC portion is set to hexadecimal “B24D”, and the length portion is set to hexadecimal “12”.
The payload portion has hexadecimal “01” set in one byte, an 8-byte NFCID2 portion, and an 8-byte pad portion in order from the portion on the right of the length portion shown in FIG. 7 (from the beginning position of the payload portion).
As described above, when “01” is set in the payload portion of the polling command, a 2-byte system code of this target is added to the 8-byte pad portion in the polling response, and the resulting polling response is transmitted.
The CRC code portion of the frame of the polling response has a remainder value given from generator polynomial (G(x)) when transmitting the polling response. Based on the remainder value set in the CRC code portion, the initiator performs a CRC to check for errors in the data.
Referring back to FIG. 4, the polling response having the frame format described above is transmitted from the target in the allocated time slot, and is then received by the initiator within the receiving time limit for the initiator (step S415).
Then, the CRC unit 211 of the initiator receives bit-by-bit the polling response data demodulated from the polling responses transmitted from the target, which is sequentially supplied from the wireless communication I/F unit 213, and performs a CRC (step S415).
The CRC is performed sequentially on every one byte included in the frame of the polling response. The CRC is performed while receiving the polling response from the target rather than after receiving all data included in the frame. The CRC is defined by, for example, ISO/IEC 18092.
The generator polynomial (G(x)) for use in a CRC according to this embodiment is given by Eq. (1) below, complying with ITU-T Recommendation V.41. This generator polynomial is merely illustrative, and, for example, ANSI CRC-16 generator polynomial may be used instead.
G(x)=x 16 +x 12 +x 5+1  Eq. (1)
At a first stage, according to an instruction from the state machine unit 205, the CRC unit 211 of the initiator extracts one byte from the most significant bit (MSB) that is the beginning bit of the frame of the polling response data transmitted from the wireless communication I/F unit 213.
At a second stage, in response to the command executed by the state machine unit 205, the CRC unit 211 performs left bit-shifting to move the CRC value left, and a carry bit is XORed with Eq. (1).
At a third stage, the CRC unit 211 performs left bit-shifting to move the extracted data left, and a carry bit is XORed with the CRC value and the data extracted at the first stage.
At a fourth stage, in response to the command executed by the state machine unit 205, the CRC unit 211 repeats the processing in the second and third stages seven times to process the remaining 7 bits of the 8 bits.
If the data for CRC still remains, at a fifth stage, in response to the command executed by the state machine unit 205, the CRC unit 211 performs the processing in the first to fourth stages again.
After the CRC processing from the first to fifth stages, if the CRC value is “0”, it is determined that no error occurs. That is, no remainder exists. If any remainder exists, it is determined that an error occurs.
If the CRC unit 211 detects an error as a result of CRC processing, the state machine unit 205 sets “1” in a CRC error field in an error register of the FIFO unit 221.
The error register of this embodiment will now be described with reference to FIG. 8. FIG. 8 is a schematic diagram of the error register of this embodiment.
As shown in FIG. 8, the error register is constituted by a “preliminary” field at the seventh bit; a “Temp error” field, an “RF error” field, a “BufferOvfl” field, a “Coll error” field, a “CRC error” field, a “Parity error” field, and a “protocol error” field.
The “preliminary” field has “0” stored therein in advance. The “Temp error” field is set to “1” indicating a temp error when a temperature sensor detects heat, and the power of the antenna unit 219 is automatically turned off.
The “RF error” field is set to “1” indicating an RF error when the other party does not operate in an active communication mode in the RF field within a certain period of time, which is specified by the NFCIP1 standard.
The “BufferOvfl” field is set to “1” indicating a buffer overflow when the state machine unit 205 is to write data into the FIFO unit 221 that is full.
The “Coll error” field is set to “1” when bit collision is detected, and is automatically initialized at the initial stage on the target side. The “Coll error” field is set to “1” only when the transmission rate is 106 kbps, and is set to “0” otherwise, e.g., when the transmission rate is 212 kbps or 424 kbps.
The “CRC error” field is set to “1” when the CRC unit 211 detects an error as a result of CRC processing. The value set in the “CRC error” field is automatically initialized when reception begins.
The “Parity error” field is set to “1” when an error is detected as a result of parity check. The value set in the “Parity error” field is automatically initialized when reception begins.
The “Protocol error” field is set to “1” indicating a protocol error at least in any case of: (1) incorrect SOF (start of frame), (2) “1” set in the initiator of the control register when executing an “AntiColl” command, and (3) incorrect data length of received data.
Referring again to FIG. 4, after CRC processing (step S417), the state machine unit 205 determines whether or not the value set in the length portion of the received polling response is within a range preset by the initiator (step S419).
For example, the value set in the length portion of the polling response is 100 bytes, and the range preset by the initiator is 1 to 20 bytes. In this case, the value set in the length portion is out of the range, and therefore, no data is stored in the FIFO unit 221.
The initiator may preset a range or a fixed value, e.g., “17” or “30”.
After the value set in the length portion of the polling response is checked for (step S419), the state machine unit 205 stores the data of the polling response, exclusive of the CRC code portion, in the FIFO unit 221 (step S421).
If the predetermined time limit for waiting for the polling response, which is counted by the timer unit 209 of the initiator, has elapsed (step S423), the initiator terminates the series of polling operations, and waits for the next polling command to be transmitted (step S425). After standby, when the predetermined period of time has elapsed, a polling command is transmitted again to the target, and the polling procedure described above (the processing of steps S401 to S423) is repeated.
Therefore, the wireless communication interface device 201 can independently perform time-critical polling even if the controller 111 accesses a register, such as the FIFO unit 221, at a low rate, or without control from the controller 111.
Thus, the controller 111 of the wireless communication apparatus 101 need not have excessive capabilities, resulting in high design flexibility. In the present invention, the controller, which is difficult to mount due to the cost of improvement in the art, can be connected with the wireless communication interface device 201, or a high-performance controller is not required. Thus, the cost can be reduced.
Polling is performed not under the control of the controller 111 but under the control of the wireless communication interface device, resulting in low access rate. Therefore, the controller 111 and the wireless communication interface device 201 can be connected by a low-rate communication interface 203, such as a UART interface.
The UART interface is a serial interface that only requires two lines for transmitting signals and that requires a smaller space than a parallel interface. Thus, the layout of other devices can be flexibly conducted.
A parallel interface requires the parallel signal width (eight lines for 8 bits) for transmitting and receiving signals in a parallel manner, and also requires several timing control lines. Therefore, the parallel signal wiring is not suitable for lightweight and compact mobile devices, such as portable phones.
Time-critical polling can be performed substantially solely by the wireless communication interface device 201, thus minimizing the size of the logic source compared to polling performed by a timer device (not shown), a CPU (not shown), etc., typically incorporated in the controller 111.
While a preferred embodiment of the present invention has been described with reference to the accompanying drawings, the present invention is not limited to this embodiment. It should be appreciated that a variety of modifications or changes may be made without departing from the technical scope of the invention set forth in the appended claims, and these modifications or changes may also be embraced in the scope of the present invention.
In the illustrated embodiment, the state machine unit 205, the CRC unit 211, the timer unit 209, the random number generator unit 223, the frame length check unit 226, the ID authenticating unit 227, the ID setting unit 228, and the time frame determining unit 229 of the wireless communication interface device 201 are implemented by hardware (logic circuits). However, the present invention is not limited to this embodiment. For example, the state machine unit 205, the CRC unit 211, the timer unit 209, and the random number generator unit 223 may be implemented by a program composed of one or more than one module or component.
While the wireless communication apparatus 101 and the wireless communication interface device 201 have been described in the context of wireless communication, the present invention is not limited to wireless communication, and may embrace, for example, communication via a line.
It should be understood that various changes and modifications to the presently preferred embodiments described herein will be apparent to those skilled in the art. Such changes and modifications can be made without departing from the spirit and scope of the present invention and without diminishing its intended advantages. It is therefore intended that such changes and modifications be covered by the appended claims.

Claims (26)

1. A mobile wireless communication apparatus that communicates data with an external wireless apparatus in a wireless Near Field Communication range, the mobile wireless communication apparatus comprising:
a baseband controller configured to control communication via a cellular phone network and the mobile wireless communication apparatus; and
a wireless Near Field Communication interface device configured to transmit a response request data to the external wireless apparatus by wireless Near Field Communication, to receive response data from the external wireless apparatus independently from control of the baseband controller, and to perform response data processing independent from control of the baseband controller, wherein the response request data includes a system code, the system code included in the response request data is compared with a system code stored in the external wireless apparatus, and the response data is received from the external wireless apparatus when the system code included in the response request data matches the system code stored in the external wireless apparatus, the wireless Near Field Communication interface device comprising:
a transmitting unit configured to transmit the response request data by wireless Near Field Communication;
a counter unit configured to count time for determining whether or not a time limit for waiting for the response data has elapsed;
a storage unit configured to store the response data;
a receiving unit configured to receive first response data from the external wireless apparatus by wireless Near Field Communication and instantaneously receive second response data without an instruction from the baseband controller when the time limit has not elapsed;
a frame length checking unit configured to check a frame length of the received response data; and
an error detecting unit configured to perform error detection on the response data, an error detection result of the error detecting unit being stored in the storage unit,
wherein the response data processing performed independent from control of the baseband controller includes checking the frame length of the response data, performing error detection on the response data, and storing the response data and the error detection result in the storage unit.
2. The mobile wireless communication apparatus according to claim 1, wherein the frame length checking unit checks a frame value set in the response data against a preset frame value, and wherein the frame value indicates the frame length of the response data.
3. The mobile wireless communication apparatus according to claim 1, wherein the baseband controller and the wireless Near Field Communication interface device are connected by a serial interface.
4. The mobile wireless communication apparatus according to claim 1, wherein the error detecting unit removes an error detection code included in the response data, and wherein the response data from which the error detection code is removed is stored in the storage unit.
5. The mobile wireless communication apparatus according to claim 1, wherein the wireless Near Field Communication interface device further comprises a state machine unit that controls the processing performed independently from the baseband controller, and wherein the receiving unit receives the second response data according to an instruction from the state machine unit.
6. The mobile wireless communication apparatus according to claim 1, wherein the mobile wireless communication apparatus is a compact and lightweight terminal device.
7. The mobile wireless communication apparatus according to claim 1, further comprising:
a command register unit to store a command for execution; and
a state machine unit for executing the command in the command register unit.
8. A mobile wireless communication apparatus that communicates data with an external wireless apparatus in a wireless Near Field Communication range, the mobile wireless communication apparatus comprising:
a baseband controller configured to control communication via a cellular phone network and the mobile wireless communication apparatus; and
a wireless Near Field Communication interface device configured to transmit response data independently from control of the baseband controller in response to a response request data received from the external wireless apparatus by wireless Near Field Communication, and to perform response data processing independent from control of the baseband controller, the wireless Near Field Communication interface device comprising:
a receiving unit configured to receive the response request data by wireless Near Field Communication;
a storage unit configured to store the response data;
a system code authenticating unit configured to compare a system code that is included in the received response request data with a system code stored in the wireless communication apparatus;
an identification information setting unit configured to set identification information of the mobile wireless communication apparatus in the response data when the response data includes request information that requests identification information;
a time frame determining unit configured to determine a time frame in which the response data is to be transmitted; and
a transmitting unit configured to transmit the response data by wireless Near Field Communication according to the time frame without an instruction from the baseband controller when the system code that is included in the received response request data matches the system code stored in the wireless communication apparatus, or when the response request data includes request information that requests identification information,
wherein the response data processing performed independent from control of the baseband controller includes checking the frame length of the response data, performing error detection on the response data, and storing the response data and the error detection result in the storage unit.
9. The mobile wireless communication apparatus according to claim 8, wherein the baseband controller and the wireless Near Field Communication interface device are connected by a serial interface.
10. The mobile wireless communication apparatus according to claim 8, wherein the wireless New Field Communication interface device further comprises a state machine unit that controls the processing performed independently from the baseband controller.
11. The mobile wireless communication apparatus according to claim 8, wherein the mobile wireless communication apparatus is a compact and lightweight terminal device.
12. The mobile wireless communication apparatus according to claim 8, further comprising:
a command register unit to store a command for execution; and
a state machine unit for executing the command in the command register unit.
13. A response data processing method for a mobile wireless communication apparatus including a baseband controller, for communicating data with an external wireless apparatus in a wireless Near Field Communication range by transmitting a request for response data and waiting for the response data from the external wireless apparatus, the response data processing method comprising:
counting a time limit for waiting for the response data from the external wireless apparatus by wireless Near Field Communication without control of the baseband controller;
receiving the response data when the request for response data includes a system code that matches a system code stored in the external wireless apparatus without control of the baseband controller;
checking a frame length of the response data without control of the baseband controller;
performing error detection on the response data without control of the baseband controller;
storing the response data and an error detection result without control of the baseband controller.
14. The response data processing method according to claim 13, wherein, a frame value set in the response data is checked against a preset frame value, and wherein the frame value indicates the frame length of the response data.
15. The response data processing method according to claim 13, wherein the stored response data comprises response data from which an error detection code used in the error detection is removed.
16. The response data processing method according to claim 13, wherein the mobile wireless communication apparatus is a compact and lightweight terminal device.
17. The response data processing method according to claim 13, further comprising:
storing a command in a command register; and
executing the command in the command register independently of the baseband controller.
18. A response data processing method for a mobile wireless communication apparatus including a baseband controller, for communicating data with an external wireless apparatus in a wireless Near Field Communication range by receiving response request data from the external wireless apparatus and transmitting response data in response to the response request data, the response data processing method comprising:
authenticating a system code that is included in the received response request data without control from the baseband controller by comparing the system code that is included in the received response request data with a system code stored in the wireless communication apparatus;
setting identification information of the mobile wireless communication apparatus in response data without control of the baseband controller when the response request data includes request information that requests identification information;
determining a time frame in which the response data is to be transmitted without control from the baseband controller; and
transmitting the response data by wireless Near Field Communication according to the time frame when the system code that is included in the received response request data matches the system code stored in the wireless communication apparatus, or when the response request data includes request information that requests identification information.
19. The response data processing method according to claim 18, wherein the mobile wireless communication apparatus is a compact and lightweight terminal device.
20. The response data processing method according to claim 18, further comprising:
storing a command in a command register; and
executing the command in the command register independently of the baseband controller.
21. A mobile wireless communication apparatus that communicates data with an external wireless apparatus in a wireless Near Field Communication range, the mobile wireless communication apparatus comprising:
means for controlling communication via a cellular phone network and the mobile wireless communication apparatus; and
a wireless Near Field Communication interface device configured to transmit a response request data to the external wireless apparatus by wireless Near Field Communication, to receive response data from the external wireless apparatus independently from control of the baseband controller, and to perform response data processing independent from control of the baseband controller, wherein the response data is received from the external wireless apparatus when a system code included in the response request data matches a system code stored in the external wireless apparatus, the wireless Near Field Communication interface device comprising:
means for transmitting the response request data by wireless Near Field Communication;
means for counting time for determining whether or not a time limit for waiting for the response data has elapsed;
means for storing the response data;
means for receiving first response data from the external wireless apparatus by wireless Near Field Communication and instantaneously receiving second response data without an instruction from the baseband controller when the time limit has not elapsed;
means for checking a frame length of the received response data; and
means for performing error detection on the response data, wherein an error detection result of the error detecting means is stored in the storage units,
wherein the response data processing performed independent from control of the baseband controller includes checking the frame length of the response data, performing error detection on the response data, and storing the response data and the error detection result in the storage unit.
22. The mobile wireless communication apparatus according to claim 21, wherein the mobile wireless communication apparatus is a compact and lightweight terminal device.
23. The mobile wireless communication apparatus according to claim 21, further comprising:
means for storing a command; and
means for executing the command independently of the controller.
24. A mobile wireless communication apparatus that communicates data with an external wireless apparatus in a wireless Near Field Communication range, the mobile wireless communication apparatus comprising:
means for controlling communication via a cellular phone network and the mobile wireless communication apparatus; and
a wireless Near Field Communication interface device configured to transmit response data independently from control of the baseband controller in response to a response request data received from the external wireless apparatus, and to perform response data processing independent from control of the baseband controller, the wireless Near Field Communication interface device comprising:
means for receiving the response request data by wireless Near Field Communication;
means for storing the response request data;
means for comparing identification information that is included in the received response request data with a system code stored in the wireless communication apparatus;
means for setting identification information of the mobile wireless communication apparatus in the response data when the response request data includes request information that requests identification information;
means for determining a time frame in which the response data is to be transmitted; and
means for transmitting the response data by wireless Near Field Communication according to the time frame without an instruction from the baseband controller when the system code that is included in the received response request data matches the system code stored in the wireless communication apparatus, or when the response request data includes request information that requests identification information,
wherein the response data processing performed independent from control of the baseband controller includes checking the frame length of the response data, performing error detection on the response data, and storing the response data and the error detection result in the storage unit.
25. The mobile wireless communication apparatus according to claim 24, wherein the mobile wireless communication apparatus is a compact and lightweight terminal device.
26. The mobile wireless communication apparatus according to claim 24, further comprising:
means for storing a command; and
means for executing the command independently of the controller.
US10/987,759 2003-11-19 2004-11-11 Wireless communication apparatus and response data processing method therefor Expired - Fee Related US7711323B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003389191A JP4483271B2 (en) 2003-11-19 2003-11-19 Wireless communication apparatus and response data processing method for wireless communication apparatus
JPP-2003-389191 2003-11-19

Publications (2)

Publication Number Publication Date
US20050111420A1 US20050111420A1 (en) 2005-05-26
US7711323B2 true US7711323B2 (en) 2010-05-04

Family

ID=34431570

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/987,759 Expired - Fee Related US7711323B2 (en) 2003-11-19 2004-11-11 Wireless communication apparatus and response data processing method therefor

Country Status (5)

Country Link
US (1) US7711323B2 (en)
EP (1) EP1533914B1 (en)
JP (1) JP4483271B2 (en)
CN (1) CN100347997C (en)
HK (1) HK1078971A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080294742A1 (en) * 2005-04-08 2008-11-27 Huotari Allen J Network availability status detection device and method
US20090168807A1 (en) * 2007-12-27 2009-07-02 Felica Networks, Inc. Information processing device, communication method, and program product
US20100311326A1 (en) * 2007-12-20 2010-12-09 Koninklijke Philips Electronics N.V. Switching between multiple coupling modes
US20110206142A1 (en) * 2010-02-23 2011-08-25 Samsung Electronics Co., Ltd Receiving system for use in near field communication and mode detection method therefore
US20120225621A1 (en) * 2011-03-01 2012-09-06 O2Micro, Inc. Electronic device with the function of supporting multiple cards
US8903312B2 (en) 2011-11-28 2014-12-02 Qualcomm Incorporated Modified connection establishment for reducing power consumption in near field communication systems
US8923761B2 (en) 2012-05-17 2014-12-30 Qualcomm Incorporated Methods and apparatus for improving NFC RF discovery loop tuning based on device sensor measurements
US8942623B2 (en) 2011-12-02 2015-01-27 Qualcomm Incorporated Reducing NFC peer mode connection times
US8942628B2 (en) 2011-11-28 2015-01-27 Qualcomm Incorporated Reducing power consumption for connection establishment in near field communication systems
US9054750B2 (en) 2012-04-23 2015-06-09 Qualcomm Incorporated Methods and apparatus for improving RF discovery for peer mode communications

Families Citing this family (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7684754B2 (en) 2003-06-03 2010-03-23 Microsoft Corporation Capacitive bonding of devices
US7822983B2 (en) * 2003-08-21 2010-10-26 Microsoft Corporation Physical device bonding
US20140071818A1 (en) * 2004-07-16 2014-03-13 Virginia Innovation Sciences, Inc. Method and system for efficient communication
US8316438B1 (en) 2004-08-10 2012-11-20 Pure Networks Llc Network management providing network health information and lockdown security
US7899393B2 (en) * 2004-09-30 2011-03-01 Nxp B.V. Method and device for fast near-field communication
WO2006063118A2 (en) * 2004-12-07 2006-06-15 Pure Networks, Inc. Network management
US8478849B2 (en) * 2004-12-07 2013-07-02 Pure Networks LLC. Network administration tool
US20060153384A1 (en) * 2004-12-30 2006-07-13 Microsoft Corporation Extensible architecture for untrusted medium device configuration via trusted medium
WO2006077526A1 (en) 2005-01-21 2006-07-27 Koninklijke Philips Electronics, N.V. Ordering content by mobile phone to be played on consumer devices
US7657255B2 (en) * 2005-06-23 2010-02-02 Microsoft Corporation Provisioning of wireless connectivity for devices using NFC
JP5017811B2 (en) * 2005-07-19 2012-09-05 ソニー株式会社 Data transmission system, data acquisition device, data acquisition method, data storage device, data transmission method, and program thereof
AU2006281242A1 (en) * 2005-08-19 2007-02-22 Astrazeneca Ab Pyrazolone derivatives for the treatment of tuberculosis
US20070088732A1 (en) * 2005-10-13 2007-04-19 Yen-Fu Chen Dynamic string length checking for off-line processing using client-side caching of database catalog
US7433877B2 (en) * 2005-10-13 2008-10-07 International Business Machines Corporation System and method to dynamically check string length
US7603365B2 (en) * 2005-10-13 2009-10-13 International Business Machines Corporation System and method for capture and processing of overflow characters from user input
US8032745B2 (en) * 2005-12-20 2011-10-04 International Business Machines Corporation Authentication of I2C bus transactions
US20070218837A1 (en) * 2006-03-14 2007-09-20 Sony Ericsson Mobile Communications Ab Data communication in an electronic device
JP4189410B2 (en) * 2006-06-12 2008-12-03 株式会社東芝 Wireless communication apparatus and transmission control method
US8264991B2 (en) 2007-04-27 2012-09-11 Samsung Electronics Co., Ltd. System and method for improving symmetry in data transfer in LLC layer of peer to peer NFC device
KR101408544B1 (en) 2007-05-07 2014-06-17 삼성전자주식회사 METHOD FOR TRANSMITTING AND RECEIVING DATA IN Near Field Communication
US9491077B2 (en) * 2007-07-13 2016-11-08 Cisco Technology, Inc. Network metric reporting system
US8700743B2 (en) * 2007-07-13 2014-04-15 Pure Networks Llc Network configuration device
US9026639B2 (en) * 2007-07-13 2015-05-05 Pure Networks Llc Home network optimizing system
JP4462341B2 (en) * 2007-12-18 2010-05-12 ソニー株式会社 Information processing apparatus and method, and program
WO2011100497A1 (en) * 2010-02-12 2011-08-18 Interdigital Patent Holdings, Inc. Group paging for machine-type communications
US8724515B2 (en) 2010-03-26 2014-05-13 Cisco Technology, Inc. Configuring a secure network
US8649297B2 (en) * 2010-03-26 2014-02-11 Cisco Technology, Inc. System and method for simplifying secure network setup
US10397823B2 (en) * 2010-10-01 2019-08-27 Signify Holding B.V. Device and method for scheduling data packet transmission in wireless networks
JP5135417B2 (en) * 2010-11-19 2013-02-06 株式会社東芝 Wireless communication device
CN105246047B (en) * 2011-07-05 2018-12-21 宏达国际电子股份有限公司 Wireless service provider method
US20130198056A1 (en) * 2012-01-27 2013-08-01 Verizon Patent And Licensing Inc. Near field communication transaction management and application systems and methods
US9736680B2 (en) * 2012-06-27 2017-08-15 Google Inc. Techniques for transferring a data payload utilizing near-field communication
FR3001309B1 (en) * 2013-01-24 2015-01-09 St Microelectronics Rousset METHOD OF PROCESSING TRANSMISSION ERRORS, IN PARTICULAR THOSE RESULTING FROM NOISE, IN CONTACTLESS COMMUNICATION BETWEEN A CARD AND A READER.
US9195857B2 (en) * 2013-09-30 2015-11-24 Infineon Technologies Ag Computational system
JP6201641B2 (en) * 2013-10-29 2017-09-27 ソニー株式会社 Information processing apparatus, imaging apparatus, imaging system, information processing apparatus control method, imaging apparatus control method, and program
CN105183076A (en) * 2015-08-20 2015-12-23 南京易迈海数码科技有限公司 Preparation method of PDA for data collection and query
CN107334484B (en) * 2016-04-29 2020-09-25 上海西门子医疗器械有限公司 Wireless controller and wireless control system of CT machine and CT machine
CN106648542B (en) * 2016-11-29 2019-07-26 建荣半导体(深圳)有限公司 Random-number generating method and relevant apparatus, Bluetooth chip and electronic equipment
JP6746101B2 (en) * 2017-11-02 2020-08-26 村田機械株式会社 Carrier system and communication method in carrier system
US11023742B2 (en) * 2018-09-07 2021-06-01 Tusimple, Inc. Rear-facing perception system for vehicles
CN113050052B (en) * 2021-03-08 2022-08-09 四川九洲空管科技有限责任公司 Multi-target response simulation method for friend or foe identification system

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5307351A (en) * 1991-08-26 1994-04-26 Universal Data Systems, Inc. Data communication apparatus for adjusting frame length and method of operating same
US5519873A (en) * 1990-08-31 1996-05-21 International Business Machines Corporation Apparatus for switching digital command execution between a general purpose microprocessor and dedicted execution logic
JP2001186214A (en) 1999-10-13 2001-07-06 Sony Corp Communication equipment, communication method, recording medium with communicating method recorded thereon and communication card
US20020028657A1 (en) 2000-06-26 2002-03-07 Koninklijke Philips Electronics N.V. Communication system
US20020046226A1 (en) * 2000-10-13 2002-04-18 Matsushita Electric Industrial Co., Ltd. Contactless IC card, responding method, and program therefor
US20020140542A1 (en) * 2001-04-02 2002-10-03 Prokoski Francine J. Personal biometric key
US20020151275A1 (en) * 2000-02-16 2002-10-17 Theodore Trost Bluetooth baseband solution with reduced processor requirements and integrated host controller
JP2002345037A (en) 2001-05-17 2002-11-29 Sony Corp Portable communication apparatus, communication system and communication method therefor
JP2003006509A (en) 2001-06-20 2003-01-10 Hitachi Ltd Communication equipment, communication system and advertisement rate calculation method
JP2003167657A (en) 2001-11-29 2003-06-13 Toshiba Corp Electronic equipment to which electronic card with communication function is connectable, system including the same and method for selecting function
US20030114897A1 (en) 2001-12-19 2003-06-19 Von Arx Jeffrey A. Implantable medical device with two or more telemetry systems
EP1321889A2 (en) 2001-12-20 2003-06-25 Matsushita Electric Industrial Co., Ltd. IC card reader/writer, identification method
JP2004502339A (en) 2000-06-26 2004-01-22 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Communications system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1158526A (en) * 1996-08-28 1997-09-03 周运伟 Near radio data communications and data processing system
JP2001307052A (en) * 2000-04-25 2001-11-02 Nec Corp Non-contact ic card, reader/writer, non-contact ic card system and its control method
JP3514228B2 (en) * 2000-10-25 2004-03-31 日本電気株式会社 Narrow-area wireless continuous communication method and system
JP3671880B2 (en) * 2001-07-18 2005-07-13 ソニー株式会社 COMMUNICATION SYSTEM AND METHOD, INFORMATION PROCESSING DEVICE AND METHOD, COMMUNICATION TERMINAL AND METHOD, EXPANSION DEVICE, AND PROGRAM
JP3617509B2 (en) * 2001-10-31 2005-02-09 ソニー株式会社 IC card, information processing terminal, three-party data communication system and method
JP2003281453A (en) * 2002-03-20 2003-10-03 Matsushita Electric Ind Co Ltd Merchandise reception system
US7344074B2 (en) * 2002-04-08 2008-03-18 Nokia Corporation Mobile terminal featuring smart card interrupt

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5519873A (en) * 1990-08-31 1996-05-21 International Business Machines Corporation Apparatus for switching digital command execution between a general purpose microprocessor and dedicted execution logic
US5307351A (en) * 1991-08-26 1994-04-26 Universal Data Systems, Inc. Data communication apparatus for adjusting frame length and method of operating same
JP2001186214A (en) 1999-10-13 2001-07-06 Sony Corp Communication equipment, communication method, recording medium with communicating method recorded thereon and communication card
US20020151275A1 (en) * 2000-02-16 2002-10-17 Theodore Trost Bluetooth baseband solution with reduced processor requirements and integrated host controller
US20020028657A1 (en) 2000-06-26 2002-03-07 Koninklijke Philips Electronics N.V. Communication system
JP2004502339A (en) 2000-06-26 2004-01-22 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Communications system
US20020046226A1 (en) * 2000-10-13 2002-04-18 Matsushita Electric Industrial Co., Ltd. Contactless IC card, responding method, and program therefor
US20020140542A1 (en) * 2001-04-02 2002-10-03 Prokoski Francine J. Personal biometric key
JP2002345037A (en) 2001-05-17 2002-11-29 Sony Corp Portable communication apparatus, communication system and communication method therefor
JP2003006509A (en) 2001-06-20 2003-01-10 Hitachi Ltd Communication equipment, communication system and advertisement rate calculation method
JP2003167657A (en) 2001-11-29 2003-06-13 Toshiba Corp Electronic equipment to which electronic card with communication function is connectable, system including the same and method for selecting function
US20030114897A1 (en) 2001-12-19 2003-06-19 Von Arx Jeffrey A. Implantable medical device with two or more telemetry systems
EP1321889A2 (en) 2001-12-20 2003-06-25 Matsushita Electric Industrial Co., Ltd. IC card reader/writer, identification method
US20030116626A1 (en) * 2001-12-20 2003-06-26 Matsushita Electric Industrial Co., Ltd. IC card reader/writer, identification method and program

Non-Patent Citations (9)

* Cited by examiner, † Cited by third party
Title
"Introducing Bluetooth", Chapter 1, pp. 7-9 , Jan. 31, 2002, http://media.wiley.com/product-data/excerpt/75/07645488/0764548875.pdf. *
"Introducing Bluetooth", Chapter 1, pp. 7-9 , Jan. 31, 2002, http://media.wiley.com/product—data/excerpt/75/07645488/0764548875.pdf. *
Bluetooth specification Core part (1), Japan, Toshiba digital media network company, Apr. 2001, p. 2, 43, 44, 51, 62, 66, 72, 95, 270.
Bluetooth specification core part (2), Japan, Toshiba digital media network company, Apr. 2001, p. 543, 774, 801, 1023, 1041, 1044-1048.
Bluetooth Specification Version 1.1, 2001.
Bluetooth Specification Version 1.1, Feb. 22, 2001.
International Search Report dated Jul. 18, 2007 (3 pgs.).
Japanese Office Action issued on Mar. 3, 2009, for corresponding Japanese Patent Application JP 2003-389191.
Japanese Office Action issued on Oct. 13, 2009, for corresponding Japanese Patent Application JP 2003-389191.

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080294742A1 (en) * 2005-04-08 2008-11-27 Huotari Allen J Network availability status detection device and method
US20100311326A1 (en) * 2007-12-20 2010-12-09 Koninklijke Philips Electronics N.V. Switching between multiple coupling modes
US9913077B2 (en) 2007-12-20 2018-03-06 Koninklijke Philips N.V. Switching between multiple coupling modes
US9002263B2 (en) * 2007-12-20 2015-04-07 Koninklijke Philips N.V. Switching between multiple coupling modes
US8553717B2 (en) * 2007-12-27 2013-10-08 Felica Networks, Inc. Information processing device, communication method, and program product
US20090168807A1 (en) * 2007-12-27 2009-07-02 Felica Networks, Inc. Information processing device, communication method, and program product
US20110206142A1 (en) * 2010-02-23 2011-08-25 Samsung Electronics Co., Ltd Receiving system for use in near field communication and mode detection method therefore
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
US20120225621A1 (en) * 2011-03-01 2012-09-06 O2Micro, Inc. Electronic device with the function of supporting multiple cards
US8903312B2 (en) 2011-11-28 2014-12-02 Qualcomm Incorporated Modified connection establishment for reducing power consumption in near field communication systems
US8942628B2 (en) 2011-11-28 2015-01-27 Qualcomm Incorporated Reducing power consumption for connection establishment in near field communication systems
US8942623B2 (en) 2011-12-02 2015-01-27 Qualcomm Incorporated Reducing NFC peer mode connection times
US9054750B2 (en) 2012-04-23 2015-06-09 Qualcomm Incorporated Methods and apparatus for improving RF discovery for peer mode communications
US8923761B2 (en) 2012-05-17 2014-12-30 Qualcomm Incorporated Methods and apparatus for improving NFC RF discovery loop tuning based on device sensor measurements

Also Published As

Publication number Publication date
JP4483271B2 (en) 2010-06-16
CN1619573A (en) 2005-05-25
CN100347997C (en) 2007-11-07
US20050111420A1 (en) 2005-05-26
JP2005151413A (en) 2005-06-09
HK1078971A1 (en) 2006-03-24
EP1533914B1 (en) 2014-07-02
EP1533914A3 (en) 2007-08-15
EP1533914A2 (en) 2005-05-25

Similar Documents

Publication Publication Date Title
US7711323B2 (en) Wireless communication apparatus and response data processing method therefor
US9277350B2 (en) Method for data communication between a wireless device and a electronic device, and a data communication device
US6049885A (en) Method and apparatus for allowing a remote node to awaken a sleeping node of a network
US7406093B2 (en) Station discovery processing method and wireless communication device
US6842611B2 (en) Received data processing method in communication device for supporting bluetooth wireless communication
US7308516B2 (en) Bi-directional serial interface for communication control
EP2124155B1 (en) Information processing apparatus, information processing system, method of processing information, and computer program
CN102681957A (en) Enhanced wireless usb protocol and hub
US9128811B2 (en) Assigning addresses to devices on an interconnect
EP2106188A1 (en) Mobile communication system, mobile communication method, base station, and mobile station
TW200401537A (en) Network accessing system for computer and method of controlling the same
JP2006073034A (en) Ic card reader-writer, identification method, program and its recording medium
JP3393127B2 (en) Communication terminal device and data transmission method thereof
WO2015037187A1 (en) Communication device and communication system
JP3655597B2 (en) Electronic device, electronic card, and card identification method
CN115694550B (en) Method and device for realizing Bluetooth frequency hopping based on radio frequency chip and electronic equipment
KR100562505B1 (en) Integrated circuit card capable of automatically transmitting null byte information without intervention by cpu
US6067626A (en) Method of processing externally supplied data by CPU in non-operating state and portable terminal device for the same
JP4431768B2 (en) Portable electronic device, reading method and writing method
US20080259830A1 (en) Wireless communication system, information and communication terminal, portable telephone, reader/writer, communication method and computer program
EP4187984A1 (en) Bluetooth low energy connection power consumption
CN111064488B (en) Transmitting/receiving device, transmitting/receiving system, storage medium, and transmitting/receiving method
JPH09326800A (en) Radio communication equipment and its control method
US6574697B2 (en) Data transfer equipment that provides high speed data transmission between data terminal equipment and data circuit terminating equipment
JP2004151981A (en) Wireless input system, and transmission device and reception device for use in its system

Legal Events

Date Code Title Description
AS Assignment

Owner name: SONY CORPORATION, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:FUJII, KUMHIDE;REEL/FRAME:015595/0271

Effective date: 20050106

Owner name: SONY CORPORATION,JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:FUJII, KUMHIDE;REEL/FRAME:015595/0271

Effective date: 20050106

FEPP Fee payment procedure

Free format text: PAYER NUMBER DE-ASSIGNED (ORIGINAL EVENT CODE: RMPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552)

Year of fee payment: 8

LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20220504