CN110022600B - Driving current adjusting method and device, storage medium and mobile terminal - Google Patents

Driving current adjusting method and device, storage medium and mobile terminal Download PDF

Info

Publication number
CN110022600B
CN110022600B CN201910281807.XA CN201910281807A CN110022600B CN 110022600 B CN110022600 B CN 110022600B CN 201910281807 A CN201910281807 A CN 201910281807A CN 110022600 B CN110022600 B CN 110022600B
Authority
CN
China
Prior art keywords
mobile terminal
driving current
preset
driving
bluetooth
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
CN201910281807.XA
Other languages
Chinese (zh)
Other versions
CN110022600A (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.)
Xiamen Jiupin Sesame Information Technology Co ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201910281807.XA priority Critical patent/CN110022600B/en
Publication of CN110022600A publication Critical patent/CN110022600A/en
Application granted granted Critical
Publication of CN110022600B publication Critical patent/CN110022600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • H04W52/245TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The application discloses a method and a device for adjusting driving current, a storage medium and a mobile terminal. The method comprises the following steps: acquiring a first driving current, wherein the first driving current is a current currently used for driving the preset first device; acquiring the working state of a preset second device of a second mobile terminal; determining a second driving current according to the working state; if the difference value between the first driving current and the second driving current is larger than a preset first threshold, adjusting the first driving current according to a preset amplitude to obtain an adjusted driving current; and driving the preset first device according to the adjusted driving current. This application can be when the signal strength variation in twinkling of an eye of bluetooth, avoids the condition that mobile terminal loses electricity to appear.

Description

Driving current adjusting method and device, storage medium and mobile terminal
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a method and an apparatus for adjusting a driving current, a storage medium, and a mobile terminal.
Background
Bluetooth is a wireless technology standard, and can realize short-distance data exchange among fixed equipment, mobile equipment and a building personal area network. At present, after a mobile terminal and another mobile terminal are connected in a bluetooth pairing manner, when a fault occurs in one mobile terminal or an obstacle such as a wall exists between the two mobile terminals, the intensity of a bluetooth signal received by the other mobile terminal is instantly deteriorated, so that the driving current of bluetooth is instantly increased by the other mobile terminal, and then the battery of the other mobile terminal is powered off.
Disclosure of Invention
The embodiment of the application provides a method and a device for adjusting a driving current, a storage medium and a mobile terminal, which can avoid the power failure of the mobile terminal when the signal intensity of Bluetooth becomes poor instantly.
The embodiment of the application provides a method for adjusting a driving current, which comprises the following steps:
acquiring a first driving current, wherein the first driving current is a current currently used for driving the preset first device;
acquiring the working state of a preset second device of a second mobile terminal;
determining a second driving current according to the working state;
if the difference value between the first driving current and the second driving current is larger than a preset first threshold, adjusting the first driving current according to a preset amplitude to obtain an adjusted driving current;
and driving the preset first device according to the adjusted driving current.
The embodiment of the application provides a method for adjusting a driving current, which comprises the following steps:
acquiring a first working state of a preset second device of a second mobile terminal;
acquiring a second working state of a preset second device of a second mobile terminal;
if the first working state and the second working state meet a preset condition, acquiring a driving current, wherein the driving current is a current currently used for driving a preset first device;
adjusting the driving current according to a preset amplitude to obtain an adjusted driving current;
and driving the preset first device according to the adjusted driving current.
The embodiment of the application provides a drive current's adjusting device, includes:
the first obtaining module is used for obtaining a first driving current, wherein the first driving current is a current currently used for driving the preset first device;
the second acquisition module is used for acquiring the working state of a preset second device of the second mobile terminal;
the determining module is used for determining a second driving current according to the working state;
the adjusting module is used for adjusting the first driving current according to a preset amplitude to obtain an adjusted driving current if the difference value between the first driving current and the second driving current is larger than a preset first threshold;
and the driving module is used for driving the preset first device according to the adjusted driving current.
The embodiment of the application provides a drive current's adjusting device, includes:
the first acquisition module is used for acquiring a first working state of a preset second device of the second mobile terminal;
the second obtaining module is used for obtaining a second working state of a preset second device of the second mobile terminal;
a third obtaining module, configured to obtain a driving current if the first operating state and the second operating state meet a preset condition, where the driving current is a current currently used for driving the preset first device;
the adjusting module is used for adjusting the driving current according to a preset amplitude to obtain an adjusted driving current;
and the driving module is used for driving the preset first device according to the adjusted driving current.
An embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is caused to execute a flow in a method for adjusting a driving current provided by an embodiment of the present application.
The embodiment of the present application further provides a mobile terminal, which includes a memory and a processor, where the processor is configured to execute the flow in the driving current adjusting method provided in the embodiment of the present application by calling the computer program stored in the memory.
In the embodiment of the application, when the signal intensity of the bluetooth of the second mobile terminal connected with the bluetooth of the first mobile terminal in a paired manner becomes poor instantaneously, the first mobile terminal does not directly increase the driving current for driving the bluetooth of the first mobile terminal instantaneously, but the driving current for driving the bluetooth of the first mobile terminal is increased gradually according to the preset amplitude, and on the basis of ensuring that the bluetooth has certain signal intensity, the situation that the first mobile terminal is powered off is avoided.
Drawings
The technical solutions and advantages of the present application will become apparent from the following detailed description of specific embodiments of the present application when taken in conjunction with the accompanying drawings.
Fig. 1 is a first flowchart illustrating a method for adjusting a driving current according to an embodiment of the present disclosure.
Fig. 2 is a second flowchart of a method for adjusting a driving current according to an embodiment of the present disclosure.
Fig. 3 is a third flowchart illustrating a method for adjusting a driving current according to an embodiment of the present application.
Fig. 4 is a fourth flowchart illustrating a driving current adjusting method according to an embodiment of the present application.
Fig. 5 is a first structural schematic diagram of a driving current adjusting device according to an embodiment of the present application.
Fig. 6 is a second structural schematic diagram of a driving current adjusting device according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
It is understood that the execution subject of the embodiment of the present application may be an electronic device such as a smart phone or a tablet computer.
It should be noted that "power failure" mentioned in the embodiments of the present application refers to a phenomenon that power failure, power loss, or power quality failing to meet a requirement causes that the electric device cannot work normally.
Referring to fig. 1, fig. 1 is a first schematic flow chart of a method for adjusting a driving current according to an embodiment of the present application, where the flow chart includes:
101, obtaining a first driving current, where the first driving current is a current currently used for driving a preset first device of a first mobile terminal.
For example, first, a first mobile terminal and a second mobile terminal may establish a connection. Then, the first mobile terminal may obtain the first driving current. Wherein the first driving current is a current currently used to drive a preset first device of the first mobile terminal.
For example, the first driving current is a current for driving bluetooth of the first mobile terminal.
And 102, acquiring the working state of a preset second device of the second mobile terminal.
For example, the first mobile terminal may obtain a preset operating state of the second device of the second mobile terminal.
And 103, determining the first driving current according to the preset working state of the second device.
After the first mobile terminal acquires the working state of the preset second device of the second mobile terminal, the first mobile terminal may determine the second driving current according to the working state of the preset second device.
Wherein, the working state of each preset second device corresponds to a driving current one by one. That is, the working states of the preset second devices obtained by the first mobile terminal are different, and the first driving currents correspondingly obtained by the first mobile terminal are also different.
For example, the correspondence relationship between the operation state of the preset second device and the drive current may be set in advance. When the first mobile terminal obtains the working state of the preset second device, the second driving current corresponding to the working state of the preset second device obtained by the first mobile terminal can be determined according to the corresponding relation between the working state of the preset second device and the driving current.
In some embodiments, the first mobile terminal may obtain the first driving current while determining the second driving current according to a preset operating state of the second device.
In other embodiments, the first mobile terminal may obtain the first driving current while obtaining the preset operating state of the second device of the second mobile terminal.
In some embodiments, the first mobile terminal may obtain the first driving current before obtaining the preset operating state of the second device of the second mobile terminal.
In other embodiments, the first mobile terminal may obtain the first driving current after determining the first driving current according to a preset operating state of the second device.
That is, in the present embodiment, it is possible to determine when to obtain the first drive current according to actual requirements, and there is no particular limitation here.
And 104, if the difference value between the first driving current and the second driving current is greater than a preset first threshold, adjusting the first driving current according to a preset amplitude to obtain the adjusted driving current.
For example, after obtaining the first driving current and the second driving current, the first mobile terminal compares whether the first driving current and the second driving current are equal. If the first driving current is equal to the second driving current, no processing is performed. If the first driving current is not equal to the second driving current, the first mobile terminal calculates whether a difference value between the first driving current and the second driving current is greater than a preset first threshold value. If the difference value of the first driving current and the second driving current is larger than a preset first threshold value, the first mobile terminal adjusts the first driving current according to a preset amplitude; if the difference between the first driving current and the second driving current is less than or equal to the preset first threshold, the first mobile terminal may not perform the processing, or the second driving current may be directly adopted to drive the preset first device of the first mobile terminal.
That is, when the difference between the first driving current and the second driving current is greater than the preset first threshold, the first mobile terminal adjusts the first driving current according to the preset amplitude to obtain the adjusted driving current.
The preset first threshold and the preset amplitude may be set according to actual requirements, and are not specifically limited herein.
It should be noted that the value of the preset amplitude should not be too large, so as to avoid the situation that the difference between the adjusted driving current and the first driving current is too large, which causes the power failure of the first mobile terminal.
And 105, driving a preset first device according to the adjusted driving current.
For example, after obtaining the adjusted driving current, the first mobile terminal may drive the preset first device according to the adjusted driving current.
In some embodiments, a preset button may be provided, and when the battery power of the first mobile terminal is too low, the user may click the preset button, and the first mobile terminal performs the method for adjusting the driving current according to this embodiment. Or, when the battery power of the first mobile terminal is too low, the first mobile terminal may automatically turn on the method for adjusting the driving current according to this embodiment.
It can be understood that the method for adjusting the driving current provided by the present embodiment includes: acquiring a first driving current, wherein the first driving current is a current currently used for driving a preset first device; acquiring the working state of a preset second device of a second mobile terminal; determining a second driving current according to the working state; if the difference value of the first driving current and the second driving current is larger than a preset first threshold value, adjusting the first driving current according to a preset amplitude to obtain an adjusted driving current; driving a preset first device according to the adjusted driving current; the driving current of the preset first device can be increased moderately, and the situation that the first mobile terminal is powered off is avoided.
Referring to fig. 2, fig. 2 is a schematic diagram of a second flow of a method for adjusting a driving current according to an embodiment of the present disclosure, in which the method for adjusting a driving current according to an embodiment of the present disclosure is further described by taking bluetooth preset by a first device as a first mobile terminal and bluetooth preset by a second device as a second mobile terminal as an example. Wherein, the process may include:
a first mobile terminal acquires a first driving current, wherein the first driving current is a current currently used for driving Bluetooth of the first mobile terminal;
for example, first, a first mobile terminal and a second mobile terminal may establish a connection.
For example, the first mobile terminal and the second mobile terminal both turn on bluetooth, and then the first mobile terminal searches for the second mobile terminal that turns on bluetooth. When the first mobile terminal searches the second mobile terminal, the first mobile terminal sends a pairing connection request to the second mobile terminal. When the second mobile terminal receives the pairing connection request, pairing connection can be performed with the first mobile terminal according to the pairing connection request. Thereby finally enabling the first mobile terminal and the second mobile terminal to establish connection.
After the first mobile terminal establishes a connection with the second mobile terminal, the first mobile terminal may obtain the first driving current. Wherein the first driving current is a current currently used to drive bluetooth of the first mobile terminal.
The process 201 may include: the first mobile terminal obtains a first driving current at intervals of a preset time.
To reduce the processing load of the first mobile terminal, the battery life of the first mobile terminal is increased. A preset time period may be set, so that the first mobile terminal does not need to obtain the first driving current all the time, but may obtain the first driving current every other preset time period. For example, the preset time period may be 20 ms, 10 ms, 100 ms, etc., and is not particularly limited herein, subject to actual requirements.
202, the first mobile terminal obtains a signal strength value of the bluetooth of the second mobile terminal, where the signal strength value is used to represent an operating state of the bluetooth of the second mobile terminal.
After acquiring the first driving current, the first mobile terminal may acquire a signal intensity value of bluetooth of the second mobile terminal.
And 203, the first mobile terminal determines a second driving current according to the signal intensity value of the Bluetooth of the second mobile terminal.
The process 203 may include: and the first mobile terminal determines a second driving current according to the signal intensity value of the Bluetooth of the second mobile terminal and the preset corresponding relation between the signal intensity value of the Bluetooth of the second mobile terminal and the driving current.
For example, the first mobile terminal may preset a preset corresponding relationship between the signal strength value of the bluetooth of the second mobile terminal and the driving current. After the signal intensity value of the bluetooth of the second mobile terminal is acquired, the first mobile terminal can determine the second driving current according to the signal intensity value of the bluetooth of the second mobile terminal and the preset corresponding relationship between the signal intensity value of the bluetooth of the second mobile terminal and the driving circuit.
For example, in some embodiments, the preset correspondence between the signal strength value of the bluetooth of the second mobile terminal and the driving current may be established as shown in table 1.
TABLE 1 corresponding relationship between signal intensity and driving current of Bluetooth of a second mobile terminal
Signal strength S of bluetooth of the second mobile terminal Drive current I
S>-10dbm I=I1
-10dbm≥S>-20dbm I=I2
-20dbm≥S>-30dbm I=I3
-30dbm≥S>-40dbm I=I4
-40dbm≥S>-50dbm I=I5
-50dbm≥S>-60dbm I=I6
-60dbm≥S>-70dbm I=I7
-70dbm≥S>-80dbm I=I8
-80dbm≥S>-90dbm I=I9
S≤-90dbm I=I10
Where dbm represents the unit of signal strength. I is1~I10The magnitude of the drive current is only schematically shown and is not intended to be directly indicative of the magnitude of the drive current, i.e. at I1~I10In, I1The indicated current value is minimal, I10The current value indicated is the largest, and so on.
For example, when the signal strength is greater than-10 dbm, the corresponding drive current may be 10 mA; when the signal intensity is greater than-20 dbm and less than or equal to-10 dbm, the corresponding driving current can be 30 mA.
It should be noted that table 1 is only an example of the preset corresponding relationship between the signal strength value of the bluetooth of the second mobile terminal and the driving current in this embodiment, and is not intended to limit the present application. That is, the preset corresponding relationship between the signal intensity value of the bluetooth of the second mobile terminal and the driving current may also be in other forms, for example, the preset corresponding relationship between the signal intensity value of the bluetooth of the second mobile terminal and the driving current may be established according to actual situations, and the like, and is not limited herein.
In some embodiments, the first mobile terminal may obtain the first driving current while determining the second driving current according to a signal strength value of bluetooth of the second mobile terminal.
In still other embodiments, the first mobile terminal may obtain the first driving current while obtaining the signal strength value of the bluetooth of the second mobile terminal.
In some embodiments, the first mobile terminal may obtain the first drive current before obtaining the signal strength value for bluetooth of the second mobile terminal.
In still other embodiments, the first mobile terminal may obtain the first driving current after determining the second driving current according to a signal strength value of bluetooth of the second mobile terminal.
That is, in the present embodiment, the time for acquiring the first driving current may be determined according to actual requirements, and is not particularly limited herein.
And 204, if the second driving current is greater than the first driving current and the difference value between the first driving current and the second driving current is greater than a preset first threshold, the first mobile terminal increases the second driving current according to a preset amplitude to obtain the adjusted driving current.
For example, after obtaining the first driving current and the second driving current, the first mobile terminal compares whether the first driving current and the second driving current are equal. If the first driving current is equal to the second driving current, no processing is performed. If the first driving current is not equal to the second driving current, the first mobile terminal determines whether the second driving current is greater than the first driving current and whether a difference between the first driving current and the second driving current is greater than a preset first threshold. If the second driving current is larger than the first driving current and the difference value between the first driving current and the second driving current is larger than a preset first threshold, the first mobile terminal increases the first driving current according to a preset amplitude modulation.
That is, when the second driving current is greater than the first driving current and the difference between the first driving current and the second driving current is greater than the preset first threshold, the first mobile terminal increases the first driving current according to the preset amplitude to obtain the adjusted driving current.
The preset first threshold and the preset amplitude may be set according to actual requirements, and are not specifically limited herein.
It should be noted that the value of the preset amplitude should not be too large, so as to avoid the situation that the difference between the adjusted driving current and the first driving current is too large, which causes the power failure of the first mobile terminal.
205, the first mobile terminal drives the bluetooth of the first mobile terminal according to the adjusted driving current.
For example, after obtaining the adjusted driving current, the first mobile terminal may drive the bluetooth according to the adjusted driving current.
It can be understood that, in this embodiment, when the signal intensity of the bluetooth of the second mobile terminal paired and connected with the bluetooth of the first mobile terminal becomes poor instantaneously, the first mobile terminal does not directly increase the driving current of the bluetooth that drives the first mobile terminal instantaneously, but makes the driving current of the bluetooth that drives the first mobile terminal increase gently according to a preset amplitude, and on the basis of ensuring that the bluetooth has a certain signal intensity, the situation that the first mobile terminal is powered off is avoided.
In some embodiments, the method of adjusting the driving current may further include: and if the second driving current is smaller than the first driving current and the difference value between the first driving current and the second driving current is larger than a preset threshold, reducing the second driving current according to a preset amplitude to obtain the adjusted driving current.
In some embodiments, the method of adjusting the driving current may further include: and if the first driving current is equal to the second driving current, maintaining the first driving current currently driving the first mobile terminal unchanged.
Referring to fig. 3, fig. 3 is a third flow chart illustrating a method for adjusting a driving current according to an embodiment of the present application, where the flow chart includes:
301, a first working state of a preset second device of the second mobile terminal is obtained.
302, a second working state of a preset second device of the second mobile terminal is obtained.
It can be understood that the first mobile terminal and the second mobile terminal need to establish a connection before acquiring the preset operating state of the second device of the second mobile terminal.
After the first mobile terminal and the second mobile terminal establish a connection, the first mobile terminal may obtain a first working state of a preset second device of the second mobile terminal.
After the first mobile terminal acquires the first working state of the preset second device of the second mobile terminal, the first mobile terminal may acquire the second working state of the preset second device of the second mobile terminal.
303, if the first operating state and the second operating state satisfy the preset condition, obtaining a driving current, where the driving current is a current currently used for driving a preset first device of the first mobile terminal.
After the first mobile terminal acquires the first working state and the second working state, the first mobile terminal may determine whether the first working state and the second working state satisfy a preset condition. If the first working state and the second working state meet the preset condition, the first mobile terminal acquires the driving current.
Wherein the driving current is a current currently used to drive a preset first device of the first mobile terminal.
For example, the driving current is a current for driving bluetooth of the first mobile terminal.
In some embodiments, the first mobile terminal may obtain the driving current while obtaining the first operating state of the preset second device of the second mobile terminal.
In other embodiments, the first mobile terminal may obtain the driving current while obtaining the second operation state of the second mobile preset second device.
That is, in the present embodiment, the time for acquiring the driving current may be determined according to actual requirements, and is not particularly limited herein.
And 304, adjusting the driving current according to the preset amplitude to obtain the adjusted driving current.
For example, the first mobile terminal adjusts the second driving current according to a preset amplitude to obtain an adjusted driving current.
The preset threshold and the preset amplitude may be set according to actual requirements, and are not specifically limited herein.
It should be noted that the value of the preset amplitude should not be too large, so as to avoid the situation that the power failure of the first mobile terminal occurs due to an excessive difference between the adjusted driving current and the second driving current.
And 305, driving a preset first device according to the adjusted driving current.
For example, after obtaining the adjusted driving current, the first mobile terminal may drive the preset first device according to the adjusted driving current.
It can be understood that the present embodiment provides a method for adjusting a current in a previous stage, including: acquiring a first working state of a preset second device of a second mobile terminal; acquiring a second working state of a preset second device of a second mobile terminal; if the first working state and the second working state meet the preset condition, acquiring a driving current, wherein the driving current is a current currently used for driving a preset first device; adjusting the driving current according to a preset amplitude to obtain an adjusted driving current; driving a preset first device according to the adjusted driving current; the driving current of the preset first device can be increased moderately, and the situation that the first mobile terminal is powered off is avoided.
Referring to fig. 4, fig. 4 is a fourth flowchart illustrating a method for adjusting a driving current according to an embodiment of the present application, in which the method for adjusting a driving current according to an embodiment of the present application is further described by taking bluetooth preset by a first device as a first mobile terminal and bluetooth preset by a second device as a second mobile terminal as an example. Wherein, the process may include:
401, a first mobile terminal obtains a first signal strength value of bluetooth of a second mobile terminal, where the first signal strength value is used to indicate a first working state of the bluetooth of the second mobile terminal.
It is understood that the first mobile terminal needs to establish a connection with the second mobile terminal before the first mobile terminal obtains the first signal strength value of the bluetooth of the second mobile terminal.
For example, the first mobile terminal and the second mobile terminal both turn on bluetooth, and then the first mobile terminal searches for the second mobile terminal that turns on bluetooth. When the first mobile terminal searches the second mobile terminal, the first mobile terminal sends a pairing connection request to the second mobile terminal. When the second mobile terminal receives the pairing connection request, pairing connection can be performed with the first mobile terminal according to the pairing connection request. Thereby finally enabling the first mobile terminal and the second mobile terminal to establish connection.
After the first mobile terminal establishes a connection with the second mobile terminal, the first mobile terminal may obtain a first signal strength value of bluetooth of the second mobile terminal.
The process 401 may include: the first mobile terminal acquires a first signal intensity value of the Bluetooth of the second mobile terminal at intervals of preset time.
To reduce the processing load of the first mobile terminal, the battery life of the first mobile terminal is increased. A preset time period may be set, so that the first mobile terminal does not need to obtain the first signal strength value of the bluetooth of the second mobile terminal all the time, but may obtain the first signal strength value of the bluetooth of the second mobile terminal every other preset time period. For example, the preset time period may be 20 ms, 10 ms, 100 ms, etc., and is not particularly limited herein, subject to actual requirements.
402, the first mobile station obtains a second signal strength value of the bluetooth of the second mobile station, where the second signal strength value is used to represent a second working state of the bluetooth of the second mobile station.
After the first mobile terminal acquires the first signal intensity value of the bluetooth of the second mobile terminal, the first mobile terminal may acquire a second signal intensity value of the bluetooth of the second mobile terminal.
In this embodiment, the interval between the acquisition of the first signal strength value and the acquisition of the second signal strength value may be set. For example, the interval time may be 5 ms, 20 ms, 100 ms, etc., and is not limited in particular herein, subject to actual requirements.
And 403, if the first signal strength value is greater than the second signal strength value, and the difference between the first signal strength value and the second signal strength value is greater than a preset second threshold, the first mobile terminal obtains a driving current, where the driving current is a current currently used for driving bluetooth of the first mobile terminal.
After the first mobile terminal obtains the first signal strength value and the second signal strength value, the first mobile terminal may determine whether the first signal strength value is greater than the second signal strength value, and determine whether a difference between the first signal strength value and the second signal strength value is greater than a preset second threshold. If the first signal intensity value is larger than the second signal intensity value, and the difference value between the first signal intensity value and the second signal intensity value is larger than a preset second threshold value, the first mobile terminal obtains the driving current.
The preset second threshold may be set according to actual requirements, and is not specifically limited herein.
And 404, the first mobile terminal increases the driving current according to a preset amplitude to obtain the adjusted driving current.
For example, after the first mobile terminal obtains the driving current, the driving current is increased according to a preset amplitude, so as to obtain an adjusted driving current.
The preset amplitude can be set according to actual requirements, and is not particularly limited herein.
It should be noted that the value of the preset amplitude should not be too large, so as to avoid the situation that the power failure of the first mobile terminal occurs due to an excessive difference between the adjusted driving current and the second driving current.
And 405, the first mobile terminal drives the Bluetooth of the first mobile terminal according to the adjusted driving current.
For example, after obtaining the adjusted driving current, the first mobile terminal may drive the bluetooth according to the adjusted driving current.
It can be understood that, in this embodiment, when the signal intensity of the bluetooth of the second mobile terminal paired and connected with the bluetooth of the first mobile terminal becomes poor instantaneously, the first mobile terminal does not directly increase the driving current of the bluetooth for driving the first mobile terminal instantaneously, but makes the driving current of the bluetooth for driving the first mobile terminal increase gradually according to a preset amplitude, and on the basis of ensuring that the bluetooth has a certain signal intensity, the power down condition of the first mobile terminal is avoided.
Referring to fig. 5, fig. 5 is a schematic view illustrating a first structure of a driving current adjusting device according to an embodiment of the present disclosure. The drive current adjusting apparatus includes: a first obtaining module 501, a second obtaining module 502, a determining module 503, an adjusting module 504 and a driving module 505.
A first obtaining module 501, configured to obtain a first driving current, where the first driving current is a current currently used to drive the preset first device.
A second obtaining module 502, configured to obtain a working state of a preset second device of the second mobile terminal.
A determining module 503, configured to determine the second driving current according to the working state.
An adjusting module 504, configured to adjust the first driving current according to a preset amplitude if a difference between the first driving current and the second driving current is greater than a preset first threshold, so as to obtain an adjusted driving current.
And a driving module 505, configured to drive the preset first device according to the adjusted driving current.
In some embodiments, the adjustment module 504 may be configured to: and if the second driving current is larger than the first driving current and the difference value between the first driving current and the second driving current is larger than a preset threshold value, increasing the first driving current according to a preset amplitude to obtain the adjusted driving current.
In some embodiments, the preset second device is bluetooth of a second mobile terminal, and the second obtaining module 502 may be configured to: acquiring a signal intensity value of Bluetooth of a second mobile terminal, wherein the signal intensity value is used for representing the working state of the Bluetooth of the second mobile terminal;
the determining module 503 may be configured to: and determining a second driving current according to the signal intensity value.
In some embodiments, the determining module 503 may be configured to: and determining a second driving current according to the signal intensity value and the preset corresponding relation between the signal intensity value and the driving current.
In some embodiments, the first obtaining module 501 may be configured to: the first driving current is obtained at intervals of a preset time.
Referring to fig. 6, fig. 6 is a second structural schematic diagram of a driving current adjusting device according to an embodiment of the present disclosure. The drive current adjusting apparatus includes: a first obtaining module 601, a second obtaining module 602, a third obtaining module 603, an adjusting module 604 and a driving module 605.
The first obtaining module 601 is configured to obtain a first working state of a preset second device of a second mobile terminal.
The second obtaining module 602 is configured to obtain a second working state of a preset second device of the second mobile terminal.
A third obtaining module 603, configured to obtain a driving current if the first operating state and the second operating state meet a preset condition, where the driving current is a current currently used for driving the preset first device.
The adjusting module 604 is configured to adjust the driving current according to a preset amplitude, so as to obtain an adjusted driving current.
The driving module 605 is configured to drive the preset first device according to the adjusted driving current.
In some embodiments, the preset second device is a bluetooth of the second mobile terminal, and the first obtaining module 601 may be configured to: acquiring a first signal intensity value of Bluetooth of a second mobile terminal, wherein the first signal intensity value is used for representing a first working state of the Bluetooth of the second mobile terminal;
the second obtaining module 602 may be configured to: acquiring a second signal intensity value of the Bluetooth of a second mobile terminal, wherein the second signal intensity value is used for representing a second working state of the Bluetooth of the second mobile terminal;
the third obtaining module 603 may be configured to: and if the first signal intensity value is greater than the second signal intensity value, and the difference value between the first signal intensity value and the second signal intensity value is greater than a preset second threshold value, obtaining the driving current.
The adjustment module 604 may be configured to: and increasing the driving current according to a preset amplitude to obtain the adjusted driving current.
The present embodiment provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is caused to execute the flow in the method for adjusting a driving current provided by the present embodiment.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The embodiment of the present application further provides a mobile terminal, which includes a memory and a processor, where the processor is configured to execute the flow in the method for adjusting a driving current provided by the embodiment by calling a computer program stored in the memory.
Fig. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention, where the mobile terminal may be used to implement the method, the apparatus, the storage medium, and the mobile terminal for adjusting a driving current provided in the foregoing embodiments. The mobile terminal 1200 may be a smart phone or a tablet computer.
As shown in fig. 7, the mobile terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one shown), and a power supply 190. Those skilled in the art will appreciate that the mobile terminal 1200 configuration illustrated in fig. 7 is not intended to be limiting of the mobile terminal 1200 and may include more or less components than those illustrated, or some components in combination, or a different arrangement of components. Wherein:
the RF circuit 110 is used for receiving and transmitting electromagnetic waves, and implementing interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuitry 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., Institute of Electrical and Electronics Engineers (IEEE) standard IEEE802.11 a, IEEE802.11 b, IEEE802.11g, and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide mail Access (Microwave Access for micro), wimax-1, other suitable short message protocols, and any other suitable Protocol for instant messaging, and may even include those protocols that have not yet been developed.
The memory 120 may be used to store software programs and modules, such as program instructions/modules corresponding to the method, apparatus, storage medium and mobile terminal for adjusting driving current in the above embodiments, and the processor 180 may execute various functional applications and data processing by running the software programs and modules stored in the memory 120. Memory 120 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 120 may further include memory located remotely from processor 180, which may be connected to mobile terminal 1200 via a network. Examples of the above network include, but are not limited to, the internet, an intranet, a lan, a mobile communication network, and a combination thereof, and the storage 120 may be a storage medium as described above.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to the user and various graphic user interfaces of the mobile terminal 1200, which may be configured of graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 7, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions. In the above embodiment, the display interface of the mobile terminal may be represented by the display unit 140, and content that associates the current mobile payment information with the current store information may be displayed on the display unit 140 of the mobile terminal 1200, that is, the display content displayed on the display interface may be displayed by the display unit 140.
The mobile terminal 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the mobile terminal 1200 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the mobile terminal 1200, detailed descriptions thereof are omitted.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and mobile terminal 1200. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the mobile terminal 1200.
The mobile terminal 1200 may assist a user in transceiving files and the like through the transmission module 170 (e.g., the bluetooth module 1701), which provides wireless short-range communication and the like to the user.
The processor 180 is a control center of the mobile terminal 1200, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 1200 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile phone. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
Specifically, the processor 180 includes: an Arithmetic Logic Unit (ALU), an application processor, a Global Positioning System (GPS) and a control and status Bus (Bus) (not shown).
The mobile terminal 1200 also includes a power supply 190 (e.g., a battery) that powers the various components and, in some embodiments, may be logically coupled to the processor 180 via a power management system that may be used to manage charging, discharging, and power consumption management functions. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein.
Specifically, in the present embodiment, the display unit 140 of the mobile terminal 1200 is a touch screen display, and the mobile terminal 1200 further includes a memory 120 and one or more programs, wherein the one or more programs are stored in the memory 120, and the one or more programs configured to be executed by the one or more processors 180 include instructions for:
acquiring a first driving current, wherein the first driving current is a current currently used for driving the preset first device;
acquiring the working state of a preset second device of a second mobile terminal;
determining a second driving current according to the working state;
if the difference value between the first driving current and the second driving current is larger than a preset first threshold, adjusting the first driving current according to a preset amplitude to obtain an adjusted driving current;
and driving the preset first device according to the adjusted driving current.
In some embodiments, if a difference between the first driving current and the second driving current is greater than a preset first threshold, adjusting the first driving current according to a preset amplitude to obtain an adjusted driving current, including:
and if the second driving current is larger than the first driving current and the difference value between the first driving current and the second driving current is larger than a preset threshold value, increasing the first driving current according to a preset amplitude to obtain the adjusted driving current.
In some embodiments, the preset second device is a bluetooth of the second mobile terminal, and the acquiring the working state of the preset second device of the second mobile terminal includes:
acquiring a signal intensity value of Bluetooth of a second mobile terminal, wherein the signal intensity value is used for representing the working state of the Bluetooth of the second mobile terminal;
determining a second driving current according to the working state comprises:
and determining a second driving current according to the signal intensity value.
In some embodiments, said determining a second drive current from said signal strength value comprises:
and determining a second driving current according to the signal intensity value and the preset corresponding relation between the signal intensity value and the driving current.
In some embodiments, the obtaining the first drive current comprises:
the first driving current is obtained at intervals of a preset time.
As shown in fig. 7, the mobile terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one shown), and a power supply 190. Those skilled in the art will appreciate that the mobile terminal 1200 configuration illustrated in fig. 7 is not intended to be limiting of the mobile terminal 1200 and may include more or less components than those illustrated, or some components in combination, or a different arrangement of components. Wherein:
the RF circuit 110 is used for receiving and transmitting electromagnetic waves, and implementing interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuitry 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., Institute of Electrical and Electronics Engineers (IEEE) standard IEEE802.11 a, IEEE802.11 b, IEEE802.11g, and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide mail Access (Microwave Access for micro), wimax-1, other suitable short message protocols, and any other suitable Protocol for instant messaging, and may even include those protocols that have not yet been developed.
The memory 120 may be used to store software programs and modules, such as program instructions/modules corresponding to the method, apparatus, storage medium and mobile terminal for adjusting driving current in the above embodiments, and the processor 180 may execute various functional applications and data processing by running the software programs and modules stored in the memory 120. Memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 120 can further include memory located remotely from the processor 180, which can be connected to the mobile terminal 1200 through a network. Examples of the above network include, but are not limited to, the internet, an intranet, a lan, a mobile communication network, and a combination thereof, and the storage 120 may be a storage medium as described above.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to the user and various graphic user interfaces of the mobile terminal 1200, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 7, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions. The display interface of the mobile terminal in the above embodiment may be represented by the display unit 140, that is, the display content displayed by the display interface may be displayed by the display unit 140.
The mobile terminal 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the mobile terminal 1200 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the mobile terminal 1200, detailed descriptions thereof are omitted.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and mobile terminal 1200. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the mobile terminal 1200.
The mobile terminal 1200 may assist a user in transceiving files and the like through the transmission module 170 (e.g., the bluetooth module 1701), which provides wireless short-range communication and the like to the user.
The processor 180 is a control center of the mobile terminal 1200, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 1200 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile phone. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
Specifically, the processor 180 includes: an Arithmetic Logic Unit (ALU), an application processor, a Global Positioning System (GPS) and a control and status Bus (Bus) (not shown).
The mobile terminal 1200 also includes a power supply 190 (e.g., a battery) that powers the various components and, in some embodiments, may be logically coupled to the processor 180 via a power management system that may be used to manage charging, discharging, and power consumption management functions. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein.
Specifically, in the present embodiment, the display unit 140 of the mobile terminal 1200 is a touch screen display, and the mobile terminal 1200 further includes a memory 120 and one or more programs, wherein the one or more programs are stored in the memory 120, and the one or more programs configured to be executed by the one or more processors 180 include instructions for:
acquiring a first working state of a preset second device of a second mobile terminal;
acquiring a second working state of a preset second device of a second mobile terminal;
if the first working state and the second working state meet a preset condition, acquiring a driving current, wherein the driving current is a current currently used for driving a preset first device;
adjusting the driving current according to a preset amplitude to obtain an adjusted driving current;
and driving the preset first device according to the adjusted driving current.
In some embodiments, the preset second device is a bluetooth of the second mobile terminal, and the acquiring the first working state of the preset second device of the second mobile terminal includes:
acquiring a first signal intensity value of Bluetooth of a second mobile terminal, wherein the first signal intensity value is used for representing a first working state of the Bluetooth of the second mobile terminal;
the obtaining of the second working state of the preset second device of the second mobile terminal includes:
acquiring a second signal strength value of the Bluetooth of a second mobile terminal, wherein the second signal strength value is used for representing a second working state of the Bluetooth of the second mobile terminal;
if the first working state and the second working state meet a preset condition, then obtaining a driving current, comprising:
if the first signal intensity value is larger than the second signal intensity value, and the difference value between the first signal intensity value and the second signal intensity value is larger than a preset second threshold value, obtaining a driving current;
adjusting the driving current according to a preset amplitude to obtain an adjusted driving current, comprising:
and increasing the driving current according to a preset amplitude to obtain the adjusted driving current.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The method, the apparatus, the storage medium, and the mobile terminal for adjusting the driving current provided by the embodiments of the present application are described in detail above, and a specific example is applied in the description to explain the principle and the implementation of the present application, and the description of the embodiments is only used to help understand the technical solution and the core idea of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (9)

1. A method for adjusting a driving current is applied to a first mobile terminal, wherein the first mobile terminal comprises a preset first device, and the method comprises the following steps:
when the state of a preset second device of a second mobile terminal meets the requirement, adjusting a first driving current according to a preset amplitude to obtain an adjusted driving current, wherein the first driving current is a current currently used for driving the preset first device;
driving the preset first device according to the adjusted driving current;
when the difference value between the first driving current and a second driving current determined according to the working state of a preset second device of the second mobile terminal is larger than a preset first threshold value, determining that the state of the preset second device of the second mobile terminal meets the requirement; or when the first working state and the second working state of the preset second device of the second mobile terminal meet the preset conditions, determining that the state of the preset second device of the second mobile terminal meets the requirements.
2. The method for adjusting the driving current according to claim 1, wherein when the difference between the first driving current and the second driving current determined according to the operating state of the preset second device of the second mobile terminal is greater than a preset first threshold, determining that the state of the preset second device of the second mobile terminal meets the requirement comprises:
and when the second driving current determined according to the working state of the preset second device of the second mobile terminal is larger than the first driving current and the difference value between the first driving current and the second driving current is larger than a preset first threshold value, determining that the state of the preset second device of the second mobile terminal meets the requirement.
3. The method for adjusting driving current according to claim 1, wherein the preset second device is bluetooth of the second mobile terminal, and the determining that the state of the preset second device of the second mobile terminal meets the requirement when the difference between the first driving current and the second driving current determined according to the working state of the preset second device of the second mobile terminal is greater than a preset first threshold value comprises:
and when the difference value between the first driving current and a second driving current determined according to a signal intensity value of a preset second device of the second mobile terminal is larger than a preset first threshold value, determining that the state of the preset second device of the second mobile terminal meets the requirement, wherein the signal intensity value is used for representing the working state of the Bluetooth of the second mobile terminal.
4. The method for adjusting driving current according to claim 3, wherein when the difference between the first driving current and the second driving current determined according to the signal strength value of the preset second device of the second mobile terminal is greater than a preset first threshold, determining that the state of the preset second device of the second mobile terminal meets the requirement comprises:
and when the difference value between the first driving current and a second driving current determined according to the signal intensity value of a preset second device of the second mobile terminal and the preset corresponding relation between the signal intensity value and the driving current is larger than a preset first threshold value, determining that the state of the preset second device of the second mobile terminal meets the requirement.
5. The method according to claim 1, wherein the first driving current is obtained by the first mobile terminal at intervals of a preset time.
6. The method for adjusting driving current according to claim 1, wherein the preset second device is bluetooth of the second mobile terminal, and determining that the state of the preset second device of the second mobile terminal meets the requirement when the first operating state and the second operating state of the preset second device of the second mobile terminal meet the preset condition comprises:
when a first signal intensity value of the Bluetooth of the second mobile terminal is greater than a second signal intensity value of the Bluetooth of the second mobile terminal, and a difference value between the first signal intensity value and the second signal intensity value is greater than a preset second threshold value, determining that a state of a preset second device of the second mobile terminal meets a requirement, wherein the first signal intensity value is used for representing the first working state, and the second signal intensity value is used for representing the second working state;
adjusting the driving current according to a preset amplitude to obtain an adjusted driving current, comprising:
and increasing the driving current according to a preset amplitude to obtain the adjusted driving current.
7. A regulating device of driving current is applied to a first mobile terminal, and the first mobile terminal comprises a preset first device, and is characterized by comprising:
the adjusting module is used for adjusting a first driving current according to a preset amplitude when the state of a preset second device of a second mobile terminal meets the requirement to obtain an adjusted driving current, wherein the first driving current is a current currently used for driving the preset first device;
the driving module is used for driving the preset first device according to the adjusted driving current;
when the difference value between the first driving current and a second driving current determined according to the working state of a preset second device of the second mobile terminal is larger than a preset first threshold value, determining that the state of the preset second device of the second mobile terminal meets the requirement; or when the first working state and the second working state of the preset second device of the second mobile terminal meet the preset conditions, determining that the state of the preset second device of the second mobile terminal meets the requirements.
8. A storage medium, characterized in that a computer program is stored therein, which when run on a computer, causes the computer to execute the method of adjusting a drive current according to any one of claims 1 to 6.
9. A mobile terminal, characterized by comprising a memory, a processor for executing the method of adjusting a drive current according to any one of claims 1 to 6 by calling a computer program stored in the memory.
CN201910281807.XA 2019-04-09 2019-04-09 Driving current adjusting method and device, storage medium and mobile terminal Active CN110022600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910281807.XA CN110022600B (en) 2019-04-09 2019-04-09 Driving current adjusting method and device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910281807.XA CN110022600B (en) 2019-04-09 2019-04-09 Driving current adjusting method and device, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN110022600A CN110022600A (en) 2019-07-16
CN110022600B true CN110022600B (en) 2022-05-06

Family

ID=67190889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910281807.XA Active CN110022600B (en) 2019-04-09 2019-04-09 Driving current adjusting method and device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN110022600B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256610B (en) * 2020-10-19 2022-05-06 Tcl通讯(宁波)有限公司 Connection control method, system, storage medium and mobile terminal
CN113328671B (en) * 2021-06-16 2022-07-29 青岛海信日立空调系统有限公司 Air conditioning system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259921A (en) * 2013-03-01 2013-08-21 衡阳加一电子科技有限公司 Device paring method and device
CN103576569A (en) * 2012-08-08 2014-02-12 联想(北京)有限公司 Automatic adjusting method, equipment and system
CN104135741A (en) * 2014-07-08 2014-11-05 福建联迪商用设备有限公司 Method of Bluetooth low energy communication, Bluetooth devices and system
CN105071500A (en) * 2015-09-07 2015-11-18 小米科技有限责任公司 Terminal, charging method and device of terminal
CN105334420A (en) * 2014-06-27 2016-02-17 联想(北京)有限公司 Information processing method and electronic device
CN106332132A (en) * 2015-07-03 2017-01-11 中兴通讯股份有限公司 Communication terminal for performance adjustment of self-adaptable Bluetooth and method
CN106413070A (en) * 2016-10-19 2017-02-15 广东欧珀移动通信有限公司 Power adjusting method and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9063540B2 (en) * 2009-04-07 2015-06-23 Fisher Controls International Llc Methods and apparatus to limit a change of a drive value in an electro-pneumatic controller
WO2017076291A1 (en) * 2015-11-03 2017-05-11 国民技术股份有限公司 Smart card and peak current reducing method therefor
US20160284185A1 (en) * 2016-06-01 2016-09-29 Global Tracking Communications, Inc. Active bluetooth le tag scanning and tracking for use in vehicle telematics applications
CN107706985A (en) * 2017-10-31 2018-02-16 北京小米移动软件有限公司 terminal charging method and device
CN109245195A (en) * 2018-08-20 2019-01-18 奇酷互联网络科技(深圳)有限公司 The method, apparatus and storage device of mobile terminal and charging process

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103576569A (en) * 2012-08-08 2014-02-12 联想(北京)有限公司 Automatic adjusting method, equipment and system
CN103259921A (en) * 2013-03-01 2013-08-21 衡阳加一电子科技有限公司 Device paring method and device
CN105334420A (en) * 2014-06-27 2016-02-17 联想(北京)有限公司 Information processing method and electronic device
CN104135741A (en) * 2014-07-08 2014-11-05 福建联迪商用设备有限公司 Method of Bluetooth low energy communication, Bluetooth devices and system
CN106332132A (en) * 2015-07-03 2017-01-11 中兴通讯股份有限公司 Communication terminal for performance adjustment of self-adaptable Bluetooth and method
CN105071500A (en) * 2015-09-07 2015-11-18 小米科技有限责任公司 Terminal, charging method and device of terminal
CN106413070A (en) * 2016-10-19 2017-02-15 广东欧珀移动通信有限公司 Power adjusting method and mobile terminal

Also Published As

Publication number Publication date
CN110022600A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
CN111092621B (en) Radio frequency circuit, control method and electronic equipment
WO2019011231A1 (en) Method for reducing sar value of mobile terminal, storage medium and mobile terminal
CN110022600B (en) Driving current adjusting method and device, storage medium and mobile terminal
US11375497B2 (en) Power configuration method and terminal
CN111240451B (en) Heat dissipation method, electronic device and computer-readable storage medium
CN109831798B (en) Signal acquisition method, system, storage medium and mobile terminal
CN112243259A (en) Network disconnection method, device, storage medium and mobile terminal
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN112867171B (en) WIFI connection method and device, storage medium and mobile terminal
CN105635379B (en) Noise suppression method and device
CN112367425B (en) Volume adjusting method and device and terminal
CN111355991B (en) Video playing method and device, storage medium and mobile terminal
CN109672242B (en) Terminal charging control method and device and storage medium
CN109831771B (en) Bluetooth searching method and device, mobile terminal and storage medium
CN111898542A (en) Display screen control method and device and terminal
CN108966298B (en) Communication frequency band control method and device
CN112286849A (en) Wireless charging base data switching method and system, storage medium and terminal equipment
CN111309223A (en) Application function starting method and device, storage medium and mobile terminal
CN111078428A (en) Remote control method and device, storage medium and terminal equipment
CN109995441B (en) Communication information processing method, device and storage medium
CN111031588B (en) Network searching method, device, terminal equipment and storage medium
CN112256610B (en) Connection control method, system, storage medium and mobile terminal
CN110972221B (en) Communication signal processing method and device and mobile terminal
CN111984107B (en) Method and device for processing power supply abnormity of terminal equipment
CN111277642B (en) Method and device for enhancing information transmission speed, 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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231223

Address after: 361000 room 4101, No. 131, xinjingdongli, Haicang District, Xiamen City, Fujian Province

Patentee after: Xiamen Jiupin sesame Information Technology Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right