COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
By maintaining connection with an access point and using a secondary communication channel for data suppression, the system simplifies communication procedures and ensures stable data transmission, reducing reconnection loads and buffer overflow.
Patent Information
- Application Number
- JP2020198001
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-11-30
- Publication Date
- 2024-11-28
- Estimated Expiration
- 2040-11-30
Smart Images

Figure 0007591387000001 
Figure 0007591387000002 
Figure 0007591387000003
Abstract
Description
[Technical field]
[0001] The present technology relates to a communication device connectable to an access point, a communication system including the communication device, a communication method in the communication device, and a communication program for implementing the communication device. [Background technology]
[0002] In typical wireless communication, a wireless network is formed between multiple communication devices. Regarding communication across multiple wireless networks, Japanese Patent Application Laid-Open Publication No. 2017-191966 (Patent Document 1) discloses a game system in which, even when a communication group is formed between specific game devices and communication is being performed, other game devices that are within a range capable of receiving frames broadcast from the communication group can obtain various information such as progress information of a game application being executed in the communication group. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2017-191966 A Summary of the Invention [Problem to be solved by the invention]
[0004] There is a demand for a configuration that can realize data communication between a communication device connected to an access point and a communication device not connected to that access point using a simpler procedure. [Means for solving the problem]
[0005] According to an embodiment, there is provided a communication device connectable to an access point, the communication device is configured to perform the following operations: connect to the access point and perform data communication with the access point on a first communication channel; notify the access point of suppression of data communication; perform data communication for a predetermined period on a second communication channel after notifying the access point of suppression of data communication; resume data communication with the access point on the first communication channel after data communication on the second communication channel; and determine a timing for performing the operation of performing data communication on the second communication channel.
[0006] According to this configuration, in order to maintain a connection to the access point via the first communication channel, the suppression of data communication is notified and data communication is performed via the second communication channel, so that the process of disconnecting and reconnecting via the first communication channel can be omitted, and the process related to communication can be simplified. Also, since the connection with the access point is maintained, the stability of data communication can be ensured.
[0007] The notification of the suppression of data communication may include a notification of the Power Save mode. According to this configuration, the communication process can be realized by using a communication procedure defined in the standard, so that it can be easily realized by using a general-purpose device.
[0008] The timing of executing the process of performing data communication on the second communication channel may be determined randomly for each predetermined period. With this configuration, data communication can be performed on the second communication channel for each predetermined period, which makes it easier to manage the frequency of data communication on the second communication channel.
[0009] The timing may be determined so that the processes for performing data communication on the second communication channel are not executed continuously. With this configuration, factors that may cause a connection between the communication device and the access point to be cut off can be reduced.
[0010] The communication device may be configured to receive the buffered data during a period from the end of data communication on the second communication channel to the start of the next data communication on the second communication channel when the access point buffers data to be transmitted to the communication device on the first communication channel during data communication on the second communication channel. This configuration can reduce the possibility of buffer overflow at the access point.
[0011] The length of the predetermined cycle and / or the length of the predetermined period may be adjusted according to at least one of the communication conditions and the communication performance. With this configuration, for example, the frequency of data communication on the second communication channel can be optimized according to the amount of data exchanged between the access point and the communication device on the first communication channel.
[0012] The communication device may be configured to further execute a process of establishing a connection with another communication device when the communication device receives data from the other communication device through the second communication channel. According to this configuration, if the communication device can search for the other communication device through the second communication channel, the communication device can perform data communication with the other communication device through the second communication channel while maintaining data communication through the first communication channel.
[0013] The communication device may be further configured to execute a process of sharing, with the other communication device, the timing for performing data communication with the other communication device through the second communication channel. According to this configuration, when any communication device is found, the timing can be shared with each other, thereby efficiently performing local data communication between the communication devices.
[0014] According to another embodiment, there is provided a communication system including a plurality of communication devices connectable to an access point, each of which is configured to perform the following operations: connect to the access point and perform data communication with the access point on a first communication channel; notify the access point of suppression of data communication; perform data communication for a predetermined period on a second communication channel after notifying the access point of suppression of data communication; resume data communication with the access point on the first communication channel after data communication on the second communication channel; and determine a timing for performing the operation of performing data communication on the second communication channel.
[0015] According to yet another embodiment, there is provided a communication method executed by a communication device connectable to an access point, the communication method including the steps of connecting to the access point and performing data communication with the access point on a first communication channel, notifying the access point of suppression of data communication, performing data communication for a predetermined period on a second communication channel after notifying the suppression of data communication, resuming data communication with the access point on the first communication channel after data communication on the second communication channel, and determining a timing for performing a process of performing data communication on the second communication channel.
[0016] According to yet another embodiment, there is provided a communication program executed by a computer connectable to an access point. The communication program causes the computer to execute the steps of connecting to the access point and performing data communication with the access point on a first communication channel, notifying the access point of suppression of data communication, performing data communication for a predetermined period on a second communication channel after notifying the suppression of data communication, resuming data communication with the access point on the first communication channel after data communication on the second communication channel, and determining a timing for performing the process of performing data communication on the second communication channel. Effect of the Invention
[0017] According to the present technology, data communication between a communication device connected to an access point and a communication device not connected to the access point can be realized with a simpler procedure. [Brief description of the drawings]
[0018] [Figure 1] FIG. 1 is a diagram for explaining an example of a communication process in a communication system according to a related art. [Diagram 2] 1 is a diagram for illustrating an overview of communication processing in a communication system according to an embodiment of the present invention. [Diagram 3] FIG. 2 is a schematic diagram showing a hardware configuration of a communication device included in the communication system according to the present embodiment. [Figure 4] 1 is a time chart showing an example of a communication process according to the related art. [Diagram 5] 3 is a time chart showing an example of a communication process for realizing the data communication shown in FIG. 2. [Figure 6] 4 is a diagram for explaining a more detailed procedure of communication processing in the communication system according to the present embodiment. FIG. [Figure 7] 10 is a time chart illustrating an example of a search process in the communication system according to the present embodiment. [Figure 8] 10 is a time chart for illustrating an example of processing after a search process in the communication system according to the present embodiment. [Figure 9] 10 is a flowchart showing a processing procedure of a communication device in the communication system according to the present embodiment. [Figure 10] 11 is a diagram for explaining an example of timing control of a search process in a communication process according to the present embodiment. FIG. [Figure 11] 2 is a schematic diagram showing an example of a functional configuration of a communication device in a communication system according to the present embodiment. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0019] The present embodiment will now be described in detail with reference to the drawings, in which the same or corresponding parts are designated by the same reference characters and description thereof will not be repeated.
[0020] [A. Overview] First, an overview of a communication system 1 according to the present embodiment will be described.
[0021] Fig. 1 is a diagram for explaining an example of communication processing in a communication system according to the related art. Fig. 1 illustrates a communication system including communication devices 100_1A, 100_1B, 100_2A, 100_2B, 100_3,..., and access points 200_1, 200_2, 200_3,..., capable of exchanging information by wireless communication.
[0022] In the following description, the communication devices 100_1A, 100_1B, 100_2A, 100_2B, 100_3, ... may be collectively referred to as "communication devices 100," and the access points 200_1, 200_2, 200_3, ... may be collectively referred to as "access points 200." In addition, "access point" may be abbreviated as "AP."
[0023] Each of the communication devices 100 is capable of connecting to any of the access points 200 via wireless communication.
[0024] For example, wireless LAN (Local Area Network) conforming to the IEEE (Institute of Electrical and Electronics Engineers) 802.11 standard can be used as the wireless communication. In this specification, the term "IEEE 802.11 standard" refers not only to the IEEE 802.11 in the narrow sense (established in 1997), but also to all standards derived from IEEE 802.11 (for example, IEEE 802.11b, IEEE 802.11g, IEEE 802.11n, etc.). Furthermore, the term "IEEE 802.11 standard" can also include new derived standards that will be established in the future.
[0025] 1 shows an example of a communication state in infrastructure mode defined in the IEEE802.11 standard. In infrastructure mode, one or more communication devices 100 connect to an access point 200. One or more communication devices 100 connected to the access point operate as stations (STAs). Note that the access point 200 can be considered to be a "parent device," and the communication device 100 operating as a station can be considered to be a "child device."
[0026] Although FIG. 1 illustrates the communication device 100 and the access point 200 as different types of devices, a single communication device 100 may function as both a station and an access point.
[0027] In the following description, unless otherwise specified, the communication device 100 will be described as operating as a station.
[0028] In the infrastructure mode, one access point 200 and one or more communication devices 100 form a wireless network. Such a wireless network centered around the access point 200 is called a BSS (basic service set). In the following description, the term "BSS" is used as substantially the same as "wireless network."
[0029] In the example shown in FIG. 1, the access point 200_1 and the communication devices 100_1A and 100_1B form a BSS_1, the access point 200_2 and the communication devices 100_2A and 100_2B form a BSS_2, and the access point 200_3 and the communication device 100_3 form a BSS_3.
[0030] 1, it is assumed that communication devices 100_1A, 100_1B, 100_2A, 100_2B, and 100_3 are located close to each other, and wireless signals can be transmitted and received between any of the communication devices 100. Even if the communication devices 100 are located close to each other, a communication device 100 belonging to a certain wireless network cannot perform direct data communication with a communication device 100 belonging to another wireless network.
[0031] For example, the communication device 100_3 belonging to the BSS_3 constituted by the access point 200_3 cannot perform direct data communication with the communication devices 100_1A and 100_1B belonging to the BSS_1 and the communication devices 100_2A and 100_2B belonging to the BSS_2.
[0032] Thus, in the infrastructure mode of the general IEEE802.11 standard, any communication device 100 can perform direct data communication only with the access point 200 to which it is connected and with other communication devices 100 that belong to the same BSS constituted by the access point 200 to which it is connected. In other words, a communication device 100 that belongs to a wireless network constituted by any access point 200 cannot perform direct data communication with a communication device 100 that belongs to a wireless network constituted by another access point 200 (regardless of whether or not they are communicating on the same communication channel) and with a communication device 100 that does not belong to any wireless network.
[0033] Fig. 2 is a diagram for explaining an outline of communication processing in communication system 1 according to the present embodiment. With reference to Fig. 2, in communication system 1 according to the present embodiment, communication device 100 belonging to a wireless network constituted by any access point 200 realizes direct data communication with communication device 100 belonging to a wireless network constituted by another access point 200 (regardless of whether or not they communicate through the same communication channel) and communication device 100 not belonging to any wireless network. At this time, communication device 100 maintains communication with access point 200 constituting the wireless network to which it belongs.
[0034] 2, the communication device 100_3 belongs to a wireless network (BSS_3) formed by an access point 200_3. It is assumed that BSS_3 uses 6ch as a wireless channel.
[0035] Communication devices 100_1A and 100_1B located close to the communication device 100_3 belong to a wireless network (BSS_1) configured by an access point 200_1. Communication devices 100_2A and 100_2B located close to the communication device 100_3 belong to a wireless network (BSS_2) configured by an access point 200_2. It is assumed that BSS_1 and BSS_2 use 1ch as a wireless channel.
[0036] The communication device 100_3 belonging to BSS_3 can perform direct data communication with the communication device 100_1B and the communication device 100_2B which belong to another wireless network (BSS) and use different communication channels. A communication method for realizing such data communication will be described below.
[0037] [B. Hardware configuration example] Next, an example of a hardware configuration of devices constituting communication system 1 according to the present embodiment will be described.
[0038] (b1: communication device 100) The communication device 100 included in the communication system 1 according to the present embodiment may be any device, but as an example, it may be a computer having a wireless communication function. The communication device 100 may be a game device, which is a typical example of a computer. The game device may be a portable (or mobile) type or a stationary type.
[0039] Fig. 3 is a schematic diagram showing a hardware configuration of a communication device 100 included in a communication system 1 according to the present embodiment. Referring to Fig. 3, communication device 100 is an example of a computer, and includes a processor 102, a main memory unit 104, an auxiliary memory unit 106, a display 114, an operation unit 116, an audio output unit 118, and a wireless communication unit 120. These components are connected to each other via a bus 112 so as to be able to communicate data with each other.
[0040] The processor 102 is a processing entity (processing means) for executing processes provided by the communication device 100. The processor 102 reads the system program 108 and the application program 110 stored in the auxiliary storage unit 106, expands them in the main storage unit 104, and executes various types of information processing as described below.
[0041] The system program 108 includes instruction codes for implementing various processes as described below. In particular, the system program 108 includes a communication program according to the present embodiment.
[0042] The main memory unit 104 is any storage device (storage medium) accessible by the processor 102, and is implemented using a volatile storage device such as a dynamic random access memory (DRAM).
[0043] The auxiliary storage unit 106 is implemented using a non-volatile storage medium such as a hard disk or a flash memory. Alternatively, the auxiliary storage unit 106 may be implemented using a storage medium that is removable from the communication device 100, such as an optical disk or a cartridge. In this case, the communication device may be configured by combining the communication device 100 with any storage medium.
[0044] The display 114 displays an image generated as a result of information processing executed by the processor 102. The display 114 may also display an image received from another device. There may be multiple displays 114. Furthermore, the communication device 100 may be configured to use one or multiple external displays.
[0045] Operation unit 116 mainly accepts operations from a user of communication device 100. Operation unit 116 is implemented using, for example, a push button, an operation lever, a touch panel, a mouse, etc. Operation unit 116 may be a game controller separate from communication device 100 and connected by wire or wirelessly.
[0046] The wireless communication unit 120 transmits and receives data to and from other devices via wireless signals. The wireless communication unit 120 supports, for example, a wireless LAN conforming to the IEEE802.11 standard. In addition, the wireless communication unit 120 may support communication methods such as Bluetooth (registered trademark), ZigBee (registered trademark), and infrared communication. Although the blocks of the wireless communication unit 120 are collectively depicted in FIG. 3, a plurality of wireless communication units 120 that are independent of each other may be implemented. Moreover, the wireless communication unit 120 may be integrated with the processor 102.
[0047] Typically, only a single MAC (Media Access Control) address is assigned to wireless communication unit 120. In the communication method according to the present embodiment, the use of a single MAC address is assumed, but multiple MAC addresses may be assigned to wireless communication unit 120.
[0048] 3, the communication device 100 is depicted as an integrated device, but it may be implemented as a collection of multiple devices. That is, the communication device 100 may be implemented by a combination of multiple independent devices. For example, a configuration may be adopted in which a main device having hardware corresponding to the processor 102, the main memory unit 104, and the auxiliary memory unit 106 is separate from a terminal device having hardware corresponding to the display 114, the operation unit 116, and the audio output unit 118. Such a configuration may be referred to as a communication system instead of the communication device 100.
[0049] Furthermore, at least a part of the information processing executed in the communication device 100 may be executed in a distributed manner by one or more other devices distributed over a network (a wide area network and / or a local network).
[0050] (b2: Access point 200) The access point 200 included in the communication system 1 according to the present embodiment may be any communication device. For example, the access point 200 may be a dedicated wireless repeater or the above-mentioned communication device 100. Such devices are well known, and therefore will not be described in detail here.
[0051] (b3:Other) The processes executed in the communication device 100 and / or the access point 200 may be realized by a processor executing a program, or a part or all of the processes may be realized by a hardwired circuit such as a system on chip (SoC), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), etc. A part or all of the hardwired circuit may be implemented in the wireless communication unit 120.
[0052] [C. Communication Processing] Next, an example of communication processing in communication system 1 according to the present embodiment will be described.
[0053] Fig. 4 is a time chart showing an example of a communication process according to the related art. With reference to Fig. 4, it is assumed that a communication device 100_1 and a communication device 100_2 are located close to each other, but belong to different wireless networks (BSS).
[0054] Each of the communication device 100_1 and the communication device 100_2 sequentially switches between communication in infrastructure mode (infrastructure communication 300) and communication for direct data communication with other communication devices 100 (local master communication 302 and local client communication 304) at a predetermined timing.
[0055] In the local master communication 302 and the local client communication 304, a process of forming a simple network parent-child relationship (a simple access point-client relationship) and exchanging data is executed. The local master communication 302 and the local client communication 304 are periods for searching for other communication devices 100 that may be in close proximity to each other, and data (frames) related to the search are transmitted and received.
[0056] In local master communication 302, the own device transmits data indicating its presence to other communication devices 100 as a master, and in local client communication 304, it waits to receive data indicating its presence from the other communication device 100. If, at a certain timing, one communication device 100 performs local master communication 302 and the other communication device 100 performs local client communication 304, both communication devices 100 can detect each other's presence.
[0057] 4, however, infrastructure communication 300 is interrupted and local master communication 302 and local client communication 304 are executed, so when infrastructure communication 300 is resumed, connection authentication processing is required to reconnect to the destination access point 200. This tends to increase the load on the access point 200 and the authentication server in charge of the connection authentication processing.
[0058] Therefore, in communication system 1 according to the present embodiment, communication device 100 executes communication processing for searching for other communication devices 100 while maintaining communication with access point 200 that constitutes the wireless network to which it belongs.
[0059] Fig. 5 is a time chart showing an example of a communication process for realizing the data communication shown in Fig. 2. Referring to Fig. 5, each of the communication device 100_1 and the communication device 100_2 continues communication in the infrastructure mode (infrastructure communication 300) and executes communication (search process 310) for performing direct data communication with another communication device 100 at a predetermined timing.
[0060] In the search process 310, each of the communication devices 100 transmits data to the other communication device 100 on a specific communication channel and attempts to receive data from the other communication device 100. The data transmitted and received can use an action frame defined in the 802.11 standard. If one communication device 100 transmits an action frame at a certain timing and the other communication device 100 can receive the action frame, the other communication device 100 can detect the presence of the one communication device 100. Similarly, if the other communication device 100 transmits an action frame at a different timing and the one communication device 100 can receive the action frame, the one communication device 100 can detect the presence of the other communication device 100. In this way, if action frames can be transmitted and received in both directions, both communication devices 100 can detect each other's presence.
[0061] Fig. 6 is a diagram for explaining a more detailed procedure of communication processing in communication system 1 according to the present embodiment. With reference to Fig. 6, it is assumed that communication device 100 is connected to access point 200 through an arbitrary communication channel (hereinafter also referred to as "AP connection channel") and communicating. Communication device 100 performs infrastructure communication 300 through the AP connection channel. More specifically, infrastructure communication 300 includes transactions required for infrastructure mode between communication device 100 and access point 200.
[0062] In search processing 310, communication device 100 changes the communication channel to be used to a specific communication channel for searching (hereinafter also referred to as a "search channel"), and transmits an action frame for searching and waits to receive the action frame for searching.
[0063] Typically, one communication channel different from the AP connection channel is predefined as the search channel. However, multiple communication channels may be defined as the search channel. Also, the search channel may be the same communication channel as the AP connection channel. Also, a communication channel used for data communication between the communication devices 100 may be defined, and the defined communication channel may be treated in the same way as the search channel.
[0064] The execution of the infrastructure communication 300 and the search process 310 is managed in units of a management cycle CCT (Concurrent Cycle Time). The management cycle CCT includes the length of time during which the infrastructure communication 300 is enabled (Infra Dwell Time IDT) and the length of time during which the search process 310 is enabled (Excursion Time ET). For convenience of explanation, the time required to switch communication channels is not shown in the figure, but is included in the maintenance time IDT and / or the search time ET.
[0065] Fig. 7 is a time chart for illustrating an example of the search process in the communication system 1 according to the present embodiment. With reference to Fig. 7, an example in which each of the plurality of communication devices 100_1 to 100_4 executes the search process 310 is shown.
[0066] 7, in the communication process according to the present embodiment, appropriate search cannot be performed unless the search times ET overlap among the multiple communication devices 100. Therefore, the start position (offset) of the search time ET in the management period CCT may be determined randomly.
[0067] More specifically, each of the communication devices 100 randomly determines, in each basic cycle, a search time ET for switching a communication channel to a search channel and executing the search process 310, using the management cycle CCT as a basic cycle. That is, each of the communication devices 100 randomly determines the timing for executing a process (search process 310) for performing data communication on the search channel for each predetermined cycle (management cycle CCT).
[0068] When the search times ET overlap between any two communication devices 100, an action frame (any data) transmitted from one communication device 100 can be received by the other communication device 100. For example, in the example of the time chart shown in Fig. 7, data exchange 330 is performed between communication device 100_1 and communication device 100_2. Note that, since the communication process according to the present embodiment is based on unilaterally transmitting an action frame, data exchange 330 typically means a case where an action frame transmitted from one communication device 100 is received by the other communication device 100, and an action frame transmitted from the other communication device 100 is received by one communication device 100.
[0069] During the search time ET, an action frame is transmitted at the start timing and end timing of the search time ET, and an action frame may also be transmitted at any timing within the search time ET.
[0070] Furthermore, the lengths of the control period CCT, the maintenance time IDT, and the search time ET may be appropriately adjusted, etc. Some examples of such adjustments will be described later.
[0071] In the communication process according to the present embodiment, the communication device 100 searches for other communication devices 100 while maintaining communication with the access point 200 constituting the wireless network to which the communication device 100 belongs. In order to maintain communication with the access point 200, a process is executed to reduce the possibility that the connection between the access point 200 and the communication device 100 is cut off. As an example of the process to reduce the possibility that the connection between the access point 200 and the communication device 100 is cut off, the communication device 100 notifies the access point 200 of suppression of data communication before switching the communication channel to a search channel and executing a search process 310. For such a notification of suppression of data communication, for example, a notification of a Power Save mode defined in the IEEE802.11 standard can be used.
[0072] The notification of the Power Save mode requests that data transmission from the access point 200 to the communication device 100 that sent the notification be temporarily suspended, and also requests that the access point 200 change the conditions for disconnecting the connection with the destination communication device 100. For example, the access point 200 attempts to maintain the connection state even if it cannot receive an acknowledgement (ACK) from the destination communication device 100. Therefore, the notification of the data communication suppression can also be considered as a notification for relaxing the conditions for disconnecting the connection between the communication device 100 and the access point 200.
[0073] Instead of temporarily suspending data transmission, a request may be made to reduce the frequency of data transmission from access point 200 to communication device 100 that is the source of the notification.
[0074] 6 again, before switching the communication channel to the search channel and executing search process 310, communication device 100 notifies access point 200 of the PowerSave mode (PowerSave mode notification 320). In response to the notification of the PowerSave mode, access point 200 suppresses transmission of data to communication device 100 that sent the notification. In other words, by notifying access point 200 of the PowerSave mode in advance, it is possible to maintain the connection between access point 200 and communication device 100 and reduce loss of data transmitted from access point 200 to communication device 100.
[0075] After completing the search process 310, the communication device 100 notifies the end of the Power Save mode (active notification 322). This allows regular data communication between the communication device 100 and the access point 200 to be resumed.
[0076] When data exchange 330 occurs between the communication devices 100 in the search process 310, information for realizing subsequent local data communication between the communication devices 100 may be exchanged.
[0077] Fig. 8 is a time chart for explaining an example of processing after the search processing in the communication system 1 according to the present embodiment. In the example shown in Fig. 8, in the data exchange 330 between the communication device 100_1 and the communication device 100_2, synchronization information of communication timing is exchanged. The synchronization information of the communication timing includes timing information for performing local data communication between the communication device 100_1 and the communication device 100_2 by using the communication channel (search channel) used in the search processing 310.
[0078] By exchanging synchronization information of communication timing between the communication devices 100, the communication device 100_1 and the communication device 100_2 can switch the communication channel to the search channel and execute the local data communication 332. That is, the synchronization information of the communication timing specifies the timing at which the communication device 100_1 and the communication device 100_2 execute the local data communication 332.
[0079] As with the execution of the search process 310, even before starting the local data communication 332, each communication device 100 may notify the access point 200 to which it is to connect of the Power Save mode.
[0080] In this way, when communication devices 100 that are located close to each other are found in the search process 310, the communication devices 100 can perform any data communication with each other. That is, when a communication device 100 receives data from another communication device 100 on a search channel, the communication device 100 establishes a connection with the other communication device 100. Even in this case, each of the communication devices 100 can maintain a connection to the respective access point 200.
[0081] In addition, the fact that the connection between the communication device 100 and the access point 200 is maintained means that the state in which the connection with the target communication device 100 is established continues from the viewpoint of the access point 200. In the IEEE802.11 standard, a state machine that transitions according to the connection sequence between the access point 200 and the communication device 100 (station) is specified. More specifically, the initial state is state 1, and when the authentication procedure is successful, it passes through state 2 and reaches state 3 or state 4. If the state machine of the access point 200 is in state 3 or state 4, it means that the access point 200 and the communication device 100 (station) are connected. Therefore, in the communication system 1 according to the present embodiment, maintaining the connection between a certain communication device 100 and the access point 200 means that the state machine of the access point 200 maintains state 3 or state 4. As described above, by notifying the Power Save mode, the condition for returning from state 3 or state 4 to the initial state of state 1 is substantially stricter, and it becomes easier to maintain state 3 or state 4.
[0082] [D. Processing Procedure] Next, a processing procedure of communication device 100 in communication processing according to the present embodiment will be described.
[0083] 9 is a flowchart showing a processing procedure of communication device 100 in communication system 1 according to the present embodiment. Some or all of the steps shown in FIG. 9 may be realized by processor 102 of communication device 100 executing system program 108. System program 108 includes a communication program executed by communication device 100.
[0084] 9, communication device 100 executes a process for connecting to access point 200 according to a predetermined setting or a user operation (step S100). Then, communication device 100 starts data communication with access point 200 or with another communication device 100 via access point 200 (step S102).
[0085] In this manner, the communication device 100 connects to the access point 200 and performs data communication with the access point 200 through an AP connection channel, which is an arbitrary communication channel.
[0086] Next, the communication device 100 determines the timing to execute the process of performing data communication on the search channel. More specifically, when the timing of a new management cycle CCT arrives, the communication device 100 randomly determines the start timing of the search process 310 in the new management cycle CCT (step S104). Then, the communication device 100 determines whether the determined start timing has arrived (step S106).
[0087] If the determined start timing has not arrived (NO in step S106), the communication device 100 continues data communication with the access point 200 or with another communication device 100 via the access point 200 (step S108). Then, the processing from step S106 onwards is repeated.
[0088] On the other hand, if the determined start timing has arrived (YES in step S106), communication device 100 notifies access point 200 of the suppression of data communication. More specifically, communication device 100 notifies access point 200 of the Power Save mode (step S110).
[0089] Then, the communication device 100 switches the communication channel to the search channel (step S112), and executes a search process 310 (step S114). In the search process 310, the communication device 100 transmits an action frame to another communication device 100, and attempts to receive an action frame from the other communication device 100.
[0090] The communication device 100 determines whether or not an action frame has been received from another communication device 100 (step S116). If an action frame has been received from another communication device 100 (YES in step S116), the communication device 100 stores the received action frame (step S118). The communication device 100 attempts to exchange necessary data with the other communication device 100 that is the sender of the received action frame (step S120). At this time, the communication device 100 may share with the other communication device 100 the timing for performing data communication with the other communication device 100 on the search channel (see FIG. 8 above, etc.).
[0091] If an action frame has not been received from another communication device 100 (NO in step S116), the processes of steps S118 and S120 are skipped.
[0092] Then, the communication device 100 determines whether or not a time equivalent to the search time ET has elapsed since the start of the search process 310 (step S122). If a time equivalent to the search time ET has not elapsed since the start of the search process 310 (NO in step S122), the process from step S114 onwards is repeated.
[0093] In this way, after notifying the Power Save mode (notifying the suppression of data communication), the communication device 100 performs data communication on the search channel, which is a communication channel, for a search time ET, which is a predetermined period.
[0094] If a time equivalent to the search time ET has elapsed since the start of the search process 310 (YES in step S122), the communication device 100 resumes data communication with the access point 200 on the AP connection channel after the data communication on the search channel. More specifically, the communication device 100 switches the communication channel to the original communication channel (the AP connection channel which is the communication channel used for connecting to the access point 200) (step S124), and notifies the access point 200 of the end of the Power Save mode (step S126).
[0095] Then, communication device 100 determines whether or not a disconnection from currently connected access point 200 has been instructed (step S128). If a disconnection from currently connected access point 200 has not been instructed (NO in step S128), the processing from step S104 onwards is repeated.
[0096] If an instruction to disconnect from the currently connected access point 200 has been issued (YES in step S128), the communication device 100 executes a process to disconnect from the currently connected access point 200 (step S130).
[0097] Each of the communication devices 100 executes the above-mentioned processing procedure independently.
[0098] [E. Stabilization and optimization of communication processing] In order to stabilize and optimize the communication process according to the present embodiment, the following additional processes may be employed.
[0099] (e1: start timing offset) Fig. 10 is a diagram for explaining an example of timing control of the search process 310 in the communication process according to the present embodiment. With reference to Fig. 10, when the start timing of the search process 310 is randomly determined, for example, the search process 310 may be executed at the end of a certain management period CCT, and the search process 310 may be executed at the beginning of the next management period CCT. In this case, data transmission from the access point 200 to the communication device 100 is not possible for a period twice as long as the time (search time ET) required for normal execution of the search process 310. That is, the communication device 100 is not able to receive data from the access point 200 for a period twice as long as the normal search time ET. As a result, delays in receiving data from the access point 200, delays in transmitting data to the access point 200, buffer overflow of the access point 200, etc. may occur.
[0100] If such a period during which data cannot be received becomes long, it is expected that this will have an effect on the application executed by the communication device 100. Therefore, an offset from the start of the management period CCT to the start timing of the search process 310 (the start of the search time ET) may be set so that the start timing of the search process 310 is not set at the beginning or end of the management period CCT.
[0101] For example, if the control cycle CCT is 500 [msec] and the search time ET is 50 [msec], the offset to the start of the search time ET may be set in the range of 0 to 400 [msec], or in the range of 100 to 400 [msec].
[0102] That is, a prohibited section in which the search process 310 cannot be executed may be set at the beginning or end of the management cycle CCT. In this case, the start position of the search time ET in the management cycle CCT may be randomly determined within the set offset range. In this way, the start timing of the search process 310 may be determined so that the process of performing data communication on the search channel (search process 310) is not executed continuously.
[0103] (e2: Parameter adjustment according to communication conditions / communication performance) In the communication process according to the present embodiment, parameters such as the control cycle CCT, the maintenance time IDT, and the search time ET can be optimized as appropriate. These times may be adjusted according to the communication conditions and / or communication performance.
[0104] For example, when the amount of data between the access point 200 and the communication device 100 is relatively small, the ratio of the search time ET to the management period CCT (ET / CCT) may be relatively large. Conversely, when the amount of data between the access point 200 and the communication device 100 is relatively small, the ratio of the search time ET to the management period CCT may be relatively small. For example, the management period CCT may be set to 500 [msec], and the search time ET may be changed appropriately within a range of 50 to 100 [msec].
[0105] Also, the length of the management cycle CCT may be adjusted depending on the communication situation. For example, when there is a low need to search for other communication devices 100, the management cycle CCT may be relatively long. Conversely, when there is a high need to search for other communication devices 100, the management cycle CCT may be relatively short. By changing the length of the management cycle CCT, the frequency of execution of the search process 310 can be adjusted.
[0106] In this way, the lengths of the control period CCT, the maintenance time IDT, the search time ET, etc. may be adjusted according to the communication conditions. Also, the lengths of the control period CCT, the maintenance time IDT, the search time ET, etc. may be adjusted according to the communication performance.
[0107] For example, while the communication device 100 is performing a search process 310 (data communication on a search channel), the access point 200 buffers data to be transmitted to the communication device 100 on the AP connection channel. Therefore, the length of the search time ET may be set within a time range in which the access point 200 can buffer the amount of data that should have been transmitted to the communication device 100 on the AP connection channel during the search process 310. In addition, the interval between adjacent search processes 310 may be set to a length such that all data buffered by the access point 200 during the previous search process 310 can be transmitted to the communication device 100 between the end of the previous search process 310 and the start of the next search process 310.
[0108] By adjusting the parameters in this way, the communication device 100 becomes able to receive data buffered by the access point 200 between the end of the previous search process 310 and the start of the next search process 310. As a result, it is possible to prevent the buffer of the access point 200 from overflowing.
[0109] Also, the lengths of the management cycle CCT, the maintenance time IDT, the search time ET, etc. may be determined in advance, for example as a table, depending on the amount of data exchanged between the access point 200 and the communication device 100. Alternatively, the amount of data exchanged between the access point 200 and the communication device 100 may be compared with a predetermined threshold, and the lengths of the management cycle CCT, the maintenance time IDT, the search time ET, etc. may be switched depending on the comparison result. Alternatively, the lengths of the management cycle CCT, the maintenance time IDT, the search time ET, etc. may be dynamically calculated depending on the amount of data exchanged between the access point 200 and the communication device 100.
[0110] In a communication system 1 capable of executing a plurality of types of applications, the lengths of the management cycle CCT, the maintenance time IDT, the search time ET, etc. may be switched according to the amount of data normally required by the application being executed. Alternatively, in the case of an application that requires a different amount of data for each execution mode, the lengths of the management cycle CCT, the maintenance time IDT, the search time ET, etc. may be switched according to the current execution mode.
[0111] The amount of data in the application or execution mode being executed may be calculated sequentially to determine the lengths of the management period CCT, the maintenance time IDT, and the search time ET, or the lengths of the management period CCT, the maintenance time IDT, and the search time ET may be predetermined for each application or execution mode.
[0112] (e3:Summary) In a situation where the communication device 100 is performing regular data communication with the access point 200 in infrastructure mode, if the search process 310 is performed at random timing and for a random period of time, unintended packet loss and communication delays may occur. Therefore, the timing and the length of the period may be appropriately adjusted.
[0113] For example, when the application executed by the communication device 100 is a game, the amount of data is small but a smaller communication delay is required, so the time required for the search process 310 can be shortened by relatively shortening the length of the management period CCT and the search time ET.
[0114] [F. Functional Configuration] Next, a functional configuration of communication device 100 in communication processing according to the present embodiment will be described.
[0115] Fig. 11 is a schematic diagram showing an example of a functional configuration of a communication device 100 in a communication system 1 according to the present embodiment. A part or all of the functional modules shown in Fig. 11 may be realized by causing a processor 102 of the communication device 100 to execute a system program 108.
[0116] 11, the communication device 100 includes, as functional components, a main data management module 150, a connection management module 152, a sub-data management module 154, a search processing module 156, a timing determination module 158, and a communication channel selection module 160. The wireless communication unit 120 of the communication device 100 includes a transmission circuit 122 and a reception circuit 124.
[0117] The main data management module 150 manages data exchange between any application and other communication devices 100. The connection management module 152 manages the establishment and disconnection of a connection with the access point 200, supplies data (frames) to be transmitted to the wireless communication unit 120 in accordance with a command from the main data management module 150, and reconstructs data (frames) supplied from the wireless communication unit 120 and outputs the reconstructed data (frames) to the main data management module 150.
[0118] The sub-data management module 154 manages data exchange between any application and any communication device 100 searched for in the search process 310. The search process module 156 controls the execution of the search process 310. The timing determination module 158 determines the execution timing of the search process 310 and notifies the search process module 156 of the timing.
[0119] The communication channel selection module 160 switches the communication channel used by the wireless communication unit 120 in accordance with instructions from the connection management module 152 and the search processing module 156 .
[0120] The main data management module 150 and the connection management module 152 connect to the access point 200 and are responsible for data communication with the access point 200 on the AP connection channel. In addition, the main data management module 150 and the connection management module 152 resume data communication with the access point 200 on the AP connection channel after data communication on the search channel.
[0121] The search processing module 156 is responsible for notifying the access point 200 of the suppression of data communication (notification of the Power Save mode). After notifying the Power Save mode, the sub-data management module 154 and the search processing module 156 are responsible for data communication on the search channel for a search time ET.
[0122] By combining such functional modules, the communication process according to this embodiment can be realized.
[0123] [G. Other forms] In the above description, the communication process in the communication device 100 connected to any of the access points 200 has been mainly described, but the same search process 310 can be executed in the communication device 100 not connected to any of the access points 200. That is, the search process 310 may be executed by switching the communication channel to the search channel at any period.
[0124] In the above description, an implementation example is shown in which the communication device 100 executes the necessary processes by itself, but the present invention is not limited to this, and all or part of the necessary processes may be realized by using computing resources (typically, computing resources on the cloud) other than the communication device 100. The execution form of the processes may be appropriately adopted according to the times.
[0125] [H. Advantages] In the communication system 1 according to the present embodiment, the communication device 100 notifies the suppression of data communication by notifying the PowerSave mode so as to maintain a state connected to the access point 200 on the AP connection channel, and performs a search process 310 on the search channel. This makes it possible to omit the processes of disconnection and reconnection to the access point 200 on the AP connection channel, and simplifies the processes related to communication in the communication device 100.
[0126] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present invention is defined by the claims, not the above description, and is intended to include all modifications within the scope and meaning equivalent to the claims. [Explanation of symbols]
[0127] 1 Communication system, 100 Communication device, 102 Processor, 104 Main memory unit, 106 Auxiliary memory unit, 108 System program, 110 Application program, 112 Bus, 114 Display, 116 Operation unit, 118 Audio output unit, 120 Wireless communication unit, 122 Transmission circuit, 124 Reception circuit, 150 Main data management module, 152 Connection management module, 154 Sub data management module, 156 Search processing module, 158 Timing determination module, 160 Communication channel selection module, 200 Access point, 300 Infrastructure communication, 302 Local master communication, 304 Local client communication, 310 Search processing, 320 Mode notification, 322 Active notification, 330 Data exchange, 332 Local data communication, CCT Management cycle, ET Search time, IDT Maintenance time.
Claims
1. A communication device connectable to an access point, a process of connecting to the access point and performing data communication with the access point over a first communication channel; a process of notifying the access point of suppression of data communication; a process of performing data communication for a predetermined period of time through a second communication channel after receiving the notification of the suppression of data communication; a process of resuming data communication with the access point through the first communication channel after the data communication through the second communication channel; and a process of randomly determining, at each predetermined period, a timing for starting a process of performing data communication on the second communication channel.
2. The communication device according to claim 1 , wherein the length of the predetermined cycle and / or the length of the predetermined period is adjusted in response to at least one of a communication state and a communication performance.
3. A communication device connectable to an access point, a process of connecting to the access point and performing data communication with the access point over a first communication channel; a process of notifying the access point of suppression of data communication; a process of performing data communication for a predetermined period of time through a second communication channel after receiving the notification of the suppression of data communication; a process of resuming data communication with the access point through the first communication channel after the data communication through the second communication channel; determining a timing to start a process of performing data communication on the second communication channel; and a process of sharing with another communication device a timing for starting a process of performing data communication with the other communication device over the second communication channel.
4. The communication device according to claim 3 , further configured to perform a process of establishing a connection with the other communication device upon receiving data from the other communication device on the second communication channel.
5. The communication device according to claim 1 , wherein the notification of the suppression of data communication includes a notification of a Power Save mode.
6. The communication device according to claim 5 , wherein timing is determined such that the processes of performing data communication on the second communication channel are not performed continuously.
7. 7. The communication device according to claim 6, configured to be able to receive buffered data between the end of data communication on the second communication channel and the start of the next data communication on the second communication channel when the access point buffers data to be transmitted to the communication device on the first communication channel during data communication on the second communication channel.
8. A communication system including a plurality of communication devices connectable to an access point, Each of the communication devices comprises: a process of connecting to the access point and performing data communication with the access point over a first communication channel; a process of notifying the access point of suppression of data communication; a process of performing data communication for a predetermined period of time through a second communication channel after receiving the notification of the suppression of data communication; a process of resuming data communication with the access point through the first communication channel after the data communication through the second communication channel; and a process of randomly determining, at each predetermined period, a timing for starting a process of performing data communication on the second communication channel.
9. A communication system including a plurality of communication devices connectable to an access point, Each of the communication devices comprises: a process of connecting to the access point and performing data communication with the access point over a first communication channel; a process of notifying the access point of suppression of data communication; a process of performing data communication for a predetermined period of time through a second communication channel after receiving the notification of the suppression of data communication; a process of resuming data communication with the access point through the first communication channel after the data communication through the second communication channel; determining a timing to start a process of performing data communication on the second communication channel; and a process of sharing with another communication device a timing for starting a process of performing data communication with the other communication device through the second communication channel.
10. A communication method executed by a communication device connectable to an access point, comprising: connecting to the access point and communicating data with the access point over a first communication channel; notifying the access point of suppression of data communication; performing data communication for a predetermined period of time on a second communication channel after receiving the notification of the suppression of data communication; after data communication on the second communication channel, resuming data communication with the access point on the first communication channel; and randomly determining, at each predetermined period, a timing for starting processing for performing data communication on the second communication channel.
11. A communication method executed by a communication device connectable to an access point, comprising: connecting to the access point and communicating data with the access point over a first communication channel; notifying the access point of suppression of data communication; performing data communication for a predetermined period of time on a second communication channel after receiving the notification of the suppression of data communication; after data communication on the second communication channel, resuming data communication with the access point on the first communication channel; determining a timing to start a process of performing data communication on the second communication channel; and sharing, with the other communication device, a timing for starting a process of performing data communication with the other communication device through the second communication channel.
12. A communication program executed on a computer that can be connected to an access point, the communication program being connecting to the access point and communicating data with the access point over a first communication channel; a process of notifying the access point of suppression of data communication; performing data communication for a predetermined period of time on a second communication channel after receiving the notification of the suppression of data communication; after data communication on the second communication channel, resuming data communication with the access point on the first communication channel; and a step of randomly determining, at each predetermined period, a timing for starting processing for performing data communication through the second communication channel.
13. A communication program executed on a computer that can be connected to an access point, the communication program being connecting to the access point and communicating data with the access point over a first communication channel; a process of notifying the access point of suppression of data communication; performing data communication for a predetermined period of time on a second communication channel after receiving the notification of the suppression of data communication; after data communication on the second communication channel, resuming data communication with the access point on the first communication channel; determining a timing to start a process of performing data communication on the second communication channel; and a step of sharing, with another communication device, a timing for starting a process of performing data communication with the other communication device through the second communication channel.
Citation Information
Patent Citations
Direct wireless client-to-client communication
JP2009500969A
Game system, processing program, processing method, game device, and information processing device
JP2017191966A
Communication device, control method, and program
JP2019134270A
