Wireless data transmission method and related device thereof
Abstract
A method includes a first electronic device that detects a signal strength when the first electronic device communicates with a second electronic device, and determines whether the signal strength is less than a preset value. When the signal strength is less than the preset value, the first electronic device determines a current service state of the second electronic device, and determines, based on the current service state, working modes including a first working mode and a second working mode that respectively correspond to the first electronic device and the second electronic device and that are suitable for the current service state. The first electronic device switches a working mode of the first electronic device to the determined first working mode, and sends an instruction to indicate to the second electronic device to switch a working mode of the second electronic device to the second working mode.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A wireless data transmission method implemented by a first electronic device, wherein the wireless data transmission method comprises: detecting, a signal strength when the first electronic device communicates with a second electronic device; determining whether the signal strength is less than a first preset value, wherein the first electronic device and the second electronic device are in a first mode or a second mode, wherein the first mode is sending and receiving data on a 5 gigahertz (G) frequency band, and wherein the second mode is sending and receiving data on a 2.4G frequency band; when the signal strength is less than the first preset value; determining a current service state of the second electronic device; and determining, based on the current service state, working modes that respectively correspond to the first electronic device and the second electronic device and that are suitable for the current service state, wherein determining the working modes comprises at least one of: determining that the first electronic device and the second electronic device are in a third mode when the current service state is a first service state, wherein the third mode is sending and receiving data on the 2.4G frequency band and the 5G frequency band; determining that the first electronic device is in a fifth mode and the second electronic device is in a fourth mode when the current service state is a second service state, wherein the fifth mode is sending data on the 5G frequency band and receiving data on the 2.4G frequency band, and wherein the fourth mode is sending data on the 2.4G frequency band and receiving data on the 5G frequency band; and determining that the first electronic device is in the fourth mode and the second electronic device is in the fifth mode when the current service state is a third service state; switching the first electronic device from the first mode or the second mode to a first determined mode that corresponds to the first electronic device, wherein the first determined mode is one of the third mode, the fourth mode, or the fifth mode; and sending a first instruction to indicate to the second electronic device to switch from the first mode or the second mode to a second determined mode that corresponds to the second electronic device, wherein the second determined mode is one of the third mode, the fourth mode, or the fifth mode.
- Claim 2Depends on #1
The wireless data transmission method of claim 1, further comprising determining whether the current service state is the first service state, wherein the first service state comprises that a current service of the second electronic device is a preset service, and wherein the preset service is a game service or a voice service.
- Claim 3Depends on #1
The wireless data transmission method of claim 1, further comprising at least one of: determining, using a format of a data frame, whether the current service state is the first service state; or determining, using a data throughput, whether the current service state is one of the second service state or the third service state.
- Claim 4Depends on #3
The wireless data transmission method of claim 3, further comprising further determining, based on the data throughput, whether the current service state is one of the first service state, the second service state, or the third service state, wherein the first service state comprises that a difference between an uplink service volume and a downlink service volume falls within a preset range, wherein the second service state comprises that the uplink service volume is greater than the downlink service volume and the difference is greater than a second preset value, and wherein the third service state comprises that the downlink service volume is greater than the uplink service volume and the difference is greater than the second preset value.
- Claim 5Depends on #1
The wireless data transmission method of claim 1, comprising sending same data on the 2.4G frequency band and the 5G frequency band when the second electronic device is in the first service state and both the first electronic device and the second electronic device are in the third mode.
- Claim 6Depends on #1
The wireless data transmission method of claim 1, wherein after switching the first electronic device and sending the first instruction, the wireless data transmission method further comprises: detecting whether communication quality is improved; maintaining the first determined mode to perform data transmission when the communication quality is improved; and performing when the communication quality does not improve: switching the first determined mode to the first mode or the second mode; and sending a second instruction to indicate to the second electronic device to switch the determined mode to the first mode or the second mode.
- Claim 7Depends on #1
The wireless data transmission method of claim 1, further comprising determining whether the current service state is one of the second service state or the third service state, wherein the second service state comprises that an uplink service volume is greater than a downlink service volume, and wherein the third service state comprises that the downlink service volume is greater than the uplink service volume.
- Claim 8Independent Claim
A wireless data transmission method implemented by a second electronic device, wherein the method comprises: detecting a signal strength when a first electronic device communicates with the second electronic device, wherein both the first electronic device and the second electronic device are in a first mode or a second mode, wherein the first mode is sending and receiving data on a 5 gigahertz (G) frequency band, and wherein the second mode is sending and receiving data on a 2.4G frequency band; determining whether the signal strength is less than a first preset value; when the signal strength is less than the first preset value: determining a current service state; and determining, based on the current service state, working modes that respectively correspond to the first electronic device and the second electronic device and that are suitable for the current service state, wherein determining the working modes comprises at least one of: determining that the first electronic device and the second electronic device are in a third mode when the current service state is a first service state, wherein the third mode is sending and receiving data on the 2.4G frequency band and the 5G frequency band; determining that the first electronic device is in a fifth mode and the second electronic device is in a fourth mode when the current service state is a second service state, wherein the fourth mode is sending data on the 2.4G frequency band and receiving data on the 5G frequency band, and wherein the fifth mode is sending data on the 5G frequency band and receiving data on the 2.4G frequency band; determining that the first electronic device is in the fourth mode and the second electronic device is in the fifth mode when the current service state is a third service state; sending a first message to the first electronic device to determine whether the first electronic device supports a first determined mode that corresponds to the second electronic device, wherein the first determined mode is one of the third mode, the fourth mode, or the fifth mode; receiving a second message from the first electronic device in response to the first message; switching, based on the second message, the second electronic device from the first mode or the second mode to the first determined mode when the first electronic device supports the first determined mode; and sending an instruction to indicate the first electronic device to switch to a second determined mode that corresponds to the first electronic device, wherein the second determined mode is one of the third mode, the fourth mode, or the fifth mode.
- Claim 9Depends on #8
The wireless data transmission method of claim 8, further comprising determining whether the current service state is the first service state, wherein the first service state comprises a state in which a current service of the second electronic device is a preset service, and wherein the preset service comprises a game service or a voice service; or determining whether the current service state is one of the second service state or the third service state, wherein the second service state comprises that an uplink service volume is greater than a downlink service volume, and wherein the third service state is that a downlink service volume is greater than an uplink service volume.
- Claim 10Depends on #8
The wireless data transmission method of claim 8, further comprising determining, based on a data throughput, whether the current service state is one of the first service state, the second service state, or the third service state, wherein the first service state comprises that a difference between an uplink service volume and a downlink service volume falls within a preset range, wherein the second service state comprises that the uplink service volume is greater than the downlink service volume and the difference is greater than a second preset value, and wherein the third service state comprises that the downlink service volume is greater than the uplink service volume and the difference is greater than the second preset value.
- Claim 11Depends on #8
The wireless data transmission method of claim 8, further comprising: determining, based on the second message, whether the first electronic device supports the fourth mode or the fifth mode in a first state; sending, when the first electronic device supports the fourth mode or the fifth mode in the first state, a third message to the first electronic device to determine whether the first electronic device supports the fourth mode or the fifth mode in a second state; and receiving a fourth message from the first electronic device in response to the second message.
- Claim 12Depends on #11
The wireless data transmission method of claim 11, further comprising: determining, based on the fourth message, whether the first electronic device supports the fourth mode or the fifth mode in the second state; and performing one of: further switching to the fourth mode or the fifth mode in the first state when the first electronic device does not support the fourth mode or the fifth mode in the second state; or further switching to the fourth mode or the fifth mode in the second state when the first electronic device supports the fourth mode or the fifth mode in the second state.
- Claim 13Depends on #11
The wireless data transmission method of claim 11, wherein the first state is a half-duplex data transmission manner, and wherein the second state is a full-duplex data transmission manner.
- Claim 14Depends on #11
The wireless data transmission method of claim 11, wherein the current service state is the second service state or the third service state.
- Claim 15Independent Claim
A first electronic device comprising: a memory configured to store instructions; and a processor coupled to the memory and configured to execute the instructions to cause the first electronic device to: detect a signal strength when the first electronic device communicates with a second electronic device, wherein both the first electronic device and the second electronic device work in a first mode or a second mode, wherein the first mode is sending and receiving data on a 5 gigahertz (G) frequency band, wherein the second mode is sending and receiving data on a 2.4G frequency band; determine whether the signal strength is less than a first preset value; when the signal strength is less than the first preset value: determine a current service state of the second electronic device; and determine, based on the current service state, working modes that respectively correspond to the first electronic device and the second electronic device and that are suitable for the current service state, wherein determining the working modes comprises at least one of: determine that the first electronic device and the second electronic device are in a third mode when the current service state is a first service state, wherein the third mode is sending and receiving data on the 2.4G frequency band and the 5G frequency band; determine that the first electronic device is in a fifth mode and the second electronic device is in a fourth mode when the current service state is a second service state, wherein the fourth mode is sending data on the 2.4G frequency band and receiving data on the 5G frequency band, and wherein the fifth mode is sending data on the 5G frequency band and receiving data on the 2.4G frequency band; and determine the first electronic device is in the fourth mode and the second electronic device is in the fifth mode when the current service state is a third service state; switch the first electronic device from the first mode or the second mode to a first determined mode that corresponds to the first electronic device, wherein the first determined mode is one of the third mode, the fourth mode, or the fifth mode; and send an instruction to indicate to the second electronic device to switch the second electronic device from the first mode or the second mode to a second determined mode that corresponds to the second electronic device.
- Claim 16Depends on #15
The first electronic device of claim 15, wherein the processor is further configured to execute the instructions to cause the first electronic device to perform at least one of: determine whether the current service state is the first service state, wherein the first service state comprises that a current service of the second electronic device comprises a preset service, and wherein the preset service comprises a game service or a voice service; or determine whether the current service state is one of the second service state or the third service state, wherein the second service state comprises that an uplink service volume is greater than a downlink service volume, and wherein the third service state comprises that the downlink service volume is greater than the uplink service volume.
- Claim 17Depends on #15
The first electronic device of claim 15, wherein the processor is further configured to execute the instructions to cause the first electronic device to perform at least one of: determine, using a format of a data frame, whether the current service state is the first service state; or determine, using a data throughput, whether the current service state one of the second service state and the third service state.
- Claim 18Depends on #15
The first electronic device of claim 15, wherein the processor is further configured to execute the instructions to cause the first electronic device to determine, based on a data throughput, whether the current service state is one of the first service state, the second service stat, or the third service state, wherein the first service state comprises that a difference between an uplink service volume and a downlink service volume falls within a preset range, wherein the second service state comprises that the uplink service volume is greater than the downlink service volume and the difference is greater than a second preset value, and wherein the third service state comprises that the downlink service volume is greater than the uplink service volume and the difference is greater than the second preset value.
- Claim 19Depends on #15
The first electronic device of claim 15, wherein the processor is further configured to execute the instructions to cause the first electronic device to send same data on the 2.4G frequency band and the 5G frequency band when the second electronic device is in the first service state and the working modes are the third mode.
- Claim 20Depends on #15
The first electronic device of claim 15, wherein after switching the first electronic device and sending the instruction, the processor is further configured to cause the first electronic device to: detect whether communication quality is improved; maintain the first determined mode to perform data transmission when the communication quality is improved; and when the communication quality does not improve: switch the first determined mode to the first mode or the second mode; and send a second instruction to indicate to the second electronic device to switch to the first mode or the second mode.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This is a U.S. National Stage of International Patent Application No. PCT/CN2021/108501 filed on Jul. 26, 2021, which claims priority to Chinese Patent Application No. 202010738834.8 filed on Jul. 28, 2020. Both of the aforementioned applications are hereby incorporated by reference in their entireties. TECHNICAL FIELD Embodiments of the present invention relate to the field of wireless communications technologies, and in particular, to a wireless data transmission method and a related device thereof. BACKGROUND In wireless, 2.4G or 5G specifically refers to a signal transmission frequency band. A 2.4G frequency band is a technical standard based on IEEE 802.11b, and ranges from 2.400 GHz to 2.4835 GHz. A 5G frequency band is a technical standard based on IEEE 802.11ac, and ranges from 5.15 GHz to 5.825 GHz. A comparison between a 2.4G wireless signal and a 5G wireless signal is as follows: The 2.4G wireless signal works on the 2.4 GHz frequency band, has a low frequency and a long wavelength, is relatively slightly attenuated when being propagated in air or an obstacle, and may be propagated over a longer distance. However, the 2.4G signal has a relatively narrow bandwidth. Most household appliances and wireless devices use the 2.4G frequency band. There is a relatively congested wireless environment and relatively strong interference. The 5G Wi-Fi signal has a relatively wide bandwidth, there is a relatively clean wireless environment, weak interference, and a stable network rate, and a higher wireless rate may be supported. In addition, the 5G signal has a relatively high frequency, is relatively greatly attenuated when being propagated in air or an obstacle, and has a coverage distance that is usually shorter than that of the 2.4G signal. In an actual application scenario, when an AP communicates with a STA on the 5G frequency band, and a location of the STA changes with movement of a user, there may be poor signal connect
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.