[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN108718360A - A kind of charging method and mobile terminal - Google Patents

A kind of charging method and mobile terminal Download PDF

Info

Publication number
CN108718360A
CN108718360A CN201810380230.3A CN201810380230A CN108718360A CN 108718360 A CN108718360 A CN 108718360A CN 201810380230 A CN201810380230 A CN 201810380230A CN 108718360 A CN108718360 A CN 108718360A
Authority
CN
China
Prior art keywords
mobile terminal
charging
screen
parameter preset
time interval
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
CN201810380230.3A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810380230.3A priority Critical patent/CN108718360A/en
Publication of CN108718360A publication Critical patent/CN108718360A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H02J7/0021
    • H02J7/0027

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

An embodiment of the present invention provides a kind of charging method and mobile terminal, method includes:After mobile terminal establishes charging connection, whether detection mobile terminal charging path disconnects;If mobile terminal charging path disconnects, whether the parameter preset for detecting mobile terminal in prefixed time interval changes;If the parameter preset of mobile terminal does not change, it is determined that charging exception simultaneously exports charging abnormal prompt.It can realize and prompt user in the case where charging exception, in order to user's timely processing, promote the usage experience of user.

Description

A kind of charging method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of charging method and mobile terminal.
Background technology
With the development of science and technology, mobile terminal is at essential tool in for people's lives.Currently, mobile terminal charges When be mostly micro USB, however under some cases, user loosened when carrying out micro USB charging to mobile terminal, due to charger or Inevitably there is the case where mobile terminal is disconnected with charger in the reasons such as charging plug poor contact.Under this scene, user It is not aware that mobile terminal has disconnected charging, when using mobile terminal after the certain time length that charges, it is found that mobile terminal is still electric Amount is insufficient, influences the usage experience of user.
Invention content
A kind of charging method of offer of the embodiment of the present invention and mobile terminal, it is existing in the prior art mobile whole to solve Stop charging when charger contact is bad in the charging process of end and cause not enough power supply, influences the problem of user uses.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
An embodiment of the present invention provides a kind of charging methods, including:After the mobile terminal establishes charging connection, detection Whether the mobile terminal charging path disconnects;If the mobile terminal charging path disconnects, detect in prefixed time interval Whether the parameter preset of the mobile terminal changes;If the parameter preset of the mobile terminal does not change, it is determined that Charging exception simultaneously exports charging abnormal prompt.
The embodiment of the present invention additionally provides a kind of mobile terminal, and the mobile terminal includes:First detection module is used for After the mobile terminal establishes charging connection, detect whether the mobile terminal charging path disconnects;Second detection module, is used for If the mobile terminal charging path disconnects, whether the parameter preset for detecting the mobile terminal in prefixed time interval occurs Variation;Output module, if the parameter preset for the mobile terminal does not change, it is determined that charging exception simultaneously exports charging Abnormal prompt.
The embodiment of the present invention additionally provides a kind of mobile terminal, including processor, memory and is stored in the memory Computer program that is upper and can running on the processor, when the computer program is executed by the processor described in realization Charging method the step of.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is deposited on the computer readable storage medium The step of storing up computer program, the charging method realized when the computer program is executed by processor.
The embodiment of the present invention is after mobile terminal establishes charging connection, by detecting whether mobile terminal charging path breaks It opens, and whether the parameter preset of mobile terminal changes in detection prefixed time interval, to judge whether mobile terminal is deposited In the exception and whether charge abnormal be charger contact bad equal unexpected the case where disconnecting charging of charging, filled if so, exporting Electrical anomaly is prompted to remind user, user that can carry out charging adjustment according to prompt message, to ensure that mobile terminal can be complete At charging, the usage experience of user can be promoted.
Description of the drawings
Fig. 1 is a kind of step flow chart of charging method of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of charging method of the embodiment of the present invention two;
Fig. 3 is a kind of structure diagram of mobile terminal of the embodiment of the present invention three;
Fig. 4 is a kind of structure diagram of mobile terminal of the embodiment of the present invention four;
Fig. 5 is a kind of hardware architecture diagram of mobile terminal of the embodiment of the present invention five.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, a kind of step flow chart of charging method of the embodiment of the present invention one is shown.
Charging method provided in an embodiment of the present invention includes the following steps:
Step 101:After mobile terminal establishes charging connection, whether detection mobile terminal charging path disconnects.
After detecting that charger inserts into charged state, or after establishing charging connection by wireless charging, charging The case where detection mobile terminal is with the presence or absence of charging path is disconnected in real time in the process.
Step 102:If mobile terminal charging path disconnects, the parameter preset of mobile terminal in prefixed time interval is detected Whether change.
It should be noted that prefixed time interval could be provided as 3min, 5min, 10min, the embodiment of the present invention is to default Time interval is not specifically limited.
Whether the parameter preset by detecting mobile terminal changes, to detect whether mobile terminal is used.Specifically Ground can be determined by detecting the screen parameter of mobile terminal, detecting spatial attitude parameter, the network parameter etc. of mobile terminal Whether the parameter preset of mobile terminal changes.If it is determined that the parameter preset of mobile terminal is changed, it is determined that mobile Terminal has been used;It is on the contrary, it is determined that mobile terminal is not used by.
Step 103:If the parameter preset of mobile terminal does not change, it is determined that charging exception simultaneously exports abnormal carry of charging Show.
If the parameter preset of mobile terminal does not change, show that charger contact occurs in charging process in mobile terminal Bad, charger, which such as loosens at the reasons, causes charging to be interrupted, and and it is non-artificial cause charging to be interrupted using mobile terminal, therefore export Prompt message is abnormal or uncharged to remind user currently to charge, so that user carries out charging adjustment.
The embodiment of the present invention is after mobile terminal establishes charging connection, by detecting whether mobile terminal charging path breaks It opens, and whether the parameter preset of mobile terminal changes in detection prefixed time interval, to judge whether mobile terminal is deposited In the exception and whether charge abnormal be charger contact bad equal unexpected the case where disconnecting charging of charging, filled if so, exporting Electrical anomaly prompt is to remind user, and user can carry out the adjustment of charging modes according to prompt message, to ensure mobile terminal It can complete to charge, the usage experience of user can be promoted.
Embodiment two
With reference to Fig. 2, a kind of step flow chart of charging method of the embodiment of the present invention two is shown.
Charging method provided in an embodiment of the present invention includes the following steps:
Step 201:After mobile terminal establishes charging connection, whether detection mobile terminal charging path disconnects.
Whether detection mobile terminal charging path disconnects, and whether contact that can be by detection with charger is connected and examines The whether increased mode of electricity for surveying mobile terminal is detected, and then determines that charging path disconnects when being disconnected with charger, When the electricity of mobile terminal does not increase, it is determined that charging path disconnects.
Step 202:If mobile terminal charging path disconnects, the parameter preset of mobile terminal in prefixed time interval is detected Whether change.
During specific implementation, whether the parameter preset that mobile terminal can be detected by the following two kinds mode becomes Change:
Mode one:If mobile terminal charging path disconnects, detecting the screen of mobile terminal within a preset time interval is It is no to be switched to bright screen from putting out screen;If the screen of mobile terminal is not switched to bright screen from putting out screen, it is determined that the default ginseng of mobile terminal Number does not change.
When mobile terminal be in bright screen state and user to screen carry out touch-control, mobile terminal according to user touch-control complete Corresponding touch event, mobile terminal is in by use state at this time, and user is during to mobile terminal use, due to touching It hits, miss the operations such as tactile easily there is a situation where charging interruption, user Yi Faxian mobile terminals are in uncharged state at this time, therefore Without exporting the abnormal prompt that charges.
When mobile terminal, which is in, is not used by state, user can not discover the charged state of mobile terminal, it is therefore desirable to Whether automatic detection screen parameter is switched to bright screen from putting out screen to mobile terminal within a preset time interval, when the screen of mobile terminal It is within a preset time interval and puts out screen state, then show that the parameter preset of mobile terminal does not change.
Mode two:If mobile terminal charging path disconnects, mobile terminal in prefixed time interval is detected by sensor Spatial attitude parameter whether generate variation;If the spatial attitude parameter of mobile terminal does not generate variation, it is determined that mobile terminal Parameter preset do not change.
Sensor in mobile terminal can detect the spatial attitude parameter of mobile terminal, judge movement according to position data Whether the spatial attitude parameter of terminal generates variation.When the spatial attitude parameter of mobile terminal generates variation, show mobile whole End is in by use state, when the spatial attitude parameter of mobile terminal does not generate variation, then show mobile terminal be in not by Use state.
Wherein, prefixed time interval could be provided as 3min, 5min, 10min, and the embodiment of the present invention is to prefixed time interval It is not specifically limited.
It should be noted that mobile terminal is in when being not used by state sometimes, and upon receipt of the notification message, screen meeting Become bright screen state, the setting due to user to mobile terminal from screen state is put out, partial movement terminal screen can continue to keep bright Screen state, and it is unused state that the state of mobile terminal is practical at this time, needs to detect above-mentioned two situations simultaneously at this time, though that is, The screen parameter of right current mobile terminal is changed, but the spatial attitude parameter of mobile terminal does not generate variation, you can really The parameter preset for determining mobile terminal does not change.
Pass-through mode one, mode two and mode one and mode two are detected the parameter preset variation of mobile terminal, Further determine whether the parameter preset of mobile terminal changes, to reduce to the general of mobile terminal parameter preset erroneous judgement Rate.
Step 203:If the parameter preset of mobile terminal does not change, the display the prompt box on mobile terminal screen, and Prompt tone is preset in output.
Wherein, charging exception information is included in prompting frame.
Prompting frame may be displayed on top, lower section, centre of mobile terminal screen etc., and the embodiment of the present invention is to prompting frame Display mode is not specifically limited.Default prompt tone can be selected by users, or and system default presets prompt tone, The volume of default prompt tone needs to be more than default volume and the duration is more than preset duration.
Prompting frame and default prompt tone can effectively remind user that there are different currently for the charging process of mobile terminal Often, the setting for presetting prompt tone more can make user when apart from mobile terminal farther out, user can also be notified to move in time The current charge condition of terminal, to promote the usage experience of user.
Step 204:Detect whether mobile terminal has wireless charging function, and whether mobile terminal is placed in wireless charging On device.
Wireless charging device can be wireless charging platform and wireless charger etc..
Step 205:If so, opening wireless charging function carries out wireless charging.
Currently, partial movement terminal supports wireless charging, user only to need mobile terminal being positioned over wireless charging device On wireless charging can be completed.When detecting that mobile terminal supports wireless charging and mobile terminal to place in the embodiment of the present invention When on wireless charging device, start wireless charging function and charge, to ensure that mobile terminal can be completed to charge, is promoted and used The usage experience at family.
The embodiment of the present invention is after mobile terminal establishes charging connection, by detecting whether mobile terminal charging path breaks It opens, and whether the parameter preset of mobile terminal changes in detection prefixed time interval, to judge whether mobile terminal is deposited In the exception and whether charge abnormal be charger contact bad equal unexpected the case where disconnecting charging of charging, filled if so, exporting Electrical anomaly prompt is to remind user, and user can carry out the adjustment of charging modes according to prompt message, to ensure mobile terminal It can complete to charge, the usage experience of user can be promoted.In addition, the charging method provided in the embodiment of the present invention, in movement After terminal charge access interrupts, when determining that mobile terminal has wireless charging function, and mobile terminal is placed in wireless charging Denso When setting, it is that wireless charging pattern continues to charge from current wired charging pattern switching, is further ensured that mobile terminal can To complete charging, the usage experience of user is promoted.
Embodiment three
With reference to Fig. 3, a kind of structure diagram of mobile terminal of the embodiment of the present invention three is shown.
Mobile terminal provided in an embodiment of the present invention includes:First detection module 301 charges for being established in mobile terminal After connection, detect whether the mobile terminal charging path disconnects;Second detection module 302, if being filled for the mobile terminal Electric pathway disconnects, then whether the parameter preset for detecting the mobile terminal in prefixed time interval changes;Output module 303, if the parameter preset for the mobile terminal does not change, it is determined that charging exception simultaneously exports charging abnormal prompt.
The embodiment of the present invention is after mobile terminal establishes charging connection, by detecting whether mobile terminal charging path breaks It opens, and whether the parameter preset of mobile terminal changes in detection prefixed time interval, to judge whether mobile terminal is deposited In the exception and whether charge abnormal be charger contact bad equal unexpected the case where disconnecting charging of charging, filled if so, exporting Electrical anomaly prompt is to remind user, and user can carry out the adjustment of charging modes according to prompt message, to ensure mobile terminal It can complete to charge, the usage experience of user can be promoted.
Example IV
With reference to Fig. 4, a kind of structure diagram of mobile terminal of the embodiment of the present invention four is shown.
Mobile terminal provided in an embodiment of the present invention includes:First detection module 401 charges for being established in mobile terminal After connection, detect whether the mobile terminal charging path disconnects;Second detection module 402, if being filled for the mobile terminal Electric pathway disconnects, then whether the parameter preset for detecting the mobile terminal in prefixed time interval changes;Output module 403, if the parameter preset for the mobile terminal does not change, it is determined that charging exception simultaneously exports charging abnormal prompt.
Preferably, second detection module 402 includes:First detection sub-module 4021, if being used for the mobile terminal Charging path disconnects, then whether the screen for detecting the mobile terminal in prefixed time interval is switched to bright screen from putting out screen;First Determination sub-module 4022, if screen for the mobile terminal is not switched to bright screen from putting out screen, it is determined that the mobile terminal Parameter preset do not change.
Preferably, second detection module 402 includes:Second detection sub-module 4023, if being used for the mobile terminal Charging path disconnects, then whether the spatial attitude parameter that the mobile terminal in prefixed time interval is detected by sensor generates Variation;Second determination sub-module 4024, if the spatial attitude parameter for the mobile terminal does not change, it is determined that described The parameter preset of mobile terminal does not change.
Preferably, the mobile terminal further includes:Third detection module 404, if in the output module shifting The parameter preset of dynamic terminal does not change, it is determined that charging exception and after exporting charging abnormal prompt detects the movement Terminal is no to have wireless charging function, and whether the mobile terminal is placed on wireless charging device;Opening module 405 is used In if so, opening the wireless charging function carries out wireless charging.
Preferably, the output module 403 is specifically used for:The display the prompt box on mobile terminal screen, and export default Prompt tone, wherein include charging exception information in the prompting frame.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2 Each process, to avoid repeating, which is not described herein again.
The embodiment of the present invention is after mobile terminal establishes charging connection, by detecting whether mobile terminal charging path breaks It opens, and whether the parameter preset of mobile terminal changes in detection prefixed time interval, to judge whether mobile terminal is deposited In the exception and whether charge abnormal be charger contact bad equal unexpected the case where disconnecting charging of charging, filled if so, exporting Electrical anomaly prompt is to remind user, and user can carry out the adjustment of charging modes according to prompt message, to ensure mobile terminal It can complete to charge, the usage experience of user can be promoted.In addition, the charging method provided in the embodiment of the present invention, in movement After terminal charge interrupts, when determining that mobile terminal has wireless charging function, and mobile terminal is placed on wireless charging device When, it is that wireless charging pattern continues to charge from current wired charging pattern switching, is further ensured that mobile terminal can be complete At charging, the usage experience of user is promoted.
Embodiment five
With reference to Fig. 5, the hardware architecture diagram of a kind of mobile terminal of each embodiment to realize the present invention.
The mobile terminal 500 includes but not limited to:It is radio frequency unit 501, network module 502, audio output unit 503, defeated Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, either combine certain components or Different component arrangements.In embodiments of the present invention, mobile terminal include but not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 510 is for after the mobile terminal establishes charging connection, detecting the mobile terminal charging path No disconnection;If the mobile terminal charging path disconnects, the parameter preset of the mobile terminal in prefixed time interval is detected Whether change;If the parameter preset of the mobile terminal does not change, it is determined that charging exception simultaneously exports charging exception Prompt.
The embodiment of the present invention is after mobile terminal establishes charging connection, by detecting whether mobile terminal charging path breaks It opens, and whether the parameter preset of mobile terminal changes in detection prefixed time interval, to judge whether mobile terminal is deposited In the exception and whether charge abnormal be charger contact bad equal unexpected the case where disconnecting charging of charging, filled if so, exporting Electrical anomaly prompt is to remind user, and user can carry out the adjustment of charging modes according to prompt message, to ensure mobile terminal It can complete to charge, the usage experience of user can be promoted.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by radio communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 502 and has accessed, and such as user is helped to receive Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 503 can receive radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loud speaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output of mobile communication base station can be sent to via radio frequency unit 501 by being converted in the case of telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touch The type for touching event provides corresponding visual output on display panel 5061.Although in Figure 5, touch panel 5071 and display Panel 5061 is to realize the function that outputs and inputs of mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal Transmission data between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in On memory 509 and the computer program that can be run on the processor 510, the computer program are executed by processor 510 Each process of the above-mentioned charging method embodiments of Shi Shixian, and identical technique effect can be reached, to avoid repeating, here no longer It repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned charging method embodiment when being executed by processor, and can reach Identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), Magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (11)

1. a kind of charging method is applied to mobile terminal, which is characterized in that the method includes:
After the mobile terminal establishes charging connection, detect whether the mobile terminal charging path disconnects;
If the mobile terminal charging path disconnects, detect the mobile terminal in prefixed time interval parameter preset whether It changes;
If the parameter preset of the mobile terminal does not change, it is determined that charging exception simultaneously exports charging abnormal prompt.
2. if according to the method described in claim 1, it is characterized in that, mobile terminal charging path disconnection, is examined Survey that the step of whether parameter preset of the mobile terminal changes in prefixed time interval includes:
If the mobile terminal charging path disconnects, whether the screen of the mobile terminal in prefixed time interval is detected from putting out Screen is switched to bright screen;
If the screen of the mobile terminal is not switched to bright screen from putting out screen, it is determined that the parameter preset of the mobile terminal does not occur Variation.
3. if according to the method described in claim 1, it is characterized in that, mobile terminal charging path disconnection, is examined The step of whether parameter preset of the mobile terminal changes in survey prefixed time interval, including:
If the mobile terminal charging path disconnects, the sky of the mobile terminal in prefixed time interval is detected by sensor Between attitude parameter whether generate variation;
If the spatial attitude parameter of the mobile terminal does not change, it is determined that the parameter preset of the mobile terminal does not occur Variation.
4. if according to the method described in claim 1, it is characterized in that, the parameter preset in the mobile terminal does not occur Variation, it is determined that charging exception and export charging abnormal prompt the step of after, the method further includes:
Detect whether the mobile terminal has wireless charging function, and whether the mobile terminal is placed in wireless charging device On;
If so, opening the wireless charging function carries out wireless charging.
5. according to the method described in claim 1, it is characterized in that, the output charge abnormal prompt the step of, including:
Display the prompt box and the default prompt tone of output on mobile terminal screen, wherein abnormal comprising charging in the prompting frame Information.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
First detection module is for after the mobile terminal establishes charging connection, detecting the mobile terminal charging path No disconnection;
Second detection module detects the movement in prefixed time interval if being disconnected for the mobile terminal charging path Whether the parameter preset of terminal changes;
Output module, if the parameter preset for the mobile terminal does not change, it is determined that charging exception simultaneously exports charging Abnormal prompt.
7. mobile terminal according to claim 6, which is characterized in that second detection module includes:
First detection sub-module detects the shifting in prefixed time interval if being disconnected for the mobile terminal charging path Whether the screen of dynamic terminal is switched to bright screen from putting out screen;
First determination sub-module, if screen for the mobile terminal does not switch to bright screen from putting out screen, it is determined that the movement The parameter preset of terminal does not change.
8. mobile terminal according to claim 6, which is characterized in that second detection module includes:
Second detection sub-module, if being disconnected for the mobile terminal charging path, by between sensor detection preset time Variation whether is generated every the spatial attitude parameter of the interior mobile terminal;
Second determination sub-module, if the spatial attitude parameter for the mobile terminal does not change, it is determined that the movement The parameter preset of terminal does not change.
9. mobile terminal according to claim 6, which is characterized in that the mobile terminal further includes:
Third detection module, if for not changing in the parameter preset of the output module mobile terminal, it is determined that Charging exception and after exporting charging abnormal prompt, detects whether the mobile terminal has wireless charging function, and the shifting Whether dynamic terminal is placed on wireless charging device;
Opening module, for if so, opening the wireless charging function carries out wireless charging.
10. mobile terminal according to claim 6, which is characterized in that output module is specifically used for:In mobile terminal screen Upper display the prompt box, and export and preset prompt tone, wherein include charging exception information in the prompting frame.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor Any one of described in charging method the step of.
CN201810380230.3A 2018-04-25 2018-04-25 A kind of charging method and mobile terminal Pending CN108718360A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810380230.3A CN108718360A (en) 2018-04-25 2018-04-25 A kind of charging method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810380230.3A CN108718360A (en) 2018-04-25 2018-04-25 A kind of charging method and mobile terminal

Publications (1)

Publication Number Publication Date
CN108718360A true CN108718360A (en) 2018-10-30

Family

ID=63899192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810380230.3A Pending CN108718360A (en) 2018-04-25 2018-04-25 A kind of charging method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108718360A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109557994A (en) * 2018-11-29 2019-04-02 努比亚技术有限公司 A kind of charge fault monitoring method, equipment and computer can storage mediums
CN111181218A (en) * 2020-01-22 2020-05-19 维沃移动通信有限公司 Charging prompting method, electronic device and medium
CN112701759A (en) * 2021-01-13 2021-04-23 惠州Tcl移动通信有限公司 Terminal device control method, storage medium and terminal device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130015814A1 (en) * 2011-07-13 2013-01-17 Tesla Motors, Inc. Charge Disruption Monitoring and Notification System
CN106095636A (en) * 2016-05-26 2016-11-09 深圳天珑无线科技有限公司 A kind of method, device and mobile device reminding continuation charging
CN106230066A (en) * 2016-08-31 2016-12-14 北京小米移动软件有限公司 Charge prompting method and apparatus
CN106505660A (en) * 2016-10-31 2017-03-15 宇龙计算机通信科技(深圳)有限公司 A kind of charge protection method, charging protector and terminal
CN106532824A (en) * 2016-11-15 2017-03-22 努比亚技术有限公司 Mobile terminal and charging switching control method
CN107831386A (en) * 2017-10-31 2018-03-23 奇酷互联网络科技(深圳)有限公司 Identification charging abnormal method, equipment, mobile terminal and computer-readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130015814A1 (en) * 2011-07-13 2013-01-17 Tesla Motors, Inc. Charge Disruption Monitoring and Notification System
CN106095636A (en) * 2016-05-26 2016-11-09 深圳天珑无线科技有限公司 A kind of method, device and mobile device reminding continuation charging
CN106230066A (en) * 2016-08-31 2016-12-14 北京小米移动软件有限公司 Charge prompting method and apparatus
CN106505660A (en) * 2016-10-31 2017-03-15 宇龙计算机通信科技(深圳)有限公司 A kind of charge protection method, charging protector and terminal
CN106532824A (en) * 2016-11-15 2017-03-22 努比亚技术有限公司 Mobile terminal and charging switching control method
CN107831386A (en) * 2017-10-31 2018-03-23 奇酷互联网络科技(深圳)有限公司 Identification charging abnormal method, equipment, mobile terminal and computer-readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109557994A (en) * 2018-11-29 2019-04-02 努比亚技术有限公司 A kind of charge fault monitoring method, equipment and computer can storage mediums
CN111181218A (en) * 2020-01-22 2020-05-19 维沃移动通信有限公司 Charging prompting method, electronic device and medium
CN112701759A (en) * 2021-01-13 2021-04-23 惠州Tcl移动通信有限公司 Terminal device control method, storage medium and terminal device

Similar Documents

Publication Publication Date Title
CN108491123A (en) A kind of adjusting application program image target method and mobile terminal
CN108492246A (en) A kind of image processing method, device and mobile terminal
CN108494030A (en) A kind of wireless charging method, terminal and transmitting end equipment
CN108304061A (en) A kind of display control method and terminal
CN109788136A (en) Information display method and mobile terminal
CN108628521A (en) A kind of screen operating method and mobile terminal
CN108762869A (en) A kind of information processing method and mobile terminal
CN108509141A (en) A kind of generation method and mobile terminal of control
CN109743503A (en) Reminding method and terminal
CN110365853A (en) A kind of reminding method and electronic equipment
CN109739300A (en) A kind of method of controlling antenna and terminal
CN107835495A (en) A kind of message prompt method, device and mobile terminal
CN110096203A (en) A kind of screenshot method and mobile terminal
CN110138963A (en) A kind of message treatment method and mobile terminal
CN109888928A (en) A kind of terminal and wireless charging control method
CN109831359A (en) A kind of detection method and its terminal device of data network connection state
CN108718360A (en) A kind of charging method and mobile terminal
CN108616650A (en) A kind of dust removal method and mobile terminal
CN107749761B (en) A kind of anti-interference method and mobile terminal
CN109474747A (en) A kind of information cuing method and mobile terminal
CN109445589A (en) A kind of multimedia file broadcasting control method and terminal device
CN108595352A (en) A kind of guard method of mobile terminal and device
CN108363914A (en) Unlocked by fingerprint control method and device
CN108419283A (en) A kind of method and mobile terminal of WIFI hot spot scanning
CN110213437A (en) A kind of edit methods and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181030

RJ01 Rejection of invention patent application after publication