Patent Description:
With rapid development of information technology, functions of electronic devices are becoming more powerful, and technologies for charging the electronic devices are being continuously developed and improved. Currently, wireless charging technologies have been applied to a large number of electronic devices. Wireless charging takes advantage of wireless power transmission technologies that use magnetic fields and other media to transmit electric energy. They have characteristics of high portability and are not limited by plugging the device into a charging cord. In order to improve the wireless charging efficiency of wireless charging devices, research on wireless charging power is particularly important.

<CIT> discloses a wireless power transmitter which prevents overvoltage from being generated during a transient period, by starting implementation of fast charge, and an operation method therefor.

A first aspect of the invention provides a method for controlling wireless charging. The method includes: obtaining by a terminal device, a charging power and a temperature of the terminal device, in which the terminal device includes a wireless charging system; determining by the terminal device, an operating mode of the wireless charging system based on the charging power and the temperature according to a preset rule, in which the preset rule includes at least two control rules and operating modes corresponding to the at least two control rules respectively; and controlling by the terminal device, the wireless charging system to enter the operating mode corresponding to one of the at least two control rules.

Herein, the preset rule includes a first control rule and a second control rule, and determining the operating mode of the wireless charging system based on the charging power and the temperature according to the preset rule includes: determining whether the charging power is greater than a preset power threshold; determining the operating mode of the wireless charging system according to the temperature and the first control rule in response to the charging power being greater than the preset power threshold; and determining the operating mode of the wireless charging system according to the temperature and the second control rule in response to the charging power being equal to or less than the preset power threshold.

A second aspect of the invention provides an apparatus for controlling wireless charging. The apparatus includes an obtaining module, a determining module and a control module. The obtaining module is configured to obtain a charging power and a temperature of the terminal device. The determining module is configured to determine an operating mode of the wireless charging system based on the charging power and the temperature according to a preset rule, in which the preset rule includes at least two control rules and operating modes corresponding to the at least two control rules respectively. The control module is configured to control the wireless charging system to enter the operating mode corresponding to one of the at least two control rules.

Herein, the preset rule includes a first control rule and a second control rule, and the determining module is configured to: determine whether the charging power is greater than a preset power threshold; determine the operating mode of the wireless charging system according to the temperature and the first control rule in response to the charging power being greater than the preset power threshold; and determine the operating mode of the wireless charging system according to the temperature and the second control rule in response to the charging power being equal to or less than the preset power threshold.

A third aspect of the invention provides a terminal device. The terminal device includes a wireless charging system; a processor and a memory configured to store instructions executable by the processor.

The processor is configured to read and execute instructions stored in the memory, so as to implement the method for controlling wireless charging according to the first aspect of the invention. The processor is configured to read and execute instructions stored in the memory, so as to: obtain a charging power and a temperature of a terminal device; determine an operating mode of a wireless charging system in the terminal device based on the charging power and the temperature according to a preset rule, in which the preset rule includes at least two control rules and operating modes corresponding to the at least two control rules respectively; and control the wireless charging system to enter the operating mode corresponding to one of the at least two control rules.

A fourth aspect of the invention, not covered by the scope of the appended claims but present in this description for illustrative purposes, provides a computer-readable storage medium having a computer program stored thereon. The computer program is configured to implement the method for controlling wireless charging according to the first aspect of the invention.

With the technical solution provided by embodiments of the invention, since at least two control rules are provided, only the charging power and the temperature of the terminal device need to be obtained, which can fully consider the influencing factors in the wireless charging process, and can automatically control each device in the wireless charging system to enter the operating mode corresponding to each control rule, not only realizing fast and efficient wireless charging, but also ensuring safety of wireless charging, avoiding loss of charging coils, switches and other devices, reducing heating generated in the charging process, and further improving the user experience.

By reading detailed description of the non-restrictive embodiments with reference to the following drawings, additional features, purposes and advantages of the invention become apparent.

The invention will be described in detail below with reference to the accompanying drawings and the embodiments. It should be understood that, the specific embodiments described herein are only used to explain the invention rather than to limit the invention. In addition, it should also be noted that, for convenience of description, only part but not all structures related to the invention are illustrated in the accompanying drawings.

It should be noted that embodiments of the invention and features in the embodiments may be combined without conflict, as long as they fall within the scope of the invention as defined by the appended claims.

Hereinafter, the invention is described in detail with reference to the drawings in combination with the embodiments.

It may be understood that as the functions of electronic devices become more powerful, the requirements for endurance of the electronic devices are increasing. The wireless charging technology is applied to various electronic devices, so that wireless charging can be achieved through principles such as electromagnetic induction, radio waves, electromagnetic resonance and electric field coupling. In electromagnetic induction, the current passes through the coil, and the coil generates a magnetic field, which induces electromotive force to nearby coils to generate current. Generally, in the process of wireless charging, the terminal device needs to be placed in a charging base. A power transmitting coil is installed in the charging base, and a receiving coil is installed in the electronic device. The power transmitting coil transmits power through electromagnetic induction, and the receiver in the electronic device receives power through the receiving coil and provides energy to a subsequent stage through a rectification and power conversion circuit (such as a charging circuit). Meanwhile, the receiver in the electronic device may adjust the charging voltage by sending commands through the communication interface, and may completely terminate power transmission after receiving an indication of the end of charging. Since the wireless charging efficiency is related to power, generally, the greater the power, the larger the magnetic field range; the closer the distance, the better the efficiency; and the shorter the distance between the receiving coil and the transmitting coil, the higher the efficiency of power conversion. In order to improve the charging efficiency of the wireless charging device, the wireless charging power may be increased.

There are two ways to increase the wireless charging power in the related art. One way is to increase the current at the output terminal of the wireless charging system. However, increasing the current at the output terminal will increase the loss of charging coils, switches and other devices, and cause a large heating value of the electronic device, thereby impacting the wireless charging effect. The other way is to increase a voltage at the output terminal while keeping the current at the output terminal unchanged. However, continuous high-voltage and high-power charging affects the safety of wireless charging, resulting in poor user experience.

Based on the above defects, the invention provides the method for controlling wireless charging. Compared to the related art, in this solution, at least two control rules are provided, and only the charging power and the temperature need to be obtained, which can automatically control the wireless charging system to enter the operating mode corresponding to each control rule, not only realizing fast and efficient wireless charging, but also ensuring the safety of wireless charging, avoiding the loss of charging coils, switches and other devices, and further improving the user experience.

The terminal device in embodiments of the invention may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a PDA (Personal Digital Assistant), a PMP (Portable Media Player), a navigation device, a wearable device, a smart bracelet, and a pedometer, as well as fixed terminals such as digital TVs and desktop computers.

The method for controlling wireless charging according to embodiments of the invention may be applied to the terminal device, and the terminal device includes the wireless charging system. <FIG> is a block diagram of a wireless charging system according to an embodiment of the invention. As illustrated in <FIG>, the wireless charging system includes a receiver (RX) <NUM>, a first charge pump <NUM>, a second charge pump <NUM>, a power management integrated circuit (PMIC) <NUM>, a processor <NUM> and a battery <NUM>. A first end of the receiver <NUM> is coupled to a receiving coil <NUM>, and a second end of the receiver <NUM> is coupled to a first end of the first charge pump <NUM>. A second end of the first charge pump is respectively coupled to a first end of the PMIC <NUM> and a first end of the second charge pump <NUM>. A second end of the PMIC <NUM> and a second end of the second charge pump <NUM> are respectively connected to the battery <NUM>.

The above receiving coil is configured to receive the current emitted by the wireless charging transmitting coil, and the receiver <NUM> is configured to convert an alternating current coupled by the receiving coil into direct current.

The first charge pump and the second charge pump are DC-DC converters that use capacitors as energy storage elements for voltage conversion. DC/DC voltage conversion is performed by using a switching network to supply or power off two or more capacitors. The first charge pump and the second charge pump may be used as inverters, splitters or boosters. When the first charge pump and the second charge pump are used as inverters, the input voltage is converted into a negative output, and when used as splitters, the output voltage is a part of the input voltage, such as <NUM> /<NUM> or <NUM>/<NUM>, and when used as boosters, <NUM>. 5X or 2X gain are brought to I/O. In this embodiment, the first charge pump and the second charge pump may be used as splitters. The first charge pump may operate in mode A. The mode A has three operating modes, namely A1, A2, and A3. The modes A1, A2, and A3 respectively correspond to the ratios of the input voltage to the output voltage, i.e., <NUM>:<NUM>, <NUM>: <NUM>, <NUM>:<NUM>. The second charge pump operates in mode B. The mode B has two operating modes, namely B1 and B2, the two modes B1 and B2 correspond to the ratios of input voltage to output voltage, i.e., <NUM>:<NUM>, <NUM>:<NUM>.

PMIC <NUM> is an integrated circuit that includes multiple power rails and power management functions in a single chip, which is used for charging control, and may control the value of the current. The PMIC may be a wireless charging control chip that operates in mode C.

The battery may be a lithium battery, and power may be charged into the lithium battery through a voltage transformation operation of the first charge pump and the second charge pump.

For ease of understanding and description, the method and apparatus for controlling wireless charging, the device, and the storage medium according to embodiments of the invention are described in detail below with reference to <FIG>.

<FIG> is a flowchart of a method for controlling wireless charging according to an embodiment of the invention. The method may be executed by a wireless charging control device. As illustrated in <FIG>, the method includes the following steps.

At step S101, a charging power and a temperature of the terminal are obtained.

In detail, a wireless charging protocol corresponding to the terminal device and the wireless charging base may be preset. The wireless charging protocol may be a private protocol obtained after modifying or perfecting a public protocol. Private wireless charging protocols of different manufacturers are incompatible. The private protocols may include, for example, MTK protocol, Qualcomm protocol, PD protocol or VOOC flash charging protocol, etc. It should be noted that the public protocol may be a Qi protocol based on Qi standard. The Qi standard is a wireless charging standard launched by the wireless power consortium, which is the world's first standard organization to promote wireless charging technologies, has two major characteristics of convenience and versatility, and may be implemented by electromagnetic induction technologies.

In order to prevent the wireless charging base from wirelessly charging unauthorized terminal devices, the wireless charging device (such as the wireless charging base) often needs to authenticate the terminal device. After the authentication is successful, the wireless charging device charges the device to be charged wirelessly. That is, there is a need to determine whether the terminal device complies with the wireless charging protocol.

In detail, when the terminal device needs to be wirelessly charged, the user may place the terminal device on the wireless charging base. At this time, the connection between the terminal device and the wireless charging base is established, and the terminal device may send a communication signal to the wireless charging base. The communication signal is configured to determine whether the terminal device complies with the wireless charging protocol. When the terminal device complies with the wireless charging protocol, it means that the terminal device supports the wireless fast charging function. In order to avoid damage to the terminal device during high-voltage and high-power wireless charging, it is necessary to obtain the charging power and the temperature of the terminal, and determine the operating mode of the wireless charging system based on the charging power and the temperature, so as to achieve safe and efficient wireless charging. The charging power is the charging power of the transmitter TX in the wireless charging base.

When the terminal device does not comply with the wireless charging protocol, the operating mode of the first charge pump is determined as a third mode (mode A3), that is, the ratio of the input voltage to the output voltage is <NUM>:<NUM>, and the operating mode of the PMIC is determined as the charging mode, and the lithium battery in the terminal device is normally charged under the control of the PMIC.

At step S102, an operating mode of the wireless charging system is determined based on the charging power and the temperature according to a preset rule, in which the preset rule includes at least two control rules and operating modes corresponding to the at least two control rules respectively.

At this step, the preset rule may be set in advance, and the preset rule may include a first control rule and a second control rule. For each of different control rules, the determined operating modes corresponding to respective devices in the wireless charging system are different. The devices in the wireless charging system may include the first charge pump, the second charge pump, and PMIC.

Optionally, as a possible implementation, <FIG> is a flowchart of a method for controlling wireless charging according to an embodiment of the invention. As illustrated in <FIG>, the method includes the following steps.

At step S201, it is determined whether the charging power is greater than a preset power threshold.

At step S202, the operating mode of the wireless charging system is determined according to the temperature and the first control rule in response to the charging power being greater than the preset power threshold.

At step S203, the operating mode of the wireless charging system is determined according to the temperature and the second control rule in response to the charging power being equal to or less than the preset power threshold.

In detail, as illustrated in <FIG>, when the terminal device starts wireless charging, it may be determined whether the terminal device complies with the wireless fast charging protocol. When the terminal device complies with the wireless fast charging protocol, the charging power may be obtained first, that is, TX charging power is obtained, and it is determined whether the charging power is greater than a preset power threshold X. The preset power threshold X may be customized according to actual parameters of the terminal device. The power of the wireless charging base supported by the terminal device may be various values, such as 10w, 20w, 30w and 50w. However, not all wireless charging bases can operate under high voltage when in use. Only when the charging power is greater than the preset power threshold, the highest voltage output by the terminal device may be greater than 20V.

When it is determined that the charging power is greater than the preset power threshold X, the operating mode of the wireless charging system may be determined according to the temperature and the first control rule. When it is determined that the temperature is less than the first temperature threshold, the operating mode of the first charge pump is determined as the first mode, the operating mode of the second charge pump is determined as the second mode, and the operating mode of the PMIC is determined as the charging mode, that is, the first charge pump operates in the mode A3, the second charge pump operates in mode B2, and PMIC operates in mode C. The mode A3 indicates that the ratio of input voltage to output voltage is <NUM>:<NUM>, and the mode B2 indicates that the ratio of input voltage to output voltage is <NUM>:<NUM>.

When the temperature is greater than or equal to the first temperature threshold, it is determined whether the temperature is less than the second temperature threshold. When the temperature is less than the second temperature threshold, it is determined that the operating mode of the first charge pump is the second mode, the operating mode of the second charge pump is the second mode, and the operating mode of the PMIC is the charging mode, that is, the first charge pump operates in the mode A2, the second charge pump operates in the mode B2, and PMIC operates in mode C. The mode A2 indicates that the ratio of input voltage to output voltage is <NUM>:<NUM>, and the mode B2 indicates that the ratio of input voltage to output voltage is <NUM>:<NUM>.

When the temperature is not less than the second temperature threshold, it is determined that the operating mode of the first charge pump is the second mode, and the operating mode of the PMIC is the charging mode, that is, the first charge pump operates in the mode A2, and the PMIC operates in the mode C. The mode A2 means that the ratio of input voltage to output voltage is <NUM>:<NUM>. The first temperature threshold is less than the second temperature threshold.

Further, when it is determined that the charging power is less than or equal to the preset power threshold X, the operating mode of the wireless charging system may be determined according to the temperature and the second control rule. When it is determined that the temperature is less than a third temperature threshold, it is determined that the operating mode of first charge pump is the second mode, the operating mode of the second charge pump is the second mode, and the operating mode of the PMIC is the charging mode, that is, the first charge pump operates in mode A2, the second charge pump operates in mode B2, and the PMIC operates in mode C. The mode A2 indicates that the ratio of input voltage to output voltage is <NUM>:<NUM>, and the mode B2 indicates that the ratio of input voltage to output voltage is <NUM>:<NUM>.

When it is determined that the temperature is greater than or equal to the third temperature threshold, it is determined that the operating mode of the first charge pump is the second mode and the operating mode of the PMIC is the charging mode, that is, the first charge pump operates in the mode A2, and the PMIC operates in the mode C.

At step S103, the wireless charging system is controlled to enter the operating mode corresponding to one of the at least two control rules.

After the operating mode of the wireless charging system is determined, a configuration file corresponding to the operating mode is obtained. The configuration file is configured with parameters corresponding to the wireless charging system that meets the control rule. The configuration file is parsed, so that the wireless charging system is controlled to enter the operating mode corresponding to the control rule by controlling parameters of the first charge pump, the second charge pump and the PMIC in the wireless charging system.

For example, when the terminal device needs to be wirelessly charged, the user may place the terminal device on the wireless charging base. At this time, the connection between the terminal device and the wireless charging base is established. Then it is determined whether the wireless charging protocol is met. When it is determined that the wireless charging protocol is met, the charging power and the temperature of the terminal device may be obtained, and the operating mode of each device in the wireless charging system is determined according to the preset rule. When it is determined that the wireless charging protocol is not met, the operating mode of the first charge pump may be determined to be the third mode, that is, the ratio of the input voltage to the output voltage is <NUM>:<NUM>, and the operating mode of the PMIC may be determined to be the charging mode. The PMIC controls the normal charging of the lithium battery.

When the terminal device complies with the wireless charging protocol, it means that the terminal device supports the wireless fast charging function, and the charging power may be obtained, and it may be determined whether the charging power is greater than the preset power threshold. If the charging power is greater than the preset power threshold, it means that the terminal device may be in a high-voltage state, and then it is determined whether the temperature is less than the first temperature threshold. When the temperature is less than the first temperature threshold, it is determined that first charge pump operates in mode A3, the second charge pump operates in mode B2, and the PMIC operates in mode C. The mode A3 indicates that the ratio of input voltage to output voltage is <NUM>:<NUM>, and the mode B2 is that the ratio of input voltage to output voltage is <NUM>:<NUM>. That is, for example, when the charging power is 30W, and the corresponding output voltage is 30V and the output current is 1A, first step-down may be performed by the first charge pump to reduce the voltage and current to 10V/3A through <NUM>:<NUM> step-down, and then second step-down may be performed by the second charge pump to reduce the voltage and current to 5V/6A through <NUM>:<NUM> step-down, so that the battery voltage of 5V is reached , and the power is charged into the battery through the PMIC.

When the temperature is greater than or equal to the first temperature threshold, it is determined whether the temperature is less than the second temperature threshold. When the temperature is less than the second temperature threshold, it is determined that the first charge pump operates in mode A2, the second charge pump operates in mode B2, and the PMIC operates in mode C. The mode A2 indicates that the ratio of input voltage to output voltage is <NUM>:<NUM>, and the mode B2 indicates that the ratio of input voltage to output voltage is <NUM>:<NUM>. That is, at this time, when the temperature is high and the maximum output voltage is 20V and the maximum output current is 1A, first step-down may be performed by the first charge pump to reduce the voltage and current to 10V/2A by <NUM>:<NUM>, and then second step-down may be performed by the second charge pump to reduce the voltage and current to 5V/6A by <NUM>:<NUM>, so that the battery voltage of 5V is reached, and the power is charged into the battery through the PMIC.

When the temperature is greater than or equal to the second temperature threshold, it is determined that the first charge pump operates in the mode A2 and the PMIC operates in the mode C. The mode A2 indicates that the ratio of the input voltage to the output voltage is <NUM>:<NUM>. That is, at this time, the temperature of the terminal device is relatively high, because the terminal itself generates heat during the charging process. Thus, the operating voltage is below 20V, for example, the charging power is 10V/1A. Since no particularly large charging power is required, the second charge pump does not need to operate, and only the first charge pump operates in mode A2, to reduce the power to 5V/6A by <NUM>:<NUM> step-down, so that the battery voltage of 5V is reached, and power is charged into the battery through the PMIC.

Further, when the charging power is less than or equal to the preset power threshold, the operating mode of the wireless charging system may be determined according to the temperature and the second control rule. When it is determined that the temperature of the terminal device is less than the third temperature threshold, it is determined that the first charge pump operates in mode A2, the second charge pump operates in mode B2, and the PMIC operates in mode C. The mode A2 indicates that the ratio of input voltage to output voltage is <NUM>:<NUM>, and the mode B2 indicates that the ratio of input voltage to output voltage is <NUM>:<NUM>. That is, relatively larger power is not supported, and the maximum output voltage does not exceed 20V. If the temperature is relatively low, it is desired to charge the battery with high power. For example, when the maximum output voltage is 20V and the maximum output current is 1A, first step-down may be performed by the first charge pump to reduce the voltage and current to 10V/2A by <NUM>:<NUM>, and then second step-down may be performed by the second charge pump to reduce the voltage and current to 5V/6A by <NUM>:<NUM>, so that the battery voltage of 5V is reached, and the power is charged into the battery through the PMIC.

When the charging power is greater than or equal to the third temperature threshold, it is determined that the first charge pump operates in mode A2 and the PMIC operates in mode C. That is, the temperature of the terminal device is relatively high at this time, because the terminal generates heat itself in the charging process. Thus, the operating voltage must be below 20V, for example, the charging power is 10V/1A. Since no particularly large charging power is required, the second charge pump does not need to operate, and only the first charge pump is required to operate in A2 mode, to reduce the voltage to 5V/6A by <NUM>:<NUM> step-down, so that the battery voltage is reached, and the power is charged into the battery through the PMIC.

With the method for controlling wireless charging provided by embodiments of the present invention, the charging power and the temperature of the terminal device are obtained, the operating mode of the wireless charging system is determined based on the charging power and the temperature according to the preset rule, in which the preset rule includes at least two control rules and operating modes corresponding to the at least two control rules respectively, and then the wireless charging system is controlled to enter the operating mode corresponding to one of the at least two control rules. With this technical solution, since at least two control rules are provided, only the charging power and the temperature of the terminal need to be obtained, which can fully consider the influencing factors in the wireless charging process, and can automatically control each device in the wireless charging system to enter the operating mode corresponding to each control rule, not only realizing fast and efficient wireless charging, but also ensuring safety of wireless charging, avoiding loss of charging coils, switches and other devices, reducing heating generated in the charging process, and further improving the user experience.

<FIG> is a block diagram of an apparatus for controlling wireless charging according to an embodiment of the invention. The apparatus may be a device in the terminal device. As illustrated in <FIG>, the apparatus <NUM> includes an obtaining module <NUM>, a determining module <NUM> and a control module <NUM>.

The obtaining module <NUM> is configured to obtain a charging power and a temperature of the terminal device.

The determining module <NUM> is configured to determine an operating mode of the wireless charging system based on the charging power and the temperature according to a preset rule, in which the preset rule includes at least two control rules and operating modes corresponding to the at least two control rules respectively.

The control module <NUM> is configured to control the wireless charging system to enter the operating mode corresponding to one of the at least two control rules.

The determining module <NUM> is configured to:.

Optionally, the determining module <NUM> is further configured to:.

Optionally, the determining module <NUM> is further configured to:
in response to the temperature being equal to or greater than the second temperature threshold, determine that the operating mode of the first charge pump is the second mode and the operating mode of the PMIC is the charging mode.

Optionally, the control module <NUM> is further configured to:.

Optionally, the apparatus is further configured to:.

It could be understood that the functions of respective functional modules of the wireless charging control device of this embodiment may be implemented according to the method in the above embodiments, and with respect to the specific implementation process, reference may be made to relevant description of the above method embodiments, which will not be repeated here.

In summary, with the apparatus for controlling wireless charging provided by embodiments of the invention, the charging power and the temperature of the terminal device are obtained by the obtaining module, the operating mode of the wireless charging system is determined by the determining module based on the charging power and the temperature according to the preset rule, in which the preset rule includes at least two control rules and operating modes corresponding to the at least two control rules respectively, and then the wireless charging system is controlled by the control module to enter the operating mode corresponding to one of the at least two control rules. With this technical solution, since at least two control rules are provided, only the charging power and the temperature of the terminal need to be obtained, which can fully consider the influencing factors in the wireless charging process, and can automatically control each device in the wireless charging system to enter the operating mode corresponding to each control rule, not only realizing fast and efficient wireless charging, but also ensuring safety of wireless charging, avoiding loss of charging coils, switches and other devices, reducing heating generated in the charging process, and further improving the user experience.

<FIG> is a block diagram of a terminal device according to an embodiment of the invention. The terminal <NUM> may include a wireless communication unit <NUM>, an A/V (audio/video) input unit <NUM>, a user input unit <NUM>, a sensing unit <NUM>, an output unit <NUM>, a memory <NUM>, an interface unit <NUM>, a controller <NUM>, a power supply unit <NUM>. <FIG> shows a terminal with various components, but it should be understood that implementation of all the shown components is not required. Alternatively, more or fewer components may be implemented. The elements of the terminal are described in detail below.

The wireless communication unit <NUM> generally includes one or more components that allow radio communication between the terminal <NUM> and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module <NUM>, a mobile communication module <NUM>, a wireless Internet module <NUM>, a short-range communication module <NUM>, and a location information module <NUM>.

The broadcast receiving module <NUM> receives broadcast signals and/or broadcast related information from an external broadcast management server via broadcast channels. Broadcast channels may include satellite channels and/or terrestrial channels. The broadcast management server may be a server that generates and transmits the broadcast signals and/or broadcast related information or a server that receives previously generated broadcast signals and/or broadcast related information and sends the previously generated broadcast signals and/or broadcast related information to the terminal. The broadcast signals may include TV broadcast signals, radio broadcast signals and data broadcast signals. The broadcast signals may further include broadcast signals combined with TV or radio broadcast signals. The broadcast-related information may also be provided via a mobile communication network. In this case, the broadcast-related information may be received by the mobile communication module <NUM>. The broadcast signals may exist in various forms, for example, in the forms of an electronic program guide (EPG) of digital multimedia broadcasting (DMB), and an electronic service guide (ESG) of digital video broadcasting handheld (DVB-H). The broadcast receiving module <NUM> may receive digital broadcasts by using various digital broadcasting systems, such as multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), digital broadcasting systems with forward link media (MediaFLO@), and integrated terrestrial digital broadcasting services (ISDB-T). The broadcast receiving module <NUM> may be configured to be suitable for various broadcast systems that provide broadcast signals as well as the above-mentioned digital broadcast systems. The broadcast signal and/or broadcast-related information received via the broadcast receiving module <NUM> may be stored in the memory <NUM> (or other types of storage media).

The mobile communication module <NUM> transmits radio signals to and/or receives radio signals from at least one of a base station (for example, an access point or a Node B), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.

The wireless Internet module <NUM> supports wireless Internet access of the terminal. The module may be internally or externally coupled to the terminal. The wireless Internet access technologies related to this module include WLAN (Wireless LAN) (Wi-Fi), Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), and HSDPA (High Speed Downlink Packet Access).

The short-range communication module <NUM> is a module supporting short-range communication. Short-range communication technologies include Bluetooth™, Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra Wideband (UWB), Zigbee, and so on.

The location information module <NUM> is a module for checking or acquiring location information of the terminal. A typical example of the location information module is GPS (Global Positioning System). Through current technologies, the GPS module <NUM> calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information based on longitude, latitude and altitude. Currently, a method for calculating location and time information uses three satellites and corrects errors in the calculated position and time information by using another satellite. In addition, the GPS module <NUM> also calculates speed information by continuously calculating current location information in real time.

The A/V input unit <NUM> is configured to receive audio or video signals. The A/V input unit <NUM> may include a camera <NUM> and a microphone <NUM>, and the camera <NUM> processes image data of still pictures or videos obtained by an image capture device in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit <NUM>. The image frames processed by the camera <NUM> may be stored in the memory <NUM> (or other storage medium) or transmitted via the wireless communication unit <NUM>, and two or more cameras <NUM> may be provided according to the configuration of the terminal. The microphone <NUM> may receive sound (audio data) via the microphone in operation modes such as telephone call mode, recording mode, voice recognition mode and the like, and processes such sound into audio data. The processed audio (voice) data may be converted in a telephone call mode into a format that may be sent to a mobile communication base station via the mobile communication module <NUM> for output. The microphone <NUM> may implement various types of noise cancellation (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.

The user input unit <NUM> may generate key input data according to commands input by the user to control various operations of the terminal. The user input unit <NUM> allows the user to input various types of information, and may include a keyboard, a pot slice, a touchpad (for example, a touch-sensitive component that detects changes in resistance, pressure and capacitance due to being contacted), a scroll wheel and a rocker. In particular, when a touch pad is superimposed on the display unit <NUM> in the form of a layer, a touch screen may be formed.

The sensing unit <NUM> detects the current state of the terminal <NUM> (for example, open or closed state of the terminal <NUM>), the location of the terminal <NUM>, the presence or absence of the user's contact (i.e., touch input) with the terminal <NUM>, the orientation of the terminal <NUM>, and the acceleration or deceleration movement and direction of the terminal <NUM>, and generates a command or signal for controlling the operation of the terminal <NUM>. For example, when the terminal <NUM> is implemented as a sliding type mobile phone, the sensing unit <NUM> may sense whether the sliding type phone is opened or closed. In addition, the sensing unit <NUM> detects whether the power supply unit <NUM> provides power or whether the interface unit <NUM> is coupled with an external device.

The interface unit <NUM> serves as an interface through which at least one external device may be connected to the terminal <NUM>. For example, the external device may include a wired or wireless headset interface, an external power source (or battery charger) interface, a wired or wireless data interface, a memory card interface, an interface for connecting a device with an identification module, audio input/output (I/O) interface, video I/O interface, headphone interface. The identification module may store various information for verifying that the user uses the terminal <NUM> and may include a user identity module (UIM), a subscriber identity module (SIM), a universal subscriber identity module (USIM), and so on. In addition, a device with an identity module (hereinafter referred to as an "identification device") may take the form of a smart card. Therefore, the identification device may be connected to the terminal <NUM> via an interface or other connection device. The interface unit <NUM> may be used to receive input (for example, data information and power) from an external device and transmit the received input to one or more elements in the terminal <NUM> or may be used to transfer data between the terminal and the external device.

In addition, when the terminal <NUM> is connected to an external base, the interface unit <NUM> may be used as a path through which power is provided from the base to the terminal <NUM> or may be used as a path through which various command signals input from the base are transmitted to the terminal. Various command signals or power input from the base may be used as signals for determining whether the terminal is accurately installed on the base. The output unit <NUM> is configured to provide output signals (for example, audio signals, video signals, alarm signals, and vibration signals) in a visual, audio, and/or tactile manner. The output unit <NUM> may include a display unit <NUM>, an audio output module <NUM>, and an alarm unit <NUM>.

The display unit <NUM> may display information processed in the terminal <NUM>. For example, when the terminal <NUM> is in a telephone call mode, the display unit <NUM> may display a user interface (UI) or a graphical user interface (GUI) related to a call or other communications (e.g., text message sending and receiving, multimedia file download, etc.). When the terminal <NUM> is in a video call mode or an image capturing mode, the display unit <NUM> may display a captured image and/or a received image, or a UI or GUI showing a video or image and related functions.

Meanwhile, when the display unit <NUM> and the touch pad are superimposed on each other in the form of a layer to form a touch screen, the display unit <NUM> may be used as an input device and an output device. The display unit <NUM> may include at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, a flexible display, and a three-dimensional (3D) display. Some of these displays may be configured to be transparent to allow users to view from the outside, which may be referred to as a transparent display, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. According to a specific desired implementation, the terminal <NUM> may include two or more display units (or other display devices), for example, the terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect touch input pressure as well as touch input position and touch input area.

The audio output module <NUM> converts audio data received by the wireless communication unit <NUM> or stored in the memory <NUM> into audio signals and output as sound when the terminal is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, and a broadcast receiving mode. Moreover, the audio output module <NUM> may provide audio output related to a specific function performed by the terminal <NUM> (for example, call signal reception sound, and message reception sound). The audio output module <NUM> may include a speaker or a buzzer.

The alarm unit <NUM> may provide an output to notify the terminal <NUM> of the occurrence of an event. Typical events may include call reception, message reception, key signal input and touch input. In addition to audio or video output, the alarm unit <NUM> may provide output in different ways to notify the occurrence of the event. For example, the alarm unit <NUM> may provide an output in the form of vibration, and when a call, a message or other in coming communication is received, the alarm unit <NUM> may provide a tactile output (i.e., vibration) to notify the user. By providing such tactile output, the user recognizes the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit <NUM> may also provide an output notifying the occurrence of an event via the display unit <NUM> or the audio output module <NUM>.

The memory <NUM> may store software programs for processing and control operations performed by the controller <NUM>, or may temporarily store data that has been output or will be output (for example, phonebook, messages, still images and videos). The memory <NUM> may store data about vibrations and audio signals in various ways that are output when a touch is applied to the touch screen.

The memory <NUM> may include at least one type of storage medium including flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory), random access memory (RAM), static random-access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk and optical disk. The terminal <NUM> may cooperate with a network storage device that performs the storage function of the memory <NUM> through a network connection.

The controller <NUM> generally controls overall operation of the terminal. For example, the controller <NUM> performs control and processing related to voice calls, data communications, video calls, and so on. In addition, the controller <NUM> may include a multimedia module <NUM> for reproducing (or playing back) multimedia data, and the multimedia module <NUM> may be constructed within the controller <NUM> or may be constructed to be separated from the controller <NUM>. The controller <NUM> may perform pattern recognition processing to recognize handwriting input or picture drawing input performed on the touch screen as characters or images.

The power supply unit <NUM> receives external power or internal power under the control of the controller <NUM> and provides appropriate power required to operate various elements and components.

Various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For hardware implementation, the implementation described here may be implemented by using application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), a processor, a controller, a microcontroller, a microprocessor, and an electronic unit designed to perform the functions described herein. In some cases, such an implementation may be implemented in the controller <NUM>. For software implementation, implementations such as procedures or functions may be implemented with a separate software module that allows execution of at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, and the software codes may be stored in the memory <NUM> and executed by the controller <NUM>.

The flowcharts and block diagrams in the accompanying drawings illustrate possible implementations of the system architecture, functions, and operations of the system, method, and computer program product according to various embodiments of the invention. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or part of the code, and the above module, program segment, or part of the code contains one or more executable commands for realizing the specified logical function. It should also be noted that, in some alternative implementations, the functions labeled in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, or sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart, are implemented by a dedicated hardware-based system that performs the specified functions or operations or realized by a combination of dedicated hardware and computer commands.

The units or modules involved in the embodiments of the invention are implemented in software or hardware. The described unit or module may also be provided in the processor, for example, may be described as: a processor including an obtaining module, a determining module, and a control module. The names of these units or modules do not constitute a limitation on the units or modules themselves under certain circumstances. For example, the obtaining module may be described as a module "configured to obtain a charging power and a temperature of a terminal when it is determined that the terminal device complies with a wireless charging protocol".

A computer-readable storage medium is also provided. This computer-readable storage medium is out of the scope of the invention as defined by the appended claims and is present in this description because of illustrative purposes. The computer-readable storage medium may be included in the electronic device described in the above embodiments; or may exist alone without being assembled into the electronic device. The above computer-readable storage medium stores one or more programs. When the above programs are used by one or more processors to execute the above method described in the invention, the method includes: obtaining a charging power and a temperature of the terminal; determining an operating mode of the wireless charging system based on the charging power and the temperature according to a preset rule, wherein the preset rule comprises at least two control rules and operating modes corresponding to the at least two control rules respectively; and controlling the wireless charging system to enter the operating mode corresponding to one of the at least two control rules.

In conclusion, with the method for controlling wireless charging, the apparatus for controlling wireless charging, the device and the storage medium provided by embodiments of the present invention, the charging power and the temperature of the terminal device are obtained, the operating mode of the wireless charging system is determined based on the charging power and the temperature according to the preset rule, in which the preset rule includes at least two control rules and operating modes corresponding to the two control rules respectively, and then the wireless charging system is controlled to enter the operating mode corresponding to one of the at least two control rules. With this technical solution, since at least two control rules are provided, only the charging output power and the temperature of the terminal need to be obtained, which can fully consider the influencing factors in the wireless charging process, and can automatically control each device in the wireless charging system to enter the operating mode corresponding to each control rule, not only realizing fast and efficient wireless charging, but also ensuring safety of wireless charging, avoiding loss of charging coils, switches and other devices, reducing heating generated in the charging process, and further improving the user experience.

Claim 1:
A method for controlling wireless charging, comprising:
obtaining (S101) by a terminal device, a charging power and a temperature of the terminal device, wherein the terminal device comprises a wireless charging system;
characterized by, further comprising:
determining (S102) by the terminal device, an operating mode of the wireless charging system based on the charging power and the temperature according to a preset rule, wherein the preset rule comprises at least two control rules and operating modes corresponding to the at least two control rules respectively; and
controlling (S103) by the terminal device, the wireless charging system to enter the operating mode corresponding to one of the at least two control rules;
wherein the preset rule comprises a first control rule and a second control rule, and determining (S102) the operating mode of the wireless charging system based on the charging power and the temperature according to the preset rule, comprises:
determining (S201) whether the charging power is greater than a preset power threshold;
determining (S202) the operating mode of the wireless charging system according to the temperature and the first control rule in response to the charging power being greater than the preset power threshold; and
determining (S203) the operating mode of the wireless charging system according to the temperature and the second control rule in response to the charging power being equal to or less than the preset power threshold.