Portable electronic apparatus and control method of portable electronic apparatus
First Claim
1. A portable electronic apparatus which generates a random number and makes a response at a timing associated with the generated random number, the portable electronic apparatus comprising:
- a reception unit which receives an initial response request from an external device;
a recognition unit which recognizes a total timeframe number set in the external device based on the initial response request received by the reception unit;
a random number generation unit which generates a random number;
a communication detection unit which detects communication performed in another portable electronic apparatus;
a determination unit which monitors one timeframe by using the communication detection unit based on the total timeframe number recognized by the recognition unit and the random number generated by the random number generation unit, and determines whether a response to the initial response request is to be transmitted to the external device based on a detection result obtained by the communication detection unit;
a transmission unit which transmits the response to the external device based on a determination result obtained by the determination unit; and
a timeframe selection unit which selects a timeframe based on the total timeframe number recognized by the recognition unit and the random number generated by the random number generation unit;
wherein, when a relationship of m>
n/2 is satisfied, the determination unit reselects a timeframe associated with a number n−
m+1, where n is the total timeframe number set by the external device and m is a number of the timeframe selected by the timeframe selection unit, monitors the timeframe reselected by the communication detection unit and determines whether a response to the initial response request is to be transmitted to the external device based on a detection result obtained by the communication detection unit.
1 Assignment
0 Petitions
Accused Products
Abstract
According to one embodiment, a portable electronic apparatus which generates random number and makes response at timing associated with the generated random number, including, a reception unit which receives initial response request from external device, recognition unit which recognizes total time frame number set in external device based on initial response request received by reception unit, random number generation unit which generates random number, communication detection unit which detects communication performed in another portable electronic apparatus, determination unit which monitors one time frame by using communication detection unit based on total time frame number recognized by recognition unit and random number generated by random number generation unit, and determines whether response to initial response request is to be transmitted to external device based on detection result obtained by communication detecting unit, and transmission unit which transmits response to external device based on determination result obtained by determination unit.
4 Citations
8 Claims
-
1. A portable electronic apparatus which generates a random number and makes a response at a timing associated with the generated random number, the portable electronic apparatus comprising:
-
a reception unit which receives an initial response request from an external device; a recognition unit which recognizes a total timeframe number set in the external device based on the initial response request received by the reception unit; a random number generation unit which generates a random number; a communication detection unit which detects communication performed in another portable electronic apparatus; a determination unit which monitors one timeframe by using the communication detection unit based on the total timeframe number recognized by the recognition unit and the random number generated by the random number generation unit, and determines whether a response to the initial response request is to be transmitted to the external device based on a detection result obtained by the communication detection unit; a transmission unit which transmits the response to the external device based on a determination result obtained by the determination unit; and a timeframe selection unit which selects a timeframe based on the total timeframe number recognized by the recognition unit and the random number generated by the random number generation unit; wherein, when a relationship of m>
n/2 is satisfied, the determination unit reselects a timeframe associated with a number n−
m+1, where n is the total timeframe number set by the external device and m is a number of the timeframe selected by the timeframe selection unit, monitors the timeframe reselected by the communication detection unit and determines whether a response to the initial response request is to be transmitted to the external device based on a detection result obtained by the communication detection unit. - View Dependent Claims (2, 3, 4, 8)
-
-
5. A portable electronic apparatus which generates a random number and makes a response at a timing associated with the generated random number, the portable electronic apparatus comprising:
-
a reception unit which receives an initial response request from an external device; a recognition unit which recognizes a total timeframe number set in the external device based on the initial response request received by the reception unit; a random number generation unit which generates a random number; a communication detection unit which detects communication performed in another portable electronic apparatus; a determination unit which monitors one timeframe by using the communication detection unit based on the total timeframe number recognized by the recognition unit and the random number generated by the random number generation unit, and determines whether a response to the initial response request is to be transmitted to the external device based on a detection result obtained by the communication detection unit; a transmission unit which transmits the response to the external device based on a determination result obtained by the determination unit; and a timeframe selection unit which selects a timeframe based on the total timeframe number recognized by the recognition unit and the random number generated by the random number generation unit; wherein the determination unit reselects one timeframe satisfying a relationship of K≦
m, determines whether the communication is carried out in another portable electronic apparatus within a predetermined time from a start time of the reselected timeframe based on a detection result obtained by the communication detection unit, performs monitoring by using the communication detection unit during a period of p·
(m−
K) from the start time of the reselected timeframe, where m is a number of the timeframe selected by the timeframe selection unit and K is a number of the timeframe to be reselected and p is a time required for detection performed by the communication detection unit; andwhen the determination unit determines that the communication is not performed in another portable electronic apparatus during the period of p·
(m−
K) from the start time of the reselected timeframe, the determination unit determines to transmit a response to the external device in the reselected timeframe. - View Dependent Claims (6)
-
-
7. A portable electronic apparatus which generates a random number and makes a response at a timing associated with the generated random number, the portable electronic apparatus by comprising:
-
a reception unit which receives an initial response request from an external device; a recognition unit which recognizes a total timeframe number set in the external device based on the initial response request received by the reception unit; a random number generation unit which generates a random number; a communication detection unit which detects communication performed in another portable electronic apparatus; a determination unit which monitors one timeframe by using the communication detection unit based on the total timeframe number recognized by the recognition unit and the random number generated by the random number generation unit, and determines whether a response to the initial response request is to be transmitted to the external device based on a detection result obtained by the communication detection unit; a transmission unit which transmits the response to the external device based on a determination result obtained by the determination unit; and a logic unit which generates a natural number n based on the total timeframe number recognized by the recognition unit and the random number generated by the random number generation unit, wherein the determination unit determines a predetermined time as t, recognizes a number s indicative of a timeframe based on a response request received by the reception unit, performs monitoring by using the communication detection unit during a period of t·
(n−
s) from a start time of a timeframe represented by the response request, and determines whether a response to the initial response request is to be transmitted to the external device based on a detection result of the communication detection unit; andwhen the determination unit determines whether communication is carried out in another portable electronic apparatus during the period of t·
(n−
s) from the start time of the timeframe represented by the response request based on the detection result obtained by the communication detection unit and determines that the communication is not performed in another portable electronic apparatus, the determination unit determines to transmit a response to the external device in the timeframe represented by the response request.
-
Specification