CN107465239B - Charging control method, charger, terminal, and computer-readable storage medium - Google Patents

Charging control method, charger, terminal, and computer-readable storage medium Download PDF

Info

Publication number
CN107465239B
CN107465239B CN201710903629.0A CN201710903629A CN107465239B CN 107465239 B CN107465239 B CN 107465239B CN 201710903629 A CN201710903629 A CN 201710903629A CN 107465239 B CN107465239 B CN 107465239B
Authority
CN
China
Prior art keywords
terminal
charging
ultrasonic signal
charger
coil
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
CN201710903629.0A
Other languages
Chinese (zh)
Other versions
CN107465239A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710903629.0A priority Critical patent/CN107465239B/en
Publication of CN107465239A publication Critical patent/CN107465239A/en
Application granted granted Critical
Publication of CN107465239B publication Critical patent/CN107465239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00036Charger exchanging data with battery
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/90Circuit arrangements or systems for wireless supply or distribution of electric power involving detection or optimisation of position, e.g. alignment
    • H02J7/0088
    • H02J7/025
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a charging control method, a charger, a terminal and a computer readable storage medium, and belongs to the technical field of communication. The method comprises the following steps: when receiving an ultrasonic signal sent by a terminal through a receiver and a loudspeaker, determining the terminal model according to the received ultrasonic signal; matching the position of a charging coil in the charger for the charging according to the terminal model; and controlling the charging coil to be electrified so as to start charging the terminal. Therefore, communication is carried out between the charger and the terminal through ultrasonic signals, the terminal model is determined, and the position of the charging coil is matched for the terminal, so that intelligent charging is realized. The terminal all accessible ultrasonic wave starts wireless charging in optional position, and the user need not manual adjustment terminal locating position, also need not the manual grafting that carries out the charging wire.

Description

Charging control method, charger, terminal, and computer-readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a charging control method, a charger, a terminal, and a computer-readable storage medium.
Background
At present, terminals such as mobile phones and the like become necessary products for human beings, and due to the increase of the use frequency and the use time, the requirement on the electric quantity of the terminals is higher and higher, and the charging convenience and the intellectualization are also required besides the requirement on quick charging. In the prior art, the terminal is basically connected with the charger through a data line when charging, except charging, the terminal basically has no communication function when charging, cannot automatically control the charging process through the communication between the terminal and the charger, and does not have intelligent charging protection. Therefore, it is necessary to provide a charging control method, a charger, a terminal, and a computer-readable storage medium to avoid the above-described situation.
Disclosure of Invention
The invention mainly aims to provide a charging control method, a charger, a terminal and a computer readable storage medium, and aims to solve the problem that intelligent control cannot be realized in the terminal charging process in the prior art.
In order to achieve the above object, the present invention provides a charging control method applied to a charger side, the method including the steps of:
when receiving an ultrasonic signal sent by a terminal through a receiver and a loudspeaker, determining the terminal model according to the received ultrasonic signal;
matching the position of a charging coil in the charger for the charging according to the terminal model;
and controlling the charging coil to be electrified so as to start charging the terminal.
Optionally, the step of determining the terminal model according to the received ultrasonic signal specifically includes:
recording the receiving data of the first microphone and the second microphone to the ultrasonic wave signal;
calculating the position relation of the earphone and the loudspeaker according to the received data to determine the charging position of the terminal;
searching a preset relation table according to the received data to determine a coil design model of the terminal;
and determining the actual coil position of the terminal according to the charging position of the terminal and the coil design model.
Optionally, the step of controlling the charging coil to be powered on to start charging the terminal specifically includes:
controlling the electrifying current of the charging coil to be a first preset current so as to rapidly charge the terminal;
after an alarm ultrasonic signal sent by the terminal is received, controlling the electrifying current of the charging coil to be a second preset current; wherein the first predetermined current is greater than the second predetermined current.
Optionally, the method further comprises:
and after the ultrasonic wave signal is received, controlling the electrifying current of the charging coil to be 0.
In addition, in order to achieve the above object, the present invention further provides a charger including a memory, a processor, and a charging control program stored on the memory and executable on the processor, wherein the processor executes the charging control program to implement the charging control method applied to the charger side as described above.
In addition, in order to achieve the above object, the present invention further provides a charging control method applied to a terminal side, the method including the steps of:
when a charging trigger instruction is detected, an ultrasonic signal is sent out through a receiver and a loudspeaker so that the charger controls the charging coil to be electrified to start charging the terminal.
Optionally, the sending out the ultrasonic signal through the earpiece and the speaker specifically includes:
controlling the receiver to send out a first ultrasonic signal;
controlling the loudspeaker to emit a second ultrasonic signal;
wherein the first ultrasonic signal and the second ultrasonic signal are different in frequency.
Optionally, the method further comprises:
detecting the current charging temperature, and sending an alarm ultrasonic signal to the charger when the temperature is higher than the warning temperature; and
and detecting the charging completion degree, and sending a completion ultrasonic signal to the charger when the charging is completed.
In addition, in order to achieve the above object, the present invention also provides a terminal including a memory, a processor, and a charging control program stored on the memory and executable on the processor, the processor executing the charging control program to implement the charging control method applied to the terminal side as described above.
Further, to achieve the above object, the present invention also proposes a computer-readable storage medium storing a charging control program executable by at least one processor to cause the at least one processor to execute the steps of the charging control method applied to the charger side as described above.
According to the charging control method, the charger, the terminal and the computer readable storage medium, when the ultrasonic signals sent by the terminal through the receiver and the loudspeaker are received, the terminal model is determined according to the received ultrasonic signals; matching the position of a charging coil in the charger for the charging according to the terminal model; and controlling the charging coil to be electrified so as to start charging the terminal. Therefore, communication is carried out between the charger and the terminal through ultrasonic signals, the terminal model is determined, and the position of the charging coil is matched for the terminal, so that intelligent charging is realized. The terminal all accessible ultrasonic wave starts wireless charging in optional position, and the user need not manual adjustment terminal locating position, also need not the manual grafting that carries out the charging wire.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an optional terminal for implementing various embodiments of the present invention;
fig. 2 is a schematic diagram of a communication network system of the terminal shown in fig. 1;
fig. 3 is a flowchart illustrating a charging control method on the charger side according to a first embodiment of the present invention;
FIG. 4 is a detailed flowchart of the step of FIG. 3 for determining the terminal model according to the received ultrasonic signal;
FIG. 5 is a detailed flowchart of step S303 in FIG. 3;
fig. 6 is a schematic diagram of another hardware structure of the terminal according to the embodiments of the present invention;
FIG. 7 is a diagram of a hardware configuration of a charger according to various embodiments of the present invention;
fig. 8 is a schematic charging diagram of the terminal during charging according to various embodiments of the present invention;
fig. 9 is a schematic diagram of ultrasonic wave reception when the terminal is charged according to the embodiments of the present invention;
FIG. 10 is a diagram illustrating another hardware configuration of a charger according to a second embodiment of the present invention;
fig. 11 is a schematic view of a charging setting interface of a terminal according to various embodiments of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The client in the present invention is installed on a terminal, and the terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
While the terminal will be described as an example in the following description, those skilled in the art will appreciate that the configuration according to the embodiment of the present invention can be applied to a terminal of a fixed type, in addition to elements particularly used for moving purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention, the terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal configuration shown in fig. 1 is not intended to be limiting, and that the terminal may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes the various components of the terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used to transmit data between the terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
Although not shown in fig. 1, the terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
The first embodiment is as follows:
the invention provides a charging control method on a charger side.
Referring to fig. 3, a schematic flow chart of a charging control method on a charger side according to a first embodiment of the present invention is shown, and the method is mainly used in a charger, and includes the steps of:
step S301, when receiving an ultrasonic signal sent by a terminal through a receiver and a loudspeaker, determining a terminal model according to the received ultrasonic signal;
specifically, in the present invention, the communication between the terminal and the charger may be achieved by ultrasonic waves. When the charger receives the ultrasonic signal sent by the terminal, the model of the terminal can be determined according to the received ultrasonic signal. Here, the model of the terminal mainly refers to the actual position of the coil of the terminal when different types of terminals are in different charging positions. The ultrasonic signals are sent by the terminal, the terminal sends the ultrasonic signals with different frequencies through the receiver and the loudspeaker respectively, so that the sending sources are distinguished, the charger can calculate the positions of the receiver and the loudspeaker respectively according to the received ultrasonic signals with different frequencies, the position relation of the receiver and the loudspeaker is further determined, as for the current terminal, the position of the common receiver is located in the middle of the top end of the terminal, and the loudspeaker is located on two sides of the bottom end of the terminal, as shown in fig. 6. Therefore, the current charging position of the terminal can be further determined by determining the position relation of the earphone and the loudspeaker. It will be understood that the charging position is defined herein as the position of the terminal relative to the charger, e.g., parallel or inclined at an angle. Meanwhile, the ultrasonic signals sent by the terminals can also carry the model information of the terminals, and the coil positions in the terminals of different models are determined, so that the charger can determine the model of the terminal by combining the charging position of the terminal and the coil position of the terminal.
Further, referring to fig. 4, in this embodiment, the step of determining the terminal model according to the received ultrasonic signal specifically includes the following steps:
step S401, recording the receiving data of the first microphone and the second microphone to the ultrasonic signal;
step S402, calculating the position relation between the earphone and the loudspeaker according to the received data to determine the charging position of the terminal;
step S403, searching a preset relation table according to the received data to determine a coil design model of the terminal;
and S404, determining the actual coil position of the terminal according to the charging position of the terminal and the coil design model.
Specifically, please refer to fig. 7, which is a hardware structure diagram of the charger according to the embodiments of the present invention, in the present invention, two microphones are disposed on the charger, and the first microphone and the second microphone are used for receiving the ultrasonic signal sent by the terminal. The received data of the ultrasonic signals sent by the two microphones to the terminal are recorded respectively, the positions of a receiver and a loudspeaker of the terminal can be calculated respectively, and then the relation between the receiver and the loudspeaker is determined so as to determine the charging position of the terminal. Fig. 9 is a schematic diagram of ultrasonic wave reception when the terminal is charged. As shown in the figure, assuming that the ultrasonic signal sent by the earphone is the first ultrasonic signal, when the position of the earphone is calculated, the position of the earphone can be calculated according to the receiving data of the first ultrasonic signal by the first microphone and the second microphone, in detail, the receiving data of the first microphone and the second microphone includes the receiving direction of the first ultrasonic signal, the boundary point where the first ultrasonic signal is received by the first microphone and the second microphone can be determined according to the receiving direction, namely the ultrasonic sending point, and then the position of the earphone relative to the charger can be determined by combining the distance between the first microphone and the second microphone. Similarly, the calculation of the speaker position can also be calculated in the same manner, and the ultrasonic signal emitted by the speaker is the second ultrasonic signal, and the specific calculation process is not illustrated here. It will be appreciated that there are typically two speakers at the bottom end of the terminal, and therefore, one of the speakers emitting ultrasonic waves, for example, the left one, may be set. After the positions of the receiver and the loudspeaker are determined, the charging position of the terminal can be determined. Meanwhile, the received data also includes a receiving time, so that the time interval of the terminal transmitting the ultrasonic wave, that is, the transmitting frequency can be determined according to the interval of receiving the ultrasonic wave signal. In the invention, terminals with different types can be preset, the ultrasonic wave transmitting frequencies are different, and coil design models of the terminals with different types are also different. The charger stores preset relation tables of different types of terminals and corresponding ultrasonic transmission frequencies, and the following table 1 is a preset relation table of the different types of terminals and the ultrasonic transmission frequencies:
TABLE 1
Terminal model Transmission Interval/frequency (ms)
A 2
B 4
C 5
D 1
…… ……
Therefore, after the transmission frequency of the ultrasonic wave of the terminal is determined by receiving the data, the preset relation table can be inquired to determine the model of the terminal, and after the model of the terminal is determined, the coil design model of the terminal, namely the position of the coil in the terminal, can be determined. After the charging position of the terminal and the coil design model are determined, the charger can determine the actual position of the coil of the terminal according to the charging position of the terminal and the coil design model.
Step S302, matching the position of a charging coil in a charger for the charging according to the terminal model;
specifically, when wireless charging is performed, charging current is generated mainly by magnetic field induction between a coil in the terminal and a charger coil, so that non-contact charging can be realized, as shown in fig. 8, which is a charging schematic diagram of the terminal according to each embodiment of the present invention, and the charger 300 and the terminal can realize wireless charging without need. For magnetic induction charging, the relative position between the two coils can influence the charging efficiency, so that when wireless charging is carried out, the position of the charging coil in the charger can be adjusted according to the model of the terminal, and the magnetic field generated by the charging coil is maximized in the coil of the terminal, so that the charging efficiency is maximized. The position of the charging coil in the charger is adjustable, and in each charging process, after the terminal model is determined, the actual position of the coil of the terminal is also determined, so that the charger can match the position of the charging coil in the charger for the charging according to the terminal model, and the maximum charging efficiency of the charging is obtained.
And step S303, controlling the charging coil to be electrified so as to start charging the terminal.
Specifically, after the position of the charging coil is determined, at this time, charging can be started, and the charger controls the charging coil to be electrified to generate a changing magnetic field, so that the terminal can be charged. It is understood that the changing magnetic field may be generated by a changing current, for example, the energizing current of the charging coil may be a current with a continuously changing direction, or a current with a continuously changing magnitude, etc., which is not limited by the present invention.
Further, referring to fig. 5, in this embodiment, the step S303 specifically includes:
s501, controlling the electrifying current of the charging coil to be a first preset current so as to rapidly charge the terminal;
s502, after receiving an alarm ultrasonic signal sent by the terminal, controlling the electrifying current of the charging coil to be a second preset current;
specifically, it is assumed that the charging is started every time in a fast charging mode, and the current applied in the fast charging mode is larger than the current applied in the normal mode (protection mode). Therefore, the first predetermined current is greater than the second predetermined current. After charging is started, if the charging temperature is too high, the terminal sends an alarm ultrasonic signal to the charger, and after the signal is received, the charger reduces the electrifying current of the charging coil so as to switch the quick charging mode into a general mode. It is understood that, here, the warning ultrasonic signal may be an ultrasonic signal with a preset frequency, and is different from the first ultrasonic signal and the second ultrasonic signal which are respectively emitted by the terminal receiver and the speaker at the beginning of charging and trigger charging, and the frequencies of the warning ultrasonic signal, the first ultrasonic signal and the second ultrasonic signal are all different. The alarm ultrasonic signal may be sent by a receiver or a speaker, but the invention is not limited thereto.
Further, in this embodiment, after step S303, the method further includes the following steps:
and after the ultrasonic wave signal is received, controlling the electrifying current of the charging coil to be 0.
Specifically, after charging is completed, the terminal sends a completion ultrasonic signal, and after receiving the completion ultrasonic signal, the charger controls the energization current of the charging coil to be 0, so that charging can be completed. It is understood that the alarm ultrasonic signal may also be an ultrasonic signal of a preset frequency, which is different from the first ultrasonic signal and the second ultrasonic signal which are respectively emitted by the terminal receiver and the loudspeaker at the beginning of charging and trigger charging, and the alarm ultrasonic signal. The frequencies of the completion ultrasonic signal, the alarm ultrasonic signal, the first ultrasonic signal and the second ultrasonic signal are all different. The alarm ultrasonic signal may be sent by a receiver or a speaker, but the invention is not limited thereto.
It is understood that in other embodiments, only the charging coil may be controlled not to be powered, but the charger still remains in the powered standby state, power may only be kept to the first microphone and the second microphone, while other modules, such as the charging coil, etc., remain in the dormant state (i.e., the unpowered state), when the first microphone and the second microphone receive the ultrasonic signal sent by the terminal, the charger may enter the normal powered state again, and the other modules resume power supply to restart charging the terminal. Therefore, the charger can be fixedly plugged in the socket all the time without plugging, and the operation of a user is avoided.
In the charging control method of the embodiment, when an ultrasonic signal sent by a terminal through a receiver and a loudspeaker is received, a terminal model is determined according to the received ultrasonic signal; matching the position of a charging coil in the charger for the charging according to the terminal model; and controlling the charging coil to be electrified so as to start charging the terminal. Therefore, communication is carried out between the charger and the terminal through ultrasonic signals, the terminal model is determined, and the position of the charging coil is matched for the terminal, so that intelligent charging is realized. The terminal all accessible ultrasonic wave starts wireless charging in optional position, and the user need not manual adjustment terminal locating position, also need not the manual grafting that carries out the charging wire.
Example two:
in addition, the invention provides a charger. Referring to fig. 10, the charger 300 includes a processor 301, a memory 302, and a communication bus 303. Wherein the communication bus 83 is used for realizing the connection communication between the processor 301 and the memory 302, the memory 301 is a computer-readable storage medium in which a charging control program is stored, and the processor 301 can realize the following steps 1-3 by executing the computer program:
step 1, when receiving an ultrasonic signal sent by a terminal through a receiver and a loudspeaker, determining a terminal model according to the received ultrasonic signal;
specifically, in the present invention, the communication between the terminal and the charger may be achieved by ultrasonic waves. When the charger receives the ultrasonic signal sent by the terminal, the model of the terminal can be determined according to the received ultrasonic signal. Here, the model of the terminal mainly refers to the actual position of the coil of the terminal when different types of terminals are in different charging positions. The ultrasonic signals are sent by the terminal, the terminal sends the ultrasonic signals with different frequencies through the receiver and the loudspeaker respectively, so that the sending sources are distinguished, the charger can calculate the positions of the receiver and the loudspeaker respectively according to the received ultrasonic signals with different frequencies, the position relation of the receiver and the loudspeaker is further determined, as for the current terminal, the position of the common receiver is located in the middle of the top end of the terminal, and the loudspeaker is located on two sides of the bottom end of the terminal, as shown in fig. 6. Therefore, the current charging position of the terminal can be further determined by determining the position relation of the earphone and the loudspeaker. It will be understood that the charging position is defined herein as the position of the terminal relative to the charger, e.g., parallel or inclined at an angle. Meanwhile, the ultrasonic signals sent by the terminals can also carry the model information of the terminals, and the coil positions in the terminals of different models are determined, so that the charger can determine the model of the terminal by combining the charging position of the terminal and the coil position of the terminal.
Further, in this embodiment, the processor 301, by executing the charging control program, specifically determines the terminal model according to the received ultrasonic signal, including the following steps:
recording the receiving data of the first microphone and the second microphone to the ultrasonic wave signal;
calculating the position relation of the earphone and the loudspeaker according to the received data to determine the charging position of the terminal;
searching a preset relation table according to the received data to determine a coil design model of the terminal;
and determining the actual coil position of the terminal according to the charging position of the terminal and the coil design model.
Specifically, please refer to fig. 7, which is a hardware structure diagram of the charger according to the embodiments of the present invention, in the present invention, two microphones are disposed on the charger, and the first microphone and the second microphone are used for receiving the ultrasonic signal sent by the terminal. The received data of the ultrasonic signals sent by the two microphones to the terminal are recorded respectively, the positions of a receiver and a loudspeaker of the terminal can be calculated respectively, and then the relation between the receiver and the loudspeaker is determined so as to determine the charging position of the terminal. Fig. 9 is a schematic diagram of ultrasonic wave reception when the terminal is charged. As shown in the figure, assuming that the ultrasonic signal sent by the earphone is the first ultrasonic signal, when the position of the earphone is calculated, the position of the earphone can be calculated according to the receiving data of the first ultrasonic signal by the first microphone and the second microphone, in detail, the receiving data of the first microphone and the second microphone includes the receiving direction of the first ultrasonic signal, the boundary point where the first ultrasonic signal is received by the first microphone and the second microphone can be determined according to the receiving direction, namely the ultrasonic sending point, and then the position of the earphone relative to the charger can be determined by combining the distance between the first microphone and the second microphone. Similarly, the calculation of the speaker position can also be calculated in the same manner, and the ultrasonic signal emitted by the speaker is the second ultrasonic signal, and the specific calculation process is not illustrated here. It will be appreciated that there are typically two speakers at the bottom end of the terminal, and therefore, one of the speakers emitting ultrasonic waves, for example, the left one, may be set. After the positions of the receiver and the loudspeaker are determined, the charging position of the terminal can be determined. Meanwhile, the received data also includes a receiving time, so that the time interval of the terminal transmitting the ultrasonic wave, that is, the transmitting frequency can be determined according to the interval of receiving the ultrasonic wave signal. In the invention, terminals with different types can be preset, the ultrasonic wave transmitting frequencies are different, and coil design models of the terminals with different types are also different. The charger stores preset relation tables of different types of terminals and corresponding ultrasonic transmission frequencies, and the following table 1 is a preset relation table of the different types of terminals and the ultrasonic transmission frequencies:
TABLE 1
Terminal model Transmission Interval/frequency (ms)
A 2
B 4
C 5
D 1
…… ……
Therefore, after the transmission frequency of the ultrasonic wave of the terminal is determined by receiving the data, the preset relation table can be inquired to determine the model of the terminal, and after the model of the terminal is determined, the coil design model of the terminal, namely the position of the coil in the terminal, can be determined. After the charging position of the terminal and the coil design model are determined, the charger can determine the actual position of the coil of the terminal according to the charging position of the terminal and the coil design model.
Step 2, matching the position of a charging coil in the charger for the charging according to the terminal model;
specifically, when wireless charging is performed, charging current is generated mainly by magnetic field induction between a coil in the terminal and a charger coil, so that non-contact charging can be realized, as shown in fig. 8, which is a charging schematic diagram of the terminal according to each embodiment of the present invention, and the charger 300 and the terminal can realize wireless charging without need. For magnetic induction charging, the relative position between the two coils can influence the charging efficiency, so that when wireless charging is carried out, the position of the charging coil in the charger can be adjusted according to the model of the terminal, and the magnetic field generated by the charging coil is maximized in the coil of the terminal, so that the charging efficiency is maximized. The position of the charging coil in the charger is adjustable, and in each charging process, after the terminal model is determined, the actual position of the coil of the terminal is also determined, so that the charger can match the position of the charging coil in the charger for the charging according to the terminal model, and the maximum charging efficiency of the charging is obtained.
And 3, controlling the charging coil to be electrified to start charging the terminal.
Specifically, after the position of the charging coil is determined, at this time, charging can be started, and the charger controls the charging coil to be electrified to generate a changing magnetic field, so that the terminal can be charged. It is understood that the changing magnetic field may be generated by a changing current, for example, the energizing current of the charging coil may be a current with a continuously changing direction, or a current with a continuously changing magnitude, etc., which is not limited by the present invention.
Further, in this embodiment, the processor 301 implementing step 3 by executing the charging control program specifically includes the following steps:
controlling the electrifying current of the charging coil to be a first preset current so as to rapidly charge the terminal;
after an alarm ultrasonic signal sent by the terminal is received, controlling the electrifying current of the charging coil to be a second preset current;
specifically, it is assumed that the charging is started every time in a fast charging mode, and the current applied in the fast charging mode is larger than the current applied in the normal mode (protection mode). Therefore, the first predetermined current is greater than the second predetermined current. After charging is started, if the charging temperature is too high, the terminal sends an alarm ultrasonic signal to the charger, and after the signal is received, the charger reduces the electrifying current of the charging coil so as to switch the quick charging mode into a general mode. It is understood that, here, the warning ultrasonic signal may be an ultrasonic signal with a preset frequency, and is different from the first ultrasonic signal and the second ultrasonic signal which are respectively emitted by the terminal receiver and the speaker at the beginning of charging and trigger charging, and the frequencies of the warning ultrasonic signal, the first ultrasonic signal and the second ultrasonic signal are all different. The alarm ultrasonic signal may be sent by a receiver or a speaker, but the invention is not limited thereto.
Further, in this embodiment, after step 3, the processor 301 further executes the charging control program to implement the following steps:
and after the ultrasonic wave signal is received, controlling the electrifying current of the charging coil to be 0.
Specifically, after charging is completed, the terminal sends a completion ultrasonic signal, and after receiving the completion ultrasonic signal, the charger controls the energization current of the charging coil to be 0, so that charging can be completed. It is understood that the alarm ultrasonic signal may also be an ultrasonic signal of a preset frequency, which is different from the first ultrasonic signal and the second ultrasonic signal which are respectively emitted by the terminal receiver and the loudspeaker at the beginning of charging and trigger charging, and the alarm ultrasonic signal. The frequencies of the completion ultrasonic signal, the alarm ultrasonic signal, the first ultrasonic signal and the second ultrasonic signal are all different. The alarm ultrasonic signal may be sent by a receiver or a speaker, but the invention is not limited thereto.
It is understood that in other embodiments, only the charging coil may be controlled not to be powered, but the charger still remains in the powered standby state, power may only be kept to the first microphone and the second microphone, while other modules, such as the charging coil, etc., remain in the dormant state (i.e., the unpowered state), when the first microphone and the second microphone receive the ultrasonic signal sent by the terminal, the charger may enter the normal powered state again, and the other modules resume power supply to restart charging the terminal. Therefore, the charger can be fixedly plugged in the socket all the time without plugging, and the operation of a user is avoided.
It is understood that the charger 300 necessarily includes a charging coil, and the number of the charging coils may be one or more.
It can be understood that the charger 300 can charge one terminal or simultaneously charge a plurality of terminals, and preferably, when the charger can charge a plurality of terminals, the position adjustment of the charging coil is adjusted based on the optimal overall charging efficiency of the plurality of terminals.
By executing the charging control program of the embodiment, when receiving an ultrasonic signal sent by a terminal through a receiver and a loudspeaker, determining the terminal model according to the received ultrasonic signal; matching the position of a charging coil in the charger for the charging according to the terminal model; and controlling the charging coil to be electrified so as to start charging the terminal. Therefore, communication is carried out between the charger and the terminal through ultrasonic signals, the terminal model is determined, and the position of the charging coil is matched for the terminal, so that intelligent charging is realized. The terminal all accessible ultrasonic wave starts wireless charging in optional position, and the user need not manual adjustment terminal locating position, also need not the manual grafting that carries out the charging wire.
Example three:
the present invention further provides a computer-readable storage medium having stored thereon a charging control program that, when executed by a processor, implements the charging control method introduced in the first embodiment.
Example four:
the invention provides a terminal-side charging control method, which corresponds to the charger-side charging control method of the first embodiment.
A charging control method on a terminal side provided by a fourth embodiment of the present invention is mainly used in the terminal side, and is matched with a charging control method on a charger side to realize charging of the terminal together, and the method includes the following steps:
when a charging trigger instruction is detected, an ultrasonic signal is sent out through a receiver and a loudspeaker so that the charger controls the charging coil to be electrified to start charging the terminal.
Specifically, the terminal charging trigger instruction may be automatically sent by the terminal through detecting the electric quantity, or may be triggered by the user. In the automatic mode, the terminal detects the current electric quantity of the terminal in real time, and when the electric quantity is less than a preset threshold value, a charging trigger instruction is sent. If the user triggers the charging trigger instruction, the user may trigger the charging trigger instruction through a preset operation, for example, pressing a preset button, or through a preset sliding gesture, and when the terminal detects the preset operation of the user, the charging trigger instruction is triggered. In the invention, the communication between the terminal and the charger can be realized by ultrasonic waves, and when the terminal detects a charging trigger instruction and determines that the terminal needs to be charged at the moment, the ultrasonic signals can be sent out by a receiver and a loudspeaker so that the charger controls the charging coil to be electrified to start charging the terminal.
Further, in this embodiment, the step of emitting the ultrasonic signal through the earpiece and the speaker specifically includes the following steps:
controlling the receiver to send out a first ultrasonic signal;
controlling the loudspeaker to emit a second ultrasonic signal;
specifically, in order to distinguish the ultrasonic signals emitted by the receiver and the speaker, the frequencies of the ultrasonic signals emitted by the receiver and the speaker are necessarily different, in this embodiment, the frequency of the first ultrasonic signal emitted by the receiver is 25kHz, and the frequency of the second ultrasonic signal emitted by the speaker is 30 kHz.
Further, because the coil design models of different types of terminals are different, the terminals of different types also need to be distinguished. In the present invention, terminals of different types may be preset, the transmission intervals/frequencies at which the terminals transmit the first ultrasonic signal/the second ultrasonic signal are also different, a preset relationship table of terminals of different types and corresponding ultrasonic transmission frequencies is stored in the charger, and the table is also stored in the terminal, and the following table 1 is a preset relationship table of terminals of different types and ultrasonic transmission frequencies:
TABLE 1
Terminal model Transmission Interval/frequency (ms)
A 2
B 4
C 5
D 1
…… ……
Therefore, before the ultrasonic signals are transmitted, the terminals of different models can determine the transmission frequency by inquiring the preset relation table, and then transmit the first ultrasonic signals and the second ultrasonic signals at the transmission frequency. Here, the transmission frequency refers to a transmission frequency of one of the ultrasonic frequencies, for example, a transmission frequency at which a receiver transmits a first ultrasonic wave or a transmission frequency at which a speaker transmits a second ultrasonic wave. Different signal terminals adopt different sending frequencies, and the charger can determine the model of the terminal according to the sending frequencies after receiving the ultrasonic waves.
Further, in this embodiment, the method further includes the following steps:
detecting the current charging temperature, and sending an alarm ultrasonic signal to the charger when the temperature is higher than the warning temperature; and
and detecting the charging completion degree, and sending a completion ultrasonic signal to the charger when the charging is completed.
Specifically, it is assumed that the charging is started every time in a fast charging mode, and the current applied in the fast charging mode is larger than the current applied in the normal mode (protection mode). After the charging is started, if the charging temperature is too high, the terminal is damaged, therefore, when the charging protection function is started, the terminal can detect the current charging temperature of the terminal in real time after charging, when the temperature is higher than the warning temperature, the charging speed needs to be reduced so as to reduce the current charging temperature of the terminal, at the moment, the terminal can send an alarm ultrasonic signal to the charger, and after the signal is received, the charger can reduce the electrifying current of a charging coil so as to switch a quick charging mode to be a common mode. It is understood that, here, the warning ultrasonic signal may be an ultrasonic signal with a preset frequency, and is different from the first ultrasonic signal and the second ultrasonic signal which are respectively emitted by the terminal receiver and the speaker at the beginning of charging and trigger charging, and the frequencies of the warning ultrasonic signal, the first ultrasonic signal and the second ultrasonic signal are all different. The alarm ultrasonic signal may be sent by a receiver or a speaker, but the invention is not limited thereto. Meanwhile, the terminal also detects the current charging completion degree in real time, when the charging completion degree is detected to be 100%, namely when the charging is completed, the terminal sends a completion ultrasonic signal, and after the charger receives the signal, the electrifying current of the charging coil is controlled to be 0, so that the charging can be finished. It is understood that the alarm ultrasonic signal may also be an ultrasonic signal of a preset frequency, which is different from the first ultrasonic signal and the second ultrasonic signal which are respectively emitted by the terminal receiver and the loudspeaker at the beginning of charging and trigger charging, and the alarm ultrasonic signal. The frequencies of the completion ultrasonic signal, the alarm ultrasonic signal, the first ultrasonic signal and the second ultrasonic signal are all different. The alarm ultrasonic signal may be sent by a receiver or a speaker, but the invention is not limited thereto.
It can be understood that, when the charge protection function is in the default on state, the user may also set the function through a charge setting interface, for example, fig. 11 is a schematic view of a charge setting interface of the terminal according to various embodiments of the present invention, and the user may enter the interface to turn on or turn off the charge protection function.
In the charging control method of the embodiment, when the terminal detects the charging trigger instruction, the earphone and the speaker send out the ultrasonic signal to enable the charger to control the charging coil to be electrified to start charging the terminal. Therefore, for a user using the terminal, the terminal can realize automatic charging and intelligent control without any operation, and the user experience is improved.
Example five:
in addition, the present invention provides a charging control program.
A fifth embodiment of the present invention provides a charging control program. In this embodiment, the charging control program may be divided into one or more modules, and the one or more modules are stored in the memory 109 of the terminal 100 and executed by one or more processors (in this embodiment, the processor 110), so as to implement the charging control method described in the fourth embodiment. The processor 109 implements the following steps by executing the charging control program:
when a charging trigger instruction is detected, an ultrasonic signal is sent out through a receiver and a loudspeaker so that the charger controls the charging coil to be electrified to start charging the terminal.
Specifically, the terminal charging trigger instruction may be automatically sent by the terminal through detecting the electric quantity, or may be triggered by the user. In the automatic mode, the terminal detects the current electric quantity of the terminal in real time, and when the electric quantity is less than a preset threshold value, a charging trigger instruction is sent. If the user triggers the charging trigger instruction, the user may trigger the charging trigger instruction through a preset operation, for example, pressing a preset button, or through a preset sliding gesture, and when the terminal detects the preset operation of the user, the charging trigger instruction is triggered. In the invention, the communication between the terminal and the charger can be realized by ultrasonic waves, and when the terminal detects a charging trigger instruction and determines that the terminal needs to be charged at the moment, the ultrasonic signals can be sent out by a receiver and a loudspeaker so that the charger controls the charging coil to be electrified to start charging the terminal.
Further, in this embodiment, the processor 109, by executing the charging control program, specifically includes the following steps to send out the ultrasonic wave signal through the earpiece and the speaker:
controlling the receiver to send out a first ultrasonic signal;
controlling the loudspeaker to emit a second ultrasonic signal;
specifically, in order to distinguish the ultrasonic signals emitted by the receiver and the speaker, the frequencies of the ultrasonic signals emitted by the receiver and the speaker are necessarily different, in this embodiment, the frequency of the first ultrasonic signal emitted by the receiver is 25kHz, and the frequency of the second ultrasonic signal emitted by the speaker is 30 kHz.
Further, because the coil design models of different types of terminals are different, the terminals of different types also need to be distinguished. In the present invention, terminals of different types may be preset, the transmission intervals/frequencies at which the terminals transmit the first ultrasonic signal/the second ultrasonic signal are also different, a preset relationship table of terminals of different types and corresponding ultrasonic transmission frequencies is stored in the charger, and the table is also stored in the terminal, and the following table 1 is a preset relationship table of terminals of different types and ultrasonic transmission frequencies:
TABLE 1
Figure BDA0001423576210000201
Figure BDA0001423576210000211
Therefore, before the ultrasonic signals are transmitted, the terminals of different models can determine the transmission frequency by inquiring the preset relation table, and then transmit the first ultrasonic signals and the second ultrasonic signals at the transmission frequency. Here, the transmission frequency refers to a transmission frequency of one of the ultrasonic frequencies, for example, a transmission frequency at which a receiver transmits a first ultrasonic wave or a transmission frequency at which a speaker transmits a second ultrasonic wave. Different signal terminals adopt different sending frequencies, and the charger can determine the model of the terminal according to the sending frequencies after receiving the ultrasonic waves.
Further, in this embodiment, the processor 109 also executes the charging control program to implement the following steps:
detecting the current charging temperature, and sending an alarm ultrasonic signal to the charger when the temperature is higher than the warning temperature; and
and detecting the charging completion degree, and sending a completion ultrasonic signal to the charger when the charging is completed.
Specifically, it is assumed that the charging is started every time in a fast charging mode, and the current applied in the fast charging mode is larger than the current applied in the normal mode (protection mode). After the charging is started, if the charging temperature is too high, the terminal is damaged, therefore, when the charging protection function is started, the terminal can detect the current charging temperature of the terminal in real time after charging, when the temperature is higher than the warning temperature, the charging speed needs to be reduced so as to reduce the current charging temperature of the terminal, at the moment, the terminal can send an alarm ultrasonic signal to the charger, and after the signal is received, the charger can reduce the electrifying current of a charging coil so as to switch a quick charging mode to be a common mode. It is understood that, here, the warning ultrasonic signal may be an ultrasonic signal with a preset frequency, and is different from the first ultrasonic signal and the second ultrasonic signal which are respectively emitted by the terminal receiver and the speaker at the beginning of charging and trigger charging, and the frequencies of the warning ultrasonic signal, the first ultrasonic signal and the second ultrasonic signal are all different. The alarm ultrasonic signal may be sent by a receiver or a speaker, but the invention is not limited thereto. Meanwhile, the terminal also detects the current charging completion degree in real time, when the charging completion degree is detected to be 100%, namely when the charging is completed, the terminal sends a completion ultrasonic signal, and after the charger receives the signal, the electrifying current of the charging coil is controlled to be 0, so that the charging can be finished. It is understood that the alarm ultrasonic signal may also be an ultrasonic signal of a preset frequency, which is different from the first ultrasonic signal and the second ultrasonic signal which are respectively emitted by the terminal receiver and the loudspeaker at the beginning of charging and trigger charging, and the alarm ultrasonic signal. The frequencies of the completion ultrasonic signal, the alarm ultrasonic signal, the first ultrasonic signal and the second ultrasonic signal are all different. The alarm ultrasonic signal may be sent by a receiver or a speaker, but the invention is not limited thereto.
It can be understood that, when the charge protection function is in the default on state, the user may also set the function through a charge setting interface, for example, fig. 11 is a schematic view of a charge setting interface of the terminal according to various embodiments of the present invention, and the user may enter the interface to turn on or turn off the charge protection function.
By executing the charging control program of the embodiment, when the terminal detects a charging trigger instruction, the ultrasonic signal is sent out through the receiver and the loudspeaker so that the charger controls the charging coil to be electrified to start charging the terminal. Therefore, for a user using the terminal, the terminal can realize automatic charging and intelligent control without any operation, and the user experience is improved.
Example six:
the present invention further provides a computer-readable storage medium having the above-described charge control program stored thereon, which when executed by a processor, implements the charge control method according to embodiment four.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A charging control method is applied to a charger side, and is characterized by comprising the following steps:
when receiving an ultrasonic signal sent by a terminal through a receiver and a loudspeaker, determining a terminal model according to the received ultrasonic signal;
matching the position of a charging coil in the charger for the charging according to the terminal model;
controlling the charging coil to be electrified so as to start charging the terminal;
wherein, the step of determining the terminal model according to the received ultrasonic signal specifically comprises:
recording the receiving data of the first microphone and the second microphone to the ultrasonic wave signal;
calculating the position relation of the earphone and the loudspeaker according to the received data to determine the charging position of the terminal;
searching a preset relation table according to the received data to determine a coil design model of the terminal;
determining the actual coil position of the terminal according to the charging position of the terminal and the coil design model;
wherein the recording of the reception data of the ultrasonic signal by the first microphone and the second microphone comprises:
recording the receiving data of the first microphone and the second microphone on the ultrasonic signals sent by the receiver;
and recording the receiving data of the first microphone and the second microphone on the ultrasonic wave signals emitted by the loudspeaker.
2. The charge control method according to claim 1, wherein the step of controlling the energization of the charging coil to start charging the terminal specifically includes:
controlling the electrifying current of the charging coil to be a first preset current so as to rapidly charge the terminal;
after an alarm ultrasonic signal sent by the terminal is received, controlling the electrifying current of the charging coil to be a second preset current; wherein the first predetermined current is greater than the second predetermined current.
3. The charge control method according to any one of claims 1-2, characterized in that the method further comprises:
and after the ultrasonic wave signal is received, controlling the electrifying current of the charging coil to be 0.
4. A charger, characterized in that the charger comprises a memory, a processor and a charging control program stored on the memory and executable on the processor, the processor executing the charging control program to implement the method according to any one of claims 1-3.
5. A charging control method applied to a terminal side, the method comprising the steps of:
when a charging trigger instruction is detected, an ultrasonic signal is sent out through a receiver and a loudspeaker so that a charger controls a charging coil to be electrified to start charging the terminal;
wherein, sending out ultrasonic signal through earphone and speaker specifically includes:
controlling the receiver to send out a first ultrasonic signal;
controlling the loudspeaker to emit a second ultrasonic signal;
wherein the first ultrasonic signal and the second ultrasonic signal are different in frequency;
the first ultrasonic signal and the second ultrasonic signal of the terminals with different models adopt different sending frequencies, so that after the charger receives the ultrasonic signals, the model of the terminal is determined according to the sending frequencies, and a charging coil is controlled to be electrified to start charging the terminal;
the determining of the terminal model according to the received ultrasonic signal specifically includes:
recording the receiving data of the first microphone and the second microphone to the ultrasonic wave signal;
calculating the position relation of the earphone and the loudspeaker according to the received data to determine the charging position of the terminal;
searching a preset relation table according to the received data to determine a coil design model of the terminal;
and determining the actual coil position of the terminal according to the charging position of the terminal and the coil design model.
6. The charge control method according to claim 5, characterized by further comprising:
detecting the current charging temperature, and sending an alarm ultrasonic signal to the charger when the temperature is higher than the warning temperature; and
and detecting the charging completion degree, and sending a completion ultrasonic signal to the charger when the charging is completed.
7. A terminal, characterized in that the terminal comprises a memory, a processor and a charging control program stored on the memory and executable on the processor, the processor executing the charging control program to implement the method according to any one of claims 5-6.
8. A computer-readable storage medium storing a charging control program executable by at least one processor to cause the at least one processor to perform the steps of the charging control method according to any one of claims 1-3.
CN201710903629.0A 2017-09-29 2017-09-29 Charging control method, charger, terminal, and computer-readable storage medium Active CN107465239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710903629.0A CN107465239B (en) 2017-09-29 2017-09-29 Charging control method, charger, terminal, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710903629.0A CN107465239B (en) 2017-09-29 2017-09-29 Charging control method, charger, terminal, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN107465239A CN107465239A (en) 2017-12-12
CN107465239B true CN107465239B (en) 2021-06-25

Family

ID=60553783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710903629.0A Active CN107465239B (en) 2017-09-29 2017-09-29 Charging control method, charger, terminal, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN107465239B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108649672A (en) * 2018-04-26 2018-10-12 Oppo广东移动通信有限公司 Wireless charging circuit and wearable device
CN108924688B (en) * 2018-07-10 2020-02-21 歌尔股份有限公司 Earphone set
CN109510268B (en) * 2018-11-30 2024-04-02 努比亚技术有限公司 Terminal charging method, mobile terminal and computer readable storage medium
WO2022016498A1 (en) * 2020-07-24 2022-01-27 华为技术有限公司 Charging method and charging device
CN112433160A (en) * 2020-11-13 2021-03-02 Oppo广东移动通信有限公司 Terminal testing method and device, testing tool and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202503328U (en) * 2012-02-29 2012-10-24 东莞盛世科技电子实业有限公司 Charger system
CN103595389A (en) * 2012-08-13 2014-02-19 鲍尔马特技术有限公司 System and method for controlling connection between power supply and inductive power outlet
CN104638695A (en) * 2013-11-11 2015-05-20 中兴通讯股份有限公司 Mobile terminal wireless charging method, transmission panel and device
CN104933895A (en) * 2015-06-11 2015-09-23 百度在线网络技术(北京)有限公司 Prompting method and apparatus for vehicles
CN105083045A (en) * 2014-05-21 2015-11-25 福特全球技术公司 Sonic triangulation method for locating vehicles for hands-free electric vehicle charging
CN106856350A (en) * 2017-01-26 2017-06-16 中国农业大学 A kind of robot autonomous charging system and control method
JP2017524331A (en) * 2014-08-20 2017-08-24 ゼットティーイー コーポレーションZte Corporation Electronic device and wireless charging method and apparatus thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202503328U (en) * 2012-02-29 2012-10-24 东莞盛世科技电子实业有限公司 Charger system
CN103595389A (en) * 2012-08-13 2014-02-19 鲍尔马特技术有限公司 System and method for controlling connection between power supply and inductive power outlet
CN104638695A (en) * 2013-11-11 2015-05-20 中兴通讯股份有限公司 Mobile terminal wireless charging method, transmission panel and device
CN105083045A (en) * 2014-05-21 2015-11-25 福特全球技术公司 Sonic triangulation method for locating vehicles for hands-free electric vehicle charging
JP2017524331A (en) * 2014-08-20 2017-08-24 ゼットティーイー コーポレーションZte Corporation Electronic device and wireless charging method and apparatus thereof
CN104933895A (en) * 2015-06-11 2015-09-23 百度在线网络技术(北京)有限公司 Prompting method and apparatus for vehicles
CN106856350A (en) * 2017-01-26 2017-06-16 中国农业大学 A kind of robot autonomous charging system and control method

Also Published As

Publication number Publication date
CN107465239A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN107222033B (en) Wireless charging method and wireless charging panel
CN107465239B (en) Charging control method, charger, terminal, and computer-readable storage medium
CN108566479B (en) Screen state control method, mobile terminal and computer readable storage medium
CN107613489B (en) Wireless charging method, wireless hotspot device, terminal and storage medium
CN109067995B (en) Brightness adjusting method, mobile terminal and computer readable storage medium
WO2018233427A1 (en) Wireless charging control method, charging panel, and system
CN108055412B (en) Method of controlling mobile terminal, and computer-readable storage medium
CN107423238B (en) Screen projection connection method and device and computer readable storage medium
CN109144441B (en) Screen adjusting method, terminal and computer readable storage medium
CN109195058B (en) Earphone sound channel switching method, earphone sound channel switching device, terminal and storage medium
CN108628311B (en) Control method, sweeping robot, terminal and computer-readable storage medium
CN108196777B (en) Flexible screen application method and device and computer readable storage medium
CN112004174A (en) Noise reduction control method and device and computer readable storage medium
CN112261535A (en) Major-minor switching method and device for wireless earphone and readable storage medium
CN108536383B (en) Game control method, game control equipment and computer readable storage medium
CN108334266B (en) Control method of flexible terminal, flexible terminal and computer readable storage medium
CN108226880B (en) Method and device for preventing interference in ultrasonic distance detection and storage medium
CN110875640A (en) Wireless charging device, electromagnetic transmission control method, and computer-readable storage medium
CN109683778B (en) Flexible screen control method and device and computer readable storage medium
CN109491577B (en) Holding interaction method and device and computer readable storage medium
CN107424393B (en) Mobile terminal searching method, mobile terminal and storage medium
CN112437472B (en) Network switching method, equipment and computer readable storage medium
CN112102780B (en) Display frame rate regulation and control method, device and computer readable storage medium
CN109561221B (en) Call control method, device and computer readable storage medium
CN109669616B (en) Side screen interaction control method and device and computer readable storage medium

Legal Events

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