CN110062452B - Power adjustment method, device, computer equipment and storage medium - Google Patents

Power adjustment method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN110062452B
CN110062452B CN201910321513.5A CN201910321513A CN110062452B CN 110062452 B CN110062452 B CN 110062452B CN 201910321513 A CN201910321513 A CN 201910321513A CN 110062452 B CN110062452 B CN 110062452B
Authority
CN
China
Prior art keywords
power
data packet
downlink
terminal
server
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910321513.5A
Other languages
Chinese (zh)
Other versions
CN110062452A (en
Inventor
曹海波
张亮
朱余浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics Co Ltd
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 Shenzhen Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN201910321513.5A priority Critical patent/CN110062452B/en
Publication of CN110062452A publication Critical patent/CN110062452A/en
Application granted granted Critical
Publication of CN110062452B publication Critical patent/CN110062452B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/06TPC algorithms
    • H04W52/14Separate analysis of uplink or downlink
    • H04W52/146Uplink power control
    • 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/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • H04W52/241TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account channel quality metrics, e.g. SIR, SNR, CIR, Eb/lo
    • 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/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • H04W52/245TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account received signal strength
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application relates to a power adjustment method, a power adjustment device, computer equipment and a storage medium. The method comprises the following steps: when a terminal receives a downlink data packet sent by a server, acquiring downlink transmitting power of the downlink data packet sent by the server and downlink receiving power of the downlink data packet received by the terminal, calculating power attenuation of the downlink data packet in a transmission process according to the downlink transmitting power and the downlink receiving power, and acquiring a power threshold value, wherein the power threshold value is used for representing the lowest value of the uplink receiving power of the uplink data packet received by the server, and adjusting the uplink transmitting power of the uplink data packet sent by the terminal according to the power attenuation and the power threshold value. The terminal adjusts the uplink transmitting power of the terminal according to the power attenuation and the power threshold value, and the uplink transmitting power which is finally sent to the server is not required to be adjusted by sending different powers for multiple times, so that the efficiency of adjusting the uplink transmitting power of the terminal can be improved.

Description

Power adjustment method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a power adjustment method and apparatus, a computer device, and a storage medium.
Background
With the development of communication technology, most communication devices can utilize transmission power and reception power for signal transmission. For example, the terminal and the base station may transmit signals to each other according to the transmission power, and the terminal and the base station may receive signals transmitted by each other according to the reception power. Transmit power refers to the amount of signal strength transmitted by the communication device, and may be adjusted in either the uplink or downlink direction.
However, the conventional power adjustment method has a problem of low efficiency.
Disclosure of Invention
In view of the above, it is necessary to provide a power adjustment method, apparatus, computer device and storage medium, which can improve the efficiency of power adjustment.
A power adjustment method is applied to a terminal, and the method comprises the following steps:
when the terminal receives a downlink data packet sent by a server, acquiring downlink transmitting power of the downlink data packet sent by the server and downlink receiving power of the downlink data packet received by the terminal;
calculating the power attenuation of the downlink data packet in the transmission process according to the downlink transmitting power and the downlink receiving power;
acquiring a power threshold value, wherein the power threshold value is used for representing the lowest value of uplink receiving power of the server for receiving the uplink data packet;
and adjusting the uplink transmitting power of the uplink data packet sent by the terminal according to the power attenuation and the power threshold value.
In one embodiment, the method further comprises:
acquiring first amplification data of the downlink data packet sent by the server, wherein the first amplification data is used for representing power amplification of the downlink data packet in a transmission process;
the calculating the power attenuation of the downlink data packet in the transmission process according to the downlink transmitting power and the downlink receiving power comprises:
and calculating the power attenuation of the downlink data packet in the transmission process according to the downlink transmitting power, the downlink receiving power and the first amplification data.
In one embodiment, the method further comprises:
acquiring second amplification data, wherein the second amplification data is used for representing power amplification of the uplink data packet in a transmission process;
the adjusting the uplink transmission power of the uplink data packet sent by the terminal according to the power attenuation and the power threshold value comprises:
and adjusting the uplink transmitting power of the uplink data packet sent by the terminal according to the power attenuation, the power threshold value and the second amplification data.
In one embodiment, the adjusting, according to the power attenuation, the power threshold, and the second amplified data, the uplink transmission power of the uplink data packet sent by the terminal includes:
calculating target uplink transmitting power according to the power attenuation, the power threshold value and the second amplification data;
and controlling the terminal to send the uplink data packet according to the target uplink transmitting power.
In one embodiment, the method further comprises:
acquiring a preset power interval;
when the target uplink transmitting power exceeds the power interval, displaying first prompt information; the first prompt message is used for prompting that the target uplink transmission power is unqualified;
and restarting the terminal according to the first prompt message, and returning to execute the steps of obtaining the downlink transmitting power of the downlink data packet sent by the server and the downlink receiving power of the downlink data packet received by the terminal when the terminal receives the downlink data packet sent by the server.
In one embodiment, the method further comprises:
acquiring the display times of the first prompt message;
when the display times are larger than a preset display threshold value, displaying second prompt information; the second prompt message is used for prompting the abnormity of a data packet transmitting channel;
and switching the working mode of the terminal into a low power consumption mode according to the second prompt message.
A power regulation apparatus, the apparatus comprising:
a power obtaining module, configured to obtain, when the terminal receives a downlink data packet sent by a server, downlink transmit power of the downlink data packet sent by the server and downlink receive power of the downlink data packet received by the terminal;
a power attenuation calculating module, configured to calculate a power attenuation of the downlink data packet in a transmission process according to the downlink transmitting power and the downlink receiving power;
a threshold value obtaining module, configured to obtain a power threshold value, where the power threshold value is used to indicate a lowest value of uplink receiving power for the server to receive an uplink data packet;
and the power adjusting module is used for adjusting the uplink transmitting power of the uplink data packet sent by the terminal according to the power attenuation and the power threshold value.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
when the terminal receives a downlink data packet sent by a server, acquiring downlink transmitting power of the downlink data packet sent by the server and downlink receiving power of the downlink data packet received by the terminal;
calculating the power attenuation of the downlink data packet in the transmission process according to the downlink transmitting power and the downlink receiving power;
acquiring a power threshold value, wherein the power threshold value is used for representing the lowest value of uplink receiving power of the server for receiving the uplink data packet;
and adjusting the uplink transmitting power of the uplink data packet sent by the terminal according to the power attenuation and the power threshold value.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
when the terminal receives a downlink data packet sent by a server, acquiring downlink transmitting power of the downlink data packet sent by the server and downlink receiving power of the downlink data packet received by the terminal;
calculating the power attenuation of the downlink data packet in the transmission process according to the downlink transmitting power and the downlink receiving power;
acquiring a power threshold value, wherein the power threshold value is used for representing the lowest value of uplink receiving power of the server for receiving the uplink data packet;
and adjusting the uplink transmitting power of the uplink data packet sent by the terminal according to the power attenuation and the power threshold value.
According to the power adjustment method, the device, the computer equipment and the storage medium, when the terminal receives a downlink data packet sent by the server, the downlink transmitting power of the downlink data packet sent by the server and the downlink receiving power of the downlink data packet received by the terminal are obtained, the power attenuation of the downlink data packet in the transmission process is calculated according to the downlink transmitting power and the downlink receiving power, the power threshold value is obtained, wherein the power threshold value is used for representing the lowest value of the uplink receiving power of the uplink data packet received by the server, and the uplink transmitting power of the uplink data packet sent by the terminal is adjusted according to the power attenuation and the power threshold value. The computer equipment calculates the power attenuation by acquiring the downlink transmitting power of the server and the downlink receiving power of the terminal, adjusts the uplink transmitting power of the terminal according to the power attenuation and the power threshold value, and the terminal does not need to send different powers for multiple times to adjust the uplink transmitting power finally sent to the server, so that the efficiency of adjusting the uplink transmitting power of the terminal can be improved.
Drawings
FIG. 1 is a diagram of an exemplary power control method;
FIG. 2 is a flow diagram illustrating a power control method according to one embodiment;
FIG. 3 is a flowchart illustrating a method for presenting first prompt information in one embodiment;
FIG. 4 is a circuit schematic of power control in one embodiment;
FIG. 5 is a block diagram of a power control apparatus according to an embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The power adjustment method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. As shown in fig. 1, the application environment includes a terminal 110 and a server 120. Wherein the terminal 110 communicates with the server 120 through a network. When the terminal 110 receives the downlink data packet sent by the server 120, the terminal 110 may obtain downlink transmit power of the downlink data packet sent by the server 120 and downlink receive power of the downlink data packet received by the terminal 110. The terminal 110 may calculate the power attenuation of the downlink data packet during transmission according to the downlink transmit power and the downlink receive power. The terminal 110 may obtain a power threshold, where the power threshold is used to indicate a lowest uplink received power for the server 120 to receive the uplink data packet. The terminal 110 may adjust the uplink transmission power of the terminal 110 for transmitting the uplink data packet according to the power attenuation and the power threshold. The Terminal 110 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and other devices, the Terminal 110 may also be a cable Modem cm (cable Modem), the server 120 may be implemented by an independent server or a server cluster composed of a plurality of servers, and the server 120 may also be a cable Modem head end device cmts (cable Modem Terminal systems).
In one embodiment, as shown in fig. 2, there is provided a power adjustment method, comprising the steps of:
step 202, when the terminal receives the downlink data packet sent by the server, the downlink transmitting power of the downlink data packet sent by the server and the downlink receiving power of the downlink data packet received by the terminal are obtained.
In this embodiment, the Terminal may be a cable Modem CM (cable Modem), the server may be a cable Modem head end device CMTS (cable Modem Terminal systems), and the CMTS may send downstream packets to the CM. The downstream packets may include signals sent by the CMTS to the CM. The CMTS may send downstream packets to the CM according to a downstream transmit power, which may be a value of a signal strength of the downstream packets sent by the CMTS; the CM may receive downstream packets sent by the CMTS at a downstream receive power, which may be a value of the signal strength of the downstream packets received by the CM.
The downlink data packet may be used to indicate a data packet sent by the server to the terminal. When the server sends the downlink data packet to the terminal, the server may send the downlink transmission power for sending the downlink data packet to the terminal together. The terminal can communicate with the server through the network, and when the terminal receives the downlink data packet sent by the server through the data packet sending channel, the terminal can obtain the downlink sending power of the downlink data packet sent by the server because the server sends the downlink sending power of the downlink data packet to the terminal together. The terminal may receive the downlink data packet sent by the server according to the downlink receiving power, and the terminal may obtain the downlink receiving power for receiving the downlink data packet. Specifically, a demodulator may be disposed inside the terminal, and the demodulator may be configured to detect the size of the power, and the terminal may detect the downlink receiving power for receiving the downlink data packet through the demodulator.
And step 204, calculating the power attenuation of the downlink data packet in the transmission process according to the downlink transmitting power and the downlink receiving power.
In the process of sending a downlink data packet to a terminal through a data packet transmission channel, a server often has power attenuation. After acquiring the downlink transmitting power of the downlink data packet sent by the server and the downlink receiving power of the downlink data packet received by the terminal, the terminal can calculate the power attenuation of the downlink data packet in the transmission process. Specifically, the terminal may subtract the downlink transmit power of the received downlink data packet sent by the server from the downlink receive power of the received downlink data packet, so as to obtain the power attenuation of the downlink data packet in the transmission process.
Step 206, a power threshold is obtained, where the power threshold is used to indicate a lowest uplink receiving power for the server to receive the uplink data packet.
The power threshold may be a minimum value of uplink received power for the server to receive the uplink data packet, and may be a value determined at the time of configuring the server. For example, the power threshold may be 20dbmv (decibels to 1 millivolt). The uplink data packet is used for indicating a data packet sent by the terminal to the server.
The server may send the power threshold to the terminal, so that the terminal obtains the lowest value of the uplink receiving power of the server for receiving the uplink data packet. The value of the power threshold may be-10 dbmv, -7dbmv, 0dbmv, 8dbmv, 20dbmv, etc., which is not limited herein.
And step 208, adjusting the uplink transmitting power of the terminal for transmitting the uplink data packet according to the power attenuation and the power threshold value.
After obtaining the power attenuation and the power threshold value, the terminal may adjust uplink transmission power of an uplink data packet sent by the terminal. The larger the power attenuation is, the larger the power threshold value is, and the larger the uplink transmission power of the terminal for transmitting the uplink data packet is. Specifically, the terminal may use a sum of the power attenuation and the power threshold as a basis for adjusting the uplink transmission power for sending the uplink data packet.
In this embodiment, when the terminal receives a downlink data packet sent by the server, the downlink transmission power of the downlink data packet sent by the server and the downlink receiving power of the downlink data packet received by the terminal are obtained, the power attenuation of the downlink data packet in the transmission process is calculated according to the downlink transmission power and the downlink receiving power, and a power threshold is obtained, where the power threshold is used to represent the lowest value of the uplink receiving power of the uplink data packet received by the server, and the uplink transmission power of the uplink data packet sent by the terminal is adjusted according to the power attenuation and the power threshold. The computer equipment calculates the power attenuation by acquiring the downlink transmitting power of the server and the downlink receiving power of the terminal, adjusts the uplink transmitting power of the terminal according to the power attenuation and the power threshold value, and the terminal does not need to send different powers for multiple times to adjust the uplink transmitting power which is finally sent to the server, so that the efficiency of adjusting the uplink transmitting power of the terminal can be improved.
In one embodiment, the provided power adjustment method may further include a process of calculating power attenuation, where the specific process includes: acquiring first amplification data of a downlink data packet sent by a server, wherein the first amplification data is used for representing power amplification of the downlink data packet in a transmission process; and calculating the power attenuation of the downlink data packet in the transmission process according to the downlink transmitting power, the downlink receiving power and the first amplification data.
In the process of sending the downlink data packet to the terminal through the transmitting channel, the server can generate power attenuation and power amplification. Specifically, the transmission channel may include an amplifier for power amplification, and when the server wants the terminal to send a downlink data packet, the server may amplify downlink received power of the terminal when receiving the downlink data packet through the amplifier in the transmission channel.
In the process of sending the downlink data packet to the terminal, the server may send the information such as the power multiple of the downlink data packet amplified by the amplifier in the transmission channel to the terminal. The terminal may obtain first amplified data of a downlink data packet sent by the server.
After the terminal acquires the first amplification data, the power attenuation of the downlink data packet in the transmission process can be calculated according to the acquired downlink transmitting power, downlink receiving power and the first amplification data. Specifically, the terminal may add the first amplified data to the downlink transmit power, and then subtract the downlink receive power to calculate the power attenuation of the downlink data packet in the transmission process.
In this embodiment, the terminal sends, by obtaining first amplification data of a downlink data packet sent by the server, the first amplification data being used to indicate power amplification of the downlink data packet in the transmission process, and calculates power attenuation of the downlink data packet in the transmission process according to the downlink transmission power, the downlink reception power, and the first amplification data. The server sends the first amplification data and the downlink transmitting power to the terminal, the terminal detects the downlink receiving power through the demodulator, and the terminal can accurately calculate the power attenuation of the downlink data packet in the transmission process according to the first amplification data, the downlink transmitting power and the downlink receiving power, so that the accuracy of the calculated power attenuation can be improved.
In an embodiment, the provided power adjustment method may further include a process of adjusting power, where the specific process includes: acquiring second amplification data, wherein the second amplification data is used for representing power amplification of an uplink data packet in a transmission process; and adjusting the uplink transmitting power of the uplink data packet sent by the terminal according to the power attenuation, the power threshold value and the second amplification data.
The second amplification data is used for representing power amplification of the uplink data packet in the transmission process, and the uplink data packet is used for representing a data packet sent by the terminal to the server, so the second amplification data is used for representing power amplification of the terminal in the process of sending the uplink data packet to the server.
When receiving a downlink data packet sent by a server, a terminal can mark a transmitting channel occupied by the server when sending the downlink data packet, and before sending an uplink data packet to the server, the terminal can search the marked transmitting channel and send the uplink data packet to the server through the marked transmitting channel. The transmitting channel can contain an amplifier for power amplification, and the server sends amplified data of a downlink data packet passing through the amplifier to the terminal as first amplified data; and the terminal sends an uplink data packet to the server to amplify the data of the amplifier into second amplified data. The first amplified data and the second amplified data are generated by an amplifier in the transmit channel.
After the terminal acquires the second amplification data, the uplink transmission power for transmitting the uplink data packet may be adjusted according to the power attenuation, the power threshold value, and the second amplification data.
In this embodiment, the terminal adjusts the uplink transmission power of the uplink data packet sent by the terminal according to the power attenuation, the power threshold and the second amplification data by acquiring the second amplification data, where the second amplification data is used to represent the power amplification of the uplink data packet in the transmission process. Because the power attenuation, the power threshold value and the second amplification data are all important factors influencing the uplink transmission power of the uplink data packet sent by the terminal, the terminal adjusts the uplink transmission power through the factors, and the accuracy of power adjustment can be improved.
In another embodiment, the provided power adjustment method may further include a process of adjusting power, where the specific process includes: calculating target uplink transmitting power according to the power attenuation, the power threshold value and the second amplification data; and the control terminal sends the uplink data packet according to the target uplink transmitting power.
The target uplink transmission power may be used to indicate the uplink transmission power of the adjusted terminal for transmitting the uplink data packet. The terminal can calculate the target uplink transmission power according to the power attenuation, the power threshold value and the second amplification data, and can send the uplink data packet to the server according to the target uplink transmission power.
In this embodiment, the terminal calculates the target uplink transmission power according to the power attenuation, the power threshold and the second amplified data, and controls the terminal to transmit the uplink data packet according to the target uplink transmission power. The terminal does not need to send different powers for multiple times to adjust the uplink transmitting power finally sent to the server, and the target uplink transmitting power is directly obtained according to the power attenuation, the power threshold value and the second amplified data, so that the efficiency of adjusting the uplink transmitting power of the terminal can be improved.
As shown in fig. 3, in an embodiment, the provided power adjustment method may further include a process of restarting the terminal, and the specific steps include:
step 302, a preset power interval is obtained.
The power interval may be preset and used to indicate an interval of uplink transmission power for the terminal to transmit the uplink data packet to the server. The power interval may be determined according to the performance of the terminal, for example, when the terminal is a CM, the corresponding power interval may be 17dbmv to 54dbmv, and when the uplink transmission power of the CM exceeds the interval of 17dbmv to 54dbmv, the CM cannot be successfully on-line.
304, when the target uplink transmitting power exceeds the power interval, displaying a first prompt message; the first prompt information is used for prompting that the target uplink transmission power is unqualified.
The terminal may compare the obtained target uplink transmission power with the power interval, and obtain a comparison result. And when the comparison result obtained by the terminal is that the target uplink transmitting power exceeds the power interval, the terminal can display the first prompt message. Specifically, the first prompt information displayed by the terminal may be a pop-up prompt box, a display warning light, a vibration, and the like, which is not limited herein. And the first display information is used for prompting that the target uplink transmission power is unqualified.
And after the terminal compares the obtained target uplink transmitting power with the power interval, when the obtained comparison result is that the target uplink transmitting power does not exceed the power interval, the terminal can send an uplink data packet to the server according to the target uplink transmitting power.
Step 306, restarting the terminal according to the first prompt message, and returning to execute the step of obtaining the downlink transmitting power of the downlink data packet sent by the server and the downlink receiving power of the downlink data packet received by the terminal when the terminal receives the downlink data packet sent by the server.
And after the terminal shows the first prompt message, the terminal can perform restarting operation. After the terminal is restarted, the downlink data packet sent by the server can be detected again, and when the terminal receives the downlink data packet sent by the server, the terminal can obtain the downlink transmitting power of the downlink data packet sent by the server and the downlink receiving power of the downlink data packet received by the terminal.
In this embodiment, the terminal obtains a preset power interval, when the target uplink transmission power exceeds the power interval, displays first prompt information, where the first prompt information is used to prompt that the target uplink transmission power is not qualified, restarts the terminal according to the first prompt information, and returns to execute the steps of obtaining the downlink transmission power of the downlink data packet sent by the server and the downlink receiving power of the downlink data packet received by the terminal when the terminal receives the downlink data packet sent by the server. When the target uplink transmitting power is unqualified, the terminal acquires the downlink transmitting power and the downlink receiving power again in a restarting mode, and adjusts the uplink transmitting power until the target uplink transmitting power is qualified, so that the terminal can be prevented from sending an uplink data packet to the server according to the unqualified uplink transmitting power.
In an embodiment, the provided power adjustment method may further include a process of switching an operating mode, where the specific process includes: acquiring the display times of the first prompt message; when the display times are larger than a preset display threshold value, displaying second prompt information; the second prompt message is used for prompting the abnormity of the data packet transmitting channel; and switching the working mode of the terminal into a low power consumption mode according to the second prompt message.
The presentation threshold may be preset and used to indicate a maximum value of the number of times of presenting the first prompt information, and the presentation threshold may be a specific numerical value. For example, the presentation threshold may be 3 times, 5 times, 8 times, etc. The second prompt information may be used to prompt that the transmission channel of the data packet is abnormal, and the mode of displaying the second prompt information by the terminal may be a pop-up prompt box, a display warning light, a vibration, and the like, which is not limited herein. Wherein the intensity of the second prompt message prompt may be higher than the intensity of the first prompt message prompt.
The terminal can count the number of times of displaying the first prompt message through the counter. The terminal can obtain the display times of the first prompt message from the counter. The terminal can compare the obtained display times of the first prompt message with a display threshold value, and obtain a comparison result. The terminal can decide whether to display the second prompt message according to the comparison result. And when the obtained comparison result shows that the display times are greater than a preset display threshold value, the terminal can display the second prompt message. After the terminal displays the second prompt message, the working mode of the terminal can be switched to a low power consumption mode, and the low power consumption mode can reduce the power consumption of the terminal. After displaying the second prompt message, the terminal may send the message indicating that the data packet transmission channel is abnormal to the operator, so that the operator can locate the abnormal channel.
In this embodiment, the terminal displays the second prompt information by acquiring the display times of the first prompt information when the display times is greater than a preset display threshold, the second prompt information is used for prompting that the data packet transmission channel is abnormal, and the working mode of the terminal is switched to the low power consumption mode according to the second prompt information. When the target uplink transmitting power is not qualified for multiple times, the terminal prompts the abnormity of the data packet transmitting channel by displaying the second prompt information, and switches the working mode into the low-power-consumption model, so that the resources can be saved.
In one embodiment, as shown in fig. 4, in this embodiment, the terminal is a CM and the server is a CMTS, which provides a power adjustment method. As shown in fig. 4, the CMTS410 sends a downstream packet to the CM420 through a downstream transmission channel, the CMTS410 sends the downstream packet and information such as downstream transmission power, a power threshold value, and the like of the downstream packet to the optical fiber 413 through the combiner 412, the optical fiber 413 is connected to the bidirectional amplifier 440 through the coaxial cable 430, and the bidirectional amplifier 440 sends the first amplified data and information such as the downstream packet, the downstream transmission power, the power threshold value, and the like to the CM420 through the branch distributor 450. The CM420 transmits an upstream packet to the CMTS410 according to the adjusted upstream transmission power, the CM420 transmits the upstream packet and information such as the upstream transmission power to the bidirectional amplifier 440 through the splitter 450, the upstream transmission power is amplified by the bidirectional amplifier 440 and transmitted to the splitter 422 through the coaxial cable 430 and the optical fiber 423 together with the upstream packet, and the splitter 422 transmits the amplified and attenuated upstream reception power and the upstream packet to the CMTS 410.
It should be understood that, although the steps in the above-described flowcharts are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in each of the flowcharts described above may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a power adjusting apparatus including: a power acquisition module 510, a power attenuation calculation module 520, a threshold acquisition module 530, and a power adjustment module 540, wherein:
a power obtaining module 510, configured to, when the terminal receives a downlink data packet sent by the server, obtain downlink transmit power of the downlink data packet sent by the server and downlink receive power of the downlink data packet received by the terminal.
A power attenuation calculating module 520, configured to calculate a power attenuation of the downlink data packet during transmission according to the downlink transmit power and the downlink receive power.
A threshold obtaining module 530, configured to obtain a power threshold, where the power threshold is used to indicate a lowest value of uplink receiving power for the server to receive the uplink data packet.
And the power adjusting module 540 is configured to adjust the uplink transmission power of the uplink data packet sent by the terminal according to the power attenuation and the power threshold.
In an embodiment, the provided power adjustment apparatus may further include an amplified data obtaining module, configured to obtain first amplified data of a downlink data packet sent by a server, where the first amplified data is used to indicate power amplification of the downlink data packet in a transmission process; the power attenuation calculating module 520 is further configured to calculate a power attenuation of the downlink data packet during transmission according to the downlink transmitting power, the downlink receiving power, and the first amplified data.
In one embodiment, the amplified data obtaining module is further configured to obtain second amplified data, where the second amplified data is used to indicate power amplification of the uplink data packet during transmission; the power adjusting module 540 is further configured to adjust the uplink transmission power of the uplink data packet sent by the terminal according to the power attenuation, the power threshold and the second amplified data.
In one embodiment, the power adjustment module 540 is further configured to calculate a target uplink transmission power according to the power attenuation, the power threshold, and the second amplification data; and the control terminal sends the uplink data packet according to the target uplink transmitting power.
In an embodiment, the power adjustment apparatus provided may further include an information prompting module, where the information prompting module is configured to obtain a preset power interval; when the target uplink transmitting power exceeds the power interval, displaying first prompt information; the first prompt information is used for prompting that the target uplink transmission power is unqualified. The power obtaining module 510 is further configured to restart the terminal according to the first prompt information, and return to execute the step of obtaining the downlink transmit power of the downlink data packet sent by the server and the downlink receive power of the downlink data packet received by the terminal when the terminal receives the downlink data packet sent by the server.
In one embodiment, the information prompt module may be further configured to obtain a number of times the first prompt information is displayed; when the display times are larger than a preset display threshold value, displaying second prompt information; the second prompt message is used for prompting the abnormity of the data packet transmitting channel; and switching the working mode of the terminal into a low power consumption mode according to the second prompt message.
For specific limitations of the power adjusting apparatus, reference may be made to the above limitations of the power adjusting method, which is not described herein again. The various modules in the power regulating apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a power adjustment method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
when a terminal receives a downlink data packet sent by a server, acquiring downlink transmitting power of the downlink data packet sent by the server and downlink receiving power of the downlink data packet received by the terminal;
calculating the power attenuation of the downlink data packet in the transmission process according to the downlink transmitting power and the downlink receiving power;
acquiring a power threshold value, wherein the power threshold value is used for representing the lowest value of uplink receiving power of a server for receiving an uplink data packet;
and adjusting the uplink transmitting power of the uplink data packet sent by the terminal according to the power attenuation and the power threshold value.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring first amplification data of a downlink data packet sent by a server, wherein the first amplification data is used for representing power amplification of the downlink data packet in a transmission process; and calculating the power attenuation of the downlink data packet in the transmission process according to the downlink transmitting power, the downlink receiving power and the first amplification data.
In one embodiment, the processor when executing the computer program further performs the steps of: acquiring second amplification data corresponding to the first amplification data, wherein the second amplification data is used for representing power amplification of an uplink data packet in a transmission process; and adjusting the uplink transmitting power of the uplink data packet sent by the terminal according to the power attenuation, the power threshold value and the second amplification data.
In one embodiment, the processor, when executing the computer program, further performs the steps of: calculating target uplink transmitting power according to the power attenuation, the power threshold value and the second amplification data; and the control terminal sends the uplink data packet according to the target uplink transmitting power.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a preset power interval; when the target uplink transmitting power exceeds the power interval, displaying first prompt information; the first prompt information is used for prompting that the target uplink transmission power is unqualified; and restarting the terminal according to the first prompt message, and returning to execute the steps of acquiring the downlink transmitting power of the downlink data packet sent by the server and the downlink receiving power of the downlink data packet received by the terminal when the terminal receives the downlink data packet sent by the server.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring the display times of the first prompt message; when the display times are larger than a preset display threshold value, displaying second prompt information; the second prompt message is used for prompting the abnormity of the data packet transmitting channel; and switching the working mode of the terminal into a low power consumption mode according to the second prompt message.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
when a terminal receives a downlink data packet sent by a server, acquiring downlink transmitting power of the downlink data packet sent by the server and downlink receiving power of the downlink data packet received by the terminal;
calculating the power attenuation of the downlink data packet in the transmission process according to the downlink transmitting power and the downlink receiving power;
acquiring a power threshold value, wherein the power threshold value is used for representing the lowest value of uplink receiving power of a server for receiving an uplink data packet;
and adjusting the uplink transmitting power of the uplink data packet sent by the terminal according to the power attenuation and the power threshold value.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring first amplification data of a downlink data packet sent by a server, wherein the first amplification data is used for representing power amplification of the downlink data packet in a transmission process; and calculating the power attenuation of the downlink data packet in the transmission process according to the downlink transmitting power, the downlink receiving power and the first amplification data.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring second amplification data corresponding to the first amplification data, wherein the second amplification data is used for representing power amplification of an uplink data packet in a transmission process; and adjusting the uplink transmitting power of the uplink data packet sent by the terminal according to the power attenuation, the power threshold value and the second amplification data.
In one embodiment, the computer program when executed by the processor further performs the steps of: calculating target uplink transmitting power according to the power attenuation, the power threshold value and the second amplification data; and the control terminal sends the uplink data packet according to the target uplink transmitting power.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a preset power interval; when the target uplink transmitting power exceeds the power interval, displaying first prompt information; the first prompt information is used for prompting that the target uplink transmission power is unqualified; and restarting the terminal according to the first prompt message, and returning to execute the steps of acquiring the downlink transmitting power of the downlink data packet sent by the server and the downlink receiving power of the downlink data packet received by the terminal when the terminal receives the downlink data packet sent by the server.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring the display times of the first prompt message; when the display times are larger than a preset display threshold value, displaying second prompt information; the second prompt message is used for prompting the abnormity of the data packet transmitting channel; and switching the working mode of the terminal into a low power consumption mode according to the second prompt message.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A power adjustment method is applied to a terminal, and the method comprises the following steps:
when the terminal receives a downlink data packet sent by a server, acquiring downlink transmitting power of the downlink data packet sent by the server and downlink receiving power of the downlink data packet received by the terminal; the terminal comprises a cable modem, the server comprises head-end equipment of the cable modem, and the server is connected with the terminal through a cable network:
acquiring first amplification data of the downlink data packet sent by the server, wherein the first amplification data is used for representing power amplification of the downlink data packet in a transmission process; calculating the power attenuation of the downlink data packet in the transmission process according to the downlink transmitting power, the downlink receiving power and the first amplification data;
receiving a power threshold value sent by the server, wherein the power threshold value is used for representing the lowest value of uplink receiving power of the server for receiving uplink data packets;
acquiring second amplification data, wherein the second amplification data is used for representing power amplification of the uplink data packet in a transmission process; and adjusting the uplink transmitting power of the uplink data packet sent by the terminal according to the power attenuation, the power threshold value and the second amplification data.
2. The method of claim 1, further comprising:
when the server is received to send the downlink data packet, a transmitting channel occupied when the server sends the downlink data packet is marked, before the uplink data packet is sent to the server, the marked transmitting channel is searched, and the uplink data packet is sent to the server through the marked transmitting channel.
3. The method of claim 1, wherein the adjusting the uplink transmission power of the terminal for transmitting the uplink data packet according to the power attenuation, the power threshold and the second amplified data comprises:
calculating target uplink transmitting power according to the power attenuation, the power threshold value and the second amplification data;
and controlling the terminal to send the uplink data packet according to the target uplink transmitting power.
4. The method of claim 3, further comprising:
acquiring a preset power interval;
when the target uplink transmitting power exceeds the power interval, displaying first prompt information; the first prompt message is used for prompting that the target uplink transmission power is unqualified;
and restarting the terminal according to the first prompt message, and returning to execute the steps of obtaining the downlink transmitting power of the downlink data packet sent by the server and the downlink receiving power of the downlink data packet received by the terminal when the terminal receives the downlink data packet sent by the server.
5. The method of claim 4, wherein the presenting a first indication when the target uplink transmission power exceeds the power interval comprises:
comparing the target uplink transmitting power with the power interval to obtain a comparison result;
and when the comparison result shows that the target uplink transmitting power exceeds the power interval, displaying first prompt information.
6. The method of claim 4, further comprising:
acquiring the display times of the first prompt message;
when the display times are larger than a preset display threshold value, displaying second prompt information; the second prompt message is used for prompting the abnormity of the data packet transmitting channel;
and switching the working mode of the terminal into a low power consumption mode according to the second prompt message.
7. A power regulation apparatus, the apparatus comprising:
the power acquisition module is used for acquiring downlink transmitting power of a downlink data packet sent by a server and downlink receiving power of the downlink data packet received by the terminal when the terminal receives the downlink data packet sent by the server; the terminal comprises a cable modem, the server comprises head-end equipment of the cable modem, and the server is connected with the terminal through a cable network:
a power attenuation calculation module, configured to obtain first amplification data of the downlink data packet sent by the server, where the first amplification data is used to indicate power amplification of the downlink data packet in a transmission process; calculating power attenuation of the downlink data packet in a transmission process according to the downlink transmitting power, the downlink receiving power and the first amplification data;
a threshold value obtaining module, configured to receive a power threshold value sent by the server, where the power threshold value is used to indicate a lowest value of uplink receiving power for the server to receive an uplink data packet;
the power adjustment module is configured to obtain second amplification data, where the second amplification data is used to indicate power amplification of the uplink data packet in a transmission process; and adjusting the uplink transmitting power of the uplink data packet sent by the terminal according to the power attenuation, the power threshold value and the second amplification data.
8. The apparatus of claim 7, wherein the power adjustment module is further configured to:
calculating target uplink transmitting power according to the power attenuation, the power threshold value and the second amplification data; and controlling the terminal to send the uplink data packet according to the target uplink transmitting power.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201910321513.5A 2019-04-22 2019-04-22 Power adjustment method, device, computer equipment and storage medium Active CN110062452B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910321513.5A CN110062452B (en) 2019-04-22 2019-04-22 Power adjustment method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910321513.5A CN110062452B (en) 2019-04-22 2019-04-22 Power adjustment method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110062452A CN110062452A (en) 2019-07-26
CN110062452B true CN110062452B (en) 2022-09-06

Family

ID=67319969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910321513.5A Active CN110062452B (en) 2019-04-22 2019-04-22 Power adjustment method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110062452B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110337123B (en) * 2019-07-30 2022-05-10 中国信息通信研究院 Uplink power control method, system and test system
CN110572224B (en) * 2019-08-22 2022-03-15 三维通信股份有限公司 Method, device, system and readable storage medium for reducing base station receiving background noise
CN112788721B (en) * 2021-02-23 2022-07-29 湖南斯北图科技有限公司 Power control method for satellite Internet of things terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674642B (en) * 2009-09-29 2014-04-30 中兴通讯股份有限公司 Method and system for controlling transmitted power of multi-antenna terminal
JP5958336B2 (en) * 2012-12-28 2016-07-27 富士通株式会社 Transmission signal power control device and communication device
US8897829B2 (en) * 2013-02-01 2014-11-25 Nvidia Corporation Controlling transmit power in a wireless device
US9756577B2 (en) * 2013-08-29 2017-09-05 Airbus Ds Sas Method for defining parameter values for controlling the transmission power of a piece of user equipment
CN104754717B (en) * 2013-12-26 2019-02-05 华为技术有限公司 A kind of Poewr control method and user equipment
US11032780B2 (en) * 2015-09-03 2021-06-08 Qualcomm Incorporated Power control in wireless networks

Also Published As

Publication number Publication date
CN110062452A (en) 2019-07-26

Similar Documents

Publication Publication Date Title
CN110062452B (en) Power adjustment method, device, computer equipment and storage medium
EP3334127B1 (en) Message pushing method and apparatus thereof
CN110493020A (en) Broadcast message transmission method, device and system based on block chain technology
CN113672894B (en) Data processing method, device, equipment and storage medium for verification code request
CN113766528A (en) Positioning processing method, terminal and network side equipment
CN113810433B (en) File uploading method and device and computer equipment
CN115499438A (en) Task allocation method and device, electronic equipment and storage medium
CN111372240B (en) Picture uploading method and device, computer equipment and storage medium
CN112348462B (en) Process processing method, apparatus, computer device, and storage medium
CN114390657B (en) Power determination method, device, terminal and readable storage medium
US11265807B2 (en) Method for network sharing on a terminal, apparatus, air conditioner and storage medium
CN111813699A (en) Data routing test method and device based on intelligent electric meter and computer equipment
CN113873003B (en) Data transmission control method and system between storage end and communication end in Internet of things
CN112311935A (en) Abnormity detection method and device and electronic equipment
US20150172464A1 (en) Call processing method and device
CN111432304B (en) Earphone control method, earphone control device, electronic equipment, earphone control system and storage medium
CN112860388B (en) Regulation strategy updating method and related equipment
CN113840313A (en) Network mode control method and device of mobile terminal and computer equipment
CN112714020B (en) Method and device for determining validity of data, storage medium and electronic device
CN110704218A (en) Data processing method, data processing device, computer equipment and storage medium
CN112135292B (en) Signal acquisition method, signal acquisition device, electronic equipment and storage medium
CN115906144B (en) Data processing method, data processing device, electronic apparatus, and readable storage medium
CN111818625B (en) Power consumption control method and device, storage medium and electronic equipment
CN113589916B (en) Memory control method and device
CN110737562A (en) method and system for monitoring process and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant