Wireless network communication method and related equipment
By switching MIMO and SISO modes in wireless network communication and adjusting the level of modulation and coding schemes, the balance problem between transmission efficiency and power consumption is solved, achieving higher transmission efficiency and lower power consumption.
Patent Information
- Application Number
- CN202311422332.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-28
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2043-10-28
AI Technical Summary
The existing wireless network communication technology is difficult to reduce power consumption while improving transmission efficiency, especially in the multi-input and multi-output (MIMO) mode, which has a high power consumption that affects the device's usage time.
By the transmission parameters meet the preset conditions, switch the multiple input multiple output (MIMO) mode and the single input single output (SISO) mode, adjust the modulation and encoding scheme level to optimize the transmission efficiency and power consumption. Specifically, if the coding scheme level is adjusted or exceeds a certain threshold in MIMO mode, switch to the SISO mode, and vice versa.
It achieves the reduction of power consumption while ensuring transmission efficiency, and improves the usage time and energy efficiency ratio of the equipment. By switching the working mode and appropriately reducing or increasing the modulation and coding scheme level, communication performance can be optimized under different signal strengths and transmission rates.
Smart Images

Figure CN118449551B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a wireless network communication method and related equipment. Background Art
[0002] At present, with the development of mobile communication technology, wireless networks have become inseparable from people's lives, and wireless fidelity (WiFi) technology has become a standard feature of most communication electronic devices. In addition, electronic devices with WiFi function usually support multiple-input multiple-output (MIMO) technology and are compatible with single-input single-output (SISO) technology.
[0003] Generally speaking, compared with SISO technology, MIMO technology can improve transmission rate and coverage without increasing occupied bandwidth; compared with MIMO technology, SISO technology requires significantly less power consumption, which can reduce the power consumption of electronic devices and increase usage time. Summary of the invention
[0004] The present application provides a wireless network communication method and related equipment, which can reduce power consumption while ensuring transmission efficiency.
[0005] In a first aspect, a wireless network communication method is applied to an electronic device, the method comprising: when transmitting first data in a first working mode, obtaining transmission parameters for transmitting the first data, the transmission parameters comprising a first modulation and coding scheme level; when the transmission parameters satisfy a preset condition, switching from the first working mode to a second working mode, wherein the second modulation and coding scheme level used when transmitting the second data in the second working mode is different from the first modulation and coding scheme level; wherein the first working mode comprises a multiple-input multiple-output mode, the second working mode comprises a single-input single-output mode, and the transmission parameters satisfying the preset condition comprises: the first modulation and coding scheme level is greater than or equal to a first threshold, or, the first modulation and coding scheme level is less than or equal to a second threshold; or, the second working mode comprises a multiple-input multiple-output mode, the first working mode comprises a single-input single-output mode, and the transmission parameters satisfying the preset condition comprises: the first modulation and coding scheme level is less than or equal to a second threshold; wherein the second threshold is less than the first threshold.
[0006] In the above scheme, when transmitting data in the multi-input multi-output mode, when the first modulation and coding scheme level is greater than or equal to the first threshold or less than or equal to the second threshold, it is switched to the single-input single-output mode. Through actual testing and simulation, it can be known that the scheme can improve the transmission negotiation rate, thereby improving communication efficiency; on the other hand, it can improve the modulation and coding scheme level, thereby reducing bit power consumption and improving energy efficiency. When transmitting data in the single-input single-output mode, when the first modulation and coding scheme level is greater than or equal to the first threshold, it is switched to the multi-input multi-output mode. Through actual testing and simulation, it can be known that the scheme can improve the transmission negotiation rate, thereby improving communication efficiency.
[0007] In some embodiments, the first modulation coding scheme level is greater than or equal to a first threshold, which can be understood as high-order modulation; or, in some embodiments, the first modulation coding scheme level is less than or equal to a second threshold, which can be understood as low-order modulation.
[0008] It is understood that the method may further include: after switching to the second working mode, the electronic device transmits the second data in the second working mode. When transmitting the second data in the second working mode, the transmission parameters used to transmit the second data include the second modulation and coding scheme level.
[0009] In a possible embodiment, when the first working mode includes a multiple-input multiple-output mode and the second working mode includes a single-input single-output mode, the second modulation and coding scheme level is higher than the first modulation and coding scheme level.
[0010] That is to say, after switching from the multi-input multi-output mode to the single-input single-output mode, the modulation and coding scheme level after switching the working mode is higher than the modulation and coding scheme level before switching the working mode. Through actual testing and simulation, it can be known that if the modulation and coding scheme level in the single-input single-output mode is higher than the modulation and coding scheme level in the multi-input multi-output mode, the bit power consumption of the single-input single-output mode is better than the bit power consumption in the multi-input multi-output mode. Therefore, the above scheme can reduce the bit power consumption after switching the working mode.
[0011] In a possible embodiment, when the second working mode includes a multiple-input multiple-output mode and the first working mode includes a single-input single-output mode, the second modulation and coding scheme level is lower than the first modulation and coding scheme level.
[0012] That is to say, after switching from the single-input single-output mode to the multiple-input multiple-output mode, the modulation and coding scheme level after switching the working mode is lower than the modulation and coding scheme level before switching the working mode.
[0013] In a possible embodiment, the difference between the second modulation and coding scheme level and the first modulation and coding scheme level is 3 or 4.
[0014] For details, please refer to the introduction of actual testing and simulation below.
[0015] In a possible embodiment, the difference between the first threshold and the second threshold is greater than the difference between the second modulation and coding scheme level and the first modulation and coding scheme level.
[0016] The above solution prevents the terminal device from switching back and forth between the two working modes, thereby ensuring the stability of communication.
[0017] In a possible embodiment, the electronic device is a first terminal device, the opposite device of the electronic device is a second terminal device, and the transmission negotiation rate corresponding to the second modulation and coding scheme level is greater than the transmission negotiation rate corresponding to the first modulation and coding scheme level.
[0018] It can be understood that the first modulation and coding scheme is different from the second modulation and coding scheme, and the corresponding transmission negotiation rates are also different. Through actual testing and simulation, it can be known that in the above scheme, when switching from the multiple-input multiple-output mode to the single-input single-output mode, or switching from the single-input single-output mode to the multiple-input multiple-output mode, when the first modulation and coding scheme level meets the preset conditions, whether the modulation and coding scheme level is increased or decreased, the transmission negotiation rate is improved, thereby improving the transmission efficiency.
[0019] The transmission parameters also include a received signal strength indication; when the first working mode includes a multiple-input multiple-output mode, the second working mode includes a single-input single-output mode, and the first modulation and coding scheme level is greater than or equal to a first threshold, the transmission parameters meet the preset conditions and also include: the value of the received signal strength indication is greater than a third threshold; or, when the second working mode includes a multiple-input multiple-output mode and the first working mode includes a single-input single-output mode, the transmission parameters meet the preset conditions and also include: the value of the received signal strength indication is less than a fourth threshold.
[0020] That is to say, in an end-to-end transmission scenario, on the basis that the first modulation and coding scheme level meets the preset conditions, switching between the multi-input multi-output mode and the single-input single-output mode is performed when the received signal strength indication meets the preset conditions, so as to further improve the accuracy of switching the working mode, thereby achieving higher transmission efficiency and lower power consumption.
[0021] In a possible embodiment, the transmission parameters also include an actual transmission rate; when the first working mode includes a multiple-input multiple-output mode, the second working mode includes a single-input single-output mode, and the first modulation and coding scheme level is greater than or equal to a first threshold, the transmission parameters meet the preset conditions and also include: the actual transmission rate is greater than a fifth threshold; or, when the second working mode includes a multiple-input multiple-output mode, and the first working mode includes a single-input single-output mode, the transmission parameters meet the preset conditions and also include: the actual transmission rate is less than a sixth threshold.
[0022] That is to say, in an end-to-end transmission scenario, on the basis that the first modulation and coding scheme level meets the preset conditions, switching between the multi-input multi-output mode and the single-input single-output mode is performed when the actual transmission rate meets the preset conditions, so as to further improve the accuracy of switching the working mode, thereby achieving higher transmission efficiency and lower power consumption.
[0023] In a possible embodiment, among the first terminal device and the second terminal device, one terminal device is a hotspot establishment end, and the other terminal device is a hotspot connection end, and the first data is business data applied to at least one of the following scenarios: a data cloning scenario or a file sharing scenario.
[0024] It is understandable that the hotspot scenario is a typical application scenario for end-to-end transmission. Hotspot scenarios may include data cloning scenarios or file sharing scenarios. It is understandable that since the amount of data transmitted in the data cloning scenario is very large, the terminal device will generate significant heat. Generally, the heat can be reduced by reducing the transmission power of the terminal device. Therefore, the transmission power of the terminal device in the data cloning scenario is generally low. When the transmission power is low, the transmission negotiation rate is more easily affected by the distance between the two terminal devices, so it is more necessary to ensure the transmission efficiency.
[0025] In a possible embodiment, the electronic device is a terminal device, the opposite device of the electronic device is a network device, the first working mode includes a multi-input multi-output mode, the second working mode includes a single-input single-output mode, the transmission parameters also include a received signal strength indication, and the transmission parameters satisfy the preset conditions specifically including: when the value of the received signal strength indication is greater than a seventh threshold, the first modulation and coding scheme level is greater than or equal to the first threshold; or, when the value of the received signal strength indication is less than an eighth threshold, the first modulation and coding scheme level is less than or equal to the second threshold; wherein the seventh threshold is greater than the eighth threshold.
[0026] That is to say, in the scenario where the terminal device and the network device are conducting wireless communication, on the basis that the first modulation and coding scheme level meets the preset conditions, and also when the received signal strength indication meets the preset conditions, switching between the multi-input multi-output mode and the single-input single-output mode is performed to further improve the accuracy of switching the working mode, thereby achieving higher transmission efficiency and lower power consumption.
[0027] In a possible embodiment, the method further includes: determining the seventh threshold and the eighth threshold according to the capability of the network device and the user bandwidth, wherein the capability of the network device includes a transmission rate supported by the network device.
[0028] The threshold of the received signal strength indication is determined according to the capabilities of the network device and the user bandwidth. The appropriate threshold can be determined based on the capabilities of different network devices and different user bandwidths, thereby improving the accuracy of the threshold determination, and then improving the accuracy of switching the working mode, thereby achieving better transmission efficiency and bit power consumption.
[0029] In a possible embodiment, when the value of the received signal strength indication is greater than a seventh threshold, the transmission negotiation rate corresponding to the first modulation and coding scheme level is greater than or equal to the user bandwidth per unit time, and when the first modulation and coding scheme level is greater than or equal to the first threshold, the transmission negotiation rate corresponding to the second modulation and coding scheme level is greater than or equal to the user bandwidth per unit time.
[0030] It can be understood that the transmission negotiation rate before and after switching the working mode can cover the user bandwidth, so that the transmission efficiency can be guaranteed before and after switching the working mode. In addition, after switching from the multiple-input multiple-output mode to the single-input single-output mode, the modulation and coding level increases, the bit power consumption decreases, and the energy efficiency ratio is improved.
[0031] In a possible embodiment, when the value of the received signal strength indication is less than an eighth threshold, the transmission negotiation rate corresponding to the level of the first modulation and coding scheme is less than the user bandwidth per unit time, and when the level of the first modulation and coding scheme is less than or equal to the second threshold, the transmission negotiation rate corresponding to the level of the second modulation and coding scheme is greater than the transmission negotiation rate corresponding to the level of the first modulation and coding scheme, and is less than the user bandwidth per unit time.
[0032] It is understandable that the transmission negotiation rate before and after switching the working mode cannot cover the user bandwidth, but in this case, since the transmission negotiation rate after switching is higher than before switching, the transmission efficiency can still be improved. In addition, after switching from the multiple-input multiple-output mode to the single-input single-output mode, the modulation and coding level increases, the bit power consumption decreases, and the energy efficiency ratio is improved.
[0033] In a possible embodiment, the network device is a router, and the method further includes: acquiring a standard of the router from the router, where the standard of the router is used to indicate a transmission rate supported by the router, and the standard of the router includes an N standard, an AC standard, or an AX standard.
[0034] Therefore, by configuring different thresholds based on different routing formats, the accuracy of threshold determination can be improved, thereby improving the accuracy of switching working modes, thereby achieving better transmission efficiency and bit power consumption.
[0035] In a possible embodiment, when the transmission parameters meet the preset conditions, switching from the first working mode to the second working mode includes: determining whether the first data is business data applied to a preset scenario, the preset scenario includes: a game scenario, a high-definition video scenario, or a small file transfer scenario; if the first data is not business data applied to the preset scenario, then when the transmission parameters meet the preset conditions, switching from the first working mode to the second working mode.
[0036] It can be understood that by applying corresponding preset strategies for data transmission in business scenarios that are not suitable for communication methods that switch working modes, the user experience can be improved.
[0037] In a second aspect, the present application provides an electronic device, comprising one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, and the computer program code includes computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method described in the first aspect and any possible implementation method of the first aspect.
[0038] In a third aspect, an embodiment of the present application provides a chip system, which is applied to an electronic device, and the chip system includes one or more processors, which are used to call computer instructions so that the electronic device executes the method described in the first aspect and any possible implementation method of the first aspect.
[0039] In a fourth aspect, the present application provides a computer-readable storage medium comprising instructions, which, when executed on an electronic device, causes the electronic device to execute the method described in the first aspect and any possible implementation of the first aspect.
[0040] In a fifth aspect, the present application provides a computer program product comprising instructions, which, when executed on an electronic device, enables the electronic device to execute the method described in the first aspect and any possible implementation of the first aspect.
[0041] It can be understood that the electronic device provided in the second aspect, the chip system provided in the third aspect, the computer storage medium provided in the fourth aspect, and the computer program product provided in the fifth aspect are all used to execute the method provided in the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1A A schematic diagram of an example of a scenario to which the present application is applicable provided in an embodiment of the present application;
[0043] Figure 1B A schematic diagram of another example of a scenario to which the present application is applicable provided in an embodiment of the present application;
[0044] Figure 2 A schematic diagram of an example of a wireless communication method provided in an embodiment of the present application;
[0045] Figure 3 A schematic diagram of another example of a wireless communication method provided in an embodiment of the present application;
[0046] Figure 4 A schematic diagram of another example of a wireless communication method provided in an embodiment of the present application;
[0047] FIG. 5A to FIG. 5F A comparison chart of bit power consumption of MIMO mode and SISO mode under different physical speed limits at different modulation and coding scheme levels provided in the embodiment of the present application;
[0048] Fig. 6A and Figure 6B The comparison diagrams of bit power consumption under different physical rate limits in MIMO mode and SISO mode are shown respectively;
[0049] Fig. 7A A schematic diagram of the distribution of modulation and coding schemes in the MIMO mode provided in an embodiment of the present application;
[0050] Figure 7B A schematic diagram of the distribution of modulation and coding schemes in the SISO mode provided in an embodiment of the present application;
[0051] Fig. 8A A schematic diagram of simulating a MIMO wireless channel provided in an embodiment of the present application;
[0052] Figure 8B Provided in the embodiments of this application Fig. 8A Corresponding simulation results;
[0053] Figure 8C A schematic diagram of two-way direct connection of signals under ideal MIMO conditions provided in an embodiment of the present application;
[0054] Fig. 9 A schematic diagram of the structure of an electronic device 400 provided in an embodiment of the present application;
[0055] Fig.10 A schematic diagram of a software system of an electronic device 400 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0057] It should be understood that the "multiple" mentioned in this application refers to two or more. In the description of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solution of this application, the words "first" and "second" are used to distinguish between the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not limit them to be different.
[0058] For the convenience of explanation, the relevant terms of this application are first introduced.
[0059] 1. SISO and receive diversity.
[0060] SISO is a single-transmit single-receive system with a single input and single output. The path between the transmitting antenna and the receiving antenna is unique, and one signal is transmitted. In wireless systems, we define each signal as a spatial stream.
[0061] Since the path between the transmitting antenna and the receiving antenna is unique, such a transmission system is unreliable and the transmission rate is also limited. In order to change this situation, an antenna is added at the terminal so that the receiving end can receive two signals at the same time, that is, single send and multiple receive. Such a transmission system is single-input multiple-output (SIMO). Although there are two signals, these two signals are sent from the same transmitting antenna, so the data sent is the same, and only one signal is still transmitted. In this way, it does not matter if part of a signal is lost, as long as the terminal can receive complete data from another signal. Although the maximum capacity is still one path, the reliability is doubled. This method is called receive diversity.
[0062] 2. MIMO technology allows multiple antennas to send and receive multiple signals at the same time, and can distinguish signals sent to or from different spatial directions. Since the transmission capacity depends on the number of antennas on both the receiving and transmitting sides, increasing the number of transmitting and receiving antennas to two at the same time can achieve independent transmission of two signals and double the transmission rate. Therefore, through technologies such as space division multiplexing and spatial diversity, MIMO technology can improve system capacity, coverage and signal-to-noise ratio without increasing the occupied bandwidth.
[0063] 3. Modulation and coding scheme (MCS) level and transmission negotiation rate.
[0064] The terminal device can transmit data according to the transmission negotiation rate specified by the MCS. Generally, the terminal device will be configured with an MCS modulation and coding table corresponding to the modulation and coding strategy. The MCS modulation and coding table is a form of representation proposed by communication standard protocols, such as the 802.11n protocol, the 802.11.ax protocol, etc., to characterize the communication rate of wireless local area networks (WLAN). MCS corresponds the factors affecting the communication rate to the MCS index to form a rate table. For the convenience of explanation, the different indexes of the MCS are referred to as MCS levels or MCS modulation orders below. For example, Table 1 shows some MCS levels and corresponding transmission negotiation rates (Mbps) in the SISO mode (the corresponding number of spatial streams is 1) and the MIMO mode (the corresponding number of spatial streams is 2) in the bandwidth of 160M and the communication standard of the 802.11.ax protocol.
[0065] When a terminal device starts to transmit data, in order to ensure the optimal throughput, it will negotiate with the network device or other terminal devices to find an initial MCS level (called the negotiation level) that meets the signal quality in the current environment. Under this negotiation level, the theoretical maximum transmission rate that can be achieved when transmitting data between two electronic devices is the transmission negotiation rate. For example, in MIMO mode, the negotiation level is MCS9, and the transmission negotiation rate is the transmission rate corresponding to MCS9 in Table 1, 1921.6Mbps.
[0066] Table 1
[0067]
[0068] 4. Maximum negotiated rate and actual transmission rate.
[0069] Under the negotiation level, when two electronic devices transmit data, the maximum transmission rate that can actually be achieved is the maximum negotiation rate. For example, in MIMO mode, the negotiation level is MCS9, and the transmission negotiation rate is 1921.6Mb / s. However, due to the limitations of certain factors in the communication environment, the maximum transmission rate that can actually be achieved between the two electronic devices can generally reach 70%-80% of the transmission negotiation rate, that is, 1345.12Mbps to 1537.28Mbps.
[0070] The actual transmission rate when data is transmitted between two electronic devices is the actual transmission rate. For example, the actual transmission rate can be obtained by periodically detecting the transmission rate of data transmitted between the two electronic devices.
[0071] 5. Received signal strength indicator (RSSI) indicates the signal strength at a certain location within the wireless network coverage. It is the value of the effective isotropic radiated power (EIRP) after a transmission path loss and obstacle attenuation. It is a measurement unit used to indicate the strength of the received electromagnetic wave signal, and is generally used in WiFi, Bluetooth and other wireless communication technologies.
[0072] RSSI indicates the signal strength in a wireless network. It attenuates with increasing distance and is often negative. It is expressed in dBm (decibel milliwatts). The closer the value is to zero, the higher the signal strength. If RSSI is continuously too low, it means that the uplink signal received by the base station is too weak, which may cause demodulation failure. If RSSI is continuously too high, it means that the received uplink signal is too strong and the mutual interference is too great, which also affects signal demodulation.
[0073] 6. Receiving sensitivity (or relative sensitivity).
[0074] Specifically, the receiving sensitivity of wireless transmission is an important parameter. Improving the receiving sensitivity of the signal can make wireless products have a stronger ability to capture weak signals. As the transmission distance increases, the received signal will become weaker, but high-sensitivity wireless products can still receive data and maintain a stable connection, greatly increasing the transmission distance.
[0075] When the signal energy at the receiving end is less than the nominal receiving sensitivity, the receiving end will not receive any data. That is, the receiving sensitivity is the minimum threshold at which the receiving end can receive the signal. Packet error rate (PER) is a measurement method for measuring receiver sensitivity. In a mobile phone sensitivity test method, a stronger signal is first set, and then the signal strength is gradually reduced for multiple measurements to determine the critical value of PER (for example, 5%). The signal strength value at this time is used as the receiving sensitivity.
[0076] 7. Bit power consumption or unit bit power consumption = device power consumption / actual transmission rate. Therefore, reducing bit power consumption can improve energy efficiency.
[0077] 8. Signal-to-noise ratio (SNR) refers to the ratio of signal to noise in the system.
[0078] The SNR involved in this application is a major technical indicator for measuring the reliability of communication quality of a communication system. In modulated signal transmission, SNR generally refers to the ratio of the average power of the carrier signal at the output end of the channel, that is, the input end of the receiver, to the average power of the noise in the channel, which can be called the carrier-to-noise ratio. In analog communication systems, the signal-to-noise ratio generally refers to the ratio of the average power of the signal at the output end of the demodulator of the communication terminal to the average power of the noise. It is often expressed in decibels (dB), and the definition of decibels is: "The level difference when the common logarithm of the ratio of two similar power quantities or quantities comparable to power multiplied by 10 equals 1."
[0079] Combine the following Figure 1A and Figure 1B Introduce the scenarios to which this application is applicable.
[0080] Figure 1A The schematic diagram shows an example of a scenario to which the present application is applicable. It can be understood that Figure 1A Taking two mobile phones as an example, a scenario of wireless communication between two terminal devices is shown. The terminal devices applicable to the technical solution of this application can be mobile phones, tablet computers, smart screens, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA) and other electronic devices.
[0081] Understandably, Figure 1AThe hotspot scenario is used as an example for illustration, and the hotspot scenario is an application scenario of end-to-end wireless communication. Among them, terminal device 1 serves as a hotspot establishment end, terminal device 2 serves as a hotspot connection end, and terminal device 2 connects to the hotspot of terminal device 1. For example, terminal device 1 can serve as a data transmitter, and terminal device 2 can serve as a data receiver.
[0082] Exemplarily, the hotspot scenario may include a specific business scenario such as a data cloning scenario or a file sharing scenario.
[0083] In the data cloning scenario, users can install data copying software, such as cloning applications, to transfer data between two terminal devices via WLAN. For example, if a user wants to copy data from an old phone to a new phone, he or she can install the mobile cloning application on both the old and new phones. When the new phone is used as the hotspot establishment end and the old phone is used as the hotspot connection end, the old phone connects to the hotspot of the new phone. The user can use the mobile cloning application to set the old phone as the data sending end and the new phone as the data receiving end, and then use the Wi-Fi network to send the data selected by the user in the old phone to the new phone.
[0084] Similarly, in a file sharing scenario, when terminal device 2 is used as a hotspot establishment end and terminal device 1 is used as a hotspot connection end, terminal device 1 connects to the hotspot of terminal device 2, and the user can share files with the other terminal device through one terminal device. For example, terminal device 2 is set as a file transmitter and terminal device 1 is set as a file receiver, and then the file selected by the user in terminal device 2 is shared to terminal device 1 using the Wi-Fi network.
[0085] Figure 1B A schematic diagram showing another example of a scenario to which the present application is applicable. It can be understood that Figure 1B The present application embodiment does not impose any restrictions on the specific type of electronic device. The terminal device can refer to Figure 1A The network device may be a base station, a hub, a switch, a bridge, a router, a gateway, a network interface card, a wireless access point, or other network devices.
[0086] Understandably, Figure 1B In the business scenario in which a user uses a terminal device (such as a mobile phone) to send files to other people, the terminal device needs to send data to a network device (such as a router) to use the router for transmission.
[0087] As described in the background technology, electronic devices with WiFi functions usually support both MIMO technology and SISO technology. Figure 1A or Figure 1BThe terminal devices in the scenario shown all support MIMO and are also compatible with SISO. Given that MIMO technology and SISO technology have their own advantages and disadvantages in data transmission efficiency and power consumption, the terminal device can switch between MIMO mode and SISO mode during data transmission to achieve coordination between transmission efficiency and power consumption. How to switch between MIMO mode and SISO mode more accurately has attracted more and more attention in the industry.
[0088] In the present application, by obtaining the MCS level for transmitting data, and when the MCS level meets the preset conditions, switching between the MIMO mode and the SISO mode is performed. The results obtained through actual testing and simulation show that the wireless communication method of the present application can reduce power consumption while ensuring transmission efficiency. In some embodiments, when the received signal strength indication and / or the actual transmission rate meet the preset conditions, switching between the multi-input multi-output mode and the single-input single-output mode is performed to further improve the accuracy of the switching working mode, thereby achieving higher transmission efficiency and lower power consumption.
[0089] The following will first introduce the wireless communication method provided by the present application in conjunction with the accompanying drawings, and then introduce the specific content of the actual testing and simulation provided by the present application to support the wireless communication method.
[0090] Figure 2 FIG. 1 is a schematic diagram of a wireless communication method 100 provided in an embodiment of the present application. The wireless communication method 100 may be Figure 1A or Figure 1B Execute on any terminal device shown in .
[0091] S101, when transmitting first data in a first working mode, obtaining a transmission parameter used to transmit the first data.
[0092] The first working mode includes a MIMO mode or a SISO mode. The transmission parameter includes a first modulation and coding scheme MCS level, and optionally, also includes RSSI and / or actual transmission rate.
[0093] The first MCS level may be an initial negotiation level negotiated between the terminal device and the opposite device that satisfies the signal quality in the current environment, or may be a negotiation level adjusted based on the initial negotiation level before S101.
[0094] S102: When the transmission parameters meet a preset condition, switch from the first working mode to the second working mode.
[0095] The second working mode includes a MIMO mode or a SISO mode, and the first working mode is different from the second working mode.
[0096] Optionally, after S102, the method further includes: step a, after switching to the second working mode, the electronic device transmits the second data in the second working mode. When transmitting the second data in the second working mode, the transmission parameters used to transmit the second data include a second modulation and coding scheme level. The second modulation and coding scheme level is different from the first modulation and coding scheme level.
[0097] Several possible implementations of S102 are given below.
[0098] Implementation method 1 includes case a and case b, which can be applied to Figure 1A The scene shown.
[0099] Case a: the first working mode includes the MIMO mode, the second working mode includes the SISO mode, and the transmission parameters satisfy the preset conditions including: the first modulation and coding scheme level is less than or equal to the second threshold.
[0100] That is, when the first modulation and coding scheme level is less than or equal to the second threshold, the MIMO mode is switched to the SISO mode. The first modulation and coding scheme level being less than or equal to the second threshold can be understood as low-order modulation.
[0101] It can be understood that in case a, the second MCS level is higher than the first MCS level (which will be explained below through actual testing and / or simulation), and the negotiation rate corresponding to the second MCS level is higher than the negotiation rate corresponding to the first MCS level (a specific example will be given in the wireless communication method 200 below). On the one hand, the MCS level is increased, so that the bit power consumption is reduced, thereby improving the energy efficiency ratio; on the other hand, the transmission negotiation rate is increased, thereby improving the transmission efficiency.
[0102] Therefore, case a can achieve comprehensive benefits including improved transmission efficiency and reduced bit power consumption.
[0103] Exemplarily, when the transmission parameters further include RSSI, the above transmission parameters satisfy the preset conditions and further include: the value of RSSI is less than a fourth threshold.
[0104] Exemplarily, in the case where the transmission parameters further include an actual transmission rate, the above transmission parameters satisfying the preset conditions further include: the actual transmission rate is less than a sixth threshold.
[0105] Case b: the second working mode includes the MIMO mode, the first working mode includes the SISO mode, and the transmission parameters satisfy the preset conditions including: the first modulation and coding scheme level is greater than or equal to the first threshold.
[0106] That is, when the first modulation and coding scheme level is greater than or equal to the first threshold, the SISO mode is switched to the MIMO mode. The first modulation and coding scheme level being greater than or equal to the first threshold can be understood as high-order modulation.
[0107] It can be understood that in case b, the second MCS level is lower than the first MCS level (which will be described below through actual testing and / or simulation), and the negotiation rate corresponding to the second MCS level is higher than the negotiation rate corresponding to the first MCS level (a specific example will be given in the wireless communication method 200 below). Therefore, case b can increase the transmission negotiation rate, thereby improving the transmission efficiency.
[0108] Exemplarily, when the transmission parameters further include RSSI, the above transmission parameters satisfy the preset conditions and further include: the value of RSSI is greater than a third threshold.
[0109] Exemplarily, in the case where the transmission parameters further include an actual transmission rate, the above transmission parameters satisfying the preset conditions further include: the actual transmission rate is greater than a fifth threshold.
[0110] It can be understood that in case a and case b, on the basis of the MCS level meeting the preset conditions, switching between the multi-input multi-output mode and the single-input single-output mode is performed when the received signal strength indication and / or the actual transmission rate meets the preset conditions, so as to further improve the accuracy of switching the working mode, thereby achieving higher transmission efficiency and lower power consumption.
[0111] Implementation method 2, including case c and case d, can be applied to Figure 1B The scene shown.
[0112] Case c: the first working mode includes the MIMO mode, the second working mode includes the SISO mode, and the transmission parameters satisfy the preset conditions including: the first MCS level is greater than or equal to the first threshold.
[0113] That is, when the first MCS level is greater than or equal to the first threshold, the MIMO mode is switched to the SISO mode. The first modulation and coding scheme level being greater than or equal to the first threshold can be understood as high-order modulation.
[0114] It can be understood that the second MCS level is higher than the first MCS level (which will be explained below through actual tests and / or simulations). The increase in the MCS level reduces the power consumption per bit, thereby improving the energy efficiency ratio.
[0115] Exemplarily, when the transmission parameters further include RSSI, the above transmission parameters satisfy the preset conditions and further include: the value of RSSI is greater than a seventh threshold.
[0116] Optionally, when the RSSI value is greater than the seventh threshold, it is determined whether the first MCS level is greater than or equal to the first threshold. If the determination result is yes, the transmission parameters including the first MCS level and RSSI meet the preset conditions; otherwise, the transmission parameters do not meet the preset conditions.
[0117] It can be understood that when the RSSI value is greater than the seventh threshold, the RSSI is larger, indicating that the signal is stronger. For example, this situation can be called a strong field, and the terminal device can cover the user bandwidth when transmitting data in MIMO mode to ensure transmission performance. Correspondingly, in a strong field, the MCS level is generally higher, so as to further determine whether the first MCS level is greater than or equal to the first threshold.
[0118] Exemplarily, when the RSSI value is greater than the seventh threshold, the transmission negotiation rate corresponding to the first MCS level is greater than or equal to the user bandwidth per unit time. And, when the first modulation and coding scheme level is greater than or equal to the first threshold, the transmission negotiation rate corresponding to the second modulation and coding scheme is greater than or equal to the user bandwidth per unit time.
[0119] It can be understood that the transmission negotiation rate before and after switching the working mode can cover the user bandwidth, so that the transmission efficiency can be guaranteed before and after switching the working mode.
[0120] It can be understood that the first threshold in case b (for the convenience of explanation, referred to as the first threshold #1) and the first threshold in case c (for the convenience of explanation, referred to as the first threshold #2) may be different.
[0121] Case d: the first working mode includes the MIMO mode, the second working mode includes the SISO mode, and the transmission parameters satisfy the preset conditions including: the modulation and coding scheme level is less than or equal to the second threshold.
[0122] That is, when the first modulation and coding scheme level is less than or equal to the second threshold, the MIMO mode is switched to the SISO mode. The first modulation and coding scheme level being less than or equal to the second threshold can be understood as low-order modulation.
[0123] It can be understood that the second MCS level is higher than the first MCS level (which will be explained below through actual tests and / or simulations). The increase in the MCS level reduces the power consumption per bit, thereby improving the energy efficiency ratio.
[0124] Exemplarily, when the transmission parameters also include RSSI, the above transmission parameters satisfy the preset conditions, and further include: the value of RSSI is less than the eighth threshold. Optionally, when the value of RSSI is less than the eighth threshold, it is determined whether the first MCS level is less than or equal to the second threshold. If the judgment result is yes, the transmission parameters including the first MCS level and RSSI satisfy the preset conditions; otherwise, the transmission parameters do not satisfy the preset conditions.
[0125] It can be understood that when the RSSI value is less than the eighth threshold, the RSSI is small, indicating that the signal is weak. For example, this situation can be called a weak field, and the terminal device is likely to fail to meet the user bandwidth when transmitting data in MIMO mode. Accordingly, in a weak field, the MCS level is generally low, so as to further determine whether the first MCS level is less than or equal to the second threshold.
[0126] Exemplarily, when the RSSI value is less than the eighth threshold, the transmission negotiation rate corresponding to the first MCS level is less than the user bandwidth per unit time. And, when the first modulation and coding scheme level is less than or equal to the second threshold, the transmission negotiation rate corresponding to the second modulation and coding scheme level is greater than the transmission negotiation rate corresponding to the first modulation and coding scheme level, and is less than the user bandwidth per unit time.
[0127] It is understandable that the transmission negotiation rate before and after switching the working mode cannot cover the user bandwidth, but in this case, since the transmission negotiation rate after switching is improved compared to before switching, the transmission efficiency can still be improved.
[0128] Therefore, case c or case d can reduce bit power consumption while ensuring transmission efficiency.
[0129] Exemplarily, for the above case c and case d, the seventh threshold is greater than the eighth threshold.
[0130] It can be understood that the second threshold in case a (for the convenience of explanation, referred to as the second threshold #1) and the second threshold in case d (for the convenience of explanation, referred to as the second threshold #2) may be different.
[0131] Optionally, before S101 or S102, the method 100 may further include: step b, determining a seventh threshold and an eighth threshold according to the capability of the network device and the user bandwidth, wherein the capability of the network device includes a transmission rate supported by the network device.
[0132] Exemplarily, the terminal device may pre-configure multiple sets of RSSI thresholds (e.g., m*n sets) according to the capabilities of multiple network devices (e.g., m types) and multiple possible user bandwidths (e.g., n types), and each set of thresholds includes thresholds corresponding to transmission parameters. According to step b, a set of thresholds may be selected from the multiple sets of thresholds, and the set of thresholds includes the seventh threshold and the eighth threshold corresponding to the RSSI, and optionally, also includes the first threshold and the second threshold corresponding to the MCS level.
[0133] It is understandable that the transmission rate supported by the network device will restrict the performance of the Wi-Fi network. In the use of broadband, due to issues such as tariffs, the allocated bandwidth resources may be different, which also restricts the performance of the Wi-Fi network, that is, the Wi-Fi wireless network will have a speed limit problem. Therefore, by determining the RSSI threshold according to the capabilities of the network device and the user bandwidth in step b, it is possible to determine a suitable threshold based on the capabilities of different network devices and different user bandwidths, improve the accuracy of the threshold determination, and then improve the accuracy of the switching working mode, thereby achieving better transmission efficiency and bit power consumption.
[0134] Exemplarily, for the above-mentioned implementation manner 1 and implementation manner 2, the second threshold is smaller than the first threshold.
[0135] It can be understood that, from the actual test and / or simulation of the present application, the difference between the second modulation and coding scheme level and the first modulation and coding scheme level is 3 or 4. Preferably, the difference between the first threshold and the second threshold is greater than the difference between the second modulation and coding scheme level and the first modulation and coding scheme level. Figure 1A or Figure 1B In the scenario shown, the terminal device switches back and forth between the two working modes to ensure the stability of communication.
[0136] Optionally, the method 100 further includes step c parallel to S102. In step c, if the transmission parameter does not meet the preset condition, the working mode may not be switched, that is, the terminal device may continue to transmit data based on the first working mode. In other words, if step c is executed, S102 is not executed.
[0137] Optionally, after executing S102 , the process may return to execute S101 , that is, execute method 100 in a loop. For example, method 100 may be executed in a loop until data transmission is completed.
[0138] The following are respectively Figure 1A and Figure 1BThe scenario shown introduces several possible examples of the wireless communication method 100, including the wireless communication method 200 and the wireless communication method 300. Among them, the wireless communication method 200 provides further examples for the case a and the case b in the above implementation mode 1, and the wireless communication method 300 provides further examples for the case c and the case d in the above implementation mode 2.
[0139] Figure 3 A schematic diagram of a wireless communication method 200 provided in an embodiment of the present application is shown. The wireless communication method 200 is applicable to Figure 1A The scenario shown corresponds to the above implementation method.
[0140] As mentioned above, Figure 1A The hotspot scenarios shown may include data cloning scenarios or file sharing scenarios. It is understandable that since the amount of data transmitted in the data cloning scenario is very large, the terminal device will generate significant heat. Generally, the heat can be reduced by reducing the transmission power of the terminal device. Therefore, the transmission power of the terminal device in the data cloning scenario is generally low. When the transmission power is low, the transmission negotiation rate is more easily affected by the distance between the two terminal devices, so it is more necessary to ensure the transmission efficiency.
[0141] S201 and S202 may be used as a possible example of S101.
[0142] S201, the transmitting end performs data transmission in MIMO mode.
[0143] S202: Detect the MCS level, RSSI and actual transmission rate at certain time intervals (or periodically).
[0144] For example, after the end-to-end transmission is established and stabilized (eg, 10 seconds after the transmission is established), S202 is started.
[0145] For example, the RSSI may be obtained from the receiving end.
[0146] S203 and S204 may be used as a possible example of case a of S102.
[0147] S203, determining whether the MCS level, RSSI and actual transmission rate are less than a preset threshold.
[0148] If the judgment result of S203 is yes, then execute S204; if the judgment result is no, then return to execute S201.
[0149] Specifically, it is determined whether the MCS level is less than or equal to the second threshold #1 or whether the MCS level is less than the second threshold #1', whether the RSSI is less than the fourth threshold, and whether the actual transmission rate is less than the sixth threshold.
[0150] Exemplarily, the second threshold #1 is less than or equal to 3, such as 2, 2.5 or 3. The second threshold #1' is less than or equal to 4, such as 3, 3.5 or 4.
[0151] For example, assuming that the second threshold #1 is 3, the MCS level is less than or equal to the second threshold #1, and the MCS level is 0, 1, 2 or 3. Taking the MCS level of 3 as an example, if the preset condition that the MCS level is less than or equal to the second threshold #1 is met, S204 is executed. It can be understood that, as shown in Table 1, the negotiation rate corresponding to MCS3 in MIMO mode is 288.2Mbps. Assuming that the MIMO mode is switched to the SISO mode at this time, the MCS level used to transmit data in the switched SISO mode is 6 or 7, then the transmission negotiation rate corresponding to MCS6 and MCS7 is 648.5Mbps or 720.6Mbps, which are obviously greater than 288.2Mbps. Then, when the working mode is switched at this time, the transmission negotiation rate increases, which can improve the transmission efficiency; the MCS level is improved, and the bit power consumption can be reduced. Similarly, when the MCS level is 0, 1 or 2, the transmission rate can also be improved and the bit power consumption can be reduced.
[0152] For another example, assuming that the second threshold #1 is 3 and the MCS level is 5, the MCS level does not satisfy the condition of being less than or equal to the second threshold #1. According to the judgment condition in S203, the working mode will not be switched, but the process returns to execute S201. It can be understood that, as shown in Table 1, the negotiation rate corresponding to MCS5 in MIMO mode is 1153Mbps. Assuming that the MIMO mode is switched to SISO mode at this time, the MCS level used to transmit data in the switched SISO mode is 8 or 9, then the transmission negotiation rates corresponding to MCS8 and MCS9 are 864.7Mbps or 960.8Mbps, both of which are less than 1153Mbps. If the working mode is switched at this time, the transmission negotiation rate will be reduced, the transmission efficiency will be reduced, and the benefits in transmission performance cannot be guaranteed.
[0153] Exemplarily, the sixth threshold value can be determined based on the second threshold value #1. For example, the sixth threshold value is determined based on the maximum negotiation rate corresponding to the MCS level equal to the second threshold value #1. Exemplarily, the second threshold value #1 is 3, and the transmission negotiation rate corresponding to MCS3 in MIMO mode in Table 1 is 576.4Mbps. Taking into account the limitations of factors such as signal-to-noise ratio, the actual transmission rate corresponding to MCS3 generally does not reach 576.4Mbps. For example, the maximum negotiation rate can reach 80% of the transmission negotiation rate, which is 460.8Mbps. The actual transmission rates are all less than or equal to the maximum negotiation rate. Therefore, on the basis of the maximum negotiation rate, the sixth threshold value can be obtained by reducing some ranges, for example, 400Mbps.
[0154] Exemplarily, the fourth threshold may be determined according to the second threshold #1. For example, RSSI may be obtained by formula 1. RSSI=P-10*log 10 (D)+S (Formula 1). Among them, P is the value of the transmission power, S is the relative sensitivity, and D is the distance between the transmitter and the receiver. For example, according to the above, the maximum negotiation rate is first determined according to the second threshold #1 (for example, 3). It can be understood that the maximum transmission power that can be transmitted at each transmission rate is generally pre-set in the electronic device. Then the maximum transmission power corresponding to the maximum negotiation rate is determined as the target transmission power, and substituted into Formula 1 as P; the insertion loss and target relative sensitivity between the transmitter and the receiver are measured, and the measured value of the target relative sensitivity is substituted into Formula 1 as S, and the target spatial distance between the two ends is obtained according to the insertion loss, and substituted into Formula 1 as D; thereby calculating the target RSSI. The actual RSSI is generally less than or equal to the target RSSI, so the fourth threshold can be obtained by reducing some ranges based on the target RSSI.
[0155] Exemplarily, the fourth threshold is -54 dBm. Exemplarily, the sixth threshold is 50 MB / s or 400 Mbps.
[0156] It is understandable that 1MB / s = 8Mbps, which is uniformly explained here and will not be elaborated below.
[0157] S204, transmit data in SISO mode.
[0158] It can be understood that switching from MIMO mode to SISO mode can reduce the signal-to-noise ratio requirement and increase the actual transmission rate.
[0159] S205, determining whether data transmission is completed.
[0160] If the judgment result is yes, the transmission ends; if the judgment result is no, S206 is executed.
[0161] S206 may be taken as a possible example of S101.
[0162] S206: Detect the MCS level, RSSI and actual transmission rate at certain time intervals (or periodically).
[0163] For example, the RSSI may be obtained from the receiving end.
[0164] S207 and S208 may be used as a possible example of case b of S102.
[0165] S207, determining whether the MCS level, RSSI and actual transmission rate are greater than a preset threshold.
[0166] If the judgment result of S207 is yes, then execute S208; if the judgment result is no, then return to execute S204.
[0167] Specifically, it is determined whether the MCS level is greater than or equal to the first threshold #1 or greater than the first threshold #1', whether the RSSI is greater than the third threshold, and whether the actual transmission rate is greater than the fifth threshold.
[0168] Exemplarily, the first threshold #1 is greater than or equal to 8, for example, the first threshold #1 is 8 or 9; or, the first threshold #1' is greater than or equal to 7, for example, the first threshold #1' is 7, 7.5, 8. Exemplarily, the third threshold is -39dBm. Exemplarily, the fifth threshold is 80MB / s or 640Mbps.
[0169] For example, assuming that the first threshold #1 is 8 and the MCS level 1 is greater than or equal to the first threshold #1, S208 is executed. It can be understood that the MCS level is 8. As shown in Table 1, the negotiation rate corresponding to MCS8 in SISO mode is 864.7Mbps. At this time, the SISO mode is switched to the MIMO mode. The MCS level used to transmit data in the switched MIMO mode is 5 or 4. Then the transmission negotiation rates corresponding to MCS5 and MCS4 are 1153Mbps or 864.8Mbps, both greater than 864.7Mbps. Therefore, by switching the working mode, the transmission negotiation rate is increased, which can improve the transmission efficiency. Similarly, when the MCS level is 9, 10 or 11, the transmission efficiency can also be improved.
[0170] For another example, assuming that the first threshold #1 is 8 and the MCS level is 5, and the preset condition that the MCS level 1 is greater than or equal to the first threshold #1 is not met, the working mode is not switched, but the process returns to execute S204. It can be understood that, as shown in Table 1, the negotiation rate corresponding to MCS5 in SISO mode is 576.5Mbps. Assuming that the SISO mode is switched to the SISO mode at this time, the MCS level used to transmit data in the switched MIMO mode is 2 or 1, then the transmission negotiation rates corresponding to MCS2 and MCS1 are 432.4Mbps or 288.2Mbps, both less than 576.5Mbps. If the working mode is switched at this time, the transmission efficiency cannot be guaranteed. Moreover, since the MCS level is reduced, the bit power consumption will not be reduced. It can be understood that the third threshold or the fifth threshold can be obtained based on the first threshold #1. Specifically, the method for obtaining the third threshold can refer to the description of obtaining the fourth threshold in S203, and the method for obtaining the fifth threshold can refer to the description of obtaining the sixth threshold in S203.
[0171] It can be seen from S203 and S207 that when the MCS level in MIMO mode is greater than or equal to the first threshold #1, the MCS level is increased by 3 or 4 levels when switching from MIMO mode to SISO mode; when the MCS level in SISO mode is less than or equal to the second threshold #1, the MCS level is reduced by 3 or 4 levels when switching from SISO mode to MIMO mode. In both cases, the transmission negotiation rate will be increased, so the transmission efficiency can be improved.
[0172] S208, switching to MIMO mode, and transmitting data in MIMO mode.
[0173] S209, determining whether data transmission is completed.
[0174] If the judgment result is yes, the transmission ends; if the judgment result is no, the process returns to execute S201.
[0175] Figure 4 A schematic diagram of a wireless communication method 300 provided in an embodiment of the present application is shown. The wireless communication method 300 is applicable to Figure 1B The scenario shown in FIG. 1 corresponds to the second implementation method described above.
[0176] S301 may be used as a possible example of step b. The network device is a router for example.
[0177] S301, retrieve a switching threshold according to user bandwidth and routing capability.
[0178] The switching threshold includes an upper threshold (ie, the seventh threshold mentioned above) and a lower threshold (ie, the eighth threshold mentioned above) corresponding to RSSI, and also includes a first threshold #2 and a second threshold #2 corresponding to the MCS level.
[0179] Exemplarily, the routing capability is the routing standard, and the standard of the router is used to indicate the transmission rate supported by the router. The standards of the router include N standard (i.e. 802.11n, also known as Wi-Fi 4), AC standard (i.e. 802.11ac, also known as Wi-Fi 5) or AX standard (i.e. 802.11ax, also known as Wi-Fi 6). For example, the mainstream transmission rate of Wi-Fi 4 routing is 300Mbps, and the maximum transmission rate is 450Mbps; Wi-Fi 5 routing supports a maximum transmission rate of 1733Mbps; the transmission rate of Wi-Fi 6 routing in the 2.4GHz spectrum can reach up to 1148Mbps, and the transmission rate of the 5GHz spectrum can reach up to 4804Mbps.
[0180] Exemplarily, the terminal device obtains the router model from the router.
[0181] Therefore, by configuring different thresholds based on different routing formats, the accuracy of the thresholds can be improved, and then the accuracy of switching working modes can be improved, thereby achieving better transmission efficiency and bit power consumption.
[0182] For example, the user bandwidth is 100M or 1000M, etc. User bandwidth (or network bandwidth or operating bandwidth) refers to the amount of data that can be transmitted within a unit of time (generally 1 second).
[0183] Optionally, S302, determining whether the current business scenario is a preset business scenario.
[0184] When S302 is not executed, S303b is executed after S301.
[0185] Alternatively, when executing S302, if the judgment result of S302 is yes, execute S303a; otherwise, execute S303b.
[0186] Exemplarily, the preset scenarios include: game scenarios, high-definition video scenarios, or small file transfer scenarios, etc.
[0187] It is understandable that the data to be transmitted can be used to determine whether the current scene is a preset scene. For example, the business of the game scene is to transmit game data. When the data to be transmitted is identified as game data, it can be determined that the current scene is a game scene, that is, the current scene is a preset scene.
[0188] S303a, completing the business according to the preset strategy of the preset business scenario.
[0189] The service is a service corresponding to a preset service scenario. For example, the service of a game scenario is the transmission of game data, and the service of a high-definition video scenario is the transmission of high-definition video data.
[0190] Exemplarily, the transmitting end is pre-configured with a plurality of preset business scenarios and their corresponding preset policies, and the corresponding preset policies are called according to the preset business scenarios.
[0191] For example, the gaming scenario has high requirements for latency, and the preset strategy is to actively switch to SISO mode or SIMO mode to achieve reception diversity. The transmission of gaming data in SISO mode or SIMO mode is considered to be the completion of the service.
[0192] For example, in the HD video scene, high throughput is required. The preset strategy is to maintain the MIMO mode and not switch the working mode to ensure transmission performance. The HD video data transmission in MIMO mode is completed.
[0193] For another example, in the small file transmission scenario, the transmission performance requirement is low, and the preset strategy is to maintain the SISO mode and not switch the working mode to save power. The small file transmission in the SISO mode is completed.
[0194] It can be understood that by applying corresponding preset strategies for data transmission in business scenarios that are not suitable for communication methods that switch working modes, the user experience can be improved.
[0195] S303b, S304, S305a, S306a and S307a can be used as a possible example of S101 and S102. Among them, S305a, S306a and S307a can be used as a possible example of the above situation c.
[0196] Alternatively, S303b, S304, S305b, S306b and S307b can be used as a possible example of S101 and S102. Among them, S305b, S306b and S307b can be used as a possible example of the above situation d.
[0197] S303b, perform data transmission in MIMO mode.
[0198] In the process of S303b, RSSI may be obtained, for example, from a router.
[0199] S304, determining whether the RSSI is greater than an upper threshold or a lower threshold.
[0200] For example, taking Wi-Fi 6 routing and 1000Mbit operating bandwidth as an example, the upper threshold is -36dBm and the lower threshold is -50dBm.
[0201] If the RSSI value is greater than the upper threshold, execute S305a; if the RSSI value is less than the lower threshold, execute S305b; if the RSSI is neither greater than the upper threshold nor less than the lower threshold, that is, the RSSI value is less than or equal to the upper threshold and greater than or equal to the lower threshold, execute S305c.
[0202] The following first introduces S305a, S306a and S307a in sequence, then introduces S305b, S306b and S307b in sequence, and finally introduces S305c.
[0203] If the RSSI value is greater than the upper threshold, S305a, it is determined to be a strong field.
[0204] S306a: Determine whether the MCS level is greater than or equal to a first threshold #2.
[0205] Or, S306a, determine whether the MCS level is greater than the first threshold #2'.
[0206] If the judgment result of 306a is yes, then S307a is executed; if the judgment result is no, then S305c is executed. It can be understood that if the judgment result of S306a is no, it means that the transmission parameters do not meet the preset conditions and the working mode is not switched.
[0207] Taking Wi-Fi 6 routing and 1000Mbit operating bandwidth as an example, the first threshold #2 is greater than or equal to 7, for example, the first threshold #2 is 7, 7.5 or 8; or, the first threshold #2' is greater than or equal to 6, for example, the first threshold #2' is 6, 6.5 or 7.
[0208] For example, Table 2 shows the MCS level and the corresponding transmission negotiation rate (Mbps) in SISO mode (the corresponding number of spatial streams is 1) and MIMO mode (the corresponding number of spatial streams is 2) when the maximum bandwidth is 160M and the communication standard is 802.11.ax protocol, as well as the operating bandwidth (or user bandwidth or network bandwidth) supported by the transmission negotiation rate.
[0209] Table 2
[0210]
[0211] It can be understood that at this time, under a strong field, the signal is strong, and it can be considered that the transmission negotiation rate can reach the user bandwidth. As can be seen from Table 2, in SISO mode, the MCS level is above 10, the transmission negotiation rate can reach 1080.9Mbps, and in MIMO mode, the MCS level is above 5, and the transmission negotiation rate can reach 1153Mbps, which can cover the user bandwidth and ensure transmission efficiency.
[0212] S307a, switching to SISO mode to complete current data transmission.
[0213] For example, assuming that the first threshold #2 is 7, and the MCS level in MIMO mode meets the preset condition of being greater than or equal to the first threshold #2, S307a is executed. It can be understood that the MCS level in MIMO mode is 7, and the transmission negotiation rate corresponding to MCS7 is 1441.2Mbps, which can cover the user bandwidth of 1000M. After switching to SISO mode, the MCS level is increased by 3 levels to 10. The transmission negotiation rate corresponding to MCS10 is 1080.9Mbps, which can still cover the user bandwidth of 1000M and ensure transmission efficiency. Similarly, when the MCS level in MIMO mode is 8, the transmission negotiation rate corresponding to the switched MCS11 can also cover the user bandwidth of 1000M and ensure transmission efficiency.
[0214] Therefore, when the MCS level in the MIMO mode satisfies the preset condition of being greater than or equal to the first threshold #2, after switching to the SISO mode, the transmission efficiency can still be guaranteed, the bit power consumption can be reduced, and the energy efficiency ratio can be improved.
[0215] For another example, assuming that the first threshold #2 is 7, and the MCS level in the MIMO mode is 5, if the preset condition of being greater than or equal to the first threshold #2 is not met, S307a is not executed. It can be understood that when the MCS level in the MIMO mode is 5, assuming that the working mode is switched to the SISO mode, the MCS level is increased by 3 or 4 levels to 8 or 9, and the transmission negotiation rate corresponding to MCS8 or MCS9 is 864.7Mbps or 960.8Mbps, which cannot cover the user bandwidth of 1000M, and the transmission negotiation rate cannot be guaranteed.
[0216] S305b, S306b and S307b are introduced in turn below.
[0217] If the RSSI value is less than the lower threshold, S305b, it is determined to be a weak field.
[0218] It is understandable that in weak field conditions, the signal is weak and the Wi-Fi performance is poor. The MIMO mode before switching does not meet the 1000M broadband, and the SISO mode after switching still does not meet the 1000M broadband, but it can improve transmission efficiency and energy efficiency.
[0219] S306b: Determine whether the MCS level is less than or equal to a second threshold #2.
[0220] Alternatively, S306b, determine whether the MCS level is less than a second threshold #2'.
[0221] If the judgment result is yes, execute S307b; if the judgment result is no, execute S305c.
[0222] Taking Wi-Fi 6 routing and 1000Mbit operating bandwidth as an example, the second threshold #2 may be less than or equal to 3, such as 3, 2.5, or 2. Alternatively, the second threshold #2' may be less than or equal to 4, such as 4 or 3.5.
[0223] S307b, switching to MIMO mode to complete current data transmission.
[0224] For example, assuming that the second threshold #2 is 3, and the MCS level in MIMO mode is 3, which is equal to the second threshold #2, then S307b is executed. It can be understood that, as shown in Table 2, the negotiated transmission rate corresponding to MCS3 in MIMO mode is 576.4Mbps, which cannot cover the user bandwidth of 1000M. The MCS level in SISO mode after switching is 6 or 7, and the corresponding negotiated transmission rates are 648.5Mbps and 720.6Mbps, both of which cannot cover the user bandwidth of 1000M. However, 648.5Mbps and 720.6Mbps are both greater than 576.4Mbps, and the transmission negotiation rate has been improved, which can still improve the transmission efficiency; the MCS level has been improved, which can still reduce bit power consumption, improve energy efficiency, and achieve the purpose of power saving. Similarly, when the MCS level is 0, 1 or 2, switching will also have similar beneficial effects.
[0225] For another example, assuming that the second threshold #2 is 3, and the MCS level in MIMO mode is 5, which is greater than the second threshold #2, S307b is not executed. It can be understood that the negotiated transmission rate corresponding to MCS5 in MIMO mode is 1153Mbps. Assuming that the working mode is switched to SISO mode, the MCS level is increased by 3 levels to 8, and the transmission negotiation rate corresponding to MCS8 is 864.7Mbps, which not only cannot cover the 1000M user bandwidth, but also significantly reduces the transmission negotiation rate, reduces the transmission performance, and cannot improve the transmission efficiency.
[0226] It can be understood that in the wireless communication method provided by the present application, the setting principle for the threshold of the MCS level includes that the priority of ensuring or improving transmission efficiency is higher than the priority of reducing bit power consumption. Therefore, the present application sets the threshold of the MCS level, which can avoid the situation where the bit power consumption is reduced blindly and the transmission efficiency is affected, and the efficiency of data transmission is guaranteed, thereby ensuring the user experience.
[0227] S305c is described below. As described above, if the judgment result of S304 or S306a or S306b is no, S305c is executed.
[0228] It can be understood that if the judgment result of S306b is no, it means that the transmission parameters do not meet the preset conditions and the working mode is not switched.
[0229] S305c: Data transmission is performed in MIMO mode, that is, the working mode is not switched.
[0230] After executing the above S307a, S307b or S305c, S308 is executed.
[0231] S308, determining whether there is subsequent business.
[0232] If the judgment result is no, the process enters the standby state; if the judgment result is yes, the process returns to S302 to continue the execution.
[0233] The above introduces the wireless communication method provided by the present application. The following introduces the specific content of the actual testing and simulation provided by the present application to support the wireless communication method.
[0234] In order to better understand the other contents provided by the present application to support the actual test and simulation of the wireless communication method to be introduced below, the relationship between the receiving sensitivity (or relative sensitivity) and SNR mentioned above is first introduced.
[0235] The receiving sensitivity can be determined based on SNR and other parameters. The calculation formula for receiving sensitivity is S=X+SNR (Formula 2), where S is the receiving sensitivity in dBm. X is an influencing factor other than SNR, such as thermal noise power within the bandwidth, system noise coefficient, etc. Here, SNR is specifically the signal-to-noise ratio required for demodulation in dB. The smaller the minimum signal-to-noise ratio required for demodulation, the better, which can increase the receiving performance of the system. It can be seen from Formula 2 that, when other conditions remain unchanged, the difference between the two receiving sensitivities can be understood as the difference in SNR used to generate the two receiving sensitivities. For example, when the hardware capabilities of the device remain unchanged, the difference between the actually tested receiving sensitivity under MIMO transmission and the actually tested receiving sensitivity under SISO transmission is the difference between the SNR under MIMO transmission and the SNR under SISO transmission.
[0236] It can be seen from the above formula 1 that, when other conditions remain unchanged, the difference between the two RSSIs can be understood as the difference between the two receiving sensitivities used to generate the two RSSIs. Furthermore, combining formula 1 and formula 2, the difference between the two RSSIs can be understood as the difference between the two SNRs used to generate the two receiving sensitivities.
[0237] FIG. 5A to FIG. 5F A comparison chart of bit power consumption of MIMO mode and SISO mode under different physical speed limits at different MCS levels provided in an embodiment of the present application is shown.
[0238] in, FIG. 5A to FIG. 5F They correspond to MCS1, MCS3, MCS5, MCS7, MCS9 and MCS11 respectively. The horizontal axis is the physical speed limit, that is, the actual transmission rate; the vertical axis is the bit power consumption (or bit power consumption). The maximum value of the horizontal axis of each broken line is the maximum negotiated rate.
[0239] Figure 5D , Figure 5E and Fig. 5FThey correspond to MCS7, MCS9 and MCS11 respectively, which are high-order modulation. Figure 5D , Figure 5E and Fig. 5F It can be seen that when the horizontal coordinates are the same, the vertical coordinate of the line corresponding to the SISO mode is significantly smaller than the vertical coordinate of the line corresponding to the MIMO mode. Therefore, under high-order modulation, when the MCS level is the same and the actual transmission rate is the same, the bit power consumption of the SISO mode is significantly lower than the bit power consumption of the MIMO mode.
[0240] However, under low-order modulation, the above bit power consumption change trend will be reversed. FIG. 5A to FIG. 5C Corresponding to MCS1, MCS3 and MCS5 respectively. Figure 5C As shown in Figure 1, the bit power consumption of SISO mode is very close to that of MIMO mode. Figure 5A and Figure 5B It can be seen that the bit power consumption of the MIMO mode is slightly lower than that of the SISO mode.
[0241] In addition, by FIG. 5A to FIG. 5F It can also be seen that the maximum value of the horizontal coordinate of the broken line corresponding to the SISO mode is significantly lower than the maximum value of the horizontal coordinate of the broken line corresponding to the MIMO mode SISO mode. Therefore, it can be seen that under the same MCS level and the same resource configuration (for example, the maximum transmission rate supported by the hardware is 1000Mbps), the maximum negotiated rate of the SISO mode is significantly lower than the maximum negotiated rate of the MIMO mode.
[0242] Fig. 6A and Figure 6B The comparison diagrams of bit power consumption under different physical speed limits in MIMO mode and SISO mode are shown respectively. Fig. 6A and Figure 6B Six straight lines respectively show the correspondence between the physical speed limit and the bit power consumption when using MCS1, MCS3, MCS5, MCS7, MCS9 and MCS11.
[0243] exist Fig. 6A or Figure 6B In the figure, comparing the broken lines corresponding to MCS1 to MCS11, the higher the MCS level, the lower the bit power consumption; from the changing trend of each broken line corresponding to MCS1 to MCS11, it can be seen that the higher the physical speed limit, the lower the bit power consumption; under the same physical speed limit, the higher the MCS level, the lower the bit power consumption.
[0244] Therefore, on the one hand, FIG. 5A to FIG. 5F It can be seen that, at high-order modulation, the bit power consumption in SISO mode is significantly lower at the same MCS level; at low-order modulation, the bit power consumption in SISO mode and MIMO mode is very close at the same MCS level. Fig. 6A and Figure 6B It can be seen that under the same working mode (MIMO mode or SISO mode), the higher the MCS level, the lower the bit power consumption.
[0245] Therefore, under the same test conditions, if the MCS level in the SISO mode is higher than the MCS level in the MIMO mode, the bit power consumption in the SISO mode is better than the bit power consumption in the MIMO mode.
[0246] Fig. 7A A schematic diagram of MCS distribution in MIMO mode provided in an embodiment of the present application is shown. Figure 7B A schematic diagram of MCS distribution in the SISO mode provided in an embodiment of the present application is shown.
[0247] in, Fig. 7A The corresponding RSSI value in MIMO mode is -5dBm. Figure 7B The corresponding RSSI value in SISO mode is -24dBm.
[0248] in, Fig. 7A or Figure 7B In the figure, the horizontal axis is the MCS level, for example, the horizontal axis (6, 7] represents MCS7, and another example [0, 1] represents MCS0 and MCS1. The vertical axis is the number of statistics. MCS distribution can be understood as periodically collecting test data of the MCS level over a period of time, and recording the number of MCS levels collected at the corresponding MCS level. For example, Fig. 7A The black rectangle with the horizontal coordinate (11, 12] and the vertical coordinate around 350 indicates that the number of MCS12 test data collected in a period of time is about 350. Therefore, Fig. 7A or Figure 7B The proportion of the collected test data at each MCS level is intuitively displayed.
[0249] It can be understood that the transmitter in the MIMO mode transmits two signals, the receiver receives two signals, and the RSSI signal amplitude obtained by the receiver for detecting the two signals is generally twice the RSSI signal amplitude obtained by detecting one signal.
[0250] Thus, for Fig. 7A In the MIMO mode shown, assuming that the signal amplitude of the RSSI of one of the signals is removed, that is, the RSSI (-5dBm) is halved (i.e., minus 3dB), the RSSI'=-8dBm obtained by the receiving end when one signal is transmitted in the MIMO mode. It can be understood that dBm is a logarithmic unit, and halving -5dBm is minus 3dB.
[0251] It can also be understood that the smaller the RSSI value is, the greater the distance between the transmitter and the receiver is. Fig. 7A and Figure 7B In the case of receiving the same signal, -8dBm>-24dBm, indicating Fig. 7A The distance between the corresponding transmitter and receiver is closer. Fig. 7A and Figure 7B In the figure, the proportion of the number of test data of each MCS level is very similar, so it can be almost considered that the SNR in MIMO mode is almost the same as the SNR in SISO mode.
[0252] Therefore, in order to achieve almost the same SNR in MIMO mode and SISO mode, the distance between the transmitter and the receiver in SISO mode is farther, or in other words, the distance between the receiver and the transmitter in MIMO mode needs to be close enough to achieve the same SNR as in SISO mode.
[0253] Furthermore, in order for the MIMO mode and the SISO mode to achieve almost the same SNR, the difference between the RSSI value of the MIMO mode and the RSSI value of the SISO mode is 16dB (obtained by subtracting -24dBm from -8dBm). In other words, the SNR requirement of the MIMO mode is 16dB higher than the SNR requirement of the SISO mode. Generally speaking, according to the provisions of the protocol (such as the 802.11n protocol, the 802.11.ax protocol, etc.), every 3dB difference in the SNR requirement corresponds to a one-level difference in the MCS level. In other words, for every 3dB decrease in the SNR requirement, the MCS level will decrease by one level. 16dB generally corresponds to 5 MCS levels.
[0254] From the above, it can be inferred that if the distance between the transmitter and the receiver is the same, the SNR of the SISO mode is expected to be about 16dB higher than the SNR of the MIMO mode. Therefore, if the distance between the transmitter and the receiver is the same, the MCS of the SISO mode is expected to be 5 levels higher than the MCS of the MIMO mode.
[0255] It should be noted that the above inference is derived on the basis of laboratory test results and is likely to be idealistic. Therefore, this application retrieves the log of actual business to verify whether the above inference is valid.
[0256] In actual operation, when the terminal device transmits service data based on WiFi, the corresponding relationship between the MCS level and the number of transmission channels can be seen from the log. Among them, the MCS level when the number of transmission channels is 2 is generally 3 to 4 levels lower than the MCS level when the number of transmission channels is 1. For example, the MCS level when the number of transmission channels is 2 is 6 or 7, and the MCS level when the number of transmission channels is 1 is 10.
[0257] Therefore, the log of the actual business can verify the change trend of the above inference. When the distance between the transmitter and the receiver is the same, the MCS of the SISO mode is expected to be several levels higher than the MCS of the MIMO mode. Considering the limitations of certain factors in the actual communication environment, combined with the above inference and the log of the actual business, the following conclusion can be drawn: when the distance between the transmitter and the receiver is the same, the MCS level of the SISO mode will be 3 to 4 levels higher than the MCS level of the MIMO mode.
[0258] Optionally, in the case of receive diversity, the MCS that can implement the SISO mode may be 4 levels higher than the MCS in the MIMO mode.
[0259] The following describes the simulation of MIMO wireless channels performed by the present application.
[0260] As mentioned above, at the same distance, the SNR of the SISO mode is higher than that of the MIMO mode. MIMO transmits two signals, one more than SISO. Considering that the signal-to-noise ratio may be reduced due to the mutual influence between multiple signals, a simulation analysis of the MIMO wireless channel is conducted.
[0261] Fig. 8A A schematic diagram showing the simulation of a MIMO wireless channel is shown.
[0262] like Fig. 8A As shown, Figure 1A Take the scenario shown in the figure as an example, that is, two terminal devices perform wireless communication as an example, and the two antennas of each terminal device are respectively arranged in the upper left corner and the upper right corner for simulation. Each terminal device has two antenna ports, the terminal device on the left has antenna port 1 and antenna port 2, and the terminal device on the right has antenna port 3 and antenna port 4. Simulate the two terminal devices to perform wireless communication, that is, antenna port 1 and antenna port 2 transmit signals respectively, and antenna port 3 and antenna port 4 receive signals respectively. The simulation results of S parameters are obtained by Figure 8B Shown.
[0263] It can be understood that S parameters describe how the RF signal responds to the value of the device port by specifying the amplitude and phase of the reflected signal, reflecting the characteristics (amplitude / phase) of the reflected signal / transmitted signal in the frequency domain. The name comes from the S in "scattering parameter". S parameters are the ratio of two physical quantities, so strictly speaking, they have no units, but usually when expressing the amplitude of S parameters, they are generally expressed in dB using a logarithmic algorithm.
[0264] Figure 8B Provided in the embodiments of this application Fig. 8A The corresponding simulation results.
[0265] Take a two-port network as an example to simulate the S parameters. Figure 8B As shown, the four curves are S3,1, S3,2, S4,1 and S4,2. Taking S3,1 as an example, S3,1 represents the characteristics of the reflected signal of antenna port 3 and the transmitted signal of antenna port 1. The meanings of S3,2, S4,1 and S4,2 are similar and will not be repeated here. The horizontal axis is the frequency in GHz, and the vertical axis is the value of the S parameter in dB.
[0266] like Figure 8B As shown, taking the frequency of 5.15 GHz as an example, the corresponding S parameters are: S3,1 = -22.26196, S3,2 = -21.14022, S4,1 = -22.23294, S4,2 = -23.7724.
[0267] The channel transmission matrix derived from the S parameters is as follows:
[0268]
[0269] Considering the ideal situation, the two-way MIMO signal is directly connected as follows Figure 8C shown.
[0270] Figure 8C This is a schematic diagram of two-way signal direct connection under the ideal MIMO condition provided in the embodiment of the present application. Fig. 8A There are 4 antenna ports in the antenna. Antenna port 1 transmits signals, and antenna port 3 receives signals from antenna port 1; antenna port 2 transmits signals, and antenna port 4 receives signals from antenna port 2.
[0271] In such Figure 8C In the ideal case shown, the channel transmission matrix is as follows:
[0272]
[0273] It can be understood that the channel capacity formula is as follows:
[0274]
[0275] Where C is the channel capacity, E H is the channel bandwidth, ρ is the signal-to-noise ratio, M T is the number of transmitting antennas, M R Number of antennas at the receiving end, I MR is the sum matrix M RThe same size unit matrix, H is the transfer matrix, and det(A) is the determinant of A.
[0276] The ideal channel transfer matrix H0 and the simulated channel transfer matrix H2 are substituted into Formula 3 for calculation. The C obtained according to the simulated channel transfer matrix H2 is 11 dB lower than the C obtained according to the ideal channel transfer matrix H0.
[0277] It can be understood that, in theory, the Shannon-Hartley theorem can calculate the maximum information transmission rate of a channel, that is, the channel capacity. The theorem points out that under a given SNR, the information rate transmitted through the channel can reach the limit of the channel capacity through appropriate coding and modulation methods. Generally speaking, under the same SNR, the higher the modulation level, the greater the channel capacity.
[0278] The C obtained according to the channel transmission matrix H2 obtained by simulation is lower than the C obtained according to the channel transmission matrix H0 under ideal conditions, which also shows that when the SNR remains unchanged, the MCS level in the MIMO mode is lower than the MCS level in the ideal condition.
[0279] Since the SISO mode transmits and receives signals through a single channel, it can be considered an ideal state where there is no influence between the two signals compared to the MIMO mode. Therefore, the MCS level in the MIMO mode is lower than that in the SISO mode, which supports the above conclusion.
[0280] It should be noted that Fig. 8A The antenna layout of the terminal device given is only an example and is not limited to Fig. 8A The antenna layout shown can support the above conclusion. After simulating various antenna layouts, it is found that they can all support the beneficial effects of the present application. Therefore, in this application, Fig. 8A The antenna layout shown is used as an example for explanation.
[0281] It should also be noted that the above actual test and simulation related contents are based on Figure 1A Take the scenario shown in the figure as an example to illustrate. Figure 1B On this basis, the corresponding scenario also needs to consider the limitations of actual user bandwidth and network device capabilities.
[0282] In summary, in the scenario where the terminal device wirelessly communicates with the network device or other terminal devices based on Wi-Fi, actual testing and simulation show that:
[0283] 1. In MIMO mode, the higher the MCS level, the lower the bit power consumption. In high-order modulation, at the same MCS level, the bit power consumption in SISO mode is significantly lower; in low-order modulation, at the same MCS level, the bit power consumption in SISO mode and MIMO mode is very close.
[0284] 2. If the MCS level in the SISO mode is higher than the MCS level in the MIMO mode, the bit power consumption in the SISO mode is better than the bit power consumption in the MIMO mode.
[0285] 3. Due to the antenna layout restrictions of the terminal equipment and the influence of the wireless channel, the SNR requirement of MIMO is higher than that of SISO. In other words, if the distance between the transmitter and the receiver is the same, the SNR of the SISO mode is higher than that of the MIMO mode.
[0286] 4. When the distance between the transmitter and the receiver is the same, the MCS level in SISO mode is expected to be 3 to 4 levels higher than the MCS level in MIMO mode.
[0287] Therefore, from 1 to 4 above, we can know that:
[0288] A. When a terminal device is communicating wirelessly with other terminal devices or network devices, if the MIMO mode is switched to the SISO mode, the MCS level used for data transmission after the switch is 3 to 4 levels higher than the MCS level used for data transmission before the switch; if the SISO mode is switched to the MIMO mode, the MCS level used for data transmission after the switch is 3 to 4 levels lower than the MCS level used for data transmission before the switch.
[0289] B. Based on A, if the MIMO mode is switched to the SISO mode, the bit power consumption is reduced and the energy efficiency is improved due to the improvement of the MCS level.
[0290] For example, Fig. 9 A schematic structural diagram of an electronic device 400 is shown.
[0291] See also Fig. 9 , the electronic device 400 may include a processor 410, a WiFi chip 420, a radio frequency front-end circuit 431, a radio frequency front-end circuit 432, an antenna (antenna, ANT) 0 and ANT1.
[0292] It is understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 400. In other embodiments of the present application, the electronic device 400 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0293] The processor 410 may include one or more processing units, for example, the processor 410 may include an application processor (AP), a controller, a memory, a baseband processor, etc. Among them, different processing units may be independent devices or integrated into one or more processors.
[0294] The controller may be the nerve center and command center of the electronic device 400. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0295] The processor 410 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 410 is a cache memory. The memory may store instructions or data that the processor 410 has just used or cyclically used. If the processor 410 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 410, and thus improves the efficiency of the system.
[0296] A WiFi chip is a chip used for wireless network connection, which transmits data via radio waves. The WiFi chip contains a series of circuits and components, including a radio frequency transceiver, a baseband processor, an antenna, etc. WiFi chips include WiFi chips with USB interfaces, WiFi chips with peripheral component interconnect (PCI) interfaces, and chips with MINI-PCI interfaces, etc., which are not limited in the embodiments of the present application.
[0297] The radio frequency front-end (RFFE) or RFFE circuit refers to the part between the antenna and the intermediate frequency (or baseband) circuit in the communication system. In this part, the signal is transmitted in the form of radio frequency. The RF front-end usually includes: amplifier, filter, frequency converter and some RF connection and matching circuits.
[0298] ANT0 and ANT1 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 400 can be used to cover a single or multiple communication frequency bands.
[0299] like Fig. 9 As shown, the processor 410 includes two communication ports; the WiFi chip 420 includes two communication ports respectively connected to the processor 410, and also includes two groups of input and output ports, which are respectively connected to the RF front-end circuit 431 and the RF front-end circuit 432, the RF front-end circuit 431 is connected to ANT0, and the RF front-end circuit 432 is connected to ANT1.
[0300] The WiFi chip 420 receives electromagnetic waves via ANT1 (or ANTI0), and the RF front-end circuit 431 (or RF front-end circuit 432) modulates the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 410. Alternatively, the WiFi chip 420 may also receive a signal to be sent from the processor 410, and the RF front-end circuit 431 (or RF front-end circuit 432) modulates the signal, amplifies the signal, and converts the signal into electromagnetic waves for radiation via ANT1 (or ANTI0).
[0301] There are two physical connections between the processor 410 and the WiFi chip 420. By controlling the connection between the processor 410 and the WiFi chip 420, switching between the MIMO mode and the SISO mode can be achieved. For example, the processor 410 sends instructions to the WiFi chip 420 through connection 1 and connection 2, and the WiFi chip 420 controls the RF link where ANT1 and ANT0 are located to work, and the working mode is MIMO mode at this time. For another example, the processor 410 disconnects connection 2 and sends instructions to the WiFi chip 420 through connection 1, and the WiFi chip 420 selects the RF link where ANT0 is located, and the working mode is SISO mode at this time. It can be understood that at this time, the RF link where ANTI1 is located is powered off, which can save power consumption.
[0302] In some embodiments, the processor 410 sends instructions to the WiFi chip 420 through connection 1 and connection 2 to enable the electronic device 400 to transmit the first data in MIMO mode. The processor 410 obtains the transmission parameters for transmitting the first data, and also determines whether the transmission parameters meet the preset conditions. If the judgment result is satisfied, the processor 410 disconnects the connection 1 and sends instructions to the WiFi chip 420 through connection 2, then the WiFi chip 420 selects the radio frequency link where ANT1 is located, and the working mode is SISO mode at this time, thereby realizing the switching of the working mode from MIMO mode to SISO mode.
[0303] In some embodiments, the processor 410 sends an instruction to the WiFi chip 420 through connection 1 to enable the electronic device 400 to transmit the first data in SISO mode. The processor 410 obtains the transmission parameters for transmitting the first data, and also determines whether the transmission parameters meet the preset conditions. If the judgment result is satisfied, the processor 410 sends an instruction to the WiFi chip 420 through connection 1 and connection 2, and the WiFi chip 420 controls the radio frequency link where ANT1 and ANT0 are located to work. At this time, the working mode is MIMO mode, thereby realizing the switching of the working mode from SISO mode to MIMO mode.
[0304] The software system of the electronic device 400 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 400.
[0305] Fig.10 4 is a schematic diagram of the software system of the electronic device 400 of the present application embodiment. The software system includes several layers, each layer has a clear role and division of labor, and the layers communicate with each other through software interfaces. Fig.10 As shown, the Android system may include five layers, namely, application layer, application framework layer, hardware abstraction layer, driver layer and hardware layer from top to bottom.
[0306] The application layer may include WLAN applications, and may also include gallery, calendar, call, map, navigation, Bluetooth, music, video, short message and other applications, which are not limited in the embodiments of the present application.
[0307] The application framework layer provides an application programming interface (API) and a programming framework for the application programs of the application layer; the application framework layer may include some predefined functions.
[0308] For example, the application framework layer may include WiFi Service, which is the general entrance to the WiFi function and is responsible for the core business of the WiFi function. WiFi Service handles actual driver loading, scanning, connection, disconnection and other commands, as well as events reported by the bottom layer.
[0309] The hardware abstraction layer (HAL) is used to abstract the hardware. For example, the hardware abstraction layer may include a wireless configuration service module, wherein the wireless configuration service module includes a wireless network configuration module (WiFi protected access supplicant, WPA_supplicant) and a WiFicond module.
[0310] WPA_supplicant is mainly used to support wired equivalent privacy (WEP), protect wireless computer network security system (Wi-Fi protected access, WPA), WPA1 and WPA2, etc., as well as for scanning wireless access points, encryption authentication and association with wireless access points. WPA_supplicant is also used to interact with the WiFi driver to report data to the user, and the user can send commands to WPA_supplicant to mobilize the WiFi driver to operate the WiFi chip.
[0311] The WiFicond module can be used to scan WiFi and report the scan results to the upper layer.
[0312] The driver layer is used to provide drivers for different hardware devices. For example, the driver layer may include a WiFi driver. The WiFi driver is used to manage the WiFi chip, such as initialization, control, parameter configuration, monitoring, data interaction, etc.
[0313] The hardware layer may include a WiFi chip and other hardware devices. The WiFi chip may refer to the above description.
[0314] Understandably, Fig.10 The layers in the software structure shown and the components included in each layer do not constitute a specific limitation on the electronic device 400. In other embodiments of the present application, the electronic device 400 may include more or fewer layers than shown, and each layer may include more or fewer components, which is not limited in the present application.
[0315] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0316] The above are optional embodiments provided for the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the technical scope disclosed in the present application shall be included in the protection scope of the present application.
Claims
1. A wireless network communication method, applied to an electronic device, characterized in that: The method comprises: When transmitting first data in a first working mode, obtaining a transmission parameter for transmitting the first data, the transmission parameter including a first modulation and coding scheme level; When the transmission parameters meet a preset condition, switching from the first working mode to the second working mode, wherein the transmission parameters used to transmit the second data after switching to the second working mode include a second modulation and coding scheme level; The electronic device is a terminal device, the opposite device of the electronic device is a network device, the first working mode includes a multiple-input multiple-output mode, the second working mode includes a single-input single-output mode, and the transmission parameter satisfies a preset condition including: the first modulation and coding scheme level is greater than or equal to a first threshold, or the first modulation and coding scheme level is less than or equal to a second threshold; wherein the second modulation and coding scheme level is higher than the first modulation and coding scheme level, and the transmission negotiation rate corresponding to the second modulation and coding scheme level is greater than the transmission negotiation rate corresponding to the first modulation and coding scheme level; Alternatively, the electronic device is a first terminal device, and the opposite device of the electronic device is a second terminal device; the second working mode includes a multiple-input multiple-output mode, the first working mode includes a single-input single-output mode, and the transmission parameters satisfy the preset conditions including: the first modulation and coding scheme level is greater than or equal to a first threshold, wherein the second modulation and coding scheme level is lower than the first modulation and coding scheme level; or, the first working mode includes a multiple-input multiple-output mode, the second working mode includes a single-input single-output mode, and the transmission parameters satisfy the preset conditions including: the first modulation and coding scheme level is less than or equal to a second threshold, wherein the second modulation and coding scheme level is higher than the first modulation and coding scheme level; wherein the transmission negotiation rate corresponding to the second modulation and coding scheme level is greater than the transmission negotiation rate corresponding to the first modulation and coding scheme level; The second threshold is smaller than the first threshold.
2. The method according to claim 1, characterized in that A difference between the second modulation and coding scheme level and the first modulation and coding scheme level is 3 or 4.
3. The method according to claim 1 or 2, characterized in that A difference between the first threshold and the second threshold is greater than a difference between the second modulation and coding scheme level and the first modulation and coding scheme level.
4. The method according to claim 1 or 2, characterized in that: The electronic device is a first terminal device, the opposite device of the electronic device is a second terminal device, and the transmission parameter further includes a received signal strength indication; In the case where the first working mode includes a multiple-input multiple-output mode, the second working mode includes a single-input single-output mode, and the first modulation and coding scheme level is greater than or equal to the first threshold, the transmission parameter satisfies a preset condition, further comprising: a value of the received signal strength indication is greater than a third threshold; Alternatively, when the second working mode includes a multiple-input multiple-output mode and the first working mode includes a single-input single-output mode, the transmission parameter satisfies a preset condition and further includes: the value of the received signal strength indication is less than a fourth threshold.
5. The method according to claim 4, characterized in that The transmission parameters also include actual transmission rate; In the case where the first working mode includes a multiple-input multiple-output mode, the second working mode includes a single-input single-output mode, and the first modulation and coding scheme level is greater than or equal to the first threshold, the transmission parameter satisfies a preset condition, further comprising: the actual transmission rate is greater than a fifth threshold; Alternatively, when the second working mode includes a multiple-input multiple-output mode and the first working mode includes a single-input single-output mode, the transmission parameter satisfies a preset condition and further includes: the actual transmission rate is less than a sixth threshold.
6. The method according to claim 5, characterized in that Among the first terminal device and the second terminal device, one terminal device is a hotspot establishment end, and the other terminal device is a hotspot connection end, and the first data is business data applied to at least one of the following scenarios: a data cloning scenario or a file sharing scenario.
7. The method according to claim 1 or 2, characterized in that: The electronic device is a terminal device, the opposite device of the electronic device is a network device, the first working mode includes a multiple-input multiple-output mode, the second working mode includes a single-input single-output mode, the transmission parameter also includes a received signal strength indicator, and the transmission parameter satisfies the preset condition specifically including: When the value of the received signal strength indication is greater than a seventh threshold, the first modulation and coding scheme level is greater than or equal to the first threshold; Alternatively, when the value of the received signal strength indication is less than an eighth threshold, the first modulation and coding scheme level is less than or equal to the second threshold; Among them, the seventh threshold is greater than the eighth threshold.
8. The method according to claim 7, characterized in that The method further comprises: The seventh threshold and the eighth threshold are determined according to the capability of the network device and the user bandwidth, wherein the capability of the network device includes a transmission rate supported by the network device.
9. The method according to claim 8, characterized in that When the value of the received signal strength indication is greater than a seventh threshold, the transmission negotiation rate corresponding to the first modulation and coding scheme level is greater than or equal to the user bandwidth within a unit time, and when the first modulation and coding scheme level is greater than or equal to the first threshold, the transmission negotiation rate corresponding to the second modulation and coding scheme level is greater than or equal to the user bandwidth within a unit time; Alternatively, when the value of the received signal strength indication is less than an eighth threshold, the transmission negotiation rate corresponding to the first modulation and coding scheme level is less than the user bandwidth per unit time, and, when the first modulation and coding scheme level is less than or equal to the second threshold, the transmission negotiation rate corresponding to the second modulation and coding scheme level is greater than the transmission negotiation rate corresponding to the first modulation and coding scheme level and is less than the user bandwidth per unit time.
10. The method according to claim 8 or 9, characterized in that The network device is a router, and the method further comprises: The standard of the router is acquired from the router, where the standard of the router is used to indicate a transmission rate supported by the router, and the standard of the router includes N standard, AC standard or AX standard.
11. The method according to claim 7, characterized in that The switching from the first working mode to the second working mode when the transmission parameter meets the preset condition includes: Determining whether the first data is business data applied to a preset scenario, wherein the preset scenario includes: a game scenario, a high-definition video scenario, or a small file transmission scenario; If the first data is not business data applied to the preset scenario, then when the transmission parameter meets the preset conditions, the first working mode is switched to the second working mode.
12. An electronic device comprising a memory and one or more processors, characterized in that: The memory is used to store a computer program; the processor is used to call the computer program so that the electronic device executes the method according to any one of claims 1 to 11.
13. A computer storage medium, characterized in that: include: Computer instructions; when the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Communication control method and system
CN110692205A
Method for switching between modes in WIFI network and terminal device
CN112088547A