CN108541058B - A kind of control method of mobile terminal, mobile terminal and storage medium - Google Patents

A kind of control method of mobile terminal, mobile terminal and storage medium Download PDF

Info

Publication number
CN108541058B
CN108541058B CN201810391830.XA CN201810391830A CN108541058B CN 108541058 B CN108541058 B CN 108541058B CN 201810391830 A CN201810391830 A CN 201810391830A CN 108541058 B CN108541058 B CN 108541058B
Authority
CN
China
Prior art keywords
mobile terminal
wireless network
transmission power
power
card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810391830.XA
Other languages
Chinese (zh)
Other versions
CN108541058A (en
Inventor
方宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810391830.XA priority Critical patent/CN108541058B/en
Publication of CN108541058A publication Critical patent/CN108541058A/en
Application granted granted Critical
Publication of CN108541058B publication Critical patent/CN108541058B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/26TPC being performed according to specific parameters using transmission rate or quality of service QoS [Quality of Service]
    • H04W52/267TPC being performed according to specific parameters using transmission rate or quality of service QoS [Quality of Service] taking into account the information rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/30TPC using constraints in the total amount of available transmission power
    • H04W52/36TPC using constraints in the total amount of available transmission power with a discrete range or set of values, e.g. step size, ramping or offsets
    • H04W52/362Aspects of the step size
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/30TPC using constraints in the total amount of available transmission power
    • H04W52/36TPC using constraints in the total amount of available transmission power with a discrete range or set of values, e.g. step size, ramping or offsets
    • H04W52/367Power values between minimum and maximum limits, e.g. dynamic range

Landscapes

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

Abstract

The application is suitable for wireless communication technology field, provide a kind of control method of mobile terminal, mobile terminal and computer readable storage medium, the control method includes: when the mobile terminal is preset state, determine whether the mobile terminal is currently connected to wireless network, if the mobile terminal is currently connected to wireless network, it then obtains within the mobile terminal preset time, the data volume sent by the wireless network currently connected, if the data volume is less than the first preset value, then the first predetermined power is set by the transmission power of the wireless network card of the mobile terminal, the minimum emissive power of first predetermined power wireless network card in mobile terminal when being the mobile terminal and wireless network holding connection status, the power consumption of mobile terminal can be reduced by the application.

Description

A kind of control method of mobile terminal, mobile terminal and storage medium
Technical field
The application belong to wireless communication technology field more particularly to a kind of control method of mobile terminal, mobile terminal and Computer readable storage medium.
Background technique
With the development of information technology, mobile terminal using more and more extensive.Mobile terminal can be wireless by connecting Network is surfed the Internet, and realizes the functions such as shopping, consumption, query information, video communication.Currently, WLAN compares mainstream A kind of wireless networking mode.
Mobile terminal establishes connection by the wireless access points in built-in wireless network card and WLAN to enjoy The service on net provided by wireless access points.However, while mobile terminal enjoys service on net by wireless network card, There is the excessive problem of mobile terminal power consumption.
Summary of the invention
In view of this, control method, mobile terminal and computer that the embodiment of the present application provides a kind of mobile terminal can Storage medium is read, to solve the problems, such as that power consumption of wireless network interface card is excessive in current mobile terminal.
The first aspect of the embodiment of the present application provides a kind of control method of mobile terminal, comprising:
When the mobile terminal is preset state, determine whether the mobile terminal is currently connected to wireless network;
If the mobile terminal is currently connected to wireless network, obtains within the mobile terminal preset time, pass through The data volume that the wireless network currently connected is sent;
If the data volume sets the transmission power of the wireless network card of the mobile terminal to less than the first preset value First predetermined power, first predetermined power shifting when being the mobile terminal and wireless network holding connection status The minimum emissive power of wireless network card in dynamic terminal.
The second aspect of the embodiment of the present application provides a kind of mobile terminal, comprising:
Confirmation module, for determining whether the mobile terminal currently connects when the mobile terminal is preset state Wireless network;
Data volume obtains module, if being currently connected to wireless network for the mobile terminal, obtains described mobile whole It holds within preset time, the data volume sent by the wireless network currently connected;
Control module, if for the data volume less than the first preset value, by the wireless network card of the mobile terminal Transmission power is set as the first predetermined power, and first predetermined power is that the mobile terminal and the wireless network keep connecting Connect the minimum emissive power of wireless network card in mobile terminal when state.
The third aspect of the embodiment of the present application provides a kind of mobile terminal, including memory, processor and is stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program The step of realizing the method that the embodiment of the present application first aspect provides.
The fourth aspect of the embodiment of the present application provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and the computer program realizes the embodiment of the present application when being executed by one or more processors On the one hand the step of the method provided.
5th aspect of the embodiment of the present application provides a kind of computer program product, and the computer program product includes Computer program, the computer program realize that the embodiment of the present application first aspect provides when being executed by one or more processors The method the step of.
The embodiment of the present application determines whether mobile terminal is connected to wireless network when mobile terminal is preset state, if It is connected to wireless network, then the data sent within available mobile terminal preset time by the wireless network currently connected Amount, if the data volume can set first for the transmission power of the wireless network card of mobile terminal less than the first preset value Predetermined power, the first predetermined power are wireless in the mobile terminal when being mobile terminal and wireless network holding connection status The minimum emissive power of network interface card, i.e. mobile terminal are in preset state, and the data volume that the wireless network by currently connecting is sent When less than the first preset value, the transmission power of the wireless network card of mobile terminal can be configured to keep connecting with wireless network The minimum value of state is connect, this minimum value is to calculate to obtain, i.e., will be wireless in mobile terminal while keeping network connection The transmission power of network interface card is configured to keep the minimum emissive power of connection status with wireless network, reduces to the greatest extent The transmission power of wireless network card, to reduce the power consumption of mobile terminal to the greatest extent.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation process schematic diagram of the control method of mobile terminal provided by the embodiments of the present application;
Fig. 2 is the implementation process schematic diagram of the control method of another mobile terminal provided by the embodiments of the present application;
Fig. 3 is the implementation process schematic diagram of the control method of another mobile terminal provided by the embodiments of the present application;
Fig. 4 is a kind of schematic block diagram of mobile terminal provided by the embodiments of the present application;
Fig. 5 is the schematic block diagram of another mobile terminal provided by the embodiments of the present application.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific The application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step, Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment And be not intended to limit the application.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solution described herein, the following is a description of specific embodiments.
Fig. 1 is a kind of implementation process schematic diagram of the control method of mobile terminal provided by the embodiments of the present application, as schemed institute Show that this method may comprise steps of:
Step S101 determines whether the mobile terminal is currently connected to nothing when the mobile terminal is preset state Gauze network.
In the embodiment of the present application, it is to put out screen state, screen lock state that the preset state of mobile terminal, which can be mobile terminal, It can also be that mobile terminal is standby mode, herein with no restrictions.Determine whether the mobile terminal is currently connected to wireless network Network, which can be, determines whether the mobile terminal is currently connected to WLAN.
As the another embodiment of the application, the preset state of the mobile terminal includes:
The mobile terminal is that wireless network card is open state in standby mode and the mobile terminal.
In the embodiment of the present application, if mobile terminal is standby mode, and the wireless network card in mobile terminal is opening state State, so that it may determine whether the mobile terminal passes through the wireless network card of unlatching and be connected to wireless network.Standby mode is mobile phone Or the booting of the electronic equipments such as computer is still without any substantive work (i.e. the not various operations to file and program) State.
For the mobile terminals such as mobile phone, wireless network card in mobile terminal it can be appreciated that WIFI module, so Wireless network card i.e. wireless LAN card in mobile terminal, it is whole from wireless router to movement that it solves WLAN The wireless penetration problem at end.Wireless network card is divided into transmitting end module again and receives end module, and signal transmitting end module is responsible for transmitting letter Number, signal receives end module and is responsible for receiving signal.The open state of the wireless network card can pass through wireless network in mobile terminal Whether the function of network opens determination, for example, whether the function of the WLAN on mobile phone or virtual push button open determination, if opening It then indicates that wireless network card is open state, indicates that wireless network card is in off state if not opening;Mobile terminal can also be passed through Whether current be that wireless network card power supply determines, if power supply, then it represents that wireless network card is open state, if power-off, then it represents that wireless Network interface card is in off state.A bit for needing to illustrate, mobile terminal is in the case where putting out screen state, can be wireless network card to save electricity The power supply of circulation powers off, cycle power, the process of power-off, and the practical function of the wireless network in mobile phone is unlatching, so this A process is it is also assumed that be the open state of wireless network card.
Step S102 obtains the mobile terminal preset time if the mobile terminal is currently connected to wireless network Within, pass through the data volume of the wireless network transmission currently connected.
In the embodiment of the present application, however, it is determined that the wireless network card that mobile terminal currently passes through unlatching is connected to wireless network Network can then determine that mobile terminal passes through the data volume that the wireless network currently connected is sent, can also determine that mobile terminal is logical After the data volume summation that the wireless network currently connected sends and receives.In practical application, and it can not confirm this current time Point mobile terminal passes through the data volume that the wireless network currently connected is sent.So can be set one it is relatively small default when Between, it obtains within preset time, mobile terminal passes through the data volume that the wireless network currently connected is sent, by the preset time Within mobile terminal by connection wireless network send data volume as the mobile terminal by connection wireless network Currently transmitted data volume.
Step S103, if the data volume less than the first preset value, by the transmitting of the wireless network card of the mobile terminal Power setting is the first predetermined power, and first predetermined power is that the mobile terminal and the wireless network keep connection shape When state in the mobile terminal wireless network card minimum emissive power.
In the embodiment of the present application, if the data volume indicates mobile terminal by currently connecting less than the first preset value Wireless network send data volume it is less, at this moment, it is only necessary to controlling mobile terminal and the wireless network will not interrupt, When mobile terminal and the wireless network keep connection status, the transmission power of wireless network card in mobile terminal is needed to be greater than or wait In transmission power A, simultaneously, it is also desirable to the transmission power of wireless router also greater than or be equal to transmission power B, with regard to wireless router For side, the transmission power of wireless router is constant, so, in the shape that mobile terminal is natively connect with wireless network Under state, the transmission power of wireless router is greater than or equal to transmission power B's.For mobile terminal side, in order to keep Mobile terminal and wireless network keep connecting, i.e., the data that holding mobile terminal is sent by wireless network will not interrupt, and just need It wants the transmission power of wireless network card to be greater than or equal to transmission power A, and is the bigger the better, and in order to reduce the power consumption of mobile terminal, Just need the transmission power of wireless network card in mobile terminal the smaller the better, as long as being greater than or equal to transmission power A, in order in the two Between weigh, so that it may set transmission power A for the transmission power of wireless network card in mobile terminal.This transmission power A can The minimum emissive power of connection status is kept to be interpreted as mobile terminal and wireless network, and due to mobile terminal and wireless network Connection status also suffer from the influences of the other factors such as environment, then minimum emissive power is the theoretical value calculated.
The calculation of the minimum emissive power may is that the minimum signal strength determined when keeping connection status first Value, according to the distance between mobile terminal and wireless router obtain signal decay, by the minimum signal strength value with it is described Signal decaying summation obtains minimum emissive power.Certainly, in practical application, the minimum hair can also be obtained by other means Penetrate power.
In the embodiment of the present application, mobile terminal is in preset state, and the data that the wireless network by currently connecting is sent When amount is less than the first preset value, the transmission power of the wireless network card of mobile terminal can be configured to keep with wireless network The minimum value of connection, this minimum value is to calculate to obtain, i.e., while keeping network connection, by wireless network in mobile terminal The transmission power of card is configured to keep the minimum emissive power of connection status with wireless network, reduces nothing to the greatest extent The transmission power of gauze card, to reduce the power consumption of mobile terminal to the greatest extent.
Fig. 2 is the implementation process schematic diagram of the control method of another mobile terminal provided by the embodiments of the present application, is such as schemed Shown this method may comprise steps of:
Step S201 is that wireless network card is open state in standby mode and the mobile terminal in the mobile terminal When, determine whether the mobile terminal is currently connected to wireless network.
Step S202 obtains the mobile terminal preset time if the mobile terminal is currently connected to wireless network Within, pass through the data volume of the wireless network transmission currently connected.
The content of step S201 to step S202 is consistent with the content of step S101 to step S102, can refer to step S101 To the description of step S102, details are not described herein.
Step S203, if the data volume obtains the signal strength of the wireless network currently connected less than the first preset value The current transmission power of wireless network card in value and the mobile terminal.
In the embodiment of the present application, if the data volume is less than the first preset value, indicate that user is described currently without using The demand of wireless network transmission mass data, so that it may reduce the transmission power of wireless network card in mobile terminal.It can first obtain The signal strength indication for taking the wireless network currently connected is moved according to the calculating of the signal strength indication of the wireless network currently connected The transmission power level that wireless network card should reduce in dynamic terminal.The transmission power that wireless network card is current in mobile terminal is obtained again. The current transmission power of wireless network card in mobile terminal is finally subtracted into the transmitting function that wireless network card in mobile terminal should reduce Rate value obtains the first predetermined power.So the first predetermined power is by the signal strength indication of the wireless network and described The current transmission power of wireless network card calculates acquisition.
Step S204, according to the current transmission power meter of the signal strength indication of the wireless network and the wireless network card It calculates and obtains the first predetermined power.
In the embodiment of the present application, described current according to the signal strength indication of the wireless network and the wireless network card Transmission power calculate obtain the first predetermined power include:
Pass through formula P1=P- (X-Y-n) is calculated and is obtained first predetermined power;
Wherein, P1Indicate that the first predetermined power, P indicate the transmission power that wireless network card is current in the mobile terminal, X table Show the signal strength indication of the wireless network, Y indicates to keep the minimum signal strength value of wireless network when connection status, and n is institute State the transmission power of the corresponding wireless access points of wireless network and the transmission power of the wireless network card in the mobile terminal Difference, n=PAP- P, PAPFor the transmission power of the corresponding wireless access points of the wireless network.
In the embodiment of the present application, in order to better illustrate this problem, we first discuss the foundation of wireless network, wirelessly The wireless connection established between wireless network card and wireless router in the foundation of network actually mobile terminal, can also manage Xie Wei, wireless network foundation be actually mobile terminal in wireless network card and wireless access points between establish it is wireless Connection.Therebetween to the connection status of holding wireless network, it is necessary to ensure that the other side's that either party receives is wireless The intensity value of signal is greater than a value, this value is properly termed as keeping the minimum signal strength value of wireless network when connection status, It is indicated with Y.It is explained further and is exactly, if the transmission power of other side is smaller, but be closer with other side, as long as receiving Other side send wireless signal intensity value be greater than or equal to Y can both keep the connection with other side, if the transmitting of other side Power is larger, however, at a distance from other side farther out, the intensity value for the wireless signal that the other side received sends is less than Y, then, It is able to not may keep connecting with other side.
Due to the embodiment of the present application adjust be wireless network card in mobile terminal transmission power, so accessing wirelessly access The transmission power of point side is considered fixed, then, in the state that mobile terminal locations are constant for the time being, mobile terminal side Receive wireless access points transmitting signal strength indication may be considered it is constant, in mobile terminal side and wireless network Network is established in the state of connection, and the signal strength indication for the wireless access points transmitting that mobile terminal side receives is greater than or waits In minimum signal strength value Y, however, due to the transmission power that can reduce mobile terminal wireless network card, it is therefore desirable to guarantee wireless It is described in the state that the intensity value for the signal that wireless network card emits in the mobile terminal that access points side receives is minimum Minimum signal strength value Y, then the minimum minimum signal strength value of the transmission power of wireless network card adds in mobile terminal The signal decaying.So minimum emissive power P1It is equal to the minimum signal strength value Y plus signal decaying A, i.e., P1=Y+A.Assuming that the default transmission power (being reduced to the transmission power before the first predetermined power) of mobile terminal is M, wirelessly The transmission power of access points side is PAP, the signal strength indication for the wireless network that mobile terminal side receives is X, then, Signal decaying A=PAP-X.The P of acquisition1=Y+A=Y+PAP-X.In practical application, the transmission power and shifting of wireless access points The default value of the transmission power of wireless network card differs 2-4dB in dynamic terminal, so, we are by the transmitting function of wireless access points Difference in rate and mobile terminal between the default value of the transmission power of wireless network card is defined as n, P1=Y+n+P-X=P- (X- Y-n), it is equivalent in this way, P1(X-Y-n) dB is reduced than P.The transmission power of wireless network card in mobile terminal is reduced (X-Y-n) dB becomes minimum emissive power.
Certainly, in practical application, if the reduction to power consumption is less stringent, the first predetermined power may be greater than or wait In the minimum emissive power.
The transmission power of the wireless network card of the mobile terminal is set the first predetermined power by step S205.
Step S206, after setting the first predetermined power for the transmission power of the wireless network card of the mobile terminal, Monitor the connection status of the mobile terminal Yu the wireless network.
In the embodiment of the present application, first predetermined power is exactly the minimum emissive power, is to calculate making for acquisition Mobile terminal and wireless network keep the minimum emissive power of connection status, in practical application, due to by environment etc. it is various because The influence of element, the transmission power of mobile terminal is reduced to after minimum emissive power, and mobile terminal and wireless network can Keep connection status, it is also possible to interrupt.The transmission power of mobile terminal is reduced to the condition of minimum emissive power as movement Less than the first preset value, this just illustrates the data volume that terminal is sent by wireless network, can between mobile terminal and wireless network Can need that there are data interactions, then just need for the wireless network of interruption to be again coupled to it is upper just can be with.So by institute The transmission power for stating the wireless network card of mobile terminal is set as after the first predetermined power, needs to monitor the mobile terminal and institute State the connection status of wireless network.
Step S207, if monitoring, the connection status is disconnecting, and wireless network card in the mobile terminal is worked as Preceding transmission power increases preset step-length to establish connection with the wireless network again.
Step S208, if establishing connection failure with the wireless network again, continuing will be wireless in the mobile terminal The current transmission power of network interface card increases preset step-length to establish connection with the wireless network again, until with the wireless network It is successfully established connection.
In the embodiment of the present application, if monitoring, the connection status is disconnecting, again by the wireless network of interruption Method in connection is: the current transmission power of wireless network card in the mobile terminal is increased preset step-length, Zhi Daoyu every time The wireless network is successfully established connection.For example, on the basis of the first predetermined power, every time by wireless network card in mobile terminal Transmission power increase 5dB, connect until being successfully established with the wireless network.
Fig. 3 is the implementation process schematic diagram of the control method of another mobile terminal provided by the embodiments of the present application, is such as schemed Shown this method may comprise steps of:
Step S301 determines whether the mobile terminal is currently connected to nothing when the mobile terminal is preset state Gauze network.
The step is consistent with step S101 content, specifically can refer to the description of step S101, details are not described herein.
Step S302, if the mobile terminal is currently not connected with wireless network, by the wireless network card of the mobile terminal It closes.
In the embodiment of the present application, the preset state can also be that wireless network card is opening state in the mobile terminal State, however mobile terminal can be standby mode, may not be standby mode, when the mobile terminal is preset state, Determine whether the mobile terminal is currently connected to wireless network.Wireless network card has been opened in mobile terminal but has not been led to In the case where crossing the wireless network card connection wireless network, indicate that user is current and the wireless network card is not used, so that it may will The wireless network card of the mobile terminal is closed to reduce power consumption.
Step S303 is calculated if the mobile terminal is currently not connected with wireless network and is obtained second predetermined power, Second predetermined power is the signal strength indication that wireless device at pre-determined distance receives when being the second preset value, described The transmission power of wireless network card in mobile terminal.
In the embodiment of the present application, in addition to closing wireless network card, the transmission power of wireless network card can also be arranged It is sufficiently low, for example, the wireless device being set as at pre-determined distance receives wireless terminal signals intensity in certain signal strength (example Such as, the second preset value) more than.The wireless device reception wireless terminal signals intensity at 10 meters of distances can be specifically arranged to exist It more than certain signal strength (such as -70dBm), in order to guarantee to reduce power consumption to greatest extent, can be set at 10 meters of distances Wireless device receive wireless terminal signals intensity be certain signal strength (for example, second preset value).
Formula P can specifically be passed through2=32.5+20 (log10(f)+log10(l))+pl, it is default to calculate acquisition described second Power.
Wherein, P2For second predetermined power, f indicates the frequency of the wireless signal of wireless network card transmitting, and l indicates default Distance, plIndicate the second preset value.
The transmission power of wireless network card in the mobile terminal is set the second predetermined power by step S304.
The embodiment of the present application further refined the mobile terminal be preset state and mobile terminal be connection wireless network In the case where network, the power consumption of mobile terminal how is reduced.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application constitutes any limit It is fixed.
Fig. 4 is that the schematic block diagram for the mobile terminal that one embodiment of the application provides only is shown and this Shen for ease of description It please the relevant part of embodiment.
The mobile terminal 4 can be the software unit being built in the mobile terminals such as mobile phone, tablet computer, notebook, hard Part unit or the unit of soft or hard combination can also be used as independent pendant and be integrated into the mobile phone, tablet computer, notebook etc. In mobile terminal.
The mobile terminal 4 includes:
Confirmation module 401, for determining whether the mobile terminal currently connects when the mobile terminal is preset state Wireless network is connect;
Data volume obtains module 402 and obtains the movement if being currently connected to wireless network for the mobile terminal Within terminal preset time, pass through the data volume of the wireless network transmission currently connected;
First control module 403, if for the data volume less than the first preset value, by the wireless of the mobile terminal The transmission power of network interface card is set as the first predetermined power, and first predetermined power is the mobile terminal and the wireless network When keeping connection status in the mobile terminal wireless network card minimum emissive power.
Optionally, the preset state of the mobile terminal includes:
The mobile terminal is that wireless network card is open state in standby mode and the mobile terminal.
Optionally, the mobile terminal 4 further include:
Data acquisition module 404, for setting first in advance for the transmission power of the wireless network card of the mobile terminal If before power, it is current to obtain wireless network card in the signal strength indication and the mobile terminal of the wireless network currently connected Transmission power;
First predetermined power computing module 405, for according to the signal strength indication of the wireless network and described wireless The current transmission power of network interface card, which calculates, obtains the first predetermined power.
Optionally, the first predetermined power computing module 405 is also used to:
Pass through formula P1=P- (X-Y-n) is calculated and is obtained first predetermined power;
Wherein, P1Indicate that the first predetermined power, P indicate the transmission power that wireless network card is current in the mobile terminal, X table Show the signal strength indication of the wireless network, Y indicates to keep the minimum signal strength value of wireless network when connection status, and n is institute State the transmission power of the corresponding wireless access points of wireless network and the transmission power of the wireless network card in the mobile terminal Difference, n=PAP- P, PAPFor the transmission power of the corresponding wireless access points of the wireless network.
Optionally, the mobile terminal 4 further include:
Detection module 406, for setting the first default function for the transmission power of the wireless network card of the mobile terminal After rate, the connection status of the mobile terminal Yu the wireless network is monitored;
Link block 407 is established, if for monitoring that the connection status is disconnecting, it will be in the mobile terminal The current transmission power of wireless network card increases preset step-length to establish connection with the wireless network again;
Loop module 408, if continuing for establishing connection failure with the wireless network again by the mobile terminal The current transmission power of middle wireless network card increases preset step-length to establish connection with the wireless network again, until with the nothing Gauze network is successfully established connection.
Optionally, the mobile terminal 4 further include:
Second control module 409, for after determining whether the mobile terminal is currently connected to wireless network, if institute It states mobile terminal and is currently not connected with wireless network, then close the wireless network card of the mobile terminal;
Or,
If the mobile terminal is currently not connected with wireless network, by the transmission power of wireless network card in the mobile terminal It is set as the second predetermined power, second predetermined power is the signal strength indication that the wireless device at pre-determined distance receives When for the second preset value, the transmission power of wireless network card in the mobile terminal.
Optionally, the mobile terminal 4 further include:
Second predetermined power computing module 410, for being arranged by the transmission power of wireless network card in the mobile terminal Before the second predetermined power, pass through formula P2=32.5+20 (log10(f)+log10(l))+pl, calculate and obtain described second in advance If power;
Wherein, P2For second predetermined power, f indicates the frequency of the wireless signal of wireless network card transmitting, and l indicates default Distance, plIndicate the second preset value.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of the mobile terminal is divided into different functional unit or module, to complete All or part of function described above.Each functional unit in embodiment, module can integrate in one processing unit, It is also possible to each unit to physically exist alone, can also be integrated in one unit with two or more units, above-mentioned collection At unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function Unit, module specific name be also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above-mentioned dress The specific work process for setting middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Fig. 5 is the schematic block diagram for the mobile terminal that the another embodiment of the application provides.As shown in figure 5, the shifting of the embodiment Dynamic terminal 5 includes: one or more processors 50, memory 51 and is stored in the memory 51 and can be in the processing The computer program 52 run on device 50.The processor 50 is realized above-mentioned each mobile whole when executing the computer program 52 Step in the control method embodiment at end, such as step S101 to S103 shown in FIG. 1.Alternatively, the processor 50 executes The function of each module/unit in above-mentioned mobile terminal embodiment, such as module 41 shown in Fig. 4 are realized when the computer program 52 To 43 function.
Illustratively, the computer program 52 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 51, and are executed by the processor 50, to complete the application.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 52 in the mobile terminal 5 is described.For example, the computer program 52 can be divided It is cut into confirmation module, data volume obtains module, control module.
The confirmation module, for the mobile terminal be preset state when, determine the mobile terminal currently whether It is connected to wireless network;
The data volume obtains module and obtains the shifting if being currently connected to wireless network for the mobile terminal Within dynamic terminal preset time, pass through the data volume of the wireless network transmission currently connected;
The control module, if for the data volume less than the first preset value, by the wireless network of the mobile terminal The transmission power of card is set as the first predetermined power, and first predetermined power is that the mobile terminal and the wireless network are protected Hold the minimum emissive power of wireless network card in mobile terminal when connection status.
Other modules or unit can refer to the description in embodiment shown in Fig. 4, and details are not described herein.
The mobile terminal includes but are not limited to processor 50, memory 51.It will be understood by those skilled in the art that figure 5 be only an example of mobile terminal 5, does not constitute the restriction to mobile terminal 5, may include more more or less than illustrating Component, perhaps combine certain components or different components, for example, the mobile terminal can also include input equipment, it is defeated Equipment, network access equipment, bus etc. out.
The processor 50 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 51 can be the internal storage unit of the mobile terminal 5, such as the hard disk or interior of mobile terminal 5 It deposits.The memory 51 is also possible to the External memory equipment of the mobile terminal 5, such as be equipped on the mobile terminal 5 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the mobile terminal 5 Member also includes External memory equipment.The memory 51 is for storing needed for the computer program and the mobile terminal Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method can pass through it Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the module or list Member division, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or Component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point is shown The mutual coupling or direct-coupling or communication connection shown or discussed can be through some interfaces, between device or unit Coupling or communication connection are connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and Telecommunication signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all Comprising within the scope of protection of this application.

Claims (9)

1. a kind of control method of mobile terminal characterized by comprising
When the mobile terminal is preset state, determine whether the mobile terminal is currently connected to wireless network;
If the mobile terminal is currently connected to wireless network, obtain within the mobile terminal preset time, by current The data volume that the wireless network of connection is sent;
If the data volume less than the first preset value, indicates that the mobile terminal passes through the number that the wireless network currently connected is sent It is less according to measuring, need to control the mobile terminal and the wireless network will not in connection breaking, then by the nothing of the mobile terminal The transmission power of gauze card is set as the first predetermined power, and first predetermined power is the mobile terminal and the wireless network When network keeps connection status in the mobile terminal wireless network card minimum emissive power, keep the mobile terminal to pass through described The data that wireless network is sent will not interrupt;
Monitor the connection status of the mobile terminal Yu the wireless network;
If monitoring, the connection status is disconnecting, and the current transmission power of wireless network card in the mobile terminal is increased Add preset step-length to establish connection with the wireless network again;
If establishing connection failure with the wireless network again, continue the transmitting that wireless network card in the mobile terminal is current Power increases preset step-length to establish connection with the wireless network again, connect until being successfully established with the wireless network.
2. the control method of mobile terminal as described in claim 1, which is characterized in that the preset state packet of the mobile terminal It includes:
The mobile terminal is that wireless network card is open state in standby mode and the mobile terminal.
3. the control method of mobile terminal as described in claim 1, which is characterized in that by the wireless network of the mobile terminal The transmission power of card is set as before the first predetermined power, further includes:
Obtain the transmitting function that wireless network card is current in the signal strength indication and the mobile terminal of the wireless network currently connected Rate;
It is calculated according to the current transmission power of the signal strength indication of the wireless network and the wireless network card and obtains first in advance If power.
4. the control method of mobile terminal as claimed in claim 3, which is characterized in that the letter according to the wireless network Number intensity value and the current transmission power of the wireless network card, which calculate, to be obtained the first predetermined power and includes:
Pass through formula P1=P- (X-Y-n) is calculated and is obtained first predetermined power;
Wherein, P1Indicate that the first predetermined power, P indicate the transmission power that wireless network card is current in the mobile terminal, X indicates institute The signal strength indication of wireless network is stated, Y indicates to keep the minimum signal strength value of wireless network when connection status, and n is the nothing The difference of the transmission power of the transmission power and wireless network card in the mobile terminal of the corresponding wireless access points of gauze network Value, n=PAP- P, PAPFor the transmission power of the corresponding wireless access points of the wireless network.
5. such as the control method of the described in any item mobile terminals of Claims 1-4, which is characterized in that determining the movement Whether terminal is currently connected to after wireless network, further includes:
If the mobile terminal is currently not connected with wireless network, the wireless network card of the mobile terminal is closed;
Or,
If the mobile terminal is currently not connected with wireless network, the transmission power of wireless network card in the mobile terminal is arranged For the second predetermined power, second predetermined power is that the signal strength indication that the wireless device at pre-determined distance receives is the When two preset values, the transmission power of wireless network card in the mobile terminal.
6. the control method of mobile terminal as claimed in claim 5, which is characterized in that by wireless network in the mobile terminal The transmission power of card is set as before the second predetermined power, further includes:
Pass through formula P2=32.5+20 (log10(f)+log10(l))+pl, calculate and obtain second predetermined power;
Wherein, P2For second predetermined power, f indicates the frequency of the wireless signal of wireless network card transmitting, and l indicates pre-determined distance, plIndicate the second preset value.
7. a kind of mobile terminal characterized by comprising
Confirmation module, for determining whether the mobile terminal is currently connected to nothing when the mobile terminal is preset state Gauze network;
Data volume obtains module and it is pre- to obtain the mobile terminal if being currently connected to wireless network for the mobile terminal If within the time, passing through the data volume of the wireless network transmission currently connected;
Control module, if indicating that the mobile terminal passes through the nothing currently connected for the data volume less than the first preset value The data volume that gauze network is sent is less, need to control the mobile terminal and the wireless network will not in connection breaking, then by institute The transmission power for stating the wireless network card of mobile terminal is set as the first predetermined power, and first predetermined power is described mobile whole The minimum emissive power at end and wireless network card in mobile terminal described when wireless network holding connection status, keeps the shifting The data that dynamic terminal is sent by the wireless network will not interrupt;
Detection module, for after setting the first predetermined power for the transmission power of the wireless network card of the mobile terminal, Monitor the connection status of the mobile terminal Yu the wireless network;
Link block is established, if for monitoring that the connection status is disconnecting, by wireless network in the mobile terminal Block current transmission power and increases preset step-length to establish connection with the wireless network again;
Loop module, if continuing will be wireless in the mobile terminal for establishing connection failure with the wireless network again The current transmission power of network interface card increases preset step-length to establish connection with the wireless network again, until with the wireless network It is successfully established connection.
8. a kind of mobile terminal, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 6 when executing the computer program The step of any one the method.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence realizes the step such as any one of claim 1 to 6 the method when the computer program is executed by one or more processors Suddenly.
CN201810391830.XA 2018-04-27 2018-04-27 A kind of control method of mobile terminal, mobile terminal and storage medium Active CN108541058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810391830.XA CN108541058B (en) 2018-04-27 2018-04-27 A kind of control method of mobile terminal, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810391830.XA CN108541058B (en) 2018-04-27 2018-04-27 A kind of control method of mobile terminal, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN108541058A CN108541058A (en) 2018-09-14
CN108541058B true CN108541058B (en) 2019-06-18

Family

ID=63479336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810391830.XA Active CN108541058B (en) 2018-04-27 2018-04-27 A kind of control method of mobile terminal, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108541058B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110677533B (en) * 2019-08-21 2021-06-29 深圳市万普拉斯科技有限公司 Mobile terminal control method and device, mobile terminal and storage medium
CN111343703B (en) * 2020-02-20 2023-06-30 RealMe重庆移动通信有限公司 Transmission power control method, device, mobile terminal and storage medium
CN112305377A (en) * 2020-10-29 2021-02-02 广西电网有限责任公司南宁供电局 Power transmission line monitoring method, device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104768181A (en) * 2015-03-10 2015-07-08 惠州Tcl移动通信有限公司 WIFI transmitted power adjusting method and system of mobile terminal
CN106455014A (en) * 2015-08-10 2017-02-22 宇龙计算机通信科技(深圳)有限公司 WiFi power consumption control method and WiFi power consumption control device
CN106658573A (en) * 2017-01-10 2017-05-10 广东欧珀移动通信有限公司 Transmitting power control method for wireless local area network and mobile terminal
CN107155211A (en) * 2017-06-14 2017-09-12 广东艾檬电子科技有限公司 Adjusting method, device, mobile terminal and the storage medium of WiFi transmission powers
CN107613545A (en) * 2016-07-11 2018-01-19 中兴通讯股份有限公司 Transmission power processing method and processing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104768181A (en) * 2015-03-10 2015-07-08 惠州Tcl移动通信有限公司 WIFI transmitted power adjusting method and system of mobile terminal
CN106455014A (en) * 2015-08-10 2017-02-22 宇龙计算机通信科技(深圳)有限公司 WiFi power consumption control method and WiFi power consumption control device
CN107613545A (en) * 2016-07-11 2018-01-19 中兴通讯股份有限公司 Transmission power processing method and processing device
CN106658573A (en) * 2017-01-10 2017-05-10 广东欧珀移动通信有限公司 Transmitting power control method for wireless local area network and mobile terminal
CN107155211A (en) * 2017-06-14 2017-09-12 广东艾檬电子科技有限公司 Adjusting method, device, mobile terminal and the storage medium of WiFi transmission powers

Also Published As

Publication number Publication date
CN108541058A (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN108541058B (en) A kind of control method of mobile terminal, mobile terminal and storage medium
US20230092994A1 (en) Load sharing between wireless earpieces
CN108476060A (en) Method and bimodulus bluetooth equipment for establishing classical bluetooth connection between bimodulus bluetooth equipment
CN107404740B (en) Method for switching network, device and the terminal device of safety
CN108781000A (en) Shared charging method, system, mobile terminal, shared charging equipment and server
CN105519208A (en) Method and apparatus for estimating transmit power of a wireless device
CN110381130A (en) The long connection method of keep-alive, device, communication terminal and storage medium
CN109788461A (en) Bluetooth dual mode data communication means and device
CN108738008A (en) Bluetooth pairing methods and system
CN107979515A (en) A kind of control method of intelligent appliance, terminal device and storage medium
EP4037389A1 (en) Capability parameter determination method, uplink scheduling method, terminal and network side device
KR20200086149A (en) A method and apparatus for power saving of a terminal in a wireless communication system
CN110505516A (en) A kind of throwing screen control method, device and system
CN103326749A (en) NFC radio frequency communication control method, device and system
CN112269086A (en) Charging cable identification method and device, charging cable and readable storage medium
CN110350934A (en) Multi-card terminal and its communication means, computer equipment
CN108337706A (en) A kind of switching method of wireless network, mobile terminal and storage medium
CN110198560A (en) A kind of power distribution method and terminal
CN112351097A (en) Device control method, device, sending end and storage medium
CN110797985B (en) Coil switching method and device, storage medium and electronic equipment
CN113703689B (en) Data storage method and device for intelligent electric meter, intelligent electric meter and storage medium
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN207664994U (en) A kind of appliance control system
CN109714734A (en) DMR system, the wireless communications method of DMR, device and terminal device
CN108009110A (en) device identification method and device

Legal Events

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