Terminal management method and device, electronic equipment and storage medium
By obtaining the first-class MAC address of a multi-link device and finding its mapped second-class MAC address, and performing adaptive management operations, the problem of poor terminal management reliability of multi-link devices is solved, and effective management of multi-link devices is achieved.
Patent Information
- Application Number
- CN202511377459.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-24
- Publication Date
- 2025-12-30
AI Technical Summary
In existing technologies, the terminal management reliability of multi-link devices is poor, and it is difficult to effectively manage terminals with multiple MAC addresses.
By obtaining the first type of MAC address of the target terminal, using the target mapping relationship to find multiple second type of MAC addresses that have a mapping relationship with it, and performing adaptive management operations on the communication links of these addresses, effective management of multi-link devices can be achieved.
It improves the management reliability of multi-link device terminals, meets the terminal management needs of multi-link devices, and realizes effective management of their terminals.
Smart Images

Figure CN121240113A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication technology, and in particular to a terminal management method, apparatus, electronic device, and storage medium. Background Technology
[0002] In the WiFi 7 standard (also known as the IEEE 802.11be standard), the MLD (Multi-Link Device) can connect to multiple frequency bands (e.g., 2.4GHz, 5GHz, and 6GHz) simultaneously through MLO (Multi-Link Operation) technology. The MLD has multiple links, and each link has a corresponding MAC (Media Access Control Address). In addition, the MLD also has a service MAC address for the transmission of service data.
[0003] Terminals belonging to multi-link devices also have certain terminal management needs. For example, to prevent unauthorized network access, only terminal 1 may be allowed to use the LAN of router 2. In this case, terminal 1 needs to be managed. However, the terminal management in related technologies is based on the management method of terminals with a single MAC address. Therefore, it is difficult to effectively manage terminals belonging to multi-link devices, resulting in poor reliability of terminal management for multi-link devices. Summary of the Invention
[0004] The purpose of this application is to provide a terminal management method, apparatus, electronic device, and storage medium to improve the management reliability of terminals belonging to multi-link devices. The specific technical solution is as follows:
[0005] In a first aspect, embodiments of this application provide a terminal management method applied to a wireless access device; the method includes:
[0006] In response to the fulfillment of a management trigger condition, the first type of MAC address of the target terminal to be managed for which the management trigger condition is applied is obtained; wherein, the first type of MAC address of the target terminal is: the MAC address used by the target terminal for data service transmission;
[0007] From the target mapping relationship, find the second type of MAC address that has a mapping relationship with the obtained first type of MAC address to obtain the second type of MAC address to be used; wherein, the target mapping relationship includes: the mapping relationship between the first type of MAC address and the second type of MAC address of each terminal, and the second type of MAC address of any terminal is the MAC address used by the communication link established with the wireless access device;
[0008] For communication links using the second type of MAC address to be utilized, perform management operations adapted to the management triggering conditions to perform the management operations on the target terminal.
[0009] Secondly, embodiments of this application provide a terminal management device applied to a wireless access device; the device includes:
[0010] The first acquisition module is used to acquire the first type of MAC address of the target terminal to be managed in response to the fulfillment of the management triggering condition; wherein, the first type of MAC address of the target terminal is: the MAC address used by the target terminal for data service transmission;
[0011] The lookup module is used to find a second type of MAC address that has a mapping relationship with the obtained first type of MAC address from the target mapping relationship, so as to obtain the second type of MAC address to be used; wherein, the target mapping relationship includes: the mapping relationship between the first type of MAC address and the second type of MAC address of each terminal, and the second type of MAC address of any terminal is the MAC address used by the communication link established with the wireless access device;
[0012] The management module is used to perform management operations on the communication link using the second type of MAC address to be utilized, in accordance with the management triggering conditions, so as to perform the management operations on the target terminal.
[0013] Thirdly, embodiments of this application provide an electronic device, including:
[0014] Memory, used to store computer programs;
[0015] The processor, when executing a program stored in memory, implements any of the aforementioned terminal management methods.
[0016] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the aforementioned terminal management methods.
[0017] Beneficial effects of the embodiments in this application:
[0018] The terminal management method provided in this application can, in response to the fulfillment of a management trigger condition, obtain the first type of MAC address of the target terminal to be managed, which is the MAC address used by the target terminal for data service transmission. From the target mapping relationship, a second type of MAC address that has a mapping relationship with the obtained first type of MAC address is found to obtain the second type of MAC address to be used. The target mapping relationship may include: the mapping relationship between the first type of MAC address and the second type of MAC address of each terminal, where the second type of MAC address of any terminal is the MAC address used for the communication link established with the wireless access device. If the target terminal is a multi-link device, multiple second type of MAC addresses that have a mapping relationship with the first type of MAC address can be found based on the target terminal's first type of MAC address. For the communication link using the found second type of MAC address, management operations adapted to the management trigger condition are performed, thereby realizing management operations for the target terminal belonging to a multi-link device. Therefore, this application embodiment can meet the terminal management needs of terminals belonging to multi-link devices, effectively manage terminals belonging to multi-link devices, and improve the management reliability of terminals belonging to multi-link devices.
[0019] Of course, implementing any product or method of this application does not necessarily require achieving all of the advantages described above at the same time. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other embodiments can be obtained based on these drawings.
[0021] Figure 1(a) is a schematic diagram of the transmission principle for terminals belonging to single-link devices provided by related technologies;
[0022] Figure 1(b) is a schematic diagram of the transmission principle for terminals belonging to multi-link devices provided by related technologies;
[0023] Figure 1(c) is a schematic diagram of the MAC address of a terminal belonging to a multi-link device provided by related technologies;
[0024] Figure 1(d) is a schematic diagram of the MAC address of a terminal belonging to a single-link device provided by related technologies;
[0025] Figure 2 A flowchart illustrating a terminal management method provided in an embodiment of this application;
[0026] Figure 3A schematic diagram illustrating a process for constructing a target mapping relationship, provided as an embodiment of this application;
[0027] Figure 4 A schematic diagram illustrating the principle of a target mapping relationship provided in an embodiment of this application;
[0028] Figure 5(a) is a schematic diagram of the process for disabling the network of a target terminal that is a multi-link device, provided by related technologies;
[0029] Figure 5(b) is a schematic diagram of the process for disabling the network for a target terminal that is a multi-link device according to an embodiment of this application;
[0030] Figure 6(a) is a schematic diagram of the process for providing online reminders to target terminals belonging to multi-link devices, provided by related technologies;
[0031] Figure 6(b) is a schematic diagram of the process for providing an online reminder to a target terminal that belongs to a multi-link device according to an embodiment of this application;
[0032] Figure 7 This is a schematic diagram illustrating the process of network speed limiting for a terminal, provided in an embodiment of this application.
[0033] Figure 8 This is a schematic diagram of the structure of a terminal management device provided in an embodiment of this application;
[0034] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0035] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art based on this application are within the scope of protection of this application.
[0036] First, some technical terms in the embodiments of this application will be introduced:
[0037] WiFi 7 router: Devices that support WiFi 7 hotspot mode can include wireless routers, NVRs (Network Video Recorders), etc.
[0038] AP: Access Point, a wireless access point, can act as a wireless switch for a wireless network and is also the core of a wireless network.
[0039] MLO: Multi-Link Operation, a key technology of WiFi 7, allows devices to connect to multiple frequency bands (such as 2.4GHz, 5GHz, and 6GHz) simultaneously. MLO implements link aggregation and management at the MAC layer, significantly improving network throughput, reducing latency, and enhancing connection stability.
[0040] MLD: Multi-link device, which can connect to multiple frequency bands simultaneously. Each link has its own MAC address, which is used for data transmission and management at the MAC layer. The service MAC address of the MLD can be the same as or different from the MAC address of one of the links.
[0041] Single-Link Device (SLD) refers to a device that establishes a connection with an external network or other devices and transmits data through only one network link at any given time.
[0042] MAC layer: also known as the media access control layer, is the media layer responsible for controlling the sharing of network physical connections among multiple devices / terminals. Its core functions include defining physical addressing, logical topology, and so on.
[0043] To better understand this solution, the relevant technologies are introduced below:
[0044] In related technologies, traditional terminals only have a single link, meaning they only connect to a single frequency band. The MAC address of this link (i.e., the second type of MAC address in this article) can also serve as the service MAC address of the traditional terminal (i.e., the first type of MAC address in this article). Therefore, the link MAC address and the service MAC address of the traditional terminal can be the same MAC address. Correspondingly, terminal management is also a management method for terminals with a single MAC address. In this context, traditional terminals can be considered as terminals belonging to a single link device, such as WiFi 6 routers.
[0045] To better understand the relationship between MAC addresses and terminals, the following diagrams are provided in conjunction with Figures 1(a), 1(b), 1(c), and 1(d):
[0046] Figure 1(a) is a schematic diagram of the transmission principle for terminals belonging to single-link devices. Terminal A and Terminal B are both single-link devices. Terminal A is allocated a 2G radio frequency, and the MAC address of the 2G radio frequency link is linkmac A. The MAC address of Terminal A used for service data transmission is service mac A. linkmac A and service mac A can be the same MAC address. Terminal B is allocated a 5G radio frequency, and the MAC address of the 5G radio frequency link is linkmac B. The MAC address of Terminal B used for service data transmission is service mac B. linkmac B and service mac B can be the same MAC address.
[0047] Figure 1(b) is a schematic diagram of the transmission principle for a terminal belonging to a multi-link device. The terminal belonging to the multi-link device is allocated 2G radio frequency and 5G radio frequency. The MAC address of the 2G radio frequency link is linkmac C1, and the MAC address of the 5G radio frequency link is linkmac C2. The service MAC corresponding to the MAC address of both links is service MAC C, which is used for the transmission of service data.
[0048] Figure 1(c) is a schematic diagram of the MAC addresses of terminals belonging to multi-link devices. LinkMAC 1 of a terminal belonging to a multi-link device is used for wireless connection and can access wireless access devices. LinkMAC 2 is also used for wireless connection and can access wireless access devices. LinkMAC 1 is mapped to a service MAC address used for data transmission. LinkMAC 2 is also mapped to a service MAC address used for data transmission. The service MAC addresses mapped to LinkMAC 1 and LinkMAC 2 are the same.
[0049] Figure 1(d) is a schematic diagram of the MAC address of a terminal belonging to a single-link device. The terminal belonging to a single-link device has a linkmac 3, which is used for wireless connection and data transmission services. The MAC address used by the terminal belonging to a single-link device for wireless connection and data transmission services is the same MAC address.
[0050] However, the management method for terminals with a single MAC address is not suitable for terminals belonging to multi-link devices. When using the above management method to manage terminals belonging to multi-link devices, the user side will see multiple MAC addresses and will not know which MAC addresses belong to the terminals to be managed, making it difficult to achieve effective management. This results in poor management reliability for terminals belonging to multi-link devices.
[0051] Based on the problems described above, embodiments of this application provide a terminal management method, apparatus, electronic device, and storage medium.
[0052] The terminal management method provided in the embodiments of this application is described below.
[0053] The terminal management method provided in this application can be applied to wireless access devices. These devices can be network devices providing wireless access services, with the core function of establishing a wireless local area network (WLAN) or accessing a wide area network (WAN) for terminal connection. Specifically, these devices can be wireless routers, wireless access points (APs), 4G / 5G base stations, etc., but this application does not impose specific limitations on their capabilities. Furthermore, any terminal can access the wireless access device to use the LAN provided by it. For example, the terminal can be a mobile phone, tablet computer, or personal computer (PC), and this application does not impose specific limitations on its capabilities.
[0054] Furthermore, the terminal management method provided in this application embodiment can be applied to various terminal networking scenarios. For example, the terminal management method can be applied to the scenario of using a tablet computer to connect to WiFi at home; the terminal management method can be applied to the scenario of using a mobile phone to connect to WiFi in a shopping mall. This application embodiment does not specifically limit this.
[0055] One terminal management method is applied to a wireless access device; the method includes:
[0056] In response to the fulfillment of a management trigger condition, the first type of MAC address of the target terminal to be managed for which the management trigger condition is applied is obtained; wherein, the first type of MAC address of the target terminal is: the MAC address used by the target terminal for data service transmission;
[0057] From the target mapping relationship, find the second type of MAC address that has a mapping relationship with the obtained first type of MAC address to obtain the second type of MAC address to be used; wherein, the target mapping relationship includes: the mapping relationship between the first type of MAC address and the second type of MAC address of each terminal, and the second type of MAC address of any terminal is the MAC address used by the communication link established with the wireless access device;
[0058] For communication links using the second type of MAC address to be utilized, perform management operations adapted to the management triggering conditions to perform the management operations on the target terminal.
[0059] The terminal management method provided in this application can, in response to the fulfillment of a management trigger condition, obtain the first type of MAC address of the target terminal to be managed, which is the MAC address used by the target terminal for data service transmission. From the target mapping relationship, a second type of MAC address that has a mapping relationship with the obtained first type of MAC address is found to obtain the second type of MAC address to be used. The target mapping relationship may include: the mapping relationship between the first type of MAC address and the second type of MAC address of each terminal, where the second type of MAC address of any terminal is the MAC address used for the communication link established with the wireless access device. If the target terminal is a multi-link device, multiple second type of MAC addresses that have a mapping relationship with the first type of MAC address can be found based on the target terminal's first type of MAC address. For the communication link using the found second type of MAC address, management operations adapted to the management trigger condition are performed, thereby realizing management operations for the target terminal belonging to a multi-link device. Therefore, this application embodiment can meet the terminal management needs of terminals belonging to multi-link devices, effectively manage terminals belonging to multi-link devices, and improve the management reliability of terminals belonging to multi-link devices.
[0060] The following describes a terminal management method provided by an embodiment of this application, with reference to the accompanying drawings.
[0061] like Figure 2 As shown in the embodiment of this application, a terminal management method is provided and applied to a wireless access device. The method may include:
[0062] S201, in response to the fulfillment of the management triggering condition, obtain the first type MAC address of the target terminal to be managed for which the management triggering condition applies;
[0063] The first type of MAC address of the target terminal is the MAC address used by the target terminal for data service transmission;
[0064] It is understood that the management trigger condition can be any condition that triggers terminal management of the target terminal. There are various management trigger conditions, such as receiving a terminal management command from a client (the client can also be considered a user terminal); or the management trigger condition can be triggered by the wireless access device detecting network instability, or by the wireless access device detecting that the connection duration of any terminal's communication link has reached a predetermined duration. This application embodiment does not specifically limit these aspects. For clarity, the method of obtaining the first type of MAC address of the target terminal to be managed will be described in subsequent embodiments and will not be elaborated upon here.
[0065] Furthermore, in response to the fulfillment of management triggering conditions, the wireless access device can obtain the first type MAC address of the target terminal to be managed as indicated by the management triggering conditions. The target terminal to be managed can be a multi-link device or a single-link device; this embodiment does not specifically limit this. The first type MAC address of the target terminal is the MAC address used by the target terminal and the wireless access device for data service transmission. The first type MAC address can also be called the service MAC address or service MAC; this embodiment does not specifically limit this. For example, in response to receiving a terminal management instruction from a client, where the terminal management instruction is a management instruction for terminal A, the wireless access device can obtain the first type MAC address of terminal A, which is the service MAC address of terminal A. It should be emphasized that for any given terminal, the number of first type MAC addresses for that terminal is always one; that is, the number of MAC addresses used by that terminal for data service transmission is always one; this embodiment does not specifically limit this.
[0066] S202, From the target mapping relationship, find the second type of MAC address that has a mapping relationship with the obtained first type of MAC address, and obtain the second type of MAC address to be used;
[0067] The target mapping relationship includes: the mapping relationship between the first type MAC address and the second type MAC address of each terminal, wherein the second type MAC address of any terminal is the MAC address used for the communication link established with the wireless access device;
[0068] It is understood that after obtaining the first type of MAC address of the target terminal, a second type of MAC address that has a mapping relationship with the obtained first type of MAC address can be found from the target mapping relationship to obtain the second type of MAC address to be used. The target mapping relationship can be pre-stored in the wireless access device and can include the second type of MAC addresses that have a mapping relationship with the first type of MAC addresses of each terminal. After any terminal accesses the wireless access device, the mapping relationship between the first type of MAC address and the second type of MAC address of that terminal can be recorded by the wireless access device to form a target mapping relationship. Furthermore, the second type of MAC address of any terminal is the MAC address used for the communication link established with the wireless access device. The second type of MAC address can also be called the link MAC address, the link MAC address, or the linkmac; this application embodiment does not specifically limit this. In addition, the construction method of the mapping relationship of any terminal in the target mapping relationship can be described in other embodiments, and will not be elaborated further here. Also, in one implementation, the target mapping relationship can be added to the kernel module; this application embodiment does not specifically limit this.
[0069] It should be emphasized that if the target terminal is a multi-link device, then the target terminal has multiple Type II MAC addresses; if the target terminal is a single-link device, then the target terminal has only one Type II MAC address. Furthermore, the Type II MAC address of the target terminal is the same as its Type I MAC address. This application does not impose specific limitations on this aspect. For example, if terminal A is a multi-link device, three Type II MAC addresses that are mapped to the Type I MAC address of terminal A can be found from the target mapping relationship, thus obtaining the Type II MAC address to be utilized.
[0070] For example, in one implementation, the wireless access device can add a mapping module to the wireless driver. After obtaining the first type of MAC address of the target terminal, the mapping module finds the second type of MAC address that has a mapping relationship with the obtained first type of MAC address, and obtains the second type of MAC address to be used. The mapping module can be considered as a software module, which stores the mapping relationship between the first type of MAC address and the second type of MAC address of each terminal. This enables terminal management without increasing the hardware cost of the wireless access device, and also reduces the hardware cost. In addition, the mapping module is an independent module with strong portability. Of course, the above is only an exemplary description, and the embodiments of this application do not specifically limit it.
[0071] S203, for a communication link using a second type MAC address to be utilized, perform management operations adapted to the management trigger conditions to manage the target terminal.
[0072] It is understood that after obtaining the second type of MAC address to be utilized, management operations adapted to the management trigger conditions can be performed on the communication link using the second type of MAC address to manage the target terminal. Furthermore, the management operations adapted to different management trigger conditions are also different; for example, the management operation could be disabling the target terminal from the network, limiting the network speed of the target terminal, etc. This application embodiment does not specifically limit this. For clarity, the specific content of the management operations performed on the target terminal will be described in other embodiments, and will not be elaborated upon here.
[0073] The terminal management method provided in this application can, in response to the fulfillment of a management trigger condition, obtain the first type of MAC address of the target terminal to be managed, which is the MAC address used by the target terminal for data service transmission. From the target mapping relationship, a second type of MAC address that has a mapping relationship with the obtained first type of MAC address is found to obtain the second type of MAC address to be used. The target mapping relationship may include: the mapping relationship between the first type of MAC address and the second type of MAC address of each terminal, where the second type of MAC address of any terminal is the MAC address used for the communication link established with the wireless access device. If the target terminal is a multi-link device, multiple second type of MAC addresses that have a mapping relationship with the first type of MAC address can be found based on the target terminal's first type of MAC address. For the communication link using the found second type of MAC address, management operations adapted to the management trigger condition are performed, thereby realizing management operations for the target terminal belonging to a multi-link device. Therefore, this application embodiment can meet the terminal management needs of terminals belonging to multi-link devices, effectively manage terminals belonging to multi-link devices, and improve the management reliability of terminals belonging to multi-link devices.
[0074] Alternatively, in another embodiment, such as Figure 3 As shown, the methods for constructing the mapping relationship for any terminal in the target mapping relationship include:
[0075] S301, in response to any terminal’s connection request to the wireless access device, parse the handshake information used by the terminal that sent the connection request, and obtain the terminal’s second type MAC address;
[0076] It is understood that any terminal can send a connection request to the wireless access device. This terminal can be a multi-link device or a single-link device; this application embodiment does not specifically limit this. Furthermore, after the terminal sends a connection request to the wireless access device, the terminal can perform a handshake with the wireless access device. During the handshake process, the terminal can send handshake information to the wireless access device. This handshake information may include the terminal's first-type MAC address, second-type MAC address, terminal identifier, etc.; this application embodiment does not specifically limit this. The wireless access device can then parse the handshake information used by the terminal that issued the connection request to obtain the terminal's second-type MAC address, thereby understanding the MAC address used in the communication link established between the terminal and the wireless access device. Any parsing method in related technologies is applicable to this application embodiment.
[0077] S302, Detect whether the second type MAC address of the terminal exists in the current target mapping relationship;
[0078] It is understandable that the detection checks whether the second type of MAC address of the terminal exists in the current target mapping relationship. If it does not exist, step S303 can be executed. For example, in one implementation, if it exists, it is considered that there is a mapping relationship between the first type of MAC address and the second type of MAC address of the terminal in the target mapping relationship. Therefore, it is not necessary to construct a mapping relationship between the first type of MAC address and the second type of MAC address of the terminal in the target mapping relationship. This application embodiment does not make specific limitations on this.
[0079] S303, identify whether the terminal is a multi-link device;
[0080] It is understood that step S303 is for the case where the second type of MAC address of the terminal does not exist. That is, there is no mapping relationship between the first type of MAC address and the second type of MAC address of the terminal in the target mapping relationship. This could be because the terminal is sending a connection request to the wireless access device for the first time, and the second type of MAC address of the terminal does not exist in the current target mapping relationship, or the second type of MAC address of the terminal has been deleted, resulting in the absence of the second type of MAC address of the terminal in the current target mapping relationship. This application embodiment does not specifically limit this. Furthermore, in the case where the second type of MAC address does not exist, it can be identified whether the terminal belongs to a multi-link device. If it does not, step S304 is executed; if it does, step S305 is executed. Additionally, identifying whether the terminal belongs to a multi-link device can be based on the handshake information described above, and this application embodiment does not specifically limit this.
[0081] S304, the obtained second type MAC address is determined as the first type MAC address of the terminal, and the mapping relationship between the first type MAC address and the second type MAC address of the terminal is added to the target mapping relationship;
[0082] It is understandable that step S304 is for the case where the terminal does not belong to a multi-link device. The terminal may belong to a single-link device. The terminal's first type MAC address and its second type MAC address are the same MAC address. Therefore, the obtained second type MAC address can be determined as the terminal's first type MAC address, and the mapping relationship between the terminal's first type MAC address and the second type MAC address can be added to the target mapping relationship.
[0083] S305: Parse the first type MAC address of the terminal from the handshake information, and add the mapping relationship between the first type MAC address and the second type MAC address of the terminal in the target mapping relationship.
[0084] It is understandable that step S305 is for the case where the terminal is a multi-link device. The first type of MAC address of the terminal can be obtained from the above handshake information, a mapping relationship between the first type of MAC address and the second type of MAC address of the terminal can be established, and the mapping relationship can be added to the target mapping relationship so that the second type of MAC address and the first type of MAC address of the terminal exist in the current target mapping relationship.
[0085] To better understand the content regarding target mapping relationships, the following explanation is provided in conjunction with the accompanying diagram, such as... Figure 4 As shown:
[0086] Terminal a is a multi-link device with two communication links and MAC addresses linkmac a1 and linkmac a2, respectively. Linkmac a1 and linkmac a2 can be considered as second-class MAC addresses of terminal a. The two second-class MAC addresses of terminal a are mapped to first-class MAC addresses, namely service MAC a. Terminal b is a multi-link device with two communication links and MAC addresses linkmac b1 and linkmac b2, respectively. Linkmac b1 and linkmac b2 can be considered as second-class MAC addresses of terminal b. The two second-class MAC addresses of terminal b are mapped to first-class MAC addresses, namely service MAC b. Terminal c is a single-link device with one communication link and MAC address linkmac c. Linkmac c can be considered as a second-class MAC address of terminal c. The second-class MAC address of terminal c is mapped to first-class MAC addresses, namely service MAC c. Service MAC c and linkmac c can be considered as the same MAC address. All of the above mapping relationships can be added to the terminal MAC table, where the terminal MAC table can also be considered as the target mapping relationship in the embodiments of this application.
[0087] As can be seen, in response to any terminal's connection request to the wireless access device, the handshake information used by the terminal issuing the connection request is parsed to obtain the terminal's second-type MAC address. The system then checks whether the terminal's second-type MAC address exists in the current target mapping relationship. If it does not exist, the system identifies whether the terminal belongs to a multi-link device. If not, the obtained second-type MAC address can be determined as the terminal's first-type MAC address, and this mapping relationship is added to the target mapping relationship. If the terminal belongs to the multi-link device, the first-type MAC address is parsed from the handshake information, and this mapping relationship is added to the target mapping relationship. Therefore, the target mapping relationship can store the mapping relationship between any terminal's first-type MAC address and second-type MAC address. Subsequently, based on this mapping relationship, terminal management can be performed on any terminal, thereby improving the reliability of terminal management.
[0088] Optionally, in another embodiment, satisfying the management triggering condition includes:
[0089] Receive terminal management instructions based on terminal information in the specified interface of the client;
[0090] The designated interface of the client is used to display at least: terminal information of the terminal currently accessing the wireless access device; the terminal information includes the first type MAC address of the terminal currently accessing the wireless access device determined based on the target mapping relationship, and / or, the name information of the terminal detected based on the determined first type MAC address;
[0091] Accordingly, obtaining the first type of MAC address of the target terminal to be managed, which is subject to the management triggering conditions, includes step A1:
[0092] Step A1: Based on the terminal information indicated by the terminal management command, determine the first type MAC address of the target terminal to which the terminal management command is directed.
[0093] It is understood that, in this embodiment, satisfying the management trigger condition can be receiving a terminal management instruction issued based on terminal information in a specified interface of the client. This terminal management instruction can be issued through the specified interface of the client or by the wireless access device. If issued through a specified interface, it can be considered a terminal management instruction issued by the user to the wireless access device through the specified interface of the client. If issued by the wireless access device itself, it can be issued by the wireless access device after detecting network instability. This embodiment does not specifically limit this. It should be emphasized that when the terminal is a multi-link device, the terminal information does not include multiple second-type MAC addresses of the terminal. This embodiment does not specifically limit this. In one implementation, when the terminal does not satisfy any predetermined condition, the wireless access device responds to satisfying the management trigger condition to perform terminal management. The predetermined condition can be a condition related to the terminal's naming rules or a condition related to the terminal's network connection duration. This embodiment does not specifically limit this.
[0094] Furthermore, the designated interface of the client is used to display at least the terminal information of the terminal currently accessing the wireless access device. The terminal information may include the first type MAC address of the terminal currently accessing the wireless access device determined based on the target mapping relationship, and / or the name information of the terminal detected based on the determined first type MAC address. This name information may also be obtained by parsing handshake information; this embodiment of the application does not specifically limit this. Of course, the terminal information may also include other information, such as: terminal access information, terminal type, terminal IP address, etc. This embodiment of the application does not specifically limit this. For example, the terminal information may include the name information of terminal A: Xiao Wang's mobile phone, the first type MAC address of terminal A, and the access time of terminal A: 10:20:35.
[0095] Accordingly, if the terminal information includes the first type MAC address of the terminal currently accessing the wireless access device, the first type MAC address of the target terminal for the terminal management command can be directly determined from the terminal information indicated by the terminal management command; if the terminal information does not include the first type MAC address of the terminal currently accessing the wireless access device, then the terminal information includes the name information of the terminal detected based on the determined first type MAC address, and the first type MAC address of the target terminal for the terminal management command can be directly found based on the name information.
[0096] As can be seen, meeting the management trigger conditions can include receiving a terminal management command issued based on terminal information in a specified interface on the client. Based on the terminal information indicated by the terminal management command, the first type MAC address of the target terminal can be determined. The terminal information can be displayed in the specified interface on the client, so that the user can at least see the terminal's first type MAC address and / or the terminal's name information, allowing the user to clearly understand the terminals that can be managed, thus improving the user experience. Furthermore, when the terminal is a multi-link device, multiple second type MAC addresses of the terminal will not be displayed, allowing the user to more clearly understand the terminals that can be managed, improving the user experience and management reliability.
[0097] Alternatively, in another embodiment, the terminal management instructions include: instructions for characterizing network disabling;
[0098] For communication links using the second type of MAC address to be utilized, perform management operations adapted to the management trigger conditions to manage the target terminal, including step B1:
[0099] Step B1: Disable the communication link using the second type of MAC address to be exploited, thereby disabling the network for the target terminal.
[0100] It is understandable that terminal management commands can be commands used to indicate network disabling. They can obtain the first type of MAC address of the target terminal to be managed, and find the second type of MAC address that has a mapping relationship with the obtained first type of MAC address from the target mapping relationship, thus obtaining the second type of MAC address to be used. When the target terminal of the command indicating network disabling is a multi-link device, there are also multiple second type of MAC addresses to be used. Subsequently, the communication links using the second type of MAC addresses to be used can be disabled, thereby disabling multiple links of the target terminal to disable the network for the target terminal. For example, terminal A is a multi-link device with 3 communication links, and the MAC addresses of the 3 communication links are the second type of MAC addresses of terminal A. Disabling these 3 communication links disables the network for terminal A. Conversely, when the target terminal of the command is a single-link device, there is only one second type of MAC address to be used. The communication link using this second type of MAC address is directly disabled to disable the network for the target terminal.
[0101] To better understand the above content regarding disabling network access on terminals, the following explanation is provided with reference to the accompanying figures, as shown in Figures 5(a) and 5(b):
[0102] Figure 5(a) is a schematic diagram of the process for disabling the network of a target terminal that is a multi-link device, provided by related technologies;
[0103] S501, issues the first type of MAC address of the target terminal for the instruction used to indicate network disabling;
[0104] S502, determine part of the Type 2 MAC address of the target terminal, and disable the communication link using part of the Type 2 MAC address;
[0105] Because the relevant technology does not set up a mapping relationship, it is impossible to determine all the second-class MAC addresses of the target terminal. Only some of the second-class MAC addresses can be determined. The communication links using some of the second-class MAC addresses are disabled, but the target terminal does not achieve network disabling.
[0106] S503, it was determined that the network was disabled on the target terminal.
[0107] Figure 5(b) is a schematic diagram of the process for disabling the network for a target terminal that is a multi-link device according to an embodiment of this application;
[0108] S511, issues the first type of MAC address of the target terminal for the instruction used to indicate network disabling;
[0109] S512, From the target mapping relationship, find the second type of MAC address that has a mapping relationship with the first type of MAC address, and obtain the second type of MAC address to be used;
[0110] S513 disables the communication link using the second type MAC address to be exploited, thereby disabling the network for the target terminal.
[0111] In addition, the network disabling process described in Figure 5(b) also applies to terminals that are single-link devices, and this application embodiment does not specifically limit this.
[0112] It is evident that when the terminal management command is used to indicate network disabling, the communication link using the second type MAC address to be utilized can be disabled to disable the network for the target terminal, thereby achieving terminal management. When the target terminal is a multi-link device, the communication links using multiple second type MAC addresses of the target terminal can be disabled to disable the network for the target terminal, thereby improving the management reliability of terminals belonging to multi-link devices.
[0113] Optionally, in another embodiment, the instructions for characterizing network disabling include: blacklist setting instructions;
[0114] Accordingly, based on the terminal information indicated by the terminal management command, the first type of MAC address of the target terminal for which the terminal management command is directed is determined, including step C1:
[0115] Step C1: Based on the terminal information used to add the terminal to the blacklist as indicated by the blacklist setting instruction, determine the first type of MAC address of the target terminal targeted by the blacklist setting instruction;
[0116] or,
[0117] Instructions used to characterize network disabling include: terminal removal instructions.
[0118] Accordingly, based on the terminal information indicated by the terminal management command, the first type of MAC address of the target terminal for which the terminal management command is directed is determined, including step D1:
[0119] Step D1: Based on the terminal information to be eliminated as indicated by the terminal elimination instruction, determine the first type MAC address of the target terminal targeted by the terminal elimination instruction.
[0120] It is understood that, regarding step C1, step C1 refers to the case where the instruction used to characterize network disabling includes a blacklist setting instruction. The blacklist may include a first type of MAC address of the terminal. Any terminal with a first type of MAC address in the blacklist is prohibited from accessing the network provided by the wireless access device. This embodiment of the application does not specifically limit this. Furthermore, based on the terminal information indicated by the blacklist setting instruction for adding to the blacklist, the first type of MAC address of the target terminal targeted by the blacklist setting instruction is determined. Subsequently, based on the first type of MAC address and the target mapping relationship, a second type of MAC address to be used can be found to achieve network disabling for the target terminal in the blacklist. It should be emphasized that by setting a blacklist, network disabling can be performed on multiple terminals. This implementation method is suitable for scenarios where network disabling is performed on multiple terminals.
[0121] It is understandable that, regarding step D1, where the instruction used to characterize network disabling includes a terminal removal instruction, based on the terminal information to be removed indicated by the terminal removal instruction, the first type of MAC address of the target terminal targeted by the terminal removal instruction is determined. Subsequently, based on this first type of MAC address and the target mapping relationship, the second type of MAC address to be used can be found to achieve network disabling for the target terminal targeted by the terminal management instruction. It should be emphasized that the terminal removal instruction can remove terminals currently connected to the wireless access device. This implementation method is suitable for scenarios where real-time network disabling of terminals already connected to the wireless access device is required.
[0122] As can be seen, the instructions used to characterize network disabling include blacklist setting instructions, which can determine the first type of MAC address of the target terminal targeted by the blacklist setting instructions based on the terminal information indicated by the blacklist setting instructions, thus providing a basis for disabling the network for the target terminal targeted by the blacklist setting instructions; the instructions used to characterize network disabling also include terminal removal instructions, which can determine the first type of MAC address of the target terminal targeted by the terminal removal instructions based on the terminal information to be removed indicated by the terminal removal instructions, thus providing a basis for disabling the network for the target terminal targeted by the terminal removal instructions.
[0123] Optionally, in another embodiment, the terminal management instructions include: instructions for characterizing time-limited use;
[0124] For communication links using the second type of MAC address to be utilized, management operations adapted to the management trigger conditions are performed to manage the target terminal, including steps E1-E2:
[0125] Step E1: Monitor whether the connection duration of the communication link using the second type of MAC address to be utilized has reached the target duration; wherein, the target duration is the duration indicated by the management instruction representing the time-limited use.
[0126] Step E2, in response to reaching the target duration, disable the communication link using the second type of MAC address to be exploited, thereby disabling the network for the target terminal.
[0127] It is understood that, regarding step E1, the terminal management instruction includes an instruction characterizing time-limited use, which limits the connection duration between the target terminal's communication link and the wireless access device; and the wireless access device can monitor whether the connection duration of the communication link using the second type of MAC address to be utilized has reached the target duration, which can be the duration preset by the user through the client, characterizing the duration indicated by the time-limited use management instruction. Furthermore, the aforementioned time-limited use function can also be called a parental control function, thereby preventing excessive internet access. For example, if the target duration is 2 hours, the wireless access device can detect whether the connection duration of terminal a's communication link has reached 2 hours.
[0128] Understandably, in step E2, the wireless access device, upon reaching the target duration, disables the communication links using the second type of MAC address to be utilized, thereby disabling the network for the target terminal. When the target terminal targeted by the instruction representing the time limit is a multi-link device, the number of second type of MAC addresses to be utilized is also multiple. Subsequently, the communication links using the second type of MAC addresses to be utilized can be disabled, thereby disabling multiple links of the target terminal to disable the network for the target terminal.
[0129] As can be seen, terminal management instructions can include instructions for characterizing time-limited use. The wireless access device can monitor whether the connection duration of the communication link using the second type of MAC address to be utilized has reached the target duration. In response to reaching the target duration, the device can disable the communication link using the second type of MAC address to be utilized, thereby disabling the network for the target terminal. Therefore, terminal management for the target terminal can include the function of time-limited use, thereby limiting the connection duration of the communication link of the target terminal and improving the user experience.
[0130] Optionally, the method further includes steps F1, F21, and / or F22, and / or F23:
[0131] Step F1: In response to a terminal requesting access to the wireless access device, determine the first type MAC address of the terminal requesting access to the wireless access device based on the second type MAC address in the handshake information of the terminal requesting access to the wireless access device.
[0132] Step F21: If the determined first type MAC address belongs to the first list, deny the terminal currently requesting access to the wireless access device network access; the first list is a blacklist containing the first type MAC addresses of one or more terminals that are prohibited from accessing the network.
[0133] Step F22: If the determined first type MAC address belongs to the second list, allow the terminal currently requesting access to the wireless access device to proceed. If successful access is detected, display the terminal information of the terminal currently requesting access to the wireless access device through the specified interface of the client based on the determined first type MAC address. The second list is a whitelist containing the first type MAC addresses of one or more terminals allowed to access the network.
[0134] Step F23: If the determined first-class MAC address belongs to the third list, monitor whether the access is successful. If the access is successful, based on the determined first-class MAC address, display the terminal information of the terminal currently requesting access to the wireless access device through the specified interface of the client, and provide an online reminder through the client based on the determined first-class MAC address. The third list is a list containing the first-class MAC addresses of one or more terminals used for providing online reminders.
[0135] It is understood that in step F1, when any terminal requests access to the wireless access device, the second type MAC address in the handshake information of the terminal currently requesting access to the wireless access device can be used as a reference. If the first type MAC address of the terminal exists in the target mapping relationship, then the first type MAC address that has a mapping relationship with the second type MAC address of the terminal is searched in the target mapping relationship to obtain the first type MAC address of the terminal currently requesting access to the wireless access device. If the first type MAC address of the terminal does not exist in the target mapping relationship, then the handshake information is parsed to obtain the first type MAC address of the terminal currently requesting access to the wireless access device. This embodiment of the application does not specifically limit this. Furthermore, based on the first type MAC address of the terminal currently requesting access to the wireless access device determined in step F1, subsequent steps F21, F22, and F23 can be executed. Steps F21, F22, and F23 are all AND / OR relationships.
[0136] It is understood that, regarding step F21, if the determined first type of MAC address belongs to the first list, the terminal currently requesting access to the wireless access device is denied network access. The first list may be a blacklist containing one or more terminals with a type of MAC address that are prohibited from accessing the network. Terminals with the first type of MAC address in the blacklist are all prohibited from accessing the network. This application embodiment does not specifically limit this. For example, if the first type of MAC address of terminal a belongs to the first list, then terminal a is denied network access.
[0137] It is understood that, regarding step F22, if the determined first-type MAC address belongs to the second list, the terminal currently requesting access to the wireless access device is allowed to access the wireless access device. The second list is a whitelist that may contain the first-type MAC addresses of one or more terminals allowed to access the network. Terminals with first-type MAC addresses in the whitelist are all allowed to access the network. This embodiment of the application does not specifically limit this. Furthermore, if the wireless access device detects successful access, based on the determined first-type MAC address, it displays the terminal information of the terminal currently requesting access to the wireless access device through a designated interface on the client, so that the user can view it on the designated interface.
[0138] Understandably, regarding step F23, if the determined first-class MAC address belongs to the third list, it is possible to monitor whether the terminal has successfully connected. If the connection is successful, the terminal information of the terminal currently requesting access to the wireless access device will be displayed through the designated interface of the client based on the determined first-class MAC address. Furthermore, an online notification will be sent through the client based on the determined first-class MAC address, so that the user can promptly see that the terminal is online. The third list can be a list containing the first-class MAC addresses of one or more terminals used for terminal online notification. Once a terminal with a first-class MAC address in the third list successfully connects, an online notification can be sent through the client.
[0139] To better understand the above content regarding the terminal's online notification, the following explanation is provided with reference to the accompanying figures, as shown in Figures 6(a) and 6(b):
[0140] Figure 6(a) is a schematic diagram of the process for providing online reminders to terminals belonging to multi-link devices, provided by related technologies;
[0141] S601, a terminal was detected to be connected to a wireless access device, and this terminal is one that requires an online notification;
[0142] S602, determine the MAC address of the terminal;
[0143] Since the terminal has multiple MAC addresses, the determined MAC address could be a Type I MAC address or a Type II MAC address.
[0144] S603 determines terminal information based on the determined MAC address.
[0145] The identified terminal information can be from multiple MAC addresses, so users may see multiple terminals online on the client, and the IP address obtained based on the second type of MAC address is also abnormal.
[0146] Figure 6(b) is a schematic diagram of the process for providing an online reminder to a target terminal that belongs to a multi-link device according to an embodiment of this application;
[0147] S611, It was detected that a terminal has accessed a wireless access device, and this terminal is one that requires an online notification;
[0148] S612, Based on the second type MAC address in the handshake information of the terminal, determine the first type MAC address of the terminal;
[0149] S613 sends online notifications via the client based on the identified Type I MAC address.
[0150] In addition, the online notification process shown in Figure 6(b) is also applicable to terminals that are single-link devices, and this application embodiment does not specifically limit it.
[0151] As can be seen, in response to a terminal requesting access to the wireless access device, the system determines the first type of MAC address of the terminal based on the second type of MAC address in the handshake information of the terminal requesting access. Subsequently, different management functions can be implemented depending on whether the determined first type of MAC address belongs to different lists. If the first type of MAC address belongs to the first list, the terminal can be blocked from accessing the network. If the first type of MAC address belongs to the second list, the terminal can be allowed to access the network. If the first type of MAC address belongs to the third list, the terminal can be notified of its online status, thereby improving the user experience.
[0152] Optionally, in another embodiment, the method further includes steps G1-G3:
[0153] Step G1: In response to the network rate limiting condition being met, obtain the first type MAC address of the terminal indicated by the network rate limiting condition;
[0154] Step G2: Determine the IP address of the terminal indicated by the network rate limiting condition based on the Type I MAC address of the terminal indicated by the network rate limiting condition.
[0155] Step G3: Based on the determined IP address, perform network rate limiting on the terminal indicated by the network rate limiting conditions.
[0156] It is understood that, regarding step G1, the network rate limiting command can be issued through a specified interface or issued by the wireless access device when it detects that the current network status is unstable. This application embodiment does not specifically limit this. Furthermore, in response to meeting the network rate limiting condition, the first type of MAC address of the terminal indicated by the network rate limiting condition is obtained. The process of obtaining the first type of MAC address can be found in the above embodiments and will not be elaborated further here.
[0157] Understandably, for step G2, the IP address of the terminal indicated by the network rate limiting condition can be found based on the Type I MAC address of the terminal indicated by the network rate limiting condition.
[0158] It is understandable that, for step G3, based on the determined IP address, a rule can be added to iptables based on the determined IP address and the hashlimit module, so that iptables can control the data packets of the determined IP address at a set rate to achieve network rate limiting. Here, iptables is a user-space tool used to configure and manage rules, and the hashlimit module is the bandwidth rate limiting module of iptables. This application embodiment does not specifically limit this.
[0159] To better understand the above content regarding network speed limiting for terminals, the following explanation is provided with reference to the accompanying diagram, such as... Figure 7 As shown:
[0160] S701, in response to meeting network rate limiting conditions, obtains the terminal's Type I MAC address and determines the terminal's IP address;
[0161] S702 performs network speed limiting on the terminal based on the determined IP address.
[0162] As can be seen, in response to meeting the network speed limiting conditions, the system obtains the first type MAC address of the terminal indicated by the network speed limiting conditions, determines the IP address of the terminal indicated by the network speed limiting conditions based on the first type MAC address of the terminal indicated by the network speed limiting conditions, and performs network speed limiting processing on the terminal indicated by the network speed limiting conditions based on the determined IP address, thereby realizing the terminal speed limiting function and improving the user experience.
[0163] Based on the method embodiments described above, such as Figure 8 As shown in the figure, this application provides a terminal management device applied to a wireless access device; the device includes:
[0164] The first acquisition module 810 is used to acquire the first type of MAC address of the target terminal to be managed in response to the fulfillment of the management triggering condition; wherein, the first type of MAC address of the target terminal is: the MAC address used by the target terminal for data service transmission;
[0165] The lookup module 820 is used to look up a second type of MAC address that has a mapping relationship with the obtained first type of MAC address from the target mapping relationship, so as to obtain the second type of MAC address to be used; wherein, the target mapping relationship includes: the mapping relationship between the first type of MAC address and the second type of MAC address of each terminal, and the second type of MAC address of any terminal is the MAC address used by the communication link established with the wireless access device;
[0166] The management module 830 is used to perform management operations adapted to the management triggering conditions for the communication link using the second type of MAC address to be utilized, so as to perform the management operations on the target terminal.
[0167] Optionally, the method for constructing the mapping relationship about any terminal in the target mapping relationship includes:
[0168] In response to a connection request from any terminal to the wireless access device, the handshake information used by the terminal that issued the connection request is parsed to obtain the second type MAC address of the terminal.
[0169] Check if the terminal's Type II MAC address exists in the current target mapping relationship;
[0170] In response to a non-existence condition, identify whether the terminal belongs to a multi-link device;
[0171] If it does not belong to the first category, the obtained second category MAC address is determined as the first category MAC address of the terminal, and the mapping relationship between the first category MAC address and the second category MAC address of the terminal is added to the target mapping relationship;
[0172] If it is, the first type of MAC address of the terminal is parsed from the handshake information, and the mapping relationship between the first type of MAC address and the second type of MAC address of the terminal is added to the target mapping relationship.
[0173] Optionally, satisfying the management triggering condition includes:
[0174] Receive terminal management instructions based on terminal information in the specified interface of the client;
[0175] The designated interface of the client is used to display at least: terminal information of the terminal currently accessing the wireless access device; the terminal information includes the first type MAC address of the terminal currently accessing the wireless access device determined based on the target mapping relationship, and / or the name information of the terminal detected based on the determined first type MAC address;
[0176] Accordingly, the first acquisition module includes:
[0177] The determination submodule is used to determine the first type of MAC address of the target terminal to which the terminal management instruction is directed, based on the terminal information indicated by the terminal management instruction.
[0178] Optionally, the terminal management instructions include: instructions for indicating network disabling;
[0179] The management module includes:
[0180] The network disabling submodule is used to disable the communication link using the second type of MAC address to be exploited, so as to disable the network for the target terminal.
[0181] Optionally, the instructions used to characterize network disabling include: blacklist setting instructions;
[0182] Accordingly, the determining submodule has the following functions:
[0183] Based on the terminal information for adding to the blacklist indicated by the blacklist setting instruction, determine the first type of MAC address of the target terminal targeted by the blacklist setting instruction;
[0184] or,
[0185] Instructions used to characterize network disabling include: terminal removal instructions. Accordingly, the determining submodule has the function of: determining the first type of MAC address of the target terminal targeted by the terminal removal instructions based on the terminal information to be removed indicated by the terminal removal instructions.
[0186] Optionally, the terminal management instructions include: instructions for characterizing time-limited use;
[0187] The management module is specifically used for:
[0188] Monitor whether the connection duration of the communication link using the second type of MAC address to be utilized has reached the target duration; wherein, the target duration is the duration indicated by the management instruction representing time-limited use;
[0189] In response to reaching the target duration, the communication link using the second type of MAC address to be utilized is disabled to disable the network for the target terminal.
[0190] Optionally, the device further includes:
[0191] The first determining module is configured to, in response to a terminal requesting access to the wireless access device, determine the first type MAC address of the terminal currently requesting access to the wireless access device based on the second type MAC address in the handshake information of the terminal currently requesting access to the wireless access device;
[0192] The denial module is used to deny network access to a terminal currently requesting access to the wireless access device if the determined first type MAC address belongs to a first list; the first list is a blacklist containing the first type MAC addresses of one or more terminals that are prohibited from accessing the network.
[0193] And / or,
[0194] The access control module is used to allow a terminal currently requesting access to the wireless access device if the determined first type MAC address belongs to the second list, and if successful access is detected, to display the terminal information of the terminal currently requesting access to the wireless access device through a specified interface of the client based on the determined first type MAC address; the second list is a whitelist containing the first type MAC addresses of one or more terminals allowed to access the network.
[0195] And / or,
[0196] The monitoring module is used to monitor whether the access is successful when the determined first-type MAC address belongs to the third list. If the access is successful, based on the determined first-type MAC address, the module displays the terminal information of the terminal currently requesting access to the wireless access device through a specified interface of the client, and provides an online reminder through the client based on the determined first-type MAC address. The third list is a list containing the first-type MAC addresses of one or more terminals used for providing online reminders.
[0197] Optionally, the device further includes:
[0198] The second acquisition module is used to acquire the first type of MAC address of the terminal indicated by the network rate limiting condition in response to the network rate limiting condition being met.
[0199] The second determining module is used to determine the IP address of the terminal indicated by the network rate limiting condition based on the first type of MAC address of the terminal indicated by the network rate limiting condition.
[0200] The network rate limiting module is used to perform network rate limiting on the terminal indicated by the network rate limiting condition based on the determined IP address.
[0201] In the technical solution of this application, the operations of obtaining, storing, using, processing, transmitting, providing and disclosing user personal information are all carried out with the user's authorization.
[0202] This application also provides an electronic device, such as... Figure 9 As shown, it includes:
[0203] Memory 901 is used to store computer programs;
[0204] The processor 902, when executing the program stored in the memory 901, implements any of the above-mentioned terminal management methods.
[0205] Furthermore, the aforementioned electronic device may also include a communication bus and / or a communication interface, with the processor 902, communication interface, and memory 901 communicating with each other via the communication bus.
[0206] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0207] The communication interface is used for communication between the aforementioned electronic devices and other devices.
[0208] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0209] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0210] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, implements any of the terminal management methods described above.
[0211] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute any of the terminal management methods described above.
[0212] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a solid-state drive (SSD), etc.
[0213] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0214] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0215] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.
Claims
1. A terminal management method characterized by comprising: The method is applied to a wireless access device, and comprises the following steps: In response to a management trigger condition being met, a first type of MAC address of a target terminal to be managed, to which the management trigger condition is directed, is acquired; wherein the first type of MAC address of the target terminal is a MAC address used by the target terminal for data service transmission; A second type of MAC address to be used is obtained by searching, from a target mapping relationship, for the second type of MAC address that has a mapping relationship with the acquired first type of MAC address; wherein the target mapping relationship comprises mapping relationships between first type of MAC addresses and second type of MAC addresses of terminals, and the second type of MAC address of any terminal is a MAC address used by a communication link established with the wireless access device; For a communication link using the second type of MAC address to be used, a management operation adapted to the management trigger condition is performed on the target terminal to perform the management operation on the target terminal.
2. The method of claim 1, wherein, The mapping relationship of any terminal in the target mapping relationship is constructed in the following manner: In response to a connection request of any terminal to the wireless access device, handshake information used by the terminal that sends the connection request is parsed to obtain the second type of MAC address of the terminal; It is detected whether the second type of MAC address of the terminal exists in the current target mapping relationship; In response to the second type of MAC address not existing, it is identified whether the terminal belongs to a multi-link device; If the terminal does not belong to the multi-link device, the obtained second type of MAC address is determined as the first type of MAC address of the terminal, and a mapping relationship between the first type of MAC address and the second type of MAC address of the terminal is added to the target mapping relationship; If the terminal belongs to the multi-link device, the first type of MAC address of the terminal is parsed from the handshake information, and a mapping relationship between the first type of MAC address and the second type of MAC address of the terminal is added to the target mapping relationship.
3. The method according to claim 1 or 2, characterized in that, The management trigger condition being met comprises the following steps: A terminal management instruction is received, which is sent based on terminal information in a specified interface of a client; The specified interface of the client is used to at least display terminal information of a terminal currently accessing the wireless access device; the terminal information comprises a first type of MAC address of a terminal currently accessing the wireless access device, which is determined based on the target mapping relationship, and / or name information of the terminal, which is detected based on the determined first type of MAC address; Correspondingly, the first type of MAC address of the target terminal to be managed, to which the management trigger condition is directed, is acquired in the following manner: The first type of MAC address of the target terminal to which the terminal management instruction is directed is determined based on terminal information indicated by the terminal management instruction.
4. The method of claim 3, wherein, The terminal management instruction comprises an instruction for indicating network disabling; For a communication link using the second type of MAC address to be used, a management operation adapted to the management trigger condition is performed on the target terminal to perform the management operation on the target terminal, which comprises the following steps: A link is disabled for the communication link using the second type of MAC address to be used, to perform network disabling on the target terminal.
5. The method of claim 4, wherein, The instruction for indicating network disabling comprises a blacklist setting instruction; Correspondingly, the first type of MAC address of the target terminal to which the terminal management instruction is directed is determined based on terminal information indicated by the terminal management instruction, and the method comprises the following steps of: The first type of MAC address of the target terminal to which the blacklist setting instruction is directed is determined based on terminal information for joining the blacklist indicated by the blacklist setting instruction. Or, The instruction for indicating network disabling comprises a terminal elimination instruction, and correspondingly, the first type of MAC address of the target terminal to which the terminal management instruction is directed is determined based on terminal information indicated by the terminal management instruction, and the method comprises the following steps of: The first type of MAC address of the target terminal to which the terminal elimination instruction is directed is determined based on terminal information for elimination indicated by the terminal elimination instruction.
6. The method of claim 3, wherein, The terminal management instruction comprises an instruction for indicating limited-time use; The management operation adapted to the management trigger condition is performed on the communication link using the second type of MAC address to be used, so as to perform the management operation on the target terminal, and the method comprises the following steps of: Whether the connection duration of the communication link using the second type of MAC address to be used reaches a target duration is monitored; the target duration is a duration indicated by the management instruction for indicating limited-time use; In response to reaching the target duration, link disabling is performed on the communication link using the second type of MAC address to be used, so as to perform network disabling on the target terminal.
7. The method according to claim 1 or 2, characterized in that, The method further comprises: In response to the existence of a terminal requesting to access the wireless access device, the first type of MAC address of the terminal currently requesting to access the wireless access device is determined based on a second type of MAC address in handshake information of the terminal currently requesting to access the wireless access device; In a case where the determined first type of MAC address belongs to a first list, network access of the terminal currently requesting to access the wireless access device is rejected; the first list is a blacklist containing the first type of MAC address of one or more terminals prohibited from accessing the network; And / or, In a case where the determined first type of MAC address belongs to a second list, the terminal currently requesting to access the wireless access device is released, and if access is successfully monitored, terminal information of the terminal currently requesting to access the wireless access device is displayed through a specified interface of a client based on the determined first type of MAC address; the second list is a whitelist containing the first type of MAC address of one or more terminals allowed to access the network; And / or, In a case where the determined first type of MAC address belongs to a third list, whether access is successful is monitored, if access is successful, terminal information of the terminal currently requesting to access the wireless access device is displayed through a specified interface of a client based on the determined first type of MAC address, and online reminding is performed through the client based on the determined first type of MAC address; the third list is a list containing the first type of MAC address of one or more terminals for performing terminal online reminding.
8. The method of claim 1 or 2, wherein, The method further comprises: In response to satisfying the network throttling condition, a first type of MAC address of a terminal indicated by the network throttling condition is acquired; Based on the first type of MAC address of the terminal indicated by the network throttling condition, an IP address of the terminal indicated by the network throttling condition is determined; Based on the determined IP address, network throttling processing is performed on the terminal indicated by the network throttling condition.
9. A terminal management apparatus characterized by comprising: The application is applied to a wireless access device; the device comprises: A first acquisition module is configured to acquire, in response to satisfying a management trigger condition, a first type of MAC address of a target terminal to be managed, which is targeted by the management trigger condition; wherein the first type of MAC address of the target terminal is a MAC address used by the target terminal for data service transmission; A searching module is configured to search, from a target mapping relationship, a second type of MAC address having a mapping relationship with the acquired first type of MAC address, to obtain a second type of MAC address to be used; wherein the target mapping relationship comprises mapping relationships between first types of MAC addresses and second types of MAC addresses of terminals, and the second type of MAC address of any terminal is a MAC address used by a communication link established with the wireless access device; A management module is configured to perform, on a communication link using the second type of MAC address to be used, a management operation adapted to the management trigger condition, to perform the management operation on the target terminal.
10. An electronic device, comprising: The application comprises: A memory is configured to store a computer program; A processor is configured to execute the program stored in the memory, to implement the method in any one of claims 1-8.
11. A computer readable storage medium, characterized in that, The computer program is stored in the computer readable storage medium, and the computer program is executed by the processor to implement the method in any one of claims 1-8.