WO2022268068A1 - Wireless communication method and apparatus, electronic device, and readable storage medium - Google Patents

Wireless communication method and apparatus, electronic device, and readable storage medium Download PDF

Info

Publication number
WO2022268068A1
WO2022268068A1 PCT/CN2022/100081 CN2022100081W WO2022268068A1 WO 2022268068 A1 WO2022268068 A1 WO 2022268068A1 CN 2022100081 W CN2022100081 W CN 2022100081W WO 2022268068 A1 WO2022268068 A1 WO 2022268068A1
Authority
WO
WIPO (PCT)
Prior art keywords
request
receiving
spatial stream
preset
electronic device
Prior art date
Application number
PCT/CN2022/100081
Other languages
French (fr)
Chinese (zh)
Inventor
黄新元
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022268068A1 publication Critical patent/WO2022268068A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • H04L5/0055Physical resource allocation for ACK/NACK
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/34Selective release of ongoing connections
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the embodiments of the present application relate to the communication field, and in particular to a wireless communication method, device, electronic equipment, and readable storage medium.
  • smart electronic devices With the widespread popularization of smart electronic devices and wireless networks, smart electronic devices have higher and higher requirements for battery life, and also put forward higher requirements for power consumption and power saving of wireless network functions of smart electronic devices. To meet wireless performance requirements, power consumption must also be minimized, thereby saving more power consumption.
  • SM spatial Multiplexing
  • the SM power-saving function allows a wireless workstation to have only one working receiving link for a long period of time. That is, in the case of meeting the performance requirements of the scene, the receiving link can be switched through negotiation with the peer end through the protocol. After the peer end responds, the wireless workstation that sent the request immediately switches to a receiving link to receive subsequent wireless frames, and the hardware is turned off. corresponding link, thus saving power consumption.
  • the access point After the requester sends a request to enter a receiving link, the access point (Access Point, AP) responds normally with an acknowledgment (Acknowledge, ACK), and the requester enters a receiving link and closes the rest of the receiving links. Sometimes the AP may not recognize or understand the request, causing the requesting device to work on a receiving link, but the AP still sends data with two spatial streams, resulting in the requesting device being unable to decode and receive data from the two spatial streams normally.
  • Access Point AP
  • the sending end cannot send single spatial stream data to the peer end according to the protocol negotiation, which also causes itself to fail to receive the corresponding wireless response, so it will continuously reduce the physical layer rate according to the rate selection algorithm until it is reduced to one spatial stream to send.
  • the peer is correctly identified. That is to say, due to the difference in the consistency of the power saving function implemented by the AP manufacturer, the data cannot be received normally after the receiving link is switched, which not only fails to save power consumption, but also leads to abnormal communication.
  • the purpose of the embodiment of the present application is to provide a wireless communication method, device, electronic equipment, and readable storage medium, which can solve the difference in the consistency of the power saving function implemented by AP manufacturers, resulting in the inability to receive data normally after switching the receiving link. Not only can it not save power consumption, but it will cause abnormal communication problems.
  • an embodiment of the present application provides a wireless communication method, the method is executed by an electronic device, and the method includes:
  • the first working state of the multiple first receiving links is maintained within a preset time period, and the multiple first receiving links are sending the first receiving links that have been turned on before the request, and the first working state is the working state of the plurality of first receiving links before sending the first request;
  • control the second receiving chain to stop working wherein the second receiving chain is the receiving chain corresponding to the single spatial stream signal among the plurality of first receiving chains Other receiving links other than the road;
  • the preset condition is to receive a preset threshold single spatial stream signal sent by the AP within the preset duration, or to receive all the signals continuously sent by the AP within the preset duration. All signals are single spatial stream signals.
  • an embodiment of the present application provides a wireless communication device, the method is executed by an electronic device, and the method includes:
  • a sending module configured to send a first request to the AP, where the first request is used to request the AP to send a single spatial stream signal;
  • a maintaining module configured to maintain the first working states of multiple first receiving links within a preset time period when the ACK sent by the AP is received, and the multiple first receiving links are The receiving links that have been opened before the first request, the first working state is the working state of the plurality of first receiving links before sending the first request;
  • a control module configured to control the second receiving link to stop working when the preset condition is met, wherein the second receiving link is the single spatial stream divided by the plurality of first receiving links Other receiving links other than the receiving link corresponding to the signal;
  • the preset condition is to receive a preset threshold single spatial stream signal sent by the AP within the preset duration, or to receive all the signals continuously sent by the AP within the preset duration. All signals are single spatial stream signals.
  • the embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is executed by the processor During execution, the steps of the wireless communication method as described in the first aspect are realized.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the wireless communication method as described in the first aspect are implemented. .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
  • an embodiment of the present invention further provides a computer program product, the computer program product is stored in a non-volatile storage medium, and the computer program product is configured to be executed by at least one processor to implement the The steps of the method in one aspect.
  • an embodiment of the present invention further provides an execution device configured to execute the method as described in the first aspect.
  • the electronic device when the electronic device requests the AP to send a single spatial stream signal and receives an ACK from the AP, it maintains the first working states of multiple first receiving links within the preset time period. If the electronic device receives a preset threshold of single spatial stream signals sent by the AP within a period of time, or receives all the signals continuously sent by the AP as single spatial stream signals, it judges that the AP has normally switched to sending single spatial stream signals at this time. At the same time, the electronic device also switches to the single receiving link, and closes the rest of the receiving links, so as to save power consumption while ensuring normal data reception.
  • FIG. 1 is a schematic flowchart of a wireless communication method provided in an embodiment of the present application
  • FIG. 2 is a schematic structural diagram of a wireless communication device provided by an embodiment of the present application.
  • FIG. 3 is one of the structural schematic diagrams of the electronic device provided by the embodiment of the present application.
  • FIG. 4 is a second schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the applicable scenario of the embodiment of the present application is a wireless fidelity (Wireless Fidelity, WIFI) communication scenario.
  • Personal computer Ultra-Mobile Personal Computer, UMPC
  • netbook or personal digital assistant Personal Digital Assistant, PDA
  • the embodiment of the present application does not limit the specific type of electronic equipment.
  • the radio can send multiple signals at the same time, and each signal is a space.
  • An embodiment of the present application provides a wireless communication method, the method includes the following steps:
  • the first request is used to request an access point (Access Point, AP) to send a single spatial stream signal.
  • an access point Access Point, AP
  • the above-mentioned multiple first receiving links are receiving links that have been opened before sending the first request, and the above-mentioned first working state is the working state of the multiple first receiving links before sending the first request;
  • the implementation of existing products is in accordance with the protocol. After receiving the wireless Ack confirmation, it will enter the real single input single output (Simple Input Simple Output, SISO) state; if it does not receive the Ack, it will not enter the SISO state. .
  • SISO Simple Input Simple Output
  • the current implementation is based on the protocol. For example, the peer AP still uses Multiple-In Multiple-Out (MIMO) spatial streams to send data. Since the electronic device has closed other receiving links, it cannot receive the data sent by the AP. MIMO streams, therefore causing interruption of communication errors.
  • MIMO Multiple-In Multiple-Out
  • the AP listens to the first request, it sends an ACK in response.
  • the electronic device receives the ACK from the AP, it keeps all the opened receiving links in the working state for a preset period of time. After receiving the ACK, it does not switch to the single receiving link immediately, but maintains the multi-receiving link for a period of time.
  • the above preset condition is to receive a preset threshold of single spatial stream signals sent by the AP within the preset time period, or to receive all signals continuously sent by the AP within the preset time period as single spatial stream signals.
  • the receiving chain includes receiving chains other than the receiving chain corresponding to the single spatial stream signal among the plurality of first receiving chains.
  • the electronic device only reserves the receiving link corresponding to the single spatial stream signal, and turns off the power supply of the hardware of the remaining receiving link (that is, the second receiving link) to ensure normal reception. data while saving power.
  • an embodiment of the present application provides a wireless communication method, the method is executed by an electronic device, and the method includes:
  • Step 101 Send a first request to the AP
  • the electronic device also referred to as the requesting end
  • sending the first request to the access point AP specifically includes:
  • the usage scenario of the electronic device may specifically refer to a current wireless power consumption scenario of the electronic device, for example, the current usage scenario is a high power consumption scenario or the current usage scenario is a low power consumption scenario.
  • the current power consumption scenario of the electronic device may be judged according to a preset power consumption policy.
  • the electronic device decides to send the first request to the AP.
  • the preset power consumption scenario is a low power consumption scenario. If the electronic device judges that the current usage scenario is a low power consumption scenario, that is, a scenario where the power saving function is applicable, the electronic device sends a first request to the AP, requesting the AP to send a single Spatial stream signals, which can avoid multiple receiving links working at the same time, resulting in unnecessary power consumption. It is understandable that if the electronic device judges that the current high power consumption scenario is not applicable, that is, the power saving function is not applicable, then the electronic device can execute the frame exchange in the normal communication process, that is, there is no need to request the AP to send a single spatial stream Signal.
  • the first request when the electronic device and the AP are in the first connection mode, the first request is the first frame; when the electronic device and the AP are in the second connection mode, the first request is the first frame Two frames, wherein the first connection mode is different from the second connection mode, and the first frame is different from the second frame.
  • the above-mentioned first connection mode may refer to the case where the connection between the electronic device and the AP is a high throughput (High Throughput, HT) connection, and correspondingly, the first request is a spatial multiplexing energy-saving action (Spatial Multiplexing Power Save Action, SMPS Action) frame, it should be noted that Action is a frame type of the wireless medium access layer;
  • HT High Throughput
  • SMPS Action Spatial Multiplexing Power Save Action
  • the above-mentioned second connection mode may refer to that when the connection between the electronic device and the AP is a Very High Throughput (VHT) connection, the first request is an Operating Mode Notification Action (OMN) Action) frame.
  • VHT Very High Throughput
  • OMS Operating Mode Notification Action
  • Step 102 In the case of receiving the ACK sent by the AP, maintain the first working state of multiple first receiving links within the preset duration;
  • the above-mentioned multiple first receiving links are receiving links that have been opened before sending the first request, and the above-mentioned first working state is the working state of the multiple first receiving links before sending the first request;
  • the existing products are all implemented in accordance with the protocol. After receiving the wireless Ack confirmation, they will enter the real SISO state; if they do not receive the Ack, they will not enter the SISO state.
  • the current implementation is based on the protocol. For example, if the peer AP still uses the MIMO spatial stream to send data, the electronic device has closed other receiving links and cannot receive the MIMO stream sent by the AP, which will lead to communication interruption errors.
  • the AP listens to the first request (such as SMPS Action frame or OMN Action frame), it sends an ACK in response, and after the electronic device receives the ACK from the AP, it keeps all opened receiving chains within a preset time period. working condition of the road.
  • the preset duration can be realized by setting the protection timer. After the corresponding electronic device receives the ACK from the AP, it starts the protection timer and keeps all the receiving links working within the duration of the protection timer. State, that is, when the electronic device receives the ACK sent by the AP, it does not immediately switch itself to the single receiving link, but maintains the multi-receiving link working state for a period of time.
  • setting the duration of the protection timer may be set to a specific preset duration, or may also be set to a preset number of short interframe space (Short interframe space, SIFS) time.
  • SIFS short interframe space
  • the preset duration can be directly set to X milliseconds (ms), that is, the duration of the protection timer is set to millisecond level; or the duration of the protection timer can be set to a preset number of SIFS times, that is, The duration of the protection timer is set to microsecond level.
  • Step 103 When the preset condition is met, control the second receiving link to stop working;
  • the above preset condition is to receive a preset threshold of single spatial stream signals sent by the AP within the preset time period, or to receive all signals continuously sent by the AP within the preset time period as single spatial stream signals.
  • the receiving chain includes receiving chains other than the receiving chain corresponding to the single spatial stream signal among the plurality of first receiving chains.
  • the preset threshold single spatial stream signals are received from the AP within the preset duration, that is, the number of single spatial stream signals continuously received by the electronic device from the AP reaches the preset number before the protection timer expires , it is judged that the AP has normally switched to sending single spatial stream signals at this time; if all the signals continuously received from the AP are single spatial stream signals within the preset time period, that is, the electronic device will continue to send signals from the AP until the protection timer expires. If all received signals are single spatial stream signals, it is judged that the AP has normally switched to sending single spatial stream signals at this time.
  • the electronic device After judging that the AP has normally switched to sending a single spatial stream signal, the electronic device only reserves the receiving link corresponding to the single spatial stream signal, and closes the other receiving links (that is, one or more second receiving links) hardware Power supply, save power consumption.
  • the correspondence between the receiving link and the spatial stream signal can be pre-stored in the electronic device, and one receiving link corresponds to one spatial stream signal, so that if the AP sends a single spatial stream signal, the electronic device can Correspondingly determine the receiving link that needs to be reserved.
  • the first working states of the multiple first receiving links are maintained.
  • the first working states of the multiple first receiving links are maintained.
  • the AP if it is found that the AP still sends messages of multiple spatial streams within the protection period, it means that the AP failed to normally switch to sending single spatial stream signals, then keep the original multi-receiving link state and continue to work.
  • Wireless electronic devices connect to WiFi
  • the current connection sends an SMPS Action frame for an HT connection, and the current connection sends an OMN Action frame for a VHT connection, requesting the AP to switch the receiving link to a single receiving link;
  • the electronic device monitors the SMPS/OMN Action frame Ack and receives the confirmation; if the confirmation is received, go to step 5, otherwise go to step 8;
  • the wireless communication method provided in the embodiment of the present application may be executed by a wireless communication device, or a control module in the wireless communication device for executing the wireless communication method.
  • the wireless communication device provided in the embodiment of the present application is described by taking the wireless communication device executing the wireless communication method as an example.
  • the embodiment of the present application provides a wireless communication device 200, the device includes:
  • a sending module 201 configured to send a first request to an AP, where the first request is used to request the AP to send a single spatial stream signal;
  • the maintaining module 202 is configured to, in the case of receiving the ACK sent by the AP, maintain the first working state of the plurality of first receiving links within a preset time period, and the plurality of first receiving links are sending For receiving links that have been turned on before the first request, the first working state is the working state of the plurality of first receiving links before sending the first request;
  • the control module 203 is configured to control the second receiving link to stop working when the preset condition is met, wherein the second receiving link is the first receiving link divided by the single space Other receiving links other than the receiving link corresponding to the streaming signal;
  • the preset condition is to receive a preset threshold single spatial stream signal sent by the AP within the preset duration, or to receive all the signals continuously sent by the AP within the preset duration. All signals are single spatial stream signals.
  • control module is also used to
  • control module is also used to
  • the first working state of the plurality of first receiving links is maintained.
  • the sending module includes:
  • a determining unit configured to determine a usage scenario of the electronic device
  • a sending unit configured to send a first request to the AP when the usage scenario matches a preset power consumption scenario.
  • the first request is a first frame
  • the first request is a second frame
  • the first connection mode is different from the second connection mode
  • the first frame is different from the second frame
  • the electronic device when the electronic device requests the AP to send a single spatial stream signal and receives an ACK from the AP, it maintains the first working states of multiple first receiving links within the preset time period. If the electronic device receives the preset number of signals continuously sent by the AP within a period of time, all of which are single-space stream signals, or receives all the signals continuously sent by the AP are single-space stream signals, it can be judged that the AP has normally switched to sending single-space stream signals at this time. At this time, the electronic device also switches to a single receiving link and closes the rest of the receiving links to save power while ensuring normal data reception.
  • the wireless communication device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the wireless communication device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the wireless communication device provided by the embodiment of the present application can implement the various processes realized by the method embodiment in FIG. 1 . In order to avoid repetition, details will not be repeated here.
  • the embodiment of the present application further provides an electronic device 300, including a memory 302, a processor 301, and programs or instructions stored in the memory 302 and operable on the processor 301,
  • an electronic device 300 including a memory 302, a processor 301, and programs or instructions stored in the memory 302 and operable on the processor 301,
  • the program or instruction is executed by the processor 301, each process of the above-mentioned wireless communication method embodiment can be realized, and the same technical effect can be achieved, so in order to avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include mobile electronic devices and non-mobile electronic devices.
  • FIG. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, and a processor 410, etc. part.
  • the electronic device 400 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 410 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 4 does not constitute a limitation to the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the radio frequency unit 401 is configured to send a first request to an access point AP, where the first request is used to request the AP to send a single spatial stream signal.
  • the processor 410 is configured to, in the case of receiving the acknowledgment response ACK sent by the AP, maintain the first working state of multiple first receiving links within a preset time length, and the multiple first receiving links are For receiving links that have been turned on before sending the first request, the first working state is the working state of the plurality of first receiving links before sending the first request;
  • the processor 410 is configured to control the second receiving chain to stop working when the preset condition is met, wherein the one or more second receiving chains include one or more of the multiple first receiving chains except and Other receiving links other than the receiving link corresponding to the single spatial stream signal;
  • the preset condition is to receive a preset threshold single spatial stream signal sent by the AP within the preset duration, or to receive all the signals continuously sent by the AP within the preset duration. All signals are single spatial stream signals.
  • the electronic device when the electronic device requests the AP to send a single spatial stream signal and receives an ACK from the AP, it maintains the first working states of multiple first receiving links within the preset time period. If the electronic device receives the preset number of signals continuously sent by the AP within a period of time, all of which are single-space stream signals, or receives all the signals continuously sent by the AP are single-space stream signals, it can be judged that the AP has normally switched to sending single-space stream signals at this time. At this time, the electronic device also switches to a single receiving link and closes the rest of the receiving links to save power while ensuring normal data reception.
  • the processor 410 is configured to maintain the plurality of first receiving chains in a case where a multi-spatial stream signal exists in a preset number of signals continuously sent by the AP within the preset time period. The first working state of the road.
  • the processor 410 is configured to, within the preset time length, maintain the first of the plurality of first receiving links in a case where a multi-spatial stream signal exists among all the signals continuously sent by the AP. 1. Working status.
  • the processor 410 is configured to:
  • a first request is sent to the AP.
  • the first request is a first frame
  • the first request is a second frame
  • the first connection mode is different from the second connection mode
  • the first frame is different from the second frame
  • the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042, and the graphics processor 4041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 407 includes a touch panel 4071 and other input devices 4072 .
  • the touch panel 4071 is also called a touch screen.
  • the touch panel 4071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 4072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 409 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • Processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the above-mentioned modem processor may not be integrated into the processor 410
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium may be nonvolatile or volatile, the readable storage medium stores programs or instructions, and the programs or instructions are stored in When executed by the processor, each process of the foregoing wireless communication method embodiment can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above wireless communication method embodiment
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run programs or instructions to implement the above wireless communication method embodiment
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • An embodiment of the present invention also provides a computer program product, the computer program product is stored in a non-volatile storage medium, and the computer program product is configured to be executed by at least one processor to implement the above wireless communication method embodiment
  • the computer program product is stored in a non-volatile storage medium, and the computer program product is configured to be executed by at least one processor to implement the above wireless communication method embodiment
  • the embodiment of the present invention also provides an execution device, the execution device is configured to execute each process of the wireless communication method embodiment above, and can achieve the same technical effect, and to avoid repetition, details are not repeated here.
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present application.
  • a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

Embodiments of the present application relates to the field of communications, and in particular, to a wireless communication method and apparatus, an electronic device, and a readable storage medium. The wireless communication method comprises: sending a first request to an AP, the first request being used for requesting the AP to send single-spatial-stream signals; upon receiving ACK sent by the AP, maintaining first working states of a plurality of first receiving links within a preset duration, the first receiving links being receiving links that having been opened before sending the first request, and the first working states are working states of the first receiving links before sending the first request; and in the case that a preset condition is met, controlling second receiving links to stop working, the second receiving links being receiving links among the plurality of first receiving links other than those corresponding to the single-spatial-stream signals, and the preset condition being that a preset threshold number of single-spatial-stream signals sent by the AP are received within the preset duration, or all received signals continuously sent by the AP are single-spatial-stream signals within the preset duration.

Description

无线通信方法、装置、电子设备及可读存储介质Wireless communication method, device, electronic device and readable storage medium
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年06月24日在中国提交的中国专利申请No.202110703427.8的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202110703427.8 filed in China on June 24, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请实施例涉及通信领域,具体涉及一种无线通信方法、装置、电子设备及可读存储介质。The embodiments of the present application relate to the communication field, and in particular to a wireless communication method, device, electronic equipment, and readable storage medium.
背景技术Background technique
随着智能电子设备和无线网络的广泛普及,智能电子设备对电力续航要求越来越高,同时也对智能电子设备的无线网络功能的功耗和省电提出更高的要求,希望既要能满足无线性能需求,也要达到功耗的最大程度降低,从而节省更多的功耗。With the widespread popularization of smart electronic devices and wireless networks, smart electronic devices have higher and higher requirements for battery life, and also put forward higher requirements for power consumption and power saving of wireless network functions of smart electronic devices. To meet wireless performance requirements, power consumption must also be minimized, thereby saving more power consumption.
目前提出一种空间复用(Spatial Multiplexing,SM)省电功能,SM省电功能允许无线工作站在相当长的一段时间内只有一个工作的接收链路。即在满足场景性能需求的情况下,可以通过协议与对端协商进行接收链路的切换,在对端响应以后,发出请求的无线工作站随即切换成一个接收链路接收后续的无线帧,硬件关闭相应的链路,从而节省功耗。At present, a spatial multiplexing (Spatial Multiplexing, SM) power-saving function is proposed. The SM power-saving function allows a wireless workstation to have only one working receiving link for a long period of time. That is, in the case of meeting the performance requirements of the scene, the receiving link can be switched through negotiation with the peer end through the protocol. After the peer end responds, the wireless workstation that sent the request immediately switches to a receiving link to receive subsequent wireless frames, and the hardware is turned off. corresponding link, thus saving power consumption.
然而在实际应用过程中,部分厂商实现该功能存在差异或缺陷,导致存在相关兼容性问题。请求端在发送请求进入一个接收链路后,接入点(Access Point,AP)端正常响应确认应答(Acknowledge,ACK),请求端进入一个接收链路,并关闭其余的接收链路,但此时可能出现AP不能识别或理解该请求,导致请求端设备已进入一个接收链路工作,而AP端仍以两个空间流发送数据,导致请求端设备无法正常解码接收两个空间流数据,同时发送端不能按照协议协商给对端发送单空间流数据,从而也导致其本身收不到对应的无线响应,从而会根据速率选择算法不断降低物理层速率,直到降低到一个空间流发送,才能让对端正确识别。即由于AP厂商实现省电功能 存在一致性的差异,导致切换接收链路后,无法正常接收数据,从而不仅不能节省功耗,反而导致通信异常。However, in the actual application process, some manufacturers have differences or defects in implementing this function, resulting in related compatibility issues. After the requester sends a request to enter a receiving link, the access point (Access Point, AP) responds normally with an acknowledgment (Acknowledge, ACK), and the requester enters a receiving link and closes the rest of the receiving links. Sometimes the AP may not recognize or understand the request, causing the requesting device to work on a receiving link, but the AP still sends data with two spatial streams, resulting in the requesting device being unable to decode and receive data from the two spatial streams normally. The sending end cannot send single spatial stream data to the peer end according to the protocol negotiation, which also causes itself to fail to receive the corresponding wireless response, so it will continuously reduce the physical layer rate according to the rate selection algorithm until it is reduced to one spatial stream to send. The peer is correctly identified. That is to say, due to the difference in the consistency of the power saving function implemented by the AP manufacturer, the data cannot be received normally after the receiving link is switched, which not only fails to save power consumption, but also leads to abnormal communication.
发明内容Contents of the invention
本申请实施例的目的是提供一种无线通信方法、装置、电子设备及可读存储介质,能够解决AP厂商实现省电功能存在一致性的差异,导致切换接收链路后,无法正常接收数据,不仅不能节省功耗,反而导致通信异常的问题。The purpose of the embodiment of the present application is to provide a wireless communication method, device, electronic equipment, and readable storage medium, which can solve the difference in the consistency of the power saving function implemented by AP manufacturers, resulting in the inability to receive data normally after switching the receiving link. Not only can it not save power consumption, but it will cause abnormal communication problems.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above-mentioned technical problems, the application is implemented as follows:
第一方面,本申请实施例提供一种无线通信方法,所述方法由电子设备执行,所述方法包括:In a first aspect, an embodiment of the present application provides a wireless communication method, the method is executed by an electronic device, and the method includes:
向接入点AP发送第一请求,所述第一请求用于请求所述AP发送单空间流信号;sending a first request to an access point AP, where the first request is used to request the AP to send a single spatial stream signal;
在接收到所述AP发送的确认应答ACK的情况下,在预设时长内保持多个第一接收链路的第一工作状态,所述多个第一接收链路为在发送所述第一请求之前已开启的接收链路,所述第一工作状态为在发送所述第一请求之前所述多个第一接收链路的工作状态;When the acknowledgment ACK sent by the AP is received, the first working state of the multiple first receiving links is maintained within a preset time period, and the multiple first receiving links are sending the first receiving links that have been turned on before the request, and the first working state is the working state of the plurality of first receiving links before sending the first request;
在满足预设条件的情况下,控制第二接收链路停止工作,其中,所述第二接收链路为所述多个第一接收链路中除与所述单空间流信号对应的接收链路之外的其他接收链路;When the preset condition is met, control the second receiving chain to stop working, wherein the second receiving chain is the receiving chain corresponding to the single spatial stream signal among the plurality of first receiving chains Other receiving links other than the road;
其中,所述预设条件为在所述预设时长内,接收到所述AP发送的预设阈值个单空间流信号,或者在所述预设时长内,接收到所述AP连续发送的所有信号均为单空间流信号。Wherein, the preset condition is to receive a preset threshold single spatial stream signal sent by the AP within the preset duration, or to receive all the signals continuously sent by the AP within the preset duration. All signals are single spatial stream signals.
第二方面,本申请实施例提供一种无线通信装置,所述方法由电子设备执行,所述方法包括:In a second aspect, an embodiment of the present application provides a wireless communication device, the method is executed by an electronic device, and the method includes:
发送模块,用于向AP发送第一请求,所述第一请求用于请求所述AP发送单空间流信号;A sending module, configured to send a first request to the AP, where the first request is used to request the AP to send a single spatial stream signal;
保持模块,用于在接收到所述AP发送的ACK的情况下,在预设时长内保持多个第一接收链路的第一工作状态,所述多个第一接收链路为在发送所 述第一请求之前已开启的接收链路,所述第一工作状态为在发送所述第一请求之前所述多个第一接收链路的工作状态;A maintaining module, configured to maintain the first working states of multiple first receiving links within a preset time period when the ACK sent by the AP is received, and the multiple first receiving links are The receiving links that have been opened before the first request, the first working state is the working state of the plurality of first receiving links before sending the first request;
控制模块,用于在满足预设条件的情况下,控制第二接收链路停止工作,其中,所述第二接收链路为所述多个第一接收链路中除与所述单空间流信号对应的接收链路之外的其他接收链路;A control module, configured to control the second receiving link to stop working when the preset condition is met, wherein the second receiving link is the single spatial stream divided by the plurality of first receiving links Other receiving links other than the receiving link corresponding to the signal;
其中,所述预设条件为在所述预设时长内,接收到所述AP发送的预设阈值个单空间流信号,或者在所述预设时长内,接收到所述AP连续发送的所有信号均为单空间流信号。Wherein, the preset condition is to receive a preset threshold single spatial stream signal sent by the AP within the preset duration, or to receive all the signals continuously sent by the AP within the preset duration. All signals are single spatial stream signals.
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述无线通信方法的步骤。In the third aspect, the embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is executed by the processor During execution, the steps of the wireless communication method as described in the first aspect are realized.
第四方面,本申请实施例提供一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述无线通信方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the wireless communication method as described in the first aspect are implemented. .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
第六方面,本发明实施例还提供一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,所述计算机程序产品被配置成被至少一个处理器执行以实现如第一方面所述的方法的步骤。In a sixth aspect, an embodiment of the present invention further provides a computer program product, the computer program product is stored in a non-volatile storage medium, and the computer program product is configured to be executed by at least one processor to implement the The steps of the method in one aspect.
第七方面,本发明实施例还提供一种执行装置,所述执行装置被配置成用于执行如第一方面所述的方法。In a seventh aspect, an embodiment of the present invention further provides an execution device configured to execute the method as described in the first aspect.
本申请实施例中,在电子设备请求AP发送单空间流信号,并从AP接收到ACK的情况下,在预设时长内保持多个第一接收链路的第一工作状态,如果在预设时长内电子设备接收到AP发送的预设阈值个单空间流信号,或者接收到AP连续发送的所有信号均为单空间流信号,则判断此时AP已正常切换至发送单空间流信号,此时电子设备也切换至单接收链路工作,并关闭其余接收链路,在保证正常接收数据的同时节省功耗。In the embodiment of the present application, when the electronic device requests the AP to send a single spatial stream signal and receives an ACK from the AP, it maintains the first working states of multiple first receiving links within the preset time period. If the electronic device receives a preset threshold of single spatial stream signals sent by the AP within a period of time, or receives all the signals continuously sent by the AP as single spatial stream signals, it judges that the AP has normally switched to sending single spatial stream signals at this time. At the same time, the electronic device also switches to the single receiving link, and closes the rest of the receiving links, so as to save power consumption while ensuring normal data reception.
附图说明Description of drawings
图1为本申请实施例提供的无线通信方法的流程示意图;FIG. 1 is a schematic flowchart of a wireless communication method provided in an embodiment of the present application;
图2为本申请实施例提供的无线通信装置的结构示意图;FIG. 2 is a schematic structural diagram of a wireless communication device provided by an embodiment of the present application;
图3为本申请实施例提供的电子设备的结构示意图之一;FIG. 3 is one of the structural schematic diagrams of the electronic device provided by the embodiment of the present application;
图4为本申请实施例提供的电子设备的结构示意图之二。FIG. 4 is a second schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的无线通信方法进行详细地说明。The wireless communication method provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
需要说明的是,本申请实施例所适用的场景为无线保真(Wireless Fidelity,WIFI)通信场景,其中方法的执行主体为电子设备,该电子设备可以是手机、平板电脑、笔记本电脑、超级移动个人计算机(Ultra-Mobile Personal Computer,UMPC)、上网本或者个人数字助理(Personal Digital Assistant,PDA)等,本申请实施例对电子设备的具体种类不做限定。It should be noted that the applicable scenario of the embodiment of the present application is a wireless fidelity (Wireless Fidelity, WIFI) communication scenario. Personal computer (Ultra-Mobile Personal Computer, UMPC), netbook or personal digital assistant (Personal Digital Assistant, PDA), etc., the embodiment of the present application does not limit the specific type of electronic equipment.
本申请实施例中出现的名词空间流的含义是:无线电在同一时间可以发送多个信号,每一个信号都是一个空间。The meaning of the noun space flow in the embodiment of the present application is: the radio can send multiple signals at the same time, and each signal is a space.
本申请实施例提供一种无线通信方法,该方法包括如下步骤:An embodiment of the present application provides a wireless communication method, the method includes the following steps:
(1)向AP发送第一请求;(1) sending a first request to the AP;
在本申请实施例中,第一请求用于请求接入点(Access Point,AP)发送单空间流信号。In this embodiment of the present application, the first request is used to request an access point (Access Point, AP) to send a single spatial stream signal.
(2)在接收到AP发送的ACK的情况下,在预设时长内保持多个第一接收链路的第一工作状态;(2) In the case of receiving the ACK sent by the AP, maintaining the first working states of the plurality of first receiving links within a preset duration;
上述多个第一接收链路为在发送第一请求之前已开启的接收链路,上述第一工作状态为在发送第一请求之前该多个第一接收链路的工作状态;The above-mentioned multiple first receiving links are receiving links that have been opened before sending the first request, and the above-mentioned first working state is the working state of the multiple first receiving links before sending the first request;
需要说明的是,现有产品实现都是按照协议规定,在收到无线Ack确认后,即进入真实单输入单输出(Simple Input Simple Output,SISO)状态;没有收到Ack则不会进入SISO状态。当前实现由于都是按照协议,如对端AP仍使用多输入多输出(Multiple-In Multiple-Out,MIMO)空间流发送数据,由于电子设备已经关闭其他的接收链路而无法接收到AP发送的MIMO流,因此会导致通信的中断出错。It should be noted that the implementation of existing products is in accordance with the protocol. After receiving the wireless Ack confirmation, it will enter the real single input single output (Simple Input Simple Output, SISO) state; if it does not receive the Ack, it will not enter the SISO state. . The current implementation is based on the protocol. For example, the peer AP still uses Multiple-In Multiple-Out (MIMO) spatial streams to send data. Since the electronic device has closed other receiving links, it cannot receive the data sent by the AP. MIMO streams, therefore causing interruption of communication errors.
在本申请实施例中,AP监听到第一请求之后,响应发送ACK,电子设备从AP接收到ACK之后,在预设时长内保持所有已开启的接收链路的工作状态,也就是电子设备在接收到ACK之后,并不是立即切换至单接收链路工作,而是先维持一段时间的多接收链路工作。In the embodiment of this application, after the AP listens to the first request, it sends an ACK in response. After the electronic device receives the ACK from the AP, it keeps all the opened receiving links in the working state for a preset period of time. After receiving the ACK, it does not switch to the single receiving link immediately, but maintains the multi-receiving link for a period of time.
(3)在满足预设条件的情况下,控制第二接收链路停止工作。(3) When the preset condition is met, control the second receiving link to stop working.
上述预设条件为在预设时长内,接收到AP发送的预设阈值个单空间流信号,或者在预设时长内,接收到AP连续发送的所有信号均为单空间流信号,上述第二接收链路包括多个第一接收链路中除与单空间流信号对应的接收链路之外的其他接收链路。The above preset condition is to receive a preset threshold of single spatial stream signals sent by the AP within the preset time period, or to receive all signals continuously sent by the AP within the preset time period as single spatial stream signals. The receiving chain includes receiving chains other than the receiving chain corresponding to the single spatial stream signal among the plurality of first receiving chains.
本申请实施例中,如果在预设时长内,从AP接收的预设阈值个单空间流信号,或者在预设时长内,从AP连续接收的所有信号均为单空间流信号,则判断此时AP已正常切换至发送单空间流信号,电子设备只保留与该单空间流信号对应的接收链路,并关闭其余接收链路(即第二接收链路)硬件的供电,在保证正常接收数据的同时节省功耗。In the embodiment of the present application, if within the preset time period, the preset threshold single spatial stream signals received from the AP, or within the preset time period, all the signals continuously received from the AP are single spatial stream signals, then it is judged that this When the AP has normally switched to sending a single spatial stream signal, the electronic device only reserves the receiving link corresponding to the single spatial stream signal, and turns off the power supply of the hardware of the remaining receiving link (that is, the second receiving link) to ensure normal reception. data while saving power.
参见图1,本申请实施例提供一种无线通信方法,方法由电子设备执行,方法包括:Referring to FIG. 1, an embodiment of the present application provides a wireless communication method, the method is executed by an electronic device, and the method includes:
步骤101:向AP发送第一请求;Step 101: Send a first request to the AP;
在本申请实施例中,电子设备(也可以称之为请求端)为了节省电功耗,向AP发送第一请求,以请求AP发送单空间流信号;In the embodiment of the present application, in order to save power consumption, the electronic device (also referred to as the requesting end) sends a first request to the AP to request the AP to send a single spatial stream signal;
在一种可能的实施方式中,向接入点AP发送第一请求具体包括:In a possible implementation manner, sending the first request to the access point AP specifically includes:
(1)确定电子设备的使用场景;(1) Determine the usage scenarios of electronic equipment;
在本申请实施例中,电子设备的使用场景具体可以指的是电子设备当前使用无线的功耗场景,例如当前使用场景为高功耗场景或者当前使用场景为低功耗场景。具体的可以根据预设的功耗策略来判断电子设备当前的功耗场景。In this embodiment of the present application, the usage scenario of the electronic device may specifically refer to a current wireless power consumption scenario of the electronic device, for example, the current usage scenario is a high power consumption scenario or the current usage scenario is a low power consumption scenario. Specifically, the current power consumption scenario of the electronic device may be judged according to a preset power consumption policy.
(2)在使用场景与预设功耗场景相匹配的情况下,向AP发送第一请求;(2) When the usage scenario matches the preset power consumption scenario, send a first request to the AP;
在本申请实施例中,如果确定出的使用场景与预设功耗场景相匹配,则电子设备决定要向AP发送第一请求。In the embodiment of the present application, if the determined usage scenario matches the preset power consumption scenario, the electronic device decides to send the first request to the AP.
具体地,预设功耗场景为低功耗场景,如果电子设备判断当前使用场景为低功耗场景,即适用省电功能的场景时,电子设备则向AP发送第一请求,请求AP发送单空间流信号,这样可以避免多个接收链路同时工作,产生不必要的功耗。可以理解的是,如果电子设备判断当前为高功耗场景,即并不适用省电功能时,那么电子设备就按照正常通信流程中的帧交换执行即可,即不用去请求AP发送单空间流信号。Specifically, the preset power consumption scenario is a low power consumption scenario. If the electronic device judges that the current usage scenario is a low power consumption scenario, that is, a scenario where the power saving function is applicable, the electronic device sends a first request to the AP, requesting the AP to send a single Spatial stream signals, which can avoid multiple receiving links working at the same time, resulting in unnecessary power consumption. It is understandable that if the electronic device judges that the current high power consumption scenario is not applicable, that is, the power saving function is not applicable, then the electronic device can execute the frame exchange in the normal communication process, that is, there is no need to request the AP to send a single spatial stream Signal.
在一种可能的实施方式中,在电子设备与AP处于第一连接模式的情况下,第一请求为第一帧;在电子设备与AP处于第二连接模式的情况下,第一请求为第二帧,其中,第一连接模式与第二连接模式不同,第一帧与第二帧不同。In a possible implementation manner, when the electronic device and the AP are in the first connection mode, the first request is the first frame; when the electronic device and the AP are in the second connection mode, the first request is the first frame Two frames, wherein the first connection mode is different from the second connection mode, and the first frame is different from the second frame.
具体地,上述第一连接模式可以指的是电子设备与AP之间的连接为高吞吐量(High Throughput,HT)连接的情况下,相应的,第一请求为空间复用节能动作(Spatial Multiplexing Power Save Action,SMPS Action)帧,需要说明的是,Action是无线媒介接入层的一种帧类型;Specifically, the above-mentioned first connection mode may refer to the case where the connection between the electronic device and the AP is a high throughput (High Throughput, HT) connection, and correspondingly, the first request is a spatial multiplexing energy-saving action (Spatial Multiplexing Power Save Action, SMPS Action) frame, it should be noted that Action is a frame type of the wireless medium access layer;
上述第二连接模式可以指的是在电子设备与AP之间的连接为非常高吞吐量(Very High Throughput,VHT)连接的情况下,第一请求为操作模式通知动作(Operating Mode Notification Action,OMN Action)帧。The above-mentioned second connection mode may refer to that when the connection between the electronic device and the AP is a Very High Throughput (VHT) connection, the first request is an Operating Mode Notification Action (OMN) Action) frame.
步骤102:在接收到AP发送的ACK的情况下,在预设时长内保持多个 第一接收链路的第一工作状态;Step 102: In the case of receiving the ACK sent by the AP, maintain the first working state of multiple first receiving links within the preset duration;
上述多个第一接收链路为在发送第一请求之前已开启的接收链路,上述第一工作状态为在发送第一请求之前该多个第一接收链路的工作状态;The above-mentioned multiple first receiving links are receiving links that have been opened before sending the first request, and the above-mentioned first working state is the working state of the multiple first receiving links before sending the first request;
需要说明的是,现有产品实现都是按照协议规定,在收到无线Ack确认后,即进入真实SISO状态;没有收到Ack则不会进入SISO状态。当前实现由于都是按照协议,如对端AP仍使用MIMO空间流发送数据,由于电子设备已经关闭其他的接收链路而无法接收到AP发送的MIMO流,因此会导致通信的中断出错。It should be noted that the existing products are all implemented in accordance with the protocol. After receiving the wireless Ack confirmation, they will enter the real SISO state; if they do not receive the Ack, they will not enter the SISO state. The current implementation is based on the protocol. For example, if the peer AP still uses the MIMO spatial stream to send data, the electronic device has closed other receiving links and cannot receive the MIMO stream sent by the AP, which will lead to communication interruption errors.
在本申请实施例中,AP监听到第一请求(例如SMPS Action帧或者OMN Action帧)之后,响应发送ACK,电子设备从AP接收到ACK之后,在预设时长内保持所有已开启的接收链路的工作状态。在具体实施过程中,预设时长可以通过设置保护定时器的方式实现,相应的电子设备从AP接收到ACK之后,启动保护定时器,并在保护定时器的时长内保持所有接收链路的工作状态,即电子设备在收到AP发送的ACK时,并不立即切换自身为单接收链路,而是先保持一段时间的多接收链路工作状态。In the embodiment of this application, after the AP listens to the first request (such as SMPS Action frame or OMN Action frame), it sends an ACK in response, and after the electronic device receives the ACK from the AP, it keeps all opened receiving chains within a preset time period. working condition of the road. In the specific implementation process, the preset duration can be realized by setting the protection timer. After the corresponding electronic device receives the ACK from the AP, it starts the protection timer and keeps all the receiving links working within the duration of the protection timer. State, that is, when the electronic device receives the ACK sent by the AP, it does not immediately switch itself to the single receiving link, but maintains the multi-receiving link working state for a period of time.
在一种可能的实施方式中,设置保护定时器的时长可以是设置为具体的预设时长,或者也可以是设置为预设数量的短帧间间隔(Short interframe space,SIFS)时间。In a possible implementation manner, setting the duration of the protection timer may be set to a specific preset duration, or may also be set to a preset number of short interframe space (Short interframe space, SIFS) time.
在本申请实施例中,可以直接设置预设时长为X毫秒(ms),即将保护定时器的时长设置为毫秒级;或者也可以将保护定时器的时长设置为预设数量的SIFS时间,即将保护定时器的时长设置为微秒级。In the embodiment of the present application, the preset duration can be directly set to X milliseconds (ms), that is, the duration of the protection timer is set to millisecond level; or the duration of the protection timer can be set to a preset number of SIFS times, that is, The duration of the protection timer is set to microsecond level.
步骤103:在满足预设条件的情况下,控制第二接收链路停止工作;Step 103: When the preset condition is met, control the second receiving link to stop working;
上述预设条件为在预设时长内,接收到AP发送的预设阈值个单空间流信号,或者在预设时长内,接收到AP连续发送的所有信号均为单空间流信号,上述第二接收链路包括多个第一接收链路中除与单空间流信号对应的接收链路之外的其他接收链路。The above preset condition is to receive a preset threshold of single spatial stream signals sent by the AP within the preset time period, or to receive all signals continuously sent by the AP within the preset time period as single spatial stream signals. The receiving chain includes receiving chains other than the receiving chain corresponding to the single spatial stream signal among the plurality of first receiving chains.
在本申请实施例中,如果在预设时长内,从AP接收的预设阈值个单空间流信号,即在保护定时器超时前电子设备从AP连续接收单空间流信号的数量达到预设数量,则判断此时AP已正常切换至发送单空间流信号;如在 预设时长内,从AP连续接收的所有信号均为单空间流信号,即在保护定时器超时为止,电子设备从AP连续接收的所有信号都是单空间流信号,则判断此时AP已正常切换至发送单空间流信号。In the embodiment of the present application, if the preset threshold single spatial stream signals are received from the AP within the preset duration, that is, the number of single spatial stream signals continuously received by the electronic device from the AP reaches the preset number before the protection timer expires , it is judged that the AP has normally switched to sending single spatial stream signals at this time; if all the signals continuously received from the AP are single spatial stream signals within the preset time period, that is, the electronic device will continue to send signals from the AP until the protection timer expires. If all received signals are single spatial stream signals, it is judged that the AP has normally switched to sending single spatial stream signals at this time.
在判断AP已正常切换至发送单空间流信号之后,电子设备只保留与该单空间流信号对应的接收链路,并关闭其余接收链路(即一个或多个第二接收链路)硬件的供电,节省功耗。After judging that the AP has normally switched to sending a single spatial stream signal, the electronic device only reserves the receiving link corresponding to the single spatial stream signal, and closes the other receiving links (that is, one or more second receiving links) hardware Power supply, save power consumption.
需要说明的是,电子设备中可以预先存储接收链路与空间流信号之间的对应关系,且一个接收链路对应一个空间流信号,这样如果AP端发送的是单空间流信号,电子设备能够对应确定出需要保留的接收链路。It should be noted that the correspondence between the receiving link and the spatial stream signal can be pre-stored in the electronic device, and one receiving link corresponds to one spatial stream signal, so that if the AP sends a single spatial stream signal, the electronic device can Correspondingly determine the receiving link that needs to be reserved.
在一种可能的实施方式中,在预设时长内,接收到AP发送单空间流信号的数量少于预设阈值的情况下,保持多个第一接收链路的第一工作状态。In a possible implementation manner, in a case where the number of received single spatial stream signals sent by the AP is less than a preset threshold within a preset time period, the first working states of the multiple first receiving links are maintained.
在本申请实施例中,如果在保护期内,发现AP并不能够完成发送预设阈值个单空间流信号,说明AP未能正常切换至发送单空间流信号,则保持原有的多接收链路状态继续工作。In the embodiment of this application, if within the protection period, it is found that the AP cannot complete the transmission of the preset threshold single spatial stream signal, indicating that the AP failed to normally switch to the single spatial stream signal transmission, then maintain the original multi-receiving chain Road status continues to work.
在一种可能的实施方式中,在预设时长内,接收到AP连续发送的所有信号中存在多空间流信号的情况下,保持多个第一接收链路的第一工作状态。In a possible implementation manner, in a case where multiple spatial stream signals are received in all signals continuously sent by the AP within a preset time period, the first working states of the multiple first receiving links are maintained.
在本申请实施例中,如果在保护期内,发现AP仍发送多空间流的报文,说明AP未能正常切换至发送单空间流信号,则保持原有的多接收链路状态继续工作。In the embodiment of this application, if it is found that the AP still sends messages of multiple spatial streams within the protection period, it means that the AP failed to normally switch to sending single spatial stream signals, then keep the original multi-receiving link state and continue to work.
下面结合具体实施例对本申请的方案进行描述,具体流程如下:The scheme of the present application is described below in conjunction with specific embodiments, and the specific process is as follows:
1、无线电子设备连接WiFi;1. Wireless electronic devices connect to WiFi;
2、根据电子设备使用无线场景及省功耗策略,判断是否为省功耗场景;是则进入步骤3;否则进入9;2. According to the wireless scene used by the electronic device and the power saving strategy, judge whether it is a power saving scene; if yes, go to step 3; otherwise, go to step 9;
3、当前连接为HT连接发送SMPS Action帧,当前连接为VHT连接发送OMN Action帧,请求AP将接收链路切换至单接收链路;3. The current connection sends an SMPS Action frame for an HT connection, and the current connection sends an OMN Action frame for a VHT connection, requesting the AP to switch the receiving link to a single receiving link;
4、电子设备监听SMPS/OMN Action帧Ack收到确认;收到确认则进入步骤5,否则进入步骤8;4. The electronic device monitors the SMPS/OMN Action frame Ack and receives the confirmation; if the confirmation is received, go to step 5, otherwise go to step 8;
5、设置保护定时器为X ms或者N个SIFS时间,在保护定时器内所有接收链路保持原有工作状态;5. Set the protection timer to X ms or N SIFS times, and all receiving links within the protection timer maintain the original working state;
6、在保护定时器时间内,连续接收的包都为单空间流,且数目达到Y或定时器超时达到超时,进入步骤7;否则进入步骤8;6. Within the protection timer time, if the continuously received packets are all single-space streams, and the number reaches Y or the timer expires, go to step 7; otherwise, go to step 8;
7、确定对端AP发送包切换空间流成功,说明切换接收链路成功,关闭多余接收链路硬件供电,取消定时器;7. Confirm that the peer AP sends a packet to switch the spatial flow successfully, indicating that the receiving link is switched successfully, turn off the hardware power supply of the redundant receiving link, and cancel the timer;
8、切换接收链路不成功,保持原有所有接收链路继续工作;8. Switching the receiving link is unsuccessful, keep all the original receiving links to continue to work;
9、按照设置常规帧交换。9. Follow the normal frame exchange settings.
需要说明的是,本申请实施例提供的无线通信方法,执行主体可以为无线通信装置,或者该无线通信装置中的用于执行无线通信方法的控制模块。本申请实施例中以无线通信装置执行无线通信方法为例,说明本申请实施例提供的无线通信装置。It should be noted that, the wireless communication method provided in the embodiment of the present application may be executed by a wireless communication device, or a control module in the wireless communication device for executing the wireless communication method. In the embodiment of the present application, the wireless communication device provided in the embodiment of the present application is described by taking the wireless communication device executing the wireless communication method as an example.
参见图2,本申请实施例提供一种无线通信装置200,所述装置包括:Referring to FIG. 2, the embodiment of the present application provides a wireless communication device 200, the device includes:
发送模块201,用于向AP发送第一请求,所述第一请求用于请求所述AP发送单空间流信号;A sending module 201, configured to send a first request to an AP, where the first request is used to request the AP to send a single spatial stream signal;
保持模块202,用于在接收到所述AP发送的ACK的情况下,在预设时长内保持多个第一接收链路的第一工作状态,所述多个第一接收链路为在发送所述第一请求之前已开启的接收链路,所述第一工作状态为在发送所述第一请求之前所述多个第一接收链路的工作状态;The maintaining module 202 is configured to, in the case of receiving the ACK sent by the AP, maintain the first working state of the plurality of first receiving links within a preset time period, and the plurality of first receiving links are sending For receiving links that have been turned on before the first request, the first working state is the working state of the plurality of first receiving links before sending the first request;
控制模块203,用于在满足预设条件的情况下,控制第二接收链路停止工作,其中,所述第二接收链路为所述多个第一接收链路中除与所述单空间流信号对应的接收链路之外的其他接收链路;The control module 203 is configured to control the second receiving link to stop working when the preset condition is met, wherein the second receiving link is the first receiving link divided by the single space Other receiving links other than the receiving link corresponding to the streaming signal;
其中,所述预设条件为在所述预设时长内,接收到所述AP发送的预设阈值个单空间流信号,或者在所述预设时长内,接收到所述AP连续发送的所有信号均为单空间流信号。Wherein, the preset condition is to receive a preset threshold single spatial stream signal sent by the AP within the preset duration, or to receive all the signals continuously sent by the AP within the preset duration. All signals are single spatial stream signals.
在一种可能的实施方式中,所述控制模块,还用于In a possible implementation manner, the control module is also used to
在所述预设时长内,接收到所述AP发送单空间流信号的数量少于所述预设阈值的情况下,保持所述多个第一接收链路的第一工作状态。In the preset time period, when the number of single spatial stream signals received from the AP is less than the preset threshold, maintain the first working state of the plurality of first receiving links.
在一种可能的实施方式中,所述控制模块,还用于In a possible implementation manner, the control module is also used to
在所述预设时长内,接收到所述AP连续发送的所有信号中存在多空间流信号的情况下,保持所述多个第一接收链路的第一工作状态。Within the preset time period, in a case where a multi-spatial stream signal is received in all the signals continuously sent by the AP, the first working state of the plurality of first receiving links is maintained.
在一种可能的实施方式中,所述发送模块包括:In a possible implementation manner, the sending module includes:
确定单元,用于确定所述电子设备的使用场景;a determining unit, configured to determine a usage scenario of the electronic device;
发送单元,用于在所述使用场景与预设功耗场景相匹配的情况下,向AP发送第一请求。A sending unit, configured to send a first request to the AP when the usage scenario matches a preset power consumption scenario.
在一种可能的实施方式中,在电子设备与所述AP处于第一连接模式的情况下,所述第一请求为第一帧;In a possible implementation manner, when the electronic device and the AP are in a first connection mode, the first request is a first frame;
在电子设备与所述AP处于第二连接模式的情况下,所述第一请求为第二帧;When the electronic device and the AP are in a second connection mode, the first request is a second frame;
其中,所述第一连接模式与所述第二连接模式不同,所述第一帧与所述第二帧不同。Wherein, the first connection mode is different from the second connection mode, and the first frame is different from the second frame.
本申请实施例中,在电子设备请求AP发送单空间流信号,并从AP接收到ACK的情况下,在预设时长内保持多个第一接收链路的第一工作状态,如果在预设时长内电子设备接收到AP连续发送的预设数量个信号均为单空间流信号,或者接收到AP连续发送的所有信号均为单空间流信号,则判断此时AP已正常切换至发送单空间流信号,此时电子设备也切换至单接收链路工作,并关闭其余接收链路,在保证正常接收数据的同时节省功耗。In the embodiment of the present application, when the electronic device requests the AP to send a single spatial stream signal and receives an ACK from the AP, it maintains the first working states of multiple first receiving links within the preset time period. If the electronic device receives the preset number of signals continuously sent by the AP within a period of time, all of which are single-space stream signals, or receives all the signals continuously sent by the AP are single-space stream signals, it can be judged that the AP has normally switched to sending single-space stream signals at this time. At this time, the electronic device also switches to a single receiving link and closes the rest of the receiving links to save power while ensuring normal data reception.
本申请实施例中的无线通信装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The wireless communication device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的无线通信装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The wireless communication device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的无线通信装置能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述The wireless communication device provided by the embodiment of the present application can implement the various processes realized by the method embodiment in FIG. 1 . In order to avoid repetition, details will not be repeated here.
可选地,如图3所示,本申请实施例还提供一种电子设备300,包括存储器302,处理器301,存储在存储器302上并可在所述处理器301上运行的程序或指令,该程序或指令被处理器301执行时实现上述无线通信方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 3 , the embodiment of the present application further provides an electronic device 300, including a memory 302, a processor 301, and programs or instructions stored in the memory 302 and operable on the processor 301, When the program or instruction is executed by the processor 301, each process of the above-mentioned wireless communication method embodiment can be realized, and the same technical effect can be achieved, so in order to avoid repetition, details are not repeated here.
需要注意的是,本申请实施例中的电子设备包括移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include mobile electronic devices and non-mobile electronic devices.
图4为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、以及处理器410等部件。The electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, and a processor 410, etc. part.
本领域技术人员可以理解,电子设备400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图4中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 400 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 410 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 4 does not constitute a limitation to the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
其中,射频单元401,用于向接入点AP发送第一请求,所述第一请求用于请求所述AP发送单空间流信号。Wherein, the radio frequency unit 401 is configured to send a first request to an access point AP, where the first request is used to request the AP to send a single spatial stream signal.
处理器410,用于在接收到所述AP发送的确认应答ACK的情况下,在预设时长内保持多个第一接收链路的第一工作状态,所述多个第一接收链路为在发送所述第一请求之前已开启的接收链路,所述第一工作状态为在发送所述第一请求之前所述多个第一接收链路的工作状态;The processor 410 is configured to, in the case of receiving the acknowledgment response ACK sent by the AP, maintain the first working state of multiple first receiving links within a preset time length, and the multiple first receiving links are For receiving links that have been turned on before sending the first request, the first working state is the working state of the plurality of first receiving links before sending the first request;
处理器410,用于在满足预设条件的情况下,控制第二接收链路停止工作,其中,所述一个或多个第二接收链路包括所述多个第一接收链路中除与所述单空间流信号对应的接收链路之外的其他接收链路;The processor 410 is configured to control the second receiving chain to stop working when the preset condition is met, wherein the one or more second receiving chains include one or more of the multiple first receiving chains except and Other receiving links other than the receiving link corresponding to the single spatial stream signal;
其中,所述预设条件为在所述预设时长内,接收到所述AP发送的预设阈值个单空间流信号,或者在所述预设时长内,接收到所述AP连续发送的所有信号均为单空间流信号。Wherein, the preset condition is to receive a preset threshold single spatial stream signal sent by the AP within the preset duration, or to receive all the signals continuously sent by the AP within the preset duration. All signals are single spatial stream signals.
本申请实施例中,在电子设备请求AP发送单空间流信号,并从AP接收到ACK的情况下,在预设时长内保持多个第一接收链路的第一工作状态,如 果在预设时长内电子设备接收到AP连续发送的预设数量个信号均为单空间流信号,或者接收到AP连续发送的所有信号均为单空间流信号,则判断此时AP已正常切换至发送单空间流信号,此时电子设备也切换至单接收链路工作,并关闭其余接收链路,在保证正常接收数据的同时节省功耗。In the embodiment of the present application, when the electronic device requests the AP to send a single spatial stream signal and receives an ACK from the AP, it maintains the first working states of multiple first receiving links within the preset time period. If the electronic device receives the preset number of signals continuously sent by the AP within a period of time, all of which are single-space stream signals, or receives all the signals continuously sent by the AP are single-space stream signals, it can be judged that the AP has normally switched to sending single-space stream signals at this time. At this time, the electronic device also switches to a single receiving link and closes the rest of the receiving links to save power while ensuring normal data reception.
可选地,处理器410,用于在所述预设时长内,接收到所述AP连续发送的预设数量个信号中存在多空间流信号的情况下,保持所述多个第一接收链路的第一工作状态。Optionally, the processor 410 is configured to maintain the plurality of first receiving chains in a case where a multi-spatial stream signal exists in a preset number of signals continuously sent by the AP within the preset time period. The first working state of the road.
可选地,处理器410,用于在所述预设时长内,接收到所述AP连续发送的所有信号中存在多空间流信号的情况下,保持所述多个第一接收链路的第一工作状态。Optionally, the processor 410 is configured to, within the preset time length, maintain the first of the plurality of first receiving links in a case where a multi-spatial stream signal exists among all the signals continuously sent by the AP. 1. Working status.
可选地,处理器410,用于:Optionally, the processor 410 is configured to:
确定电子设备的使用场景;Identify usage scenarios for electronic devices;
在所述使用场景与预设功耗场景相匹配的情况下,向AP发送第一请求。If the usage scenario matches the preset power consumption scenario, a first request is sent to the AP.
可选地,在电子设备与所述AP处于第一连接模式的情况下,所述第一请求为第一帧;Optionally, when the electronic device and the AP are in a first connection mode, the first request is a first frame;
在电子设备与所述AP处于第二连接模式的情况下,所述第一请求为第二帧;When the electronic device and the AP are in a second connection mode, the first request is a second frame;
其中,所述第一连接模式与所述第二连接模式不同,所述第一帧与所述第二帧不同。Wherein, the first connection mode is different from the second connection mode, and the first frame is different from the second frame.
应理解的是,本申请实施例中,输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元406可包括显示面板4061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板4061。用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器409可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器410可集 成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中It should be understood that, in the embodiment of the present application, the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042, and the graphics processor 4041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072 . The touch panel 4071 is also called a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here. Memory 409 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the above-mentioned modem processor may not be integrated into the processor 410
本申请实施例还提供一种可读存储介质,所述可读存储介质可以是非易失的,也可以是易失的,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述无线通信方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, the readable storage medium may be nonvolatile or volatile, the readable storage medium stores programs or instructions, and the programs or instructions are stored in When executed by the processor, each process of the foregoing wireless communication method embodiment can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述无线通信方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above wireless communication method embodiment Each process can achieve the same technical effect, so in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
本发明实施例还提供一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,所述计算机程序产品被配置成被至少一个处理器执行以实现上述无线通信方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present invention also provides a computer program product, the computer program product is stored in a non-volatile storage medium, and the computer program product is configured to be executed by at least one processor to implement the above wireless communication method embodiment Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
本发明实施例还提供一种执行装置,所述执行装置被配置成用于执行上述无线通信方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present invention also provides an execution device, the execution device is configured to execute each process of the wireless communication method embodiment above, and can achieve the same technical effect, and to avoid repetition, details are not repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方 法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (15)

  1. 一种无线通信方法,所述方法包括:A method of wireless communication, the method comprising:
    向接入点AP发送第一请求,所述第一请求用于请求所述AP发送单空间流信号;sending a first request to an access point AP, where the first request is used to request the AP to send a single spatial stream signal;
    在接收到所述AP发送的确认应答ACK的情况下,在预设时长内保持多个第一接收链路的第一工作状态,所述多个第一接收链路为在发送所述第一请求之前已开启的接收链路,所述第一工作状态为在发送所述第一请求之前所述多个第一接收链路的工作状态;When the acknowledgment ACK sent by the AP is received, the first working state of the multiple first receiving links is maintained within a preset time period, and the multiple first receiving links are sending the first receiving links that have been turned on before the request, and the first working state is the working state of the plurality of first receiving links before sending the first request;
    在满足预设条件的情况下,控制第二接收链路停止工作,其中,所述第二接收链路为所述多个第一接收链路中除与所述单空间流信号对应的接收链路之外的其他接收链路;When the preset condition is met, control the second receiving chain to stop working, wherein the second receiving chain is the receiving chain corresponding to the single spatial stream signal among the plurality of first receiving chains Other receiving links other than the road;
    其中,所述预设条件为在所述预设时长内,接收到所述AP发送的预设阈值个单空间流信号,或者在所述预设时长内,接收到所述AP连续发送的所有信号均为单空间流信号。Wherein, the preset condition is to receive a preset threshold single spatial stream signal sent by the AP within the preset duration, or to receive all the signals continuously sent by the AP within the preset duration. All signals are single spatial stream signals.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    在所述预设时长内,接收到所述AP发送单空间流信号的数量少于所述预设阈值的情况下,保持所述多个第一接收链路的第一工作状态。In the preset time period, when the number of single spatial stream signals received from the AP is less than the preset threshold, maintain the first working state of the plurality of first receiving links.
  3. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    在所述预设时长内,接收到所述AP连续发送的所有信号中存在多空间流信号的情况下,保持所述多个第一接收链路的第一工作状态。Within the preset time period, in a case where a multi-spatial stream signal is received in all the signals continuously sent by the AP, the first working state of the plurality of first receiving links is maintained.
  4. 根据权利要求1所述的方法,其中,向接入点AP发送第一请求包括:The method according to claim 1, wherein sending the first request to the access point AP comprises:
    确定电子设备的使用场景;Identify usage scenarios for electronic devices;
    在所述使用场景与预设功耗场景相匹配的情况下,向AP发送第一请求。If the usage scenario matches the preset power consumption scenario, a first request is sent to the AP.
  5. 根据权利要求1所述的方法,其中,在电子设备与所述AP处于第一连接模式的情况下,所述第一请求为第一帧;The method according to claim 1, wherein, when the electronic device and the AP are in a first connection mode, the first request is a first frame;
    在电子设备与所述AP处于第二连接模式的情况下,所述第一请求为第二帧;When the electronic device and the AP are in a second connection mode, the first request is a second frame;
    其中,所述第一连接模式与所述第二连接模式不同,所述第一帧与所述 第二帧不同。Wherein, the first connection mode is different from the second connection mode, and the first frame is different from the second frame.
  6. 一种无线通信装置,所述装置包括:A wireless communication device, the device comprising:
    发送模块,用于向AP发送第一请求,所述第一请求用于请求所述AP发送单空间流信号;A sending module, configured to send a first request to the AP, where the first request is used to request the AP to send a single spatial stream signal;
    保持模块,用于在接收到所述AP发送的ACK的情况下,在预设时长内保持多个第一接收链路的第一工作状态,所述多个第一接收链路为在发送所述第一请求之前已开启的接收链路,所述第一工作状态为在发送所述第一请求之前所述多个第一接收链路的工作状态;A maintaining module, configured to maintain the first working states of multiple first receiving links within a preset time period when the ACK sent by the AP is received, and the multiple first receiving links are The receiving links that have been opened before the first request, the first working state is the working state of the plurality of first receiving links before sending the first request;
    控制模块,用于在满足预设条件的情况下,控制第二接收链路停止工作,其中,所述第二接收链路为所述多个第一接收链路中除与所述单空间流信号对应的接收链路之外的其他接收链路;A control module, configured to control the second receiving link to stop working when the preset condition is met, wherein the second receiving link is the single spatial stream divided by the plurality of first receiving links Other receiving links other than the receiving link corresponding to the signal;
    其中,所述预设条件为在所述预设时长内,接收到所述AP发送的预设阈值个单空间流信号,或者在所述预设时长内,接收到所述AP连续发送的所有信号均为单空间流信号。Wherein, the preset condition is to receive a preset threshold single spatial stream signal sent by the AP within the preset duration, or to receive all the signals continuously sent by the AP within the preset duration. All signals are single spatial stream signals.
  7. 根据权利要求6所述的装置,其中,所述控制模块,还用于The device according to claim 6, wherein the control module is further used for
    在所述预设时长内,接收到所述AP发送单空间流信号的数量少于所述预设阈值的情况下,保持所述多个第一接收链路的第一工作状态。In the preset time period, when the number of single spatial stream signals received from the AP is less than the preset threshold, maintain the first working state of the plurality of first receiving links.
  8. 根据权利要求6所述的装置,其中,所述控制模块,还用于The device according to claim 6, wherein the control module is further used for
    在所述预设时长内,接收到所述AP连续发送的所有信号中存在多空间流信号的情况下,保持所述多个第一接收链路的第一工作状态。Within the preset time period, in a case where a multi-spatial stream signal is received in all the signals continuously sent by the AP, the first working state of the plurality of first receiving links is maintained.
  9. 根据权利要求6所述的装置,其中,所述发送模块包括:The device according to claim 6, wherein the sending module comprises:
    确定单元,用于确定电子设备的使用场景;A determining unit, configured to determine the usage scenario of the electronic device;
    发送单元,用于在所述使用场景与预设功耗场景相匹配的情况下,向AP发送第一请求。A sending unit, configured to send a first request to the AP when the usage scenario matches a preset power consumption scenario.
  10. 根据权利要求6所述的装置,其中,在电子设备与所述AP处于第一连接模式的情况下,所述第一请求为第一帧;The apparatus according to claim 6, wherein, when the electronic device and the AP are in a first connection mode, the first request is a first frame;
    在电子设备与所述AP处于第二连接模式的情况下,所述第一请求为第二帧;When the electronic device and the AP are in a second connection mode, the first request is a second frame;
    其中,所述第一连接模式与所述第二连接模式不同,所述第一帧与所述 第二帧不同。Wherein, the first connection mode is different from the second connection mode, and the first frame is different from the second frame.
  11. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求1至5中任一项所述无线通信方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, wherein the program or instruction is executed by the processor to achieve claim 1 Steps of the wireless communication method described in any one of to 5.
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,其中,所述程序或指令被处理器执行时实现如权利要求1至5中任一项所述无线通信方法的步骤。A readable storage medium storing programs or instructions on the readable storage medium, wherein the steps of the wireless communication method according to any one of claims 1 to 5 are implemented when the programs or instructions are executed by a processor.
  13. 一种芯片,包括处理器和通信接口,其中,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述无线通信方法的步骤。A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the wireless communication method according to any one of claims 1 to 5 A step of.
  14. 一种计算机程序产品,其中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至5中任一项所述无线通信方法的步骤。A computer program product, wherein the computer program product is executed by at least one processor to implement the steps of the wireless communication method according to any one of claims 1 to 5.
  15. 一种电子设备,被配置为执行如权利要求1至5中任一项所述无线通信方法的步骤。An electronic device configured to execute the steps of the wireless communication method according to any one of claims 1 to 5.
PCT/CN2022/100081 2021-06-24 2022-06-21 Wireless communication method and apparatus, electronic device, and readable storage medium WO2022268068A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110703427.8A CN113411875A (en) 2021-06-24 2021-06-24 Wireless communication method, device, electronic equipment and readable storage medium
CN202110703427.8 2021-06-24

Publications (1)

Publication Number Publication Date
WO2022268068A1 true WO2022268068A1 (en) 2022-12-29

Family

ID=77682893

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/100081 WO2022268068A1 (en) 2021-06-24 2022-06-21 Wireless communication method and apparatus, electronic device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN113411875A (en)
WO (1) WO2022268068A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113411875A (en) * 2021-06-24 2021-09-17 维沃移动通信有限公司 Wireless communication method, device, electronic equipment and readable storage medium
CN115334139B (en) * 2022-06-24 2023-12-26 百果园技术(新加坡)有限公司 Communication connection control method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246735A (en) * 2014-01-24 2019-01-18 索尼公司 Device and method in wireless communication system, wireless communication system
CN111510967A (en) * 2020-03-19 2020-08-07 西安电子科技大学 Seamless double-link switching method based on power adjustment
CN113411875A (en) * 2021-06-24 2021-09-17 维沃移动通信有限公司 Wireless communication method, device, electronic equipment and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11252555B2 (en) * 2014-07-11 2022-02-15 Apple Inc. Receive operation mode indication for power save
US10070339B2 (en) * 2015-06-05 2018-09-04 Apple Inc. Method and apparatus for MIMO WLAN power optimization
US10356756B2 (en) * 2015-08-21 2019-07-16 Lg Electronics Inc. Data transmission method and device in wireless communication system
CN112929065B (en) * 2021-01-25 2022-08-19 维沃移动通信有限公司 Electronic equipment control method and device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246735A (en) * 2014-01-24 2019-01-18 索尼公司 Device and method in wireless communication system, wireless communication system
CN111510967A (en) * 2020-03-19 2020-08-07 西安电子科技大学 Seamless double-link switching method based on power adjustment
CN113411875A (en) * 2021-06-24 2021-09-17 维沃移动通信有限公司 Wireless communication method, device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN113411875A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
WO2022268068A1 (en) Wireless communication method and apparatus, electronic device, and readable storage medium
US8667167B2 (en) Method and network device for controlling transmission rate of communication interface
US8625532B2 (en) Soft handoffs in networks
KR20090115479A (en) Method and Apparatus for data transmission in a wireless local access network and System therefor
JP2007089174A (en) Method and device for improving signal transmission rate in wireless communication system
JP2009141962A (en) Method and device for improving discontinuous reception in wireless communication system
KR20190047598A (en) Method and device of transmitting data
US9794077B2 (en) Control method, device and optical transceiver
JP5470590B2 (en) Communication apparatus and handover control method
JP2009194805A (en) Mobile communication terminal, mobile communication method and mobile communication control program
US7681051B2 (en) Transitioning of a port in a communications system from an active state to a standby state
WO2015054890A1 (en) Method and apparatus for processing scheduling request
WO2020133393A1 (en) Adaptive communication link switching method, movable platform, and control apparatus
WO2024027559A1 (en) Resource control method, terminal, and electronic device
CN112437474B (en) Information transmission method and information transmission device
WO2021052128A1 (en) Notification message control method and related apparatus
WO2024007960A1 (en) Dual-connectivity measurement control method and electronic device
TW201630394A (en) Method for maintaining transmission control protocol connection and computer system
WO2023040893A1 (en) Continuous lbt failure processing method and apparatus, and terminal and network-side device
US20220286532A1 (en) Method and apparatus for obtaining shared maximum segment size mss
KR20040063905A (en) Communications device, method and program for receiving process execution, and computer-readable recording medium having same program recorded thereon
WO2022121883A1 (en) Method and apparatus for re-establishment after radio link failure, and electronic device
WO2021244519A1 (en) Wi-fi control method and apparatus, and electronic device
US20140071867A1 (en) Portable routing device and the power saving method thereof
CN110290595B (en) Network connection control method, system, intelligent terminal and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22827561

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE