Target wake-up time determination method and device, communication equipment and chip module

By negotiating the target wake-up time with the wireless LAN workstation device through a serial port tool, and using the control processor to parse and modify parameters, the problem of complex operation in the existing technology is solved, and the debugging and management of the target wake-up time are simplified.

CN121968268APending Publication Date: 2026-05-01SPREADTRUM SEMICON(CHENGDU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SPREADTRUM SEMICON(CHENGDU) CO LTD
Filing Date
2026-02-04
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

The existing target wake-up time configuration and management operations are complex, require the participation of professional technicians, lack flexibility, and cannot quickly adapt to the parameter requirements of different application scenarios, which restricts the deployment efficiency of the target wake-up time function.

Method used

The system sends a target wake-up time configuration request to the wireless LAN workstation device via a serial port tool. The workstation device generates a negotiation command, negotiates the target wake-up time with the access point device, uses the control processor to parse and modify parameters, generates an action frame for negotiation, and can view or remove the wake-up time through the serial port tool.

Benefits of technology

It simplifies the debugging and management process of target wake-up time, reduces complexity, and achieves user-friendly automatic negotiation and management, adapting to the needs of different application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121968268A_ABST
    Figure CN121968268A_ABST
Patent Text Reader

Abstract

The invention relates to a target wake-up time determination method and device, communication equipment and a chip module. The method comprises the following steps: receiving a target wake-up time configuration request issued by a serial port tool; generating a target wake-up time negotiation instruction corresponding to the target wake-up time configuration request; and according to the target wake-up time negotiation instruction, negotiating with an access point device of the wireless local area network to obtain the target wake-up time. By adopting the method, the complexity of debugging and managing the target wake-up time can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Target wake-up time determination method, device, communication equipment and chip module Technical Field

[0001] This application relates to the field of wireless communication technology, and in particular to a method, apparatus, communication device, and chip module for determining target wake-up time. Background Technology

[0002] Wireless LANs are local area networks built using wireless channels as the transmission medium. They achieve wireless communication between devices based on the IEEE 802.11 series of standards and are widely used in various terminal access scenarios. Target wake-up time, as a core energy-saving mechanism introduced in Wi-Fi 6, negotiates the wake-up period and window length between the terminal and the access point, allowing the terminal to sleep during non-communication periods to reduce power consumption, while also reducing network interference and improving channel utilization. It has become a standard feature of mainstream wireless LAN devices.

[0003] However, current configuration and management of targeted wake-up time sessions largely rely on manual or semi-automatic methods. These methods require modifying device firmware and writing software code to adjust parameters, necessitating the involvement of technical personnel. The process is complex, inflexible, and unable to quickly adapt to the parameter requirements of different application scenarios, severely hindering the deployment efficiency of targeted wake-up time functionality. Therefore, current targeted wake-up time technology suffers from complex debugging and management operations. Summary of the Invention

[0004] Therefore, it is necessary to provide an easy-to-operate method, apparatus, communication device, chip module, computer-readable storage medium, and computer program product for determining the target wake-up time, addressing the aforementioned technical problems.

[0005] In a first aspect, this application provides a target wake-up time determination method, applied to a workstation device in a wireless local area network, comprising:

[0006] Receive the target wake-up time configuration request sent by the serial port tool;

[0007] Generate the target wake-up time negotiation instruction corresponding to the target wake-up time configuration request;

[0008] According to the target wake-up time negotiation instruction, the target wake-up time is negotiated with the access point device of the wireless local area network to obtain the target wake-up time.

[0009] In one embodiment, the workstation device is provided with a control processor;

[0010] The step of negotiating with the access point device of the wireless local area network to obtain the target wake-up time according to the target wake-up time negotiation instruction includes:

[0011] The target wake-up time negotiation instruction is parsed to obtain the target wake-up time configuration information;

[0012] Based on the target wake-up time configuration information, the original control parameters of the control processor are modified to obtain the modified control parameters of the control processor;

[0013] A first action frame is generated based on the modified control parameters, and the first action frame is sent to the access point device to negotiate the target wake-up time with the access point device.

[0014] In one embodiment, the method further includes:

[0015] Receive the target wake-up time viewing request sent by the serial port tool;

[0016] Generate the target wake-up time viewing instruction corresponding to the target wake-up time viewing request;

[0017] According to the target wake-up time viewing command, the wake-up time information of the target wake-up time is returned to the serial port tool so that the wake-up time information can be displayed through the serial port tool.

[0018] In one embodiment, the target wake-up time viewing request includes a first network processor interface command;

[0019] The step of receiving the target wake-up time viewing request sent by the serial port tool includes:

[0020] The system receives the first network processor interface command issued by the serial port tool; the first network processor interface command is configured with the wireless LAN link number and target wake-up time type corresponding to the target wake-up time to be viewed.

[0021] In one embodiment, the method further includes:

[0022] Receive the target wake-up time removal request sent by the serial port tool;

[0023] Generate the target wake-up time removal instruction corresponding to the target wake-up time removal request;

[0024] According to the target wake-up time removal instruction, a second action frame is sent to the access point device of the wireless local area network to remove the target wake-up time.

[0025] In one embodiment, the target wake-up time teardown request includes a second network processor interface command;

[0026] The step of receiving the target wake-up time removal request issued by the serial port tool includes:

[0027] The second network processor interface command issued by the serial port tool is received; the second network processor interface command is configured with a wake-up time identifier corresponding to the wake-up time of the target to be removed.

[0028] Secondly, this application also provides a method for determining a target wake-up time, applied to a terminal device, the terminal device being equipped with a serial port tool, including:

[0029] The serial port tool sends a target wake-up time configuration request to the workstation device in the wireless LAN, so that the workstation device can generate a target wake-up time negotiation instruction based on the received target wake-up time configuration request, and negotiate with the access point device of the wireless LAN according to the target wake-up time negotiation instruction to obtain the target wake-up time.

[0030] Thirdly, this application also provides a target wake-up time determination device, applied to a workstation device in a wireless local area network, comprising:

[0031] The information receiving module is used to receive the target wake-up time configuration request sent by the serial port tool;

[0032] The instruction generation module is used to generate the target wake-up time negotiation instruction corresponding to the target wake-up time configuration request;

[0033] The time negotiation module is used to negotiate with the access point device of the wireless local area network according to the target wake-up time negotiation instruction to obtain the target wake-up time.

[0034] Fourthly, this application also provides a target wake-up time determination device, applied to a terminal device, the terminal device being equipped with a serial port tool, including:

[0035] The request sending module is used to send a target wake-up time configuration request to the workstation device of the wireless local area network through the serial port tool, so that the workstation device can generate a target wake-up time negotiation instruction according to the received target wake-up time configuration request, and negotiate with the access point device of the wireless local area network according to the target wake-up time negotiation instruction to obtain the target wake-up time.

[0036] Fifthly, this application also provides a communication device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method described in either the first or second aspect above.

[0037] Sixthly, this application also provides a chip module, including a communication module, a power module, a storage module, and a chip, wherein:

[0038] The power module is used to provide power to the chip module;

[0039] The storage module is used to store data and instructions;

[0040] The communication module is used for internal communication within the chip module, or for communication between the chip module and external devices.

[0041] The chip is used to perform the steps of the method described in either the first or second aspect above.

[0042] In a seventh aspect, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in either the first or second aspect above.

[0043] Eighthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method described in either the first or second aspect above.

[0044] The aforementioned target wake-up time determination method, apparatus, communication device, chip module, computer-readable storage medium, and computer program product receive a target wake-up time configuration request from a serial port tool, generate a target wake-up time negotiation instruction corresponding to the configuration request, and negotiate with the wireless LAN access point device according to the negotiation instruction to obtain the target wake-up time. Users can send configuration requests to the wireless LAN workstation device via a serial port tool. The Wi-Fi driver in the workstation sends negotiation instructions to the control processor based on the configuration request. The control processor automatically negotiates the target wake-up time with the wireless LAN access point device according to the negotiation instructions, reducing the complexity of target wake-up time debugging and management. Attached Figure Description

[0045] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0046] Figure 1 is a flowchart illustrating a method for determining the target wake-up time in one embodiment;

[0047] Figure 2 is a flowchart illustrating the target wake-up time debugging and management of a wireless local area network in one embodiment;

[0048] Figure 3 is a flowchart illustrating the target wake-up time determination method in another embodiment;

[0049] Figure 4 is a structural block diagram of a target wake-up time determination device in one embodiment;

[0050] Figure 5 is an internal structure diagram of a communication device in one embodiment;

[0051] Figure 6 is an internal structure diagram of the chip module in one embodiment. Detailed Implementation

[0052] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0053] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.

[0054] Before introducing the specific embodiments of this application, the technical terms involved in this application will be explained:

[0055] WLAN: Wireless Local Area Network;

[0056] TWT: Target Wake Time;

[0057] STA: Station, a workstation, i.e., a client device that connects to a wireless network;

[0058] Wi-Fi: Wireless Fidelity, a wireless network communication technology;

[0059] NPI: Network Processor Interface;

[0060] CP2: Control Processor 2, a processor used to handle specific communication tasks;

[0061] AP: Access Point, a device in a wireless network that allows wireless devices to connect to a wired network;

[0062] Action frame: An action frame is a management frame used to trigger specific actions or events;

[0063] DBDC: Dual Band Dual Connectivity;

[0064] MAC: Media Access Control;

[0065] WFA: Work From Anywhere, remote work.

[0066] The target wake-up time (TWT) determination method provided in this application can be applied to STA devices in a wireless local area network (WLAN). The STA device can support one or more WLAN links (e.g., two links, wlan0 and wlan1), and each WLAN link can support the establishment of multiple TWT sessions. A TWT session refers to the negotiation between the STA and the AP regarding the TWT. The STA device can have a Wi-Fi driver installed to control its wireless communication functions. The STA device can also be configured with a control processor that communicates with the Wi-Fi driver to process TWT-related commands and data. The control processor can be, but is not limited to, CP2. Furthermore, a terminal equipped with a serial port utility can be connected to the STA device to configure and view the TWT session via the serial port utility.

[0067] In an exemplary embodiment, as shown in FIG1, a method for determining a target wake-up time is provided. This method is illustrated using an example of its application to a STA device or a chip module with data processing capabilities, and includes the following steps S102 to S106. Wherein:

[0068] Step S102: Receive the target wake-up time configuration request sent by the serial port tool.

[0069] The target wake-up time configuration request can be sent via a serial port tool to request the STA and AP to negotiate the TWT information, and can be implemented, but is not limited to, via NPI commands.

[0070] Optionally, after the STA device establishes a connection with the WLAN, the user can send a target wake-up time configuration request to the STA device via a serial port tool. Correspondingly, the STA device receives the target wake-up time configuration request sent by the serial port tool. For example, after wlan0 or wlan1 establishes a connection, the user can use a serial port tool to configure NPI commands to instruct the STA to negotiate the TWT with the AP. The NPI command may include, but is not limited to, parameters such as the WLAN link number (wlan_idx), negotiation type (nego_type), flow type (flow_type), trigger mechanism (trigger), wake-up interval exponent (wake_interval_exponent), minimum wake-up duration (nominal_minimum_wake_duration), and wake-up interval mantissa (wake_interval_mantissa). The WLAN link number is used to identify the WLAN link, such as wlan0 or wlan1. The negotiation type refers to the type of TWT negotiation, including but not limited to unicast or broadcast. The flow type refers to the characteristics of the data flow, such as real-time flow or low-latency flow. The trigger mechanism is used to define the conditions for link activation, including but not limited to timed triggering, event triggering, and manual triggering. The wake-up interval exponent and wake-up interval base can be the exponential and base parts of the wake-up cycle, respectively. The minimum wake-up duration can be the shortest time for the link to remain active.

[0071] Step S104: Generate the target wake-up time negotiation instruction corresponding to the target wake-up time configuration request.

[0072] The target wake-up time negotiation instruction can be information from the STA's internal Wi-Fi driver to instruct the processor to initiate TWT negotiation, and can be implemented, but is not limited to, through NPI instructions.

[0073] Optionally, the STA device can instruct the Wi-Fi driver to send a Target Wake-up Time (TWT) negotiation command to the control processor based on the received Target Wake-up Time (TWT) configuration request. For example, if a user uses a serial port tool to configure the NPI command to instruct the STA to negotiate the TWT with the AP, the Wi-Fi driver inside the STA device can issue an NPI command to CP2 to instruct CP2 to initiate TWT negotiation.

[0074] Step S106: Negotiate with the access point device of the wireless local area network according to the target wake-up time negotiation instruction to obtain the target wake-up time.

[0075] Optionally, after receiving the target wake-up time negotiation instruction, the control processor can parse the instruction and negotiate with the AP device based on the parsing result to obtain the target wake-up time. In practical applications, CP2 can parse the NPI instruction issued by the Wi-Fi driver, modify the underlying default parameters according to the parsing result, and then actively initiate an Action frame to negotiate with the AP device to obtain the TWT.

[0076] The above-described method for determining the target wake-up time involves receiving a target wake-up time configuration request from a serial port tool, generating a target wake-up time negotiation instruction corresponding to the request, and negotiating with the wireless LAN access point device based on the negotiation instruction to obtain the target wake-up time. This allows users to send configuration requests to the wireless LAN workstation device via a serial port tool. The Wi-Fi driver in the workstation then sends negotiation instructions to the control processor based on the configuration request. The control processor automatically negotiates the target wake-up time with the wireless LAN access point device based on the negotiation instructions, reducing the complexity of target wake-up time debugging and management.

[0077] In an exemplary embodiment, the workstation device is equipped with a control processor; the above step S106 may specifically include: parsing the target wake-up time negotiation instruction to obtain target wake-up time configuration information; modifying the original control parameters of the control processor according to the target wake-up time configuration information to obtain the modified control parameters of the control processor; generating a first action frame according to the modified control parameters, and sending the first action frame to the access point device to negotiate the target wake-up time with the access point device.

[0078] The target wake-up time configuration information can be related information used to configure the TWT determined by the control processor according to the target wake-up time negotiation instruction, such as the TWT parameters determined by CP2, including but not limited to wake-up cycle and wake-up duration. The original control parameters can be the default parameters related to TWT configuration in the control processor. The modified control parameters can be the modified parameters related to TWT configuration in the control processor. The first action frame can be the Action frame that initiates TWT negotiation.

[0079] Optionally, the control processor in the STA device can parse the target wake-up time negotiation instruction to obtain the target wake-up time configuration information, modify the original control parameters according to the target wake-up time configuration information to obtain the modified control parameters, and send a first action frame to the AP device according to the modified control parameters. The AP device can negotiate the target wake-up time with the control processor based on the received first action frame. For example, after the Wi-Fi driver sends an NPI instruction to CP2, CP2 can parse the NPI instruction to obtain information related to the TWT configuration. CP2 can modify the underlying default parameters accordingly and actively initiate an Action frame to negotiate the TWT with the AP device based on the modified parameters. In some embodiments, CP2 can obtain the target values ​​of the wake-up period and wake-up duration by parsing the NPI instruction, modify the underlying default parameters according to the target values ​​to obtain the wake-up period and wake-up duration of the TWT, and send an Action frame to the AP to inquire whether the AP agrees to this wake-up period and wake-up duration design. If the AP agrees, the TWT is determined according to this wake-up period and wake-up duration; otherwise, if the AP does not agree, the wake-up period and wake-up duration are modified, and the AP is inquired again until the AP agrees.

[0080] In this embodiment, the target wake-up time (TWT) negotiation instruction is parsed to obtain the target wake-up time configuration information. Based on the target wake-up time configuration information, the original control parameters of the control processor are modified to obtain the modified control parameters of the control processor. A first action frame is generated based on the modified control parameters and sent to the access point device to negotiate the target wake-up time with the access point device. This allows the control processor to negotiate the TWT with the AP device according to the instructions of the Wi-Fi driver, realizing automatic TWT negotiation and reducing the complexity of TWT debugging and management.

[0081] In an exemplary embodiment, the above-described method for determining the target wake-up time may further include: receiving a target wake-up time viewing request from a serial port tool; generating a target wake-up time viewing instruction corresponding to the target wake-up time viewing request; and returning the wake-up time information of the target wake-up time to the serial port tool according to the target wake-up time viewing instruction, so as to display the wake-up time information through the serial port tool.

[0082] The target wake-up time (TWT) viewing request can be a request to view TWT information via a serial port tool, which can be implemented, but is not limited to, through NPI commands. The target wake-up time viewing instruction can be an instruction from the STA's internal Wi-Fi driver to the control processor to provide TWT information, which can be implemented, but is not limited to, through NPI commands. The wake-up time information can be related to the TWT negotiated between the control processor and the AP device, such as the wake-up cycle and wake-up duration negotiated between CP2 and the AP.

[0083] Optionally, users can send a target wake-up time viewing request to the STA device via a serial port tool. The STA device's Wi-Fi driver can generate a target wake-up time viewing instruction based on the received request and send it to the control processor. The control processor then feeds back the wake-up time information to the Wi-Fi driver, which in turn transmits the received wake-up time information to the serial port tool for display. For example, users can use the serial port tool to view the TWT establishment status and negotiated parameters. These parameters include, but are not limited to, the TWT session index (twt_index), setup status (setup_status), negotiation type (nego_type), flow type (flow_type), and trigger mechanism (trigger). The TWT session index is the unique identifier of the TWT session. The setup status indicates whether the TWT session negotiation was successful or failed. The negotiation type refers to the type of TWT negotiation, including but not limited to unicast or broadcast. The flow type refers to the characteristics of the data flow, such as real-time flow or low-latency flow. The trigger mechanism defines the conditions for link activation, including but not limited to timed triggering, event triggering, and manual triggering. Based on the serial port tool, users can configure the desired WLAN link number (wlan_idx) and TWT type (nego_type) in the NPI command. The Wi-Fi driver sends an NPI instruction to CP2 to check the TWT establishment status according to the received NPI command. CP2 retrieves the TWT information corresponding to wlan_idx and nego_type from the register according to the received NPI instruction. For example, the wake-up period and wake-up duration negotiated by CP2 and AP. The TWT information is then fed back to the Wi-Fi driver and displayed through the serial port.

[0084] In this embodiment, by receiving a target wake-up time viewing request from a serial port tool, a target wake-up time viewing instruction corresponding to the target wake-up time viewing request is generated. According to the target wake-up time viewing instruction, the wake-up time information of the target wake-up time is returned to the serial port tool so that the wake-up time information can be displayed through the serial port tool. The negotiated TWT can be viewed through the serial port tool, which facilitates the management of TWT.

[0085] In an exemplary embodiment, the target wake-up time viewing request includes a first network processor interface command; the step of receiving the target wake-up time viewing request issued by the serial port tool may specifically include: receiving the first network processor interface command issued by the serial port tool; the first network processor interface command is configured with the wireless LAN link number and target wake-up time type corresponding to the target wake-up time to be viewed.

[0086] Here, the first network processor interface command refers to the NPI command that requests to view the TWT. The target wake-up time to be viewed refers to the TWT that needs to be viewed on the serial port tool.

[0087] Optionally, the user can send a first network processor interface command to the STA device via a serial port tool to instruct it to view the TWT negotiated between CP2 and AP. The first network processor interface command can be configured with the WLAN link number and TWT type corresponding to the TWT to be viewed. For example, an NPI command can be sent to the STA device via a serial port tool, and the NPI command can be configured with the WLAN link number and TWT type corresponding to the TWT to be viewed.

[0088] In this embodiment, by receiving the first network processor interface command issued by the serial port tool, the TWT can be requested to be viewed by issuing the NPI command, thereby improving the efficiency of TWT viewing.

[0089] In an exemplary embodiment, the above-described target wake-up time determination method may further include: receiving a target wake-up time removal request issued by a serial port tool; generating a target wake-up time removal instruction corresponding to the target wake-up time removal request; and sending a second action frame to the access point device of the wireless local area network according to the target wake-up time removal instruction to remove the target wake-up time.

[0090] The Target Wake-up Time Teardown (TWT) request can be a message sent via a serial port tool requesting the teardown of the TWT, and can be implemented, but is not limited to, via NPI commands. The Target Wake-up Time Teardown instruction can be a message from the STA's internal Wi-Fi driver instructing the processor to tear down the TWT, and can be implemented, but is not limited to, via NPI commands. The second action frame can be an Action frame used to negotiate the teardown of the TWT.

[0091] Optionally, the user can send a target wake-up time (TWT) teardown request to the STA device via a serial port tool. The STA device's Wi-Fi driver can generate a TWT teardown instruction based on the received TWT teardown request and send the TWT teardown instruction to the control processor. The control processor sends a second action frame to the AP device based on the received TWT teardown instruction to tear down the target wake-up time. For example, after receiving the second action frame, if the AP device agrees to tear down the TWT, it can tear down the established TWT; if it does not agree to tear down the TWT, it cannot tear down the established TWT. In practical applications, users can use NPI commands to tear down specified TWTs. The specified TWT can include one TWT, multiple TWTs, or all TWTs, without restriction. For example, the parameters WLAN link number (wlan_idx), negotiation type (nego_type), TWT session index (twt_index), and teardown all (teardown_all) can be configured. Teardown all means tearing down all TWTs. The Wi-Fi driver can generate NPI instructions based on the received NPI commands and send them to CP2. CP2 sends an Action frame to the AP device based on the received NPI instructions. The AP device can then tear down all TWTs based on the received Action frame.

[0092] It should be noted that after the TWT is removed, steps S102 to S106 in the aforementioned embodiments can be executed again to renegotiate a new TWT with changed configuration parameters.

[0093] In this embodiment, by receiving the target wake-up time removal request issued by the serial port tool, a target wake-up time removal instruction corresponding to the target wake-up time removal request is generated. According to the target wake-up time removal instruction, a second action frame is sent to the access point device of the wireless local area network to remove the target wake-up time. The removal of the TWT can be instructed through the serial port tool, which facilitates the management of the TWT.

[0094] In an exemplary embodiment, the target wake-up time removal request includes a second network processor interface command; the step of receiving the target wake-up time removal request issued by the serial port tool may specifically include: receiving the second network processor interface command issued by the serial port tool; the second network processor interface command is configured with a wake-up time identifier corresponding to the target wake-up time to be removed.

[0095] The second network processor interface command refers to the NPI command requesting the teardown of TWTs. The target wake-up time to be to be torn down refers to the TWT that needs to be torn down. The wake-up time identifier can be, but is not limited to, the identifier of the target wake-up time to be to be to be torn down; for example, an identifier indicating the teardown of all TWTs: teardown_all.

[0096] Optionally, the user can send a second network processor interface command to the STA device via a serial port tool to instruct the removal of a specified TWT. The second network processor interface command can be configured with the wake-up time flag corresponding to the TWT to be removed. For example, an NPI command can be sent to the STA device via a serial port tool. The NPI command is configured with the flag corresponding to the TWT to be removed: teardown_all. Based on this flag, CP2 sends an Action frame to the AP to remove all TWTs.

[0097] In this embodiment, by receiving the second network processor interface command issued by the serial port tool, the TWT can be requested to be removed by issuing the NPI command, thereby improving the efficiency of TWT management.

[0098] In an exemplary embodiment, a method for determining a target wake-up time is provided. This method can be applied to a terminal device equipped with a serial port tool. The method for determining the target wake-up time may specifically include:

[0099] A target wake-up time configuration request is sent to the workstation device in the wireless LAN via a serial port tool. The workstation device generates a target wake-up time negotiation instruction based on the received target wake-up time configuration request, and negotiates with the access point device in the wireless LAN to obtain the target wake-up time.

[0100] Optionally, the user can use a serial port tool to send a TWT configuration request to the STA device. The Wi-Fi driver in the STA device generates a TWT negotiation command based on the received TWT configuration request and sends it to CP2 in the STA device. CP2 can then negotiate with the WLAN AP device based on the received TWT negotiation command to obtain the TWT.

[0101] Since the specific processing procedure of the terminal device with serial port tools installed has been described in detail in the foregoing embodiments, it will not be repeated here.

[0102] The above-described method for determining the target wake-up time allows users to send configuration requests to the wireless LAN workstation device via a serial port tool. The Wi-Fi driver in the workstation then sends negotiation instructions to the control processor based on the configuration request. The control processor then automatically negotiates the target wake-up time with the wireless LAN access point device based on the negotiation instructions, reducing the complexity of debugging and managing the target wake-up time.

[0103] To facilitate a deeper understanding of the embodiments of this application by those skilled in the art, a specific example will be used for illustration below.

[0104] To enable rapid and flexible debugging and management of TWT sessions in wireless local area networks (WLANs) to improve energy efficiency and network performance, while simplifying the debugging and management process, this application provides a method and system for rapid TWT debugging and management in WLANs. This method simplifies the establishment and management of TWT sessions, enables rapid debugging, and improves energy efficiency and network performance.

[0105] In one exemplary embodiment, the TWT debugging and management system described above includes:

[0106] A WLAN STA device is used to access a wireless network and perform data transmission;

[0107] A Wi-Fi driver, installed on the STA device, is used to control the STA's wireless communication functions;

[0108] A CP2 processor communicates with the Wi-Fi driver to handle TWT-related commands and data.

[0109] In one exemplary embodiment, the above-described TWT debugging and management method may include the following steps:

[0110] Step 1: Initialize the STA device and load the Wi-Fi driver;

[0111] Step 2: Issue the NPI command, which is then parsed and executed by the CP2 processor;

[0112] Step 3: Negotiate with the AP to establish a TWT session.

[0113] In one exemplary embodiment, a system for target wake-up time debugging and management of a wireless local area network is provided, comprising:

[0114] The WLAN STA device supports two links, wlan0 and wlan1, and each link supports the establishment of multiple TWT sessions;

[0115] Wi-Fi driver, installed on the STA device;

[0116] The CP2 processor is used to process TWT-related commands and data;

[0117] A serial port tool used to configure and view TWT sessions.

[0118] Figure 2 provides a flowchart illustrating the target wake-up time (PKWT) debugging and management for wireless local area networks (WLANs). According to Figure 2, the PKWT debugging and management method for WLANs may include the following steps:

[0119] Step 1, Establish connection and configure TWT:

[0120] After wlan0 or wlan1 establishes a connection, use a serial port tool to configure NPI commands to negotiate TWT;

[0121] In the NPI command, WLAN link and negotiation parameters can be configured as needed (configurable parameters are wlan_idx / nego_type / flow_type / trigger / wake_interval_exponent / nominal_minimum_wake_duration / wake_interval_mantissa).

[0122] Step 2, issue instructions for negotiation:

[0123] The Wi-Fi driver sends the NPI command to CP2;

[0124] After CP2 parses the instructions and modifies the underlying default parameters, it actively initiates an Action frame for negotiation.

[0125] Step 3, check the TWT creation status and parameters:

[0126] You can check the TWT setup status and negotiation parameters via serial port (you can view parameters twt_index / setup_status / nego_type / flow_type / trigger).

[0127] Configure the desired WLAN link number and TWT type in the NPI command (configurable parameters are wlan_idx / nego_type).

[0128] Step 4: Issue a command to obtain TWT information:

[0129] The Wi-Fi driver sends an NPI command to CP2 to check the TWT establishment status;

[0130] After acquiring the hardware register data, CP2 feeds the information back to the Wi-Fi driver and displays it via the serial port.

[0131] Step 5, change the TWT parameters:

[0132] The NPI command can be used to tear down a specified TWT. You can configure it to tear down a specific TWT or tear down all of them (configurable parameters are wlan_idx / nego_type / twt_index / teardown_all).

[0133] Step 6: Issue a command to terminate the TWT session:

[0134] The Wi-Fi driver sends the NPI command to CP2;

[0135] CP2 sends an Action frame to tear down the specified TWT session.

[0136] Step 7, Negotiate a new TWT:

[0137] Steps 1 through 3 can be repeated to renegotiate a TWT for negotiating changes to configuration parameters.

[0138] Thus, this application provides fast and flexible TWT session management, enabling the instant establishment and termination of TWT sessions, reducing debugging time and complexity, and improving network energy efficiency and performance. It is understood that in practical applications, different types of serial port tools or instruction sets can be used, or the above method can be implemented on different hardware platforms; this application does not impose any restrictions on this.

[0139] In summary, this application provides a terminal WLAN STA device capable of supporting simultaneous connections from multiple WLAN links (such as wlan0 and wlan1). This device allows for the configuration of NPI commands via a serial port tool to manage TWT sessions. The Wi-Fi driver can issue NPI commands to the CP2 processor for rapid establishment, management, and teardown of TWT sessions. The serial port tool can view and acquire the establishment and negotiation status of TWT sessions in real time. Thus, through optimized NPI commands and the rapid response of the CP2 processor, TWT sessions can be quickly established and adjusted. TWT technology also reduces unnecessary power consumption by precisely controlling the device's wake-up time. Furthermore, it supports simultaneous TWT operation by multiple MAC addresses in the DBDC, adapting to various network environments and usage scenarios, and provides rapid debugging tools and procedures to facilitate WFA certification.

[0140] In an exemplary embodiment, as shown in FIG3, a method for determining a target wake-up time is provided. Taking the application of this method to a STA device or a chip module with data processing capabilities as an example, the method includes the following steps:

[0141] Step S301: Receive the target wake-up time configuration request sent by the serial port tool;

[0142] Step S302: Generate the target wake-up time negotiation instruction corresponding to the target wake-up time configuration request;

[0143] Step S303: According to the target wake-up time negotiation instruction, negotiate with the access point device of the wireless local area network to obtain the target wake-up time;

[0144] Step S304: Receive a request from the serial port tool to view the target wake-up time;

[0145] Step S305: Generate the target wake-up time viewing instruction corresponding to the target wake-up time viewing request;

[0146] Step S306: According to the target wake-up time viewing command, return the wake-up time information of the target wake-up time to the serial port tool so that the wake-up time information can be displayed through the serial port tool;

[0147] Step S307: Receive the target wake-up time removal request sent by the serial port tool;

[0148] Step S308: Generate the target wake-up time removal instruction corresponding to the target wake-up time removal request;

[0149] Step S309: Based on the target wake-up time removal instruction, send a second action frame to the access point device of the wireless local area network to remove the target wake-up time.

[0150] Optionally, the user can use a serial port tool to send a TWT configuration request to the STA device. The Wi-Fi driver in the STA device generates a TWT negotiation command based on the received TWT configuration request and sends it to CP2 in the STA device. CP2 can then negotiate with the WLAN AP device based on the received TWT negotiation command to obtain the TWT.

[0151] Users can also send a TWT viewing request to the STA device via a serial port tool. The Wi-Fi driver in the STA device generates a TWT viewing instruction based on the received TWT viewing request and sends it to CP2. CP2 can then feed back the negotiated TWT to the serial port tool via the Wi-Fi driver based on the received TWT viewing instruction, and display it on the serial port tool.

[0152] If the TWT needs to be removed later, the user can send a TWT removal request to the STA device through a serial port tool. The Wi-Fi driver in the STA device generates a TWT removal command based on the received TWT removal request and sends it to CP2. CP2 then removes the TWT session with the AP device based on the received TWT removal command.

[0153] The above-described method for determining the target wake-up time allows users to send configuration requests to the wireless LAN workstation device via a serial port tool. The Wi-Fi driver in the workstation then sends negotiation instructions to the control processor based on the configuration request. The control processor then automatically negotiates the target wake-up time with the wireless LAN access point device based on the negotiation instructions, reducing the complexity of debugging and managing the target wake-up time.

[0154] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0155] Based on the same inventive concept, this application also provides a target wake-up time determination device for implementing the target wake-up time determination method described above. This device can be applied to or integrated into a chip or chip module, for example. The solution provided by this device is similar to the implementation scheme described in the above method; therefore, the specific limitations of one or more target wake-up time determination device embodiments provided below can be found in the limitations of the target wake-up time determination method described above, and will not be repeated here.

[0156] In an exemplary embodiment, as shown in FIG4, a target wake-up time determination device is provided, including: an information receiving module 401, an instruction generation module 402, and a time negotiation module 403, wherein:

[0157] The information receiving module 401 is used to receive the target wake-up time configuration request sent by the serial port tool;

[0158] The instruction generation module 402 is used to generate the target wake-up time negotiation instruction corresponding to the target wake-up time configuration request;

[0159] The time negotiation module 403 is used to negotiate with the access point device of the wireless local area network according to the target wake-up time negotiation instruction to obtain the target wake-up time.

[0160] In an exemplary embodiment, the time negotiation module 403 is further configured to parse the target wake-up time negotiation instruction to obtain target wake-up time configuration information; modify the original control parameters of the control processor according to the target wake-up time configuration information to obtain the modified control parameters of the control processor; generate a first action frame according to the modified control parameters; and send the first action frame to the access point device to negotiate the target wake-up time with the access point device.

[0161] In an exemplary embodiment, the target wake-up time determination device further includes a time viewing module, configured to receive a target wake-up time viewing request issued by the serial port tool; generate a target wake-up time viewing instruction corresponding to the target wake-up time viewing request; and return the wake-up time information of the target wake-up time to the serial port tool according to the target wake-up time viewing instruction, so as to display the wake-up time information through the serial port tool.

[0162] In an exemplary embodiment, the time viewing module is further configured to receive the first network processor interface command issued by the serial port tool; the first network processor interface command is configured with the wireless LAN link number and the target wake-up time type corresponding to the target wake-up time to be viewed.

[0163] In an exemplary embodiment, the target wake-up time determination device further includes a time removal module, configured to receive a target wake-up time removal request issued by the serial port tool; generate a target wake-up time removal instruction corresponding to the target wake-up time removal request; and send a second action frame to the access point device of the wireless local area network according to the target wake-up time removal instruction to remove the target wake-up time.

[0164] In an exemplary embodiment, the time removal module is further configured to receive the second network processor interface command issued by the serial port tool; the second network processor interface command is configured with a wake-up time identifier corresponding to the target wake-up time to be removed.

[0165] In one exemplary embodiment, another target wake-up time determination device is provided, applied to a terminal device, the terminal device being equipped with a serial port tool, including:

[0166] The request sending module is used to send a target wake-up time configuration request to the workstation device of the wireless local area network through the serial port tool, so that the workstation device can generate a target wake-up time negotiation instruction according to the received target wake-up time configuration request, and negotiate with the access point device of the wireless local area network according to the target wake-up time negotiation instruction to obtain the target wake-up time.

[0167] Regarding the modules / units included in the various devices and products described in the above embodiments, they can be software modules / units, hardware modules / units, or a combination of both. For example, for various devices and products applied to or integrated into a chip, all of their modules / units can be implemented using hardware methods such as circuits, or at least some modules / units can be implemented using software programs that run on a processor integrated within the chip, while the remaining (if any) modules / units can be implemented using hardware methods such as circuits; for various devices and products applied to or integrated into a chip module, all of their modules / units can be implemented using hardware methods such as circuits, and different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or different components of the chip module, or at least some modules / units can be implemented using hardware methods such as circuits. The components can be implemented using software programs that run on the processor integrated within the chip module. The remaining (if any) modules / units can be implemented using hardware methods such as circuits. For various devices and products applied to or integrated into the terminal, each of its components / units can be implemented using hardware methods such as circuits. Different modules / units can be located in the same component (e.g., chip, circuit module, etc.) or in different components within the terminal. Alternatively, at least some modules / units can be implemented using software programs that run on the processor integrated within the terminal, while the remaining (if any) modules / units can be implemented using hardware methods such as circuits.

[0168] In an exemplary embodiment, a communication device is provided, which can be a terminal, and its internal structure diagram is shown in Figure 5. The communication device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the communication device provides computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the communication device is used for exchanging information between the processor and external devices. The communication interface of the communication device is used for wired or wireless communication with external terminals; wireless communication can be implemented through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a target wake-up time determination method. The display unit of the communication device is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the communication device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the communication device, or external keyboards, touchpads, or mice, etc.

[0169] Those skilled in the art will understand that the structure shown in Figure 5 is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the communication device to which the present application is applied. Specific communication devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0170] In one exemplary embodiment, a communication device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0171] Based on the same inventive concept, this application also provides a chip, including a processor and a communication interface; the communication interface is used to receive or send data; the processor is configured to cause the chip to perform the following steps:

[0172] Receive the target wake-up time configuration request sent by the serial port tool;

[0173] Generate the target wake-up time negotiation instruction corresponding to the target wake-up time configuration request;

[0174] According to the target wake-up time negotiation instruction, the target wake-up time is negotiated with the access point device of the wireless local area network to obtain the target wake-up time.

[0175] In one embodiment, the processor is configured to cause the chip to perform the following steps:

[0176] The target wake-up time negotiation instruction is parsed to obtain the target wake-up time configuration information;

[0177] Based on the target wake-up time configuration information, the original control parameters of the control processor are modified to obtain the modified control parameters of the control processor;

[0178] A first action frame is generated based on the modified control parameters, and the first action frame is sent to the access point device to negotiate the target wake-up time with the access point device.

[0179] In one embodiment, the processor is configured to cause the chip to perform the following steps:

[0180] Receive the target wake-up time viewing request sent by the serial port tool;

[0181] Generate the target wake-up time viewing instruction corresponding to the target wake-up time viewing request;

[0182] According to the target wake-up time viewing command, the wake-up time information of the target wake-up time is returned to the serial port tool so that the wake-up time information can be displayed through the serial port tool.

[0183] In one embodiment, the processor is configured to cause the chip to perform the following steps:

[0184] The system receives the first network processor interface command issued by the serial port tool; the first network processor interface command is configured with the wireless LAN link number and target wake-up time type corresponding to the target wake-up time to be viewed.

[0185] In one embodiment, the processor is configured to cause the chip to perform the following steps:

[0186] Receive the target wake-up time removal request sent by the serial port tool;

[0187] Generate the target wake-up time removal instruction corresponding to the target wake-up time removal request;

[0188] According to the target wake-up time removal instruction, a second action frame is sent to the access point device of the wireless local area network to remove the target wake-up time.

[0189] In one embodiment, the processor is configured to cause the chip to perform the following steps:

[0190] The second network processor interface command issued by the serial port tool is received; the second network processor interface command is configured with a wake-up time identifier corresponding to the wake-up time of the target to be removed.

[0191] In one embodiment, the processor is configured to cause the chip to perform the following steps:

[0192] The serial port tool sends a target wake-up time configuration request to the workstation device in the wireless LAN, so that the workstation device can generate a target wake-up time negotiation instruction based on the received target wake-up time configuration request, and negotiate with the access point device of the wireless LAN according to the target wake-up time negotiation instruction to obtain the target wake-up time.

[0193] It is understood that the chip involved in the embodiments of this application may be a field-programmable gate array (FPGA), may include an application-specific integrated circuit (ASIC), may be a system on chip (SoC), may be a central processor unit (CPU), may be a network processor (NP), may be a digital signal processor (DSP), may be a microcontroller unit (MCU), may be a programmable logic device (PLD), or other integrated chips, etc.

[0194] Based on the same inventive concept, this application also provides a chip module, as shown in Figure 6. The chip module includes a communication module, a power module, a storage module, and a chip. Wherein:

[0195] The power module is used to provide power to the chip module; the storage module is used to store data and instructions; the communication module is used for internal communication within the chip module, or for communication between the chip module and external devices; this chip corresponds to the chip in the above chip embodiment.

[0196] The implementation method of this chip module can be found in the relevant content of the above chip embodiment, and will not be repeated here.

[0197] In one exemplary embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the above-described method embodiments.

[0198] In one exemplary embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.

[0199] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0200] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0201] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0202] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for determining target wake-up time, characterized in that, A method for a workstation device applied to a wireless local area network includes: receiving a target wake-up time configuration request issued by a serial port tool; generating a target wake-up time negotiation instruction corresponding to the target wake-up time configuration request; and negotiating with the access point device of the wireless local area network according to the target wake-up time negotiation instruction to obtain the target wake-up time.

2. The method according to claim 1, characterized in that, The workstation device is equipped with a control processor; the step of negotiating with the access point device of the wireless local area network to obtain the target wake-up time according to the target wake-up time negotiation instruction includes: parsing the target wake-up time negotiation instruction to obtain target wake-up time configuration information; modifying the original control parameters of the control processor according to the target wake-up time configuration information to obtain the modified control parameters of the control processor; generating a first action frame according to the modified control parameters, and sending the first action frame to the access point device to negotiate the target wake-up time with the access point device.

3. The method according to claim 1, characterized in that, The method further includes: receiving a target wake-up time viewing request issued by the serial port tool; generating a target wake-up time viewing instruction corresponding to the target wake-up time viewing request; and returning the wake-up time information of the target wake-up time to the serial port tool according to the target wake-up time viewing instruction, so as to display the wake-up time information through the serial port tool.

4. The method according to claim 3, characterized in that, The target wake-up time viewing request includes a first network processor interface command; receiving the target wake-up time viewing request issued by the serial port tool includes: receiving the first network processor interface command issued by the serial port tool; the first network processor interface command is configured with the wireless LAN link number and target wake-up time type corresponding to the target wake-up time to be viewed.

5. The method according to claim 1, characterized in that, The method further includes: receiving a target wake-up time removal request issued by the serial port tool; generating a target wake-up time removal instruction corresponding to the target wake-up time removal request; and sending a second action frame to the access point device of the wireless local area network according to the target wake-up time removal instruction to remove the target wake-up time.

6. The method according to claim 5, characterized in that, The target wake-up time removal request includes a second network processor interface command; receiving the target wake-up time removal request issued by the serial port tool includes: receiving the second network processor interface command issued by the serial port tool; the second network processor interface command is configured with a wake-up time identifier corresponding to the target wake-up time to be removed.

7. A method for determining target wake-up time, characterized in that, The method, applied to a terminal device equipped with a serial port tool, includes: sending a target wake-up time configuration request to a workstation device in a wireless local area network (WLAN) via the serial port tool, so that the workstation device can generate a target wake-up time negotiation instruction based on the received target wake-up time configuration request, and negotiate with the access point device of the WLAN based on the target wake-up time negotiation instruction to obtain the target wake-up time.

8. A target wake-up time determination device, characterized in that, A workstation device applied to a wireless local area network (WLAN) includes: an information receiving module for receiving a target wake-up time configuration request issued by a serial port tool; an instruction generation module for generating a target wake-up time negotiation instruction corresponding to the target wake-up time configuration request; and a time negotiation module for negotiating with the access point device of the WLAN according to the target wake-up time negotiation instruction to obtain the target wake-up time.

9. A communication device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.

10. A chip module, characterized in that, The device includes a communication module, a power module, a storage module, and a chip, wherein: the power module provides power to the chip module; the storage module stores data and instructions; the communication module performs internal communication within the chip module or communication between the chip module and external devices; and the chip performs the steps of the method described in any one of claims 1 to 7.