Data processing method and device, electronic equipment and readable storage medium
By dynamically selecting the optimal channel for data interaction in WiFi gateway devices, the problems of high energy consumption and low communication quality in the prior art are solved, and a channel communication method with the lowest energy consumption and the best communication quality is realized.
Patent Information
- Application Number
- CN202411927800.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-04-25
AI Technical Summary
The prior art is difficult to simultaneously reduce the equipment energy consumption of WiFi devices and improve the communication quality of WiFi devices.
By obtaining the channel performance parameters of each channel in the gateway device, the comprehensive performance evaluation value of the channel is calculated, and the optimal channel is selected for data interaction. The method includes normalization processing of channel performance parameters, weighted summing processing, and dynamic adjustment of transmission power and modulation mode according to signal-to-noise ratio and packet size.
It realizes that the energy consumption of WiFi devices is reduced and the utilization rate of communication resources is improved without reducing communication quality.
Smart Images

Figure CN119893697A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a data processing method, device, electronic device and readable storage medium. Background Art
[0002] With the development of wireless communication technology, the application of wireless communication (Wireless Fidelity, WiFi) equipment is becoming more and more common.
[0003] As the application of WiFi devices becomes more and more common, in the fields of Internet of Things and smart home, how to reduce the energy consumption of WiFi devices and improve the communication quality of WiFi devices has become an urgent problem to be solved. Summary of the invention
[0004] The present application aims to provide a data processing method, device, electronic device and readable storage medium, which at least solves the problem in the prior art that it is impossible to simultaneously reduce the device energy consumption of the WiFi device and improve the communication quality of the WiFi device.
[0005] In a first aspect, an embodiment of the present application discloses a data processing method, which is applied to a gateway device, wherein the gateway device has at least one channel; the method comprises:
[0006] Acquire channel performance parameters of each of the channels respectively; the channel performance parameters include at least one of the following: channel gain, signal-to-noise ratio, and bit error rate;
[0007] Obtaining a comprehensive performance evaluation value of the channel according to the channel performance parameters;
[0008] selecting a target channel from at least one channel according to the comprehensive performance evaluation value;
[0009] Data is exchanged with the electronic device according to the target channel.
[0010] Optionally, obtaining a comprehensive performance evaluation value of a channel according to the channel performance parameter includes:
[0011] For each channel, normalizing each channel performance parameter of the channel to obtain a normalized result of the channel performance parameter;
[0012] For each of the channels, weighted sum processing is performed on normalized processing results of various channel performance parameters of the channel to obtain a comprehensive performance evaluation value of the channel.
[0013] Optionally, obtaining a channel performance parameter of each of the channels separately includes:
[0014] Acquiring initial channel performance parameters of each of the channels;
[0015] Performing filtering and interpolation processing on the initial channel performance parameters to obtain processed channel performance parameters;
[0016] The processed channel performance parameters are determined as the channel performance parameters of the channel.
[0017] Optionally, performing data interaction with an electronic device according to the target channel includes:
[0018] During data interaction between the electronic device and the gateway device, acquiring the signal-to-noise ratio of the target channel in real time;
[0019] If the signal-to-noise ratio is outside a preset signal-to-noise ratio range, a transmission power adjustment instruction for adjusting the transmission power is sent to the electronic device, so that the electronic device adjusts the data transmission power for transmitting data to the gateway device in response to the transmission power adjustment instruction.
[0020] Optionally, performing data interaction with an electronic device according to the target channel includes:
[0021] During data interaction between the electronic device and the gateway device, acquiring the signal-to-noise ratio of the target channel in real time;
[0022] If the signal-to-noise ratio is outside a preset signal-to-noise ratio range, a modulation mode adjustment instruction for changing the modulation mode is sent to the electronic device, so that the electronic device adjusts the modulation mode for transmitting data to the gateway device in response to the modulation mode adjustment instruction.
[0023] Optionally, performing data interaction with an electronic device according to the target channel includes:
[0024] Acquire the size of a data packet for data exchange between the electronic device and the gateway device;
[0025] If the data packet size is less than or equal to a first preset data packet size threshold, a sleep instruction is sent to the electronic device, so that the electronic device enters a sleep state in response to the sleep instruction.
[0026] Optionally, the method further includes:
[0027] If the data packet size is greater than the second preset data packet size threshold, determining whether the electronic device is in a dormant state;
[0028] If it is determined that the electronic device is in a dormant state, a wake-up instruction is sent to the electronic device, so that the electronic device enters a wake-up state in response to the wake-up instruction.
[0029] In a second aspect, an embodiment of the present application discloses a channel selection device, the device is located in a gateway device, the gateway device has at least one channel; the device includes:
[0030] A first acquisition module, used to respectively acquire channel performance parameters of each of the channels; the channel performance parameters include at least one of the following: channel gain, signal-to-noise ratio, and bit error rate;
[0031] A second acquisition module, used to acquire a comprehensive performance evaluation value of a channel according to the channel performance parameter;
[0032] A first selection module, configured to select a target channel from at least one channel according to a comprehensive performance evaluation value;
[0033] The communication module is used to perform data exchange with the electronic device according to the target channel.
[0034] In a third aspect, an embodiment of the present application further discloses an electronic device, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0035] In a fourth aspect, an embodiment of the present application further discloses a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0036] In summary, in this embodiment, the channel performance parameters of each channel are obtained respectively; the channel performance parameters include at least one of the following: channel gain, signal-to-noise ratio, and bit error rate; according to the channel performance parameters, a comprehensive performance evaluation value of the channel is obtained; according to the comprehensive performance evaluation value, a target channel is selected from at least one channel, so that the electronic device can interact with the gateway based on the target channel for data. The target channel is selected from multiple channels of the gateway device according to the channel performance, and data is interacted with the electronic device based on the target channel, so that a channel communication method with the lowest energy consumption and the best communication quality can be realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In the attached picture:
[0038] Figure 1 It is a flowchart of a data processing step provided by an embodiment of the present application;
[0039] Figure 2 is a flowchart of another data processing step provided by an embodiment of the present application;
[0040] Figure 3 It is a flowchart of another data processing step provided by an embodiment of the present application;
[0041] Figure 4 is a flow chart of a data processing method provided in an embodiment of the present application;
[0042] Figure 5 It is a flowchart of another data processing step provided by an embodiment of the present application;
[0043] Figure 6 is a flow chart of a data processing method provided in an embodiment of the present application;
[0044] Figure 7 is a block diagram of a data processing device provided in an embodiment of the present application;
[0045] Figure 8 is a block diagram of an electronic device according to an embodiment of the present application;
[0046] Fig. 9 It is a block diagram of an electronic device of another embodiment provided by the embodiments of the present application. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0048] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0049] Figure 1 This is a flow chart of the steps of channel selection provided by this embodiment. The method is applied to a gateway device, and the gateway device has at least one channel. Figure 1 , the data processing method may include the following steps:
[0050] Step 101: Obtain channel performance parameters of each channel respectively.
[0051] The channel performance parameter includes at least one of the following: channel gain, signal-to-noise ratio, and bit error rate.
[0052] For example, a wifi chip that efficiently supports channel state information (CSI) collection is integrated in the gateway device, and CSI data is collected based on the wifi chip. Furthermore, the gateway device collects CSI data from the wireless communication system.
[0053] The collected CSI data includes at least one of the following: channel gain, signal-to-noise ratio, and bit error rate. Channel gain (ChannelGain) refers to the amplification or attenuation of a signal when it propagates in a channel. Signal-to-noise ratio (SNR) is the ratio of signal strength to background noise strength. For example, CSI data may also include phase information (PhaseInformation), where the phase information indicates the phase change of the signal in the channel.
[0054] In addition, the collected CSI data may also include a timestamp (Timestamp), and the timestamp identifies the time point when the CSI data is collected.
[0055] Step 102, obtaining a comprehensive performance evaluation value of the channel according to the channel performance parameters;
[0056] The gateway device collects CSI data, performs real-time channel status analysis on each channel based on the CSI data, and checks the comprehensive performance evaluation values of different channels in the current communication environment.
[0057] For example, the collected initial CSI data may be obtained, and then filtering, interpolation and normalization may be performed on each initial CSI data to obtain dimensionless channel performance parameters.
[0058] For each channel, the following processing is performed respectively: weighted sum processing is performed on each dimensionless channel performance parameter of the channel to obtain a weighted sum result, and the weighted sum result is determined as a comprehensive performance evaluation value of the channel.
[0059] Step 103, selecting a target channel from at least one channel according to the comprehensive performance evaluation value;
[0060] For example, CSI data of the channel is collected, a comprehensive performance evaluation value is obtained according to the CSI data, and a target channel for data interaction is selected from at least one channel according to the comprehensive performance evaluation value, thereby realizing an adaptive energy-saving gateway through WiFi channel state information (CSI).
[0061] The gateway device selects the target channel for data interaction between the electronic device and the gateway device according to the different comprehensive performance evaluation values of different channels, and manages the electronic devices connected to the gateway device according to the target channel for data interaction, so as to reduce the power consumption of the electronic device and the gateway device and achieve maximum utilization of communication resources.
[0062] Step 104: perform data exchange with the electronic device according to the target channel.
[0063] Specifically, the electronic device can send data to the gateway device based on the target channel, and also receive data sent by the gateway device through the target channel.
[0064] For example, the electronic device may be a smart device such as a smart air conditioner, a smart refrigerator, a smart humidifier, a smart fan, or other smart device in the home appliance. The electronic device may also be a central control device for controlling each smart device.
[0065] With the rapid development of wireless communication technology, WiFi devices have become an indispensable part of modern life and daily work. For example, whether in the WiFi communication application scenario of a home network or in the hotspot application scenario of a public place, communication based on WiFi devices is required.
[0066] With the popularity of WiFi devices, the energy consumption of WiFi devices has become increasingly prominent, especially in Internet of Things (IoT) devices and smart home applications. The power consumption of WiFi devices has become a limiting factor in the development and application of WiFi devices.
[0067] In this embodiment, the channel performance parameters of each channel are obtained respectively; the channel performance parameters include at least one of the following: channel gain, signal-to-noise ratio, and bit error rate; according to the channel performance parameters, a comprehensive performance evaluation value of the channel is obtained; according to the comprehensive performance evaluation value, a target channel is selected from at least one channel, so that the electronic device can interact with the gateway based on the target channel. The target channel is selected from multiple channels of the gateway device according to the channel performance, and data is interacted with the electronic device based on the target channel, so that a channel communication method based on the lowest energy consumption and the best communication quality can be realized.
[0068] Figure 2 Another data processing method is provided, refer to Figure 2 , the method may include the following steps:
[0069] Step 201: Obtain initial channel performance parameters of each channel respectively.
[0070] The initial channel performance parameter includes at least one of the following: channel gain, signal-to-noise ratio, and bit error rate.
[0071] For example, the initial channel performance parameter is the CSI data collected by the WiFi chip in the gateway device. The CSI data may include: channel gain, which refers to the amplification or attenuation of the signal when it propagates in the channel; signal-to-noise ratio, which refers to the ratio of signal strength to background noise strength; phase information, which refers to the phase change of the signal in the channel; and timestamp, which refers to the time point when the CSI data is collected.
[0072] Step 202: filter and interpolate the initial channel performance parameters to obtain processed channel performance parameters.
[0073] For example, through filtering, noise and outliers in the initial channel performance parameters can be removed, and through interpolation, missing values can be filled in for discontinuous data points using an interpolation method.
[0074] The initial channel performance parameters may be filtered by a filter to remove noise and abnormal values in the initial channel performance parameters.
[0075] A fitting curve of the channel performance parameters can be obtained based on the channel performance parameters after filtering, and then the data of the missing points can be obtained based on the fitting curve, and the data of the missing points can be inserted into the filtered data to fill the missing values of the missing points.
[0076] For example, each channel performance parameter collected by the gateway device has its own corresponding timestamp. If the channel performance parameter corresponding to a timestamp is missing, the channel performance parameter corresponding to the timestamp is obtained by interpolation and inserted into the data point corresponding to the timestamp, thereby completing the missing data. The interpolation method can improve the availability of data.
[0077] Step 203: determine the processed channel performance parameters as the channel performance parameters of the channel.
[0078] Determining the channel performance parameters after filtering and interpolation processing as the channel performance parameters of the channel can improve the accuracy and availability of the channel performance parameters of the channel.
[0079] Step 204 , for each channel, normalize each channel performance parameter of the channel to obtain a normalized result of the channel performance parameter.
[0080] For example, the channel performance parameters are normalized, and each performance parameter may be scaled to a uniform scale, and each performance parameter may be dimensionless for comparison.
[0081] The channel performance parameters can be normalized by the following method: obtaining historical communication data of the channel corresponding to the channel performance parameters, and obtaining the maximum value of the channel performance parameters within a preset historical time period based on the historical communication data; performing a ratio operation on the channel performance parameter and the maximum value, and determining the ratio operation result as the normalization result.
[0082] For example, for the signal-to-noise ratio of channel A, within the preset historical time period, the maximum signal-to-noise ratio in channel A is SNRmax. After the gateway device obtains the signal-to-noise ratio SNR, it obtains the ratio of SNR and SNRmax and determines the ratio as the normalized processing result of the signal-to-noise ratio.
[0083] Step 205 , for each channel, weighted sum processing is performed on the normalized processing results of each performance parameter of the channel to obtain a comprehensive performance evaluation value of the channel.
[0084] For example, weighted sum processing is performed on each performance parameter according to preset weight values corresponding to each performance parameter to obtain a weighted sum result, and the weighted sum result is determined as a comprehensive performance evaluation value of the channel.
[0085] The preset weight value may be set according to communication requirements. For example, if the signal-to-noise ratio requirement for the communication process is relatively high, the weight value corresponding to the signal-to-noise ratio may be set larger; if the channel gain requirement is relatively high, the weight value corresponding to the channel gain may be set larger.
[0086] Step 206: Select a target channel from at least one channel according to the comprehensive performance evaluation value.
[0087] For example, a channel with the largest comprehensive performance evaluation value may be selected and determined as the target channel.
[0088] For example, each channel may be classified according to the comprehensive performance evaluation value and the correspondence between the pre-stored channel performance level and the pre-stored comprehensive performance evaluation value range to obtain the channel performance level of each channel.
[0089] For example, the pre-stored channel performance levels in the corresponding relationship include four levels: excellent, good, medium and poor. If the comprehensive evaluation value of the channel is calculated based on the channel performance parameters of the channel and is within the pre-stored performance evaluation value range corresponding to the excellent level, then the channel performance level of the channel is determined to be excellent.
[0090] Further, the communication level of the electronic device is obtained, and the performance level corresponding to the communication level of the electronic device is obtained, and then a channel whose channel performance level is equal to the performance level is selected from multiple channels and determined as the target channel.
[0091] According to the aforementioned method, all channel performance parameters in the channel may be processed as a whole to obtain a comprehensive performance evaluation value of the channel, and a target channel may be selected according to the comprehensive performance evaluation value.
[0092] In one embodiment, it is also possible to determine the channel performance parameters to be analyzed that need to be paid attention to in the communication of the electronic device based on the communication requirements of the electronic device, select the channel performance parameters to be analyzed from the various channel performance parameters of the channel, and then compare the channel performance parameters to be analyzed of each channel. Based on the comparison results, select the target channel whose channel performance parameters to be analyzed meet the communication requirements of the electronic device, so that the electronic device can interact with the gateway based on the target channel for data.
[0093] For example, the target channel can also be obtained from at least one channel according to the following method: obtain the comparison result of the signal-to-noise ratio of each channel and the preset signal-to-noise ratio threshold, if the signal-to-noise ratio of the channel is greater than or equal to the preset signal-to-noise ratio threshold, then determine that the signal-to-noise ratio level of the channel is excellent, if the signal-to-noise ratio of the channel is less than the preset signal-to-noise ratio threshold, then determine that the signal-to-noise ratio level of the channel is poor. In the process of obtaining the signal-to-noise ratio, it is necessary to pay attention to the signal-to-noise ratio, then from at least one channel, obtain a channel with an excellent signal-to-noise ratio level, and then select the target channel from the channels with an excellent signal-to-noise ratio level by random selection.
[0094] In another embodiment, according to the communication requirements of the electronic device, the performance parameters of the channel to be analyzed corresponding to the electronic device are obtained, and based on the performance parameters of the channel to be analyzed, a channel whose performance parameters of the channel to be analyzed meet the communication requirements of the electronic device is selected from at least one channel, and then for each channel to be analyzed: the channel performance parameters of each channel are obtained respectively; according to the channel performance parameters, a comprehensive performance evaluation value of the channel is obtained; according to the comprehensive performance evaluation value, a target channel is selected from at least one channel to be analyzed; and according to the target channel, data is interacted with the electronic device.
[0095] Furthermore, a channel with the largest comprehensive performance evaluation value is obtained from channels whose performance parameters meet the communication requirements of the electronic device, and the channel with the largest comprehensive performance evaluation value is determined as a target channel for data interaction with the electronic device.
[0096] Step 207: performing data exchange with the electronic device according to the target channel.
[0097] The electronic device can send data to the gateway device based on the target channel, and also receive data sent by the gateway device through the target channel.
[0098] For example, step 207 may include the following sub-steps:
[0099] Sub-step A1, during the data interaction between the electronic device and the gateway device, the signal-to-noise ratio of the target channel is acquired in real time.
[0100] For example, the signal-to-noise ratio of the target channel is acquired in real time during data interaction between the electronic device and the gateway device through a WiFi chip in the gateway device for collecting CSI data.
[0101] Sub-step A2: if the signal-to-noise ratio is outside the preset signal-to-noise ratio range, a transmission power adjustment instruction for adjusting the transmission power is sent to the electronic device, so that the electronic device adjusts the data transmission power for transmitting data to the gateway device in response to the transmission power adjustment instruction.
[0102] Furthermore, if the signal-to-noise ratio is within a preset signal-to-noise ratio range, no transmission power adjustment instruction for adjusting the transmission power is sent to the electronic device, so that the electronic device performs data exchange with the gateway device based on the current transmission power.
[0103] Furthermore, if the signal-to-noise ratio is lower than the lower limit of the preset signal-to-noise ratio range, an instruction to increase the transmit power is sent to the electronic device, so that the electronic device responds to the instruction to increase the transmit power and increases the transmit power of the electronic device; if the signal-to-noise ratio is higher than the upper limit of the preset signal-to-noise ratio range, an instruction to reduce the transmit power is sent to the electronic device, so that the electronic device responds to the instruction to reduce the transmit power and reduces the transmit power of the electronic device.
[0104] Therefore, based on this embodiment, the communication system parameters can be dynamically adjusted according to the real-time evaluation results of the channel quality. Specifically, the power control parameters in the communication system parameters can be adjusted to increase or decrease the transmission power to optimize the SNR. On the basis of meeting the signal-to-noise ratio requirements of the electronic device communication, the transmission power of the electronic device transmitting data can be adjusted in real time according to the actual signal-to-noise ratio of the channel to avoid the problem of high energy consumption during the communication process caused by continuously transmitting data based on high transmission power.
[0105] For example, step 207 may also include the following sub-steps:
[0106] Sub-step B1, during the data interaction between the electronic device and the gateway device, the signal-to-noise ratio of the target channel is acquired in real time.
[0107] The method of this step has been described in the aforementioned sub-step A1 and will not be repeated here.
[0108] Sub-step B2: if the signal-to-noise ratio is outside the preset signal-to-noise ratio range, a modulation mode adjustment instruction for changing the modulation mode is sent to the electronic device, so that the electronic device adjusts the modulation mode for transmitting data to the gateway device in response to the modulation mode adjustment instruction.
[0109] If the signal-to-noise ratio is outside the preset signal-to-noise ratio range, it means that the current communication state does not meet the communication requirements of the electronic device. Therefore, it is necessary to send a modulation mode adjustment instruction to the electronic device to change the modulation mode, so that the electronic device can respond to the modulation mode adjustment instruction and adjust the modulation mode for transmitting data to the gateway device to adjust the signal-to-noise ratio so that the communication mode meets the communication requirements of the electronic device.
[0110] Specifically, adjusting the modulation mode may include the following steps: selecting a more appropriate modulation mode according to the channel quality, such as using a more robust modulation mode when the channel quality is poor.
[0111] In addition, according to the method of step 201 to step 207, route selection in the communication process can also be implemented. Specifically, in a multi-path environment, a path with the best channel quality is selected for data transmission.
[0112] For example, step 207 may also include the following sub-steps:
[0113] Sub-step C1, obtaining the size of the data packet for data interaction between the electronic device and the gateway device.
[0114] Specifically, if the data packet is relatively large, it means that the electronic device is in an active state, and there is valid data transmission between the electronic device and the gateway device. If the data packet is relatively small, it means that the electronic device is in an inactive state, and the transmission between the electronic device and the gateway device is not valid data, but only response data other than valid data.
[0115] Sub-step C2: if the data packet size is less than or equal to the first preset data packet size threshold, sending a sleep instruction to the electronic device, so that the electronic device enters a sleep state in response to the sleep instruction.
[0116] For example, the first preset data packet size threshold can be determined based on historical communication data of the communication system. Specifically, based on the data packet size of data transmitted when the electronic device is in an active state and the gateway device performs data interaction during a historical time period, the minimum value of these data packet sizes is obtained, and the minimum value is determined as the first preset data packet size threshold.
[0117] Therefore, when the data packet size is less than or equal to the first preset data packet size threshold, the interaction between the electronic device and the gateway device may only be request and response data to determine whether the electronic device and the gateway device are communicating normally. In this case, a sleep instruction can be sent to the electronic device so that the electronic device can respond to the sleep instruction and enter a sleep state to reduce energy consumption of the electronic device and the gateway device.
[0118] Furthermore, if the data packet size is less than or equal to the first preset data packet size threshold, a sleep instruction is sent to the electronic device, so that the electronic device responds to the sleep instruction and enters a sleep state. Thus, an inactive electronic device can enter a low-power sleep state to save energy.
[0119] Sub-step C3: if the data packet size is greater than a second preset data packet size threshold, determining whether the electronic device is in a sleep state.
[0120] For example, the second preset data packet size threshold may be determined based on historical communication data of the communication system. The first preset data packet size and the second preset data packet size may be equal or unequal.
[0121] If the data packet size is greater than the second preset data packet size threshold, it means that the electronic device and the gateway device are in a state where normal data interaction is required. In this case, if the electronic device is in a sleep state, it will affect the normal data interaction. Therefore, it is necessary to determine whether the electronic device is in a sleep state to control the state of the electronic device based on the determination result.
[0122] Sub-step C4: if it is determined that the electronic device is in a dormant state, a wake-up instruction is sent to the electronic device, so that the electronic device responds to the wake-up instruction and enters a wake-up state.
[0123] If it is determined that the electronic device is in a non-sleep state, no wake-up instruction is sent to the electronic device.
[0124] Furthermore, if the data packet size is greater than the second preset data packet size threshold, and it is determined that the electronic device is in a dormant state, a wake-up instruction is sent to the electronic device, so that the electronic device responds to the wake-up instruction and enters the awake state. Thus, the electronic device in the dormant state can be awakened in time through the actual data packet size and the second preset data packet size threshold, as well as the judgment result of whether the electronic device is in a dormant state, so that the electronic device can communicate normally with the gateway device.
[0125] In this embodiment, the channel performance parameters of each channel are obtained respectively; the initial channel performance parameters of each channel are obtained; the initial channel performance parameters are filtered and interpolated to obtain the processed channel performance parameters. For each channel, each channel performance parameter of the channel is normalized to obtain a normalized result. The normalized result of each channel performance parameter is weighted and summed to obtain a comprehensive performance evaluation value of the channel. According to the comprehensive performance evaluation value, a target channel is selected from at least one channel so that the electronic device can interact with the gateway based on the target channel.
[0126] Through filtering and interpolation processing, channel performance parameters with high accuracy and availability can be obtained. The processed channel performance parameters are normalized, and based on the normalized processing results, the comprehensive channel performance evaluation value of each channel can be accurately obtained. The target channel is obtained based on the comprehensive performance evaluation value, and data is exchanged between the target channel and the electronic device, so that a channel communication method with the lowest energy consumption and the best communication quality can be realized.
[0127] Figure 3 and Figure 4 is a flowchart of another data processing method provided by an embodiment of the present invention, referring to Figure 3 and Figure 4 For the electronic devices to be networked, data processing can be performed according to the following methods:
[0128] Step S1: The device to be connected initiates a communication request to the gateway device.
[0129] First, a modular design is adopted to modularize the gateway's CSI data processing, adaptive algorithm, and sleep mechanism functions to facilitate integration and maintenance. Each module communicates through a standard interface to ensure the flexibility and scalability of the system. In this way, the power consumption of different types of devices can be adjusted through the gateway when they are connected.
[0130] The gateway uses CSI data to evaluate channel quality in real time, analyzes through indicators such as signal-to-noise ratio (SNR) and channel gain, and dynamically understands the current channel status. It selects a channel with a better network environment for the accessing device to connect, and sends low-power information at the same time, because it can reduce power consumption for connection when it selects a good channel environment. Based on the real-time evaluation of channel quality, the collected channel information is uploaded to the internal adaptive algorithm. The gateway checks the signal source of the device access in the current access device. If it finds that the device has basically no data transmission, it can dynamically adjust the transmission power, bandwidth, and modulation coding of its wifi device to save its energy.
[0131] Based on this, the gateway also needs to implement an intelligent sleep and fast wake-up mechanism for the device. It detects environmental information based on CSI data, and then based on the data transmission requirements, the gateway intelligently determines the sleep state and active working time of the working device. Through rapid response with the device, it can ensure that the device has the optimal channel during data transmission. After completing the information transmission, it will only be active for a period of time before entering the sleep state, thereby reducing the power consumption of the device.
[0132] Step S2: The gateway device collects CSI data of each channel respectively.
[0133] For example, a WiFi chip for CSI data collection is integrated inside the gateway device, and CSI data is collected based on the WiFi chip.
[0134] The CSI data may include channel gain, signal-to-noise ratio, bit error rate, and phase information. It may also include timestamp information. Furthermore, the data transmission delay may be calculated based on the timestamp information.
[0135] In step S3, the gateway device obtains the comprehensive performance evaluation value of each channel according to the CSI data, selects the target channel with the best network environment from multiple channels according to the comprehensive performance evaluation value, and returns the channel identifier of the target channel to the communication module in the gateway device.
[0136] For example, each initial CSI data collected by the gateway device may be filtered, interpolated and normalized to obtain dimensionless channel performance parameters. Then, for each channel, the dimensionless channel performance parameters of the channel are weighted and summed according to preset weights corresponding to each channel performance parameter to obtain a weighted summation result, and the weighted summation result is determined as the comprehensive performance evaluation value of the channel.
[0137] The preset weight value may be set according to communication requirements. For example, if the signal-to-noise ratio requirement for the communication process is relatively high, the weight value corresponding to the signal-to-noise ratio may be set larger; if the bit error rate requirement for the communication process is relatively high, the weight value corresponding to the bit error rate may be set larger.
[0138] For example, CSI data may include channel gain, signal-to-noise ratio, bit error rate, phase information, and timestamp information. Data transmission delay can be calculated based on timestamp information, and the channel gain, signal-to-noise ratio, bit error rate, phase information, and transmission delay are processed as follows: filtering, performing difference processing on the filtered data, and normalizing the difference processing results.
[0139] Thus, the normalized processing result of the channel gain, the normalized processing result of the signal-to-noise ratio, the normalized processing result of the bit error rate, the normalized processing result of the phase information, and the normalized processing result of the transmission delay are obtained. Then, according to the preset weight value of the channel gain, the preset weight value of the signal-to-noise ratio, the preset weight value of the bit error rate, the preset weight value of the phase information, and the preset weight value of the transmission delay, the normalized processing result of the channel gain, the normalized processing result of the signal-to-noise ratio, the normalized processing result of the bit error rate, the normalized processing result of the phase information, and the normalized processing result of the transmission delay are weighted and summed to obtain the weighted summation processing result, and the weighted processing result is determined as the comprehensive performance evaluation value of the channel.
[0140] For example, the channel with the largest comprehensive evaluation value may be determined as the target channel.
[0141] For example, the performance of each channel can be classified according to the comprehensive evaluation value to obtain the performance category of each channel, and then the performance category that meets the communication requirements of the electronic device is selected, and one of the channels corresponding to these performance categories is selected as the target channel.
[0142] For example, the performance parameters of various channels that need to be paid attention to in the communication of the electronic device can be obtained, and the performance parameters to be analyzed with the highest priority can be selected; based on the comparison results of the performance parameters to be analyzed in all channels, the channels to be analyzed that meet the communication needs of the electronic device can be selected; then the comprehensive performance rating values of each channel to be analyzed can be obtained and compared, and based on the comparison results, the target channel can be obtained from each channel to be analyzed.
[0143] Step S4: The communication module communicates with the device to be connected based on the target channel, and adjusts the transmission power of the electronic device according to the signal-to-noise ratio of the channel during the communication process to reduce communication power consumption.
[0144] Specifically, during the data interaction between the electronic device and the gateway device, the signal-to-noise ratio of the target channel is acquired in real time. If the signal-to-noise ratio is within a preset signal-to-noise ratio range, the data transmission power of the electronic device is not adjusted.
[0145] If the signal-to-noise ratio is outside the preset signal-to-noise ratio range, the data transmission power of the electronic device is adjusted according to the following method: if the signal-to-noise ratio is lower than the lower limit of the preset signal-to-noise ratio range, an instruction to increase the transmission power is sent to the electronic device, so that the electronic device responds to the instruction to increase the transmission power and increases the transmission power of the electronic device; if the signal-to-noise ratio is higher than the upper limit of the preset signal-to-noise ratio range, an instruction to reduce the transmission power is sent to the electronic device, so that the electronic device responds to the instruction to reduce the transmission power and reduces the transmission power of the electronic device.
[0146] Further, see Figure 4 The device to be connected initiates a connection to the gateway device. The gateway device collects CSI data through the WiFi chip and performs channel status analysis on each channel of the gateway device according to the method of the aforementioned embodiment to obtain a comprehensive performance evaluation value of each channel.
[0147] According to the comprehensive performance evaluation value of each channel, a target channel is selected from multiple channels, and then the channel identifier of the target channel is returned to the communication module in the gateway device. The communication module determines the target channel based on the channel identifier and communicates with the device to be connected according to the target channel.
[0148] The target is the best channel selected from multiple channels of the gateway device. In the process of communication based on the best channel, the gateway device adjusts the modulation mode of the electronic device and the transmission power of the data sent according to the actual communication state to reduce energy consumption.
[0149] Based on the method of this embodiment, the transmission power of the electronic device can be adjusted in real time according to the actual communication status between the electronic device and the gateway device, thereby improving the user experience and reducing energy consumption. In addition, by synchronizing the method of this embodiment, the comprehensive performance evaluation value of each channel can be obtained, the channel can be dynamically evaluated for channel quality, and the target channel can be obtained from the channel according to the evaluation result. The electronic device interacts with the gateway device based on the target channel to ensure data communication and reduce the energy consumption of device communication.
[0150] Reference Figure 5 and Figure 6 For network-connected electronic devices, data processing can be performed according to the following methods:
[0151] Step F1, start the gateway device.
[0152] Among them, a wifi chip for collecting CSI data is set in the gateway device. After the gateway device is started, the channel performance parameters of the channel can be collected based on the wifi chip of the gateway device.
[0153] Step F2: Based on the adaptive algorithm in the gateway, a target channel with good performance is allocated to the active device in communication connection with the gateway device, and the transmission power is adjusted.
[0154] The adaptive algorithm includes: in the process of data interaction between the electronic device and the gateway device, the signal-to-noise ratio of the target channel is obtained in real time; if the signal-to-noise ratio is outside the preset signal-to-noise ratio range, a transmission power adjustment instruction for adjusting the transmission power is sent to the electronic device, so that the electronic device responds to the transmission power adjustment instruction and adjusts the data transmission power of the data transmitted to the gateway device. If the signal-to-noise ratio is outside the preset signal-to-noise ratio range, a modulation mode adjustment instruction for changing the modulation mode is sent to the electronic device, so that the electronic device responds to the modulation mode adjustment and adjusts the modulation mode of transmitting data to the gateway device.
[0155] In addition, the adaptive algorithm also includes: acquiring channel performance parameters of each of the channels in real time; the channel performance parameters include at least one of the following: channel gain, signal-to-noise ratio, and bit error rate; acquiring a comprehensive performance evaluation value of the channel based on the channel performance parameters; selecting a target channel from at least one channel based on the comprehensive performance evaluation value; if the target channel is inconsistent with the current communication channel, switching the communication channel to the target channel so as to perform data interaction with the electronic device based on the target channel.
[0156] Step F3, sending a sleep instruction to the active device that is in communication connection with the gateway device to reduce power consumption.
[0157] Specifically, during the communication between the electronic device and the gateway device, the size of the data packet for data exchange between the electronic device and the gateway device is obtained in real time, and then the data packet size is compared with a first preset data packet size threshold.
[0158] If the data packet size is less than or equal to a first preset data packet size threshold, a sleep instruction is sent to the electronic device, so that the electronic device enters a sleep state in response to the sleep instruction.
[0159] Step F4, sending a quick wake-up instruction to the active device that is in communication connection with the gateway device, so as to wake up the active device.
[0160] Specifically, during the communication between the electronic device and the gateway device, the size of the data packet for data exchange between the electronic device and the gateway device is obtained in real time, and the current state of the electronic device is determined, and the state includes: being in a dormant state or a wake-up state.
[0161] If the data packet size is greater than the second preset data packet size threshold and the electronic device is in a dormant state, a wake-up instruction is sent to the electronic device so that the electronic device enters a wake-up state in response to the wake-up instruction.
[0162] Step F5: The gateway device and the awakened device to be active perform data exchange.
[0163] Further, see Figure 6 , start the gateway device, and obtain the comprehensive performance evaluation value of each channel according to the adaptive algorithm in the gateway device. Specifically, the adaptive algorithm is used to implement the method of the above steps 101 to 104, which will not be repeated here.
[0164] Furthermore, a target channel with good performance is obtained according to an adaptive algorithm, communication is performed with active electronic devices based on the target channel, and the transmission power of the active devices is adjusted according to the actual communication status to reduce energy consumption.
[0165] Furthermore, if the data packet size of the data transmitted between the gateway device and the electronic device is less than or equal to the first preset data packet size threshold, the electronic device is determined to be a to-be-active device, and a sleep instruction is sent to the to-be-active device to reduce device power and enter a sleep state.
[0166] Furthermore, if the data packet size of the data transmitted between the gateway device and the electronic device is greater than the second preset data packet size threshold, and it is determined that the electronic device is in a dormant state, a quick wake-up instruction is sent to it to wake up the electronic device. This allows the electronic device to interact with the gateway device normally. For example, the awakened electronic device can send data to the gateway device based on the target channel, and the gateway device can also send data to the electronic device based on the target channel.
[0167] Furthermore, during the actual communication process, if the actual communication channel is not the target channel obtained according to the adaptive algorithm, the communication is switched to the target channel.
[0168] Based on the method of this embodiment, channel quality selection can be performed dynamically, and an adaptive algorithm can be implemented in combination with an adaptive model in a gateway device. According to the adaptive algorithm, the transmit power of the electronic device is adjusted in combination with the actual scenario to communicate based on optimal power consumption. In addition, this embodiment uses a modular design so that different types of electronic devices can be connected to the gateway device to achieve energy-saving functions.
[0169] refer to Figure 7 , which shows a data processing device 40 provided in an embodiment of the present application, referring to Figure 7 , the device 40 comprises:
[0170] The first acquisition module 401 is used to respectively acquire a channel performance parameter of each of the channels; the channel performance parameter includes at least one of the following: channel gain, signal-to-noise ratio, and bit error rate;
[0171] A second acquisition module 402, configured to acquire a comprehensive performance evaluation value of a channel according to the channel performance parameter;
[0172] A first selection module 403, configured to select a target channel from at least one channel according to a comprehensive performance evaluation value;
[0173] The communication module 404 is used to perform data exchange with the electronic device according to the target channel.
[0174] Optionally, the second acquisition module 402 may include:
[0175] A first acquisition submodule is used to perform normalization processing on each channel performance parameter of each channel to obtain a normalization processing result;
[0176] The second acquisition submodule is used to perform weighted sum processing on the normalization processing results of each channel performance parameter to obtain a comprehensive performance evaluation value of the channel.
[0177] Optionally, the first acquisition module 401 may include:
[0178] A third acquisition submodule is used to acquire initial channel performance parameters of each channel;
[0179] A fourth acquisition submodule is used to perform filtering and interpolation processing on the initial channel performance parameters to obtain processed channel performance parameters;
[0180] The first determining submodule is used to determine the processed channel performance parameter as the channel performance parameter of the channel.
[0181] Optionally, the communication module 404 may include:
[0182] A fifth acquisition submodule, used to acquire the signal-to-noise ratio of the target channel in real time during the data interaction between the electronic device and the gateway device;
[0183] The first sending submodule is used to send a transmission power adjustment instruction for adjusting the transmission power to the electronic device if the signal-to-noise ratio is outside the preset signal-to-noise ratio range, so that the electronic device can respond to the transmission power adjustment instruction and adjust the data transmission power of the data transmitted to the gateway device.
[0184] Optionally, the communication module 404 may include:
[0185] A sixth acquisition submodule, used to acquire the signal-to-noise ratio of the target channel in real time during the data interaction between the electronic device and the gateway device;
[0186] The second sending submodule is used to send a modulation mode adjustment instruction to the electronic device to change the modulation mode if the signal-to-noise ratio is outside the preset signal-to-noise ratio range, so that the electronic device can respond to the modulation mode adjustment and adjust the modulation mode for transmitting data to the gateway device.
[0187] Optionally, the communication module 404 may include:
[0188] A seventh acquisition submodule, used to acquire the size of a data packet for data interaction between the electronic device and the gateway device;
[0189] The third sending submodule is used to send a sleep instruction to the electronic device if the data packet size is less than or equal to the first preset data packet size threshold, so that the electronic device enters a sleep state in response to the sleep instruction.
[0190] Optionally, the communication module 404 may include:
[0191] A determination submodule, configured to determine whether the electronic device is in a dormant state if the data packet size is greater than a second preset data packet size threshold;
[0192] The fourth sending submodule is used to send a wake-up instruction to the electronic device if it is determined that the electronic device is in a dormant state, so that the electronic device enters a wake-up state in response to the wake-up instruction.
[0193] In this embodiment, the channel performance parameters of each channel are obtained respectively; the channel performance parameters include at least one of the following: channel gain, signal-to-noise ratio, and bit error rate; according to the channel performance parameters, a comprehensive performance evaluation value of the channel is obtained; according to the comprehensive performance evaluation value, a target channel is selected from at least one channel, so that the electronic device can interact with the gateway based on the target channel. The target channel is selected from multiple channels of the gateway device according to the channel performance, and data is interacted with the electronic device based on the target channel, so that a channel communication method based on the lowest energy consumption and the best communication quality can be realized.
[0194] Reference Figure 8 , the electronic device 500 may include one or more of the following components: a processing component 502 , a memory 504 , a power component 506 , a multimedia component 508 , an audio component 510 , an input / output (I / O) interface 512 , a sensor component 514 , and a communication component 516 .
[0195] The processing component 502 generally controls the overall operation of the electronic device 500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.
[0196] The memory 504 is used to store various types of data to support the operation of the electronic device 500. Examples of such data include instructions for any application or method operating on the electronic device 500, contact data, phone book data, messages, pictures, multimedia, etc. The memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0197] The power supply component 506 provides power to the various components of the electronic device 500. The power supply component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 500.
[0198] The multimedia component 508 includes an interface that provides an output interface between the electronic device 500 and the user. In some embodiments, the interface may include a liquid crystal display (LCD) and a touch panel (TP). If the interface includes a touch panel, the interface may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the electronic device 500 is in an operating mode, such as a shooting mode or a multimedia mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0199] The audio component 510 is used to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC), and when the electronic device 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is used to receive an external audio signal. The received audio signal can be further stored in the memory 504 or sent via the communication component 516. In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.
[0200] The input / output I / O interface 512 provides an interface between the processing component 502 and the peripheral interface module, which may be a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0201] The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the electronic device 500. For example, the sensor assembly 514 can detect the open / closed state of the electronic device 500, the relative positioning of components, such as the display and keypad of the electronic device 500, and the sensor assembly 514 can also detect the position change of the electronic device 500 or a component of the electronic device 500, the presence or absence of user contact with the electronic device 500, the orientation or acceleration / deceleration of the electronic device 500, and the temperature change of the electronic device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 514 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0202] The communication component 516 is used to facilitate wired or wireless communication between the electronic device 500 and other devices. The electronic device 500 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0203] In an exemplary embodiment, the electronic device 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to implement a data processing method provided in an embodiment of the present application.
[0204] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, and the instructions can be executed by a processor 520 of an electronic device 500 to perform the above method. For example, the non-transitory storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0205] Fig. 9 600 is a block diagram of an electronic device 600 according to another embodiment of the present invention. For example, the electronic device 600 may be provided as a server. Fig. 9 The electronic device 600 includes a processing component 622, which further includes one or more processors, and a memory resource represented by a memory 632 for storing instructions that can be executed by the processing component 622, such as an application. The application stored in the memory 632 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 622 is configured to execute instructions to perform a data processing method provided in an embodiment of the present application.
[0206] The electronic device 600 may also include a power supply component 626 configured to perform power management of the electronic device 600, a wired or wireless network interface 650 configured to connect the electronic device 600 to a network, and an input / output (I / O) interface 658. The electronic device 600 may operate based on an operating system stored in the memory 632, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, FreeBSD TM or the like.
[0207] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the application disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0208] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A data processing method, characterized in that: Applied to a gateway device, the gateway device has at least one channel; the method comprises: Acquire channel performance parameters of each of the channels respectively; the channel performance parameters include at least one of the following: channel gain, signal-to-noise ratio, and bit error rate; Obtaining a comprehensive performance evaluation value of the channel according to the channel performance parameters; selecting a target channel from at least one channel according to the comprehensive performance evaluation value; Data is exchanged with the electronic device according to the target channel.
2. The method according to claim 1, characterized in that The step of performing data interaction with the electronic device according to the target channel includes: During data interaction between the electronic device and the gateway device, acquiring the signal-to-noise ratio of the target channel in real time; If the signal-to-noise ratio is outside a preset signal-to-noise ratio range, a transmission power adjustment instruction for adjusting the transmission power is sent to the electronic device, so that the electronic device adjusts the data transmission power for transmitting data to the gateway device in response to the transmission power adjustment instruction.
3. The method according to claim 1, characterized in that The step of performing data interaction with the electronic device according to the target channel includes: During data interaction between the electronic device and the gateway device, acquiring the signal-to-noise ratio of the target channel in real time; If the signal-to-noise ratio is outside a preset signal-to-noise ratio range, a modulation mode adjustment instruction for changing the modulation mode is sent to the electronic device, so that the electronic device adjusts the modulation mode for transmitting data to the gateway device in response to the modulation mode adjustment instruction.
4. The method according to claim 1, characterized in that: According to the target channel, data interaction is performed with the electronic device, including: Acquire the size of a data packet for data exchange between the electronic device and the gateway device; If the data packet size is less than or equal to a first preset data packet size threshold, a sleep instruction is sent to the electronic device, so that the electronic device enters a sleep state in response to the sleep instruction.
5. The method according to claim 4, characterized in that The method further comprises: If the data packet size is greater than a second preset data packet size threshold, determining whether the electronic device is in a dormant state; If it is determined that the electronic device is in a dormant state, a wake-up instruction is sent to the electronic device, so that the electronic device enters a wake-up state in response to the wake-up instruction.
6. The method according to claim 1, characterized in that The obtaining, according to the channel performance parameter, a comprehensive performance evaluation value of the channel includes: For each channel, normalizing each channel performance parameter of the channel to obtain a normalized result of the channel performance parameter; For each of the channels, weighted sum processing is performed on normalized processing results of various channel performance parameters of the channel to obtain a comprehensive performance evaluation value of the channel.
7. The method according to claim 1, characterized in that Respectively obtaining channel performance parameters of each of the channels, including: Respectively obtaining initial channel performance parameters of each of the channels; Performing filtering and interpolation processing on the initial channel performance parameters to obtain processed channel performance parameters; The processed channel performance parameters are determined as the channel performance parameters of the channel.
8. A channel selection device, characterized in that: The device is located in a gateway device, and the gateway device has at least one channel; the device includes: A first acquisition module, configured to respectively acquire a channel performance parameter of each of the channels; the channel performance parameter includes at least one of the following: channel gain, signal-to-noise ratio, and bit error rate; A second acquisition module, used to acquire a comprehensive performance evaluation value of a channel according to the channel performance parameter; A first selection module, configured to select a target channel from at least one channel according to a comprehensive performance evaluation value; The communication module is used to perform data exchange with the electronic device according to the target channel.
9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method and apparatus for combined configuration for power and channel of WLAN
CN105340333A
Method and system for selecting WiFi access point channel
CN112351473A
Power management for WLAN
CN1842027A
Method of power control for mobile communication system
CN1870455A