CN117580141A - Power negotiation method, device, system, medium, routing equipment and terminal - Google Patents

Power negotiation method, device, system, medium, routing equipment and terminal Download PDF

Info

Publication number
CN117580141A
CN117580141A CN202410052352.5A CN202410052352A CN117580141A CN 117580141 A CN117580141 A CN 117580141A CN 202410052352 A CN202410052352 A CN 202410052352A CN 117580141 A CN117580141 A CN 117580141A
Authority
CN
China
Prior art keywords
target
power
test
target terminal
negotiation
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.)
Granted
Application number
CN202410052352.5A
Other languages
Chinese (zh)
Other versions
CN117580141B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202410052352.5A priority Critical patent/CN117580141B/en
Priority claimed from CN202410052352.5A external-priority patent/CN117580141B/en
Publication of CN117580141A publication Critical patent/CN117580141A/en
Application granted granted Critical
Publication of CN117580141B publication Critical patent/CN117580141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

Abstract

The disclosure provides a power negotiation method, a device, a system, a medium, a routing device and a terminal, and relates to the technical field of communication. The routing equipment with the capability of supporting power negotiation obtains the target power for data transmission with the target terminal by determining that the target terminal associated with the routing equipment has the capability of supporting power negotiation and performing power negotiation with the target terminal. Therefore, the target power obtained through negotiation is more suitable for data transmission between the routing equipment and the target terminal, and further the data transmission power consumption can be reduced on the premise of ensuring the communication quality, so that the energy saving effect is realized by the routing equipment and the target terminal.

Description

Power negotiation method, device, system, medium, routing equipment and terminal
Technical Field
The disclosure relates to the field of communication technologies, and in particular, to a power negotiation method, a device, a system, a medium, a routing device and a terminal.
Background
In the related art, a router is generally required to continuously provide an access service and a data transmission forwarding service on line for a long time as a network access device in a user's home. And the total number of routers is huge worldwide, so energy saving of routers becomes extremely important.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a power negotiation method, apparatus, system, medium, routing device and terminal.
According to a first aspect of an embodiment of the present disclosure, there is provided a power negotiation method, the routing device having a capability to support power negotiation, the method comprising:
determining that a target terminal associated with the routing device has the capability to support power negotiation;
and carrying out power negotiation with the target terminal to obtain target power for carrying out data transmission with the target terminal.
Optionally, the target power includes a target downlink power for the routing device to send a data packet to the target terminal, and performs power negotiation with the target terminal to obtain a target power for data transmission with the target terminal, including:
transmitting a first test message to the target terminal by using target test downlink power;
when a first response message sent by the target terminal based on the first test message is received, reducing the target test downlink power to obtain the current test downlink power;
and taking the current test downlink power as the new target test downlink power, executing the step of sending a first test message to the target terminal by the target test downlink power, and determining the test downlink power of the last time of sending the first test message as the target downlink power until a first response message sent by the target terminal based on the first test message is not received.
Optionally, before sending the first test message to the target terminal with the target test downlink power, the method further includes:
determining a first target coding rate for transmitting a first test message to the target terminal;
and determining target test downlink power for transmitting a first test message to the target terminal for the first time according to the first target coding rate.
Optionally, determining a first target coding rate for sending a first test message to the target terminal includes:
sending a second test message to the target terminal at a first target test coding rate;
when a second response message sent by the target terminal based on the second test message is not received, the first target test coding rate is reduced, so that a first current test coding rate is obtained;
and taking the first current test coding rate as the new first target test coding rate, executing the step of sending a second test message to the target terminal at the first target test coding rate until the target terminal receives a second response message sent by the target terminal based on the second test message, wherein the second response message comprises target information for representing that the current sent test coding rate meets the requirement of downlink communication bandwidth, and determining the test coding rate of the current sent second test message as the first target coding rate.
Optionally, the target power includes a target uplink power for the target terminal to send a data packet to the routing device, and performs power negotiation with the target terminal to obtain a target power for data transmission with the target terminal, including:
when a third test message sent by the target terminal with the target test uplink power is received, a third response message is sent to the target terminal according to the third test message, so that the target terminal reduces the target test uplink power when receiving the third response message, and the current test uplink power is obtained; and taking the current uplink power as the new target uplink power, and executing the step of sending a third test message to the routing equipment by using the target uplink power until a third response message sent by the routing equipment based on the third test message is not received, and determining the uplink power of the last time of sending the third test message as the target uplink power;
and receiving first notification information sent by the target terminal, wherein the first notification information comprises the target uplink power.
Optionally, after determining the test downlink power of the last time the first test packet was sent as the target downlink power, the method further includes:
and sending second notification information to the target terminal, wherein the second notification information comprises the target downlink power.
Optionally, the method further comprises:
monitoring the downlink rate of a data message sent to the target terminal and a first buffer quantity of the data message to be sent to the target terminal;
and when the downlink rate does not meet the current downlink communication bandwidth requirement, or the first buffer quantity continuously increases within a preset duration, recovering the target downlink power to the maximum downlink power of the routing equipment.
Optionally, determining that the target terminal associated with the routing device has the capability to support power negotiation includes:
receiving an association request message sent by the target terminal, wherein the association request message comprises first identification information used for representing that the target terminal has the capability of supporting power negotiation;
and determining that the target terminal has the capability of supporting power negotiation according to the first identification information.
According to a second aspect of embodiments of the present disclosure, there is provided a power negotiation method applied to a target terminal, the target terminal having a capability of supporting power negotiation, the method comprising:
Determining that a routing device associated with the target terminal has the capability to support power negotiation;
and carrying out power negotiation with the routing equipment to obtain target power for carrying out data transmission with the routing equipment.
Optionally, the target power includes a target downlink power for the routing device to send a data packet to the target terminal, and performs power negotiation with the routing device to obtain a target power for data transmission with the routing device, including:
when a first test message sent by the routing equipment with target test downlink power is received, sending a first response message to the target terminal according to the first test message, so that the routing equipment reduces the target test downlink power when receiving the first response message to obtain current test downlink power, and taking the current test downlink power as new target test downlink power, and executing the step of sending the first test message to the target terminal with the target test downlink power until the first response message sent by the routing equipment based on the first test message is not received, and determining the test downlink power of the last first test message as target downlink power;
And receiving second notification information sent by the routing equipment, wherein the second notification information comprises the target downlink power.
Optionally, the target power includes a target uplink power for the target terminal to send a data packet to the routing device, and performs power negotiation with the routing device to obtain a target power for data transmission with the routing device, including:
transmitting a third test message to the target terminal by using the target test uplink power;
when receiving a third response message sent by the target terminal based on the third test message, reducing the target test uplink power to obtain the current test uplink power;
and taking the current uplink power as the new uplink power of the target test, executing the step of sending a third test message to the target terminal by the uplink power of the target test until a third response message sent by the target terminal based on the third test message is not received, and determining the uplink power of the last time of sending the third test message as the uplink power of the target.
Optionally, before sending the third test message to the target terminal with the target test uplink power, the method further includes:
Determining a second target coding rate for transmitting a third test message to the routing equipment;
and determining target test downlink power for transmitting a third test message to the routing equipment for the first time according to the second target coding rate.
Optionally, determining a second target coding rate for sending a third test packet to the routing device includes:
sending a fourth test message to the target terminal at a second target test coding rate;
when the fourth response message sent by the target terminal based on the fourth test message is not received, the second target test coding rate is reduced, so that a second current test coding rate is obtained;
taking the second current test coding rate as the new second target test coding rate, executing the step of sending a fourth test message to the target terminal at the second target test coding rate, and determining whether the test coding rate of the fourth test message sent by the target terminal at the present time meets the requirement of uplink communication bandwidth or not until a fourth response message sent by the target terminal based on the fourth test message is received;
and determining a test coding rate meeting the requirement of the uplink communication bandwidth as the second target coding rate.
Optionally, the method further comprises:
monitoring the uplink rate of the data message sent to the routing equipment and the second buffer quantity of the data message to be sent to the routing equipment;
and when the uplink rate does not meet the current uplink communication bandwidth requirement, or the second buffer quantity continuously increases within a preset duration, recovering the target uplink power to the maximum uplink power of the target terminal.
According to a third aspect of embodiments of the present disclosure, there is provided a power negotiation apparatus applied to a routing device having a capability to support power negotiation, the power negotiation apparatus comprising:
a first determination module configured to determine that a target terminal associated with the routing device has the capability to support power negotiation;
and the first negotiation module is configured to perform power negotiation with the target terminal to obtain target power for data transmission with the target terminal.
According to a fourth aspect of embodiments of the present disclosure, there is provided a power negotiation apparatus applied to a target terminal having a capability to support power negotiation, the power negotiation apparatus comprising:
a second determining module configured to determine that a routing device associated with the target terminal has a capability to support power negotiation;
And the second negotiation module is configured to perform power negotiation with the routing equipment to obtain target power for data transmission with the routing equipment.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a power negotiation system, including the power negotiation apparatus applied to a routing device of the third aspect of the embodiments of the present disclosure and the power negotiation apparatus applied to a target terminal of the fourth aspect of the embodiments of the present disclosure.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a computer storage medium having stored thereon a computer program which, when executed by a processing apparatus, implements the power negotiation method applied to a routing device of the first aspect of the embodiments of the present disclosure or the power negotiation method applied to a target terminal of the second aspect of the embodiments of the present disclosure.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a routing device, including:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to implement the power negotiation method applied to the routing device according to the first aspect of the embodiment of the present disclosure.
According to an eighth aspect of embodiments of the present disclosure, there is provided a terminal, comprising:
A storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to implement the power negotiation method applied to the target terminal according to the second aspect of the embodiment of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
in the present disclosure, a routing device having capability to support power negotiation obtains a target power for data transmission with a target terminal by determining that the target terminal associated with the routing device has capability to support power negotiation and performing power negotiation with the target terminal. Therefore, the target power obtained through negotiation is more suitable for data transmission between the routing equipment and the target terminal, and further the data transmission power consumption can be reduced on the premise of ensuring the communication quality, so that the energy saving effect is realized by the routing equipment and the target terminal.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram showing WiFi coverage of a routing device and a home terminal device according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a power negotiation method applied to a routing device according to an example embodiment.
Fig. 3 is a flowchart illustrating a power negotiation method applied to a target terminal according to an exemplary embodiment.
Fig. 4 is a flow chart illustrating a method of power negotiation according to an example embodiment.
Fig. 5 is a flow chart illustrating an uplink power negotiation method according to an example embodiment.
Fig. 6 is a flow chart illustrating a method of downlink power negotiation according to an example embodiment.
Fig. 7 is a block diagram illustrating a power negotiation apparatus applied to a routing device according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating a power negotiation apparatus applied to a target terminal according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
As a network access device in a user's home, a router is generally required to continuously provide an access service and a data transmission forwarding service on line for a long time.
WiFi (Wireless Fidelity ) is a common short-range wireless access technology, and has become a preferred connection technology for various home network devices, such as televisions, smart speakers, home cameras, and other home terminal devices, which are basically connected to a router through WiFi to realize network communication. The problem existing at present is that the transmitting power of the routing equipment and the terminal equipment is transmitted with preset power, and the larger the power is, the larger the coverage area of WiFi is. In order to make the coverage of WiFi far enough, the default power set in advance is generally the maximum transmitting power under the condition of meeting the radio frequency index under the condition of meeting the requirement of the regulations, so the default power is generally higher.
As shown in fig. 1, the dashed line labeled a represents the WiFi coverage of the television, the dashed line labeled B represents the WiFi coverage of the routing device, and the dashed line labeled C represents the WiFi coverage of the smart door lock. Taking the routing device and the television in fig. 1 as an example, the routing device and the television are close to each other, and the WiFi coverage of the television and the WiFi coverage of the routing device are far beyond the actual distance between the two. And the routing device and the television can send data with lower power so as to meet the communication requirement. In this scenario, the higher the transmit power, the more energy is consumed, and if data is transmitted at the default power, the more energy is wasted.
Referring to fig. 2, fig. 2 is a flowchart illustrating a power negotiation method applied to a routing device having a capability of supporting power negotiation, as shown in fig. 2, according to an exemplary embodiment, the power negotiation method including the following steps.
In step S201, it is determined that the target terminal associated with the routing device has the capability of supporting power negotiation;
in step S202, power negotiation is performed with the target terminal to obtain a target power for data transmission with the target terminal.
The routing device is illustratively a hardware device that connects two or more networks, acting as a gateway between the networks, a dedicated intelligent network device that can read the address in each packet and then decide how to transmit. The target terminal and the routing equipment can be in the same space, and further can be equipment which is not easy to move in the using process, for example, a television, an intelligent sound box, a home camera, an intelligent door lock and the like.
For example, when the routing device performs power negotiation with the target terminal, both the routing device and the target terminal have the capability of supporting power negotiation, and thus the target power can be obtained through a power negotiation flow. The target power may be a downlink power of the routing device sending the data message to the target terminal, or may be an uplink power of the target terminal sending the data message to the routing device, or may include a downlink power of the routing device sending the data message to the target terminal and an uplink power of the target terminal sending the data message to the routing device.
In the present disclosure, a routing device having capability to support power negotiation obtains a target power for data transmission with a target terminal by determining that the target terminal associated with the routing device has capability to support power negotiation and performing power negotiation with the target terminal. Therefore, the target power obtained through negotiation is more suitable for data transmission between the routing equipment and the target terminal, and further the data transmission power consumption can be reduced on the premise of ensuring the communication quality, so that the energy saving effect is realized by the routing equipment and the target terminal.
As an optional embodiment, the target power includes a target downlink power for the routing device to send a data packet to the target terminal, and performs power negotiation with the target terminal to obtain the target power for data transmission with the target terminal, including:
transmitting a first test message to a target terminal by using target test downlink power;
when a first response message sent by a target terminal based on a first test message is received, reducing the target test downlink power to obtain the current test downlink power;
and taking the current downlink power as new downlink power of the target test, and executing the step of transmitting a first test message to the target terminal by the downlink power of the target test until the target terminal does not receive a first response message transmitted by the target terminal based on the first test message, and determining the downlink power of the last time of transmitting the first test message as the downlink power of the target test.
The target test downlink power is illustratively the power used by the routing device to test the transmission of data messages to the target terminal. When the target terminal can receive a first test message sent by the routing equipment with the target test downlink power, the coverage area corresponding to the target test downlink power can cover the position of the target terminal, and a first response message sent to the routing equipment according to the first test message can be indicated. When the target terminal cannot receive the first test message sent by the routing equipment in the target test downlink power, the coverage corresponding to the target test downlink power cannot cover the position of the target terminal.
The target test downlink power may be a preset transmission power, for example, may be a maximum transmission power under the condition of meeting the radio frequency index under the condition of meeting the requirement of the regulations. When the target terminal can receive the first test message sent by the routing device with the target test downlink power, the target test downlink power can be gradually reduced, so as to determine whether the target terminal can receive the first test message sent according to the reduced target test downlink power.
Illustratively, the routing device sends the first test message to the target terminal. When the routing equipment receives the first response message, the possible target test downlink power is judged to be not the most suitable downlink power, the target test downlink power can be reduced to obtain the current test downlink power, and the first test message is sent to the target terminal again by the current test downlink power. The difference between the target downlink power and the preset power is the current downlink power, and the preset power is the power value reduced by the target downlink power in each step.
By way of example, the power of the routing device to send the first test message to the target terminal may be continuously reduced by reducing the test downlink power each time. The current downlink power is used as new downlink power for the target test, and the current downlink power is used for sending a first test message to the target terminal until a first response message sent by the target terminal based on the first test message is not received, at this time, the target terminal cannot receive the first test message, namely, the reduced downlink power of the routing equipment does not cover the position of the target terminal. Therefore, the test downlink power of the last time the first test message is sent without receiving the first response message can be determined as the target downlink power of the routing device. After determining the target downlink power, the routing device may send a data packet to the target terminal with the negotiated target downlink power.
The carriers of the test message and the response message of the power negotiation may be a custom data message or a custom action management message, for example.
It should be noted that, in order to ensure that the test message is not interfered by other factors in the channel, and ensure that the transmission environment is better, the situation that the opposite terminal can also receive the test message after sending the test message for multiple times under the condition of poor transmission environment is avoided, the sending of the test message does not adopt a wireless retransmission mechanism, i.e. one measurement message is sent only once, and if the opposite terminal does not receive the test message, the sending is considered to be failed.
According to the technical scheme, the target downlink power obtained through negotiation between the routing equipment and the target terminal can be used for data communication, and the target downlink power is obtained after the target test downlink power is reduced, so that the downlink power of the routing equipment for sending the data message to the target terminal is lower, and the energy-saving effect on the routing equipment can be realized.
As an optional embodiment, before sending the first test packet to the target terminal with the target test downlink power, the method further includes:
determining a first target coding rate for transmitting a first test message to a target terminal;
and determining the target test downlink power for transmitting the first test message to the target terminal for the first time according to the first target coding rate.
The coding rate is, for example, the proportion of the useful information part of the data stream after sampling, quantizing and coding the analog signal, and can characterize the quality of the transmitted data messages between the devices. The higher the coding rate, the higher the quality of the transmitted data message and the higher the transmission rate. Under the condition of higher transmission power, the quality of the data message possibly cannot meet the requirement, and the coding rate is generally in inverse relation with the power, so that the higher transmission power can correspond to the lower coding rate, and the lower transmission power can correspond to the higher coding rate.
For example, the power negotiation may be performed under the premise of ensuring the communication bandwidth requirement of the target terminal, and the requirements of different terminals on the communication bandwidth may be customized by the terminals in advance according to the terminal types. For example, a television may consider the bandwidth requirement of online video at maximum resolution as the communication bandwidth requirement of the television, while the smart door lock requires little if it is simply a data communication.
For example, the first target coding rate may be used to ensure that data may be communicated at a higher transmission rate under the corresponding channel environment. The bandwidth may determine the maximum transmission capacity of the network connection, i.e. the upper speed of the network connection. The coding rate is the speed in the actual transmission process and is limited by various factors such as bandwidth, transmission protocol, network congestion and the like. Therefore, the quality of signal transmission can be ensured by taking the target test downlink power corresponding to the first target coding rate as the initial test downlink power for power negotiation, and the most suitable transmitting power from the routing equipment to the target terminal can be further ensured under the communication bandwidth requirement of the target terminal.
As an alternative embodiment, determining a first target coding rate at which the routing device sends a first test packet to the target terminal includes:
Sending a second test message to the target terminal at the first target test coding rate;
when a second response message sent by the target terminal based on the second test message is not received, reducing the first target test coding rate to obtain a first current test coding rate;
and taking the first current test coding rate as a new first target test coding rate, executing the step of sending a second test message to the target terminal at the first target test coding rate until the target terminal receives a second response message sent by the target terminal based on the second test message, and determining the test coding rate of the second test message sent this time as the first target coding rate when the second response message comprises target information for representing that the current test coding rate meets the downlink communication bandwidth requirement.
For example, to ensure that data can be transferred at a higher transmission rate, i.e. that the amount of information carried by the data per transmission is greater, the first target test coding rate may be the maximum coding rate corresponding to the maximum transmission power that satisfies the radio frequency index condition under the condition of meeting the regulatory requirement. And sending a measurement message to the target terminal through the default power corresponding to the maximum coding rate, wherein the default power corresponding to the maximum coding rate is smaller, and the target terminal cannot analyze the data packet due to the fact that the distance is longer or the data packet is lost, misplaced and the like, and possibly fails to send, and does not respond to the second test message, namely does not send a second response message to the routing equipment. The routing device may send a measurement packet to the target terminal by reducing the test coding rate until the second response packet sent by the target terminal for the second test packet is received, determine the test coding rate as a first target coding rate, and determine, according to the first target coding rate, a target test downlink power for sending the first test packet to the target terminal for the first time.
Here, the target information includes first information for informing the routing device that the current test coding rate does not satisfy the downstream communication bandwidth requirement and second information for informing the routing device that the current test coding rate satisfies the downstream communication bandwidth requirement. When the target terminal judges whether the communication bandwidth under the current test coding rate meets the downlink communication bandwidth requirement, if not, the second response message sent by the target terminal to the routing device comprises first information informing the routing device that the current test coding rate does not meet the downlink communication bandwidth requirement, and the routing device can stop the subsequent downlink power negotiation process according to the first information in the second response message. If the target terminal judges that the communication bandwidth under the current test coding rate meets the downlink communication bandwidth requirement, the second response message sent by the target terminal to the routing device can comprise second information informing the routing device that the current test coding rate meets the downlink communication bandwidth requirement, and the routing device can continue the downlink power negotiation according to the second information in the second response message.
As an optional embodiment, the target power includes a target uplink power for the target terminal to send a data packet to the routing device, and performs power negotiation with the target terminal to obtain a target power for data transmission with the target terminal, including:
When a third test message sent by the target terminal with the target test uplink power is received, a third response message is sent to the target terminal according to the third test message, so that the target terminal reduces the target test uplink power when receiving the third response message, and the current test uplink power is obtained; and taking the current uplink power as new uplink power of the target test, and executing the step of sending a third test message to the routing equipment by the uplink power of the target test until the third response message sent by the routing equipment based on the third test message is not received, and determining the uplink power of the last time of sending the third test message as the uplink power of the target test;
and receiving first notification information sent by the target terminal, wherein the first notification information comprises target uplink power.
For example, after the routing device and the target terminal complete negotiation of the target downlink power of the data packet sent by the routing device to the target terminal, the target terminal may negotiate the target uplink power of the data packet sent by the target terminal to the routing device. The target uplink power may be a preset transmit power, for example, may be a maximum transmit power under the condition that the radio frequency index is satisfied under the condition that the rule requirement is satisfied. When the routing equipment negotiates uplink power with the target terminal, if the routing equipment can receive a third test message sent by the target terminal with the target test uplink power, the coverage area corresponding to the target test uplink power can be covered on the position of the routing equipment, and the routing equipment can send a third response message to the target terminal according to the third test message.
For example, when the routing device sends the third response message to the target terminal according to the third test message, the target terminal may reduce the target test uplink power and then continue to send the test uplink power to the routing device, so as to negotiate to obtain the most suitable transmitting power of the target terminal to the routing device. After determining the target uplink power, the target terminal may send first notification information to the routing device, where the first notification information includes the target uplink power, and when the target terminal sends the first notification information to the routing device, the target terminal may send the first notification information with the maximum uplink power of the target terminal, or may send the first notification information with the negotiated target uplink power. Thereafter, the target terminal may send the data packet to the routing device with the negotiated target uplink power.
According to the technical scheme, the target uplink power obtained through negotiation between the routing equipment and the target terminal can be used for data communication, and the target uplink power is obtained after the target test uplink power is reduced, so that the energy-saving effect on the target terminal can be achieved. In addition, for the terminal which is possibly powered by the battery and is like the intelligent door lock, through the technical scheme, the cruising ability of the battery can be improved under the scene that the intelligent door lock and the routing equipment are located in the same room and the like, and the user experience is improved.
As an optional embodiment, after determining the test downlink power of the last sending of the first test packet as the target downlink power, the method further includes:
and sending second notification information to the target terminal, wherein the second notification information comprises the target downlink power.
For example, after the target downlink power is determined, the routing device may send second notification information to the target terminal to notify the target terminal that the downlink power negotiation is completed, and synchronously notify the target terminal of the determined target downlink transmission power.
As an alternative embodiment, the method further comprises:
monitoring the downlink rate of a data message sent to a target terminal and a first buffer quantity of the data message to be sent to the target terminal;
and if the downlink rate does not meet the current downlink communication bandwidth requirement, or the first buffer quantity continuously increases within a preset duration, recovering the target downlink power to the maximum downlink power of the routing equipment.
After the target downlink power negotiation is successful, the routing device may continuously monitor the downlink rate of the data packet sent to the target terminal and the first buffer amount of the data packet to be sent to the target terminal, and once it is monitored that the downlink rate does not meet the current downlink communication bandwidth requirement and the first buffer amount continuously increases within a preset duration, consider that the environment changes, and cannot meet the downlink communication bandwidth requirement of the routing device, and at this time, the default maximum downlink power of the routing device may be immediately recovered to send the data packet to the target terminal. Here, the maximum downlink power of the routing device may be a default power corresponding to the current coding rate.
It should be noted that, after the downlink power is restored to the maximum downlink power of the routing device, the downlink power negotiation may be performed again to negotiate a new suitable target downlink power. In addition, in order to avoid the problem of frequent switching between the negotiated target power and the maximum downlink power of the routing device or the terminal caused by frequent environmental changes, a threshold value of the switching frequency can be set, and after the switching frequency exceeds the preset threshold value, the downlink power negotiation can be stopped, and the maximum downlink power of the routing device is used for sending the data message to the target terminal without changing any more.
As an alternative embodiment, determining that a target terminal associated with a routing device has the capability to support power negotiation includes:
receiving an association request message sent by a target terminal, wherein the association request message comprises first identification information used for representing that the target terminal has the capability of supporting power negotiation;
and determining that the target terminal has the capability of supporting power negotiation according to the first identification information.
The target terminal may be associated with the routing device, for example, prior to using the WiFi of the routing device. The routing device and the target terminal may announce to each other that the above-described power negotiation capability is supported during the association process. For example, the target terminal may add Vendor Specific IE (Vendor Specific Information Elements, vendor specific information element) to the association request message to identify that the target terminal has the capability to support power negotiation, and the routing device may add Vendor Specific IE to the association reply message to identify that the routing device also has the capability to support power negotiation. When the relative position of the routing equipment and the target terminal is fixed, the channel environment is stable, and the influence of environment fluctuation after the negotiation power is negotiated is less. Since the routing device placement locations are generally fixed, they may all have the ability to support power negotiations. The target terminal, such as a television, a camera, and other terminal devices, are also relatively fixed in location, and thus may also have the capability to support power negotiations.
For example, when receiving an association request message including first identification information sent by a target terminal, the routing device may further send an association response message including second identification information to the target terminal, where the second identification information is used to characterize that the routing device has a capability of supporting power negotiation.
Referring to fig. 3, fig. 3 is a flowchart illustrating a power negotiation method applied to a target terminal having a capability of supporting power negotiation, as shown in fig. 3, according to an exemplary embodiment, the power negotiation method including the following steps.
In step S301, it is determined that the routing device associated with the target terminal has the capability of supporting power negotiation;
in step S302, power negotiation is performed with the routing device, to obtain a target power for data transmission with the routing device.
The method and the device for power negotiation between the router and the target terminal obtain the target power for data transmission with the target terminal, wherein the router and the target terminal have the capability of supporting power negotiation. Therefore, the target power obtained through negotiation is more suitable for data transmission between the routing equipment and the target terminal, and further the data transmission power consumption can be reduced on the premise of ensuring the communication quality, so that the energy saving effect is realized by the routing equipment and the target terminal.
As an optional embodiment, the target power includes a target downlink power for the routing device to send the data packet to the target terminal, and performing power negotiation with the routing device to obtain the target power for data transmission with the routing device, including:
when a first test message sent by a routing device with a target test downlink power is received, sending a first response message to a target terminal according to the first test message, so that the routing device reduces the target test downlink power when receiving the first response message to obtain the current test downlink power, and taking the current test downlink power as a new target test downlink power, and executing the step of sending the first test message to the target terminal with the target test downlink power until the first response message sent by the routing device based on the first test message is not received, and determining the test downlink power of the last time for sending the first test message as the target downlink power;
and receiving second notification information sent by the routing equipment, wherein the second notification information comprises target downlink power.
For example, when the routing device negotiates the downlink power with the target terminal, if the target terminal can receive the first test message sent by the routing device with the target test downlink power, it indicates that the coverage area corresponding to the target test downlink power can be covered at the position of the target terminal, and the target terminal can send the first response message to the routing device according to the first test message.
For example, when the target terminal sends the first response message to the routing device according to the first test message, the routing device may reduce the target test downlink power and then continue to send the test downlink power to the target terminal, so as to negotiate the most suitable transmitting power of the routing device for the target terminal. When the routing device determines the appropriate target downlink power, the routing device may send second notification information to the target terminal, where the second notification information includes the target downlink power. The routing device may send the second notification information to the target terminal at the maximum downlink power of the routing device, or may send the second notification information at the negotiated target downlink power. Thereafter, the routing device may send the data packet to the target terminal with the negotiated target downlink power.
According to the technical scheme, the target downlink power obtained through negotiation between the routing equipment and the target terminal can be used for data communication, and the target downlink power is obtained after the target test downlink power is reduced, so that the energy-saving effect on the routing equipment can be achieved.
As an optional embodiment, the target power includes a target uplink power for the target terminal to send a data packet to the routing device, and performs power negotiation with the routing device to obtain the target power for data transmission with the routing device, including:
Sending a third test message to the target terminal by using the target test uplink power;
when a third response message sent by the target terminal based on the third test message is received, reducing the target test uplink power to obtain the current test uplink power;
and taking the current uplink power as new uplink power of the target test, and executing the step of sending a third test message to the target terminal by the uplink power of the target test until the third response message sent by the target terminal based on the third test message is not received, and determining the uplink power of the last time of sending the third test message as the uplink power of the target.
The target terminal and the routing device negotiate the target uplink power, and the target terminal can send a third test message to the routing device with the target test uplink power, when the routing device can receive the third test message sent by the target terminal with the target test uplink power, the coverage area corresponding to the target test uplink power indicates that the coverage area can cover the position of the routing device, and at the moment, the routing device can send a third response message to the target terminal according to the third test message. When the routing equipment cannot receive the third test message sent by the target terminal with the target test uplink power, the coverage corresponding to the target test uplink power cannot cover the position of the routing equipment.
The target test uplink power may be a preset transmission power, for example, may be a maximum transmission power under the condition that the radio frequency index is satisfied under the condition that the rule requirement is satisfied. When the target terminal receives the third response message, the target test uplink power can be reduced to obtain the current test uplink power. By reducing the test uplink power each time, the power of the target terminal for sending the third test message to the routing equipment can be continuously reduced. And taking the current uplink power as new target uplink power, and sending a third test message to the routing equipment by the current uplink power until a third response message sent by the routing equipment based on the third test message is not received, wherein the routing equipment cannot receive the third test message at the moment, namely the lowered uplink power of the target terminal is not covered at the position of the routing equipment. Therefore, the uplink power of the last time the third response message is not received and the third test message is sent can be determined as the uplink power of the target terminal for sending data to the routing equipment. After determining the target uplink power, the target terminal may send a data packet to the routing device with the negotiated target uplink power.
According to the technical scheme, the target uplink power obtained through negotiation between the routing equipment and the target terminal can be transmitted, and the target uplink power is obtained after the target test uplink power is reduced, so that the energy-saving effect on the target terminal can be achieved. In addition, for the terminal which is possibly powered by the battery and is like the intelligent door lock, through the technical scheme, the cruising ability of the battery can be improved under the scene that the intelligent door lock and the routing equipment are located in the same room and the like, and the user experience is improved.
As an alternative embodiment, determining that the routing device associated with the target terminal has the capability to support power negotiation includes:
sending an association request message to the routing equipment so that the routing equipment sends an association response message containing second identification information to the target terminal according to first identification information contained in the association request message, wherein the first identification information is used for representing that the target terminal has the capability of supporting power negotiation, and the second identification information is used for representing that the routing equipment has the capability of supporting power negotiation;
and receiving an association response message sent by the routing equipment, and determining that the routing equipment associated with the target terminal has the capability of supporting power negotiation according to the second identification information in the association response message.
As an optional embodiment, after determining the uplink power of the last time the third test packet was sent as the target uplink power, the method further includes:
and sending first notification information to the routing equipment, wherein the first notification information comprises the target uplink power.
For example, after the target terminal determines the target uplink power, first notification information may be sent to the routing device to notify the routing device that the uplink power negotiation is completed, and notify the routing device of the determined target uplink transmission power synchronously.
As an optional embodiment, before sending the third test packet to the target terminal with the target test uplink power, the method further includes:
determining a second target coding rate for transmitting a third test message to the routing equipment;
and determining the target test downlink power for transmitting the third test message to the routing equipment for the first time according to the second target coding rate.
For example, the second target coding rate may be used to ensure that the target terminal may communicate data to the routing device at a higher transmission rate under the corresponding channel environment. The power negotiation can also be conducted on the premise of guaranteeing the communication bandwidth requirement of the target terminal, and the requirements of different terminals on the communication bandwidth can be customized by the terminals in advance according to the terminal types.
As an alternative embodiment, determining the second target coding rate for sending the third test message to the routing device includes:
sending a fourth test message to the target terminal at the second target test coding rate;
when a fourth response message sent by the target terminal based on the fourth test message is not received, reducing the second target test coding rate to obtain a second current test coding rate;
taking the second current test coding rate as a new second target test coding rate, executing the step of sending a fourth test message to the target terminal at the second target test coding rate, and determining whether the test coding rate of the fourth test message sent at the present time meets the uplink communication bandwidth requirement or not until the fourth response message sent by the target terminal based on the fourth test message is received;
and determining the test coding rate meeting the requirement of the uplink communication bandwidth as a second target coding rate.
For example, after the routing device and the target terminal complete negotiation of the target downlink power of the data packet sent by the routing device to the target terminal, the target terminal may negotiate the target uplink power of the data packet sent by the target terminal to the routing device. Similarly, the target terminal and the routing device negotiate the target uplink power, and the target terminal can send a third test message to the routing device by using the target test uplink power, when the routing device can receive the third test message sent by the target terminal by using the target test uplink power, the coverage area corresponding to the target test uplink power indicates that the coverage area can cover the position of the routing device, and at the moment, the routing device can send a third response message to the target terminal according to the third test message. When the routing equipment cannot receive the third test message sent by the target terminal with the target test uplink power, the coverage corresponding to the target test uplink power cannot cover the position of the routing equipment.
For example, when the target terminal receives the third response message, the target test uplink power may be reduced to obtain the current test uplink power. By reducing the test uplink power each time, the power of the target terminal for sending the third test message to the routing equipment can be continuously reduced. And taking the current uplink power as new target uplink power, and sending a third test message to the routing equipment by the current uplink power until a third response message sent by the routing equipment based on the third test message is not received, wherein the routing equipment cannot receive the third test message at the moment, namely the lowered uplink power of the target terminal is not covered at the position of the target terminal. Therefore, the uplink power of the last time the third response message is not received and the third test message is sent can be determined as the target uplink power of the target terminal. After determining the target uplink power, the target terminal may send a data packet to the routing device with the negotiated target uplink power.
According to the technical scheme, the target uplink power obtained through negotiation between the routing equipment and the target terminal can be used for data communication, and the target uplink power is obtained after the target test uplink power is reduced, so that the energy-saving effect on the target terminal can be achieved. In addition, for the terminal which is possibly powered by the battery and is like the intelligent door lock, through the technical scheme, the cruising ability of the battery can be improved under the scene that the intelligent door lock and the routing equipment are located in the same room and the like, and the user experience is improved.
As an alternative embodiment, the method further comprises:
monitoring an uplink rate of the data message sent to the routing device and a second buffer amount of the data message to be sent to the routing device;
and when the uplink rate does not meet the current uplink communication bandwidth requirement, or the second buffer quantity continuously increases within a preset duration, recovering the target uplink power to the maximum uplink power of the target terminal.
After the target uplink power negotiation is successful, the target terminal may continuously monitor the uplink rate of the data packet sent to the target terminal and the second buffer amount of the data packet to be sent to the routing device, and once it is monitored that the uplink rate does not meet the current uplink communication bandwidth requirement and the second buffer amount continuously increases within a preset duration, consider that the environment changes and cannot meet the uplink communication bandwidth requirement of the target terminal, and at this time, the maximum uplink power of the target terminal may be immediately recovered to send the data packet to the routing device. The maximum uplink power of the target terminal is the default power corresponding to the current coding rate.
It should be noted that, after the uplink power is restored to the maximum uplink power of the target terminal, the uplink power negotiation method may be executed again to negotiate a new suitable target uplink power. In addition, in order to avoid the problem of frequent switching between the negotiated target power and the maximum uplink power of the terminal caused by frequent environmental changes, a threshold value of the switching frequency can be set, and after the switching frequency exceeds a preset threshold value, uplink power negotiation can be stopped, and the maximum uplink power is used for transmitting the data message to the routing equipment without changing any more.
It should be noted that the uplink power negotiation and the downlink power negotiation may be performed only one or both. The uplink power negotiation and the downlink power negotiation do not affect each other. The order of the uplink power negotiation and the downlink power negotiation is not limited, but in order to ensure that the WiFi of the routing device can be used by the target terminal, the uplink power negotiation may be performed first and then the downlink power negotiation may be performed.
Referring to fig. 4-6, a power negotiation method is illustrated in accordance with an exemplary embodiment that enables a routing device to negotiate an appropriate transmit power between a terminal and a routing device based on the terminal's data communication bandwidth requirements.
Here, an AP (Access Point) may represent a routing device, and an STA (Station, a terminal device in a communication system) may represent a target terminal. I.e., during association of the AP and STA, may announce itself to have the capability to support power negotiation. When the relative positions of the AP and the STA are fixed, the channel environment is stable, and the influence of environment fluctuation after the negotiation power is negotiated is small. Since the location where the routing device is placed is relatively fixed, it may be announced that there is a capability to support power negotiation. Terminal devices such as televisions, cameras, etc. are also relatively fixed in location and therefore may also be declared to have the capability to support power negotiations. For example, vendor Specific IE may be added to the association request message sent by the STA to the AP with the capability to support power negotiation, and Vendor Specific IE may be added to the association reply message sent by the AP to the STA with the capability to support power negotiation.
After the AP and STA announce each other that they have the capability to support power negotiation and complete association, the AP or STA may start to initiate downlink power negotiation or uplink power negotiation. Referring to fig. 4 and 5, the downlink power negotiation is to negotiate the appropriate transmit power of the AP, and is initiated by the AP end. The AP may send a measurement message to the STA with a default power a corresponding to the maximum coding rate a, and if the sending fails, that is, the AP may reduce the coding rate, and send the measurement message to the STA with a default power B corresponding to the reduced coding rate B until the STA receives the response message of the STA. If the response message of the STA can be received under the default power a corresponding to the maximum coding rate A, the subsequent downlink power negotiation process can be performed with the default power a corresponding to the maximum coding rate A. Here, the maximum coding rate a is greater than the coding rate B, and the default power a is smaller than the default power B. In addition, after receiving the measurement message sent by the AP, the STA can determine whether the communication bandwidth at the coding rate can meet the downlink communication bandwidth requirement, if not, the STA sends a measurement response message to the AP to inform that the communication bandwidth requirement is not met, and stops subsequent downlink power negotiation. Thereafter the AP transmits data to the STA at the maximum transmit power; if the communication bandwidth of the coding rate meets the requirement, the STA sends a measurement response message to the AP to inform the AP that the current coding rate meets the requirement of the downlink communication bandwidth.
Wherein each MCS index corresponds to a physical transmission rate under a set of parameters according to a difference in radio frequency rate configuration in the MCS (Modulation and Coding Scheme, modulation and coding strategy). For example, the maximum coding rate A may be a maximum transmission rate corresponding to MCS7, for example, may be 135.0Mb/s-150.0Mb/s, and the coding rate B may be between MCS0 and MCS6, for example, may be 13.5Mb/s-135.0Mb/s. The default power corresponding to the code rate a may be 9dbm and the default power corresponding to the code rate B may be 7dbm. The data of the code rate and the data of the default power are only examples and are not limiting of the present embodiment.
Taking the downlink power negotiation flow shown in fig. 5 as an example, after determining that the coding rate B meets the communication bandwidth requirement of the STA, the AP may step down the default power B corresponding to the coding rate B with the set power in turn, and send a measurement packet with the adjusted down test downlink power, where the measurement packet is coded with the fixed coding rate B. After receiving the measurement message, the STA sends a response message to answer the AP, when the test downlink power is adjusted to the H-th step, the AP first appears that the test downlink power corresponding to the H-th step cannot meet the downlink communication bandwidth requirement, and the test downlink power corresponding to the H-1 step can be determined as the negotiated target downlink power, wherein H is a positive integer greater than 1. After determining the target downlink power, the AP informs the STA of finishing the downlink power negotiation, and synchronously informs the STA of the determined target downlink power, and the STA completes the whole downlink power negotiation process after answering the AP.
Referring to fig. 4 and 6, uplink power negotiation is to negotiate the appropriate transmit power of the STA, initiated by the STA end. The STA end may send a measurement message to the AP with a default power M corresponding to the maximum coding rate M, if the sending fails, that is, the AP does not receive a response message, then the coding rate is reduced, and the measurement message is sent to the AP with a default power N corresponding to the reduced coding rate N until the response message of the AP is received, and if the response message of the AP can be received with a default power M corresponding to the maximum coding rate M, then the subsequent uplink power negotiation process may be performed with a default power M corresponding to the maximum coding rate M. Here, the maximum coding rate M is greater than the coding rate N, and the default power M is smaller than the default power N. In addition, after receiving the response message sent by the AP, the STA can evaluate whether the uplink coding rate successfully sent meets the uplink communication bandwidth requirement, if not, the STA stops uplink power negotiation, and transmits data to the AP with the maximum transmit power of the STA. If yes, continuing the uplink power negotiation with the default power corresponding to the coding rate.
The maximum coding rate M may be a maximum transmission rate corresponding to MCS7, for example, may be 65.0 to 72.2Mb/s, and the coding rate N may be between MCS0 and MCS6, for example, may be 6.5 to 65.0Mb/s, according to different radio frequency rate configurations in MCS. The default power M corresponding to the code rate M may be 21dbm, and the default power N corresponding to the code rate N may be 17dbm. The data of the code rate and the data of the default power are also merely examples, and are not limiting of the present embodiment.
Taking the uplink power negotiation flow chart shown in fig. 6 as an example, after determining that the coding rate N meets the communication bandwidth requirement of the STA, the STA can step down the default power N corresponding to the coding rate N with a set power in turn, send a measurement message to the AP with the adjusted down power, encode the measurement message with a fixed coding rate N, and send a response message to answer the STA after receiving the measurement message. When the STA does not receive the measurement response of the AP after the adjustment of the uplink power to the kth step, the uplink power corresponding to the kth step is considered to be unable to meet the uplink communication bandwidth requirement, and the uplink power corresponding to the kth-1 step may be determined as the negotiated target uplink power, where K is a positive integer greater than 1. After determining the target uplink power, the STA informs the AP of finishing uplink power negotiation, and synchronously informs the AP of the determined target uplink power.
After the uplink power negotiation is completed, the AP may send data to the STA with the negotiated target downlink power; after the downlink power negotiation is completed, the STA may send data to the AP with the negotiated target uplink power.
After the power negotiation is successful, the AP continuously monitors the downlink rate and the buffer quantity of the data message sent to the STA, and once the downlink rate is monitored and the downlink communication bandwidth requirement cannot be guaranteed and/or the data buffer quantity is continuously increased, the environment is considered to be changed to influence the downlink communication bandwidth guarantee of the STA, and the AP can immediately restore the corresponding default downlink power under the coding rate determined by the current AP to send data to the STA; similarly, the STA needs to continuously monitor the uplink rate and the buffer amount of the data packet sent to the AP, and once the uplink rate is monitored and the uplink communication bandwidth requirement cannot be guaranteed and/or the data buffer amount continuously increases, the STA can immediately resume the corresponding default uplink power at the coding rate determined by the current STA to send data to the AP.
After the uplink power or the downlink power is restored to the corresponding default power under the current coding rate, the uplink power or the downlink power can be negotiated again to negotiate a new proper power. In addition, in order to avoid the problem that the AP or STA frequently switches between the negotiated power and the default power due to frequent environmental changes, a threshold value of the switching frequency may be set, and when the switching frequency exceeds the set threshold value, the power negotiation process should be stopped and a fixed maximum power is used.
Referring to fig. 7, fig. 7 is a block diagram illustrating a power negotiation apparatus according to an example embodiment. As shown in fig. 7, the power negotiation apparatus is applied to a routing device having a capability of supporting power negotiation, and includes:
a first determining module 701 configured to determine that a target terminal associated with the routing device has the capability to support power negotiation;
the first negotiation module 702 is configured to perform power negotiation with the target terminal to obtain a target power for performing data transmission with the target terminal.
As an alternative embodiment, the target power includes a target downlink power for the routing device to send the data packet to the target terminal, and the first negotiation module 702 includes:
The first sending module is configured to send a first test message to the target terminal by using the target test downlink power;
the first reduction module is configured to reduce the target test downlink power to obtain the current test downlink power when receiving a first response message sent by the target terminal based on the first test message;
the first power determining module is configured to take the current downlink power as new downlink power of the target test, execute the step of sending a first test message to the target terminal with the downlink power of the target test, and determine the downlink power of the last test message sent by the target terminal based on the first test message as the downlink power of the target terminal when the first response message sent by the target terminal based on the first test message is not received.
As an alternative embodiment, the power negotiation apparatus includes:
the first coding rate determining module is configured to determine a first target coding rate for sending a first test message to the target terminal;
and the test downlink power determining module is configured to determine target test downlink power for transmitting a first test message to the target terminal for the first time according to the first target coding rate.
As an alternative embodiment, the first coding rate determination module is specifically further configured to:
Sending a second test message to the target terminal at the first target test coding rate;
when a second response message sent by the target terminal based on the second test message is not received, reducing the first target test coding rate to obtain a first current test coding rate;
and taking the first current test coding rate as a new first target test coding rate, executing the step of sending a second test message to the target terminal at the first target test coding rate until the target terminal receives a second response message sent by the target terminal based on the second test message, and determining the test coding rate of the second test message sent this time as the first target coding rate when the second response message comprises target information for representing that the current test coding rate meets the downlink communication bandwidth requirement.
As an alternative embodiment, the target power includes a target uplink power for the target terminal to send the data packet to the routing device, and the first negotiation module 702 includes:
the first response module is configured to send a third response message to the target terminal according to the third test message when receiving the third test message sent by the target terminal with the target test uplink power, so that the target terminal reduces the target test uplink power when receiving the third response message to obtain the current test uplink power; and taking the current uplink power as new uplink power of the target test, and executing the step of sending a third test message to the routing equipment by the uplink power of the target test until the third response message sent by the routing equipment based on the third test message is not received, and determining the uplink power of the last time of sending the third test message as the uplink power of the target test;
The first receiving module is configured to receive first notification information sent by the target terminal, wherein the first notification information comprises target uplink power.
As an alternative embodiment, the power negotiation apparatus is specifically further configured to:
and sending second notification information to the target terminal, wherein the second notification information comprises the target downlink power.
As an alternative embodiment, the power negotiation apparatus is specifically further configured to:
monitoring the downlink rate of a data message sent to a target terminal and a first buffer quantity of the data message to be sent to the target terminal;
and if the downlink rate does not meet the current downlink communication bandwidth requirement, or the first buffer quantity continuously increases within a preset duration, recovering the target downlink power to the maximum downlink power of the routing equipment.
As an alternative embodiment, the first determining module 701 is specifically further configured to:
receiving an association request message sent by a target terminal, wherein the association request message comprises first identification information used for representing that the target terminal has the capability of supporting power negotiation;
and determining that the target terminal has the capability of supporting power negotiation according to the first identification information.
The specific manner in which the respective modules perform the operations in the above-described embodiments of the power negotiation apparatus applied to the routing device has been described in detail in the embodiments of the power negotiation method applied to the routing device, and will not be described in detail herein.
Referring to fig. 8, fig. 8 is a block diagram illustrating a power negotiation apparatus according to an example embodiment. As shown in fig. 8, the power negotiation apparatus is applied to a target terminal having a capability of supporting power negotiation, including:
a second determining module 801 configured to determine that a routing device associated with the target terminal has a capability to support power negotiation;
a second negotiation module 802 configured to perform power negotiation with a routing device to obtain a target power for data transmission with the routing device.
As an alternative embodiment, the target power includes a target downlink power for the routing device to send the data packet to the target terminal, and the second negotiation module 802 includes:
the second response module is configured to send a first response message to the target terminal according to the first test message when receiving the first test message sent by the routing device with the target test downlink power, so that the routing device reduces the target test downlink power when receiving the first response message to obtain the current test downlink power, and takes the current test downlink power as the new target test downlink power, and performs the step of sending the first test message to the target terminal with the target test downlink power until the first response message sent by the routing device based on the first test message is not received, and determines the test downlink power of the last time of sending the first test message as the target downlink power;
The second receiving module is configured to receive second notification information sent by the routing device, where the second notification information includes the target downlink power.
As an optional embodiment, the target power includes a target uplink power for the target terminal to send a data packet to the routing device, and the second negotiation module 802 includes:
the second sending module is configured to send a third test message to the target terminal by using the target test uplink power;
the second reduction module is configured to reduce the target test uplink power to obtain the current test uplink power when receiving a third response message sent by the target terminal based on a third test message;
the second power determining module is configured to take the current uplink power as new uplink power of the target test, execute the step of sending a third test message to the target terminal by the uplink power of the target test until the third response message sent by the target terminal based on the third test message is not received, and determine the uplink power of the last test message as the uplink power of the target.
As an alternative embodiment, the power negotiation apparatus further comprises:
a second coding rate determining module configured to determine a second target coding rate for transmitting a third test message to the routing device;
And the test downlink power determining module is configured to determine target test downlink power for transmitting a third test message to the routing equipment for the first time according to the second target coding rate.
As an alternative embodiment, the second coding rate determination module is specifically further configured to:
sending a fourth test message to the target terminal at the second target test coding rate;
when a fourth response message sent by the target terminal based on the fourth test message is not received, reducing the second target test coding rate to obtain a second current test coding rate;
taking the second current test coding rate as a new second target test coding rate, executing the step of sending a fourth test message to the target terminal at the second target test coding rate, and determining whether the test coding rate of the fourth test message sent at the present time meets the uplink communication bandwidth requirement or not until the fourth response message sent by the target terminal based on the fourth test message is received;
and determining the test coding rate meeting the requirement of the uplink communication bandwidth as a second target coding rate.
As an alternative embodiment, the power negotiation apparatus is specifically further configured to:
monitoring an uplink rate of the data message sent to the routing device and a second buffer amount of the data message to be sent to the routing device;
And when the uplink rate does not meet the current uplink communication bandwidth requirement, or the second buffer quantity continuously increases within a preset duration, recovering the target uplink power to the maximum uplink power of the target terminal.
The specific manner in which the respective modules perform the operations in the above-described embodiments of the power negotiation apparatus applied to the target terminal has been described in detail in the embodiments of the power negotiation method applied to the target terminal, and will not be described in detail herein.
The disclosure also provides a power negotiation system, which comprises the power negotiation device applied to the routing equipment and the power negotiation device applied to the target terminal.
The present disclosure also provides a computer storage medium having stored thereon a computer program which, when executed by a processing apparatus, implements the power negotiation method provided by the present disclosure and applied to a routing device or the power negotiation method provided by the present disclosure and applied to a target terminal.
The present disclosure also provides a routing device, including:
a storage device having a computer program stored thereon;
processing means for executing the computer program in the storage means to implement the power negotiation method applied to the routing device provided by the present disclosure.
The present disclosure also provides a terminal, including:
a storage device having a computer program stored thereon;
and the processing device is used for executing the computer program in the storage device to realize the power negotiation method applied to the target terminal.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (20)

1. A power negotiation method applied to a routing device, the routing device having the capability to support power negotiation, the method comprising:
Determining that a target terminal associated with the routing device has the capability to support power negotiation;
and carrying out power negotiation with the target terminal to obtain target power for carrying out data transmission with the target terminal.
2. The method of claim 1, wherein the target power comprises a target downlink power for the routing device to send a data packet to the target terminal, performing power negotiation with the target terminal to obtain a target power for data transmission with the target terminal, and comprising:
transmitting a first test message to the target terminal by using target test downlink power;
when a first response message sent by the target terminal based on the first test message is received, reducing the target test downlink power to obtain the current test downlink power;
and taking the current test downlink power as the new target test downlink power, executing the step of sending a first test message to the target terminal by the target test downlink power, and determining the test downlink power of the last time of sending the first test message as the target downlink power until a first response message sent by the target terminal based on the first test message is not received.
3. The method of claim 2, wherein before sending the first test message to the target terminal at the target test downlink power, the method further comprises:
determining a first target coding rate for transmitting a first test message to the target terminal;
and determining target test downlink power for transmitting a first test message to the target terminal for the first time according to the first target coding rate.
4. A method according to claim 3, wherein determining a first target coding rate at which to send a first test message to the target terminal comprises:
sending a second test message to the target terminal at a first target test coding rate;
when a second response message sent by the target terminal based on the second test message is not received, the first target test coding rate is reduced, so that a first current test coding rate is obtained;
and taking the first current test coding rate as the new first target test coding rate, executing the step of sending a second test message to the target terminal at the first target test coding rate until the target terminal receives a second response message sent by the target terminal based on the second test message, wherein the second response message comprises target information for representing that the current sent test coding rate meets the requirement of downlink communication bandwidth, and determining the test coding rate of the current sent second test message as the first target coding rate.
5. The method according to claim 1, wherein the target power includes a target uplink power for the target terminal to send a data packet to the routing device, performing power negotiation with the target terminal to obtain a target power for data transmission with the target terminal, and comprising:
when a third test message sent by the target terminal with the target test uplink power is received, a third response message is sent to the target terminal according to the third test message, so that the target terminal reduces the target test uplink power when receiving the third response message, and the current test uplink power is obtained; and taking the current uplink power as the new target uplink power, and executing the step of sending a third test message to the routing equipment by using the target uplink power until a third response message sent by the routing equipment based on the third test message is not received, and determining the uplink power of the last time of sending the third test message as the target uplink power;
and receiving first notification information sent by the target terminal, wherein the first notification information comprises the target uplink power.
6. The method of claim 2, wherein after determining the test downlink power at which the first test message was last transmitted as the target downlink power, the method further comprises:
and sending second notification information to the target terminal, wherein the second notification information comprises the target downlink power.
7. The method according to any one of claims 2-4 and 6, further comprising:
monitoring the downlink rate of a data message sent to the target terminal and a first buffer quantity of the data message to be sent to the target terminal;
and when the downlink rate does not meet the current downlink communication bandwidth requirement, or the first buffer quantity continuously increases within a preset duration, recovering the target downlink power to the maximum downlink power of the routing equipment.
8. The method according to any of claims 1-6, wherein determining that a target terminal associated with the routing device has the capability to support power negotiation comprises:
receiving an association request message sent by the target terminal, wherein the association request message comprises first identification information used for representing that the target terminal has the capability of supporting power negotiation;
And determining that the target terminal has the capability of supporting power negotiation according to the first identification information.
9. A power negotiation method applied to a target terminal, the target terminal having the capability to support power negotiation, the method comprising:
determining that a routing device associated with the target terminal has the capability to support power negotiation;
and carrying out power negotiation with the routing equipment to obtain target power for carrying out data transmission with the routing equipment.
10. The method of claim 9, wherein the target power comprises a target downlink power for the routing device to send a data packet to the target terminal, performing power negotiation with the routing device to obtain a target power for data transmission with the routing device, comprising:
when a first test message sent by the routing equipment with target test downlink power is received, sending a first response message to the target terminal according to the first test message, so that the routing equipment reduces the target test downlink power when receiving the first response message to obtain current test downlink power, and taking the current test downlink power as new target test downlink power, and executing the step of sending the first test message to the target terminal with the target test downlink power until the first response message sent by the routing equipment based on the first test message is not received, and determining the test downlink power of the last first test message as target downlink power;
And receiving second notification information sent by the routing equipment, wherein the second notification information comprises the target downlink power.
11. The method of claim 9, wherein the target power includes a target uplink power for the target terminal to send a data packet to the routing device, performing power negotiation with the routing device to obtain a target power for data transmission with the routing device, and comprising:
transmitting a third test message to the target terminal by using the target test uplink power;
when receiving a third response message sent by the target terminal based on the third test message, reducing the target test uplink power to obtain the current test uplink power;
and taking the current uplink power as the new uplink power of the target test, executing the step of sending a third test message to the target terminal by the uplink power of the target test until a third response message sent by the target terminal based on the third test message is not received, and determining the uplink power of the last time of sending the third test message as the uplink power of the target.
12. The method of claim 11, wherein before sending the third test message to the target terminal at the target test uplink power, the method further comprises:
Determining a second target coding rate for transmitting a third test message to the routing equipment;
and determining target test downlink power for transmitting a third test message to the routing equipment for the first time according to the second target coding rate.
13. The method of claim 12, wherein determining a second target encoding rate for sending a third test message to the routing device comprises:
sending a fourth test message to the target terminal at a second target test coding rate;
when the fourth response message sent by the target terminal based on the fourth test message is not received, the second target test coding rate is reduced, so that a second current test coding rate is obtained;
taking the second current test coding rate as the new second target test coding rate, executing the step of sending a fourth test message to the target terminal at the second target test coding rate, and determining whether the test coding rate of the fourth test message sent by the target terminal at the present time meets the requirement of uplink communication bandwidth or not until a fourth response message sent by the target terminal based on the fourth test message is received;
and determining a test coding rate meeting the requirement of the uplink communication bandwidth as the second target coding rate.
14. The method according to any one of claims 11-13, wherein the method further comprises:
monitoring the uplink rate of the data message sent to the routing equipment and the second buffer quantity of the data message to be sent to the routing equipment;
and when the uplink rate does not meet the current uplink communication bandwidth requirement, or the second buffer quantity continuously increases within a preset duration, recovering the target uplink power to the maximum uplink power of the target terminal.
15. A power negotiation apparatus for use with a routing device, the routing device having the capability to support power negotiation, the power negotiation apparatus comprising:
a first determination module configured to determine that a target terminal associated with the routing device has the capability to support power negotiation;
and the first negotiation module is configured to perform power negotiation with the target terminal to obtain target power for data transmission with the target terminal.
16. A power negotiation apparatus for use with a target terminal, the target terminal having capabilities to support power negotiation, the power negotiation apparatus comprising:
a second determining module configured to determine that a routing device associated with the target terminal has a capability to support power negotiation;
And the second negotiation module is configured to perform power negotiation with the routing equipment to obtain target power for data transmission with the routing equipment.
17. A power negotiation system comprising power negotiation means for a routing device according to claim 15 and power negotiation means for a target terminal according to claim 16.
18. A computer storage medium having stored thereon a computer program, characterized in that the program, when executed by a processing means, implements the power negotiation method of any of claims 1-14.
19. A routing device, comprising:
a storage device having a computer program stored thereon;
processing means for executing said computer program in said storage means to implement the power negotiation method of any of claims 1-8.
20. A terminal, comprising:
a storage device having a computer program stored thereon;
processing means for executing said computer program in said storage means to implement the power negotiation method of any of claims 9-14.
CN202410052352.5A 2024-01-12 Power negotiation method, device, system, medium, routing equipment and terminal Active CN117580141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410052352.5A CN117580141B (en) 2024-01-12 Power negotiation method, device, system, medium, routing equipment and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410052352.5A CN117580141B (en) 2024-01-12 Power negotiation method, device, system, medium, routing equipment and terminal

Publications (2)

Publication Number Publication Date
CN117580141A true CN117580141A (en) 2024-02-20
CN117580141B CN117580141B (en) 2024-04-16

Family

ID=

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6697343B1 (en) * 1999-08-26 2004-02-24 Lucent Technologies Inc. Method and apparatus for controlling power for variable-rate vocoded communications
US20050058151A1 (en) * 2003-06-30 2005-03-17 Chihsiang Yeh Method of interference management for interference/collision avoidance and spatial reuse enhancement
KR20070020039A (en) * 2006-11-20 2007-02-16 미쓰비시덴키 가부시키가이샤 Retransmission control method and communication device
US20110292921A1 (en) * 2010-05-26 2011-12-01 WireFi Networks Multi-Communications-Media Network Device
CN102422682A (en) * 2009-05-08 2012-04-18 高通股份有限公司 Throttling transmit power in a wwan device based upon thermal input
CN105392162A (en) * 2015-10-28 2016-03-09 广东欧珀移动通信有限公司 Method and device of WiFi power dynamic adjustment and mobile terminal
CN108809475A (en) * 2017-04-27 2018-11-13 华为技术有限公司 A kind of messaging parameter determines method and apparatus
WO2020103056A1 (en) * 2018-11-21 2020-05-28 Oppo广东移动通信有限公司 Power density adjusting method, device and storage medium
WO2022226257A1 (en) * 2021-04-22 2022-10-27 Texas Instruments Incorporated Dynamic power negotiation outside enhanced beacon exchange in a wireless network via acknowledgment frames
CN116347574A (en) * 2023-04-04 2023-06-27 普联技术有限公司 Temperature regulation method, device, network equipment and readable storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6697343B1 (en) * 1999-08-26 2004-02-24 Lucent Technologies Inc. Method and apparatus for controlling power for variable-rate vocoded communications
US20050058151A1 (en) * 2003-06-30 2005-03-17 Chihsiang Yeh Method of interference management for interference/collision avoidance and spatial reuse enhancement
KR20070020039A (en) * 2006-11-20 2007-02-16 미쓰비시덴키 가부시키가이샤 Retransmission control method and communication device
CN102422682A (en) * 2009-05-08 2012-04-18 高通股份有限公司 Throttling transmit power in a wwan device based upon thermal input
US20110292921A1 (en) * 2010-05-26 2011-12-01 WireFi Networks Multi-Communications-Media Network Device
CN105392162A (en) * 2015-10-28 2016-03-09 广东欧珀移动通信有限公司 Method and device of WiFi power dynamic adjustment and mobile terminal
CN108809475A (en) * 2017-04-27 2018-11-13 华为技术有限公司 A kind of messaging parameter determines method and apparatus
WO2020103056A1 (en) * 2018-11-21 2020-05-28 Oppo广东移动通信有限公司 Power density adjusting method, device and storage medium
CN112470530A (en) * 2018-11-21 2021-03-09 Oppo广东移动通信有限公司 Method and device for adjusting power density and storage medium
WO2022226257A1 (en) * 2021-04-22 2022-10-27 Texas Instruments Incorporated Dynamic power negotiation outside enhanced beacon exchange in a wireless network via acknowledgment frames
CN116347574A (en) * 2023-04-04 2023-06-27 普联技术有限公司 Temperature regulation method, device, network equipment and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
林丛;向勇: "支持功率和速率控制的自组网MAC协议研究", 计算机应用, no. 08, 1 August 2008 (2008-08-01) *

Similar Documents

Publication Publication Date Title
RU2402170C2 (en) Method for transfer/reception of data channel control information for improved transfer of upperlink data
RU2256299C2 (en) Method and device for supporting radio communication acknowledgement information for unidirectional user data transfer channel
KR100933399B1 (en) Method and apparatus for receiving system information transmitted by base station in mobile communication system
JP5677307B2 (en) Data rate adaptation method for multicast communication
CN110574479B (en) Random access message sending method, device and storage medium
US20100020733A1 (en) Synchronous messaging for mobile station
US10085156B2 (en) Selective robust header compression (RoHC) for a VoIP call in a cellular communications network
JPH11163946A (en) Gateway device, radio base station facilities, router device and radio terminal
AU2007229340B2 (en) Radio communication system
KR20070086060A (en) Multicast communication system with power control
US8045465B2 (en) Wireless mobile terminal and telecommunication system
KR101216072B1 (en) Method of supporting inter-frequency measurement in mobile communications system
WO2018144928A1 (en) Radio condition triggering of bitrate request for codec rate adaptation
US6804253B2 (en) Method for determining mobile station coding scheme adaptation capability
CN117580141B (en) Power negotiation method, device, system, medium, routing equipment and terminal
CN117580141A (en) Power negotiation method, device, system, medium, routing equipment and terminal
KR100735692B1 (en) Code modulation method for using adaptive modulation and acknowledge
CN104052569B (en) Method and device for switching MCS
CN112911693B (en) Message processing method and device
KR101970194B1 (en) Method and Apparatus for transmitting Multicast Data by Using AP Information
EP2157807A1 (en) Method of network controller reporting on the cycle period ability of the maximal discontinuous transmission in a cell
US8190208B2 (en) Base station
CN111757276B (en) Voice format notification method and device
JP2018074394A (en) Wireless base station device, wireless communication system, wireless communication control method, and program
JPH11275143A (en) Radio data communications method and equipment therefor

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