CN111148204A - Transmission power adjusting method, device, computer equipment and storage medium - Google Patents
Transmission power adjusting method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN111148204A CN111148204A CN202010096569.8A CN202010096569A CN111148204A CN 111148204 A CN111148204 A CN 111148204A CN 202010096569 A CN202010096569 A CN 202010096569A CN 111148204 A CN111148204 A CN 111148204A
- Authority
- CN
- China
- Prior art keywords
- use state
- terminal
- state
- transmission power
- power parameter
- 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.)
- Pending
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 50
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000001514 detection method Methods 0.000 claims description 78
- 238000004590 computer program Methods 0.000 claims description 23
- 238000013507 mapping Methods 0.000 claims description 10
- 230000005855 radiation Effects 0.000 abstract description 14
- 230000036541 health Effects 0.000 abstract description 5
- 230000003044 adaptive effect Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 10
- 238000004364 calculation method Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/06—TPC algorithms
- H04W52/14—Separate analysis of uplink or downlink
- H04W52/146—Uplink power control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/18—TPC being performed according to specific parameters
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a method and a device for adjusting transmission power, computer equipment and a storage medium. The method is applied to a terminal, wherein the terminal comprises a wireless module, and the method comprises the following steps: acquiring the use state of a terminal; determining a transmitting power parameter corresponding to the use state according to the use state and a preset use state-transmitting power parameter corresponding relation; and setting the transmitting power of the wireless module according to the transmitting power parameter corresponding to the using state. According to the technical scheme, the transmitting power of the wireless module of the terminal is set in a self-adaptive mode according to the using state of the terminal, so that the transmitting power of the wireless module of the terminal is adaptive to the using state of the terminal, the radiation of the wireless module of the terminal to a user is always in a normal radiation range, and the influence of the radiation of the wireless module on the health of the user is reduced.
Description
Technical Field
The present invention relates to the technical field of wireless module parameter adjustment, and in particular, to a method and an apparatus for adjusting transmit power, a computer device, and a storage medium.
Background
In the prior art, a terminal, such as a notebook computer, has a wireless module with a transmitting power only having a set of transmitting power parameters customized by a user, and the wireless module can be turned on or off only when the terminal is used. The notebook computer has a plurality of using states, for example, the notebook computer is used by swinging on a desktop, and is used by holding like a tablet computer. In different use states, the distance between the notebook computer and the user is different.
However, the conventional wireless module only has a set of user-customized transmission power parameters, which cannot satisfy power control in all use states, and radiation of the notebook computer exceeds standard in some scenes of short-distance use, thereby affecting the health of users.
Disclosure of Invention
The embodiment of the invention provides a method and a device for adjusting transmission power, computer equipment and a storage medium, and aims to solve the problems that a wireless module of an existing terminal only has a group of transmission power parameters customized by a user, cannot meet power control in all use states, and radiation exceeds the standard in some scenes in short-distance use.
In a first aspect, an embodiment of the present invention provides a method for adjusting transmit power, where the method is applied in a terminal, where the terminal includes a radio module, and the method includes:
acquiring the use state of a terminal;
determining a transmitting power parameter corresponding to the use state according to the use state and a preset use state-transmitting power parameter corresponding relation;
and setting the transmitting power of the wireless module according to the transmitting power parameter corresponding to the using state.
In a second aspect, an embodiment of the present invention further provides a transmission power adjustment apparatus, where the transmission power adjustment apparatus is configured in a terminal, the terminal includes a wireless module, and the transmission power adjustment apparatus includes:
the acquiring unit is used for acquiring the use state of the terminal;
a first determining unit, configured to determine, according to the usage status and a preset usage status-transmission power parameter correspondence, a transmission power parameter corresponding to the usage status;
and the setting unit is used for setting the transmitting power of the wireless module according to the transmitting power parameter corresponding to the using state.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a wireless module, a usage status detection sensor, a memory, and a processor, where the memory stores a computer program, and the processor implements the above method when executing the computer program.
In a fourth aspect, the present invention also provides a computer-readable storage medium, which stores a computer program, and the computer program can implement the above method when being executed by a processor.
The embodiment of the invention provides a method and a device for adjusting transmission power, computer equipment and a storage medium. The method is applied to a terminal, wherein the terminal comprises a wireless module, and the method comprises the following steps: acquiring the use state of a terminal; determining a transmitting power parameter corresponding to the use state according to the use state and a preset use state-transmitting power parameter corresponding relation; and setting the transmitting power of the wireless module according to the transmitting power parameter corresponding to the using state. According to the technical scheme, the transmitting power of the wireless module of the terminal is set in a self-adaptive mode according to the using state of the terminal, so that the transmitting power of the wireless module of the terminal is adaptive to the using state of the terminal, the radiation of the wireless module of the terminal to a user is always in a normal radiation range, and the influence of the radiation of the wireless module on the health of the user is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for adjusting transmit power according to an embodiment of the present invention;
fig. 2 is a sub-flowchart of a method for adjusting transmit power according to an embodiment of the present invention;
fig. 3 is a sub-flowchart of a method for adjusting transmit power according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of a transmission power adjustment apparatus according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of an obtaining unit of a transmission power adjusting apparatus according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of a second determining unit of an obtaining unit of a transmission power adjusting apparatus according to an embodiment of the present invention;
fig. 7 is a schematic block diagram of an obtaining unit of a transmission power adjusting apparatus according to another embodiment of the present invention;
fig. 8 is a schematic block diagram of a first determining unit of a transmission power adjusting apparatus according to an embodiment of the present invention;
fig. 9 is a schematic block diagram of a third determining unit of the second determining unit of the obtaining unit of the transmission power adjusting apparatus according to the embodiment of the present invention; and
fig. 10 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a method for adjusting transmit power according to an embodiment of the present invention. The method is applied to a terminal, wherein the terminal comprises a wireless module, and the terminal can be embodied as a notebook computer, and as shown in the figure, the method comprises the following steps S1-S3.
And S1, acquiring the use state of the terminal.
In specific implementation, the use state of the terminal is acquired. The method for acquiring the use state of the terminal comprises the steps of placing the terminal on a desktop for use and holding the terminal for use. Specifically, the use state of the terminal may be determined by a use state sensor of the terminal. Alternatively, the use state of the terminal may be input by the user.
Referring to fig. 2, in an embodiment, the terminal includes a use state detecting sensor, and the above step S1 includes the following steps S21-S22.
S11, receiving the detection signal sent by the use state detection sensor.
In a specific implementation, the detection signal sent by the use state detection sensor is received.
In an embodiment, the usage state detecting sensor may be a turning angle sensor for detecting a turning angle of the terminal screen.
And S12, determining the use state of the terminal according to the detection signal.
In a specific implementation, the use state of the terminal is determined according to the detection signal. The detection signals of the use state detection sensors of the terminal in different use states are different, so that the use state of the terminal can be determined according to the detection signals.
For example, when the usage state detection sensor is a flip angle sensor, the flip angle of the terminal screen is determined according to a detection signal of the flip angle sensor, and the usage state of the terminal is further determined according to the flip angle of the terminal screen. Specifically, when the terminal screen is turned over by 90 degrees, the terminal screen is placed on a desktop for use; when the terminal screen is turned for 360 degrees, the use state is handheld use.
In an embodiment, the step S12 specifically includes: and determining the use state corresponding to the detection signal according to the detection signal and a preset detection signal-use state corresponding relation, and taking the use state corresponding to the detection signal as the use state of the terminal.
In specific implementation, a detection signal-use state correspondence relationship is stored in the terminal in advance, when a detection signal sent by the use state sensor is received, the use state corresponding to the detection signal is determined according to the detection signal-use state correspondence relationship, and the use state corresponding to the detection signal is used as the use state of the terminal.
In an embodiment, the determining the usage state of the detection signal according to the detection signal and a preset detection signal-usage state correspondence table includes: and inquiring the use state corresponding to the detection signal in the detection signal-use state corresponding table.
In the specific implementation, the using state corresponding to the detection signal is directly inquired in the detection signal-using state corresponding table, so that the calculation amount can be reduced, and the calculation speed is improved.
Referring to FIG. 3, in one embodiment, the above step S1 includes the following steps S31-S32.
And S31, if a use state setting instruction input by a user is received, popping up a use state setting window, wherein a plurality of use state options are arranged in the use state setting window.
In specific implementation, if a use state setting instruction input by a user is received, a use state setting window pops up, and a plurality of use state options are arranged in the use state setting window. For example, the usage status options may include: desktop use, handheld use, etc.
And S32, determining the use state of the terminal according to the use state option selected by the user.
In specific implementation, the use state of the terminal is determined according to the use state option selected by the user. In the embodiment, the user can set the use state of the terminal by himself, the terminal is prevented from misjudging the use state of the terminal, and the use experience of the user is improved.
And S2, determining the transmitting power parameter corresponding to the using state according to the using state and the preset using state-transmitting power parameter corresponding relation.
In specific implementation, the corresponding relationship between the use state and the transmission power parameter is stored in the terminal in advance, and after the use state of the terminal is determined, the transmission power parameter corresponding to the current use state of the terminal is determined according to the corresponding relationship between the use state and the transmission power parameter.
In an embodiment, the using state-transmission power parameter mapping relationship is a using state-transmission power parameter mapping table, and the step S2 includes: and inquiring the transmission power parameter corresponding to the use state in the use state-transmission power parameter corresponding table.
In the specific implementation, the transmitting power parameter corresponding to the terminal in the current using state is directly inquired in the using state-transmitting power parameter corresponding table, so that the calculation amount can be reduced, and the calculation speed is increased.
S3, setting the transmitting power of the wireless module according to the transmitting power parameter corresponding to the using state.
In specific implementation, after the transmission power parameter corresponding to the current use state of the terminal is determined, the transmission power of the wireless module of the terminal is set according to the transmission power parameter, so that the transmission power of the wireless module of the terminal can be set adaptively according to the use state of the terminal, the transmission power of the wireless module of the terminal is adapted to the use state of the terminal, the radiation of the wireless module of the terminal to a user is always in a normal radiation range, and the influence of the radiation of the wireless module on the health of the user is reduced.
According to the technical scheme of the embodiment of the invention, the use state of the terminal is obtained; determining a transmitting power parameter corresponding to the use state according to the use state and a preset use state-transmitting power parameter corresponding relation; the transmitting power of the wireless module is set according to the transmitting power parameter corresponding to the using state, so that the transmitting power of the wireless module of the terminal can be set adaptively according to the using state of the terminal, the transmitting power of the wireless module of the terminal is adaptive to the using state of the terminal, the radiation of the wireless module of the terminal to a user is always in a normal radiation range, and the influence of the radiation of the wireless module on the health of the user is reduced.
Fig. 4 is a schematic block diagram of a transmission power adjustment apparatus 40 according to an embodiment of the present invention. As shown in fig. 4, the present invention also provides a transmission power adjusting apparatus 40 corresponding to the above transmission power adjusting method. The transmission power adjusting apparatus 40 includes a unit for executing the transmission power adjusting method, and the transmission power adjusting apparatus 40 may be configured in a terminal such as a notebook computer, and the terminal includes a wireless module. Specifically, referring to fig. 4, the transmission power adjusting apparatus 40 includes an obtaining unit 41, a first determining unit 42, and a setting unit 43.
An obtaining unit 41, configured to obtain a usage state of the terminal.
A first determining unit 42, configured to determine, according to the usage status and a preset usage status-transmission power parameter correspondence relationship, a transmission power parameter corresponding to the usage status.
A setting unit 43, configured to set the transmission power of the wireless module according to the transmission power parameter corresponding to the use state.
In an embodiment, the terminal further includes a use state detection sensor, and as shown in fig. 5, the acquiring unit 41 includes a receiving unit 411 and a second determining unit 412.
A receiving unit 411, configured to receive the detection signal sent by the usage status detection sensor.
A second determining unit 412, configured to determine a usage state of the terminal according to the detection signal.
In one embodiment, as shown in fig. 6, the second determining unit 412 includes a third determining unit 4121.
A third determining unit 4121, configured to determine a usage state corresponding to the detection signal according to the detection signal and a preset detection signal-usage state correspondence relationship, and use the usage state corresponding to the detection signal as a usage state of the terminal.
In one embodiment, as shown in fig. 7, the acquiring unit 41 includes an ejecting unit 413 and a fourth determining unit 414.
A pop-up unit 413, configured to pop up a use state setting window if a use state setting instruction input by a user is received, where a plurality of use state options are set in the use state setting window;
a fourth determining unit 414, configured to determine the usage state of the terminal according to the usage state option selected by the user.
In an embodiment, the using state-transmission power parameter mapping relationship is a using state-transmission power parameter mapping table, as shown in fig. 8, the first determining unit 42 includes a first querying unit 421.
A first query unit 421, configured to query the transmission power parameter corresponding to the use status in the use status-transmission power parameter correspondence table.
In an embodiment, the detecting signal-using state corresponding relation is a detecting signal-using state corresponding table, as shown in fig. 9, the third determining unit 4121 includes a second looking-up unit 4122.
A second looking-up unit 4122, configured to look up the use state corresponding to the detection signal in the detection signal-use state correspondence table.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation processes of the transmission power adjustment apparatus 40 and each unit may refer to the corresponding descriptions in the foregoing method embodiments, and for convenience and brevity of description, no further description is provided herein.
The above-mentioned transmission power adjustment means 40 may be implemented in the form of a computer program which can be run on a computer device as shown in fig. 10.
Referring to fig. 10, fig. 10 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 is a terminal that includes a wireless module and a usage state detection sensor. The terminal can be an electronic device with a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant and a wearable device.
Referring to fig. 10, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, causes the processor 502 to perform a transmit power adjustment method.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 may be caused to perform a transmission power adjustment method.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 10 is a block diagram of only a portion of the configuration relevant to the present teachings and is not intended to limit the computing device 500 to which the present teachings may be applied, and that a particular computing device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following steps:
acquiring the use state of a terminal;
determining a transmitting power parameter corresponding to the use state according to the use state and a preset use state-transmitting power parameter corresponding relation;
and setting the transmitting power of the wireless module according to the transmitting power parameter corresponding to the using state.
In an embodiment, the terminal further includes a use state detection sensor, and when the processor 502 implements the step of obtaining the use state of the terminal, the following steps are specifically implemented:
receiving a detection signal sent by the use state detection sensor;
and determining the use state of the terminal according to the detection signal.
In an embodiment, when the processor 502 implements the step of determining the usage state of the terminal according to the detection signal, the following steps are specifically implemented:
and determining the use state corresponding to the detection signal according to the detection signal and a preset detection signal-use state corresponding relation, and taking the use state corresponding to the detection signal as the use state of the terminal.
In an embodiment, when the processor 502 implements the step of obtaining the use state of the terminal, the following steps are specifically implemented:
if a use state setting instruction input by a user is received, popping up a use state setting window, wherein a plurality of use state options are arranged in the use state setting window;
and determining the use state of the terminal according to the use state option selected by the user.
In an embodiment, the using state-transmitting power parameter corresponding relationship is a using state-transmitting power parameter corresponding table, and when the processor 502 determines the transmitting power parameter corresponding to the using state according to the using state and a preset using state-transmitting power parameter corresponding relationship, the following steps are specifically implemented:
and inquiring the transmission power parameter corresponding to the use state in the use state-transmission power parameter corresponding table.
In an embodiment, the detecting signal-use state corresponding relationship is a detecting signal-use state corresponding table, and when the processor 502 determines the use state step corresponding to the detecting signal according to the detecting signal and a preset detecting signal-use state corresponding relationship, the following steps are specifically implemented:
and inquiring the use state corresponding to the detection signal in the detection signal-use state corresponding table.
It should be understood that, in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. The computer program, when executed by a processor, causes the processor to perform the steps of:
acquiring the use state of a terminal;
determining a transmitting power parameter corresponding to the use state according to the use state and a preset use state-transmitting power parameter corresponding relation;
and setting the transmitting power of the wireless module according to the transmitting power parameter corresponding to the using state.
In an embodiment, the terminal further includes a usage status detection sensor, and when the processor executes the computer program to implement the step of acquiring the usage status of the terminal, the following steps are specifically implemented:
receiving a detection signal sent by the use state detection sensor;
and determining the use state of the terminal according to the detection signal.
In an embodiment, when the step of determining the usage state of the terminal according to the detection signal is implemented by executing the computer program, the processor specifically implements the following steps:
and determining the use state corresponding to the detection signal according to the detection signal and a preset detection signal-use state corresponding relation, and taking the use state corresponding to the detection signal as the use state of the terminal.
In an embodiment, when the processor executes the computer program to implement the step of obtaining the use state of the terminal, the following steps are specifically implemented:
if a use state setting instruction input by a user is received, popping up a use state setting window, wherein a plurality of use state options are arranged in the use state setting window;
and determining the use state of the terminal according to the use state option selected by the user.
In an embodiment, the using state-transmission power parameter correspondence table is a using state-transmission power parameter correspondence table, and when the processor executes the computer program to implement the step of determining the transmission power parameter corresponding to the using state according to the using state and a preset using state-transmission power parameter correspondence table, the following steps are specifically implemented:
and inquiring the transmission power parameter corresponding to the use state in the use state-transmission power parameter corresponding table.
In an embodiment, the detecting signal-use state corresponding relationship is a detecting signal-use state corresponding table, and when the processor executes the computer program to implement the step of determining the use state corresponding to the detecting signal according to the detecting signal and a preset detecting signal-use state corresponding relationship, the processor specifically implements the following steps:
and inquiring the use state corresponding to the detection signal in the detection signal-use state corresponding table.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. 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 invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. 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, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above 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.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, while the invention has been described with respect to the above-described embodiments, it will be understood that the invention is not limited thereto but may be embodied with various modifications and changes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A method for adjusting transmission power, wherein the method is applied to a terminal, wherein the terminal comprises a radio module, and wherein the method comprises:
acquiring the use state of a terminal;
determining a transmitting power parameter corresponding to the use state according to the use state and a preset use state-transmitting power parameter corresponding relation;
and setting the transmitting power of the wireless module according to the transmitting power parameter corresponding to the using state.
2. The method of claim 1, wherein the terminal further comprises a usage status detection sensor, and wherein the obtaining the usage status of the terminal comprises:
receiving a detection signal sent by the use state detection sensor;
and determining the use state of the terminal according to the detection signal.
3. The method of claim 2, wherein the determining the usage status of the terminal according to the detection signal comprises:
and determining the use state corresponding to the detection signal according to the detection signal and a preset detection signal-use state corresponding relation, and taking the use state corresponding to the detection signal as the use state of the terminal.
4. The method of claim 1, wherein the obtaining the usage status of the terminal comprises:
if a use state setting instruction input by a user is received, popping up a use state setting window, wherein a plurality of use state options are arranged in the use state setting window;
and determining the use state of the terminal according to the use state option selected by the user.
5. The method of claim 1, wherein the using state-transmission power parameter mapping relationship is a using state-transmission power parameter mapping table, and the determining the transmission power parameter corresponding to the using state according to the using state and a preset using state-transmission power parameter mapping relationship comprises:
and inquiring the transmission power parameter corresponding to the use state in the use state-transmission power parameter corresponding table.
6. The method according to claim 3, wherein the detecting signal-using state mapping relationship is a detecting signal-using state mapping table, and the determining the using state corresponding to the detecting signal according to the detecting signal and a preset detecting signal-using state mapping relationship comprises:
and inquiring the use state corresponding to the detection signal in the detection signal-use state corresponding table.
7. A transmission power adjustment apparatus, configured in a terminal, wherein the terminal includes a radio module, and wherein the transmission power adjustment apparatus includes:
the acquiring unit is used for acquiring the use state of the terminal;
a first determining unit, configured to determine, according to the usage status and a preset usage status-transmission power parameter correspondence, a transmission power parameter corresponding to the usage status;
and the setting unit is used for setting the transmitting power of the wireless module according to the transmitting power parameter corresponding to the using state.
8. The transmission power adjustment apparatus according to claim 7, wherein the terminal further includes a use state detection sensor, and the obtaining unit includes:
a receiving unit for receiving a detection signal sent by the use state detection sensor;
and the second determining unit is used for determining the use state of the terminal according to the detection signal.
9. A computer device, characterized in that the computer device comprises a wireless module, a usage status detection sensor, a memory having stored thereon a computer program, and a processor implementing the method according to any of claims 1-6 when the processor executes the computer program.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when being executed by a processor, is adapted to carry out the method according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010096569.8A CN111148204A (en) | 2020-02-17 | 2020-02-17 | Transmission power adjusting method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010096569.8A CN111148204A (en) | 2020-02-17 | 2020-02-17 | Transmission power adjusting method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111148204A true CN111148204A (en) | 2020-05-12 |
Family
ID=70527529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010096569.8A Pending CN111148204A (en) | 2020-02-17 | 2020-02-17 | Transmission power adjusting method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111148204A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111628797A (en) * | 2020-05-29 | 2020-09-04 | 维沃移动通信有限公司 | Radio frequency control method and device, electronic equipment and readable storage medium |
CN112929957A (en) * | 2021-03-02 | 2021-06-08 | 上海闻泰信息技术有限公司 | Radiation control method, radiation control device, electronic device, and storage medium |
CN113094106A (en) * | 2021-03-11 | 2021-07-09 | 深圳市广和通无线股份有限公司 | Communication control method, communication control device, computer equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140270248A1 (en) * | 2013-03-12 | 2014-09-18 | Motorola Mobility Llc | Method and Apparatus for Detecting and Controlling the Orientation of a Virtual Microphone |
CN106034351A (en) * | 2015-03-09 | 2016-10-19 | 联想(北京)有限公司 | Transmission power adjusting method and electronic equipment |
CN108370084A (en) * | 2016-01-05 | 2018-08-03 | 微软技术许可有限责任公司 | Dynamic antenna power control for multi-context equipment |
US20190036563A1 (en) * | 2017-07-30 | 2019-01-31 | Dell Products, Lp | System and method for a modular dynamic wireless power control system in a convertible information handling system |
US20190140340A1 (en) * | 2017-11-03 | 2019-05-09 | Dell Products, Lp | System and method for operating an antenna adaptation controller module |
CN110138402A (en) * | 2019-04-02 | 2019-08-16 | 华勤通讯技术有限公司 | A kind of control method, device and the mobile terminal of mobile terminal output power |
-
2020
- 2020-02-17 CN CN202010096569.8A patent/CN111148204A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140270248A1 (en) * | 2013-03-12 | 2014-09-18 | Motorola Mobility Llc | Method and Apparatus for Detecting and Controlling the Orientation of a Virtual Microphone |
CN106034351A (en) * | 2015-03-09 | 2016-10-19 | 联想(北京)有限公司 | Transmission power adjusting method and electronic equipment |
CN108370084A (en) * | 2016-01-05 | 2018-08-03 | 微软技术许可有限责任公司 | Dynamic antenna power control for multi-context equipment |
US20190036563A1 (en) * | 2017-07-30 | 2019-01-31 | Dell Products, Lp | System and method for a modular dynamic wireless power control system in a convertible information handling system |
US20190140340A1 (en) * | 2017-11-03 | 2019-05-09 | Dell Products, Lp | System and method for operating an antenna adaptation controller module |
CN110138402A (en) * | 2019-04-02 | 2019-08-16 | 华勤通讯技术有限公司 | A kind of control method, device and the mobile terminal of mobile terminal output power |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111628797A (en) * | 2020-05-29 | 2020-09-04 | 维沃移动通信有限公司 | Radio frequency control method and device, electronic equipment and readable storage medium |
CN111628797B (en) * | 2020-05-29 | 2022-05-31 | 维沃移动通信有限公司 | Radio frequency control method and device, electronic equipment and readable storage medium |
CN112929957A (en) * | 2021-03-02 | 2021-06-08 | 上海闻泰信息技术有限公司 | Radiation control method, radiation control device, electronic device, and storage medium |
CN113094106A (en) * | 2021-03-11 | 2021-07-09 | 深圳市广和通无线股份有限公司 | Communication control method, communication control device, computer equipment and storage medium |
CN113094106B (en) * | 2021-03-11 | 2024-03-15 | 深圳市广和通无线股份有限公司 | Communication control method, device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111148204A (en) | Transmission power adjusting method, device, computer equipment and storage medium | |
CN107845366B (en) | Backlight adjusting method and device | |
EP3381176B1 (en) | Media access control (mac) address identification | |
EP3188461B1 (en) | Method and apparatus for correcting detection distance | |
EP1643685A2 (en) | Automatic activation and deactivation of wireless network adapter | |
CN108777731B (en) | Key configuration method and device, mobile terminal and storage medium | |
US20210044315A1 (en) | Device Control Method and Apparatus, Storage Medium, Processor, and Terminal | |
CN108174037B (en) | Notification message prompting method and mobile terminal | |
CN112703781B (en) | Wireless signal sending method, wireless signal sending device and terminal equipment | |
CN109104521B (en) | Method and device for correcting approaching state, mobile terminal and storage medium | |
WO2020114009A1 (en) | Electromagnetic interference control method and related apparatus | |
US11689655B2 (en) | Method for adjusting parameter of audio service and terminal | |
US11792868B2 (en) | Proximity-based connection for Bluetooth devices | |
US10908735B2 (en) | Anti-interference method and apparatus for touch panel | |
CN108683812B (en) | Volume adjusting method and device and mobile terminal | |
CN111213120B (en) | Adjusting volume level of speaker | |
CN110896336B (en) | Signal regulation and control method, device, equipment and storage medium | |
CN110955482B (en) | Popup window display method and device, electronic equipment and medium | |
CN113459992B (en) | Vehicle control method, and storage medium and electronic device for executing the method | |
CN113918757A (en) | Application recommendation method and device, electronic equipment and storage medium | |
CN111176541B (en) | Method and device for preventing false touch | |
CN108924902B (en) | Wireless network disconnection method and device and electronic device | |
CN112102794B (en) | Method and device for eliminating touch trace of touch screen and computer readable storage medium | |
CN112673611B (en) | Mobile terminal control method, mobile terminal control device and mobile terminal | |
CN111654577A (en) | Emergency call method, 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200512 |
|
RJ01 | Rejection of invention patent application after publication |