A kind of method and system that USB device is powered

A kind of method and system that USB device is powered

  • CN 102,301,305 B
  • Filed: 06/09/2011
  • Issued: 12/16/2015
  • Est. Priority Date: 06/09/2011
  • Status: Active Grant
First Claim
Patent Images

1. to the method that USB device is powered, it is characterized in that, described method comprises:

  • USB device starts monitoring process, collects USB device power supply state information, host-initiated monitoring process, collects host supplying power status information;

    The information collection unit of USB device collects the power supply state information of USB device by fixed time interval;

    The control module of USB device is to USB device power supply state information analysis process;

    The communication unit of USB device reports USB device power supply state information to main frame under the control of the control module of described USB device;

    The power supply state information of main frame to USB device and main frame carries out analyzing and processing, and decision-making is to the power supply mode of USB device and switching at runtime power supply mode on demand;

    The information collection unit of main frame collects the power supply state information of main frame;

    The USB device power supply state information analysis process that the control module of main frame reports host supplying power status information and USB device, judges whether to allow main frame power to USB device and control the switching to USB device power supply mode;

    Described judging whether allows main frame specifically to comprise the method that USB device is powered;

    if according to host supplying power status information, main frame judges that main frame is by external power source, then allow main frame to be that USB device is powered;

    If not, then jointly judge whether to allow main frame to power to USB device according to host supplying power status information and USB device power supply state information;

    When host supplying power state changes, if power supply state is powered by its cells change into external power source, then main frame is allowed to be that USB device is powered;

    If power supply state is changed into by external power source and powered by its cells, then jointly judge whether to allow main frame to power to USB device according to host supplying power status information and USB device power supply state information;

    Jointly judge whether that the method allowing main frame to power to USB device comprises according to host supplying power status information and USB device power supply state information;

    When USB device battery electric power enough ensures that self normally runs, powered by USB device its cells;

    When USB device battery electric power can not ensure that it normally runs, requesting host is powered, and main frame judges its cells electric power supply situation, if cell host electric power is enough to ensure that main frame self and both USB device are normally run, is then that USB device is powered by main frame;

    Normally run if main frame its cells electric power is not enough to both guarantees, then on main frame or USB device, eject prompting, and selected whether to be powered to USB device by main frame by user.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×