CN112531835A - Charging method and device of mobile terminal, storage medium and mobile terminal - Google Patents

Charging method and device of mobile terminal, storage medium and mobile terminal Download PDF

Info

Publication number
CN112531835A
CN112531835A CN202011370530.7A CN202011370530A CN112531835A CN 112531835 A CN112531835 A CN 112531835A CN 202011370530 A CN202011370530 A CN 202011370530A CN 112531835 A CN112531835 A CN 112531835A
Authority
CN
China
Prior art keywords
mobile terminal
charging
data
time length
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011370530.7A
Other languages
Chinese (zh)
Inventor
俞斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication 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 CN202011370530.7A priority Critical patent/CN112531835A/en
Publication of CN112531835A publication Critical patent/CN112531835A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/00714Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses a charging method and device of a mobile terminal, a storage medium and the mobile terminal. According to the method and the device, when the charging current exceeds the preset current range of the mobile terminal, a signal is sent to the processor of the mobile terminal, and according to the signal, the storage data in the memory of the mobile terminal are sent to the access equipment connected with the mobile terminal, so that the data in the memory are automatically stored when the current is found to be abnormal, and the data safety of the mobile terminal is guaranteed.

Description

Charging method and device of mobile terminal, storage medium and mobile terminal
Technical Field
The present application belongs to the field of computer technologies, and in particular, to a charging method and apparatus for a mobile terminal, a storage medium, and a mobile terminal.
Background
When charging, the charging voltage and the charging current of the mobile terminal are both output by the charger, and then are limited by the mobile terminal, the charger outputs the voltage and the current to the mobile terminal, and the mobile terminal limits the voltage and the current to be within the range which can be borne by the mobile terminal. For example, the charger outputs 7 volts of voltage, the current is 1.5 amperes to the mobile terminal, the mobile terminal limits the voltage to 5 volts and the current to 1 ampere, if a limit mechanism of the mobile terminal has a leak or the limit function does not function in time or the limit function fails temporarily, high voltage and large current output by the charger can directly enter the interior of the mobile terminal to affect the mobile terminal, if the influence condition is light, the charging function is abnormal, if the influence condition is heavy, a chip is burned out and even the whole mobile terminal is damaged, particularly, when the current is maintained to be large current for a long time, the probability of generating problems is improved.
Therefore, the prior art has defects and needs to be improved and developed.
Disclosure of Invention
The embodiment of the application provides a charging method and device of a mobile terminal, a storage medium and the mobile terminal, which are used for solving the problems of damage to the mobile terminal and data loss caused by overlarge voltage or current when the mobile terminal is charged.
The application provides a charging method of a mobile terminal, which comprises the following steps: detecting whether the charging current exceeds a preset current range of the mobile terminal; when the charging current is judged to exceed the preset current range of the mobile terminal, sending a signal to a processor of the mobile terminal; and sending the stored data in the memory of the mobile terminal to the access equipment connected with the mobile terminal according to the signal.
Further, in the step of sending the data in the memory of the mobile terminal to the access device connected with the mobile terminal according to the signal, the method comprises the following steps: calculating a first time length required by compression of stored data; calculating the size of the compressed data of the stored data; and calculating a second time length required by the compressed data transmission.
Further, in the step of sending the data in the memory of the mobile terminal to the access device connected with the mobile terminal according to the signal, the method further comprises the steps of: calculating a third time length required by the transmission of the stored data; and transmitting the compressed data when the sum of the first duration and the second duration is judged to be less than the third duration, and transmitting the stored data when the sum of the first duration and the second duration is not judged to be less than the third duration.
Further, before the step of detecting whether the charging current exceeds the preset current range of the mobile terminal, the method further comprises the steps of: and acquiring a rated working current range of the mobile terminal, and setting the rated working current range as the preset current range.
The application also provides a charging device of the mobile terminal, which comprises a detection unit, a charging unit and a charging unit, wherein the detection unit is used for detecting whether the charging current exceeds the preset current range of the mobile terminal; the signal sending unit is used for sending a signal to a processor of the mobile terminal when the charging current is judged to exceed the preset current range of the mobile terminal; and the data storage unit is used for sending the storage data in the memory of the mobile terminal to the access equipment connected with the mobile terminal according to the signal.
Further, the charging device further includes: the first duration unit is used for calculating the first duration required by the compression of the stored data; the compression unit is used for calculating the size of the compressed data of the storage data; and a second duration unit for calculating a second duration required for the compressed data transmission.
Further, the charging device further includes: a third time length unit for calculating the third time length required by the transmission of the stored data; and the transmission selection unit is used for transmitting the compressed data when judging that the sum of the first time length and the second time length is less than the third time length, and transmitting the stored data when the sum of the first time length and the second time length is not more than the third time length.
Further, the charging device includes: and the current detection unit is used for acquiring the rated working current range of the mobile terminal and setting the rated working current range as the preset current range.
The application also provides a storage medium, wherein the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the charging method of the mobile terminal.
The application also provides a terminal device, which comprises a processor and a memory, wherein the processor is electrically connected with the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps of the charging method of the mobile terminal.
According to the method, when the charging current is judged to exceed the preset current range of the mobile terminal, a signal is sent to a processor of the mobile terminal, and the stored data in a memory of the mobile terminal is sent to the access equipment connected with the mobile terminal according to the signal, so that the data in the memory is automatically stored when the current is found to be abnormal, and the data safety of the mobile terminal is guaranteed.
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 flowchart illustrating steps of a charging method for a mobile terminal according to an embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating sub-steps of step S140 according to an embodiment of the present disclosure.
Fig. 3 is a schematic structural diagram of a charging device of a mobile terminal according to an embodiment of the present disclosure.
Fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of another mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and the like in the description and in the claims of the present application and in the above-described drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the objects so described are interchangeable under appropriate circumstances. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
In particular embodiments, the drawings discussed below and the various embodiments used to describe the principles of the present disclosure are by way of illustration only and should not be construed to limit the scope of the present disclosure. Those skilled in the art will understand that the principles of the present application may be implemented in any suitably arranged system. Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. Further, a terminal according to an exemplary embodiment will be described in detail with reference to the accompanying drawings. Like reference symbols in the various drawings indicate like elements.
The terminology used in the detailed description is for the purpose of describing particular embodiments only and is not intended to be limiting of the concepts of the present application. Unless the context clearly dictates otherwise, expressions used in the singular form encompass expressions in the plural form. In the present specification, it will be understood that terms such as "including," "having," and "containing" are intended to specify the presence of the features, integers, steps, acts, or combinations thereof disclosed in the specification, and are not intended to preclude the presence or addition of one or more other features, integers, steps, acts, or combinations thereof. Like reference symbols in the various drawings indicate like elements.
As shown in fig. 1, the present application provides a flowchart of steps of a charging method for a mobile terminal, including:
step S110: and acquiring a rated working current range of the mobile terminal, and setting the rated working current range as the preset current range.
In this step, the rated current is a current when the mobile terminal operates at a rated voltage and at a rated power; and may also be defined as the current at which the mobile terminal may continue to operate for a long period of time under nominal environmental conditions. The current of the electrical appliance during normal operation should not exceed its rated current.
Step S120: and detecting whether the charging current exceeds a preset current range of the mobile terminal.
In this step, a timer T with an overtime duration of 5 seconds is set, and whether the timer T is overtime is determined, and when the timer T is overtime, the current of the mobile terminal is detected. And then judging whether the current exceeds the normal working current range of the mobile terminal.
Step S130: and when the charging current is judged to exceed the preset current range of the mobile terminal, sending a signal to a processor of the mobile terminal.
In this step, when the charging current exceeds the preset current range of the mobile terminal, it may be regarded as a current abnormality. And the current abnormality in some other embodiments herein refers to an abnormality occurring in a battery current of the mobile terminal or a current in the power controller. Specifically, it refers to the current range of the battery when the battery current exceeds its normal operation or the current range of the power supply controller when the power supply controller current exceeds its normal operation. In the actual working process, considering that the current does not rise or fall suddenly in normal use, according to the characteristic, when the difference value between the current detected this time and the current detected last time is within a certain range, the current is regarded as the current to be kept stable, and if the current is kept stable continuously for a certain time, the current detection frequency is reduced. However, when it is detected that the current difference between the two times before and after the detection exceeds a certain range, the current detection frequency is increased. Therefore, the power consumption of the current detection unit can be reduced, and the condition that current is abnormal during current detection can be ensured.
Step S140: and sending the stored data in the memory of the mobile terminal to the access equipment connected with the mobile terminal according to the signal.
In this step, referring to fig. 2 in combination, step S140 may be specifically realized by the following steps.
Step S141: and calculating a first time length required by the stored data for compression.
Step S142: and calculating the size of the compressed data of the stored data.
Step S143: and calculating a second time length required by the compressed data transmission.
In steps S141 to S143, a first time duration required for data transmission is obtained by obtaining the first time duration required for calculating the size of the stored data, and further calculating a quotient of the size of the compressed data and the transmission rate of the access point to obtain a second time duration required for data transmission.
Step S144: and calculating a third time length required for the storage data transmission.
In this step, the third duration required for the transmission of the stored data is obtained by obtaining a quotient of the size of the stored data and the transmission rate of the access point.
Step S145: and transmitting the compressed data when the sum of the first duration and the second duration is judged to be less than the third duration, and transmitting the stored data when the sum of the first duration and the second duration is not judged to be less than the third duration.
In this step, a faster mode is selected for data storage by comparing the durations. After the mobile terminal receives the signal of abnormal current, the stored data is transmitted to the access device, so that the mobile terminal can quickly transmit the data, and the problem that the data cannot be acquired after the whole mobile terminal is damaged is solved.
According to the method, when the charging current is judged to exceed the preset current range of the mobile terminal, a signal is sent to a processor of the mobile terminal, and the stored data in a memory of the mobile terminal is sent to the access equipment connected with the mobile terminal according to the signal, so that the data in the memory is automatically stored when the current is found to be abnormal, and the data safety of the mobile terminal is guaranteed.
As shown in fig. 3, the present application provides a schematic structural diagram of a charging device of a mobile terminal, including: a current detection unit 10, a detection unit 20, a signal transmission unit 30 and a data storage unit 40.
The current detection unit 10 is configured to obtain a rated working current range of the mobile terminal, and set the rated working current range as the preset current range. In this embodiment, the rated current refers to a current when the mobile terminal operates at a rated power under a rated voltage; and may also be defined as the current at which the mobile terminal may continue to operate for a long period of time under nominal environmental conditions. The current of the electrical appliance during normal operation should not exceed its rated current.
The detection unit 20 is configured to detect whether a charging current exceeds a preset current range of the mobile terminal. In this embodiment, a timer T with a timeout duration of 5 seconds is set, and whether the timer T is timed out is determined, and when the timer T is timed out, the current of the mobile terminal is detected. And then judging whether the current exceeds the normal working current range of the mobile terminal.
The signal transmitting unit 30 is configured to transmit a signal to a processor of the mobile terminal when it is determined that the charging current exceeds the preset current range of the mobile terminal.
In this embodiment, when the charging current exceeds the preset current range of the mobile terminal, it may be regarded as a current abnormality. And the current abnormality in some other embodiments herein refers to an abnormality occurring in a battery current of the mobile terminal or a current in the power controller. Specifically, it refers to the current range of the battery when the battery current exceeds its normal operation or the current range of the power supply controller when the power supply controller current exceeds its normal operation. In the actual working process, considering that the current does not rise or fall suddenly in normal use, according to the characteristic, when the difference value between the current detected this time and the current detected last time is within a certain range, the current is regarded as the current to be kept stable, and if the current is kept stable continuously for a certain time, the current detection frequency is reduced. However, when it is detected that the current difference between the two times before and after the detection exceeds a certain range, the current detection frequency is increased. Thus, the power consumption of the current detection unit 10 can be reduced, and the current abnormality can be prevented from being missed during current detection.
The data storage unit 40 is configured to send the stored data in the memory of the mobile terminal to the access device connected to the mobile terminal according to the signal.
In this embodiment, the data storage unit 40 specifically includes: a first time period unit 41, a compression unit 42, a second time period unit 43, a third time period unit 44 and a transmission selection unit 45.
The first time duration unit 41 is configured to calculate a first time duration required for compressing the storage data, the compression unit 42 is configured to calculate a data size of the compressed storage data, and the second time duration unit 43 is configured to calculate a second time duration required for transmitting the compressed data.
In this embodiment, the second duration required for data transmission is obtained by obtaining the first duration required for calculating the size of the stored data and further calculating the quotient of the compressed data size and the transmission rate of the access point.
The third time period unit 44 is configured to calculate a third time period required for the storage data transmission. In this embodiment, the third duration required for the storage data transmission is obtained by obtaining a quotient of the storage data size and the transmission rate of the access point.
The transmission selection unit 45 is configured to transmit the compressed data when the sum of the first duration and the second duration is smaller than the third duration, and transmit the stored data when the sum of the first duration and the second duration is not smaller than the third duration. In this embodiment, a faster mode is selected for data storage by comparing the durations. After the mobile terminal receives the signal of abnormal current, the stored data is transmitted to the access device, so that the mobile terminal can quickly transmit the data, and the problem that the data cannot be acquired after the whole mobile terminal is damaged is solved.
The method and the device have the advantages that when the charging current is judged to exceed the preset current range of the mobile terminal, a signal is sent to the processor of the mobile terminal, and according to the signal, the stored data in the memory of the mobile terminal are sent to the access equipment connected with the mobile terminal, so that the data in the memory are automatically stored when the current is found to be abnormal, and the data safety of the mobile terminal is guaranteed.
The embodiment of the application further provides a mobile terminal, and the mobile terminal can be a smart phone, a tablet computer and other devices. Specifically, as shown in fig. 4, the mobile terminal 200 includes a processor 201 and a memory 202. The processor 201 is electrically connected to the memory 202.
The processor 201 is a control center of the mobile terminal 200, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or loading an application program stored in the memory 202 and calling data stored in the memory 202, thereby performing overall monitoring of the mobile terminal.
In this embodiment, the mobile terminal 200 is provided with a plurality of memory partitions, where the plurality of memory partitions includes a system partition and a target partition, and the processor 201 in the mobile terminal 200 loads instructions corresponding to processes of one or more application programs into the memory 202 according to the following steps, and the processor 201 runs the application programs stored in the memory 202, so as to implement various functions:
detecting whether the charging current exceeds a preset current range of the mobile terminal;
when the charging current is judged to exceed the preset current range of the mobile terminal, sending a signal to a processor of the mobile terminal; and
and sending the stored data in the memory of the mobile terminal to the access equipment connected with the mobile terminal according to the signal.
Fig. 5 is a block diagram illustrating a specific structure of a mobile terminal provided in an embodiment of the present application, where the mobile terminal may be used to implement the charging method of the mobile terminal provided in the foregoing embodiment. The mobile terminal 300 may be a smart phone or a tablet computer. In addition, the mobile terminal may further include a RF circuit 310 for receiving and transmitting electromagnetic waves, so as to perform interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. RF circuitry 310 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. RF circuit 310 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., IEEE802.11 a, IEEE802.11b, IEEE802.11g, and/or IEEE802.11 n standards), Voice over Internet Protocol (VoIP), world wide Internet Protocol (Microwave Access), wimax, other suitable short message protocols, and may even include those protocols that have not yet been developed.
The memory 320 may be used to store software programs and modules, such as program instructions/modules corresponding to the charging method of the mobile terminal in the above-mentioned embodiment, and the processor 380 executes various functional applications and data processing by running the software programs and modules stored in the memory 320, that is, to implement the charging function of the mobile terminal. The memory 320 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 320 may further include memory located remotely from the processor 380, which may be connected to the mobile terminal 300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 330 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 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 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 331 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 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 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 340 may be used to display information input by or provided to the user and various graphical user interfaces of the mobile terminal 300, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 5, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for input and output functions.
The mobile terminal 300 may also include at least one sensor 350, 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 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the mobile terminal 300 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 on the mobile terminal 300, detailed descriptions thereof are omitted.
Audio circuitry 360, speaker 361, and microphone 362 may provide an audio interface between a user and the mobile terminal 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then processed by the audio data output processor 380 and then transmitted to, for example, another terminal via the RF circuit 310, or the audio data is output to the memory 320 for further processing. The audio circuit 360 may also include an earbud jack to provide communication of a peripheral headset with the mobile terminal 300.
The mobile terminal 300, which may assist the user in e-mail, web browsing, streaming media access, etc., through the transmission module 370 (e.g., a Wi-Fi module), provides the user with wireless broadband internet access. Although fig. 5 shows the transmission module 370, it is understood that it does not belong to the essential constitution of the mobile terminal 300 and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 380 is a control center of the mobile terminal 300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 300 and processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby integrally monitoring the mobile phone. Optionally, processor 380 may include one or more processing cores; in some embodiments, processor 380 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 processor 380.
The mobile terminal 300 also includes a power supply 390 (e.g., a battery) that provides power to the various components and, in some embodiments, may be logically coupled to the processor 380 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 390 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 300 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
detecting whether the charging current exceeds a preset current range of the mobile terminal;
when the charging current is judged to exceed the preset current range of the mobile terminal, sending a signal to a processor of the mobile terminal; and
and sending the stored data in the memory of the mobile terminal to the access equipment connected with the mobile terminal according to the signal.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute steps in any one of the charging methods for a mobile terminal provided in the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the steps in any of the methods for charging a mobile terminal provided in the embodiments of the present application, beneficial effects that can be achieved by any of the methods for charging a mobile terminal provided in the embodiments of the present application may be achieved, which are detailed in the foregoing embodiments and will not be described again here.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A charging method of a mobile terminal, the method comprising:
detecting whether the charging current exceeds a preset current range of the mobile terminal;
when the charging current is judged to exceed the preset current range of the mobile terminal, sending a signal to a processor of the mobile terminal; and
and sending the stored data in the memory of the mobile terminal to the access equipment connected with the mobile terminal according to the signal.
2. The method for charging a mobile terminal according to claim 1, wherein the step of transmitting data in the memory of the mobile terminal to the access device connected to the mobile terminal according to the signal comprises the steps of:
calculating a first time length required by compression of stored data;
calculating the size of the compressed data of the stored data;
and calculating a second time length required by the compressed data transmission.
3. The method for charging a mobile terminal according to claim 2, wherein in the step of transmitting data in the memory of the mobile terminal to the access device connected to the mobile terminal according to the signal, the method further comprises the steps of:
calculating a third time length required by the transmission of the stored data;
and transmitting the compressed data when the sum of the first duration and the second duration is judged to be less than the third duration, and transmitting the stored data when the sum of the first duration and the second duration is not judged to be less than the third duration.
4. The method for charging a mobile terminal according to claim 1, wherein before the step of detecting whether the charging current exceeds the preset current range of the mobile terminal, the method further comprises the steps of:
and acquiring a rated working current range of the mobile terminal, and setting the rated working current range as the preset current range.
5. A charging device of a mobile terminal, the charging device comprising,
the detection unit is used for detecting whether the charging current exceeds a preset current range of the mobile terminal;
the signal sending unit is used for sending a signal to a processor of the mobile terminal when the charging current is judged to exceed the preset current range of the mobile terminal; and
and the data storage unit is used for sending the storage data in the memory of the mobile terminal to the access equipment connected with the mobile terminal according to the signal.
6. The charging device of claim 5, further comprising:
the first time length unit is used for calculating the first time length required by the compression of the stored data;
the compression unit is used for calculating the size of the compressed data of the storage data; and
and the second time length unit is used for calculating the second time length required by the compressed data transmission.
7. The charging device of claim 6, further comprising:
the third time length unit is used for calculating the third time length required by the transmission of the stored data;
and the transmission selection unit is used for transmitting the compressed data when judging that the sum of the first time length and the second time length is less than the third time length, and transmitting the stored data when the sum of the first time length and the second time length is not more than the third time length.
8. The charging apparatus of a mobile terminal according to claim 5, wherein the charging apparatus comprises:
and the current detection unit is used for acquiring the rated working current range of the mobile terminal and setting the rated working current range as the preset current range.
9. A storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the method of charging a mobile terminal of any of claims 1-4.
10. A terminal device comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data, the processor being configured to perform the steps of the method for charging a mobile terminal according to any of claims 1-4.
CN202011370530.7A 2020-11-30 2020-11-30 Charging method and device of mobile terminal, storage medium and mobile terminal Pending CN112531835A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011370530.7A CN112531835A (en) 2020-11-30 2020-11-30 Charging method and device of mobile terminal, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011370530.7A CN112531835A (en) 2020-11-30 2020-11-30 Charging method and device of mobile terminal, storage medium and mobile terminal

Publications (1)

Publication Number Publication Date
CN112531835A true CN112531835A (en) 2021-03-19

Family

ID=74995294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011370530.7A Pending CN112531835A (en) 2020-11-30 2020-11-30 Charging method and device of mobile terminal, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN112531835A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1307424A (en) * 2000-02-02 2001-08-08 日本电气株式会社 Mobile communication terminal and data-transmitting method
CN101783427A (en) * 2010-01-19 2010-07-21 中兴通讯股份有限公司 Intelligent charging method and intelligent charging device of terminal
WO2012017272A1 (en) * 2010-08-06 2012-02-09 Nokia Corporation Controlling an automatic transfer of data
US20120159210A1 (en) * 2010-12-20 2012-06-21 Hitachi, Ltd. Storage apparatus and its control method
CN203299809U (en) * 2013-06-20 2013-11-20 中国大唐集团财务有限公司 Data protection circuit
CN203967770U (en) * 2014-03-13 2014-11-26 上海电机学院 The portable power source equipment with data storage function
CN106453511A (en) * 2016-09-14 2017-02-22 广东欧珀移动通信有限公司 Data backup method and data backup device
CN107508346A (en) * 2017-08-28 2017-12-22 惠州Tcl移动通信有限公司 Mobile terminal and charge control method and storage medium
CN107645188A (en) * 2017-09-26 2018-01-30 郑州云海信息技术有限公司 A kind of method and system of balance PSU and BBU charging overcurrent protections
CN108448673A (en) * 2018-03-29 2018-08-24 维沃移动通信有限公司 A kind of charging method, mobile terminal and charger
CN109391817A (en) * 2017-08-07 2019-02-26 龙芯中科技术有限公司 Data texturing transmission method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1307424A (en) * 2000-02-02 2001-08-08 日本电气株式会社 Mobile communication terminal and data-transmitting method
CN101783427A (en) * 2010-01-19 2010-07-21 中兴通讯股份有限公司 Intelligent charging method and intelligent charging device of terminal
WO2012017272A1 (en) * 2010-08-06 2012-02-09 Nokia Corporation Controlling an automatic transfer of data
US20120159210A1 (en) * 2010-12-20 2012-06-21 Hitachi, Ltd. Storage apparatus and its control method
CN203299809U (en) * 2013-06-20 2013-11-20 中国大唐集团财务有限公司 Data protection circuit
CN203967770U (en) * 2014-03-13 2014-11-26 上海电机学院 The portable power source equipment with data storage function
CN106453511A (en) * 2016-09-14 2017-02-22 广东欧珀移动通信有限公司 Data backup method and data backup device
CN109391817A (en) * 2017-08-07 2019-02-26 龙芯中科技术有限公司 Data texturing transmission method and device
CN107508346A (en) * 2017-08-28 2017-12-22 惠州Tcl移动通信有限公司 Mobile terminal and charge control method and storage medium
CN107645188A (en) * 2017-09-26 2018-01-30 郑州云海信息技术有限公司 A kind of method and system of balance PSU and BBU charging overcurrent protections
CN108448673A (en) * 2018-03-29 2018-08-24 维沃移动通信有限公司 A kind of charging method, mobile terminal and charger

Similar Documents

Publication Publication Date Title
CN111008090A (en) Battery electric quantity control method and device, storage medium and terminal equipment
CN106532876B (en) Power supply control method and device and computer equipment
CN109688611B (en) Frequency band parameter configuration method, device, terminal and storage medium
CN111064847B (en) False touch prevention method and device, storage medium and electronic equipment
CN112486350B (en) Detection method and device for touch screen of mobile terminal, storage medium and mobile terminal
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
CN105635379B (en) Noise suppression method and device
CN111343335B (en) Image display processing method, system, storage medium and mobile terminal
CN111355991B (en) Video playing method and device, storage medium and mobile terminal
CN111104012B (en) Distance measuring method and device, storage medium and terminal equipment
CN112367428A (en) Electric quantity display method and system, storage medium and mobile terminal
CN112286849A (en) Wireless charging base data switching method and system, storage medium and terminal equipment
CN112531835A (en) Charging method and device of mobile terminal, storage medium and mobile terminal
CN111651299A (en) Wireless chip reset control method and device, storage medium and mobile terminal
CN109995441B (en) Communication information processing method, device and storage medium
CN111273774A (en) Terminal device display screen control method and system, storage medium and terminal device
CN111048056A (en) Terminal equipment brightness adjusting method and system, storage medium and terminal equipment
CN111031038A (en) Network processing method and device, storage medium and terminal equipment
CN111078428A (en) Remote control method and device, storage medium and terminal equipment
CN112202464B (en) Identification card detection method and device, storage medium and mobile terminal
CN105278967B (en) System updating method, device and system of mobile terminal
CN111654578B (en) Mobile terminal sensor restoration method
CN111262636B (en) Method and device for enhancing network data transmission speed, storage medium and mobile terminal
CN111343325B (en) Port detection method and device, mobile terminal and storage medium
CN109661023B (en) Mobile terminal control method and device, mobile terminal and storage medium

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