Method and apparatus for identifying excessive dormancy
By obtaining the dormant data between the AP and the STA and using the machine learning model to automatically determine whether the STA has excessive hibernation, the network problem caused by the excessive hibernation of the STA is solved, and fast and efficient network repair is achieved, improving user experience and network performance.
Patent Information
- Application Number
- CN202110580980.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-26
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2041-05-26
AI Technical Summary
In wireless LANs, sites (STAs) may have excessive dormancy, resulting in discontinuity of services, large delays, high packet loss rates and slow service response, seriously reducing network performance. The existing technology relies on manual problem investigation, and the problem solving cycle is long and inefficient, affecting the user experience.
By obtaining the dormant data generated between the AP and the STA during the association authentication process and data interaction, and inputting it into the machine learning model, it is automatically determined whether the STA has excessive hibernation problem. If there is an over-sleep problem, determine the target repair plan from multiple candidate repair plans and apply the repair plan to fix the over-sleep problem of the STA.
It realizes automatic identification of whether STA has excessive sleep problems, timely repairs network problems caused by STA's excessive sleep, improves network performance and user experience, and reduces the time and cost of manual troubleshooting and solving problems.
Smart Images

Figure CN115412945B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication, and in particular, to a method and apparatus for identifying excessive dormancy. Background Art
[0002] In a wireless local area network (WLAN), a station (STA) can enter a doze state when not communicating and enter an awake state only when communicating with an access point (AP), so as to achieve the purpose of power saving. However, this method may cause the STA to have the phenomenon of excessive dormancy and be difficult to wake up, which may further lead to problems such as discontinuous services, large delays, high packet loss rates, and slow service responses, seriously reducing network performance.
[0003] Currently, for network problems caused by excessive dormancy of the STA, it generally depends on developers to troubleshoot the problems. After the developers determine that the network problem is caused by excessive dormancy of the STA, they can set repair methods. The problem troubleshooting of the above method depends on manual operation, and the problem-solving cycle is long and the efficiency is low, affecting the user experience. Summary of the Invention
[0004] This application provides a method and apparatus for identifying excessive dormancy, which can automatically identify whether there is a problem of excessive dormancy of the STA, and is beneficial to timely repair network problems caused by excessive dormancy of the STA.
[0005] In a first aspect, a method for identifying excessive dormancy is provided. The method includes: obtaining dormancy data generated during the association authentication process and data interaction process between the AP and the STA, where the dormancy data includes the time point when the STA receives a beacon frame, the time point when the STA enters the dormancy state, and the time point when the STA enters the awake state; inputting the dormancy data into a machine learning model to obtain an identification result of the machine learning model, where the identification result is used to indicate whether there is a problem of excessive dormancy of the STA, and the machine learning model is trained according to historical data.
[0006] The above time point when the STA receives the beacon frame is the time point when the STA obtains a beacon frame, and this time point can be calculated by the control device. The time point when the STA enters the dormancy state and the time point when the STA enters the awake state can be reported by the STA to the control device. This dormancy data can be used to determine whether there is a problem of excessive dormancy of the STA.
[0007] The above machine learning model can be trained according to historical data, and the historical data can be data observed or used during manual problem troubleshooting. The coefficients of the machine learning model can be updated at intervals.
[0008] The method for identifying excessive dormancy provided by this application, based on the active monitoring method, inputs the dormancy data of the communication between the AP and the STA into a machine learning model. Using the identification result obtained by the machine learning model, it can automatically determine whether there is an excessive dormancy problem with the STA, which is beneficial to timely repair network problems (such as latency, packet loss, etc.) caused by the excessive dormancy of the STA. This application is beneficial to avoiding in advance network problems that may be introduced by the dormancy of the STA, enabling users to obtain a better service experience.
[0009] In combination with the first aspect, in some implementation manners of the first aspect, the method further includes: if there is an excessive dormancy problem with the STA, determining a target repair solution from multiple candidate repair solutions, and applying the target repair solution to repair the excessive dormancy problem of the STA.
[0010] If there is an excessive dormancy problem with the STA, the control device can arbitrarily select a repair solution from multiple candidate repair solutions as the target repair solution to repair the excessive dormancy problem of the STA; it can also select the repair solution with the highest feasibility from multiple candidate repair solutions as the target repair solution to repair the excessive dormancy problem of the STA.
[0011] Optionally, if there is an excessive dormancy problem with the STA, the control device can also send an alarm message to the STA, and this alarm message is used to inform the user using the STA that there is an excessive dormancy problem with the STA.
[0012] The method for identifying excessive dormancy provided by this application, after identifying that there is an excessive dormancy problem with the STA, the control device can provide different repair solutions for different STAs based on multiple candidate repair solutions, enabling better management of network problems caused by the dormancy of the STA, with timely and efficient repair, improving network performance and user experience.
[0013] In combination with the first aspect, in some implementation manners of the first aspect, the multiple candidate repair solutions include at least two of the following: the first candidate repair solution, instructing the AP to add a traffic indication map (TIM) to the management frame and / or control frame sent to the STA; the second candidate repair solution, instructing the AP to frequently send null data frames to the STA; the third candidate repair solution, instructing the AP to send a unicast beacon frame to the STA, and the unicast beacon frame includes TIM; the fourth candidate repair solution, instructing the AP to send information to enable the unscheduled automatic power save delivery (U-APSD) mode to the STA.
[0014] Specifically, in the first candidate repair solution, the control device may instruct the AP to add a TIM to the management frames and / or control frames sent to the STA. The above control frames may include request to send (RTS) frames, clear to send (CTS) frames, acknowledgment (ACK) frames, and power save poll (PS-POLL) frames; the above management frames may include management frames other than beacon frames. For example, probe request frames, probe response frames, action frames, and announcement traffic indication message (ATIM) frames of an independent basic service set (IBSS), etc. Adding a TIM to the management frames and / or control frames sent by the AP to the STA and simultaneously sending a wake-up frame can increase the probability of waking up the STA.
[0015] In the second candidate repair solution, the control device may instruct the AP to frequently send null data frames to the STA. If the STA has an excessive dormancy problem, the control device may instruct the AP to frequently send null data frames to the STA, so that the STA believes that the AP has buffered the traffic to be sent, preventing the STA from entering the dormancy state.
[0016] In the third candidate repair solution, the control device may instruct the AP to send a unicast beacon frame to the STA, and the unicast beacon frame includes a TIM. Multiple STAs can be associated with one AP. If the control device identifies that a certain STA among the multiple STAs has an excessive dormancy problem, the control device may instruct the AP to send a unicast beacon frame to the STA, and the unicast beacon frame includes a TIM, to increase the probability of waking up the STA without affecting the dormancy of other STAs.
[0017] In the fourth candidate repair solution, the control device may instruct the AP to send information to enable U-APSD to the STA. If the STA has an excessive dormancy problem and supports U-APSD, the control device may instruct the AP to send information to enable U-APSD to the STA, so that the STA enables U-APSD, increasing the probability of waking up the STA and improving the energy-saving ability of the STA.
[0018] In combination with the first aspect, in some implementations of the first aspect, determining a target repair solution from multiple candidate repair solutions includes: attempting multiple candidate repair solutions to obtain data metrics during data transmission between the STA and the AP when different candidate repair solutions are used, where the data metrics include latency and / or packet loss rate; if there is at least one candidate repair solution that meets the preset conditions, selecting the candidate repair solution with the optimal data metrics among the at least one candidate repair solution as the target repair solution.
[0019] The control device can use the above first candidate repair solution, second candidate repair solution, third candidate repair solution, and fourth candidate repair solution for testing respectively through an automated tool to obtain the data metrics during data transmission between the STA and the AP under the first candidate repair solution, second candidate repair solution, third candidate repair solution, and fourth candidate repair solution. When the data metrics of the candidate repair solution meet the preset conditions, it can be used as the target repair solution.
[0020] If there is at least one candidate repair solution that meets the preset conditions, the control device can select the candidate repair solution with the optimal data metrics among the at least one candidate repair solution as the target repair solution.
[0021] The above preset conditions can be predefined.
[0022] The method for identifying excessive dormancy provided in this application, setting preset conditions and selecting the candidate solution with the optimal data metrics as the target repair solution, can repair the STA with excessive dormancy problems faster, reduce the time for trial and error, and is beneficial to timely and efficiently repairing network problems caused by excessive dormancy of the STA, improving network performance and user experience.
[0023] In combination with the first aspect, in some implementations of the first aspect, if there is no candidate repair solution that meets the preset conditions, the AP is instructed to turn off the dormancy mechanism of the STA.
[0024] If the data metrics of the first candidate repair solution, the data metrics of the second candidate repair solution, the data metrics of the third candidate repair solution, and the data metrics of the fourth candidate repair solution do not meet the preset conditions, the control device instructs the AP to turn off the dormancy mechanism of the STA.
[0025] If the AP turns off the dormancy mechanism of the STA, the STA remains in the wake-up state when not communicating and will not enter the dormancy state, which can better solve the problem of excessive dormancy of the STA.
[0026] In combination with the first aspect, in some implementations of the first aspect, before obtaining the dormant data generated during the association authentication process and data interaction process between the AP and the STA, the method further includes: obtaining the identifier of the STA; determining whether there is a repair solution corresponding to the identifier; obtaining the dormancy generated during the association authentication process and data interaction process between the AP and the STA, including: if there is no repair solution corresponding to the identifier, obtaining the dormant data.
[0027] In the control device, the corresponding relationship between the identifiers of multiple STAs and multiple repair solutions can be pre-stored. If it is detected that there is a repair solution corresponding to the identifier in the pre-stored corresponding relationship, the repair solution can be directly used to repair the excessive dormancy problem of the STA; if it is detected that there is no repair solution corresponding to the identifier in the pre-stored corresponding relationship, based on the collected dormant data, a machine learning model is applied for identification. If the STA has an excessive dormancy problem, a target repair solution is determined from multiple candidate solutions, and the target repair solution is used to repair the excessive dormancy problem of the STA.
[0028] The method for identifying excessive dormancy provided by this application can, according to the pre-saved corresponding relationship, predict whether the STA has an excessive dormancy problem, and can directly determine the target repair solution according to this corresponding relationship; it can also update the pre-saved corresponding relationship according to the mapping relationship between the identifier and the target repair solution. Based on the prediction method, this method can timely determine whether the terminal has an excessive dormancy problem, can avoid in advance the network problems caused by the STA having an excessive dormancy problem, can make the network more intelligent, is conducive to timely and efficiently repairing the network problems caused by the excessive dormancy of the STA, and improves network performance and user experience.
[0029] In combination with the first aspect, in some implementations of the first aspect, if there is no repair solution corresponding to the identifier, after determining the target repair solution, the mapping relationship between the identifier of the STA and the target repair solution is saved.
[0030] The control device can add this mapping relationship to the above-mentioned predefined corresponding relationship, so that the target repair solution can be directly determined according to the identifier of the STA and this mapping relationship next time.
[0031] In combination with the first aspect, in some implementations of the first aspect, the dormant data further includes at least one of the following: the time when the AP caches data packets for the STA, the transmission period of the beacon frame, the timestamp carried by the beacon frame, the listening interval of the STA, the number of wake-up frames received by the STA before being successfully awakened, the probability that the STA is awakened by the wake-up frame, the data traffic information of the communication between the AP and the STA, or the channel state information of the communication between the AP and the STA.
[0032] Optionally, the sleep data may include: the timestamp carried in the beacon frame, the listening interval of the STA, the time for the AP to cache data packets for the STA, the transmission period of the beacon frame, the number of wake-up frames received by the STA before being successfully woken up, or the probability that the STA is woken up by the wake-up frame. The sleep data can be used to judge the sleep pattern of the STA, so as to more accurately judge whether there is a problem of excessive sleep of the STA.
[0033] Optionally, the sleep data may further include: the data traffic information of the communication between the AP and the STA, or the channel state information of the communication between the AP and the STA. The sleep data can be used to judge whether the problems such as discontinuous network-side services, large time delay, high packet loss rate, and slow service response are caused by network congestion, rather than the excessive sleep of the STA.
[0034] In a second aspect, a device for identifying excessive sleep is provided, which is used to execute the method in any possible implementation manner of the first aspect above. Specifically, the device includes a module for executing the method in any possible implementation manner of the first aspect above.
[0035] In a third aspect, another device for identifying excessive sleep is provided, including a processor, which is coupled to a memory and can be used to execute instructions in the memory to implement the method in any possible implementation manner of the first aspect above. Optionally, the device further includes a memory. Optionally, the device further includes a communication interface, and the processor is coupled to the communication interface.
[0036] In a fourth aspect, a processing device is provided, including a processor and a memory. The processor is used to read instructions stored in the memory, and can receive signals through a receiver and transmit signals through a transmitter to execute the method in any possible implementation manner of the first aspect above.
[0037] Optionally, there is one or more processors, and one or more memories.
[0038] Optionally, the memory may be integrated with the processor, or the memory is separately arranged from the processor.
[0039] In a specific implementation process, the memory may be integrated with the processor on the same chip, or may be separately arranged on different chips. The present application does not limit the type of the memory and the setting manner of the memory and the processor.
[0040] For example, the related data interaction process such as sending indication information may be a process of outputting indication information from the processor, and receiving capability information may be a process of the processor receiving input capability information. Specifically, the data output by the processing can be output to the transmitter, and the input data received by the processor can come from the receiver. Among them, the transmitter and the receiver can be collectively referred to as a transceiver.
[0041] The processing device in the above fourth aspect may be a chip, and the processor may be implemented by hardware or software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor may be a general-purpose processor that is implemented by reading software code stored in a memory. The memory may be integrated in the processor or may be outside the processor and exist independently.
[0042] In a fifth aspect, there is provided a computer program product, which includes a computer program (which may also be referred to as code or instructions). When the computer program is run, it causes a computer to execute the method in any one of the possible implementation manners in the above first aspect.
[0043] In a sixth aspect, there is provided a computer-readable storage medium that stores a computer program (which may also be referred to as code or instructions). When it runs on a computer, it causes the computer to execute the method in any one of the possible implementation manners in the above first aspect. Description of the Drawings
[0044] Figure 1 is a schematic diagram of a communication system to which the embodiments of the present application are applicable;
[0045] Figure 2 is a schematic internal structure diagram of an access point provided by the embodiments of the present application;
[0046] Figure 3 is a schematic internal structure diagram of a single-antenna station provided by the embodiments of the present application;
[0047] Figure 4 is a schematic flowchart of a method for identifying excessive dormancy provided by the embodiments of the present application;
[0048] Figure 5 is a schematic flowchart of another method for identifying excessive dormancy provided by the embodiments of the present application;
[0049] Figure 6 is a schematic block diagram of a device for identifying excessive dormancy provided by the embodiments of the present application;
[0050] Figure 7 is a schematic block diagram of another device for identifying excessive dormancy provided by the embodiments of the present application. Detailed Embodiments
[0051] Next, the technical solutions in the present application will be described in conjunction with the drawings.
[0052] The technical solution of the embodiment of the present application can be applied to a WLAN communication system, and the embodiment of the present application can be applicable to any one of the WLAN series protocols.
[0053] A WLAN may include one or more basic service sets (BSSs). The network nodes in a basic service set include an access point (AP) and a station (STA). One STA can only be connected to one AP (i.e., associating the STA with the AP), while one AP can be associated with multiple STAs. The user stations (STAs) in a WLAN can be referred to as user units, access terminals, remote terminals, user terminals, terminals, or wireless communication devices. The STA can be any device with wireless local area network communication capabilities, for example, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device, a wearable device, a computing device, or other processing devices connected to a wireless modem.
[0054] The AP in a WLAN can be used to communicate with the STA via the wireless local area network, and transmit the data of the STA to the network side, or transmit the data from the network side to the STA.
[0055] To facilitate the understanding of the embodiment of the present application, first, in combination with Figure 1 a detailed description of the communication system applicable to the embodiment of the present application will be given.
[0056] Figure 1 It is a schematic diagram of the communication system 100 applicable to the embodiment of the present application. As Figure 1 shown, the communication system 100 can be a WLAN system, Figure 1 and the WLAN system can include one or more APs, one or more STAs, and a control device (for example, an access controller (AC) or a server, etc.). Figure 1Take a control device, an AP, and two STAs (including STA 1 and STA 2) as an example for illustration. Among them, wireless communication can be carried out between the AP and the STAs through various standards. For example, single-user multiple-input multiple-output (SU-MIMO) technology or multi-user multiple-input multiple-output (MU-MIMO) technology can be adopted for wireless communication between the AP and the STAs. The control device can control the configuration management, management and broadband access, authentication of wireless users, and security, etc. of the AP.
[0057] Among them, the AP is also called a wireless access point or hotspot, etc. The AP is an access point for mobile users to enter the wired network, and is mainly deployed in homes, inside buildings, and inside campuses, and can also be deployed outdoors. The AP is equivalent to a bridge connecting the wired network and the wireless network, and its main function is to connect various wireless network clients together, and then connect the wireless network to the Ethernet. Specifically, the AP can be a terminal device or a network device with a WLAN chip. The AP can also be a device supporting multiple WLAN standards of 802.11.
[0058] Figure 2 The internal structure diagram of the AP product is shown, where the AP can be multi-antenna or single-antenna. Figure 2 In, the AP includes a physical layer (PHY) processing circuit and a media access control (MAC) layer processing circuit. The physical layer processing circuit can be used to process physical layer signals, and the MAC layer processing circuit can be used to process MAC layer signals.
[0059] Among them, the STA product is usually a terminal product supporting the WLAN standard, such as a mobile phone, a laptop computer, etc. Figure 3 The structure diagram of a single-antenna STA is shown. In the actual scenario, the STA can also be multi-antenna and can be a device with more than two antennas. Figure 3 In, the STA can include a PHY layer processing circuit and a MAC layer processing circuit. The physical layer processing circuit can be used to process physical layer signals, and the MAC layer processing circuit can be used to process MAC layer signals.
[0060] The technical solution provided by the present application will be described in detail below with reference to the accompanying drawings. The embodiments of the present application can be applied to multiple different communication systems, including Figure 1The communication system 100 shown, but not limited to this communication system. In this communication system 100, the power supply of the STA is divided into two states: (1) the awake state, that is, the STA is fully powered and can send and receive data; (2) the doze state, that is, the STA cannot send and receive data and has lower power consumption. The basic idea of the STA's power management is to make the STA enter the doze state as much as possible when not communicating and enter the awake state only when it needs to communicate with the AP, so as to achieve the purpose of power saving for the terminal. However, the STA may have the phenomenon of excessive dozing and being difficult to wake up, which may lead to problems such as discontinuous network-side services, large delays, high packet loss rates, and slow service responses, seriously reducing the network performance.
[0061] For the problems on the network side caused by the STA's excessive dozing, generally, it is necessary to rely on developers to troubleshoot the problems. After the developers determine that the problems on the network side are caused by the STA's excessive dozing, they can set repair methods, such as frequently sending wake-up frames and adding a wake-up field in the beacon frame to deceive the STA that the network side has cached the traffic to be sent to it, increasing the wake-up probability of the STA.
[0062] In view of this, the embodiments of the present application provide a method and device for identifying excessive dozing, which can automatically identify whether the STA has the problem of excessive dozing, which is beneficial to timely and efficiently repairing the network problems caused by the STA's excessive dozing and improving the network performance and user experience.
[0063] First, the related technologies involved in the present application will be introduced below.
[0064] 1. Beacon frame
[0065] The beacon frame is a broadcast frame periodically sent by the AP. The AP realizes information interaction under the terminal dozing mechanism through the beacon frame sent periodically.
[0066] The beacon frame can carry information such as the beacon interval (BI), the timestamp (Timestamp), and the traffic indication map (TIM).
[0067] 1) BI
[0068] The BI is the time interval between adjacent beacon frames sent by the AP to the STA, that is, the period of the beacon frame. The default period of the beacon frame is 0.1 second. In the communication system, the size of the BI can be controlled by the AP.
[0069] In the communication system, if the BI is too large, it will affect the flexibility of the STA accessing the network; if the BI is too small, the communication channel will be interrupted by the beacon frame, affecting the throughput of the entire network.
[0070] 2) Timestamp
[0071] A timestamp can be carried in the beacon frame, and this timestamp is a time point. When both the AP and the STA are at this time point, the AP can send data to the STA.
[0072] 3) TIM
[0073] Each beacon frame has a TIM field, which is mainly used to indicate whether the AP has data to send to the STA, enabling the STA in the sleep state to switch to the wake state to receive the data sent by the AP.
[0074] TIM is a binary indication bit corresponding to the associated identify (AID) of the STA. The TIM contains a bitmap control field, and its maximum number of bytes is 251, so there are a total of 251 * 8 = 2008 bits. Among them, each bit maps to a STA. For example, when a certain bit in the bitmap control field is 1, it means that the STA corresponding to this bit has information stored in the AP.
[0075] If the TIM field in the beacon frame is set to 1, then this beacon frame is a wake-up frame.
[0076] 2. Listen interval
[0077] The listen interval is a parameter set specifically to save energy for the STA. The listen interval is used to indicate how often the STA in the sleep state should turn on the receiver. The listen interval is in units of the beacon interval.
[0078] The listen interval is proposed by the STA during the authentication or association phase with the AP and is negotiated with the AP (the AP can choose to agree or refuse). If the listen interval proposed by the STA is too long, it will use too much cache space of the AP, and the AP can refuse.
[0079] Before introducing the method and device for identifying excessive sleep of the terminal device provided by the embodiments of the present application, the following points are explained first.
[0080] First, in the embodiments shown below, each term and English abbreviation, such as sleep data, candidate repair solution, target repair solution, etc., are exemplary examples given for convenience of description and should not constitute any limitation to the present application. The present application does not exclude the possibility of defining other terms that can achieve the same or similar functions in existing or future protocols.
[0081] Second, in the embodiments shown below, the first, second, and various numerical numbers are only for convenience of description and are not used to limit the scope of the embodiments of the present application. For example, to distinguish different indications, different candidate repair solutions, etc.
[0082] Third, in the embodiments shown below, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (item)" or its similar expression refers to any combination of these items, including any combination of single item (s) or plural items (s). For example, at least one (item) of a, b, and c can represent: a, or b, or c, or a and b, or a and c, or b and c, or a, b, and c, where a, b, and c can be single or multiple.
[0083] Fourth, in the embodiments shown below, "save" can refer to saving in one or more memories. The one or more memories can be set separately or integrated in an encoder, decoder, processor, or communication device. The one or more memories can also be partially set separately and partially integrated in a decoder, processor, or communication device. The type of memory can be any form of storage medium, and the present application does not limit this.
[0084] Fifth, in the embodiments shown below, "pre - defined" can be implemented by pre - saving corresponding codes, tables, or other means that can be used to indicate relevant information in a device (for example, including a site and an access point). The present application does not limit its specific implementation manner. For example, pre - definition can refer to being defined in a protocol.
[0085] The method and apparatus for identifying excessive dormancy provided by the present application will be described in detail below with reference to the accompanying drawings.
[0086] Figure 4 It is a schematic flowchart of a method 400 for identifying excessive dormancy provided by an embodiment of the present application. The method 400 can be executed by a control device, such as an access controller or a server, etc.
[0087] The method 400 may include the following steps:
[0088] S401, obtain the sleep data generated during the association authentication process and data interaction process between the AP and the STA. The sleep data includes the time points when the STA receives beacon frames, the time point when the STA enters the sleep state, and the time point when the STA enters the wake-up state.
[0089] The communication between the AP and the STA can include the following three stages:
[0090] 1. Scanning stage, that is, the AP and the STA discover each other.
[0091] 2. Association authentication stage and early message interaction stage, that is, the AP and the STA negotiate a sleep mechanism. Among them, the sleep mechanism means that the STA enters the sleep state when not communicating and enters the wake-up state when it needs to communicate with the AP.
[0092] 3. Data interaction stage, that is, the AP and the STA perform message interaction based on the negotiated sleep mechanism.
[0093] During the association authentication process and data interaction process between the AP and the STA, information interaction under the terminal sleep mechanism can be achieved through beacon frames. Therefore, the control device can obtain the sleep data generated during the association authentication process and data interaction process between the AP and the STA.
[0094] The sleep data can include: the time point when the STA receives the beacon frame, the time point when the STA enters the sleep state, and the time point when the STA enters the wake-up state. The time point when the STA receives the beacon frame is the time point when the STA obtains the beacon frame, and this time point can be calculated by the control device. The time points when the STA enters the sleep state and the wake-up state can be reported by the STA to the control device. The sleep data can be used to determine whether there is a problem of excessive sleep for the STA.
[0095] Optionally, the sleep data can also include: the timestamp carried by the beacon frame, the listening interval of the STA, the time when the AP caches data messages for the STA, the sending period of the beacon frame, the number of wake-up frames received by the STA before being successfully woken up, or the probability that the STA is woken up by the wake-up frame. The sleep data can be used to determine the sleep pattern of the STA, so as to more accurately determine whether there is a problem of excessive sleep for the STA.
[0096] Optionally, the sleep data can also include: the data traffic information of the communication between the AP and the STA, or the channel state information of the communication between the AP and the STA. The sleep data can be used to determine whether problems such as discontinuous network-side services, large delays, high packet loss rates, and slow service responses are caused by network congestion rather than excessive sleep of the STA.
[0097] In S402, input the sleep data into a machine learning model to obtain the recognition result of the machine learning model, where the recognition result is used to indicate whether there is an over-sleep problem with the STA. The machine learning model is trained based on historical data.
[0098] The machine learning model can be trained based on historical data, and the historical data can be data observed or used during manual problem troubleshooting. The coefficients of the machine learning model can be updated at intervals. For example, the control device can use the above sleep data for a period of time as historical data to update the coefficients in the machine learning model.
[0099] The recognition result of the above machine learning model can be that the STA has an over-sleep problem or that the STA does not have an over-sleep problem. For example, the recognition result can be represented by a binary bit value. "1" is used to indicate that the STA has an over-sleep problem, and "0" is used to indicate that the STA does not have an over-sleep problem; or, "0" is used to indicate that the STA has an over-sleep problem, and "1" is used to indicate that the STA does not have an over-sleep problem. The embodiments of the present application do not limit this.
[0100] The method for recognizing over-sleep provided by the embodiments of the present application is based on an active monitoring method. By inputting the sleep data of the communication between the AP and the STA into the machine learning model, the recognition result obtained by the machine learning model can be used to automatically determine whether there is an over-sleep problem with the STA, which is beneficial to timely repair network problems (such as latency and packet loss) caused by the over-sleep of the STA. The embodiments of the present application are beneficial to avoiding in advance network problems that may be introduced by the sleep of the STA, enabling users to obtain a better service experience.
[0101] As an optional embodiment, the above method 400 further includes: if the STA has an over-sleep problem, determine a target repair solution from multiple candidate repair solutions, and apply the target repair solution to repair the over-sleep problem of the STA.
[0102] If the STA has an over-sleep problem, the control device can arbitrarily select a repair solution from multiple candidate repair solutions as the target repair solution to repair the over-sleep problem of the STA; or it can select the repair solution with the highest feasibility from multiple candidate repair solutions as the target repair solution to repair the over-sleep problem of the STA.
[0103] Optionally, if the STA has an over-sleep problem, the control device can also send an alarm message to the STA, and the alarm message is used to inform the user using the STA that the STA has an over-sleep problem.
[0104] In the method for identifying excessive dormancy provided by the embodiments of the present application, after identifying that a STA has a problem of excessive dormancy, the control device can provide different repair solutions for different STAs based on multiple candidate repair solutions, so that the network problems caused by the dormancy of the STA have a better management solution, the repair is timely and efficient, and the network performance and user experience are improved.
[0105] Optionally, the above-mentioned multiple candidate repair solutions may include four candidate repair solutions. The four candidate repair solutions may include at least two of the following:
[0106] 1. The first candidate repair solution: The control device can instruct the AP to add a TIM in the management frame and / or control frame sent to the STA.
[0107] The above control frames may include RTS frames, CTS frames, ACK frames, and PS-POLL frames; the above management frames may include management frames other than beacon frames, for example, probe request frames, probe response frames, action frames, and IBSS ATIM frames, etc.
[0108] Adding a TIM to the management frame and / or control frame sent by the AP to the STA and simultaneously sending a wake-up frame can increase the probability of waking up the STA.
[0109] 2. The second candidate repair solution: The control device can instruct the AP to frequently send null data frames to the STA.
[0110] If the STA has a problem of excessive dormancy, the control device can instruct the AP to frequently send null data frames to the STA, so that the STA thinks that the AP has cached the traffic to be sent to it, and prevents the STA from entering the dormancy state.
[0111] 3. The third candidate repair solution: The control device can instruct the AP to send a unicast beacon frame to the STA, and the unicast beacon frame includes a TIM.
[0112] Multiple STAs can be associated with one AP. If the control device identifies that a certain STA among the multiple STAs has a problem of excessive dormancy, the control device can instruct the AP to send a unicast beacon frame to the STA, and the unicast beacon frame includes a TIM, so as to increase the probability of waking up the STA and not affect the dormancy of other STAs.
[0113] 4. The fourth candidate repair solution: The control device can instruct the AP to send information to enable U-APSD to the STA.
[0114] If the STA has an excessive dormancy problem and supports U-APSD, the control device can instruct the AP to send information to enable U-APSD to the STA, so that the STA enables U-APSD, increasing the probability of waking up the STA and improving the energy-saving ability of the STA. Among them, U-APSD is a new energy-saving processing method that can improve the energy-saving ability of the STA. As an optional embodiment, determining a target repair solution from multiple candidate repair solutions includes: trying multiple candidate repair solutions to obtain data metrics during data transmission between the STA and the AP when using different candidate repair solutions, and the data metrics include latency and / or packet loss rate; if there is at least one candidate repair solution that meets the preset conditions, select the candidate repair solution with the best data metrics among the at least one candidate repair solution as the target repair solution.
[0115] For example, the control device can use an automation tool to test the above first candidate repair solution, second candidate repair solution, third candidate repair solution, and fourth candidate repair solution respectively to obtain the data metrics during data transmission between the STA and the AP under the first candidate repair solution, second candidate repair solution, third candidate repair solution, and fourth candidate repair solution. When the data metrics of the candidate repair solution meet the preset conditions, it can be used as the target repair solution.
[0116] If there is at least one candidate repair solution that meets the preset conditions, the control device can select the candidate repair solution with the best data metrics among the at least one candidate repair solution as the target repair solution.
[0117] For example, if the data metrics of the above first candidate repair solution, third candidate repair solution, and fourth candidate repair solution all meet the preset conditions, but the data metrics of the third candidate repair solution are the best, the control device selects the third candidate repair solution as the target repair solution.
[0118] The above preset conditions can be predefined. For example, the preset conditions can be whether the latency is less than 50 milliseconds (ms) and / or the packet loss rate is less than five ten-thousandths. Another example is that the preset conditions can also be whether the latency is less than 30 ms and / or the packet loss rate is less than one ten-thousandth.
[0119] Optionally, if the data metrics of the above first candidate repair solution, second candidate repair solution, third candidate repair solution, and fourth candidate repair solution do not meet the preset conditions, the control device instructs the AP to turn off the dormancy mechanism of the STA.
[0120] If the AP turns off the dormancy mechanism of the STA, the STA remains in the wake-up state when not communicating and does not enter the dormancy state, which can better solve the problem of excessive dormancy of the STA.
[0121] The method for identifying excessive dormancy provided by the embodiments of the present application sets preset conditions and selects the candidate solution with the optimal data metrics as the target repair solution, which can repair the STA with excessive dormancy problems faster, reduce the time of trial and error, is conducive to timely and efficiently repairing network problems caused by excessive dormancy of the STA, and improves network performance and user experience.
[0122] As an optional embodiment, the above-mentioned multiple candidate repair solutions can be stored in a network device. For example, an AP. If there is an excessive dormancy problem with the STA, the control device can send an instruction to the AP, and this instruction is used to instruct the AP to determine the target repair solution from the multiple candidate repair solutions and apply the target repair solution to repair the excessive dormancy problem of the STA. The method for the AP to determine the target repair solution from the multiple candidate repair solutions can refer to the above steps and will not be elaborated here.
[0123] Figure 5 It is a schematic flowchart of another method 500 for identifying excessive dormancy provided by the embodiments of the present application. This method 500 can be executed by a control device, for example, an access controller (AC).
[0124] This method 500 may include the following steps:
[0125] S501, obtain the identifier of the STA.
[0126] This identifier may include at least one of the following: the model of the STA, the media access control address (MAC) of the STA, the software version of the STA, or the network card information of the STA.
[0127] The control device can obtain the identifier of the STA. For example, the control device obtains the MAC address of the STA.
[0128] S502, determine whether there is a repair solution corresponding to the identifier.
[0129] The control device may pre-store the correspondence between the identifiers of multiple STAs and multiple repair solutions. This correspondence can be represented in the form of a table or text, or in other ways, and the present application does not make any restrictions.
[0130] After the control device obtains the identifier of the STA, it can search in the pre-stored correspondence to find whether there is a repair solution corresponding to this identifier.
[0131] S503, if there is a repair solution corresponding to the identifier, then use this repair solution as the target repair solution and repair the excessive dormancy problem of the STA.
[0132] If the control device detects that there is a repair solution corresponding to the identifier in the pre-existing corresponding relationship, the repair solution can be directly used to repair the excessive dormancy problem of the STA.
[0133] S504, if there is no repair solution corresponding to the identifier, obtain the dormancy data generated during the association authentication process and data interaction process between the AP and the STA.
[0134] The dormancy data obtained by the control device can refer to S401 in the above method 400, which will not be elaborated here.
[0135] S505, input the dormancy data into the machine learning model to obtain the recognition result of the machine learning model, and the recognition result is used to indicate whether the STA has an excessive dormancy problem.
[0136] This step can refer to S402 in the above method 400, which will not be elaborated here.
[0137] S506, if the STA has an excessive dormancy problem, determine the target repair solution from multiple candidate repair solutions, and apply the target repair solution to repair the excessive dormancy problem of the STA.
[0138] The specific implementation manner for the control device to determine the target repair solution from multiple candidate repair solutions can refer to the above example, which will not be elaborated here.
[0139] S507, save the mapping relationship between the identifier of the STA and the target repair solution.
[0140] For example, if the identifier of the STA is the MAC address, the control device can save the mapping relationship between the MAC address of the terminal device and the target repair solution. Another example is that if the identifier of the STA is the MAC address and the model of the STA, the control device saves the mapping relationship between the MAC address of the terminal device, the model of the terminal device, and the target repair solution. This mapping relationship can be represented in the form of a table or text, or in other ways, which is not limited in this application.
[0141] The control device can add this mapping relationship to the above pre-defined corresponding relationship, so as to directly determine the target repair solution according to the identifier of the STA and this mapping relationship next time.
[0142] There may be no corresponding relationship saved in the above pre-defined corresponding relationship. By adding the mapping relationship between the identifier of the STA and the target repair solution, it can be realized that the pre-defined corresponding relationship includes the corresponding relationship between the identifiers of multiple STAs and multiple repair solutions.
[0143] The method for identifying excessive dormancy provided by the embodiments of the present application can predict whether there is a problem of excessive dormancy of the STA according to the pre-stored corresponding relationship, and can directly determine the target repair solution according to this corresponding relationship; it can also update the pre-stored corresponding relationship according to the mapping relationship between the identifier and the target repair solution. Based on the prediction method, this method can timely determine whether there is a problem of excessive dormancy of the terminal, can avoid in advance the network problems caused by the excessive dormancy of the STA, can make the network more intelligent, is conducive to timely and efficiently repairing the network problems caused by the excessive dormancy of the STA, and improves the network performance and user experience.
[0144] Optionally, the above-mentioned pre-stored corresponding relationship can be stored in a network device, for example, an AP. After the AC obtains the identifier of the STA, it can send the identifier of the STA to the AP. After receiving the identifier of the STA, the AP compares the identifier of the STA with the pre-stored corresponding relationship. If the corresponding relationship includes the identifier of the STA, the AP takes the repair solution corresponding to the identifier of the STA as the target repair solution and applies the target repair solution to repair the problem of excessive dormancy of the STA. Correspondingly, in S306 above, if the STA has a problem of excessive dormancy, the AC sends a message indicating that the STA has a problem of excessive dormancy to the AP. After receiving the message, the AP determines the target repair solution from multiple candidate repair solutions, applies the target repair solution to repair the excessive dormancy problem of the STA, and simultaneously stores the mapping relationship between the identifier of the STA and the target repair solution.
[0145] The magnitudes of the sequence numbers of the above processes do not mean the order of execution. The order of execution of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0146] In the above text, in combination with Figures 1 to 5 , the method for identifying excessive dormancy of the embodiments of the present application is described in detail. Next, in combination with 6 and Figure 7 , the device for identifying excessive dormancy of the embodiments of the present application will be described in detail.
[0147] Figure 6Fig. 0 shows a device 600 for identifying excessive dormancy provided by an embodiment of the present application. The device 600 includes: an acquisition module 610 and a processing module 620. Among them, the acquisition module 610 is configured to: acquire dormancy data generated during the association authentication process and the data interaction process between an access point AP and a station STA, where the dormancy data includes the time points when the STA receives beacon frames, the time point when the STA enters the dormant state, and the time point when the STA enters the wake-up state. The processing module 620 is configured to: input the dormancy data into a machine learning model to obtain an identification result of the machine learning model, where the identification result is used to indicate whether there is an excessive dormancy problem with the STA. The machine learning model is trained based on historical data.
[0148] Optionally, the processing module 620 is further configured to: if there is an excessive dormancy problem with the STA, determine a target repair solution from multiple candidate repair solutions, and apply the target repair solution to repair the excessive dormancy problem of the STA.
[0149] Optionally, the multiple candidate repair solutions include at least two of the following: a first candidate repair solution, instructing the AP to add a TIM in the management frame and / or control frame sent to the STA; a second candidate repair solution, instructing the AP to frequently send null data frames to the STA; a third candidate repair solution, instructing the AP to send a unicast beacon frame to the STA, where the unicast beacon frame includes a TIM; a fourth candidate repair solution, instructing the AP to send information for enabling unscheduled automatic power save mode U-APSD to the STA.
[0150] Optionally, the processing module 620 is further configured to: attempt multiple candidate repair solutions to obtain data metrics during the data transmission process between the STA and the AP when using different candidate repair solutions, where the data metrics include latency and / or packet loss rate; if there is at least one candidate repair solution that meets the preset conditions, select the candidate repair solution with the optimal data metrics among the at least one candidate repair solution as the target repair solution.
[0151] Optionally, the processing module 620 is further configured to: if there is no candidate repair solution that meets the preset conditions, instruct the AP to turn off the dormancy mechanism of the STA.
[0152] Optionally, the acquisition module 610 is further configured to: acquire the identifier of the STA. The processing module 620 is further configured to: determine whether there is a repair solution corresponding to the identifier; the acquisition module 610 is further configured to: if there is no repair solution corresponding to the identifier, acquire the dormancy data.
[0153] Optionally, the processing module 620 is further configured to: if there is no repair solution corresponding to the identifier, save the mapping relationship between the identifier of the STA and the target repair solution after determining the target repair solution.
[0154] Optionally, the sleep data further includes at least one of the following: the time for the AP to cache data packets for the STA, the transmission period of beacon frames, the timestamps carried by beacon frames, the listening interval of the STA, the number of wake-up frames received by the STA before being successfully woken up, the probability of the STA being woken up by wake-up frames, the data traffic information of communication between the AP and the STA, or the channel state information of communication between the AP and the STA.
[0155] The devices herein are embodied in the form of functional modules. The term "module" herein may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor, or a group of processors, etc.) for executing one or more software or firmware programs, a memory, a combined logic circuit, and / or other suitable components that support the described functions. In an alternative example, those skilled in the art can understand that the device may specifically be the control device in the above embodiments, or alternatively, the functions of the control device in the above embodiments may be integrated in the device, and the device may be used to execute the respective processes and / or steps corresponding to the control device in the above method embodiments. To avoid repetition, details are not described herein again.
[0156] The above device has the function of implementing the corresponding steps executed by the control device in the above method 400; the above function may be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. For example, the above acquisition module may be a communication interface, such as a transceiver interface.
[0157] Figure 7 Another device 700 for identifying excessive sleep provided by an embodiment of the present application is shown. The device 700 includes a processor 710 and a transceiver 720. Among them, the processor 710 and the transceiver 720 communicate with each other through an internal connection path, and the processor 710 is configured to execute instructions to control the transceiver 720 to send signals and / or receive signals.
[0158] Optionally, the device 700 may further include a memory 730, and the memory 730 communicates with the processor 710 and the transceiver 720 through an internal connection path. The memory 730 is used to store instructions, and the processor 710 may execute the instructions stored in the memory 730. The device 700 is used to implement the respective processes and steps corresponding to the control device in the above method embodiments.
[0159] The device 700 may specifically be the control device in the above embodiments, or may be a chip or a chip system. Correspondingly, the transceiver 720 may be the transceiver circuit of the chip, which is not limited herein. Specifically, the device 700 may be used to execute each step and / or process corresponding to the control device in the above method embodiments. Optionally, the memory 730 may include a read-only memory and a random access memory, and provide instructions and data to the processor. A part of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type. The processor 710 may be used to execute the instructions stored in the memory, and when the processor 710 executes the instructions stored in the memory, the processor 710 is used to execute each step and / or process of the above method embodiment corresponding to the control device.
[0160] In the implementation process, each step of the above method may be completed by the integrated logic circuit in the hardware of the processor or the instructions in the form of software. The steps of the method disclosed in combination with the embodiments of the present application may be directly embodied as being executed and completed by the hardware processor, or executed and completed by a combination of the hardware and software modules in the processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory, and the processor reads the information in the memory and combines its hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.
[0161] It should be noted that the processor in the embodiments of the present application may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment may be completed by the integrated logic circuit in the hardware of the processor or the instructions in the form of software. The above-mentioned processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The processor in the embodiments of the present application may implement or execute each method, step, and logic block diagram disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application may be directly embodied as being executed and completed by the hardware decoding processor, or executed and completed by a combination of the hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory, and the processor reads the information in the memory and combines its hardware to complete the steps of the above method.
[0162] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and directrambus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.
[0163] According to the method provided by the embodiments of the present application, the present application also provides a computer program product, which includes: computer program code, when the computer program code runs on a computer, enabling the computer to execute the method shown in the foregoing embodiments.
[0164] According to the method provided by the embodiments of the present application, the present application also provides a computer-readable storage medium, which has program code, when the program code runs on a computer, enabling the computer to execute the method shown in the foregoing embodiments.
[0165] According to the method provided by the embodiments of the present application, the present application also provides a system, which includes one or more of the foregoing sites and one or more access points.
[0166] According to the method provided by the embodiments of the present application, the present application also provides a chip, which includes a processor for reading instructions stored in a memory, when the processor executes the instructions, enabling the chip to implement the method shown in the foregoing embodiments.
[0167] Those of ordinary skill in the art will realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0168] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0169] In several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of devices or units can be in electrical, mechanical, or other forms.
[0170] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place, or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0171] In addition, the functional units in each embodiment of this application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.
[0172] If a function is implemented in the form of 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 a part of this 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 for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in various embodiments of this application. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs.
[0173] The above is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed by this application can easily think of changes or substitutions, which should all be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
Claims
1. A method for identifying excessive dormancy, characterized in that, it includes: Obtain the dormancy data generated during the association authentication process and data interaction process between the access point AP and the station STA, where the dormancy data includes the time points of beacon frames received by the STA, the time point when the STA enters the dormancy state, and the time point when the STA enters the wake-up state; Input the dormancy data into a machine learning model to obtain the recognition result of the machine learning model, where the recognition result is used to indicate whether there is an excessive dormancy problem for the STA. Among them, the machine learning model is trained according to historical data.
2. The method according to claim 1, characterized in that, the method further includes: If there is an excessive dormancy problem for the STA, determine a target repair solution from multiple candidate repair solutions, and apply the target repair solution to repair the excessive dormancy problem of the STA.
3. The method according to claim 2, characterized in that, the multiple candidate repair solutions include at least two of the following: The first candidate repair solution, which instructs the AP to add a Traffic Indication Map (TIM) in the management frame and / or control frame sent to the STA; The second candidate repair solution, which instructs the AP to frequently send null data frames to the STA; The third candidate repair solution, which instructs the AP to send a unicast beacon frame to the STA, and the unicast beacon frame includes TIM; The fourth candidate repair solution, which instructs the AP to send information to enable Unscheduled Automatic Power Save Delivery (U-APSD) to the STA.
4. The method according to claim 2 or 3, characterized in that, the determining of the target repair solution from multiple candidate repair solutions includes: Attempt the multiple candidate repair solutions to obtain the data metrics during the data transmission process between the STA and the AP when using different candidate repair solutions, where the data metrics include latency and / or packet loss rate; If there is at least one candidate repair solution that meets the preset conditions, select the candidate repair solution with the best data metrics among the at least one candidate repair solution as the target repair solution.
5. The method according to claim 4, characterized in that, the method further includes: If there is no candidate repair solution that meets the preset conditions, instruct the AP to turn off the dormancy mechanism of the STA.
6. The method according to any one of claims 2-3, 5, characterized in that, before obtaining the dormancy data generated during the association authentication process and data interaction process between the AP and the STA, the method further includes: Obtain the identifier of the STA; Judge whether there is a repair solution corresponding to the identifier; The obtaining of the dormancy data generated during the association authentication process and data interaction process between the AP and the STA includes: If there is no repair solution corresponding to the identifier, obtain the dormancy data.
7. The method according to claim 6, characterized in that, the method further includes: If there is no repair solution corresponding to the identifier, save the mapping relationship between the identifier of the STA and the target repair solution after determining the target repair solution.
8. The method according to any one of claims 1 - 3, 5, and 7, wherein, the sleep data further includes at least one of the following: the time for the AP to cache data packets for the STA, the transmission period of the beacon frame, the timestamp carried by the beacon frame, the listening interval of the STA, the number of wake-up frames received by the STA before being successfully woken up, the probability that the STA is woken up by the wake-up frame, the data traffic information for communication between the AP and the STA, or the channel state information for communication between the AP and the STA.
9. A device for identifying excessive sleep, wherein, it includes: an acquisition module, configured to acquire sleep data generated during the association authentication process and data interaction process between an access point AP and a station STA, where the sleep data includes the time point when the STA receives a beacon frame, the time point when the STA enters the sleep state, and the time point when the STA enters the wake-up state; a processing module, configured to input the sleep data into a machine learning model to obtain an identification result of the machine learning model, where the identification result is used to indicate whether there is an excessive sleep problem for the STA, and wherein the machine learning model is trained based on historical data.
10. The device according to claim 9, wherein, the processing module is further configured to: if there is an excessive sleep problem for the STA, determine a target repair solution from multiple candidate repair solutions, and apply the target repair solution to repair the excessive sleep problem of the STA.
11. The device according to claim 10, wherein, the multiple candidate repair solutions include at least two of the following: a first candidate repair solution, instructing the AP to add a Traffic Indication Map (TIM) in the management frame and / or control frame sent to the STA; a second candidate repair solution, instructing the AP to frequently send null data frames to the STA; a third candidate repair solution, instructing the AP to send a unicast beacon frame to the STA, where the unicast beacon frame includes a TIM; a fourth candidate repair solution, instructing the AP to send information for enabling Unscheduled Automatic Power Save Delivery (U-APSD) to the STA.
12. The device according to claim 10 or 11, wherein, the processing module is further configured to: try the multiple candidate repair solutions to obtain data metrics during the data transmission process between the STA and the AP when using different candidate repair solutions, where the data metrics include latency and / or packet loss rate; if there is at least one candidate repair solution that meets a preset condition, select the candidate repair solution with the best data metrics among the at least one candidate repair solution as the target repair solution.
13. The device according to claim 12, wherein, the processing module is further configured to: if there is no candidate repair solution that meets the preset condition, instruct the AP to turn off the sleep mechanism of the STA.
14. The device according to any one of claims 10 - 11 and 13, wherein, the acquisition module is further configured to: acquire the identifier of the STA; the processing module is further configured to: Determine whether there is a repair solution corresponding to the identifier; The obtaining module is further configured to: If there is no repair solution corresponding to the identifier, obtain the sleep data.
15. The apparatus according to claim 14, wherein, The processing module is further configured to: If there is no repair solution corresponding to the identifier, save the mapping relationship between the identifier of the STA and the target repair solution after determining the target repair solution.
16. The apparatus according to any one of claims 9-11, 13, 15, wherein, The sleep data further includes at least one of the following: The time when the AP caches data packets for the STA, the transmission period of the beacon frame, the timestamp carried by the beacon frame, the listening interval of the STA, the number of wake-up frames received by the STA before being successfully awakened, the probability that the STA is awakened by the wake-up frame, the data traffic information of the communication between the AP and the STA, or the channel state information of the communication between the AP and the STA.
17. An apparatus for identifying excessive sleep, wherein, Comprises: A processor, the processor is coupled to a memory, the memory is used to store a computer program, when the processor calls the computer program, the apparatus executes the method according to any one of claims 1 to 8.
18. A chip, wherein, Comprises: A processor, configured to read instructions stored in a memory, when the processor executes the instructions, the chip implements the method according to any one of claims 1 to 8 above.
19. A computer-readable storage medium, wherein, A computer program is stored on the computer-readable storage medium, when the computer program runs on a computer, the method according to any one of claims 1 to 8 is executed.
20. A computer program product, wherein, The computer program product includes instructions, when the instructions are executed, the method according to any one of claims 1 to 8 is executed.
Citation Information
Patent Citations
Sleep mode control method and apparatus
CN107708187A
Communication equipment and system and sleep and wake-up method
CN111163447A