CN113923762A - Power adjustment method, device, terminal equipment and storage medium - Google Patents

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

Info

Publication number
CN113923762A
CN113923762A CN202111211628.2A CN202111211628A CN113923762A CN 113923762 A CN113923762 A CN 113923762A CN 202111211628 A CN202111211628 A CN 202111211628A CN 113923762 A CN113923762 A CN 113923762A
Authority
CN
China
Prior art keywords
trend
hotspot
movement
equipment
information
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.)
Withdrawn
Application number
CN202111211628.2A
Other languages
Chinese (zh)
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.)
Xian Fibocom Wireless Software Inc
Original Assignee
Xian Fibocom Wireless Software Inc
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 Xian Fibocom Wireless Software Inc filed Critical Xian Fibocom Wireless Software Inc
Priority to CN202111211628.2A priority Critical patent/CN113923762A/en
Publication of CN113923762A publication Critical patent/CN113923762A/en
Priority to PCT/CN2022/094224 priority patent/WO2023065660A1/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/28TPC being performed according to specific parameters using user profile, e.g. mobile speed, priority or network state, e.g. standby, idle or non transmission
    • H04W52/283Power depending on the position of the mobile
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The embodiment of the application provides a power adjustment method, a device, a terminal device and a storage medium, wherein the power adjustment method comprises the following steps: under the condition that the terminal equipment is set to be a hotspot, acquiring first movement trend information reported by first equipment connected to the hotspot; acquiring second movement trend information of the terminal equipment; determining whether the terminal equipment and the first equipment are in a close trend or a far trend according to the first movement trend information and the second movement trend information; reducing the transmitting power of the hot spot under the condition that the terminal equipment and the first equipment are in a close trend; and in the case that the terminal equipment and the first equipment are in a far-away trend, increasing the transmitting power of the heating point. According to the embodiment of the application, the power consumption of the terminal equipment can be reduced under the condition that the network using experience of the first equipment is guaranteed.

Description

Power adjustment method, device, terminal equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a power adjustment method, apparatus, terminal device, and storage medium.
Background
WiFi is used as the bottom layer technology of the wireless local area network, has the advantages of mobility and low price, and is widely applied to the field of limited access and infinite extension. At present, WiFi has been widely used in terminal devices, for example, terminal devices such as notebook computers and mobile phones are equipped with WiFi functions. In some scenarios, the terminal device itself may connect to the internet through data, and simultaneously open a mobile hotspot mode to provide hotspot services for other devices. At present, after a terminal device opens a hotspot, the power consumption is often high.
Disclosure of Invention
The embodiment of the application provides a power adjustment method, a power adjustment device, a terminal device and a storage medium, which can reduce power consumption of the terminal device under the condition of ensuring network use experience of a first device.
A first aspect of an embodiment of the present application provides a power adjustment method, including:
under the condition that the terminal equipment is set to be a hotspot, acquiring first movement trend information reported by first equipment connected to the hotspot;
acquiring second movement trend information of the terminal equipment;
determining whether the terminal equipment and the first equipment are in a close trend or a far trend according to the first movement trend information and the second movement trend information;
reducing the transmission power of the hotspot under the condition that the terminal device and the first device are in the approaching trend; increasing the transmission power of the hotspot if the terminal device and the first device are in the distancing trend.
Optionally, the first movement trend information includes a first movement direction, a first position change trend and first movement acceleration information, and the second movement trend information includes a second movement direction, a second position change trend and second movement acceleration information;
the determining whether the terminal device and the first device are in a close trend or a far trend according to the first movement trend information and the second movement trend information includes:
determining a relative distance change trend between the terminal equipment and the first equipment according to the first moving direction, the first position change trend, the second moving direction and the second position change trend;
determining a relative acceleration change trend between the terminal equipment and the first equipment according to the first movement acceleration information and the second movement acceleration information;
determining that the terminal equipment and the first equipment are in a close trend under the condition that the relative distance change trend is a relative distance reduction trend and the relative acceleration change trend is a close acceleration trend or no acceleration trend;
and under the condition that the relative distance change trend is a relative distance increasing trend, and the relative acceleration change trend is a far acceleration trend or no acceleration trend, determining that the terminal equipment and the first equipment are in the far trend.
Optionally, the method further includes:
acquiring first scene information reported by the first equipment, and determining that the first equipment is in a common scene or an important scene according to the first scene information.
Optionally, when the first device is in a normal scenario, the reducing the transmission power of the hotspot includes:
reducing the transmission power of the hotspot by a first threshold;
in a case that the first device is in a normal scene, the increasing the transmission power of the hotspot includes:
increasing the transmit power of the hotspot by a second threshold.
Optionally, when the first device is in an important scenario, the reducing the transmission power of the hotspot includes:
reducing the transmit power of the hotspot by a third threshold, the third threshold being less than the first threshold;
in a case that the first device is in an important scene, the increasing the transmission power of the hotspot comprises:
increasing the transmit power of the hotspot by a fourth threshold, the fourth threshold being greater than the second threshold.
Optionally, the first moving acceleration information includes a current acceleration value of the first device; the reporting frequency of the first device is positively correlated with the absolute value of the current acceleration value of the first device.
Optionally, the method further includes:
under the condition that the terminal equipment is set as a hotspot, acquiring priority information reported by at least one piece of equipment connected to the hotspot;
and determining the device with the highest priority in the at least one device as the first device according to the priority information reported by the at least one device, and executing the step of acquiring the first mobile trend information reported by the first device connected to the hotspot.
A second aspect of an embodiment of the present application provides a power adjustment apparatus, including:
the first obtaining unit is used for obtaining first moving trend information reported by first equipment connected to a hotspot under the condition that the terminal equipment is set to the hotspot;
the second acquisition unit is used for acquiring second movement trend information of the terminal equipment;
a determining unit, configured to determine whether the terminal device and the first device are in a close trend or a far trend according to the first movement trend information and the second movement trend information;
a power adjusting unit, configured to reduce the transmission power of the hotspot when the terminal device and the first device are in the approaching trend;
and the power adjusting unit is further configured to increase the transmission power of the hotspot under the condition that the terminal device and the first device are in the away trend.
A third aspect of an embodiment of the present application provides a terminal device, including a processor and a memory, where the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the step instructions in the first aspect of the embodiment of the present application.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps as described in the first aspect of embodiments of the present application.
A fifth aspect of embodiments of the present application provides a computer program product, wherein the computer program product comprises a computer program operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
In the embodiment of the application, under the condition that the terminal equipment is set as a hotspot, first moving trend information reported by first equipment connected to the hotspot is acquired; acquiring second movement trend information of the terminal equipment; determining whether the terminal equipment and the first equipment are in a close trend or a far trend according to the first movement trend information and the second movement trend information; reducing the transmission power of the hotspot under the condition that the terminal device and the first device are in the approaching trend; increasing the transmission power of the hotspot if the terminal device and the first device are in the distancing trend. According to the power adjusting method, when the terminal device is set as the hotspot, whether the terminal device and the first device are in the approaching trend or the far trend is determined according to the first mobile trend information reported by the first device connected to the hotspot and the second mobile trend information of the terminal device, the transmitting power of the hotspot can be reduced under the condition of the approaching trend, the power consumption of the terminal device can be reduced under the condition of ensuring the network use experience of the first device, the transmitting power of the hotspot can be increased under the condition of the far trend, the transmitting power of the hotspot can be dynamically adjusted according to the motion trend between the terminal device and the first device, and therefore the network use experience of the first device is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a power adjustment method according to an embodiment of the present application;
fig. 2 is a schematic diagram of an acceleration direction of a terminal device relative to a first device and a direction in which the terminal device points to the first device according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another power adjustment method provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of another power adjustment method provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of a power adjustment apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The terminal device according to the embodiments of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), mobile terminals (mobile terminal), and so on. For convenience of description, the above-mentioned devices are collectively referred to as terminal devices.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a power adjustment method according to an embodiment of the present disclosure. As shown in fig. 1, the power adjustment method may include the following steps.
101, the terminal device acquires first movement trend information reported by a first device connected to a hotspot when the terminal device is set as the hotspot.
In the embodiment of the application, the terminal equipment can turn on a data switch or a WiFi switch and can be connected with the Internet through a data network or a WiFi network. The data switch and/or the WiFi switch may be turned on in the setting options of the terminal device, and a hotspot may also be turned on in the setting options of the terminal device, for example, the hotspot may be a WiFi hotspot. Specifically, after the terminal device starts the WiFi hotspot, other devices near the terminal device that turn on the WiFi switch may surf the internet with the WiFi hotspot started by the terminal device.
There may be one or more devices connected to the hotspot. The first device may be any of the devices connected to the hotspot. The first device may also be one that satisfies certain conditions. For example, the first device may be the one closest to the terminal device, may also be the best WiFi signal, may also be the worst WiFi signal, and may also be the highest priority.
The first movement tendency information may reflect a movement tendency of the first device, such as a movement direction of the first device, and the like. The direction of movement of the first device may be detected by a direction sensor in the first device. The orientation sensor may further comprise a hall effect sensor or a magneto-resistive effect sensor, or a combination of a hall effect sensor and a magneto-resistive effect sensor. The movement tendency of the first device may further include a movement speed and an acceleration of the first device, the movement speed of the first device may be measured by a direction sensor and an acceleration sensor in the first device, and the acceleration of the first device may be measured by an acceleration sensor in the first device. The movement trend of the first device may further include a location change trend of the first device, which may be measured by a positioning apparatus (e.g., a GPS module) of the first device. The first device can also be internally provided with sensors such as a three-axis gyroscope, a gravity sensor and the like to assist in measuring the first movement trend information.
The first movement tendency information may reflect a movement tendency of the first device in a certain direction.
And 102, the terminal equipment acquires second movement trend information of the terminal equipment.
In this embodiment of the application, the obtaining of the second movement tendency information by the terminal device is similar to the obtaining of the first movement tendency information by the first device, which may refer to the detailed description of step 101 above, and is not described herein again.
And 103, the terminal equipment determines whether the terminal equipment and the first equipment are in the approaching trend or the departing trend according to the first movement trend information and the second movement trend information.
In the embodiment of the application, whether the relative distance between the terminal device and the first device is larger or smaller can be judged according to the moving direction and the position change trend of the first moving trend information and the moving direction and the position change trend of the second moving trend information, so that whether the terminal device and the first device are in the approaching trend or the departing trend is determined. For example, if the relative distance between the terminal device and the first device becomes smaller, the terminal device and the first device are considered to be in a close trend; and if the relative distance between the terminal equipment and the first equipment becomes larger, the terminal equipment and the first equipment are considered to be in a distant trend.
In the embodiment of the application, the relative distance change trend and the relative acceleration change trend between the terminal device and the first device can be further judged according to the movement direction, the position change trend, the movement acceleration information and the movement direction, the position change trend and the movement acceleration information of the second movement trend information, and whether the terminal device and the first device are in the approaching trend or the departing trend is determined according to the relative distance change trend and the relative acceleration change trend between the terminal device and the first device.
Optionally, the first movement trend information includes a first movement direction, a first position change trend and first movement acceleration information, and the second movement trend information includes a second movement direction, a second position change trend and second movement acceleration information; step 103 may include the steps of:
(11) the terminal equipment determines a relative distance change trend between the terminal equipment and the first equipment according to the first moving direction, the first position change trend, the second moving direction and the second position change trend;
(12) the terminal equipment determines a relative acceleration change trend between the terminal equipment and the first equipment according to the first movement acceleration information and the second movement acceleration information;
(13) under the condition that the relative distance change trend is a relative distance reduction trend, and the relative acceleration change trend is a close acceleration trend or no acceleration trend, the terminal equipment determines that the terminal equipment and the first equipment are in a close trend;
(14) and under the condition that the relative distance change trend is a relative distance increasing trend, and the relative acceleration change trend is a far acceleration trend or no acceleration trend, the terminal equipment determines that the terminal equipment and the first equipment are in the far trend.
In the embodiment of the application, the terminal device and the first device can be judged to be in a close trend, a far trend or a relative static trend according to the first position change trend and the second position change trend. The first position trend includes being at a first position at a first time and being at a second position at a second time. The second position trend includes being in a third position at a first time and being in a fourth position at a second time. The relative distance between the first position and the third position is d1, and the relative distance between the second position and the fourth position is d 2.
In the case that the included angle between the first moving direction and the second moving direction is smaller than 90 degrees, if the absolute value of (d1-d2) is smaller than a fifth threshold, the terminal device and the first device are in a relative stationary trend; if the absolute value of (d1-d2) is greater than the fifth threshold and d1 > d2, then the terminal device is in a relatively close proximity trend with the first device; if the absolute value of (d1-d2) is greater than the fifth threshold, and d1 < d2, the terminal device is in a relative distancing trend from the first device. If the absolute value of (d1-d2) is equal to the fifth threshold, the terminal device and the first device may be considered to be in a relatively stationary trend, or the terminal device and the first device may be further determined to be in a relatively far trend or a relatively close trend according to the magnitudes of d1 and d 2. The method and the device can be flexibly set according to requirements.
In the case that the included angle between the first moving direction and the second moving direction is greater than 90 degrees, if the absolute value of (d1-d2) is less than a sixth threshold, the terminal device and the first device are in a relative stationary trend; if the absolute value of (d1-d2) is greater than the sixth threshold and d1 > d2, then the terminal device is in a relatively close proximity trend with the first device; if the absolute value of (d1-d2) is greater than the sixth threshold, and d1 < d2, then the terminal device is in a relative distancing trend from the first device. If the absolute value of (d1-d2) is equal to the sixth threshold, the terminal device and the first device may be considered to be in a relatively stationary trend, or the terminal device and the first device may be further determined to be in a relatively far trend or a relatively close trend according to the magnitudes of d1 and d 2. The method and the device can be flexibly set according to requirements. The subsequent situation of "equal to" can be flexibly set, and the embodiment of the application is not described again.
The fifth threshold and the sixth threshold may be preset and stored in a memory (e.g., a nonvolatile memory) of the terminal device. The fifth threshold is less than the sixth threshold. Because the positioning accuracy of a positioning device (such as a GPS module) of the terminal device is often poor, a certain error exists. The accuracy of the direction sensor is high, and under the condition that the included angle between the first moving direction and the second moving direction is smaller than 90 degrees, the terminal device and the first device can be considered to be in the same moving direction (for example, the same-direction movement), at this time, the change of the relative distance between the terminal device and the first device is relatively small, and the corresponding fifth threshold value is also relatively small. In a case that the included angle between the first moving direction and the second moving direction is greater than 90 degrees, the terminal device and the first device may be considered to be in opposite moving directions (for example, moving in opposite directions or moving in opposite directions), where the change of the relative distance between the terminal device and the first device is relatively large, and the corresponding sixth threshold is also large. According to the embodiment of the application, different threshold values can be set according to whether the included angle between the first moving direction and the second moving direction is smaller than 90 degrees or not to judge that the terminal equipment and the first equipment are relatively close to each other or relatively far away from each other, under the condition that the positioning accuracy of the positioning device is poor, the relative motion trend between the terminal equipment and the first equipment can be accurately judged, the terminal equipment and the first equipment are accurately close to each other or far away from each other according to the relative motion trend and the relative acceleration change trend between the terminal equipment and the first equipment, and therefore the emission power of the hot spot can be accurately adjusted.
Approaching the acceleration tendency means that the angle between the "direction of acceleration of the terminal device relative to the first device" and the "direction of pointing of the terminal device towards the first device" is smaller than a seventh threshold value. Away from the acceleration tendency, it means that an angle between the acceleration direction of the terminal device relative to the first device and the direction in which the terminal device points to the first device is greater than a seventh threshold. Wherein the seventh threshold is less than 90 degrees. The non-acceleration trend means that the acceleration direction of the terminal device relative to the first device is a zero vector.
The first movement acceleration information may include an acceleration vector a1 of the first device, and the second movement acceleration information may include an acceleration vector a2 of the terminal device. The acceleration direction of the terminal device with respect to the first device is a3, a3 is a2-a1 (subtraction of vectors). The direction in which the terminal device points at the first device is P3, and P3 is the vector direction in which the position P2 of the terminal device points at the position P1 of the first device. Referring to fig. 2 in detail, fig. 2 is a schematic view illustrating an acceleration direction of a terminal device relative to a first device and a direction of the terminal device pointing to the first device according to an embodiment of the present application. As shown in fig. 2, the direction of the dotted line a3 is the acceleration direction of the terminal device relative to the first device, and the direction of the solid line P3 is the direction in which the terminal device points to the first device.
And under the condition that the relative distance variation trend is a relative distance reduction trend and the relative acceleration variation trend is a approaching acceleration trend, the terminal equipment and the first equipment can be judged to approach from two dimensions, so that the terminal equipment and the first equipment are determined to be in an approaching trend. The accuracy of judging that the terminal device and the first device are in the approach trend can be improved.
And under the condition that the relative distance change trend is a relative distance increasing trend and the relative acceleration change trend is a far acceleration trend, the terminal equipment can be judged to be far away from the first equipment from both dimensions, and the terminal equipment determines that the terminal equipment and the first equipment are in the far trend. The accuracy of judging that the terminal device and the first device are in the away trend can be improved.
Optionally, after performing steps (11) and (12), the following steps may also be performed:
(15) determining that the terminal equipment and the first equipment are in a relatively static trend under the condition that the relative distance change trend is a relative distance reduction trend and the relative acceleration change trend is a far acceleration trend;
(16) and under the condition that the relative distance change trend is a relative distance increasing trend and the relative acceleration change trend is a close acceleration trend, determining that the terminal equipment and the first equipment are in a relatively static trend.
In the embodiment of the application, the relative distance variation trend is a relative distance reduction trend, the relative acceleration variation trend is a condition of being far away from an acceleration trend, or the relative distance variation trend is a relative distance increase trend, the relative acceleration variation trend is a condition of being close to the acceleration trend, it is determined from one dimension that the terminal device is close to the first device, and it is determined from another dimension that the terminal device is far away from the first device, so that the motion trend between the terminal device and the first device is not clear, it is determined that the terminal device and the first device are in a relative stationary trend, and the condition of misjudgment can be avoided.
104, the terminal equipment reduces the emission power of the hot spot under the condition that the terminal equipment and the first equipment are in a close trend; in the case where the terminal device is in a distant trend from the first device, the terminal device increases the transmission power of the hot spot.
According to the power adjusting method, when the terminal device is set as the hotspot, whether the terminal device and the first device are in the approaching trend or the far trend is determined according to the first mobile trend information reported by the first device connected to the hotspot and the second mobile trend information of the terminal device, the transmitting power of the hotspot can be reduced under the condition of the approaching trend, the power consumption of the terminal device can be reduced under the condition of ensuring the network use experience of the first device, the transmitting power of the hotspot can be increased under the condition of the far trend, the transmitting power of the hotspot can be dynamically adjusted according to the motion trend between the terminal device and the first device, and therefore the network use experience of the first device is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of another power adjustment method according to an embodiment of the present disclosure. As shown in fig. 3, the power adjustment method may include the following steps.
301, obtaining first scene information reported by a first device, and determining that the first device is in a common scene or an important scene according to the first scene information.
In this embodiment, the first context information may include a frequency of sending network requests by the first device and an application priority of an application currently used by the first device. If the frequency of sending the network request by the first device is greater than the eighth threshold or the application priority of the application program currently used by the first device is greater than the preset application priority, it may be determined that the first device is in an important scene; if the frequency of the network requests sent by the first device is less than the eighth threshold and the application priority of the application currently used by the first device is less than the preset application priority, it may be determined that the first device is in a normal scene.
Step 301 is executed before step 305, and step 301 may be executed before step 302, after step 302, or simultaneously with any one of the steps before step 305.
302, the terminal device obtains first movement trend information reported by a first device connected to the hotspot when the terminal device is set as the hotspot.
303, the terminal device obtains second movement tendency information of the terminal device.
And 304, the terminal device determines whether the terminal device and the first device are in the approaching trend or the departing trend according to the first movement trend information and the second movement trend information.
305, under the condition that the terminal equipment and the first equipment are in a close trend, the terminal equipment reduces the emission power of the hot spot; in the case where the terminal device is in a distant trend from the first device, the terminal device increases the transmission power of the hot spot.
Optionally, when the first device is in a common scene, the terminal device reduces the transmission power of the hotspot, which may specifically include the following steps:
and the terminal equipment reduces the transmitting power of the hot spot by a first threshold value.
In a case that the first device is in a common scene, the terminal device increases the transmission power of the hot spot, which may specifically include the following steps:
and the terminal equipment increases the transmitting power of the hot spot by a second threshold value.
Optionally, when the first device is in an important scene, the terminal device reduces the transmission power of the hotspot, which may specifically include the following steps:
the terminal equipment reduces the transmitting power of the hot spot by a third threshold value, wherein the third threshold value is smaller than the first threshold value;
in a case that the first device is in an important scene, the terminal device increases the transmission power of the hot spot, which may specifically include the following steps:
and the terminal equipment increases the transmitting power of the hot spot by a fourth threshold value, wherein the fourth threshold value is larger than the second threshold value.
The first threshold, the second threshold, the third threshold, and the fourth threshold may be preset and stored in a memory (e.g., a nonvolatile memory) of the terminal device.
Compared with a common scene, the first device can increase more transmitting power in an important scene when the transmitting power of a heating point needs to be increased; when the transmission power of the hot spot needs to be reduced, less transmission power is reduced, so that the network use experience of important scenes is improved.
Compared with an important scene, the first device can increase less transmitting power in a common scene when the transmitting power of a heating point needs to be increased; when the transmitting power of the hot spot needs to be reduced, more transmitting power can be reduced, so that the power consumption of the terminal equipment in a common scene is reduced, the power consumption of the hot spot is reduced, the power is saved, and the purpose of prolonging the endurance is achieved.
The specific implementation of steps 302 to 305 may refer to the specific implementation of steps 101 to 104, which is not described herein again.
Wherein the first movement acceleration information comprises a current acceleration value of the first device; the reporting frequency of the first device is positively correlated with the absolute value of the current acceleration value of the first device.
In the embodiment of the application, under the condition that the absolute value of the current acceleration value of the first device is large, the distance between the terminal device and the first device may be changed greatly, and the frequency of reporting the first movement trend information by the first device is increased, so that the frequency of adjusting the transmitting power of the hot spot is improved, the adjustment of the transmitting power of the dynamic frequency is realized, and the hot spot internet surfing experience of the first device is improved.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating another power adjustment method according to an embodiment of the present disclosure. As shown in fig. 4, the power adjustment method may include the following steps.
401, when the terminal device is set as a hotspot, the terminal device obtains priority information reported by at least one device connected to the hotspot.
402, the terminal device determines, according to the priority information reported by the at least one device, a device with the highest priority among the at least one device as a first device.
In this embodiment of the present application, all devices connected to a hotspot correspond to a priority, where the priority may be set in advance by a user, or may be determined according to parameters such as frequency of connection with the hotspot and cumulative connection duration, and generally speaking, the higher the frequency of connection is, the larger the cumulative connection duration is, the higher the priority is.
According to the embodiment of the application, the hotspot transmitting power is adjusted only by aiming at the equipment (the first equipment) with the highest priority, so that the hotspot internet surfing experience of the equipment with the highest priority is met.
403, the terminal device obtains first moving trend information reported by a first device connected to the hotspot when the terminal device is set as the hotspot.
And 404, the terminal device acquires second movement trend information of the terminal device.
And 405, the terminal device determines whether the terminal device and the first device are in the approaching trend or the departing trend according to the first movement trend information and the second movement trend information.
406, the terminal device reduces the transmission power of the hot spot when the terminal device and the first device are in a close trend; in the case where the terminal device is in a distant trend from the first device, the terminal device increases the transmission power of the hot spot.
The specific implementation of steps 403 to 406 may refer to the specific implementation of steps 101 to 104, which are not described herein again.
According to the embodiment of the application, the hotspot transmitting power of the hotspot can be dynamically adjusted according to the use scene of the connected hotspot equipment, the distance between the equipment and the distance change, the hotspot power consumption is reduced on the premise of providing a better hotspot rate, the power saving is realized, and the endurance is increased.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the terminal device includes hardware structures and/or software modules for performing the respective functions in order to implement the functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the terminal device may be divided into the functional units according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In accordance with the above, referring to fig. 5, fig. 5 is a schematic structural diagram of a power adjustment apparatus 500 provided in an embodiment of the present application, where the power adjustment apparatus 500 is applied to a terminal device, and the power adjustment apparatus 500 may include a first obtaining unit 501, a second obtaining unit 502, a determining unit 503, and a power adjusting unit 504, where:
a first obtaining unit 501, configured to obtain first movement trend information reported by a first device connected to a hotspot when a terminal device is set as the hotspot;
a second obtaining unit 502, configured to obtain second movement tendency information of the terminal device;
a determining unit 503, configured to determine whether the terminal device and the first device are in a close trend or a far trend according to the first movement trend information and the second movement trend information;
a power adjusting unit 504, configured to reduce the transmission power of the hotspot when the terminal device and the first device are in the approaching trend;
the power adjusting unit 504 is further configured to increase the transmission power of the hot spot when the terminal device and the first device are in the away trend.
Optionally, the first movement trend information includes a first movement direction, a first position change trend and first movement acceleration information, and the second movement trend information includes a second movement direction, a second position change trend and second movement acceleration information;
the determining unit 503 determines whether the terminal device and the first device are in a close trend or a far trend according to the first movement trend information and the second movement trend information, including: determining a relative distance change trend between the terminal equipment and the first equipment according to the first moving direction, the first position change trend, the second moving direction and the second position change trend; determining a relative acceleration change trend between the terminal equipment and the first equipment according to the first movement acceleration information and the second movement acceleration information; determining that the terminal equipment and the first equipment are in a close trend under the condition that the relative distance change trend is a relative distance reduction trend and the relative acceleration change trend is a close acceleration trend or no acceleration trend; and under the condition that the relative distance change trend is a relative distance increasing trend, and the relative acceleration change trend is a far acceleration trend or no acceleration trend, determining that the terminal equipment and the first equipment are in the far trend.
Optionally, the first obtaining unit 501 is further configured to obtain first scene information reported by the first device, and determine that the first device is in a normal scene or an important scene according to the first scene information.
Optionally, when the first device is in a normal scenario, the reducing the transmission power of the hot spot by the power adjusting unit 504 includes: reducing the transmission power of the hotspot by a first threshold;
in a case that the first device is in a normal scenario, the power adjusting unit 504 increases the transmission power of the hot spot, including: increasing the transmit power of the hotspot by a second threshold.
Optionally, when the first device is in an important scenario, the reducing the transmission power of the hot spot by the power adjusting unit 504 includes: reducing the transmit power of the hotspot by a third threshold, the third threshold being less than the first threshold;
in the case that the first device is in an important scenario, the power adjusting unit 504 increases the transmission power of the hot spot, including: increasing the transmit power of the hotspot by a fourth threshold, the fourth threshold being greater than the second threshold.
Optionally, the first moving acceleration information includes a current acceleration value of the first device; the reporting frequency of the first device is positively correlated with the absolute value of the current acceleration value of the first device.
Optionally, the first obtaining unit 501 is further configured to, when a terminal device is set as a hotspot, obtain priority information reported by at least one device connected to the hotspot;
the determining unit 503 is further configured to determine, according to the priority information reported by the at least one device, that a device with a highest priority in the at least one device is the first device;
the first obtaining unit 501 is further configured to obtain first movement trend information reported by a first device connected to the hotspot when it is determined that a device with a highest priority in the at least one device is the first device.
In this embodiment, the first obtaining unit 501 and the second obtaining unit 502 may be communication modules in a terminal device, and the determining unit 503 and the power adjusting unit 504 may be processors in the terminal device.
In the embodiment of the application, when the terminal device is set as the hotspot, whether the terminal device and the first device are in a close trend or a far trend is determined according to first movement trend information reported by the first device connected to the hotspot and second movement trend information of the terminal device, the transmitting power of the hotspot can be reduced under the condition of the close trend, the power consumption of the terminal device can be reduced under the condition of ensuring the network use experience of the first device, the transmitting power of the hotspot can be increased under the condition of the far trend, the transmitting power of the hotspot can be dynamically adjusted according to the movement trend between the terminal device and the first device, and therefore the network use experience of the first device is improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure, as shown in fig. 6, the terminal device 600 includes a processor 601 and a memory 602, and the processor 601 and the memory 602 may be connected to each other through a communication bus 603. The communication bus 603 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 603 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus. The memory 602 is used for storing a computer program comprising program instructions, and the processor 601 is configured for calling the program instructions, wherein the program comprises a program for executing part or all of the steps of the method shown in fig. 1-4.
The processor 601 may be a general purpose Central Processing Unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs according to the above schemes.
The Memory 602 may be a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
The terminal device 600 may also include a communication module 604, and the communication module 604 may include a wireless communication module. The wireless communication module may include a WiFi module.
In addition, the terminal device 600 may further include general components such as a communication interface, an antenna, and the like, which are not described in detail herein.
In the embodiment of the application, when the terminal device is set as the hotspot, whether the terminal device and the first device are in a close trend or a far trend is determined according to first movement trend information reported by the first device connected to the hotspot and second movement trend information of the terminal device, the transmitting power of the hotspot can be reduced under the condition of the close trend, the power consumption of the terminal device can be reduced under the condition of ensuring the network use experience of the first device, the transmitting power of the hotspot can be increased under the condition of the far trend, the transmitting power of the hotspot can be dynamically adjusted according to the movement trend between the terminal device and the first device, and therefore the network use experience of the first device is improved.
Embodiments of the present application also provide a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the power adjustment methods as described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated units, if implemented in the form of software program modules and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and the like.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash memory disks, read-only memory, random access memory, magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method of power adjustment, comprising:
under the condition that the terminal equipment is set to be a hotspot, acquiring first movement trend information reported by first equipment connected to the hotspot;
acquiring second movement trend information of the terminal equipment;
determining whether the terminal equipment and the first equipment are in a close trend or a far trend according to the first movement trend information and the second movement trend information;
reducing the transmission power of the hotspot under the condition that the terminal device and the first device are in the approaching trend; increasing the transmission power of the hotspot if the terminal device and the first device are in the distancing trend.
2. The method of claim 1, wherein the first movement trend information includes a first movement direction, a first position change trend, and first movement acceleration information, and the second movement trend information includes a second movement direction, a second position change trend, and second movement acceleration information;
the determining whether the terminal device and the first device are in a close trend or a far trend according to the first movement trend information and the second movement trend information includes:
determining a relative distance change trend between the terminal equipment and the first equipment according to the first moving direction, the first position change trend, the second moving direction and the second position change trend;
determining a relative acceleration change trend between the terminal equipment and the first equipment according to the first movement acceleration information and the second movement acceleration information;
determining that the terminal equipment and the first equipment are in a close trend under the condition that the relative distance change trend is a relative distance reduction trend and the relative acceleration change trend is a close acceleration trend or no acceleration trend;
and under the condition that the relative distance change trend is a relative distance increasing trend, and the relative acceleration change trend is a far acceleration trend or no acceleration trend, determining that the terminal equipment and the first equipment are in the far trend.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
acquiring first scene information reported by the first equipment, and determining that the first equipment is in a common scene or an important scene according to the first scene information.
4. The method of claim 3, wherein the reducing the transmission power of the hotspot in the case that the first device is in a normal scene comprises:
reducing the transmission power of the hotspot by a first threshold;
in a case that the first device is in a normal scene, the increasing the transmission power of the hotspot includes:
increasing the transmit power of the hotspot by a second threshold.
5. The method of claim 4, wherein the reducing the transmission power of the hotspot in the case that the first device is in a critical scenario comprises:
reducing the transmit power of the hotspot by a third threshold, the third threshold being less than the first threshold;
in a case that the first device is in an important scene, the increasing the transmission power of the hotspot comprises:
increasing the transmit power of the hotspot by a fourth threshold, the fourth threshold being greater than the second threshold.
6. The method of claim 2, wherein the first movement acceleration information comprises a current acceleration value of the first device; the reporting frequency of the first device is positively correlated with the absolute value of the current acceleration value of the first device.
7. The method according to any one of claims 1 to 6, further comprising:
under the condition that the terminal equipment is set as a hotspot, acquiring priority information reported by at least one piece of equipment connected to the hotspot;
and determining the device with the highest priority in the at least one device as the first device according to the priority information reported by the at least one device, and executing the step of acquiring the first mobile trend information reported by the first device connected to the hotspot.
8. A power regulation device, comprising:
the first obtaining unit is used for obtaining first moving trend information reported by first equipment connected to a hotspot under the condition that the terminal equipment is set to the hotspot;
the second acquisition unit is used for acquiring second movement trend information of the terminal equipment;
a determining unit, configured to determine whether the terminal device and the first device are in a close trend or a far trend according to the first movement trend information and the second movement trend information;
a power adjusting unit, configured to reduce the transmission power of the hotspot when the terminal device and the first device are in the approaching trend;
and the power adjusting unit is further configured to increase the transmission power of the hotspot under the condition that the terminal device and the first device are in the away trend.
9. A terminal device comprising a processor and a memory, the memory storing a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to carry out the method according to any one of claims 1 to 7.
CN202111211628.2A 2021-10-18 2021-10-18 Power adjustment method, device, terminal equipment and storage medium Withdrawn CN113923762A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111211628.2A CN113923762A (en) 2021-10-18 2021-10-18 Power adjustment method, device, terminal equipment and storage medium
PCT/CN2022/094224 WO2023065660A1 (en) 2021-10-18 2022-05-20 Power adjustment method and apparatus, terminal device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111211628.2A CN113923762A (en) 2021-10-18 2021-10-18 Power adjustment method, device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113923762A true CN113923762A (en) 2022-01-11

Family

ID=79241365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111211628.2A Withdrawn CN113923762A (en) 2021-10-18 2021-10-18 Power adjustment method, device, terminal equipment and storage medium

Country Status (2)

Country Link
CN (1) CN113923762A (en)
WO (1) WO2023065660A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615653A (en) * 2022-03-13 2022-06-10 苏州泰佰森电子科技有限公司 Satellite positioning information reporting method, terminal equipment and storage medium
WO2023065660A1 (en) * 2021-10-18 2023-04-27 西安广和通无线软件有限公司 Power adjustment method and apparatus, terminal device, and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501532A (en) * 2013-10-12 2014-01-08 惠州Tcl移动通信有限公司 Method and device for controlling mobile WIFI (wireless fidelity) hotspot transmitting power
CN107172702B (en) * 2017-05-17 2021-06-15 奇酷互联网络科技(深圳)有限公司 Mobile terminal and WiFi transmission power adjusting method and device thereof
KR20210017314A (en) * 2019-08-07 2021-02-17 삼성전자주식회사 Electronic device for providing mobile hotspot and operating method thereof
CN113923762A (en) * 2021-10-18 2022-01-11 西安广和通无线软件有限公司 Power adjustment method, device, terminal equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023065660A1 (en) * 2021-10-18 2023-04-27 西安广和通无线软件有限公司 Power adjustment method and apparatus, terminal device, and storage medium
CN114615653A (en) * 2022-03-13 2022-06-10 苏州泰佰森电子科技有限公司 Satellite positioning information reporting method, terminal equipment and storage medium

Also Published As

Publication number Publication date
WO2023065660A1 (en) 2023-04-27

Similar Documents

Publication Publication Date Title
CN110058828B (en) Application program display method and device, electronic equipment and storage medium
CN113923762A (en) Power adjustment method, device, terminal equipment and storage medium
CN109802716B (en) Antenna switching method and device
WO2020238659A1 (en) Beam tracking method and apparatus, computer storage medium, and terminal device
CN108093099B (en) Mobile terminal falling protection method and system and mobile terminal
CN108390734B (en) Network data transmission method and user terminal
CN109451002B (en) CDN node selection method and equipment
US9173086B2 (en) Method and apparatus for preventing screen off during automatic response system service in electronic device
US11115517B2 (en) Method and apparatus for preventing screen off during automatic response system service in electronic device
CN109639368A (en) Electromagnetic interference control method and relevant apparatus
EP3989612A1 (en) Bluetooth communication connection method and electronic device thereof
WO2017197798A1 (en) Wireless network access method, system, and device
US9829941B1 (en) Mobile device with backside capacitive sensor for thermal management of an exterior housing
CN110800277B (en) Call processing method and related product
CN108777735B (en) Display area adjusting method and related equipment
CN107566654B (en) Unlocking control method and related product
WO2015019894A1 (en) Electronic instrument
CN110896336B (en) Signal regulation and control method, device, equipment and storage medium
EP3139129B1 (en) Mobile device, control method, and non-transitory storage medium
CN108762996B (en) Touch detection method and device
CN113472397B (en) Antenna control method, antenna control device, storage medium and electronic equipment
CN106161951B (en) A kind of focusing method, device and mobile terminal
US20210344377A1 (en) Electronic device and method for supporting heterogeneous communication techniques sharing frequency band
EP4120749A1 (en) Electronic device for reducing power consumption related to distance measurement and operating method thereof
CN111309223B (en) Application function starting method and device, storage medium and mobile terminal

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220111