CN105630655B - A kind of method and apparatus of prompt charging connection - Google Patents

A kind of method and apparatus of prompt charging connection Download PDF

Info

Publication number
CN105630655B
CN105630655B CN201510947285.4A CN201510947285A CN105630655B CN 105630655 B CN105630655 B CN 105630655B CN 201510947285 A CN201510947285 A CN 201510947285A CN 105630655 B CN105630655 B CN 105630655B
Authority
CN
China
Prior art keywords
default
resistance value
power supply
charging
charge power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510947285.4A
Other languages
Chinese (zh)
Other versions
CN105630655A (en
Inventor
王硕
王广健
王斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510947285.4A priority Critical patent/CN105630655B/en
Publication of CN105630655A publication Critical patent/CN105630655A/en
Application granted granted Critical
Publication of CN105630655B publication Critical patent/CN105630655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information

Abstract

The disclosure is directed to a kind of method and apparatus of prompt charging connection, belong to field of computer technology.The method includes:Resistance value between the default pin of the charging port of detection terminal;When the resistance value between the default pin is within the scope of the first default value, the preset prompt message for being used to indicate the charging wire that the charging port is connected and being not connected with charge power supply is sent out.Using the disclosure, can not be charged normal to avoid mobile terminal.

Description

A kind of method and apparatus of prompt charging connection
Technical field
The disclosure is directed to field of computer technology, especially with respect to a kind of method and apparatus of prompt charging connection.
Background technology
With the development of computer technology so that the mobile terminals such as mobile phone become the necessary article of modern, in the day of people Often increasing effect is played in life.
When user charges to mobile terminal, USB (Universal Serial Bus, universal serial bus) data line is used Mobile terminal and charger are connected, is charged to mobile phone, or using USB data line connection mobile terminal and computer, to moving Dynamic terminal charges.Sometimes when user charges to mobile terminal, one end of USB data line is connected with mobile terminal, But forget the other end of USB data line with charge power supply (charger, computer etc.) being connected, it can not so as to cause mobile terminal It charges normal.
Invention content
In order to overcome the problems, such as present in the relevant technologies, present disclose provides a kind of methods of prompt charging connection.Technology Scheme is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of method of prompt charging connection is provided, the method includes:
Resistance value between the default pin of the charging port of detection terminal;
When the resistance value between the default pin is within the scope of the first default value, sends out and preset be used to indicate institute State the prompt message that the charging wire that charging port is connected is not connected with charge power supply.
Optionally, it when the resistance value when between the default pin is within the scope of the first default value, sends out default The prompt message for being used to indicate charging wire that the charging port is connected and being not connected with charge power supply, including:
When the resistance value between the default pin is within the scope of first default value, display is preset for referring to Show the text prompt information or picture cues information that the charging wire that the charging port is connected is not connected with charge power supply.
In this way, the charging wire that the charging port of user terminal connects can be prompted not connected with charge power supply.
Optionally, it when the resistance value when between the default pin is within the scope of the first default value, sends out default The prompt message for being used to indicate charging wire that the charging port is connected and being not connected with charge power supply, including:
When the resistance value between the default pin is within the scope of first default value, play preset for referring to Show the audio prompt information that the charging wire that the charging port is connected is not connected with charge power supply.
In this way, the charging wire that the charging port of user terminal connects can be prompted not connected with charge power supply.
Optionally, the method further includes:
When the resistance value between the default pin is within the scope of the second default value, sends out and preset be used to indicate institute It states the charging wire that charging port is connected and the prompt message connecting has been established with charge power supply.
It is connect in this way, the charging wire that the charging end of user terminal connects can be prompted to be had been established with charge power supply.
Optionally, the method further includes:
When the resistance value between the default pin is within the scope of second default value, stopping sends out described be used for Indicate the prompt message that the charging wire that the charging port is connected is not connected with charge power supply.
In this way, user terminal can be prompted to have charged normal.
Optionally, it when the resistance value when between the default pin is within the scope of the first default value, sends out default The prompt message for being used to indicate charging wire that the charging port is connected and being not connected with charge power supply, including:
When the resistance value between the default pin is within the scope of first default value, if the terminal is current Electricity be less than the terminal total electricity, then send out the preset charging wire for being used to indicate the charging port and being connected The prompt message being not connected with charge power supply.
This way it is possible to avoid prompt message is inaccurate.
According to the second aspect of the embodiment of the present disclosure, a kind of device of prompt charging connection is provided, described device includes:
Detection module, for the resistance value between the default pin of the charging port of detection terminal;
Reminding module, for when the resistance value between the default pin is within the scope of the first default value, sending out pre- If the prompt message for being used to indicate charging wire that the charging port is connected and being not connected with charge power supply.
Optionally, the reminding module, is used for:
When the resistance value between the default pin is within the scope of first default value, display is preset for referring to Show the text prompt information or picture cues information that the charging wire that the charging port is connected is not connected with charge power supply.
Optionally, the reminding module, is used for:
When the resistance value between the default pin is within the scope of first default value, play preset for referring to Show the audio prompt information that the charging wire that the charging port is connected is not connected with charge power supply.
Optionally, the reminding module is additionally operable to:
When the resistance value between the default pin is within the scope of the second default value, sends out and preset be used to indicate institute It states the charging wire that charging port is connected and the prompt message connecting has been established with charge power supply.
Optionally, the reminding module, is additionally operable to:
When the resistance value between the default pin is within the scope of second default value, stopping sends out described be used for Indicate the prompt message that the charging wire that the charging port is connected is not connected with charge power supply.
Optionally, the reminding module, is additionally operable to:
When the resistance value between the default pin is within the scope of first default value, if the terminal is current Electricity be less than the terminal total electricity, then send out the preset charging wire for being used to indicate the charging port and being connected The prompt message being not connected with charge power supply.
According to the third aspect of the embodiment of the present disclosure, a kind of device of prompt charging connection is provided, described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Resistance value between the default pin of the charging port of detection terminal;
When the resistance value between the default pin is within the scope of the first default value, sends out and preset be used to indicate institute State the prompt message that the charging wire that charging port is connected is not connected with charge power supply.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, the resistance value between the default pin of the charging port of detection terminal;When described preset is drawn When resistance value between foot is within the scope of the first default value, send out it is preset be used to indicate that the charging port connected fill The prompt message that electric wire is not connected with charge power supply.In this way, the charging port of terminal can be determined by the resistance value between pin The charging wire connected is not connected with charge power supply, and then sends out prompt message, and user's charging wire is reminded not connect with charge power supply It connects, so as to avoid mobile terminal that from can not charging normal.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the method for prompt charging connection shown according to an exemplary embodiment;
Fig. 2 is a kind of interface display schematic diagram of terminal shown according to an exemplary embodiment;
Fig. 3 is a kind of interface display schematic diagram of terminal shown according to an exemplary embodiment;
Fig. 4 is a kind of interface display schematic diagram of terminal shown according to an exemplary embodiment;
Fig. 5 is a kind of interface display schematic diagram of terminal shown according to an exemplary embodiment;
Fig. 6 is a kind of structural schematic diagram of the device of prompt charging connection shown according to an exemplary embodiment;
Fig. 7 is a kind of structural schematic diagram of terminal shown according to an exemplary embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
One exemplary embodiment of the disclosure provides a kind of method of prompt charging connection, prompts the method for charging connection can For in terminal, wherein terminal can be mobile phone, tablet computer etc..Processor, memory can be provided in terminal, electricity Detection part etc. is hindered, processor is used to prompt the processing of the process of charging connection;Memory can be used for storing prompt charging and connect The data needed in termination process and the data received;Detection resistance component can be used for the resistance of detection terminal charging port Value.It is also provided with charging port in terminal, can be used for connecting charging wire, can also be inputted including screen etc. in terminal defeated Go out equipment, screen is displayed for the operation interface of terminal, prompt message, and screen can be touch control screen.The present embodiment In by terminal be mobile phone for, carry out the detailed description of scheme, other situations are similar therewith, and the present embodiment is not repeated.
As shown in Figure 1, the process flow of this method may include following step:
In a step 101, the resistance value between the default pin of the charging port of detection terminal.
In force, the charging port of terminal can include multiple pins (such as charging pins, data transmission pin etc.), skill Art personnel can pre-set any two pin and be connect with resistance detection component, and resistance detection component can be detected periodically Resistance value between the two pins of charging port.
In a step 102, when the resistance value between default pin is within the scope of the first default value, preset use is sent out In the prompt message that the charging wire that instruction charging port is connected is not connected with charge power supply.
Wherein, the first default value is ranging from when charging wire and the connection of the charging port of terminal, and does not connect with charge power supply When connecing, the range of the resistance value between the default pin that resistance detection component can detect, charge power supply can be charger, Computer etc..
In force, the first default value range can be stored in terminal, and is stored default value range and believed with prompt The correspondence of breath.Resistance detection component can periodically detect the resistance value between the default pin of charging port, terminal The resistance value can be obtained, the corresponding numberical range of the resistance value is then searched, when the resistance value is in the first default value range When interior, terminal determines that the charging wire that current charging port is connected and charge power supply are not connected, then can be from default value model It encloses in the correspondence with prompt message, searches the corresponding prompt message of the first default value range, and send out prompt letter Breath prompts user's charging wire not connected with charge power supply.
Optionally, prompt message can be text prompt information or picture cues information, and the processing of corresponding step 102 can Think:When the resistance value between default pin is within the scope of the first default value, display is preset to be used to indicate charging port The text prompt information or picture cues information that the charging wire connected is not connected with charge power supply.
In force, as shown in Fig. 2, when the resistance value that terminal is got is within the scope of the first default value, terminal can The charging wire and charge power supply connected with the current charging port of determination is not connected, then can be from default value range and prompt In the correspondence of information, the charging wire and charging electricity that the corresponding instruction charging port of the first default value range is connected are searched The not connected prompt message in source determines that prompt message is text prompt information, then shows the text prompt information (as worked as remote holder Machine has connected USB data line, waits for connection computer or charger etc.).For example, when the non-screen locking of mobile phone, when user by charging wire with The charging port of terminal connects, and when not connecting charging wire with charge power supply, resistance detection component detect preset stitch it Between resistance value, the resistance value that terminal is got within the scope of the first default value, search the first default value range correspond to Text prompt information be " current phone has connected USB (Universal Serial Bus, universal serial bus) data line, Wait for connection computer or charger ", it then can show that " current phone has connected USB data line, waits in the notification bar of screen Connect computer or charger ".
Alternatively, as shown in figure 3, when the resistance value that terminal is got is within the scope of the first default value, terminal can be true The charging wire that settled preceding charging port is connected is not connected with charge power supply, then can be from default value range and prompt message Correspondence in, search the corresponding charging wire that is connected of instruction charging port of the first default value range with charge power supply not The prompt message of connection determines that the prompt message is picture cues information, then shows the picture cues information (such as display charging Line waits for the Dynamic Graph etc. of connection with charge power supply).
In addition, as shown in figure 4, if terminal is currently at screen lock state, in display text prompt information or picture cues When information, can wake up screen, which makes screen enter, waits for unlocked state, and shows text prompt information or picture cues information.
Optionally, prompt message can be audio prompt information, and the processing of corresponding step 102 can be:Draw when default When resistance value between foot is within the scope of the first default value, the preset charging wire for being used to indicate charging port and being connected is played The audio prompt information being not connected with charge power supply.
In force, resistance detection component can periodically detect the resistance value between preset stitch, and terminal can obtain The resistance value is taken, when the resistance value is within the scope of the first default value, terminal can determine that current charging port is connected Charging wire and charge power supply it is not connected, then can be from default value range relationship corresponding with prompt message, lookup the The corresponding prompt message of one default value range information determines that the prompt message is audio prompt information, then plays the audio Prompt message (audio being not connected with charge power supply as played charging wire).For example, working as user by the charging of charging wire and terminal Port connects, and when not connecting charging wire with charge power supply, and resistance detection component detects the resistance value between preset stitch, The resistance value that terminal is got searches the corresponding audio prompt letter of the first default value range within the scope of the first default value Breath is " charging wire is not connected with charge power supply ", then can play the audio of " charging wire is not connected with charge power supply ".
Optionally, the charging wire that charging port can also be prompted to be connected has been established with charge power supply to be connect, corresponding to locate Managing to be:When the resistance value between default pin is within the scope of the second default value, sends out and preset be used to indicate charging The prompt message connecting has been established with charge power supply for the charging wire that port is connected.
Wherein, the second default value is ranging from when charging wire and the connection of the charging port of terminal, and is connect with charge power supply When, the resistance value between the default pin that resistance detection component can detect.
In force, as shown in figure 5, the second default value range can be prestored in terminal, and present count is stored It is worth the correspondence of range and prompt message.Resistance detection component can periodically detect the resistance value between preset stitch, Terminal can obtain the resistance value, and when the resistance value is within the scope of the second default value, terminal can determine current charging The charging wire that port is connected has been established with charge power supply to be connect, then can be corresponding with prompt message from default value range In relationship, the corresponding prompt message of the second default value range information is searched, determines the prompt message for instruction charging port institute The prompt message connecting has been established with charge power supply for the charging wire of connection, then sends out the prompt message, which can be with It (is such as filled for text prompt information (such as mobile phone is charging, current phone has connected computer or charger), picture cues information Power supply is inserted in the image on socket), audio prompt information (such as play mobile phone the audio connecting has been established with charge power supply).
Optionally, it is connect when the charging wire that charging port is connected has been established with charge power supply, can stop sending out prompt Information, corresponding processing can be:When the resistance value between default pin is within the scope of the second default value, stopping sends out use In the prompt message that the charging wire that instruction charging port is connected is not connected with charge power supply.
In force, the second default value range can be stored in terminal, and is stored default value range and believed with prompt The correspondence of breath.Resistance detection component can periodically detect the resistance value between preset stitch, and terminal can obtain this Resistance value, when the resistance value is within the scope of the second default value, terminal can determine that current charging port connected fills Electric wire has been established with charge power supply and connect, and then can stop sending out the charging wire and charging for being used to indicate that charging port is connected The not connected prompt message of power supply, for example, if charging wire and charge power supply that the instruction charging port that terminal is sent out is connected Not connected prompt message be text prompt information or image display information, then terminal can stop showing the text prompt information Or image display information, that is, the text prompt information shown before or image display information are deleted or closed, if eventually It is audio prompt information to hold the prompt message that the charging wire that the instruction charging port sent out is connected is not connected with charge power supply, then Terminal can stop playing the audio prompt information.
Optionally, when the resistance value between default pin is within the scope of the first default value, it can also judge terminal Electricity, it is determined whether send out preset prompt message, corresponding processing can be:When the resistance value between default pin is first When within the scope of default value, if the current electricity of terminal is less than the total electricity of terminal, sends out and preset be used to indicate charging The prompt message that the charging wire that port is connected is not connected with charge power supply.
In force, resistance detection component can periodically detect the resistance value between preset stitch, and terminal can obtain The resistance value is taken, when the resistance value is within the scope of the first default value, terminal can determine that current charging port is connected Charging wire and charge power supply it is not connected, then terminal can obtain current electricity, and by current electricity and terminal Total electricity is compared, can be from default value range relationship corresponding with prompt message if current electricity is less than total electricity In, the corresponding prompt message of the first default value range information is searched, the prompt message is sent out, prompts the charging end of user terminal The charging wire that mouth is connected is not connected with charge power supply.
The embodiment of the present disclosure, additionally provides the process of setting prompt message, and corresponding processing procedure can be:
When charging wire is not inserted into the charging port of terminal, the resistance value preset between pin is infinitely great, works as charging Line is inserted into charging port, and resistance value when connect with charge power supply between default pin and charging wire insertion charging port, not The resistance value preset when being connect with charge power supply between pin is different, and technical staff can be according to the charging port of terminal Default pin between resistance value determine the first default value range, the second default value range, when between default pin For resistance value in the first default value range, charging wire is inserted into charging port, is not connect with charge power supply, when between default pin Resistance value in the second default value range, charging wire is inserted into charging port, and is connect with charge power supply, then can be arranged The corresponding prompt message of default value range can set the corresponding prompt message of the first default value range to text prompt The corresponding prompt message of the second default value range can be arranged for information either picture cues information or audio prompt information It is then that the first default value range is corresponding for text prompt information either picture cues information or audio prompt information etc. Prompt message prompt message corresponding with the second default value range stores the corresponding pass to default value range and prompt message In system, as shown in Table 1.First default value range numerical value corresponding with the second default value range, is for example, not It is different with the corresponding first default value range of terminal and the second default value range, it is not done in the embodiment of the present disclosure specific It limits.
In the embodiment of the present disclosure, the resistance value between the default pin of the charging port of detection terminal;When default pin it Between resistance value within the scope of the first default value when, send out and preset be used to indicate charging wire that charging port is connected and fill The not connected prompt message of power supply.In this way, can determine what the charging port of terminal was connected by the resistance value between pin Charging wire is not connected with charge power supply, and then sends out prompt message, reminds user's charging wire not connected with charge power supply, so as to It can not be charged normal to avoid mobile terminal.
Disclosure another exemplary embodiment provides the device for additionally providing a kind of prompt charging connection, as shown in fig. 6, The device includes:
Detection module 610, for the resistance value between the default pin of the charging port of detection terminal;
Reminding module 620, for when the resistance value between the default pin is within the scope of the first default value, sending out The preset prompt message for being used to indicate the charging wire that the charging port is connected and being not connected with charge power supply.
Optionally, the reminding module 620, is used for:
When the resistance value between the default pin is within the scope of first default value, display is preset for referring to Show the text prompt information or picture cues information that the charging wire that the charging port is connected is not connected with charge power supply.
Optionally, the reminding module 620, is used for:
When the resistance value between the default pin is within the scope of first default value, play preset for referring to Show the audio prompt information that the charging wire that the charging port is connected is not connected with charge power supply.
Optionally, the reminding module 620, is additionally operable to:
When the resistance value between the default pin is within the scope of the second default value, sends out and preset be used to indicate institute It states the charging wire that charging port is connected and the prompt message connecting has been established with charge power supply.
Optionally, the reminding module 620, is additionally operable to:
When the resistance value between the default pin is within the scope of second default value, stopping sends out described be used for Indicate the prompt message that the charging wire that the charging port is connected is not connected with charge power supply.
Optionally, the reminding module 620, is additionally operable to:
When the resistance value between the default pin is within the scope of first default value, if the terminal is current Electricity be less than the terminal total electricity, then send out the preset charging wire for being used to indicate the charging port and being connected The prompt message being not connected with charge power supply.
In the embodiment of the present disclosure, the resistance value between the default pin of the charging port of detection terminal;When default pin it Between resistance value within the scope of the first default value when, send out and preset be used to indicate charging wire that charging port is connected and fill The not connected prompt message of power supply.In this way, can determine what the charging port of terminal was connected by the resistance value between pin Charging wire is not connected with charge power supply, and then sends out prompt message, reminds user's charging wire not connected with charge power supply, so as to It can not be charged normal to avoid mobile terminal.
It should be noted that:Above-described embodiment provide prompt charging connection device when prompting charging connection, only with The division progress of above-mentioned each function module, can be as needed and by above-mentioned function distribution by not for example, in practical application Same function module is completed, i.e., the internal structure of device is divided into different function modules, to complete whole described above Or partial function.In addition, the device for the prompt charging connection that above-described embodiment provides and the method for prompt charging connection are implemented Example belongs to same design, and specific implementation process refers to embodiment of the method, and which is not described herein again.
Disclosure another exemplary embodiment provides a kind of structural schematic diagram of terminal.The terminal can be mobile phone, put down Plate computer etc..
With reference to Fig. 7, terminal 700 may include following one or more components:Processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and Communication component 816.
The integrated operation of 802 usual control terminal 700 of processing component, such as with display, call, data communication, phase Machine operates and record operates associated operation.Processing element 802 may include that one or more processors 820 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in terminal 700.These data are shown Example includes instruction for any application program or method that are operated in terminal 700, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of terminal 700.Electric power assembly 806 may include power management system System, one or more power supplys and other generated with for audio output apparatus 700, management and the associated component of distribution electric power.
Multimedia component 808 is included in the screen of one output interface of offer between the terminal 700 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When terminal 700 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when audio output apparatus 700 is in operation mode, when such as call model, logging mode and speech recognition mode, wheat Gram wind is configured as receiving external audio signal.The received audio signal can be further stored in memory 804 or warp It is sent by communication component 816.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for terminal 700 is commented Estimate.For example, sensor module 814 can detect the state that opens/closes of terminal 700, and the relative positioning of component, for example, it is described Component is the display and keypad of terminal 700, and sensor module 814 can be with 700 1 components of detection terminal 700 or terminal Position change, the existence or non-existence that user contacts with terminal 700,700 orientation of terminal or acceleration/deceleration and terminal 700 Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between terminal 700 and other equipment.Terminal 700 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 700 can be believed by one or more application application-specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of terminal 700 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal When row so that terminal is able to carry out above-mentioned method, and this method includes:
Resistance value between the default pin of the charging port of detection terminal;
When the resistance value between the default pin is within the scope of the first default value, sends out and preset be used to indicate institute State the prompt message that the charging wire that charging port is connected is not connected with charge power supply.
Optionally, it when the resistance value when between the default pin is within the scope of the first default value, sends out default The prompt message for being used to indicate charging wire that the charging port is connected and being not connected with charge power supply, including:
When the resistance value between the default pin is within the scope of first default value, display is preset for referring to Show the text prompt information or picture cues information that the charging wire that the charging port is connected is not connected with charge power supply.
Optionally, it when the resistance value when between the default pin is within the scope of the first default value, sends out default The prompt message for being used to indicate charging wire that the charging port is connected and being not connected with charge power supply, including:
When the resistance value between the default pin is within the scope of first default value, play preset for referring to Show the audio prompt information that the charging wire that the charging port is connected is not connected with charge power supply.
Optionally, the method further includes:
When the resistance value between the default pin is within the scope of the second default value, sends out and preset be used to indicate institute It states the charging wire that charging port is connected and the prompt message connecting has been established with charge power supply.
Optionally, the method further includes:
When the resistance value between the default pin is within the scope of second default value, stopping sends out described be used for Indicate the prompt message that the charging wire that the charging port is connected is not connected with charge power supply.
Optionally, it when the resistance value when between the default pin is within the scope of the first default value, sends out default The prompt message for being used to indicate charging wire that the charging port is connected and being not connected with charge power supply, including:
When the resistance value between the default pin is within the scope of first default value, if the terminal is current Electricity be less than the terminal total electricity, then send out the preset charging wire for being used to indicate the charging port and being connected The prompt message being not connected with charge power supply.
In the embodiment of the present disclosure, the resistance value between the default pin of the charging port of detection terminal;When described preset is drawn When resistance value between foot is within the scope of the first default value, send out it is preset be used to indicate that the charging port connected fill The prompt message that electric wire is not connected with charge power supply.In this way, the charging port of terminal can be determined by the resistance value between pin The charging wire connected is not connected with charge power supply, and then sends out prompt message, and user's charging wire is reminded not connect with charge power supply It connects, so as to avoid mobile terminal that from can not charging normal.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (11)

1. a kind of method of prompt charging connection, which is characterized in that the method includes:
Resistance value between the default pin of the charging port of detection terminal;
When the resistance value between the default pin is within the scope of the first default value, sends out and filled described in preset be used to indicate The prompt message that the charging wire that electric port is connected is not connected with charge power supply;
When the resistance value when between the default pin is within the scope of the first default value, sends out and preset be used to indicate institute The prompt message that the charging wire that charging port is connected is not connected with charge power supply is stated, including:
When the resistance value between the default pin is within the scope of first default value, if the electricity that the terminal is current Amount is then sent out and described preset be used to indicate charging wire that the charging port is connected and fill less than the total electricity of the terminal The not connected prompt message of power supply.
2. the method according to claim 1, which is characterized in that the resistance value when between the default pin is default first When in numberical range, sends out and preset be used to indicate charging wire that the charging port is connected and carried with what charge power supply was not connected with Show information, including:
When the resistance value between the default pin is within the scope of first default value, display is preset to be used to indicate institute State the text prompt information or picture cues information that the charging wire that charging port is connected is not connected with charge power supply.
3. the method according to claim 1, which is characterized in that the resistance value when between the default pin is default first When in numberical range, sends out and preset be used to indicate charging wire that the charging port is connected and carried with what charge power supply was not connected with Show information, including:
When the resistance value between the default pin is within the scope of first default value, broadcasting is preset to be used to indicate institute State the audio prompt information that the charging wire that charging port is connected is not connected with charge power supply.
4. the method according to claim 1, which is characterized in that the method further includes:
When the resistance value between the default pin is within the scope of the second default value, sends out and filled described in preset be used to indicate The prompt message connecting has been established with charge power supply for the charging wire that electric port is connected.
5. method according to claim 4, which is characterized in that the method further includes:
When the resistance value between the default pin is within the scope of second default value, stopping sends out described be used to indicate The prompt message that the charging wire that the charging port is connected is not connected with charge power supply.
6. a kind of device of prompt charging connection, which is characterized in that described device includes:
Detection module, for the resistance value between the default pin of the charging port of detection terminal;
Reminding module, for when the resistance value between the default pin is within the scope of the first default value, sending out preset It is used to indicate the prompt message that the charging wire that the charging port is connected is not connected with charge power supply;
The reminding module, is used for:
When the resistance value between the default pin is within the scope of first default value, if the electricity that the terminal is current Amount is then sent out and described preset be used to indicate charging wire that the charging port is connected and fill less than the total electricity of the terminal The not connected prompt message of power supply.
7. device according to claim 6, which is characterized in that the reminding module is used for:
When the resistance value between the default pin is within the scope of first default value, display is preset to be used to indicate institute State the text prompt information or picture cues information that the charging wire that charging port is connected is not connected with charge power supply.
8. device according to claim 6, which is characterized in that the reminding module is used for:
When the resistance value between the default pin is within the scope of first default value, broadcasting is preset to be used to indicate institute State the audio prompt information that the charging wire that charging port is connected is not connected with charge power supply.
9. device according to claim 6, which is characterized in that the reminding module is additionally operable to:
When the resistance value between the default pin is within the scope of the second default value, sends out and filled described in preset be used to indicate The prompt message connecting has been established with charge power supply for the charging wire that electric port is connected.
10. device according to claim 9, which is characterized in that the reminding module is additionally operable to:
When the resistance value between the default pin is within the scope of second default value, stopping sends out described be used to indicate The prompt message that the charging wire that the charging port is connected is not connected with charge power supply.
11. a kind of device of prompt charging connection, which is characterized in that described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Resistance value between the default pin of the charging port of detection terminal;
When the resistance value between the default pin is within the scope of the first default value, sends out and filled described in preset be used to indicate The prompt message that the charging wire that electric port is connected is not connected with charge power supply;
When the resistance value when between the default pin is within the scope of the first default value, sends out and preset be used to indicate institute The prompt message that the charging wire that charging port is connected is not connected with charge power supply is stated, including:
When the resistance value between the default pin is within the scope of first default value, if the electricity that the terminal is current Amount is then sent out and described preset be used to indicate charging wire that the charging port is connected and fill less than the total electricity of the terminal The not connected prompt message of power supply.
CN201510947285.4A 2015-12-17 2015-12-17 A kind of method and apparatus of prompt charging connection Active CN105630655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510947285.4A CN105630655B (en) 2015-12-17 2015-12-17 A kind of method and apparatus of prompt charging connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510947285.4A CN105630655B (en) 2015-12-17 2015-12-17 A kind of method and apparatus of prompt charging connection

Publications (2)

Publication Number Publication Date
CN105630655A CN105630655A (en) 2016-06-01
CN105630655B true CN105630655B (en) 2018-07-20

Family

ID=56045628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510947285.4A Active CN105630655B (en) 2015-12-17 2015-12-17 A kind of method and apparatus of prompt charging connection

Country Status (1)

Country Link
CN (1) CN105630655B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106711697B (en) * 2016-11-30 2019-10-11 宇龙计算机通信科技(深圳)有限公司 Charging cable insert state suggestion device and charging cable insert state reminding method
CN106786848A (en) * 2016-11-30 2017-05-31 宇龙计算机通信科技(深圳)有限公司 Charging wire insert state suggestion device and charging wire insert state reminding method
CN107525997A (en) * 2017-08-29 2017-12-29 努比亚技术有限公司 A kind of USB charging circuits short circuit detection method and power supply adaptor
CN107681727B (en) * 2017-10-24 2020-11-13 北京小米移动软件有限公司 Control method and device of electronic equipment
CN111588098A (en) * 2019-06-03 2020-08-28 深圳市艾维普思科技有限公司 Electronic cigarette charging connection prompting method, storage medium and electronic cigarette

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103594877A (en) * 2013-11-18 2014-02-19 宁波钜隆电子科技有限公司 Power supply unit connecting wire with loss prompting and full-electricity prompting functions
CN103618356A (en) * 2013-12-03 2014-03-05 Tcl通讯(宁波)有限公司 Charging system for mobile terminal and charging method thereof
CN104316970A (en) * 2014-11-07 2015-01-28 天津重方科技有限公司 Single-column X-ray back scattering human body safety scanner
CN104993534A (en) * 2015-07-02 2015-10-21 Tcl移动通信科技(宁波)有限公司 Mobile terminal and charge control method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8860378B2 (en) * 2011-11-23 2014-10-14 Standard Microsystems Corporation Method and system for attachment and removal indication for battery charging devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103594877A (en) * 2013-11-18 2014-02-19 宁波钜隆电子科技有限公司 Power supply unit connecting wire with loss prompting and full-electricity prompting functions
CN103618356A (en) * 2013-12-03 2014-03-05 Tcl通讯(宁波)有限公司 Charging system for mobile terminal and charging method thereof
CN104316970A (en) * 2014-11-07 2015-01-28 天津重方科技有限公司 Single-column X-ray back scattering human body safety scanner
CN104993534A (en) * 2015-07-02 2015-10-21 Tcl移动通信科技(宁波)有限公司 Mobile terminal and charge control method thereof

Also Published As

Publication number Publication date
CN105630655A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
CN104318741B (en) Bluetooth equipment control method and device
CN105630655B (en) A kind of method and apparatus of prompt charging connection
EP3035738A1 (en) Method for connecting appliance to network and device for the same
CN104219383A (en) Terminal power information prompting method and device
CN104598093A (en) Method and device for prompting message during screen locking
CN104717366A (en) Method and device for recommending contact photos
CN104298547A (en) Terminal setting method and device
CN104834559A (en) Notification message display method and device
CN105117033A (en) Connection method and device of external equipment
CN108121631B (en) Screen abnormal state reminding method and device
CN105720644A (en) Charging control method and device and terminal device
CN106407079A (en) Mobile terminal charging prompting method, device and equipment
CN104378267A (en) Hinting method and device of equipment connecting
CN104394137A (en) Voice call reminding method and device
CN104010072A (en) Electric quantity prompt method and device
CN106227645A (en) electric quantity display method and device
CN105323152A (en) Message processing method, device and equipment
CN106095636A (en) A kind of method, device and mobile device reminding continuation charging
CN107331910A (en) Charging method and device
CN105975038A (en) Prompt method and device of charging port detection result
CN104020628A (en) Flash lamp prompting method and device thereof
CN105357386A (en) Short message sequencing method and device
CN106610476B (en) Test method, device and the terminal of charge and discharge process
CN104410900B (en) A kind of method and device for controlling the indicator light being installed on smart machine
CN104967174B (en) Charge control method and device

Legal Events

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