Methods, apparatus, network devices, and readable storage media for temperature regulation
By determining the target power consumption, reducing the transmit power of network devices, and accurately assessing the power consumption contribution of terminal devices, the problem of decreased throughput of terminal devices caused by network device temperature control is solved, achieving both accurate temperature regulation and sustained throughput.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TP-LINK
- Filing Date
- 2023-04-04
- Publication Date
- 2026-05-29
AI Technical Summary
Existing network equipment, when controlling temperature, switches power amplifiers via duty cycle control mechanisms, causing a decrease in throughput for all terminal devices.
By determining the target power consumption, reducing the transmit power of network devices, and stopping power consumption determination when the throughput of terminal devices does not decrease, the power consumption contribution of each terminal device is accurately assessed, and the transmit power of only the terminal device with the highest power consumption is reduced.
While regulating the temperature of network equipment, it avoids a decrease in throughput of all terminal devices, thus improving the accuracy of temperature control and throughput maintenance.
Smart Images

Figure CN116347574B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communications, and in particular relates to a method, apparatus, network device, and readable storage medium for temperature regulation. Background Technology
[0002] The existing temperature control strategy used by network equipment is as follows: when the temperature of the network equipment reaches the set temperature threshold, the power amplifier (PA) connected to the radio frequency link in the network equipment will be periodically switched on and off through the duty cycle control mechanism to prevent the PA from being in the emission state for a long time, thereby achieving the purpose of cooling.
[0003] The resulting impact is that all terminal devices connected to the network will experience a decrease in throughput. Summary of the Invention
[0004] This application provides a method, apparatus, terminal device, and storage medium for temperature regulation, which can regulate the temperature of network devices by reducing transmission power while avoiding a decrease in throughput for all terminal devices.
[0005] In a first aspect, embodiments of this application provide a temperature regulation method applied to a network device, the network device being communicatively connected to multiple terminal devices, including:
[0006] Determine the target power consumption, which is the power consumption of the network device when the network device communicates with the target terminal device. The target terminal device is the terminal device that makes the greatest contribution to the power consumption generated by the network device during the communication process when the network device communicates with the multiple terminal devices.
[0007] Based on the target power consumption, reduce the transmit power of the network device;
[0008] The throughput of the plurality of terminal devices is determined based on the reduced transmit power of the network devices.
[0009] If the throughput of the multiple terminal devices does not decrease, the determination of the target power consumption will stop when the temperature of the network device is less than or equal to a preset temperature threshold.
[0010] In this embodiment, a target power consumption is determined; based on the target power consumption, the transmit power of the network device is reduced; based on the reduced transmit power of the network device, the throughput of multiple terminal devices is determined; if the throughput of the multiple terminal devices does not decrease, the determination of the target power consumption is stopped when the temperature of the network device is less than or equal to a preset temperature threshold. That is, this embodiment reduces the transmit power of the network device based on the target power consumption and determines the throughput of multiple terminal devices; if the throughput of the multiple terminal devices does not decrease, the determination of the target power consumption is stopped. This can prevent a decrease in throughput for all terminal devices while adjusting the temperature of the network device by reducing the transmit power.
[0011] In one possible implementation of the first aspect, reducing the transmit power of the network device based on the target power consumption includes:
[0012] Based on the target power consumption, the target negotiation rate between the network device and the target terminal device is determined, and the target negotiation rate is the negotiation rate that contributes the most to the power consumption of the network device.
[0013] Based on the target negotiation rate, the transmit power of the network device corresponding to the target negotiation rate and at least one first negotiation rate is reduced, wherein the first negotiation rate is lower than the target negotiation rate.
[0014] In this embodiment, the target negotiation rate between the network device and the target terminal device is determined based on the target power consumption. Based on the target negotiation rate, the transmit power corresponding to the target negotiation rate and at least one first negotiation rate in the network device is reduced. When adjusting the temperature of the network device, the transmit power corresponding to the target negotiation rate and at least one first negotiation rate in the network device can be reduced only, without reducing the transmit power corresponding to all negotiation rates, thus avoiding a decrease in throughput for all terminal devices.
[0015] Wherein, the step of stopping the determination of the target power consumption when the temperature of the network device is less than or equal to a preset temperature threshold, if the throughput of the plurality of terminal devices does not decrease, includes:
[0016] Determine the throughput of the at least one first terminal device, wherein the first terminal device is a terminal device other than the target terminal device among the plurality of terminal devices;
[0017] If the throughput of the at least one first terminal device does not decrease, then the throughput of the target terminal device is determined.
[0018] If the throughput of the target terminal device does not decrease, the determination of the target power consumption will stop when the temperature of the network device is less than or equal to a preset temperature threshold.
[0019] In this embodiment, by determining the target power consumption, the throughput of multiple terminal devices is determined based on the reduced transmission power of the network device, and the throughput of at least one first terminal device is determined. If the throughput of at least one first terminal device does not decrease, the throughput of the target terminal device is determined. If the throughput of the target terminal device does not decrease, the determination of the target power consumption is stopped when the temperature of the network device is less than or equal to a preset temperature threshold. This can prevent the throughput of all terminal devices from decreasing while adjusting the temperature of the network device by reducing the transmission power.
[0020] The method further includes, after determining the throughput of the at least one first terminal device:
[0021] If the throughput of the at least one first terminal device decreases, the transmit power corresponding to the at least one first negotiation rate of the network device is increased;
[0022] The throughput of the target terminal device is determined based on the transmit power corresponding to the at least one first negotiation rate of the network device after the increase.
[0023] In this embodiment, while adjusting the temperature of the network device by reducing the transmission power, if the throughput of at least one first terminal device decreases, the transmission power corresponding to at least one first negotiation rate of the network device can be increased to avoid a decrease in the throughput of at least one first terminal device.
[0024] After determining the throughput of the plurality of terminal devices based on the reduced transmit power of the network device, the method further includes:
[0025] If the throughput of the at least one first terminal device does not decrease, and the decrease in throughput of the target terminal device is less than or equal to a preset threshold, then when the temperature of the network device is less than or equal to a preset temperature threshold, the determination of the target power consumption is stopped. The first terminal device is a terminal device other than the target terminal device among the plurality of terminal devices, and the target terminal device is the terminal device corresponding to the target power consumption.
[0026] In this embodiment of the application, if the throughput of at least one first terminal device does not decrease, and the decrease in throughput of the target terminal device is less than or equal to a preset threshold, then when the temperature of the network device is less than or equal to a preset temperature threshold, the determination of target power consumption is stopped. This allows for the reduction of throughput of the target terminal device while adjusting the temperature of the network device by reducing the transmission power, with the decrease being less than or equal to the preset threshold, thus avoiding a decrease in throughput for all terminal devices.
[0027] After determining the throughput of the plurality of terminal devices based on the reduced transmit power of the network device, the method further includes:
[0028] If the throughput of the at least one first terminal device does not decrease and the throughput of the target terminal device decreases by a greater than a preset threshold, then the transmit power corresponding to the target negotiation rate of the network device is increased. The first terminal device is a terminal device other than the target terminal device among the plurality of terminal devices, and the target negotiation rate is the negotiation rate that contributes the most to the power consumption of the network device.
[0029] Based on the transmission power corresponding to the target negotiation rate of the network device after the increase, the throughput of the target terminal device is reduced so that the decrease in throughput of the target terminal device is less than or equal to a preset threshold.
[0030] If the temperature of the network device is less than or equal to a preset temperature threshold, then the determination of the target power consumption is stopped.
[0031] In this embodiment, if the throughput of at least one first terminal device does not decrease and the throughput of the target terminal device decreases by a factor greater than a preset magnitude threshold, the transmit power corresponding to the target negotiation rate of the network device is increased. Based on the increased transmit power corresponding to the target negotiation rate of the network device, the throughput of the target terminal device is reduced so that the throughput decrease of the target terminal device is less than or equal to the preset magnitude threshold. If the temperature of the network device is less than or equal to the preset temperature threshold, the determination of the target power consumption is stopped. This allows for adjusting the temperature of the network device by reducing the transmit power while only reducing the throughput of the target terminal device with a decrease less than or equal to the preset magnitude threshold, thus avoiding a decrease in throughput for all terminal devices.
[0032] The determination of the target power consumption includes:
[0033] Obtain the negotiation rate between the network device and each terminal device, and the downlink throughput of the network device corresponding to each negotiation rate;
[0034] The power consumption per unit throughput of the downlink throughput is determined based on the negotiation rate between the network device and each terminal device and the downlink throughput of the network device corresponding to each negotiation rate.
[0035] The power consumption of each terminal device within a preset time period is determined based on the power consumption per unit of downlink throughput.
[0036] The maximum power consumption among the power consumption of the multiple terminal devices is determined as the target power consumption.
[0037] In this embodiment, by obtaining the negotiation rate between the network device and each terminal device and the downlink throughput of the network device corresponding to each negotiation rate, the power consumption per unit throughput of the downlink throughput is determined. Based on the power consumption per unit throughput of the downlink throughput, the power consumption of each terminal device within a preset time period is determined, and the maximum power consumption among multiple terminal devices is determined as the target power consumption. In other words, this application can determine the power consumption of each terminal device within a preset time period based on the power consumption per unit throughput of the downlink throughput corresponding to the negotiation rate between the network device and each terminal device, enabling accurate assessment of the power consumption contribution of each terminal device to the network device.
[0038] The step of determining the power consumption per unit throughput of the downlink throughput based on the negotiation rate between the network device and each terminal device and the downlink throughput of the network device corresponding to each negotiation rate includes:
[0039] The static power consumption of each terminal device is obtained, wherein the static power consumption is the power consumption contributed by each terminal device to the network device when the network device does not send data to each terminal device;
[0040] Based on the negotiation rate between the network device and each terminal device, the power consumption of each terminal device is determined. The power consumption is the power consumption contributed by each terminal device to the network device when the network device sends data to each terminal device based on the downlink throughput of the network device corresponding to each negotiation rate.
[0041] The power consumption per unit throughput of the downlink throughput is determined based on the static power consumption, the running power consumption, and the downlink throughput of the network device corresponding to each of the negotiated rates.
[0042] In this embodiment, by obtaining the static power consumption of each terminal device, and based on the negotiation rate between the network device and each terminal device, the power consumption of each terminal device is determined. Based on the static power consumption, the power consumption of the network device, and the downlink throughput corresponding to each negotiation rate, the power consumption per unit throughput of the downlink throughput is determined. That is, this embodiment can determine the power consumption per unit throughput of the downlink throughput of the network device corresponding to each negotiation rate. Based on the power consumption per unit throughput of the downlink throughput of the network device corresponding to each negotiation rate, the contribution of each terminal device to the power consumption of the network device is determined, which can improve the accuracy of determining the power consumption of each terminal device to the network device.
[0043] Secondly, embodiments of this application provide a temperature regulation device applied to a network device, wherein the network device is communicatively connected to the plurality of terminal devices, comprising:
[0044] A processing unit is configured to determine a target power consumption, wherein the target power consumption is the power consumption of the network device when the network device communicates with a target terminal device, and the target terminal device is the terminal device that makes the largest contribution to the power consumption generated by the network device during the communication process when the network device communicates with the multiple terminal devices.
[0045] Based on the target power consumption, reduce the transmit power of the network device;
[0046] The throughput of the plurality of terminal devices is determined based on the reduced transmit power of the network devices.
[0047] If the throughput of the multiple terminal devices does not decrease, the determination of the target power consumption will stop when the temperature of the network device is less than or equal to a preset temperature threshold.
[0048] Thirdly, embodiments of this application provide a network device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the temperature regulation method as described in any of the first aspects.
[0049] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the temperature regulation method as described in any of the first aspects.
[0050] It is understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0051] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0052] Figure 1 This is a schematic diagram illustrating an application scenario of a temperature regulation method provided in an embodiment of this application.
[0053] Figure 2a This is a schematic flowchart of a temperature regulation method provided in an embodiment of this application.
[0054] Figure 2b This is a schematic flowchart illustrating a specific method for determining target power consumption provided in an embodiment of this application.
[0055] Figure 2cThis is a schematic flowchart illustrating a specific method for determining power consumption within a unit throughput, provided in an embodiment of this application.
[0056] Figure 2d This is a schematic flowchart illustrating a specific method for reducing the transmission power of a network device, as provided in an embodiment of this application.
[0057] Figure 3 This is a schematic flowchart illustrating another temperature regulation method provided in the embodiments of this application.
[0058] Figure 4 This is a schematic flowchart illustrating another temperature regulation method provided in the embodiments of this application.
[0059] Figure 5 This is a schematic flowchart illustrating another temperature regulation method provided in the embodiments of this application.
[0060] Figure 6 This is a schematic flowchart illustrating another temperature regulation method provided in the embodiments of this application.
[0061] Figure 7 This is a schematic flowchart illustrating another temperature regulation method provided in the embodiments of this application.
[0062] Figure 8 This is a schematic diagram of the structure of a temperature regulating device provided in an embodiment of this application.
[0063] Figure 9 This is a schematic diagram of the structure of a network device provided in an embodiment of this application. Detailed Implementation
[0064] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application can also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods are omitted so as not to obscure the description of this application with unnecessary detail. In other instances, specific technical details in various embodiments can be referred to mutually, and specific systems not described in one embodiment can be referred to in other embodiments.
[0065] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0066] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0067] References to "embodiments of this application" or "some embodiments" in this specification mean that one or more embodiments of this application include specific features, structures, or characteristics described in connection with that embodiment. Therefore, phrases such as "in other embodiments," "an embodiment of this application," and "other embodiments of this application" appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0068] Furthermore, in the description of this application and the appended claims, the terms "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0069] The existing temperature control strategy used by network equipment is as follows: when the temperature of the network equipment reaches the set temperature threshold, the power amplifier (PA) integrated on the chip or connected to the internal radio frequency link of the network equipment will be periodically switched on and off through the duty cycle control mechanism to prevent the PA from being in the emission state for a long time, thereby achieving the purpose of cooling.
[0070] In the duty cycle control mechanism, the temperature of network devices is controlled in cycles, for example, a cycle of 8124 microseconds. Within one cycle, there are allowed packet transmission times and prohibited packet transmission times. When the duty cycle is set to 60%, the allowed packet transmission time is 8124 * 60% = 4874 microseconds. No packets are transmitted during the remaining time. When the network device temperature exceeds a preset threshold, the duty cycle is decreased, i.e., the allowed packet transmission time is decreased, thus lowering the network device temperature. Conversely, when the network device temperature is less than or equal to the preset threshold, the duty cycle is increased, i.e., the allowed packet transmission time is increased, thus raising the network device temperature.
[0071] When a network device communicates with multiple terminal devices, the throughput of communication between these terminal devices is determined by the allowed packet transmission duration. The longer the allowed packet transmission duration, the more packets are transmitted, and the higher the throughput when the period remains constant. Conversely, the shorter the allowed packet transmission duration, the fewer packets are transmitted, and the lower the throughput when the period remains constant.
[0072] Clearly, this is a relatively crude temperature control mechanism, the core of which is to achieve cooling by reducing the allowable packet sending time of the PA.
[0073] The resulting impact is that all terminal devices connected to the network will experience a decrease in throughput.
[0074] To address the aforementioned deficiencies, the inventive concept of this application is as follows:
[0075] This application can reduce the transmission power of network devices based on target power consumption and determine the throughput of multiple terminal devices; if the throughput of multiple terminal devices does not decrease, the determination of target power consumption is stopped. This can prevent a decrease in throughput of all terminal devices while adjusting the temperature of network devices by reducing transmission power.
[0076] To illustrate the technical solution of this application, specific embodiments are described below.
[0077] Please refer to Figure 1 , Figure 1 This is a schematic diagram illustrating an application scenario of a temperature regulation method provided in an embodiment of this application. For ease of explanation, only the parts relevant to this application are shown. This temperature regulation method can be applied to a communication system, which includes, but is not limited to, a network device 10 and multiple terminal devices 11.
[0078] Network device 10 is a wireless network access point (AP) in a wireless local area network. Network device 10 is the access point for multiple terminal devices 11 to enter the wired network. It includes wireless switches, wireless routers, wireless gateways and wireless bridges, etc. The type of network device 10 is not limited in this application embodiment.
[0079] Network device 10 serves as a bridge between wireless and wired networks and is a core device for building a wireless local area network (WLAN). Network device 10 enables multiple terminal devices 11 to access each other within the wired LAN. Within the signal coverage area of network device 10, multiple terminal devices 11 can communicate with each other through network device 10.
[0080] Terminal device 11 is a station (STA) in a wireless local area network (WLAN), typically acting as a client. Terminal device 11 includes computers, smartphones, smart home appliances, tablets, wearable devices, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), etc. This application embodiment does not limit the specific type of terminal device 11. Terminal device 11 can be mobile or fixed.
[0081] The process of terminal device 11 accessing network device 10 in a wireless local area network (WLAN) includes: network device 10 authenticating whether terminal device 11 has permission to establish a link with network device 10. If terminal device 11 has permission to establish a link with network device 10, network device 10 authenticates whether it can access the WLAN. If network device 10 can access the WLAN, it authenticates whether terminal device 11, after accessing the WLAN, has permission to access the network. Once permission to access the network is granted, terminal device 11 connects to network device 10.
[0082] In this embodiment of the application, the network device 10 is further configured to determine a target power consumption; reduce the transmission power of the network device based on the target power consumption; determine the throughput of multiple terminal devices based on the reduced transmission power of the network device; if the throughput of multiple terminal devices does not decrease, the determination of the target power consumption is stopped when the temperature of the network device is less than or equal to a preset temperature threshold.
[0083] In other embodiments, it may include a ratio Figure 1 The examples shown have more or fewer parts, or combine certain parts, or have different parts. Figure 1 This is merely an illustrative description and should not be construed as a specific limitation of this application. For example, it may also include input / output devices, network access devices, etc.
[0084] Please refer to Figure 2a , Figure 2a This is a schematic flowchart of a temperature regulation method provided in an embodiment of this application. Figure 2a The execution entity of the method in the middle can be Figure 1 Network devices in the system. For example... Figure 2a As shown, the method includes: S21 to S24.
[0085] S21. Network devices determine target power consumption.
[0086] Specifically, the target power consumption is the power consumption of the network device when communicating with the target terminal device. The target terminal device is the terminal device that makes the greatest contribution to the power consumption generated by the network device during communication when communicating with multiple terminal devices.
[0087] Power consumption refers to the loss of transmit power in the power amplifier (PA) configured in a network device. Transmit power refers to the signal strength transmitted by the network device to the terminal device.
[0088] When a network device transmits messages to multiple terminal devices at different transmit powers, the contribution of each terminal device to the power consumption of the network device is different. In this embodiment, the power consumption of the terminal device that contributes the most to the power consumption of the network device is referred to as the target power consumption of the network device.
[0089] The power consumption and temperature of network devices are positively correlated. The temperature of network devices increases as power consumption increases and decreases as power consumption decreases.
[0090] In this embodiment of the application, when the temperature of the network device is greater than a preset temperature threshold, in order to reduce the temperature of the network device without reducing the throughput of all terminal devices connected to the network device, the power consumption of the terminal device that contributes the most to the power consumption of the network device is determined, and the transmission power of the network device is reduced based on the power consumption, so as to reduce the temperature of the network device.
[0091] S22. Based on the target power consumption, the network device reduces the transmission power of the network device.
[0092] In related technologies, cooling down network equipment involves directly reducing the transmission power of the network equipment, which causes a decrease in the throughput of all terminal devices connected to the network equipment.
[0093] In order to reduce the temperature of network devices while avoiding a decrease in throughput of all terminal devices, this embodiment of the application does not directly reduce the transmission power of network devices, but reduces the transmission power of network devices based on the target power consumption.
[0094] S23. The network device determines the throughput of multiple terminal devices based on the reduced transmission power of the network device.
[0095] Specifically, after the network device reduces its transmission power based on S22, it uses a built-in throughput statistics tool to determine the throughput of multiple terminal devices.
[0096] S24. If the throughput of multiple terminal devices does not decrease, stop determining the target power consumption when the temperature of the network device is less than or equal to the preset temperature threshold.
[0097] Specifically, after determining the throughput of multiple terminal devices according to S23, the network device checks whether the throughput of the multiple terminal devices has decreased. If the throughput of the multiple terminal devices has not decreased, then S21 is stopped when the temperature of the network device is less than or equal to a preset temperature threshold. If the temperature of the network device is still greater than the preset temperature threshold, then S21 to S24 are executed again until the temperature of the network device is less than or equal to the preset temperature threshold.
[0098] In this embodiment, a target power consumption is determined; based on the target power consumption, the transmit power of the network device is reduced; based on the reduced transmit power of the network device, the throughput of multiple terminal devices is determined; if the throughput of the multiple terminal devices does not decrease, the determination of the target power consumption is stopped when the temperature of the network device is less than or equal to a preset temperature threshold. That is, this embodiment reduces the transmit power of the network device based on the target power consumption and determines the throughput of multiple terminal devices; if the throughput of the multiple terminal devices does not decrease, the determination of the target power consumption is stopped. This can prevent a decrease in throughput for all terminal devices while adjusting the temperature of the network device by reducing the transmit power.
[0099] Please refer to Figure 2b , Figure 2b This is a schematic flowchart illustrating a specific method for determining target power consumption provided in an embodiment of this application. Figure 2b The execution entity of the method in the middle can be Figure 1 Network devices in the system. For example... Figure 2b As shown, the method includes: S211 to S214.
[0100] S211. The network device obtains the negotiation rate between the network device and each terminal device and the downlink throughput of the network device corresponding to each negotiation rate.
[0101] Specifically, downlink throughput refers to the throughput of a network device when its power amplifier is in transmit mode, transmitting messages from the network device to the terminal device.
[0102] The power consumption of a network device is determined by the total transmission power when the network device transmits messages to multiple terminal devices. The greater the total transmission power, the greater the power consumption, and the smaller the total transmission power, the smaller the power consumption.
[0103] The total transmit power of a network device when transmitting messages to multiple terminal devices is determined by the combined transmit power of the network device when transmitting messages to each terminal device.
[0104] The transmission power of a network device when transmitting a message to a single terminal device is negatively correlated with the negotiation rate between the network device and the terminal device. The higher the negotiation rate between the network device and the terminal device, the lower the transmission power of the network device when transmitting a message to the terminal device; conversely, the lower the negotiation rate between the network device and the terminal device, the higher the transmission power of the network device when transmitting a message to the terminal device.
[0105] Negotiation rate is the transmission rate of messages negotiated between a network device and a terminal device when they are connected.
[0106] Network devices and terminal devices negotiate a message sending and receiving rate suitable for the current environment based on three mechanisms: message acknowledgment, message retransmission, and message rate adjustment. The negotiated rate between network devices and terminal devices will vary depending on the current environment.
[0107] Specifically, the message acknowledgment mechanism ensures the reliability of data transmission. During message transmission, for each message sent by the network device, the terminal device must reply to confirm receipt. Only when the network device receives a message from the terminal device confirming receipt does it consider the message to have been successfully sent and proceed with sending the next data frame; otherwise, the sender retransmits the message.
[0108] The message retransmission mechanism is used to retransmit a message at the same rate after a message transmission failure; at this time, network devices and terminal devices still use the message acknowledgment mechanism to confirm reliability.
[0109] The message rate adjustment mechanism is used when, under the current environment, the message cannot be retransmitted successfully even after the message acknowledgment mechanism and message retransmission mechanism have been followed. The network device performs a rate reduction operation until a suitable rate is negotiated, at which the message can be transmitted normally. After the rate reduction, the message is retransmitted.
[0110] When the environment recovers to the point where it can support high-speed transmission of messages, the network device will increase the transmission rate as a trial. Once the rate is increased and messages can be sent normally, the network device will maintain the increased transmission rate.
[0111] Factors affecting the negotiation rate include: the modulation and coding methods in the wireless LAN standard protocol, the WIFI module on the terminal device, and the channel bandwidth. When any of these factors is different, the current environment for the transmission of messages between the network device and the terminal device changes, and the negotiation rate between the network device and the terminal device changes.
[0112] In modulation and coding, modulation refers to using analog signals to carry digital or analog data; coding refers to using digital signals to carry digital or analog data. When network devices and terminal devices transmit messages, due to the limitations of the transmission medium and its format, the signals of the communicating parties cannot be transmitted directly. They must be processed through modulation and coding to adapt to the characteristics of the transmission medium in order to be transmitted correctly.
[0113] A Wi-Fi module, also known as a serial Wi-Fi module, belongs to the IoT transmission layer and is used to convert the voltage levels of serial ports or transistor logic integrated circuits into embedded modules that conform to the Wi-Fi wireless network communication standard. The type of Wi-Fi module used on a terminal device will affect the negotiation rate.
[0114] Channel bandwidth refers to the difference between the maximum and minimum frequencies in a channel. Different channel bandwidths affect the negotiation rate.
[0115] Because different terminal devices negotiate different negotiation rates with network devices, the transmission power of network devices when transmitting messages is different. Therefore, the contribution of different terminal devices to the power consumption of network devices is different. The higher the negotiation rate between network devices and terminal devices, the smaller the contribution of terminal devices to the power consumption of network devices. Conversely, the lower the negotiation rate between network devices and terminal devices, the greater the contribution of terminal devices to the power consumption of network devices.
[0116] In this embodiment of the application, the network device can query the negotiation rate between the network device and the terminal device through the query negotiation rate command, and the network device can obtain the negotiation rate of each terminal device based on the query result.
[0117] In some embodiments, the network device may calculate the negotiated rate according to the following formula:
[0118] Negotiation rate = (symbol bit length × code rate × number of wavelet carriers × spatial stream) / transmission time.
[0119] The network device can obtain the negotiated rate between the network device and each terminal device based on the calculation result of the above formula.
[0120] In this embodiment of the application, the network device can use the built-in throughput statistics tool to count the downlink throughput of the network device corresponding to the negotiation rate. Based on the statistics results, the network device can obtain the downlink throughput corresponding to the negotiation rate between the network device and each terminal device.
[0121] The power amplifier of a network device consumes more power when it is in the transmit mode than when it is in the receive mode. For the same throughput, the network device will consume more power when it is in the downlink mode than when it is in the uplink mode. Therefore, this embodiment of the application determines the target power consumption by obtaining the downlink throughput of the network device.
[0122] S212. The network device determines the power consumption per unit throughput of the downlink throughput based on the negotiation rate between the network device and each terminal device and the downlink throughput of the network device corresponding to each negotiation rate.
[0123] Specifically, when a network device connects to multiple terminal devices, the contribution of each terminal device to the network device's power consumption depends on the following parameters:
[0124] 1. Negotiation rate between network devices and terminal devices. The negotiation rate determines the transmission power when network devices communicate with terminal devices, and the power consumption of network devices is positively correlated with the transmission power when network devices communicate with terminal devices.
[0125] 2. Downlink throughput of network devices and terminal devices. Under the same negotiation rate, the power consumption of network devices is positively correlated with the downlink throughput of network devices and terminal devices.
[0126] According to the embodiments of this application, the above parameters are obtained in S211 to determine the power consumption per unit throughput of downlink throughput. Based on the power consumption per unit throughput of downlink throughput, the contribution of each terminal device to the power consumption of the network device is determined.
[0127] S213. The network device determines the power consumption of each terminal device within a preset time period based on the power consumption per unit throughput of downlink throughput.
[0128] Specifically, the power consumption contribution of each terminal device is determined within a preset time period, such as 5 minutes, 10 minutes, etc. This application embodiment does not limit this.
[0129] Network devices can determine the power consumption of each terminal device within a preset time period using the following formula:
[0130] P_count_n=Thpd_1*P_unit_1+Thpd_2*P_unit_2+......+Thpd_n*P_unit_n.
[0131] Wherein, P_count_n refers to the power consumption of each terminal device. For example, P_count_n can be P_count_1, P_count_2, and P_count_3, representing the power consumption of three terminal devices. Thpd_n refers to the downlink throughput corresponding to the negotiated rate. For example, Thpd_n can be Thpd_1, Thpd_2, and Thpd_3, representing the downlink throughput corresponding to the three negotiated rates. P_unit_n refers to the power consumption per unit throughput of the downlink throughput corresponding to the negotiated rate. For example, P_unit_1, P_unit_2, and P_unit_3, representing the power consumption per unit throughput of the downlink throughput corresponding to the three negotiated rates.
[0132] S214. The network device determines the maximum power consumption among multiple terminal devices as the target power consumption.
[0133] Specifically, after calculating the power consumption of each terminal device according to S213, the network device determines the maximum power consumption among the multiple terminal devices as the target power consumption.
[0134] Typically, the power consumption of network devices is assessed based on the RMS current and voltage, which fails to accurately evaluate the power consumption contribution of each terminal device connected to the network device.
[0135] In this embodiment, by obtaining the negotiation rate between the network device and each terminal device and the downlink throughput of the network device corresponding to each negotiation rate, the power consumption per unit throughput of the downlink throughput is determined. Based on the power consumption per unit throughput of the downlink throughput, the power consumption of each terminal device within a preset time period is determined, and the maximum power consumption among multiple terminal devices is determined as the target power consumption. In other words, this application can determine the power consumption of each terminal device within a preset time period based on the power consumption per unit throughput of the downlink throughput corresponding to the negotiation rate between the network device and each terminal device, enabling accurate assessment of the power consumption contribution of each terminal device to the network device.
[0136] Please refer to Figure 2c , Figure 2c This is a schematic flowchart illustrating a specific method for determining power consumption within a unit throughput, provided in an embodiment of this application. Figure 2c The execution entity of the method in the middle can be Figure 1 Network devices in the system. For example... Figure 2c As shown, the method includes: S2121 to S2123.
[0137] S2121, The network device obtains the static power consumption of each terminal device.
[0138] Specifically, static power consumption is the power consumption contributed by each terminal device to the network device when the network device is not sending data to each terminal device. In the embodiments of this application, the static power consumption of each terminal device can be represented by the symbol P_static.
[0139] Static power consumption refers to the power consumption generated by leakage current when the power amplifier is in a standby or inactive state.
[0140] In this embodiment of the application, the static power consumption of each terminal device can be measured based on a power consumption measurement tool.
[0141] S2122. The network device determines the power consumption of each terminal device based on the negotiated rate between the network device and each terminal device.
[0142] Specifically, the power consumption of the network device is the power consumption contributed by each terminal device to the network device when the network device sends data to each terminal device based on the downlink throughput of the network device corresponding to each negotiated rate.
[0143] In this embodiment of the application, a power consumption measurement tool can be used to measure the power consumption contributed by each terminal device to the network device.
[0144] In some embodiments, the network device determines the power consumption of each terminal device based on the negotiated rate between the network device and each terminal device, including:
[0145] The network device determines at least one power consumption per terminal device based on at least one negotiated rate between the network device and each terminal device.
[0146] For example, when a network device transmits a message to a single terminal device, the network device and the terminal device may negotiate multiple rates, such as three rates, which are denoted as X1, X2 and X3 respectively.
[0147] Using the built-in throughput statistics tool, the downlink throughput corresponding to X1 is calculated as Thpd_1, the downlink throughput corresponding to X2 is calculated as Thpd_2, and the downlink throughput corresponding to X3 is calculated as Thpd_3.
[0148] The power consumption of Thpd_1 was measured as P_dx1, the power consumption of Thpd_2 was measured as P_dx2, and the power consumption of Thpd_3 was measured as P_dx3 using a power consumption measurement tool.
[0149] S2123. The network device determines the power consumption per unit throughput of the downlink throughput based on the static power consumption, the running power consumption, and the downlink throughput of the network device corresponding to each negotiated rate.
[0150] Specifically, in this application embodiment, the power consumption per unit throughput of the downlink throughput corresponding to the negotiation rate between the network device and each terminal device can be determined according to the following formula:
[0151] P_unit_n=(P_dxn-P_static) / Thpd_xn.
[0152] Wherein, P_unit_n refers to the power consumption per unit throughput of the downlink throughput corresponding to the negotiated rate between the network device and the terminal device. For example, P_unit_1 is the power consumption per unit throughput of the downlink throughput corresponding to X1, P_unit_2 is the power consumption per unit throughput of the downlink throughput corresponding to X2, P_unit_3 is the power consumption per unit throughput of the downlink throughput corresponding to X3, and so on. P_dxn refers to the running power consumption. For example, P_dxn can be P_dx1, P_dx2, and P_dx3, etc. P_static refers to the static power consumption, and Thpd_xn refers to the downlink throughput corresponding to the negotiated rate. For example, Thpd_xn can be Thpd_x1, Thpd_x2, and Thpd_x3, etc.
[0153] In this embodiment, by obtaining the static power consumption of each terminal device, and based on the negotiation rate between the network device and each terminal device, the power consumption of each terminal device is determined. Based on the static power consumption, the power consumption of the network device, and the downlink throughput corresponding to each negotiation rate, the power consumption per unit throughput of the downlink throughput is determined. That is, this embodiment can determine the power consumption per unit throughput of the downlink throughput of the network device corresponding to each negotiation rate. Based on the power consumption per unit throughput of the downlink throughput of the network device corresponding to each negotiation rate, the contribution of each terminal device to the power consumption of the network device is determined, which can improve the accuracy of determining the power consumption of each terminal device to the network device.
[0154] Please refer to Figure 2d , Figure 2d This is a schematic flowchart illustrating a specific method for reducing the transmission power of a network device, as provided in an embodiment of this application. Figure 2d The execution entity of the method in the middle can be Figure 1 Network devices in the system. For example... Figure 2d As shown, the method includes: S221 to S222.
[0155] S221. The network device determines the target negotiation rate between the network device and the target terminal device based on the target power consumption.
[0156] Specifically, the target negotiation rate is the negotiation rate that contributes the most to the power consumption of network devices.
[0157] In this embodiment, after the network device determines the target power consumption, it can determine the target terminal device corresponding to the target power consumption. The method for determining the target power consumption has been described in other embodiments and will not be repeated here.
[0158] Among multiple negotiated rates negotiated with the target terminal device, the network device determines the negotiation rate that contributes the most to the power consumption of the target terminal device. For example, the network device determines the target power consumption according to the following formula:
[0159] P_count_n=Thpd_1*P_unit_1+Thpd_2*P_unit_2+......+Thpd_n*P_unit_n.
[0160] Where Thpd_n refers to the downlink throughput corresponding to the negotiation rate, P_unit_n refers to the power consumption per unit throughput of the downlink throughput corresponding to the negotiation rate, and Thpd_n*P_unit_n refers to the power consumption corresponding to each negotiation rate.
[0161] Network devices select the highest power consumption among multiple negotiated rates and determine the negotiated rate corresponding to the highest power consumption as the target negotiated rate. For example, there are three negotiated rates: X1, X2, and X3.
[0162] The target power consumption is:
[0163] P_count_3=Thpd_1*P_unit_1+Thpd_2*P_unit_2+Thpd_3*P_unit_3.
[0164] Where Thpd_1 is the downlink throughput corresponding to X1, Thpd_2 is the downlink throughput corresponding to X2, and Thpd_3 is the downlink throughput corresponding to X3. P_unit_1 is the power consumption per unit throughput of the downlink throughput corresponding to X1, P_unit_2 is the power consumption per unit throughput of the downlink throughput corresponding to X2, and P_unit_3 is the power consumption per unit throughput of the downlink throughput corresponding to X3. Thpd_1*P_unit_1 is the power consumption corresponding to X1, Thpd_2*P_unit_2 is the power consumption corresponding to X2, and Thpd_3*P_unit_3 is the power consumption corresponding to X3.
[0165] The network device selects the highest power consumption among Thpd_1*P_unit_1, Thpd_2*P_unit_2, and Thpd_3*P_unit_3, for example, Thpd_2*P_unit_2, and determines the negotiation rate X2 corresponding to the highest power consumption as the target negotiation rate.
[0166] S222. The network device reduces the transmit power corresponding to the target negotiation rate and at least one first negotiation rate in the network device based on the target negotiation rate.
[0167] Specifically, the first negotiation rate is lower than the target negotiation rate.
[0168] In some embodiments, based on the target negotiation rate, reducing the transmit power in the network device corresponding to the target negotiation rate and at least one first negotiation rate includes:
[0169] Based on the target negotiation rate, reduce the target negotiation rate by a preset multiple and the transmit power of at least one network device corresponding to the first negotiation rate by a preset multiple.
[0170] For example, the preset multiplier can be any value between 0.5dB and 3dB, such as a preset multiplier of 1dB. dB is a proportional value, a unit of measurement for a multiplier. The formula for dB is:
[0171] dB = 10 * log(P1 / P2).
[0172] Where P1 represents the reduced transmission power, and P2 represents the unreduced transmission power.
[0173] In communication systems, the configuration of negotiated rates is achieved through Modulation and Coding Scheme (MCS) index values. The MCS uses the factors affecting the negotiated rate as columns and the MCS indexes as rows to form a rate table. Therefore, each MCS index corresponds to a set of negotiated rates. For example, please refer to Table 1, which is an example diagram of a rate table provided in an embodiment of this application.
[0174] Table 1
[0175] MCS Index Negotiation rate (Mb / s) 0 6.5 1 13.0 2 19.5 3 26.0 4 39.0 5 52.0 6 58.5 7 65.0
[0176] For example, when a network device transmits messages to three terminal devices, denoted as A, B, and C, the network device can transmit messages to terminal device A at a negotiated rate of MCS5 to MCS7, to terminal device B at a negotiated rate of MCS3 to MCS4, and to terminal device C at a negotiated rate of MCS0 to MCS2. Of course, the network device can also transmit messages to terminal device A based on the negotiated rates of MCS0 and MCS7. The embodiments in this application are merely illustrative examples and should not be construed as limiting the scope of this application.
[0177] Based on S21, the target power consumption is determined to be the power consumption of terminal device A, and the target negotiation rate is the negotiation rate of MCS7. In this embodiment of the application, after determining the target negotiation rate, the transmit power of the network device corresponding to the target negotiation rate (MCS7) and at least one first negotiation rate (MCS0 to MCS6) is reduced.
[0178] The reason for reducing the transmit power corresponding to the target negotiation rate and at least one first negotiation rate in the network device is that the target negotiation rate is the highest negotiation rate (MCS7) among multiple negotiation rates in terminal device A with the highest power consumption. The power consumption of terminal device A is jointly determined by the transmit power corresponding to the negotiation rates from MCS5 to MCS7. The negotiation rate and transmit power are negatively correlated; that is, the transmit power corresponding to the negotiation rate of MCS7 is the lowest. The transmit power corresponding to the negotiation rates of MCS5 and MCS6 is greater than that corresponding to the negotiation rate of MCS7. The transmit power corresponding to the negotiation rates of MCS5 and MCS6 contributes more to the power consumption of terminal device A than the transmit power corresponding to the negotiation rate of MCS7. Similarly, the transmit power corresponding to negotiation rates lower than MCS7 (MCS0 to 6) contributes more to the power consumption of the network device than the transmit power corresponding to the negotiation rate of MCS7.
[0179] Therefore, when the temperature of a network device exceeds a temperature threshold, reducing the transmit power of the network device corresponding to the target negotiation rate (MCS7) and at least one first negotiation rate (MCS0 to MCS6) can reduce the temperature of the network device.
[0180] In this embodiment, the target negotiation rate between the network device and the target terminal device is determined based on the target power consumption. Based on the target negotiation rate, the transmit power corresponding to the target negotiation rate and at least one first negotiation rate in the network device is reduced. When adjusting the temperature of the network device, the transmit power corresponding to the target negotiation rate and at least one first negotiation rate in the network device can be reduced only, without reducing the transmit power corresponding to all negotiation rates, thus avoiding a decrease in throughput for all terminal devices.
[0181] Please refer to Figure 3 , Figure 3 This is a schematic flowchart illustrating another temperature regulation method provided in the embodiments of this application. Figure 3 The execution entity of the method in the middle can be Figure 1 Network devices in the network. For example... Figure 3 As shown, the method includes: S31 to S36.
[0182] S31. Network devices determine target power consumption.
[0183] Specifically, the method of S31 is the same as that of S21, and will not be repeated here.
[0184] S32. Based on the target power consumption, the network device reduces the transmission power of the network device.
[0185] Specifically, the method of S32 is the same as that of S22, and will not be repeated here.
[0186] S33. The network device determines the throughput of multiple terminal devices based on the reduced transmission power of the network device.
[0187] Specifically, the method of S33 is the same as that of S23, and will not be repeated here.
[0188] S34. The network device determines the throughput of at least one first terminal device.
[0189] Specifically, the first terminal device is any terminal device other than the target terminal device among multiple terminal devices.
[0190] In this embodiment, the throughput of multiple terminal devices includes the throughput of the target terminal device and the throughput of the network device and at least one terminal device.
[0191] In this embodiment of the application, the network device may use a built-in throughput statistics tool to determine the throughput of at least one first terminal device.
[0192] S35. If the throughput of at least one first terminal device does not decrease, then determine the throughput of the target terminal device.
[0193] In this embodiment of the application, after the network device determines the throughput of at least one first terminal device based on S34, it determines whether the throughput of at least one first terminal device has decreased.
[0194] In this embodiment of the application, if the throughput of at least one first terminal device decreases, it is determined that the throughput of at least one first terminal device has decreased; if the throughput of all first terminal devices does not decrease, it is determined that the throughput of at least one first terminal device has not decreased.
[0195] In this embodiment of the application, if the throughput of at least one first terminal device does not decrease, the throughput of the target terminal device is determined using a built-in throughput statistics tool.
[0196] S36. If the throughput of the target terminal device does not decrease, stop determining the target power consumption when the temperature of the network device is less than or equal to the preset temperature threshold.
[0197] In this embodiment of the application, if the throughput of the target terminal device does not decrease, then when the temperature of the network device is less than or equal to the preset temperature threshold, S31 is stopped. If the temperature of the network device is greater than the preset temperature threshold, then S31 to S36 are executed again until the temperature of the network device is less than or equal to the preset temperature threshold.
[0198] In other embodiments, S34 may also be: the network device determines the throughput of the network device and the target terminal device.
[0199] Correspondingly, S35 can also be: if the throughput of the target terminal device does not decrease, then determine the throughput of at least one first terminal device.
[0200] Correspondingly, S36 can also be: if the throughput of at least one first terminal device does not decrease, then stop determining the target power consumption when the temperature of the network device is less than or equal to a preset temperature threshold.
[0201] In this embodiment, by determining the target power consumption, the throughput of multiple terminal devices is determined based on the reduced transmission power of the network device, and the throughput of at least one first terminal device is determined. If the throughput of at least one first terminal device does not decrease, the throughput of the target terminal device is determined. If the throughput of the target terminal device does not decrease, the determination of the target power consumption is stopped when the temperature of the network device is less than or equal to a preset temperature threshold. This can prevent the throughput of all terminal devices from decreasing while adjusting the temperature of the network device by reducing the transmission power.
[0202] Please refer to Figure 4 , Figure 4 This is a schematic flowchart illustrating another temperature regulation method provided in the embodiments of this application. Figure 4 The execution entity of the method in the middle can be Figure 1 Network devices in the system. For example... Figure 4 As shown, the method includes: S41 to S48.
[0203] S41. Network devices determine target power consumption.
[0204] Specifically, the method of S41 is the same as that of S21, and will not be repeated here.
[0205] S42. Based on the target power consumption, the network device reduces the transmission power of the network device.
[0206] Specifically, the method of S42 is the same as that of S22, and will not be repeated here.
[0207] S43. The network device determines the throughput of multiple terminal devices based on the reduced transmit power of the network device.
[0208] Specifically, the method of S43 is the same as that of S23, and will not be repeated here.
[0209] S44. The network device determines the throughput of at least one first terminal device.
[0210] Specifically, the method of S44 is the same as that of S34, and will not be repeated here.
[0211] S45. If the throughput of at least one first terminal device decreases, the transmit power corresponding to at least one first negotiation rate of the network device is increased.
[0212] Specifically, in S42, when reducing the transmission power of the network device, the transmission power corresponding to the target negotiation rate and at least one first negotiation rate in the network device is reduced simultaneously. When the temperature of the network device is reduced in this way, the throughput of at least one first terminal device decreases. Therefore, this embodiment of the application avoids the decrease in the throughput of at least one first terminal device by increasing the transmission power corresponding to at least one first negotiation rate of the network device.
[0213] S46. The network device determines the throughput of the target terminal device based on the transmit power corresponding to at least one first negotiation rate of the network device after the upgrade.
[0214] Specifically, after S45, the network equipment determines the throughput of the target terminal device.
[0215] S47. If the throughput of at least one first terminal device does not decrease, then determine the throughput of the target terminal device.
[0216] Specifically, after S44, the network device determines the throughput of the target terminal device.
[0217] S48. If the throughput of the target terminal device does not decrease, stop determining the target power consumption when the temperature of the network device is less than or equal to the preset temperature threshold.
[0218] Specifically, after S46 and S47, if the network device determines that the throughput of the target terminal device has not decreased, it will stop executing S41 when the temperature of the network device is less than or equal to the preset temperature threshold. If the temperature of the network device is still greater than the preset temperature threshold, it will execute S41 to S48 again until the temperature of the network device is less than or equal to the preset temperature threshold.
[0219] In this embodiment, a target power consumption is determined, and based on the target power consumption, the transmit power of the network device is reduced. Based on the reduced transmit power of the network device, the throughput of multiple terminal devices is determined, and the throughput of at least one first terminal device is determined. If the throughput of at least one first terminal device decreases, the transmit power corresponding to at least one first negotiation rate of the network device is increased. Based on the increased transmit power corresponding to at least one first negotiation rate of the network device, the throughput of the target terminal device is determined. If the throughput of at least one first terminal device does not decrease, the throughput of the target terminal device is determined. If the throughput of the target terminal device does not decrease, the determination of the target power consumption is stopped when the temperature of the network device is less than or equal to a preset temperature threshold. This allows for adjusting the temperature of the network device by reducing the transmit power. If the throughput of at least one first terminal device decreases, the transmit power corresponding to at least one first negotiation rate of the network device is increased to avoid a decrease in the throughput of at least one first terminal device. If the throughput of the target terminal device does not decrease, the determination of the target power consumption is stopped when the temperature of the network device is less than or equal to a preset temperature threshold to avoid a decrease in the throughput of all terminal devices.
[0220] Please refer to Figure 5 , Figure 5 This is a schematic flowchart illustrating another temperature regulation method provided in the embodiments of this application. Figure 5 The execution entity of the method in the middle can be Figure 1 Network devices in the system. For example... Figure 5 As shown, the method includes: S51 to S54.
[0221] S51, network devices determine target power consumption.
[0222] Specifically, the method of S51 is the same as that of S21, and will not be repeated here.
[0223] S52. Based on the target power consumption, the network device reduces the transmission power of the network device.
[0224] Specifically, the method in S52 is the same as that in S22, and will not be repeated here.
[0225] S53. The network device determines the throughput of multiple terminal devices based on the reduced transmit power of the network device.
[0226] Specifically, the method in S53 is the same as that in S23, and will not be repeated here.
[0227] S54. If the throughput of at least one first terminal device does not decrease, and the decrease in throughput of the target terminal device is less than or equal to a preset threshold, then when the temperature of the network device is less than or equal to a preset temperature threshold, the determination of target power consumption is stopped.
[0228] Specifically, the network device determines the throughput of multiple terminal devices based on S53, including the throughput of the target terminal device and the throughput of at least one first terminal device. The network device then determines whether the throughput of the target terminal device and the throughput of at least one first terminal device have decreased.
[0229] If the throughput of at least one first terminal device does not decrease, and the decrease in throughput of the target terminal device is less than or equal to a preset threshold, then execution of S51 stops when the temperature of the network device is less than or equal to a preset temperature threshold. If the temperature of the network device is still greater than the preset temperature threshold, then S51 to S54 are executed again until the temperature of the network device is less than or equal to the preset temperature threshold.
[0230] For example, the preset amplitude threshold is any value between 8% and 12%, such as a preset amplitude threshold of 10%.
[0231] In this embodiment, by determining the target power consumption, the transmission power of the network device is reduced based on the target power consumption, and the throughput of multiple terminal devices is determined based on the reduced transmission power of the network device. If the throughput of at least one first terminal device does not decrease, and the decrease in throughput of the target terminal device is less than or equal to a preset threshold, then the determination of the target power consumption is stopped when the temperature of the network device is less than or equal to a preset temperature threshold. This allows for the reduction of the throughput of only the target terminal device while adjusting the temperature of the network device by reducing the transmission power, with the decrease being less than or equal to the preset threshold, thus avoiding a decrease in throughput for all terminal devices.
[0232] Please refer to Figure 6 , Figure 6 This is a schematic flowchart illustrating another temperature regulation method provided in the embodiments of this application. Figure 6 The execution entity of the method in the middle can be Figure 1 Network devices in the system. For example... Figure 6 As shown, the method includes: S61 to S66.
[0233] S61, Network devices determine target power consumption.
[0234] Specifically, the method in S61 is the same as that in S21, and will not be repeated here.
[0235] S62. Based on the target power consumption, the network device reduces the transmission power of the network device.
[0236] Specifically, the method in S61 is the same as that in S22, and will not be repeated here.
[0237] S63. The network device determines the throughput of multiple terminal devices based on the reduced transmit power of the network device.
[0238] Specifically, the method in S63 is the same as that in S23, and will not be repeated here.
[0239] S64. If the throughput of at least one first terminal device does not decrease and the throughput of the target terminal device decreases by a greater than a preset threshold, then increase the transmit power corresponding to the target negotiation rate of the network device.
[0240] Specifically, the network device determines the throughput of multiple terminal devices based on S63, including the throughput of the target terminal device and the throughput of at least one first terminal device. The network device then determines whether the throughput of the target terminal device and the throughput of at least one first terminal device have decreased.
[0241] If the throughput of at least one first terminal device decreases, the transmit power corresponding to at least one first negotiation rate of the network device is increased to ensure that the throughput of at least one first terminal device does not decrease.
[0242] When the throughput of at least one first terminal device does not decrease, and the decrease in throughput of the target terminal device is greater than a preset threshold, the transmit power corresponding to the target negotiation rate of the network device is increased.
[0243] Specifically, in S62, when reducing the transmission power of the network device, the transmission power corresponding to the target negotiation rate and at least one first negotiation rate in the network device is reduced simultaneously. When the temperature of the network device is reduced in this way, the throughput of the target terminal device decreases by more than a preset threshold. Therefore, this embodiment of the application increases the transmission power corresponding to the target negotiation rate of the network device to restore the throughput of the target terminal device to its original value, thereby avoiding the situation where the throughput of the target terminal device decreases by more than a preset threshold.
[0244] S65. Based on the transmission power corresponding to the target negotiation rate of the network device after the increase, the network device reduces the throughput of the target terminal device so that the decrease in throughput of the target terminal device is less than or equal to a preset threshold.
[0245] Specifically, in S64, the network device increases the transmit power corresponding to at least one first negotiation rate to ensure that the throughput of at least one first terminal device does not decrease. When transmitting a message to the target terminal device based on the increased transmit power corresponding to the target negotiation rate of the network device, the throughput of the target terminal device returns to its original value, ensuring that the throughput of the target terminal device does not decrease.
[0246] In this embodiment, reducing the transmission power of the network device in S62 simultaneously reduces the transmission power corresponding to the target negotiation rate and at least one first negotiation rate in the network device. In S64, the transmission power corresponding to at least one first negotiation rate of the network device is increased. At this time, the transmission power corresponding to the target negotiation rate of the network device is also increased. Therefore, the temperature of the network device is not reduced.
[0247] In order to reduce the temperature of the network device without reducing the throughput of all terminal devices connected to the network device, this embodiment of the application reduces the temperature by reducing the throughput of the target terminal device only, so that the decrease in throughput of the target terminal device is less than or equal to a preset threshold.
[0248] In this embodiment of the application, the network device can reduce the number of packets sent to the target terminal device per unit time through conventional software control methods, thereby reducing the throughput of the target terminal device when communicating with the network device.
[0249] S66. If the temperature of the network device is less than or equal to the preset temperature threshold, stop determining the target power consumption.
[0250] In this embodiment, by determining the target power consumption, the transmit power of the network device is reduced based on the target power consumption. Based on the reduced transmit power of the network device, the throughput of multiple terminal devices is determined. If the throughput of at least one first terminal device does not decrease and the decrease in throughput of the target terminal device is greater than a preset threshold, the transmit power corresponding to the target negotiation rate of the network device is increased. Based on the increased transmit power corresponding to the target negotiation rate of the network device, the throughput of the target terminal device is reduced so that the decrease in throughput of the target terminal device is less than or equal to a preset threshold. If the temperature of the network device is less than or equal to a preset temperature threshold, the determination of the target power consumption is stopped. This allows for adjusting the temperature of the network device by reducing the transmit power while only reducing the throughput of the target terminal device with a decrease less than or equal to the preset threshold, thus avoiding a decrease in throughput for all terminal devices.
[0251] Please refer to Figure 7 , Figure 7 This is a schematic flowchart illustrating another temperature regulation method provided in the embodiments of this application. Figure 7 The execution entity of the method in the middle can be Figure 1 Network devices in the system. For example... Figure 7 As shown, the method includes: S71 to S711.
[0252] S71, network devices determine target power consumption.
[0253] Specifically, the method of S71 is the same as that of S21, and will not be repeated here.
[0254] S72, Network devices reduce transmit power based on target power consumption.
[0255] Specifically, the method in S71 is the same as that in S22, and will not be repeated here.
[0256] S73. The network device determines the throughput of multiple terminal devices based on the reduced transmit power of the network device.
[0257] Specifically, the method in S73 is the same as that in S23, and will not be repeated here.
[0258] S74. The network device determines whether the throughput of at least one first terminal device has decreased.
[0259] Specifically, the throughput of the multiple terminal devices identified in S73 includes the throughput of at least one first terminal device and the throughput of the target terminal device.
[0260] The network device determines whether the throughput of at least one first terminal device has decreased among the throughput of multiple terminal devices.
[0261] If the throughput of at least one first terminal device does not decrease, then execute S76.
[0262] If the throughput of at least one first terminal device decreases, then S75 is executed.
[0263] S75. The network device increases the transmit power corresponding to at least one first negotiation rate of the network device.
[0264] Specifically, the method for increasing the transmit power corresponding to at least one first negotiation rate of the network device can be found in S45, and will not be elaborated here.
[0265] S76. The network device determines whether the throughput of the target terminal device has decreased.
[0266] Specifically, if the throughput of the target terminal device does not decrease, then S710 is executed.
[0267] If the throughput of the target terminal device decreases, then execute S77.
[0268] S77. The network device determines whether the decrease in throughput of the target terminal device is greater than a preset threshold.
[0269] Specifically, if the throughput of the target terminal device decreases by less than or equal to a preset threshold, then S710 is executed.
[0270] If the throughput of the target terminal device decreases by more than a preset threshold, then execute S78.
[0271] S78. The network device increases the transmit power corresponding to the target negotiation rate of the network device.
[0272] Specifically, the method for increasing the transmit power corresponding to the target negotiation rate of network devices can be found in S64, and will not be elaborated here.
[0273] S79. The network device reduces the throughput of the target terminal device based on the transmission power corresponding to the target negotiation rate of the network device after the increase, so that the decrease in throughput of the target terminal device is less than or equal to a preset threshold.
[0274] Specifically, the method in S79 is the same as that in S65, and will not be repeated here.
[0275] S710, the network device determines whether the temperature of the network device is greater than the preset temperature threshold.
[0276] Specifically, if the temperature of the network device is still greater than the preset temperature threshold, then S71 to S710 are executed again until the temperature of the network device is less than or equal to the preset temperature threshold.
[0277] If the temperature of the network device is less than or equal to the preset temperature threshold, then execute S711.
[0278] S711, Network devices stop determining target power consumption.
[0279] In this embodiment, by determining the target power consumption, the transmit power of the network device is reduced based on the target power consumption. Based on the reduced transmit power of the network device, the throughput of multiple terminal devices is determined. It is determined whether the throughput of at least one first terminal device has decreased. When the throughput of at least one first terminal device has decreased, the transmit power corresponding to at least one first negotiation rate of the network device is increased. It is then determined whether the throughput of the target terminal device has decreased. Finally, it is determined whether the decrease in throughput of the target terminal device is greater than a preset threshold. When the decrease in throughput of the target terminal device is greater than the preset threshold, the transmit power corresponding to the target negotiation rate of the network device is increased. Based on the increased transmit power corresponding to the target negotiation rate of the network device, the throughput of the target terminal device is reduced so that the decrease in throughput of the target terminal device is less than or equal to the preset threshold.
[0280] In other words, the embodiments of this application reduce the transmission power of the network device based on the target power consumption, thereby reducing the temperature of the network device. While reducing the temperature of the network device, if the throughput of at least one first terminal device decreases, the transmission power corresponding to at least one first negotiation rate of the network device is increased to ensure that the throughput of at least one first terminal device does not decrease. If the throughput of the target terminal device decreases by more than a preset threshold, the transmission power corresponding to the target negotiation rate of the network device is increased to ensure that the throughput of the target terminal device does not decrease.
[0281] After increasing the transmit power of at least one first negotiation rate corresponding to the network device and increasing the transmit power of the target negotiation rate corresponding to the network device, the network device is cooled down by reducing the throughput of the target terminal device so that the decrease in throughput of the target terminal device is less than or equal to a preset threshold value. This ensures that when cooling down the network device, the throughput of all terminal devices connected to the network device is not reduced, or only the throughput of the target terminal device is reduced.
[0282] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0283] Please refer to Figure 8 , Figure 8 This is a schematic diagram of a temperature regulating device provided in an embodiment of this application. The device is applied to a network device that communicates with multiple terminal devices. The device includes:
[0284] The processing unit 81 is used to determine the target power consumption, which is the power consumption of the network device when the network device communicates with the target terminal device. The target terminal device is the terminal device that makes the greatest contribution to the power consumption generated by the network device during communication when the network device communicates with multiple terminal devices.
[0285] Based on the target power consumption, reduce the transmit power of network devices.
[0286] Based on the reduced transmit power of the network equipment, the throughput of multiple terminal devices is determined.
[0287] If the throughput of multiple terminal devices does not decrease, the determination of target power consumption will stop when the temperature of the network device is less than or equal to a preset temperature threshold.
[0288] The processing unit 81 is also used to determine the target negotiation rate between the network device and the target terminal device based on the target power consumption. The target negotiation rate is the negotiation rate that contributes the most to the power consumption of the network device.
[0289] Based on the target negotiation rate, the transmit power of the network device corresponding to the target negotiation rate and at least one first negotiation rate is reduced, where the first negotiation rate is lower than the target negotiation rate.
[0290] The processing unit 81 is further configured to determine the throughput of at least one first terminal device, wherein the first terminal device is a terminal device other than the target terminal device among a plurality of terminal devices.
[0291] If the throughput of at least one first terminal device does not decrease, then the throughput of the target terminal device is determined.
[0292] If the throughput of the target terminal device does not decrease, the determination of target power consumption will stop when the temperature of the network device is less than or equal to a preset temperature threshold.
[0293] The processing unit 81 is further configured to increase the transmit power corresponding to at least one first negotiation rate of the network device if the throughput of at least one first terminal device decreases.
[0294] The throughput of the target terminal device is determined based on the transmit power corresponding to at least one first negotiation rate of the network device after the upgrade.
[0295] The processing unit 81 is configured to stop determining the target power consumption if the throughput of at least one first terminal device does not decrease and the decrease in throughput of the target terminal device is less than or equal to a preset threshold, and the temperature of the network device is less than or equal to a preset temperature threshold. The first terminal device is a terminal device other than the target terminal device among a plurality of terminal devices, and the target terminal device is the terminal device corresponding to the target power consumption.
[0296] The processing unit 81 is further configured to increase the transmit power corresponding to the target negotiation rate of the network device if the throughput of at least one first terminal device does not decrease and the throughput of the target terminal device decreases by a greater than a preset threshold. The first terminal device is a terminal device other than the target terminal device among a plurality of terminal devices, and the target negotiation rate is the negotiation rate that contributes the most to the power consumption of the network device.
[0297] Based on the transmission power corresponding to the target negotiation rate of the network device after the increase, the throughput of the target terminal device is reduced so that the decrease in throughput of the target terminal device is less than or equal to a preset threshold.
[0298] If the temperature of the network device is less than or equal to the preset temperature threshold, then stop determining the target power consumption.
[0299] The processing unit 81 is also used to obtain the negotiation rate between the network device and each terminal device and the downlink throughput of the network device corresponding to each negotiation rate.
[0300] The power consumption per unit throughput of the downlink throughput is determined based on the negotiation rate between the network device and each terminal device and the downlink throughput of the network device corresponding to each negotiation rate.
[0301] The power consumption of each terminal device within a preset time period is determined based on the power consumption per unit of downlink throughput.
[0302] The maximum power consumption among multiple terminal devices is determined as the target power consumption.
[0303] The processing unit 81 is also used to obtain the static power consumption of each terminal device, which is the power consumption contributed by each terminal device to the network device when the network device does not send data to each terminal device.
[0304] Based on the negotiation rate between the network device and each terminal device, the power consumption of each terminal device is determined. The power consumption is the power consumption contributed by each terminal device to the network device when the network device sends data to each terminal device based on the downlink throughput of the network device corresponding to each negotiation rate.
[0305] The power consumption per unit throughput of downlink throughput is determined based on static power consumption, running power consumption, and downlink throughput of the network device corresponding to each negotiated rate.
[0306] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0307] like Figure 9 As shown, this application embodiment also provides a network device 200, including a memory 21, a processor 22, and a computer program 23 stored in the memory 21 and executable on the processor 22. When the processor 22 executes the computer program 23, it implements the temperature regulation method of the above embodiments.
[0308] The processor 22 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0309] The memory 21 can be an internal storage unit of the network device 200. The memory 21 can also be an external storage device of the network device 200, such as a plug-in hard drive, SmartMedia Card (SMC), Secure Digital (SD) card, or Flash Card equipped on the network device 200. Furthermore, the memory 21 can include both internal and external storage units of the network device 200. The memory 21 is used to store computer programs and other programs and data required by the network device 200. The memory 21 can also be used to temporarily store data that has been output or will be output.
[0310] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the temperature regulation methods described in the above embodiments.
[0311] This application provides a computer program product that, when run on a mobile terminal, enables the mobile terminal to implement the temperature regulation methods described in the above embodiments.
[0312] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable storage medium can include at least: any entity or device capable of carrying computer program code to a photographic device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable storage media cannot be electrical carrier signals or telecommunication signals.
[0313] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0314] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0315] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of this application, depending on actual needs.
[0316] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for temperature regulation, applied to a network device, the network device being communicatively connected to multiple terminal devices, characterized in that, include: Obtain the negotiation rate between the network device and each terminal device, and the downlink throughput of the network device corresponding to each negotiation rate; The power consumption per unit throughput of the downlink throughput is determined based on the negotiation rate between the network device and each terminal device and the downlink throughput of the network device corresponding to each negotiation rate. The power consumption of each terminal device within a preset time period is determined based on the power consumption per unit of downlink throughput. The maximum power consumption among the power consumption of the plurality of terminal devices is determined as the target power consumption. The target power consumption is the power consumption of the network device when the network device communicates with the target terminal device. The target terminal device is the terminal device that makes the greatest contribution to the power consumption generated by the network device during the communication process when the network device communicates with the plurality of terminal devices. Based on the target power consumption, reduce the transmit power of the network device; The throughput of the plurality of terminal devices is determined based on the reduced transmit power of the network devices. If the throughput of the multiple terminal devices does not decrease, the determination of the target power consumption will stop when the temperature of the network device is less than or equal to a preset temperature threshold.
2. The method according to claim 1, characterized in that, The step of reducing the transmit power of the network device based on the target power consumption includes: Based on the target power consumption, the target negotiation rate between the network device and the target terminal device is determined, and the target negotiation rate is the negotiation rate that contributes the most to the power consumption of the network device. Based on the target negotiation rate, the transmit power of the network device corresponding to the target negotiation rate and at least one first negotiation rate is reduced, wherein the first negotiation rate is lower than the target negotiation rate.
3. The method according to claim 2, characterized in that, If the throughput of the plurality of terminal devices does not decrease, then when the temperature of the network device is less than or equal to a preset temperature threshold, the determination of the target power consumption is stopped, including: Determine the throughput of the at least one first terminal device, wherein the first terminal device is a terminal device other than the target terminal device among the plurality of terminal devices; If the throughput of the at least one first terminal device does not decrease, then the throughput of the target terminal device is determined. If the throughput of the target terminal device does not decrease, the determination of the target power consumption will stop when the temperature of the network device is less than or equal to a preset temperature threshold.
4. The method according to claim 3, characterized in that, After determining the throughput of the at least one first terminal device, the method further includes: If the throughput of the at least one first terminal device decreases, the transmit power corresponding to the at least one first negotiation rate of the network device is increased; The throughput of the target terminal device is determined based on the transmit power corresponding to the at least one first negotiation rate of the network device after the increase.
5. The method according to any one of claims 1 to 4, characterized in that, After determining the throughput of the plurality of terminal devices based on the reduced transmit power of the network device, the method further includes: If the throughput of at least one first terminal device does not decrease, and the decrease in throughput of the target terminal device is less than or equal to a preset threshold, then when the temperature of the network device is less than or equal to a preset temperature threshold, the determination of the target power consumption is stopped. The first terminal device is a terminal device other than the target terminal device among the plurality of terminal devices, and the target terminal device is the terminal device corresponding to the target power consumption.
6. The method according to any one of claims 1 to 4, characterized in that, After determining the throughput of the plurality of terminal devices based on the reduced transmit power of the network device, the method further includes: If the throughput of at least one first terminal device does not decrease, and the throughput of the target terminal device decreases by a greater than a preset threshold, then the transmit power corresponding to the target negotiation rate of the network device is increased. The first terminal device is a terminal device other than the target terminal device among the plurality of terminal devices, and the target negotiation rate is the negotiation rate that contributes the most to the power consumption of the network device. Based on the transmission power corresponding to the target negotiation rate of the network device after the increase, the throughput of the target terminal device is reduced so that the decrease in throughput of the target terminal device is less than or equal to a preset threshold. If the temperature of the network device is less than or equal to a preset temperature threshold, then the determination of the target power consumption is stopped.
7. The method according to claim 1, wherein determining the power consumption per unit throughput of the downlink throughput based on the negotiation rate between the network device and each terminal device and the downlink throughput of the network device corresponding to each negotiation rate comprises: The static power consumption of each terminal device is obtained, wherein the static power consumption is the power consumption contributed by each terminal device to the network device when the network device does not send data to each terminal device; Based on the negotiation rate between the network device and each terminal device, the power consumption of each terminal device is determined. The power consumption is the power consumption contributed by each terminal device to the network device when the network device sends data to each terminal device based on the downlink throughput of the network device corresponding to each negotiation rate. The power consumption per unit throughput of the downlink throughput is determined based on the static power consumption, the running power consumption, and the downlink throughput of the network device corresponding to each negotiated rate.
8. A temperature regulating device applied to a network device, the network device being communicatively connected to multiple terminal devices, characterized in that, include: The processing unit is configured to obtain the negotiation rate between the network device and each terminal device and the downlink throughput of the network device corresponding to each negotiation rate; The power consumption per unit throughput of the downlink throughput is determined based on the negotiation rate between the network device and each terminal device and the downlink throughput of the network device corresponding to each negotiation rate. Based on the power consumption per unit throughput of the downlink throughput, the power consumption of each terminal device within a preset time period is determined; the maximum power consumption among the power consumption of the multiple terminal devices is determined as the target power consumption, the target power consumption is the power consumption of the network device when the network device communicates with the target terminal device, and the target terminal device is the terminal device that makes the greatest contribution to the power consumption generated by the network device during the communication process when the network device communicates with the multiple terminal devices; Based on the target power consumption, reduce the transmit power of the network device; The throughput of the plurality of terminal devices is determined based on the reduced transmit power of the network devices. If the throughput of the multiple terminal devices does not decrease, the determination of the target power consumption will stop when the temperature of the network device is less than or equal to a preset temperature threshold.
9. A network device, characterized in that, The device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the temperature regulation method as described in any one of claims 1 to 7.