A method, a terminal device processing method, an apparatus and a system for device identification
By analyzing the historical connection data of AP devices, edge AP devices are identified and actively disconnected, solving the problem of accurately identifying off-network terminal devices in existing technologies, and improving the accuracy of network switching and user experience.
Patent Information
- Application Number
- CN202110745190.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-30
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2041-06-30
AI Technical Summary
Existing technologies struggle to accurately identify terminal devices that need to disconnect from the network, leading to unnecessary network switching and impacting user experience.
By acquiring historical connection data of AP devices in the wireless LAN, analyzing the number and ratio of off-network terminal devices, identifying edge AP devices, and proactively disconnecting them from target terminal devices, unnecessary network switching can be avoided.
It improves the accuracy of identifying devices that need to go offline, reduces unnecessary network switching, and enhances the user experience.
Smart Images

Figure CN115550962B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, and in particular, to a device identification method, a terminal device processing method, apparatus and system. BACKGROUND
[0002] A terminal device can access a wireless local area network (WLAN) through an access point (AP) device, so that the WLAN provides the terminal device with network services required by the terminal device. When the terminal device enters the coverage of the WLAN, the terminal device can establish a connection with any AP device in the WLAN. When the terminal device moves away from the coverage of the WLAN, the signal strength between the terminal device and the accessed AP device becomes weaker and weaker, and eventually leads to the disconnection between the terminal device and the AP device, and thus the disconnection between the terminal device and the WLAN. The behavior of the terminal device disconnecting from the WLAN is referred to as off-network, and the terminal device performing the off-network behavior is referred to as an off-network terminal device.
[0003] The off-network terminal device has a weak signal strength with the AP device before off-network, which can cause unstable network signals of the off-network terminal device and affect the user experience of the off-network terminal device. For example, the off-network terminal device can have a large packet loss rate before off-network, which causes the terminal device to receive incomplete data. Therefore, the terminal device can be controlled by the AP device to actively off-network. In a specific implementation, the AP device can determine whether the signal strength with the terminal device is below a threshold for a long time. If so, the AP device can control the terminal device to actively disconnect from the AP device, so as to trigger the terminal device to switch from the WLAN to a mobile network, so that the terminal device can be switched to the mobile network with better network signals before the network signals of the WLAN become poor.
[0004] However, it is difficult for the off-network method to accurately determine the terminal device to off-network from multiple terminal devices. For example, in the process of switching the terminal device from one AP device to another AP device, the terminal device can be identified by the AP device as a terminal device with unstable signals, thereby causing the terminal device to be disconnected from the network of the WLAN. In this way, the terminal device that does not need to switch to the mobile network is forced to switch to the mobile network, which reduces the user experience. SUMMARY
[0005] Embodiments of the present application provide a device identification method, a terminal device processing method, apparatus and system, which can accurately determine the terminal device that needs to disconnect in advance.
[0006] In a first aspect, embodiments of the present application provide a system for terminal device processing, which comprises a first device and a second device, and the second device belongs to a WLAN. Optionally, the WLAN can further comprise one or more second devices. The first device can be configured to obtain historical connection data of the second device, the historical connection data being used to reflect a connection state of each terminal device that has ever connected with the second device. Then, the first device can determine the second device as an edge AP device according to off-network terminal device data of the second device. The off-network terminal device data of the second device can comprise a number of off-network terminal devices of the second device and / or a ratio. The off-network terminal device of the second device is a terminal device that has left the network of the second device. That is, the off-network terminal device of the second device has not established a connection with the WLAN within a first time interval after disconnecting with the second device. After being determined as the edge AP device, the second device can disconnect with a target terminal device, which is a terminal device that has connected with the second device, is in a state of leaving the second device, and is at the edge of the coverage of the WLAN. In this way, if there is a terminal device that has left the network of the second device within a time period corresponding to the historical connection data, the first device can determine the second device as the edge AP device. That is, the second device is an AP device deployed at the edge of the WLAN, and a terminal device can leave the coverage of the WLAN by leaving the coverage of the edge AP device. There is no or few off-network terminal devices for the second devices other than the edge AP device in the same WLAN system. Therefore, after determining the second device as the edge AP device, the second device can control the target terminal device to leave the network, which can avoid identifying a terminal device that does not need to leave the network as a terminal device that needs to leave the network, and improve the accuracy of identifying the target terminal device.
[0007] Optionally, the off-network terminal device data can comprise the number of off-network terminal devices and / or the ratio of off-network terminal devices. Then, the first device can determine the second device as the edge AP device in the following three implementation manners.
[0008] In a first specific implementation manner, the off-network terminal device data comprises the number of off-network terminal devices. Then, the first device can compare the number of off-network terminal devices of the second device with a threshold value of the number of off-network terminal devices. If the number of off-network terminal devices of the second device is greater than or equal to the threshold value of the number of off-network terminal devices, the first device can determine the second device as the edge AP device.
[0009] In the second specific implementation, the off-network terminal device data includes a ratio of off-network terminal devices. Then the first device can compare the ratio of off-network terminal devices of the second device with the off-network terminal device ratio threshold. If the ratio of off-network terminal devices of the second device is greater than or equal to the off-network terminal device ratio threshold, the first device can determine the second device as the edge AP device.
[0010] In the third specific implementation, the off-network terminal device data includes the number of off-network terminal devices and the ratio of off-network terminal devices. Then the first device can compare the ratio of off-network terminal devices of the second device with the off-network terminal device ratio threshold, and compare the number of off-network terminal devices of the second device with the off-network terminal device number threshold. If the ratio of off-network terminal devices of the second device is greater than or equal to the off-network terminal device ratio threshold, and the number of off-network terminal devices of the second device is greater than or equal to the off-network terminal device number threshold, the first device can determine the second device as the edge AP device.
[0011] Optionally, the ratio of off-network terminal devices of the second device can be the ratio of the number of off-network terminal devices of the second device to the number of first type terminal devices of the second device, or the ratio of the number of off-network terminal devices of the second device to the number of second type terminal devices of the second device. The first type terminal device is a terminal device disconnected from the second device, and the second type terminal device is a terminal device not belonging to the off-network terminal device in the first type terminal device. The number of second type terminal devices is the number of first type terminal devices minus the number of off-network terminal devices of the second device.
[0012] Optionally, before disconnecting the connection with the target terminal device, the target terminal device can be determined from one or more terminal devices connected to the second device. There are two implementation manners for determining the target terminal device:
[0013] In the first specific implementation, the target terminal device can be determined by the second device. Specifically, after being determined as the edge AP device by the first device, the second device can obtain its connection data, and determine the target terminal device according to the connection data.
[0014] Optionally, the second device can determine whether the terminal device is the target terminal device according to a motion state of the terminal device. Specifically, in the process of determining whether the first terminal device is the target terminal device, the second device can first determine the motion state of the first terminal device according to a signal strength between the first terminal device and the second device in a second time interval. Then, the second device can determine whether the motion state of the first terminal device satisfies a first condition. If the motion state of the first terminal device satisfies the first condition, the second device can determine the first terminal device as the target terminal device; if the motion state of the first terminal device does not satisfy the first condition, the second device can determine the first terminal device as a non-target terminal device. The first condition includes that the distance between the first terminal device and the second device presents a change trend of first decreasing and then increasing after the first terminal device is connected with the second device.
[0015] Optionally, in the process of determining the motion state of the first terminal device, the second device can determine the motion state of the first terminal device according to a motion state recognition model and the signal strength. The motion state recognition model belongs to a machine learning model, which can be determined by the first device and sent to the second device, or can be pre-deployed in the second device.
[0016] Optionally, the first device includes a network management device or a wireless controller, and the second device includes a wireless access point (AP) device or a network device supporting an AP function.
[0017] In a second aspect, an embodiment of the present application provides a device recognition method, which can be executed by the first device in the system of the terminal device. In the process of executing the device recognition method provided by the embodiment of the present application, the historical connection data of the second device can be acquired first, and the historical connection data is used to reflect the connection state of each terminal device in at least one terminal device which has ever connected with the second device and the WLAN. Then, the second device can be determined as an edge AP device according to the off-network terminal device data of the second device, the off-network terminal device data of the second device includes the number and / or ratio of off-network terminal devices of the second device, and the off-network terminal device of the second device is a terminal device which, in at least one terminal device which has ever connected with the second device, is in a disconnected state all the time and has never connected with other network devices of the WLAN except the second device within a first time interval after being disconnected with the second device.
[0018] Optionally, the second device is determined as the edge AP device if the number of off-network terminal devices of the second device is greater than or equal to an off-network terminal device number threshold, or the second device is determined as the edge AP device if the ratio of off-network terminal devices of the second device is greater than or equal to an off-network terminal device ratio threshold.
[0019] Optionally, the ratio of the off-network terminal devices of the second device is a ratio of a number of the off-network terminal devices of the second device to a number of the first type of terminal devices, or a ratio of the number of the off-network terminal devices of the second device to a number of the second type of terminal devices, the first type of terminal devices being terminal devices disconnected from the second device, and the number of the second type of terminal devices being the number of the first type of terminal devices minus the number of the off-network terminal devices of the second device.
[0020] Optionally, the method further comprises: determining a target terminal device according to a motion state of at least one terminal device connected to the second device; and disconnecting the second device from the target terminal device, the target terminal device being a terminal device that is in a state of leaving the second device and is at a coverage edge of the WLAN among the at least one terminal device connected to the second device.
[0021] Optionally, the determining the target terminal device according to the motion state of the at least one terminal device connected to the second device comprises: obtaining the motion state of the at least one terminal device connected to the second device based on a motion state recognition model, the motion state recognition model being a machine learning model; and determining the target terminal device according to the motion state of the terminal device.
[0022] Optionally, the method is performed by a first device, the first device comprising a network management device or a wireless controller, and the second device comprising a wireless access point (AP) device or a network device supporting an AP function.
[0023] In a third aspect, an apparatus identification method is provided, which can be performed by a first device in a system processing a terminal device. In performing the apparatus identification method, connection data of a second device can be obtained first, the connection data reflecting signal strengths of each of at least one terminal device connected to the second device. Then, it can be determined whether the signal strength of each of the at least one terminal device once connected to the second device is lower than or equal to a signal strength threshold. If the signal strength of a terminal device is lower than or equal to the signal strength threshold, the terminal device can be determined as a target signal strength terminal device. According to a number of target signal strength terminal devices of the second device, the second device can be determined as an edge AP device.
[0024] Optionally, the method further comprises: determining a target terminal device according to a motion state of at least one terminal device connected to the second device; and disconnecting the second device from the target terminal device, the target terminal device being a terminal device that is in a state of leaving the second device and is at a coverage edge of the WLAN among the at least one terminal device connected to the second device.
[0025] Optionally, the determining the target terminal device according to the motion state of the at least one terminal device connected with the second device comprises: obtaining the motion state of the at least one terminal device connected with the second device based on a motion state recognition model, the motion state recognition model belonging to a machine learning model; and determining the target terminal device according to the motion state of the terminal device.
[0026] Optionally, the method is executed by the first device, the first device comprising a network management device or a wireless controller, and the second device comprising a wireless access point (AP) device or a network device supporting an AP function.
[0027] In the fourth aspect, an embodiment of the present application provides a terminal device processing method, which can be executed by the second device in the terminal device processing system. When the terminal device processing method is executed, the second device can first receive an indication message. The indication message is generated by the first device after determining that the second device is an edge AP device and is sent to the second device. After receiving the indication message, the second device can determine a target terminal device from at least one terminal device connected with the second device based on the indication message, and disconnect the connection between the target terminal device and the second device.
[0028] Optionally, the determining the target terminal device by the second device from the at least one terminal device connected with the second device comprises: obtaining, by the second device, connection data of the second device, the connection data being used to reflect the connection state of each terminal device in the at least one terminal device connected with the second device; and determining, by the second device, the target terminal device according to the connection data.
[0029] Optionally, the at least one terminal device connected with the second device comprises a first terminal device, and the connection data of the first terminal device comprises a signal strength of the connection between the first terminal device and the second device. The determining, by the second device, the target terminal device according to the connection data comprises: determining, by the second device, a motion state of the first terminal device according to the signal strength of the connection between the first terminal device and the second device within a first time interval; and determining, by the second device, the first terminal device as the target terminal device if the motion state of the first terminal device satisfies a first condition. The first condition comprises that the distance between the first terminal device and the second device presents a change trend of first decreasing and then increasing after the first terminal device is connected with the second device.
[0030] Optionally, the second device determines the motion state of the first terminal device according to the signal strength of the connection between the first terminal device and the second device in a first time interval, and the method further comprises: the second device determines the motion state of the first terminal device by a motion state recognition model and the signal strength, and the motion state recognition model belongs to a machine learning model.
[0031] Optionally, the connection data further comprises a connection time of the connection between the terminal device and the second device, and before determining the first terminal device as the target terminal device, the method further comprises: the second device determines that the connection time satisfies a second condition, and the second condition comprises that the connection time is greater than or equal to a preset time threshold.
[0032] In a fifth aspect, an apparatus for device recognition is provided, and the apparatus comprises: a connection data acquisition module, configured to acquire historical connection data of the second device, wherein the historical connection data is used to reflect a connection state of each terminal device in at least one terminal device that has ever been connected with the second device and the WLAN, and the second device belongs to a wireless local area network (WLAN); and an edge wireless access point (AP) determination module, configured to determine the second device as an edge AP device according to off-network terminal device data of the second device, wherein the off-network terminal device data of the second device comprises a number and / or a ratio of off-network terminal devices of the second device, and the off-network terminal devices of the second device are terminal devices that have ever been connected with the second device, have been disconnected from the second device within a first time interval, and have never been connected with other network devices of the WLAN except the second device, and the connection state of the terminal devices is always in a disconnected state.
[0033] Optionally, the apparatus further comprises a target terminal device determination module, configured to determine a target terminal device according to a motion state of at least one terminal device connected with the second device; and a target terminal device processing module, configured to disconnect the target terminal device from the second device, and the target terminal device is a terminal device that is in a state of leaving the second device and is at a coverage edge of the WLAN among the at least one terminal device connected with the second device.
[0034] In a sixth aspect, an embodiment of the present application provides a device identification apparatus, the apparatus comprising: a connection data acquisition module configured to acquire connection data of the second device, the connection data being used to reflect signal strengths of each of at least one terminal device connected to the second device, the second device belonging to a wireless local area network (WLAN); and an edge wireless access point (AP) determination module configured to determine the second device as an edge AP device according to a number of target signal strength terminal devices of the second device, the target signal strength terminal devices of the second device being at least one terminal device connected to the second device and having a signal strength lower than or equal to a signal strength threshold.
[0035] Optionally, the apparatus further comprises: a target terminal device determination module configured to determine a target terminal device according to a motion state of at least one terminal device connected to the second device; and a target terminal device processing module configured to disconnect the target terminal device from the second device, the target terminal device being at least one terminal device connected to the second device and being in a state of leaving the second device and at a coverage edge of the WLAN.
[0036] In a seventh aspect, an embodiment of the present application provides a terminal device processing apparatus, the apparatus belonging to a wireless local area network (WLAN), the apparatus comprising: a receiving module configured to receive an indication message, the indication message being used to indicate that the apparatus is an edge wireless access point (AP) device; a target terminal device determination module configured to determine a target terminal device from at least one terminal device connected to the apparatus, the target terminal device being at least one terminal device connected to the apparatus and being in a state of leaving the second device and at a coverage edge of the WLAN; and a target terminal device processing module configured to disconnect the target terminal device from the apparatus.
[0037] Optionally, the target terminal device determination module configured to determine a target terminal device from at least one terminal device connected to the apparatus comprises: the target terminal device determination module acquiring connection data of the apparatus, the connection data being used to reflect connection states of each of at least one terminal device connected to the apparatus; and the target terminal device determination module determining the target terminal device according to the connection data.
[0038] In an eighth aspect, an embodiment of the present application provides a terminal device processing system, the system comprising a first device and a second device, the first device implementing the device identification method according to any one of the preceding second aspect or implementing the device identification method according to any one of the preceding third aspect, and the second device implementing the terminal device processing method according to any one of the preceding fourth aspect.
[0039] In a ninth aspect, an embodiment of the present application provides a processing apparatus, comprising: a processor and a memory; the memory is configured to store a computer program; the processor is configured to execute the computer program stored in the memory to enable the apparatus to perform the method according to any one of the preceding second aspect, or perform the method according to any one of the preceding third aspect, or perform the method according to any one of the preceding fourth aspect.
[0040] In a tenth aspect, an embodiment of the present application provides a computer readable storage medium, the computer readable storage medium stores a computer program, the computer program is executed by a processor to implement the method according to any one of the preceding second aspect, or implement the method according to any one of the preceding third aspect, or implement the method according to any one of the preceding fourth aspect.
[0041] In an eleventh aspect, an embodiment of the present application provides a computer program product, the computer program product comprises a program or code, the program or code is executed on a computer to implement the method according to any one of the preceding second aspect, or implement the method according to any one of the preceding third aspect, or implement the method according to any one of the preceding fourth aspect. BRIEF DESCRIPTION OF DRAWINGS
[0042] Figure 1 A schematic diagram of a deployment mode of a WLAN system provided by an embodiment of the present application;
[0043] Figure 2 Another structural schematic diagram of a WLAN system provided by an embodiment of the present application;
[0044] Figure 3 A signaling interaction diagram of a device identification method and a terminal device processing method provided by an embodiment of the present application;
[0045] Figure 4 Another signaling interaction diagram of a device identification method and a terminal device processing method provided by an embodiment of the present application;
[0046] Figure 5 A structural schematic diagram of a device identification apparatus provided by an embodiment of the present application;
[0047] Figure 6 A structural schematic diagram of a device identification apparatus provided by an embodiment of the present application;
[0048] Figure 7 A structural schematic diagram of a terminal device processing apparatus provided by an embodiment of the present application;
[0049] Figure 8 A hardware architecture diagram of a device provided by an embodiment of the present application. Detailed Implementation
[0050] The following description, in conjunction with the accompanying drawings, introduces the conventional techniques and the methods for device identification, terminal device processing, apparatus, and systems provided by the embodiments of this application.
[0051] Terminal devices can access WLAN through access points (APs). When the WLAN coverage area is large, the WLAN system can provide the necessary network services to terminal devices through multiple APs. For example, multiple APs can be deployed at different locations within the WLAN coverage area. In this way, a terminal device can establish a connection with any one of the multiple APs to access the WLAN network. When the terminal device moves within the WLAN coverage area, it can switch the connected AP, ensuring that it is always connected to the AP with the strongest signal.
[0052] See Figure 1 This figure is a schematic diagram of an application scenario of the WLAN system provided in an embodiment of this application. Figure 1 In the illustrated embodiment, area 111 can be accessed and exited through entrance / exit 112, and a WLAN is deployed within area 111. This WLAN system may include a wireless controller 121, access points (APs) 122, 123, 124, 125, and 126. The controller 121 is connected to each of the APs 122, 123, 124, 125, and 126, ensuring that they belong to the same WLAN network.
[0053] When a terminal device moves within the signal coverage area of a WLAN, it can establish a connection with any one of the multiple access points (APs), allowing the WLAN to provide the network services it needs. For example, if terminal device A is located in... Figure 1 If terminal device A is located at position 131, then it is closest to AP device 122. Terminal device A can establish a connection with AP device 122 and thus access the WLAN through AP device 122. During the process of terminal device A moving from position 131 to position 132, because terminal device A is closer to AP device 124 and farther from AP device 122, the signal strength between terminal device A and AP device 124 may be stronger than the signal strength between terminal device A and AP device 122. Therefore, terminal device A can disconnect from AP device 122 and establish a connection with AP device 124, accessing the WLAN through AP device 124.
[0054] During the process of a terminal device leaving the network, the signal strength between the terminal device and the access point (AP) at the edge of the WLAN coverage area will gradually weaken. For example, if terminal device A leaves the WLAN signal coverage area, such as when it leaves area 111 at access point 112 and moves to location 133, the distance between terminal device A and AP device 125 becomes greater, and the signal strength between terminal device A and the WLAN weakens. During this period of weak signal strength, the network service quality of the terminal device is poor, affecting the user experience.
[0055] To address this issue, the access point (AP) can typically determine whether a terminal device is a "sticky terminal." If so, it proactively disconnects from the sticky terminal, adds the mobile terminal to a blacklist, and maintains this blacklist for a short period. A sticky terminal is defined as a terminal device whose signal strength with the WLAN falls below a preset threshold within a preset time interval.
[0056] For example, AP device 125 can determine whether the signal strength between it and terminal device A has been below a preset threshold for a period longer than a preset time interval. Thus, if, during the process of terminal device A moving to location 133, the signal strength between terminal device A and AP device 125 falls below the preset threshold within the preset time interval, it indicates that the network service quality provided by the WLAN to the terminal device is poor within that time interval. Therefore, before the user experience of terminal device A is affected, AP device 125 can disconnect from terminal device A and prevent terminal device A from reconnecting to the WLAN through a blacklist.
[0057] However, the above-mentioned disconnection method only identifies sticky terminals based on the signal strength and connection time between the AP device and the terminal device, and cannot accurately locate the terminal device to be disconnected. For example, suppose terminal device B is located in... Figure 1 At location 134, the distance between location 134 and the nearest access point (AP device 126) is still relatively far, and the signal strength between terminal device B and AP device 126 may be lower than a preset threshold. Therefore, if the user carrying terminal device B stays at location 134 for more than a preset time interval, AP device 126 will disconnect from terminal device B. However, the user may not intend to leave the WLAN; they may simply have stayed in a location with low signal strength for a period of time, yet the AP device actively disconnects them. In real-world applications, signal strength is often poor in small cubicles, but users in these cubicles do not want to stop using the WLAN. Clearly, traditional disconnection methods cannot accurately locate terminal devices about to disconnect, potentially impacting user experience.
[0058] In addition, the conventional off-network method needs a network system or device to determine a terminal device as a sticky terminal, and then disconnects the network connection with the sticky terminal, so as to reduce the influence of the sticky terminal on the WLAN network. The sticky terminal refers to a wireless terminal device with poor initiative in roaming. The main performance is that the wireless terminal device always insists on being associated with the AP to which it is initially associated, and even if the terminal has been far away from the currently associated AP, the signal is very weak, and the rate is very low, the terminal device still cannot roam to other neighbor APs with better signal. The network system or device determines the sticky terminal by the signal strength between the terminal device and the AP device being lower than a preset threshold in a preset time interval. In the preset time interval, the connection state between the terminal device and the AP device is already in a relatively poor state, and the network service of the terminal device can have been affected. It can be seen that the conventional off-network method also cannot accurately and quickly find the terminal device to be off-network, and affects the quality of network service.
[0059] To solve the above problems, the embodiments of the present application provide a device identification method and a terminal device processing method, which can avoid identifying a terminal device that does not need to be off-network as a terminal device that needs to be off-network.
[0060] The device identification method and the terminal device processing method provided by the embodiments of the present application can be applied to the scenario shown in Figure 2 Figure 2 In the embodiment shown in the figure, the network management device 210, the wireless controller 220, the AP device 231, the AP device 232, the terminal device 241, the terminal device 242, the terminal device 243 and the terminal device 244 are included. The wireless controller 220 is connected with the network management device 210, the AP device 231 and the AP device 232 respectively.
[0061] The network management device 210, the wireless controller 220, the AP device 231 and the AP device 232 belong to the same WLAN system, and the terminal device 241, the terminal device 242, the terminal device 243 and the terminal device 244 can respectively establish wireless connection with the AP device 231, so as to access the WLAN through the AP device 231. In some specific implementation modes, the terminal device 241, the terminal device 242, the terminal device 243 and the terminal device 244 can also respectively establish wireless connection with the AP device 232, so as to access the WLAN through the AP device 232. In some specific implementation modes, a terminal device is connected with only one AP device at the same time.
[0062] In some specific implementation manners, the network management device 210 related to the embodiments of the present application can control multiple AP devices of the same WLAN system in a region. The terminal device related to the embodiments of the present application can be a device providing voice and / or data connectivity to a user, a handheld device with wireless connection function, or other processing devices connected to a wireless modem. For example, it can be a portable, pocket, handheld, built-in or vehicle-mounted mobile device that exchanges voice and / or data with a wireless access network. For example, personal communication service (PCS) phone, cordless phone, session initiation protocol (SIP) phone, wireless local loop (WLL) station, personal digital assistant (PDA), and the like. The wireless terminal can also be referred to as a system, a subscriber unit, a subscriber station, a mobile station, a mobile, a remote station, an access point, a remote terminal, an access terminal, a user terminal, a user agent, a user device, or a user equipment.
[0063] In some specific implementation manners, the network management device related to the embodiments of the present application can be an analyzer, for example, a park analysis controller for analyzing and managing a park, and can also be other data processing devices with computing, storage and analysis capabilities, for managing the second device and / or the terminal device. In some specific implementation manners, the wireless controller related to the embodiments of the present application can be an access controller (AC), and can also be other devices with the capability of managing, operating and maintaining, policy control and data analysis of the terminal device, such as managing and policy controlling the AP device. It should be noted that the wireless controller in the embodiments of the present application can be deployed on a public cloud or a private cloud or a local area network. The wireless controller can be a separate hardware device, or a functional module in the AP device.
[0064] It should be noted that in some specific implementations, the WLAN system can only include the wireless controller and not include the network management device. Accordingly, the actions performed by the analyzer in the method embodiment can be performed by the wireless controller. In some specific implementations, the WLAN system can include one wireless controller or multiple wireless controllers. In some specific implementations, if the WLAN system includes multiple wireless controllers, different wireless controllers can be used to control different AP devices.
[0065] Referring to Figure 3 FIG. 1 is a signaling interaction diagram of a device identification method and a terminal device processing method provided by an embodiment of the present application. The device identification method and the terminal device processing method provided by the embodiment of the present application can include the following steps:
[0066] S301: The second device records historical connection data.
[0067] In the embodiment of the present application, the second device can be an AP device, for example, and can provide access to a WLAN for one or more terminal devices. In the process of providing services for the terminal devices, the second device can collect and record the connection of each terminal device to obtain historical connection data. The historical connection data is used to reflect the connection state of each terminal device of at least one terminal device that has ever connected with the second device. In the case where the second device is connected with multiple terminal devices, the connection data can include the connection data of each terminal device of the multiple terminal devices. Optionally, the historical connection data can include the identification of the terminal device, and can also include any one or more of the time of connection establishment between the terminal device and the second device, the time of connection disconnection between the terminal device and the second device, the connection rate of the terminal device in the connection state, and the signal strength of the terminal device in the connection state. For example, the historical connection data of the terminal device A can obtain the description of the connection state of the terminal device A, the terminal device A with the identification of MAC A is connected with the second device in the time period from time B to time C, and the connection rate and the signal strength at the time points A1, A2, A3 in the connection state.
[0068] For example, assume that the terminal device B establishes a connection with the second device A at a first time, the second device A can record the identity of the terminal device B and record the first time as the time when the connection between the terminal device B and the second device A is established. If the terminal device B disconnects the connection with the second device A at a second time, the second device A can record the second time as the time when the connection between the terminal device B and the second device A is disconnected. The identity of the terminal device B is used to uniquely identify the terminal device B, for example, can be the device identity and / or the Media Access Control Address (MAC) of the terminal device B.
[0069] In some specific implementations, the connection data can include any one or more of the following: the signal strength of the connection between the terminal device and the second device, the time when the terminal device receives a data packet, the rate at which the terminal device receives a data packet, the rate at which the terminal device sends a data packet, the time delay value of the terminal device receiving a data packet, and the packet loss rate of the terminal device. In the embodiments of the present application, the connection data can be data that can reflect the connection state between the terminal device and the second device, which is not exemplified one by one.
[0070] According to the foregoing, a WLAN system can include a plurality of second devices, and each of the plurality of second devices can record the connection data.
[0071] S302: The second device sends the historical connection data to the first device.
[0072] After obtaining the historical connection data, the second device can send the historical connection data to the first device. The first device can be a network management device or a wireless controller, i.e., the first device can be the network management device 210 or the wireless controller 220. Figure 1 In some specific implementations, if the second device is an AP device and the first device is a wireless controller, the first device can receive the historical connection data sent by the second device through the connection between the second device and the first device. If the second device is an AP device and the first device is a network management device, the second device can send the historical connection data to the wireless controller, and the wireless controller forwards the historical connection data to the first device. In a specific implementation, the second device can also send the connection data to a third device in real time, i.e., the second device can send the connection data to the third device after obtaining the connection data, and the third device stores and analyzes the connection data. The third device can be a network management device (e.g., the first device), a controller, or a memory in a network management system.
[0073] In some specific implementations, the second device can record the historical connection data every second time interval, and report the historical connection data to the first device after recording the historical connection data. In some other specific implementations, the second device can also record the historical connection data once (or a limited number of times) after accessing the WLAN, and send the historical connection data to the second device.
[0074] According to the foregoing, a WLAN system can include multiple second devices, and each of the multiple second devices can send the historical connection data to the first device.
[0075] In some embodiments, the second device sends the connection data to the first device in real time, and the first device stores and manages the connection data to obtain the historical connection data.
[0076] S303: The first device determines the second device as an edge AP device according to the historical connection data.
[0077] The first device can determine whether the second device is an edge AP device according to the historical connection data. The edge AP device is an AP device with a large off-network probability of a terminal device. The terminal device connected to the edge AP device will off-network from the edge AP device after disconnection, and among the terminal devices disconnected from the edge AP device, the number of off-network terminal devices is large. For example, the off-network terminal device of the second device is at least one terminal device that has ever connected to the second device, and the terminal device is in a disconnected state all the time within a first time interval after being disconnected from the second device. In the embodiments of the present application, the terminal device off-network from the edge AP device is referred to as a target terminal device. That is, after being disconnected from the edge AP device, the target terminal device does not establish a connection with the WLAN within the first time interval.
[0078] According to the foregoing, a WLAN system can include multiple second devices, and the first device can determine whether each of the multiple second devices is an edge AP device.
[0079] In the embodiments of the present application, the first device can determine whether the second device is an edge AP device according to the off-network terminal device data of the second device, or determine whether the second device is an edge AP device according to the number of target signal strength terminal devices of the second device. The following takes the second device A as an example to introduce two methods of the first device determining whether the second device is an edge AP device.
[0080] First, the method of the first device determining whether the second device A is an edge AP device according to the off-network terminal device data of the second device A is introduced.
[0081] The first device can first determine off-network terminal device data of the second device A according to historical connection data of the second device A, and then determine whether the second device A is an edge AP device according to the off-network terminal device data of the second device A. The off-network terminal device data of the second device A is the number of off-network terminal devices of the second device A, and / or the off-network terminal device data of the second device A is a ratio of off-network terminal devices of the second device A.
[0082] In a first specific implementation, the off-network terminal device data of the second device A is the number of off-network terminal devices of the second device A. The off-network terminal device of the second device A is a terminal device that has left the WLAN from the second device A. That is, the off-network terminal device of the second device A has left the WLAN from the second device A.
[0083] The first device can first determine off-network terminal devices that have left the WLAN from terminal devices that have disconnected from the second device according to historical connection data of a plurality of second devices, and then count the number of off-network terminal devices of the second device A. Then, the first device can determine whether the second device is an edge AP device according to the number of off-network terminal devices of the second device A. How to determine the number of off-network terminal devices of the second device A will be described below, and will not be repeated here.
[0084] Specifically, if the number of off-network terminal devices of the second device A is greater than or equal to the off-network terminal device number threshold, it means that there are many terminal devices that have left the WLAN from the second device A, and then the first device can determine the second device A as an edge AP device. If the number of off-network terminal devices of the second device A is less than the off-network terminal device number threshold, it means that there are no or only a small number of terminal devices that have left the WLAN from the second device A, and then the first device can determine the second device A as a non-edge AP device.
[0085] In a second specific implementation, the off-network terminal device data of the second device A is a ratio of off-network terminal devices of the second device A. The ratio is a ratio of the number of off-network terminal devices of the second device A to the number of first type terminal devices of the second device A, or a ratio of the number of off-network terminal devices of the second device A to the number of second type terminal devices of the second device A. The first type terminal device of the second device A is a terminal device that has disconnected from the second device, and the second type terminal device of the second device A is a terminal device other than the off-network terminal device in the first type terminal device. That is, the sum of the number of second type terminal devices of the second device A and the number of off-network terminal devices of the second device A is the number of first type terminal devices of the second device A. In some specific implementations, when the ratio of off-network terminal devices is the ratio of the number of off-network terminal devices of the second device A to the number of first type terminal devices of the second device A, the ratio can also be referred to as an off-network ratio.
[0086] Correspondingly, in the process of calculating the ratio of the off-network terminal devices of the second device A, the first device can first determine the terminal devices leaving the WLAN from the terminal devices disconnecting with the second device according to the historical connection data of the plurality of second devices, and count the number of the off-network terminal devices of the second device A. The first device can count the number of the first type terminal devices of the second device A or the number of the second type terminal devices of the second device A according to the historical connection data of the second device A. The introduction of how to determine the number of the off-network terminal devices of the second device A, the number of the first type terminal devices of the second device A and the number of the second type terminal devices of the second device A can be referred to in the following, and will not be repeated here.
[0087] If the ratio of the off-network terminal devices of the second device A is greater than or equal to the off-network terminal device ratio threshold value, it means that the off-network terminal devices account for a large proportion in the plurality of terminal devices disconnecting with the second device A, and it means that the terminal devices connected with the second device A have a higher possibility of leaving the second device A. Then the first device can determine that the terminal devices connected with the second device A have a higher probability of not establishing a connection with the WLAN within the first time interval after disconnecting with the second device. In this case, the first device determines the second device A as an edge AP device.
[0088] If the ratio of the off-network terminal devices of the second device A is less than the off-network terminal device ratio threshold value, it means that the off-network terminal devices account for a small proportion in the plurality of terminal devices disconnecting with the second device A, and it means that the terminal devices connected with the second device A have a lower possibility of leaving the second device A. Then the first device can determine that the terminal devices connected with the second device A have a lower probability of not establishing a connection with the WLAN within the first time interval after disconnecting with the second device, and instead are more inclined to establish a connection with other second devices in the same WLAN system. In this case, the first device determines the second device A as a non-edge AP device.
[0089] According to the foregoing introduction, the second device can report the historical connection data to the first device every second time interval. Then, in the process of judging whether the second device A is an edge AP device, the first device can calculate the off-network terminal device data of the second device A in the second time interval. For example, the first device can count the number of off-network terminal devices of the second device A in the second time interval, judge whether the number of off-network terminal devices of the second device A is greater than or equal to the off-network terminal device number threshold in the third time interval, and determine the second device A as an edge AP device or a non-edge AP device according to the judgment result. Alternatively, the first device can count the number of off-network terminal devices of the second device A in the second time interval and the number of first-type terminal devices of the second device A in the second time interval, so as to obtain the ratio of off-network terminal devices of the second device A. Then, the first device can judge whether the ratio of off-network terminal devices of the second device A is greater than or equal to the off-network terminal device ratio threshold in the fourth time interval, and determine the second device A as an edge AP device or a non-edge AP device according to the judgment result. The second time interval, the third time interval and the fourth time interval can be the same or different. The specific judgment method can be referred to the foregoing introduction, which will not be described here.
[0090] In the third specific implementation, the off-network terminal device data of the second device A includes the ratio of off-network terminal devices of the second device A and the number of off-network terminal devices of the second device A. Then, the first device can determine the second device as an edge AP device when the number of off-network terminal devices of the second device A is greater than or equal to the off-network terminal device number threshold, and the ratio of off-network terminal devices of the second device is greater than or equal to the off-network terminal device ratio threshold.
[0091] The method for the first device to determine the number of off-network terminal devices of the second device and the number of first-type terminal devices of the second device will be introduced below.
[0092] According to the foregoing introduction, the historical connection data of the second device A can include any one or more of the identifier of the terminal device, the time of connection establishment between the terminal device and the second device A, and the time of connection disconnection between the terminal device and the second device A. Then, if the time of connection disconnection between the terminal device B and the second device A is included in the historical connection data of the second device A, it indicates that the terminal device B disconnects the connection with the second device A, and then the first device can determine the terminal device B as the first-type terminal device of the second device A. Through the above method, the first device can determine all the first-type terminal devices of the second device A, and obtain the number of first-type terminal devices of the second device A.
[0093] As explained above, the number of first-class terminal devices in the second device can also be the number of first-class terminal devices in the second time interval. Therefore, when calculating the number of first-class terminal devices in the second device A, the first device can identify terminal devices whose connection with the second device A was broken within the second time interval as first-class terminal devices. For example, suppose the first device receives historical connection data from the second device A at time t0. This historical connection data includes the time t1 when the connection between terminal device B and the second device A was broken. If the time interval between t0 and t1 is less than or equal to the second time interval, the first device can identify terminal device B as a first-class terminal device. If the time interval between t0 and t1 is greater than the second time interval, the first device can identify terminal device B as a non-first-class terminal device.
[0094] As explained above, after a terminal device moves away from the currently connected second device A, it will either leave the coverage area of the entire WLAN or enter the signal coverage area of other second devices in the WLAN system besides second device A. Therefore, after obtaining the first type of terminal devices of second device A, the first device can further determine whether each first type of terminal device of second device A is an off-network terminal device based on the historical connection data of other second devices in the WLAN system.
[0095] Specifically, taking terminal device B as an example, after determining that terminal device B is a first-type terminal device of second device A, the first device can query the historical connection data of other second devices in the WLAN system to see if the connection data between terminal device B and second device A is included after the time point when terminal device B disconnects from second device A.
[0096] If none of the other second devices in the WLAN system (excluding second device A) contains connection data with terminal device B, it means that after disconnecting from second device A, terminal device B does not reconnect to the WLAN. Terminal device B leaves the WLAN, and its last connection with second device A was before leaving the WLAN; that is, terminal device B disconnects from second device A. In this way, the first device can identify second device B as an offline terminal device of second device A.
[0097] If the historical connection data of any one or more second devices other than second device A in the WLAN system includes connection data between terminal device B and second device A after the time point when terminal device B disconnected from second device A, the first device can further determine the time interval between the time when the connection was established and the time when the connection between second device A and terminal device B was disconnected.
[0098] Specifically, it is assumed that the terminal device B disconnects the connection with the second device A at the first time and establishes the connection with the second device C at the second time. The first device can first determine the chronological relationship between the first time and the second time. If the second time is earlier than the first time, it indicates that the terminal device B establishes the connection with the second device C first and then establishes the connection with the second device A. Since the off-network terminal device of the second device A is the terminal device which connects with the second device A last before the off-network, the second time cannot be used to determine whether the terminal device B is the off-network terminal device.
[0099] If the second time is later than the first time, the first device can calculate the time interval between the second time and the first time and compare the calculated time interval with the first time interval. If the time interval between the second time and the first time is less than the first time interval, it indicates that the terminal device B re-establishes the connection with the second device C within the first time interval after disconnecting the connection with the second device A. Then the first device can determine that the terminal device B disconnects the connection with the second device A in order to replace the AP device of the WLAN and not to leave the WLAN. Then the first device can determine the terminal device B as the non-first type terminal device in the second type terminal device. If the time interval between the first time and the second time is greater than or equal to the first time interval, it indicates that the terminal device B does not access the WLAN within the first time interval after disconnecting the connection with the second device A, i.e., the terminal device B leaves the network after disconnecting the connection with the second device A. Then the first device can determine the terminal device B as the off-network terminal device of the second device A. Through the above method, the first device can determine all the off-network terminal devices of the second device A and obtain the number of the off-network terminal devices of the second device A. After calculating the number of the off-network terminal devices of the second device A and the number of the first type terminal devices of the second device A, the first device can subtract the number of the off-network terminal devices of the second device A from the number of the first type terminal devices of the second device A to obtain the number of the second type terminal devices of the second device A.
[0100] Similar to the method of determining the number of the first type terminal devices of the second device A, when determining the number of the off-network terminal devices of the second device A, the first device can determine the number of the off-network terminal devices of the second device A within the third time interval. The specific method can be referred to the foregoing description, which will not be described here,
[0101] In the above specific implementation, the first device can determine whether the terminal device B is the first type of terminal device and / or the off-network terminal device according to a time at which the connection between the second device A and the terminal device B is established and a time at which the connection between the second device A and the terminal device B is disconnected. In some specific implementation manners, if the historical connection data of the second device does not include the time at which the connection is established and the time at which the connection is disconnected, the first device can determine the connection state between the second device and the terminal device B by using a parameter such as a signal strength of the connection between the second device and the terminal device B.
[0102] For example, if the signal strength between the second device A and the terminal device B is weak, which indicates that the connection between the second device A and the terminal device B is relatively unstable, the first device can determine that the connection between the second device A and the terminal device B is disconnected when the signal strength between the second device A and the terminal device B decreases to below a preset threshold, and determine that the connection between the second device A and the terminal device B is established when the signal strength between the second device A and the terminal device B increases to above the preset threshold. Similarly, the first device can also determine the connection state between the terminal device and the second device based on a rate at which the terminal device receives data packets, a rate at which the terminal device sends data packets, a time delay value at which the terminal device receives data packets, and a packet loss rate of the terminal device, so as to determine the number of the first type of terminal device and the number of the second type of terminal device among the terminal devices connected with the second device.
[0103] By performing the above steps, the first device can obtain the number of the first type of terminal device and / or the number of the second type of terminal device among the terminal devices that have ever connected with the second device A. Then, the first device can calculate the off-network terminal device data of the second device A according to the number of the first type of terminal device and / or the number of the second type of terminal device, so as to determine whether the second device A is the edge terminal device according to the off-network terminal device data of the second device A.
[0104] The following will be described by taking the embodiment shown in FIG. 2 as an example. Figure 2
[0105] Suppose that the first device is the network management device 210, and the AP device 231 and the AP device 232 can report respective historical connection data to the network management device 210 through the wireless controller 220, and the off-network terminal device data includes an off-network ratio. Then, the network management device 210 can determine the number of the first type of terminal device and the number of the off-network terminal device of the AP device 231 based on the historical connection data of the AP device 231, and determine the number of the first type of terminal device and the number of the off-network terminal device of the AP device 232 based on the historical connection data of the AP device 232, and then calculate the off-network ratio of the AP device 231 and the off-network ratio of the AP device 232 respectively, so as to determine whether the AP device 231 and the AP device 232 are the edge AP devices respectively.
[0106] For example, it is assumed that the historical connection data of the AP device 231 includes the time T11 at which the connection between the terminal device 241 and the AP device 231 is disconnected, the time T12 at which the connection between the terminal device 242 and the AP device 231 is disconnected, the time T13 at which the connection between the terminal device 243 and the AP device 231 is established, and the time T14 at which the connection between the terminal device 244 and the AP device 231 is established; and the historical connection data of the AP device 233 includes the time T21 at which the connection between the terminal device 241 and the AP device 232 is established, the time T22 at which the connection between the terminal device 243 and the AP device 232 is disconnected, and the time T23 at which the connection between the terminal device 244 and the AP device 232 is disconnected. Here, T11 is earlier than T21, and the interval between T11 and T21 is less than the first time interval; T22 is earlier than T13, and the time interval between T22 and T13 is less than the first time interval, T23 is earlier than T14, and the time interval between T23 and T14 is less than the first time interval. The time interval between any one of T11, T12, T13, T14, T21, T22, and T23 and the current time is less than the second time interval.
[0107] According to the above historical data, within the second time interval, the terminal device 241 first disconnects the connection with the AP device 231, and re-establishes the connection with the AP device 232 within the first time interval to re-enter the WLAN; the terminal device 242 first disconnects the connection with the AP device 231, and does not connect with other AP devices in the WLAN within the first time interval to leave the WLAN; the terminal device 243 first disconnects the connection with the AP device 232, and re-establishes the connection with the AP device 231 within the first time interval to re-enter the WLAN; and the terminal device 244 first disconnects the connection with the AP device 232, and re-establishes the connection with the AP device 231 within the first time interval to re-enter the WLAN.
[0108] Based on this, the network management device 210 can determine the terminal device 241 and the terminal device 242 as the first type of terminal devices of the AP device 231, and determine the terminal device 242 as the off-network terminal device of the AP device 231. The terminal device 243 and the terminal device 244 are determined as the first type of terminal devices of the AP device 232. Based on this, the network management device 210 can calculate the off-network ratio of the AP device 231 as 1 / (1+1)=0.5, and the off-network ratio of the AP device 232 as 0 / (1+1)=0. If the preset threshold is 0.4, since the off-network ratio of the AP device 231 is 0.5, and the off-network ratio of the AP device 232 is 0, the network management device 210 can determine the AP device 231 as the edge AP device, and determine the AP device 232 as the non-edge AP device.
[0109] The above introduces a method for the first device to determine whether the second device A is an edge AP device according to off-network terminal device data of the second device A. The following introduces a method for the first device to determine whether the second device A is an edge AP device according to a number of terminal devices of a target signal strength of the second device.
[0110] First, the principle of deploying AP devices in network planning is briefly introduced.
[0111] The signal strength of an AP device gradually attenuates with an increase in distance, resulting in an AP device being able to provide access to a WLAN for terminal devices within a certain range. In order to improve the network quality of terminal devices, an area with a signal strength higher than a threshold value can be taken as the signal coverage range of an AP device. When deploying a WLAN in the area M, a plurality of AP devices are planned in the area M according to the signal coverage range of the AP devices, so that the signal coverage range of the plurality of AP devices can fully cover the area M. If a terminal device moves to outside the signal coverage range of a currently connected AP device in the area M, the terminal device enters the signal coverage range of another AP device. In this way, only the connected AP device needs to be switched, so that the signal strength of the terminal device is always greater than the threshold value during movement of the terminal device in the area M.
[0112] In the embodiments of the present application, the threshold value for dividing the signal strength of the signal coverage of the AP device is referred to as the signal strength baseline value, and the signal strength can be represented by the received signal strength indication (RSSI). In some embodiments, the signal strength baseline value can be a static fixed value, for example, the signal strength baseline value is the minimum signal strength that the WLAN terminal device should guarantee when accessing the WLAN network specified when the WLAN network is planned. In some specific implementation manners, the value range of the signal strength baseline value can be between -75 decibel relative to one milliwatt (dBm) and -80 dBm. In the process of network planning, if the signal strength of the AP device at the first position is less than the signal strength baseline value, it can be considered that the first position is located outside the signal coverage of the AP device, and a new AP device can be deployed to cover the first position. In some embodiments, the signal strength baseline value is a dynamic value, which is a statistical value according to the signal strength values of all AP devices deployed in the WLAN network. For example, there are 5 APs in the WLAN network, and the lowest value of the signal strength data of each AP device and the terminal device connected thereto is obtained, the lowest value of the signal strength of AP1 is -80 dBm, the lowest value of the signal strength of AP2 is -75 dBm, the lowest value of the signal strength of AP3 is -83 dBm, the lowest value of the signal strength of AP4 is -79 dBm, and the lowest value of the signal strength of AP5 is -85 dBm. The average value of the lowest signal strength values of all AP devices is -80.4 dBm, and the signal strength baseline value is -80.4 dBm.
[0113] If the AP devices in the WLAN system are deployed according to the signal strength baseline value, the signal strength of the terminal device B in the WLAN coverage is always greater than the signal strength baseline value, no matter how the terminal device B moves. In the process of the terminal device B leaving the WLAN, the signal strength of the terminal device B gradually decreases to be less than the signal strength baseline value. Therefore, the signal strength threshold can be set according to the signal strength baseline value. In some embodiments, the signal strength baseline value is taken as the signal strength threshold, for example, the signal strength baseline value is -80 dBm, and the signal strength threshold is -80 dBm. In other embodiments, the average of the signal strength baseline and the medium signal strength value is taken as the signal strength threshold. In the definition of the WLAN network planning of an enterprise, the signal strength greater than or equal to -70 dBm is the ideal signal strength, and the signal strength from -70 dBm to -80 dBm is the medium signal strength. For example, when the signal strength baseline value is -80.4 dBm, the medium signal strength is -80 dBm, the average of the signal strength baseline and the medium signal strength value is -80.2 dBm, and the signal strength threshold is -80.2 dBm.
[0114] If the signal strength of the terminal device is greater than the signal strength threshold, it indicates that the terminal device is in the signal coverage of the AP device and has not left the coverage of the WLAN. If the signal strength of the terminal device is less than or equal to the signal strength threshold, it indicates that the terminal device has left the signal coverage of the currently connected AP device and has not entered the signal coverage of other AP devices, that is, the terminal device has left the coverage of the WLAN. It can be seen that whether the terminal device is off-network can be determined by comparing the signal strength of the terminal device with the signal strength threshold.
[0115] According to the foregoing introduction, the connection data of the second device can include the signal strength of the connection between each terminal device connected to the second device and the second device. Then, the first device can first determine the target signal strength terminal device from the terminal devices connected to (or once connected to) the second device A, count the number of the target signal strength terminal device, and then determine whether the second device A is the edge AP device according to the number of the target signal strength terminal device. The target signal strength terminal device of the second device refers to the terminal device that is connected to at least one terminal device of the second device and has a signal strength less than or equal to the signal strength threshold, and the signal strength threshold is determined according to the signal strength baseline value of the WLAN. The connection data of the second device can be historical connection data or real-time connection data. The target signal strength terminal device among the terminal devices once connected to the second device A can be determined according to the historical connection data of the second device, and the target signal strength terminal device among the terminal devices connected to the second device A can be determined according to the real-time connection data of the second device.
[0116] Specifically, the first device can compare whether the signal strength of each terminal device in the historical connection data of the second device A is lower than or equal to the signal strength threshold, respectively. If the signal strength of the connection between the terminal device B and the second device A is lower than or equal to the signal strength threshold, it indicates that the terminal device B is out of the signal coverage of the second device A and has not disconnected the connection with the second device A. Since the terminal device B has not disconnected the connection with the second device A, it indicates that the terminal device B cannot establish a connection with other second devices in the WLAN system except the second device A. Therefore, the first device can determine the terminal device B as the target signal strength terminal device.
[0117] It should be noted that the historical connection data of the second device A can be the connection data of the second device A in a second time interval. Then the first device can determine, as the target signal strength terminal device, a terminal device that has established a connection with the second device A in the second time interval and the signal strength between which is less than the signal strength threshold.
[0118] The method for determining the target signal strength terminal device from the terminal devices connected with the second device A according to the real-time connection data of the second device can refer to the method for determining the target signal strength terminal device from the terminal devices that have ever connected with the second device A according to the historical connection data of the second device, which is not described herein.
[0119] In the embodiments of the present application, the WLAN system can include one or more second devices. In order to distinguish the second device determined as the edge AP device by the first device from other second devices, the edge AP device is used instead of the second device in the following description.
[0120] S304: The first device sends an indication message to the edge AP device.
[0121] After determining that any one or more second devices in the WLAN system is the edge AP device, the first device can send an indication message to the edge AP device, where the indication message is used to instruct the edge AP device to disconnect the connection with the target terminal device. In some specific implementation manners, when the first device is the controller, the first device can send the indication message to the edge AP device through the wireless controller device.
[0122] In the embodiments of the present application, the target terminal device can be determined by the first device or the edge AP device. In Figure 3In the illustrated embodiment, the target terminal device is determined by the edge AP device. In the case where the target terminal device is determined by the first device, the first device can determine the target terminal device according to the historical connection data of the edge AP device before sending the indication message to the edge AP device. For detailed description of this determination method, please refer to the following Figure 4 The embodiment is described above, and will not be repeated here.
[0123] In some embodiments, the indication message sent by the first device includes the identification of the target terminal device on the edge AP device; in other embodiments, the indication message sent by the first device can also include instruction information for enabling the edge AP device to determine or process the target terminal device; in other embodiments, the indication information sent by the first device can also include a motion state recognition model, which is used by the edge AP device to recognize the target terminal device. For details of this part, please refer to the following description, which will not be repeated here.
[0124] S305: The edge AP device determines the target terminal device according to the indication message.
[0125] After receiving the indication message, the edge AP device can determine the target terminal device according to the indication message. Among the at least one terminal device connected to the second device, the target terminal device is the terminal device that is in the state of leaving the second device and is in the coverage edge of the WLAN. In some specific implementation ways, the edge AP device can obtain the connection data of the edge AP device after receiving the indication message, and determine the target terminal device according to the connection data. The connection data is used to reflect the connection state of each terminal device among the at least one terminal device connected to the edge AP device. In some specific implementation ways, the connection data in S305 and the historical connection data of the second device in the foregoing steps can be the same or different.
[0126] When determining the target terminal device according to the connection data of the edge AP device, the edge AP device can determine the terminal device with a signal strength lower than a preset threshold as the target terminal device, or determine the terminal device as the target terminal device when the terminal device produces stickiness with the edge AP device. In some specific implementation ways, the edge AP device can also determine the motion state of the terminal device according to the connection data, and then determine whether the terminal device is the target terminal device according to the motion state of the terminal device. The first terminal device is taken as an example for detailed description.
[0127] In the process of determining whether the first terminal device is the target terminal device, the edge AP device can first determine the motion state of the first terminal device according to the signal strength of the connection between the first terminal device and the edge AP device in the fifth time interval. The motion state of the first terminal device represents the moving trend of the first terminal device relative to the edge AP device in the fifth time interval, and can include, for example, an away state and an approach state. The approach state means that the first terminal device moves towards the edge AP device, and the away state means that the first terminal device moves away from the edge AP device. Accordingly, in the approach state, the distance between the first terminal device and the edge AP device gradually decreases, and in the away state, the distance between the first terminal device and the edge AP device gradually increases. In some specific implementations, the fifth time interval and the aforementioned second time interval can be the same or different.
[0128] In some specific implementations, in order to more quickly determine the motion state of the first terminal device, the edge AP device can determine the motion state of the first terminal device through a motion state recognition model. The input of the motion state recognition model is the change trend of the signal strength of the connection between the terminal device and the AP device over time, and the output is the motion state of the terminal device relative to the AP device. In the process of determining the motion state of the first terminal device, the edge AP device can input the signal strength of the connection between the first terminal device and the edge AP device in the fifth time interval into the motion state recognition model, so as to determine the motion state of the first terminal device through the motion state recognition model. In some specific implementations, the motion state recognition model is a machine learning model, which can be pre-trained and configured in the AP device, or trained by the first device after determining the edge AP device and sent to the edge AP device through an indication message.
[0129] After determining the motion state of the first terminal device, the edge AP device can determine whether the motion state of the first terminal device satisfies a first condition. The first condition includes that the distance between the first terminal device and the second device after the first terminal device is connected to the second device presents a change trend of first decreasing and then increasing, that is, the motion state of the first terminal device in the fifth time interval is first in the approach state and then in the away state. If the motion state of the first terminal device satisfies the first condition, it means that the first terminal device moves from the signal coverage range of the other AP devices inside the WLAN to the signal coverage range of the edge AP device, and then approaches the edge AP device and moves away from the edge AP device in the signal coverage range of the edge AP device. That is, the first terminal device moves from the inside of the WLAN to the location of the edge AP device and gradually moves away from the edge AP device, which means that the first terminal device has a high probability of being a terminal device that leaves the signal coverage range of the WLAN from the inside of the WLAN. Therefore, the edge AP device can determine the first terminal device as the target terminal device.
[0130] In some specific implementations, the edge AP device can also determine whether the first terminal device is the target terminal device according to the connection time and the motion state. In some specific implementations, the connection data of the first terminal device can include the connection time of the first terminal device with the edge AP device, i.e., the total duration of the connection establishment of the first terminal device with the edge AP device. The edge AP device can determine whether the connection time of the first terminal device with the edge AP device satisfies a second condition. The second condition includes that the connection time is greater than or equal to a preset time threshold. If the connection time satisfies the second condition and the motion state satisfies the first condition, the edge AP device can determine the first terminal device as the target terminal device. If the connection time does not satisfy the second condition and / or the motion state does not satisfy the first condition, the edge AP device can determine the first terminal device as a non-target terminal device.
[0131] S306: The edge AP device disconnects the connection between the edge AP device and the target terminal device.
[0132] After determining the target terminal device, the edge AP device can disconnect the connection between the edge AP device and the target terminal device, so that the target terminal device disconnects the connection with the WLAN and accesses the mobile network in advance. In some specific implementations, the edge AP device can send a disconnection request message to the target terminal device, so that the target terminal device disconnects the connection with the edge AP device according to the indication of the disconnection request message.
[0133] By executing the above method, one or more second devices can be determined as edge AP devices from a plurality of second devices of a WLAN system. In a time period corresponding to the historical connection data, there is a terminal device that leaves the network through the edge AP device. It can be seen that the edge AP device is an AP device deployed at the edge of the WLAN. The terminal device can leave the signal coverage of the entire WLAN by leaving the signal coverage of the edge AP device. There is no or a small number of terminal devices that leave the network through other AP devices except the edge AP device in the same WLAN system. That is, the possibility of the terminal device connected with the edge AP device leaving the network is larger, and the possibility of the terminal device connected with the non-edge AP device leaving the network is smaller. Therefore, the edge AP device controls the terminal device to leave the network, and the non-edge AP device does not control the terminal device to leave the network, which can avoid identifying the terminal device that does not need to leave the network as the terminal device that needs to leave the network, and improve the accuracy of target terminal device identification.
[0134] In Figure 3 In some other specific implementations, the target terminal device can also be determined by the first device. The following will be described in combination with Figure 4The implementation manner of determining the target terminal device by the first device is described in detail.
[0135] Referring to Figure 4 , the figure is a signaling interaction diagram of the device identification method and the terminal device processing method provided by the embodiment of the application. The device identification method and the terminal device processing method provided by the embodiment of the application can include the following steps:
[0136] S401: The second device records historical connection data.
[0137] In the embodiment, the target terminal device is determined by the first device. Accordingly, the historical connection data sent by the second device to the first device can include the signal strength of each terminal device connected with the second device and the identification of the terminal device.
[0138] In order to enable the first device to discover the target terminal device in time, the second device can record the historical connection data periodically. For example, the second device can record the historical connection data every second time interval. In some specific implementation manners, the second device can also record the historical connection data after the connection status of the terminal device changes greatly.
[0139] S402: The second device sends the historical connection data to the first device.
[0140] After obtaining the historical connection data, the second device can send the historical connection data to the first device. The detailed description of S403 can be referred to Figure 3 The description of S302 in the corresponding embodiment is not repeated here.
[0141] The embodiment of the application takes the second device storing the connection data and reporting the historical connection data intermittently as an example for description, and in some specific implementation manners, the second device can also report the connection data in real time, and the first device can store and manage the connection data reported by the second device.
[0142] S403: The first device determines the second device as an edge AP device according to the historical connection data.
[0143] The first device can receive the historical connection data reported by one or more second devices in the WLAN system, and determine the edge AP device according to the historical connection data. The description of S403 can be referred to Figure 3 The description of S303 in the corresponding embodiment is not repeated here.
[0144] S404: The first device determines the target terminal device from the terminal devices connected with the edge AP device according to the historical connection data.
[0145] After identifying the edge AP device, the first device can determine the target terminal device from the terminal devices connected to the edge AP device based on historical connection data.
[0146] Specifically, the first device can first identify one or more terminal devices connected to the edge AP device based on the historical connection data of the edge AP device, and then determine whether the target terminal device exists among the one or more terminal devices connected to the edge AP device. For example, the first device can determine the motion state of the terminal devices based on the historical connection data, and then determine whether each terminal device among the one or more terminal devices connected to the edge AP device belongs to the target terminal device based on the motion state.
[0147] For information on how the first device determines whether a terminal device is the target terminal device, please refer to [link / reference]. Figure 3 The description of S305 in the corresponding embodiment will not be repeated here.
[0148] S405: The first device sends an instruction message to the edge AP device.
[0149] After identifying the target terminal device from among the terminal devices connected to the edge AP device, the first device can send an indication message to the edge AP device, which instructs the edge AP device to disconnect from the target terminal device. In some specific implementations, the indication message may include an identifier of the target terminal device so that the edge AP device can determine the target terminal device from which to disconnect.
[0150] For a detailed description of S405, please refer to Figure 3 The description of S304 in the corresponding embodiment will not be repeated here.
[0151] S406: The edge AP device disconnects from the target terminal device.
[0152] Upon receiving the instruction message, the edge AP device can determine the target terminal device that needs to be disconnected based on the instruction message, and then disconnect the connection with the terminal device.
[0153] By execution Figure 4 The method shown in the embodiment allows edge AP devices to control terminal devices to disconnect from the network, while non-edge AP devices do not control this disconnection process. This avoids misidentifying terminal devices that do not need to disconnect as those that do, improving the accuracy of target terminal device identification. Furthermore, since the target terminal device is determined by the first device, there is no need to deploy a method for identifying the target terminal device on the second device, reducing its workload.
[0154] Accordingly, see Figure 5The embodiment of the present application further provides a device identification apparatus, which comprises:
[0155] The connection data acquisition module 510 is configured to acquire historical connection data of the second device, wherein the historical connection data is used to reflect a connection state of each terminal device in at least one terminal device that has ever connected with the second device and the WLAN.
[0156] The edge AP determination module 520 is configured to determine the second device as an edge AP device according to off-network terminal device data of the second device, wherein the off-network terminal device data of the second device comprises a number and / or a ratio of off-network terminal devices of the second device, and the off-network terminal devices of the second device are terminal devices that have ever connected with the second device and whose connection state is always in a disconnected state within a first time interval after being disconnected with the second device.
[0157] In some specific implementations, Figure 5 The device identification apparatus 500 shown further comprises:
[0158] The target terminal device determination module is configured to determine a target terminal device according to a motion state of at least one terminal device connected with the second device.
[0159] The target terminal device processing module is configured to disconnect the target terminal device from the second device, wherein the target terminal device is a terminal device that is in a state of leaving the second device and is at a coverage edge of the WLAN among at least one terminal device connected with the second device.
[0160] Figure 5 The specific working process of the device identification apparatus can be referred to the foregoing Figure 3 and Figure 4 related descriptions in the corresponding embodiments.
[0161] Correspondingly, referring to Figure 6 The embodiment of the present application further provides a device identification apparatus, which comprises:
[0162] The connection data acquisition module 610 is configured to acquire connection data of the second device, wherein the connection data is used to reflect a signal strength of each terminal device in at least one terminal device connected with the second device.
[0163] The edge AP determination module 620 is configured to determine the second device as an edge AP device according to a target signal strength terminal device quantity of the second device, the target signal strength terminal device quantity of the second device referring to at least one terminal device connected with the second device and having a signal strength less than or equal to a signal strength threshold value, the signal strength threshold value being determined according to a signal strength baseline value of the WLAN.
[0164] In some specific implementations, Figure 6 The device identification apparatus shown in the figure further includes:
[0165] The target terminal device determination module is configured to determine a target terminal device according to a motion state of at least one terminal device connected with the second device.
[0166] The target terminal device processing module is configured to disconnect the target terminal device from the second device, the target terminal device being a terminal device that is in a state of leaving the second device and is at a coverage edge of the WLAN among the at least one terminal device connected with the second device.
[0167] Figure 6 The specific working process of the device identification apparatus shown in the figure can be referred to the foregoing Figure 3 and Figure 4 the related description in the corresponding embodiments.
[0168] Correspondingly, referring to Figure 7 the embodiments of the present application further provide a terminal device processing apparatus, the terminal device processing apparatus 700 includes:
[0169] The receiving module 710 is configured to receive an indication message, the indication message being used to indicate that the apparatus is an edge wireless access point (AP) device.
[0170] The target terminal device determination module 720 is configured to determine a target terminal device from at least one terminal device connected with the apparatus, the target terminal device being a terminal device that is in a state of leaving the second device and is at a coverage edge of the WLAN among the at least one terminal device connected with the apparatus.
[0171] The target terminal device processing module 730 is configured to disconnect the target terminal device from the apparatus.
[0172] In some specific implementations, Figure 7 The target terminal device determination module 720 shown in the figure is specifically configured to:
[0173] The determining module acquires connection data of the device, the connection data being used to reflect a connection state of each terminal device in at least one terminal device connected with the device; and the target terminal device is determined according to the connection data.
[0174] Figure 7 The specific work flow of the device processed by the terminal device can be referred to the foregoing Figure 3 The related description in the corresponding embodiment.
[0175] Referring to Figure 8 The embodiments of the present application further provide a device, which can execute the method Figure 3 or Figure 4 The method executed by the first device or the second device in the embodiments. The device comprises:
[0176] The processor 810, the memory 820 and the network interface 830 are connected with each other through the bus 840.
[0177] The memory 820 includes, but is not limited to, a random access memory (RAM), a read only memory (ROM), an erasable programmable read only memory (EPROM or a flash memory), or a portable read only memory (CD-ROM).
[0178] The processor 810 can be one or more central processing units (CPUs). In the case that the processor 810 is a CPU, the CPU can be a single core CPU or a multi-core CPU.
[0179] The network interface 830 can be a wired interface, such as a fiber distributed data interface (FDDI), a gigabit Ethernet (GE) interface; or a wireless interface.
[0180] The network interface 830 is configured to receive connection information and / or send an indication message, or to establish a connection with a terminal device and / or receive an indication message.
[0181] The memory 820 is configured to store program code.
[0182] Optionally, the processor 810 can be configured to read the program code stored in the memory 820 and perform the following operations:
[0183] obtaining historical connection data of the second device, the historical connection data being used to reflect a connection state of each terminal device in at least one terminal device that has ever connected with the second device and the WLAN; determining the second device as an edge wireless access point (AP) device according to off-network terminal device data of the second device, the off-network terminal device data of the second device including a number and / or a ratio of off-network terminal devices of the second device, the off-network terminal devices of the second device being terminal devices that have ever connected with the second device and have been in a disconnected state for a first time interval after being disconnected with the second device.
[0184] Alternatively, the processor 810 can be configured to read the program code stored in the memory 820 and perform the following operations or execute the following operations:
[0185] obtaining historical connection data of the second device, the historical connection data being used to reflect a connection state of each terminal device in at least one terminal device that has ever connected with the second device and the WLAN; determining the second device as an edge wireless access point (AP) device according to off-network terminal device data of the second device, the off-network terminal device data of the second device including a number and / or a ratio of off-network terminal devices of the second device, the off-network terminal devices of the second device being terminal devices that have ever connected with the second device and have been in a disconnected state for a first time interval after being disconnected with the second device.
[0186] Alternatively, the processor 810 can be configured to read the program code stored in the memory 820 and perform the following operations or execute the following operations:
[0187] receiving an indication message, the indication message being used to indicate that the second device is an edge wireless access point (AP); determining a target terminal device from at least one terminal device connected with the second device, the target terminal device being a terminal device that is in a state of leaving the second device and is at a coverage edge of the WLAN; and disconnecting the connection with the target terminal device.
[0188] Figure 8 The implementation of the device can refer to Figure 3 andthe related description in the corresponding embodiments. Figure 4
[0189] The embodiments of the present application further provide a computer readable storage medium including a computer program, the computer program being executed by a processor to perform the method determined by the above device.
[0190] The embodiment of the present application further provides a computer readable storage medium comprising a computer program, the computer program being executed by a processor to perform the method processed by the terminal device.
[0191] The embodiment of the present application further provides a computer program product comprising a program or code, the program or code being executed on a computer to implement the method determined by the device.
[0192] The embodiment of the present application further provides a computer program product comprising a program or code, the program or code being executed on a computer to implement the method processed by the terminal device.
[0193] The terms "first", "second", "third", "fourth" and the like in the description of the specification and claims and the above-described drawings (if any) are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "comprise" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units does not have to be limited to only those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0194] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be described here.
[0195] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be omitted or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0196] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, i.e. they can be located in one place or distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.
[0197] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0198] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0199] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in this invention can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.
Claims
1. A system for processing terminal devices, characterized in that, The system includes a first device and a second device, wherein the second device belongs to a wireless local area network (WLAN). The first device is used to acquire historical connection data of the second device, and the historical connection data is used to reflect the connection status of each terminal device among at least one terminal device that has previously connected to the second device with the WLAN. The first device is used to determine the second device as an edge wireless access point (AP) device based on the off-network terminal device data of the second device. The off-network terminal device data of the second device includes the number and / or ratio of off-network terminal devices of the second device. The off-network terminal devices of the second device are at least one terminal device that was previously connected to the second device, and the terminal device whose connection status is always in the disconnected state within a first time interval after being disconnected from the second device. The second device is used to disconnect from the target terminal device, which is at least one terminal device connected to the second device that is in a state of leaving the second device and is at the coverage edge of the WLAN.
2. The system according to claim 1, characterized in that, The first device identifies the second device as an edge AP device based on the off-network terminal device data of the second device, including: If the number of off-network terminal devices of the second device is greater than or equal to the threshold number of off-network terminal devices, the first device identifies the second device as an edge AP device; or... If the ratio of the off-network terminal devices of the second device is greater than or equal to the off-network terminal device ratio threshold, the first device will identify the second device as an edge AP device.
3. The system according to claim 1 or 2, characterized in that, The ratio of the number of off-network terminal devices of the second device is the ratio of the number of off-network terminal devices of the second device to the number of first-type terminal devices, or the ratio of the number of off-network terminal devices of the second device to the number of second-type terminal devices. The first-type terminal devices are terminal devices that have been disconnected from the second device, and the number of second-type terminal devices is the number of first-type terminal devices minus the number of off-network terminal devices of the second device.
4. The system according to any one of claims 1 to 3, characterized in that, The second device disconnecting from the target terminal device includes: The second device acquires the connection data of the second device; The second device determines the target terminal device based on the connection data; The second device disconnects from the target terminal device.
5. The system according to claim 4, characterized in that, The at least one terminal device connected to the second device includes a first terminal device, and the connection data of the first terminal device includes the signal strength of the connection between the first terminal device and the second device. The second device determines the target terminal device based on the connection data as follows: The second device determines the motion state of the first terminal device based on the signal strength between the first terminal device and the second device during the second time interval; If the motion state of the first terminal device meets the first condition, the second device will identify the first terminal device as the target terminal device. The first condition includes the fact that after the first terminal device is connected to the second device, the distance between the first terminal device and the second device shows a trend of first decreasing and then increasing.
6. The system according to claim 5, characterized in that, The second device determines the motion state of the first terminal device based on the signal strength between the first terminal device and the second device during a second time interval, including: The second device determines the motion state of the first terminal device through a motion state recognition model and the signal strength. The motion state recognition model is a machine learning model.
7. The system according to any one of claims 1-6, characterized in that, The first device includes a network management device or a wireless controller, and the second device includes a wireless access point (AP) device or a network device that supports AP functionality.
8. A method for device identification, characterized in that, The second device belongs to a wireless local area network (WLAN), and the method includes: Obtain historical connection data of the second device, the historical connection data being used to reflect the connection status of each of at least one terminal device that has previously connected to the second device with the WLAN; The second device is identified as an edge wireless access point (AP) device based on the off-network terminal device data of the second device. The off-network terminal device data of the second device includes the number and / or ratio of off-network terminal devices of the second device. The off-network terminal devices of the second device are terminal devices that have been connected to the second device and whose connection status remains disconnected for a first time interval after disconnection from the second device.
9. The method according to claim 8, characterized in that, The step of identifying the second device as an edge AP device based on the off-network terminal device data of the second device includes: If the number of off-network terminal devices of the second device is greater than or equal to the threshold number of off-network terminal devices, the second device is identified as an edge AP device, or... If the ratio of the off-network terminal devices of the second device is greater than or equal to the off-network terminal device ratio threshold, the second device is identified as an edge AP.
10. The method according to claim 8 or 9, characterized in that, The ratio of the number of off-network terminal devices of the second device is the ratio of the number of off-network terminal devices of the second device to the number of first-type terminal devices, or the ratio of the number of off-network terminal devices of the second device to the number of second-type terminal devices. The first-type terminal devices are terminal devices that have been disconnected from the second device, and the number of second-type terminal devices is the number of first-type terminal devices minus the number of off-network terminal devices of the second device.
11. The method according to any one of claims 8 to 10, characterized in that, The method further includes: The target terminal device is determined based on the motion state of at least one terminal device connected to the second device; Disconnect the second device from the target terminal device, wherein the target terminal device is at least one of the terminal devices connected to the second device that is in a state of leaving the second device and is located at the coverage edge of the WLAN.
12. The method according to claim 11, characterized in that, Determining the target terminal device based on the motion state of at least one terminal device connected to the second device includes: The motion state of at least one terminal device connected to the second device is obtained based on a motion state recognition model, wherein the motion state recognition model is a machine learning model. The target terminal device is determined based on the motion state of the terminal device.
13. The method according to any one of claims 8-12, characterized in that, The method is performed by a first device, which includes a network management device or a wireless controller, and the second device includes a wireless access point (AP) device or a network device that supports AP functionality.
14. A method for device identification, characterized in that, The second device belongs to a wireless local area network (WLAN), and the method includes: Obtain historical connection data of the second device, the historical connection data being used to reflect the signal strength of each of at least one terminal device that was previously connected to the second device within a second time interval; The second device is identified as an edge wireless access point (AP) device based on the number of terminal devices with target signal strength of the second device. The terminal devices with target signal strength of the second device refer to those terminal devices that have been connected to the second device during the second time interval and whose signal strength has been lower than or equal to a signal strength threshold, which is determined based on the signal strength baseline value of the WLAN.
15. The method according to claim 14, characterized in that, The method further includes: The target terminal device is determined based on the motion state of at least one terminal device connected to the second device; Disconnect the second device from the target terminal device, wherein the target terminal device is at least one terminal device connected to the second device and is located at the edge of the coverage area of the second device.
16. The method according to claim 14 or 15, characterized in that, Determining the target terminal device based on the motion state of at least one terminal device connected to the second device includes: The motion state of at least one terminal device connected to the second device is obtained based on a motion state recognition model, wherein the motion state recognition model is a machine learning model. The target terminal device is determined based on the motion state of the terminal device.
17. The method according to any one of claims 14-16, characterized in that, The method is performed by a first device, which includes a network management device or a wireless controller, and the second device includes a wireless access point (AP) device or a network device that supports AP functionality.
18. A method for processing terminal equipment, characterized in that, The second device belongs to a wireless local area network (WLAN), and the method includes: The second device receives an indication message, which indicates that the second device is an edge wireless access point (AP). The second device determines a target terminal device from at least one terminal device connected to the second device, wherein the target terminal device is a terminal device that is in a state of leaving the second device and is at the coverage edge of the WLAN among the at least one terminal device connected to the second device; The second device disconnects from the target terminal device.
19. The method according to claim 18, characterized in that, The second device determines the target terminal device from at least one terminal device connected to the second device, including: The second device acquires connection data, which reflects the connection status of each terminal device among at least one terminal device connected to the second device. The second device determines the target terminal device based on the connection data.
20. The method according to claim 18 or 19, characterized in that, The at least one terminal device connected to the second device includes a first terminal device, and the connection data of the first terminal device includes the signal strength of the connection between the first terminal device and the second device. The second device determines the target terminal device based on the connection data as follows: The second device determines the motion state of the first terminal device based on the signal strength between the first terminal device and the second device during the first time interval; If the motion state of the first terminal device meets the first condition, the second device will identify the first terminal device as the target terminal device. The first condition includes the fact that after the first terminal device is connected to the second device, the distance between the first terminal device and the second device shows a trend of first decreasing and then increasing.
21. The method according to claim 20, characterized in that, The second device determines the motion state of the first terminal device based on the signal strength between the first terminal device and the second device within a first time interval, including: The second device determines the motion state of the first terminal device through a motion state recognition model and the signal strength. The motion state recognition model is a machine learning model.
22. The method according to claim 20 or 21, characterized in that, The connection data also includes the connection time between the terminal device and the second device. Before determining the first terminal device as the target terminal device, the method further includes: The second device determines that the connection time meets a second condition, the second condition including that the connection time is greater than or equal to a preset time threshold.
23. The method according to any one of claims 18-22, characterized in that, The second device includes a wireless access point (AP) device or a network device that supports AP functionality.
24. A device for device identification, characterized in that, The second device belongs to a wireless local area network (WLAN), and the device includes: A connection data acquisition module is used to acquire historical connection data of the second device, wherein the historical connection data is used to reflect the connection status of each terminal device among at least one terminal device that has previously connected to the second device with the WLAN. The edge wireless access point (AP) determination module is used to determine the second device as an edge AP device based on the off-network terminal device data of the second device. The off-network terminal device data of the second device includes the number and / or ratio of off-network terminal devices of the second device. The off-network terminal devices of the second device are at least one terminal device that was previously connected to the second device, and whose connection status remains disconnected for a first time interval after disconnection from the second device.
25. The apparatus according to claim 24, characterized in that, The device further includes: A target terminal device determination module is used to determine a target terminal device based on the motion state of at least one terminal device connected to the second device. The target terminal device processing module is used to disconnect the target terminal device from the second device. The target terminal device is a terminal device that is in a state of leaving the second device and is located at the coverage edge of the WLAN among at least one terminal device connected to the second device.
26. A device for device identification, characterized in that, The second device belongs to a wireless local area network (WLAN), and the device includes: A connection data acquisition module is used to acquire historical connection data of the second device, wherein the historical connection data is used to reflect the signal strength of each terminal device among at least one terminal device that has been connected to the second device within a second time interval. The edge wireless access point (AP) determination module is used to determine the second device as an edge AP device based on the number of target signal strength terminal devices of the second device. The target signal strength terminal devices of the second device refer to terminal devices that have connected to the second device at least once during a second time interval and whose signal strength has been lower than or equal to a signal strength threshold. The signal strength threshold is determined based on the signal strength baseline value of the WLAN.
27. The apparatus according to claim 26, characterized in that, The device further includes: A target terminal device determination module is used to determine a target terminal device based on the motion state of at least one terminal device connected to the second device. The target terminal device processing module is used to disconnect the target terminal device from the second device. The target terminal device is a terminal device that is in a state of leaving the second device and is located at the coverage edge of the WLAN among at least one terminal device connected to the second device.
28. A terminal device processing apparatus, characterized in that, The device belongs to a wireless local area network (WLAN), and the device includes: A receiving module is configured to receive an indication message, the indication message being used to indicate that the device is an edge wireless access point (AP) device; A target terminal device determination module is used to determine a target terminal device from at least one terminal device connected to the device, wherein the target terminal device is a terminal device that is in a state of leaving the device and is at the coverage edge of the WLAN among the at least one terminal device connected to the device. The target terminal device processing module is used to disconnect the target terminal device from the device.
29. The apparatus according to claim 28, characterized in that, The target terminal device determination module is configured to determine a target terminal device from at least one terminal device connected to the device, including: The target terminal device determination module obtains the connection data of the device, and the connection data is used to reflect the connection status of each terminal device among at least one terminal device connected to the device. The target terminal device determination module determines the target terminal device based on the connection data.
30. A system for processing terminal devices, characterized in that, The system includes a first device and a second device, wherein the first device implements the device identification method as described in any one of claims 8 to 13, or implements the device identification method as described in any one of claims 14 to 17, and the second device implements the terminal device processing method as described in any one of claims 18 to 23.
31. A processing apparatus, characterized in that, include: Processor and memory; The memory is used to store computer programs; The processor is configured to execute a computer program stored in the memory to cause the device to perform the method as claimed in any one of claims 8 to 13, or to perform the method as claimed in any one of claims 14 to 17, or to perform the method as claimed in any one of claims 18 to 23.
32. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method as described in any one of claims 8 to 13, or the method as described in any one of claims 14 to 17, or the method as described in any one of claims 18 to 23.
33. A computer program product, characterized in that, The computer program product includes a program or code that, when run on a computer, implements the method as described in any one of claims 8 to 13, or implements the method as described in any one of claims 14 to 17, or implements the method as described in any one of claims 18 to 23.
Citation Information
Patent Citations
Method for controlling access point operation in wireless communication system
CN107113639A
Detection method, device thereof and system
CN112449361A