# US 8,276,824 B2 · Communication device, communication method, program, and communication system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,276,824 B2
- Document ID: US8276824B2
- Status: Granted
- Kind: B2
- Application number: 12/538,578
- Filed: 2009-08-10
- Published: 2010-02-18
- Granted: 2012-10-02
- Earliest claimed: 2008-08-13
- Assignees: Sony Corporation
- Inventors: Hideo Yamamoto; Tadashi Morita
- Web page: https://patentgrep.com/patent/US8276824B2

## CPC

- G07F 7/10: together with a coded signal {, e.g. in the form of personal identification information, like personal identification number [PIN] or biometric data}
- G06Q 20/341: {Active cards, i.e. cards including their own processing means, e.g. including an IC or chip}
- G06Q 20/352: {Contactless payments by cards}
- G06Q 20/3576: {Multiple memory zones on card}
- G06Q 20/363: {with the personal data of a user}
- G07F: COIN-FREED OR LIKE APPARATUS (coin sorting G07D3/00; coin testing G07D5/00; {handling coins or paper currencies apart from payment activated apparatus G07D; payment architectures, schemes or protocols G06Q20/00})
- G06Q: INFORMATION 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

## Abstract

A communication device including a receiving unit, a command processing unit, an updating unit, a transmitting unit, and a selector is provided. The receiving unit receives a transmitted command. The command processing unit performs command processing in response to the received command and generates a response containing a result of the command processing. The updating unit updates information held in one area of a memory currently disabled using the result of the command processing, wherein a first area and a second area form the memory for holding information indicating a current status. The transmitting unit transmits the generated response. The selector switches the one area currently disabled and holds the information that was updated using the result of the command processing into the enabled state and the other area currently enabled into the disabled state immediately after transmission of the response is completed.

## Claims

### Claim 1

A communication device comprising:
receiving means for receiving a transmitted command;
command processing means for performing command processing in response to the received command and generates a response containing a result of the command processing;
updating means for updating information held in one area currently disabled, out of a first area and a second area, using the result of the command processing, the first area and the second area forming a memory for holding information indicating a current status;
transmitting means for transmitting the generated response; and
switching means for switching, out of the first area and the second area of the memory, the one area currently disabled and holding the information that was updated using the result of the command processing into the enabled state and the other area currently enabled into the disabled state dynamically according to a response length of the response immediately after transmission of the response is completed; and
wherein the switching means switches, out of the first area and the second area of the memory, the one area currently disabled and holding the information that was updated using the result of the command processing into the enabled state and the other area currently enabled into the disabled state dynamically according to a response length of the response immediately after transmission of the response is completed.

### Claim 2 (depends on 1)

The communication device according to claim 1, further comprising interrupt processing means for detecting that the transmitting means finishes reading out the response from a transmission buffer in which the response has been held before transmission, wherein the switching means switches, out of the first area and the second area of the memory, the one area currently disabled and holding the information that was updated using the result of the command processing into the enabled state and the other area currently enabled into the disabled state according to an instruction from the interrupt processing means.

### Claim 3 (depends on 1)

The communication device according to claim 1, wherein the transmitting means provides a notification that transmission of the response is completed to the switching means, and
the switching means switches, out of the first area and the second area of the memory, the one area currently disabled and holding the information that was updated using the result of the command processing into the enabled state and the other area currently enabled into the disabled state according to the notification from the transmitting means.

### Claim 4 (depends on 1)

The communication device according to claim 1, wherein the transmitting means has a transmission completion flag indicating that transmission of the response is completed, and
the switching means switches, out of the first area and the second area of the memory, the one area currently disabled and holding the information that was updated using the result of the command processing into the enabled state and the other area currently enabled into the disabled state according to a status of the transmission completion flag.

### Claim 5

A communication method of a communication device that performs command processing in response to a received command and transmits a response containing a result of the command processing, the method comprising:
receiving a transmitted command;
performing command processing in response to the received command and generating a response containing a result of the command processing;
updating information held in one area currently disabled, out of a first area and a second area, using the result of the command processing, the first area and the second area forming a memory for holding information indicating a current status;
transmitting the generated response; and
switching, out of the first area and the second area of the memory, the one area currently disabled and holding the information that was updated using the result of the command processing into the enabled state and the other area currently enabled into the disabled state dynamically according to a response length of the response immediately after transmission of the response is completed.

### Claim 6

A non-transitory computer readable storage medium storing a computer program for controlling a communication device that performs command processing in response to a received command and transmits a response containing a result of the command processing, and allowing a computer of the communication device to execute processing, the program causing the communication device to:
receive a transmitted command;
perform command processing in response to the received command and generating a response containing a result of the command processing;
update information held in one area currently disabled, out of a first area and a second area, using the result of the command processing, the first area and the second area forming a memory for holding information indicating a current status;
transmit the generated response; and
switch, out of the first area and the second area of the memory, the one area currently disabled and holding the information that was updated using the result of the command processing into the enabled state and the other area currently enabled into the disabled state dynamically according to a response length of the response immediately after transmission of the response is completed.

### Claim 7

A communication system that performs noncontact communication between a communication device and a reader/writer,
wherein the communication device includes
receiving means for receiving a transmitted command,
command processing means for performing command processing in response to the received command and generates a response containing a result of the command processing,
updating means for updating information held in one area currently disabled, out of a first area and a second area, using the result of the command processing, the first area and the second area forming a memory for holding information indicating a current status,
transmitting means for transmitting the generated response, and
switching means for switching, out of the first area and the second area of the memory, the one area currently disabled and holding the information that was updated using the result of the command processing into the enabled state and the other area currently enabled into the disabled state dynamically according to a response length of the response immediately after transmission of the response is completed, and
the reader/writer includes
transmitting means for transmitting the command, and
receiving means for receiving the response.

### Claim 8

A communication device comprising:
a receiving unit configured to receive a transmitted command,
a command processing unit configured to perform command processing in response to the received command and generates a response containing a result of the command processing;
an updating unit configured to update information held in one area currently disabled, out of a first area and a second area, using the result of the command processing, the first area and the second area forming a memory for holding information indicating a current status;
a transmitting unit configured to transmit the generated response; and
a switching unit configured to switch, out of the first area and the second area of the memory, the one area currently disabled and holding the information that was updated using the result of the command processing, into the enabled state and the other area currently enabled into the disabled state dynamically according to a response length of the response immediately after transmission of the response is completed.

### Claim 9

A communication system that performs noncontact communication between a communication device and a reader/writer,
wherein the communication device includes
a receiving unit configured to receive a transmitted command,
a command processing unit configured to perform command processing in response to the received command and generates a response containing a result of the command processing,
an updating unit configured to update information held in one area currently disabled, out of a first area and a second area, using the result of the command processing, the first area and the second area forming a memory for holding information indicating a current status,
a transmitting unit configured to transmit the generated response, and
a switching unit configured to switch, out of the first area and the second area of the memory, the one area currently disabled and holding the information that was updated using the result of the command processing into the enabled state and the other area currently enabled into the disabled state dynamically according to a response length of the response immediately after transmission of the response is completed, and
the reader/writer includes
a transmitting unit configured to transmit the command, and
a receiving unit configured to receive the response.
