Wireless terminal awakening method and device, electronic equipment and storage medium

By calling the wake-up component on the wireless access point, periodically reading the power saving status indicator value of the wireless terminal and awakening the wireless terminal when the threshold is reached, the problem of frequent switching of power saving and active state of wireless terminals is solved, and network stability and user experience are improved.

CN120050752APending Publication Date: 2025-05-27RUIJIE NETWORKS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311579475.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-24
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

The power saving mechanism of wireless terminals will cause them to frequently switch between power saving and active states, resulting in increased network delay or unstable network speed, affecting user experience.

Method used

A method for wake-up of a wireless terminal is provided. By calling a wake-up component on a wireless access point, periodically read the indicator value to judge the power saving state of the wireless terminal, and perform a wake-up process when the wake-up threshold is reached to avoid frequent state switching.

Benefits of technology

It effectively avoids the problem of frequent switching between power saving and active states of wireless terminals, ensures the smoothness of the network, and improves the user's network experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120050752A_ABST
    Figure CN120050752A_ABST
Patent Text Reader

Abstract

The invention discloses a wireless terminal awakening method and device, electronic equipment and a storage medium, and belongs to the technical field of wireless communication.In the method, when it is determined that any wireless terminal in an online state meets an awakening detection condition, an awakening component is called for periodic execution; the indication values are used for indicating that the wireless terminal is in a power-saving state, counting the indication values read in the current period, and if the counting value in the current period reaches a wake-up threshold value, performing wake-up processing on the wireless terminal. Thus, when a user of the wireless terminal uses some applications such as game applications, the wireless access point can wake up the wireless terminal in the power-saving state as required, so that the wireless terminal is prevented from frequently switching between the power-saving state and the active state, the wireless terminal can be ensured to provide a smooth network to the greatest extent, and the user experience is improved. Therefore, better network service is provided for the users, and the network experience of the users is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technologies, and in particular, to a method, apparatus, electronic device, and storage medium for waking up a wireless terminal. Background Art

[0002] Generally, wireless terminals have power-saving mechanisms. In some cases, such as when in an e-sports game state, the wireless terminal may frequently switch between the power-saving state and the active state due to its own system or driver reasons, resulting in an increase in network latency or unstable network speed, thus degrading the user experience.

[0003] To solve this problem, in related technologies, one way is to turn off the power-saving support attribute on the wireless access point (Access Point, AP) to inform the wireless terminals connected to the AP not to enable the power-saving mechanism. However, due to terminal protocol compatibility issues, it cannot be guaranteed that the wireless terminal will definitely not enable the power-saving mechanism, so the effect is not as expected. Another way is for the AP to carry the AID (identifier of the wireless terminal) of the fixed wireless terminal in the Delivery Traffic Indication Message (DTIM) field (the field indicating whether the wireless terminal is in a sleep state) of the beacon (BEACON) frame sent periodically, so that the fixed wireless terminal is always in the active state. However, this method requires a large revision of the Software Development Kit (SDK) and relies on the support of third-party chip manufacturers, and the actual effect is also not good. Summary of the Invention

[0004] Embodiments of this application provide a method, apparatus, electronic device, and storage medium for waking up a wireless terminal, so as to solve the problem in related technologies that the power-saving mechanism of the wireless terminal causes it to frequently switch between the power-saving state and the active state, resulting in poor network connectivity when the user uses certain applications.

[0005] In a first aspect, an embodiment of this application provides a method for waking up a wireless terminal, which is applied to a wireless access point and includes:

[0006] If it is determined that any wireless terminal in the online state meets the wake-up detection condition, then call the wake-up component to periodically execute:

[0007] Read an indication value at a set frequency, where the indication value is used to indicate that the wireless terminal is in the power-saving state;

[0008] Count the indication value read in the current period;

[0009] If the count value in the current period reaches the wake-up threshold, then perform a wake-up process on the wireless terminal.

[0010] In this way, when a user of a wireless terminal uses certain applications such as game applications, the wireless access point can wake up the wireless terminal in the power-saving state when needed, avoiding frequent switching of the wireless terminal between the power-saving state and the active state, and ensuring to the greatest extent that the wireless terminal can provide a smooth network, thereby providing better network services for these users and enhancing the users' network experience.

[0011] In some embodiments, the wake-up detection conditions include receiving a packet belonging to a specified application from the wireless terminal, the service set identifier (SSID) to which the wireless terminal is associated being a preset SSID, or detecting that the wake-up function of the wireless terminal is in an enabled state.

[0012] In this way, multiple ways of triggering the wake-up service are supported, and the flexibility is relatively good.

[0013] In some embodiments, performing a wake-up process on the wireless terminal includes:

[0014] If an initial wake-up condition is satisfied, wake up the wireless terminal according to the lowest wake-up intensity, where the initial wake-up condition includes: the count value within one cycle since the wake-up component is called reaches the wake-up threshold for the first time or is in a suspended wake-up state;

[0015] If the initial wake-up condition is not satisfied, update the current first wake-up intensity according to a rule of not reducing the wake-up intensity to obtain a second wake-up intensity, and wake up the wireless terminal according to the second wake-up intensity.

[0016] In this way, it is beneficial to minimize the impact on normal services during the process of waking up the wireless terminal.

[0017] In some embodiments, updating the current first wake-up intensity according to a rule of not reducing the wake-up intensity to obtain a second wake-up intensity includes:

[0018] Match the currently obtained first network environment data of the wireless terminal with the intensity enhancement rule corresponding to the first wake-up intensity;

[0019] If there is a target intensity enhancement rule that matches the first network environment data, enhance the first wake-up intensity according to the target intensity enhancement rule to obtain the second wake-up intensity;

[0020] If there is no target intensity enhancement rule that matches the first network environment data, determine the first wake-up intensity as the second wake-up intensity.

[0021] In this way, determining whether to enhance or maintain the wake-up intensity based on the current first network environment data of the wireless terminal can make the actually used wake-up intensity match the network environment, avoiding the situation of deteriorating the network environment in order to wake up the wireless terminal.

[0022] In some embodiments, it further includes:

[0023] If the count value within the current period does not reach the wake-up threshold and the wireless terminal is currently woken up with the third wake-up intensity, then according to the rule of not enhancing the wake-up intensity, the third wake-up intensity is updated to obtain the fourth wake-up intensity, and the wireless terminal is woken up according to the fourth wake-up intensity.

[0024] In this way, it is beneficial to minimize the impact on normal services during the process of waking up the wireless terminal.

[0025] In some embodiments, updating the current third wake-up intensity according to the rule of not enhancing the wake-up intensity to obtain the fourth wake-up intensity includes:

[0026] Matching the obtained current second network environment data of the wireless terminal with the intensity reduction rule corresponding to the third wake-up intensity;

[0027] If there is a target intensity reduction rule that matches the second network environment data, then reduce the third wake-up intensity according to the target intensity reduction rule to obtain the fourth wake-up intensity;

[0028] If there is no target intensity reduction rule that matches the second network environment data, then determine the third wake-up intensity as the fourth wake-up intensity.

[0029] In this way, determining whether to reduce or maintain the wake-up intensity based on the current second network environment data of the wireless terminal can make the actually used wake-up intensity match the network environment, avoiding the situation of deteriorating the network environment in order to wake up the wireless terminal.

[0030] In some embodiments, it further includes:

[0031] Obtaining the application to which the message from the wireless terminal belongs; and

[0032] The wake-up message sent to the wireless terminal during wake-up conforms to the message characteristics corresponding to the application.

[0033] In this way, generating the wake-up message according to the message characteristics corresponding to the application can make the wireless terminal hardly perceive the difference between the wake-up message and the message from the application, and it is easier to improve the wake-up success rate of the wireless terminal.

[0034] In some embodiments, it further includes:

[0035] If it is determined that the wireless terminal meets the wake-up suspension condition, the wake-up of the wireless terminal is suspended.

[0036] In this way, the service can also be temporarily awakened, improving the flexibility of the wake-up function of the wireless access point.

[0037] In some embodiments, the wake-up suspension condition includes that the channel utilization rate of the channel on which the wireless access point operates is greater than the upper limit of the channel utilization rate, the uplink signal strength of the wireless terminal is less than the lower limit of the signal strength, or the base noise of the channel on which the wireless access point operates is less than the upper limit of the base noise.

[0038] Generally, when any of the above wake-up suspension conditions is met, it indicates that the network environment of the wireless terminal is already poor. Waking up the wireless terminal may occupy the network resources of normal services and is no longer suitable for continued wake-up. Therefore, the wake-up of the wireless terminal can be suspended.

[0039] In some embodiments, it further includes:

[0040] After determining that the wireless terminal meets the wake-up stop condition, the call to the wake-up component is closed.

[0041] In this way, it also supports closing the wake-up service of the wireless terminal, and the function is relatively comprehensive.

[0042] In some embodiments, the wake-up stop condition includes that the wireless terminal is in an offline state or the wireless terminal is in a state of not using a specified application.

[0043] In this way, it supports stopping the wake-up of the wireless terminal in multiple ways, and the flexibility is relatively good.

[0044] In a second aspect, an embodiment of the present application provides a wake-up device for a wireless terminal, including:

[0045] A call module, configured to call a wake-up component if it is determined that any wireless terminal in an online state meets the wake-up detection condition;

[0046] A wake-up module, configured to periodically execute by using the wake-up component: read an indication value at a set frequency, where the indication value is used to indicate that the wireless terminal is in a power-saving state; count the indication value read in the current period; if the count value in the current period reaches the wake-up threshold, perform a wake-up process on the wireless terminal.

[0047] In some embodiments, the wake-up detection condition includes receiving a packet belonging to a specified application from the wireless terminal, the service set identifier SSID accessed by the wireless terminal being a preset SSID, or detecting that the wake-up function of the wireless terminal is in an enabled state.

[0048] In some embodiments, the wake-up module is specifically configured to:

[0049] If the initial wake-up condition is satisfied, wake up the wireless terminal according to the lowest wake-up intensity, where the initial wake-up condition includes: the count value within one cycle after invoking the wake-up component reaches the wake-up threshold for the first time or is in a suspended wake-up state;

[0050] If the initial wake-up condition is not satisfied, update the current first wake-up intensity according to the rule of not reducing the wake-up intensity to obtain a second wake-up intensity, and wake up the wireless terminal according to the second wake-up intensity.

[0051] In some embodiments, the wake-up module is specifically configured to:

[0052] Match the acquired current first network environment data of the wireless terminal with the intensity enhancement rule corresponding to the first wake-up intensity;

[0053] If there is a target intensity enhancement rule that matches the first network environment data, enhance the first wake-up intensity according to the target intensity enhancement rule to obtain the second wake-up intensity;

[0054] If there is no target intensity enhancement rule that matches the first network environment data, determine the first wake-up intensity as the second wake-up intensity.

[0055] In some embodiments, the wake-up module is further configured to:

[0056] If the count value within the current cycle does not reach the wake-up threshold and the wireless terminal is currently woken up with a third wake-up intensity, update the third wake-up intensity according to the rule of not enhancing the wake-up intensity to obtain a fourth wake-up intensity, and wake up the wireless terminal according to the fourth wake-up intensity.

[0057] In some embodiments, the wake-up module is specifically configured to:

[0058] Match the acquired current second network environment data of the wireless terminal with the intensity reduction rule corresponding to the third wake-up intensity;

[0059] If there is a target intensity reduction rule that matches the second network environment data, reduce the third wake-up intensity according to the target intensity reduction rule to obtain the fourth wake-up intensity;

[0060] If there is no target intensity reduction rule that matches the second network environment data, determine the third wake-up intensity as the fourth wake-up intensity.

[0061] In some embodiments, the wake-up module is further configured to:

[0062] Obtain the application to which the message from the wireless terminal belongs; and

[0063] The wake-up message sent to the wireless terminal when waking up conforms to the message characteristics corresponding to the application.

[0064] In some embodiments, it further includes a pause module for:

[0065] If it is determined that the wireless terminal meets the wake-up pause condition, then pause waking up the wireless terminal.

[0066] In some embodiments, the wake-up pause condition includes that the channel utilization rate of the channel on which the wireless access point operates is greater than the upper limit of the channel utilization rate, the uplink signal strength of the wireless terminal is less than the lower limit of the signal strength, or the base noise of the channel on which the wireless access point operates is less than the upper limit of the base noise.

[0067] In some embodiments, it further includes a shutdown module for:

[0068] After determining that the wireless terminal meets the wake-up stop condition, shut down the call to the wake-up component.

[0069] In some embodiments, the wake-up stop condition includes that the wireless terminal is in an offline state or the wireless terminal is in a state of not using the specified application.

[0070] In a third aspect, an embodiment of the present application provides an electronic device, including: at least one processor, and a memory communicatively connected to the at least one processor, wherein:

[0071] The memory stores a computer program executable by the at least one processor, and when the computer program is executed by the at least one processor, the at least one processor can execute any of the above-mentioned wake-up methods for the wireless terminal.

[0072] In a fourth aspect, an embodiment of the present application provides a storage medium, when the computer program in the storage medium is executed by a processor of an electronic device, the electronic device can execute any of the above-mentioned wake-up methods for the wireless terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] The drawings described herein are used to provide a further understanding of the present application, and constitute a part of the present application. The schematic embodiments of the present application and their descriptions are used to explain the present application, and do not constitute an improper limitation of the present application. In the drawings:

[0074] Figure 1 It is a schematic diagram of the communication process between a wireless terminal and an AP provided by an embodiment of the present application;

[0075] Figure 2Schematic diagram of the conversion between working states of a wireless terminal provided by an embodiment of the present application;

[0076] Figure 3a Flowchart of a wake-up method for a wireless terminal provided by an embodiment of the present application;

[0077] Figure 3b Flowchart of another wake-up method for a wireless terminal provided by an embodiment of the present application;

[0078] Figure 4 Schematic diagram of the structure of a wake-up device for a wireless terminal provided by an embodiment of the present application;

[0079] Figure 5 Schematic diagram of the hardware structure of an electronic device for implementing the wake-up method of a wireless terminal provided by an embodiment of the present application. Detailed implementation manners

[0080] In order to solve the problem that the power-saving mechanism of a wireless terminal in the related art causes it to frequently switch between a power-saving state and an active state, resulting in poor network connectivity when the user uses certain applications, embodiments of the present application provide a wake-up method, device, electronic device, and storage medium for a wireless terminal.

[0081] The following describes the preferred embodiments of the present application with reference to the accompanying drawings of the specification. It should be understood that the preferred embodiments described herein are only for the purpose of illustrating and explaining the present application, and are not used to limit the present application. And without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0082] Generally, the energy consumption of a wireless terminal in a working state is relatively large, especially for a mobile wireless terminal with limited power, it is more necessary to manage the energy consumption. Therefore, an energy-saving mechanism was designed in the early stage of the 802.11 protocol. To understand the energy-saving mechanism of the 802.11 protocol, some energy consumptions that occur in Wireless Fidelity (WiFi) will be introduced first.

[0083] Generally, a wireless terminal supporting the 802.11 protocol has a total of 4 working states:

[0084] Sleep state: The wireless terminal will turn off the sending and receiving modules to go into sleep, with the lowest energy consumption.

[0085] Rx Idle state: The wireless terminal will monitor the channel and does not actually receive data frames.

[0086] Rx state: The wireless terminal monitors a data frame and receives the data frame.

[0087] Tx (transmit) state: The wireless terminal sends data frames.

[0088] Here, the relationship between the Rx Idle state, the Rx state, and the Tx state can be understood in conjunction with the sending / receiving process. Specifically, the wireless terminal first performs Carrier Sense Multiple Access (CCA) to monitor whether there are data frames in the channel. During this process, the wireless terminal is in the Rx Idle state. The wireless terminal can transfer from the Rx Idle state to the Rx state or to the Tx state. If the wireless terminal finds that there are 802.11 data frames sent to itself during the process of monitoring the channel, it transfers from the Rx Idle state to the Rx state for reception. If the wireless terminal itself has data to send, and finds that the channel is idle during the process of continuously monitoring the channel, it transfers from the Rx Idle state to the Tx state for transmission.

[0089] In the above process, only the Rx state and the Tx state are really useful. However, in actual applications, in order to ensure that there is no conflict between reception and transmission, the wireless terminal needs to be in the Rx Idle state for a long time, which will consume a lot of energy. Generally speaking, the RxIdle state is similar to the Rx state, but the Rx Idle state lacks some upper-layer logical processing work, and the radio frequency (RF) components, low noise power amplifier (LNA), and automatic gain control (AGC) with high energy consumption all need to work. Therefore, in the design of the 802.11 protocol, the Sleep state is introduced to basically replace the Rx Idle state. In the Sleep state, the RF components, LNA, and AGC do not work, so the purpose of energy saving can be achieved, and then expanded to the working mechanism in the sleep mode.

[0090] The following is an introduction to the working mechanism of the wireless terminal in sleep mode.

[0091] When the wireless terminal is in the Sleep state, the AP will cache the received frames. When the wireless terminal wakes up, it can use the Power Save POLL (PS-POLL) frame to send a request to the AP. The AID field in the PS-POLL frame is used to identify the wireless terminal. After receiving the PS-POLL frame, the AP sends the cached frame to the corresponding wireless terminal according to the AID field in the PS-POLL frame. In this way, through the PS-POLL frame, the wireless terminal can wake up and request to obtain the cached frame when it needs to send data, thereby extending battery life and reducing power consumption.

[0092] See alsoFigure 1 , which is a schematic diagram of the communication process between a wireless terminal and an AP provided by an embodiment of this application. Figure 1 The client in Figure 1 is the wireless terminal. In

[0093] Refer to Figure 2 , which is a schematic diagram of the conversion of the working state of a wireless terminal provided by an embodiment of this application. When the wireless terminal has no traffic (that is, it does not send or receive data), it enters the IDEL state (corresponding to the above Rx Idle state) from the ACTIVE state (including the above Rx state or Tx state). After the IDEL timer times out, it enters the SLEEP state (corresponding to the above Sleep state) from the IDEL state, and the screen turns off. After the SLEEP timer times out, it enters the IDEL state from the SLEEP state, and so on. When the wireless terminal is in the IDEL state, if it receives or sends data, it enters the ACTIVE state from the IDEL state. In addition, when the wireless terminal is in the SLEEP state, if its AID is the same as the AID in the DTIM field of the BEACON frame sent by the AP, it enters the ACTIVE state from the SLEEP state.

[0094] In some cases, such as during the process of a user playing a game, the wireless terminal mainly has real-time interactions with the game server with small packets (referring to packets with a length less than a preset byte length. For example, when the preset byte length is 200 bytes, small packets refer to packets with a length less than 200 bytes), which cannot reach the threshold for driving the wireless terminal to remain in the active state (such as the length of the packets received per second is not less than 500 bytes). In this way, the wireless terminal will randomly enter the power-saving state, which will cause the phenomenon of irregular increase in delay or delay jitter when playing games. Combining Figure 2It can be seen that if the wireless terminal continuously receives a certain amount of packets through the periodic upper-layer data service packet interaction (i.e., keeps receiving packets all the time), the wireless terminal can be kept in the active state for a long time without entering the sleep state, thereby solving the problems of increased network latency, unstable network speed, and degraded experience caused by the frequent switching between the power-saving state and the active state triggered by the wireless terminal's own system or driver in these situations.

[0095] It should be noted that the technical solution of the embodiment of the present application is based on the following several basic wireless situations:

[0096] ① Even when the screen of the wireless terminal is lit and there is no service, the wireless terminal will frequently enter and exit the power-saving state;

[0097] ② When the wireless terminal is in a busy service state, power saving is reduced or disappears;

[0098] ③ After the wireless terminal enters the power-saving state, the data forwarding delay increases and obvious network speed instability occurs;

[0099] ④ After a small number of wireless terminals open the game application program, since the number of packets sent is small and does not reach the activation threshold, the wireless terminal will still frequently enter and exit the power-saving state. For example, the error in the game character selection stage is caused by this reason;

[0100] ⑤ After a small number of wireless terminals start the game, there will still be a small amount of power-saving state, and the unstable network speed during the game is caused by this reason.

[0101] The wake-up solution for the wireless terminal provided by the embodiment of the present application mainly includes the following process:

[0102] 1. The AP is configured with a wake-up component for state detection and packet sending based on the protocol stack. The wake-up component supports basic attributes such as custom protocols, ports, flow rate per second, and packet length (the packet payload can also be customized as needed).

[0103] 2. After the wireless terminal user connected to the AP starts a specified application (such as after starting the game), the application recognition module in the AP can recognize the application packets of the specified application from the wireless terminal (such as the game recognition module can recognize the game packets from the wireless terminal). After that, the wake-up component is enabled, and the wake-up component is used to judge the power-saving state of this wireless terminal.

[0104] Here, an example is given of using the game recognition module to activate the awake component. In actual applications, it is also possible to manually set in the AP which wireless terminals to enable the wake-up function for. Subsequently, the Internet Protocol (IP) address of the wireless terminal can be automatically obtained, and then the wake-up function can be enabled for the specified IP address. Additionally, it is possible to specify which wireless terminals connected through a Service Set Identifier (SSID) to enable the wake-up function for. Subsequently, in combination with the Wireless Local Area Network (WLAN) component, the current SSID can be obtained, and then the wake-up function can be enabled for the wireless terminals under the specified SSID.

[0105] 3. Power-saving state judgment: Periodically detect whether the wireless terminal is currently in the power-saving state. Specifically, define a detection period T1 such as 60 seconds, a detection frequency T2 such as 5 seconds per time, a detection count Count (with an initial value of 0 for each period), a wake-up threshold Total such as 1, and a power-saving state field psm. For example, psm = 1 indicates the power-saving state, and psm = 0 indicates the active state. Within each T1 time range, use the radio frequency component to detect the value of psm every T2 seconds. When psm = 1 is detected, the value of Count is incremented by 1. When the value of Count reaches the wake-up threshold Total, a wake-up operation is triggered.

[0106] It should be noted that the periodic detection will continue to occur after the wake-up operation is triggered. For wireless terminals that are already in the active state, they enter the traffic keep-alive phase, and the wake-up parameters are dynamically adjusted (described in detail in the subsequent steps).

[0107] 4. Trigger the wake-up operation: The awake component calls an internally implemented interface to query the IP address of the corresponding wireless terminal. Using the queried IP address as the destination address, the wireless terminal is woken up at the lowest wake-up intensity. For example, a wake-up message with a protocol type of User Datagram Protocol (UDP) is sent to the destination address at a rate of 20 packets per second (pps).

[0108] 5. After wake-up is implemented, it enters the traffic keep-alive phase, where wake-up parameters are dynamically adjusted. Among them, wake-up parameters include packet sending rate, protocol type of wake-up messages, etc. In this phase, the wake-up intensity is mainly controlled by combining the current status of the Quality of Service (QoS) component and the radio frequency component. The wake-up intensity can be custom-defined by software with a stepped distribution: Level 1, Level 2... Level N, and the default initial Level 1 is defined. The wake-up intensity distribution can range from a single protocol to a combined protocol, and from a small rate to a large rate.

[0109] Suppose there are three wake-up intensities:

[0110] Level 1: udp 20pps;

[0111] That is, when the wake-up intensity is Level 1, udp wake-up messages are sent at a rate of 20pps;

[0112] Level 2: udp tcp 30pps;

[0113] That is, when the wake-up intensity is Level 2, udp and tcp wake-up messages are sent at a rate of 30pps.

[0114] Level 3: udp tcp icmp 40pps;

[0115] That is, when the wake-up intensity is Level 3, UDP, TCP, and ICMP wake-up messages are sent at a rate of 40pps.

[0116] Among them, TCP refers to the Transmission Control Protocol, and icmp refers to the Internet Control Message Protocol.

[0117] Generally, the higher the rate of sending wake-up messages, the higher the wake-up intensity, and the more types of protocols, the higher the wake-up intensity. That is, the wake-up intensity is positively correlated with both the rate of sending wake-up messages and the number of types of protocols used in wake-up messages. Therefore, as the wake-up intensities of Level 1, Level 2, and Level 3 increase in sequence, the rate of sending wake-up messages increases in sequence, and the number of types of protocols used also increases.

[0118] Moreover, the wake-up intensity can be adjusted in combination with the current network environment data to minimize the impact on normal services when waking up wireless terminals. Specifically,

[0119] Obtain the channel utilization utilization of the current AP's working channel from the RF component as a control condition. Preset utilization 1 = 50%, utilization 2 = 70%.

[0120] Obtain the uplink signal strength rssi of the current wireless terminal from the RF component as a control condition. Preset rssi1 = -70dbm, preset rssi2 = -75dbm.

[0121] Obtain the base noise floornoise of the current AP's working channel from the RF component as a control condition: Preset floornoise1 = -75dbm, preset floornoise2 = -70dbm.

[0122] Obtain the flow number per second flow_sta of the current wireless terminal from the qos component. For example, flow_sta1 = Level1pps, flow_sta2 = Level 2pps, flow_sta3 = Level 3pps, where Level 1pps represents the packet sending rate corresponding to Level, Level 2pps represents the packet sending rate corresponding to Level 2, and Level 3pps represents the packet sending rate corresponding to Level 3.

[0123] And assume the conditions for the wake-up intensity from weak to strong are:

[0124] The intensity enhancement rule for Level 1:

[0125] Level 1 -> Level 2: (Leve l 1 && utilization < utilization1 && rssi > rssi1 && floornoise > floornoise1 && flow_sta1 < flow_sta < flow_sta2 && Count(psm = 1) > 0);

[0126] That is, simultaneously satisfy: the wake-up intensity is Leve l, utilization < utilization1, rssi > rssi1, floornoise > floornoise1, flow_sta1 < flow_sta < flow_sta2, and the number of times when psm = 1 is greater than 0;

[0127] The intensity enhancement rule for Level 2:

[0128] Level 2 -> Level 3: (Level 2 && utilization < utilization1 && rssi > rssi1 && floornoise > floornoise1 && flow_sta2 < flow_sta < flow_sta3 && Count(psm = 1) > 0);

[0129] That is, all of the following conditions are satisfied simultaneously: the wake-up intensity is Level 2, utilization < utilization1, rssi > rssi1, floornoise > floornoise1, flow_sta2 < flow_sta < flow_sta3, and the number of times when psm = 1 is greater than 0;

[0130] The conditions for the wake-up intensity to decrease from strong to weak are:

[0131] The intensity reduction rule for Level 3:

[0132] Level 3 -> Level 2: (Level 3 && utilization1 < utilization < utilization2 && rssi1 > rssi > rssi2 && floornoise1 > floornoise > floornoise2 && flow_sta > flow_sta3 && Count(psm = 1) = 0);

[0133] That is, all of the following conditions are satisfied simultaneously: the wake-up intensity is Level 3, utilization1 < utilization < utilization2, rssi1 > rssi > rssi2, floornoise1 > floornoise > floornoise2, flow_sta > flow_sta3, and the number of times when psm = 1 is 0;

[0134] The intensity reduction rule for Level 2:

[0135] Level 2 -> Level 1: (Level 2 && utilization1 < utilization < utilization2 && rssi1 > rssi > rssi2 && floornoise1 > floornoise > floornoise2 && flow_sta > flow_sta2 && Count(psm = 1) = 0);

[0136] That is, it simultaneously satisfies: the wake-up intensity is Level 2, utilization1 < utilization < utilization2, rssi1 > rssi > rssi2, floornoise1 > floornoise > floornoise2, flow_sta > flow_sta2, and the number of times when psm = 1 is 0;

[0137] Among them, Count(psm = 1) represents the number of times when psm = 1 within a detection period.

[0138] It should be noted that here, taking the example of increasing or decreasing the wake-up intensity by one level each time for each wake-up intensity to illustrate the conversion relationship between wake-up intensities. In actual applications, each wake-up intensity can also be increased by at least two levels or decreased by at least two levels at a time, that is, the wake-up intensities can also be converted across wake-up intensities. How to set specifically can be determined by technical personnel according to actual needs and will not be elaborated here.

[0139] The periodic detection in the power-saving state judgment stage is always ongoing. In the current period, it is possible that the value of Count still reaches the wake-up threshold Total, or it is also possible that the value of Count does not reach the wake-up threshold Total.

[0140] Specifically in implementation, if the value of Count still reaches the wake-up threshold Total, it indicates that the current wake-up intensity is insufficient, and the wake-up intensity needs to be increased to wake up the wireless terminal. At this time, the current network environment data (utilization, rssi, floornoise, flow_sta) can be matched with the intensity enhancement rule corresponding to the current wake-up intensity Level 1: Level 1 && utilization < utilization1 && rssi > rssi1 && floornoise > floornoise1 && flow_sta1 < flow_sta < flow_sta2 && Count(psm = 1) > 0. Assuming this rule is matched, then this rule is the target intensity enhancement rule. Then, the wake-up intensity can be increased from Level 1 to Level 2, and the wireless terminal can be woken up according to Level 2. If the value of Count does not reach the wake-up threshold Total such as 1, it means that the wireless terminal has not entered the power-saving state within a detection period and has always been in the active state, and the wake-up intensity of the wireless terminal is sufficient to keep it in the active state.

[0141] In order to minimize the impact on other services when waking up a wireless terminal, when the value of Count does not reach the wake-up threshold Total, it is also possible to analyze whether the network environment of the wireless terminal has deteriorated. If it is determined that the network environment of the wireless terminal has not deteriorated, the wireless terminal can be woken up with the current wake-up parameters. If it is determined that the network environment of the wireless terminal has deteriorated, the wake-up intensity can be reduced to wake up the wireless terminal, so as to avoid affecting normal services when waking up the wireless terminal (because when the network environment deteriorates, network resources will decrease, and reducing the wake-up intensity can reduce the network resources occupied by waking up the wireless terminal, leaving more network resources for normal services). At this time, the current network environment data (utilization, rssi, floornoise, flow_sta) can be matched with the intensity reduction rule corresponding to the current wake-up intensity Level2: Level2&&utilization1<utilization<utilization2&&rssi1>rssi>rssi2&&floornoise1>

[0142] floornoise>floornoise2&&flow_sta>flow_sta2&&Coun(psm=1)=0. Assuming that this rule is matched, then this rule is the target intensity reduction rule. Then, the wake-up intensity can be reduced from Level2 to Level 1, and the wireless terminal can be woken up according to Level 1.

[0143] In addition, if the network environment data (utilization, rssi, floornoise) read in any detection period satisfies the wake-up pause condition (utilization>utilization2||rssi<rssi2||floornoise<floornoise2), it means that the current network environment is relatively poor, and the wake-up can be urgently paused, that is, only periodic detection is performed without sending wake-up messages.

[0144] In some embodiments, the wake-up suspension condition may further include any combination of utilization > utilization2, rssi < rssi2, and floornoise > floornoise2. That is, the wake-up suspension condition may include utilization > utilization2 and rssi < rssi2, the wake-up suspension condition may include utilization > utilization2 and floornoise > floornoise2, the wake-up suspension condition may include rssi < rssi2 and floornoise > floornoise2, and the wake-up suspension condition may further include utilization > utilization2, rssi < rssi2, and floornoise > floornoise2.

[0145] Moreover, when the wake-up suspension condition includes utilization > utilization2 and rssi < rssi2, if the network environment data (utilization, rssi, floornoise, flow_sta) read in any detection period simultaneously satisfies utilization > utilization2 and rssi < rssi2, the wake-up message sending can be suspended; when the wake-up suspension condition includes utilization > utilization2 and floornoise > floornoise2, if the network environment data (utilization, rssi, floornoise, flow_sta) read in any detection period simultaneously satisfies utilization > utilization2 and floornoise > floornoise2, the wake-up message sending can be suspended; when the wake-up suspension condition includes rssi < rssi2 and floornoise > floornoise2, if the network environment data (utilization, rssi, floornoise, flow_sta) read in any detection period simultaneously satisfies rssi < rssi2 and floornoise > floornoise2, the wake-up message sending can be suspended; and when the wake-up suspension condition includes utilization > utilization2, rssi < rssi2 and floornoise > floornoise2, if the network environment data (utilization, rssi, floornoise, flow_sta) read in any detection period simultaneously satisfies utilization > utilization2, rssi < rssi2 and floornoise > floornoise2, the wake-up message sending can be suspended.

[0146] 6. After the wireless terminal goes offline or exits the game state, the AP closes the awake component call for this wireless terminal to stop the periodic detection and stop sending wake-up messages.

[0147] The solutions of the embodiments of the present application will be introduced below in combination with the above three wake-up intensities and the conversion relationships between the wake-up intensities.

[0148] Suppose the AP is connected to two wireless terminals: wireless terminal 1 and wireless terminal 2. After the user on wireless terminal 1 starts playing a game, the application recognition module in the AP can recognize the game message from wireless terminal 1. After that, the awake component can be called to detect the power-saving state of wireless terminal 1.

[0149] Assume that the detection period is 60s, and the value of the 1psm of the wireless terminal is read every 5s within each detection period (psm = 1 indicates the power-saving state, and psm = 0 indicates the active state). That is, the value of the 1psm of the wireless terminal is read 12 times within one period, and assume that the wake-up threshold is 1. Moreover, the initial wake-up condition includes: the count value within one period after calling the wake-up component reaches the wake-up threshold for the first time or is in the suspended wake-up state.

[0150] Assume that the number of times the 1psm of the wireless terminal is 1 within the first period is 12, reaching the wake-up threshold, and satisfying the condition that the count value within one period after calling the wake-up component reaches the wake-up threshold for the first time in the initial wake-up condition. Then, the wireless terminal 1 can be woken up at the lowest wake-up intensity Level1, that is, a udp wake-up message is sent to the wireless terminal 1 at a rate of 20pps.

[0151] Assume that the number of times the 1psm of the wireless terminal is 1 within the second period is 7, still reaching the wake-up threshold, not satisfying the condition that the count value within one period after calling the wake-up component reaches the wake-up threshold for the first time in the initial wake-up condition, nor satisfying the condition of being in the suspended wake-up state in the initial wake-up condition. And the network environment data (utilization, rssi, floornoise, flow_sta) of the wireless terminal 1 in the second period satisfies the intensity enhancement rule corresponding to Level1: Level1 && utilization < utilization1 && rssi > rssi1 && floornoise > floornoise1 && flow_sta1 < flow_sta < flow_sta2. Then, the wake-up intensity can be enhanced from Level1 to Level2. Then, the wireless terminal 1 is woken up according to Level2, that is, udp and tcp wake-up messages are sent to the wireless terminal 1 at a rate of 30pps.

[0152] Suppose the number of times when the wireless terminal 1 has psm = 1 in the 3rd cycle is 2, still reaching the wake-up threshold, not meeting the condition that the count value reaches the wake-up threshold for the first time within one cycle after the self-called wake-up component in the initial wake-up condition, nor meeting the condition of being in the suspended wake-up state in the initial wake-up condition, and the network environment data (utilization, rssi, floornoise, flow_sta) of the wireless terminal 1 in the 3rd cycle meets the intensity enhancement rule corresponding to the current wake-up intensity Level 2: Level2 && utilization < utilization1 && rssi > rssi1 && floornoise > floornoise1 && flow_sta2 < flow_sta < flow_sta3, then the wake-up intensity can be enhanced from Level 2 to Level 3. Then, wake up the wireless terminal 1 according to Level 3, that is, send udp, tcp, and icmp wake-up packets to the wireless terminal 1 at a rate of 40 pps.

[0153] Suppose the number of times when the wireless terminal 1 has psm = 1 in the 4th cycle is 0, not reaching the wake-up threshold, currently waking up the wireless terminal with the wake-up intensity Level 3, and the network environment data (utilization, rssi, floornoise, flow_sta) of the wireless terminal 1 in the 4th cycle does not meet the intensity reduction rule corresponding to the current wake-up intensity Level 3: Level3 && utilization < utilization1 && rssi > rssi1 && floornoise > floornoise1 && flow_sta2 < flow_sta < flow_sta3, then the wireless terminal 1 can be woken up with the current wake-up intensity, that is, still send udp, tcp, and icmp wake-up packets to the wireless terminal 1 at a rate of 40 pps.

[0154] Suppose the number of times when the wireless terminal 1 has psm = 1 in the 5th cycle is 0, not reaching the wake-up threshold, currently waking up the wireless terminal with the wake-up intensity Level 3, and the network environment data (utilization, rssi, floornoise, flow_sta) of the wireless terminal 1 in the 5th cycle still does not meet the intensity reduction rule corresponding to the current wake-up intensity Level 3: Level3 && utilization < utilization1 && rssi > rssi1 && floornoise > floornoise1 && flow_sta2 < flow_sta < flow_sta3, then the wireless terminal 1 can continue to be woken up with the current wake-up intensity.

[0155] ……

[0156] Assume that the number of times when the wireless terminal 1 has psm = 1 in the 98th cycle is 0, which does not reach the wake-up threshold. Currently, the wireless terminal is woken up with wake-up intensity Level 3, and the network environment data (utilization, rssi, floornoise, flow_sta) of the wireless terminal 1 in the 98th cycle satisfies the intensity reduction rule corresponding to the current wake-up intensity Level 3: Level 3 && utilization1 < utilization < utilization2 && rssi1 > rssi > rssi2 && floornoise1 > floornoise > floornoise2 && flow_sta > flow_sta3. Then, the wake-up intensity can be reduced from Level 3 to Level 2. Then, the wireless terminal 1 is woken up according to Level 2, that is, udp and tcp wake-up packets are sent to the wireless terminal 1 at a rate of 30 pps.

[0157] Assume that the number of times when the wireless terminal 1 has psm = 1 in the 99th cycle is 0, which does not reach the wake-up threshold. Currently, the wireless terminal is woken up with wake-up intensity Level 2, and the network environment data (utilization, rssi, floornoise, flow_sta) of the wireless terminal 1 in the 99th cycle satisfies the intensity reduction rule corresponding to the wake-up intensity Level 2: Level 2 && utilization1 < utilization < utilization2 && rssi1 > rssi > rssi2 && floornoise1 > floornoise > floornoise2 && flow_sta > flow_sta2. Then, the wake-up intensity can be reduced from Level 2 to Level 1. Then, the wireless terminal 1 is woken up according to Level 1, that is, udp wake-up packets are sent to the wireless terminal 1 at a rate of 20 pps.

[0158] Assume that in the 100th cycle, the network environment of the wireless terminal 1 continues to deteriorate, and the current network environment data (utilization, rssi, floornoise, flow_sta) satisfies the wake-up suspension condition: utilization > utilization2, rssi < rssi2 or floornoise > floornoise2. Then, the sending of wake-up packets to the wireless terminal 1 can be suspended.

[0159] ……

[0160] Assume that the number of times when the wireless terminal 1 has psm = 1 in the 200th cycle is 11, reaching the wake-up threshold and meeting the condition of being in the suspended wake-up state in the initial wake-up condition. Then, the wireless terminal 1 can be woken up again at the lowest wake-up intensity Level1, that is, sending udp wake-up messages to the wireless terminal 1 at a rate of 20 pps.

[0161] Assume that the number of times when the wireless terminal 1 has psm = 1 in the 201st cycle is 6, still reaching the wake-up threshold. Currently, the wireless terminal is woken up with the wake-up intensity Level 1, and the network environment data (utilization, rssi, floornoise, flow_sta) of the wireless terminal 1 in the 2nd cycle meets the intensity enhancement rule corresponding to the wake-up intensity Level1: Level 1&&utilization<utilization1&&rssi>rssi1&&floornoise>floornoise1&&flow_sta1<flow_sta<flow_sta2. Then, the wake-up intensity can be enhanced from Level1 to Level2, and then, the wireless terminal 1 is woken up according to Level2, that is, sending udp and tcp wake-up messages to the wireless terminal 1 at a rate of 30 pps.

[0162] Assume that in the 202nd cycle, it is detected that the wireless terminal 1 is in the offline state or in the state of not playing games. Then, the awake component can be stopped from being called, thereby stopping reading the value of the wireless terminal 1's psm and stopping sending wake-up messages to the wireless terminal 1.

[0163] In addition, in order to wake up the wireless terminal more effectively, in the embodiments of the present application, the application recognition module can also be used to obtain the application to which the message from the wireless terminal belongs. Subsequently, when waking up the wireless terminal, wake-up messages are generated and sent according to the message characteristics corresponding to this application. For example, the message characteristics can be the type of the message, the port number of the message, etc., and the embodiments of the present application do not limit this. In this way, the wireless terminal can hardly feel the difference between the wake-up message and the message from this application, and is more likely to be woken up and remain in the active state.

[0164] The solution provided by the embodiments of the present application can make the psm of the wireless terminal change from frequently changing between 1 / 0 to being fixed at 0. The jitter range of the message forwarding delay is maintained at a stable 0 - 10ms from 0 - 318ms, and the impact on the channel utilization rate is less than 1%. The sending and receiving rates are improved compared with before. It well solves the problems such as the decline in the game experience caused by the frequent switching of the power-saving / activation state of the wireless terminal due to the terminal's own system or driver reasons in the game state, resulting in an increase in network delay or unstable network speed.

[0165] In addition, it is found during the home network speed test that the impact of downlink traffic on other wireless terminals is less than that of uplink traffic on other wireless terminals. Since the wake-up packets sent in the embodiments of the present application belong to downlink traffic, they will not have a great impact on other wireless terminals accessing the same AP as the current wireless terminal either.

[0166] It should be noted that the wake-up parameters involved in waking up a wireless terminal include the packet sending rate and the supported protocol types. Moreover, the packet sending rate is positively correlated with the wake-up intensity, and the number of types of supported protocol types is also positively correlated with the wake-up intensity. Therefore, if you want to increase the wake-up intensity, you can increase the packet sending rate and increase the number of types of supported protocol types; if you want to decrease the wake-up intensity, you can decrease the packet sending rate and decrease the number of types of supported protocol types. And each wake-up intensity corresponds to a set of wake-up parameters. Waking up the wireless terminal according to this wake-up intensity means sending wake-up packets to the wireless terminal according to this set of wake-up parameters.

[0167] Figure 3a The figure is a flowchart of a method for waking up a wireless terminal provided by an embodiment of the present application. This method is applied to an AP and includes the following steps.

[0168] In step 301′, if it is determined that any wireless terminal in the online state meets the wake-up detection condition, then the wake-up component is called to execute periodically.

[0169] Among them, the wake-up detection conditions are as follows: receiving a packet from a wireless terminal belonging to a specified application (such as a game application, a video reference, etc.); the SSID accessed by the wireless terminal is a preset SSID; it is detected that the wake-up function of the wireless terminal is in the on state (for example, the wake-up function can be turned on or off by manually turning on and off the wake-up service of the wireless terminal).

[0170] In step 302′, the indication value is read at a set frequency. The indication value is used to indicate that the wireless terminal is in the power-saving state.

[0171] Assume that the detection period is 60 s, then the set frequency can be 5 s / time, that is, read once every 5 s.

[0172] In step 303′, the indication value read in the current period is counted.

[0173] Here, the indication value in each period can be counted starting from zero.

[0174] In step 304′, if the counted value in the current period reaches the wake-up threshold, then wake-up processing is performed on the wireless terminal.

[0175] Among them, the wake-up threshold is, for example, 1, 2, or 3, etc.

[0176] In the embodiments of the present application, when a user of a wireless terminal uses certain applications such as game applications, the wireless access point can wake up the wireless terminal in the power-saving state when needed, avoiding frequent switching of the wireless terminal between the power-saving state and the active state, and ensuring to the greatest extent that the wireless terminal can provide a smooth network, thereby providing better network services for these users and enhancing the users' network experience.

[0177] Figure 3b FIG. 4 is a flowchart of a method for waking up a wireless terminal provided by an embodiment of the present application. This method is applied to an AP and includes the following steps.

[0178] In step 301, if it is determined that any wireless terminal in the online state meets the wake-up detection condition, the wake-up component is called to execute.

[0179] Among them, the wake-up detection conditions are as follows:

[0180] Receiving a packet from the wireless terminal that belongs to a specified application (such as a game application, a video reference, etc.);

[0181] The SSID accessed by the wireless terminal is a preset SSID;

[0182] Detecting that the wake-up function of the wireless terminal is in the on state (for example, the wake-up function can be turned on or off by manually turning on and off the wake-up service of the wireless terminal).

[0183] In this way, multiple ways to trigger the wake-up service are supported, and the flexibility is relatively good.

[0184] In step 302, the indication value is read at a set frequency in each period. The indication value is used to indicate that the wireless terminal is in the power-saving state.

[0185] In step 303, the indication value read in the current period is counted.

[0186] In step 304, if the count value in the current period reaches the wake-up threshold and meets the initial wake-up condition, the wireless terminal is woken up at the lowest wake-up intensity.

[0187] Among them, the wake-up threshold is, for example, 1, and the initial wake-up conditions include: the count value in one period after calling the wake-up component reaches the wake-up threshold for the first time or is in the suspended wake-up state.

[0188] In this way, when initially waking up the wireless terminal, waking up at the lowest wake-up intensity can reduce the impact of waking up the wireless terminal on normal services.

[0189] In step 305, if the count value in the current cycle reaches the wake-up threshold and the initial wake-up condition is not satisfied, then according to the rule of not reducing the wake-up intensity, update the current first wake-up intensity to obtain a second wake-up intensity, and wake up the wireless terminal according to the second wake-up intensity.

[0190] Here, the count value in the current cycle does not reach the wake-up threshold and the initial wake-up condition is not satisfied, indicating that the wake-up intensity for the wireless terminal is not enough. In order to minimize the impact on normal services when waking up the wireless terminal, the network environment of the wireless terminal can be considered to determine whether the wake-up intensity can be increased.

[0191] Specifically, when updating the current first wake-up intensity to obtain a second wake-up intensity according to the rule of not reducing the wake-up intensity, the currently obtained first network environment data of the wireless terminal can be matched with the intensity enhancement rules corresponding to the first wake-up intensity (the intensity enhancement amplitudes of different intensity enhancement rules corresponding to the first wake-up intensity are different). If there is a target intensity enhancement rule that matches the first network environment data, then the first wake-up intensity can be enhanced according to the target intensity enhancement rule to obtain the second wake-up intensity; if there is no target intensity enhancement rule that matches the first network environment data, then the first wake-up intensity can be determined as the second wake-up intensity, that is, the current wake-up intensity remains unchanged.

[0192] In this way, it is beneficial to minimize the impact on normal services during the process of waking up the wireless terminal.

[0193] In step 306, if the count value in the current cycle does not reach the wake-up threshold and the wireless terminal has been woken up with a third wake-up intensity, then according to the rule of not increasing the wake-up intensity, update the third wake-up intensity to obtain a fourth wake-up intensity, and wake up the wireless terminal according to the fourth wake-up intensity.

[0194] Here, the count value in the current cycle does not reach the wake-up threshold and the wireless terminal has been woken up with a third wake-up intensity, indicating that the wireless terminal has been active during the current detection cycle. In order to minimize the impact on normal services, the network environment of the wireless terminal can be considered to determine whether the wake-up intensity can be reduced.

[0195] Specifically, when updating the current third wake-up intensity according to the rule of not enhancing the wake-up intensity to obtain the fourth wake-up intensity, the currently obtained second network environment data of the wireless terminal can be matched with the intensity reduction rule corresponding to the third wake-up intensity (the intensity reduction amplitudes of different intensity reduction rules corresponding to the third wake-up intensity are different). If there is a target intensity reduction rule that matches the second network environment data, the third wake-up intensity can be reduced according to the target intensity reduction rule to obtain the fourth wake-up intensity; if there is no target intensity reduction rule that matches the second network environment data, the third wake-up intensity can be determined as the fourth wake-up intensity, that is, the current wake-up intensity remains unchanged.

[0196] In this way, based on the current first network environment data of the wireless terminal, determining whether to enhance the wake-up intensity or keep the wake-up intensity unchanged can make the actually used wake-up intensity match the network environment, and avoid the situation of deteriorating the network environment in order to wake up the wireless terminal.

[0197] In step 307, if it is determined that the wireless terminal meets the wake-up suspension condition, the wake-up of the wireless terminal is suspended.

[0198] Among them, the wake-up suspension condition includes one or more of the channel utilization rate of the channel on which the wireless access point works being greater than the channel utilization rate upper limit, the uplink signal strength of the wireless terminal being less than the signal strength lower limit, or the base noise of the channel on which the wireless access point works being less than the base noise upper limit.

[0199] Generally, when any of the above wake-up suspension conditions is met, it means that the network environment of the wireless terminal is already relatively poor, and waking up the wireless terminal may occupy the network resources of normal services and is no longer suitable for continuing to wake up. Therefore, the wake-up of the wireless terminal can be suspended.

[0200] It should be noted that after suspending the wake-up of the wireless terminal, it will still judge whether the count value of the indication value of the wireless terminal reaches the wake-up threshold in each cycle, that is, the detection does not stop.

[0201] In step 308, after determining that the wireless terminal meets the wake-up stop condition, the call to the wake-up component is closed.

[0202] Among them, the wake-up stop condition includes that the wireless terminal is in an offline state or the wireless terminal is in a state of not using the specified application.

[0203] Generally, when the wireless terminal is offline or does not use the specified application, there is no need to wake up anymore. Therefore, the call to the wake-up component can be closed. After closing the call to the wake-up component, the detection will be stopped and the wake-up message will no longer be sent to the wireless terminal.

[0204] In addition, the application to which the message from the wireless terminal belongs can be obtained, and then a wake-up message is generated and sent according to the message characteristics corresponding to this application. In this way, the wireless terminal can hardly perceive the difference between the wake-up message and the application message, which can enhance the wake-up intensity and more effectively wake up the wireless terminal.

[0205] In addition, when the network environment of the wireless terminal deteriorates severely, such as when the wake-up pause condition is met: the channel utilization rate exceeds 70, the uplink signal strength is less than -75 dbm, or the base noise is less than -70 dbm, it means that the wireless terminal itself is difficult to provide good network services, and it is not very meaningful to wake it up anymore. Therefore, the wake-up of the wireless terminal can be paused.

[0206] That is, in the above process, if it is determined that the wireless terminal meets the wake-up pause condition, the wake-up of the wireless terminal can be paused. At this time, the power-saving state of the wireless terminal can continue to be detected, so that when the network environment improves, the wake-up service can continue to be provided for it.

[0207] Based on the same technical concept, the embodiment of the present application also provides a wake-up device for a wireless terminal. The principle of the wake-up device for a wireless terminal to solve problems is similar to that of the above-mentioned wake-up method for a wireless terminal. Therefore, for the implementation of the wake-up device for a wireless terminal, reference can be made to the implementation of the wake-up method for a wireless terminal, and the repeated parts will not be elaborated.

[0208] Figure 4 FIG. is a schematic structural diagram of a wake-up device for a wireless terminal provided by an embodiment of the present application, including a call module 401 and a wake-up module 402.

[0209] The call module 401 is configured to call the wake-up component if it is determined that any wireless terminal in the online state meets the wake-up detection condition;

[0210] The wake-up module 402 is configured to periodically execute by using the wake-up component: read an indication value at a set frequency, where the indication value is used to indicate that the wireless terminal is in a power-saving state; count the indication value read in the current period; if the count value in the current period reaches the wake-up threshold, perform a wake-up process on the wireless terminal.

[0211] In some embodiments, the wake-up detection condition includes receiving a message belonging to a specified application from the wireless terminal, the service set identifier SSID accessed by the wireless terminal being a preset SSID, or detecting that the wake-up function of the wireless terminal is in an enabled state.

[0212] In some embodiments, the wake-up module 402 is specifically configured to:

[0213] If the initial wake-up condition is satisfied, the wireless terminal is woken up according to the lowest wake-up intensity, where the initial wake-up condition includes: the count value within one cycle since the wake-up component is called reaches the wake-up threshold for the first time or is in a paused wake-up state;

[0214] If the initial wake-up condition is not satisfied, the current first wake-up intensity is updated according to the rule of not reducing the wake-up intensity to obtain a second wake-up intensity, and the wireless terminal is woken up according to the second wake-up intensity.

[0215] In some embodiments, the wake-up module 402 is specifically configured to:

[0216] Match the currently obtained first network environment data of the wireless terminal with the intensity enhancement rule corresponding to the first wake-up intensity;

[0217] If there is a target intensity enhancement rule that matches the first network environment data, the first wake-up intensity is enhanced according to the target intensity enhancement rule to obtain the second wake-up intensity;

[0218] If there is no target intensity enhancement rule that matches the first network environment data, the first wake-up intensity is determined as the second wake-up intensity.

[0219] In some embodiments, the wake-up module 402 is further configured to:

[0220] If the count value within the current cycle does not reach the wake-up threshold and the wireless terminal is currently woken up with a third wake-up intensity, the third wake-up intensity is updated according to the rule of not enhancing the wake-up intensity to obtain a fourth wake-up intensity, and the wireless terminal is woken up according to the fourth wake-up intensity.

[0221] In some embodiments, the wake-up module 402 is specifically configured to:

[0222] Match the currently obtained second network environment data of the wireless terminal with the intensity reduction rule corresponding to the third wake-up intensity;

[0223] If there is a target intensity reduction rule that matches the second network environment data, the third wake-up intensity is reduced according to the target intensity reduction rule to obtain the fourth wake-up intensity;

[0224] If there is no target intensity reduction rule that matches the second network environment data, the third wake-up intensity is determined as the fourth wake-up intensity.

[0225] In some embodiments, the wake-up module 402 is further configured to:

[0226] Obtain the application to which the message from the wireless terminal belongs; and

[0227] The wake-up message sent to the wireless terminal when waking up conforms to the message characteristics corresponding to the application.

[0228] In some embodiments, it further includes a pause module 403, configured to:

[0229] If it is determined that the wireless terminal meets the wake-up pause condition, pause waking up the wireless terminal.

[0230] In some embodiments, the wake-up pause condition includes that the channel utilization rate of the channel on which the wireless access point operates is greater than the upper limit of the channel utilization rate, the uplink signal strength of the wireless terminal is less than the lower limit of the signal strength, or the base noise of the channel on which the wireless access point operates is less than the upper limit of the base noise.

[0231] In some embodiments, it further includes a shutdown module 404, configured to:

[0232] After determining that the wireless terminal meets the wake-up stop condition, shut down the call to the wake-up component.

[0233] In some embodiments, the wake-up stop condition includes that the wireless terminal is in an offline state or the wireless terminal is in a state of not using the specified application.

[0234] The division of modules in the embodiments of the present application is illustrative, merely a logical function division. In actual implementation, there may be other division methods. In addition, each functional module in the embodiments of the present application may be integrated in a processor, may also exist physically alone, or two or more modules may be integrated in one module. The coupling between each module can be realized through some interfaces, and these interfaces are usually electrical communication interfaces, but it does not exclude the possibility of being mechanical interfaces or other forms of interfaces. Therefore, the modules described as separate components may or may not be physically separated, may be located in one place, or may be distributed at different positions of the same or different devices. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules.

[0235] After introducing the wake-up method and device of the wireless terminal in the exemplary embodiments of the present application, next, an electronic device according to another exemplary embodiment of the present application is introduced.

[0236] Next, refer to Figure 5 to describe the electronic device 130 implemented according to this embodiment of the present application. Figure 5 The shown electronic device 130 is only an example, and should not bring any limitation to the functions and usage scope of the embodiments of the present application.

[0237] Such as Figure 5As shown, the electronic device 130 is presented in the form of a general electronic device. The components of the electronic device 130 may include, but are not limited to: at least one of the above-mentioned processors 131, at least one of the above-mentioned memories 132, and a bus 133 that connects different system components (including the memory 132 and the processor 131).

[0238] The bus 133 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a processor, or a local area bus using any of the various bus structures.

[0239] The memory 132 may include a readable medium in the form of volatile memory, such as a random access memory (RAM) 1321 and / or a cache memory 1322, and may further include a read-only memory (ROM) 1323.

[0240] The memory 132 may also include a program / utilities 1325 having a set (at least one) of program modules 1324. Such program modules 1324 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include the implementation of a network environment.

[0241] The electronic device 130 may also communicate with one or more external devices 134 (such as a keyboard, a pointing device, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 130, and / or may communicate with any device (such as a router, a modem, etc.) that enables the electronic device 130 to communicate with one or more other electronic devices. Such communication may be performed through an input / output (I / O) interface 135. Moreover, the electronic device 130 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 136. As shown in the figure, the network adapter 136 communicates with other modules for the electronic device 130 through the bus 133. It should be understood that although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0242] In an exemplary embodiment, a storage medium is also provided. When a computer program in the storage medium is executed by a processor of an electronic device, the electronic device can execute the wake-up method of the above-mentioned wireless terminal. Optionally, the storage medium may be a non-transitory computer-readable storage medium. For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0243] In an exemplary embodiment, the electronic device of the present application may at least include at least one processor and a memory communicatively connected to the at least one processor. Among them, the memory stores a computer program executable by the at least one processor. When the computer program is executed by the at least one processor, the at least one processor can be caused to execute the steps of any wake-up method for a wireless terminal provided in the embodiments of the present application.

[0244] In an exemplary embodiment, a computer program product is further provided. When the computer program product is executed by an electronic device, the electronic device can implement any exemplary method provided in the present application.

[0245] Moreover, the computer program product can adopt any combination of one or more readable media. The readable media can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0246] The program product for waking up a wireless terminal in the embodiments of the present application can adopt a CD-ROM and include program code, and can run on a computing device. However, the program product of the present application is not limited thereto. In this document, the readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0247] The readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries the readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable signal medium can also be any readable medium other than the readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0248] The program code included on the readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical fiber, radio frequency, etc., or any suitable combination of the above.

[0249] The program code for performing the operations of the present application can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computing device, partially on the user's device, executed as a stand-alone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user's computing device through any type of network such as a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., by connecting through the Internet using an Internet service provider).

[0250] It should be noted that although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of the two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided and embodied by multiple units.

[0251] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step for execution, and / or one step can be decomposed into multiple steps for execution.

[0252] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program code.

[0253] This application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram can be implemented by computer program instructions, as well as the combination of flows and / or blocks in the flowchart and / or block diagram. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the functions specified in one flow Figure 1 one flow or multiple flows and / or blocks Figure 1 or multiple blocks.

[0254] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including instruction means, and the instruction means implement the functions specified in one flow Figure 1 one flow or multiple flows and / or blocks Figure 1 or multiple blocks.

[0255] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one flow Figure 1 one flow or multiple flows and / or blocks Figure 1 or multiple blocks.

[0256] Although the preferred embodiments of the present application have been described, those skilled in the art can make additional changes and modifications once they learn the basic creative concepts. Therefore, the appended claims are intended to be construed to include the preferred embodiments as well as all changes and modifications falling within the scope of the present application.

[0257] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application also includes these changes and modifications.

Claims

1. A method for waking up a wireless terminal, characterized in that, applied to a wireless access point, includes: If it is determined that any wireless terminal in the online state meets the wake-up detection condition, then call the wake-up component to periodically execute: Read the indication value at a set frequency, and the indication value is used to indicate that the wireless terminal is in a power-saving state; Count the indication value read in the current period; If the count value in the current period reaches the wake-up threshold, then perform a wake-up process on the wireless terminal.

2. The method according to claim 1, characterized in that, The wake-up detection condition includes receiving a packet belonging to a specified application from the wireless terminal, the service set identifier SSID accessed by the wireless terminal being a preset SSID, or detecting that the wake-up function of the wireless terminal is in an enabled state.

3. The method according to claim 1, characterized in that, Performing a wake-up process on the wireless terminal includes: If the initial wake-up condition is met, then wake up the wireless terminal according to the lowest wake-up intensity, and the initial wake-up condition includes: the count value in one period since the wake-up component is called reaches the wake-up threshold for the first time or is in a suspended wake-up state; If the initial wake-up condition is not met, then update the current first wake-up intensity according to the rule of not reducing the wake-up intensity to obtain a second wake-up intensity, and wake up the wireless terminal according to the second wake-up intensity.

4. The method according to claim 3, characterized in that, Updating the current first wake-up intensity according to the rule of not reducing the wake-up intensity to obtain a second wake-up intensity includes: Matching the currently obtained first network environment data of the wireless terminal with the intensity enhancement rule corresponding to the first wake-up intensity; If there is a target intensity enhancement rule that matches the first network environment data, then enhance the first wake-up intensity according to the target intensity enhancement rule to obtain the second wake-up intensity; If there is no target intensity enhancement rule that matches the first network environment data, then determine the first wake-up intensity as the second wake-up intensity.

5. The method according to claim 1, characterized in that, further includes: If the count value in the current period does not reach the wake-up threshold and the wireless terminal is currently woken up with a third wake-up intensity, then update the third wake-up intensity according to the rule of not enhancing the wake-up intensity to obtain a fourth wake-up intensity, and wake up the wireless terminal according to the fourth wake-up intensity.

6. The method according to claim 5, characterized in that, Updating the current third wake-up intensity according to the rule of not enhancing the wake-up intensity to obtain a fourth wake-up intensity includes: Matching the currently obtained second network environment data of the wireless terminal with the intensity reduction rule corresponding to the third wake-up intensity; If there is a target intensity reduction rule that matches the second network environment data, then reduce the third wake-up intensity according to the target intensity reduction rule to obtain the fourth wake-up intensity; If there is no target intensity reduction rule that matches the second network environment data, then determine the third wake-up intensity as the fourth wake-up intensity.

7. The method according to any one of claims 1-6, characterized in that, further comprising: obtaining the application to which the message from the wireless terminal belongs; and the wake-up message sent to the wireless terminal during wake-up conforms to the message characteristics corresponding to the application.

8. The method according to any one of claims 1-6, characterized in that, further comprising: if it is determined that the wireless terminal meets the wake-up pause condition, pausing the wake-up of the wireless terminal.

9. The method according to any one of claims 1-6, characterized in that, further comprising: after it is determined that the wireless terminal meets the wake-up stop condition, closing the call to the wake-up component.

10. The method according to claim 9, characterized in that, the wake-up stop condition includes that the wireless terminal is in an offline state or the wireless terminal is in a state of not using the specified application.

11. A wake-up device for a wireless terminal, characterized in that, applied to a wireless access point, comprising: a call module, configured to call a wake-up component if it is determined that any wireless terminal in an online state meets the wake-up detection condition; a wake-up module, configured to periodically execute by using the wake-up component: reading an indication value at a set frequency, where the indication value is used to indicate that the wireless terminal is in a power-saving state; counting the indication value read in the current period; and if the count value in the current period reaches a wake-up threshold, performing a wake-up process on the wireless terminal.

12. An electronic device, characterized in that, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein: the memory stores a computer program executable by the at least one processor, and when the computer program is executed by the at least one processor, the at least one processor is enabled to execute the method according to any one of claims 1-10.

13. A storage medium, characterized in that, when the computer program in the storage medium is executed by a processor of an electronic device, the electronic device is enabled to execute the method according to any one of claims 1-10.