Wireless signal receiving method, related device and communication system
By using some fields in the wireless signal in the node device to determine whether the signal is independent of the device, the problem of increasing power consumption and reducing standby time when receiving irrelevant signals is solved, and a more efficient reception process is achieved.
Patent Information
- Application Number
- CN202311071310.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-23
- Publication Date
- 2025-02-25
AI Technical Summary
When receiving wireless signals, node devices often need to fully receive irrelevant signals to determine whether they have nothing to do with themselves, resulting in increased power consumption and reduced standby time.
When receiving a wireless signal, it is determined whether the signal is independent of the device based on some fields in the signal (such as the source terminal, the destination terminal and the field of the service indication information), and the reception of the signal is stopped when it is determined that it is independent.
It effectively reduces the receiving power consumption of the device, extends the standby time, and avoids missing service instructions.
Smart Images

Figure CN119521347A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a wireless signal receiving method, related devices and a communication system. Background Art
[0002] A wireless fidelity (Wi-Fi) network may include a central device and one or more node devices. Data can be transmitted between the central device and the node device, and between the node devices. Among them, the Wi-Fi signal sent by the device can be transmitted through a wireless channel. In the scenario where device 1 sends a signal to device 2, other devices, such as device 3, may also receive the above signal. Device 3 usually has to receive the above signal completely before determining whether the above signal is irrelevant to itself. If the above signal is irrelevant to itself, device 3 will discard the above signal.
[0003] Node devices often receive signals that are irrelevant to them, which wastes the power of node devices and reduces the standby time of node devices. Summary of the invention
[0004] The present application provides a wireless signal receiving method, a related device and a communication system. When an electronic device with a Wi-Fi connection receives a frame signal, it can determine whether the frame signal is irrelevant to the electronic device based on a partial field at the front end of the frame signal. When it is determined that the frame signal is irrelevant to the electronic device, the electronic device can stop receiving the frame signal. This can reduce the receiving power consumption of the electronic device.
[0005] In a first aspect, the present application provides a method for receiving a wireless signal. The method is applied to a first device, and the first device establishes a communication connection with a second device. The first device receives a first signal, and when receiving the first signal, determines that the first signal is irrelevant to the first device according to the first content of the first signal; the first device stops receiving the first signal; wherein the first signal is irrelevant to the first device includes: the first content indicates that the second device does not have the service of the first device, or the first content indicates that the destination of the first signal is not the first device.
[0006] In some embodiments, a Wi-Fi connection is established between the first device and the second device. The first device can access a first network through the second device. The first network may include Ethernet. For example, the first device and the second device may be respectively Figure 1A The node device and the central device shown. Alternatively, a Wi-Fi direct connection is established between the first device and the second device. A local area network is established between the first device and the second device. For example, the first device and the second device can be respectively Figure 1B Group client devices and group owner devices shown.
[0007] The first signal may be a Wi-Fi signal. The first content may be a partial field in the first signal. The first content indicating that the second device does not have the service of the first device may indicate that the second device does not temporarily store the temporary data of the first device.
[0008] It can be seen that the first device can start to determine whether the first signal is irrelevant to the first device after receiving a partial field of the first signal. In the case where it is determined that the first signal is irrelevant to the first device, the first device can stop receiving the first signal without having to receive the first signal completely and then discard the first signal. The above method can save power consumption of the first device when the first device receives irrelevant Wi-Fi signals.
[0009] In combination with the first aspect, in some embodiments, the first content includes one or more of the following fields in the first signal: a field used to indicate a source end of the first signal, a field used to indicate a destination end of the first signal, and a field corresponding to service indication information.
[0010] In combination with the first aspect, in some embodiments, the first signal is a beacon frame, and the first content includes a first basic service set identifier BSSID field and a first data to be transmitted TIM field in the first signal. The first BSSID may be a field used to indicate the source of the first signal. The first TIM field is a field corresponding to the service indication information, and the first device may determine whether the first signal is irrelevant to the first device based on the first BSSID field and the first TIM field. In which, when the first BSSID field matches the BSSID of the second device, and the first TIM field indicates that there is no service of the first device in the second device, the first device determines that the first signal is irrelevant to the first device.
[0011] The matching of the first BSSID field and the BSSID of the second device may indicate that the source of the first signal is the second device.
[0012] It can be seen that when receiving a beacon frame, when the first device receives a beacon frame broadcast by the second device and without a service indication, the first device can determine that the beacon frame has nothing to do with itself. The first device can receive the beacon frame while judging whether the beacon frame has nothing to do with the first device based on some fields in the received beacon frame. Once it is determined that the beacon frame has nothing to do with the first device, the first device can stop receiving the beacon frame. This can save power consumption of the first electronic device.
[0013] In combination with the first aspect, in some embodiments, the first device is in an awake state, and after determining that the first signal is irrelevant to the first device according to the first content of the first signal when receiving the first signal, the first device enters a sleep state.
[0014] When the first BSSID field matches the BSSID of the second device, and the first TIM field indicates that the second device has the service of the first device, the first device can receive the first signal completely. The service of the first device in the second device can indicate that the temporary data associated with the first device is temporarily stored in the second device. Then, the first device can perform an FCS check on the first signal, and enter an activated state after the FCS check passes, and obtain the temporary data associated with the first device from the second device.
[0015] It can be seen that when the first device receives a beacon frame in the awake state, it can determine whether it is necessary to terminate the reception of the beacon frame in advance to save the reception power consumption of the first device. The first device can receive the beacon frame while determining whether the beacon frame is irrelevant to the first device based on some fields in the received beacon frame. Once it is determined that the beacon frame is irrelevant to the first device, the first device can enter the sleep state in advance to save the power consumption of the first device.
[0016] In combination with the first aspect, in some embodiments, before determining that the first signal is irrelevant to the first device according to the first content of the first signal when receiving the first signal, the first device pre-judges the first signal according to the second content of the first signal, and determines that the first signal meets the pre-judgment condition, wherein the second content is located earlier in the first signal than the first content is located in the first signal, and the second content includes: the legacy signaling field L-SIG of the first signal, the transmission rate of the first signal, and the frame type of the first signal, and the pre-judgment includes: determining whether the L-SIG check is passed, determining whether the signal transmission rate is the basic rate, and determining whether the frame type is a beacon frame, and the first signal meets the pre-judgment condition including: the L-SIG check is passed, the transmission rate of the first signal is the basic rate, and the frame type of the first signal is a beacon frame.
[0017] In combination with the first aspect, in some embodiments, the first device is in an awake state, and before the first device receives the first signal, the first device receives a second signal, and when receiving the second signal, the first device pre-judges the second signal according to a third content of the second signal, and determines that the second signal does not meet the pre-judgment condition; the first device stops receiving the second signal and remains awake; wherein the third content includes: the L-SIG of the second signal, the transmission rate of the second signal, and the frame type of the second signal; the second signal does not meet the pre-judgment condition including: the L-SIG check fails, or the transmission rate of the second signal is not the basic rate, or the second signal is not a beacon frame.
[0018] The second signal is a Wi-Fi signal.
[0019] In some embodiments, when the second signal does not meet the pre-determined condition, the first device may reset RXAGC to stop receiving the second signal. The first device may interrupt the processing of the current signal by resetting RXAGC, and continue to monitor and receive new Wi-Fi signals. That is, after the first device resets RXAGC, the first device is still in the awake state to wait for receiving the beacon frame sent by the second device.
[0020] The signal that does not meet the pre-determination condition is not a beacon frame that the first device wants to receive.
[0021] It is understandable that the first device is in the awake state in order to receive the beacon frame broadcast by the second device. The above beacon frame is transmitted through the air interface. After the first device enters the awake state, the air interface may be temporarily occupied by other devices, and the transmitted signal is not the beacon frame broadcast by the second device. If the first device has not received the beacon frame broadcast by the second device in the awake state, the first device should remain awake after receiving other signals and continue to wait for receiving the beacon frame broadcast by the second device to avoid missing the service indication information of the second device.
[0022] In some embodiments, after the first device receives a frame of Wi-Fi signal, it can first perform the above-mentioned pre-judgment on the Wi-Fi signal. If the pre-judgment meets the conditions, the first device can determine whether the frame signal is unrelated to the first device based on the BSSID field and TIM field in the frame of Wi-Fi signal. If the BSSID field in the frame of Wi-Fi signal matches the BSSID of the second device, and the TIM field indicates that the second device has the service of the first device, the first device can completely receive the frame of Wi-Fi signal. Then, the first device can perform FCS check on the frame of Wi-Fi signal. If the FCS check fails, the first device can reset RXAGC. It can be understood that the failure of the FCS check can indicate that there is an error in the data of the Wi-Fi signal and it is an unusable data packet. For example, if the Wi-Fi signal loses some fields during the transmission process, the FCS check fails. The first device needs to remain awake to wait for the reception of a Wi-Fi signal that can pass the FCS check.
[0023] It can be seen that when the signal received by the first device in the awake state is not the beacon frame that the first device wants to receive or the FCS check fails, the first device can reset the RXAGC in advance, stop receiving the subsequent fields of the Wi-Fi signal or stop processing the Wi-Fi signal, but still remain awake to wait for the beacon frame it wants to receive. The beacon frame that the first device wants to receive can be the beacon frame broadcast by the second device. The above method can reduce the receiving power consumption of the first device in the awake state, reduce the power consumed by the first device when receiving irrelevant beacon frames, and prevent the first device from missing the business that needs to be performed on the second device.
[0024] In combination with the first aspect, in some embodiments, the first device is in an awake state, and before the first device receives the first signal, the first device receives a third signal, and when receiving the third signal, determines that the second BSSID field in the third signal does not match the BSSID of the second device, and the third signal is a beacon frame; the first device stops receiving the third signal and remains awake.
[0025] The third signal is a Wi-Fi signal. The mismatch between the second BSSID and the BSSID of the second device may indicate that the third signal is not a signal sent by the second device. Since the first device is in the awake state to wait for receiving the beacon frame sent by the second device, when receiving a signal sent by a device other than the second device, the second device may stop receiving the signal and remain in the awake state. This can reduce the receiving power consumption of the first device in the awake state, and the first device can wait in the awake state to receive the beacon frame sent by the second device to avoid missing the service indication information of the second device.
[0026] In combination with the first aspect, in some embodiments, the first device is in an activated state, the first signal is a data frame, and the first device determines the first transmission opportunity TXOP information based on the preamble field of the first signal, and the first TXOP information is used to indicate the transmission duration of the first signal; when receiving the first signal, after determining that the first signal is irrelevant to the first device based on the first content of the first signal, the first device enters a sleep state or a low power consumption state, and enters an activated state after the transmission duration indicated by the first TXOP ends.
[0027] It can be seen that when a node device receives a data frame in an activated state, it can determine whether it needs to terminate the reception of the data frame in advance based on the received partial fields, and enter a dormant state or a low-power state to save the receiving power consumption of the node device. And the node device can enter the activated state again after the transmission duration indicated by the TXOP ends to ensure that subsequent frames can be received normally and avoid missing the data frames sent to the node device by the central device associated with the node device.
[0028] In combination with the first aspect, in some embodiments, the first signal is a data frame. The first signal is a signal based on 802.11n communication, the first content includes a source address field and / or a destination address field in the first signal, and the first device can determine whether the first signal is irrelevant to the first device according to the source address field and / or the destination address field. Wherein, when the source address field indicates that the source end of the first signal is not the second device, or when the destination address field indicates that the destination end of the first signal is not the first device, the first device determines that the first signal is irrelevant to the first device.
[0029] For example, the first signal may be a HT-mixed format PPDU.
[0030] In combination with the first aspect, in some embodiments, the first signal is a data frame. The first signal is a signal based on communication in a single-user scenario in 802.11ac, and the first content includes one or more of the following fields in the first signal: a group ID field, a partial association ID field, a source address field, and a destination address field. The first device can determine whether the first signal is irrelevant to the first device based on one or more of the Group ID field, the Partial AID field, the source address field, and the destination address field. Wherein, when the Group ID field value is 0, or the Partial AID field value does not match the first preset value, or the source address field indicates that the source end of the first signal is not the second device, or the destination address field indicates that the destination end of the first signal is not the first device, the first device determines that the first signal is irrelevant to the first device.
[0031] For example, the first signal may be a VHT SU PPDU.
[0032] In combination with the first aspect, in some embodiments, the first signal is a data frame. The first signal is a signal based on communication in a multi-user scenario in 802.11ac, and the first content includes one or more of the following fields in the first signal: Group ID field, space-time stream number NSTS field, source address field, destination address field, and the first device can determine whether the first signal is irrelevant to the first device based on one or more of the Group ID field, NSTS field, source address field, and destination address field. Among them, when the bit corresponding to the Group ID field in the member status sequence field is 0, or the NSTS field value corresponding to the first device is 0, or the source address field indicates that the source end of the first signal is not the second device, or the destination address field indicates that the destination end of the first signal is not the first device, the first device determines that the first signal is irrelevant to the first device;
[0033] The member status sequence field is used to indicate the Group ID of the user group to which the first device belongs.
[0034] For example, the first signal may be a VHT MU PPDU.
[0035] In combination with the first aspect, in some embodiments, the first signal is a data frame. The first signal is a signal based on 802.11ax or 802.11be communication, and the first content includes one or more of the following fields in the first signal: basic service set coloring BSS Color field, uplink / downlink UL / DL field, Format field, destination address field, and the first device can determine whether the first signal is irrelevant to the first device based on one or more of the BSS Color field, UL / DL field, Format field, and destination address field. Among them, when the BSS Color field does not match the BSS Color of the second device, or the UL / DL field value is 1, or the Format field value is 1 and the context of the first device is not in the trigger state, or the destination address field indicates that the destination end of the first signal is not the first device, the first device determines that the first signal is irrelevant to the first device.
[0036] For example, the first signal may be a HE SU PPDU.
[0037] In combination with the first aspect, in some embodiments, a plurality of media access control layer protocol data units MPDU are aggregated in the first signal, and the source address field and the destination address field are both fields in the first MPDU in the first signal.
[0038] In a second aspect, the present application provides an electronic device, which may include a communication device, a memory, and a processor. The communication device may be used to receive and send wireless signals. The memory may be used to store a computer program. The processor may be used to call the computer program so that the electronic device executes any possible implementation method as in the first aspect.
[0039] In a third aspect, the present application provides a computer-readable storage medium, comprising instructions, which, when executed on an electronic device, enable the electronic device to execute any possible implementation method in the first aspect.
[0040] In a fourth aspect, the present application provides a computer program product, which may include computer instructions. When the computer instructions are run on an electronic device, the electronic device executes any possible implementation method in the first aspect.
[0041] In a fifth aspect, the present application provides a chip, which is applied to an electronic device, and the chip includes one or more processors, and the processor is used to call computer instructions to enable the electronic device to execute any possible implementation method as in the first aspect.
[0042] It can be understood that the electronic device provided in the second aspect, the computer-readable storage medium provided in the third aspect, the computer program product provided in the fourth aspect, and the chip provided in the fifth aspect are all used to execute the method provided in the embodiment of the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1A and Figure 1B is an architecture diagram of a communication system provided in an embodiment of the present application;
[0044] Figure 2 is a schematic diagram of Wi-Fi signal transmission provided in an embodiment of the present application;
[0045] Figure 3A It is a schematic diagram of a PPDU frame structure provided in an embodiment of the present application;
[0046] Figure 3B It is a schematic diagram of a frame structure of an MPDU provided in an embodiment of the present application;
[0047] Figure 3C It is a schematic diagram of a PPDU frame structure provided in an embodiment of the present application;
[0048] Figure 3D It is a schematic diagram of a PPDU frame structure provided in an embodiment of the present application;
[0049] Figure 4 is a flow chart of a wireless signal receiving method provided in an embodiment of the present application;
[0050] Figure 5 It is a schematic diagram of a node device performing state switching provided by an embodiment of the present application;
[0051] Figure 6 It is a schematic diagram of a frame structure of an HT-mixed format PPDU provided in an embodiment of the present application;
[0052] Figure 7 is a flow chart of a wireless signal receiving method provided in an embodiment of the present application;
[0053] Figure 8 It is a schematic diagram of a node device performing state switching provided by an embodiment of the present application;
[0054] Fig. 9It is a schematic diagram of a frame structure of a VHT PPDU provided in an embodiment of the present application;
[0055] Fig.10 It is a schematic diagram of the structure of a VHT-SIG-A in a VHT SU PPDU provided in an embodiment of the present application;
[0056] Fig.11 is a flow chart of a wireless signal receiving method provided in an embodiment of the present application;
[0057] Fig.12 It is a schematic diagram of a node device performing state switching provided by an embodiment of the present application;
[0058] Fig.13 1 is a schematic diagram of the structure of a VHT-SIG-A in a VHT MU PPDU provided in an embodiment of the present application;
[0059] Fig.14 It is a structural diagram of a member status sequence field provided in an embodiment of the present application;
[0060] Fig.15 is a flow chart of a wireless signal receiving method provided in an embodiment of the present application;
[0061] Fig.16 It is a schematic diagram of a node device performing state switching provided by an embodiment of the present application;
[0062] Fig.17 It is a schematic diagram of a frame structure of a HE SU PPDU provided in an embodiment of the present application;
[0063] Fig.18 It is a schematic diagram of the structure of VHT-SIG-A in a HE SU PPDU provided in an embodiment of the present application;
[0064] Fig.19 is a flow chart of a wireless signal receiving method provided in an embodiment of the present application;
[0065] Fig. 20 It is a schematic diagram of a node device performing state switching provided by an embodiment of the present application;
[0066] Fig.21 is a schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of the present application;
[0067] Fig. 22 It is a software structure block diagram of an electronic device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0068] The technical solutions in the embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "a", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear indication to the contrary in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two). The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in a "or" relationship.
[0069] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0070] In the embodiments of the present application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0071] Communication System
[0072] The communication system involved in this application is introduced below.
[0073] Figure 1A The schematic diagram of the architecture of the communication system 10 provided in the present application is exemplified.
[0074] like Figure 1A As shown, the communication system 10 may include a central device and multiple node devices. The multiple node devices may include node device 1, node device 2, node device N, etc. N may be a positive integer.
[0075] A Wi-Fi connection can be established between the central device and the node device. The central device can be used to provide network access services. The central device can be called an access point (AP) or a central node. The node device can access the network, such as a Wi-Fi network, through the central device. In this way, users can use the node device to surf the Internet. The node device can be called a station (STA).
[0076] The device types of the central device may include: routers, mobile phones, smart watches, smart speakers, personal computers, smart TVs, tablet computers, smart sockets, air purifiers, smart desk lamps, smart air conditioners, smart curtains, smart water heaters, etc. The device types of the node devices may include: mobile phones, smart watches, smart speakers, personal computers, smart TVs, tablet computers, smart sockets, air purifiers, smart desk lamps, smart air conditioners, smart curtains, smart water heaters, etc. The embodiments of the present application do not limit the device types of the central device and the node device.
[0077] Figure 1B The schematic diagram of the architecture of the communication system 20 provided in the present application is exemplified.
[0078] like Figure 1B As shown, the communication system may include a group owner (GO) device and multiple group client (GC) devices. The multiple group client devices may include group client device 1, group client device 2, group client device M, etc. M may be a positive integer.
[0079] A Wi-Fi Direct connection can be established between the GO device and the GC device. A Wi-Fi Direct connection can also be called a Wi-Fi Peer-to-Peer (Wi-Fi P2P) connection. After a Wi-Fi Direct connection is established between the GO device and the GC device, files and other data can be transferred to each other through the Wi-Fi network without the need for an intermediary wireless access point.
[0080] The device types of GO devices and GC devices may include but are not limited to: mobile phones, smart watches, smart speakers, personal computers, smart TVs, tablets, smart sockets, air purifiers, smart desk lamps, smart air conditioners, smart curtains, smart water heaters, etc.
[0081] In the subsequent embodiments of this application, Figure 1AThe wireless signal receiving method is introduced with reference to the communication system 10 shown in the figure. The wireless signal receiving method for communication between the GO device and the GC device in the communication system 20 can refer to the wireless signal receiving method in the communication system 10.
[0082] Here, a hierarchical processing mechanism of Wi-Fi signals is introduced based on the above-mentioned communication system 10 and communication system 20.
[0083] Devices with Wi-Fi connections can communicate based on Wi-Fi protocols (such as IEEE 802.11 protocols). Among them, devices can send and receive Wi-Fi signals according to a layered processing mechanism. The Open System Interconnection Reference Model (OSI) divides the network into seven layers from top to bottom: application layer, presentation layer, session layer, transport layer, network layer, data link layer and physical (PHY) layer. The Wi-Fi protocol can belong to the data link layer and the physical layer. Among them, the data link layer may include a logical link control (LLC) layer and a media access control (MAC) layer. The LLC layer can be used to provide services to upper layers (such as the network layer), including: transmission reliability assurance and control, packet grouping and reassembly, sequential transmission of data packets, and so on. The MAC layer can be used to encapsulate / unload data frames, manage links, address and parse frames, receive and send frames, perform error control on frames, filter frames, and so on. The PHY layer may be used to modulate / demodulate frames, encode / decode frames, perform frame check sequence (FCS) checks on frames, and so on.
[0084] Figure 2 The schematic diagram exemplarily shows Wi-Fi signal transmission.
[0085] like Figure 2 As shown, device A1 may include a MAC layer function module 211 and a physical layer function module 212. Device A2 may include a MAC layer function module 221 and a physical layer function module 222. The MAC layer function module 211 and the MAC layer function module 221 may be used to implement the functions of the above-mentioned MAC layer. The physical layer function module 212 and the physical layer function module 222 may be used to implement the functions of the above-mentioned PHY layer. Device A1 and device A2 may be any one of the devices in the above-mentioned communication system 10 or communication system 20. Device A1 may send a Wi-Fi signal. Device A2 may receive a Wi-Fi signal sent by device A1.
[0086] In the process of sending Wi-Fi signals, the MAC layer function module 211 in the device A1 can encapsulate the data to be sent into a MAC layer protocol data unit (MAC protocol data unit, MPDU). The MPDU may include a MAC header. The source address and destination address of the MPDU are recorded in the MAC header. The source address can be used to indicate the source end (i.e., the sender) of the MPDU. The destination address can be used to indicate the destination end (i.e., the receiver) of the MPDU. The MAC header is located at the front end of the MPDU. The MAC layer function module 211 can send the MPDU to the physical layer function module 212. The physical layer function module 212 can encapsulate the MPDU into a physical layer protocol data unit (PHY protocol data unit, PPDU). Among them, the physical layer function module 212 can convert the MPDU into a physical layer service data unit (PHY service data unit, PSDU). The PPDU may include a preamble code and a PSDU. The preamble code is located at the front end of the PPDU. The physical layer function module 212 can also encode and modulate the PPDU. Then, the device A1 can send the encoded and modulated PPDU outward. The PPDU may be transmitted via a wireless channel.
[0087] The physical layer function module 222 in device A2 can receive the PPDU sent by device A1. The physical layer function module 222 can demodulate, decode and perform FCS check on the PPDU. After the FCS check is passed. The physical layer function module 222 can extract the PSDU from the PPDU, convert the PSDU into an MPDU, and then send the MPDU to the MAC layer function module 221. The MAC layer function module 221 can parse the MPDU, obtain the destination address from the MAC header, filter out frames that are not sent to itself, and perform corresponding processing on the frames sent to itself.
[0088] PPDU and MPDU frame structure
[0089] Figure 3A The frame structure of the PPDU is exemplarily shown.
[0090] like Figure 3A As shown, the PPDU may include a Preamble field, a DATA field, and an FCS field. The Preamble field may represent the above-mentioned preamble. The DATA field may include a MAC header and a frame body. The FCS field may be used to check the integrity of the received frame. The FCS field may be located at the end of the PPDU. The above-mentioned MAC header, frame body, and FCS field may constitute an MPDU.
[0091] Figure 3B The frame structure of the MPDU is exemplarily shown.
[0092] like Figure 3B As shown, the MPDU may include a MAC header, a frame body, and a frame check sequence. Among them, the MAC may include a frame control field, a duration (duration) / ID field, an address 1 (address1) field, an address 2 (address1) field, an address 3 (address3) field, a sequence control (sequence control) field, an address 4 (address3) field, and a quality of service (QoS) control field. The QoS control field appears in the data frame.
[0093] The frame control field may include a protocol version field, a type field, a subtype field, a to distributed system (To DS) field, a from distributed system (From DS) field, and the like. The protocol version field may be used to indicate the MAC protocol version of the MPDU. The To DS field and the From DS field may be used to determine whether the MPDU is from a distributed system (i.e., an access point). When the To DS field value is 0 and the From DS field value is 0, the address 1 field is used to indicate the destination address, the address 2 field is used to indicate the source address, the address 3 field is used to indicate the basic service set identifier (BSSID), and the address 4 field is reserved. When the To DS field value is 0 and the From DS field value is 1, the address 1 field is used to indicate the destination address, the address 2 field is used to indicate the BSSID, the address 3 field is used to indicate the source address, and the address 4 field is reserved. When the To DS field value is 1 and the From DS field value is 0, the address 1 field is used to indicate the BSSID, the address 2 field is used to indicate the source address, the address 3 field is used to indicate the destination address, and the address 4 field is reserved. When the value of the To DS field is 1 and the value of the From DS field is 1, the Address 1 field is used to indicate the BSSID of the destination AP, the Address 2 field is used to indicate the BSSID of the source AP, the Address 3 field is used to indicate the destination address, and the Address 4 field is used to indicate the source address.
[0094] That is to say, the MAC header contains the source address, destination address and BSSID.
[0095] When the MPDU is a signal sent by the central device to the node device, the source address recorded in the MPDU is the BSSID of the central device.
[0096] The type field can be used to indicate the type of MPDU. The types of MPDU can include: management frame, control frame, data frame. Different types of frames have different processing methods. Management frames can be used to manage wireless networks, including network information notification, joining or exiting wireless networks, etc. Management frames can include beacon frames, probe request frames, probe response frames, association request frames, association response frames, etc. Data frames can be used to transmit data messages. Control frames can be used to assist in the transmission of data frames, are responsible for clearing wireless channels, acquiring channels, etc., and can also be used for confirmation when receiving data.
[0097] The subtype field may be used to indicate the subtype of the MPDU. The subtypes of the MPDU may include: association request, association response, probe request, probe response, beacon, reassociation request, reassociation response, timed broadcast, etc.
[0098] The fields included in the frame body of the MPDU are related to the type of the MPDU. The fields included in the frame body of different types of MPDUs may be different.
[0099] Figure 3C The frame structure of the PPDU that encapsulates the beacon frame is exemplified.
[0100] In some embodiments, the central device may broadcast beacon frames periodically. Beacon frames can be used to indicate the existence of the network where the central device is located and various wireless parameters indicated by the network, such as service set identifier (SSID), supported rates, and so on. The network where the above-mentioned central device is located may be a wireless network created by the central device. Before the node device establishes a Wi-Fi connection with the central device and accesses the network where the central device is located, it can discover the central device based on the beacon frame and then request to establish a Wi-Fi connection with the central device. This application does not limit the specific implementation method for establishing a Wi-Fi connection between a node device and a central device.
[0101] like Figure 3C As shown in FIG. 1 , the PPDU may include a Preamble field, a DATA field, and an FCS field. The DATA field may include a MAC header and a frame body. The type of the MPDU composed of the MAC header, the frame body, and the FCS field may be a beacon frame. The MAC header may occupy 28 bytes. The contents of the MAC header may refer to the above Figure 3BIntroduction. The frame body may include fixed parameters and tagged parameters. The fixed field may occupy 12 bytes. The fixed field may include timestamps, cycles, and other contents. The timestamp may indicate the time when the beacon frame is sent, and may be used to synchronize node devices. The cycle may be used to indicate how long the central device broadcasts the next beacon frame. For example, the above cycle is 200 milliseconds. The central device may broadcast a beacon frame every 200 milliseconds. The tag field may include data to be transmitted information (trafficindication map, TIM). The central device may temporarily store frames for node devices in a dormant state. The central device may pass these temporarily stored frames to the node devices at regular intervals. TIM may be used by the central device to notify the node devices connected to its network that information is temporarily stored in the central device. The node device may enter the awake state from the dormant state after a period of dormancy. The node device may listen to the beacon frame in the awake state to determine whether the data of the node device is temporarily stored in the central device. When the TIM contained in the beacon frame monitored by the node device indicates that the central device temporarily stores the data of the node device, the node device can wake up and obtain the data related to itself from the central device. Otherwise, the node device can enter the dormant state.
[0102] Depend on Figure 3C It can be seen that TIM occupies 26 bytes. The beacon frame also includes a 3854-byte field after TIM.
[0103] In some embodiments, after the physical layer function module of the node device completely receives the PPDU encapsulating the beacon frame, it performs an FCS check on the PPDU. The FCS check can be used to verify the integrity of the received frame. After the FCS check is passed, the physical layer function module can send the beacon frame to the MAC layer function module. The MAC layer function module can parse the beacon frame, determine whether the beacon frame is sent by the central device associated with the node device based on the MAC header, and determine whether the central device has a service indication based on the TIM. The central device associated with the above-mentioned node device is a central device that has established a Wi-Fi connection with the node device. The above-mentioned central device has a service indication, which can indicate that the central device temporarily stores frames for the node device, and the node device needs to interact with the central device to use the central device to temporarily store data for the node device.
[0104] If the node device determines that the central device has no service indication according to the TIM, the node device returns to the dormant state. The TIM in the beacon frame indicates that the central device has no service indication to the node device, which means that the beacon frame has nothing to do with the node device.
[0105] It can be seen that the node device only needs to use the MAC header and TIM in the beacon frame to determine whether the beacon frame is irrelevant to the node device, and does not use the fields after TIM in the beacon frame. The fields after TIM occupy most of the content of the beacon frame. Due to the limitations of the frame structure and the hierarchical processing mechanism of Wi-Fi signals, the physical layer function module of the node device needs to perform FCS verification after receiving all the fields of the beacon frame, and finally give the beacon frame to the MAC layer function module to determine whether the beacon frame is irrelevant to the node device. In this way, for beacon frames that are irrelevant to the node device, the node device always has to spend corresponding time and power to receive a large number of useless fields before filtering out these irrelevant beacon frames. This will cause the power of the node device to be wasted.
[0106] Figure 3D The PPDU that aggregates multiple MPDUs is exemplarily shown.
[0107] As can be seen from the above embodiments, the type of MPDU may include a data frame. The data frame may be used to transmit data messages. For example, when the central device wants to send data temporarily stored for the node device to the node device, it may send a data frame to the node device. Data frames may also be transmitted between different central devices. The node device may also send data frames to the central device and other node devices.
[0108] The PPDU that encapsulates the data frame may be referred to as a data PPDU.
[0109] In some embodiments, in order to resolve conflicts arising from channel competition and the problem of the backoff mechanism reducing system throughput, the Wi-Fi protocol uses frame aggregation technology. The frame aggregation technology can aggregate multiple MPDUs into one AMPDU, retain only one Preamble field, and delete the Preamble fields of the remaining MPDUs. This can reduce the additional information of the Preamble of each MPDU, reduce protocol overhead, and improve frame efficiency.
[0110] like Figure 3D As shown, the PPDU that aggregates multiple MPDUs may include a Preamble field and a DATA field. The DATA field may include multiple MPDUs: MPDU1, MPDU2, MPDU K, etc. K is a positive integer. Multiple MPDUs aggregated in a frame of PPDU are all sent to the same user (such as a node device). Multiple MPDUs aggregated in a frame of PPDU may include a MAC header. The content of the MAC header can refer to the aforementioned Figure 3B Introduction.
[0111] In some embodiments, after the physical layer function module of the node device completely receives the data PPDU, it performs an FCS check on the data PPDU. After the FCS check is passed, the physical layer function module can send multiple MPDUs aggregated in the data PPDU to the MAC function module. The MAC layer function module can parse these multiple MPDUs and determine whether the data PPDU frame is an interference frame based on the destination address indicated by the MAC header in at least one MPDU. Among them, if the destination address indicated by the MAC header is not the address of the node device, the data PPDU frame is an interference frame, that is, the data PPDU is not sent to this node device. The node device can discard the interference frame. If the node device determines that the data PPDU is an interference frame, it can be said that the data PPDU is irrelevant to the node device.
[0112] It can be seen that the node device can use only the MAC header in the data PPDU to determine whether the data PPDU is irrelevant to the node device without using other fields. Due to the limitations of the frame structure and the hierarchical processing mechanism of the Wi-Fi signal, the physical layer function module of the node device needs to perform FCS verification after receiving all the fields of the data PPDU, and finally give the data PPDU to the MAC layer function module to determine whether the data PPDU is irrelevant to the node device. The MAC layer function module recognizes the interference frame and relies on the physical layer function module to receive the entire interference frame. In addition, the data PPDU is transmitted between devices through the air interface. The wireless channel used for air interface transmission is public. Therefore, there are a large number of interference frames in the air interface transmission. Each time the node device receives an interference frame, it will spend corresponding time and power to receive a large number of useless fields before filtering out these interference frames. This will also cause the power of the node device to be wasted.
[0113] The present application provides a wireless signal receiving method. In the process of receiving a PPDU, a node device can determine whether the PPDU is irrelevant to the node device according to some fields at the front end of the PPDU. If it is determined that the PPDU is irrelevant to the node device, the node device can stop receiving the PPDU and enter a dormant state. Otherwise, the node device can receive the PPDU completely.
[0114] Among them, the above-mentioned partial fields located at the front end of the PPDU and used to determine the relationship between the PPDU and the node device may include one or more of the following: a field for indicating the source end, a field for indicating the destination end, and a field corresponding to the service indication information. The above-mentioned field for indicating the source end can indicate which device is the sender of the PPDU. The field for indicating the destination end can indicate which device is the receiver of the PPDU. The field corresponding to the service indication information can be used to indicate whether there is a service that the node device in the central device needs to perform.
[0115] The situation where the PPDU is not related to a node device may include, but is not limited to: the field corresponding to the service indication information in the PPDU indicates that there is no service to be performed by this node device in the central device, and the recipient of the PPDU is not this node device. The service to be performed by the node device in the central device may include the node device obtaining from the central device data temporarily stored by the central device for the node device. The recipient of the PPDU is not this node device may specifically include: the recipient of the PPDU is the central device associated with this node device, or the PPDU is sent by the central device associated with this node device to other devices, or the PPDU is sent by a central device to which this node device is not associated, or the recipient of the PPDU is a central device to which this node device is not associated.
[0116] It can be seen from the above method that after receiving some fields of the PPDU, the node device can start to determine whether the PPDU is irrelevant to the node device. In the case of determining that the PPDU is irrelevant to the node device, the node device can stop receiving the PPDU without having to receive the PPDU completely and then discard the PPDU. The above method can save the power consumption of the node device when the node device receives an irrelevant PPDU.
[0117] In some embodiments, the central device may broadcast beacon frames periodically. When the central device temporarily stores frames for one or more node devices in a dormant state, the central device may write corresponding data in the field corresponding to the service indication information in the beacon frame to indicate that the one or more node devices have services that need to be performed in the central device. After the node device establishes a Wi-Fi connection with the central device, it can enter the awake state from the dormant state every time it sleeps for a period of time. The node device can listen to the beacon frame in the awake state to determine whether it has services that need to be performed in the central device. That is, the node device can determine whether the received PPDU encapsulating the beacon frame is irrelevant to the node device in the awake state. Among them, in the process of receiving the PPDU encapsulating the beacon frame, when the MAC header and TIM in the PPDU are received, the node device can parse the MAC header and TIM, determine whether the beacon frame is sent by the central device associated with the node device, and determine whether there is a service that the node device wants to perform in the central device. When it is determined that the beacon frame is sent by the central device associated with the node device, and there is no service to be performed by the node device in the central device, the node device can stop receiving the PPDU encapsulating the beacon frame and enter the sleep state in advance.
[0118] It can be seen that when PPDU is a signal encapsulating a beacon frame, PPDU contains a field for indicating the source end and a field corresponding to the service indication information, and these fields are located at the front of the PPDU. When it is determined that the beacon frame is irrelevant to the node device based on the above-mentioned field for indicating the source end and the field for the service indication information, the node device may no longer receive the field in the PPDU that is located after the field corresponding to the service indication information. The node device can enter the sleep state from the awake state in advance. The above method can reduce the receiving power consumption of the node device in the awake state and reduce the power consumed by the node device when receiving irrelevant beacon frames.
[0119] In some embodiments, the central device can perform data interaction with the central device, other node devices and other devices in the activated state to complete the corresponding business. The central device can receive data PPDU in the activated state. In the process of receiving the data PPDU, when receiving the field for indicating the source end and / or the field for indicating the destination end in the data PPDU, the node device can judge whether the data PPDU is irrelevant to the node device according to the field for indicating the source end and / or the field for indicating the destination end. If the above-mentioned field for indicating the destination end indicates that the recipient of the data PPDU is the central device, the node device can determine that the data PPDU is irrelevant to the node device. If the above-mentioned field for indicating the destination end indicates that the recipient of the data PPDU is not the node device, the node device can determine that the data PPDU is irrelevant to the node device. If the above-mentioned field for indicating the source end indicates that the sender of the data PPDU is the central device associated with the node device, but the field for indicating the destination end indicates that the recipient of the data PPDU is not the node device, the node device can determine that the data PPDU is irrelevant to the node device. If the field used to indicate the source end indicates that the sender of the data PPDU is a central device that is not associated with the node device, the node device can determine that the data PPDU is irrelevant to the node device. When it is determined that the data PPDU is irrelevant to the node device, the node device can stop receiving the data PPDU and enter a dormant state. Alternatively, after the node device stops receiving the data PPDU in the activated state, it can also enter a low power consumption state.
[0120] It should be noted that there are currently multiple different versions of Wi-Fi protocols. For example, 802.11n, 802.11ac, 802.11ax, 802.11be, and so on. In the data PPDU based on different versions of the Wi-Fi protocol, the fields used to indicate the source end may be partially or completely different, and the fields used to indicate the destination end may also be partially or completely different. The specific contents of the above-mentioned fields for indicating the source end and the fields for indicating the destination end will be specifically introduced in the subsequent embodiments of this application. I will not expand on this here.
[0121] It can be seen that the data PPDU contains a field for indicating the source end and a field for indicating the destination end, and these fields are located at the front of the data PPDU. When it is determined that the data PPDU is irrelevant to the node device based on the above-mentioned field for indicating the source end and / or the field for indicating the destination end, the node device can enter a sleep state or a low power state and no longer receive subsequent fields in the data PPDU. The above method can reduce the receiving power consumption of the node device in the activated state and reduce the power consumed by the node device when receiving irrelevant data PPDU.
[0122] Terminology
[0123] The following is an introduction to the states of the node devices involved in this application: awake state, sleep state, activated state, and low power consumption state.
[0124] 1. Wake-up state
[0125] When the node device is in the awake state, it can monitor and receive beacon frames and does not send Wi-Fi signals to the outside. In some embodiments, when in the awake state, the receiver for receiving wireless signals in the node device can be in an on state, and the transmitter for transmitting wireless signals can be in an off state.
[0126] The awake state may also be referred to as the standby state or the like.
[0127] 2. Sleep state
[0128] The node device neither receives Wi-Fi signals nor sends Wi-Fi signals in the dormant state. In some embodiments, in the dormant state, the receiver and transmitter in the node device may be in a closed state.
[0129] 3. Activation status
[0130] The node device can receive Wi-Fi signals and send Wi-Fi signals when in the activated state. In some embodiments, in the activated state, the receiver and transmitter in the node device can be in an on state.
[0131] The activation status may also be called working status, business status, etc.
[0132] 4. Low power state
[0133] When the node device is in low power consumption state, the receiver and transmitter can be in low power consumption operation state. Among them, the radio frequency (RF) module and baseband (BB) module used for sending and receiving signals in the node device can be turned off. The power consumption of the node device in low power consumption state is lower than that in active state and slightly higher than that in sleep state.
[0134] It can be seen that the above-mentioned awake state, sleep state, active state, and low power consumption state may refer to the state of the Wi-Fi module in the node device. The Wi-Fi module may represent a module in the node device for receiving, sending, and processing Wi-Fi signals. For example, the Wi-Fi module may include a physical layer function module and a MAC layer function module.
[0135] In some embodiments, after the node device establishes a Wi-Fi connection with the central device, the node device can determine the time and period for the central device to broadcast the beacon frame. In order to save power consumption, the node device can sleep appropriately without being in an awake state or an active state all the time. Among them, the node device can be in a dormant state and enter an awake state to receive the beacon frame before the central device broadcasts the beacon frame. In addition, the node device can receive a beacon frame once every multiple beacon frame periods. The node device can determine whether there is a service that the node device needs to perform in the central device according to the field corresponding to the service indication information in the beacon frame (such as TIM). If there is a service that the node device needs to perform in the central device, the node device can enter the active state from the awake state to complete the corresponding service. If there is no service that the node device needs to perform in the central device, the node device can enter the dormant state again from the awake state and enter the awake state again before the next beacon frame needs to be received. The node device can enter the dormant state after completing the corresponding service in the active state.
[0136] The following introduces the wireless signal receiving method provided by this application with respect to several different PPDUs.
[0137] PPDU encapsulating beacon frame
[0138] The frame format of the PPDU that encapsulates the beacon frame can refer to the above Figure 3C Introduction.
[0139] Figure 4 The flowchart of the method for a node device to receive a PPDU encapsulating a beacon frame is exemplified.
[0140] like Figure 4 As shown, the method may include steps S411 to S423.
[0141] S411. Start receiving a PPDU.
[0142] When the node device is in the awake state, it can monitor and receive the PPDU on the air interface. When a PPDU on the air interface is monitored, the physical layer function module of the node device can start to receive this PPDU. Among them, the node device can successively receive the fields used to constitute this PPDU. The field at the front end of the PPDU can be received by the node device before the field at the back end of the PPDU.
[0143] S412: Determine whether the L-SIG check passes.
[0144] By the aforementioned Figure 3A As shown in the PPDU frame structure, the field at the front of the PPDU may be a Preamble field. The Preamble field may include a legacy signaling field (L-SIG). The L-SIG may be used to carry coding rate and length information.
[0145] After the physical layer function module of the node device receives the Preamble field, it can perform L-SIG verification according to the L-SIG therein. The specific method of L-SIG verification is not limited in the embodiment of the present application. If the L-SIG verification passes, the node device can execute the following step S413. If the L-SIG verification fails, the node device can execute the following step S422.
[0146] S413: Determine whether the signal transmission rate is a basic rate.
[0147] The physical layer function module of the node device can determine the transmission rate of the PPDU according to the Preamble field, and judge whether the transmission rate is the basic rate.
[0148] In some embodiments, in order to ensure that all receiving ends can receive multicast / broadcast data in the Wi-Fi protocol, a basic rate is generally used in multicast / broadcast services. For example, for a system supporting 802.11b, the basic rate may include 1Mbps and 2Mbps. For an orthogonal frequency division multiplexing system (including 802.11n, 802.11ac, etc.), the basic rate may include 6Mbps, 12Mbps, and 24Mbps. The embodiment of the present application does not limit the value of the above basic rate.
[0149] If the transmission rate of the PPDU is the basic rate, the node device may perform the following step S414. If the transmission rate of the PPDU is not the basic rate, the node device may perform the following step S422.
[0150] The embodiment of the present application does not limit the execution order of the above-mentioned step S412 and step S413. For example, the physical layer function module of the node device can execute step S412 and step S413 at the same time. Among them, if the L-SIG check fails in step S412 or the signal transmission rate in step S413 is not the basic rate, the node device can execute step S422. If the L-SIG check passes in step S412 and the signal transmission rate in step S413 is the basic rate, the node device will execute step S414. For another example, the physical layer function module of the node device can first execute step S413 and then execute step S412. Among them, if the signal transmission rate is the basic rate in step S413, the physical layer function module of the node device can then execute step S412. If the L-SIG check passes in step S412, the node device can execute step S422.
[0151] S414: Parse the code stream of the MAC header in the PPDU.
[0152] By the aforementioned Figure 3A From the PPDU frame structure shown, it can be seen that the MAC header in the PPDU is located after the Preamble field.
[0153] When the L-SIG check in the PPDU passes and the signal transmission rate is the basic rate, the physical layer function module of the node device can decode the subsequently received MAC header and send the decoded MAC header to the MAC layer function module. The above-mentioned parsing of the MAC header code stream is the physical layer function module decoding the binary format MAC header code stream into data that the MAC layer function module can recognize.
[0154] S415. Determine whether the PPDU is a beacon frame according to the frame control field in the MAC header.
[0155] By the aforementioned Figure 3C As can be seen from the MPDU frame structure shown, the frame control field in the MAC header includes a type field. The type field can be used to indicate the type of the MPDU, that is, the type of the PPDU. If the PPDU is a beacon frame, the node device can perform the following step S416. If the PPDU is not a beacon frame, the node device can perform the following step S422.
[0156] S416. Determine whether the BSSID matches according to the BSSID field in the MAC header.
[0157] By the aforementioned Figure 3CIt can be seen from the MPDU frame structure shown that the MAC header also includes a BSSID field. In the case where the PPDU is a beacon frame, the BSSID field in the MAC header can be used to indicate the central device that sends the PPDU. The MAC layer function module of the node device can determine whether the BSSID matches. Specifically, the MAC layer function module can compare whether the BSSID field value in the MAC header is the same as the BSSID of the central device associated with the node device. The node device may store the BSSID of the central device associated with the node device, and the BSSID may be sent by the node device when the node device establishes a Wi-Fi connection with the central device. The BSSID field value in the MAC header is the same as the BSSID of the central device associated with the node device, which may indicate a BSSID match. The BSSID field value in the MAC header is different from the BSSID of the central device associated with the node device, which may indicate a BSSID mismatch.
[0158] If the BSSIDs match, the node device may execute the following step S417. If the BSSIDs do not match, the node device may execute the following step S422.
[0159] S417: Parse the code stream of the TIM field in the PPDU.
[0160] By the aforementioned Figure 3C As shown in the PPDU frame structure, the frame body of the beacon frame contains the TIM field. The TIM field is located after the MAC header. The physical layer function module of the node device can decode the subsequently received TIM field and send the decoded TIM field to the MAC layer function module. The code stream of the above-mentioned parsing of the TIM field is the physical layer function module decoding the binary format TIM field into data that the MAC layer function module can recognize.
[0161] S418: Determine, according to the TIM field, whether the central device temporarily stores temporary data associated with the node device.
[0162] The TIM field may include multiple bits, each of which may map a node device associated with the central device. A bit value of 1 may indicate that the central device corresponding to this bit has data temporarily stored in the central device. The MAC layer function module of the node device may determine whether the central device temporarily stores temporary data associated with the node device based on the TIM field. If the central device temporarily stores temporary data associated with the node device, the node device may execute step S420. If the central device does not temporarily store temporary data associated with the node device, the node device may execute the following step S419.
[0163] It should be noted that the present application does not limit the execution order of the above steps S414 to S418.
[0164] In some embodiments, the physical layer function module of the node device can decode the binary code stream from the MAC header to the TIM field in the PPDU together, and then send it to the MAC layer function module. That is, step S414 and step S417 can be performed simultaneously. After the MAC layer function module receives the MAC header and the TIM field, it can execute the above steps S415, S416 and S418. In some embodiments, the node device can first execute step S416, and after determining that the BSSID matches, it can execute step S415. In some embodiments, the above steps S415, S416 and S418 can also be executed simultaneously.
[0165] In some embodiments, the node device establishes a Wi-Fi connection with the central device based on the beacon frame broadcast by the central device. That is, the node device has received a complete PPDU that encapsulates the beacon frame. The MAC layer function module of the node device can determine the position of each field in the PPDU that encapsulates the beacon frame. The MAC layer function module can indicate the position of the above-mentioned MAC header and TIM field to the physical layer function module. In this way, the physical layer function module can decode the code stream at the location of the MAC header and TIM field in the PPDU, and then send the decoded data to the physical layer function module. The embodiment of the present application does not limit the method for the physical layer function module to find the code stream of the MAC header and TIM field.
[0166] S419: Terminate receiving PPDU in advance and enter a sleep state.
[0167] S420: Receive PPDU completely.
[0168] It can be known from the above steps S411 to S418 that when a beacon frame is received from a central device associated with the node device, and the beacon frame indicates that there is no service in the central device that the node device needs to perform (i.e., the central device does not temporarily store the temporary data associated with the node device), the node device can terminate the reception of PPDU in advance and enter the sleep state. When a beacon frame is received from a central device associated with the node device, and the beacon frame indicates that there is a service in the central device that the node device needs to perform (i.e., the central device temporarily stores the temporary data associated with the node device), the node device can receive the PPDU completely.
[0169] S421. Determine whether the FCS check is passed.
[0170] When the PPDU reception is completed, the node device may perform FCS verification. The specific implementation method of the FCS verification is not limited in the present embodiment of the application. If the FCS verification fails, the node device may execute step S422. If the FCS verification passes, the node device may execute step S423.
[0171] S422, reset RXAGC in advance.
[0172] RF automatic gain control (RXAGC) is a key component of a receiver that can be used to automatically adjust the receiver's gain to maintain a constant output level over a wide range of input signal levels. RXAGC can improve signal quality, reduce distortion, and ensure consistent performance of the communication system.
[0173] The node device can interrupt the processing of the current signal by resetting RXAGC and continue to monitor and receive new PPDU. In other words, after the node device resets RXAGC, the node device is still in the awake state to wait for the beacon frame sent by the central device associated with the node device.
[0174] It can be understood that the node device is in the awake state in order to receive the beacon frame broadcast by the central device associated with the node device. The above beacon frame is transmitted through the air interface. After the node device enters the awake state, the air interface may be temporarily occupied by other devices, and the transmitted signal is not the beacon frame broadcast by the central device associated with the node device. If the node device has not received the beacon frame broadcast by its associated central device in the awake state, the node device should remain awake after receiving other signals and continue to wait to receive the beacon frame broadcast by its associated central device to avoid missing the service indication information of its associated central device.
[0175] In the above steps S412 and S4113, the failure of the L-SIG check or the signal transmission rate is not the basic rate, which may indicate that the PPDU is not the beacon frame that the node device wants to receive in the awake state. Therefore, when the L-SIG check fails or the signal transmission rate is not the basic rate, the node device may reset the RXAGC in advance and stop receiving the subsequent fields of the PPDU, but still remain awake to wait for receiving the beacon frame.
[0176] In the above steps S415 and S416, if the PPDU is not a beacon frame or the PPDU is a beacon frame but it is not sent by the central device associated with the node device, it can be indicated that the PPDU is not the beacon frame that the node device wants to receive. The signal that the node device wants to receive in the awake state is the beacon frame broadcast by the central device associated with the node device. Therefore, when the PPDU is not a beacon frame or the BSSID does not match, the node device can reset RXAGC in advance.
[0177] In the above step S421, the failure of the FCS check may indicate that there are errors in the data of the PPDU and it is an unusable data packet. For example, if the PPDU loses some fields during the transmission process, the FCS check fails. The node device needs to remain awake to wait for the reception of the PPDU that can pass the FCS check. Therefore, in the case of the FCS check failing, the node device can reset the RXAGC in advance and stop processing the PPDU received in step S420.
[0178] S423, entering the activation state, and obtaining the temporary data associated with the node device from the central device.
[0179] Since the central device has services that need to be performed by the node device, after receiving the complete PPDU that has passed the FCS check, the node device can process the PPDU to obtain information related to the central device and prepare for the subsequent completion of related services. The node device can enter the activated state from the awake state, interact with the central device, and obtain the temporarily stored data associated with the node device from the central device.
[0180] Depend on Figure 4 It can be seen from the method shown that when a node device receives a beacon frame in an awake state, it can determine whether it is necessary to terminate the reception of the beacon frame in advance to save the receiving power consumption of the node device. The node device can receive the PPDU encapsulated with the beacon frame while determining whether the PPDU is irrelevant to the node device based on some fields in the received PPDU. Once it is determined that the PPDU is irrelevant to the node device, the node device can enter a dormant state and stop receiving the PPDU.
[0181] In addition, when the signal received by the node device in the awake state is not the beacon frame that the node device wants to receive or the FCS check fails, the node device can reset the RXAGC in advance, stop receiving the subsequent fields of the PPDU or stop processing the PPDU, but still remain awake to wait for the beacon frame it wants to receive. Among them, the beacon frame that the node device wants to receive may be a beacon frame broadcast by the central device associated with the node device. The situation where the signal received by the node device is not the beacon frame that the node device wants to receive may include but is not limited to: the node device receives a non-beacon frame, and the node device receives a beacon frame broadcast by a central device to which the node device is not associated. The above method can not only reduce the receiving power consumption of the node device in the awake state, reduce the power consumed by the node device when receiving irrelevant beacon frames, but also prevent the node device from missing the business that needs to be performed at the central device.
[0182] Figure 5 A schematic diagram of state switching of a node device is exemplarily shown.
[0183] like Figure 5 As shown, the node device can enter the awake state at time t1. The node device can monitor and receive beacon frames in the awake state. The node device can receive PPDU in the awake state according to the above Figure 4 In some embodiments, the node device receives a beacon frame sent by its associated central device from time t1 to time t2, and the beacon frame indicates that there is no service in the central device that needs the node device to perform. Figure 4 The method shown uses beacon frames to determine that the central device has no business indication, and then enters the sleep state in advance. For example, the node device can enter the sleep state from the awake state at time t2. It can be seen that if the node device does not Figure 4 If the method shown is used to judge, the node device will usually parse the PPDU after completely receiving the PPDU, and then discard the irrelevant PPDU. In this way, the node device may enter the sleep state at t2' after t2. It can be seen that compared to entering the sleep state at t2', the wireless signal receiving method of the present application can enter the sleep state in advance when the node device receives an irrelevant beacon frame, saving the receiving power consumption of the node device.
[0184] After the node device enters the sleep state, it can enter the wake-up state before receiving the beacon frame next time. The node device can determine the time and period of the central device sending the beacon frame, and then determine the time when the node device receives the beacon frame next time. For example, the node device can enter the wake-up state from the sleep state at time t3 in order to monitor and receive the beacon frame again. In some embodiments, the node device receives the beacon frame sent by its associated central device from time t3 to time t4, and the beacon frame indicates that there is a business in the central device that needs the node device to perform. Then, the node device can Figure 4 The method shown uses the beacon frame to determine whether the central device has a service indication. The node device can enter the active state from the awake state after completing the reception of the PPDU, and interact with the central device for uplink and downlink data.
[0185] In the activated state, the node device can obtain data temporarily stored by the central device for the node device from its associated central device. The specific method for the node device to obtain temporarily stored data from the central device is not limited in the embodiment of the present application. In some embodiments, the node device can enter the dormant state from the activated state if it does not interact with the central device for uplink and downlink data within a preset time. For example, the node device can enter the dormant state at time t5.
[0186] Similarly, after a node device enters the sleep state, it can enter the awake state again before receiving the beacon frame next time. For example, the node device enters the awake state from the sleep state at time t6. The node device can be in the awake state during the time period corresponding to time t6 to time t7, monitoring and receiving beacon frames.
[0187] By the above Figure 5 It can be seen that when a node device receives a beacon frame in an awake state, it can determine whether it is necessary to terminate the reception of the beacon frame in advance to save the receiving power consumption of the node device.
[0188] Data PPDU based on 802.11n (i.e. Wi-Fi 4)
[0189] The data PPDU based on 802.11n may represent a data frame transmitted by a device based on 802.11n communication when performing data interaction. The data PPDU based on 802.11n may include a high-throughput mixed format PPDU (HT-mixed format PPDU).
[0190] Figure 6The frame structure of the HT-mixed format PPDU is exemplarily shown.
[0191] like Figure 6 As shown in FIG. 1 , the HT-mixed format PPDU may include a Preamble field and a DATA field. The HT-mixed format PPDU may be a PPDU that aggregates multiple MPDUs. The DATA field may include multiple MPDUs. For details, please refer to the aforementioned Figure 3D Introduction.
[0192] The preamble field may include a legacy short training field (L-STF), a legacy long training field (L-LTF), a legacy signaling field (L-SIG), a high throughput signaling field (HT-SIG), a high throughput short training field (HT-STF), and a high throughput long training field (HT-LTF).
[0193] Among them, L-STF can be used for data synchronization and coarse frequency offset estimation of the receiver. L-LTF can be used for fine frequency offset estimation and channel estimation of the preamble. L-SIG can be used to carry coding rate and length information. HT-STF can be used for automatic gain control and clock lock of the receiver. HT-LTF may include two categories: data HT-LTF (data HT-LTF, DLTF) and extension HT-LTF (extension HT-LTF, ELTF). DLTF can be used for channel estimation to accurately demodulate the data (ie, the DATA field). The number of DLTFs may be 1, 2, or 4, depending on the number of space-time streams at the source. ELTF is applicable to scenarios where the number of transmission links is greater than the number of space-time streams, so as to evaluate more components of the channel. The number of ELTFs may be 1, 2, or 4, depending on the number of additional transmission links.
[0194] HT-SIG may contain key coding and modulation parameters for interpreting the following HT data area (ie, DATA field). Among them, HT-SIG may include parameters such as modulation and coding scheme (MCS) and the number of bytes transmitted by the current PPDU (HT Length). HT Length is the number of bytes of the PSDU in the PPDU.
[0195] Figure 6 The frame structure shown is only an exemplary description of the present application and should not be construed as limiting the present application. The data PPDU based on 801.11n may also include more or fewer fields. For example, in addition to the HT-mixed format PPDU, the data PPDU based on 801.11n may also include a non-high throughput format PPDU (Non-HT format PPDU) and a high throughput greenfield format PPDU (HT-greenfield format PPDU).
[0196] Figure 7 The flowchart of the method for a node device to receive a data PPDU based on 802.11n is exemplarily shown.
[0197] like Figure 7 As shown, the method may include steps S711 to S717.
[0198] S711. The node device based on Wi-Fi4 communication starts to receive a data PPDU in the activated state.
[0199] The node device can determine whether there is a service that the node device needs to perform in the central device based on the beacon frame broadcast by the central device with which it is associated. When there is a service that the node device needs to perform in the central device, the node device can enter an activated state. In the activated state, the node device can send a request to the central device for obtaining the temporarily stored data associated with the node device. Then, the node device can monitor and receive the PPDU on the air interface. When a PPDU on the air interface is monitored, the physical layer function module of the node device can start to receive this PPDU. Among them, the node device can successively receive the fields used to constitute this PPDU. The fields located at the front end of the PPDU can be received by the node device before the fields located at the back end of the PPDU.
[0200] Here, the data PPDU being received by the node device is an HT-mixed format PPDU as an example for description.
[0201] S712: Acquire TXOP information based on the Preamble field in the data PPDU.
[0202] By the above Figure 6 From the frame structure of the PPDU shown, it can be seen that the field at the front end of the PPDU may be the Preamble field. After the node device receives the Preamble field, it can obtain the transmission opportunity (transmit opportunity, TXOP) information according to the Preamble field. In the air interface transmission scenario, the wireless channel used for air interface transmission is public. Multiple devices need to compete for the opportunity to use the wireless channel. TXOP can indicate the transmission duration that a device can occupy the wireless channel after successfully competing for the wireless channel. Other devices need to compete for the wireless channel again after the transmission duration indicated by the TXOP ends, in order to obtain the opportunity to use the wireless channel to send data.
[0203] In some embodiments, the node device may determine the TXOP according to the MCS and HT Length in the HT-SIG, wherein the MSC may indicate the transmission code rate Rate of the data PPDU. TXOP=HT Length / Rate.
[0204] It can be seen that the transmission duration indicated by TXOP can be the transmission duration required for a data PPDU. That is to say, after a device occupies a wireless channel to send a data PPDU, the wireless channel can be occupied by another device. The other device can occupy the wireless channel to send another data PPDU. Therefore, the data PPDUs received by the node device twice in succession may come from different source ends.
[0205] S713. Parse the first MPDU in the data PPDU, and obtain the source address and the destination address from MPDU1.
[0206] Multiple MPDUs can be aggregated in a data PPDU. Multiple MPDUs aggregated in a data PPDU are all sent to one user. Each MPDU can include a MAC header. Figure 3B As can be seen from the frame structure shown, the MAC header may include a source address and a destination address.
[0207] After the node device receives MPDU1, it can obtain the source address and destination address from the MAC header of MPDU1. MPDU1 can be the first MPDU in the data PPDU, located after the Preamble field, and is the MPDU at the front end of all the MPDUs aggregated by the data PPDU. That is, MPDU1 is the first MPDU received by the node device when receiving the data PPDU. MPDU1 also includes an FCS field. In some embodiments, the node device can also use the FCS field in MPDU1 to perform an FCS check on MPDU1. After the FCS check is passed, the node device obtains the source address and destination address from MPDU1.
[0208] The source address in the above MPDU1 may be used to indicate the source end that sends the data PPDU containing the MPDU1, and the destination address may be used to indicate the destination end that receives the data PPDU containing the MPDU1.
[0209] In some embodiments, the data PPDU may also be a data frame that does not use frame aggregation technology. The data PPDU contains an MPDU. The node device can completely receive the MPDU of the data PPDU and perform an FCS check on the MPDU. After the FCS check is passed, the node device can determine whether the data frame is sent to the node device according to the MAC header in the MPDU (i.e., perform the following steps S714 to S717). It can be understood that the data frame is not sent periodically. Compared with the beacon frame sent periodically, the node device needs to ensure the accuracy of the result when judging whether the data frame is irrelevant to the node device. If the node device makes a mistake in judgment and determines that the data frame sent to itself is a signal irrelevant to itself, the node device may not be able to receive the data frame again in the future, resulting in data packet loss and the like. Therefore, before using the MAC header in the MPDU for judgment, the node device can first perform an FCS check on the MPDU to determine whether the MAC header received and decoded is accurate. This can improve the accuracy of the result of judging whether the data frame is irrelevant to the node device and reduce the situation of data loss due to misjudgment.
[0210] Alternatively, after receiving the MAC header of the data PPDU, the node device may use the source address and / or destination address in the MAC header to make a judgment, that is, the node device may not need to completely receive an MPDU in the data PPDU.
[0211] S714: Determine whether the source address indicates a central device associated with the node device.
[0212] The node device may store the BSSID of the central device associated with it. In some embodiments, the node device may compare the source address obtained in the above step S713 with the BSSID of the central device associated with the node device. If the above source address is the same as the BSSID of the central device associated with the node device, it may mean that the above source address indicates the central device associated with the node device. If the above source address is different from the BSSID of the central device associated with the node device, the source end indicated by the above source address is not the central device associated with the node device. That is, the sender of the data PPDU is not the central device associated with the node device.
[0213] If the source address indicates the central device associated with the node device, the node device may execute the following step S715. If the source end indicated by the source address is not the central device associated with the node device, the node device may execute the following step S716.
[0214] S715: Determine whether the destination address indicates the node device.
[0215] The node device may compare the destination address obtained in step S713 with the address of the node device to determine whether the destination indicates the node device. If the destination end indicated by the destination address is not the node device, the node device may execute the following step S716. If the destination address indicates the node device, the node device may execute the following step S717.
[0216] The embodiment of the present application does not limit the execution order of the above-mentioned step S714 and step S715.
[0217] In some embodiments, the node device may first execute step S715 and then execute step S714. The node device may first determine whether the destination address indicates the node device. If it is determined that the destination end indicated by the destination address is not the node device, the node device may directly execute the following step S716. If it is determined that the destination end indicated by the destination address is the node device, the node device executes step S714 to determine whether the source address indicates the central device associated with the node device. If the source address indicates the central device associated with the node device, the node device may execute the following step S717.
[0218] Optionally, the node device may also execute step S714 and step S715 simultaneously.
[0219] Optionally, the node device may also use only the destination address to determine whether the data PPDU is irrelevant to the node device. That is, step S714 is optional. The node device may obtain the destination address from MPDU1 and execute step S715. In the case where the destination address indicates the node device, the node device may execute step S717. In the case where the destination end indicated by the destination address is not the node device, the node device may execute step S716.
[0220] S716: Terminate receiving the data PPDU in advance, enter a dormant state or a low power consumption state, and enter an active state again after the time indicated by the TXOP ends.
[0221] From the above steps, it can be seen that the node device can terminate the reception of data PPDU in advance in any of the following three situations:
[0222] Case a1: The source address in the data PPDU indicates the central device associated with the node device, and the destination end indicated by the destination address is another node device.
[0223] Case a2: The destination address in the data PPDU indicates the central device associated with the current node device.
[0224] Case a3: The source end indicated by the source address in the data PPDU is not the central device associated with the current node device.
[0225] It can be understood that the above situation a1 can indicate that the central device associated with this node device is transmitting information to other node devices. Then, the central device associated with this node device will definitely not communicate with this node device within the time indicated by the TXOP of the data PPDU. Therefore, the data PPDU sent by the central device associated with this node device to other node devices is a data PPDU that is irrelevant to this node device. The node device can stop receiving the irrelevant data PPDU and enter a sleep state or a low power consumption state. After transmitting information to other node devices, the central device associated with this node device may transmit information to this node device. This node device can enter the activation state again after the time indicated by the TXOP ends to ensure that subsequent frames can be received normally and avoid missing the data PPDU sent by the central device associated with this node device to this node device.
[0226] The above situation a2 may indicate that other node devices are transmitting information to the central device associated with this node device. Then, the central device associated with this node device will definitely not communicate with this node device within the time indicated by the TXOP of the data PPDU. Therefore, the data PPDU sent by other node devices to the central device associated with this node device is a data PPDU that is irrelevant to this node device. The node device can stop receiving the irrelevant data PPDU and enter a sleep state or a low power consumption state. After receiving information sent by other node devices, the central device associated with this node device may transmit information to this node device. This node device can enter the activation state again after the time indicated by the TXOP ends to ensure that subsequent frames can be received normally and avoid missing the data PPDU sent by the central device associated with this node device to this node device.
[0227] The above situation a3 may indicate that the wireless channel is being occupied by other devices other than the central device associated with this node device. Then, within the time indicated by the TXOP of the data PPDU, the central device associated with this node device cannot use the wireless channel to send data to this node device. Therefore, the data PPDU that is not sent by the central device associated with this node device is a data PPDU that is irrelevant to this node device. The node device can stop receiving the irrelevant data PPDU and enter a sleep state or a low power consumption state. After other devices have sent the PPDU, the central device associated with this node device may compete for the opportunity to use the wireless channel and transmit information to this node device. This node device can enter the activated state again after the time indicated by the TXOP ends to ensure that subsequent frames can be received normally and avoid missing the data PPDU sent to this node device by the central device associated with this node device.
[0228] It can be seen that in the above cases a1 to a3, the destination of the data PPDU is not the local node device.
[0229] In some embodiments, when the data PPDU is irrelevant to the node device, the node device stops receiving the data PPDU and can still remain in the activated state. In other words, it is also optional for the node device to enter the sleep state or low power consumption state in step S716.
[0230] S717. Completely receive the data PPDU.
[0231] It can be seen from the above steps that the node device can remain activated and completely receive the data PPDU in other situations except the above situation a1, situation a2, and situation a3.
[0232] For example, the source address in the data PPDU indicates the central device associated with the node device and the destination address indicates the node device, which can indicate that the data PPDU is sent from the central device associated with the node device to the node device. The data PPDU may be data temporarily stored by the central device for the node device. Therefore, the node device can receive the data PPDU completely.
[0233] Depend on Figure 7 It can be seen from the method shown that when a node device based on Wi-Fi4 communication receives a data PPDU in an activated state, it can determine whether it is necessary to terminate the reception of the data PPDU in advance to save the receiving power consumption of the node device. The node device can receive the data PPDU while judging whether the data PPDU is irrelevant to the node device based on some fields (such as source address and / or destination address) in the received data PPDU. Once it is determined that the data PPDU is irrelevant to the node device, the node device can enter a sleep state or a low power state and stop receiving the data PPDU.
[0234] In addition, the node device can also determine the transmission duration indicated by the TXOP of the data PPDU. The node device can enter the activated state again after the transmission duration indicated by the TXOP ends to ensure that subsequent frames can be received normally and avoid missing the data PPDU sent to the node device by the central device associated with the node device. The above method can not only reduce the receiving power consumption of the node device in the activated state, reduce the power consumed by the node device when receiving irrelevant data PPDU, but also avoid the node device from mistaking the data sent to the node device by its associated central device.
[0235] Figure 8 A schematic diagram of state switching of a node device is exemplarily shown.
[0236] like Figure 8As shown, the node device can enter the active state at time t8. The node device can receive and send signals in the active state. When the data PPDU is received in the active state starting at time t8, the node device can Figure 7 The method shown is used to determine whether to terminate the reception of the data PPDU in advance. In some embodiments, the node device detects that the source end of the PPDU is the central device associated with the node device and the destination end is another node device, or detects that the destination end of the PPDU is the central device associated with the node device, or detects that the source end of the PPDU is not the central device associated with the node device. Then, the node device can terminate the reception of the data PPDU in advance and enter a sleep state or a low power consumption state. For example, the node device can enter a sleep state or a low power consumption state at time t9. The node device can enter the activation state again at time t10. The duration corresponding to the above-mentioned time t9 to time t10 can be the duration determined by the node device by the TXOP of the data PPDU.
[0237] From time t10 onwards, the node device may continue to monitor and receive signals, so as not to miss the data PPDU sent to the node device by the central device associated with the node device.
[0238] By the above Figure 8 It can be seen that when a node device receives a data PPDU in an activated state, it can determine whether it needs to terminate the reception of the data PPDU in advance based on the received partial fields to save the receiving power consumption of the node device. And the node device can enter the activated state again after the transmission duration indicated by the TXOP ends to ensure that subsequent frames can be received normally and avoid missing the data PPDU sent to the node device by the central device associated with the node device.
[0239] Data PPDU based on 802.11ac (i.e. Wi-Fi5)
[0240] The data PPDU based on 802.11ac may represent a data frame transmitted by a device based on 802.11ac communication when performing data interaction. The data PPDU based on 802.11ac may include a very high throughput PPDU (VHT PPDU).
[0241] Fig. 9 The frame format of the VHT PPDU is exemplarily shown.
[0242] like Fig. 9 As shown in FIG. 1 , the VHT PPDU may include a Preamble field and a DATA field. The VHT PPDU may be a PPDU that aggregates multiple MPDUs. The DATA field may include multiple MPDUs. For details, please refer to the aforementioned Figure 3D Introduction.
[0243] The Preamble field may include L-STF, L-LTF, L-SIG, very high throughput signal A field (VHT-SIG-A), very high throughput short training field (VHT-STF), very high throughput long training field (VHT-LTF), and very high throughput signal B field (VHT-SIG-B).
[0244] Among them, L-STF, L-LTF, L-SIG can refer to the above Figure 6 Introduction. In a VHT PPDU, the L-SIG may contain a VHT Length field. The VHT Length field may be used to indicate the length of the current VHT PPDU transmission. VHT-STF may be used to improve automatic gain control estimation in multi-input multi-output (MIMO) transmission. VHT-LTF may be used for MIMO channel estimation and pilot subcarrier tracking. VHT-SIG-B may be used in multi-user scenarios to set data rates and fine-tune MIMO reception.
[0245] The VHT-SIG-A may contain information required to interpret the VHT format packet, for example, the actual rate value of the VHT format packet, channel coding, guard interval, MIMO scheme, etc. The VHT-SIG-A may consist of VHT-SIG-A1 and VHT-SIG-A2. Based on whether the communication scenario is a single-user scenario or a multi-user scenario, the VHT PPDU may include two categories: a very high throughput single-user PPDU (VHT SU PPDU) for a single-user scenario and a very high throughput multi-user PPDU (VHT MU PPDU) for a multi-user scenario. In the VHT SU PPDU and the VHT MU PPDU, the fields contained in the VHT-SIG-A may be different.
[0246] The following describes the 802.11ac-based wireless signal receiving method provided by the present application with respect to receiving a VHT SU PPDU and receiving a VHT MU PPDU.
[0247] Fig.10 The structure of the VHT-SIG-A in the VHT SU PPDU is exemplarily shown.
[0248] like Fig.10 As shown, in the VHT-SIG-A of the VHT SU PPDU, VHT-SIG-A1 may include bandwidth (BW), reserved field (Reserved), space time block code (STBC), group identification (Group ID), number of space time streams (NSTS), partial association identification (Partial AID), and power saving is not allowed in the current TXOP (TXOP_PS_NOT_ALLOWED). Among them, the full name of PS is power saving, that is, power saving.
[0249] The Group ID may be used to indicate the group assigned to the device and the user location. In some embodiments, the central device may group the devices with which it has established a communication connection, so that when the central device sends a PPDU, it may specify the device in the group to which the PPDU is sent by the Group ID.
[0250] Partial AID is an identifier that can be constructed by BSSID and association identification (AID). Partial AID can be used to identify partial identity information of a node device in a basic service set (BSS). AID can be used to uniquely identify each node device in a BSS. In other words, a central device in a BSS can distinguish node devices in this BSS based on AID. In some embodiments, when a node device establishes a Wi-Fi connection with a central device, the central device can determine the AID of the node device and send the AID to the node device. The node device can store the AID.
[0251] In the VHT-SIG-A of the VHT SU PPDU, the VHT-SIG-A2 may include fields such as MCS, etc. For MCS, reference may be made to the introduction of the aforementioned embodiment.
[0252] Fig.11 The flowchart of a method for a node device to receive a VHT SU PPDU based on 802.11ac is exemplarily shown.
[0253] like Fig.11As shown, the method may include steps S1111 to S1119.
[0254] S1111. The node device based on Wi-Fi5 communication starts to receive a single-user data PPDU in the activated state.
[0255] In the activated state, the node device can send a request to the central device to obtain the temporarily stored data associated with the node device. Then, the node device can monitor and receive the PPDU on the air interface. When a PPDU on the air interface is monitored, the physical layer function module of the node device can start to receive this PPDU. Among them, the node device can successively receive the fields used to constitute this PPDU. The fields at the front end of the PPDU can be received by the node device before the fields at the back end of the PPDU.
[0256] Here, the data PPDU being received by the node device is taken as an example for description.
[0257] S1112. Acquire TXOP information based on the Preamble field in the data PPDU.
[0258] By the above Fig. 9 and Fig.10 As can be seen from the frame structure of the VHT SU PPDU, the Preamble field of the VHT SU PPDU may include L-SIG and VHT-SIG-A2. Among them, the L-SIG may include the VHT Length field, and the VHT-SIG-A2 may include the MCS field. The MCS field of the VHT SU PPDU may indicate the transmission code rate Rate of the VHT SU PPDU.
[0259] The node device can determine the TXOP of the current PPDU according to the above VHT Length field and the MCS field. TXOP = VHT Length / Rate. It can be seen that the transmission duration indicated by TXOP can be the transmission duration required for a data PPDU.
[0260] S1113. Determine whether the Group ID field value in the Preamble field is 63.
[0261] In the VHT SU PPDU, the Group ID field value is 0, which may indicate that the PPDU is data sent to the central device. The Group ID field value is 63, which may indicate that the PPDU is data sent to a certain node device. Therefore, if the Group ID field value is not 63 (for example, 0), the node device may execute the following step S1118. If the Group ID field value is 63, the node device may execute the following step S1114 to further determine whether the PPDU sent to a certain node device is sent to this node device.
[0262] The Group ID field may be a field used to indicate a destination.
[0263] S1114. Determine whether the Partial AID field value in the Preamble field matches.
[0264] Since the Partial AID can be used to identify part of the identity information of the node device, the node device can determine whether the PPDU is sent to the node device according to the Partial AID. Among them, the mismatch of the Partial AID field value can indicate that the PPDU is definitely not sent to the node device. Therefore, the node device can perform the following step S1118 when the Partial AID field value does not match. The matching of the Partial AID field value indicates that the PPDU may be sent to the node device. In order to more accurately determine whether the PPDU is sent to the node device, the node device can perform the following step S1115 and use the source address and / or destination address in the PPDU to determine whether the PPDU is sent to the node device.
[0265] The above method for determining whether the Partial AID field value matches may include: comparing whether the Partial AID field value is the same as the value obtained after the preset operation of AID and BSSID. In some embodiments, the preset operation performed by the node device on AID and BSSID may be: (AID+int(BSSID[44:47]⊕BSSID[40:43])×2 5 )mod2 9. Among them, "int" can represent a positive operation. "⊕" can represent an XOR operation. Mod can represent a modulo operation. BSSID can contain 6 bytes, that is, 48 bits. BSSID[44:47] can represent the value of the 45th to 48th bits of the BSSID. BSSID[40:43] can represent the value of the 41st to 44th bits of the BSSID. The above-mentioned preset operations are only exemplary descriptions of the present application and should not constitute a limitation on the present application. The Partial AID field value is the same as the value of the above-mentioned AID and BSSID after the operation, which can indicate that the Partial AID field value matches. Otherwise, the Partial AID field value does not match. The embodiment of the present application does not limit the method for determining whether the Partial AID field value matches.
[0266] The above-mentioned Partial AID field may be a field used to indicate a destination.
[0267] S1115. Parse the first MPDU in the data PPDU, and obtain the source address and the destination address from MPDU1.
[0268] S1116: Determine whether the source address indicates a central device associated with the node device.
[0269] S1117. Determine whether the destination address indicates the node device.
[0270] S1118. Terminate receiving the data PPDU in advance, enter a dormant state or a low power consumption state, and enter an active state again after the time indicated by the TXOP ends.
[0271] S1119. Completely receive the data PPDU.
[0272] The contents of steps S1115 to S1119 can refer to the aforementioned Figure 7 Steps S713 to S717 in the method shown.
[0273] It can be seen that in the process of receiving the VHT SU PPDU, the node device can terminate the reception of the PPDU in advance in any of the following five situations:
[0274] Case b1: The value of the Group ID field in the PPDU is 0.
[0275] Case b2: The Group ID field value in the PPDU is 1, and the Partial AID field value does not match.
[0276] Case b3: The Group ID field value in the PPDU is 1, and the Partial AID field value matches, but the source address in the PPDU indicates the central device associated with the current node device, and the destination end indicated by the destination address is another node device.
[0277] Case b4: The Group ID field value in the PPDU is 1, and the Partial AID field value matches, but the destination address in the PPDU indicates the central device associated with the current node device.
[0278] Case b5: The Group ID field value in the PPDU is 1, and the Partial AID field value matches, but the source end indicated by the source address in the PPDU is not the central device associated with the current node device.
[0279] It can be understood that the above situation b1 can indicate that the PPDU is data sent to the central device, and other node devices are currently transmitting information to the central device. That is, the wireless channel is transmitting uplink data. Obviously, the PPDU sent to the central device cannot be sent to the node device, and the PPDU is a data PPDU that is irrelevant to the node device. Therefore, the node device can stop receiving the irrelevant data PPDU.
[0280] The above situation b2 may indicate that the PPDU is sent to other node devices. The above PPDU sent to other node devices is a data PPDU irrelevant to the node. Therefore, the node device may stop receiving the irrelevant data PPDU.
[0281] The above-mentioned situations b3, b4 and b5 can refer to the situations a1, a2 and a3 introduced in the above-mentioned embodiments respectively.
[0282] The earlier the node device uses the field in the PPDU, the earlier it can determine that the PPDU is irrelevant to the node device. The earlier the node device determines that the PPDU is irrelevant to the node device, the earlier it can stop receiving the PPDU, enter the sleep state or low power consumption state, and save more receiving power consumption of the node device.
[0283] In any of the above cases b1 to b5, the node device can enter the activated state again after the time indicated by the TXOP of the PPDU ends to ensure that subsequent frames can be received normally and avoid missing the data PPDU sent to the node device by the central device associated with the node device. In other cases other than the above cases b1 to b5, the node device can remain activated and receive the data PPDU completely.
[0284] In some embodiments, the above steps S1113, S1114 and S1116 may be optional. In other words, the node device may also use only the destination address in the PPDU to determine whether the PPDU is sent to the node device, thereby determining whether the PPDU is irrelevant to the node device.
[0285] Depend on Fig.11 It can be seen from the method shown that when a node device based on Wi-Fi5 communication receives a VHT SUPPDU in an activated state, it can determine whether it is necessary to terminate the reception of the data PPDU in advance to save the receiving power consumption of the node device. The node device can receive the data PPDU while judging whether the data PPDU is irrelevant to the node device based on some fields in the received data PPDU, for example, fields for indicating the destination (Group ID field, Partial AID field, one or more of the destination address) and / or fields for indicating the source (source address). Once it is determined that the data PPDU is irrelevant to the node device, the node device can enter a sleep state or a low power state and stop receiving the data PPDU.
[0286] In addition, the node device can also determine the transmission duration indicated by the TXOP of the data PPDU. The node device can enter the activated state again after the transmission duration indicated by the TXOP ends to ensure that subsequent frames can be received normally and avoid missing the data PPDU sent to the node device by the central device associated with the node device. The above method can not only reduce the receiving power consumption of the node device in the activated state, reduce the power consumed by the node device when receiving irrelevant data PPDU, but also avoid the node device from mistaking the data sent to the node device by its associated central device.
[0287] Fig.12 A schematic diagram of state switching of a node device is exemplarily shown.
[0288] like Fig.12 As shown, the node device can enter the active state at time t12. The node device can receive and send signals in the active state. When the VHT SU PPDU is received in the active state starting at time t12, the node device can Fig.11The method shown in the figure determines whether to terminate the reception of the PPDU in advance. In some embodiments, the node device detects that the Group ID field value in the PPDU is 0, or the Group ID field value in the PPDU is 63 and the Partial AID field value does not match, or the Group ID field value in the PPDU is 63 and the Partial AID field value matches, but the source end of the PPDU is the central device associated with the node device and the destination end is another node device, or the Group ID field value in the PPDU is 63 and the Partial AID field value matches, but the destination end of the PPDU is the central device associated with the node device, or the Group ID field value in the PPDU is 63 and the Partial AID field value matches, but the source end of the PPDU is not the central device associated with the node device. Then, the node device can terminate the reception of the PPDU in advance and enter a dormant state or a low power consumption state. For example, the node device can enter a dormant state or a low power consumption state at time t13. The node device can enter the activated state again at time t14. The duration corresponding to the above-mentioned time t13 to time t14 can be the duration determined by the node device by the TXOP of the PPDU.
[0289] From time t14 onwards, the node device may continue to monitor and receive signals so as not to miss the data PPDU sent to the node device by the central device associated with the node device.
[0290] By the above Fig.12 It can be seen that when a node device receives a VHT SU PPDU in an activated state, it can determine whether it needs to terminate the reception of the PPDU in advance based on the received partial fields to save the receiving power consumption of the node device. And the node device can enter the activated state again after the transmission duration indicated by the TXOP ends to ensure that subsequent frames can be received normally and avoid missing the data PPDU sent to the node device by the central device associated with the node device.
[0291] Fig.13 The structure of the VHT-SIG-A in the VHT MU PPDU is exemplarily shown.
[0292] like Fig.13 As shown, in the VHT-SIG-A of the VHT MU PPDU, VHT-SIG-A1 may include BW, Reserved, STBC, GroupID, MU[0]NSTS, MU[1]NSTS, MU[2]NSTS, MU[3]NSTS, TXOP_PS_NOT_ALLOWED, and VHT-SIG-A2 may include fields such as MCS.
[0293] Among them, BW, Reserved, STBC, Group ID, and TXOP_PS_NOT_ALLOWED can all refer to the introduction of the aforementioned embodiments.
[0294] In some embodiments, in a multi-user scenario, the central device may divide different users into different groups. Each group may have a corresponding Group ID. A user group corresponding to a Group ID may include multiple, for example, four users. These four users may be represented by MU[0] to MU[3] respectively. Each user receives up to four space-time streams. Among them, the node device can determine which user in a user group it is based on the AID. For example, the user represented by MU[1] can receive the space-time stream indicated by MU[1]NSTS. The space-time stream indicated by MU[1]NSTS may be: If the current PPDU carries 8 space-time streams, and the field values of MU[0]NSTS to MU[3]NSTS are all 2, then MU[1]NSTS indicates 2 space-time streams, which are the 3rd and 4th of the 8 space-time streams carried by the current PPDU. Similarly, if the MU[0]NSTS field value is 1 and the MU[1]NSTS field value is 2, the space-time stream indicated by MU[1]NSTS can be the 2nd and 3rd of the 8 space-time streams carried by the current PPDU.
[0295] In some embodiments, after the central device divides different users into different groups, it can configure a membership status array field for each user. The membership status array field can be referred to as the membership field. The user can use the membership field to determine whether the received PPDU is sent to the user group to which he belongs.
[0296] Fig.14 The structure of the member status sequence field is exemplarily shown.
[0297] like Fig.14As shown, a membership field may include 64 bits. B0 may represent the first bit of the membership field. B1 may represent the second bit of the membership field. B63 may represent the 64th bit of the membership field. The first bit to the 64th bit in the membership field may correspond to user groups with Group ID 0 to Group ID 63, respectively. Among them, the value of a bit may indicate whether the node device belongs to the user group corresponding to this bit. For example, in the membership field associated with a node device, the value of the first bit is 0, which may indicate that this node device does not belong to the user group with Group ID 0. The value of the second bit is 1, which may indicate that this node device belongs to the user group with Group ID 1. The membership field associated with the above-mentioned node device may be the membership field configured by the central device for this node device.
[0298] When a node device receives a VHT MU PPDU, the node device can determine whether the PPDU is sent to the user group to which the node device belongs based on whether the bit corresponding to the Group ID in the PPDU in the membership field associated with the node device is 0. For example, a Group ID of 0 in the PPDU can indicate that the PPDU is sent to the user group with Group ID 0. If the node device does not belong to the user group with Group ID 0, the bit value corresponding to Group ID 0 in the membership field is 0. Therefore, the node device can determine that the PPDU is not sent to the user group to which it belongs. For another example, a Group ID of 1 in the PPDU can indicate that the PPDU is sent to the user group with Group ID 1. If the node device belongs to the user group with Group ID 1, the bit value corresponding to Group ID 1 in the membership field is 1. Therefore, the node device can determine that the PPDU may be sent to the user group to which it belongs.
[0299] It is understandable that, when the bit value corresponding to the Group ID in the membership field in the PPDU is 1, the PPDU may not be sent to the user group to which the node device associated with the membership field belongs. Each central device can divide user groups for the node devices with which it has established a Wi-Fi connection, and configure the membership field. Two different node devices establish Wi-Fi connections with two different central devices respectively. The Group IDs of the user groups to which these two different node devices belong in different BSSs may be the same. Therefore, even if the bit value corresponding to the Group ID in the membership field in the PPDU is 1, the PPDU may be data sent by a central device that is not associated with a node device.
[0300] Fig.15 The flowchart of a method for a node device to receive a VHT MU PPDU based on 802.11ac is exemplarily shown.
[0301] like Fig.15 As shown, the method may include steps S1511 to S1519.
[0302] S1511. The node device based on Wi-Fi5 communication starts to receive a multi-user data PPDU in the activated state.
[0303] In the activated state, the node device can send a request to the central device to obtain the temporarily stored data associated with the node device. Then, the node device can monitor and receive the PPDU on the air interface. When a PPDU on the air interface is monitored, the physical layer function module of the node device can start to receive this PPDU. Among them, the node device can successively receive the fields used to constitute this PPDU. The fields at the front end of the PPDU can be received by the node device before the fields at the back end of the PPDU.
[0304] Here, the data PPDU being received by the node device is a VHT MU PPDU as an example for description.
[0305] S1512: Acquire TXOP information based on the Preamble field in the data PPDU.
[0306] By the above Fig. 9 and Fig.13It can be seen from the frame structure of the VHT MU PPDU that the Preamble field of the VHT MU PPDU may include L-SIG and VHT-SIG-A2. Among them, the L-SIG may include the VHT Length field, and the VHT-SIG-A2 may include the MCS field. The MCS field of the VHT MU PPDU may indicate the transmission code rate Rate of the VHT MU PPDU.
[0307] The node device can determine the TXOP of the current PPDU according to the above VHT Length field and the MCS field. TXOP = VHT Length / Rate. It can be seen that the transmission duration indicated by TXOP can be the transmission duration required for a data PPDU.
[0308] S1513. Determine whether the bit corresponding to the Group ID in the Preamble field in the Membership field is 0.
[0309] By the aforementioned Fig.13 and Fig.14 As can be seen from the description of the Group ID and membership fields in the VHT MU PPDU, the bit corresponding to the Group ID in the membership field is 0, which indicates that the PPDU is not sent to the user group to which the node device belongs. Then, the PPDU is irrelevant to the node device. The node device may perform the following step S1518.
[0310] The bit corresponding to the Group ID in the membership field of the PPDU is 1, which indicates that the PPDU may be sent to the user group to which the node device belongs. Then, the node device can further determine whether the PPDU is irrelevant to the node device according to other fields in the PPDU. The node device can execute the following step S1514.
[0311] The Group ID may be a field used to indicate a destination.
[0312] S1514: Determine whether the NSTS field value corresponding to the node device in the Preamble field is 0.
[0313] In the VHT MU PPDU, the Preamble field may include MU[0]NSTS~MU[3]NSTS. The node device can determine which MU[0]~MU[3] it belongs to based on the AID, and thus determine which space-time streams it should receive carried by the PPDU. Among them, the NSTS field value corresponding to the current node device is 0, which can indicate that there are no space-time streams in the PPDU to be sent to the current node device. That is, the PPDU may be sent to other node devices in the user group to which the current node device belongs. Then, the PPDU is not related to the current node device. The node device can execute the following step S1518.
[0314] If the NSTS field value corresponding to the node device is not 0 (eg, the field value is 1 or 2 or 3, etc.), it may indicate that the PPDU may contain a space-time stream to be sent to the node device. In order to more accurately determine whether the PPDU is sent to the node device, the node device may perform the following step S1515.
[0315] For example, the node device is the user indicated by MU[1]. The node device can determine whether the MU[1]NSTS field value is 0. If the MU[1]NSTS field value is 0, the PPDU is not sent to the node device. If the MU[1]NSTS field value is not 0, for example, the field value is 1, one of the space-time streams carried by the PPDU may be sent to the node device.
[0316] The above MU[0]NSTS to MU[3]NSTS may be fields used to indicate the destination end.
[0317] S1515. Parse the first MPDU in the data PPDU, and obtain the source address and the destination address from MPDU1.
[0318] S1516: Determine whether the source address indicates the central device associated with the node device.
[0319] S1517. Determine whether the destination address indicates the node device.
[0320] S1518: Terminate receiving the data PPDU in advance, enter a dormant state or a low power consumption state, and enter an active state again after the time indicated by the TXOP ends.
[0321] S1519. Completely receive the data PPDU.
[0322] The contents of steps S1515 to S1519 can refer to the aforementioned Figure 7 Steps S713 to S717 in the method shown.
[0323] It can be seen that in the process of receiving the VHT MU PPDU, the node device can terminate the reception of the PPDU in advance in any of the following five situations:
[0324] Case c1: The corresponding bit of the Group ID in the membership field of the PPDU is 0.
[0325] Case c2: The bit corresponding to the Group ID in the membership field of the PPDU is 1, and the NSTS field value corresponding to the local node device is 0.
[0326] Case c3: The bit corresponding to the Group ID in the membership field of the PPDU is 1, and the NSTS field value corresponding to the current node device is not 0, but the source address of the PPDU indicates the central device associated with the current node device, and the destination end indicated by the destination address is another node device.
[0327] Case c4: The bit corresponding to the Group ID in the membership field of the PPDU is 1, and the NSTS field value corresponding to the current node device is not 0, but the destination address in the PPDU indicates the central device associated with the current node device.
[0328] Case c5: The bit corresponding to the Group ID in the membership field of the PPDU is 1, and the NSTS field value corresponding to the current node device is not 0, but the source end indicated by the source address in the PPDU is not the central device associated with the current node device.
[0329] It can be understood that the above situation c1 may indicate that the PPDU is sent to a user group that does not include the node device. The above situation c2 may indicate that the PPDU may be sent to other node devices in the user group that includes the node device. In the above situation c1 or situation c2, the node device can determine that the PPDU is definitely not sent to the node device. The PPDU is irrelevant to the node device. The node device can stop receiving the irrelevant PPDU.
[0330] The above situation c3, situation c4 and situation c5 can refer to the situation a1, situation a2 and situation a3 introduced in the above embodiments respectively.
[0331] In any of the above cases c1 to c5, the node device can enter the activated state again after the time indicated by the TXOP of the PPDU ends to ensure that subsequent frames can be received normally and avoid missing the data PPDU sent to the node device by the central device associated with the node device. In other cases other than the above cases c1 to c5, the node device can remain activated and receive the data PPDU completely.
[0332] In some embodiments, the above steps S1513, S1514 and S1516 may be optional. In other words, the node device may also use only the destination address in the PPDU to determine whether the PPDU is sent to the node device, thereby determining whether the PPDU is irrelevant to the node device.
[0333] Depend on Fig.15 It can be seen from the method shown that when a node device based on Wi-Fi5 communication receives a VHT MUPPDU in an activated state, it can determine whether it is necessary to terminate the reception of the data PPDU in advance to save the receiving power consumption of the node device. The node device can receive the data PPDU while judging whether the data PPDU is irrelevant to the node device based on some fields in the received data PPDU, such as the field used to indicate the destination (Group ID, NSTS field, one or more of the destination address) and / or the field used to indicate the source (source address). Once it is determined that the data PPDU is irrelevant to the node device, the node device can enter a sleep state or a low power state and stop receiving the data PPDU.
[0334] In addition, the node device can also determine the transmission duration indicated by the TXOP of the data PPDU. The node device can enter the activated state again after the transmission duration indicated by the TXOP ends to ensure that subsequent frames can be received normally and avoid missing the data PPDU sent to the node device by the central device associated with the node device. The above method can not only reduce the receiving power consumption of the node device in the activated state, reduce the power consumed by the node device when receiving irrelevant data PPDU, but also avoid the node device from mistaking the data sent to the node device by its associated central device.
[0335] Fig.16 A schematic diagram of state switching of a node device is exemplarily shown.
[0336] like Fig.16 As shown, the node device can enter the active state at time t16. The node device can receive and send signals in the active state. When the VHT MU PPDU is received in the active state starting at time t16, the node device can Fig.15The method shown in the figure determines whether to terminate the reception of the PPDU in advance. In some embodiments, the node device detects that the bit corresponding to the Group ID in the membership field is 0 according to the Group ID field value in the PPDU, or detects that the bit corresponding to the Group ID in the membership field is 1 and the NSTS field value corresponding to the node device is 0, or detects that the bit corresponding to the Group ID in the membership field is 1 and the NSTS field value corresponding to the node device is not 0, but the source end of the PPDU is the central device associated with the node device and the destination end is other node devices, or detects that the bit corresponding to the Group ID in the membership field is 1 and the NSTS field value corresponding to the node device is not 0, but the destination end of the PPDU is the central device associated with the node device, or detects that the bit corresponding to the Group ID in the membership field is 1 and the NSTS field value corresponding to the node device is not 0, but the source end of the PPDU is not the central device associated with the node device. Then, the node device can terminate the reception of the PPDU in advance and enter a sleep state or a low power consumption state. For example, the node device can enter a sleep state or a low power consumption state at time t17. The node device may enter the activated state again at time t18. The time duration corresponding to time t17 to time t18 may be a time duration determined by the node device based on the TXOP of the PPDU.
[0337] From time t18, the node device can continue to monitor and receive signals to avoid missing the data PPDU sent to the node device by the central device associated with the node device.
[0338] By the above Fig.16 It can be seen that when a node device receives a VHT MU PPDU in an activated state, it can determine whether it is necessary to terminate the reception of the PPDU in advance based on the received partial fields to save the receiving power consumption of the node device. And the node device can enter the activated state again after the transmission duration indicated by the TXOP ends to ensure that subsequent frames can be received normally and avoid missing the data PPDU sent to the node device by the central device associated with the node device.
[0339] Data PPDU based on 802.11ax (Wi-Fi 6)
[0340] The data PPDU based on 802.11ax may represent a data frame transmitted by a device based on 802.11ax communication when performing data interaction. The data PPDU based on 802.11ax may include a high efficiency single-user PPDU (HE SU PPDU).
[0341] Fig.17 The frame format of the HE SU PPDU is exemplarily shown.
[0342] like Fig.17 As shown in FIG. 1 , the HE SU PPDU may include a Preamble field and a DATA field. The HT-mixed format PPDU may be a PPDU that aggregates multiple MPDUs. The DATA field may include multiple MPDUs. For details, please refer to the aforementioned Figure 3D Introduction.
[0343] The Preamble field may include L-STF, L-LTF, L-SIG, repeat legacy signaling field (repeat legacy signal field, RL-SIG), high efficiency signaling A field (high efficiency signal A field, HE-SIG-A), high efficiency short training field (high efficiency short training field, HE-STF), and high efficiency long training field (high efficiency long training field, HE-LTF).
[0344] Among them, L-STF, L-LTF, L-SIG refer to the above Figure 6 RL-SIG can be used to distinguish whether the PPDU is an 802.11ax-based frame. HE-STF can be used to improve automatic gain control estimation in MIMO transmission. HE-LTF can be used for channel estimation and phase tracking.
[0345] HE-SIG-A may be used to carry information for describing PPDU. HE-SIG-A may consist of VHT-SIG-A1 and VHT-SIG-A2.
[0346] Fig.18 The structure of the HE-SIG-A in the HE SU PPDU is illustrated as an example.
[0347] like Fig.18As shown, in the HE-SIG-A in the HE SU PPDU, VHT-SIG-A1 may include a format field, a beam change field, an uplink (UL) / downlink (DL) field, a high efficiency modulation and coding scheme (HE-MCS), dual sub-carrier modulation (DCM), a basic service set coloring (BSS Color), etc. VHT-SIG-A2 may include a transmission opportunity (TXOP) and other fields.
[0348] The Format field may be used to indicate the type of the PPDU frame. A Format field value of 0 may indicate that the PPDU is a trigger based PPDU. The central device may schedule the node device to perform uplink data transmission by using a variety of trigger frames.
[0349] The BSS Color field can be used to distinguish BSS. After the node device establishes a Wi-Fi connection with the central device, the central device can send the value of the BSS Color of the central device to the node device. When receiving the PPDU, the node device can compare the BSS Color field value in the PPDU with the BSS Color of the central device associated with the node device. Among them, the BSSColor field value in the PPDU is the same as the BSS Color of the central device associated with the node device, which can indicate that the PPDU is sent by a device in the BSS where the node device is located. That is, the PPDU is a data packet from the intra-BSS. The BSS Color field value in the PPDU is different from the BSS Color of the central device associated with the node device, which can indicate that the PPDU is sent by a device in the BSS where the node device is not located. The PDDU may be a data packet from a BSS adjacent to the BSS where the node device is located (i.e., inter-BSS). When the BSS Color field value in the PPDU is different from the BSS Color of the central device associated with the node device, the PPDU can also be called an overlap basic service set (OBSS) PPDU.
[0350] The UL / DL field can be used to indicate whether the PPDU is uplink data or downlink data. A UL / DL field of 1 indicates that the PPDU is uplink data, that is, data sent to the central device. A UL / DL field of 0 indicates that the PPDU is downlink data, that is, data sent to the node device.
[0351] The TXOP field may indicate the transmission duration required for a HE SU PPDU.
[0352] Fig.19 The present invention exemplarily shows a flow chart of a method for a node device to receive a HE SU PPDU based on 802.11ax.
[0353] like Fig.19 As shown, the method may include steps S1911 to S1921.
[0354] S1911. The node device based on Wi-Fi6 communication starts to receive a data PPDU in the activated state.
[0355] In the activated state, the node device can send a request to the central device to obtain the temporarily stored data associated with the node device. Then, the node device can monitor and receive the PPDU on the air interface. When a PPDU on the air interface is monitored, the physical layer function module of the node device can start to receive this PPDU. Among them, the node device can successively receive the fields used to constitute this PPDU. The fields at the front end of the PPDU can be received by the node device before the fields at the back end of the PPDU.
[0356] Here, an example is taken where the data PPDU being received by the node device is a HE SU PPDU.
[0357] S1912. Obtain TXOP information based on the HE-SIG-A field included in the Preamble field in the data PPDU.
[0358] By the above Fig.17 and Fig.18 As can be seen from the frame structure of the HE SU PPDU shown, the Preamble field in the HE SU PPDU may include a HE-SIG-A field. The HE-SIG-A field may include a TXOP field. The node device may determine the time indicated by the TXOP according to the value of the TXOP field, that is, the required transmission duration of the current HE SU PPDU.
[0359] S1913. Obtain the BSS Color field value according to the HE-SIG-A field.
[0360] S1914. Determine whether the BSS Color field value matches.
[0361] If the BSS Color field value matches, it means that the BSS Color field value is the same as the BSS Color of the central device associated with the current node device. If the BSS Color field value does not match, it means that the BSS Color field value is different from the BSS Color of the central device associated with the current node device.
[0362] If the BSS Color field value matches, the node device may execute the following step S1915 or step S1920.
[0363] If the BSS Color field value does not match, the node device may execute the following step S1918.
[0364] The BSS Color field may be a field used to indicate a source end.
[0365] S1915. Determine whether the UL / DL field value is 1.
[0366] When the BSS Color field value matches, the node device can determine that the PPDU is sent by a device in the BSS where the node device is located. For example, the PPDU may be sent by a central device associated with the node device. Therefore, in order to more accurately determine whether the PPDU is sent to the node device, the node device can determine whether the UL / DL field value is 1. A UL / DL field value of 1 can indicate that the PPDU is uplink data. A UL / DL field value of 0 can indicate that the PPDU is downlink data.
[0367] In the case where the BSS Color field value matches and the UL / DL field value is 1, the node device may determine that the PPDU is sent to the central device associated with the node device. The PPDU is irrelevant to the node device. The node device may perform the following step S1918.
[0368] When the BSS Color field value matches and the UL / DL field value is 0, the node device can determine that the PPDU is sent by the central device associated with the node device. At this time, the node device still cannot determine whether the PPDU is sent to the node device. Therefore, the node device can perform the following step S1916.
[0369] The UL / DL field may be a field used to indicate a destination.
[0370] S1916. Parse the first MPDU in the data PPDU and obtain the destination address from MPDU1.
[0371] S1917. Determine whether the destination address indicates the node device.
[0372] When it is determined that the PPDU is sent by the central device associated with the node device, the node device may determine whether the PPDU is sent to the node device according to the destination address in the PPDU.
[0373] S1918. Terminate receiving the data PPDU in advance, enter a dormant state or a low power consumption state, and enter an active state again after the time indicated by the TXOP ends.
[0374] S1919. Completely receive data PPDU.
[0375] Steps S1916 to S1919 may refer to the aforementioned Figure 7 Steps S713, S715, S716, and S717 are shown in the figure. They will not be described in detail here.
[0376] S1920. Determine whether the PPDU is a trigger based PPDU.
[0377] In some embodiments, when the BSS Color field values match, the node device can determine whether the PPDU is a trigger based PPDU. Fig.17 and Fig.18 As shown in the frame structure, the PPDU contains the Format field. The node device can determine whether the PPDU is a trigger based PPDU based on the value of the Format field. Among them, the Format field value of 0 can indicate that the PPDU is a trigger based PPDU. The Format field value is not 0, which means that the PPDU is not a trigger based PPDU.
[0378] In the case where the PPDU is a trigger based PPDU, the node device may perform the following step S1921. In the case where the PPDU is not a trigger based PPDU, the node device may perform the above step S1915.
[0379] S1921. Determine whether the device context of this node is in the trigger state.
[0380] If the node device context is in the trigger state, the node device may execute the above step S1916. If the node device context is not in the trigger state, the node device may execute the above step S1918.
[0381] Among them, the node device can enter the trigger state in response to the trigger frame sent by the central device associated with it. If the node device has received a trigger frame sent by the central device associated with it to indicate that the node device enters the trigger state before receiving the above-mentioned data PPDU, the node device can determine that it is in the trigger state. Otherwise, the node device can determine that it is not in the trigger state based on the context. The embodiment of the present application does not limit the method for the node device to determine whether it is in the trigger state.
[0382] It can be seen that when it is determined that the BSS Color field value matches, the node device can determine whether the PPDU is a trigger based PPDU, or determine whether the UL / DL field value is 1. If the node device determines that the PPDU is not a trigger based PPDU, the node device can further execute step S1915 to determine whether the UL / DL field value is 1. In addition, when the PPDU is a trigger based PPDU and the node device is in the trigger state, the node device can execute step S1916 to further determine whether the PPDU is sent to the node device in combination with the destination address in the PPDU.
[0383] From the above steps, it can be seen that the node device can terminate the reception of data PPDU in advance in any of the following five situations:
[0384] Case d1: The BSS Color field value in the PPDU does not match.
[0385] Case d2: The BSS Color field value in the PPDU matches and the UL / DL field value is 1.
[0386] Case d3: The BSS Color field value in the PPDU matches, and the UL / DL field value is 0, but the destination end indicated by the destination address in the PPDU is not the local node device.
[0387] Case d4: The BSS Color field value in the PPDU matches, and the PPDU is a trigger based PPDU, and the device context of this node is not in the trigger state.
[0388] Case d5: The BSS Color field value in the PPDU matches, and the PPDU is a trigger based PPDU. The device context of this node is in the trigger state, but the destination end indicated by the destination address in the PPDU is not the device of this node.
[0389] It can be understood that the above situation d1 may indicate that the PPDU is data sent by a central device that is not associated with the node device. The PPDU has nothing to do with the node device.
[0390] The above situation d2 may indicate that the PPDU is sent to the central device associated with the node device. Then, the central device associated with the node device will definitely not communicate with the node device within the time indicated by the TXOP of the PPDU. Therefore, the PPDU sent by other node devices to the central device associated with the node device is a data PPDU unrelated to the node device.
[0391] The above situation d3 may indicate that the PPDU is sent by the central device associated with the node device to other node devices. Then, the central device associated with the node device will definitely not communicate with the node device within the time indicated by the TXOP of the PPDU. Therefore, the PPDU sent by the central device associated with the node device to other node devices is a PPDU unrelated to the node device.
[0392] The above situation d4 may indicate that the node device is currently in a state of not responding to the trigger frame sent by the central device. Then, the central device associated with the node device will not send a trigger based PPDU to the node device. That is, the PPDU is a trigger frame sent by the central device associated with the node device to other node devices. Therefore, the PPDU has nothing to do with the node device.
[0393] The above situation d5 may indicate that the PPDU is sent by the central device associated with the node device to other node devices. The PPDU has nothing to do with the node device.
[0394] In any of the above situations d1 to d5, the node device can enter the activated state again after the time indicated by the TXOP of the PPDU ends to ensure that subsequent frames can be received normally and avoid missing the data PPDU sent to the node device by the central device associated with the node device. In other situations other than the above situations d1 to d5, the node device can remain activated and receive the data PPDU completely.
[0395] In some embodiments, the above steps S1913 to S1915, step S1920, and step S1921 may all be optional. In other words, the node device may also use only the destination address in the PPDU to determine whether the PPDU is sent to the node device, thereby determining whether the PPDU is irrelevant to the node device.
[0396] Depend on Fig.19It can be seen from the method shown that when a node device based on Wi-Fi 6 communication receives a HE SU PPDU in an activated state, it can determine whether it is necessary to terminate the reception of the data PPDU in advance to save the receiving power consumption of the node device. The node device can receive the data PPDU while judging whether the data PPDU is irrelevant to the node device based on some fields in the received data PPDU, such as the field used to indicate the destination (UL / DL field and / or destination address) and / or the field used to indicate the source (BSS Color field). Once it is determined that the data PPDU is irrelevant to the node device, the node device can enter a sleep state or a low power state and stop receiving the data PPDU.
[0397] In addition, the node device can also determine the transmission duration indicated by the TXOP of the data PPDU. The node device can enter the activated state again after the transmission duration indicated by the TXOP ends to ensure that subsequent frames can be received normally and avoid missing the data PPDU sent to the node device by the central device associated with the node device. The above method can not only reduce the receiving power consumption of the node device in the activated state, reduce the power consumed by the node device when receiving irrelevant data PPDU, but also avoid the node device from mistaking the data sent to the node device by its associated central device.
[0398] Fig. 20 A schematic diagram of state switching of a node device is exemplarily shown.
[0399] like Fig. 20 As shown, the node device may enter the active state at time t20. The node device may receive and send signals in the active state. When the HE SU PPDU is received in the active state starting at time t20, the node device may Fig. 20The method shown is used to determine whether to terminate the reception of the PPDU in advance. In some embodiments, the node device detects that the BSS Color field value in the PPDU does not match, or detects that the BSS Color field value matches and the UL / DL field value is 1, or detects that the BSS Color field value matches and the UL / DL field value is 0, but the destination of the PPDU is not the node device, or detects that the BSS Color field value matches and the PPDU is a trigger based PPDU (that is, the Format field value is 0), and the context of the node device is not in the trigger state, or detects that the BSS Color field value matches and the PPDU is a triggerbased PPDU, the context of the node device is in the trigger state but the destination of the PPDU is not the node device. Then, the node device can terminate the reception of the data PPDU in advance and enter a sleep state or a low power consumption state. For example, the node device can enter a sleep state or a low power consumption state at time t21. The node device can enter the activation state again at time t22. The duration corresponding to the above-mentioned time t21 to time t22 can be the duration determined by the node device by the TXOP of the data PPDU.
[0400] From time t22 onwards, the node device may continue to monitor and receive signals so as not to miss the data PPDU sent to the node device by the central device associated with the node device.
[0401] By the above Fig. 20 It can be seen that when a node device receives a data PPDU in an activated state, it can determine whether it needs to terminate the reception of the data PPDU in advance based on the received partial fields to save the receiving power consumption of the node device. And the node device can enter the activated state again after the transmission duration indicated by the TXOP ends to ensure that subsequent frames can be received normally and avoid missing the data PPDU sent to the node device by the central device associated with the node device.
[0402] In some embodiments, in a multi-user scenario, a node device based on Wi-Fi 6 communication can also receive a high-efficiency multi-user PPDU (HE MU PPDU). In the process of receiving the HE MU PPDU, the node device can Fig.19 The method shown determines whether to terminate the reception of a HE MU PPDU early.
[0403] In some embodiments, the data PPDU based on 802.11be (i.e., Wi-Fi 7) may also include the above-mentioned BSSColor field, UL / DL field, Format field, and other fields. When receiving the data PPDU, the node device based on Wi-Fi 7 communication may also follow the above-mentioned Fig.19 The method shown determines whether to terminate the reception of data PPDU in advance and enter the sleep state.
[0404] In some embodiments, the wireless signal receiving method provided in the present application is not limited to the PPDU that aggregates multiple MPDUs. It can also be applied to data frames that do not use frame aggregation technology. In data frames that do not use frame aggregation technology, a PPDU includes an MPDU. Based on the different Wi-Fi protocols, the node device can be configured as described above. Figure 7 ,or Fig.11 ,or Fig.15 ,or Fig.19 The method shown is used to receive data frames that do not use frame aggregation technology. Among them, when it is impossible to determine that the data frame is irrelevant to the node device according to the Preamble field of the data frame that does not use frame aggregation technology, the node device can completely receive the MPDU of the data frame. The node device can perform FCS check on the MPDU, and after the FCS check is passed, determine whether the data frame is sent to the node device according to the MAC header in the MPDU. It can be understood that the data frame is not sent periodically. Compared with the beacon frame that is sent periodically, the node device needs to ensure the accuracy of the result when judging whether the data frame is irrelevant to the node device. If the node device makes a mistake in judgment and determines that the data frame sent to itself is a signal irrelevant to itself, the node device may not be able to receive the data frame again in the future, and data packet loss and the like may occur. Therefore, before using the MAC header in the MPDU for judgment, the node device can first perform FCS check on the MPDU to determine whether the MAC header received and decoded is accurate. This can improve the accuracy of the result of judging whether the data frame is irrelevant to the node device and reduce the situation of data loss due to misjudgment.
[0405] Alternatively, when it is not possible to determine that the data frame is irrelevant to the node device according to the Preamble field of the data frame that does not use the frame aggregation technology, the node device can use the MAC header to make a judgment after receiving the MAC header of the MPDU in the data frame. If it is determined that the data frame is irrelevant to the node device according to the MAC header, the node device can stop receiving the data frame.
[0406] The structure of an electronic device 100 provided by the present application is introduced below. The structures of devices involved in the present application (such as central devices, node devices, GO devices, GC devices, etc.) can all refer to the electronic device 100.
[0407] Fig.21 The schematic diagram of the hardware structure of the electronic device 100 is exemplarily shown.
[0408] like Fig.21 As shown, the electronic device 100 may include: a processor 101, a memory 102, a wireless communication module 103, an antenna 105, and a power management module 106. Among them:
[0409] The processor 101 may include one or more processing units, for example, the processor 101 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0410] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0411] The processor 101 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 101 is a cache memory. The memory may store instructions or data that the processor 101 has just used or cyclically used. If the processor 101 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 101, and thus improves the efficiency of the system.
[0412] In some embodiments, the processor 101 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0413] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0414] In some embodiments, the processor 101 can be used to parse the signal received by the wireless communication module 103 and demodulate the signal. The processor 101 can respond according to the analysis result and perform corresponding operations, such as performing a sensing operation. In some embodiments, the processor 101 can also be used to generate a signal sent out by the wireless communication module 103, such as a Wi-Fi signal.
[0415] The memory 102 is coupled to the processor 101 and is used to store various software programs and / or multiple sets of instructions. In a specific implementation, the memory 102 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 102 may store an operating system, such as uCOS, VxWorks, RTLinux, and other embedded operating systems. The memory 102 may also store a communication program, which may be used to communicate with the electronic device 100 or other devices.
[0416] The wireless communication module 103 may include a wireless local area network (WLAN) communication module 104. The WLAN communication module 104 may provide a solution for Wi-Fi wireless communication applied to the electronic device 100. The Wi-Fi protocol used in the WLAN communication module 104 may be IEEE802.11a, 802.11b, 802.11n, 802.11ac, 802.11ax, 802.11be, etc.
[0417] Possibly, the wireless communication module 103 may also include other communication modules to provide other wireless communication solutions (for example, Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR)).
[0418] Possibly, the WLAN communication module 104 may be integrated with other communication modules (e.g., Bluetooth communication modules). The WLAN communication module 104 may monitor signals transmitted by other devices (e.g., electronic device 100), such as measurement signals, scanning signals, etc., and may send response signals, such as measurement responses, scanning responses, etc., so that other devices may find the electronic device 100 and establish wireless communication connections with other devices through one or more of WLAN, Bluetooth, or other short-range wireless communication technologies to perform data transmission.
[0419] In some embodiments, one or more of the WLAN communication modules 104 may also transmit signals, such as broadcast detection signals and beacon signals, so that other devices can discover the electronic device 100 and establish wireless communication connections with other devices via WLAN or other short-range wireless communication technologies for data transmission.
[0420] In some embodiments, the WLAN communication module 104 may include a physical layer function module and a MAC layer function module. The physical layer function module may be used to implement the functions of the PHY layer, such as modulating / demodulating frames, encoding / decoding frames, and performing frame check sequence (FCS) check on frames. The MAC layer function module may be used to implement the functions of the MAC layer, such as encapsulating / unloading data frames, managing links, addressing and parsing frames, receiving and sending frames, performing error control on frames, filtering frames, and the like.
[0421] The antenna 105 can be used to transmit and receive electromagnetic wave signals. The antennas of different communication modules can be reused or can be independent of each other to improve the utilization rate of the antenna.
[0422] The power management module 106 may be used to control the power supply to the electronic device 100. The power supply may be a battery or an external power supply.
[0423] In some embodiments, the hardware structure of the electronic device 100 may further include an audio module ( Fig.21 not shown) and a speaker ( Fig.21 The audio module is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal. The audio module can also be used to encode and decode audio signals. The speaker, also known as a "horn", is used to convert audio electrical signals into sound signals.
[0424] In some embodiments, the hardware structure of the electronic device 100 may further include a microphone ( Fig.21 (not shown). A microphone, also called a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, a user can speak by approaching the microphone with his or her mouth to input the sound signal into the microphone. The electronic device 100 can be provided with at least one microphone.
[0425] In some embodiments, the hardware structure of the electronic device 100 may also include a display screen ( Fig.21 ). The display screen is used to display images, videos, etc. The display screen includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light emitting diode (QLED), etc. In some embodiments, the terminal may include 1 or N display screens, where N is a positive integer greater than 1.
[0426] In some embodiments, the hardware structure of the electronic device 100 may also include one or more sensors ( Fig.21The one or more sensors may include one or more of the following pressure sensors, gyroscope sensors, air pressure sensors, magnetic sensors, acceleration sensors, distance sensors, proximity light sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, bone conduction sensors, etc.
[0427] It should be noted that Fig.21 The electronic device 100 shown is only one implementation of the embodiment of the present application. In actual applications, the electronic device 100 may also include more or fewer components, which is not limited here.
[0428] Fig. 22 The software structure block diagram of the electronic device 100 is exemplarily shown.
[0429] like Fig. 22 As shown, the electronic device 100 may include a communication module 2210 and a state adjustment module 2220. The communication module 2210 may include a physical layer function module 2211 and a MAC layer function module 2212. The communication module 2210 may refer to the aforementioned Fig.21 The WLAN communication module shown.
[0430] The communication module 2210 can be used to receive and send Wi-Fi signals. For example, if the electronic device 100 is a node device, the electronic device 100 can receive beacon frames and data frames broadcast by its associated central device. The beacon frames and data frames can exist in the form of PPDU in the physical layer function module 2211. In different Wi-Fi protocols, the fields contained in the PPDU may be different. The physical layer function module 2211 can be used to decode the PPDU, obtain the MPDU from the PPDU, and send the MPDU to the MAC layer function module 2212. That is, the above-mentioned beacon frames and data frames can exist in the form of MPDU in the MAC layer function module 2212. The communication module 2210 may also be called a Wi-Fi module or the like.
[0431] The state adjustment module 2220 can be used to adjust the state of the electronic device 100 receiving and sending Wi-Fi signals. When the electronic device 100 is a node device, the state of the electronic device 100 may include an awake state, a dormant state, an activated state, and a low power consumption state. The state adjustment module 2220 can enable the electronic device 100 to switch between the awake state, the dormant state, the activated state, and the low power consumption state. In some embodiments, when switching to the awake state, the state adjustment module 2220 can turn on the receiver and turn off the transmitter. The receiver can be used to receive Wi-Fi signals. The transmitter can be used to transmit Wi-Fi signals. When switching to the dormant state, the state adjustment module 2220 can turn off the receiver and the transmitter. When switching to the activated state. The state adjustment module 2220 can turn on the receiver and the transmitter. When switching to the low power consumption state, the state adjustment module 2220 can turn off the RF module and the BB module to keep the receiver and the transmitter running in a low power consumption state.
[0432] In some embodiments, the communication module 2210 and the state adjustment module 2220 may also be integrated into one module.
[0433] In some embodiments, the electronic device 100 can monitor and receive beacon frames in the awake state. In the process of receiving beacon frames, the physical layer function module 2211 can perform L-SIG verification based on the Preamble field in the first received PPDU and determine whether the signal transmission rate is the basic rate. For details, please refer to the aforementioned Figure 4 Step S412 and step S413 shown. When the L-SIG check passes and the signal transmission rate is the basic rate, the physical layer function module 2211 can send the MAC header and TIM field in the decoded PPDU to the MAC layer function module 2212. The MAC layer function module 2212 can determine whether the BSSID matches, and determine whether the central device associated with the electronic device 100 has a service indication (that is, whether there is a service that the electronic device 100 needs to perform) based on the TIM. If the BSSID matches and there is no service that the electronic device 100 needs to perform in the central device associated with the electronic device 100, the communication module 2210 can send an indication message for indicating sleep to the state adjustment module 2220. According to the indication message, the state adjustment module 2220 can turn off the receiver and switch the state of the electronic device 100 from the awake state to the sleep state.
[0434] In some embodiments, the electronic device 100 can receive data frames in the awake state. In the process of receiving data frames, the physical layer function module 2211 can determine whether the PPDU is irrelevant to the electronic device 100 according to the Preamble field in the PPDU received first. If the PPDU is irrelevant to the electronic device 100, the communication module 2210 can send an indication message for indicating sleep or low power consumption to the state adjustment module 2220. If the above-mentioned Preamble field cannot determine whether the PPDU is irrelevant to the electronic device 100, the physical layer function module 2211 can send the MAC header in the decoded PPDU to the MAC layer function module 2212. The above-mentioned MAC header can be the MAC header of the first MPDU in the PPDU. The MAC layer function module 2212 can determine whether the PPDU is irrelevant to the electronic device 100 according to the MAC header. If the PPDU is irrelevant to the electronic device 100, the communication module 2210 can send an indication message for indicating sleep or low power consumption to the state adjustment module 2220. Then, according to the indication message, the state adjustment module 2220 can switch the state of the electronic device 100 from the active state to the sleep state or the low power consumption state.
[0435] It should be noted that the above-mentioned determination of whether the PPDU is irrelevant to the electronic device 100 based on the Preamble field is optional. In some embodiments, the physical layer function module 2211 sends the MAC header of the first MPDU in the PPDU to the MAC layer function module 2212 without using the Preamble field to determine the relevance of the PPDU to the electronic device 100.
[0436] The PPDU being irrelevant to the electronic device 100 may include: the receiver (ie, the destination end) of the PPDU is not the electronic device 100 .
[0437] Since the content included in the Preamble field is different in different Wi-Fi protocols, the method of using the Preamble field to determine whether the PPDU is irrelevant to the electronic device 100 may also be different.
[0438] In some embodiments, when the electronic device 100 is based on 802.11n communication, the physical layer function module 2211 can determine the TXOP information of the PPDU according to the Preamble field. Figure 7Step S712 shown. The physical layer function module 2211 can send the first MPDU in the decoded PPDU to the MAC layer function module 2212. The MAC layer function module 2212 can obtain the source address and the destination address according to the MAC header of the first MPDU. If the source address and / or the destination address indicates that the PPDU is not sent to the electronic device 100, the communication module 2210 can send an indication message for indicating sleep or low power consumption to the state adjustment module 2220. For details, please refer to the aforementioned Figure 7 Steps S713 to S716 shown. According to the indication message, the state adjustment module 2220 can switch the state of the electronic device 100 from the active state to the sleep state or the low power consumption state. In addition, the communication module 2210 can also send the above TXOP information to the state adjustment module 2220. The state adjustment module 2220 can determine the duration of the sleep state or the low power consumption state according to the TXOP information, and then switch the state of the electronic device 100 to the active state after the duration ends, so as to avoid missing the data frame sent to the electronic device 100 by the central device associated with the electronic device 100.
[0439] That is, in 802.11n, the electronic device 100 can use the destination address and / or source address in the PPDU to determine whether the PPDU is irrelevant to the electronic device 100. The above-mentioned destination address is a field used to indicate the destination end. The above-mentioned source address is a field used to indicate the source end. The physical layer function module 2211 can determine whether the PPDU is irrelevant to the electronic device 100 without using the Preamble field.
[0440] In some embodiments, when the electronic device 100 is based on 802.11ac communication, if the data frame received by the electronic device 100 is a VHT SU PPDU, the physical layer function module 2211 can determine the TXOP information of the PPDU according to the Preamble field. Fig.11 The physical layer function module 2211 may first determine whether the PPDU is sent to the electronic device 100 according to the Group ID in the Preamble field, or in combination with the Group ID and the Partial AID. Fig.11Steps S1113 and S1114 shown. If it is determined based on the Preamble field that the PPDU is not related to the electronic device 100, the communication module 2210 may send an indication message for indicating sleep or low power consumption to the state adjustment module 2220. If it cannot be accurately determined based on the Preamble field that the PPDU is not sent to the electronic device 100, the physical layer function module 2211 may send the first MPDU in the decoded PPDU to the MAC layer function module 2212. The MAC layer function module 2212 may determine whether the PPDU is not related to the electronic device 100 based on the source address and / or destination address in the MAC header of the first MPDU.
[0441] That is, in a single-user scenario of 802.11ac, the electronic device 100 can use the Group ID in the PPDU, or use the Group ID and the Partial AID, or use the Group ID, the Partial AID in combination with the destination address and / or the source address to determine whether the PPDU is irrelevant to the electronic device 100. The above-mentioned Group ID and Partial AID are fields used to indicate the destination end.
[0442] In some embodiments, when the electronic device 100 is based on 802.11ac communication, if the data frame received by the electronic device 100 is a VHT MU PPDU, the physical layer function module 2211 can determine the TXOP information of the PPDU according to the Preamble field. Fig.15Step S1512 shown. The physical layer function module 2211 may first determine whether the bit corresponding to the Group ID in the membership field associated with the electronic device 100 is 0 according to the Group ID in the Preamble field. If the bit corresponding to the Group ID in the membership field associated with the electronic device 100 is 0, the physical layer function module 2211 may determine that the PPDU is irrelevant to the electronic device 100, and the communication module 2210 may send an indication message for indicating sleep or low power consumption to the state adjustment module 2220. If the bit corresponding to the Group ID in the membership field associated with the electronic device 100 is not 0, the physical layer function module 2211 may further determine whether the PPDU is irrelevant to the electronic device 100 according to the NSTS field value corresponding to the electronic device 100 in the Preamble field. If the NSTS field value corresponding to the electronic device 100 is 0, the physical layer function module 2211 may determine that the PPDU is irrelevant to the electronic device 100, and the communication module 2210 may send an indication message for indicating sleep or low power consumption to the state adjustment module 2220. If the NSTS field value corresponding to the electronic device 100 is not 0, the physical layer function module 2211 can send the first MPDU in the decoded PPDU to the MAC layer function module 2212. The MAC layer function module can determine whether the PPDU is irrelevant to the electronic device 100 based on the source address and / or destination address in the MAC header of the first MPDU.
[0443] That is, in a multi-user scenario of 802.11ac, the electronic device 100 can use the Group ID in the PPDU, or use the Group ID and NSTS, or use the Group ID, NSTS in combination with the destination address and / or source address to determine whether the PPDU is irrelevant to the electronic device 100. The above NSTS is a field used to indicate the destination end.
[0444] In some embodiments, when the electronic device 100 is based on 802.11ax or 802.11be communication, the physical layer function module 2211 can determine the TXOP information of the PPDU according to the Preamble field. Fig.19 The physical layer function module 2211 may first determine whether the PPDU is sent to the electronic device 100 based on the BSS Color in the Preamble field, or in combination with the BSS Color and UL / DL, or in combination with the BSS Color and Format, or in combination with the BSS Color, UL / DL and Format. Fig.19Steps S1914, S1915, S1920, and S1921 are shown. If it is determined based on the Preamble field that the PPDU is not related to the electronic device 100, the communication module 2210 may send an indication message for indicating sleep or low power consumption to the state adjustment module 2220. If it cannot be accurately determined based on the Preamble field that the PPDU is not sent to the electronic device 100, the physical layer function module 2211 may send the first MPDU in the decoded PPDU to the MAC layer function module 2212. The MAC layer function module may determine whether the PPDU is not related to the electronic device 100 based on the source address and / or destination address in the MAC header of the first MPDU.
[0445] That is to say, in 802.11ax or 802.11be, the electronic device 100 can use the BSS Color in the Preamble field of the PPDU, or use the BSS Color and UL / DL, or use the BSS Color, UL / DL, and Format to determine whether the PPDU is irrelevant to the electronic device 100. The electronic device 100 can also combine the Preamble field with the destination address and / or source address in the MAC header to determine whether the PPDU is irrelevant to the electronic device 100. The above-mentioned BSS Color is a field used to indicate the source end. The above-mentioned UL / DL is a field used to indicate the destination end.
[0446] It should be noted that, without causing any contradiction or conflict, any feature in any embodiment of the present application, or any part of any feature, can be combined, and the combined technical solution is also within the scope of the embodiments of the present application.
[0447] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A wireless signal receiving method, characterized in that: The method is applied to a first device, the first device establishes a communication connection with a second device, and the method includes: The first device receives a first signal, and determines, when receiving the first signal, based on first content of the first signal, that the first signal is not related to the first device; The first device stops receiving the first signal; The first signal being irrelevant to the first device includes: the first content indicating that the second device does not have the service of the first device, or the first content indicating that the destination end of the first signal is not the first device.
2. The method according to claim 1, characterized in that The first content includes one or more of the following fields in the first signal: a field used to indicate a source end of the first signal, a field used to indicate a destination end of the first signal, and a field corresponding to service indication information.
3. The method according to claim 1 or 2, characterized in that: The first signal is a beacon frame, the first content includes a first basic service set identifier BSSID field and a first data to be transmitted TIM field in the first signal, the first TIM field is a field corresponding to the service indication information, and the determining, when receiving the first signal, according to the first content of the first signal, that the first signal is irrelevant to the first device specifically includes: In a case where the first BSSID field matches the BSSID of the second device and the first TIM field indicates that there is no traffic of the first device in the second device, the first device determines that the first signal is not related to the first device.
4. The method according to claim 3, characterized in that The first device is in an awake state, and after determining that the first signal is irrelevant to the first device according to the first content of the first signal when receiving the first signal, the method further includes: The first device enters a sleep state.
5. The method according to claim 3 or 4, characterized in that: Before determining that the first signal is irrelevant to the first device according to the first content of the first signal when receiving the first signal, the method further includes: The first device pre-judges the first signal according to the second content of the first signal, and determines that the first signal meets the pre-judgment condition, wherein the second content is located in the front of the first signal than the first content in the first signal, and the second content includes: the legacy signaling field L-SIG of the first signal, the transmission rate of the first signal, and the frame type of the first signal. The pre-judgment includes: determining whether the L-SIG check is passed, determining whether the signal transmission rate is the basic rate, and determining whether the frame type is a beacon frame. The first signal meets the pre-judgment condition including: the L-SIG check is passed, the transmission rate of the first signal is the basic rate, and the frame type of the first signal is a beacon frame.
6. The method according to claim 5, characterized in that The first device is in an awake state, and before the first device receives the first signal, the method further includes: The first device receives a second signal, and performs the pre-judgment on the second signal according to a third content of the second signal when receiving the second signal, and determines that the second signal does not meet the pre-judgment condition; The first device stops receiving the second signal and remains in an awake state; The third content includes: the L-SIG of the second signal, the transmission rate of the second signal, and the frame type of the second signal; the second signal does not meet the pre-judgment condition including: the L-SIG check fails, or the transmission rate of the second signal is not the basic rate, or the second signal is not a beacon frame.
7. The method according to any one of claims 1 to 6, characterized in that The first device is in an awake state, and before the first device receives the first signal, the method further includes: The first device receives a third signal, and when receiving the third signal, determines that a second BSSID field in the third signal does not match a BSSID of the second device, and the third signal is a beacon frame; The first device stops receiving the third signal and remains in an awake state.
8. The method according to claim 1 or 2, characterized in that: The first device is in an activated state, the first signal is a data frame, and the method further includes: The first device determines first transmission opportunity TXOP information according to the preamble field of the first signal, where the first TXOP information is used to indicate a transmission duration of the first signal; After determining that the first signal is irrelevant to the first device according to the first content of the first signal when receiving the first signal, the method further includes: The first device enters a sleep state or a low power consumption state, and enters an active state after the transmission duration indicated by the first TXOP ends.
9. The method according to claim 8, characterized in that The first signal is a signal based on 802.11n communication, the first content includes a source address field and / or a destination address field in the first signal, and determining that the first signal is irrelevant to the first device according to the first content of the first signal when receiving the first signal specifically includes: When the source address field indicates that the source end of the first signal is not the second device, or when the destination address field indicates that the destination end of the first signal is not the first device, the first device determines that the first signal is irrelevant to the first device.
10. The method according to claim 8, characterized in that The first signal is a signal based on communication in a single-user scenario in 802.11ac, the first content includes one or more of the following fields in the first signal: a group ID GroupID field, a local association ID Partial AID field, a source address field, and a destination address field, and determining that the first signal is irrelevant to the first device according to the first content of the first signal when receiving the first signal specifically includes: When the Group ID field value is 0, or the PartialAID field value does not match the first preset value, or the source address field indicates that the source end of the first signal is not the second device, or the destination address field indicates that the destination end of the first signal is not the first device, the first device determines that the first signal is not related to the first device.
11. The method according to claim 8, characterized in that The first signal is a signal for communication in a multi-user scenario in 802.11ac, the first content includes one or more of the following fields in the first signal: a Group ID field, a space-time stream number NSTS field, a source address field, and a destination address field, and determining that the first signal is irrelevant to the first device according to the first content of the first signal when receiving the first signal specifically includes: When the bit corresponding to the Group ID field in the Member Status Sequence field is 0, or the NSTS field value corresponding to the first device is 0, or the source address field indicates that the source end of the first signal is not the second device, or the destination address field indicates that the destination end of the first signal is not the first device, the first device determines that the first signal is not related to the first device; The member status sequence field is used to indicate the Group ID of the user group to which the first device belongs.
12. The method according to claim 8, characterized in that The first signal is a signal based on 802.11ax or 802.11be communication, the first content includes one or more of the following fields in the first signal: a basic service set coloring BSS Color field, an uplink / downlink UL / DL field, a Format field, and a destination address field, and determining that the first signal is irrelevant to the first device according to the first content of the first signal when receiving the first signal specifically includes: When the BSS Color field does not match the BSS Color of the second device, or the UL / DL field value is 1, or the Format field value is 1 and the context of the first device is not in a triggered state, or the destination address field indicates that the destination end of the first signal is not the first device, the first device determines that the first signal is not related to the first device.
13. The method according to any one of claims 9 to 12, characterized in that: The first signal aggregates a plurality of media access control layer protocol data units MPDU, and the source address field and the destination address field are both fields in the first MPDU in the first signal.
14. An electronic device, characterized in that: The electronic device includes a communication device, a memory and a processor, wherein the communication device is used to receive and send wireless signals, the memory is used to store a computer program; and the processor is used to call the computer program so that the electronic device executes the method described in any one of claims 1-13.
15. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 13.
16. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are run on an electronic device, the electronic device executes the method according to any one of claims 1 to 13.