CN107548143B - Message sending and receiving method and device, wireless access equipment and terminal equipment - Google Patents

Message sending and receiving method and device, wireless access equipment and terminal equipment Download PDF

Info

Publication number
CN107548143B
CN107548143B CN201710758331.5A CN201710758331A CN107548143B CN 107548143 B CN107548143 B CN 107548143B CN 201710758331 A CN201710758331 A CN 201710758331A CN 107548143 B CN107548143 B CN 107548143B
Authority
CN
China
Prior art keywords
power saving
saving mode
message
messages
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710758331.5A
Other languages
Chinese (zh)
Other versions
CN107548143A (en
Inventor
聂树伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201710758331.5A priority Critical patent/CN107548143B/en
Publication of CN107548143A publication Critical patent/CN107548143A/en
Application granted granted Critical
Publication of CN107548143B publication Critical patent/CN107548143B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a message sending and receiving method, a device, wireless access equipment and terminal equipment, wherein the message sending method comprises the following steps: receiving a transmission message sent by the terminal equipment, wherein the transmission message carries a target power saving mode of each cache queue corresponding to the terminal equipment; acquiring the number of messages in a cache queue sent each time; and determining the current power saving mode of each cache queue corresponding to the terminal equipment, and if the current power saving mode is a non-UAPSD power saving mode and the target power saving mode is an appointed cache queue of the UAPSD power saving mode, sending the messages in the appointed cache queue according to the acquired message quantity aiming at the appointed cache queue after detecting that the terminal equipment is switched from a dormant state to an awakening state. The scheme can improve the working efficiency of the terminal equipment.

Description

Message sending and receiving method and device, wireless access equipment and terminal equipment
Technical Field
The present invention relates to the field of wireless network technologies, and in particular, to a method and an apparatus for sending and receiving a packet, a wireless access device, and a terminal device.
Background
When a user accesses a WLAN (Wireless Local Area Network) through a STA (Station), the user may wish to be not fixed at a specific location, and therefore, the STA is often a portable electronic device, such as a notebook computer, a mobile phone, etc., and the device is powered by a battery to implement a mobile operation function of the device. The communication process between the STA and the WLAN consumes a certain amount of power and reduces the battery life of the device, and especially when the STA is not operated by the user, the STA still transmits a large amount of invalid data with the WLAN, and the invalid data can seriously affect the power storage capability of the STA.
In the WMM (Wi-Fi Multimedia ) standard, the STA is allowed to switch between a sleep state and an awakening state according to a preset strategy, and when the STA is in the sleep state, the power consumption of the STA can be saved. In the WMM standard, two Power saving modes are defined, including a conventional legacy Power saving mode and a novel UAPSD (Unscheduled Automatic Power-save Delivery) Power saving mode.
However, in the existing test, it is found that if the power saving mode negotiated between the STA and the wireless access device before is the legacy power saving mode, and the subsequent STA and the wireless access device negotiate to modify the power saving mode to be the UAPSD power saving mode, the wireless access device still adopts the legacy power saving mode, that is, only one packet is sent to the STA at a time, and modification of the power saving mode cannot be completed.
Disclosure of Invention
The embodiment of the invention aims to provide a message sending and receiving method, a message sending and receiving device, wireless access equipment and terminal equipment, so that the terminal equipment can work more effectively. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a packet sending method, where the method includes:
receiving a transmission message sent by a terminal device, wherein the transmission message carries a target power saving mode of each cache queue corresponding to the terminal device;
acquiring the number of messages in a cache queue sent each time;
and determining the current power saving mode of each cache queue corresponding to the terminal equipment, and if the current power saving mode is a non-UAPSD power saving mode and the target power saving mode is an appointed cache queue of the UAPSD power saving mode, sending the messages in the appointed cache queue according to the number of the messages after detecting that the terminal equipment is switched from a sleep state to an awakening state.
In a second aspect, an embodiment of the present invention provides a message receiving method, where the method includes:
sending a transmission message to wireless access equipment, wherein the transmission message carries target power saving modes of all buffer queues corresponding to terminal equipment and message quantity information;
and receiving messages of each buffer queue sent by the wireless access equipment, wherein the received current power saving mode is a non-UAPSD power saving mode, and the message quantity of the appointed buffer queue with the target power saving mode being the UAPSD power saving mode is determined according to the message quantity information carried in the transmission messages.
In a third aspect, an embodiment of the present invention provides a packet sending apparatus, where the apparatus includes:
the receiving module is used for receiving a transmission message sent by a terminal device, wherein the transmission message carries a target power saving mode of each cache queue corresponding to the terminal device;
the acquisition module is used for acquiring the number of messages in each sending buffer queue;
and the sending module is used for determining the current power saving mode of each cache queue corresponding to the terminal equipment, and if the current power saving mode is a non-UAPSD power saving mode and the target power saving mode is an appointed cache queue of the UAPSD power saving mode, sending the messages in the appointed cache queue according to the number of the messages after detecting that the terminal equipment is switched from a sleep state to an awakening state.
In a fourth aspect, an embodiment of the present invention provides a message receiving apparatus, where the apparatus includes:
the sending module is used for sending a transmission message to the wireless access equipment, wherein the transmission message carries the target power saving mode of each cache queue corresponding to the terminal equipment and the message quantity information;
and the receiving module is used for receiving messages of each cache queue sent by the wireless access equipment, wherein the received current power saving mode is a non-UAPSD power saving mode, and the message quantity of the specified cache queue with the target power saving mode being the UAPSD power saving mode is determined according to the message quantity information carried in the transmission message.
In a fifth aspect, an embodiment of the present invention provides a wireless access device, including a processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: implementing the method steps as described in the first aspect.
In a sixth aspect, an embodiment of the present invention provides a terminal device, including a processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: the method steps according to the second aspect are implemented.
The embodiment of the invention provides a message sending and receiving method, a device, a wireless access device and a terminal device, wherein the wireless access device receives a transmission message which is sent by the terminal device and carries a target power saving mode of each cache queue corresponding to the terminal device, acquires the number of messages in each sending cache queue, and sends the messages in the designated cache queue according to the acquired number of the messages by judging whether the current power saving mode is a non-UAPSD power saving mode and the target power saving mode is the designated cache queue of the non-UAPSD power saving mode or not and after detecting that the terminal device is switched from a sleep state to an awakening state. After the wireless access equipment receives the transmission message, the wireless access equipment learns that the power saving mode of the appointed cache queue corresponding to the terminal equipment needs to be changed from a non-UAPSD power saving mode to an UAPSD power saving mode, because the STA is switched from a sleep state to an awakening state, the wireless access equipment can determine to send a plurality of messages to the terminal equipment according to the number of the obtained messages, namely, after the power saving mode of the appointed cache queue corresponding to the terminal equipment is changed to the UAPSD power saving mode, the wireless access equipment can send the plurality of messages in the appointed cache queue to the terminal equipment, the terminal equipment can receive the plurality of messages at one time and process the plurality of messages at the same time, and the working efficiency is higher compared with the working efficiency of only processing one message.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram illustrating a WMM information field in an association message and a QoS information field in the WMM information field;
fig. 2 is a schematic flow chart of a message sending method according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an Add TS Request Action message;
fig. 4 is a schematic flowchart of a message sending method according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of a message sending method according to another embodiment of the present invention;
fig. 6 is a schematic flow chart of a message receiving method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a message sending apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a message sending apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a message sending apparatus according to another embodiment of the present invention;
fig. 10 is a schematic structural diagram of a message receiving method according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a wireless access device according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
First, the related concepts involved in the method provided by the present invention will be briefly explained.
Association message (Association Request): the message is used for the STA to negotiate the power saving mode with the AP in the process of accessing the network. Fig. 1 is a diagram illustrating a WMM information field in an association message and a QoS information field in the WMM information field.
The WMM defines four access types, and correspondingly has respective priority buffer queues which are divided into AC-VO (voice queue), AC-VI (video queue), AC-BE (best effort queue) and AC-BK (background queue) according to the priority from high to low. When none of the fields of the buffer queue is set (the setting here refers to, for example, setting the Field to 1 or setting the Field to 0) in the Qos Information Field of the association message, it indicates that the Leagcy power saving mode is negotiated to be used at this time.
The MAX SP Length field carries the message quantity information which can be sent each time. When any cache queue is set, the power saving mode at this time is characterized as the UAPSD power saving mode, and correspondingly, the wireless access device (which may be an AP or an AC) will subsequently send the messages in the corresponding cache queue according to the number of messages characterized by the MAX SP Length field.
However, in the related art, when there is a value in the Max SP Length field in the WMM information field of the received association message and the flag bit corresponding to each queue is not set, since the Max SP Length field indicates the number of packets sent by the wireless access device at a time, it is described that although the STA supports the UAPSD power saving mode, the power saving modes of each queue of the STA are all the power saving modes of the Length. According to the current protocol, when none of the queues is set, no processing is done on the Max SP Length field. Therefore, after the STA wakes up, the wireless access device transmits one of the messages buffered in the queue at a time according to the Leagcy power saving mode no matter which message buffered in the queue is transmitted to the STA. In order to improve the working efficiency of the STA, embodiments of the present invention provide a method and an apparatus for sending and receiving a message, a wireless access device, and a terminal device.
Fig. 2 is a schematic flow chart of a message sending method according to an embodiment of the present invention, and as shown in fig. 2, the message sending method provided in the embodiment of the present invention is applied to a wireless access device, where the wireless access device may be an AP or an AC, and in the embodiment, the AP is taken as an example for description, but it should be understood that the application of the method in this embodiment should not be limited thereto. As shown in fig. 2, the message sending method includes the following steps:
s201, receiving a transmission message sent by the STA, wherein the transmission message carries a target power saving mode of each buffer queue corresponding to the STA.
S202, obtaining the number of the messages in the buffer queue sent each time.
S203, determining the current power saving mode of each cache queue corresponding to the STA, and if the current power saving mode is a non-UAPSD power saving mode and the target power saving mode is an appointed cache queue of the UAPSD power saving mode, sending the messages in the appointed cache queue according to the acquired message quantity for the appointed cache queue after detecting that the STA is switched from a sleep state to an awakening state.
In the method provided by this embodiment, the wireless access device may obtain the number of packets in each sending buffer queue, and may send a plurality of packets in the specified buffer queue to the STA after the power saving mode of the specified buffer queue corresponding to the STA is changed from the current non-UAPSD power saving mode to the UAPSD power saving mode according to the obtained number of packets, and the STA may receive a plurality of packets at one time and process the plurality of packets at the same time, which is higher than the working efficiency of processing only one packet at a time.
Specifically, in step S202 of the above embodiment, when the number of packets in the buffer queue is obtained each time, the following two implementation manners may be adopted:
an optional implementation manner obtains the number of messages through the received transmission message; the other method is to obtain the number of messages through the received Association message (Association Request).
In this embodiment, a specific implementation manner of transmitting a packet is provided, and is implemented by an Add TS Request Action packet, where the packet is a type of packet that can be used for transmitting transmission characteristics of data. The Action message carries a transmission characteristic TSPEC IE (Traffic specificity Information Element, abbreviated as TSPEC IE) of the data. The TS Info information field of this type of Action message includes the information shown in fig. 3, and fig. 3 is a schematic structural diagram of an Add TS Request Action message, and the power saving mode of the STA can be modified through the Action message. Specifically, the power saving mode of the STA may be determined according to a field included in the TS information field of the Action message shown in fig. 3:
the UP field: the method comprises the following steps of specifying a specific queue, namely, which power saving mode of a buffer queue needs to be changed;
PSB field: whether the queue uses the UAPSD power saving mode or not is indicated, for example, if the queue uses the UAPSD power saving mode, the queue uses the UAPSD power saving mode is indicated, and if the queue uses the UAPSD power saving mode, the queue does not use the UAPSD power saving mode is indicated;
a Direction field: for indicating the uplink and downlink mode of the interface. In general, if the PSB field is 1 and the Direction field determines that the interface is in trigger and transmit mode, then the power saving mode indicating the queue specified by the UP field needs to be changed from non-UAPSD power saving mode to UAPSD power saving mode.
In the related technology, when the STA negotiates the power saving mode with the AP through the Action message, if the negotiation power saving mode is changed from the legacy power saving mode to the UAPSD power saving mode, the Action message only notifies the AP of modifying the queue of the power saving mode through the PSB and UP fields. However, the information of the number of messages that can be sent by the AP each time is not carried. Therefore, even if the STA side and the AP negotiate to change the power saving mode, the power saving mode is not really modified on the AP side.
This embodiment will explain the first embodiment in detail. Fig. 4 is a schematic flowchart of a message sending method according to an embodiment of the present invention, and as shown in fig. 4, the method according to this embodiment includes:
and S2011, receiving a transmission message sent by the STA, wherein the transmission message carries message quantity information.
Specifically, the Reserved (Reserved) field of the transmission message may carry message quantity information. Specifically, any one of the reserved fields may be selected to carry the number information, and this embodiment is not limited thereto.
S2022, obtaining the message quantity information carried in the transmission message, and determining the message quantity in the sending buffer queue each time according to the message quantity information.
After receiving the transmission message, the AP can determine which buffer queue power saving mode corresponding to the STA has changed, and whether the power saving mode of the queue is changed from the non-UAPSD power saving mode to the UAPSD power saving mode, so that after receiving the notification message, the AP should obtain the message quantity information carried in the transmission message. The message quantity information may be carried in the message quantity information sent by the STA to the AP, that is, the STA sets the quantity of the acquired messages.
S203, determining the current power saving mode of each cache queue corresponding to the STA, and if the current power saving mode is a non-UAPSD power saving mode and the target power saving mode is an appointed cache queue of the UAPSD power saving mode, sending the messages in the appointed cache queue according to the acquired message quantity for the appointed cache queue after detecting that the STA is switched from a sleep state to an awakening state. In S203, the execution order of the current power saving mode for each buffer queue corresponding to the STA is determined, but is not limited to this, and may be determined before S202 or before step S201.
Wherein, sending the messages in the designated buffer queue according to the number of the messages specifically comprises: and sending the messages cached in the corresponding appointed cache queue in the transmission messages to the STA according to the number of the messages. For example, in a transmission message, the power saving mode of the voice stream queue AC _ VO is changed from the non-UAPSD power saving mode to the UAPSD power saving mode, and the number of the acquired messages is 5, then after the STA switches from the sleep state to the awake state, when the AP sends the messages cached in the AC _ VO queue, the AP sends 5 messages to the STA each time.
The designated buffer queue is the buffer queue of which the target node mode is the UAPSD power saving mode. And for other buffer queues which are not appointed, only one message is sent to the STA at one time according to the Legacy power saving mode.
By applying the embodiment, after the AP receives the transmission message sent by the STA, the number of messages in the buffer queue sent by the AP each time is determined according to the message number information carried in the transmission message, after the power saving mode of the designated buffer queue corresponding to the STA is changed from the non-UAPSD power saving mode to the UAPSD power saving mode, the AP can send a plurality of messages buffered in the designated buffer queue to the STA, and the STA can receive a plurality of messages at one time and process the plurality of messages simultaneously, which is higher in working efficiency compared with the case of processing only one message at one time. The problem that in the prior art, the transmission message cannot carry message quantity information, so that when the power saving mode negotiated between the STA and the AP is the Legcy power saving mode, the follow-up STA cannot negotiate with the wireless access equipment to modify the power saving mode into the UAPSD power saving mode is solved.
In addition, it should be understood that other messages with vendor-defined fields or reserved fields, etc. may be selected from the messages in the WMM compliant message to carry the message quantity information. Alternatively, a new message may be constructed, dedicated to sending message quantity information. That is, the meaning of the transmission message does not only refer to the Add TS Request Action message, but should not use the Add TS Request Action message as a limitation for implementing the message sending method of the present invention.
Fig. 5 is a flowchart illustrating a message sending method according to another embodiment of the present invention, and as shown in fig. 5, this embodiment provides a specific implementation manner for determining the number of messages through Association messages (Association requests). The method comprises the following steps:
specifically, before step S201, the method includes: steps S2001 and S2002.
S2001, the receiving STA sends an association message, where the association message carries power saving modes of the buffer queues corresponding to the STA, and if the power saving modes of the buffer queues are non-UAPSD power saving modes, step 2002 is executed.
Wherein, the association message carries the power saving mode of the STA through the flag bit of the buffer queue. Specifically, if the flag bit of each buffer queue of the association message is not set, the power saving mode of the STA carried by the association message is the Leagcy power saving mode. If the flag bit of any one or more buffer queues of the associated message is set, the power saving mode corresponding to the buffer queue is characterized to be the UAPSD power saving mode.
And S2002, storing the quantity information carried in the association message.
For example, when the flag bit of each buffer queue is not set, that is, the power saving mode of the STA is the leg power saving mode, the method shown in table 1 may be adopted to record the number information (Max SP Length) of the packets sent by each buffer queue, which is carried in the association message. Optionally, a current power saving mode corresponding to each buffer queue may be recorded, where L indicates that the queue adopts the Leagcy power saving mode.
TABLE 1
Figure BDA0001392682650000081
When the transmission message sent by the STA is received, that is, when step 201 is executed, step S2021 is continuously executed: and acquiring the stored quantity information, and determining the quantity of the messages in the buffer queue sent each time according to the stored quantity information.
The method comprises the steps that a specific buffer queue power saving mode needs to be changed according to an UP field of a transmission message; whether to use the UAPSD power saving mode is determined by the PSB field.
S203, obtaining the current power saving mode of each buffer queue corresponding to the STA, if the current power saving mode is a non-UAPSD power saving mode and the target power saving mode is a designated buffer queue of the UAPSD power saving mode, aiming at the designated buffer queue after detecting that the STA is switched from a sleep state to an awakening state,
and sending the messages in the appointed buffer queue according to the number of the messages.
For example, if it is determined that AC _ BE and AC _ VI adopt UAPSD power saving mode according to the UP field and PSB field of the transmission packet, the information in table 1 may BE updated according to Max SP Length stored in S2002.
Updated Table 1
Figure BDA0001392682650000091
And further, when the STA is awakened, sending the messages in the cache queue to the STA according to the number of the Max SP lengths.
In the method provided in this embodiment, an STA accesses a network, negotiates a power saving mode with a wireless access device through an association message, and when negotiating a strength power saving mode, a Max SP Length field is stored without ignoring a Max SP Length field, and when a power saving mode of a specified cache queue is changed to a UAPSD power saving mode subsequently through a transmission message, a message of a corresponding cache queue is sent according to the Max SP Length of the previous message, thereby really completing switching of the power saving mode from the strength power saving mode to the UAPSD power saving mode. The vulnerability of the protocol is made up, so that the WMM protocol is more robust.
In addition, the method provided by this embodiment is an improvement performed by the wireless access device side, and for manufacturers of wireless access devices, it is not necessary to unify WMM protocols with manufacturers of STAs.
This embodiment also provides a message receiving method, which is applied to a terminal device STA, and fig. 6 is a flowchart of the message receiving method provided in the embodiment of the present invention, as shown in fig. 6, the method includes:
s301, sending a transmission message to the wireless access device, wherein the transmission message carries the target power saving mode of each buffer queue corresponding to the STA and message quantity information.
The wireless access device may be an AP or an AC.
And S302, receiving messages of each buffer queue sent by the wireless access equipment, wherein the received current power saving mode is a non-UAPSD power saving mode, and the number of the messages of the appointed buffer queue with the target power saving mode being the UAPSD power saving mode is determined according to the message number information carried by the transmission messages.
When the STA negotiates a power saving mode with the wireless access equipment, the number of messages in a cache queue sent each time can be determined by the AP through the sent transmission messages and the message number information carried by the transmission messages, after the power saving mode of the designated cache queue corresponding to the STA is changed from a non-UAPSD power saving mode to a UAPSD power saving mode, the AP can send a plurality of messages cached in the queue to the STA, the STA can receive a plurality of messages at one time and process the plurality of messages simultaneously, and the working efficiency is higher compared with the working efficiency of only processing one message at one time. The problem that in the prior art, the transmission message cannot carry message quantity information, so that when the power saving mode negotiated between the STA and the AP is the Legcy power saving mode, the follow-up STA cannot negotiate with the wireless access equipment to modify the power saving mode into the UAPSD power saving mode is solved.
The method provided by the present embodiment corresponds to the method provided by fig. 4. The present embodiment further takes STA and AP interaction as an example for explanation.
S301, STA sends transmission message to AP, the transmission message carries target power saving mode and message quantity information of each buffer queue corresponding to STA;
s2011, the AP receives the transmission packet sent by the STA.
S2022, the AP obtains the message quantity information carried in the transmission message, and determines the message quantity according to the message quantity information.
S203, the AP determines the current power saving mode of each cache queue corresponding to the STA, and if the current power saving mode is a non-UAPSD power saving mode and the target power saving mode is an appointed cache queue of the UAPSD power saving mode, the AP sends the messages in the appointed cache queue according to the determined message quantity aiming at the appointed cache queue after detecting that the STA is switched from a sleep state to an awakening state.
S302, the STA receives messages of each buffer queue sent by the AP, wherein the received current power saving mode is a non-UAPSD power saving mode, and the message quantity of the specified buffer queue with the target power saving mode being the UAPSD power saving mode is determined according to the message quantity information carried in the transmission messages.
It should be noted that the message sending method and the message receiving method provided in the above embodiments of the present invention may be applied to an AC in a networking environment of an AC + Fit AP, or an AP in a networking environment of a FAT AP.
Corresponding to the foregoing method embodiment, an embodiment of the present invention provides a message sending apparatus, which is applied to a wireless access device, and as shown in fig. 7, the apparatus may include:
a receiving module 410, configured to receive a transmission packet sent by a terminal device, where the transmission packet carries a target power saving mode of each cache queue corresponding to the terminal device;
an obtaining module 430, configured to obtain the number of messages in each sending buffer queue;
a sending module 440, configured to determine a current power saving mode of each cache queue corresponding to the terminal device, and if there is an assigned cache queue whose current power saving mode is a non-UAPSD power saving mode and a target power saving mode is a UAPSD power saving mode, send, according to the number of messages, the messages in the assigned cache queue for the assigned cache queue after detecting that the terminal device switches from a sleep state to an awake state.
In the apparatus provided in this embodiment, the obtaining module may obtain the number of packets in the buffer queue sent each time, and after the power saving mode of the designated buffer queue corresponding to the STA received by the receiving module is changed from the current non-UAPSD power saving mode to the UAPSD power saving mode according to the obtained number of packets, the sending module may send a plurality of packets in the designated buffer queue to the STA, and the STA may receive a plurality of packets at one time and process the plurality of packets at the same time.
Fig. 8 is a schematic structural diagram of a message sending apparatus according to an embodiment of the present invention, and as shown in fig. 8, the apparatus according to the embodiment includes:
a receiving module 411, configured to receive a transmission packet sent by a terminal device, where the transmission packet carries a target power saving mode of each buffer queue corresponding to the terminal device; receiving an association message sent by a terminal device, wherein the association message carries the power saving mode of each cache queue corresponding to the terminal device;
a storage module 420, configured to store quantity information carried in the association message if the power saving modes of the buffer queues are non-UAPSD power saving modes;
an obtaining module 431, configured to obtain the stored quantity information, and determine, according to the quantity information, the quantity of the packet in each sending buffer queue;
a sending module 440, configured to determine a current power saving mode of each cache queue corresponding to the terminal device, and if there is an assigned cache queue whose current power saving mode is a non-UAPSD power saving mode and a target power saving mode is a UAPSD power saving mode, send, according to the number of messages, the messages in the assigned cache queue for the assigned cache queue after detecting that the terminal device switches from a sleep state to an awake state.
By applying the embodiment, after the receiving module receives the transmission message sent by the STA, the number of messages sent by the sending module in the buffer queue each time is determined according to the message number information carried by the transmission message, after the power saving mode of the specified buffer queue corresponding to the STA is changed from the non-UAPSD power saving mode to the UAPSD power saving mode, the sending module can send a plurality of messages buffered in the specified buffer queue to the STA, the STA can receive a plurality of messages at one time and process the plurality of messages simultaneously, and the working efficiency is higher compared with the working efficiency of processing only one message at one time. The problem that when the power saving mode negotiated before between the STA and the wireless access equipment is a non-UAPSD power saving mode and the subsequent STA cannot negotiate with the wireless access equipment to modify the power saving mode into the UAPSD power saving mode due to the fact that the transmission message in the prior art cannot carry message quantity information is solved.
Fig. 9 is a schematic structural diagram of another message sending apparatus according to an embodiment of the present invention, and as shown in fig. 9, the apparatus according to the embodiment includes:
a receiving module 412, configured to receive a transmission packet sent by a terminal device and used for sending data transmission characteristics, where the transmission packet carries packet quantity information;
an obtaining module 432, configured to obtain message quantity information carried in a transmission message, and determine, according to the message quantity information, a message quantity in each sending buffer queue;
a sending module 440, configured to determine a current power saving mode of each cache queue corresponding to the terminal device, and if there is an assigned cache queue whose current power saving mode is a non-UAPSD power saving mode and a target power saving mode is a UAPSD power saving mode, send, according to the number of messages, the messages in the assigned cache queue for the assigned cache queue after detecting that the terminal device switches from a sleep state to an awake state.
Optionally, the reserved field of the transmission packet carries the packet quantity information.
By applying the embodiment, the STA accesses a network, negotiates a power saving mode with a wireless access device through an associated message, does not ignore Max SP Length when negotiating a non-UAPSD power saving mode, but stores Max SP Length field, and sends a message of a corresponding cache queue according to the Max SP Length of the previous message when the power saving mode of the specified cache queue is changed into the UAPSD power saving mode through a transmission message subsequently, thereby really completing the switching of the power saving mode from the non-UAPSD power saving mode to the UAPSD power saving mode. The vulnerability of the protocol is made up, so that the WMM protocol is more robust.
Corresponding to the above embodiment of the message receiving method, an embodiment of the present invention provides a message receiving apparatus, which is applied to a terminal device, and as shown in fig. 10, the apparatus may include:
a sending module 510, configured to send a transmission packet to a wireless access device, where the transmission packet carries information of a target power saving mode and a packet number of each buffer queue corresponding to a terminal device;
a receiving module 520, configured to receive messages of each buffer queue sent by the wireless access device, where the received current power saving mode is a non-UAPSD power saving mode, and the number of messages in a specified buffer queue whose target power saving mode is the UAPSD power saving mode is determined according to the message number information carried in the transmission message.
By applying the embodiment, when the terminal device STA negotiates the power saving mode with the wireless access device, the number of messages in the buffer queue sent each time can be determined by the AP through the sent transmission messages and the message number information carried by the transmission messages, after the power saving mode of the designated buffer queue corresponding to the STA is changed from the non-UAPSD power saving mode to the UAPSD power saving mode, the AP can send a plurality of messages buffered in the queue to the STA, and the STA can receive a plurality of messages at one time and process the plurality of messages simultaneously. The problem that when the power saving mode negotiated before between the STA and the AP is a non-UAPSD power saving mode and the subsequent STA cannot negotiate with the wireless access equipment to modify the power saving mode into the UAPSD power saving mode due to the fact that the transmission message in the prior art cannot carry message quantity information is solved.
In order to solve the problems in the prior art, an embodiment of the present invention further provides a wireless access device, as shown in fig. 11, a wireless access device 600 may include: a processor 610 and a machine-readable storage medium 620, the machine-readable storage medium 620 storing machine-executable instructions executable by the processor 610, the processor 610 being caused by the machine-executable instructions to implement the steps of the messaging method as described above.
In this embodiment, the processor of the wireless access device 600 can realize, by reading the computer program stored in the machine-readable storage medium and running the computer program: the wireless access equipment receives transmission messages which are sent by terminal equipment and carry target power saving modes of all cache queues corresponding to the terminal equipment, obtains the number of the messages in each sending cache queue, and sends the messages in the specified cache queues according to the obtained number of the messages after detecting that the terminal equipment is switched from a sleep state to an awakening state by judging whether the current power saving mode is a non-UAPSD power saving mode and the target power saving mode is the specified cache queue of the non-UAPSD power saving mode. After the wireless access equipment receives the transmission message, the wireless access equipment learns that the power saving mode of the appointed cache queue corresponding to the terminal equipment needs to be changed from a non-UAPSD power saving mode to an UAPSD power saving mode, because the STA is switched from a sleep state to an awakening state, the wireless access equipment can determine to send a plurality of messages to the terminal equipment according to the number of the obtained messages, namely, after the power saving mode of the appointed cache queue corresponding to the terminal equipment is changed to the UAPSD power saving mode, the wireless access equipment can send the plurality of messages in the appointed cache queue to the terminal equipment, the terminal equipment can receive the plurality of messages at one time and process the plurality of messages at the same time, and the working efficiency is higher compared with the working efficiency of only processing one message.
Corresponding to the message sending method provided in the foregoing embodiment, an embodiment of the present invention provides a machine-readable storage medium, which is stored in the foregoing radio access device 600, and stores machine-executable instructions, and when the machine-readable storage medium is called and executed by a processor, the steps of the message sending method are implemented.
In this embodiment, the machine-readable storage medium stored in the wireless access device 600 stores an application program that executes the message sending method provided in the embodiment of the present application when running, so that it is possible to implement: the wireless access equipment receives transmission messages which are sent by terminal equipment and carry target power saving modes of all cache queues corresponding to the terminal equipment, obtains the number of the messages in each sending cache queue, and sends the messages in the specified cache queues according to the obtained number of the messages after detecting that the terminal equipment is switched from a sleep state to an awakening state by judging whether the current power saving mode is a non-UAPSD power saving mode and the target power saving mode is the specified cache queue of the non-UAPSD power saving mode. After the wireless access equipment receives the transmission message, the wireless access equipment learns that the power saving mode of the appointed cache queue corresponding to the terminal equipment needs to be changed from a non-UAPSD power saving mode to an UAPSD power saving mode, because the STA is switched from a sleep state to an awakening state, the wireless access equipment can determine to send a plurality of messages to the terminal equipment according to the number of the obtained messages, namely, after the power saving mode of the appointed cache queue corresponding to the terminal equipment is changed to the UAPSD power saving mode, the wireless access equipment can send the plurality of messages in the appointed cache queue to the terminal equipment, the terminal equipment can receive the plurality of messages at one time and process the plurality of messages at the same time, and the working efficiency is higher compared with the working efficiency of only processing one message.
In order to solve the problem in the prior art, an embodiment of the present invention further provides a terminal device, as shown in fig. 12, a terminal device 700 may include: a processor 710 and a machine-readable storage medium 720, said machine-readable storage medium 720 storing machine-executable instructions capable of being executed by said processor 710, said processor 710 being caused by said machine-executable instructions to implement the steps of the message receiving method as described above.
In this embodiment, the processor of the terminal device 700 can realize, by reading the computer program stored in the machine-readable storage medium and running the computer program: when the STA negotiates a power saving mode with the wireless access equipment, the number of messages in a cache queue sent each time can be determined by the AP through the sent transmission messages and the message number information carried by the transmission messages, after the power saving mode of the designated cache queue corresponding to the STA is changed from a non-UAPSD power saving mode to a UAPSD power saving mode, the AP can send a plurality of messages cached in the queue to the STA, the STA can receive a plurality of messages at one time and process the plurality of messages simultaneously, and the working efficiency is higher compared with the working efficiency of only processing one message at one time. The problem that when the power saving mode negotiated before between the STA and the AP is a non-UAPSD power saving mode and the subsequent STA cannot negotiate with the wireless access equipment to modify the power saving mode into the UAPSD power saving mode due to the fact that the transmission message in the prior art cannot carry message quantity information is solved.
Corresponding to the message receiving method provided in the foregoing embodiment, an embodiment of the present invention provides a machine-readable storage medium, which is stored in the terminal device 700, stores machine-executable instructions, and when the machine-readable storage medium is called and executed by a processor, implements the steps of the message receiving method.
In this embodiment, the machine-readable storage medium stored in the terminal device 700 stores an application program that executes the message receiving method provided in the embodiment of the present application when running, so that it is possible to implement: when the STA negotiates a power saving mode with the wireless access equipment, the number of messages in a cache queue sent each time can be determined by the AP through the sent transmission messages and the message number information carried by the transmission messages, after the power saving mode of the designated cache queue corresponding to the STA is changed from a non-UAPSD power saving mode to a UAPSD power saving mode, the AP can send a plurality of messages cached in the queue to the STA, the STA can receive a plurality of messages at one time and process the plurality of messages simultaneously, and the working efficiency is higher compared with the working efficiency of only processing one message at one time. The problem that when the power saving mode negotiated before between the STA and the AP is a non-UAPSD power saving mode and the subsequent STA cannot negotiate with the wireless access equipment to modify the power saving mode into the UAPSD power saving mode due to the fact that the transmission message in the prior art cannot carry message quantity information is solved.
The machine-readable storage medium mentioned in the above-mentioned wireless Access device 600 and the terminal device 700 may include a RAM (Random Access Memory) and may also include a NVM (Non-Volatile Memory), for example, at least one disk Memory. Alternatively, the machine-readable storage medium may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
As for the embodiments of the wireless access device, the terminal device, and the machine-readable storage medium, since the contents of the methods involved are substantially similar to the foregoing embodiments of the methods, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the embodiments of the methods.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (12)

1. A method for sending a message, the method comprising:
receiving a transmission message sent by a terminal device, wherein the transmission message carries a target power saving mode of each cache queue corresponding to the terminal device;
acquiring the number of messages in a cache queue sent each time;
and determining the current power saving mode of each cache queue corresponding to the terminal equipment, and if the current power saving mode is a non-UAPSD power saving mode and the target power saving mode is an appointed cache queue of the UAPSD power saving mode, sending the messages in the appointed cache queue according to the number of the messages after detecting that the terminal equipment is switched from a sleep state to an awakening state.
2. The method according to claim 1, wherein before receiving the transmission packet sent by the terminal device, the method further comprises:
receiving an association message sent by a terminal device, wherein the association message carries the power saving mode of each cache queue corresponding to the terminal device;
if the power saving modes of the cache queues are non-UAPSD power saving modes, storing quantity information carried in the association message;
then, the obtaining the number of the messages in the buffer queue sent each time includes:
and acquiring the stored quantity information, and determining the quantity of the messages in the cache queue sent each time according to the quantity information.
3. The method according to claim 1, wherein the receiving the transmission packet sent by the terminal device comprises:
receiving a transmission message which is sent by terminal equipment and used for sending data transmission characteristics, wherein the transmission message carries message quantity information;
then, the obtaining the number of the messages in the buffer queue sent each time includes:
acquiring message quantity information carried in transmission messages, and determining the message quantity in each sending cache queue according to the message quantity information.
4. The method of claim 3, wherein the message quantity information is carried in a reserved field of the transmission message.
5. A method for receiving a message, the method comprising:
sending a transmission message to wireless access equipment, wherein the transmission message carries target power saving modes of all buffer queues corresponding to terminal equipment and message quantity information;
and receiving messages of each buffer queue sent by the wireless access equipment, wherein the current power saving mode received each time is a non-UAPSD power saving mode, and the number of the messages of the appointed buffer queue with the target power saving mode being the UAPSD power saving mode is determined according to the message number information carried in the transmission messages.
6. A message transmission apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving a transmission message sent by a terminal device, wherein the transmission message carries a target power saving mode of each cache queue corresponding to the terminal device;
the acquisition module is used for acquiring the number of messages in each sending buffer queue;
and the sending module is used for determining the current power saving mode of each cache queue corresponding to the terminal equipment, and if the current power saving mode is a non-UAPSD power saving mode and the target power saving mode is an appointed cache queue of the UAPSD power saving mode, sending the messages in the appointed cache queue according to the number of the messages after detecting that the terminal equipment is switched from a sleep state to an awakening state.
7. The apparatus of claim 6, wherein the receiving module is further configured to:
receiving an association message sent by a terminal device, wherein the association message carries the power saving mode of each cache queue corresponding to the terminal device;
the device further comprises:
the storage module is used for storing the quantity information carried in the association message if the power saving modes of the cache queues are non-UAPSD power saving modes;
the acquisition module is specifically configured to:
and acquiring the stored quantity information, and determining the quantity of the messages in the cache queue sent each time according to the quantity information.
8. The apparatus of claim 6, wherein the receiving module is specifically configured to:
receiving a transmission message which is sent by terminal equipment and used for sending data transmission characteristics, wherein the transmission message carries message quantity information;
the acquisition module is specifically configured to:
acquiring message quantity information carried in transmission messages, and determining the message quantity in each sending cache queue according to the message quantity information.
9. The apparatus of claim 8, wherein the message quantity information is carried in a reserved field of the transmission message.
10. A message receiving apparatus, the apparatus comprising:
the sending module is used for sending a transmission message to the wireless access equipment, wherein the transmission message carries the target power saving mode of each cache queue corresponding to the terminal equipment and the message quantity information;
and the receiving module is used for receiving messages of each buffer queue sent by the wireless access equipment, wherein the current power saving mode received each time is a non-UAPSD power saving mode, and the message quantity of the specified buffer queue with the target power saving mode being the UAPSD power saving mode is determined according to the message quantity information carried in the transmission message.
11. A wireless access device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: carrying out the method steps of any one of claims 1 to 4.
12. A terminal device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: implementing the method steps of claim 5.
CN201710758331.5A 2017-08-29 2017-08-29 Message sending and receiving method and device, wireless access equipment and terminal equipment Active CN107548143B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710758331.5A CN107548143B (en) 2017-08-29 2017-08-29 Message sending and receiving method and device, wireless access equipment and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710758331.5A CN107548143B (en) 2017-08-29 2017-08-29 Message sending and receiving method and device, wireless access equipment and terminal equipment

Publications (2)

Publication Number Publication Date
CN107548143A CN107548143A (en) 2018-01-05
CN107548143B true CN107548143B (en) 2020-12-11

Family

ID=60957868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710758331.5A Active CN107548143B (en) 2017-08-29 2017-08-29 Message sending and receiving method and device, wireless access equipment and terminal equipment

Country Status (1)

Country Link
CN (1) CN107548143B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111865748B (en) * 2020-06-10 2023-10-20 新华三技术有限公司 Communication system and communication method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051982A (en) * 2007-05-16 2007-10-10 杭州华三通信技术有限公司 Frame sending method and device during USP period
CN101675625A (en) * 2007-03-10 2010-03-17 Lg电子株式会社 Reciprocity energy-saving mode in tunnel direct link foundation (TDLS) wireless network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008067505A2 (en) * 2006-11-30 2008-06-05 Conexant Systems, Inc. Systems and methods for coexistence of wlan and bluetooth networks
TW200947953A (en) * 2008-05-15 2009-11-16 Ralink Technology Corp Method and apparatus for enhancing the efficiency of a wireless local area network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101675625A (en) * 2007-03-10 2010-03-17 Lg电子株式会社 Reciprocity energy-saving mode in tunnel direct link foundation (TDLS) wireless network
CN101051982A (en) * 2007-05-16 2007-10-10 杭州华三通信技术有限公司 Frame sending method and device during USP period

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Report of 3GPP TSG RAN WG2 meeting #72,Jacksonville, USA, November 15 - 19, 2010;ETSI MCC;《TSG-RAN Working Group 2 meeting #72bis,R2-110679》;20101119;全文 *

Also Published As

Publication number Publication date
CN107548143A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
KR101619987B1 (en) Power save with data fetch time, with end of data indication, and with more data acknowledgement
RU2619920C2 (en) Systems and methods for reporting configuration changes between access point and station
JP5655004B2 (en) Wireless network power management
US11895589B2 (en) Power-efficient communication of group-addressed frames
US9572105B2 (en) WLAN system with opportunistic transitioning to a low power state for power management
JP2004234667A (en) Method and apparatus for managing electric power in network interface module
US11240869B2 (en) Discontinuous reception method and device
US20120250537A1 (en) Adaptive power saving for a mobile subscriber unit in a wireless communication network
CN110169143B (en) Parameter configuration method, equipment and computer readable medium
TW201834490A (en) Adaptive power save with reinforcement learning
WO2020258103A1 (en) Monitoring method, instruction sending method and device, communication apparatus, and storage
WO2017117793A1 (en) System information sending and updating method and device
US9414404B1 (en) Coalescing application data activity from multiple applications
US10999887B2 (en) Data sending method, data receiving method, and device
US20130223309A1 (en) Mobile station and power saving method thereof
CN107548143B (en) Message sending and receiving method and device, wireless access equipment and terminal equipment
CN109302736B (en) Sleep control method and device for wireless local area network, storage medium, workstation and terminal
WO2024207486A1 (en) Power-saving information negotiation method, electronic device and storage medium
JP2014236380A (en) Base station device and sleep control method therefor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant