WO2023240441A1 - Charging control method, apparatus and storage medium - Google Patents

Charging control method, apparatus and storage medium Download PDF

Info

Publication number
WO2023240441A1
WO2023240441A1 PCT/CN2022/098658 CN2022098658W WO2023240441A1 WO 2023240441 A1 WO2023240441 A1 WO 2023240441A1 CN 2022098658 W CN2022098658 W CN 2022098658W WO 2023240441 A1 WO2023240441 A1 WO 2023240441A1
Authority
WO
WIPO (PCT)
Prior art keywords
charging
terminal
charging chip
chip
usb
Prior art date
Application number
PCT/CN2022/098658
Other languages
French (fr)
Chinese (zh)
Inventor
白光磊
史佳雯
张新宇
Original Assignee
北京小米移动软件有限公司
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 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to PCT/CN2022/098658 priority Critical patent/WO2023240441A1/en
Priority to CN202280004622.4A priority patent/CN117597850A/en
Publication of WO2023240441A1 publication Critical patent/WO2023240441A1/en

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
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • 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

Definitions

  • the present disclosure relates to the field of charging, and in particular, to a charging control method, device and storage medium.
  • the charging chip when realizing the coexistence and switching of different charging scenarios, does not have good mutual exclusion logic. In some scenarios, it may not be possible to achieve normal switching or work at the same time. For example: when charging wirelessly, it cannot automatically switch to wired charging.
  • the present disclosure provides a charging control method, device and storage medium.
  • a charging control method is provided, which is applied to a terminal.
  • the terminal includes an N:1 charging architecture based on a charging chip and a power management integrated circuit PMIC.
  • the method includes: obtaining State input information of the charging chip; based on the state input information, the charging process of the terminal is controlled.
  • controlling the charging process of the terminal based on the status input information includes: based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip. The charging process of the terminal is controlled.
  • controlling the charging process of the terminal based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip includes: if the USB control signal of the charging chip The control signal indicates that the USB input status of the charging chip is valid, and the charging chip is in the non-plug and play OTG mode, then the wireless charging reception of the terminal is controlled to enter the sleep mode.
  • the method further includes: monitoring the USB input status of the PMIC; if it is detected that the USB input status of the PMIC is disconnected, canceling the control of wireless charging reception of the terminal and entering sleep model.
  • the method further includes: if the charging chip is in plug-and-play mode, forcibly closing the digital signal switch of the USB path of the charging chip and turning on the plug-and-play power supply motor. switch.
  • the method further includes: if the wireless reverse charging function of the charging chip is turned on, forcibly closing the digital signal switch of the WLS path of the charging chip and turning on the switch of the WLS power supply motor.
  • a charging control device which is applied to a terminal.
  • the terminal includes an N:1 charging architecture based on a charging chip and a power management integrated circuit PMIC.
  • the device includes: obtaining A unit is used to obtain the status input information of the charging chip; a control unit is used to control the charging process of the terminal based on the status input information.
  • controlling the charging process of the terminal based on the status input information includes: based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip. The charging process of the terminal is controlled.
  • control unit controls the charging process of the terminal based on the USB control signal of the charging chip and/or the WLS signal of the charging chip in the following manner: if the charging chip The USB control signal indicates that the USB input status of the charging chip is valid, and the charging chip is in the non-plug and play OTG mode, then the wireless charging reception of the terminal is controlled to enter the sleep mode.
  • control unit is further configured to: monitor the USB input status of the PMIC; if it is detected that the USB input status of the PMIC is in a disconnected state, cancel the control of the wireless charging reception of the terminal. Enter sleep mode.
  • control unit is also configured to: if the charging chip is in the plug-and-play mode, forcefully close the digital signal switch of the USB path of the charging chip and turn on the plug-and-play power supply. Motor switch.
  • control unit is also configured to: if the wireless reverse charging function of the charging chip is turned on, forcefully close the digital signal switch of the WLS path of the charging chip, and turn on the switch of the WLS power supply motor. .
  • a charging control device including: a processor.
  • Memory used to store instructions executable by the processor.
  • the processor is configured to perform the charging control method in the first aspect or any embodiment of the first aspect.
  • a storage medium is provided. Instructions are stored in the storage medium. When the instructions in the storage medium are executed by a processor, a device including the processor can execute the first aspect or any of the first aspects.
  • a charging control method in an embodiment.
  • the technical solutions provided by embodiments of the present disclosure may include the following beneficial effects: when the current input state of the charging chip changes, the state input information of the charging chip is obtained, and the charging process of the terminal is controlled based on the state input information.
  • Different status input information corresponds to the interference-free simultaneous or alternate working of different terminal applications, providing the charging chip with mutually exclusive logic between terminal applications.
  • FIG. 1 is a flow chart of a charging control method according to an exemplary embodiment.
  • FIG. 2 is a flowchart of a method for controlling the charging process of a terminal based on status input information according to an exemplary embodiment.
  • FIG. 3 is a flow chart of a method for controlling the charging process of a terminal based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip according to an exemplary embodiment.
  • FIG. 4 is a flow chart of a method for controlling the charging process of a terminal based on the USB control signal of the charging chip and the WLS control signal of the charging chip according to an exemplary embodiment.
  • FIG. 5 is a flow chart of a charging control method according to an exemplary embodiment.
  • FIG. 6 is a flow chart of a charging control method according to an exemplary embodiment.
  • FIG. 7 is a schematic diagram of charging control shown in an exemplary embodiment of the present disclosure.
  • FIG. 8 is a block diagram of a charging control device according to an exemplary embodiment.
  • FIG. 9 is a block diagram of a device 200 for charging control according to an exemplary embodiment.
  • the hardware charging architecture based on charging chips does not yet have an effective mutually exclusive logic strategy to achieve simultaneous or alternate working between applications. For example, when charging wirelessly, it cannot automatically switch to wired charging; when charging wirelessly, a data exchange device may be burned when plugged in.
  • the present disclosure provides a charging control method that implements stable mutual exclusion logic through software logic to ensure that terminal applications can work simultaneously or alternately.
  • FIG. 1 is a flow chart of a charging control method according to an exemplary embodiment. As shown in Figure 1, the charging control method is used in a terminal.
  • the terminal includes an N-based charging chip and a power management integrated circuit PMIC.
  • :1 Charging architecture including the following steps.
  • step S11 status input information of the charging chip is obtained.
  • the status input information of the charging chip includes the current status information of the charging chip and the changed status information.
  • the current status information of the charging chip is wireless charging
  • the status information of connecting the charger to start wired charging is wired charging.
  • the status input information of the charging chip is wired charging.
  • step S12 the charging process of the terminal is controlled based on the status input information.
  • the terminal charging process is controlled based on the change in the charging scene and the status information of the terminal before the change. For example, the terminal is connected to wired charging in the wireless charging state, the charging process of the terminal is controlled, and the wireless charging is converted to wired charging.
  • the charging control method provided by the embodiment of the present disclosure determines the state and changed state of the chip by obtaining chip status input information, and controls the charging process based on the status information. Through software logic, stable mutual exclusion logic is realized, so that applications in the terminal can work simultaneously or alternately, and the mutual exclusion logic scheme of the charging chip is added.
  • Figure 2 is a flow chart of a method of controlling the charging process of a terminal based on status input information according to an exemplary embodiment. As shown in Figure 2, the method of controlling the charging process of a terminal based on status input information is shown in Figure 2. The method includes the following steps.
  • step S21 obtain the Universal Serial Bus (USB) control signal of the charging chip and the wireless input (wireless, WLS) control signal of the charging chip.
  • USB Universal Serial Bus
  • WLS wireless input
  • obtaining the USB control signal of the charging chip includes connecting USB and disconnecting USB.
  • the WLS signal of the charging chip includes opening the channel and closing the channel.
  • WLS wireless input refers to radio or radio waves, which belongs to the field of communication.
  • wireless network such as “wireless bridge, wireless AP”
  • TV Broadcasting Co., Ltd. also known as “wireless TV station”
  • USB is an external bus standard used to standardize the connection and communication between terminals and external devices. It is an interface technology applied in the terminal field.
  • the USB interface supports plug-and-play and hot-swappable functions of the device.
  • step S22 the charging process of the terminal is controlled based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip.
  • USB control signals and WLS control signals form a group, and different USB control signals and different WLS control signals can be combined into different control signals for charging the terminal. For example, connect the USB signal and at the same time open the WLS signal path; or connect the USB signal and disconnect the WLS signal path at the same time; or disconnect the USB signal and open the WLS signal path at the same time; or disconnect the USB signal and disconnect the WLS signal at the same time. signal path.
  • the terminal charging process is controlled through different combination signals.
  • the two terminal applications can be carried out at the same time without interfering with each other.
  • Figure 3 is a flow chart of a method for controlling the charging process of a terminal based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip according to an exemplary embodiment. As shown in Figure 3, based on The USB control signal of the charging chip and/or the WLS control signal of the charging chip, the method of controlling the charging process of the terminal includes the following steps.
  • step S31 the control signal of the charging chip and the mode of the charging chip are determined to control the terminal charging process.
  • step S32 if the USB control signal of the charging chip indicates that the USB input state of the charging chip is valid and the charging chip is in non-OTG mode, the wireless charging reception of the terminal is controlled to enter the sleep mode.
  • the OTG mode is mainly used for connection between various different devices or mobile devices for data exchange.
  • USB interface accessories can be extended to smart terminals to enrich the functions of the terminal, such as extending remote control accessories. , turning the terminal into a universal remote control.
  • the OTG mode can be a mode in which the terminal is connected to a USB flash drive, mobile hard disk, keyboard and mouse, other digital devices, etc., and can use the functions of the digital device normally.
  • the charging chip is currently in the USB on state and the OTG mode is off.
  • the wireless charging mode of the terminal is in sleep state. For example, when the terminal is performing wired charging and the terminal is placed on the wireless charging tray, the wireless charging mode of the terminal is put to sleep, that is, wireless charging is not performed and there is no response to wireless charging.
  • Figure 4 is a flow chart of a method for controlling the charging process of a terminal based on the Universal Serial Bus USB control signal of the charging chip and the WLS control signal of the charging chip according to an exemplary embodiment, as shown in Figure 4 , based on the USB control signal of the charging chip and the WLS control signal of the charging chip, the method of controlling the charging process of the terminal includes the following steps.
  • step S41 the USB input status of the PMIC is monitored.
  • the power management integrated circuit PMIC Power Management IC
  • PMIC Power Management IC
  • the function of the power management integrated circuit is to manage power supply for the main system.
  • PMICs are often used in battery-powered devices, such as mobile terminals or portable media players. Since such devices generally have more than one power supply, such as batteries and USB power supplies, the system requires multiple power supplies with different voltages, and the charging and discharging of the battery must be controlled. Meeting such needs in a traditional way will take up a lot of space.
  • the main functions of PMIC are power management, charging control, and switch control circuit. Monitor the USB input status of PMIC, which can be connected or disconnected.
  • step S42 if it is detected that the USB input state of the PMIC is in a disconnected state, the wireless charging reception of the control terminal is canceled and the terminal enters the sleep mode.
  • FIG. 5 is a flow chart of a charging control method according to an exemplary embodiment. As shown in FIG. 5 , the charging control method includes the following steps.
  • step S51 the control signal of the charging chip and the mode of the charging chip are determined to control the terminal charging process.
  • the charging chip is in plug-and-play mode and the digital signal switch state of the USB path.
  • step S52 if the charging chip is in plug-and-play mode, the digital signal switch of the USB path of the charging chip is forcibly turned off, and the switch of the plug-and-play power supply motor is turned on.
  • the charging chip is in plug-and-play mode, and if so, the terminal USB channel is forcibly closed. That is, when the terminal is connected to a device such as a digital camera, camcorder, printer, mobile hard disk, Walkman, mouse or keyboard, the terminal USB channel is closed and the USB function cannot be used temporarily.
  • FIG. 6 is a flow chart of a charging control method according to an exemplary embodiment. As shown in FIG. 6 , the charging control method includes the following steps.
  • step S61 the control signal of the charging chip and the mode of the charging chip are determined to control the terminal charging process.
  • step S62 if the wireless reverse charging function of the charging chip is enabled, the digital signal switch of the WLS path of the charging chip is forcibly turned off, and the switch of the WLS power supply motor is turned on.
  • the wireless reverse charging function of the terminal is turned on, the WLS function of the terminal is turned off, and the power supply motor switch is turned on. That is, a wired charger is inserted at the same time in the wireless reverse charging mode, and the two applications work at the same time without interfering with each other.
  • the embodiments of the present disclosure take a mobile terminal as an example to illustrate the charging control method and practical application scenarios involved in the above embodiments of the present disclosure.
  • FIG. 7 is a schematic diagram of charging control shown in an exemplary embodiment of the present disclosure.
  • the mobile terminal includes a two-chip device, which may include a master chip and a slave chip.
  • usb devices can include U disks, card readers and other devices
  • usb_contorl can be a usb controller
  • usb_sense can be a usb sensor.
  • wls can be a wireless input
  • wls_contorl can be a wireless input controller
  • wls_sense can be a wireless input sensor
  • wls_en can be a wireless signal.
  • the MOS switch can be a digital signal switch.
  • Otg devices can include mice, keyboards and other devices.
  • Otg boost can mean Otg boost.
  • Wireless boost can mean wireless boosting.
  • Wireless RX can mean wireless reception.
  • the wired input and wireless input first reach the digital pins of the main charging chip for judgment, and then are input to the power management integrated circuit PMIC.
  • the main chip includes USB controller and USB sensor, wireless input controller and wireless input sensor.
  • the slave chip has the same configuration as the master chip, but its functions are different. The role of the slave chip is to replace the master chip when the master chip fails.
  • the charging chip is in the initial state.
  • it When receiving a change in the external state of the charging chip, it reads whether the USB input of the charging chip is valid, and determines whether the mobile terminal is in Otg mode at this time. If the USB input of the charging chip When valid and not in Otg mode, sleep wireless input mode. Cancel sleep wireless input when USB input is disconnected.
  • the digital signal switch of the USB path of the charging chip is forced to turn off first, and the Otg device boost is turned on.
  • the mobile terminal wants to turn on wireless reverse charging, it must first forcefully close the digital signal switch of the WLS channel of the charging chip and turn on the motor boost.
  • the mobile terminal when the mobile terminal is in wired charging, changes in the external state of the mobile terminal charging chip are obtained. At this time, the mobile terminal is placed on the wireless charging board.
  • the corresponding scenario at this time is: the USB input of the charging chip is valid and not in Otg mode, and the wireless input module of the mobile terminal is sleeping.
  • the mobile terminal when the mobile terminal is in wired charging, since the wireless input module of the terminal is in sleep, the mobile terminal performs wired charging at this time, and there is no response to wireless charging.
  • wireless reverse charging when the mobile terminal performs wired charging, wireless reverse charging is turned on, and the external state of the mobile terminal charging chip changes.
  • the corresponding scenario at this time is: the USB input of the charging chip is valid and not in Otg mode, sleep the wireless input module of the mobile terminal, turn on the wireless reverse charging module of the mobile terminal, forcibly close the WLS channel and digital signal switch of the mobile terminal charging chip, and turn on the motor. Supercharge.
  • Wired charging and wireless reverse charging can work at the same time without interfering with each other.
  • the mobile terminal when the mobile terminal is wirelessly charged, a wired charger is inserted, and the external state of the mobile terminal charging chip changes.
  • the corresponding scenario at this time is: the USB input of the charging chip is valid and not in Otg mode, and the wireless input module of the mobile terminal is sleeping. Disconnect the wireless charging module of the mobile terminal, automatically connect the USB path, and convert the wireless charging mode of the mobile terminal to the wired charging mode.
  • Otg mode includes the mode in which the terminal is connected to the mouse and keyboard.
  • an Otg device is inserted, and the external state of the mobile terminal charging chip changes. Forcefully close the digital signal switch of the USB path of the charging chip and turn on Otg boost. At this time, the terminal adopts wireless charging mode and the Otg device is inserted.
  • the two modules of terminal wireless charging and Otg device can be used at the same time.
  • the external state of the mobile terminal charging chip changes.
  • plugging in an Otg device force the digital signal switch of the USB path of the charging chip to turn off and turn on the Otg boost.
  • the digital signal switch that forcibly closes the WLS path of the charging chip.
  • the Otg device and wireless reverse charging do not interfere with each other and work at the same time.
  • a wired charger is inserted, and the external state of the mobile terminal charging chip changes.
  • the digital signal switch of the WLS path of the charging chip is forcibly turned off and the motor boost is turned on.
  • wired charging is inserted, and the USB path is connected by the charging chip. There is no interference between wired charging and wireless reverse charging and can work at the same time.
  • an embodiment of the present disclosure also provides a charging control device.
  • the charging control device provided by the embodiment of the present disclosure includes corresponding hardware structures and/or software modules for performing each function.
  • the embodiments of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving the hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to go beyond the scope of the technical solutions of the embodiments of the present disclosure.
  • FIG. 8 is a block diagram of a charging control device according to an exemplary embodiment.
  • the device includes an acquisition unit 101 and a control unit 102 .
  • the obtaining unit 101 is used to obtain status input information of the charging chip.
  • the control unit 102 is used to control the charging process of the terminal based on the status input information.
  • controlling the charging process of the terminal based on the status input information includes: based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip. The charging process of the terminal is controlled.
  • control unit 102 controls the charging process of the terminal based on the USB control signal of the charging chip and the WLS control signal of the charging chip in the following manner: if the charging chip The USB control signal indicates that the USB input status of the charging chip is valid, and the charging chip is in the non-plug and play OTG mode, then the wireless charging reception of the terminal is controlled to enter the sleep mode.
  • control unit 102 is further configured to: monitor the USB input status of the PMIC; if it is detected that the USB input status of the PMIC is in a disconnected state, cancel the control of the wireless charging of the terminal. Receive enters sleep mode.
  • control unit 102 is also configured to: if the charging chip is in plug-and-play mode, forcefully close the digital signal switch of the USB path of the charging chip, and enable plug-and-play. Switch for powering the motor.
  • control unit 102 is also configured to: if the wireless reverse charging function of the charging chip is turned on, forcibly close the digital signal switch of the WLS path of the charging chip, and turn on the WLS power supply motor. switch.
  • FIG. 9 is a block diagram of a device 200 for charging control according to an exemplary embodiment.
  • the device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
  • device 200 may include one or more of the following components: processing component 202, memory 204, power component 206, multimedia component 208, audio component 210, input/output (I/O) interface 212, sensor component 214, and Communication component 216.
  • Processing component 202 generally controls the overall operations of device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 202 may include one or more processors 220 to execute instructions to complete all or part of the steps of the above method.
  • processing component 202 may include one or more modules that facilitate interaction between processing component 202 and other components.
  • processing component 202 may include a multimedia module to facilitate interaction between multimedia component 208 and processing component 202.
  • Memory 204 is configured to store various types of data to support operations at device 200 . Examples of such data include instructions for any application or method operating on device 200, contact data, phonebook data, messages, pictures, videos, etc.
  • Memory 204 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EEPROM erasable programmable read-only memory
  • EPROM Programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory flash memory, magnetic or optical disk.
  • Power component 206 provides power to various components of device 200 .
  • Power components 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 200 .
  • Multimedia component 208 includes a screen that provides an output interface between the device 200 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action.
  • multimedia component 208 includes a front-facing camera and/or a rear-facing camera.
  • the front camera and/or the rear camera may receive external multimedia data.
  • Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
  • Audio component 210 is configured to output and/or input audio signals.
  • audio component 210 includes a microphone (MIC) configured to receive external audio signals when device 200 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 204 or sent via communications component 216 .
  • audio component 210 also includes a speaker for outputting audio signals.
  • the I/O interface 212 provides an interface between the processing component 202 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
  • Sensor component 214 includes one or more sensors for providing various aspects of status assessment for device 200 .
  • the sensor component 214 can detect the open/closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, and the sensor component 214 can also detect a change in position of the device 200 or a component of the device 200. , the presence or absence of user contact with the device 200 , device 200 orientation or acceleration/deceleration and temperature changes of the device 200 .
  • Sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 216 is configured to facilitate wired or wireless communication between apparatus 200 and other devices.
  • Device 200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 216 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel.
  • the communications component 216 also includes a near field communications (NFC) module to facilitate short-range communications.
  • NFC near field communications
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • apparatus 200 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are implemented for executing the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable Gate array
  • controller microcontroller, microprocessor or other electronic components are implemented for executing the above method.
  • a non-transitory computer-readable storage medium including instructions such as a memory 204 including instructions, which can be executed by the processor 220 of the device 200 to complete the above method is also provided.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
  • “plurality” in this disclosure refers to two or more, and other quantifiers are similar.
  • “And/or” describes the relationship between related objects, indicating that there can be three relationships.
  • a and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone.
  • the character “/” generally indicates that the related objects are in an “or” relationship.
  • the singular forms “a”, “the” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise.
  • first, second, etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other and do not imply a specific order or importance. In fact, expressions such as “first” and “second” can be used interchangeably.
  • first information may also be called second information, and similarly, the second information may also be called first information.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The present disclosure relates to a charging control method, an apparatus and a storage medium. The charging control method is applied to a terminal, the terminal comprising an N:1 charging architecture formed on the basis of a charging chip and a power management integrated circuit (PMIC). The method comprises: acquiring state input information of a charging chip; and, on the basis of the state input information, controlling a charging process of a terminal. The present disclosure controls a charging process according to different states of a charging chip of a terminal; and by means of software logic, stable mutual exclusion logic is realized, ensuring that applications of a terminal work simultaneously or work alternately.

Description

充电控制方法、装置及存储介质Charging control method, device and storage medium 技术领域Technical field
本公开涉及充电领域,尤其涉及一种充电控制方法、装置及存储介质。The present disclosure relates to the field of charging, and in particular, to a charging control method, device and storage medium.
背景技术Background technique
随着科技的进步,充电技术也越来越广泛的应用于终端,例如可以采用芯片控制充电。其中,对于充电芯片的优化也在不断加深,对于充电芯片的逻辑策略也是比较重要的一项研究。With the advancement of technology, charging technology is becoming more and more widely used in terminals. For example, chips can be used to control charging. Among them, the optimization of charging chips is also constantly deepening, and the logic strategy of charging chips is also a relatively important research.
相关技术中,在实现不同充电场景并存和不同充电场景切换时,充电芯片没有良好的互斥逻辑,在一些场景中可能无法实现正常切换,无法同时工作等。例如:无线充电时,无法自动切换为有线充电。In related technologies, when realizing the coexistence and switching of different charging scenarios, the charging chip does not have good mutual exclusion logic. In some scenarios, it may not be possible to achieve normal switching or work at the same time. For example: when charging wirelessly, it cannot automatically switch to wired charging.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供一种充电控制方法、装置及存储介质。In order to overcome the problems existing in related technologies, the present disclosure provides a charging control method, device and storage medium.
根据本公开实施例的第一方面,提供一种充电控制方法,应用于终端,所述终端中包括有基于充电芯片和电源管理集成电路PMIC形成的N:1充电架构,所述方法包括:获取所述充电芯片的状态输入信息;基于所述状态输入信息,对所述终端的充电过程进行控制。According to a first aspect of an embodiment of the present disclosure, a charging control method is provided, which is applied to a terminal. The terminal includes an N:1 charging architecture based on a charging chip and a power management integrated circuit PMIC. The method includes: obtaining State input information of the charging chip; based on the state input information, the charging process of the terminal is controlled.
在一种实施方式中,所述基于所述状态输入信息,对所述终端的充电过程进行控制,包括:基于所述充电芯片的USB控制信号和/或所述充电芯片的WLS控制信号,对所述终端的充电过程进行控制。In one embodiment, controlling the charging process of the terminal based on the status input information includes: based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip. The charging process of the terminal is controlled.
在又一种实施方式中,所述基于所述充电芯片的USB控制信号和/或所述充电芯片的WLS控制信号,对所述终端的充电过程进行控制,包括:若所述充电芯片的USB控制信号表征所述充电芯片的USB的输入状态为有效,且所述充电芯片处于非即插即用OTG模式,则控制所述终端的无线充电接收进入睡眠模式。In yet another embodiment, controlling the charging process of the terminal based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip includes: if the USB control signal of the charging chip The control signal indicates that the USB input status of the charging chip is valid, and the charging chip is in the non-plug and play OTG mode, then the wireless charging reception of the terminal is controlled to enter the sleep mode.
在又一种实施方式中,所述方法还包括:监测所述PMIC的USB输入状态;若监测到所述PMIC的USB输入状态为断开状态,则取消控制所述终端的无线充电接收进入睡眠模式。In yet another embodiment, the method further includes: monitoring the USB input status of the PMIC; if it is detected that the USB input status of the PMIC is disconnected, canceling the control of wireless charging reception of the terminal and entering sleep model.
在又一种实施方式中,所述方法还包括:若所述充电芯片处于即插即用模式,则强制关闭所述充电芯片的USB通路的数字信号开关,并开启即插即用供电马达的开关。In yet another embodiment, the method further includes: if the charging chip is in plug-and-play mode, forcibly closing the digital signal switch of the USB path of the charging chip and turning on the plug-and-play power supply motor. switch.
在又一种实施方式中,所述方法还包括:若所述充电芯片被开启无线反充功能,则强制关闭所述充电芯片的WLS通路的数字信号开关,并开启WLS供电马达的开关。In yet another embodiment, the method further includes: if the wireless reverse charging function of the charging chip is turned on, forcibly closing the digital signal switch of the WLS path of the charging chip and turning on the switch of the WLS power supply motor.
根据本公开实施例的第二方面,提供一种充电控制装置,应用于终端,所述终端中包括有基于充电芯片和电源管理集成电路PMIC形成的N:1充电架构,所述装置包括:获取单元,用于获取所述充电芯片的状态输入信息;控制单元,用于基于所述状态输入信息,对所述终端的充电过程进行控制。According to a second aspect of the embodiment of the present disclosure, a charging control device is provided, which is applied to a terminal. The terminal includes an N:1 charging architecture based on a charging chip and a power management integrated circuit PMIC. The device includes: obtaining A unit is used to obtain the status input information of the charging chip; a control unit is used to control the charging process of the terminal based on the status input information.
在一种实施方式中,所述基于所述状态输入信息,对所述终端的充电过程进行控制,包括:基于所述充电芯片的USB控制信号和/或所述充电芯片的WLS控制信号,对所述终端的充电过程进行控制。In one embodiment, controlling the charging process of the terminal based on the status input information includes: based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip. The charging process of the terminal is controlled.
在另一种实施方式中,所述控制单元采用如下方式基于所述充电芯片的USB控制信号和/或所述充电芯片的WLS信号,对所述终端的充电过程进行控制:若所述充电芯片的USB控制信号表征所述充电芯片的USB的输入状态为有效,且所述充电芯片处于非即插即用OTG模式,则控制所述终端的无线充电接收进入睡眠模式。In another embodiment, the control unit controls the charging process of the terminal based on the USB control signal of the charging chip and/or the WLS signal of the charging chip in the following manner: if the charging chip The USB control signal indicates that the USB input status of the charging chip is valid, and the charging chip is in the non-plug and play OTG mode, then the wireless charging reception of the terminal is controlled to enter the sleep mode.
在另一种实施方式中,所述控制单元还用于:监测所述PMIC的USB输入状态;若监测到所述PMIC的USB输入状态为断开状态,则取消控制所述终端的无线充电接收进入睡眠模式。In another embodiment, the control unit is further configured to: monitor the USB input status of the PMIC; if it is detected that the USB input status of the PMIC is in a disconnected state, cancel the control of the wireless charging reception of the terminal. Enter sleep mode.
在另一种实施方式中,所述控制单元还用于:若所述充电芯片处于即插即用模式,则强制关闭所述充电芯片的USB通路的数字信号开关,并开启即插即用供电马达的开关。In another embodiment, the control unit is also configured to: if the charging chip is in the plug-and-play mode, forcefully close the digital signal switch of the USB path of the charging chip and turn on the plug-and-play power supply. Motor switch.
在另一种实施方式中,所述控制单元还用于:若所述充电芯片被开启无线反充功能,则强制关闭所述充电芯片的WLS通路的数字信号开关,并开启WLS供电马达的开关。In another embodiment, the control unit is also configured to: if the wireless reverse charging function of the charging chip is turned on, forcefully close the digital signal switch of the WLS path of the charging chip, and turn on the switch of the WLS power supply motor. .
根据本公开实施例第三方面,提供一种充电控制装置,包括:处理器。用于存储处理器可执行指令的存储器。其中,处理器被配置为:用于执行第一方面或者第一方面任意一种实施方式中的充电控制的方法。According to a third aspect of an embodiment of the present disclosure, a charging control device is provided, including: a processor. Memory used to store instructions executable by the processor. Wherein, the processor is configured to perform the charging control method in the first aspect or any embodiment of the first aspect.
根据本公开实施例第四方面,提供一种存储介质,存储介质中存储有指令,当存储介质中的指令由处理器执行时,使得包括处理器的设备能够执行第一方面或者第一方面任意一种实施方式中的充电控制的方法。According to a fourth aspect of the embodiments of the present disclosure, a storage medium is provided. Instructions are stored in the storage medium. When the instructions in the storage medium are executed by a processor, a device including the processor can execute the first aspect or any of the first aspects. A charging control method in an embodiment.
本公开的实施例提供的技术方案可以包括以下有益效果:当充电芯片当前的输入状态发生变化时,获取充电芯片的状态输入信息,基于状态输入信息,对终端的充电过程进行控制。不同的状态输入信息对应不同终端应用的无干扰同时工作或是交替工作,为充电芯片提供终端应用之间的互斥逻辑。The technical solutions provided by embodiments of the present disclosure may include the following beneficial effects: when the current input state of the charging chip changes, the state input information of the charging chip is obtained, and the charging process of the terminal is controlled based on the state input information. Different status input information corresponds to the interference-free simultaneous or alternate working of different terminal applications, providing the charging chip with mutually exclusive logic between terminal applications.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限 制本公开。It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit the present disclosure.
附图说明Description of the drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种充电控制方法的流程图。FIG. 1 is a flow chart of a charging control method according to an exemplary embodiment.
图2是根据一示例性实施例示出的一种基于状态输入信息,对终端的充电过程进行控制的方法的流程图。FIG. 2 is a flowchart of a method for controlling the charging process of a terminal based on status input information according to an exemplary embodiment.
图3是根据一示例性实施例示出的一种基于充电芯片的USB控制信号和/或充电芯片的WLS控制信号,对终端的充电过程进行控制的方法的流程图。FIG. 3 is a flow chart of a method for controlling the charging process of a terminal based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip according to an exemplary embodiment.
图4是根据一示例性实施例示出的一种基于充电芯片的USB控制信号以及充电芯片的WLS控制信号,对终端的充电过程进行控制的方法的流程图。FIG. 4 is a flow chart of a method for controlling the charging process of a terminal based on the USB control signal of the charging chip and the WLS control signal of the charging chip according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种充电控制方法的流程图。FIG. 5 is a flow chart of a charging control method according to an exemplary embodiment.
图6是根据一示例性实施例示出的一种充电控制方法的流程图。FIG. 6 is a flow chart of a charging control method according to an exemplary embodiment.
图7是根据本公开一示例性实施例中示出的充电控制示意图。FIG. 7 is a schematic diagram of charging control shown in an exemplary embodiment of the present disclosure.
图8是根据一示例性实施例示出的一种充电控制装置框图。Figure 8 is a block diagram of a charging control device according to an exemplary embodiment.
图9是根据一示例性实施例示出的一种用于充电控制的装置200的框图。FIG. 9 is a block diagram of a device 200 for charging control according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure.
相关技术中,基于充电芯片的硬件充电架构,还没有一种有效的互斥逻辑策略实现应用间同时工作或交替工作。例如,在进行无线充电时,无法自动切换为有线充电;无线充电时,插入数据交换设备时可能会烧毁。In related technologies, the hardware charging architecture based on charging chips does not yet have an effective mutually exclusive logic strategy to achieve simultaneous or alternate working between applications. For example, when charging wirelessly, it cannot automatically switch to wired charging; when charging wirelessly, a data exchange device may be burned when plugged in.
为解决上述问题,本公开提供一种充电控制方法,通过软件逻辑,实现稳定的互斥逻辑,确保终端应用能够同时工作或交替工作。In order to solve the above problems, the present disclosure provides a charging control method that implements stable mutual exclusion logic through software logic to ensure that terminal applications can work simultaneously or alternately.
图1是根据一示例性实施例示出的一种充电控制方法的流程图,如图1所示,充电控制方法用于终端中,终端中包括有基于充电芯片和电源管理集成电路PMIC形成的N:1充电架构,包括以下步骤。Figure 1 is a flow chart of a charging control method according to an exemplary embodiment. As shown in Figure 1, the charging control method is used in a terminal. The terminal includes an N-based charging chip and a power management integrated circuit PMIC. :1 Charging architecture, including the following steps.
在步骤S11中,获取充电芯片的状态输入信息。In step S11, status input information of the charging chip is obtained.
本公开实施例中,充电芯片的状态输入信息包括充电芯片当前所处的状态信息以及发生改变的状态信息。例如,当前充电芯片的状态信息为无线充电,连接上充电器开始进行有线充电的状态信息为有线充电。充电芯片的状态输入信息为有线充电。In the embodiment of the present disclosure, the status input information of the charging chip includes the current status information of the charging chip and the changed status information. For example, the current status information of the charging chip is wireless charging, and the status information of connecting the charger to start wired charging is wired charging. The status input information of the charging chip is wired charging.
在步骤S12中,基于状态输入信息,对终端的充电过程进行控制。In step S12, the charging process of the terminal is controlled based on the status input information.
本公开实施例中,根据状态输入信息,可以判断充电芯片现在所处充电场景发生变化,根据充电场景发生的变化以及终端发生变化前的状态信息对终端充电过程进行控制。例如,终端在无线充电状态下接入有线充电,对终端的充电过程进行控制,无线充电转换为有线充电。In the embodiment of the present disclosure, based on the status input information, it can be determined that the charging scene where the charging chip is currently located has changed, and the terminal charging process is controlled based on the change in the charging scene and the status information of the terminal before the change. For example, the terminal is connected to wired charging in the wireless charging state, the charging process of the terminal is controlled, and the wireless charging is converted to wired charging.
本公开实施例提供的充电控制方法,通过获取芯片状态输入信息,判断芯片所处状态以及改变的状态,根据状态信息,对充电过程进行控制。通过软件逻辑,实现稳定的互斥逻辑,使终端中应用可以同时工作或交替工作,增加充电芯片的互斥逻辑方案。The charging control method provided by the embodiment of the present disclosure determines the state and changed state of the chip by obtaining chip status input information, and controls the charging process based on the status information. Through software logic, stable mutual exclusion logic is realized, so that applications in the terminal can work simultaneously or alternately, and the mutual exclusion logic scheme of the charging chip is added.
本公开以下实施例对本公开上述实施例中对终端的充电过程进行控制的方法进行进一步的解释和说明。The following embodiments of the present disclosure further explain and describe the method of controlling the charging process of the terminal in the above embodiments of the present disclosure.
图2是根据一示例性实施例示出的一种基于状态输入信息,对终端的充电过程进行控制的方法的流程图,如图2所示,基于状态输入信息,对终端的充电过程进行控制的方法包括以下步骤。Figure 2 is a flow chart of a method of controlling the charging process of a terminal based on status input information according to an exemplary embodiment. As shown in Figure 2, the method of controlling the charging process of a terminal based on status input information is shown in Figure 2. The method includes the following steps.
在步骤S21中,获取充电芯片的通用串行总线(Universal Serial Bus,USB)控制信号以及充电芯片的无线输入(wireless,WLS)控制信号。In step S21, obtain the Universal Serial Bus (USB) control signal of the charging chip and the wireless input (wireless, WLS) control signal of the charging chip.
本公开实施例中,获取充电芯片的USB控制信号,其中包括,连接USB以及断开USB。充电芯片的WLS信号包括开启通路以及关闭通路。In the embodiment of the present disclosure, obtaining the USB control signal of the charging chip includes connecting USB and disconnecting USB. The WLS signal of the charging chip includes opening the channel and closing the channel.
本公开实施例中,WLS无线输入指的是无线电或无线电波,属于通信领域范畴。例如:无线网络(如“无线网桥、无线AP”)、电视广播有限公司(又称“无线电视台”)等。In the embodiment of this disclosure, WLS wireless input refers to radio or radio waves, which belongs to the field of communication. For example: wireless network (such as "wireless bridge, wireless AP"), TV Broadcasting Co., Ltd. (also known as "wireless TV station"), etc.
本公开实施例中,USB是一个外部总线标准,用于规范终端与外部设备的连接和通讯。是应用在终端领域的接口技术。USB接口支持设备的即插即用和热插拔功能。In the embodiment of the present disclosure, USB is an external bus standard used to standardize the connection and communication between terminals and external devices. It is an interface technology applied in the terminal field. The USB interface supports plug-and-play and hot-swappable functions of the device.
在步骤S22中,基于充电芯片的USB控制信号和/或充电芯片的WLS控制信号对终端的充电过程进行控制。In step S22, the charging process of the terminal is controlled based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip.
本公开实施例中,USB控制信号与WLS控制信号组成一组,不同USB控制信号与不同WLS控制信号可以组合成用于对终端充电的不同控制信号。例如,连接USB信号的同时,开启WLS信号通路;或连接USB信号的同时,断开WLS信号通路;或断开USB信号的同时,开启WLS信号通路;或断开USB信号的同时,断开WLS信号通路。In the embodiment of the present disclosure, USB control signals and WLS control signals form a group, and different USB control signals and different WLS control signals can be combined into different control signals for charging the terminal. For example, connect the USB signal and at the same time open the WLS signal path; or connect the USB signal and disconnect the WLS signal path at the same time; or disconnect the USB signal and open the WLS signal path at the same time; or disconnect the USB signal and disconnect the WLS signal at the same time. signal path.
本公开实施例中,通过不同组合信号控制终端充电过程。例如,连接USB信号的同时, 关闭WLS信号通路,终端两部分应用可以同时进行,互不干扰。In the embodiment of the present disclosure, the terminal charging process is controlled through different combination signals. For example, when connecting the USB signal and closing the WLS signal path at the same time, the two terminal applications can be carried out at the same time without interfering with each other.
本公开以下实施例对本公开上述实施例中对终端的充电过程进行控制的方法进行进一步的解释和说明。The following embodiments of the present disclosure further explain and describe the method of controlling the charging process of the terminal in the above embodiments of the present disclosure.
图3是根据一示例性实施例示出的一种基于充电芯片的USB控制信号和/或充电芯片的WLS控制信号,对终端的充电过程进行控制的方法的流程图,如图3所示,基于充电芯片的USB控制信号和/或充电芯片的WLS控制信号,对终端的充电过程进行控制的方法包括以下步骤。Figure 3 is a flow chart of a method for controlling the charging process of a terminal based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip according to an exemplary embodiment. As shown in Figure 3, based on The USB control signal of the charging chip and/or the WLS control signal of the charging chip, the method of controlling the charging process of the terminal includes the following steps.
在步骤S31中,判断充电芯片的控制信号及充电芯片所处模式,对终端充电过程进行控制。In step S31, the control signal of the charging chip and the mode of the charging chip are determined to control the terminal charging process.
在步骤S32中,若充电芯片的USB控制信号表征充电芯片的USB的输入状态为有效,且充电芯片处于非OTG模式则控制终端的无线充电接收进入睡眠模式。In step S32, if the USB control signal of the charging chip indicates that the USB input state of the charging chip is valid and the charging chip is in non-OTG mode, the wireless charging reception of the terminal is controlled to enter the sleep mode.
本公开实施例中,OTG模式主要应用于各种不同的设备或移动设备间的联接,进行数据交换,通过OTG技术,可以给智能终端扩展USB接口配件以丰富终端的功能,比如扩展遥控器配件,把终端变成万能遥控器使用。In the embodiment of the present disclosure, the OTG mode is mainly used for connection between various different devices or mobile devices for data exchange. Through OTG technology, USB interface accessories can be extended to smart terminals to enrich the functions of the terminal, such as extending remote control accessories. , turning the terminal into a universal remote control.
本公开实施例中,OTG改善了终端设备间多种不同制式连接器,多达7种制式的存储卡间数据交换所带来的不便。例如,OTG模式可以是终端与U盘、移动硬盘、键鼠、其他数码设备等相连接,并能正常使用数码设备功能的模式。In the embodiment of the present disclosure, OTG improves the inconvenience caused by data exchange between multiple different format connectors and up to 7 formats of memory cards between terminal devices. For example, the OTG mode can be a mode in which the terminal is connected to a USB flash drive, mobile hard disk, keyboard and mouse, other digital devices, etc., and can use the functions of the digital device normally.
本公开实施例中,若充电芯片当前处于USB开启状态,且OTG模式处于关闭状态。睡眠终端中无线充电模式,例如,终端进行有线充电时,再将终端放置在无线充电盘上,因终端中无线充电模式被睡眠,即不进行无线充电,无进行无线充电的反应。In this disclosed embodiment, if the charging chip is currently in the USB on state and the OTG mode is off. The wireless charging mode of the terminal is in sleep state. For example, when the terminal is performing wired charging and the terminal is placed on the wireless charging tray, the wireless charging mode of the terminal is put to sleep, that is, wireless charging is not performed and there is no response to wireless charging.
本公开以下实施例对本公开上述实施例中对终端的充电过程进行控制的方法进行进一步的解释和说明。The following embodiments of the present disclosure further explain and describe the method of controlling the charging process of the terminal in the above embodiments of the present disclosure.
图4是根据一示例性实施例示出的一种基于充电芯片的通用串行总线USB控制信号以及充电芯片的WLS控制信号,对终端的充电过程进行控制的方法的流程图,如图4所示,基于充电芯片的USB控制信号以及充电芯片的WLS控制信号,对终端的充电过程进行控制的方法包括以下步骤。Figure 4 is a flow chart of a method for controlling the charging process of a terminal based on the Universal Serial Bus USB control signal of the charging chip and the WLS control signal of the charging chip according to an exemplary embodiment, as shown in Figure 4 , based on the USB control signal of the charging chip and the WLS control signal of the charging chip, the method of controlling the charging process of the terminal includes the following steps.
在步骤S41中,监测PMIC的USB输入状态。In step S41, the USB input status of the PMIC is monitored.
本公开实施例中,电源管理集成电路PMIC(Power Management IC)又称电源管理IC,是一种特定用途的集成电路。电源管理集成电路的功能是为主系统作管理电源等工作。PMIC常用于以电池作为电源的装置,例如移动终端或便携式媒体播放器。由于这类装置一般有多于一个电源,例如电池及USB电源,系统又需要多个不同电压的电源,加上要控 制电池的充放电,以传统方式满足这样的需求会占用较大空间,同时增加产品开发时间,PMIC主要功能为电源管理,充电控制,开关机控制电路。监测PMIC的USB输入状态,可以为连接或断开两种方式。In this disclosed embodiment, the power management integrated circuit PMIC (Power Management IC), also known as the power management IC, is a special-purpose integrated circuit. The function of the power management integrated circuit is to manage power supply for the main system. PMICs are often used in battery-powered devices, such as mobile terminals or portable media players. Since such devices generally have more than one power supply, such as batteries and USB power supplies, the system requires multiple power supplies with different voltages, and the charging and discharging of the battery must be controlled. Meeting such needs in a traditional way will take up a lot of space. At the same time, To increase product development time, the main functions of PMIC are power management, charging control, and switch control circuit. Monitor the USB input status of PMIC, which can be connected or disconnected.
在步骤S42中,若监测到PMIC的USB输入状态为断开状态,则取消控制终端的无线充电接收进入睡眠模式。In step S42, if it is detected that the USB input state of the PMIC is in a disconnected state, the wireless charging reception of the control terminal is canceled and the terminal enters the sleep mode.
判断终端的USB输入为断开,取消终端无线充电进入睡眠模式,即终端并未连接USB设备时,终端无线充电不进入睡眠模式。It is judged that the USB input of the terminal is disconnected, cancels the terminal wireless charging and enters the sleep mode. That is, when the terminal is not connected to a USB device, the terminal wireless charging does not enter the sleep mode.
本公开以下实施例对本公开上述实施例中对终端的充电过程进行控制的方法进行进一步的解释和说明。The following embodiments of the present disclosure further explain and describe the method of controlling the charging process of the terminal in the above embodiments of the present disclosure.
图5是根据一示例性实施例示出的一种充电控制方法的流程图,如图5所示,充电控制方法包括以下步骤。FIG. 5 is a flow chart of a charging control method according to an exemplary embodiment. As shown in FIG. 5 , the charging control method includes the following steps.
在步骤S51中,判断充电芯片的控制信号及充电芯片所处模式,对终端充电过程进行控制。In step S51, the control signal of the charging chip and the mode of the charging chip are determined to control the terminal charging process.
本公开实施例中,判断充电芯片是否处于即插即用模式,以及USB通路的数字信号开关状态。In the embodiment of the present disclosure, it is determined whether the charging chip is in plug-and-play mode and the digital signal switch state of the USB path.
在步骤S52中,若充电芯片处于即插即用模式,则强制关闭充电芯片的USB通路的数字信号开关,并开启即插即用供电马达的开关。In step S52, if the charging chip is in plug-and-play mode, the digital signal switch of the USB path of the charging chip is forcibly turned off, and the switch of the plug-and-play power supply motor is turned on.
本公开实施例中,判断充电芯片是否处于即插即用模式,若处于,则强制关闭终端USB通路。即,当终端连接例如数码照相机、摄像机、打印机、移动硬盘、随身听、鼠标或键盘等设备时,关闭终端USB通路,暂时不能使用USB功能。In the embodiment of the present disclosure, it is determined whether the charging chip is in plug-and-play mode, and if so, the terminal USB channel is forcibly closed. That is, when the terminal is connected to a device such as a digital camera, camcorder, printer, mobile hard disk, Walkman, mouse or keyboard, the terminal USB channel is closed and the USB function cannot be used temporarily.
本公开以下实施例对本公开上述实施例中对终端的充电过程进行控制的方法进行进一步的解释和说明。The following embodiments of the present disclosure further explain and describe the method of controlling the charging process of the terminal in the above embodiments of the present disclosure.
图6是根据一示例性实施例示出的一种充电控制方法的流程图,如图6所示,充电控制方法包括以下步骤。FIG. 6 is a flow chart of a charging control method according to an exemplary embodiment. As shown in FIG. 6 , the charging control method includes the following steps.
在步骤S61中,判断充电芯片的控制信号及充电芯片所处模式,对终端充电过程进行控制。In step S61, the control signal of the charging chip and the mode of the charging chip are determined to control the terminal charging process.
本公开实施例中,判断充电芯片是否打开无线反充功能、WLS通路数字信号开关状态以及WLS供电马达开关状态。In the disclosed embodiment, it is determined whether the charging chip turns on the wireless reverse charging function, the WLS channel digital signal switch status, and the WLS power supply motor switch status.
在步骤S62中,若充电芯片被开启无线反充功能,则强制关闭充电芯片的WLS通路的数字信号开关,并开启WLS供电马达的开关。In step S62, if the wireless reverse charging function of the charging chip is enabled, the digital signal switch of the WLS path of the charging chip is forcibly turned off, and the switch of the WLS power supply motor is turned on.
本公开实施例中,开启终端无线反充功能,关闭终端WLS功能,开启供电马达开关, 即,无线反充模式下同时插入有线充电器,两种应用同时工作,互不干扰。In this disclosed embodiment, the wireless reverse charging function of the terminal is turned on, the WLS function of the terminal is turned off, and the power supply motor switch is turned on. That is, a wired charger is inserted at the same time in the wireless reverse charging mode, and the two applications work at the same time without interfering with each other.
本公开实施例以下以一移动终端为例,对本公开上述实施例涉及的充电控制方法的方法以及实际应用场景进行举例说明。The embodiments of the present disclosure take a mobile terminal as an example to illustrate the charging control method and practical application scenarios involved in the above embodiments of the present disclosure.
图7是根据本公开一示例性实施例中示出的充电控制示意图。FIG. 7 is a schematic diagram of charging control shown in an exemplary embodiment of the present disclosure.
参阅图7所示,本公开实施例中,移动终端包含有两芯片设备,可以包括主芯片和从芯片。其中,usb设备可以包括U盘、读卡器等设备,usb_contorl可以为usb控制器,usb_sense可以为usb感应器。wls可以为无线输入,wls_contorl可以为无线输入控制器,wls_sense可以为无线输入感应器,wls_en可以为无线信号。其中,mos开关可以为数字信号开关。Otg设备可以包括鼠标、键盘等设备。Otg boost可以表示Otg增压。无线boost可以表示无线增压。无线RX可以表示无线接收。增加充电芯片上的数字引脚,有线输入与无线输入首先到达主充电芯片的数字引脚后进行判断,再输入至电源管理集成电路PMIC中。主芯片包括usb控制器以及usb感应器、无线输入控制器以及无线输入感应器。从芯片与主芯片配置相同,但作用有所不同。从芯片的作用为在主芯片出故障时替换主芯片。Referring to FIG. 7 , in the embodiment of the present disclosure, the mobile terminal includes a two-chip device, which may include a master chip and a slave chip. Among them, usb devices can include U disks, card readers and other devices, usb_contorl can be a usb controller, and usb_sense can be a usb sensor. wls can be a wireless input, wls_contorl can be a wireless input controller, wls_sense can be a wireless input sensor, and wls_en can be a wireless signal. Among them, the MOS switch can be a digital signal switch. Otg devices can include mice, keyboards and other devices. Otg boost can mean Otg boost. Wireless boost can mean wireless boosting. Wireless RX can mean wireless reception. Add digital pins on the charging chip. The wired input and wireless input first reach the digital pins of the main charging chip for judgment, and then are input to the power management integrated circuit PMIC. The main chip includes USB controller and USB sensor, wireless input controller and wireless input sensor. The slave chip has the same configuration as the master chip, but its functions are different. The role of the slave chip is to replace the master chip when the master chip fails.
本公开实施例中,充电芯片处于初始状态,当接收到充电芯片外部状态发生变化时,读取充电芯片的usb输入是否有效,并判断此时移动终端是否处于Otg模式,若充电芯片的usb输入有效,且并非处于Otg模式时,睡眠无线输入模式。当usb输入被断开时,取消睡眠无线输入。当移动终端插入Otg设备时,首先强制关闭充电芯片的usb通路的数字信号开关,打开Otg设备增压。当移动终端要打开无线反充时,首先强制关闭充电芯片的wls通路的数字信号开关,打开马达增压。In the embodiment of the present disclosure, the charging chip is in the initial state. When receiving a change in the external state of the charging chip, it reads whether the USB input of the charging chip is valid, and determines whether the mobile terminal is in Otg mode at this time. If the USB input of the charging chip When valid and not in Otg mode, sleep wireless input mode. Cancel sleep wireless input when USB input is disconnected. When the mobile terminal is plugged into the Otg device, the digital signal switch of the USB path of the charging chip is forced to turn off first, and the Otg device boost is turned on. When the mobile terminal wants to turn on wireless reverse charging, it must first forcefully close the digital signal switch of the WLS channel of the charging chip and turn on the motor boost.
本公开实施例中,当移动终端处于有线充电时,获取移动终端充电芯片外部状态的变化,此时,将移动终端放置于无线充电板上。此时对应的场景为:充电芯片usb输入有效且不处于Otg模式,睡眠移动终端的无线输入模块。移动终端处于有线充电的情况下,由于终端无线输入模块处于睡眠,此时移动终端进行有线充电,没有无线充电的反应。In the embodiment of the present disclosure, when the mobile terminal is in wired charging, changes in the external state of the mobile terminal charging chip are obtained. At this time, the mobile terminal is placed on the wireless charging board. The corresponding scenario at this time is: the USB input of the charging chip is valid and not in Otg mode, and the wireless input module of the mobile terminal is sleeping. When the mobile terminal is in wired charging, since the wireless input module of the terminal is in sleep, the mobile terminal performs wired charging at this time, and there is no response to wireless charging.
本公开实施例中,在移动终端进行有线充电的情况下,开启无线反充,移动终端充电芯片外部状态发生变化。此时对应的场景为:充电芯片usb输入有效且不处于Otg模式,睡眠移动终端的无线输入模块,打开移动终端无线反充模块,强制关闭移动终端充电芯片的WLS通路以及数字信号开关,打开马达增压。移动终端处于有线充电的情况下,打开无线反充,有线充电与无线反充可以同时工作,互不干扰。In the embodiment of the present disclosure, when the mobile terminal performs wired charging, wireless reverse charging is turned on, and the external state of the mobile terminal charging chip changes. The corresponding scenario at this time is: the USB input of the charging chip is valid and not in Otg mode, sleep the wireless input module of the mobile terminal, turn on the wireless reverse charging module of the mobile terminal, forcibly close the WLS channel and digital signal switch of the mobile terminal charging chip, and turn on the motor. Supercharge. When the mobile terminal is being wired for charging, turn on wireless reverse charging. Wired charging and wireless reverse charging can work at the same time without interfering with each other.
本公开实施例中,在移动终端进行无线充电的情况下,插入有线充电器,移动终端充电芯片外部状态发生变化。此时对应的场景为:充电芯片usb输入有效且不处于Otg模式,睡眠移动终端的无线输入模块。断开移动终端的无线充电模块,自动导通usb通路,移动 终端无线充电模式转换为有线充电模式。In the embodiment of the present disclosure, when the mobile terminal is wirelessly charged, a wired charger is inserted, and the external state of the mobile terminal charging chip changes. The corresponding scenario at this time is: the USB input of the charging chip is valid and not in Otg mode, and the wireless input module of the mobile terminal is sleeping. Disconnect the wireless charging module of the mobile terminal, automatically connect the USB path, and convert the wireless charging mode of the mobile terminal to the wired charging mode.
本公开实施例中,在移动终端插入Otg设备时,将移动终端放置在无线充电板上,移动终端充电芯片外部状态发生变化。强制关闭充电芯片的usb通路的数字信号开关后打开Otg增压。将移动终端放置在无线充电板上后,无线通路被充电芯片自动导通,无线充电也开始工作。此时,Otg模式与移动终端无线充电同时工作,互不干扰。其中,Otg模式包括终端连接鼠标键盘等的模式。In the embodiment of the present disclosure, when the mobile terminal is inserted into the Otg device and the mobile terminal is placed on the wireless charging board, the external state of the mobile terminal charging chip changes. Forcefully close the digital signal switch of the USB path of the charging chip and then turn on Otg boost. After placing the mobile terminal on the wireless charging pad, the wireless path is automatically connected by the charging chip, and wireless charging starts to work. At this time, Otg mode and mobile terminal wireless charging work at the same time without interfering with each other. Among them, Otg mode includes the mode in which the terminal is connected to the mouse and keyboard.
本公开实施例中,在终端进行无线充电过程中,插入Otg设备,移动终端充电芯片外部状态发生变化。强制关闭充电芯片的usb通路的数字信号开关,打开Otg增压。此时终端采用无线充电模式,插入Otg设备,终端无线充电与Otg设备两模块可以同时使用。In the embodiment of the present disclosure, during the wireless charging process of the terminal, an Otg device is inserted, and the external state of the mobile terminal charging chip changes. Forcefully close the digital signal switch of the USB path of the charging chip and turn on Otg boost. At this time, the terminal adopts wireless charging mode and the Otg device is inserted. The two modules of terminal wireless charging and Otg device can be used at the same time.
本公开实施例中,在终端插入Otg设备时,打开无线反充,移动终端充电芯片外部状态发生变化。插入Otg设备时,强制关闭充电芯片usb通路的数字信号开关,打开Otg增压。强制关闭充电芯片的wls通路的数字信号开关。此时Otg设备与无线反充互不干扰,同时工作。In the embodiment of the present disclosure, when the terminal is inserted into the Otg device and wireless reverse charging is turned on, the external state of the mobile terminal charging chip changes. When plugging in an Otg device, force the digital signal switch of the USB path of the charging chip to turn off and turn on the Otg boost. The digital signal switch that forcibly closes the WLS path of the charging chip. At this time, the Otg device and wireless reverse charging do not interfere with each other and work at the same time.
本公开实施例中,在终端进行无线反充过程中,插入有线充电器,移动终端充电芯片外部状态发生变化。当打开无线反充时,强制关闭充电芯片的wls通路的数字信号开关,打开马达增压。此时插入有线充电,usb通路被充电芯片导通,有线充电与无线反充无干扰,可以同时工作。In the embodiment of the present disclosure, during the wireless reverse charging process of the terminal, a wired charger is inserted, and the external state of the mobile terminal charging chip changes. When wireless reverse charging is turned on, the digital signal switch of the WLS path of the charging chip is forcibly turned off and the motor boost is turned on. At this time, wired charging is inserted, and the USB path is connected by the charging chip. There is no interference between wired charging and wireless reverse charging and can work at the same time.
需要说明的是,本领域内技术人员可以理解,本公开实施例上述涉及的各种实施方式/实施例中可以配合前述的实施例使用,也可以是独立使用。无论是单独使用还是配合前述的实施例一起使用,其实现原理类似。本公开实施中,部分实施例中是以一起使用的实施方式进行说明的。当然,本领域内技术人员可以理解,这样的举例说明并非对本公开实施例的限定。It should be noted that those skilled in the art can understand that the various implementations/embodiments mentioned above in the embodiments of the present disclosure can be used in conjunction with the foregoing embodiments or can be used independently. Whether used alone or in conjunction with the foregoing embodiments, the implementation principles are similar. In the implementation of the present disclosure, some embodiments are described in terms of implementations used together. Of course, those skilled in the art can understand that such illustrations do not limit the embodiments of the present disclosure.
基于相同的构思,本公开实施例还提供一种充电控制装置。Based on the same concept, an embodiment of the present disclosure also provides a charging control device.
可以理解的是,本公开实施例提供的充电控制装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。结合本公开实施例中所公开的各示例的单元及算法步骤,本公开实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用来使用不同的方法来实现所描述的功能,但是这种实现不应认为超出本公开实施例的技术方案的范围。It can be understood that, in order to implement the above functions, the charging control device provided by the embodiment of the present disclosure includes corresponding hardware structures and/or software modules for performing each function. Combined with the units and algorithm steps of each example disclosed in the embodiments of the present disclosure, the embodiments of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving the hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to go beyond the scope of the technical solutions of the embodiments of the present disclosure.
图8是根据一示例性实施例示出的一种充电控制装置框图。参照图8,该装置包括获取单元101和控制单元102。Figure 8 is a block diagram of a charging control device according to an exemplary embodiment. Referring to FIG. 8 , the device includes an acquisition unit 101 and a control unit 102 .
该获取单元101用于获取所述充电芯片的状态输入信息。The obtaining unit 101 is used to obtain status input information of the charging chip.
该控制单元102用于基于所述状态输入信息,对所述终端的充电过程进行控制。The control unit 102 is used to control the charging process of the terminal based on the status input information.
在一种实施方式中,所述基于所述状态输入信息,对所述终端的充电过程进行控制,包括:基于所述充电芯片的USB控制信号和/或所述充电芯片的WLS控制信号,对所述终端的充电过程进行控制。In one embodiment, controlling the charging process of the terminal based on the status input information includes: based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip. The charging process of the terminal is controlled.
在另一种实施方式中,所述控制单元102采用如下方式基于所述充电芯片的USB控制信号以及所述充电芯片的WLS控制信号,对所述终端的充电过程进行控制:若所述充电芯片的USB控制信号表征所述充电芯片的USB的输入状态为有效,且所述充电芯片处于非即插即用OTG模式,则控制所述终端的无线充电接收进入睡眠模式。In another embodiment, the control unit 102 controls the charging process of the terminal based on the USB control signal of the charging chip and the WLS control signal of the charging chip in the following manner: if the charging chip The USB control signal indicates that the USB input status of the charging chip is valid, and the charging chip is in the non-plug and play OTG mode, then the wireless charging reception of the terminal is controlled to enter the sleep mode.
在另一种实施方式中,所述控制单元102还用于:监测所述PMIC的USB输入状态;若监测到所述PMIC的USB输入状态为断开状态,则取消控制所述终端的无线充电接收进入睡眠模式。In another embodiment, the control unit 102 is further configured to: monitor the USB input status of the PMIC; if it is detected that the USB input status of the PMIC is in a disconnected state, cancel the control of the wireless charging of the terminal. Receive enters sleep mode.
在另一种实施方式中,所述控制单元102还用于:若所述充电芯片处于即插即用模式,则强制关闭所述充电芯片的USB通路的数字信号开关,并开启即插即用供电马达的开关。In another embodiment, the control unit 102 is also configured to: if the charging chip is in plug-and-play mode, forcefully close the digital signal switch of the USB path of the charging chip, and enable plug-and-play. Switch for powering the motor.
在另一种实施方式中,所述控制单元102还用于:若所述充电芯片被开启无线反充功能,则强制关闭所述充电芯片的WLS通路的数字信号开关,并开启WLS供电马达的开关。In another embodiment, the control unit 102 is also configured to: if the wireless reverse charging function of the charging chip is turned on, forcibly close the digital signal switch of the WLS path of the charging chip, and turn on the WLS power supply motor. switch.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the devices in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
图9是根据一示例性实施例示出的一种用于充电控制的装置200的框图。例如,装置200可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 9 is a block diagram of a device 200 for charging control according to an exemplary embodiment. For example, the device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
参照图9,装置200可以包括以下一个或多个组件:处理组件202,存储器204,电力组件206,多媒体组件208,音频组件210,输入/输出(I/O)接口212,传感器组件214,以及通信组件216。Referring to Figure 9, device 200 may include one or more of the following components: processing component 202, memory 204, power component 206, multimedia component 208, audio component 210, input/output (I/O) interface 212, sensor component 214, and Communication component 216.
处理组件202通常控制装置200的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件202可以包括一个或多个处理器220来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件202可以包括一个或多个模块,便于处理组件202和其他组件之间的交互。例如,处理组件202可以包括多媒体模块,以方便多媒体组件208和处理组件202之间的交互。 Processing component 202 generally controls the overall operations of device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 202 may include one or more modules that facilitate interaction between processing component 202 and other components. For example, processing component 202 may include a multimedia module to facilitate interaction between multimedia component 208 and processing component 202.
存储器204被配置为存储各种类型的数据以支持在装置200的操作。这些数据的示例包括用于在装置200上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消 息,图片,视频等。存储器204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。 Memory 204 is configured to store various types of data to support operations at device 200 . Examples of such data include instructions for any application or method operating on device 200, contact data, phonebook data, messages, pictures, videos, etc. Memory 204 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
电力组件206为装置200的各种组件提供电力。电力组件206可以包括电源管理系统,一个或多个电源,及其他与为装置200生成、管理和分配电力相关联的组件。 Power component 206 provides power to various components of device 200 . Power components 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 200 .
多媒体组件208包括在所述装置200和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件208包括一个前置摄像头和/或后置摄像头。当装置200处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。 Multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action. In some embodiments, multimedia component 208 includes a front-facing camera and/or a rear-facing camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
音频组件210被配置为输出和/或输入音频信号。例如,音频组件210包括一个麦克风(MIC),当装置200处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器204或经由通信组件216发送。在一些实施例中,音频组件210还包括一个扬声器,用于输出音频信号。 Audio component 210 is configured to output and/or input audio signals. For example, audio component 210 includes a microphone (MIC) configured to receive external audio signals when device 200 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 204 or sent via communications component 216 . In some embodiments, audio component 210 also includes a speaker for outputting audio signals.
I/O接口212为处理组件202和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 212 provides an interface between the processing component 202 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
传感器组件214包括一个或多个传感器,用于为装置200提供各个方面的状态评估。例如,传感器组件214可以检测到装置200的打开/关闭状态,组件的相对定位,例如所述组件为装置200的显示器和小键盘,传感器组件214还可以检测装置200或装置200一个组件的位置改变,用户与装置200接触的存在或不存在,装置200方位或加速/减速和装置200的温度变化。传感器组件214可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件214还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件214还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor component 214 includes one or more sensors for providing various aspects of status assessment for device 200 . For example, the sensor component 214 can detect the open/closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, and the sensor component 214 can also detect a change in position of the device 200 or a component of the device 200. , the presence or absence of user contact with the device 200 , device 200 orientation or acceleration/deceleration and temperature changes of the device 200 . Sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件216被配置为便于装置200和其他设备之间有线或无线方式的通信。装置200可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实 施例中,通信组件216经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件216还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 Communication component 216 is configured to facilitate wired or wireless communication between apparatus 200 and other devices. Device 200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, communication component 216 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 216 also includes a near field communications (NFC) module to facilitate short-range communications. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置200可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 200 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable Gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are implemented for executing the above method.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器204,上述指令可由装置200的处理器220执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 204 including instructions, which can be executed by the processor 220 of the device 200 to complete the above method is also provided. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
进一步可以理解的是,本公开中“多个”是指两个或两个以上,其它量词与之类似。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。It can be further understood that “plurality” in this disclosure refers to two or more, and other quantifiers are similar. "And/or" describes the relationship between related objects, indicating that there can be three relationships. For example, A and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the related objects are in an "or" relationship. The singular forms "a", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
进一步可以理解的是,术语“第一”、“第二”等用于描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开,并不表示特定的顺序或者重要程度。实际上,“第一”、“第二”等表述完全可以互换使用。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other and do not imply a specific order or importance. In fact, expressions such as "first" and "second" can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information may also be called second information, and similarly, the second information may also be called first information.
进一步可以理解的是,本公开实施例中尽管在附图中以特定的顺序描述操作,但是不应将其理解为要求按照所示的特定顺序或是串行顺序来执行这些操作,或是要求执行全部所示的操作以得到期望的结果。在特定环境中,多任务和并行处理可能是有利的。It will be further understood that although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, this should not be understood as requiring that these operations be performed in the specific order shown or in a serial order, or that it is required that Perform all operations shown to obtain the desired results. In certain circumstances, multitasking and parallel processing may be advantageous.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure that follow the general principles of the disclosure and include common knowledge or customary technical means in the technical field that are not disclosed in the disclosure. .
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利范围来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the disclosure is limited only by the appended rights.

Claims (14)

  1. 一种充电控制方法,其特征在于,应用于终端,所述终端中包括基于充电芯片和电源管理集成电路PMIC形成的N:1充电架构,所述方法包括:A charging control method, characterized in that it is applied to a terminal, and the terminal includes an N:1 charging architecture based on a charging chip and a power management integrated circuit PMIC. The method includes:
    获取所述充电芯片的状态输入信息;Obtain status input information of the charging chip;
    基于所述状态输入信息,对所述终端的充电过程进行控制。Based on the status input information, the charging process of the terminal is controlled.
  2. 根据权利要求1所述的方法,其特征在于,所述基于所述状态输入信息,对所述终端的充电过程进行控制,包括:The method according to claim 1, wherein the controlling the charging process of the terminal based on the status input information includes:
    基于所述充电芯片的USB控制信号和/或所述充电芯片的WLS控制信号,对所述终端的充电过程进行控制。The charging process of the terminal is controlled based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip.
  3. 根据权利要求2所述的方法,其特征在于,所述基于所述充电芯片的USB控制信号和/或所述充电芯片的WLS控制信号,对所述终端的充电过程进行控制,包括:The method of claim 2, wherein controlling the charging process of the terminal based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip includes:
    若所述充电芯片的USB控制信号表征所述充电芯片的USB的输入状态为有效,且所述充电芯片处于非即插即用OTG模式,则控制所述终端的无线充电接收进入睡眠模式。If the USB control signal of the charging chip indicates that the USB input status of the charging chip is valid, and the charging chip is in the non-plug and play OTG mode, the wireless charging reception of the terminal is controlled to enter the sleep mode.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method of claim 3, further comprising:
    监测所述PMIC的USB输入状态;Monitor the USB input status of the PMIC;
    若监测到所述PMIC的USB输入状态为断开状态,则取消控制所述终端的无线充电接收进入睡眠模式。If it is detected that the USB input state of the PMIC is in a disconnected state, control of wireless charging reception of the terminal is canceled and the terminal enters sleep mode.
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    若所述充电芯片处于即插即用模式,则强制关闭所述充电芯片的USB通路的数字信号开关,并开启即插即用供电马达的开关。If the charging chip is in the plug-and-play mode, the digital signal switch of the USB path of the charging chip is forcibly turned off, and the switch of the plug-and-play power supply motor is turned on.
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    若所述充电芯片被开启无线反充功能,则强制关闭所述充电芯片的WLS通路的数字信号开关,并开启WLS供电马达的开关。If the wireless reverse charging function of the charging chip is turned on, the digital signal switch of the WLS path of the charging chip is forcibly turned off, and the switch of the WLS power supply motor is turned on.
  7. 一种充电控制装置,其特征在于,应用于终端,所述终端中包括有基于充电芯片和电源管理集成电路PMIC形成的N:1充电架构,所述装置包括:A charging control device, characterized in that it is applied to a terminal. The terminal includes an N:1 charging architecture based on a charging chip and a power management integrated circuit PMIC. The device includes:
    获取单元,用于获取所述充电芯片的状态输入信息;An acquisition unit, used to acquire status input information of the charging chip;
    控制单元,用于基于所述状态输入信息,对所述终端的充电过程进行控制。A control unit, configured to control the charging process of the terminal based on the status input information.
  8. 根据权利要求7所述的装置,其特征在于,所述基于所述状态输入信息,对所述终端的充电过程进行控制,包括:The device according to claim 7, wherein the controlling the charging process of the terminal based on the status input information includes:
    基于所述充电芯片的USB控制信号和/或所述充电芯片的WLS控制信号,对所述终端 的充电过程进行控制。The charging process of the terminal is controlled based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip.
  9. 根据权利要求8所述的装置,其特征在于,所述控制单元采用如下方式基于所述充电芯片的USB控制信号和/或所述充电芯片的WLS控制信号,对所述终端的充电过程进行控制:The device according to claim 8, wherein the control unit controls the charging process of the terminal based on the USB control signal of the charging chip and/or the WLS control signal of the charging chip in the following manner: :
    若所述充电芯片的USB控制信号表征所述充电芯片的USB的输入状态为有效,且所述充电芯片处于非即插即用OTG模式,则控制所述终端的无线充电接收进入睡眠模式。If the USB control signal of the charging chip indicates that the USB input status of the charging chip is valid, and the charging chip is in the non-plug and play OTG mode, the wireless charging reception of the terminal is controlled to enter the sleep mode.
  10. 根据权利要求9所述的装置,其特征在于,所述控制单元还用于:The device according to claim 9, characterized in that the control unit is also used for:
    监测所述PMIC的USB输入状态;Monitor the USB input status of the PMIC;
    若监测到所述PMIC的USB输入状态为断开状态,则取消控制所述终端的无线充电接收进入睡眠模式。If it is detected that the USB input state of the PMIC is in a disconnected state, control of wireless charging reception of the terminal is canceled and the terminal enters sleep mode.
  11. 根据权利要求7所述的装置,其特征在于,所述控制单元还用于:The device according to claim 7, characterized in that the control unit is also used for:
    若所述充电芯片处于即插即用模式,则强制关闭所述充电芯片的USB通路的数字信号开关,并开启即插即用供电马达的开关。If the charging chip is in the plug-and-play mode, the digital signal switch of the USB path of the charging chip is forcibly turned off, and the switch of the plug-and-play power supply motor is turned on.
  12. 根据权利要求7所述的装置,其特征在于,所述控制单元还用于:The device according to claim 7, characterized in that the control unit is also used for:
    若所述充电芯片被开启无线反充功能,则强制关闭所述充电芯片的WLS通路的数字信号开关,并开启WLS供电马达的开关。If the wireless reverse charging function of the charging chip is turned on, the digital signal switch of the WLS path of the charging chip is forcibly turned off, and the switch of the WLS power supply motor is turned on.
  13. 一种充电控制装置,其特征在于,包括:A charging control device, characterized by including:
    处理器;processor;
    用于存储处理器可执行指令的存储器;Memory used to store instructions executable by the processor;
    其中,所述处理器被配置为:用于执行权利要求1至6中任意一项所述的充电控制的方法。Wherein, the processor is configured to perform the charging control method according to any one of claims 1 to 6.
  14. 一种存储介质,其特征在于,所述存储介质中存储有指令,当所述存储介质中的指令由终端的处理器执行时,使得包括所述处理器的终端能够执行权利要求1至6中任意一项所述的充电控制的方法。A storage medium, characterized in that instructions are stored in the storage medium. When the instructions in the storage medium are executed by a processor of a terminal, the terminal including the processor can execute claims 1 to 6. The charging control method described in any one of the above.
PCT/CN2022/098658 2022-06-14 2022-06-14 Charging control method, apparatus and storage medium WO2023240441A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2022/098658 WO2023240441A1 (en) 2022-06-14 2022-06-14 Charging control method, apparatus and storage medium
CN202280004622.4A CN117597850A (en) 2022-06-14 2022-06-14 Charging control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/098658 WO2023240441A1 (en) 2022-06-14 2022-06-14 Charging control method, apparatus and storage medium

Publications (1)

Publication Number Publication Date
WO2023240441A1 true WO2023240441A1 (en) 2023-12-21

Family

ID=89192941

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/098658 WO2023240441A1 (en) 2022-06-14 2022-06-14 Charging control method, apparatus and storage medium

Country Status (2)

Country Link
CN (1) CN117597850A (en)
WO (1) WO2023240441A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140159655A1 (en) * 2012-12-12 2014-06-12 Samsung Electronics Co., Ltd. Integrated circuit for wireless charging and operating method thereof
US20140225558A1 (en) * 2013-02-13 2014-08-14 Samsung Electronics Co., Ltd. Device and method for controlling charging path of mobile terminal
CN105048524A (en) * 2014-04-16 2015-11-11 联发科技股份有限公司 Wireless power source receiving circuit, charging system and charging control method
CN106786907A (en) * 2016-12-26 2017-05-31 广东欧珀移动通信有限公司 A kind of charging circuit, method and terminal
CN114465332A (en) * 2022-04-14 2022-05-10 珠海智融科技股份有限公司 Power supply switching system and method for wired charging and wireless charging

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140159655A1 (en) * 2012-12-12 2014-06-12 Samsung Electronics Co., Ltd. Integrated circuit for wireless charging and operating method thereof
US20140225558A1 (en) * 2013-02-13 2014-08-14 Samsung Electronics Co., Ltd. Device and method for controlling charging path of mobile terminal
CN105048524A (en) * 2014-04-16 2015-11-11 联发科技股份有限公司 Wireless power source receiving circuit, charging system and charging control method
CN106786907A (en) * 2016-12-26 2017-05-31 广东欧珀移动通信有限公司 A kind of charging circuit, method and terminal
CN114465332A (en) * 2022-04-14 2022-05-10 珠海智融科技股份有限公司 Power supply switching system and method for wired charging and wireless charging

Also Published As

Publication number Publication date
CN117597850A (en) 2024-02-23

Similar Documents

Publication Publication Date Title
RU2634750C2 (en) Interfacing circuit, method and device for state triggering
CN105068958B (en) Method for handover control and device
EP3780328B1 (en) Reverse charging device
CN108631401B (en) Charging circuit, method, electronic device, and storage medium
WO2021057673A1 (en) Image display method and electronic device
CN105049923A (en) Method and apparatus for waking up electronic device
CN104950775A (en) Circuit, method and device for waking up main MCU (micro control unit)
EP3832841A1 (en) Charging circuit, electronic device, charging control method and device
CN103927200A (en) Electronic equipment awakening method and related device
CN107329520B (en) USB interface connection method, device and system of mobile terminal
EP3846305A1 (en) Electronic device, charging method and device for the same, and computer-readable storage medium
WO2018094795A1 (en) Method and device for controlling power supply of power strip, and power strip
CN212518496U (en) Charging circuit and terminal
CN104967174B (en) Charge control method and device
CN106325454A (en) Power supply control device and method, and electronic equipment
WO2023240441A1 (en) Charging control method, apparatus and storage medium
CN106299515B (en) Charging method and device
CN204706733U (en) USB connecting line
CN104991634A (en) Terminal control method and device
CN104917238A (en) Intelligent equipment, and method and device for controlling power supply of equipment
CN106341733A (en) Smart TV power control method and apparatus
CN106776424B (en) Connector, control method and control device thereof, and electronic equipment
CN112165139A (en) Charging circuit, charging control method, charging control device, terminal and storage medium
CN107562167B (en) Multi-path charging method, mobile terminal and computer-readable storage medium
CN204886223U (en) Device and smart machine of controlgear power supply

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 202280004622.4

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22946140

Country of ref document: EP

Kind code of ref document: A1