Communication device, radio communication system, and program

The communication device stabilizes input terminal connections by disconnecting from low-strength access points and reconnecting to higher-strength ones, addressing unstable communication issues in restaurant environments.

JP2024119583APending Publication Date: 2024-09-03SEIKO SOLUTIONS
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023026587
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Input terminals in restaurants experience unstable communication when switching to optimal access points due to varying connection specifications and rearrangement, leading to frequent disconnections and customer complaints.

Method used

A communication device that disconnects from current access points when radio wave intensity falls below a threshold and reconnects to higher-strength access points, using a disconnection threshold and target threshold to stabilize communication.

Benefits of technology

Stabilizes communication by ensuring input terminals connect to access points with high radio field strength, reducing disconnections and enhancing user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024119583000001
    Figure 2024119583000001
Patent Text Reader

Abstract

To provide: a communication device that is connected to an optimum access point with high radio field intensity so as to be capable of performing stable communication; a radio communications system; and a program.SOLUTION: A communication device comprises a communication control unit that breaks connection with another communication device when radio field intensity of radio communication with the another communication device presently connected to the communication device itself having an access point function is equal to or lower than a predetermined breaking threshold.SELECTED DRAWING: Figure 10
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a communication device, a wireless communication system, and a program. [Background technology]

[0002] The order management systems used in restaurants consist of an input terminal for inputting order information and communicating wirelessly, a communication device with an access point function that connects the input terminal to a network, a wireless relay device that relays the wireless signal, multiple output devices (printers and display devices), and an order management device that controls these.

[0003] Here, the input terminal searches for and connects to an access point with high radio wave intensity (Patent Document 1). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2018-152750 A Summary of the Invention [Problem to be solved by the invention]

[0005] Input terminals are placed on each table in a restaurant, and many devices are connected to the network. For this reason, the entire restaurant is covered by multiple access points, but when the input terminals themselves are moved due to changes in the table layout or replacement of input terminals, the input terminal placed on the table may not be connected to the optimal access point. In order for the input terminal to switch to the most suitable access point, the software on the input terminal side must operate actively, and the switching specifications differ depending on the type of input terminal. As a result, when an input terminal that has been rearranged on a table begins actual communication, the connection with the access point becomes unstable, causing communication errors and requiring the terminal to reconnect to the access point, which can result in complaints from customers registering order data from the input terminal.

[0006] Therefore, the present invention has been made in consideration of the above points, and aims to provide a communication device, a wireless communication system, and a program that are capable of stable communication by connecting to an optimal access point with high radio wave strength. [Means for solving the problem]

[0007] A first aspect of the communication device includes a communication control unit that disconnects the connection with another communication device to which the device, which has an access point function, is currently connected when the radio wave strength of the wireless communication with the other communication device is below a predetermined disconnection threshold.

[0008] According to the communication device of the first aspect, stable communication can be achieved by connecting to an optimal access point with high radio wave strength.

[0009] In addition, in a communication device of the second aspect, if the disconnection target threshold, which is a value greater than the disconnection threshold, is greater than the maximum radio wave strength in the past for each of the other communication devices connected to the communication control unit, the communication control unit will not disconnect the connection with the other communication device even if the radio wave strength falls below the disconnection threshold.

[0010] According to the second aspect of the communication device, when radio wave strength is low, even if other access points are searched for, only access points with low radio wave strength can be connected. Therefore, by preventing such access points from becoming targets for disconnection, frequent disconnections can be prevented, enabling stable communication.

[0011] Also, in the communication device of the third aspect, when the radio wave intensity has been continuously below the disconnection threshold a predetermined number of times, the communication control unit disconnects the connection with the other communication device.

[0012] According to the communication device of the third aspect, it is possible to prevent disconnection when the radio wave intensity temporarily drops below the disconnection threshold.

[0013] In addition, a wireless communication system of a fourth aspect includes a communication device and a plurality of other communication devices connected to the communication device, and the communication device includes a communication control unit that disconnects the connection between the communication device having an access point function and the other communication device to which the communication device is currently connected when the radio wave strength of the wireless communication between the communication device and the other communication device to which the communication device is currently connected falls below a predetermined threshold.

[0014] According to the wireless communication system of the fourth aspect, stable communication can be achieved by connecting to an optimal access point with high radio wave intensity.

[0015] In addition, in the wireless communication system of the fifth aspect, the other communication device is capable of searching for the communication device having an access point function.

[0016] According to the wireless communication system of the fifth aspect, stable communication can be achieved by connecting to an access point with stronger radio wave intensity.

[0017] In addition, the program of the sixth aspect causes a computer to execute a process of disconnecting the connection with another communication device when the radio wave strength of wireless communication between a device having an access point function and the other communication device to which the device is currently connected is below a predetermined disconnection threshold.

[0018] According to the program of the sixth aspect, stable communication can be achieved by connecting to an optimal access point with high radio wave intensity. Effect of the Invention

[0019] According to the present invention, stable communication is possible by connecting to an optimal access point with high radio wave strength. [Brief description of the drawings]

[0020] [Figure 1] 1 is a schematic configuration diagram of an order management system according to an embodiment of the present invention. [Diagram 2] 1 is a schematic block diagram of an access point according to an embodiment of the present invention; [Diagram 3] FIG. 2 is a schematic block diagram of a controller according to an embodiment of the present invention. [Figure 4] FIG. 11 is an explanatory diagram for explaining an example of threshold setting according to the embodiment of the present invention. [Diagram 5] FIG. 4 is an explanatory diagram for explaining an example of history data according to the embodiment of the present invention. [Figure 6] FIG. 4 is an explanatory diagram illustrating an example of a connected device list according to an embodiment of the present invention. [Figure 7A] FIG. 2 is an explanatory diagram for explaining an example of a connection state between an access point and an input terminal according to the embodiment of the present invention. [Figure 7B] FIG. 2 is an explanatory diagram for explaining an example of a connection state between an access point and an input terminal according to the embodiment of the present invention. [Figure 7C] FIG. 2 is an explanatory diagram for explaining an example of a connection state between an access point and an input terminal according to the embodiment of the present invention. [Figure 7D] FIG. 2 is an explanatory diagram for explaining an example of a connection state between an access point and an input terminal according to the embodiment of the present invention. [Figure 7E] FIG. 2 is an explanatory diagram for explaining an example of a connection state between an access point and an input terminal according to the embodiment of the present invention. [Figure 8] 5 is an explanatory diagram for explaining an example of a change in radio wave intensity when a connection with an access point according to an embodiment of the present invention is disconnected. FIG. [Figure 9] 10 is a flowchart showing an example of a flow of a monitoring process of radio wave intensity of a connection with an input terminal according to an embodiment of the present invention. [Figure 10]10 is a flowchart continuing from FIG. 9 showing an example of the flow of the monitoring process of the radio wave intensity of a connection with the input terminal. [Figure 11] 5 is an explanatory diagram for explaining an example of radio wave intensity, MAX RSSI, and COUNT according to the embodiment of the present invention. FIG. [Figure 12] 10 is a flowchart showing an example of a processing flow for adding or deleting an input terminal according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0021] Hereinafter, an example of an embodiment of the present invention will be described with reference to the drawings. In each drawing, the same or equivalent components and parts are given the same reference numerals. In addition, the dimensional ratios of the drawings are exaggerated for the convenience of explanation and may differ from the actual ratios.

[0022] An example of an order management system 1 according to the present embodiment will be described with reference to Fig. 1. The order management system 1 is an example of a wireless communication system. FIG. 1 is a diagram showing an example of a schematic configuration of an order management system 1 according to the present embodiment. 1, an order management system 1 according to the present embodiment is housed in a store such as a restaurant. The order management system 1 includes a controller 10, a wired connection device 20, an input terminal 40, an accounting device 50, and a router 60.

[0023] The controller 10 in this embodiment has a server function for managing the entire order management system 1. The controller 10 can communicate with each of the wired connection device 20, the accounting device 50, and the router 60 via a wired network N1. The controller 10 can communicate with the input terminal 40 via a wireless network N2. The wired network N1 may be, for example, a local area network (LAN) constructed in a store via wires. The wireless network N2 may be, for example, Wi-Fi (registered trademark), which is an example of a wireless LAN standard. That is, the controller 10 also has a wireless communication function as an access point for the wireless network N2. The access point function of the controller 10 will be described later together with the access point function of the wired connection device 20. In this embodiment, the controller 10 having the access point function is also referred to as an access point. Here, the controller 10 is an example of a communication device.

[0024] The wired connection device 20 in this embodiment is capable of communicating with each of the controller 10, the accounting device 50, and the router 60 via the wired network N1. The wired connection device 20 is also capable of communicating with each of the input terminals 40, such as tablet computer terminals, used by customers at each table via the wireless network N2. That is, the wired connection device 20 has a wireless communication function as an access point of the wireless network N2. The access point function of the wired connection device 20 will be described below together with the access point function of the controller 10. In this embodiment, the wired connection device 20 having the access point function is also referred to as an access point. The wired connection device 20 is not limited to being connected to the wired network N1 by wire, and may include a wireless relay device (so-called repeater) that is wirelessly connected to the access point and relays the connection of the input terminal 40 to the wired network N1. Here, the wired connection device 20 is an example of a communication device.

[0025] The input terminal 40 in this embodiment is a device for inputting order data, such as a tablet computer terminal used by customers at each table. The input terminal 40 is not limited to the tablet computer terminal used by customers at each table, but may also include devices such as a handheld terminal used by customers for work. In addition, the shape of the terminal does not need to be tablet-shaped, and may be a smartphone-shaped terminal or a dedicated terminal created for input. Here, the input terminal 40 is an example of another communication device.

[0026] The accounting device 50 in this embodiment is connected to a wired network N1, and as an example, a POS (Point Of Sales) register or the like is applied.

[0027] The router 60 in this embodiment is a device for connecting the wired network N1 and an external network N3. The external network N3 may be, for example, the Internet, a Wide Area Network (WAN), or a Virtual Private Network (VPN).

[0028] For example, the wired connection device 20 transmits order data indicating orders of customers received from the input terminal 40 via the wireless network N2 to the controller 10. The controller 10 stores and manages the received order data for each customer. The controller 10 generates slip data for printing a slip based on the received order data, and transmits the generated slip data to a printer (not shown) to output the slip. The accounting device 50 performs accounting processing for each customer based on the slip printed by the printer, and transmits information indicating the completion of accounting processing to the controller 10. Note that a printer function may be provided as part of the wired connection device 20.

[0029] Furthermore, the controller 10 and the wired connection device 20 having an access point function transmit a beacon periodically, for example, every 15 seconds, not shown, and connect to the input terminal 40 which serves as a client. The controller 10 and the wired connection device 20 are also capable of acquiring the radio wave intensity of the wireless network N2 with the input terminal 40 to which they are connected.

[0030] (Access point (controller 10, wired connection device 20)) Next, a hardware configuration of the access point (controller 10, wired connection device 20) according to the present embodiment will be described.

[0031] FIG. 2 is a block diagram of an access point according to the present embodiment. 2, the access point according to this embodiment includes a CPU (Central Processing Unit) 101, a ROM (Read Only Memory) 102, a RAM (Random Access Memory) 103, a storage 104, an input unit 105, a display unit 106, and a communication interface (I / F) 107. Each component is connected to each other via a bus 108 so as to be able to communicate with each other.

[0032] The CPU 101 is a central processing unit that executes various programs and controls each part. That is, the CPU 101 reads a program from the ROM 102 or the storage 104, and executes the program using the RAM 103 as a working area. The CPU 101 controls each of the above components and performs various arithmetic processing according to the program recorded in the ROM 102 or the storage 104.

[0033] The ROM 102 stores various programs and various data. The RAM 103 temporarily stores programs or data as a working area. The storage 104 is configured with a storage device such as a hard disk drive (HDD), a solid state drive (SSD), or a flash memory, and stores various programs including an operating system and various data. In this embodiment, history data (see FIG. 5) and a connected device list (see FIG. 6), which will be described later, are stored in the storage 104.

[0034] The input unit 105 includes a pointing device such as a mouse, and a keyboard, and is used to perform various input operations.

[0035] The display unit 106 is, for example, a liquid crystal display, and displays various information according to the control of the CPU 101. The display unit 106 may also function as the input unit 105 by adopting a touch panel system.

[0036] The communication interface 107 is an interface for communicating with other devices in the store, and for example, a standard such as Ethernet (registered trademark) is used for wired communication, or Wi-Fi (registered trademark) is used for wireless communication.

[0037] Here, the program stored in ROM 102 or storage 104 may be pre-installed in the access point. The program may be stored in a non-volatile storage medium or distributed via a network and appropriately installed in the wired connection device 20. Examples of non-volatile storage media include CD-ROM (Compact Disk Read Only Memory), DVD-ROM (Digital Versatile Disk Read Only Memory), USB (Universal Serial Bus) memory, memory cards such as SD (registered trademark) cards, etc.

[0038] In addition, if the access point has a printer function, it is provided with a print unit.

[0039] When executing the above programs, the access point realizes various functions using the above hardware resources.

[0040] FIG. 3 is a block diagram showing an example of the functional configuration of the CPU 101 of the access point (the controller 10, the wired connection device 20).

[0041] As shown in Fig. 3, the access point (controller 10, wired connection device 20) has a communication control unit 110 as a functional configuration. Each functional configuration is realized by CPU 101 reading and executing a program stored in ROM 102 or storage 104. Note that the functional configuration of the access point shown in Fig. 3 shows only the functional configuration necessary for explaining the access point function of this embodiment, and therefore the functional configuration of the controller 10 and wired connection device 20 is not limited to that shown in Fig. 3.

[0042] (Communication control unit 110) When the radio wave strength of the wireless communication with the input terminal 40 to which the device having the access point function is currently connected is equal to or lower than a predetermined disconnection threshold, the communication control unit 110 disconnects the connection with the input terminal. Here, in this embodiment, the radio wave strength is represented by "RSSI (Received Signal Strength Indicator)", but is not limited to this and may be another index.

[0043] Furthermore, when the disconnection target threshold, which is a value larger than the disconnection threshold, is larger than the maximum radio wave strength in the past for each input terminal 40 connected to the communication control unit 110, the communication control unit 110 does not disconnect the connection with the input terminal 40 even if the radio wave strength falls below the disconnection threshold. In other words, only when there is a history of connection with a radio wave strength (RSSI) exceeding the disconnection target threshold in the past, the connection with the access point is subject to disconnection.

[0044] Furthermore, the communication control unit 110 disconnects the connection with the input terminal 40 when the radio wave intensity (RSSI) is continuously below the disconnection threshold for a predetermined number of times. That is, when the count is continuously below the disconnection threshold for a predetermined number of times, the connection is disconnected, and when it temporarily falls below the disconnection threshold, the connection is not disconnected.

[0045] Next, an example of threshold setting in this embodiment will be described with reference to FIG. FIG. 4 is an example of threshold settings that are set by the user and loaded into the access points (controller 10, wired connection device 20). In this embodiment, the threshold settings include a disconnection threshold, a disconnection target threshold, and a disconnection determination count. The disconnection settings are input by the user using the input unit 105, but the CPU 101 may read them from another device via the network N1. The threshold settings may be the same for all access points (controller 10, wired connection device 20), or may be different for each access point. The threshold settings are not limited to being set by the user, and initial values ​​may be preset for each model of access point.

[0046] Here, the disconnection threshold is a value at which the input terminal 40 is disconnected when the radio wave strength (RSSI) becomes equal to or less than the disconnection threshold. The disconnection target threshold is a threshold for determining whether the input terminal 40 is to be a target for disconnection. If the maximum radio wave strength (MAX RSSI) between the access point and the input terminal 40 does not become equal to or greater than the disconnection target threshold, the input terminal 40 is not disconnected. The maximum radio wave strength (MAX RSSI) between the access point and the input terminal 40 becomes equal to or greater than the disconnection target threshold, for example, when the input terminal 40 is moved from the table where it is placed to the vicinity of another access point for some reason. Since such a connection is an irregular connection state for the input terminal 40, the disconnection target threshold is set so that the input terminal 40, which is returned to its original position, can reconnect to the access point to which it was originally connected. On the other hand, there are also input terminals 40 that are installed in fixed positions but have low radio wave strength. Since such input terminals with originally low radio wave strength (RSSI) can only connect to access points with low radio wave strength (RSSI) even when searching for other access points, frequent disconnections are prevented by not being set as disconnection targets. The number of disconnection judgments is a value for disconnecting the connection with the access point when the number of times that the radio wave strength (RSSI) falls below the disconnection threshold is equal to or greater than the number of disconnection judgments, which prevents frequent disconnections and reconnections when the radio wave strength (RSSI) temporarily drops.

[0047] Next, an example of the history data will be described with reference to FIG. 5 is an example of history data that stores a connection history with the input terminal 40. In this embodiment, the history data includes a "MAC (Media Access Control) address," "RSSI," "MAX RSSI," and "COUNT." The history data is stored in the storage 104 for the number of connected input terminals 40.

[0048] Here, "MAC address" is a 12-byte ID unique to the access point. "RSSI" is the strength of radio waves received by the access point. In this embodiment, it is a positive number between 0 and 128, with a larger number indicating a stronger radio wave. "MAX RSSI" is the maximum RSSI value ever acquired by the access point. "COUNT" is the number of times that the RSSI has been detected as continuously below the disconnection threshold, and is reset when it does not continue to be below the disconnection threshold, i.e., when it exceeds the disconnection threshold.

[0049] Next, an example of a connected device list will be described with reference to Fig. 6. Fig. 6 is an example of a connected device list of devices currently connected to an access point. In this embodiment, the connected device list includes MAC addresses and RSSIs. Also, the connected device list is stored in the storage 104 for the number of input terminals 40 currently connected to the access point.

[0050] Next, an example of a connection state between an access point (controller 10, wired connection device 20) and an input terminal 40 in this embodiment will be described with reference to FIG.

[0051] 7A shows a state in which an input terminal 40A and an input terminal 40B are placed on each table and connected to an access point controller 10. In this state, the radio wave intensity (RSSI) between the access point controller 10 and the input terminal 40B is, for example, 60.

[0052] 7B shows a state in which the input terminal 40B is turned off from the state shown in FIG. 7A and is connected to the wired connection device 20 of the access point by being turned on near the wired connection device 20 of the access point. In this state, the radio wave intensity (RSSI) between the wired connection device 20 of the access point and the input terminal 40B is, for example, 70.

[0053] Fig. 7C shows a state in which the input terminal 40B has been moved from the state shown in Fig. 7B and placed on a table while still connected to the access point wired connection device 20. In this state, the radio wave strength (RSSI) between the access point wired connection device 20 and the input terminal 40B is, for example, 20. The value of 20, which is the radio wave strength (RSSI), is lower than the disconnection threshold.

[0054] FIG. 7D shows a state in which, from the state shown in FIG. 7C, the wired connection device 20 of the access point has disconnected the connection with the input terminal 40B (indicated by an "X" in the figure) because the radio wave intensity (RSSI) value with the input terminal 40B is lower than the disconnection threshold.

[0055] Fig. 7E shows a state in which the input terminal 40B searches for an access point from the state shown in Fig. 7D and connects to the controller 10 of an access point with stronger radio wave strength than the other access points. In this state, the radio wave strength (RSSI) between the controller 10 of the access point and the input terminal 40B is, for example, 60. In this way, even if the input terminal 40B is once connected to an access point with weak radio wave strength (RSSI), the input terminal 40 can search for an access point again and connect to an access point with stronger radio wave strength by disconnecting the input terminal 40 from the access point.

[0056] Next, an example of change in radio wave intensity when a connection with an access point is disconnected will be described with reference to FIG. 8 is a graph showing an example of changes in radio wave strength between an access point and the input terminal 40. Here, an example will be described in which the radio wave strength (RSSI) of the disconnection threshold is "30" and the radio wave strength (RSSI) of the disconnection target threshold is 50.

[0057] As shown in FIG. 8, when the input terminal 40 is connected to an access point with a radio wave intensity (RSSI) between the disconnection threshold and the disconnection target threshold, the radio wave intensity (RSSI) exceeds the disconnection target threshold at the time of the next measurement of the radio wave intensity (RSSI) at (1) in FIG. 8, and thus the input terminal 40 is to be disconnected. Here, in this embodiment, if the radio wave intensity (RSSI) exceeds the disconnection target threshold even once, the input terminal 40 is to be disconnected. Note that the input terminal 40 is only to be disconnected, and is not immediately disconnected at this point. After that, the input terminal 40 is below the disconnection threshold at (2) in FIG. 8, but since this is only once, the connection between the access point and the input terminal 40 is not disconnected. After that, since the input terminal 40 is below the disconnection threshold a predetermined number of times, three times in this example, at (3) in FIG. 8, the input terminal 40 is disconnected from the access point by the access point.

[0058] Next, the operation of the access point in this embodiment will be described with reference to FIGS. 9 and 10 are flowcharts showing an example of the flow of a process performed by CPU 101 of an access point to monitor the radio wave intensity of a connection with input terminal 40. CPU 101 reads a program from ROM 102 or storage 104, develops it, and executes it to perform the process.

[0059] In step S100, the threshold setting (see FIG. 4) is read by the CPU 101. Then, the process proceeds to the next step S101.

[0060] In step S101, history data (see FIG. 5) is read by the CPU 101. Then, the process proceeds to the next step S102.

[0061] In step S102, the connected device list (see FIG. 6) is acquired by the CPU 101. Then, the process proceeds to the next step S103.

[0062] In step S103, the CPU 101 determines whether there is unprocessed data in the connected device list. That is, it determines whether the process of step S106 described later has been performed for all of the input terminals 40 listed in the connected device list acquired in step S102. If it is determined that there is no unprocessed data and that all of the input terminals 40 have been processed, the process proceeds to step S110 in Fig. 10 described later, and if it is determined that there is unprocessed data, the process proceeds to the next step S104.

[0063] In step S104, the CPU 101 reads one item of data of an unprocessed input terminal 40 from the connected device list, and then proceeds to the next step S105.

[0064] In step S105, the CPU 101 adds or modifies the MAC address and current radio wave strength (RSSI) of the input terminal 40 listed in the connected device list for the unprocessed input terminal 40 read in step S104 to the history data. Then, the process proceeds to the next step S106.

[0065] In step S106, CPU 101 compares the MAX RSSI of the radio wave strength (RSSI) of the history data acquired in step S101 with the current radio wave strength (RSSI) added or corrected in step S105. If it is determined that MAX RSSI is smaller than RSSI, the process proceeds to the next step S107. On the other hand, if it is not determined that MAX RSSI is smaller than RSSI, that is, if MAX RSSI is larger than RSSI, the process returns to the above-mentioned step S103.

[0066] In step S107, the MAX RSSI of the history data is updated by the CPU 101. That is, the current radio wave strength (RSSI) becomes the MAX RSSI. Then, the process returns to step S103 described above.

[0067] In step S110, the CPU 101 determines whether there is unprocessed data in the connected device list. That is, it determines whether the process of step S111 or step S112 described below has been performed for all of the input terminals 40 listed in the connected device list acquired in step S102. If it is determined that there is no unprocessed data and that all of the input terminals 40 have been processed, the process proceeds to step S120 described below, and if it is determined that there is unprocessed data, the process proceeds to the next step S111.

[0068] In step S111, CPU 101 compares the disconnection target threshold with MAX RSSI. If it is determined that the disconnection target threshold is greater than MAX RSSI, the process proceeds to step S113, which will be described later, and if it is not determined that the disconnection target threshold is greater than MAX RSSI, that is, if the disconnection target threshold is smaller than MAX RSSI, the process proceeds to the next step S112.

[0069] In step S112, the CPU 101 compares the disconnection threshold with the current signal strength (RSSI). If it is determined that the disconnection threshold is equal to or lower than the current signal strength (RSSI), the process proceeds to step S113, and if it is not determined that the disconnection threshold is equal to or lower than the current signal strength (RSSI), that is, if it is determined that the disconnection threshold is greater than the current signal strength (RSSI), the process proceeds to step S114.

[0070] In step S113, the number of detections counted in step S114 described later is cleared by CPU 101. Then, the process returns to step S110 described above.

[0071] In step S114, the CPU 101 increments the detection count by 1. That is, the number of determination results in which the radio wave conditions are poor and the disconnection threshold is greater than the current radio wave strength (RSSI) is counted. Then, the process proceeds to the next step S115.

[0072] In step S115, CPU 101 compares the number of disconnection determinations (see FIG. 4) with the number of detections counted in step S114. If it is determined that the number of disconnection determinations is greater than the number of detections, the process returns to step S110 described above, and if the number of disconnection determinations is equal to or less than the number of detections, that is, if radio wave intensity (RSSI) equal to or less than the disconnection threshold is detected more than the number of disconnection determinations, the process proceeds to the next step S116.

[0073] In step S116, the CPU 101 performs a disconnection event transmission process. That is, a command for processing to disconnect the connection between the access point and the input terminal 40 is output. Based on the disconnection event transmission process, a disconnection process in step S230 in Fig. 12, which will be described later, is executed. Then, the process proceeds to the next step S117.

[0074] In step S117, the CPU 101 deletes the history data for the input terminal 40 for which the disconnection event transmission process was performed in step S116. That is, the MAC address, RSSI, MAX RSSI, and COUNT temporarily stored for each input terminal 40 based on the connected device list read by the access point are deleted. Specifically, as shown in Fig. 11(A), when the No. 1 input terminal 40 with the MAC address "00:80:15:22:22:22" and the No. 2 input terminal 40 with the MAC address "00:80:15:11:11:11" are connected, if a disconnection event transmission process is performed for the No. 1 input terminal 40 with the MAC address "00:80:15:22:22:22", the history data for the input terminal 40 with the MAC address "00:80:15:22:22:22" is deleted, and only the history data for the input terminal 40 with the MAC address "00:80:15:11:11:11" is left, as shown in Fig. 11(B). Then, the process returns to step S110 described above.

[0075] In step S120, the CPU 101 waits for a predetermined time, 15 seconds in this example. During this wait, polling is performed and preparations for reconnection are made. Then, the process returns to step S101 in FIG. 9 described above.

[0076] Fig. 12 is a flowchart showing an example of a processing flow for adding or deleting the input terminal 40. The CPU 101 reads, expands, and executes a program from the ROM 102 or the storage 104, thereby performing the processing. Note that the processing shown in Fig. 12 is performed separately from the processing shown in Figs. 9 and 10.

[0077] In step S200, CPU 101 branches the process according to the type of event. Specifically, there are a timer event, a connection event, and a disconnection event. In the case of a timer event, the process proceeds to step S210, in the case of a connection event the process proceeds to step S220, and in the case of a disconnection event the process proceeds to step S230.

[0078] In the case of a timer event or the like, in step S210, the CPU 101 performs a terminal connection check. This process is performed when the input terminal 40 is powered off or when the input terminal 40 is moved out of the range of radio waves from the access point, and no polling response or group key update is returned from the input terminal 40 without a disconnection event being executed. Then, the process proceeds to the next step S211.

[0079] In step S211, if the terminal connection check performed by CPU 101 in step S210 above shows that connection to input terminal 40 is possible, the process returns to step S200 above, and if connection is not possible, the process proceeds to the next step S212.

[0080] In step S212, the CPU 101 performs a disconnection event transmission process for the input terminal 40 that was not able to be connected. That is, a command for processing to disconnect the connection between the access point and the input terminal 40 is output. Based on this disconnection event transmission process, a disconnection process in step S230, which will be described later, is executed. Then, the process returns to step S200 described above.

[0081] In the case of a connection event, in step S220, connection processing is performed by CPU 101. This processing is performed when the input terminal 40 connects to an access point, and the input terminal 40 is connected to the access point. Then, the process proceeds to the next step, S221.

[0082] In step S221, the input terminal 40 connected in step S220 is added to the connected device list by the CPU 101. Then, the process returns to the above-mentioned step S200.

[0083] In the case of a disconnection event, in step S230, the CPU 101 performs disconnection processing. This processing is performed following disconnection event transmission processing such as step S116 or step S212 shown in Fig. 10, and the input terminal 40 is disconnected from the access point. Then, the processing proceeds to the next step S231.

[0084] In step S231, the input terminal 40 that was disconnected in step S230 is deleted from the connected device list by the CPU 101. Then, the process returns to the above-mentioned step S200.

[0085] The present invention is not limited to the above-described embodiment, and various modifications other than those described above can be made without departing from the spirit of the present invention.

[0086] According to this embodiment, it is possible to provide an access point (controller 10, wired connection device 20) that allows stable communication by connecting the input terminal 40 to an optimal access point with high radio wave strength (RSSI). That is, if the input terminal 40 is connected to an access point with low radio wave strength (RSSI), the connection is disconnected from that access point. Then, by searching for an access point, it becomes possible to connect to an access point with higher radio wave strength (RSSI) than the disconnected access point. This allows stable communication. [Explanation of symbols]

[0087] 1. Order Management System 10 Controller 20 Wired connection devices 40 Input terminal 110 Communication control section

Claims

1. A communication device having an access point function and equipped with a communication control unit that disconnects the connection with another communication device when the radio wave strength of wireless communication between the communication device and the other communication device to which the communication device is currently connected is below a predetermined disconnection threshold.

2. The communication control unit The communication device described in claim 1, wherein if the disconnection target threshold, which is a value greater than the disconnection threshold, is greater than the maximum radio wave strength in the past for each of the other communication devices connected to the communication device, the communication device does not disconnect the connection to the other communication device even if the radio wave strength falls below the disconnection threshold.

3. The communication control unit The communication device according to claim 1 or 2, wherein when the radio wave intensity is continuously equal to or lower than the disconnection threshold a predetermined number of times, the communication device disconnects the connection with the other communication device.

4. A communication device; a plurality of other communication devices connected to the communication device; The communication device includes: A wireless communication system having a communication control unit that disconnects the connection with another communication device when the radio wave strength of wireless communication between a device having an access point function and the other communication device to which the device is currently connected falls below a predetermined threshold.

5. The other communication device, The wireless communication system according to claim 4, wherein the communication device having an access point function is searchable.

6. On the computer, A program that executes a process to disconnect a connection with another communication device to which the device, which has an access point function, is currently connected when the radio wave strength of the wireless communication between the device and the other communication device is below a predetermined disconnection threshold.

Citation Information

Patent Citations

  • Communication method, communication apparatus, and communication system

    JP2018152750A