WO2011002030A1 - 携帯可能電子装置、及び携帯可能電子装置の制御方法 - Google Patents

携帯可能電子装置、及び携帯可能電子装置の制御方法 Download PDF

Info

Publication number
WO2011002030A1
WO2011002030A1 PCT/JP2010/061170 JP2010061170W WO2011002030A1 WO 2011002030 A1 WO2011002030 A1 WO 2011002030A1 JP 2010061170 W JP2010061170 W JP 2010061170W WO 2011002030 A1 WO2011002030 A1 WO 2011002030A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
portable electronic
time frame
card
electronic device
Prior art date
Application number
PCT/JP2010/061170
Other languages
English (en)
French (fr)
Inventor
内田 圭亮
Original Assignee
株式会社 東芝
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 株式会社 東芝 filed Critical 株式会社 東芝
Priority to JP2011520964A priority Critical patent/JP5487206B2/ja
Priority to EP10794198.1A priority patent/EP2451085B1/en
Priority to SG2011094091A priority patent/SG176916A1/en
Publication of WO2011002030A1 publication Critical patent/WO2011002030A1/ja
Priority to US13/329,799 priority patent/US9007176B2/en

Links

Images

Classifications

    • 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/10059Methods 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 transponder driven

Definitions

  • the present invention relates to a portable electronic device that implements various processes by transmitting and receiving commands, for example, and more particularly to a portable electronic device capable of responding to an initial response request at a higher speed, and control of the portable electronic device. Regarding the method.
  • an IC card used as a portable electronic device includes a card-like main body formed of plastic or the like and an IC module embedded in the main body.
  • the IC module has an IC chip.
  • the IC chip has a nonvolatile memory such as an EEPROM (Electrically Erasable Programmable Read-Only Memory) or a flash ROM that can hold data even when there is no power supply, and a CPU that executes various operations.
  • IC cards are excellent in portability, and can communicate with external devices and perform complex arithmetic processing. Further, since it is difficult to forge, the IC card is assumed to store highly confidential information and be used for a security system, electronic commerce, and the like.
  • the non-contact IC card as described above includes an IC chip and an antenna.
  • This non-contact IC card operates by receiving a magnetic field generated from a reader / writer of an IC card processing device that processes the IC card and causing an antenna in the card to generate electricity by electromagnetic induction.
  • the terminal device can perform anti-collision processing by, for example, a time slot method, a slot marker method, or another method.
  • the IC card processing device When performing anti-collision processing by the time slot method, the IC card processing device sets a plurality of time frames and transmits an initial response request to the IC card.
  • the IC card generates a random number, selects a time frame according to the random number, and transmits a card ID stored in itself in the selected time frame as a response to the IC card processing device.
  • the IC card processing device selects an IC card for executing processing based on the received card ID.
  • Patent Document 1 discloses a technique for recognizing the presence / absence of a response of another IC card in a selected time frame and transmitting a response in a time frame after the selected time frame when the response of the other IC card is confirmed. Is disclosed.
  • the IC card processing device transmits an initial response request including the total number N of slots (time frames) to a plurality of IC cards.
  • Each IC card generates, for example, n (integer) among N integers from 0 to (N ⁇ 1) by a logic circuit.
  • n integer
  • the IC card immediately returns an initial response response.
  • the IC card does not immediately return an initial response response, and then receives a slot marker command specifying the same slot as n generated by the non-contact IC card from the terminal device. Return the initial response response.
  • the time frame set by the IC card processing device is fixed. For this reason, for example, when there is a time frame not selected by the IC card before the time frame selected by the IC card, there is a problem that communication time is wasted.
  • the portable electronic device described in the above patent document selects a time frame after the selected time frame. For this reason, there exists a problem that the whole processing time becomes long.
  • the IC card returns an initial response response when receiving a command from an external terminal that designates the same slot as the selected value. For this reason, even if the slot has no response from another non-contact card, the non-contact IC card has to wait without responding, and there is a problem that the entire processing time becomes long.
  • a portable electronic device is a portable electronic device that generates a random number and responds at a timing according to the generated random number, the receiving unit receiving an initial response request from an external device, and the reception Based on the initial response request received by the unit, a recognition unit for recognizing the total number of time frames set in the external device, a random number generation unit for generating a random number, and communication performed in other portable electronic devices are detected.
  • the communication detection unit Based on the total number of time frames recognized by the recognition unit and the random number generated by the random number generation unit, the communication detection unit monitors one time frame, and the communication detection unit A determination unit that determines whether to transmit a response to the initial response request to the external device based on a detection result, and a response based on a determination result by the determination unit Comprising a transmitter for transmitting the Kigaibu device, the.
  • FIG. 1 is an explanatory diagram for explaining an example of a configuration of a processing system for a portable electronic device according to an embodiment.
  • FIG. 2 is an explanatory diagram for describing a configuration example of the terminal device illustrated in FIG. 1.
  • FIG. 3 is an explanatory diagram for explaining a configuration example of the IC card shown in FIG.
  • FIG. 4 is an explanatory diagram for schematically explaining an example of processing of the IC card according to the first embodiment.
  • FIG. 5 is a flowchart for explaining an example of processing of the IC card according to the first embodiment.
  • FIG. 6 is an explanatory diagram for schematically explaining another example of processing of the IC card according to the second embodiment.
  • FIG. 7 is a flowchart for explaining another example of the processing of the IC card according to the second embodiment.
  • FIG. 8 is an explanatory diagram for explaining another configuration example of the IC card shown in FIG.
  • FIG. 9 is a diagram for explaining the operation of the IC card 2 in response to the first initial response request in which the total number N of slots is 2 or more.
  • FIG. 10 is a diagram for explaining the operation of the IC card 2 when responding to the second and subsequent initial response requests in which the total number N of slots is specified as 2 or more.
  • FIG. 11 is a flowchart showing the operation of the IC card 2 when responding to an initial response request in which the total number N of slots is 2 or more.
  • FIG. 1 is an explanatory diagram for explaining a configuration example of an IC card processing system 10 according to the first embodiment.
  • the IC card processing system 10 includes a portable electronic device processing device (terminal device) 1 and a portable electronic device (IC card) 2.
  • the terminal device 1 and the IC card 2 transmit / receive various data to / from each other by wireless communication.
  • FIG. 2 is an explanatory diagram for explaining a configuration example of the terminal device shown in FIG. As illustrated in FIG. 2, the terminal device 1 includes a control unit 11, a display 12, a keyboard 13, a card reader / writer 14, a storage unit 15, and the like.
  • the control unit 11 includes a CPU, a ROM, a RAM, and the like.
  • the control unit 11 controls the operation of the entire terminal device 1.
  • the display 12 displays various information under the control of the control unit 11.
  • the keyboard 13 receives an operation by the operator of the terminal device 1 as an operation signal.
  • the card reader / writer 14 is an interface device for communicating with the IC card 2.
  • the card reader / writer 14 performs power supply, clock supply, reset control, and data transmission / reception with respect to the IC card 2. That is, the card reader / writer 14 functions as a transmission / reception unit.
  • the storage unit 15 stores an operation program executed by the control unit 11 and data.
  • the control unit 11 inputs various commands to the IC card 2 via the card reader / writer 14. For example, when receiving a data write command from the card reader / writer 14, the IC card 2 performs a process of writing the received data into the internal nonvolatile memory.
  • control unit 11 reads data from the IC card 2 by transmitting a read command to the IC card 2.
  • the control unit 11 performs various processes based on the data received from the IC card 2.
  • the card reader / writer 14 transmits and receives data to and from the IC card 2 by wireless communication.
  • the card reader / writer 14 includes a signal processing unit, a transmission / reception circuit, an antenna, and the like (not shown).
  • the signal processing unit encodes, decodes, modulates, and demodulates data transmitted to and received from the IC card 2.
  • the transmission / reception circuit amplifies the data modulated by the signal processing unit and the data received by the antenna.
  • the antenna transmits data to the IC card 2 by generating a magnetic field according to the data to be transmitted.
  • the antenna recognizes data transmitted from the IC card 2 based on the induced current generated by electromagnetic induction.
  • the range in which the IC card 2 can recognize the change in the magnetic field due to the antenna is the communicable range.
  • the card reader / writer 14 detects the IC card 2 existing within the communicable range and performs processing.
  • the control unit 11 performs settings related to communication with the IC card 2 by transmitting an initial response request (initial response request command) to the IC card 2 by the card reader / writer 14. In order to detect the IC card 2, the card reader / writer 14 repeatedly transmits an initial response request command to the communicable range.
  • a response to the activation command from the IC card 2 is returned to the card reader / writer 14.
  • the card reader / writer 14 detects the IC card 2.
  • the card reader / writer 14 transmits a selection command for selecting a desired IC card 2.
  • communication can be performed between the card reader / writer 14 and the IC card 2.
  • FIG. 3 is a block diagram for explaining a configuration example of the IC card 2 shown in FIG.
  • the IC card 2 includes a card-like main body 21 and an IC module 22 built in the main body 21.
  • the IC module 22 includes one or more IC chips 23 and a communication unit 24.
  • the IC chip 23 and the communication unit 24 are formed in the IC module 22 while being connected to each other.
  • the IC chip 23 includes a communication unit 24, a CPU 25, a ROM 26, a RAM 27, a nonvolatile memory 28, a power supply unit 29, a random number generation unit 30, and the like.
  • the communication unit 24 is an interface for performing contactless communication with the card reader / writer 14 of the terminal device 1.
  • the communication unit 24 functions as a transmission unit and a reception unit.
  • the communication unit 24 includes an antenna that performs non-contact communication with the card reader / writer 14 of the terminal device 1, for example.
  • the communication unit 24 includes a transmission / reception circuit that amplifies transmission / reception data, and a signal processing unit.
  • the CPU 25 functions as a control unit that controls the entire IC card 2. Further, the CPU 25 functions as a determination unit that performs various determinations. The CPU 25 performs various processes based on the control program and control data stored in the ROM 26 or the nonvolatile memory 28. For example, various processes are performed in accordance with commands received from the card reader / writer 14, and data such as responses as processing results is generated.
  • the ROM 26 is a non-volatile memory that stores a control program and control data in advance.
  • the ROM 26 is incorporated in the IC card 2 in a state where a control program, control data, and the like are stored at the manufacturing stage. That is, the control program and control data stored in the ROM 26 are incorporated in advance according to the specifications of the IC card 2.
  • the RAM 27 is a volatile memory that functions as a working memory.
  • the RAM 27 temporarily stores data being processed by the CPU 25.
  • the RAM 27 temporarily stores data received from the terminal device 1 via the communication unit 24.
  • the RAM 27 temporarily stores a program executed by the CPU 25.
  • the non-volatile memory 28 is configured by a non-volatile memory capable of writing and rewriting data, such as an EEPROM or a flash ROM.
  • the nonvolatile memory 28 stores a control program and various data according to the operation application of the IC card 2.
  • a program file and a data file are created.
  • a control program and various data are written in each created file.
  • the CPU 25 can implement various processes by executing programs stored in the nonvolatile memory 28 or the ROM 26.
  • the power supply unit 29 receives radio waves from the card reader / writer 14 and generates an electromotive force and an operation clock.
  • the power supply unit 29 supplies the generated power and operation clock to each unit of the IC card 2.
  • Each part of the IC card 2 becomes operable when supplied with power.
  • the random number generator 30 generates a random number. For example, when receiving an initial response request command from the card reader / writer 14, the CPU 25 generates a random number by the random number generation unit 30.
  • the initial response request command transmitted from the card reader / writer 14 has a plurality of parameters for determining the communication method and speed.
  • This parameter includes information indicating the number of time frames (total time frame number n) in which the card reader / writer 14 receives a response to the initial response request command.
  • control unit 11 of the terminal device 1 sets a plurality of time frames and transmits an initial response request command having information indicating the total number of time frames to the IC card 2 by the card reader / writer 14.
  • the CPU 25 of the IC card 2 When receiving the initial response request command, the CPU 25 of the IC card 2 refers to the initial response request command and recognizes the total number of time frames set in the card reader / writer 14. That is, the CPU 25 functions as a recognition unit. The CPU 25 generates a random number by the random number generation unit 30, and selects one time frame based on the generated random number. That is, the CPU 25 functions as a time frame selection unit. The CPU 25 of the IC card 2 performs an initial response process for the initial response request command based on the selected time frame.
  • the communication unit 24 when the IC card 2 transmits data to the card reader / writer 14, the communication unit 24 generates a magnetic field corresponding to the data to be transmitted.
  • the IC card 2 can determine whether or not communication processing is being performed in another IC card 2 by monitoring the magnetic field by the communication unit 24.
  • the CPU 25 of the IC card 2 determines that communication processing is being performed in another IC card 2. To do. That is, the communication unit 24 and the CPU 25 function as a communication detection unit.
  • FIG. 4 is an explanatory diagram for schematically explaining an example of the initial response process of the IC card 2 according to the first embodiment.
  • the terminal device 1 sets the total number of time frames to four.
  • the IC card 2 existing in the communicable range of the terminal device 1 is the IC card 2A and the IC card 2B.
  • the terminal device 1 sets the total number of time frames, and transmits an initial response request command (request) from the card reader / writer 14 at a certain timing.
  • the terminal device 1 starts accepting the first time frame at a time t1 when a predetermined time (t1-t0) has elapsed from the time t0 when the last bit of the request is transmitted.
  • the terminal device 1 starts accepting the second time frame at a time t2 when a predetermined time (t2-t1) has elapsed since the start of accepting the first time frame.
  • the terminal device 1 starts accepting the third time frame at a time t3 when a predetermined time (t3-t2) has elapsed since the start of accepting the second time frame.
  • the terminal device 1 starts accepting the fourth time frame at time t4 when a predetermined time (t4-t3) has elapsed since the start of accepting the third time frame.
  • the terminal device 1 ends acceptance of the fourth time frame at a time t5 when a predetermined time (t5-t4) has elapsed since the start of acceptance of the fourth time frame.
  • IC cards 2A and 2B stand by until a request is received from terminal device 1.
  • the CPUs 25 of the IC cards 2A and 2B recognize the total number of time frames set in the terminal device 1.
  • the CPU 25 determines that the time t1 when a predetermined time (t1-t0) has elapsed from the time t0 when the last bit of the request is received is the start time of the first time frame.
  • the CPU 25 recognizes each successive time frame based on the start time t1 of the first time frame and the recognized total number of time frames. In other words, the CPU 25 recognizes each time frame by dividing every time width T from the time t1. Thereby, the CPU 25 recognizes the start times t1, t2, t3, and t4 of each time frame.
  • the CPU 25 assigns a number to each recognized time frame.
  • the CPU 25 generates a random number by the random number generation unit 30, and selects one time frame based on the generated random number. For example, the CPU 25 converts part or all of the generated random number into a number equal to or less than the total number of time frames set by the terminal device 1.
  • CPU25 selects the time frame provided with the number corresponding to the number converted from the random number.
  • the CPU 25 determines a time frame for transmitting a response based on the time frame m selected from the random numbers and the total time frame number n.
  • CPU 25 first determines whether or not m> n / 2 is satisfied. If m> n / 2 is satisfied, the CPU 25 reselects a time frame of (n ⁇ m + 1). The CPU 25 monitors the reselected time frame nm + 1 so that a response is transmitted in the reselected time frame.
  • the CPU 25 determines whether or not a response is transmitted from the other IC card 2 to the terminal device 1 within a predetermined time width p from the start time of the (n ⁇ m + 1) time frame. That is, the CPU 25 monitors the magnetic field by the communication unit 24 from the (n ⁇ m + 1) start time, and determines whether or not there is a change in the magnetic field of a predetermined value or more within the time width p.
  • the CPU 25 transmits a response to the terminal device 1. If it is determined that there is a response from another IC card 2, the CPU 25 transmits a response to the terminal device 1 in the first selected time frame m.
  • the CPU 25 transmits a response to the terminal device 1 in the time frame m selected first.
  • FIG. 5 is a flowchart for explaining an example of the initial response process of the IC card 2 according to the first embodiment.
  • the IC card 2 stands by until a request is received from the terminal device 1 (step S11).
  • the CPU 25 of the IC card 2 checks the total number of time frames n set in the terminal device 1 (step S13).
  • the CPU 25 generates a random number by the random number generation unit 30 (step S14).
  • the CPU 25 selects one time frame m based on the random number generated by the random number generation unit 30 (step S15).
  • the CPU 25 determines whether or not the selected time frame m and the total time frame number n satisfy the relationship m> n / 2 (step S16).
  • step S16 When the selected time frame m and the total number of time frames n satisfy the relationship of m> n / 2 (step S16, YES), the CPU 25 reselects the mn + 1 time frame (step S17). The CPU 25 monitors the reselected time frame nm ⁇ m + 1 (step S18).
  • the CPU 25 determines whether or not a response is transmitted from the other IC card 2 to the terminal device 1 within a predetermined time width p from the start time of the (n ⁇ m + 1) time frame (step S19).
  • the CPU 25 transmits a response to the terminal device 1 (step S20). That is, the CPU 25 controls each unit of the IC card 2 so as to transmit a response to the terminal device 1 in the reselected time frame.
  • step S16 if the selected time frame m and the total number of time frames n do not satisfy the relationship of m> n / 2 (step S16, NO), or in step S19, from another IC card 2
  • step S19 if the selected time frame m and the total number of time frames n do not satisfy the relationship of m> n / 2 (step S16, NO), or in step S19, from another IC card 2
  • the CPU 25 controls each part of the IC card 2 so as to transmit the response to the terminal device 1 in the initially selected time frame m (step S21).
  • the IC card 2 when receiving the initial response request command, the IC card 2 according to the present embodiment recognizes the total number of time frames based on the command. The IC card 2 selects a time frame based on the random number, and reselects a predetermined time frame before the selected time frame. The IC card 2 determines whether or not the reselected time frame is selected by another IC card 2, and if not selected, transmits a response to the terminal device 1 in the time frame. Thereby, processing time can be shortened.
  • the IC card 2 transmits a response to the terminal device 1 in the first selected time frame. Thereby, a collision can be prevented.
  • FIG. 6 is an explanatory diagram for schematically explaining an example of the initial response process of the IC card 2 according to the second embodiment.
  • the terminal device 1 sets the total number of time frames to four.
  • description will be made assuming that the IC card 2 existing in the communicable range of the terminal device 1 is the IC card 2A and the IC card 2B.
  • the terminal device 1 sets the total number of time frames, and transmits an initial response request command (request) from the card reader / writer 14 at a certain timing.
  • the terminal device 1 starts accepting the first time frame at a time t1 when a predetermined time (t1-t0) has elapsed from the time t0 when the last bit of the request is transmitted.
  • the terminal device 1 starts accepting the second time frame at a time t2 when a predetermined time (t2-t1) has elapsed since the start of accepting the first time frame.
  • the terminal device 1 starts accepting the third time frame at a time t3 when a predetermined time (t3-t2) has elapsed since the start of accepting the second time frame.
  • the terminal device 1 starts accepting the fourth time frame at time t4 when a predetermined time (t4-t3) has elapsed since the start of accepting the third time frame.
  • the terminal device 1 ends acceptance of the fourth time frame at a time t5 when a predetermined time (t5-t4) has elapsed since the start of acceptance of the fourth time frame.
  • IC cards 2A and 2B stand by until a request is received from terminal device 1.
  • the CPUs 25 of the IC cards 2A and 2B recognize the total number of time frames set in the terminal device 1.
  • the CPU 25 determines that the time t1 when a predetermined time (t1-t0) has elapsed from the time t0 when the last bit of the request is received is the start time of the first time frame.
  • the CPU 25 recognizes each successive time frame based on the start time t1 of the first time frame and the recognized total number of time frames. In other words, the CPU 25 recognizes each time frame by dividing every time width T from the time t1. Thereby, the CPU 25 recognizes the start times t1, t2, t3, and t4 of each time frame.
  • the CPU 25 assigns a number to each recognized time frame.
  • the CPU 25 generates a random number by the random number generation unit 30, and selects one time frame based on the generated random number. For example, the CPU 25 converts part or all of the generated random number into a number equal to or less than the total number of time frames set by the terminal device 1.
  • CPU25 selects the time frame provided with the number corresponding to the number converted from the random number.
  • the CPU 25 When the CPU 25 detects communication by another IC card 2 during monitoring, the CPU 25 adds 1 to K and monitors the next time frame. If it is determined that there is no response from the other IC card 2 during the monitoring time, the CPU 25 transmits a response to the terminal device 1 after the monitoring time ends.
  • the IC card 2B monitors during the time width 2p.
  • the IC card 2B confirms that there is no response from the other IC card 2A between the start time t2 of the second time frame and the time width 2p.
  • the IC card 2B performs control so that transmission of a response is started after the end of the monitoring time (time t2 + 2p).
  • FIG. 7 is a flowchart for explaining an example of the initial response process of the IC card 2 according to the second embodiment.
  • the IC card 2 stands by until a request is received from the terminal device 1 (step S31).
  • the CPU 25 of the IC card 2 confirms the total time frame number n set in the terminal device 1 (step S33).
  • the CPU 25 generates a random number by the random number generation unit 30 (step S34).
  • the CPU 25 selects one time frame m based on the random number generated by the random number generation unit 30 (step S35).
  • CPU 25 determines whether or not a response is transmitted from the other IC card 2 to the terminal device 1 during the predetermined time P (step S37).
  • step S37 when communication by another IC card 2 is detected during monitoring (step S37, YES), the CPU 25 adds 1 to K (step S38), and monitors the next time frame.
  • step S37 when communication by another IC card 2 is not detected during monitoring (step S37, NO), the CPU 25 transmits the response to the terminal device 1 after the monitoring time is over. Each part is controlled (step S39).
  • the IC card 2 when receiving the initial response request command, the IC card 2 according to the present embodiment recognizes the total number of time frames based on the command.
  • the IC card 2 selects a time frame based on a random number, and searches for a time frame that is prior to the selected time frame and that has not been selected by another IC card 2.
  • the IC card 2 transmits a response to the terminal device 1 in the time frame. Thereby, processing time can be shortened.
  • the CPU 25 of the IC card 2 performs control so that the monitoring time P in each time frame becomes shorter as the value of the time frame m selected first is smaller. Thereby, a collision can be prevented.
  • FIG. 8 is a diagram for explaining a configuration example of the IC card 2 according to the third embodiment.
  • the IC card 2 includes a card-like main body 21 and an IC module 22 built in the main body 21.
  • the IC module 22 includes a CPU 101, a ROM 102, a RAM 103, a nonvolatile memory 104, a resonance unit 105, a transmission unit 106, a reception unit 107, a power supply unit 108, and a logic unit 109.
  • the CPU 101 functions as a control unit that controls the entire IC card 2.
  • the CPU 101 performs various processes based on the control program and control data stored in the ROM 102 or the nonvolatile memory 104. For example, various processes are performed in accordance with commands received from the card reader / writer 14, and data such as responses as processing results is generated.
  • the ROM 102 is a non-volatile memory that stores a control program and control data in advance.
  • the ROM 102 is incorporated in the IC card 2 in a state where a control program, control data, and the like are stored at the manufacturing stage. That is, the control program and control data stored in the ROM 102 are incorporated according to the specifications of the IC card 2 in advance.
  • the RAM 103 is a volatile memory that functions as a working memory.
  • the RAM 103 temporarily stores data being processed by the CPU 101.
  • the RAM 103 temporarily stores data received from the terminal device 1 via the receiving unit 107.
  • the RAM 103 temporarily stores a program executed by the CPU 101.
  • the non-volatile memory 104 is configured by a non-volatile memory capable of writing and rewriting data, such as an EEPROM or a flash ROM.
  • the non-volatile memory 104 stores a control program and various data according to the usage application of the IC card 2.
  • a program file and a data file are created.
  • a control program and various data are written in each created file.
  • the CPU 101 can realize various processes by executing a program stored in the nonvolatile memory 104 or the ROM 102.
  • the transmission unit 106 and the reception unit 107 are interfaces for performing contactless communication with the card reader / writer 14 of the terminal device 1.
  • the transmission unit 106 performs encoding, modulation, and the like, and transmits data.
  • the receiving unit 107 performs demodulation and decoding after data reception.
  • the resonating unit 105 includes, for example, an antenna that performs non-contact communication with the card reader / writer 14 of the terminal device 1.
  • the resonance unit 105 includes a transmission / reception circuit that amplifies transmission / reception data, and a signal processing unit.
  • the power supply unit 108 receives radio waves from the card reader / writer 14 and generates an electromotive force and an operation clock.
  • the power supply unit 108 supplies the generated power and operation clock to each unit of the IC card 2.
  • Each part of the IC card 2 becomes operable when supplied with power.
  • the logic unit 109 realizes various functions such as computation and random number generation. For example, when an initial response request is received from the card reader / writer 14, the logic unit 109 generates a random number.
  • the IC card 2 performs different operations in response to the first initial response request in which the total number N of slots is 2 or more and in response to the initial response request in which the slot to be transmitted is specified thereafter.
  • FIG. 9 is a diagram for explaining the operation of the IC card 2 when responding to the first initial response request in which the total number N of slots is 2 or more.
  • FIG. 9 shows the operation of the card A when the total number N of slots designated by the terminal device 1 is 4.
  • the card A recognizes in the terminal device 1 that four slots “slot 0”, “slot 1”, “slot 2”, and “slot 3” have been set.
  • the IC card A generates a random number by the logic unit 109 and selects a value n indicating a slot corresponding to the generated value.
  • n 0
  • the card A checks whether it can respond to 0 as a slot, that is, the first initial response request. Therefore, after receiving the initial initial response request, the card A determines whether or not a response is transmitted by another IC card 2 in each slot.
  • slot order to be monitored is s, whether or not the IC card 2 makes an initial response for t ⁇ (ns) time after receiving a response request indicating each slot.
  • the card A can determine whether or not communication processing is being performed in another IC card 2 by detecting a change in the magnetic field with the antenna provided in the resonance unit 105.
  • the card A can respond to the initial initial response request. That is, the IC card A transmits a response to the terminal device 1 in the slot 0.
  • the card A recognizes that there is no initial response from another non-contact IC card until 3t time elapses, the card A makes an initial response after 3t time elapses.
  • the solid line arrow indicates that the card A returns a response to the first initial response request.
  • FIG. 10 is a diagram for explaining the operation of the IC card 2 when responding to the second and subsequent initial response requests in which the total number N of slots is specified to be 2 or more.
  • the card A recognizes that there is no response from another IC card 2 until 2t time elapses, the card A responds to the terminal device 1 in the slot 1.
  • card A designates slot 3 according to the first slot selection result. After receiving the response request from 1, it responds to the terminal device 1 without delay.
  • FIG. 11 is a flowchart showing the operation of the IC card 2 in response to an initial response request in which the total number N of slots is 2 or more.
  • step S41 the IC card 2 stands by until it receives an initial response request from the terminal device 1.
  • step S42 the total number of slots N is designated in the received initial response request from the terminal device 1.
  • step S43 the IC card 2 uses the logic unit 109 to generate a random number from the numbers from 0 to (N ⁇ 1), where N is the value specified in the initial response request. Select by.
  • each slot in this example is assigned a number from slot 0 to slot 3. Therefore, the IC card 2 will be described as a configuration in which n is selected from the numbers up to N ⁇ 1, but is not limited to this configuration. When numbers 1 to 4 are assigned to the slots, the IC card 2 selects n from the numbers up to N.
  • step S44 it is checked whether or not the selected number n is 0. In the case of Yes in step S44, that is, when n is 0, in step S45, the IC card 2 immediately responds. If No in step S44, that is, if n is not 0, the process proceeds to step S46.
  • step S46 after receiving the initial response request from the terminal device 1, the IC card 2 monitors whether there is a response from another IC card 2 until t ⁇ (ns) time elapses, where t is a predetermined time. To do.
  • the value of “s” corresponds to the slot number to be monitored.
  • step S47 the IC card 2 next determines the terminal device 1 Wait for reception of response request sent from.
  • the IC card When the IC card receives a response request indicating the next slot in step S47, the IC card adds 1 to s in step S48 and loops to step S46. That is, the IC card 2 shifts to a state in which the next slot is monitored. Here, the IC card 2 again determines whether or not there is a response from another IC card 2 within the monitoring time t ⁇ (ns).
  • step S46 determines that the terminal device 1 in step S49. Send a response to.
  • the IC card 2 receives the response request, and transmits a response to the terminal device 1 after elapse of t ⁇ (ns) time from the slot start time.
  • the IC card 2 can shorten the initial response communication time compared to the conventional slot marker system.
  • the terminal device 1 may transmit the initial initial response request to the IC card 2 again.
  • SYMBOLS 1 Terminal device, 2 ... IC card, 10 ... IC card processing system, 11 ... Control part, 12 ... Display, 13 ... Keyboard, 14 ... Card reader / writer, 15 ... Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • General Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)
  • Telephone Function (AREA)

Abstract

 携帯可能電子装置は、乱数を生成し、生成した乱数に応じたタイミングで応答を行う携帯可能電子装置であって、外部機器から初期応答要求を受信する受信部と、前記受信部により受信した初期応答要求に基づいて、前記外部機器において設定される総時間枠数を認識する認識部と、乱数を生成する乱数生成部と、他の携帯可能電子装置において行われる通信を検知する通信検知部と、前記認識部により認識した総時間枠数と前記乱数生成部により生成した乱数とに基づいて、前記通信検知部により1つの時間枠の監視を行い、前記通信検知部による検知結果に基づいて、前記初期応答要求に対するレスポンスを前記外部機器に送信するか否かを判定する判定部と、前記判定部による判定結果に基づいて、レスポンスを前記外部機器に送信する送信部と、を具備する。

Description

携帯可能電子装置、及び携帯可能電子装置の制御方法
 本発明は、例えば、コマンドを送受信することにより種々の処理を実現する携帯可能電子装置に関し、特により高速に初期応答要求に対するレスポンスを行うことのできる携帯可能電子装置、及び携帯可能電子装置の制御方法に関する。
 一般的に、携帯可能電子装置として用いられるICカードは、プラスチックなどで形成されたカード状の本体と本体に埋め込まれたICモジュールとを備えている。ICモジュールは、ICチップを有している。ICチップは、電源が無い状態でもデータを保持することができるEEPROM(Electrically Erasable Programmable Read-Only Memory)またはフラッシュROMなどの不揮発性メモリと、種々の演算を実行するCPUとを有している。
 ICカードは、携帯性に優れ、且つ、外部装置との通信及び複雑な演算処理を行う事ができる。また、偽造が難しい為、ICカードは、機密性の高い情報などを格納してセキュリティシステム、電子商取引などに用いられることが想定される。
 また、近年、非接触通信によりデータの送受信を行うことができるICカードが一般的に普及している。上記したような非接触ICカードは、ICチップとアンテナとを備えている。この非接触ICカードは、ICカードを処理するICカード処理装置のリーダライタから発せられる磁界を受けて、カード内のアンテナを電磁誘導により起電させることにより動作する。
 ところで、通信可能範囲内に複数枚のICカードが存在する場合、初期応答において端末装置がこれらの複数のICカードを正しく識別できない状態「コリジョン」が発生し得る。このコリジョンを防止して、複数枚のICカードを正しく識別するために、端末装置は、例えば、タイムスロット方式、スロットマーカ方式、または他の方式によりアンチコリジョンの処理を行うことができる。
 タイムスロット方式によりアンチコリジョン処理を行う場合、ICカード処理装置は、複数の時間枠を設定し、ICカードに対して初期応答要求を送信する。ICカードは、乱数を生成し、乱数に応じて時間枠を選択し、選択した時間枠において自身が記憶するカードIDをレスポンスとしてICカード処理装置に送信する。ICカード処理装置は、受信したカードIDに基づいて処理を実行させるICカードを選択する。
 しかし、例えば、複数枚のICカードが同じ時間枠を選択する場合、ICカード処理装置は、カードIDを正常に受信することができない。例えば、特許文献1には、選択した時間枠において他のICカードのレスポンスの有無を認識し、他のICカードのレスポンスを確認した場合、選択した時間枠以降の時間枠においてレスポンスを送信する技術が開示されている。
 また、スロットマーカ方式によりアンチコリジョン処理を行う場合、ICカード処理装置は、スロット(時間枠)の総数Nを含む初期応答要求を複数のICカードに送信する。それぞれのICカードは、例えば、0から(N-1)までのN個の整数のうちのn(整数)をロジック回路で生成する。生成したnが0である場合、ICカードは、直ちに初期応答レスポンスを返信する。生成したnが0でない場合、ICカードは、直ちに初期応答レスポンスを返信せずに、その後、端末装置から、非接触ICカードが生成したnと同じスロットを指定したスロットマーカコマンドを受信したときに、初期応答レスポンスを返信する。
ISO/IEC(International Organization For Standardization/International Electro technical Commission)14443
特許4134143号公報 特許3553763号公報
 上記のタイムスロット方式により処理を行う場合、ICカード処理装置により設定される時間枠の時間は固定である。この為、例えば、ICカードが選択した時間枠より前に、ICカードにより選択されていない時間枠が存在する場合、通信時間に無駄が生じるという問題がある。
 また、上記の特許文献に記載の携帯可能電子装置は、選択した時間枠において他のICカードからレスポンスがある場合、選択した時間枠より後の時間枠を選択する。この為、全体の処理時間が長くなるという問題がある。
 またさらに、上述のように、従来の衝突防止処理におけるスロットマーカ方式では、ICカードは、選択した値と同じスロットを指定した外部端末からのコマンドを受信したときに初期応答レスポンスを返信する。このため、他の非接触カードからの応答がないスロットであっても、非接触ICカードは応答せずに待機しなければならず、全体の処理時間が長くなるという問題がある。
 そこで、より高速に処理を行う事ができる携帯可能電子装置、及び携帯可能電子装置の制御方法を提供することを目的とする。
 一実施形態に係る携帯可能電子装置は、乱数を生成し、生成した乱数に応じたタイミングで応答を行う携帯可能電子装置であって、外部機器から初期応答要求を受信する受信部と、前記受信部により受信した初期応答要求に基づいて、前記外部機器において設定される総時間枠数を認識する認識部と、乱数を生成する乱数生成部と、他の携帯可能電子装置において行われる通信を検知する通信検知部と、前記認識部により認識した総時間枠数と前記乱数生成部により生成した乱数とに基づいて、前記通信検知部により1つの時間枠の監視を行い、前記通信検知部によりの検知結果に基づいて、前記初期応答要求に対するレスポンスを前記外部機器に送信するか否かを判定する判定部と、前記判定部による判定結果に基づいて、レスポンスを前記外部機器に送信する送信部と、を具備する。
図1は、一実施形態に係る携帯可能電子装置の処理システムの構成の例について説明するための説明図である。 図2は、図1に示す端末装置の構成例について説明するための説明図である。 図3は、図1に示すICカードの構成例について説明するための説明図である。 図4は、第1の実施形態に係るICカードの処理の例を概略的に説明するための説明図である。 図5は、第1の実施形態に係るICカードの処理の例を説明するためのフローチャートである。 図6は、第2の実施形態に係るICカードの処理の他の例を概略的に説明するための説明図である。 図7は、第2の実施形態に係るICカードの処理の他の例を説明するためのフローチャートである。 図8は、図1に示すICカードの他の構成例について説明するための説明図である。 図9は、スロットの総数Nが2以上を指定した最初の初期応答要求に応答する場合のICカード2の動作を説明する図。 図10は、スロットの総数Nが2以上を指定した2回目以降の初期応答要求に応答する場合のICカード2の動作を説明する図。 図11は、スロットの総数Nが2以上を指定した初期応答要求に応答する場合のICカード2の動作を示すフローチャート。
 以下、図面を参照しながら、第1の実施形態に係る携帯可能電子装置、及び携帯可能電子装置の制御方法について詳細に説明する。
 図1は、第1の実施形態に係るICカード処理システム10の構成例について説明するための説明図である。 
 図1に示すようにICカード処理システム10は、携帯可能電子装置の処理装置(端末装置)1と携帯可能電子装置(ICカード)2とを備えている。端末装置1とICカード2とは、無線通信により互いに種々のデータの送受信を行う。
 図2は、図1に示す端末装置の構成例について説明するための説明図である。図2に示すように、端末装置1は、制御部11、ディスプレイ12、キーボード13、カードリーダライタ14、及び記憶部15などを有している。
 制御部11は、CPU、ROM、及びRAMなどを備える。制御部11は、端末装置1全体の動作を制御する。 
 ディスプレイ12は、制御部11の制御により種々の情報を表示する。キーボード13は、端末装置1の操作者による操作を操作信号として受け取る。
 カードリーダライタ14は、ICカード2と通信を行うためのインターフェース装置である。カードリーダライタ14は、ICカード2に対して、電源供給、クロック供給、リセット制御、及びデータの送受信を行う。即ち、カードリーダライタ14は、送受信部として機能する。記憶部15は、制御部11が実行する動作のプログラム、及びデータなどを記憶する。
 制御部11は、カードリーダライタ14を介してICカード2に対して種々のコマンドを入力する。ICカード2は、例えば、カードリーダライタ14からデータの書き込みコマンドを受信した場合、受信したデータを内部の不揮発性メモリに書き込む処理を行う。
 また、制御部11は、ICカード2に読み取りコマンドを送信することにより、ICカード2からデータを読み出す。制御部11は、ICカード2から受信したデータに基づいて種々の処理を行う。
 上記のカードリーダライタ14は、無線通信によりICカード2とデータの送受信を行う。この為に、カードリーダライタ14は、図示しない信号処理部、送受信回路、及びアンテナなどを備えている。
 信号処理部は、ICカード2との間で送受信するデータの符号化、復号、変調、及び復調を行なう。送受信回路は、信号処理部により変調されたデータ、及び、アンテナにより受信したデータを増幅する。
 アンテナは、送信するデータに応じて磁界を発生させることにより、ICカード2に対してデータを送信する。また、アンテナは、電磁誘導により発生した誘導電流に基づいてICカード2から送信されるデータを認識する。
 ICカード2が、アンテナによる磁界の変化を認識することができる範囲が通信可能範囲となる。カードリーダライタ14は、この通信可能範囲内に存在するICカード2を検知し、処理を行う。
 制御部11は、カードリーダライタ14によりICカード2に初期応答要求(初期応答要求コマンド)を送信することにより、ICカード2との通信に関する設定を行う。ICカード2の検知を行なう為に、カードリーダライタ14は、初期応答要求コマンドを繰り返し通信可能範囲に送信する。
 通信可能範囲にICカード2が存在する場合、ICカード2からの起動コマンドに対する返答がカードリーダライタ14に返る。これにより、カードリーダライタ14は、ICカード2を検知する。ここで、カードリーダライタ14は、所望のICカード2を選択するための選択コマンドを送信する。これにより、カードリーダライタ14とICカード2との間で通信を行う事ができる。
 図3は、図1に示すICカード2の構成例について説明するためのブロック図である。 
 図3に示すように、ICカード2は、カード状の本体21と、本体21内に内蔵されたICモジュール22とを備えている。ICモジュール22は、1つ又は複数のICチップ23と、通信部24とを備える。ICチップ23と通信部24とは、互いに接続された状態でICモジュール22に形成されている。
 ICチップ23は、通信部24、CPU25、ROM26、RAM27、不揮発性メモリ28、電源部29、及び乱数生成部30などを備えている。
 通信部24は、端末装置1のカードリーダライタ14と非接触通信を行うためのインターフェースである。通信部24は、送信部、及び受信部として機能する。 
 また、通信部24は、例えば、端末装置1のカードリーダライタ14と非接触通信を行うアンテナを備える。またさらに、通信部24は、送受信データの増幅を行う送受信回路、及び信号処理部を備える。
 CPU25は、ICカード2全体の制御を司る制御部として機能する。また、CPU25は、種々の判定を行う判定部として機能する。CPU25は、ROM26あるいは不揮発性メモリ28に記憶されている制御プログラム及び制御データに基づいて種々の処理を行う。例えば、カードリーダライタ14から受信したコマンドに応じて種々の処理を行い、処理結果としてのレスポンスなどのデータの生成を行なう。
 ROM26は、予め制御用のプログラム及び制御データなどを記憶する不揮発性のメモリである。ROM26は、製造段階で制御プログラム及び制御データなどを記憶した状態でICカード2内に組み込まれる。即ち、ROM26に記憶される制御プログラム及び制御データは、予めICカード2の仕様に応じて組み込まれる。
 RAM27は、ワーキングメモリとして機能する揮発性のメモリである。RAM27は、CPU25の処理中のデータなどを一時的に格納する。例えば、RAM27は、通信部24を介して端末装置1から受信したデータを一時的に格納する。また、RAM27は、CPU25が実行するプログラムを一時的に格納する。
 不揮発性メモリ28は、例えば、EEPROMあるいはフラッシュROMなどのデータの書き込み及び書換えが可能な不揮発性のメモリにより構成される。不揮発性メモリ28は、ICカード2の運用用途に応じて制御プログラム及び種々のデータを格納する。
 たとえば、不揮発性メモリ28では、プログラムファイル及びデータファイルなどが創成される。創成された各ファイルには、制御プログラム及び種々のデータなどが書き込まれる。CPU25は、不揮発性メモリ28、または、ROM26に記憶されているプログラムを実行することにより、種々の処理を実現することができる。
 電源部29は、カードリーダライタ14から電波を受信し、起電力及び動作クロックを発生させる。電源部29は、発生させた電力及び動作クロックをICカード2の各部に電力を供給する。ICカード2の各部は、電力の供給を受けた場合、動作可能な状態になる。
 乱数生成部30は、乱数を生成する。例えば、CPU25は、カードリーダライタ14から初期応答要求コマンドを受信する場合、乱数生成部30により乱数を生成する。
 カードリーダライタ14から送信される初期応答要求コマンドは、通信方式、及び速度などを決定するための複数のパラメータを有する。このパラメータの中に、カードリーダライタ14が初期応答要求コマンドに対するレスポンスを受け付ける時間枠の数(総時間枠数n)を示す情報が含まれる。
 即ち、端末装置1の制御部11は、複数の時間枠を設定し、総時間枠数を示す情報を有する初期応答要求コマンドをICカード2に対してカードリーダライタ14により送信する。
 ICカード2のCPU25は、初期応答要求コマンドを受信する場合、初期応答要求コマンドを参照し、カードリーダライタ14において設定される総時間枠数を認識する。即ち、CPU25は、認識部として機能する。CPU25は、乱数生成部30により乱数を生成し、生成される乱数に基づいて、1つの時間枠を選択する。即ち、CPU25は、時間枠選択部として機能する。ICカード2のCPU25は、選択した時間枠に基づいて、初期応答要求コマンドに対する初期応答処理を行う。
 また、ICカード2は、カードリーダライタ14にデータを送信する場合、送信するデータに応じた磁界を通信部24により発生させる。ICカード2は、通信部24により磁界を監視することにより、他のICカード2において通信処理が行われているか否かを判断することができる。
 例えば、カードリーダライタ14からデータを受信していない状態で、通信部24により磁界の変化を検知する場合、ICカード2のCPU25は、他のICカード2において通信処理が行われていると判断する。即ち、通信部24及びCPU25は、通信検知部として機能する。
 次に、第1の実施形態に係る初期応答処理について説明する。 
 図4は、第1の実施形態に係るICカード2の初期応答処理の例について概略的に説明するための説明図である。なお、ここでは、端末装置1が総時間枠数を4に設定したと仮定して説明する。また、端末装置1の通信可能範囲に存在するICカード2は、ICカード2AとICカード2Bの2枚であると仮定して説明する。
 端末装置1は、総時間枠数を設定し、あるタイミングにおいて、カードリーダライタ14から初期応答要求コマンド(リクエスト)を送信する。
 端末装置1は、リクエストの最終ビットを送信した時間t0から所定時間(t1-t0)経過した時間t1において、第1の時間枠の受け付けを開始する。
 また、端末装置1は、第1の時間枠の受け付けを開始してから所定時間(t2-t1)経過した時間t2において、第2の時間枠の受け付けを開始する。
 さらに、端末装置1は、第2の時間枠の受け付けを開始してから所定時間(t3-t2)経過した時間t3において、第3の時間枠の受け付けを開始する。
 またさらに、端末装置1は、第3の時間枠の受け付けを開始してから所定時間(t4-t3)経過した時間t4において、第4の時間枠の受け付けを開始する。
 端末装置1は、第4の時間枠の受け付けを開始してから所定時間(t5-t4)経過した時間t5において、第4の時間枠の受け付けを終了する。
 なお、端末装置1により設定される各時間枠の時間幅は、全て同じ長さTである。即ち、t2-t1=t3-t2=t4-t3=t5-t4=T の関係が成り立つ。
 ICカード2A及び2Bは、端末装置1からリクエストを受信するまで待機する。リクエストを受信する場合、ICカード2A及び2BのCPU25は、端末装置1において設定される総時間枠数を認識する。
 CPU25は、リクエストの最終ビットを受信した時間t0から所定時間(t1-t0)経過した時間t1を最初の時間枠の開始時間であると判断する。CPU25は、最初の時間枠の開始時間t1と、認識した総時間枠数とに基づいて、連続する各時間枠を認識する。即ち、CPU25は、時間t1から時間幅T毎に区切り、各時間枠を認識する。これにより、CPU25は、各時間枠の開始時間t1、t2、t3、及びt4を認識する。
 さらに、CPU25は、認識した各時間枠に番号を付与する。CPU25は、乱数生成部30により乱数を生成し、生成される乱数に基づいて、1つの時間枠を選択する。例えば、CPU25は、生成される乱数の一部または全体を、端末装置1により設定される総時間枠数以下の数字に変換する。CPU25は、乱数から変換した数字に対応する番号が付与される時間枠を選択する。
 本実施形態では、CPU25は、乱数から選択した時間枠mと総時間枠数nとに基づいて、レスポンスを送信する時間枠を決定する。
 CPU25は、まず、m>n/2を満たすか否か判断する。m>n/2を満たす場合、CPU25は、n-m+1の時間枠を再選択する。CPU25は、再選択した時間枠においてレスポンスを送信するように、再選択した時間枠n-m+1を監視する。
 CPU25は、n-m+1の時間枠の開始時間から所定の時間幅p以内に、他のICカード2から端末装置1に対してレスポンスが送信されるか否か判断する。即ち、CPU25は、n-m+1の開始時間から通信部24により磁界を監視し、時間幅p以内に所定以上の磁界の変化があるか否か判断する。
 他のICカード2からのレスポンスが無いと判断した場合、CPU25は、端末装置1に対してレスポンスを送信する。また、他のICカード2からのレスポンスが有ると判断した場合、CPU25は、最初に選択した時間枠mにおいて、端末装置1に対してレスポンスを送信する。
 また、CPU25が最初に選択した時間枠mがm>n/2を満たさない場合、CPU25は、最初に選択した時間枠mにおいて、端末装置1に対してレスポンスを送信する。
 図4では、総時間枠数n=4であり、ICカード2Aが第2の時間枠を選択し、ICカード2Bが第4の時間枠を選択する例について示す。
 ICカード2Aは、m=2である為、m>n/4の関係を満たさない。この為、ICカード2Aは、第2の時間枠の開始時間である時間t2からレスポンスの送信を開始するように制御する。
 また、ICカード2Bは、m=4である為、m>n/2の関係を満たす。この為、ICカード2Bは、n-m+1=1に対応する時間枠を再選択する。即ち、ICカード2Bは、第1の時間枠を再選択する。この場合、ICカード2Bは、第1の時間枠の開始時間である時間t1から所定時間p後の時間t1+pからレスポンスの送信を開始するように制御する。
 図5は、第1の実施形態に係るICカード2の初期応答処理の例について説明するためのフローチャートである。
 ICカード2は、端末装置1からリクエストを受信するまで待機する(ステップS11)。リクエストを受信する場合(ステップS12)、ICカード2のCPU25は、端末装置1において設定される総時間枠数nを確認する(ステップS13)。
 CPU25は、乱数生成部30により乱数を生成する(ステップS14)。CPU25は、乱数生成部30により生成される乱数に基づいて、1つの時間枠mを選択する(ステップS15)。
 CPU25は、選択した時間枠mと総時間枠数nとが、m>n/2の関係を満たすか否か判断する(ステップS16)。
 選択した時間枠mと総時間枠数nとが、m>n/2の関係を満たす場合(ステップS16、YES)、CPU25は、n-m+1の時間枠を再選択する(ステップS17)。CPU25は、再選択した時間枠n-m+1を監視する(ステップS18)。
 CPU25は、n-m+1の時間枠の開始時間から所定の時間幅p以内に、他のICカード2から端末装置1に対してレスポンスが送信されるか否か判断する(ステップS19)。
 他のICカード2からのレスポンスが無いと判断した場合(ステップS19、NO)、CPU25は、端末装置1に対してレスポンスを送信する(ステップS20)。即ち、CPU25は、再選択した時間枠においてレスポンスを端末装置1に送信するようにICカード2の各部を制御する。
 また、ステップS16において、選択した時間枠mと総時間枠数nとが、m>n/2の関係を満たさない場合(ステップS16、NO)、または、ステップS19において、他のICカード2からのレスポンスが有ると判断した場合(ステップS19、YES)、CPU25は、最初に選択した時間枠mにおいて、レスポンスを端末装置1に送信するようにICカード2の各部を制御する(ステップS21)。
 上記したように、本実施形態に係るICカード2は、初期応答要求コマンドを受信した場合、コマンドに基づいて総時間枠数を認識する。ICカード2は、乱数に基づいて時間枠を選択し、選択した時間枠より前の所定の時間枠を再選択する。ICカード2は、再選択した時間枠が他のICカード2により選択されているか否か判断し、選択されていない場合、当該時間枠において端末装置1に対してレスポンスを送信する。これにより、処理時間を短縮することができる。
 また、再選択した時間枠が他のICカード2により選択されている場合、ICカード2は、最初に選択した時間枠において端末装置1に対してレスポンスを送信する。これにより、コリジョンを防ぐことができる。
 この結果、より高速に処理を行う事ができる携帯可能電子装置、及び携帯可能電子装置の制御方法を提供することができる。
 次に、第2の実施形態に係る初期応答処理について説明する。 
 図6は、第2の実施形態に係るICカード2の初期応答処理の例について概略的に説明するための説明図である。なお、ここでは、端末装置1が総時間枠数を4に設定したと仮定して説明する。また、端末装置1の通信可能範囲に存在するICカード2は、ICカード2AとICカード2Bの2枚であると仮定して説明する。
 端末装置1は、総時間枠数を設定し、あるタイミングにおいて、カードリーダライタ14から初期応答要求コマンド(リクエスト)を送信する。
 端末装置1は、リクエストの最終ビットを送信した時間t0から所定時間(t1-t0)経過した時間t1において、第1の時間枠の受け付けを開始する。
 また、端末装置1は、第1の時間枠の受け付けを開始してから所定時間(t2-t1)経過した時間t2において、第2の時間枠の受け付けを開始する。
 さらに、端末装置1は、第2の時間枠の受け付けを開始してから所定時間(t3-t2)経過した時間t3において、第3の時間枠の受け付けを開始する。
 またさらに、端末装置1は、第3の時間枠の受け付けを開始してから所定時間(t4-t3)経過した時間t4において、第4の時間枠の受け付けを開始する。
 端末装置1は、第4の時間枠の受け付けを開始してから所定時間(t5-t4)経過した時間t5において、第4の時間枠の受け付けを終了する。
 なお、端末装置1により設定される各時間枠の時間幅は、全て同じ長さTである。即ち、t2-t1=t3-t2=t4-t3=t5-t4=T の関係が成り立つ。
 ICカード2A及び2Bは、端末装置1からリクエストを受信するまで待機する。リクエストを受信する場合、ICカード2A及び2BのCPU25は、端末装置1において設定される総時間枠数を認識する。
 CPU25は、リクエストの最終ビットを受信した時間t0から所定時間(t1-t0)経過した時間t1を最初の時間枠の開始時間であると判断する。CPU25は、最初の時間枠の開始時間t1と、認識した総時間枠数とに基づいて、連続する各時間枠を認識する。即ち、CPU25は、時間t1から時間幅T毎に区切り、各時間枠を認識する。これにより、CPU25は、各時間枠の開始時間t1、t2、t3、及びt4を認識する。
 さらに、CPU25は、認識した各時間枠に番号を付与する。CPU25は、乱数生成部30により乱数を生成し、生成される乱数に基づいて、1つの時間枠を選択する。例えば、CPU25は、生成される乱数の一部または全体を、端末装置1により設定される総時間枠数以下の数字に変換する。CPU25は、乱数から変換した数字に対応する番号が付与される時間枠を選択する。
 CPU25は、乱数に基づいて選択した時間枠mより前の時間枠Kを監視する。例えば、CPU25は、時間枠K(K=1)から順に監視を行う。なお、CPU25は、時間枠K≦mの範囲で監視を行う。また、時間枠Kの初期値は、予め設定され、例えばROM26などに記憶される。
 また、CPU25は、各時間枠において所定時間Pの間監視を行う。例えば、他のICカードにより通信が行われているか否かをCPU25が判断する為に必要な時間をpとすると、CPU25は、所定時間P=p・(m-K)の間、各時間枠において監視を行う。
 CPU25は、監視中に他のICカード2による通信を検知した場合、Kに1を加算し、次の時間枠の監視を行う。監視時間中に、他のICカード2からのレスポンスが無いと判断した場合、CPU25は、端末装置1に対して監視時間終了後にレスポンスを送信する。
 図6では、総時間枠数n=4であり、ICカード2Aが第2の時間枠を選択し、ICカード2Bが第4の時間枠を選択する例について示す。
 ICカード2Aは、まず第1の時間枠の監視を行う。この場合、K=1、m=2である為、ICカード2Aは、時間幅pの間監視を行う。ICカード2Aは、第1の時間枠の開始時間t1から時間幅pの間に他のICカード2Bからのレスポンスが無いことを確認する。ICカード2Aは、監視時間終了後(時間t1+p)にレスポンスの送信を開始するように制御する。
 また、ICカード2Bは、まず第1の時間枠の監視を行う。この場合、K=1、m=4である為、ICカード2Bは、時間幅3pの間監視を行う。ICカード2Bは、時間t1+pにおいてICカード2Aからレスポンスが端末装置1に送信されることを検知する。この為、ICカード2Bは、次の時間枠(第2の時間枠)の監視に移行する。
 この場合、K=2、m=4である為、ICカード2Bは、時間幅2pの間監視を行う。ICカード2Bは、第2の時間枠の開始時間t2から時間幅2pの間に他のICカード2Aからのレスポンスが無いことを確認する。ICカード2Bは、監視時間終了後(時間t2+2p)にレスポンスの送信を開始するように制御する。
 図7は、第2の実施形態に係るICカード2の初期応答処理の例について説明するためのフローチャートである。
 ICカード2は、端末装置1からリクエストを受信するまで待機する(ステップS31)。リクエストを受信する場合(ステップS32)、ICカード2のCPU25は、端末装置1において設定される総時間枠数nを確認する(ステップS33)。
 CPU25は、乱数生成部30により乱数を生成する(ステップS34)。CPU25は、乱数生成部30により生成される乱数に基づいて、1つの時間枠mを選択する(ステップS35)。
 CPU25は、乱数に基づいて選択した時間枠mより前の時間枠Kを監視する(ステップS36)。この場合、CPU25は、時間枠Kにおいて所定時間P=p・(m-K)の間監視を行う。
 CPU25は、所定時間P中に、他のICカード2から端末装置1に対してレスポンスが送信されるか否か判断する(ステップS37)。
 ステップS37において、監視中に他のICカード2による通信を検知した場合(ステップS37、YES)、CPU25は、Kに1を加算し(ステップS38)、次の時間枠の監視を行う。
 また、ステップS37において、監視中に他のICカード2による通信を検知しなかった場合(ステップS37、NO)、CPU25は、監視時間終了後にレスポンスを端末装置1に送信するようにICカード2の各部を制御する(ステップS39)。
 上記したように、本実施形態に係るICカード2は、初期応答要求コマンドを受信した場合、コマンドに基づいて総時間枠数を認識する。ICカード2は、乱数に基づいて時間枠を選択し、選択した時間枠より前の時間枠であって、他のICカード2により選択されていない時間枠を検索する。他のICカード2により選択されていない時間枠を検出した場合、ICカード2は、当該時間枠において端末装置1に対してレスポンスを送信する。これにより、処理時間を短縮することができる。
 また、ICカード2のCPU25は、最初に選択した時間枠mの値が小さい程、各時間枠における監視時間Pが短くなるように制御する。これにより、コリジョンを防ぐことができる。
 この結果、より高速に処理を行う事ができる携帯可能電子装置、及び携帯可能電子装置の制御方法を提供することができる。
 次に、図面を参照しながら、第3の実施形態に係る携帯可能電子装置について詳細に説明する。
 図8は、第3の実施形態に係るICカード2の構成例について説明するための図である。 
 ICカード2は、カード状の本体21と、本体21内に内蔵されたICモジュール22とを備えている。そしてICモジュール22には、CPU101、ROM102、RAM103、不揮発性メモリ104、共振部105、送信部106、受信部107、電源部108及びロジック部109が設けられている。
 CPU101は、ICカード2全体の制御を司る制御部として機能する。CPU101は、ROM102あるいは不揮発性メモリ104に記憶されている制御プログラム及び制御データに基づいて種々の処理を行う。例えば、カードリーダライタ14から受信したコマンドに応じて種々の処理を行い、処理結果としてのレスポンスなどのデータの生成を行なう。
 ROM102は、予め制御用のプログラム及び制御データなどを記憶する不揮発性のメモリである。ROM102は、製造段階で制御プログラム及び制御データなどを記憶した状態でICカード2内に組み込まれる。即ち、ROM102に記憶される制御プログラム及び制御データは、予めICカード2の仕様に応じて組み込まれる。
 RAM103は、ワーキングメモリとして機能する揮発性のメモリである。RAM103は、CPU101の処理中のデータなどを一時的に格納する。例えば、RAM103は、受信部107を介して端末装置1から受信したデータを一時的に格納する。また、RAM103は、CPU101が実行するプログラムを一時的に格納する。
 不揮発性メモリ104は、例えば、EEPROMあるいはフラッシュROMなどのデータの書き込み及び書換えが可能な不揮発性のメモリにより構成される。不揮発性メモリ104は、ICカード2の運用用途に応じて制御プログラム及び種々のデータを格納する。
 たとえば、不揮発性メモリ104では、プログラムファイル及びデータファイルなどが創成される。創成された各ファイルには、制御プログラム及び種々のデータなどが書き込まれる。CPU101は、不揮発性メモリ104、または、ROM102に記憶されているプログラムを実行することにより、種々の処理を実現することができる。
 送信部106、受信部107は、端末装置1のカードリーダライタ14と非接触通信を行うためのインターフェースである。送信部106は、符号化、及び変調などを行い、データを送信する。受信部107は、データ受信後、復調及び復号化を行う。 
 共振部105は、例えば、端末装置1のカードリーダライタ14と非接触通信を行うアンテナを備える。さらに、共振部105は、送受信データの増幅を行う送受信回路、及び信号処理部を備える。
 電源部108は、カードリーダライタ14から電波を受信し、起電力及び動作クロックを発生させる。電源部108は、発生させた電力及び動作クロックをICカード2の各部に電力を供給する。ICカード2の各部は、電力の供給を受けた場合、動作可能な状態になる。
 ロジック部109は、演算、乱数生成など各種機能を実現する。例えば、カードリーダライタ14から初期応答要求を受信した場合、ロジック部109は乱数を生成する。
 続いて、本実施の形態におけるICカード2の動作を説明する。 
 ICカード2は、スロットの総数Nが2以上を指定した最初の初期応答要求に応答する場合と、その後に送信されるスロットを指定した初期応答要求に応答する場合とで異なる動作を実行する。
 図9は、スロットの総数Nが2以上を指定した最初の初期応答要求に応答する場合のICカード2の動作を説明する図である。図9では、端末装置1から指定されたスロットの総数N=4の場合におけるカードAの動作を示している。
 この場合、カードAは、端末装置1において、「スロット0」、「スロット1」、「スロット2」、及び「スロット3」4つのスロットが設定されたことを認識する。ICカードAは、ロジック部109により乱数を生成し、生成した値に対応するスロットを示す値nを選択する。この場合、「スロット0」とn=0、「スロット1」とn=1、「スロット2」とn=2、及び「スロット3」とn=3がそれぞれ対応する。
 図9に示す例によると、ICカードAは、端末装置1からの最初の初期応答要求受信後、生成した乱数に基づいてn=3を選択している。従って、本来であれば、図9で点線の矢印に示すようにカードAは、スロットとして3を指定したスロットマーカコマンドを受信したときに応答することになる。
 しかし、カードAは、スロットとして0、即ち、最初の初期応答要求に対して応答できるかどうかを調べる。そこで、カードAは最初の初期応答要求受信後、各スロットにおいて他のICカード2によりレスポンスが送信されたか否かを判断する。
 例えば、監視するスロットの順番をsとする場合、ICカード2は、各スロットを示す応答要求受信後、t×(n-s)時間の間、他のICカード2が初期応答を行うかどうかを監視する。この場合、「スロット0」とs=0、「スロット1」とs=1、「スロット2」とs=2、及び「スロット3」とs=3がそれぞれ対応する。
 図9に示す例によると、ICカード2は、n=3を選択しており、スロット0(s=0)を監視する。この場合、ICカード2は、スロット0を示す応答要求受信後、t×(n-s)=3t時間の間、他のICカード2が初期応答を行うかどうかを監視する。
 なお、カードAは、共振部105が備えるアンテナによって磁界の変化を検知することにより、他のICカード2において通信処理が行われているかどうかを判断することができる。
 もし、この3t時間の間に他のICカード2が応答を行っていることがわかれば、スロット0乃至スロット2を選択した他のICカード2が存在していることになる。一方、この3t時間の間に他のICカード2が応答を行っていなければ、カードAが一番小さいnを選択したことになる。この場合、ICカードAは、最初の初期応答要求に対して応答できる。即ち、ICカードAは、スロット0において端末装置1にレスポンスを送信する。
 そこで、カードAは3t時間が経過するまで他の非接触ICカードからの初期応答がないことを認識したときは、3t時間経過後、初期応答する。図9では、実線の矢印でカードAが最初の初期応答要求に対して応答を返すことを示している。
 カードAは3t時間が経過するまでに他の非接触ICカードからの初期応答が行われたことを認識したときは、図10に示す動作を実行する。
 図10は、スロットの総数Nが2以上を指定した2回目以降の初期応答要求に応答する場合のICカード2の動作を説明する図である。図10では、端末装置1から指定されたスロットの総数N=4の場合において、カードAは図9に示すように数n(n=3)を選択し、カードBは数n(n=1)を選択したものとしている。
 図9において、カードAについて説明したように、カードBは、最初の初期応答要求受信後、スロット0においてt×(n-s)=t時間が終了するまで他のICカード2の応答を監視する。カードBは他のICカード2の応答がないことを認識し、t時間経過後に応答する。 
 カードAは、最初の初期応答要求受信後、スロット0においてt×(n-s)=3t時間の間、他のICカード2の応答を監視する。このとき、カードBからの応答があるため、カードAは他のICカード2の応答があったことを認識し、応答しない。
 その後、端末装置1よりスロット1(n=1)を選択した非接触ICカードに対する2回目以降の初期応答要求が指示される。カードAは、スロット1を示す2回目以降の応答要求を受信する場合、t×(n-s)=2t時間が経過するまで他のICカード2の応答を監視する。カードAは2t時間が経過するまで他のICカード2の応答がないことを認識する場合、スロット1において端末装置1に対して応答する。
 一方、2t時間が経過するまでに、スロット1について他のICカード2からの応答が行われたことを認識したときは、スロット2の監視を行う。即ち、カードAは、スロット2(n=2)を示す2回目以降の初期応答要求(この場合3回目)を受信する場合、t×(n-s)=t時間が経過するまで他のICカード2の応答を監視する。カードAはt時間が経過するまで他のICカード2の応答がないことを認識する場合、端末装置1に対して応答する。
 さらに、t時間が経過するまでに、スロット2について他のICカード2からの応答が行われたことを認識したときは、カードAは、最初のスロット選択結果に従って、スロット3を指定する端末装置1からの応答要求受信後、遅滞なく端末装置1に対して応答する。
 図11は、スロットの総数Nが2以上を指定した初期応答要求に応答する場合のICカード2の動作を示すフローチャートである。
 ステップS41において、ICカード2は端末装置1からの初期応答要求を受信するまで待機する。ステップS42において、受信した端末装置1からの初期応答要求には総スロット数Nが指定されている。ステップS43において、ICカード2は、初期応答要求で指定された値をNとして、0から(N-1)までの数の内、任意の数nをロジック部109を用いて乱数を生成することにより選択する。
 なお、この例における各スロットは、スロット0乃至スロット3という番号が付与されている。この為、ICカード2は、N-1までの数の内からnを選択する構成として説明するが、この構成に限定されるものではない。各スロットにスロット1乃至スロット4という番号が付与されている場合、ICカード2は、Nまでの数の内からnを選択する。
 ステップS44において、選択した数nが0かどうかを調べる。ステップS44でYesの場合、即ち、nが0のときは、ステップS45において、ICカード2は、直ちに応答する。ステップS44でNoの場合、即ち、nが0でないときは、ステップS46に進む。
 ステップS46において、ICカード2は端末装置1からの初期応答要求受信後、一定時間をtとして、t×(n-s)時間が経過するまで他のICカード2の応答があるかどうかを監視する。なお、「s」の値は、監視するスロットの番号に対応する。 
 ステップS46でYESの場合、即ち、監視時間t×(n-s)内に他のICカード2からの応答があることを認識した場合、ステップS47において、ICカード2は、次に端末装置1から送信される応答要求の受信を待つ。
 ICカードは、ステップS47で次のスロットを示す応答要求を受信する場合、ステップS48で、sに1を加算し、ステップS46にループする。即ち、ICカード2は、次のスロットを監視する状態に移行する。ここで、ICカード2は、再び、監視時間t×(n-s)内に他のICカード2からの応答があるか否かを判断する。
 一方、ステップS46でNOの場合、即ち、監視時間t×(n-s)内に他のICカード2からの応答がないことを認識した場合、ICカード2は、ステップS49で、端末装置1に対してレスポンスを送信する。即ち、ICカード2は、応答要求を受信し、スロットの開始時間からt×(n-s)時間経過後に端末装置1に対してレスポンスを送信する。
 なお、上記した実施形態では、ICカード2は、n=0である場合に即座に端末装置1に対してレスポンスを送信するように判断する構成として説明したが、この構成に限定されない。ICカード2は、n=0である場合、ステップS46に移行しt・(n-s)時間監視を行う構成であってもよい。この場合、t・(n-s)=0・tとなる為、ICカード2は、スロット0の時間枠の開始時間の先頭から、端末装置1に対してレスポンスを送信する処理を行う。
 以上説明したように、各実施の形態では、選択した数nよりも小さい数mを選択したICカード2への初期応答要求受信時においても、他のICカード2からの応答の有無を監視し、その結果に従って応答動作を行う。このため、ICカード2は、従来のスロットマーカ方式に比べ、初期応答通信時間の短縮化を図ることができる。
 なお、上述の応答動作においてコリジョンが発生したときは、端末装置1が最初の初期応答要求をICカード2に対して再度送信すれば良い。
 なお、上述の各実施の形態で説明した機能は、ハードウエアを用いて構成するに留まらず、ソフトウエアを用いて各機能を記載したプログラムをコンピュータに読み込ませて実現することもできる。また、各機能は、適宜ソフトウエア、ハードウエアのいずれかを選択して構成するものであっても良い。
 本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
 一実施形態によれば、高速に処理を行う事ができる携帯可能電子装置、及び携帯可能電子装置の制御方法を提供することができる。
 1…端末装置、2…ICカード、10…ICカード処理システム、11…制御部、12…ディスプレイ、13…キーボード、14…カードリーダライタ、15…記憶部、21…本体、22…ICモジュール、23…ICチップ、24…通信部、25…CPU、26…ROM、27…RAM、28…不揮発性メモリ、29…電源部、30…乱数生成部、101…CPU、102…ROM、103…RAM、104…不揮発性メモリ、105…共振部、106…送信部、107…受信部、108…電源部、109…ロジック部。

Claims (15)

  1.  乱数を生成し、生成した乱数に応じたタイミングで応答を行う携帯可能電子装置であって、
     外部機器から初期応答要求を受信する受信部と、
     前記受信部により受信した初期応答要求に基づいて、前記外部機器において設定される総時間枠数を認識する認識部と、
     乱数を生成する乱数生成部と、
     他の携帯可能電子装置において行われる通信を検知する通信検知部と、
     前記認識部により認識した総時間枠数と前記乱数生成部により生成した乱数とに基づいて、前記通信検知部により1つの時間枠の監視を行い、前記通信検知部によりの検知結果に基づいて、前記初期応答要求に対するレスポンスを前記外部機器に送信するか否かを判定する判定部と、
     前記判定部による判定結果に基づいて、レスポンスを前記外部機器に送信する送信部と、
     を具備することを特徴とする携帯可能電子装置。
  2.  前記認識部により認識した総時間枠数と、前記乱数生成部により生成した乱数とに基づいて、時間枠を選択する時間枠選択部をさらに具備し、
     前記判定部は、前記時間枠選択部により選択した時間枠より前の1つの時間枠を再選択し、前記通信検知部により再選択した時間枠の監視を行い、前記通信検知部によりの検知結果に基づいて、前記初期応答要求に対するレスポンスを前記外部機器に送信するか否かを判定することを特徴とする請求項1に記載の携帯可能電子装置。
  3.  前記判定部は、前記外部機器により設定される総時間枠数をnとし、前記時間枠選択部により選択される時間枠の番号をmとし、m>n/2の関係を満たす場合、n-m+1の番号に対応する時間枠を再選択することを特徴とする請求項2に記載の携帯可能電子装置。
  4.  前記判定部は、前記再選択した時間枠の開始時間から所定時間内に他の携帯可能電子装置において通信が行われたか否かを前記通信検知部の検知結果に基づいて判定することを特徴とする請求項3に記載の携帯可能電子装置。
  5.  前記判定部は、前記再選択した時間枠の開始時間から所定時間内に他の携帯可能電子装置において通信が行われないと判定した場合、前記再選択した時間枠においてレスポンスを前記外部機器に送信すると判定することを特徴とする請求項3に記載の携帯可能電子装置。
  6.  前記判定部は、前記再選択した時間枠の開始時間から所定時間内に他の携帯可能電子装置において通信が行われたと判定した場合、前記時間枠選択部により選択される時間枠においてレスポンスを前記外部機器に送信すると判定することを特徴とする請求項3に記載の携帯可能電子装置。
  7.  前記判定部は、前記時間枠選択部により選択される時間枠の番号をmとし、再選択する時間枠の番号をKとし、K≦mの関係を満たす1つの時間枠を再選択することを特徴とする請求項2に記載の携帯可能電子装置。
  8.  前記判定部は、前記再選択した時間枠の開始時間から所定時間内に他の携帯可能電子装置において通信が行われたか否かを前記通信検知部の検知結果に基づいて判定することを特徴とする請求項7に記載の携帯可能電子装置。
  9.  前記判定部は、前記通信検知部による検知に必要な時間をpとする場合、前記再選択した時間枠の開始時間からp・(m-K)の間、前記通信検知部により監視を行うことを特徴とする請求項8に記載の携帯可能電子装置。
  10.  前記判定部は、前記再選択した時間枠の開始時間から所定時間内に他の携帯可能電子装置において通信が行われないと判定した場合、前記再選択した時間枠においてレスポンスを前記外部機器に送信すると判定することを特徴とする請求項8に記載の携帯可能電子装置。
  11.  前記判定部は、前記再選択した時間枠の開始時間から所定時間内に他の携帯可能電子装置において通信が行われたと判定した場合、再選択する時間枠の番号であるKに1を加算することを特徴とする請求項8に記載の携帯可能電子装置。
  12.  前記認識部により認識した総時間枠数と、前記乱数生成部により生成した乱数とに基づいて、自然数nを生成するロジック部をさらに具備し、
     前記判定部は、所定時間をtとし、前記受信部により受信する応答要求に基づいて時間枠を示す番号sを認識し、前記応答要求が示す時間枠の開始時間からt・(n-s)時間前記通信検知部により監視を行い、前記通信検知部の検知結果に基づいて、前記初期応答要求に対するレスポンスを前記外部機器に送信するか否かを判定することを特徴とする請求項1に記載の携帯可能電子装置。
  13.  前記判定部は、前記応答要求が示す時間枠の開始時間からt・(n-s)時間内に他の携帯可能電子装置において通信が行われたか否かを前記通信検知部の検知結果に基づいて判定し、他の携帯可能電子装置において通信が行われないと判定した場合、前記応答要求が示す時間枠においてレスポンスを前記外部機器に送信すると判定することを特徴とする請求項12に記載の携帯可能電子装置。
  14.  さらに、前記各部を備えるICモジュールと、
     前記ICモジュールが設置される本体と、
     を具備することを特徴する請求項1に記載の携帯可能電子装置。
  15.  乱数を生成し、生成した乱数に応じたタイミングで応答を行う携帯可能電子装置の制御方法であって、
     外部機器から初期応答要求を受信し、
     前記受信した初期応答要求に基づいて、前記外部機器において設定される総時間枠数を認識し、
     乱数を生成し、
     前記認識した総時間枠数と前記生成した乱数とに基づいて、1つの時間枠において他の携帯可能電子装置により行われる通信を検知し、
     前記検知結果に基づいて、前記初期応答要求に対するレスポンスを前記外部機器に送信するか否かを判定し、
     前記判定結果に基づいて、レスポンスを前記外部機器に送信する、
     を具備することを特徴とする携帯可能電子装置の制御方法。
PCT/JP2010/061170 2009-06-30 2010-06-30 携帯可能電子装置、及び携帯可能電子装置の制御方法 WO2011002030A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2011520964A JP5487206B2 (ja) 2009-06-30 2010-06-30 携帯可能電子装置、及び携帯可能電子装置の制御方法
EP10794198.1A EP2451085B1 (en) 2009-06-30 2010-06-30 Portable electronic device and control method for portable electronic device
SG2011094091A SG176916A1 (en) 2009-06-30 2010-06-30 Portable electronic apparatus and control method of portable electronic apparatus
US13/329,799 US9007176B2 (en) 2009-06-30 2011-12-19 Portable electronic apparatus and control method of portable electronic apparatus

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2009-156002 2009-06-30
JP2009156002 2009-06-30
JP2009-216069 2009-09-17
JP2009216069 2009-09-17

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/329,799 Continuation US9007176B2 (en) 2009-06-30 2011-12-19 Portable electronic apparatus and control method of portable electronic apparatus

Publications (1)

Publication Number Publication Date
WO2011002030A1 true WO2011002030A1 (ja) 2011-01-06

Family

ID=43411100

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2010/061170 WO2011002030A1 (ja) 2009-06-30 2010-06-30 携帯可能電子装置、及び携帯可能電子装置の制御方法

Country Status (5)

Country Link
US (1) US9007176B2 (ja)
EP (1) EP2451085B1 (ja)
JP (1) JP5487206B2 (ja)
SG (1) SG176916A1 (ja)
WO (1) WO2011002030A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014063263A (ja) * 2012-09-20 2014-04-10 Toshiba Corp Icカード、携帯可能電子装置、及びicカードのリーダライタ
JP2021122048A (ja) * 2014-03-28 2021-08-26 株式会社半導体エネルギー研究所 撮像装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6946027B2 (ja) * 2017-03-17 2021-10-06 株式会社東芝 Icカード、携帯可能電子装置、プログラム、処理装置及び処理システム

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008500600A (ja) * 2004-05-25 2008-01-10 松下電器産業株式会社 無線ic通信装置及びその応答方法
JP4134143B2 (ja) 2001-11-20 2008-08-13 松下電器産業株式会社 非接触icカード、応答方法、及びそのプログラム

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3553763B2 (ja) 1997-05-16 2004-08-11 株式会社日立国際電気 Icカードの識別方法
CN100533462C (zh) * 2002-09-11 2009-08-26 Nxp股份有限公司 登记数据载体的方法
JP2006024119A (ja) 2004-07-09 2006-01-26 Toshiba Corp 携帯可能電子装置、乱数生成方法、及び乱数によるデータ処理方法
US20070075838A1 (en) * 2005-10-04 2007-04-05 Symbol Technologies, Inc. Method and apparatus for avoiding radio frequency identification (RFID) tag response collisions
JP2009032003A (ja) 2007-07-26 2009-02-12 Toshiba Corp 携帯可能電子装置、端末装置、認証システム、及び認証方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4134143B2 (ja) 2001-11-20 2008-08-13 松下電器産業株式会社 非接触icカード、応答方法、及びそのプログラム
JP2008500600A (ja) * 2004-05-25 2008-01-10 松下電器産業株式会社 無線ic通信装置及びその応答方法

Non-Patent Citations (1)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014063263A (ja) * 2012-09-20 2014-04-10 Toshiba Corp Icカード、携帯可能電子装置、及びicカードのリーダライタ
JP2021122048A (ja) * 2014-03-28 2021-08-26 株式会社半導体エネルギー研究所 撮像装置

Also Published As

Publication number Publication date
US9007176B2 (en) 2015-04-14
EP2451085A4 (en) 2014-02-19
JP5487206B2 (ja) 2014-05-07
EP2451085B1 (en) 2016-07-27
EP2451085A1 (en) 2012-05-09
SG176916A1 (en) 2012-01-30
US20120092133A1 (en) 2012-04-19
JPWO2011002030A1 (ja) 2012-12-13

Similar Documents

Publication Publication Date Title
JP5339138B2 (ja) 通信装置、通信方法、およびプログラム
US8123136B2 (en) Processing apparatus of portable electronic devices, portable electronic device, and processing system of portable electronic devices
JP5487206B2 (ja) 携帯可能電子装置、及び携帯可能電子装置の制御方法
US20100240318A1 (en) Mobile electronic device and control method of mobile electronic device
JP3929761B2 (ja) 半導体装置の動作制御方法、半導体装置動作制御プログラム、半導体装置動作制御プログラムを記録した記録媒体、半導体装置、およびicカード
EP2717193B1 (en) IC card, portable electronic device, and reader/ writer
JP2011022841A (ja) 携帯可能電子装置の処理システム、携帯可能電子装置、及び携帯可能電子装置の処理装置
JP2011065477A (ja) 携帯可能電子装置
JP6092342B2 (ja) 非接触式携帯可能電子装置、及び非接触式携帯可能電子装置の発行方法
JP2007257543A (ja) 複合携帯可能電子装置および複合icカード
JP2013164686A (ja) Icカードおよび携帯可能電子装置
JP2008276572A (ja) 非接触式icカード
JP2011022840A (ja) 携帯可能電子装置の処理システム、携帯可能電子装置、及び携帯可能電子装置の処理装置
JP5875772B2 (ja) 携帯可能電子装置、携帯可能電子装置の制御方法、及び携帯可能電子装置の処理システム
JP2009187495A (ja) 情報処理装置、情報処理方法及びプログラム
JP2010225055A (ja) 携帯可能電子装置の処理装置、携帯可能電子装置、及び携帯可能電子装置の処理システム
JP5684059B2 (ja) Icカード、及びicカードの制御方法
JP2009104397A (ja) 非接触icモジュール、携帯端末装置、及びリーダライタ
JP2014063263A (ja) Icカード、携帯可能電子装置、及びicカードのリーダライタ
US8521935B2 (en) Portable electronic apparatus, control method for portable electronic apparatus, and IC card
JP2012198676A (ja) 携帯可能電子装置、携帯可能電子装置の処理装置、及び携帯可能電子装置の処理システム
JP2013069115A (ja) Icカード、携帯可能電子装置、及びicカードの制御方法
JP2009003509A (ja) 非接触通信媒体
JP6111742B2 (ja) 近接型icカードシステム、及び近接型icカード
JP5762941B2 (ja) Icカード、携帯可能電子装置、及びicカードの制御プログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10794198

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2011520964

Country of ref document: JP

Kind code of ref document: A

REEP Request for entry into the european phase

Ref document number: 2010794198

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2010794198

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE