[go: up one dir, main page]

CN105446912A - Method and device of CPU (Central Processing Unit) for connecting WIFI module through HSIC (High Speed Inter-chip) bus interface - Google Patents

Method and device of CPU (Central Processing Unit) for connecting WIFI module through HSIC (High Speed Inter-chip) bus interface Download PDF

Info

Publication number
CN105446912A
CN105446912A CN201410495572.1A CN201410495572A CN105446912A CN 105446912 A CN105446912 A CN 105446912A CN 201410495572 A CN201410495572 A CN 201410495572A CN 105446912 A CN105446912 A CN 105446912A
Authority
CN
China
Prior art keywords
wifi module
cpu
bus interface
hsic bus
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201410495572.1A
Other languages
Chinese (zh)
Inventor
郭涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410495572.1A priority Critical patent/CN105446912A/en
Priority to PCT/CN2015/076581 priority patent/WO2016045363A1/en
Publication of CN105446912A publication Critical patent/CN105446912A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a method of a CPU (Central Processing Unit) for controlling a sleep state of a WIFI module through an HSIC (High Speed Inter-chip) bus interface. The method comprises the steps of establishing connection with the WIFI module through the HSIC bus interface by the CPU; when the CPU receives a sleep instruction, uninstalling WIF module drive files and WIFI module firmware files by the WIFI module; and controlling a power module to stopping supplying power to the HSIC bus interface and the WIFI module by the CPU so as to enable the WIFI module to enter a sleep state. The invention also discloses a method of the CPU for controlling the WIFI module to wake up through the HSIC bus interface, a device of the CPU for controlling the WIFI module to sleep through the HSIC bus interface and a device of the CPU for controlling the WIFI module to wake up through the HSIC bus interface.

Description

A kind of CPU controls method and the device of WIFI module by HSIC bus interface
Technical field
The present invention relates to chip chamber high-speed interface (HighSpeedInter-Chip, HSIC) technical field, particularly relate to a kind of CPU controls WIFI module method and device by HSIC bus interface.
Background technology
HSIC bus adopts chip chamber to connect (Inter-ChipConnectivity, ICC) technology, can realize the transmission of USB2.0 agreement between short distance.HSIC bus uses two signal wires (strobe line strobe and data line data) to realize communicating, and can provide the speed of 480 mbit.Therefore, move in hotspot device at portable mobile wireless and adopt HSIC bus to be connected to WIFI module, the transfer rate of WIFI signal can be improved.
Portable mobile wireless moves hotspot device just as mobile phone, except requiring that speed of surfing the Internet is fast, also to have better battery durable ability, this just wishes to reduce electric current as much as possible when portable mobile wireless moves hotspot device dormancy, and WIFI module treat that plane mechanism just becomes portable mobile wireless and moves the major issue that hotspot device must consider.
When portable mobile wireless move hotspot device need dormancy time, WIFI module needs to be introduced into dormant state; Accordingly, HSIC bus interface just needs and WIFI module disconnects, and then portable mobile wireless moves hotspot device complete machine and enters dormancy.But HSIC bus interface does not support the function of hot plug, that is, the disconnection that HSIC bus interface cannot realize WIFI module when not power-off is connected with secondary; HSIC bus interface can realize the dormancy of WIFI module in the event of a power failure, but does not support hot plug due to HSIC bus interface, and WIFI module now has had and drives file; Therefore, cannot normally be waken up when WIFI module powers on again.Namely HSIC bus interface cannot realize sleep operation to WIFI module and wake operation.
Summary of the invention
In view of this, the embodiment of the present invention is expected to provide a kind of CPU to control the method for WIFI module and device by HSIC bus interface, at least can solve the technical matters that HSIC bus interface cannot realize sleep operation to WIFI module and wake operation.
The technical scheme of the embodiment of the present invention is achieved in that
Embodiments provide a kind of CPU controls WIFI module dormancy method by HSIC bus interface, it is characterized in that, described method comprises:
CPU sets up the connection with WIFI module by HSIC bus interface;
When described CPU receives dormancy instruction, described WIFI module unloading WIFI module drives file and WIFI module firmware file; Described CPU controls power module to be stopped powering to described HSIC bus interface and described WIFI module, makes described WIFI module enter dormant state.
In such scheme, described CPU is set up by HSIC bus interface and comprises with the connection of WIFI module:
After described WIFI module energising, when detecting that described HSIC bus interface is IDLE mode of operation, described WIFI module sends connection request to described CPU;
When described CPU receives the connection request that described WIFI module sends, described CPU sends to described WIFI module and connects confirmation; Described CPU downloads WIFI module from file storage module and drives file and WIFI module firmware file and send to described WIFI module;
Described WIFI module receives the connection confirmation that described CPU sends; WIFI module receives and enables the described WIFI module that CPU sends and drives file and WIFI module firmware file.
In such scheme, described WIFI module sends connection request to described CPU and comprises:
Strobe signal in described HSIC bus interface is revised as low level by high level by described WIFI module; Data-signal in described HSIC bus interface is revised as high level by low level, realizes sending connection request to described CPU.
In such scheme, described when described CPU receives dormancy instruction, described WIFI module unloading WIFI module drives file and WIFI module firmware file to comprise:
When described CPU receives dormancy instruction, described CPU sends sleep request to described WIFI module;
Described WIFI module receives the described sleep request that described CPU sends, and unloads described WIFI module and drives file and WIFI module firmware file, and send dormancy confirmation to described CPU according to described sleep request.
In such scheme, described CPU controls power module to be stopped powering to described HSIC bus interface and described WIFI module comprising:
When described CPU receives the dormancy confirmation that described WIFI module sends, described CPU sends to power module instruction of stopping power supply;
Stop power supply described in described power module receives after instruction, stop powering to described HSIC bus interface and described WIFI module.
The embodiment of the present invention additionally provides a kind of method that CPU is waken up by HSIC bus interface control WIFI module, and it is characterized in that, described method comprises:
When CPU receive wake instruction up time, described CPU is set up and the connection of WIFI module by HSIC bus interface.
In such scheme, described when CPU receive wake instruction up time, described CPU is set up by HSIC bus interface and comprises with the connection of WIFI module:
When described CPU receive wake instruction up time, described CPU controls power module and powers to described HSIC bus interface and described WIFI module;
After described WIFI module energising, when detecting that described HSIC bus interface is IDLE mode of operation, described WIFI module sends connection request to described CPU;
Described CPU receives the connection request that described WIFI module is sent, and sends connection confirmation to described WIFI module; Described CPU downloads described WIFI module from file storage module and drives file and WIFI module firmware file and send to described WIFI module;
Described WIFI module receives the connection confirmation that described CPU sends; Described WIFI module receives and enables the WIFI module that described CPU sends and drives file and WIFI module firmware file.
In such scheme, described when described CPU receive wake instruction up time, described CPU controls power module and powers to described HSIC bus interface and described WIFI module and comprise:
When described CPU receive wake instruction up time, described CPU to power module send power supply instruction;
After described power module receives described power supply instruction, power to described HSIC bus interface and described WIFI module.
In such scheme, described WIFI module sends connection request to described CPU and comprises:
Strobe signal in described HSIC bus interface is revised as low level by high level by described WIFI module; Data-signal in described HSIC bus interface is revised as high level by low level, realizes sending connection request to described CPU.
The embodiment of the present invention additionally provides a kind of CPU controls WIFI module dormancy device by HSIC bus interface, and described device comprises:
CPU, for connecting with WIFI module, downloading WIFI module from file storage module and drives file and WIFI module firmware file and send to described WIFI module; Receive dormancy instruction, make WIFI module unload WIFI module and drive file and WIFI module firmware file; Controlling power module is that HSIC bus interface and WIFI module are stopped power supply, and makes WIFI module enter dormant state from duty;
HSIC bus interface, for setting up data cube computation for described CPU and WIFI module;
WIFI module, drives file and WIFI module firmware file for receiving and enabling the WIFI module that described CPU sends; Dormancy instruction unloading WIFI module according to described CPU drives file and WIFI module firmware file, enters dormant state from duty.
The embodiment of the present invention additionally provides the device that a kind of CPU is waken up by HSIC bus interface control WIFI module, and described device comprises:
CPU, wake instruction up for receiving, controlling power module is that HSIC bus interface and WIFI module are powered, and connects with WIFI module; Download WIFI module from file storage module drive file and WIFI module firmware file and send to described WIFI module, make WIFI module enter wake-up states from dormant state;
HSIC bus interface, for setting up data cube computation for described CPU and WIFI module;
WIFI module, drives file and WIFI module firmware file for receiving and enabling the WIFI module that described CPU sends, enters wake-up states from dormant state.
A kind of CPU that the embodiment of the present invention provides controls method and the device of WIFI module by HSIC bus interface, by HSIC bus interface, CPU and WIFI module is connected; When CPU receives dormancy instruction, WIFI module unloading WIFI module drives file and WIFI module firmware file; CPU controls power module to be stopped powering to HSIC bus interface and WIFI module, and make WIFI module enter dormant state, HSIC bus interface now and WIFI module are in the state before CPU and WIFI module connect; When CPU receive wake instruction up time, CPU re-establishes the connection with WIFI module by HSIC bus interface.Namely receive when waking instruction up, CPU will be connected with WIFI module by HSIC bus interface again at every turn, so just can realize being operated and wake operation the normal hibernation of WIFI module by HSIC bus interface.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of CPU by the method for HSIC bus interface control WIFI module dormancy of embodiment 1;
Fig. 2 is the schematic flow sheet of the step S101 of embodiment 1 method;
Fig. 3 is the schematic flow sheet of the step S102 of embodiment 1 method;
Fig. 4 is the schematic flow sheet of the step S201 of embodiment 2 method;
Fig. 5 is the structural representation of CPU by the device of HSIC bus interface control WIFI module dormancy of embodiment 3;
Fig. 6 is the structural representation of the device that the CPU of embodiment 4 is waken up by HSIC bus interface control WIFI module;
Fig. 7 is the schematic flow sheet of CPU by the method for HSIC bus interface control WIFI module of embodiment 5;
Fig. 8 is the agreement schematic diagram of HSIC bus;
Fig. 9 is the dormancy of WIFI module and wakes machine schematic flow sheet up.
Embodiment
Below in conjunction with Figure of description and specific embodiment technical scheme of the present invention done and further elaborate.
Embodiment 1
Cannot realize carrying out WIFI module the technical matters of sleep operation to solve HSIC bus interface, present embodiments provide a kind of CPU controls WIFI module dormancy method by HSIC bus interface, as shown in Figure 1, described method comprises:
S101:CPU sets up the connection with WIFI module by HSIC bus interface;
The transfer rate of HSIC bus interface is very high, and CPU is connected with WIFI module by HSIC bus interface, can improve the transfer rate of WIFI signal.State before connecting is:
(1) HSIC bus powers up, and the strobe signal in HSIC bus interface is high level; Data-signal in HSIC bus interface is low level;
(2) WIFI module powers up, but does not have WIFI module to drive file and WIFI module firmware file, can not work.
S102: when described CPU receives dormancy instruction, described WIFI module unloading WIFI module drives file and WIFI module firmware file; Described CPU controls power module to be stopped powering to described HSIC bus interface and described WIFI module, makes described WIFI module enter dormant state;
After CPU receives dormancy instruction, sleep request can be sent to WIFI module, WIFI module drives file and WIFI module firmware file according to sleep request unloading WIFI module, WIFI module is in be not energized the state that WIFI module drives file and WIFI module firmware file is not installed, avoid after WIFI module next time powers on and cannot normally work, save electric energy simultaneously.
A kind of CPU that the present embodiment provides controls the method for WIFI module dormancy by HSIC bus interface, by HSIC bus interface, CPU and WIFI module is connected; When CPU receives dormancy instruction, WIFI module unloading WIFI module drives file and WIFI module firmware file; CPU controls power module to be stopped powering to HSIC bus interface and WIFI module, WIFI module is made to enter dormant state, HSIC bus interface now and WIFI module are in the state before CPU and WIFI module connect, and achieve by the sleep operation of HSIC bus interface to WIFI module.
Concrete, the schematic flow sheet of step S101 as shown in Figure 2, comprising:
S1011: after described WIFI module energising, when detecting that described HSIC bus interface is IDLE mode of operation, described WIFI module sends connection request to described CPU;
Wherein, detect that described HSIC bus interface is that IDLE mode of operation specifically comprises:
HSIC bus interface is IDLE mode of operation, and the strobe signal now in HSIC bus interface is high level; Data-signal in HSIC bus interface is low level.WIFI module detects that the strobe signal in HSIC bus interface is high level; Data-signal in HSIC bus interface is that low level is just aware of HSIC bus interface and is in IDLE mode of operation.
Described WIFI module sends connection request to described CPU and specifically comprises:
Strobe signal in described HSIC bus interface is revised as low level by high level by described WIFI module; Data-signal in described HSIC bus interface is revised as high level by low level, realizes sending connection request to described CPU.
S1012: when described CPU receives the connection request that described WIFI module sends, described CPU send to described WIFI module and connect confirmation; Described CPU downloads WIFI module from file storage module and drives file and WIFI module firmware file and send to described WIFI module;
Wherein, described CPU is specially to described WIFI module transmission connection confirmation:
The level that connection request revises strobe signal under the IDLE state of HSIC bus interface and data-signal is sent from above-mentioned WIFI module, the state of HSIC bus interface has not now been IDLE state, but is in connection status (or other duties).At this moment, it is mutual that CPU just can carry out normal data-signal by HSIC bus interface, instead of it is mutual to carry out signal by the strobe signal of amendment HSIC bus interface and the level of data-signal.So connecting confirmation is that CPU sends to WIFI module by HSIC bus interface.
S1013: described WIFI module receives the connection confirmation that described CPU sends; WIFI module receives and enables the described WIFI module that CPU sends and drives file and WIFI module firmware file, and the WIFI module sent by enabling CPU drives file and WIFI module firmware file to realize the normal work of WIFI module.
The schematic flow sheet of step S102 as shown in Figure 3, comprising:
S1021: when described CPU receives dormancy instruction, described CPU send sleep request to described WIFI module; Dormancy instruction can be that user sends, and also can be timed sending.
The mode that user sends is: for user operation computer, if when user does not temporarily use computer or does not operate computer in setting-up time, by selecting the mode of snooze option or computer auto sleep to make computer enter dormant state, save electric energy.User operation is specially: click right mouse button at the main interface of computer; select attributes section; screen protection program is selected at dependency interface; power knob is clicked in the lower right corner at screen protection program interface; dormancy label is selected in power supply option interface; tick in the square frame that " enabling dormancy " is front, then can start in button, to occur dormancy button at computer.
Timed sending mode: set dormancy time by CPU, by CPU timed sending dormancy instruction after setting.
S1022: described WIFI module receives the described sleep request that described CPU sends, unloads described WIFI module according to described sleep request and drives file and WIFI module firmware file, and send dormancy confirmation to described CPU.
S1023: when described CPU receives the dormancy confirmation that described WIFI module sends, described CPU sends to power module instruction of stopping power supply;
S1024: after instruction of stopping power supply described in described power module receives, stops powering to described HSIC bus interface and described WIFI module.
Embodiment 2
Cannot realize carrying out WIFI module the technical matters of wake operation to solve HSIC bus interface, present embodiments provide a kind of method that CPU is waken up by HSIC bus interface control WIFI module, described method comprises:
S201: when CPU receive wake instruction up time, described CPU is set up and the connection of WIFI module by HSIC bus interface.
From embodiment 1, when WIFI module is in dormant state, WIFI module is not installed WIFI module and is driven file and WIFI module firmware file, is equivalent to be not activated WIFI module.When described CPU receive wake instruction up time, WIFI module will again accept from CPU and enable WIFI module driving file and WIFI module firmware file, and WIFI module is normally worked.Avoid when adopting HSIC bus interface to wake WIFI module up, drive file and WIFI module firmware file with regard to power-off owing to not unloading WIFI module before WIFI module, when WIFI module powers on again, the technical matters that None-identified WIFI module or WIFI module cannot normally work by CPU.
A kind of CPU that the present embodiment provides controls the method waken up of WIFI module by HSIC bus interface, when CPU receive wake instruction up time, CPU sets up the connection with WIFI module by HSIC bus interface.Namely receive when waking instruction up, CPU will be connected with WIFI module by HSIC bus interface again, achieves by the wake operation of HSIC bus interface to WIFI module at every turn.
Concrete, the schematic flow sheet of step S201 as shown in Figure 4, comprising:
S2011: when described CPU receive wake instruction up time, described CPU controls power module and powers to described HSIC bus interface and described WIFI module, specifically comprises: when described CPU receive wake instruction up time, described CPU sends power supply instruction to power module; After described power module receives described power supply instruction, power to described HSIC bus interface and described WIFI module;
S2012: after described WIFI module energising, when detecting that described HSIC bus interface is IDLE mode of operation, described WIFI module sends connection request to described CPU;
Wherein, described WIFI module specifically comprises to described CPU transmission connection request: the strobe signal in described HSIC bus interface is revised as low level by high level by described WIFI module; Data-signal in described HSIC bus interface is revised as high level by low level, realizes sending connection request to described CPU.
S2013: described CPU receives the connection request that described WIFI module is sent, and send connection confirmation to described WIFI module; Described CPU downloads described WIFI module from file storage module and drives file and WIFI module firmware file and send to described WIFI module;
S2014: described WIFI module receives the connection confirmation that described CPU sends; Described WIFI module receives and enables the WIFI module that described CPU sends and drives file and WIFI module firmware file.
Embodiment 3
The present embodiment and embodiment 1 belong to same inventive concept.Present embodiments provide a kind of CPU controls WIFI module dormancy device by HSIC bus interface, as shown in Figure 5, described device comprises:
CPU301, for connecting with WIFI module 303, downloading WIFI module from file storage module and drives file and WIFI module firmware file and send to described WIFI module 303; Receive dormancy instruction, make WIFI module 303 unload WIFI module and drive file and WIFI module firmware file; Controlling power module is that HSIC bus interface 302 and WIFI module 303 are stopped power supply, and makes WIFI module 303 enter dormant state from duty;
HSIC bus interface 302, for setting up data cube computation for described CPU301 and WIFI module 303;
WIFI module 303, drives file and WIFI module firmware file for receiving and enabling the WIFI module that described CPU301 sends; Dormancy instruction unloading WIFI module according to described CPU301 drives file and WIFI module firmware file, enters dormant state from duty.
Embodiment 4
The present embodiment and embodiment 2 belong to same inventive concept.Present embodiments provide the device that a kind of CPU is waken up by HSIC bus interface control WIFI module, as shown in Figure 6, described device comprises:
CPU401, wake instruction up for receiving, controlling power module is that HSIC bus interface and WIFI module are powered, and connects with WIFI module; Download WIFI module from file storage module drive file and WIFI module firmware file and send to described WIFI module, make WIFI module enter wake-up states from dormant state;
HSIC bus interface 402, for setting up data cube computation for described CPU and WIFI module;
WIFI module 403, drives file and WIFI module firmware file for receiving and enabling the WIFI module that described CPU sends, enters wake-up states from dormant state.
Embodiment 5
Cannot realize carrying out WIFI module the technical matters of dormancy and wake operation to solve HSIC bus interface, present embodiments provide a kind of CPU controls WIFI module method by HSIC bus interface, as shown in Figure 7, the present embodiment method comprises:
S501:CPU sets up the connection with WIFI module by HSIC bus interface;
The transfer rate of HSIC bus interface is very high, and CPU is connected with WIFI module by HSIC bus interface, can improve the transfer rate of WIFI signal.
S502: when described CPU receives dormancy instruction, described WIFI module unloading WIFI module drives file and WIFI module firmware file, cannot normally work after avoiding WIFI module next time to power on; Described CPU controls power module to be stopped powering to described HSIC bus interface and described WIFI module, described WIFI module is made to enter dormant state, WIFI module is now in not to be energized does not install the state that WIFI module drives file and WIFI module firmware file, ensure that and the normal work that next WIFI module is powered save electric energy simultaneously;
S503: when described CPU receive wake instruction up time, described CPU re-establishes the connection with described WIFI module by described HSIC bus interface.
From step S502, WIFI module now is not installed WIFI module and is driven file and WIFI module firmware file, is equivalent to the state being not activated WIFI module.When described CPU receive wake instruction up time, WIFI module will accept and enable WIFI module to drive file and WIFI module firmware file from CPU again, avoid when adopting HSIC bus interface to wake WIFI module up, the technical matters that None-identified WIFI module or WIFI module cannot normally work.
A kind of CPU that the present embodiment provides controls the method for WIFI module by HSIC bus interface, by HSIC bus interface, CPU and WIFI module is connected; When CPU receives dormancy instruction, WIFI module unloading WIFI module drives file and WIFI module firmware file; CPU controls power module to be stopped powering to HSIC bus interface and WIFI module, and make WIFI module enter dormant state, HSIC bus interface now and WIFI module are in the state before CPU and WIFI module connect; When CPU receive wake instruction up time, CPU re-establishes the connection with WIFI module by HSIC bus interface.Namely receive when waking instruction up, CPU will be connected with WIFI module by HSIC bus interface again at every turn, so just can realize being operated and wake operation the normal hibernation of WIFI module by HSIC bus interface.
Concrete, in step S501, CPU is set up by HSIC bus interface and comprises with the connection of WIFI module:
S5011: after described WIFI module energising, when detecting that described HSIC bus interface is IDLE mode of operation, described WIFI module sends connection request to described CPU; HSIC bus interface is that IDLE mode of operation illustrates that WIFI module does not connect with CPU, so will be that IDLE mode of operation sends connection request in HSIC bus interface;
Wherein, detect that described HSIC bus interface is that IDLE mode of operation specifically comprises:
HSIC bus interface is IDLE mode of operation, and the strobe signal now in HSIC bus interface is high level; Data-signal in HSIC bus interface is low level.WIFI module detects that the strobe signal in HSIC bus interface is high level; Data-signal in HSIC bus interface is that low level is just aware of HSIC bus interface and is in IDLE mode of operation.
Described WIFI module sends connection request to described CPU and specifically comprises:
Strobe signal in described HSIC bus interface is revised as low level by high level by described WIFI module; Data-signal in described HSIC bus interface is revised as high level by low level, realizes sending connection request to described CPU.
S5012: when described CPU receives the connection request that described WIFI module sends, described CPU send to described WIFI module and connect confirmation; Described CPU downloads described WIFI module from file storage module and drives file and WIFI module firmware file and send to described WIFI module;
Wherein, file storage module is connected with CPU, for depositing the file that WIFI module drives the system such as file and WIFI module firmware file conventional.
S5013: described WIFI module receives the connection confirmation that described CPU sends; WIFI module receives and enables the described WIFI module that CPU sends and drives file and WIFI module firmware file, and the WIFI module sent by enabling CPU drives file and WIFI module firmware file to realize the normal work of WIFI module.
In step S502 when described CPU receives dormancy instruction, described WIFI module unloading WIFI module drives file and WIFI module firmware file, described CPU controls power module to be stopped powering to described HSIC bus interface and described WIFI module, makes described WIFI module enter dormant state and comprises:
S5021: when described CPU receives dormancy instruction, described CPU send sleep request to described WIFI module; Dormancy instruction can be that user sends, and also can be timed sending.
S5022: described WIFI module receives the described sleep request that described CPU sends, unloads described WIFI module according to described sleep request and drives file and WIFI module firmware file, and send dormancy confirmation to described CPU.Because the present embodiment adopts HSIC bus interface to be connected with WIFI module, the dormancy that realize WIFI module just must need to stop power supply to HSIC bus interface; Because HSIC bus interface does not support hot plug, HSIC bus interface is again powered to wake up and has been enabled the WIFI module that WIFI module drives file and WIFI module firmware file after stopping power supply.Therefore, now WIFI module is driven file and WIFI module firmware file unloading, can upper once WIFI module powers on time, for HSIC bus interface is normally connected ready with WIFI module.
S5023: when described CPU receives the dormancy confirmation that described WIFI module sends, described CPU sends to power module instruction of stopping power supply;
S5024: after instruction of stopping power supply described in described power module receives, stops powering to described HSIC bus interface and described WIFI module.
Drive file and WIFI module firmware file because WIFI module now has unloaded WIFI module, now stopping powers for WIFI module can not affect the normal wakeup of WIFI module, saves electric energy simultaneously.
In step S503 when described CPU receive wake instruction up time, described CPU is re-established by described HSIC bus interface and comprises with the connection of described WIFI module:
S5031: when described CPU receive wake instruction up time, described CPU controls power module and powers to described HSIC bus interface and described WIFI module, specifically comprises:
S50311: when described CPU receive wake instruction up time, described CPU to power module send power supply instruction;
S50312: after described power module receives described power supply instruction, powers to described HSIC bus interface and described WIFI module.
S5032: after described WIFI module energising, when detecting that described HSIC bus interface is IDLE mode of operation, described WIFI module sends connection request to described CPU;
S5033: described CPU receives the connection request that described WIFI module is sent, and send connection confirmation to described WIFI module; Described CPU downloads described WIFI module from file storage module and drives file and WIFI module firmware file and send to described WIFI module;
S5034: described WIFI module receives the connection confirmation that described CPU sends; Described WIFI module receives and enables the WIFI module that described CPU sends and drives file and WIFI module firmware file.
So far, achieve when adopting HSIC bus interface to connect WIFI module, the normal hibernation of WIFI module and waking up.
Embodiment 6
Below by way of a concrete scene, the present invention is described in detail.
First, because adopt HSIC bus interface to be connected to WIFI module, so the course of work of WIFI module must follow HSIC bus inferface protocol completely, as shown in Figure 8.After the device adopting the CPU of the present embodiment by the mode of HSIC bus interface connection WIFI module starts, HSIC bus interface can be in IDLE mode of operation, and (namely the strobe signal strobe of HSIC bus interface is for high, data-signal data is low), at this moment WIFI module electrifying startup, when WIFI module detects that HSIC bus interface can send connection request when being in IDLE mode of operation, be set to low level by strobe, data is set to high level.If CPU detects HSIC bus interface, strobe is now set to low level, data is set to high level, then connection request sends successfully, and now WIFI module and HSIC bus interface connect.Then, CPU downloads WIFI module by file storage module and drives file and WIFI module firmware file, and sends to WIFI module.WIFI module is enabled WIFI module and is driven file and WIFI module firmware file, and WIFI module is normally worked.The startup of WIFI module that Here it is and the course of work.
Secondly, if need to enter dormant state, in all buses of so described device, the modules of carry all will enter dormant state, and WIFI module is no exception.But because HSIC bus interface itself does not have the function of hot plug, if namely from dormant state (disconnecting with HSIC bus interface), to again waking up (again communicating with HSIC bus interface), now CPU cannot detect WIFI module to WIFI module.Therefore, the present embodiment unloads WIFI module and drives file and WIFI module firmware file when described device will enter dormant state, disconnect the power supply of WIFI module and HSIC bus interface, allow the state of HSIC bus interface and WIFI module come back to the state before powering on for the first time when dormancy.When described device needs to wake up from dormant state, again according to the process that first time WIFI module powers on and works, realize the normal work of WIFI module, as shown in Figure 9.
S901:HSIC bus interface is energized, and is in IDLE duty; Meanwhile, WIFI module also powers on, and when WIFI module finds that HSIC bus interface is in IDLE duty, the strobe signal of amendment HSIC bus interface and the level of data-signal, make HSIC bus interface in running order; Now, CPU detects that HSIC bus interface is in running order, and detecting that the other end of HSIC bus interface is WIFI module, then CPU downloads the WIFI module of WIFI module should drive file and WIFI module firmware file and send to WIFI module from file system;
S902:WIFI module receives and enables the WIFI module that CPU sends and drives file and WIFI module firmware file, and WIFI module is normally worked; And the data interaction of CPU and WIFI module is realized by HSIC bus interface;
S903: when CPU receives dormancy instruction, sends sleep request to WIFI module, if now WIFI module is just at transfer files, data can not be stopped to transmit, then enter step S904; Otherwise, enter step S905;
S904:WIFI module continues normal work;
S905:WIFI module drives file and WIFI module firmware file according to dormancy instruction unloading WIFI module, and informs the state of CPU now WIFI module; CPU notifies that power module stops powering for HSIC bus interface and WIFI module, and namely the state before WIFI module is in and powers on is not enabled WIFI module and driven file and WIFI module firmware file.
S906: when CPU receives dormancy instruction, if WIFI module does not need to wake up, then enters step S907; Otherwise, return step S901;
S907:WIFI module keeps dormant state.
Do like this and just solve following technical matters: the first, there will not be WIFI module and HSIC bus interface cannot connect or WIFI module cannot normally work problem; The second, WIFI module complete power-off when dormancy, can not generation current, and this can make described device, and electric current is less in the dormant state, contributes to the flying power promoting battery.
Method implementation step of the present invention is as follows:
(1) realize the whole power up of HSIC bus interface and WIFI module according to the agreement of HSIC bus interface and electrifying timing sequence corresponding to WIFI module, can connect between the two, reach connection status;
(2) load WIFI module corresponding to WIFI module and drive file and WIFI module firmware file, object is the parameters configuring WIFI module, and such WIFI module can normally work, and realizes the data communication of WIFI module and HSIC bus interface;
(3) when described device needs dormancy, drive file and WIFI module firmware file to uninstall WIFI module corresponding for WIFI module, finally disconnect WIFI module and the relevant all power supplies of HSIC bus interface, complete machine just can enter dormant state;
(4) when complete machine is from dormancy to when waking up, be consistent before the state of WIFI module and HSIC bus interface and first time power on, then on software, simulate course of work when powering on for the first time, realize can normally working after WIFI module is waken up, and the data communication of realization and HSIC bus interface.
In several embodiments that the application provides, should be understood that disclosed equipment and method can realize by another way.Apparatus embodiments described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, and as: multiple unit or assembly can be in conjunction with, maybe can be integrated into another system, or some features can be ignored, or do not perform.In addition, the coupling each other of shown or discussed each ingredient or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of equipment or unit or communication connection can be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, also can be distributed in multiple network element; Part or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can all be integrated in a processing module, also can be each unit individually as a unit, also can two or more unit in a unit integrated; Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: movable storage device, ROM (read-only memory) (Read-OnlyMemory, ROM), random access memory (RandomAccessMemory, RAM), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (11)

1. CPU controls a method for WIFI module dormancy by HSIC bus interface, and it is characterized in that, described method comprises:
CPU sets up the connection with WIFI module by HSIC bus interface;
When described CPU receives dormancy instruction, described WIFI module unloading WIFI module drives file and WIFI module firmware file; Described CPU controls power module to be stopped powering to described HSIC bus interface and described WIFI module, makes described WIFI module enter dormant state.
2. method according to claim 1, is characterized in that, described CPU is set up by HSIC bus interface and comprises with the connection of WIFI module:
After described WIFI module energising, when detecting that described HSIC bus interface is IDLE mode of operation, described WIFI module sends connection request to described CPU;
When described CPU receives the connection request that described WIFI module sends, described CPU sends to described WIFI module and connects confirmation; Described CPU downloads WIFI module from file storage module and drives file and WIFI module firmware file and send to described WIFI module;
Described WIFI module receives the connection confirmation that described CPU sends; WIFI module receives and enables the described WIFI module that CPU sends and drives file and WIFI module firmware file.
3. method according to claim 2, is characterized in that, described WIFI module sends connection request to described CPU and comprises:
Strobe signal in described HSIC bus interface is revised as low level by high level by described WIFI module; Data-signal in described HSIC bus interface is revised as high level by low level, realizes sending connection request to described CPU.
4. method according to claim 1, is characterized in that, described when described CPU receives dormancy instruction, and described WIFI module unloading WIFI module drives file and WIFI module firmware file to comprise:
When described CPU receives dormancy instruction, described CPU sends sleep request to described WIFI module;
Described WIFI module receives the described sleep request that described CPU sends, and unloads described WIFI module and drives file and WIFI module firmware file, and send dormancy confirmation to described CPU according to described sleep request.
5. method according to claim 4, is characterized in that, described CPU controls power module to be stopped powering to described HSIC bus interface and described WIFI module comprising:
When described CPU receives the dormancy confirmation that described WIFI module sends, described CPU sends to power module instruction of stopping power supply;
Stop power supply described in described power module receives after instruction, stop powering to described HSIC bus interface and described WIFI module.
6. CPU controls the method waken up of WIFI module by HSIC bus interface, and it is characterized in that, described method comprises:
When CPU receive wake instruction up time, described CPU is set up and the connection of WIFI module by HSIC bus interface.
7. method according to claim 6, is characterized in that, described when CPU receive wake instruction up time, described CPU is set up by HSIC bus interface and comprises with the connection of WIFI module:
When described CPU receive wake instruction up time, described CPU controls power module and powers to described HSIC bus interface and described WIFI module;
After described WIFI module energising, when detecting that described HSIC bus interface is IDLE mode of operation, described WIFI module sends connection request to described CPU;
Described CPU receives the connection request that described WIFI module is sent, and sends connection confirmation to described WIFI module; Described CPU downloads described WIFI module from file storage module and drives file and WIFI module firmware file and send to described WIFI module;
Described WIFI module receives the connection confirmation that described CPU sends; Described WIFI module receives and enables the WIFI module that described CPU sends and drives file and WIFI module firmware file.
8. method according to claim 7, is characterized in that, described when described CPU receive wake instruction up time, described CPU controls power module and powers to described HSIC bus interface and described WIFI module and comprise:
When described CPU receive wake instruction up time, described CPU to power module send power supply instruction;
After described power module receives described power supply instruction, power to described HSIC bus interface and described WIFI module.
9. method according to claim 7, is characterized in that, described WIFI module sends connection request to described CPU and comprises:
Strobe signal in described HSIC bus interface is revised as low level by high level by described WIFI module; Data-signal in described HSIC bus interface is revised as high level by low level, realizes sending connection request to described CPU.
10. CPU controls a device for WIFI module dormancy by HSIC bus interface, and it is characterized in that, described device comprises:
CPU, for connecting with WIFI module, downloading WIFI module from file storage module and drives file and WIFI module firmware file and send to described WIFI module; Receive dormancy instruction, make WIFI module unload WIFI module and drive file and WIFI module firmware file; Controlling power module is that HSIC bus interface and WIFI module are stopped power supply, and makes WIFI module enter dormant state from duty;
HSIC bus interface, for setting up data cube computation for described CPU and WIFI module;
WIFI module, drives file and WIFI module firmware file for receiving and enabling the WIFI module that described CPU sends; Dormancy instruction unloading WIFI module according to described CPU drives file and WIFI module firmware file, enters dormant state from duty.
The device that 11. 1 kinds of CPU are waken up by HSIC bus interface control WIFI module, it is characterized in that, described device comprises:
CPU, wake instruction up for receiving, controlling power module is that HSIC bus interface and WIFI module are powered, and connects with WIFI module; Download WIFI module from file storage module drive file and WIFI module firmware file and send to described WIFI module, make WIFI module enter wake-up states from dormant state;
HSIC bus interface, for setting up data cube computation for described CPU and WIFI module;
WIFI module, drives file and WIFI module firmware file for receiving and enabling the WIFI module that described CPU sends, enters wake-up states from dormant state.
CN201410495572.1A 2014-09-24 2014-09-24 Method and device of CPU (Central Processing Unit) for connecting WIFI module through HSIC (High Speed Inter-chip) bus interface Withdrawn CN105446912A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410495572.1A CN105446912A (en) 2014-09-24 2014-09-24 Method and device of CPU (Central Processing Unit) for connecting WIFI module through HSIC (High Speed Inter-chip) bus interface
PCT/CN2015/076581 WO2016045363A1 (en) 2014-09-24 2015-04-14 Method for cpu to control wifi module via hsic bus interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410495572.1A CN105446912A (en) 2014-09-24 2014-09-24 Method and device of CPU (Central Processing Unit) for connecting WIFI module through HSIC (High Speed Inter-chip) bus interface

Publications (1)

Publication Number Publication Date
CN105446912A true CN105446912A (en) 2016-03-30

Family

ID=55557134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410495572.1A Withdrawn CN105446912A (en) 2014-09-24 2014-09-24 Method and device of CPU (Central Processing Unit) for connecting WIFI module through HSIC (High Speed Inter-chip) bus interface

Country Status (2)

Country Link
CN (1) CN105446912A (en)
WO (1) WO2016045363A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168924A (en) * 2017-03-28 2017-09-15 珠海市魅族科技有限公司 The control method and device of functional chip
CN109891944A (en) * 2017-01-19 2019-06-14 华为技术有限公司 A kind of method and device for establishing data communication
CN109901696A (en) * 2019-03-07 2019-06-18 成都国科微电子有限公司 USB set is at circuit electricity saving method and USB set at circuit

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913377A (en) * 2005-08-09 2007-02-14 乐金电子(昆山)电脑有限公司 Method for recovering a network of a wlan device and equipment thereof
CN102739634A (en) * 2011-03-09 2012-10-17 苹果公司 Host device suspending communication link to client device based on client device notification
CN102799550A (en) * 2012-06-21 2012-11-28 华为终端有限公司 Awakening and hot-plugging methods and equipment based on high speed inter-chip (HSIC)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8190798B1 (en) * 2011-03-09 2012-05-29 Apple Inc. Client device configuration based on information stored by host device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913377A (en) * 2005-08-09 2007-02-14 乐金电子(昆山)电脑有限公司 Method for recovering a network of a wlan device and equipment thereof
CN102739634A (en) * 2011-03-09 2012-10-17 苹果公司 Host device suspending communication link to client device based on client device notification
CN102799550A (en) * 2012-06-21 2012-11-28 华为终端有限公司 Awakening and hot-plugging methods and equipment based on high speed inter-chip (HSIC)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109891944A (en) * 2017-01-19 2019-06-14 华为技术有限公司 A kind of method and device for establishing data communication
CN107168924A (en) * 2017-03-28 2017-09-15 珠海市魅族科技有限公司 The control method and device of functional chip
CN109901696A (en) * 2019-03-07 2019-06-18 成都国科微电子有限公司 USB set is at circuit electricity saving method and USB set at circuit
CN109901696B (en) * 2019-03-07 2023-08-22 成都国科微电子有限公司 USB integrated circuit power saving method and USB integrated circuit

Also Published As

Publication number Publication date
WO2016045363A1 (en) 2016-03-31

Similar Documents

Publication Publication Date Title
US7574615B2 (en) Method of managing power consumption of a network interface
JP5635628B2 (en) Power management method and apparatus for network access module
US8332676B2 (en) Methods of preparing a power saving state, universal serial bus device and universal serial bus host
EP1555595A2 (en) Apparatus for controlling power of processor having a plurality of cores and control method of the same
CN101425049B (en) User equipment and data channel switching method based on USB
CN106358273B (en) Low-power consumption communication device
US20130234668A1 (en) Universal serial bus apparatus and power supply method thereof
US8160645B2 (en) Apparatus and method for supporting SIM card in mobile communication terminal having multiple modems
CN106412845B (en) Dormancy method and device of wireless fidelity Wi-Fi equipment
WO2015062415A1 (en) Method for controlling power supply and wireless terminal
CN102799550B (en) Based on the waking up of chip chamber high-speed interface HSIC, hot-plug method and equipment
US20140201513A1 (en) Power management circuit, server, and power management method thereof
CN101853970A (en) Method and device for charging through universal serial bus (USB) interface
CN101847043A (en) Method for sharing storage equipment and mobile terminal
CN108628792B (en) Communication interface current leakage prevention system and method
US8219842B2 (en) Computer system and method for energy-saving operation of a computer system
CN105446912A (en) Method and device of CPU (Central Processing Unit) for connecting WIFI module through HSIC (High Speed Inter-chip) bus interface
CN104518246A (en) Power battery system acquisition plate and control method thereof
JP5859562B2 (en) Computer system, remote maintenance configuration and remote maintenance method
US6351820B1 (en) PC card with automated drag and sleep function
CN102427404A (en) Energy-saving control system and method for communication equipment
US20120023350A1 (en) Method for active power management in a serial ata interface
EP2674833B1 (en) Method, system and device for a usb data card with u disk function to enter sleep state
CN100527725C (en) How to adjust the power consumption of the network interface
CN112153119B (en) Control equipment, method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20160330