WO2017148084A1 - 一种数据传输速率的控制方法及装置 - Google Patents

一种数据传输速率的控制方法及装置 Download PDF

Info

Publication number
WO2017148084A1
WO2017148084A1 PCT/CN2016/091606 CN2016091606W WO2017148084A1 WO 2017148084 A1 WO2017148084 A1 WO 2017148084A1 CN 2016091606 W CN2016091606 W CN 2016091606W WO 2017148084 A1 WO2017148084 A1 WO 2017148084A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
control module
transmission rate
power
data transmission
Prior art date
Application number
PCT/CN2016/091606
Other languages
English (en)
French (fr)
Inventor
田宇
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017148084A1 publication Critical patent/WO2017148084A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/26TPC being performed according to specific parameters using transmission rate or quality of service QoS [Quality of Service]
    • H04W52/267TPC being performed according to specific parameters using transmission rate or quality of service QoS [Quality of Service] taking into account the information rate

Definitions

  • the present application relates to, but is not limited to, the field of terminal technologies, and in particular, to a method and an apparatus for controlling data transmission rate.
  • WiFi Wireless Fidelity
  • the WiFi router is usually fixedly installed in a certain room of the house, such as a living room, and there is usually a wall barrier between the living room and other rooms in the house, thereby affecting the transmission of the WiFi signal, so that the user uses the terminal in different rooms.
  • the data transmission rate between the terminal and the WiFi router will be different; for example, when the WiFi router is installed in the living room and the file of the same size is downloaded, the user downloads the file in the bedroom using the terminal, which is faster than the user. It is much slower to download the file in the living room using its terminal.
  • the related art provides two ways to increase the data transmission rate, one is to increase the transmission of the WiFi router by brushing or adding an external antenna. Power, thereby improving the wall-through capability of the WiFi router and increasing the data transmission rate between the terminal and the WiFi router; the other is to access a repeater (such as a wireless access point AP) or WiFi between the terminal and the WiFi router. The switch, thereby increasing the data transfer rate between the terminal and the WiFi router.
  • a repeater such as a wireless access point AP
  • the method for increasing the data transmission rate in the related art has the following problem: increasing the transmission power mode of the WiFi router by brushing, it is bound to increase the radiation of the WiFi router, even if the radiation and the fearful nuclear radiation, X-ray and other ionizing radiation.
  • the WiFi router works for a long time, its radiation will still have some damage to the human body; by increasing the external antenna to increase the transmission power of the WiFi router, it will also be useless while amplifying and receiving useful signals.
  • the noise is amplified to affect the quality of the useful signal; access to the AP repeater or the switch with WiFi requires additional equipment to increase equipment costs.
  • Embodiments of the present invention provide a data transmission rate control method and apparatus, which can control a data transmission rate between a terminal and a WiFi router, or between a terminal and a terminal.
  • a method of controlling a data transmission rate comprising:
  • the receiving sensitivity or the transmitting power of the terminal is reduced.
  • the increasing the receiving sensitivity of the terminal includes:
  • the increasing the transmit power of the terminal includes:
  • the reducing the receiving sensitivity of the terminal includes:
  • the supply voltage of the low noise amplifier of the terminal is lowered.
  • the reducing the transmit power of the terminal includes:
  • the supply voltage of the power amplifier of the terminal is lowered.
  • the method further includes:
  • the method further includes:
  • the duration that the terminal transmits the data packet exceeds the first preset time includes:
  • the terminal continuously transmits the data packet at a rate exceeding the first transmission rate for more than the first preset time.
  • the duration that the terminal does not transmit the data packet exceeds the second preset time includes:
  • the terminal does not transmit the data packet at a rate exceeding the first transmission rate for a duration exceeding the second preset time.
  • a control device for data transmission rate comprising: an adjustment module.
  • the adjusting module is configured to increase the receiving sensitivity or the transmitting power of the terminal when the duration of the data transmission of the terminal exceeds the first preset time; and/or, the duration of the data packet not transmitted by the terminal exceeds the At the second preset time, the receiving sensitivity or the transmitting power of the terminal is reduced.
  • the adjusting module increases the receiving sensitivity of the terminal, including: increasing a power supply voltage of the low noise amplifier of the terminal; and increasing, by the adjusting module, the transmitting power of the terminal includes: raising the terminal The power supply voltage of the power amplifier.
  • the reducing the receiving sensitivity of the terminal by the adjusting module includes: reducing a power supply voltage of the low noise amplifier of the terminal; and reducing, by the adjusting module, the transmitting power of the terminal includes: reducing power of the terminal The supply voltage of the amplifier.
  • the adjusting module is further configured to keep the receiving sensitivity or the transmitting power of the terminal unchanged when the duration of the data transmission of the terminal does not exceed the first preset time.
  • the adjusting module is further configured to keep the receiving sensitivity or the transmitting power of the terminal unchanged when the duration of the data packet not transmitted by the terminal does not exceed the second preset time.
  • the duration that the terminal transmits the data packet exceeds the first preset time includes:
  • the terminal continuously transmits the data packet at a rate exceeding the first transmission rate for more than the first preset time;
  • the duration that the terminal does not transmit the data packet exceeds the second preset time includes:
  • the terminal does not transmit the data packet at a rate exceeding the first transmission rate for a duration exceeding a second preset time.
  • a control device for data transmission rate comprising: a detection control module, a time monitoring control module and a power control module.
  • the time monitoring control module is respectively connected to the detection control module and the power control module
  • the control module is further connected to the WiFi chip, the low noise amplifier and the power amplifier of the terminal, and the power control module is further connected to the low noise amplifier of the terminal and Power amplifier connection.
  • the detection control module is a signal detection control module or a rate monitoring control module.
  • the method and device for controlling the data transmission rate increases the receiving sensitivity or the transmitting power of the terminal when the duration of the data transmission of the terminal exceeds the first preset time; and/or does not transmit in the terminal.
  • the receiving sensitivity or the transmitting power of the terminal is reduced. According to the solution of the embodiment of the present invention, when a large number of data packets need to be transmitted between the terminal and the WiFi router, or between the terminal and the terminal, the data transmission rate between the terminal and the WiFi router or between the terminal and the terminal is improved.
  • the data transmission rate between the terminal and the WiFi router or between the terminal and the terminal is reduced; thereby realizing the data transmission rate between the control terminal and the WiFi router, or between the terminal and the terminal, and avoiding Since the wall barrier affects the terminal to transmit data, the user experience is improved, and the user is harmed and the equipment cost is increased.
  • FIG. 1 is a schematic flowchart of a method for controlling a data transmission rate according to an embodiment of the present invention
  • FIG. 2A is a schematic diagram 1 of a principle of controlling a data transmission rate according to an embodiment of the present invention
  • FIG. 2B is a schematic diagram 2 of a principle for controlling a data transmission rate according to an embodiment of the present invention
  • 3A is a schematic structural diagram of a data transmission rate control apparatus according to an embodiment of the present invention.
  • FIG. 3B is a schematic structural diagram of another apparatus for controlling data transmission rate according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a connection between a low noise amplifier and a power control module according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a power amplifier and a power control module connected according to an embodiment of the present invention
  • FIG. 6 is a first embodiment of a data transmission rate control apparatus according to an embodiment of the present invention. Schematic;
  • FIG. 6B is a schematic structural diagram of Embodiment 1 of another apparatus for controlling data transmission rate according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of Embodiment 2 of a data transmission rate control apparatus according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of Embodiment 2 of another apparatus for controlling data transmission rate according to an embodiment of the present disclosure
  • FIG. 7 is a schematic flowchart of Embodiment 1 of a method for controlling data transmission rate according to an embodiment of the present disclosure
  • FIG. 8 is a schematic flowchart diagram of Embodiment 2 of a method for controlling data transmission rate according to an embodiment of the present disclosure
  • FIG. 9 is a schematic flowchart of Embodiment 3 of a method for controlling data transmission rate according to an embodiment of the present disclosure.
  • the terminal when the duration of the data packet transmitted by the terminal exceeds the first preset time, the terminal increases the receiving sensitivity or the transmitting power of the terminal; and/or the duration of the data packet not transmitted by the terminal exceeds the second preset.
  • the terminal reduces the receiving sensitivity or the transmitting power of the terminal.
  • FIG. 1 is a schematic flowchart of a method for controlling a data transmission rate according to an embodiment of the present invention. As shown in FIG. 1 , the method includes steps 101-102:
  • Step 101 Increase the receiving sensitivity or the transmitting power of the terminal when the duration of the data transmission by the terminal exceeds the first preset time.
  • the step may be: when the duration of the data transmission by the terminal exceeds the first preset time, the terminal increases the receiving sensitivity or the transmitting power of the terminal.
  • this step may be: when the duration of receiving the data packet by the terminal exceeds the first preset The terminal increases the receiving sensitivity of the terminal; or, when the duration of the data packet sent by the terminal exceeds the first preset time, the terminal increases the transmitting power of the terminal.
  • the terminal may be a terminal device such as a mobile phone or a tablet computer.
  • the step may include: determining, by the terminal, whether the duration of the data transmission of the terminal exceeds the first preset time; and when the terminal confirms that the duration of the data transmission packet exceeds the first preset time, the terminal increases the reception of the terminal. Sensitivity or transmit power.
  • the increasing the receiving sensitivity or the transmitting power of the terminal may be, the terminal raising the power supply voltage of the low noise amplifier of the terminal or the power supply voltage of the power amplifier of the terminal, thereby increasing the receiving sensitivity or the transmitting power of the terminal.
  • the gain of the low noise amplifier of the terminal increases, thereby making the terminal
  • the receiving sensitivity is increased, the negotiation rate between the terminal and the WiFi router, or between the terminal and the terminal is increased, and finally the data transmission rate between the terminal and the WiFi router is improved, or the data transmission rate between the terminal and the terminal is finally improved.
  • the gain of the power amplifier of the terminal increases, thereby increasing the transmission power of the terminal.
  • the negotiation rate between the terminal and the WiFi router, or between the terminal and the terminal is increased, and finally the data transmission rate between the terminal and the WiFi router is improved, or the data transmission rate between the terminal and the terminal is finally improved.
  • the negotiation rate between the terminal and the WiFi router can be improved, thereby improving the relationship between the terminal and the WiFi router.
  • Data transfer rate In the case of data transmission between two terminals through tools such as "fast teeth", increasing the receiving sensitivity or transmitting power of the terminal, that is, the data transmission rate between the terminal and the terminal can be improved.
  • a signal detection control module 3021, a time monitoring control module 303, and a power control module 304 may be added to the front end of the WiFi chip 301 of the terminal; the signal detection control module 3021 and the WiFi respectively.
  • the chip 301, the time monitoring control module 303, the power amplifier 305 of the terminal, and the low noise amplifier 306 of the terminal are connected, and the time monitoring control module 303 is also coupled to power control module 304, which is also coupled to power amplifier 305 and low noise amplifier 306, respectively.
  • the signal detection control module 3021 can be implemented by a Central Processing Unit (CPU) or a Micro Processor Unit (MPU), and the time monitoring control module 303 can also be implemented by a CPU or an MPU.
  • Module 304 can be implemented by adding a single pole double throw switch to a conventional power control circuit.
  • the terminal determines whether the duration of the data transmission of the terminal exceeds the first preset time, and may include: when the signal detection control module detects that the data packet passes the signal detection control module, the signal detection control module monitors the time The control module sends a start timing instruction; the time monitoring control module receives the instruction and starts timing; and then the signal detection control module detects whether there is a data packet passing the signal detection control module every preset period; when there is a data packet passing signal detection control module, The signal detection control module sends a data packet passing signal detection control module information to the time monitoring control module; the time monitoring control module receives the information and determines whether the timing time exceeds the first preset time; and the time period exceeds the first preset time The time monitoring control module confirms that the duration of the terminal transmission data packet exceeds the first preset time; when the timing time does not exceed the first preset time, the time monitoring control module confirms that the duration of the terminal transmission data packet does not exceed the first time. Preset time; no packet When the signal is detected through the control module
  • the preset period may be set according to a transmission time interval between the data packets.
  • the preset period may be set to be smaller than the transmission time interval, for example, when the transmission time interval is 1 ms, The preset period can be set to 100us.
  • the first preset time may be set according to user requirements. For example, when the user needs to transmit the data packet for the duration of the terminal for more than 5s, the receiving sensitivity or the transmitting power of the terminal needs to be increased, and the data transmission rate is increased. Next, the first preset time can be set to 5s.
  • the terminal when the terminal confirms that the duration of the transmission of the data packet exceeds the first preset time, the terminal increases the receiving sensitivity or the transmitting power of the terminal, and may include: confirming, by the time monitoring control module, the duration of the data transmission by the terminal.
  • the time monitoring control module sends a first switching instruction to the power control module; the power control module receives the switching instruction, and controls the single-pole double-throw switch to switch from the first supply voltage terminal to the second supply voltage.
  • the power supply voltage of the first power supply voltage terminal is lower than the power supply voltage of the second power supply voltage terminal.
  • the terminal transmits with the WiFi router or between the terminal and the terminal, the receiving sensitivity or the transmitting power of the terminal is increased, and the data transmission rate between the terminal and the WiFi router or between the terminal and the terminal is improved.
  • the supply voltage of the first supply voltage terminal 401 may be 3.3V
  • the supply voltage of the second supply voltage terminal 402 may be 5.0V
  • the power of the low noise amplifier 306 or the power amplifier 305 may be provided.
  • the voltage can be switched from 3.3V to 5.0V by the single-pole double-throw switch 403 of the power control module 304, thereby increasing the receiving sensitivity or transmitting power of the terminal.
  • the data transmission rate control method provided by the embodiment of the present invention may further include: when the duration of the data transmission by the terminal does not exceed the first preset time, the terminal keeps the receiving sensitivity or the transmission power of the terminal unchanged.
  • the terminal keeps the receiving sensitivity or the transmitting power of the terminal unchanged when the duration of the data transmission of the terminal does not exceed the first preset time, and may include: confirming, by the time monitoring control module, the duration of the data transmission by the terminal When the time does not exceed the first preset time, the time monitoring control module does not send the first switching instruction to the power control module; when the power control module does not receive the switching instruction, the single-pole double-throw switch is not adjusted.
  • the terminal when a small amount of data packets need to be transmitted between the terminal and the WiFi router, or between the terminal and the terminal, the terminal does not adjust the receiving sensitivity or the transmitting power of the terminal, and does not improve the terminal and the WiFi router, or the terminal and the terminal.
  • Step 102 Decrease the receiving sensitivity or the transmitting power of the terminal when the duration of the non-transmitted data packet of the terminal exceeds the second preset time.
  • the step may be: when the duration of the data packet not transmitted by the terminal exceeds the second preset time, the terminal decreases the receiving sensitivity or the transmitting power of the terminal. Therefore, when the data packet is not required to be transmitted by the terminal, the receiving sensitivity or the transmitting power of the terminal can be reduced, and the data transmission rate between the terminal and the WiFi router or between the terminal and the terminal can be reduced.
  • the step may be: when the duration of the terminal not receiving the data packet exceeds the second preset time, the terminal decreases the receiving sensitivity of the terminal; or the duration of the data packet not sent by the terminal exceeds the second preset. At the time, the terminal reduces the transmission power of the terminal.
  • the data transmission rate between the terminal and the WiFi router, or between the terminal and the terminal is improved, and the terminal transmission is not required.
  • the data packet is reduced, between the terminal and the WiFi router, or between the terminal and the terminal.
  • the data transmission rate thereby realizing the data transmission rate between the control terminal and the WiFi router, or between the terminal and the terminal, avoiding the influence of the wall barrier on the terminal to transmit data, improving the user experience, avoiding harm to the user and increasing the equipment cost.
  • the step may include: determining, by the terminal, whether the duration of the data packet not transmitted by the terminal exceeds a second preset time; and when the terminal confirms that the duration of the untransmitted data packet exceeds the second preset time, the terminal decreases the terminal.
  • Receive sensitivity or transmit power when the terminal confirms that the duration of the untransmitted data packet exceeds the second preset time, the terminal decreases the terminal.
  • the reducing the receiving sensitivity or the transmitting power of the terminal may be, the terminal lowering the power supply voltage of the low noise amplifier of the terminal or the power supply voltage of the power amplifier of the terminal, thereby reducing the receiving sensitivity or the transmitting power of the terminal.
  • the signal detection control module sends the data detection control module to the time monitoring control module when no data packet passes the signal detection control module.
  • the timekeeping command is re-timed and the time monitoring control module restarts timing. Therefore, if the terminal determines whether the duration of the untransmitted data packet exceeds the second preset time, the foregoing process may be continued.
  • the terminal determines whether the duration of the untransmitted data packet exceeds the second preset time, and may include: when no data packet passes the signal detection control module, the signal detection control module sends no data packet to the time monitoring control module.
  • the time exceeds the second preset time; when the time period does not exceed the second preset time, the time monitoring control module confirms that the duration of the terminal not transmitting the data packet does not exceed the second preset time.
  • the second preset time may be set according to user requirements. For example, when the user needs the duration that the terminal does not transmit the data packet exceeds 5s, the receiving sensitivity or the transmitting power of the terminal needs to be reduced, and the data transmission rate is reduced. In this case, the second preset time can be set to 5s.
  • the terminal decreases the receiving sensitivity or the transmitting power of the terminal, and may include: at the time monitoring control module, confirming that the data packet is not transmitted.
  • the time monitoring control module sends a second switching instruction to the power control module when the duration exceeds the second preset time; the power control module receives the switching instruction and controls the single-pole double-throw switch to switch from the second supply voltage terminal to the first Supply voltage terminal; wherein, the first power supply The supply voltage at the voltage terminal is lower than the supply voltage at the second supply voltage terminal. Therefore, when the data packet is not required to be transmitted by the terminal, the receiving sensitivity or the transmitting power of the terminal can be reduced, and the data transmission rate between the terminal and the WiFi router or between the terminal and the terminal can be reduced.
  • steps 101 and 102 may also be two processing steps that have no obvious time sequence in execution.
  • step 102 may be performed first and then step 101 may be performed.
  • the method for controlling the data transmission rate may further include: when the duration of the non-transmitted data packet of the terminal does not exceed the second preset time, the terminal keeps the receiving sensitivity or the transmitting power of the terminal unchanged. . Therefore, in a short time without the terminal transmitting the data packet, the terminal temporarily does not reduce the data transmission rate between the terminal and the WiFi router, or between the terminal and the terminal.
  • step 101 may be that the terminal continuously transmits the data packet beyond the first transmission rate for more than the first time.
  • the preset time increases the receiving sensitivity or transmitting power of the terminal.
  • the terminal continues to transmit the data packet at the first transmission rate for more than the first preset time, and increases the receiving sensitivity or the transmission power of the terminal, where the terminal may determine that the terminal continues to exceed the first transmission rate. Whether the time of transmitting the data packet exceeds the first preset time; when the terminal confirms that it continues to transmit the data packet beyond the first transmission rate for more than the first preset time, the terminal increases the receiving sensitivity or the transmitting power of the terminal.
  • the signal detection control module 3021 in FIG. 6B may be replaced by a rate monitoring control module 3022, which may also be implemented by a CPU or an MPU.
  • the method may include: detecting, by the rate monitoring control module, that the data packet is transmitted at the first transmission rate When the rate monitoring control module is passed, the rate monitoring control module sends a start timing command to the time monitoring control module; the time monitoring control module receives the command and starts timing; and then the rate monitoring control module detects whether there is more than the first transmission every preset period.
  • the rate-transmitted data packet passes the rate monitoring control module; when there is a data rate monitoring control module transmitted at a signal exceeding the first transmission rate, the rate monitoring control module transmits the data transmitted to the time monitoring control module at a rate exceeding the first transmission rate.
  • Packet pass rate monitoring control module information Packet pass rate monitoring control module information; time monitoring control module Receiving the information and determining whether the timing time exceeds the first preset time; when the timing time exceeds the first preset time, the time monitoring control module confirms that the terminal continuously transmits the data packet beyond the first transmission rate for more than the first pre-predetermined time Setting a time; when the timing time does not exceed the first preset time, the time monitoring control module confirms that the terminal continues to transmit the data packet beyond the first transmission rate for less than the first preset time; if the first transmission rate is not exceeded When the transmitted data packet passes the rate monitoring control module, the rate monitoring control module sends a re-timer command to the time monitoring control module; the time monitoring control module restarts timing.
  • the rate monitoring control module detects whether there is a packet passing rate monitoring control module transmitted at a first transmission rate, and may include: the rate monitoring control module determines whether the instantaneous value of the data packet transmitted through the method exceeds the a transmission rate; when the instantaneous value exceeds the first transmission rate, the rate monitoring control module confirms that there is a packet passing rate monitoring control module transmitted at a rate exceeding the first transmission rate, when the instantaneous value does not exceed the first transmission rate The rate monitoring control module confirms that the packet transmission rate control module is not transmitting at a rate exceeding the first transmission rate.
  • the setting manner of the preset period and the first preset time is the same as the setting manner of the preset period and the first preset time.
  • the first transmission rate may also be set according to user requirements. For example, when a user uses his terminal to perform web browsing, the instantaneous value of the rate at which the terminal transmits the data packet is usually several kbps, and the network game, high-definition video or file transmission is performed. When a large-capacity data such as a File Transfer Protocol (FTP) file is downloaded, the instantaneous value of the rate at which the terminal transmits the data packet will reach several Mbps. When the user needs to continue transmitting the data packet for more than 1 Mbps for more than 5 s, the time is required. When the receiving sensitivity or the transmitting power of the terminal is increased and the data transmission rate is increased, the first transmission rate can be set to 1 Mbps, and the first preset time can be set to 5 s.
  • FTP File Transfer Protocol
  • the terminal increases the receiving sensitivity or the transmitting power of the terminal when the terminal confirms that the time for transmitting the data packet exceeds the first transmission rate exceeds the first preset time, and may include: confirming by the time monitoring control module When the terminal continuously transmits the data packet beyond the first transmission rate for more than the first preset time, the time monitoring control module sends a first switching instruction to the power control module; the power control module receives the switching instruction and controls the single-pole double-throw switch Switching from the first supply voltage terminal to the second supply voltage terminal; wherein the supply voltage of the first supply voltage terminal is lower than the supply voltage of the second supply voltage terminal.
  • the method for controlling the data transmission rate may further include: when the terminal continues to transmit the data packet beyond the first transmission rate for less than the first preset time, the terminal maintains the receiving sensitivity of the terminal. Or the transmit power is unchanged.
  • step 102 may be, the duration that the terminal does not transmit the data packet at a rate exceeding the first transmission rate.
  • the second preset time is exceeded, the receiving sensitivity or the transmitting power of the terminal is reduced.
  • the terminal determines whether the time for transmitting the data packet at a rate exceeding the first transmission rate exceeds the first preset time includes: transmitting data at a rate exceeding the first transmission rate.
  • the rate monitoring control module sends a re-timing command to the time monitoring control module, and the time monitoring control module restarts timing. Therefore, if the terminal determines whether the duration of the data packet is not transmitted at a rate exceeding the first transmission rate exceeds a second preset time, the foregoing process may be continued.
  • the terminal determines whether the duration of the data packet not transmitted at a rate exceeding the first transmission rate exceeds a second preset time, and may include, after continuing, packet rate monitoring that is not transmitted at a rate exceeding the first transmission rate.
  • the rate monitoring control module sends to the time monitoring control module a packet passing rate monitoring control module information that is not transmitted at a rate exceeding the first transmission rate; the time monitoring control module receives the information and determines whether the timing time exceeds the second time.
  • the time monitoring control module confirms that the terminal does not transmit the data packet at a rate exceeding the first transmission rate for a duration exceeding a second preset time; the timing time does not exceed During the second preset time, the time monitoring control module confirms that the terminal does not transmit the data packet at a rate exceeding the first transmission rate for a second preset time.
  • the setting manner of the second preset time is the same as the setting manner of the second preset time.
  • the terminal decreases the receiving sensitivity or the transmission power of the terminal, which may include: monitoring in time
  • the control module confirms that the terminal does not transmit the data packet at a rate exceeding the first transmission rate for more than the second preset time information
  • the time monitoring control module sends a second switching instruction to the power control module
  • the power control module receives the switching instruction, And control its single-pole double-throw
  • the switch is switched from the second supply voltage terminal to the first supply voltage terminal; wherein the supply voltage of the first supply voltage terminal is lower than the supply voltage of the second supply voltage terminal.
  • the data transmission rate control method provided by the embodiment of the present invention may further include: when the terminal does not transmit the data packet at a rate exceeding the first transmission rate for a duration that does not exceed the second preset time, the terminal maintains the terminal.
  • the receiving sensitivity or the transmitting power does not change.
  • an embodiment of the present invention discloses a data transmission rate control apparatus.
  • FIG. 3A is a schematic structural diagram of a data transmission rate control apparatus according to an embodiment of the present invention. As shown in FIG. 3A, the data transmission rate control apparatus includes: an adjustment module 300.
  • the adjusting module 300 is configured to increase the receiving sensitivity or the transmitting power of the terminal when the duration of the data transmission of the terminal exceeds the first preset time; and/or the duration of the data packet not transmitted by the terminal exceeds the At the second preset time, the receiving sensitivity or the transmitting power of the terminal is reduced.
  • the adjusting module 300 increases the receiving sensitivity of the terminal, including: increasing a power supply voltage of the low noise amplifier of the terminal.
  • the adjusting module increases the transmit power of the terminal, including: increasing a power supply voltage of the power amplifier of the terminal.
  • the reducing the receiving sensitivity of the terminal by the adjusting module 300 comprises: reducing a power supply voltage of the low noise amplifier of the terminal.
  • the reducing the transmission power of the terminal by the adjusting module comprises: reducing a power supply voltage of the power amplifier of the terminal.
  • the adjusting module 300 is further configured to keep the receiving sensitivity or the transmitting power of the terminal unchanged when the duration of the data transmission of the terminal does not exceed the first preset time.
  • the adjusting module 300 is further configured to keep the receiving sensitivity or the transmitting power of the terminal unchanged when the duration of the data packet not transmitted by the terminal does not exceed the second preset time.
  • the adjusting module 300 is configured to increase the receiving sensitivity or the transmitting power of the terminal when the terminal continues to transmit the data packet at the first transmission rate exceeding the first preset time; The duration of transmitting the data packet beyond the first transmission rate exceeds a second predetermined time, reducing the receiving sensitivity or the transmitting power of the terminal.
  • the duration that the terminal transmits the data packet exceeds the first preset time includes:
  • the terminal continues to transmit data packets at a rate exceeding the first transmission rate for more than the first a preset time;
  • the duration that the terminal does not transmit the data packet exceeds the second preset time includes:
  • the terminal does not transmit the data packet at a rate exceeding the first transmission rate for a duration exceeding a second preset time.
  • the adjustment module 300 can be implemented by a CPU, an MPU, a digital signal processor (DSP), or a Field Programmable Gate Array (FPGA) located in the terminal.
  • a CPU central processing unit
  • MPU central processing unit
  • DSP digital signal processor
  • FPGA Field Programmable Gate Array
  • FIG. 3B is a schematic structural diagram of another apparatus for controlling data transmission rate according to an embodiment of the present invention. As shown in FIG. 3B, the apparatus includes: a detection control module 302, a time monitoring control module 303, and a power control module 304.
  • the time monitoring control module 303 is respectively connected to the detection control module 302 and the power control module 304.
  • the detection control module 302 is also respectively connected to the WiFi chip 301 of the terminal.
  • the low noise amplifier 306 and the power amplifier 305 are connected, and the power control module 304 is also connected to the low noise amplifier 306 and the power amplifier 305 of the terminal, respectively.
  • the detection control module 302 is a signal detection control module 3021 or a rate monitoring control module 3022.
  • the low noise amplifier 306 of the terminal and the power amplifier 305 of the terminal are both connected to the antenna 307 of the terminal.
  • the signal detection control module 3021, the rate monitoring control module 3022 can be implemented by a CPU or an MPU, and the time monitoring control module 303 can also be implemented by a CPU or an MPU.
  • the power control module 304 can be implemented in a conventional power control circuit. Add a single pole double throw switch to achieve.
  • FIG. 6 is a schematic structural diagram of Embodiment 1 of a data transmission rate control apparatus according to an embodiment of the present invention.
  • the apparatus includes an adjustment module, where the adjustment module includes a signal detection control module 3021 and a time monitoring control module 303. And a power control module 304.
  • the signal detection control module 3021 is configured to send a start timing instruction to the time monitoring control module when detecting that the terminal receives the data packet; and detect whether the terminal receives the data packet every 100 us; When detecting that the terminal receives the data packet, the sending terminal receives the data packet information to the time monitoring control module; when detecting that the terminal does not receive the data packet, sends a re-time command to the time monitoring control module; When the terminal does not receive the data packet, the terminal does not receive the data packet information to the time monitoring control module.
  • the time monitoring control module 303 is configured to receive a start timing command and start timing; when the received terminal receives the data packet information, determine whether the time counted time exceeds a first preset time; and the time period exceeds the first preset time Sending a first switching instruction to the power control module, not transmitting the instruction when the timing time does not exceed the first preset time; receiving the re-timing instruction and re-clocking; when the receiving terminal does not receive the data packet information, Determining whether the timing time exceeds the second preset time; when the timing time exceeds the second preset time, sending a second switching instruction to the power control module, when the timing time does not exceed the second preset time, the instruction.
  • the power control module 304 is configured to receive the first switching instruction and control the single-pole double-throw switch to switch from the 3.3V supply voltage terminal to the 5.0V supply voltage terminal; receive the second switching command, and control the single-pole double-throw switch from the 5.0V The supply voltage terminal is switched to the 3.3V supply voltage terminal; when the switching command is not received, the single-pole double-throw switch is not adjusted.
  • the signal detection control module 3021 can be implemented by a CPU or an MPU, and the time monitoring control module 303 can also be implemented by a CPU or an MPU.
  • the power control module 304 can add a single-pole double-throw switch to the conventional power supply control circuit. to realise.
  • FIG. 6B is a schematic structural diagram of Embodiment 1 of another apparatus for controlling data transmission rate according to an embodiment of the present invention.
  • the apparatus includes: a signal detection control module 3021, a time monitoring control module 303, and a power control module. 304.
  • the time monitoring control module 303 is respectively connected to the signal detection control module 3021 and the power control module 304.
  • the signal detection control module 3021 is also respectively connected to the WiFi chip of the terminal. 301.
  • a low noise amplifier 306 and a power amplifier 305 are connected.
  • the power control module 304 is also respectively connected to the low noise amplifier 306 and the power amplifier 305 of the terminal.
  • the signal detection control module 3021 can be implemented by a CPU or an MPU, and the time monitoring control module 303 can also be implemented by a CPU or an MPU.
  • the power control module 304 can add a single-pole double-throw switch to the conventional power supply control circuit. to realise.
  • FIG. 7 is a schematic flowchart of Embodiment 1 of a method for controlling data transmission rate according to an embodiment of the present invention. As shown in FIG. 7, when the terminal receives data as a receiving device, the method includes steps 701-709:
  • Step 701 Start timing when detecting that the terminal has received the data packet.
  • the step may include: when the signal detection control module receives the data packet from the low noise amplifier, the signal detection control module sends a start timing instruction to the time monitoring control module; and the time monitoring control module receives the Command and start timing.
  • the antenna 307 of the terminal device receives an electromagnetic wave signal
  • the electromagnetic wave signal is amplified by a low noise amplifier
  • the low noise amplifier is controlled by a power source.
  • the module provides a 3.3V power supply voltage.
  • the signal detection control module sends a start timing command to the time monitoring control module, and the time monitoring control module receives the command and starts timing.
  • Step 702 Check whether the terminal receives the data packet every 100 us.
  • this step may be that the signal detection control module detects whether it has received a data packet from the low noise amplifier every 100 us.
  • Step 703 When it is detected that the terminal receives the data packet, it is determined whether the timing time exceeds 5s.
  • the step may include: when the signal detection control module detects that the data packet is received from the low noise amplifier, the signal detection control module transmits the data packet information to the time monitoring control module sending terminal; the time monitoring control module Receive this information and determine if its timing has exceeded 5s.
  • Step 704 Keep the receiving sensitivity of the terminal unchanged when the timing time does not exceed 5 s.
  • the step may include: when the time monitoring control module determines that the timing time does not exceed 5 seconds, does not send a switching instruction to the power control module; when the power control module does not receive the switching instruction, does not adjust the single-pole double-throw switch . That is, the supply voltage of the low-noise amplifier of the terminal is still maintained at 3.3V, the receiving sensitivity of the terminal is not adjusted, and the data transmission rate between the terminal and the WiFi router is not adjusted.
  • the data packet that does not last for a certain period of time passes the signal detection control module. If the data packet does not last longer than 5s passes the signal detection control module, the data transmission rate between the current terminal and the WiFi router can meet the user's needs without adjusting the Data transfer rate.
  • Step 705 Increase the receiving sensitivity of the terminal when the timing time exceeds 5 s.
  • the step may include: when the time monitoring control module determines that the timing time exceeds 5 s, the time monitoring control module sends a first switching instruction to the power control module; the power control module receives the switching instruction, and controls the single-tool double The throw switch is switched from the 3.3V supply voltage terminal to the 5.0V supply voltage terminal. That is, the power supply voltage of the low-noise amplifier of the terminal is raised to 5.0V, the receiving sensitivity of the terminal is increased, and the data transmission rate between the terminal and the WiFi router is improved.
  • the WiFi router is installed in the living room, the user uses his terminal device to play online games, download HD video or FTP files in the bedroom or study room. Since these files are basically 2G to 10G, there may be If the data packet lasts longer than 5s through the signal detection control module, the data transmission rate between the current terminal and the WiFi router may not meet the user's needs, and the data transmission rate needs to be increased.
  • the step may include: when the terminal timing exceeds 5 s, and the terminal does not increase the receiving sensitivity of the terminal, the terminal increases the receiving sensitivity of the terminal; when the terminal timing exceeds 5 s, and the terminal increases the receiving of the terminal At the time of sensitivity, the terminal no longer increases the receiving sensitivity of the terminal.
  • Step 706 Re-time when detecting that the terminal does not receive the data packet.
  • the step may include: when the signal detection control module detects that the data packet is not received from the low noise amplifier, the signal detection control module sends a retiming instruction to the time monitoring control module; and the time monitoring control module restarts timing.
  • Step 707 When it is detected that the terminal does not receive the data packet, it is determined whether the timing time exceeds 5s.
  • the step may include: when the signal detection control module continues to detect that the data packet is not received from the low noise amplifier, the signal detection control module sends the final to the time monitoring control module.
  • the terminal does not receive the packet information; the time monitoring control module receives the information and determines whether the timing time exceeds 5 s.
  • Step 708 Keep the receiving sensitivity of the terminal unchanged when the timing time does not exceed 5 s.
  • the step may include: when the time monitoring control module determines that the timing time does not exceed 5 seconds, does not send a switching instruction to the power control module; when the power control module does not receive the switching instruction, does not adjust the single-pole double-throw switch . That is, the power supply voltage of the low-noise amplifier of the terminal is still maintained at 5.0V, the receiving sensitivity of the terminal is not adjusted, and the data transmission rate between the terminal and the WiFi router is not adjusted.
  • Step 709 When the timing time exceeds 5 s, the receiving sensitivity of the terminal is reduced.
  • the step may include: when the time monitoring control module determines that the timing time exceeds 5 s, sending a second switching instruction to the power control module; the power control module receives the switching instruction, and controls the single-pole double-throw switch from 5.0.
  • the V supply voltage terminal is switched to the 3.3V supply voltage terminal. That is, the power supply voltage of the low noise amplifier of the terminal is reduced to 3.3V, the receiving sensitivity of the terminal is reduced, and the data transmission rate between the terminal and the WiFi router is reduced.
  • the step may include: when the terminal timing exceeds 5 s, and the terminal does not reduce the receiving sensitivity of the terminal, the terminal decreases the receiving sensitivity of the terminal; when the terminal timing exceeds 5 s, and the terminal reduces the receiving of the terminal At the time of sensitivity, the terminal no longer reduces the receiving sensitivity of the terminal.
  • FIG. 8 is a schematic flowchart of Embodiment 2 of a method for controlling data transmission rate according to an embodiment of the present invention. As shown in FIG. 8 , in a case where a terminal sends data as a transmitting device, steps 801-809 are included:
  • Step 801 Start timing when detecting that the terminal has sent a data packet.
  • the step may include: when the signal detection control module receives the data packet from the WiFi chip, the signal detection control module sends a start timing instruction to the time monitoring control module; and the time monitoring control module receives the instruction. And start timing.
  • the sender terminal device When data is transmitted between two terminals through tools such as "fast teeth", such as when one terminal is in the living room and the other terminal is in the bedroom or study room, the sender terminal device
  • the electromagnetic wave signal is sent from the WiFi chip, transmitted to the power amplifier through the signal detection control module, the power amplifier amplifies the electromagnetic wave signal, and then the electromagnetic wave signal is transmitted through the antenna, and the power amplifier is supplied with a 3.3V power supply voltage by the power control module, when the electromagnetic wave signal
  • the signal detection control module passes, the signal detection control module sends a start timing instruction to the time monitoring control module, and the time monitoring control module receives the instruction and starts timing.
  • Step 802 Detect whether the terminal has sent a data packet every 100 us.
  • this step may be that the signal detection control module detects whether it has received a data packet from the WiFi chip every 100 us.
  • Step 803 When it is detected that the terminal has sent a data packet, it is determined whether the timing time exceeds 5 s.
  • the step may include: when the signal detection control module detects that the data packet is received from the WiFi chip, the signal detection control module transmits the data packet information to the time monitoring control module, and the time monitoring control module receives the data packet. Information and determine if its timing is more than 5s.
  • Step 804 Keep the transmission power of the terminal unchanged when the timing time does not exceed 5 s.
  • the step may include: when the time monitoring control module determines that the timing time does not exceed 5 seconds, does not send a switching instruction to the power control module; when the power control module does not receive the switching instruction, does not adjust the single-pole double-throw switch . That is, the power supply voltage of the power amplifier of the terminal is still maintained at 3.3V, the transmission power of the terminal is not adjusted, and the data transmission rate between the terminal and the terminal is not adjusted.
  • Step 805 When the timing time exceeds 5s, increase the transmission power of the terminal.
  • the step may include: when the time monitoring control module determines that the timing time exceeds 5 s, the time monitoring control module sends a first switching instruction to the power control module; the power control module receives the switching instruction, and controls the single-tool double The throw switch is switched from the 3.3V supply voltage terminal to the 5.0V supply voltage terminal. That is, the power supply voltage of the power amplifier of the terminal is raised to 5.0V, the transmission power of the terminal is increased, and the data transmission rate between the terminal and the terminal is improved.
  • the step may include: when the terminal timing exceeds 5 s, and the terminal does not increase the transmit power of the terminal, the terminal increases the transmit power of the terminal; when the terminal times exceed 5 s, and the terminal increases the transmit of the terminal At power, the terminal no longer increases the transmit power of the terminal.
  • Step 806 Re-time when detecting that the terminal does not send a data packet.
  • the step may include: when the signal detection control module detects that the data packet is not received from the WiFi chip, the signal detection control module sends a re-timing instruction to the time monitoring control module; and the time monitoring control module restarts timing.
  • Step 807 When it is detected that the terminal does not send the data packet, it is determined whether the timing time exceeds 5s.
  • the step may include: when the signal detection control module continues to detect that the data packet is not received from the WiFi chip, the signal detection control module transmits the data packet information to the time monitoring control module; the time monitoring control module receives This information and determine whether its timing time exceeds 5s.
  • Step 808 Keep the transmission power of the terminal unchanged when the timing time does not exceed 5 s.
  • the step may include: when the time monitoring control module determines that the timing time does not exceed 5 seconds, does not send a switching instruction to the power control module; when the power control module does not receive the switching instruction, does not adjust the single-pole double-throw switch . That is, the power supply voltage of the power amplifier of the terminal is still maintained at 5.0V, the transmission power of the terminal is not adjusted, and the data transmission rate between the terminal and the terminal is not adjusted.
  • Step 809 When the timing time exceeds 5 s, the transmission power of the terminal is reduced.
  • the step may include: when the time monitoring control module determines that the timing time exceeds 5 s, sending a second switching instruction to the power control module; the power control module receives the switching instruction, and controls the single-pole double-throw switch from 5.0.
  • the V supply voltage terminal is switched to the 3.3V supply voltage terminal. That is, the power supply voltage of the power amplifier of the terminal is reduced to 3.3V, the transmission power of the terminal is reduced, and the data transmission rate between the terminal and the terminal is reduced.
  • the step may include: when the terminal timing time exceeds 5 s, and the terminal does not reduce the transmit power of the terminal, the terminal reduces the transmit power of the terminal; when the terminal timing time exceeds 5 s, and the terminal has reduced the transmit of the terminal At power, the terminal no longer reduces the transmit power of the terminal.
  • FIG. 6C is a second embodiment of a data transmission rate control apparatus according to an embodiment of the present invention.
  • the structure diagram, as shown in FIG. 6C, includes an adjustment module, and the adjustment module includes a rate monitoring control module 3022, a time monitoring control module 303, and a power control module 304.
  • the rate monitoring control module 3022 is configured to: send a start timing instruction to the time monitoring control module when detecting that the terminal transmits the data packet at the first transmission rate; and detect whether the terminal transmits the data packet at the first transmission rate every 100 us; When the terminal transmits the data packet at the first transmission rate, the terminal monitoring control module sends the terminal to transmit the data packet information exceeding the first transmission rate; and when detecting that the terminal does not transmit the data packet at the first transmission rate, the time monitoring is performed.
  • the control module sends a re-timing command; when it continues to detect that the terminal does not transmit the data packet at the first transmission rate, the transmitting terminal to the time monitoring control module does not transmit the packet information at the first transmission rate.
  • the time monitoring control module 303 is configured to receive a start timing command and start timing; when receiving the terminal to transmit the data packet information exceeding the first transmission rate, determine whether the timing time exceeds the first preset time; a preset time, sending a first switching instruction to the power control module, not transmitting the instruction when the timing time does not exceed the first preset time; receiving the re-timer command and re-clocking; When transmitting the data packet information at a transmission rate, determining whether the timing time exceeds a second preset time; when the timing time exceeds the second preset time, sending a second switching instruction to the power control module, where the timing is not exceeded The instruction is not sent when the preset time is two.
  • the power control module 304 is configured to receive the first switching instruction and control the single-pole double-throw switch to switch from the 3.3V supply voltage terminal to the 5.0V supply voltage terminal; receive the second switching command, and control the single-pole double-throw switch from the 5.0V The supply voltage terminal is switched to the 3.3V supply voltage terminal; when the switching command is not received, the single-pole double-throw switch is not adjusted.
  • the rate monitoring control module 3022 can be implemented by a CPU or an MPU, and the time monitoring control module 303 can also be implemented by a CPU or an MPU.
  • the power control module 304 can be implemented by adding a single-pole double-throw switch to a conventional power control circuit. .
  • FIG. 6 is a schematic structural diagram of Embodiment 2 of a data transmission rate control apparatus according to an embodiment of the present invention. As shown in FIG. 6D, the apparatus includes: a rate monitoring control module 3022, a time monitoring control module 303, and a power control module. 304.
  • the time monitoring control module 303 is respectively connected to the rate monitoring control module 3022 and the power control module 304; when the data transmission rate of the terminal is controlled, the rate monitoring control mode Block 3022 is also coupled to the WiFi chip 301, the low noise amplifier 306, and the power amplifier 305 of the terminal, respectively, and the power control module 304 is also coupled to the low noise amplifier 306 and the power amplifier 305 of the terminal, respectively.
  • the rate monitoring control module 3022 can be implemented by a CPU or an MPU, and the time monitoring control module 303 can also be implemented by a CPU or an MPU.
  • the power control module 304 can add a single pole double throw switch in a conventional power control circuit. to realise.
  • FIG. 9 is a schematic flowchart of Embodiment 3 of a method for controlling data transmission rate according to an embodiment of the present invention. As shown in FIG. 9, the method includes steps 901-909:
  • Step 901 Start timing when detecting that the terminal transmits a data packet beyond the first transmission rate.
  • the step may include: when the rate monitoring control module detects that the packet passing rate monitoring control module is transmitted at a first transmission rate, the rate monitoring control module sends the time monitoring control module to the time monitoring control module.
  • the timing command is started; the time monitoring control module receives the command and starts timing.
  • the first transmission rate may be set according to user requirements. For example, when a user uses his terminal to perform web browsing, the instantaneous transmission rate of the data packet of the terminal is usually several kbps, and large capacity such as online games, high-definition video or FTP files is performed. When the data is downloaded, the instantaneous rate of the terminal transmitting the data packet will reach several Mbps. When the user needs to continuously transmit the data packet for more than 1 Mbps for more than 5 s, the terminal needs to increase the receiving sensitivity or transmitting power of the terminal and increase the data transmission rate. In this case, the first transmission rate can be set to 1 Mbps.
  • Step 902 It is detected every 100 us whether the terminal transmits the data packet by exceeding the first transmission rate.
  • the step may be that the rate monitoring control module detects, at every 100 us, whether there is a packet passing rate monitoring control module transmitted at a first transmission rate.
  • Step 903 When detecting that the terminal transmits the data packet by using the first transmission rate, it is determined whether the timing time exceeds 5s.
  • the step may include: when the rate monitoring control module detects that the data packet passes the rate monitoring control module that is transmitted at the first transmission rate, the rate monitoring control module sends the terminal to the time monitoring control module to exceed the first transmission.
  • the rate information packet information is transmitted; the time monitoring control module receives the information and determines whether the timing time exceeds 5 s.
  • Step 904 Keep the receiving sensitivity or the transmitting power of the terminal unchanged when the timing time does not exceed 5 s.
  • the step may include: when the time monitoring control module determines that the timing time does not exceed 5 seconds, does not send a switching instruction to the power control module; when the power control module does not receive the switching instruction, does not adjust the single-pole double-throw switch . That is, the supply voltage of the low-noise amplifier or the power amplifier of the terminal is still maintained at 3.3V, the receiving sensitivity or the transmitting power of the terminal is not adjusted, and the data transmission rate between the terminal and the terminal is not adjusted.
  • Step 905 When the timing time exceeds 5 s, the receiving sensitivity or the transmitting power of the terminal is increased.
  • the step may include: when the time monitoring control module determines that the timing time exceeds 5 s, the time monitoring control module sends a first switching instruction to the power control module; the power control module receives the switching instruction, and controls the single-tool double The throw switch is switched from the 3.3V supply voltage terminal to the 5.0V supply voltage terminal. That is, the power supply voltage of the low-noise amplifier or the power amplifier of the terminal is raised to 5.0V, the receiving sensitivity or the transmitting power of the terminal is increased, and the data transmission rate between the terminal and the terminal is improved.
  • the step may include: when the terminal timing time exceeds 5s, and the terminal does not increase the receiving sensitivity or the transmitting power of the terminal, the terminal increases the receiving sensitivity or the transmitting power of the terminal; the terminal timing time exceeds 5s, and the terminal When the receiving sensitivity or the transmitting power of the terminal has been increased, the terminal does not increase the receiving sensitivity or the transmitting power of the terminal.
  • Step 906 Re-timed when it is detected that the terminal does not transmit the data packet beyond the first transmission rate.
  • the step may include: when the rate monitoring control module detects that the terminal does not transmit the data packet by using the first transmission rate, the rate monitoring control module sends a re-timing instruction to the time monitoring control module; and the time monitoring control module restarts timing. .
  • Step 907 When it is detected that the terminal does not transmit the data packet at the first transmission rate, it is determined whether the timing time exceeds 5s.
  • this step may include: after the rate monitoring control module continues to detect that it is not exceeded When the data packet transmitted by the first transmission rate passes the rate monitoring control module, the rate monitoring control module transmits the data packet information to the time monitoring control module without exceeding the first transmission rate; the time monitoring control module receives the information and determines the timing time thereof. Whether it is more than 5s.
  • Step 908 Keep the receiving sensitivity or the transmitting power of the terminal unchanged when the timing time does not exceed 5 s.
  • the step may include: when the time monitoring control module determines that the timing time does not exceed 5 seconds, does not send a switching instruction to the power control module; when the power control module does not receive the switching instruction, does not adjust the single-pole double-throw switch . That is, the supply voltage of the low-noise amplifier or the power amplifier of the terminal is still maintained at 5.0V, the receiving sensitivity or the transmitting power of the terminal is not adjusted, and the data transmission rate between the terminal and the WiFi router is not adjusted.
  • Step 909 When the timing time exceeds 5 s, the receiving sensitivity or the transmitting power of the terminal is reduced.
  • the step may include: when the time monitoring control module determines that the timing time exceeds 5 s, sending a second switching instruction to the power control module; the power control module receives the switching instruction, and controls the single-pole double-throw switch from 5.0.
  • the V supply voltage terminal is switched to the 3.3V supply voltage terminal. That is, the power supply voltage of the low-noise amplifier or the power amplifier of the terminal is reduced to 3.3V, the receiving sensitivity or the transmitting power of the terminal is reduced, and the data transmission rate between the terminal and the terminal is reduced.
  • the step may include: when the terminal timing time exceeds 5s, and the terminal does not reduce the receiving sensitivity or the transmitting power of the terminal, the terminal reduces the receiving sensitivity or the transmitting power of the terminal; the terminal timing time exceeds 5s, and the terminal When the receiving sensitivity or the transmitting power of the terminal has been reduced, the terminal no longer reduces the receiving sensitivity or the transmitting power of the terminal.
  • a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the method of controlling the data transfer rate.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the method and device for controlling the data transmission rate increases the receiving sensitivity or the transmitting power of the terminal when the duration of the data transmission of the terminal exceeds the first preset time; and/or does not transmit in the terminal.
  • the receiving sensitivity or the transmitting power of the terminal is reduced. According to the solution of the embodiment of the present invention, when a large number of data packets need to be transmitted between the terminal and the WiFi router, or between the terminal and the terminal, the data transmission rate between the terminal and the WiFi router or between the terminal and the terminal is improved.
  • the data transmission rate between the terminal and the WiFi router or between the terminal and the terminal is reduced; thereby realizing the data transmission rate between the control terminal and the WiFi router, or between the terminal and the terminal, and avoiding Since the wall barrier affects the terminal to transmit data, the user experience is improved, and the user is harmed and the equipment cost is increased.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开了一种数据传输速率的控制方法及装置,该方法包括:在终端传输数据包的持续时间超过第一预设时间时,增大终端的接收灵敏度或发射功率;和/或在终端未传输数据包的持续时间超过第二预设时间时,减小终端的接收灵敏度或发射功率。

Description

一种数据传输速率的控制方法及装置 技术领域
本申请涉及但不限于终端技术领域,尤其涉及一种数据传输速率的控制方法及装置。
背景技术
为了便于使用网络,用户通常会在住宅内安装WiFi(WirelessFidelity,无线保真)路由器,从而使得用户的多个终端(如手机、平板电脑及台式电脑等),可以通过WiFi路由器接入网络。但由于WiFi路由器通常被固定安装在住宅的某个房间内,如客厅内,且客厅与住宅其它房间之间通常会有墙壁阻隔,从而影响了WiFi信号的传输,使得用户在不同房间使用其终端上网,终端与WiFi路由器之间的数据传输速率会不同;如在WiFi路由器被安装在客厅内,且下载相同大小的文件的情况下,用户在卧室使用其终端下载该文件的速度,要比用户在客厅使用其终端下载该文件的速度慢很多。
为了在有墙壁阻隔的情况下,提高终端与WiFi路由器之间的数据传输速率,相关技术提供了两种提高数据传输速率的方式,一种为通过刷机或增加外置天线增大WiFi路由器的发射功率,从而提升WiFi路由器的穿墙能力,提高终端与WiFi路由器之间的数据传输速率;另一种为在终端与WiFi路由器之间接入中继器(如无线访问接入点AP)或带WiFi的交换机,从而提高终端与WiFi路由器之间的数据传输速率。
但相关技术中的提高数据传输速率方式存在如下问题:通过刷机增大WiFi路由器的发射功率方式,势必会增加WiFi路由器的辐射,即使该种辐射与令人恐惧的核辐射、X射线等电离辐射有很大区别,但是如果WiFi路由器长时间这样工作,其辐射还是会对人体有一些伤害;通过增加外置天线增大WiFi路由器的发射功率方式,在放大接收有用信号的同时,也会将无用的噪声进行放大,从而影响有用信号的质量;接入AP中继器或带WiFi的交换机的方式,需额外添加设备,提高设备成本。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供了一种数据传输速率的控制方法及装置,能够控制终端与WiFi路由器之间,或终端与终端之间的数据传输速率。
一种数据传输速率的控制方法,所述方法包括:
在终端传输数据包的持续时间超过第一预设时间时,增大所述终端的接收灵敏度或发射功率;和/或,
在所述终端未传输数据包的持续时间超过第二预设时间时,减小所述终端的接收灵敏度或发射功率。
可选地,所述增大所述终端的接收灵敏度包括:
升高所述终端的低噪声放大器的供电电压。
所述增大所述终端的发射功率包括:
升高所述终端的功率放大器的供电电压。
可选地,所述减小所述终端的接收灵敏度包括:
降低所述终端的低噪声放大器的供电电压。
所述减小所述终端的发射功率包括:
降低所述终端的功率放大器的供电电压。
可选地,所述方法还包括:
在所述终端传输数据包的持续时间未超过所述第一预设时间时,保持所述终端的接收灵敏度或发射功率不变。
可选地,所述方法还包括:
在所述终端未传输数据包的持续时间未超过所述第二预设时间时,保持所述终端的接收灵敏度或发射功率不变。
可选地,所述终端传输数据包的持续时间超过第一预设时间包括:
所述终端持续以超过第一传输速率的速率传输数据包的时间超过所述第一预设时间。
所述终端未传输数据包的持续时间超过第二预设时间包括:
所述终端未以超过第一传输速率的速率传输数据包的持续时间超过所述第二预设时间。
一种数据传输速率的控制装置,所述装置包括:调整模块。
调整模块,设置为在终端传输数据包的持续时间超过第一预设时间时,增大所述终端的接收灵敏度或发射功率;和/或,在所述终端未传输数据包的持续时间超过第二预设时间时,减小所述终端的接收灵敏度或发射功率。
可选地,所述调整模块增大所述终端的接收灵敏度包括:升高所述终端的低噪声放大器的供电电压;所述调整模块增大所述终端的发射功率包括:升高所述终端的功率放大器的供电电压。
可选地,所述调整模块减小所述终端的接收灵敏度包括:降低所述终端的低噪声放大器的供电电压;所述调整模块减小所述终端的发射功率包括:降低所述终端的功率放大器的供电电压。
可选地,所述调整模块,还设置为在所述终端传输数据包的持续时间未超过所述第一预设时间时,保持所述终端的接收灵敏度或发射功率不变。
可选地,所述调整模块,还设置为在所述终端未传输数据包的持续时间未超过所述第二预设时间时,保持所述终端的接收灵敏度或发射功率不变。
可选地,
所述终端传输数据包的持续时间超过第一预设时间包括:
所述终端持续以超过第一传输速率的速率传输数据包的时间超过所述第一预设时间;
所述终端未传输数据包的持续时间超过第二预设时间包括:
所述终端未以超过所述第一传输速率的速率传输数据包的持续时间超过第二预设时间。
一种数据传输速率的控制装置,所述装置包括:检测控制模块、时间监测控制模块及电源控制模块。
所述时间监测控制模块分别与所述检测控制模块及所述电源控制模块连 接;在控制终端的数据传输速率时,所述检测控制模块还分别与所述终端的WiFi芯片、低噪声放大器及功率放大器连接,所述电源控制模块还分别与所述终端的低噪声放大器及功率放大器连接。
可选地,所述检测控制模块为信号检测控制模块或速率监测控制模块。
本发明实施例提供的一种数据传输速率的控制方法及装置,在终端传输数据包的持续时间超过第一预设时间时,增大终端的接收灵敏度或发射功率;和/或在终端未传输数据包的持续时间超过第二预设时间时,减小终端的接收灵敏度或发射功率。通过本发明实施例方案,能在有大量数据包需在终端与WiFi路由器之间,或终端与终端之间传输时,提高终端与WiFi路由器之间,或终端与终端之间的数据传输速率,在不需终端传输数据包时,降低终端与WiFi路由器之间,或终端与终端之间的数据传输速率;从而实现控制终端与WiFi路由器之间,或终端与终端之间的数据传输速率,避免由于墙壁阻隔影响终端传输数据,提高用户的体验度,避免伤害用户及增加设备成本。
附图概述
图1为本发明实施例提供的一种数据传输速率的控制方法的流程示意图;
图2A为本发明实施例提供的控制数据传输速率的原理示意图一;
图2B为本发明实施例提供的控制数据传输速率的原理示意图二;
图3A为本发明实施例提供的一种数据传输速率的控制装置的结构示意图;
图3B为本发明实施例提供的另一种数据传输速率的控制装置的结构示意图;
图4为本发明实施例提供的低噪声放大器与电源控制模块连接的结构示意图;
图5为本发明实施例提供的功率放大器与电源控制模块连接的结构示意图;
图6A为本发明实施例提供的一种数据传输速率的控制装置实施例一的 结构示意图;
图6B为本发明实施例提供的另一种数据传输速率的控制装置实施例一的结构示意图;
图6C为本发明实施例提供的一种数据传输速率的控制装置实施例二的结构示意图;
图6D为本发明实施例提供的另一种数据传输速率的控制装置实施例二的结构示意图;
图7为本发明实施例提供的一种数据传输速率的控制方法实施例一的流程示意图;
图8为本发明实施例提供的一种数据传输速率的控制方法实施例二的流程示意图;
图9为本发明实施例提供的一种数据传输速率的控制方法实施例三的流程示意图。
本发明的实施方式
下文中将结合附图对本发明的实施例进行详细说明需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
在本发明实施例中,在终端传输数据包的持续时间超过第一预设时间时,终端增大终端的接收灵敏度或发射功率;和/或在终端未传输数据包的持续时间超过第二预设时间时,终端减小终端的接收灵敏度或发射功率。
下面结合附图和实施例,对本发明实施例详细说明。
图1为本发明实施例提供的一种数据传输速率的控制方法的流程示意图,如图1所示,该方法包括步骤101-102:
步骤101:在终端传输数据包的持续时间超过第一预设时间时,增大终端的接收灵敏度或发射功率。
可选地,本步骤可以为,在终端传输数据包的持续时间超过第一预设时间时,终端增大终端的接收灵敏度或发射功率。
可选地,本步骤可以为,在终端接收数据包的持续时间超过第一预设时 间时,终端增大终端的接收灵敏度;或者,在终端发送数据包的持续时间超过第一预设时间时,终端增大终端的发射功率。
其中,所述终端可以为手机、平板电脑等终端设备。
可选地,本步骤可以包括,终端判断终端传输数据包的持续时间是否超过第一预设时间;在终端确认其传输数据包的持续时间超过第一预设时间时,终端增大终端的接收灵敏度或发射功率。
可选地,所述增大终端的接收灵敏度或发射功率,可以为,终端升高终端的低噪声放大器的供电电压或终端的功率放大器的供电电压,从而增大终端的接收灵敏度或发射功率。
可选地,如图2A所示,在终端的低噪声放大器的工作电压范围内,当终端的低噪声放大器的供电电压升高时,终端的低噪声放大器的增益会增大,从而使得终端的接收灵敏度增大,终端与WiFi路由器之间,或终端与终端之间的协商速率提高,最终提高了终端与WiFi路由器之间的数据传输速率,或最终提高了终端与终端之间的数据传输速率。
可选地,如图2B所示,在终端的功率放大器的工作电压范围内,当终端的功率放大器的供电电压升高时,终端的功率放大器的增益会增大,从而使得终端的发射功率增大,终端与WiFi路由器之间,或终端与终端之间的协商速率提高,最终提高了终端与WiFi路由器之间的数据传输速率,或最终提高了终端与终端之间的数据传输速率。
如在用户通过其终端与WiFi路由器之间进行数据传输的情况下,增大终端的接收灵敏度或发射功率,即可以提高终端与WiFi路由器之间的协商速率,从而提高终端与WiFi路由器之间的数据传输速率。在两个终端之间通过“快牙”等工具进行数据传输的情况下,增大终端的接收灵敏度或发射功率,即可以提高终端与终端之间的数据传输速率。
需说明的是,如图6B所示,在实际应用中,可以在终端的WiFi芯片301前端添加信号检测控制模块3021、时间监测控制模块303及电源控制模块304;信号检测控制模块3021分别与WiFi芯片301、时间监测控制模块303、终端的功率放大器305及终端的低噪声放大器306连接,时间监测控制模块 303还与电源控制模块304连接,电源控制模块304还分别与功率放大器305及低噪声放大器306连接。在实际应用中,信号检测控制模块3021可以由中央处理器(Central Processing Unit,CPU)或微处理器(Micro Processor Unit,MPU)实现,时间监测控制模块303也可以由CPU或MPU实现,电源控制模块304可以通过在常规电源控制电路中增加一个单刀双掷开关来实现。
可选地,所述终端判断终端传输数据包的持续时间是否超过第一预设时间,可以包括,在信号检测控制模块检测到有数据包通过信号检测控制模块时,信号检测控制模块向时间监测控制模块发送开始计时指令;时间监测控制模块接收该指令并开始计时;接着信号检测控制模块每隔预设周期检测是否有数据包通过信号检测控制模块;在有数据包通过信号检测控制模块时,信号检测控制模块向时间监测控制模块发送有数据包通过信号检测控制模块信息;时间监测控制模块接收该信息并判断其计时时间是否超过第一预设时间;在该计时时间超过第一预设时间时,时间监测控制模块确认终端传输数据包的持续时间超过第一预设时间;在该计时时间未超过第一预设时间时,时间监测控制模块确认终端传输数据包的持续时间未超过第一预设时间;在没有数据包通过信号检测控制模块时,信号检测控制模块向时间监测控制模块发送重新计时指令;时间监测控制模块重新开始计时。
其中,所述预设周期可以根据数据包之间的传输时间间隔来设置,可选地,将该预设周期设置为小于该传输时间间隔即可,如在该传输时间间隔为1ms时,该预设周期可以设置为100us。其中,所述第一预设时间可以根据用户需求进行设置,如在用户需求为终端传输数据包的持续时间超过5s时,即需增大终端的接收灵敏度或发射功率,提高数据传输速率的情况下,该第一预设时间即可设置为5s。
可选地,所述在终端确认其传输数据包的持续时间超过第一预设时间时,终端增大终端的接收灵敏度或发射功率,可以包括,在时间监测控制模块确认终端传输数据包的持续时间超过第一预设时间时,时间监测控制模块向电源控制模块发送第一切换指令;电源控制模块接收该切换指令,并控制其单刀双掷开关从第一供电电压端切换至第二供电电压端;其中,第一供电电压端的供电电压低于第二供电电压端的供电电压。从而可以在有大量数据包需 在终端与WiFi路由器之间传输,或终端与终端之间传输时,增大终端的接收灵敏度或发射功率,提高终端与WiFi路由器之间,或终端与终端之间的数据传输速率。
可选地,如图4及5所示,第一供电电压端401的供电电压可以为3.3V,第二供电电压端402的供电电压可以为5.0V,低噪声放大器306或功率放大器305的供电电压,可以通过电源控制模块304的单刀双掷开关403从3.3V切换至5.0V,从而增大终端的接收灵敏度或发射功率。
需说明的是,本发明实施例提供的数据传输速率的控制方法还可以包括,在终端传输数据包的持续时间未超过第一预设时间时,终端保持终端的接收灵敏度或发射功率不变。可选地,所述在终端传输数据包的持续时间未超过第一预设时间时,终端保持终端的接收灵敏度或发射功率不变,可以包括,在时间监测控制模块确认终端传输数据包的持续时间未超过第一预设时间时,时间监测控制模块不向电源控制模块发送第一切换指令;电源控制模块未接收到切换指令时,不调整其单刀双掷开关。从而可以在有少量数据包需在终端与WiFi路由器之间传输,或终端与终端之间传输时,终端不调整终端的接收灵敏度或发射功率,不提高终端与WiFi路由器之间,或终端与终端之间的数据传输速率。
步骤102:在终端未传输数据包的持续时间超过第二预设时间时,减小终端的接收灵敏度或发射功率。
可选地,本步骤可以为,在终端未传输数据包的持续时间超过第二预设时间时,终端减小终端的接收灵敏度或发射功率。从而可以在不需终端传输数据包时,减小终端的接收灵敏度或发射功率,降低终端与WiFi路由器之间,或终端与终端之间的数据传输速率。
可选地,本步骤可以为,在终端未接收数据包的持续时间超过第二预设时间时,终端减小终端的接收灵敏度;或者,在终端未发送数据包的持续时间超过第二预设时间时,终端减小终端的发射功率。
如此,能在有大量数据包需在终端与WiFi路由器之间,或终端与终端之间传输时,提高终端与WiFi路由器之间,或终端与终端之间的数据传输速率,在不需终端传输数据包时,降低终端与WiFi路由器之间,或终端与终端之间 的数据传输速率;从而实现控制终端与WiFi路由器之间,或终端与终端之间的数据传输速率,避免由于墙壁阻隔影响终端传输数据,提高用户的体验度,避免伤害用户及增加设备成本。
可选地,本步骤可以包括,终端判断终端未传输数据包的持续时间是否超过第二预设时间;在终端确认其未传输数据包的持续时间超过第二预设时间时,终端减小终端的接收灵敏度或发射功率。
可选地,所述减小终端的接收灵敏度或发射功率,可以为,终端降低终端的低噪声放大器的供电电压或终端的功率放大器的供电电压,从而减小终端的接收灵敏度或发射功率。
需说明的是,在上述所述终端判断其传输数据包的持续时间是否超过第一预设时间的过程包括,在没有数据包通过信号检测控制模块时,信号检测控制模块向时间监测控制模块发送重新计时指令,时间监测控制模块重新开始计时。因此,所述终端判断其未传输数据包的持续时间是否超过第二预设时间,可以接续上述过程。
即所述终端判断其未传输数据包的持续时间是否超过第二预设时间,可以包括,在继续没有数据包通过信号检测控制模块时,信号检测控制模块向时间监测控制模块发送没有数据包通过信号检测控制模块信息;时间监测控制模块接收该信息并判断其计时时间是否超过第二预设时间;在该计时时间超过第二预设时间时,时间监测控制模块确认终端未传输数据包的持续时间超过第二预设时间;在该计时时间未超过第二预设时间时,时间监测控制模块确认终端未传输数据包的持续时间未超过第二预设时间。
其中,所述第二预设时间可以根据用户需求进行设置,如在用户需求为终端未传输数据包的持续时间超过5s时,即需减小终端的接收灵敏度或发射功率,降低数据传输速率的情况下,该第二预设时间即可设置为5s。
可选地,所述在终端确认其未传输数据包的持续时间超过第二预设时间时,终端减小终端的接收灵敏度或发射功率,可以包括,在时间监测控制模块确认其未传输数据包的持续时间超过第二预设时间时,时间监测控制模块向电源控制模块发送第二切换指令;电源控制模块接收该切换指令,并控制其单刀双掷开关从第二供电电压端切换至第一供电电压端;其中,第一供电 电压端的供电电压低于第二供电电压端的供电电压。从而可以在不需终端传输数据包时,减小终端的接收灵敏度或发射功率,降低终端与WiFi路由器之间,或终端与终端之间的数据传输速率。
以上步骤101和步骤102也可以是在执行上没有明显时间顺序的两个处理步骤,例如,实际应用中,也可以先执行步骤102再执行步骤101。
需说明的是,本发明实施例提供的数据传输速率的控制方法还可以包括,在终端未传输数据包的持续时间未超过第二预设时间时,终端保持终端的接收灵敏度或发射功率不变。从而可以在短时间内不需终端传输数据包的情况下,终端暂时不降低终端与WiFi路由器之间,或终端与终端之间的数据传输速率。
需说明的是,为了更好地控制终端与WiFi路由器之间,或终端与终端之间的数据传输速率,步骤101可以为,在终端持续以超过第一传输速率传输数据包的时间超过第一预设时间,增大终端的接收灵敏度或发射功率。
可选地,所述在终端持续以超过第一传输速率传输数据包的时间超过第一预设时间,增大终端的接收灵敏度或发射功率,可以包括,终端判断其持续以超过第一传输速率的速率传输数据包的时间是否超过第一预设时间;在终端确认其持续以超过第一传输速率传输数据包的时间超过第一预设时间时,终端增大终端的接收灵敏度或发射功率。
需说明的是,如图6D所示,在实际应用中,可以将图6B中的信号检测控制模块3021替换为速率监测控制模块3022,该速率监测控制模块3022也可以由CPU或MPU实现。
可选地,所述终端判断其持续以超过第一传输速率传输数据包的时间是否超过第一预设时间,可以包括,在速率监测控制模块检测到有以超过第一传输速率传输的数据包通过速率监测控制模块时,速率监测控制模块向时间监测控制模块发送开始计时指令;时间监测控制模块接收该指令并开始计时;接着速率监测控制模块每隔预设周期检测是否有以超过第一传输速率传输的数据包通过速率监测控制模块;在有以超过第一传输速率传输的数据包通过速率监测控制模块时,速率监测控制模块向时间监测控制模块发送有以超过第一传输速率传输的数据包通过速率监测控制模块信息;时间监测控制模块 接收该信息并判断其计时时间是否超过第一预设时间;在该计时时间超过第一预设时间时,时间监测控制模块确认终端持续以超过第一传输速率传输数据包的时间超过第一预设时间;在该计时时间未超过第一预设时间时,时间监测控制模块确认终端持续以超过第一传输速率传输数据包的时间未超过第一预设时间;在没有以超过第一传输速率传输的数据包通过速率监测控制模块时,速率监测控制模块向时间监测控制模块发送重新计时指令;时间监测控制模块重新开始计时。
可选地,所述速率监测控制模块检测是否有以超过第一传输速率传输的数据包通过速率监测控制模块,可以包括,速率监测控制模块判断通过其传输的数据包速率的瞬时值是否超过第一传输速率;在该瞬时值超过第一传输速率时,速率监测控制模块确认有以超过第一传输速率的速率传输的数据包通过速率监测控制模块,在该瞬时值未超过第一传输速率时,速率监测控制模块确认没有以超过第一传输速率的速率传输的数据包通过速率监测控制模块。
其中,所述预设周期及第一预设时间的设置方式,与上述预设周期及第一预设时间的设置方式相同。其中,所述第一传输速率也可以根据用户需求进行设置,如用户使用其终端进行网页浏览时,终端传输数据包的速率的瞬时值通常为几kbps,而进行网络游戏、高清视频或文件传输协议(File Transfer Protocol,FTP)文件等大容量数据下载时,终端传输数据包的速率的瞬时值会达到几Mbps,在用户需求为终端持续以超过1Mbps传输数据包的时间超过5s时,即需增大终端的接收灵敏度或发射功率,提高数据传输速率的情况下,该第一传输速率即可设置为1Mbps,第一预设时间即可设置为5s。
可选地,所述在终端确认其持续以超过第一传输速率传输数据包的时间超过第一预设时间时,终端增大终端的接收灵敏度或发射功率,可以包括,在时间监测控制模块确认终端持续以超过第一传输速率传输数据包的时间超过第一预设时间时,时间监测控制模块向电源控制模块发送第一切换指令;电源控制模块接收该切换指令,并控制其单刀双掷开关从第一供电电压端切换至第二供电电压端;其中,第一供电电压端的供电电压低于第二供电电压端的供电电压。
需说明的是,本发明实施例提供的数据传输速率的控制方法还可以包括,在终端持续以超过第一传输速率传输数据包的时间未超过第一预设时间时,终端保持终端的接收灵敏度或发射功率不变。
需说明的是,为了更好地控制终端与WiFi路由器之间,或终端与终端之间的数据传输速率,步骤102可以为,在终端未以超过第一传输速率的速率传输数据包的持续时间超过第二预设时间时,减小终端的接收灵敏度或发射功率。
需说明的是,在上述所述终端判断其持续以超过第一传输速率的速率传输数据包的时间是否超过第一预设时间的过程包括,在没有以超过第一传输速率的速率传输的数据包通过速率监测控制模块时,速率监测控制模块向时间监测控制模块发送重新计时指令,时间监测控制模块重新开始计时。因此,所述终端判断其未以超过第一传输速率的速率传输数据包的持续时间是否超过第二预设时间,可以接续上述过程。
即所述终端判断其未以超过第一传输速率的速率传输数据包的持续时间是否超过第二预设时间,可以包括,在继续没有以超过第一传输速率的速率传输的数据包通过速率监测控制模块时,速率监测控制模块向时间监测控制模块发送没有以超过第一传输速率的速率传输的数据包通过速率监测控制模块信息;时间监测控制模块接收该信息并判断其计时时间是否超过第二预设时间;在该计时时间超过第二预设时间时,时间监测控制模块确认终端未以超过第一传输速率的速率传输数据包的持续时间超过第二预设时间;在该计时时间未超过第二预设时间时,时间监测控制模块确认终端未以超过第一传输速率的速率传输数据包的持续时间未超过第二预设时间。
其中,所述第二预设时间的设置方式与上述第二预设时间的设置方式相同。
可选地,所述在终端确认其未以超过第一传输速率的速率传输数据包的持续时间超过第二预设时间时,终端减小终端的接收灵敏度或发射功率,可以包括,在时间监测控制模块确认终端未以超过第一传输速率的速率传输数据包的持续时间超过第二预设时间信息时,时间监测控制模块向电源控制模块发送第二切换指令;电源控制模块接收该切换指令,并控制其单刀双掷开 关从第二供电电压端切换至第一供电电压端;其中,第一供电电压端的供电电压低于第二供电电压端的供电电压。
需说明的是,本发明实施例提供的数据传输速率的控制方法还可以包括,在终端未以超过第一传输速率的速率传输数据包的持续时间未超过第二预设时间时,终端保持终端的接收灵敏度或发射功率不变。
为了实现上述方法,本发明实施例公开了一种数据传输速率的控制装置。
图3A为本发明实施例提供的一种数据传输速率的控制装置的结构示意图,如图3A所示,所述数据传输速率的控制装置包括:调整模块300。
调整模块300,设置为在终端传输数据包的持续时间超过第一预设时间时,增大所述终端的接收灵敏度或发射功率;和/或在所述终端未传输数据包的持续时间超过第二预设时间时,减小所述终端的接收灵敏度或发射功率。
可选地,所述调整模块300增大所述终端的接收灵敏度包括:升高所述终端的低噪声放大器的供电电压。所述调整模块增大所述终端的发射功率包括:升高所述终端的功率放大器的供电电压。
可选地,所述调整模块300减小所述终端的接收灵敏度包括:降低所述终端的低噪声放大器的供电电压。所述调整模块减小所述终端的发射功率包括:降低所述终端的功率放大器的供电电压。
可选地,所述调整模块300,还设置为在所述终端传输数据包的持续时间未超过所述第一预设时间时,保持所述终端的接收灵敏度或发射功率不变。
可选地,所述调整模块300,还设置为在所述终端未传输数据包的持续时间未超过所述第二预设时间时,保持所述终端的接收灵敏度或发射功率不变。
可选地,所述调整模块300,设置为在终端持续以超过第一传输速率传输数据包的时间超过第一预设时间,增大所述终端的接收灵敏度或发射功率;在所述终端未以超过第一传输速率传输数据包的持续时间超过第二预设时间,减小所述终端的接收灵敏度或发射功率。
即,所述终端传输数据包的持续时间超过第一预设时间包括:
所述终端持续以超过第一传输速率的速率传输数据包的时间超过所述第 一预设时间;
所述终端未传输数据包的持续时间超过第二预设时间包括:
所述终端未以超过所述第一传输速率的速率传输数据包的持续时间超过第二预设时间。
在实际应用中,所述调整模块300可由位于终端中的CPU、MPU、数字信号处理器(Digital Signal Processor,DSP)、或现场可编程门阵列(FieldProgrammable Gate Array,FPGA)等实现。
图3B为本发明实施例提供的另一种数据传输速率的控制装置的结构示意图,如图3B所示,该装置包括:检测控制模块302、时间监测控制模块303及电源控制模块304。
所述时间监测控制模块303分别与所述检测控制模块302及所述电源控制模块304连接;在控制终端的数据传输速率时,所述检测控制模块302还分别与所述终端的WiFi芯片301、低噪声放大器306及功率放大器305连接,所述电源控制模块304还分别与所述终端的低噪声放大器306及功率放大器305连接。
可选地,所述检测控制模块302为信号检测控制模块3021或速率监测控制模块3022。
可选地,所述终端的低噪声放大器306及终端的功率放大器305均与终端的天线307连接。
在实际应用中,所述信号检测控制模块3021、速率监测控制模块3022可以由CPU或MPU实现,时间监测控制模块303也可以由CPU或MPU实现,电源控制模块304可以通过在常规电源控制电路中增加一个单刀双掷开关来实现。
图6A为本发明实施例提供的一种数据传输速率的控制装置实施例一的结构示意图,如图6A所示,该装置包括调整模块,调整模块包括信号检测控制模块3021、时间监测控制模块303及电源控制模块304。
信号检测控制模块3021,设置为在检测到终端有接收到数据包时向时间监测控制模块发送开始计时指令;每隔100us检测终端是否有接收到数据包; 在检测出终端有接收到数据包时,向时间监测控制模块发送终端有接收到数据包信息;在检测出终端没有接收到数据包时,向时间监测控制模块发送重新计时指令;在继续检测出终端没有接收到数据包时,向时间监测控制模块发送终端没有接收到数据包信息。
时间监测控制模块303,设置为接收开始计时指令并开始计时;在接收到终端有接收到数据包信息时,判断其计时时间是否超过第一预设时间;在该计时时间超过第一预设时间时,向电源控制模块发送第一切换指令,在该计时时间未超过第一预设时间时,不发送该指令;接收重新计时指令并重新计时;在接收到终端没有接收到数据包信息时,判断其计时时间是否超过第二预设时间;在该计时时间超过第二预设时间时,向电源控制模块发送第二切换指令,在该计时时间未超过第二预设时间时,不发送该指令。
电源控制模块304,设置为接收第一切换指令,并控制其单刀双掷开关从3.3V供电电压端切换至5.0V供电电压端;接收第二切换指令,并控制其单刀双掷开关从5.0V供电电压端切换至3.3V供电电压端;在未接收到切换指令时,不调整其单刀双掷开关。
在实际应用中,所述信号检测控制模块3021可以由CPU或MPU实现,时间监测控制模块303也可以由CPU或MPU实现,电源控制模块304可以通过在常规电源控制电路中增加一个单刀双掷开关来实现。
图6B为本发明实施例提供的另一种数据传输速率的控制装置实施例一的结构示意图,如图6B所示,该装置包括:信号检测控制模块3021、时间监测控制模块303及电源控制模块304。
所述时间监测控制模块303分别与所述信号检测控制模块3021及所述电源控制模块304连接;在控制终端的数据传输速率时,所述信号检测控制模块3021还分别与所述终端的WiFi芯片301、低噪声放大器306及功率放大器305连接,所述电源控制模块304还分别与所述终端的低噪声放大器306及功率放大器305连接。
在实际应用中,所述信号检测控制模块3021可以由CPU或MPU实现,时间监测控制模块303也可以由CPU或MPU实现,电源控制模块304可以通过在常规电源控制电路中增加一个单刀双掷开关来实现。
图7为本发明实施例提供的一种数据传输速率的控制方法实施例一的流程示意图,如图7所示,在终端作为接收侧装置接收数据的情况下,包括步骤701-709:
步骤701:在检测到终端有接收到数据包时开始计时。
可选地,如图6B所示,本步骤可以包括,在信号检测控制模块从低噪声放大器接收到数据包时,信号检测控制模块向时间监测控制模块发送开始计时指令;时间监测控制模块接收该指令并开始计时。
如在实际应用中,当用户使用其终端设备上网时,如浏览网页或下载文件时,该终端设备的天线307接收到电磁波信号,该电磁波信号通过低噪声放大器被放大,低噪声放大器由电源控制模块提供3.3V的供电电压,当电磁波信号经过信号检测控制模块时,信号检测控制模块向时间监测控制模块发送开始计时指令,时间监测控制模块接收该指令并开始计时。
步骤702:每隔100us检测终端是否有接收到数据包。
可选地,本步骤可以为,信号检测控制模块每隔100us检测其是否有从低噪声放大器接收到数据包。
步骤703:在检测出终端有接收到数据包时,判断计时时间是否超过5s。
可选地,本步骤可以包括,在信号检测控制模块检测出其有从低噪声放大器接收到数据包时,信号检测控制模块向时间监测控制模块发送终端有接收到数据包信息;时间监测控制模块接收该信息并判断其计时时间是否超过5s。
步骤704:在计时时间未超过5s时,保持终端的接收灵敏度不变。
可选地,本步骤可以包括,在时间监测控制模块判断出其计时时间未超过5s时,不向电源控制模块发送切换指令;电源控制模块未接收到切换指令时,不调整其单刀双掷开关。即使得终端的低噪声放大器的供电电压仍保持在3.3V,不调整终端的接收灵敏度,不调整终端与WiFi路由器之间的数据传输速率。
如在实际应用中,当用户使用其终端设备浏览网页时,由于每个网页中每次下载图片最多几十兆,加之用户浏览时的停顿,会有一定的时间间隔, 并没有持续一定时间的数据包通过信号检测控制模块,如并没有持续超过5s的数据包通过信号检测控制模块,那么当前终端与WiFi路由器之间的数据传输速率即可满足用户需求,无需调整该数据传输速率。
接着返回执行所述步骤702。
步骤705:在计时时间超过5s时,增大终端的接收灵敏度。
可选地,本步骤可以包括,在时间监测控制模块判断出其计时时间超过5s时,时间监测控制模块向电源控制模块发送第一切换指令;电源控制模块接收该切换指令,并控制其单刀双掷开关从3.3V供电电压端切换至5.0V供电电压端。即使得终端的低噪声放大器的供电电压升高至5.0V,增大终端的接收灵敏度,提高终端与WiFi路由器之间的数据传输速率。
如在实际应用中,在WiFi路由器被安装在客厅,用户在卧室或书房使用其终端设备玩网络游戏、进行高清视频或FTP文件下载,由于这些文件大小基本都在2G到10G,因此可能会有持续超过5s的数据包通过信号检测控制模块,那么当前终端与WiFi路由器之间的数据传输速率可能不满足用户需求,需提高该数据传输速率。
可选地,本步骤可以包括,在终端计时时间超过5s,且终端未增大终端的接收灵敏度时,终端增大终端的接收灵敏度;在终端计时时间超过5s,且终端已增大终端的接收灵敏度时,终端不再增大终端的接收灵敏度。
接着返回执行所述步骤702。
步骤706:在检测出终端没有接收到数据包时重新计时。
可选地,本步骤可以包括,在信号检测控制模块检测出其没有从低噪声放大器接收到数据包时,信号检测控制模块向时间监测控制模块发送重新计时指令;时间监测控制模块重新开始计时。
接着返回执行所述步骤702。
步骤707:在继续检测出终端没有接收到数据包时,判断计时时间是否超过5s。
可选地,本步骤可以包括,在信号检测控制模块继续检测出其没有从低噪声放大器接收到数据包时,信号检测控制模块向时间监测控制模块发送终 端没有接收到数据包信息;时间监测控制模块接收该信息并判断其计时时间是否超过5s。
步骤708:在计时时间未超过5s时,保持终端的接收灵敏度不变。
可选地,本步骤可以包括,在时间监测控制模块判断出其计时时间未超过5s时,不向电源控制模块发送切换指令;电源控制模块未接收到切换指令时,不调整其单刀双掷开关。即使得终端的低噪声放大器的供电电压仍保持在5.0V,不调整终端的接收灵敏度,不调整终端与WiFi路由器之间的数据传输速率。
接着返回执行所述步骤702。
步骤709:在计时时间超过5s时,减小终端的接收灵敏度。
可选地,本步骤可以包括,在时间监测控制模块判断出其计时时间超过5s时,向电源控制模块发送第二切换指令;电源控制模块接收该切换指令,并控制其单刀双掷开关从5.0V供电电压端切换至3.3V供电电压端。即使得终端的低噪声放大器的供电电压降低至3.3V,减小终端的接收灵敏度,降低终端与WiFi路由器之间的数据传输速率。
可选地,本步骤可以包括,在终端计时时间超过5s,且终端未减小终端的接收灵敏度时,终端减小终端的接收灵敏度;在终端计时时间超过5s,且终端已减小终端的接收灵敏度时,终端不再减小终端的接收灵敏度。
接着返回执行所述步骤701。
图8为本发明实施例提供的一种数据传输速率的控制方法实施例二的流程示意图,如图8所示,在终端作为发射侧装置发送数据的情况下,包括步骤801-809:
步骤801:在检测到终端有发送数据包时开始计时。
可选地,如图6B所示,本步骤可以包括,在信号检测控制模块从WiFi芯片接收到数据包时,信号检测控制模块向时间监测控制模块发送开始计时指令;时间监测控制模块接收该指令并开始计时。
如在实际应用中,在两个终端之间通过“快牙”等工具进行数据传输的情况下,如一个终端在客厅,另一个终端在卧室或书房时,发送方终端设备 的电磁波信号从WiFi芯片发出,经过信号检测控制模块传输到功率放大器,功率放大器将该电磁波信号放大,接着电磁波信号通过天线发射出去,功率放大器由电源控制模块提供3.3V的供电电压,当电磁波信号经过信号检测控制模块时,信号检测控制模块向时间监测控制模块发送开始计时指令,时间监测控制模块接收该指令并开始计时。
步骤802:每隔100us检测终端是否有发送数据包。
可选地,本步骤可以为,信号检测控制模块每隔100us检测其是否有从WiFi芯片接收到数据包。
步骤803:在检测出终端有发送数据包时,判断计时时间是否超过5s。
可选地,本步骤可以包括,在信号检测控制模块检测出其有从WiFi芯片接收到数据包时,信号检测控制模块向时间监测控制模块发送终端有发送数据包信息;时间监测控制模块接收该信息并判断其计时时间是否超过5s。
步骤804:在计时时间未超过5s时,保持终端的发射功率不变。
可选地,本步骤可以包括,在时间监测控制模块判断出其计时时间未超过5s时,不向电源控制模块发送切换指令;电源控制模块未接收到切换指令时,不调整其单刀双掷开关。即使得终端的功率放大器的供电电压仍保持在3.3V,不调整终端的发射功率,不调整终端与终端之间的数据传输速率。
接着返回执行所述步骤802。
步骤805:在计时时间超过5s时,增大终端的发射功率。
可选地,本步骤可以包括,在时间监测控制模块判断出其计时时间超过5s时,时间监测控制模块向电源控制模块发送第一切换指令;电源控制模块接收该切换指令,并控制其单刀双掷开关从3.3V供电电压端切换至5.0V供电电压端。即使得终端的功率放大器的供电电压升高至5.0V,增大终端的发射功率,提高终端与终端之间的数据传输速率。
可选地,本步骤可以包括,在终端计时时间超过5s,且终端未增大终端的发射功率时,终端增大终端的发射功率;在终端计时时间超过5s,且终端已增大终端的发射功率时,终端不再增大终端的发射功率。
接着返回执行所述步骤802。
步骤806:在检测出终端没有发送数据包时重新计时。
可选地,本步骤可以包括,在信号检测控制模块检测出其没有从WiFi芯片接收到数据包时,信号检测控制模块向时间监测控制模块发送重新计时指令;时间监测控制模块重新开始计时。
接着返回执行所述步骤802。
步骤807:在继续检测出终端没有发送数据包时,判断计时时间是否超过5s。
可选地,本步骤可以包括,在信号检测控制模块继续检测出其没有从WiFi芯片接收到数据包时,信号检测控制模块向时间监测控制模块发送终端没有发送数据包信息;时间监测控制模块接收该信息并判断其计时时间是否超过5s。
步骤808:在计时时间未超过5s时,保持终端的发射功率不变。
可选地,本步骤可以包括,在时间监测控制模块判断出其计时时间未超过5s时,不向电源控制模块发送切换指令;电源控制模块未接收到切换指令时,不调整其单刀双掷开关。即使得终端的功率放大器的供电电压仍保持在5.0V,不调整终端的发射功率,不调整终端与终端之间的数据传输速率。
接着返回执行所述步骤802。
步骤809:在计时时间超过5s时,减小终端的发射功率。
可选地,本步骤可以包括,在时间监测控制模块判断出其计时时间超过5s时,向电源控制模块发送第二切换指令;电源控制模块接收该切换指令,并控制其单刀双掷开关从5.0V供电电压端切换至3.3V供电电压端。即使得终端的功率放大器的供电电压降低至3.3V,减小终端的发射功率,降低终端与终端之间的数据传输速率。
可选地,本步骤可以包括,在终端计时时间超过5s,且终端未减小终端的发射功率时,终端减小终端的发射功率;在终端计时时间超过5s,且终端已减小终端的发射功率时,终端不再减小终端的发射功率。
接着返回执行所述步骤801。
图6C为本发明实施例提供的一种数据传输速率的控制装置实施例二的 结构示意图,如图6C所示,该装置包括调整模块,调整模块包括速率监测控制模块3022、时间监测控制模块303及电源控制模块304。
速率监测控制模块3022,设置为在检测到终端以超过第一传输速率传输数据包时向时间监测控制模块发送开始计时指令;每隔100us检测终端是否以超过第一传输速率传输数据包;在检测出终端以超过第一传输速率传输数据包时,向时间监测控制模块发送终端以超过第一传输速率传输数据包信息;在检测出终端没以超过第一传输速率传输数据包时,向时间监测控制模块发送重新计时指令;在继续检测出终端没有以超过第一传输速率传输数据包时,向时间监测控制模块发送终端没有以超过第一传输速率传输数据包信息。
时间监测控制模块303,设置为接收开始计时指令并开始计时;在接收到终端以超过第一传输速率传输数据包信息时,判断其计时时间是否超过第一预设时间;在该计时时间超过第一预设时间时,向电源控制模块发送第一切换指令,在该计时时间未超过第一预设时间时,不发送该指令;接收重新计时指令并重新计时;在接收到终端没有以超过第一传输速率传输数据包信息时,判断其计时时间是否超过第二预设时间;在该计时时间超过第二预设时间时,向电源控制模块发送第二切换指令,在该计时时间未超过第二预设时间时,不发送该指令。
电源控制模块304,设置为接收第一切换指令,并控制其单刀双掷开关从3.3V供电电压端切换至5.0V供电电压端;接收第二切换指令,并控制其单刀双掷开关从5.0V供电电压端切换至3.3V供电电压端;在未接收到切换指令时,不调整其单刀双掷开关。
在实际应用中,速率监测控制模块3022可以由CPU或MPU实现,时间监测控制模块303也可以由CPU或MPU实现,电源控制模块304可以通过在常规电源控制电路中增加一个单刀双掷开关来实现。
图6D为本发明实施例提供的另一种数据传输速率的控制装置实施例二的结构示意图,如图6D所示,该装置包括:速率监测控制模块3022、时间监测控制模块303及电源控制模块304。
所述时间监测控制模块303分别与所述速率监测控制模块3022及所述电源控制模块304连接;在控制终端的数据传输速率时,所述速率监测控制模 块3022还分别与所述终端的WiFi芯片301、低噪声放大器306及功率放大器305连接,所述电源控制模块304还分别与所述终端的低噪声放大器306及功率放大器305连接。
在实际应用中,所述速率监测控制模块3022可以由CPU或MPU实现,时间监测控制模块303也可以由CPU或MPU实现,电源控制模块304可以通过在常规电源控制电路中增加一个单刀双掷开关来实现。
图9为本发明实施例提供的一种数据传输速率的控制方法实施例三的流程示意图,如图9所示,包括步骤901-909:
步骤901:在检测到终端以超过第一传输速率传输数据包时开始计时。
可选地,如图6D所示,本步骤可以包括,在速率监测控制模块检测到有以超过第一传输速率传输的数据包通过速率监测控制模块时,速率监测控制模块向时间监测控制模块发送开始计时指令;时间监测控制模块接收该指令并开始计时。
其中,所述第一传输速率可以根据用户需求进行设置,如用户使用其终端进行网页浏览时,终端传输数据包的瞬时速率通常为几kbps,而进行网络游戏、高清视频或FTP文件等大容量数据下载时,终端传输数据包的瞬时速率会达到几Mbps,在用户需求为终端持续以超过1Mbps传输数据包的时间超过5s时,即需增大终端的接收灵敏度或发射功率,提高数据传输速率的情况下,该第一传输速率即可设置为1Mbps。
步骤902:每隔100us检测终端是否以超过第一传输速率传输数据包。
可选地,本步骤可以为,速率监测控制模块每隔100us检测是否有以超过第一传输速率传输的数据包通过速率监测控制模块。
步骤903:在检测出终端以超过第一传输速率传输数据包时,判断计时时间是否超过5s。
可选地,本步骤可以包括,在速率监测控制模块检测出有以超过第一传输速率传输的数据包通过速率监测控制模块时,速率监测控制模块向时间监测控制模块发送终端以超过第一传输速率传输数据包信息;时间监测控制模块接收该信息并判断其计时时间是否超过5s。
步骤904:在计时时间未超过5s时,保持终端的接收灵敏度或发射功率不变。
可选地,本步骤可以包括,在时间监测控制模块判断出其计时时间未超过5s时,不向电源控制模块发送切换指令;电源控制模块未接收到切换指令时,不调整其单刀双掷开关。即使得终端的低噪声放大器或功率放大器的供电电压仍保持在3.3V,不调整终端的接收灵敏度或发射功率,不调整终端与终端之间的数据传输速率。
接着返回执行所述步骤902。
步骤905:在计时时间超过5s时,增大终端的接收灵敏度或发射功率。
可选地,本步骤可以包括,在时间监测控制模块判断出其计时时间超过5s时,时间监测控制模块向电源控制模块发送第一切换指令;电源控制模块接收该切换指令,并控制其单刀双掷开关从3.3V供电电压端切换至5.0V供电电压端。即使得终端的低噪声放大器或功率放大器的供电电压升高至5.0V,增大终端的接收灵敏度或发射功率,提高终端与终端之间的数据传输速率。
可选地,本步骤可以包括,在终端计时时间超过5s,且终端未增大终端的接收灵敏度或发射功率时,终端增大终端的接收灵敏度或发射功率;在终端计时时间超过5s,且终端已增大终端的接收灵敏度或发射功率时,终端不再增大终端的接收灵敏度或发射功率。
接着返回执行所述步骤902。
步骤906:在检测出终端没有以超过第一传输速率传输数据包时重新计时。
可选地,本步骤可以包括,在速率监测控制模块检测出终端没有以超过第一传输速率传输数据包时,速率监测控制模块向时间监测控制模块发送重新计时指令;时间监测控制模块重新开始计时。
接着返回执行所述步骤902。
步骤907:在继续检测出终端没有以超过第一传输速率传输数据包时,判断计时时间是否超过5s。
可选地,本步骤可以包括,在速率监测控制模块继续检测出没有以超过 第一传输速率传输的数据包通过速率监测控制模块时,速率监测控制模块向时间监测控制模块发送终端没有以超过第一传输速率传输数据包信息;时间监测控制模块接收该信息并判断其计时时间是否超过5s。
步骤908:在计时时间未超过5s时,保持终端的接收灵敏度或发射功率不变。
可选地,本步骤可以包括,在时间监测控制模块判断出其计时时间未超过5s时,不向电源控制模块发送切换指令;电源控制模块未接收到切换指令时,不调整其单刀双掷开关。即使得终端的低噪声放大器或功率放大器的供电电压仍保持在5.0V,不调整终端的接收灵敏度或发射功率,不调整终端与WiFi路由器之间的数据传输速率。
接着返回执行所述步骤902。
步骤909:在计时时间超过5s时,减小终端的接收灵敏度或发射功率。
可选地,本步骤可以包括,在时间监测控制模块判断出其计时时间超过5s时,向电源控制模块发送第二切换指令;电源控制模块接收该切换指令,并控制其单刀双掷开关从5.0V供电电压端切换至3.3V供电电压端。即使得终端的低噪声放大器或功率放大器的供电电压降低至3.3V,减小终端的接收灵敏度或发射功率,降低终端与终端之间的数据传输速率。
可选地,本步骤可以包括,在终端计时时间超过5s,且终端未减小终端的接收灵敏度或发射功率时,终端减小终端的接收灵敏度或发射功率;在终端计时时间超过5s,且终端已减小终端的接收灵敏度或发射功率时,终端不再减小终端的接收灵敏度或发射功率。
接着返回执行所述步骤901。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现所述的数据传输速率的控制方法。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一个计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
工业实用性
本发明实施例提供的一种数据传输速率的控制方法及装置,在终端传输数据包的持续时间超过第一预设时间时,增大终端的接收灵敏度或发射功率;和/或在终端未传输数据包的持续时间超过第二预设时间时,减小终端的接收灵敏度或发射功率。通过本发明实施例方案,能在有大量数据包需在终端与WiFi路由器之间,或终端与终端之间传输时,提高终端与WiFi路由器之间,或终端与终端之间的数据传输速率,在不需终端传输数据包时,降低终端与WiFi路由器之间,或终端与终端之间的数据传输速率;从而实现控制终端与WiFi路由器之间,或终端与终端之间的数据传输速率,避免由于墙壁阻隔影响终端传输数据,提高用户的体验度,避免伤害用户及增加设备成本。

Claims (15)

  1. 一种数据传输速率的控制方法,所述方法包括:
    在终端传输数据包的持续时间超过第一预设时间时,增大所述终端的接收灵敏度或发射功率;和/或,
    在所述终端未传输数据包的持续时间超过第二预设时间时,减小所述终端的接收灵敏度或发射功率。
  2. 根据权利要求1所述的数据传输速率的控制方法,其中,
    所述增大所述终端的接收灵敏度包括:
    升高所述终端的低噪声放大器的供电电压;
    所述增大所述终端的发射功率包括:
    升高所述终端的功率放大器的供电电压。
  3. 根据权利要求1所述的数据传输速率的控制方法,其中,
    所述减小所述终端的接收灵敏度包括:
    降低所述终端的低噪声放大器的供电电压;
    所述减小所述终端的发射功率包括:
    降低所述终端的功率放大器的供电电压。
  4. 根据权利要求1所述的数据传输速率的控制方法,所述方法还包括:
    在所述终端传输数据包的持续时间未超过所述第一预设时间时,保持所述终端的接收灵敏度或发射功率不变。
  5. 根据权利要求1所述的数据传输速率的控制方法,所述方法还包括:
    在所述终端未传输数据包的持续时间未超过所述第二预设时间时,保持所述终端的接收灵敏度或发射功率不变。
  6. 根据权利要求1所述的数据传输速率的控制方法,其中,所述终端传输数据包的持续时间超过第一预设时间包括:
    所述终端持续以超过第一传输速率的速率传输数据包的时间超过所述第一预设时间;
    所述终端未传输数据包的持续时间超过第二预设时间包括:
    所述终端未以超过所述第一传输速率的速率传输数据包的持续时间超过第二预设时间。
  7. 一种数据传输速率的控制装置,所述装置包括:调整模块;
    调整模块,设置为在终端传输数据包的持续时间超过第一预设时间时,增大所述终端的接收灵敏度或发射功率;和/或,在所述终端未传输数据包的持续时间超过第二预设时间时,减小所述终端的接收灵敏度或发射功率。
  8. 根据权利要求7所述的数据传输速率的控制装置,其中,
    所述调整模块增大所述终端的接收灵敏度包括:升高所述终端的低噪声放大器的供电电压;
    所述调整模块增大所述终端的发射功率包括:升高所述终端的功率放大器的供电电压。
  9. 根据权利要求7所述的数据传输速率的控制装置,其中,
    所述调整模块减小所述终端的接收灵敏度包括:降低所述终端的低噪声放大器的供电电压;
    所述调整模块减小所述终端的发射功率包括:降低所述终端的功率放大器的供电电压。
  10. 根据权利要求7所述的数据传输速率的控制装置,所述调整模块,还设置为在所述终端传输数据包的持续时间未超过所述第一预设时间时,保持所述终端的接收灵敏度或发射功率不变。
  11. 根据权利要求7所述的数据传输速率的控制装置,所述调整模块,还设置为在所述终端未传输数据包的持续时间未超过所述第二预设时间时,保持所述终端的接收灵敏度或发射功率不变。
  12. 根据权利要求7所述的数据传输速率的控制装置,其中,
    所述终端传输数据包的持续时间超过第一预设时间包括:
    所述终端持续以超过第一传输速率的速率传输数据包的时间超过所述第一预设时间;
    所述终端未传输数据包的持续时间超过第二预设时间包括:
    所述终端未以超过所述第一传输速率的速率传输数据包的持续时间超过第二预设时间。
  13. 一种数据传输速率的控制装置,所述装置包括:检测控制模块、时间监测控制模块及电源控制模块;
    所述时间监测控制模块分别与所述检测控制模块及所述电源控制模块连接;在控制终端的数据传输速率时,所述检测控制模块还分别与所述终端的无线保真WiFi芯片、低噪声放大器及功率放大器连接,所述电源控制模块还分别与所述终端的低噪声放大器及功率放大器连接。
  14. 根据权利要求13所述的数据传输速率的控制装置,其中,所述检测控制模块包括:信号检测控制模块或速率监测控制模块。
  15. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现权利要求1至6任意一项所述的数据传输速率的控制方法。
PCT/CN2016/091606 2016-03-04 2016-07-25 一种数据传输速率的控制方法及装置 WO2017148084A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610125669.2A CN107154832A (zh) 2016-03-04 2016-03-04 一种数据传输速率的控制方法及装置
CN201610125669.2 2016-03-04

Publications (1)

Publication Number Publication Date
WO2017148084A1 true WO2017148084A1 (zh) 2017-09-08

Family

ID=59743471

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/091606 WO2017148084A1 (zh) 2016-03-04 2016-07-25 一种数据传输速率的控制方法及装置

Country Status (2)

Country Link
CN (1) CN107154832A (zh)
WO (1) WO2017148084A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012291A (zh) * 2017-12-07 2018-05-08 广东欧珀移动通信有限公司 速率控制方法、装置、存储介质及电子设备
CN112512108A (zh) * 2020-12-02 2021-03-16 中国联合网络通信集团有限公司 功率控制方法及通信装置

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110996382B (zh) * 2019-11-21 2023-04-07 Oppo(重庆)智能科技有限公司 功率调整方法、装置、存储介质及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136666A (zh) * 2006-08-28 2008-03-05 华为技术有限公司 实现发射功率控制的方法及装置
CN102740504A (zh) * 2011-04-01 2012-10-17 苏州英诺迅科技有限公司 一种WiFi通信系统及方法
WO2014022962A1 (zh) * 2012-08-06 2014-02-13 华为技术有限公司 信令发送方法及相关设备
CN103945517A (zh) * 2008-06-18 2014-07-23 株式会社Ntt都科摩 基站以及移动通信方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100334814C (zh) * 2003-08-22 2007-08-29 智邦科技股份有限公司 射频功率控制系统
KR20120092278A (ko) * 2011-02-11 2012-08-21 삼성전자주식회사 분산 안테나를 사용하는 무선통신 시스템에서 하향링크 다중입출력 프리코딩을 하기 위한 송신 장치 및 방법
US9019908B2 (en) * 2011-11-30 2015-04-28 Qualcomm Incorporated Apparatus and method for power adjustment for link imbalances
US8885590B2 (en) * 2012-05-18 2014-11-11 Futurewei Technologies, Inc. Systems and methods for scheduling multiple-input and multiple-output (MIMO) high-speed downlink packet access (HSDPA) pilot channels
CN104812038B (zh) * 2014-01-23 2019-01-18 华为技术有限公司 一种ap发射功率调整方法及装置
CN105208645B (zh) * 2015-10-30 2018-12-25 东莞酷派软件技术有限公司 一种wifi发射功率值调节方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136666A (zh) * 2006-08-28 2008-03-05 华为技术有限公司 实现发射功率控制的方法及装置
CN103945517A (zh) * 2008-06-18 2014-07-23 株式会社Ntt都科摩 基站以及移动通信方法
CN102740504A (zh) * 2011-04-01 2012-10-17 苏州英诺迅科技有限公司 一种WiFi通信系统及方法
WO2014022962A1 (zh) * 2012-08-06 2014-02-13 华为技术有限公司 信令发送方法及相关设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012291A (zh) * 2017-12-07 2018-05-08 广东欧珀移动通信有限公司 速率控制方法、装置、存储介质及电子设备
CN112512108A (zh) * 2020-12-02 2021-03-16 中国联合网络通信集团有限公司 功率控制方法及通信装置
CN112512108B (zh) * 2020-12-02 2022-09-02 中国联合网络通信集团有限公司 功率控制方法及通信装置

Also Published As

Publication number Publication date
CN107154832A (zh) 2017-09-12

Similar Documents

Publication Publication Date Title
JP6420493B2 (ja) 音量調整方法、装置および端末
WO2017129096A1 (zh) 视频预加载的方法和装置
WO2016065810A1 (zh) 模式切换方法及装置
WO2017148084A1 (zh) 一种数据传输速率的控制方法及装置
US20190227767A1 (en) Volume Adjustment Method and Terminal
US10789038B2 (en) Content streaming apparatus and method
WO2017058648A1 (en) Mediation of wakeword response for multiple devices
WO2015144016A1 (zh) 无线通信控制方法和装置
US10805613B2 (en) Systems and methods for optimization and testing of wireless devices
US10892629B2 (en) Intelligent battery charging system and method
KR101796532B1 (ko) 수면 모드 제어를 통한 에너지 절감 시스템 및 시스템의 동작 방법
US9510280B2 (en) Transmitting beacon frames over a wireless data link
US9800511B2 (en) Optimizing traffic by controlling keep-alives
WO2015124059A1 (zh) 一种通信方法及终端
EP3155848A1 (en) Wake up message transmission rate
WO2018205433A1 (zh) 网络连接方法、装置和终端设备
CN104244037A (zh) 媒体内容缓冲
WO2015062526A1 (zh) 一种基于无线登录的远程控制方法及装置
US20160142453A1 (en) Features and optimizations for personal communication device based public addressing system
US20210176084A1 (en) Data Transmission Method And Smart Household Control Device
WO2021052128A1 (zh) 通知消息控制方法及相关装置
US20200099482A1 (en) Packet Retransmission Method and Apparatus
WO2018006593A1 (zh) Wifi的供电切换方法、电路及装置、存储介质
CN103856577A (zh) 管理网关接入
CN114697880B (zh) 跨网段发现的方法、路由设备及系统

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16892272

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16892272

Country of ref document: EP

Kind code of ref document: A1