Embodiments described herein relate generally to a communication device and a communication method.
Conventionally, some home appliances such as a refrigerator, a television, and an electric rice cooker have a communication function to communicate with mobile information terminals such as a smartphone and a tablet by proximity wireless communication such as near-field communication (NFC). When a user brings a mobile information terminal into close proximity to a home appliance to perform a touch operation, and the distance between the home appliance and the mobile information terminal is within a communication range of near-field wireless communication, the home appliance and the mobile information terminal transmit and receive information by near-field wireless communication.
The above described conventional technique requires implementation of a communication module for near-field communication in addition to a communication module of wireless local area networks (LANs) in which normal wireless communication is performed, thereby increasing both cost and implementation space. Furthermore, the user cannot enjoy, by only using wireless LANs in which normal wireless communication is performed, the utility of near-field communication: information can be transmitted and received between a mobile information terminal and a home appliance only when the user performs an intuitive operation such as the touch operation in which the user brings the mobile information terminal into close proximity to the home appliance.
A general architecture that implements the various features of the invention will now be described with reference to the drawings. The drawings and the associated descriptions are provided to illustrate embodiments of the invention and not to limit the scope of the invention.
In general, according to one embodiment, a communication device comprises a single communication module and a controller. The single communication module is configured to operate in a first mode or a second mode. The first mode corresponds to near-field wireless communication. The second mode corresponds to wireless communication configured to be performed in a longer communication distance than a communication distance at which the near-field wireless communication is performed. The controller is configured to cause the communication device to intermittently perform wireless transmission or reception in the first mode or in the second mode, to cause the communication device to intermittently perform wireless reception in the second mode at a period based on information repeatedly informed by an external device at a predetermined period, and to cause the communication device to intermittently perform, while being synchronized with an operation timing of the second mode, wireless transmission or reception in the first mode during when wireless reception in the second mode is not performed.
Following is a detailed description of a communication device and a communication method according to an embodiment with reference to the accompanying drawings.
As illustrated in
The wireless communication module 102 operates, under the control of the controller 103, in a first communication mode M1 in which near-field wireless communication (transmission or reception) is performed within a communication range of a few centimeters to about one meter, or in a second communication mode M2 in which wireless communication (transmission or reception) is performed within a communication range of 10 m to 100 m as the upper limit of wireless LANs based on IEEE 802.11 standards. The wireless communication module 102 is, for example, a single wireless LAN chip and switches the communication modes in accordance with the control of the controller 103. Specifically, in the first communication mode M1, voltage (gain) applied in transmission or reception such as reception sensitivity or transmission output (power) is controlled so that the communication range is regulated within a few centimeters to about one meter. In the second communication mode M2, the voltage (gain) applied in transmission or reception such as the reception sensitivity or the transmission output (power) is controlled so that the communication range is regulated within 10 m to 100 m as the upper limit. It should be noted that near-field wireless communication may only refer to wireless communication performed within a communication range with the upper limit being smaller than that of the communication range of the second communication mode M2, and may be wireless communication performed within a communication range of a few centimeters to about one meter that is assumed in NFC, for example. Wireless communication modules in
Thus, when the communication devices 100-1 and 100-2 are in the communication range of the second communication mode M2 such as in a house, wireless communication using wireless LANs is performed in the second communication mode M2. When a user performs a touch operation, in which the user brings the communication device 100-1 into close proximity to the communication device 100-2, the communication devices 100-1 and 100-2 enter the communication range of the first communication mode M1, and thus near-field wireless communication is performed in the first communication mode M1.
There are two types of networks in a wireless LAN in the second communication mode M2. One is an ad hoc network in which the AP does not exist as illustrated in
In the infrastructure network, the AP serves as a timing master, and notifies the STAs of a timer value obtained by a timing synchronization function (TSF) by broadcasting the timer value as the beacon signal (packet) (see broadcast information in
The controller 103 comprises a central processing unit (CPU), a random access memory (RAM), and a read only memory (ROM). The controller 103 controls the communication device such that the CPU loads programs stored in the ROM into the RAM and sequentially executes them. The controller 103 comprises a counting module such as a crystal oscillator, and controls the operation of each module in, for example, milliseconds (ms). Specifically, the controller 103 causes the wireless communication module 102 to intermittently perform wireless communication in the first communication mode M1 and the second communication mode M2 by switching the wireless communication modes in milliseconds in synchronization with the above described broadcast information.
The communication devices 100-1, 100-2 and 100-3 may comprise a storage module 104, an operation module 105, and a display module 106. The storage module 104 comprises a non-volatile memory that stores various types of setting information used for the control by the controller 103. The operation module 105 comprises an operation key and/or a touch panel that receives operation by a user. The display module 106 comprises a liquid crystal display that performs screen display under the control of the controller 103.
Described here is intermittent wireless communication performed by the wireless communication module 102 under the control of the controller 103.
As illustrated in
The STAs intermittently perform detection operation of the beacon signal (stand by for [perform wireless reception of] the beacon signal) in the second communication mode M2 under the control of the controller 103 at an period T11 based on the beacon signal (broadcast information) received in the synchronous communication C1 with the AP. Specifically, the controller 103 causes the wireless communication module 102 to intermittently wake up in the second communication mode M2 at the period T11 obtained by an integral multiple (four times in the example of
The STAs cause, under the control of the controller 103, the wireless communication module 102 to intermittently wake up in the first communication mode M1 in synchronization with the execution timing in the second communication mode M2 in an interval during which wireless communication is not performed in the second communication mode M2. Specifically, the controller 103 controls the wireless communication module 102 to intermittently wake up in the first communication mode M1 from the start of the synchronous communication C1 in the second communication mode M2 at a period T12 for a communication time T13. Thereby, the STAs in the communication range of the first communication mode M1 perform the synchronous communication C2 in a near field. Here, the period T12 and the communication time T13 may be set to any value in advance. For example, the period T12 may be set to a value of about a few milliseconds to several tens milliseconds. The communication time T13 may be set to a value of about 1 ms. During the intermittent wake-up time, a STA transmits a communication request to the other STA, or receives a communication request (detects a communication request) from the other STA. When paring with the other STA is completed, the STA starts communicating with the other STA. After the completion of the pairing, the STA may communicate with the other STA in the communication range of the first communication mode or in the second communication mode. The STA, when completing transmission and reception of the communication request and the response thereof, may also shift from an intermittent wake-up state in which stand-by and sleep are repeated to a normal stand-by state in which the stand-by state is maintained, and then starts communication. Although the STA performs transmission or reception in the intermittent wake-up time in accordance with, for example, a user setting, the STA may be controlled to perform transmission only in a case in which a user setting is received, and may be controlled to perform reception in other cases.
The STAs can, therefore, perform the synchronous communication C2 in a near field without implementing a communication module for near-field communication in addition to the wireless communication module 102 that is a communication module for communication in a wireless LAN, in other words, without increasing both cost and implementation space. Moreover, the utility of the near-field communication can be obtained: information can be transmitted and received between the STAs only when a user performs an intuitional operation such as the touch operation, in which the user brings the communication device 100-1 into close proximity to the communication device 100-2.
It should be noted that the timing of the synchronous communication C2 in the first communication mode M1 may be any timing as long as it synchronizes with the execution timing in the second communication mode M2.
The wireless communication module 102 may be provided with a condition regarding authentication time before starting a communication session. The condition is that, when the wireless communication module 102 performs at least two times of near-field wireless communication with an external device (STA) in the synchronous communication C2 in the first communication mode M1, the wireless communication module 102 can establish near-field wireless communication with the STA.
Here, assume that a user who carries the communication device 100-1 enters the house, and the communication device 100-1 is brought into a communication range in which the broadcast information of the communication device 100-3 as the AP is broadcast (S2). At this time, the controller 103 of the communication device 100-1 starts, based on the broadcast information from the communication device 100-3, communication in the second communication mode M2 in synchronization with the broadcast information in the same manner as the communication device 100-2 does. The controller 103 of the communication device 100-1 performs near-field wireless communication intermittently in the first communication mode M1 at the period T12 on the basis of the broadcast information from the communication device 100-3.
The controller 103 of the communication devices 100-1 and 100-2 as the STAs may be configured to perform near-field communication in the first communication mode M1 intermittently on the basis of the SSID that identifies the AP when the controller 103 receives the broadcast information that comprises the SSID set in advance in information such as the setting information stored in the storage module 104. In this manner, setting in advance an SSID in the broadcast information that causes near-field wireless communication in the first communication mode M1 can define the place in which near-field wireless communication is performed. For example, assume that the user registers in advance in the communication device 100-1 carried by the user the SSID of the communication device 100-3 as the AP installed in a house. In this case, when the user is in the communication range of the AP installed in the house, the communication device 100-1 can operate in a mode in which near-field wireless communication is performed.
Next, the user performs a touch operation, in which the user brings the communication device 100-1 into close proximity to the communication device 100-2, and, when the communication devices 100-1 and 100-2 enter into a range of near-field wireless communication in the first communication mode M1, processing to establish connection in near-field wireless communication is started (S3).
Specifically, at least two times of the synchronous communication C2 are authenticated (S31 and S32), and the communication devices 100-1 and 100-2 establish communication (S33). Between the communication devices 100-1 and 100-2 that have established communication, inquiries (S34), transmission and reception of device control commands (S35), and transfer of data (S36) are performed, and then, near-field wireless communication is completed (S37).
The controllers 103 of the communication devices 100-1 and 100-2 may store in the storage module 104 a parameter used at establishing near-field wireless communication together with identification information such as a media access control (MAC) address that identifies a device, and may establish communication by referring to the parameter when near-field wireless communication is performed for the second time or later. In this manner, time required to establish communication for the second time or later can be reduced by storing both a parameter used at establishing near-field wireless communication and identification information that identifies a device, and then starting again, as, for example, a persistent mode, near-field wireless communication with reference to the stored parameter and the identification information.
Next, the user moves the communication device 100-1 away from the communication device 100-2, and the communication devices 100-1 and 100-2 become so distant that they are not in the range of near-field wireless communication in the first communication mode M1 (S4).
Next, described in detail is the operation of the communication device 100-2 as a stand-by device.
As illustrated in
Next, the controller 103 determines, based on data received by the wireless communication module 102, whether broadcast information is detected that is broadcast by the communication device 100-3 as the AP (S102). When the broadcast information is not detected (No at S102), the process holds.
When the broadcast information is detected (Yes at S102), the controller 103 determines whether a setting by the initial setting is to access a device (STA) of a near-field authentication subject, in other words, to perform intermittent communication in the first communication mode M1 (S103).
When the setting is to perform intermittent communication in the first communication mode M1 (Yes at S103), the controller 103 causes near-field wireless communication in the first communication mode M1 to be performed intermittently on the basis of the broadcast information, and brings the communication device 100-2 into a stand-by mode for near-field wireless communication (S104). When the setting is not to perform intermittent communication in the first communication mode M1 (No at S103), near-field wireless communication in the first communication mode M1 is not performed intermittently, and the communication device 100-2 is not brought into the stand-by mode for near-field wireless communication. The controller 103 then determines whether communication is completed because of the power-off or the like (S105). When communication is not completed, the process returns to S102.
Next, described in detail is the operation of the communication device 100-1 as a device that is carried and operated by a user.
As illustrated in
Next, the controller 103 determines, based on a setting in the initial setting, whether there is a communication setting in a near-field communication mode (the first communication mode M1) (S202). When there is no communication setting in a near-field communication mode (No at S202), normal communication in the second communication mode M2 is set (S205).
When there is a communication setting in a near-field communication mode (Yes at S202), the controller 103 performs the same procedure as that from S102 to S104 described above, and brings the communication device 100-1 into a stand-by mode for near-field wireless communication. Here, assume that the communication device 100-1 is brought, by the touch operation by the user, into a communication range in which near-field wireless communication is performed with the communication device 100-2.
The controller 103 determines whether a connection target device, that is, the communication device 100-2 that enters the communication range in which near-field wireless communication is performed is a registered device (S203). Specifically, the controller 103 performs near-field wireless communication with the communication device 100-2, and acquires information such as a MAC address that identifies the communication device 100-2, and determines whether setting information corresponding to the MAC address is stored in a registration table in the storage module 104. When the communication device 100-2 is a registered device, the controller 103 refers to a set value in the registration table, and sets, on the basis of the set value, transmission output or reception sensitivity in the first communication mode M1 to perform transmission and reception in near-field wireless communication (S204). After S204 and S205, the controller 103 determines whether communication is completed because of the power-off or the like (S206). When communication is not completed (No), the process returns to S202.
When the communication device 100-2 is not the registered device, the controller 103 performs positioning of the devices in the near-field communication mode (first communication mode M1) (S207). Specifically, the controller 103 receives from the operation module 105 a user operation for the positioning such as a push operation of a determination button that is performed when the communication devices 100-1 and 100-2 are positioned in a desired distance from each other.
Next, the controller 103 determines whether the positions have been set by the user's operation for the positioning (S208). When the positions have not been set (No at S208), the process returns to S207 and the controller 103 waits for the user's operation for the positioning.
When the user's operation for the positioning has been performed (Yes at S208), the controller 103 checks transmission of signals between the devices by the wireless communication module 102 (S209), and sets/determines transmission power (output) between the devices, and reception sensitivity (S210). The transmission power (output) and the reception sensitivity in the first communication mode M1 may be set to any value by the user so that the STAs can communicate in a desired distance as described above.
Specifically, in setting/determining transmission output, the controller 103 receives a push operation of the determination button at a desired distance, and gradually increases transmission output in the first communication mode M1 while checking a response from the communication device 100-2 as the corresponding device. When the controller 103 receives a response to the transmission and it is a normal response, the controller 103 determines it as the lowest value of the transmission output and sets the value. At this time, the controller 103 may first transmit to the communication device 100-2 a command that instructs the communication device 100-2 to set the reception sensitivity in the first communication mode M1 to a predetermined value, and then start setting/determining transmission output. In this manner, signal saturation in the first communication mode M1 can be avoided by setting the transmission output.
In addition, in setting/determining reception sensitivity, the controller 103 receives the push operation of the determination button at a desired distance, and gradually increases reception sensitivity in the first communication mode M1 while checking a response from the communication device 100-2 as the corresponding device. When the controller 103 receives a response to the transmission and determines it as a normal reception, the controller 103 determines the reception sensitivity at this time as the lowest value thereof and sets the value. At this time, the controller 103 may first transmit to the communication device 100-2 a command that instructs the communication device 100-2 to set the transmission output in the first communication mode M1 to a predetermined value, and then start setting/determining reception sensitivity. In this manner, a secure communication can be established by setting the reception sensitivity to a value not exceeding what is needed.
Next, the controller 103 stores in the registration table in the storage module 104 the transmission output and reception sensitivity that have been set/determined at S209 and S210 together with the MAC address that identifies the communication device 100-2, completes setting of the communication distance in the near-field communication mode (S211), and then the process returns to S202.
Programs executed in the communication device according to the present embodiment are provided with being prebuilt in a ROM and the like. The programs executed in the communication device in the present embodiment may be provided in a manner in which they are recorded as files in an installable or executable format in a recording media, such as a CD-ROM, a flexible disc (FD), a CD-R, or a digital versatile disc (DVD), that is readable by a computer.
The programs executed in the communication device in the present embodiment may be provided in a manner in which they are stored in a computer connected to a network such as the Internet, and are downloaded via the network. The programs executed in the device in the present embodiment may also be provided or distributed via a network such as the Internet.
The programs executed in the communication device in the present embodiment are configured as a module that comprises the above described functional configuration. The hardware for the programs is configured such that a CPU (processor) reads the programs from the ROM and executes them, so that the functional configuration described above is loaded and generated on a main memory.
The above described embodiment is not intended to limit the scope of the invention. Indeed, the embodiment described herein can be embodied by making modifications to the constituent elements without departing from the spirit of the invention. The embodiment described herein can be embodied in a variety of other forms by combining as appropriate a plurality of constituent elements described in the above embodiment. For example, some constituent elements may be omitted from the entire constituent elements described in the embodiment. Furthermore, constituent elements indifferent embodiments may be combined as appropriate.
Moreover, the various modules of the systems described herein can be implemented as software applications, hardware and/or software modules, or components on one or more computers, such as servers. While the various modules are illustrated separately, they may share some or all of the same underlying logic or code.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2013-016105 | Mar 2013 | JP | national |
This application is a continuation of International application No. PCT/JP2013/058649 filed Mar. 25, 2013, which designates the United States, incorporated herein by reference, and which is based upon and claims the benefit of priority from Japanese Patent Application No. 2013-016105, filed Jan. 30, 2013, the entire contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2013/058649 | Mar 2013 | US |
Child | 14178122 | US |