CN102200827A - Sleep and wake-up methods and systems for equipment - Google Patents

Sleep and wake-up methods and systems for equipment Download PDF

Info

Publication number
CN102200827A
CN102200827A CN2010101414932A CN201010141493A CN102200827A CN 102200827 A CN102200827 A CN 102200827A CN 2010101414932 A CN2010101414932 A CN 2010101414932A CN 201010141493 A CN201010141493 A CN 201010141493A CN 102200827 A CN102200827 A CN 102200827A
Authority
CN
China
Prior art keywords
module
communication module
usb interface
data line
application
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.)
Pending
Application number
CN2010101414932A
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 CN2010101414932A priority Critical patent/CN102200827A/en
Publication of CN102200827A publication Critical patent/CN102200827A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The invention discloses sleep and wake-up method and sleep and wake-up systems for equipment. The invention is mainly characterized in that: when a communication module and/or an application module in the equipment enters a sleep state, the universal serial bus (USB) interface connection between the communication module and the application module is disconnected, so that no current flows through the USB interface connection when the application module and/or the communication module embedded into the equipment enter the sleep state; therefore, the battery power of equipment for surfing the net is saved, and the standby time of the equipment for surfing the net is prolonged.

Description

A kind of sleep of equipment, awakening method and system
Technical field
The present invention relates to the communications field, relate in particular to a kind of sleep method and system of equipment, and a kind of awakening method of equipment and system.
Background technology
Along with the 3G (Third Generation) Moblie epoch arrive, net book (net book), mobile internet device (Mobile Internet Device, MID), (Ultra-Mobile PC UMPC) waits the use of equipment for surfing the net also more and more to super portable PC.Can the built-in or external communication module that can be connected in these equipments for surfing the net with cordless communication network, to realize the demand of user's online anywhere or anytime and note and conversation, described communication module generally provides USB (universal serial bus) (USB) interface, and by USB interface come transmitting network data or with equipment for surfing the net in built-in being used to realize that the application module of miscellaneous service function carries out data transmission.
Communication module carries out data transmission by USB interface can improve transfer rate, with the demand of the communication service of the high transfer rate of satisfying the demand.But, owing on the communication module side has, draw voltage on the data lines in two data lines (D+ data line and D-data line) of the USB interface that application module links to each other with communication module, and pass through resistance eutral grounding in the application module side, therefore, because there is certain electric current in voltage difference, when causing communication module in the equipment for surfing the net or application module to enter sleep state, also have electric current on the USB interface, the battery electric quantity of waste equipment for surfing the net has shortened the stand-by time that equipment for surfing the net utilizes the battery standby.
Summary of the invention
The embodiment of the invention provides a kind of sleep method and system of equipment, and a kind of awakening method of equipment and system, when entering sleep state in order to solve in the equipment for surfing the net that exists in the prior art communication module and/or application module, USB interface connects and has certain electric current, the problem of the battery electric quantity of waste equipment for surfing the net.
A kind of sleep method of equipment, described method comprises:
When the communication module in the equipment and/or application module need will enter another module of dormant event notice when running status enters sleep state, described communication module is connected by the general-purpose serial bus USB interface with application module;
USB interface between communication module and the application module is connected disconnection, need enter dormant module and enter sleep state.
A kind of awakening method of equipment, described method comprises:
When the application module in the equipment needs to be in dormant communication module in the wake-up device, wake communication module up by the GPIO indication information, described communication module is connected by USB interface with application module;
USB interface between communication module and the application module is connected, and described communication module enters running status.
A kind of sleep system of equipment, described system comprises sleep trigger module, communication module and the application module that is connected by USB interface with communication module, wherein:
The sleep trigger module, being used for the communication module of equipment and/or application module need will enter another module of dormant event notice when running status enters sleep state, and the USB interface between communication module and the application module connects and disconnects;
Application module is used for when communication module need enter sleep state, determines that communication module enters dormant incident, and when self need enter sleep state, when with communication module between USB interface be connected the laggard sleep state of going into that disconnects;
Communication module is used for when application module need enter sleep state, determines that application module enters dormant incident, and when self need enter sleep state, when with application module between USB interface be connected the laggard sleep state of going into that disconnects.
A kind of waken system of equipment, described system comprises: wake module, communication module and the application module that is connected by USB interface with communication module, wherein:
Wake module is used for waking communication module up by the GPIO indication information when the application module of equipment needs to be in dormant communication module in the wake-up device, and the USB interface between communication module and the application module is connected;
Communication module, be used for enter running status after the USB interface of the family of application module is connected.
Communication module and/or the application module when entering sleep state of the embodiment of the invention in equipment, by communication module is connected the mode of disconnection with the USB interface between the application module, make the application module that embeds in the equipment and/or communication module when entering sleep state, USB interface connects does not have the electric current process, save the battery electric quantity of equipment for surfing the net, prolonged the stand-by time of equipment for surfing the net.
Description of drawings
Fig. 1 is the sleep method synoptic diagram of equipment in the embodiment of the invention one;
Fig. 2 is the sleep method synoptic diagram of equipment in the embodiment of the invention two;
Fig. 3 is the sleep method synoptic diagram of equipment in the embodiment of the invention three;
Fig. 4 is the sleep method synoptic diagram of equipment in the embodiment of the invention four;
Fig. 5 is the awakening method synoptic diagram of equipment in the embodiment of the invention five;
Fig. 6,7,8 is the sleep system structural representation of equipment in the embodiment of the invention six;
Fig. 9 is the waken system structural representation of equipment in the embodiment of the invention seven.
Embodiment
The embodiment of the invention provides sleep method, system and equipment and corresponding awakening method, system and the equipment of equipment, in the time of need entering sleep state by communication module in equipment and/or application module, by being disconnected, the USB interface between communication module and the application module connects, make when communication module and application module are in sleep state, be embedded in communication module USB interface in the equipment and be equivalent to the state of the equipment of extracting, USB interface does not have electric current to flow through, and has saved the battery electric quantity of equipment for surfing the net.
Below in conjunction with Figure of description the embodiment of the invention is elaborated.
Relate separately to multiple general input and output (GPIO) indication information in various embodiments of the present invention, under different situations, the content and the form of GPIO indication information are as follows:
1, the MODULE_SLEEP pin is represented the sleep state of communication module, and the MODULE_SLEEP pin is that high level represents that communication module is in sleep state, and application module can be judged the sleep state of communication module by the state of inquiry MODULE_SLEEP pin.
2, the AP_SLEEP pin is represented the sleep state of application module, and the AP_SLEEP pin is that high level represents that application module is in sleep state, and communication module can be judged the sleep state of application module by the state of inquiry AP_SLEEP pin.
3, the AP_WAKEUP_MODULE pin is used for application module and interrupts waking communication module up, and the AP_WAKEUP_MODULE pin is that high level represents that application module wakes communication module up.
4, the MODULE_WAKEUP_AP pin is used for communication module and interrupts waking application module up, and the MODULE_WAKEUP_AP pin is that high level represents that communication module wakes application module up.
Above-mentioned each pin activates when high level, and the embodiment of the invention also is not limited to above-mentioned each pin is activated when the low level.
In the various embodiments of the present invention, carry out the transmission of AT order and data between communication module and the application module by USB interface.
Embodiment one:
As shown in Figure 1, the sleep method synoptic diagram for the communication module of equipment in the embodiment of the invention one said method comprising the steps of:
Step 101: whether communication module in the judgment device and/or application module need to enter sleep state from running status; If then execution in step 102; Otherwise, continue whether communication module and/or application module are needed to carry out sleep state and judge.
In this step, communication module can be embedded in the module that being used in the equipment for surfing the net is connected with cordless communication network, also can be to be connected the module that being used in the equipment for surfing the net is connected with cordless communication network by pluggable mode.Application module is to be embedded in the module that is used to realize the miscellaneous service function in the equipment for surfing the net.
When communication module does not carry out data transmission in the setting-up time section, think that communication module can enter sleep state, concrete executive mode is:
The data transmission that communication module and network side are carried out between data transmission and communication module and the application module detects, and judges that in the setting-up time section whether and between network side or the application module communication module exists data transmission; If there is data transmission, show that then communication module still is in running status, can not carry out sleep state; If there is not data transmission, then represent communication module not operation in the setting-up time section, can enter sleep state.
When application module does not carry out data transmission in the setting-up time section, think that application module can enter sleep state, concrete executive mode is:
The data of application modules transmission detect, and when the application module does not have data transmission in the setting-up time section, determine that application module need enter sleep state from running status; Otherwise the expression application module moves, and can not enter sleep state.
The executive agent of step 101 can be that communication module and/or application module carry out self check to self whether needing to enter sleep state, also can be other functional modules that can detect the data transmission state of communication module and application module.
Step 102: will enter another module of dormant event notice by the GPIO indication information.
Entering dormant module when being communication module, communication module need be entered the application module in the dormant event notice equipment, concrete GPIO indication information is: the MODULE_SLEEP pin is set to high level.After the MODULE_SLEEP of communication module pin was set to high level, communication module was set to the event notification applications module of high level by interrupt mode MODULE_SLEEP pin.The subsequent applications module can be determined the sleep state of communication module by the level state of inquiry communication module MODULE_SLEEP pin.
Entering dormant module when being application module, application module need be entered the communication module in the dormant event notice equipment, concrete GPIO indication information is: the AP_SLEEP pin is set to high level.After the AP_SLEEP of application module pin was set to high level, application module was set to the event notice communication module of high level by interrupt mode AP_SLEEP pin.The subsequent communications module can be determined the sleep state of application module by the level state of inquiry application module AP_SLEEP pin.
The executive agent of step 102 can be communication module and application module, and promptly communication module is by the level of software mode control MODULE_SLEEP pin, and application module is by the level of software mode control AP_SLEEP pin; Executive agent also can be other functional modules that can control the level of communication module MODULE_SLEEP pin, and the functional module controlled of the level of AP_SLEEP pin that can application modules.
Step 103: the USB interface between communication module and the application module is disconnected connection.
In this step, USB interface between communication module and the application module is disconnected ways of connecting to be had multiple, include but not limited to: with a data line in the D+ data line of communication module USB interface or the D-data line connect on draw under the voltage end, and, the D+ data line that communication module is linked to each other with application module disconnects, and the D-data line that links to each other is disconnected.
Step 104: need enter dormant module and enter sleep state.
By the scheme of the embodiment of the invention one, when the USB interface connection that disconnects between communication module and the application module, USB interface does not have electric current and flows through, and has saved the battery electric quantity of equipment for surfing the net, has prolonged the stand-by time of equipment for surfing the net.
USB interface between communication module and the application module is disconnected ways of connecting describe below by two, three, four couples of embodiment are various.
Embodiment two:
The embodiment of the invention two is need enter under the dormant situation at communication module, by the mode of drawing electricity under the voltage end on the communication module USB interface is realized the object of the invention.As shown in Figure 2, the scheme of present embodiment two is as follows:
Step 201: whether the communication module in the judgment device needs to enter sleep state from running status, if then execution in step 202; Otherwise, continue whether communication module is needed to carry out sleep state and judge.
Step 202: communication module is entered application module in the dormant event notice equipment by the GPIO indication information.
Step 203: with a data line in the D+ data line of communication module USB interface or the D-data line connect on draw under the voltage end.
In this step, the transfer rate difference of the USB interface of communication module, with on draw voltage end to connect data line also different.If the USB interface of communication module is high-speed port or full speed port, draw voltage on then having on the D+ data line; If the USB interface of communication module is a low-speed port, draw voltage on then having on the D-data line.
Since draw voltage on having on the D+ data line of the USB of communication module or the data line in the D-data line, another data line ground connection, therefore, when on when drawing under the voltage end electricity, do not have voltage difference between D+ data line and the D-data line, therefore, USB interface does not have electric current to flow through.At this moment, no matter whether communication module is to be embedded in the equipment for surfing the net, the USB interface of communication module all is equivalent to extract equipment for surfing the net, and communication module disconnects by the communication link of USB interface.
The executive agent of step 203 can be a communication module, also can other can connect the functional module that the voltage that draws voltage end is controlled to the communication module USB interface.
Step 204: under the USB transceiver (Transceiver) to communication module.
This step can be on the basis of step 203, the electric current of the communication module of flowing through when further reducing sleep.
The executive agent of step 204 can be a communication module, also can be other functional modules that can control the voltage of the USB transceiver of communication module.
In present embodiment one, the execution sequencing of step 203 and step 204 does not limit, also can first execution in step 204, and execution in step 203 again.
Step 205: communication module enters sleep state.
In present embodiment two, when linking to each other with the D-data line, the D+ of communication module data line do not have current flowing yet, the USB transceiver of communication module does not produce electric current yet further, then communication module can enter sleep state, the USB interface of communication module can not produce electric current, save the battery electric quantity of equipment for surfing the net, prolonged the stand-by time of equipment for surfing the net.
Embodiment three:
Present embodiment three is need enter under the dormant situation at application module, by the mode of drawing electricity under the voltage end on the communication module USB interface is realized the object of the invention.As shown in Figure 3, the sleep method synoptic diagram for the application module of the embodiment of the invention three equipment said method comprising the steps of:
Step 301: whether the application module in the judgment device needs to enter sleep state from running status; If then execution in step 302; Otherwise whether the continuation application modules needs to enter sleep state is judged.
Step 302: application module is entered communication module in the dormant event notice equipment by the GPIO indication information.
Step 303: detect communication module and whether entered sleep state, if do not enter sleep state, then execution in step 304; Otherwise, execution in step 305.
The application module of present embodiment carries out the communication module that USB is connected with application module and may be in sleep state in entering dormant process, also may be in running status.If communication module has been in sleep state according to the mode of embodiment two, then USB connects does not have electric current to flow through, and therefore, application module also can directly enter sleep state; (also there are data transmission in communication module and network side if communication module also is in running status, but and there is not data transmission between the application module), then application module also needs to ask to eliminate the electric current that USB connects by outside the GPIO indication information notice application module sleep incident.
The dormant mode that detects communication module in this step is:
Judge whether application module receives communication module and enter dormant GPIO indication information, if receive, then communication module has entered sleep state; Otherwise communication module does not enter sleep state.Described communication module enters dormant GPIO indication information and is meant: the MODULE_SLEEP pin is a high level, that is to say, application module or other executive agents are inquired about the MODULE_SLEEP pin of communication module, if Query Result is the MODULE_SLEEP pin is high level, the expression communication module has entered sleep state; Otherwise the expression communication module does not enter sleep state.
The executive agent of this step can be an application module, or other functional modules that can detect the sleep state of communication module.
Step 304: will draw under the voltage end on the D+ data line of communication module USB interface or the D-data line.
Draw on the USB interface of communication module under the voltage behind the electricity, D+ data line and D-data line that communication module links to each other with application module do not have current flowing yet.At this moment, application module thinks that the communication module on the USB interface extracts.
The executive agent of step 304 can be a communication module, also can other can connect the functional module that the voltage that draws voltage end is controlled to the communication module USB interface.
Step 305: the USB transceiver of application modules down.
This step can be on the basis of step 305, the electric current of the USB interface of communication module and application module when further reducing sleep.
The executive agent of step 305 can be an application module, also can be the functional module that the voltage of the USB transceiver that other can application modules is controlled.
In present embodiment one, the execution sequencing of step 303 and step 305 does not limit, also can first execution in step 305, and execution in step 303 again.
Step 306: application module enters sleep state.
In the scheme of present embodiment three, enter in the dormant process at application module, the D+ data line of requirement communication module links to each other with the D-data line and does not have current flowing, require the USB transceiver of application module also not produce electric current further, after then application module enters sleep state, the USB interface of application module and communication module can not produce electric current, has saved the battery electric quantity of equipment for surfing the net, has prolonged the stand-by time of equipment for surfing the net.
Need to prove that the scheme of the embodiment of the invention two and embodiment three can combine, carry out the sleep procedure of the application module and the communication module of equipment simultaneously.
Embodiment four:
Present embodiment four is in that the mode of D+ data line and D-data line realizes the object of the invention between communication module and the application module by disconnecting.As shown in Figure 4, said method comprising the steps of:
Step 401: whether communication module in the judgment device and/or application module need to enter sleep state from running status.
Step 402: will enter another module of dormant event notice by the GPIO indication information.
In the present embodiment, the D+ data line of communication module USB interface links to each other with the D+ data line of application module USB interface, the D-data line of communication module USB interface links to each other with the D-data line of application module USB interface, and switch (USB_ON) is set between the D+ of communication module and application module data line, the high low-voltage by USB_ON realize between the D+ data line of communication module and application module disconnection be connected; And, switch (USB_ON) also is set between the D-of communication module and application module data line, the high low-voltage by USB_ON realize between the D-data line of communication module and application module disconnection be connected.
Step 403: disconnect D+ data line and D-data line that communication module links to each other with application module.
After D+ data line that communication module links to each other with application module and D-data line all disconnect, application module produces USB interface at this moment and extracts incident, make to be embedded in that communication module and application module USB when sleep is connected disconnection in the equipment for surfing the net, reach the purpose of reduction standby current.
The executive agent of this step is the functional module that can control the voltage of USB_ON.
Step 404: needs are entered under the USB transceiver of dormant module.
Step 405: need enter dormant module and enter sleep state.
In the scheme of present embodiment four, enter in the dormant process at application module or communication module, require D+ data line and D-data line between communication module and the application module to disconnect, making does not have current flowing on the data line, require the USB transceiver of application module and communication module also not produce electric current further, after then application module enters sleep state, the USB interface of application module and communication module can not produce electric current, save the battery electric quantity of equipment for surfing the net, prolonged the stand-by time of equipment for surfing the net.
Embodiment five:
The embodiment of the invention five also provides a kind of awakening method of equipment, and as shown in Figure 5, described method comprises:
Step 501: when the application module in the equipment needed to be in dormant communication module in the wake-up device, application module was determined the current sleep state that is in of communication module by the voltage of inquiry MODULE_SLEEP pin.
In the present embodiment, communication module can be that the scheme according to embodiment two enters sleep state, and at this moment, the USB transmission between communication module and the application module disconnects.When application module needs to carry out the USB transmission with communication module once more, need to rebuild being connected between communication module and the application module.
Step 502: wake communication module up by the GPIO indication information.
The described GPIO indication information that wakes application module up is that the AP_WAKEUP_MODULE pin is for high level state.
The executive agent of this step can be an application module, or the functional entity controlled of the level of AP_WAKEUP_MODULE pin that can application modules.
Step 503: the USB interface between communication module and the application module is connected.
If communication module enters sleep state according to the mode of embodiment two, then in this step, by the mode of drawing voltage end to power on the D+ data line of communication module USB interface or D-data line are connected, to reach the purpose that the USB interface between communication module and the application module is connected.
When on the usb data line of communication module on draw voltage to power on after, the D+ data line that communication module links to each other with application module or D-data line produce electric current.At this moment, application module thinks that producing communication module on the USB interface inserts incident, and application module need be enumerated the driving of equipment again, sets up to be connected with the USB of communication module.
The executive agent of this step can be an application module, or connection that can application modules on draw voltage to control functional entity.
Step 504: the USB transceiver to communication module powers on.
If communication module is electric down to the USB transceiver of communication module according to the step of embodiment two, then need in this step 504 the USB transceiver of communication module is powered on.
The executive agent of this step can be a communication module, or can to communication module the functional module controlled of the voltage of USB transceiver.
Step 505: communication module enters running status.
After communication module carried out running status, communication module and application module just can carry out the transmission of AT order and data by the USB link.
Also be not limited to communication module in the equipment in the present embodiment five and need to be in the wake-up device scheme of dormant application module.Communication module wakes application module up by the MODULE_WAKEUP_AP pin is in high level state.Because communication module is in running status when waking application module up, therefore, after application module was waken up, communication module was directly set up USB with application module and is connected.
Embodiment six:
The embodiment of the invention provides a kind of and embodiment one to belong to the sleep system of the equipment under the same inventive concept, shown in Fig. 6,7 and 8, described system comprises sleep trigger module 11, communication module 12 and the application module 13 that is connected by USB interface with communication module, wherein: sleep trigger module 11 is used for the communication module of equipment and/or application module need be when running status enters sleep state, to enter another module of dormant event notice by the GPIO indication information, and the USB interface between communication module and the application module connects disconnection; Application module 13 is used for when communication module need enter sleep state, determines that communication module enters dormant incident, and when self need enter sleep state, when with communication module between USB interface be connected the laggard sleep state of going into that disconnects; Communication module 12 is used for when application module need enter sleep state, determines that application module enters dormant incident, and when self need enter sleep state, when with application module between USB interface be connected the laggard sleep state of going into that disconnects.
As shown in Figure 6, sleep trigger module 11 specifically is used for entering dormant module when being communication module at needs from running status, by MODULE_SLEEP communication module is entered dormant event notification applications module, and with the D+ data line of communication module USB interface or D-data line connect on draw under the voltage end.
As shown in Figure 7, sleep trigger module 11 specifically is used for entering dormant module when being application module at needs from running status, by AP_SLEEP application module is entered dormant event notice communication module, and, detect communication module and whether entered sleep state, when communication module does not enter sleep state, with the D+ data line of communication module USB interface or D-data line connect on draw under the voltage end.
As shown in Figure 8, described system also comprises two switches (USB_ON), wherein: a switch is between the D+ data line of the D+ of communication module USB interface data line and application module USB interface, and another switch is between the D-data line of the D-of communication module USB interface data line and application module USB interface.Under situation shown in Figure 8, when application module and communication module enter sleep state, can notify the other side self to enter the sleep state incident by AP_SLEEP, MODULE_SLEEP; When waking the other side up, also can wake the other side up by AP_WAKEUP_MODULE, MODULE_WAKEUP_AP.Sleep trigger module 11 specifically is used for disconnecting D+ data line and the D-data line that communication module links to each other with application module by disconnecting two switches.
Further, sleep trigger module 11 also is used under the USB transceiver that enters dormant module.
Need to prove that the sleep trigger module 11 in the present embodiment can be a logical block of communication module and application module, also can be other functional modules that can communicate by letter with application module with communication module.
Embodiment seven:
The embodiment of the invention seven also provides a kind of waken system of equipment, as shown in Figure 9, described system comprises: wake module 21, communication module 22 and the application module 23 that is connected by USB interface with communication module, wherein: wake module 21 is used for when the application module of equipment needs to be in dormant communication module in the wake-up device, (AP_WAKEUP_MODULE) wakes communication module up by the GPIO indication information, and the USB interface between communication module and the application module is connected; Communication module 22 be used for enter running status after the USB interface of the family of application module is connected.
System in the present embodiment seven also can be used for the situation that the communication module wake-up device is in dormant application module, and at this moment, the GPIO indication information that wake module 21 is initiated is (MODULE_WAKEUP_AP).
Need to prove that the wake module 21 in the present embodiment can be a logical block of communication module, also can be a logical block of application module, can also be other functional modules that can communicate by letter with application module with communication module.
The method and system that provides by the embodiment of the invention, make the application module that embeds in the equipment and communication module when entering sleep state, there is not the electric current process between the D+ data line of communication module and the D-data line, application module thinks that the USB interface of communication module extracts, therefore, in sleep procedure, the USB interface of application module and communication module can not produce higher electric current, save the battery electric quantity of equipment for surfing the net, prolonged the stand-by time of equipment for surfing the net.
Those skilled in the art should understand that the application's embodiment can be provided as method, system or computer program.Therefore, the application can adopt complete hardware embodiment, complete software implementation example or in conjunction with the form of the embodiment of software and hardware aspect.And the application can adopt the form that goes up the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The application is that reference is described according to the process flow diagram and/or the block scheme of method, equipment (system) and the computer program of the embodiment of the present application.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block scheme and/or square frame and process flow diagram and/or the block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computing machine or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing device, make on computing machine or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of carrying out on computing machine or other programmable devices is provided for being implemented in the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
Although described the application's preferred embodiment, in a single day those skilled in the art get the basic creative notion of cicada, then can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the application's scope.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (19)

1. the sleep method of an equipment is characterized in that, described method comprises:
When the communication module in the equipment and/or application module need will enter another module of dormant event notice when running status enters sleep state, described communication module is connected by the general-purpose serial bus USB interface with application module;
USB interface between communication module and the application module is disconnected connection, need enter dormant module and enter sleep state.
2. the method for claim 1 is characterized in that, need enter dormant module when being communication module from running status described, the USB interface between communication module and the application module is connected disconnect, and comprising:
With the D+ data line of communication module USB interface or D-data line connect on draw under the voltage end.
3. method as claimed in claim 2 is characterized in that, determines that in the following manner communication module need enter sleep state from running status:
The data transmission that communication module and network side are carried out between data transmission and communication module and the application module detects, when communication module in the setting-up time section does not carry out data transmission with network side, and do not have and application module between when carrying out data transmission, determine that communication module need enter sleep state from running status.
4. the method for claim 1 is characterized in that, need enter dormant module when being application module from running status described, the USB interface between communication module and the application module is connected disconnect, and comprising:
Detect communication module and whether entered sleep state, when communication module does not enter sleep state, with the D+ data line of communication module USB interface or D-data line connect on draw under the voltage end.
5. method as claimed in claim 4 is characterized in that, detects communication module and whether has entered sleep state, comprising:
Judge whether application module receives communication module and enter dormant general input and output GPIO indication information, if receive, then communication module has entered sleep state; Otherwise communication module does not enter sleep state.
6. method as claimed in claim 4 is characterized in that, determines that in the following manner application module need enter sleep state from running status:
The data of application modules transmission detect, and when the application module does not have data transmission in the setting-up time section, determine that application module need enter sleep state from running status.
7. the method for claim 1 is characterized in that, the D+ data line of described communication module USB interface links to each other with the D+ data line of application module USB interface, and the D-data line of communication module USB interface links to each other with the D-data line of application module USB interface;
USB interface between communication module and the application module is connected disconnection, comprising:
The D+ data line that communication module is linked to each other with application module disconnects, and the D-data line that links to each other is disconnected.
8. as the arbitrary described method of claim 1~7, it is characterized in that described method also comprises:
To enter under the USB transceiver of dormant communication module and/or application module.
9. the awakening method of an equipment is characterized in that, described method comprises:
When the application module in the equipment needs to be in dormant communication module in the wake-up device, wake communication module up by the GPIO indication information, described communication module is connected by USB interface with application module;
USB interface between communication module and the application module is connected, and described communication module enters running status.
10. method as claimed in claim 9 is characterized in that, the D+ data line of the USB interface of described communication module or D-data line connect on when drawing under the voltage end electricity, the USB interface between communication module and the application module is connected, comprising:
With the D+ data line of communication module USB interface or D-data line connect on draw voltage end to power on.
11. method as claimed in claim 9 is characterized in that, wake up after the application module by the GPIO indication information, and communication module enters before the running status, described method also comprises:
Communication module USB transceiver is powered on.
12. the sleep system of an equipment is characterized in that, described system comprises sleep trigger module, communication module and the application module that is connected by USB interface with communication module, wherein:
The sleep trigger module, being used for the communication module of equipment and/or application module need will enter another module of dormant event notice when running status enters sleep state, and the USB interface between communication module and the application module connects and disconnects;
Application module is used for when communication module need enter sleep state, determines that communication module enters dormant incident, and when self need enter sleep state, when with communication module between USB interface be connected the laggard sleep state of going into that disconnects;
Communication module is used for when application module need enter sleep state, determines that application module enters dormant incident, and when self need enter sleep state, when with application module between USB interface be connected the laggard sleep state of going into that disconnects.
13. system as claimed in claim 12 is characterized in that,
The sleep trigger module specifically is used for entering dormant module when being communication module at needs from running status, with the D+ data line of communication module USB interface or D-data line connect on draw under the voltage end.
14. system as claimed in claim 12 is characterized in that,
The sleep trigger module, specifically be used for entering dormant module when being application module from running status at needs, detect communication module and whether entered sleep state, when communication module does not enter sleep state, with the D+ data line of communication module USB interface or D-data line connect on draw under the voltage end.
15. system as claimed in claim 12, it is characterized in that, described system also comprises two switches, wherein: a switch is between the D+ data line of the D+ of communication module USB interface data line and application module USB interface, and another switch is between the D-data line of the D-of communication module USB interface data line and application module USB interface;
The sleep trigger module specifically is used for disconnecting D+ data line and the D-data line that communication module links to each other with application module by disconnecting two switches.
16. as the arbitrary described system of claim 12~15, it is characterized in that,
The sleep trigger module also is used under the USB transceiver that enters dormant module.
17. the waken system of an equipment is characterized in that, described system comprises: wake module, communication module and the application module that is connected by USB interface with communication module, wherein:
Wake module is used for waking communication module up by the GPIO indication information when the application module of equipment needs to be in dormant communication module in the wake-up device, and the USB interface between communication module and the application module is connected;
Communication module, be used for enter running status after the USB interface of the family of application module is connected.
18. system as claimed in claim 17 is characterized in that,
Wake module, specifically be used for the D+ data line of communication module USB interface or D-data line connect on draw voltage end to power on.
19. as claim 17 or 18 described systems, it is characterized in that,
Wake module also is used for communication module USB transceiver is powered on.
CN2010101414932A 2010-03-25 2010-03-25 Sleep and wake-up methods and systems for equipment Pending CN102200827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101414932A CN102200827A (en) 2010-03-25 2010-03-25 Sleep and wake-up methods and systems for equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101414932A CN102200827A (en) 2010-03-25 2010-03-25 Sleep and wake-up methods and systems for equipment

Publications (1)

Publication Number Publication Date
CN102200827A true CN102200827A (en) 2011-09-28

Family

ID=44661556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101414932A Pending CN102200827A (en) 2010-03-25 2010-03-25 Sleep and wake-up methods and systems for equipment

Country Status (1)

Country Link
CN (1) CN102200827A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678213A (en) * 2013-03-28 2014-03-26 威盛电子股份有限公司 Universal serial bus hub and control method thereof
CN105744606A (en) * 2016-04-01 2016-07-06 努比亚技术有限公司 User equipment and sleep waking method
CN105763735A (en) * 2016-04-01 2016-07-13 努比亚技术有限公司 User equipment and quick sleep method
CN106413062A (en) * 2016-04-01 2017-02-15 努比亚技术有限公司 User equipment and sleep wake-up method
CN106484069A (en) * 2015-08-31 2017-03-08 中兴通讯股份有限公司 A kind of method of power management and projector equipment
JP2017140708A (en) * 2016-02-08 2017-08-17 キヤノン株式会社 Communication control method, program and printing device
CN107682918A (en) * 2016-08-02 2018-02-09 成都鼎桥通信技术有限公司 Data transmission method of mobile terminal and equipment
US10216253B2 (en) 2013-03-28 2019-02-26 Via Technologies, Inc. Universal serial bus hub and control method thereof
CN114115450A (en) * 2020-08-27 2022-03-01 瑞昱半导体股份有限公司 Docking station for power management

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101470689A (en) * 2007-12-25 2009-07-01 大唐移动通信设备有限公司 Bidirectional sleep/wake method and device based on USB
CN101478607A (en) * 2009-01-20 2009-07-08 深圳华为通信技术有限公司 Electric power management apparatus and method for mobile terminal based on dual processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101470689A (en) * 2007-12-25 2009-07-01 大唐移动通信设备有限公司 Bidirectional sleep/wake method and device based on USB
CN101478607A (en) * 2009-01-20 2009-07-08 深圳华为通信技术有限公司 Electric power management apparatus and method for mobile terminal based on dual processor

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678213A (en) * 2013-03-28 2014-03-26 威盛电子股份有限公司 Universal serial bus hub and control method thereof
US10216253B2 (en) 2013-03-28 2019-02-26 Via Technologies, Inc. Universal serial bus hub and control method thereof
CN106484069A (en) * 2015-08-31 2017-03-08 中兴通讯股份有限公司 A kind of method of power management and projector equipment
CN106484069B (en) * 2015-08-31 2020-11-10 中兴通讯股份有限公司 Power supply management method and projection equipment
JP2017140708A (en) * 2016-02-08 2017-08-17 キヤノン株式会社 Communication control method, program and printing device
CN105744606A (en) * 2016-04-01 2016-07-06 努比亚技术有限公司 User equipment and sleep waking method
CN105763735A (en) * 2016-04-01 2016-07-13 努比亚技术有限公司 User equipment and quick sleep method
CN106413062A (en) * 2016-04-01 2017-02-15 努比亚技术有限公司 User equipment and sleep wake-up method
WO2017166541A1 (en) * 2016-04-01 2017-10-05 努比亚技术有限公司 User device and method for waking from hibernation, and computer storage medium
CN107682918A (en) * 2016-08-02 2018-02-09 成都鼎桥通信技术有限公司 Data transmission method of mobile terminal and equipment
CN114115450A (en) * 2020-08-27 2022-03-01 瑞昱半导体股份有限公司 Docking station for power management

Similar Documents

Publication Publication Date Title
CN102200827A (en) Sleep and wake-up methods and systems for equipment
CN102866758B (en) Dynamic power supply management system and method for universal sequence bus concentrator
CN101859172B (en) Integrated circuit SoC chip circuit structure capable of realizing power reduction and method thereof
CN101700762B (en) Electricity-saving method of vehicle-mounted CAN bus network
CN101938818B (en) Two-way waking method, equipment and system based on USB
CN105717841B (en) A kind of electric vehicle central control system power circuit and its implementation
EP2938137B1 (en) Power management method and apparatus for network access module
CN101714021A (en) Computer of hybrid system
CN102778943B (en) Condition control method, device and portable terminal device
CN102799550B (en) Based on the waking up of chip chamber high-speed interface HSIC, hot-plug method and equipment
CN101634886B (en) Electronic device
CN204028959U (en) A kind of portable IC card supplements read write line with money
CN101498964A (en) Wireless modulation-demodulation apparatus and system, sleeping/waking method and terminal
CN206523765U (en) LAN automatic control system based on PIC single chip microcomputer
CN109159680A (en) A kind of vehicle end battery charge controller, vehicle and wireless charging system
CN100547600C (en) A kind of remote wakening system and terminal based on WAN module
CN105487638A (en) Electronic circuit system and power consumption reducing method thereof
CN101997963B (en) Power supply management method and system of portable communication device
CN102131304B (en) A kind of method for connecting network and communicating terminal
CN102445981B (en) Data transmission system and data transmission method
CN102156528A (en) Data processing equipment and universal serial bus (USB) external connection driving method thereof
CN201690269U (en) Handheld meter terminal power supply control circuit
CN108170049A (en) A kind of control system that power consumption is reduced based on bluetooth equipment control intelligence system
CN209844988U (en) Communication awakening circuit of CAN bus chip
CN201698324U (en) Embedded system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110928