CN105744606A - User equipment and sleep waking method - Google Patents

User equipment and sleep waking method Download PDF

Info

Publication number
CN105744606A
CN105744606A CN201610201448.9A CN201610201448A CN105744606A CN 105744606 A CN105744606 A CN 105744606A CN 201610201448 A CN201610201448 A CN 201610201448A CN 105744606 A CN105744606 A CN 105744606A
Authority
CN
China
Prior art keywords
processor
usb
application
application processor
event
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
CN201610201448.9A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610201448.9A priority Critical patent/CN105744606A/en
Publication of CN105744606A publication Critical patent/CN105744606A/en
Priority to PCT/CN2016/090226 priority patent/WO2017166541A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • H04W52/028Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses user equipment and a sleep waking method. The user equipment comprises a first processor and a second processor; the first processor is used for being connected with the second processor through a USB interface; and when the first processor or the second processor needs sleep, the first processor is used for disconnecting USB connection. The beneficial effects of the user equipment and the method are that through application of the user equipment and the method, when the first processor sleeps, the USB connection is disconnected, therefore, the second processor can automatically sleep; when the second processor has an active event, the first processor is initiatively awaken to carry out the USB reconnection, and the event at the second processor side is transmitted to the first processor in real time; after the event is processed, the first processor is informed of disconnecting the USB connection, the system sleeps, and the power consumption is saved; when the first processor has a request event to the second processor, the USB reconnection is actively triggered; after the event is processed, the USB connection is disconnected actively; and therefore, the system can sleep normally, and the power consumption is saved.

Description

Subscriber equipment and dormancy awakening method
Technical field
The present invention relates to communication technical field, more particularly, it relates to a kind of subscriber equipment and dormancy awakening method.
Background technology
Existing mobile terminal generally comprises a modem processor and an application processor, wherein, modem processor has been used for protocol processes, and for the communication data of transmitting-receiving is modulated demodulation, with functions such as the communications of realization and external communication device.Application processor, for processing the logical operation of complexity and carrying out task distribution, provides the user interactive interface, runs operating system etc..
In order to extend the communication function of mobile terminal, it is necessary to increase new modem processor and application processor.
When mobile terminal has double; two application processor, newly-increased application processor is generally not capable of autonomous dormancy.And original application processor is connected when carrying out data communication by USB (UniversalSerialBus, USB (universal serial bus)) with newly-increased application processor, the dormancy mechanism needs increasing application processor newly set according to the signal intelligence of USB.And prior art does not propose solution, the power consumption requirements increasingly higher to meet mobile terminal.
Summary of the invention
The technical problem to be solved in the present invention is in that, for the drawbacks described above of prior art, it is provided that a kind of subscriber equipment and dormancy awakening method.
The technical solution adopted for the present invention to solve the technical problems is:
First aspect, it is provided that a kind of subscriber equipment, including:
First processor and the second processor;
First processor is for being connected with the second processor by USB interface;
When first processor or the second processor need dormancy, described first processor is used for disconnecting described USB and connects.
In one embodiment, when first processor has event to need mutual with the second processor, described first processor is used for waking up the second processor, and foundation is connected with the USB of the second processor;
After event between first processor and the second processor completes alternately, first processor disconnects and being connected with the USB of the second processor, enables the second processor dormancy.
In one embodiment, when the second processor has event to need mutual with first processor, described second processor is used for waking first processor up;
After first processor is waken up, it is connected for the USB set up with the second processor;
After event between the second processor and first processor completes alternately, described first processor actively disconnects and being connected with the USB of the second processor, enables the second processor dormancy.
In one embodiment, described first processor and the second processor are additionally operable to, when carrying out dormancy with wake operation, be made whether to wake up the selection of the other side according to the resting state of the other side.
In one embodiment, described subscriber equipment also includes: first user identification card and the second Subscriber Identity Module;
Described first user identification card and described second Subscriber Identity Module are all connected with described first processor;
Described first processor, is additionally operable to obtain the information of first user identification card and the second Subscriber Identity Module;
Described first processor, the information by the second Subscriber Identity Module obtained that is additionally operable to is sent to described second processor;
Described first processor, is additionally operable to the information based on the described first user identification card obtained and a 4G network service, carries out data service;
Described second processor, is additionally operable to the information based on described second Subscriber Identity Module received and the 2nd 4G network service, carries out data service.
Second aspect, it is provided that a kind of dormancy awakening method, including:
First processor and the second processor;
First processor is for being connected with the second processor by USB interface;
When first processor or the second processor need dormancy, described first processor is used for disconnecting described USB and connects.
In one embodiment, when first processor has event to need mutual with the second processor, described first processor wakes the second processor up, and foundation is connected with the USB of the second processor;
After event between first processor and the second processor completes alternately, first processor disconnects and being connected with the USB of the second processor, enables the second processor dormancy.
In one embodiment, when the second processor has event to need mutual with first processor, described second processor wakes first processor up;
After first processor is waken up, sets up and be connected with the USB of the second processor;
After event between the second processor and first processor completes alternately, described first processor actively disconnects and being connected with the USB of the second processor, enables the second processor dormancy.
The third aspect, it is provided that a kind of subscriber equipment, including:
First application processor and the second application processor;
First application processor is for being connected with the second application processor by USB interface;
When the first application processor or the second application processor need dormancy, described first application processor is used for disconnecting described USB and connects.
In one embodiment, when the second application processor has event to need mutual with the first application processor, described second application processor is for waking the first application processor up by default pin;
After described first application processor is waken up, for setting up, to be connected, with the USB of described second processor, the event that carries out mutual.
In one embodiment, when the first application processor has event to need mutual with the second application processor, described first application processor is for waking the second application processor up by default pin, and foundation is connected with the USB of described second application processor.
In one embodiment, after the event of described first application processor and the second application processor completes alternately, described first application processor is used for controlling to preset pin and triggers the second application processor entrance dormancy, and disconnects described USB connection.
Fourth aspect, it is provided that a kind of dormancy awakening method, including:
First application processor is connected with the second application processor by USB interface;
When the first application processor or the second application processor need dormancy, described first application processor disconnects described USB and connects.
Implement subscriber equipment and the dormancy awakening method of the present invention, disconnect USB when having the advantages that first processor dormancy and connect, enable the second autonomous dormancy of processor;When second processor 20 has active event (such as, control event, network data event etc.), actively waking first processor 10 up, carrying out USB reconnects, it is ensured that the event of the second processor 20 side is sent to first processor 10 in real time;After event handling completes, notice first processor 10 disconnects USB and connects so that system dormancy, saves power consumption.When first processor 10 has request event to the second processor 20, actively triggering USB and reconnect, event handling actively disconnects USB and connects after completing, and to ensure the normal hibernation of system, saves power consumption.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the structural representation of the subscriber equipment of one embodiment of the invention;
Fig. 2 is the first processor 10 of the embodiment of the present invention and the second processor 20 carries out the schematic diagram of state communication by four groups of GPIO;
Fig. 3 is the schematic diagram that the data between first processor 10 and second processor 20 of one embodiment of the invention and control access connect through USB realization;
Fig. 4 is the flow process sequential chart of the first processor 10 of one embodiment of the invention and the second processor 20 duty;
Fig. 5 is the flow process sequential chart of the first processor 10 of another embodiment of the present invention and the second processor 20 duty;
Fig. 6 is the USB of the first processor 10 of one embodiment of the invention schematic diagram of switching working mode under different scenes;
Fig. 7 is the structural representation of the subscriber equipment of another embodiment of the present invention.
Detailed description of the invention
In order to the technical characteristic of the present invention, purpose and effect are more clearly understood from, now comparison accompanying drawing describes the specific embodiment of the present invention in detail.
Structural representation referring to the subscriber equipment that Fig. 1 is one embodiment of the invention.Subscriber equipment 100 includes: first processor the 10, first transceiver 11, first user identification card the 13, second Subscriber Identity Module the 14, second processor the 20, second transceiver 21.
The embodiment of the present invention is used the framework of " first processor 10+ the second processor 20 " to realize subscriber equipment 100 and is supported that two Subscriber Identity Modules all reside in 4G network.
In an embodiment of the present invention, first processor 10 has been used for protocol processes, and for the communication data of transmitting-receiving is modulated demodulation, to realize the communication etc. with external communication device.
Second processor 20 has been used for protocol processes, and for the communication data of transmitting-receiving is modulated demodulation, to realize the communication etc. with external communication device.
In one embodiment of this invention, protocol processes includes execution and processes the protocol stack of the various network formats with network interaction, for instance, the protocol code provided in the communication standard such as LTE/WCDMA/GSM/TDSCDMA/1X/CDMA/EVDO.The agreement of these standards is that subscriber equipment 100 is interacted (such as, surfed the Net by data traffic, made a phone call by VOLTE or made a phone call by CS circuit domain) and must be complied with carrier network.
First processor 10 is additionally operable to process complicated logical operation and carry out task distribution, provide the user interactive interface, the operational order that user inputted (relevant online that such as, user is inputted by user interface or the operational order made a phone call) is transferred to the second processor 20.First processor 10 is additionally operable to perform the operating system of subscriber equipment 100.Operating system is stored in memorizer (not shown in figure 1), and operating system includes but not limited to Windows, Linux, Unix, MacOSX, IOS, Solaris, Android etc..
First processor 10 can pass through data-interface and be connected with first user identification card 13 and the second Subscriber Identity Module 14 respectively, to obtain card information from first user identification card 13 and the second Subscriber Identity Module 14.Additionally, first processor 10 can pass through data-interface and the second processor 20 connects, card information to be transferred to the second processor 20.After getting card information (card information of first user identification card 13 and/or the second Subscriber Identity Module 14), first processor 10 (the second processor 20) can carry out searching the operations such as net registration, authentication according to the information obtained.Concrete, it is one or more that Subscriber Identity Module can store in following information: service lists, PIN (PIN) and the personal unblocking code (PUK) for PIN unblock that unique sequence numbers (ICCID), IMSI International Mobile Subscriber Identity (IMSI), temporary information that safety certification is relevant to local network with adding confidential information, user access.
In this embodiment of the invention, first processor 10 includes the function of modem processor and application processor simultaneously.Second processor 10 also includes the function of modem processor and application processor simultaneously.
First transceiver 11 is responsible for the signal from first processor 10 to modulate radio frequency band, and is launched by antenna after power amplification etc. processes.The signal that first transceiver 11 is also responsible for receiving antenna sends into first processor 10 after low power noise amplification, mixing etc. process.
Second transceiver 21 is responsible for the signal from the second processor 20 to modulate radio frequency band, and is launched by antenna after power amplification etc. processes.The signal that second transceiver 21 is also responsible for receiving antenna sends into the second processor 20 after low power noise amplification, mixing etc. process.
In this embodiment of the invention, first processor 10 obtains the information of first user identification card 13, with the information of the first user identification card 13 based on acquisition and first network communication, carries out data service.
Second processor 20 obtains the information of the second Subscriber Identity Module 14 from first processor 10, with the information of the second Subscriber Identity Module 14 based on acquisition and the second network service, carries out data service.
In one embodiment of this invention, first processor 10 has voice-and-data ability, first processor 10 is additionally operable to the information based on the first user identification card 13 obtained and 2G and/or 3G network communication, carry out speech business, and it is used for the information based on the second Subscriber Identity Module 14 obtained and 2G and/or 3G network communication, carry out speech business.
In other embodiments, the second processor 20 also has voice-and-data ability, and thus, the information of the Subscriber Identity Module that the second processor 20 may be based on acquisition carries out speech business.
And, in certain embodiments, first user identification card 13 and the second Subscriber Identity Module 14 can be connected with two processors respectively, thus, first processor 10 and the second processor 20 can directly obtain the information of coupled Subscriber Identity Module respectively, to carry out voice and/or data service.
In an embodiment of the present invention, first processor 10 includes one or more data-interface, for instance, general purpose I/O Interface (GPIO), UART interface, USB interface, I2C interface etc..Second processor 20 includes one or more data transmission interface equally, for instance, general purpose I/O Interface (GPIO), UART interface, USB interface, I2C interface etc..
Wherein, UART interface is a kind of serial communication interface, for the essential information such as transmission of control signals, status signal.Such as, in the embodiment of the present invention, first processor 10 can pass through UART interface and be connected with Subscriber Identity Module, to obtain the information of Subscriber Identity Module.
General purpose I/O Interface, as state detecting interface, is identified by the high/low of level or pulse.Such as, first processor 10 can pass through the high/low state of level of state detecting pin, detects the sleeping/waking state of the second processor 20.
USB interface is high speed data transmission interface, has enough bandwidth and data transmission capabilities, for realizing namely the i.e. receipts of data are sent (without buffering).
In one embodiment of this invention, referring to Fig. 2, first processor 10 and the second processor 20 carry out state communication by four groups of GPIO (label 1-4), and wherein, state includes: resting state and wake-up states.Concrete:
(1) the 1st group of GPIO is for indicating dormancy or the wake-up states of first processor 10.1st group of GPIO level, when dormancy, is drawn high (or dragging down) by first processor 10, when waking up, the 1st group of GPIO level is dragged down (or drawing high).Thus, the second processor 20 can determine whether the state of first processor 10 by reading the level state of the 1st group of GPIO.
(2) the 2nd groups of GPIO are for indicating dormancy or the wake-up states of the second processor 20.2nd group of GPIO level, when dormancy, is drawn high (or dragging down) by the second processor 20, when waking up, the 2nd group of GPIO level is dragged down (or drawing high).Thus, first processor 10 can determine whether the state of the second processor 20 by reading the level state of the 2nd group of GPIO.
(3) the 3rd groups of GPIO are used for waking the second processor 20 (first processor 10 triggers the second processor 20 and wakes up) up.The GPIO of the second processor 20 side has wake-up interrupts function, namely the second processor 20 in a dormant state time, if the 3rd group of GPIO produces trailing edge (be alternatively other state, for instance, produce rising edge etc.), the second processor 20 interrupts resting state and is waken up.
(4) the 4th groups of GPIO are used for waking first processor 10 (the second processor 20 wakes first processor 10 up) up.First processor 10 side GPIO has interruption arousal function, namely first processor 10 in a dormant state time, if the 4th group of GPIO produces trailing edge (be alternatively other state, for instance, produce rising edge etc.), first processor 10 interrupts resting state and is waken up.
Referring to Fig. 1, the interface being numbered 5 is USB interface.Referring to Fig. 3, in one embodiment of this invention, data between first processor 10 and the second processor 20 and control access connect through USB and realize.When first processor 10 and the second processor 20 carry out data communication, USB interface adopts main (host) from (device) Role Model, in an embodiment of the present invention, first processor 10 is as host, and the second processor 20 is as device.
In one embodiment, the VBUS pin (power pins) of first processor 10 exports effective high level (such as, 5.0V) and is supplied to the VBUS pin (power pins) of the second processor 20.After the VBUS pin of the second processor 20 powers on, the level of D+/D-pin (data pin) can change, after first processor 10 detects this change, it is believed that has USBdevice to insert, and initiates enumeration process, and the two is set up USB and connects.Due to USB bottom holder lock, first processor 10 and the second processor 20 can not carry out dormancy, if either one needs dormancy, need to disconnect USB and connect.Concrete, when disconnecting USB connection, the VBUS pin output low level of first processor 10, so that the VBUS pin of the second processor 20 can not power on, the USB between first processor 10 and the second processor 20 connects disconnection.
Referring to Fig. 4, for the flow process sequential chart of first processor 10 and the second processor 20 duty.When first processor 10 has event to need mutual with the second processor 20, controlling the 3rd group of GPIO control triggering the second processor 20 and interrupt trailing edge, make the second processor 20 exit park mode, namely the second processor 20 is waken up.First processor 10 is switched to host pattern, sets up USB and be connected between first processor 10 with the second processor 20.First processor 10 powers to the USB of the second processor 20.When the second processor 20 wakes up, the level controlling the 2nd group of GPIO drags down, and thus, first processor 10 would know that waking up of the second processor 20.
In one embodiment of this invention, after event between first processor 10 and the second processor 20 completes alternately, when second processor 20 needs to carry out dormancy, first processor 10 disconnects and being connected with the USB of the second processor 20, it is ensured that the second processor 20 can normal hibernation.Concrete, the VBUS pin output low level of first processor 10, and first processor 10 controls the 3rd group of GPIO and produces rising edge, triggers the second processor 20 and interrupts entering, the second processor 20 enters dormancy.When the second processor 20 enters dormancy, being drawn high by the level of the 2nd group of GPIO, thus, first processor 10 would know that the dormancy of the second processor 20.
Referring to Fig. 5, when the second processor 20 needs to wake up first processor 10 (such as, produce when modem network event, the kernel module of the second processor 20 or other application need to wake up first processor 10), control the state of the 4th group of GPIO, wake first processor 10 up.After first processor 10 is waken up, sets up and be connected with the USB of the second processor 20.When first processor 10 wakes up, the level controlling the 1st group of GPIO drags down, and thus, the second processor 20 would know that waking up of first processor 10.
After event between the second processor 20 and first processor 10 completes alternately, first processor 10 actively disconnects and being connected with the USB of the second processor 20, enables the second processor 20 and can independently carry out dormancy, without because USB connects the carrying out limiting dormancy.
In an embodiment of the present invention, first processor 10 and the second processor 20 need to first determine whether the resting state of the other side when carrying out dormancy with wake operation, then it is made whether to wake up the selection of the other side, and only mutually wakes up when necessary, to reduce system power dissipation to greatest extent.
In an embodiment of the present invention, when the second processor 20 shuts down, then release GPIO and interruption.Here shutdown refers to subscriber equipment shutdown.
In some embodiments of the invention, event mutual between first processor 10 and the second processor 20 includes: event that network event (such as, is carried out data service by first processor 10, carried out data service etc. by the second processor 20), the event of processor cores module generation, application program produce etc..
In some embodiments of the invention, the mode of first processor 10 and the second processor 20 dormancy includes: keeps low clock or is not powered etc. mode completely, to save power consumption.And the mode that first processor 10 and the second processor 20 are waken up includes: the mode such as be fully powered-on.
In an embodiment of the present invention, disconnect USB during first processor dormancy to connect, enabling the second autonomous dormancy the second processor 20 of processor has active event (such as, control event, network data event etc.) time, actively wake first processor 10 up, carry out USB and reconnect, it is ensured that the event of the second processor 20 side is sent to first processor 10 in real time;After event handling completes, notice first processor 10 disconnects USB and connects so that system dormancy, saves power consumption.When first processor 10 has request event to the second processor 20, actively triggering USB and reconnect, event handling actively disconnects USB and connects after completing, and to ensure the normal hibernation of system, saves power consumption.
Referring to Fig. 6, in another embodiment of the invention, the USB interface of first processor 10 is applied not only to communicate with the second processor 20, is additionally operable to communicate with external equipment (such as, OTG equipment).Thus, in this embodiment, the USB of first processor 10 needs switching working mode under different scenes, when system can enter dormancy, need pattern is set to pattern 2 (NONE pattern), need the event according to waking up to be set to pattern 1 (host pattern) upon wake up.
In the above embodiments, the USB path of first processor 10 is only for communicating with the second processor 20, and therefore, the USB of first processor 10 has only to the switching of host and none pattern.
In this embodiment, the USB path of first processor 10 need to be used for and external device communication, then the USB of first processor 10 needs at Three models, namely pattern 1 (host pattern), pattern 2 (none pattern) and between switching, thus, ensureing both can with external device communication, again can with the second processor communication.Wherein, pattern 3 (peripheral pattern) namely for external device communication.
Referring to Fig. 6, when first processor 10 or the second processor 20 enter dormancy, the USB of first processor 10 is converted to pattern 2 from pattern 1.When first processor 10 or the second processor 20 exit dormancy, then the USB of the second processor 20 is converted to pattern 1 from pattern 2.Should be understood that in this embodiment, in the first processor 10 handoff procedure between pattern 1 and pattern 2, dormancy with wake up to realize details identical with the embodiment shown in above-mentioned Fig. 1, do not repeat them here.
Referring to Fig. 6, when connecting external equipment (such as, external computer), when waking first processor 10 up, the USB of first processor 10 is converted to pattern 3 from pattern 2.When disconnecting the connection with external computer, the USB of first processor 10 is converted to pattern 1 from pattern 3.When first processor 10 communicates with the second processor 20, be connected to external computer, then the USB mode of first processor 10 is converted to pattern 3 from pattern 1.This is because, when communicating with external computer, subscriber equipment 100 is operated in device pattern, therefore, the pattern 1 conversion to pattern 3 is had.When first processor 10 communicates with the second processor 20, connect outside OTG equipment, then first processor 10 keeps pattern 1, and namely the USB of first processor 10 is operated in host pattern.When disconnecting the connection with outside OTG equipment, first processor 10 still keeps pattern 1.
This embodiment of the present invention, the USB of first processor 10 has the function with the second processor 20 and external device communication, it is achieved that the multiplexing of USB interface;And for the state switching method of a first processor 10 only road USB, it is ensured that the balance of power consumption and function.
Referring to Fig. 7, the embodiment shown in this embodiment of the present invention and above-mentioned Fig. 1 is distinctive in that, in this embodiment, first processor 10 includes the first modem processor 101 and the first application processor 102;Second processor 20 includes second modem processor 201 and the second application processor 202.
Wherein, the first application processor 102 processes the logical operation of complexity and carries out task distribution, provides the user interactive interface, and the operational order that user inputs is transferred to the second application processor 202.First application processor 102 is additionally operable to perform the operating system of subscriber equipment 100.First modem processor 101 completes protocol processes, and the communication data of transmitting-receiving is modulated demodulation, to realize the communication etc. with external communication device.
In one embodiment of this invention, the second application processor 202 does not carry out the process of data, only plays the effect of transparent transmission.Such as, the data penetration transmission after being processed by second modem processor 201 processes to the first application processor 102, and the data penetration transmission being transmitted through by the first application processor 102 is to second modem processor 201.
In one embodiment of this invention, referring to Fig. 7, the first application processor 102 and the second application processor 202 carry out state communication by four groups of GPIO (label 1-4), and are carried out data transmission by USB interface (label 5).Concrete:
(1) the 1st group of GPIO is for indicating dormancy or the wake-up states of the first application processor 102.1st group of GPIO level, when dormancy, is drawn high (or dragging down) by the first application processor 102, when waking up, the 1st group of GPIO level is dragged down (or drawing high).Thus, the second application processor 202 can determine whether the state of the first application processor 102 by reading the level state of the 1st group of GPIO.
(2) the 2nd groups of GPIO are for indicating dormancy or the wake-up states of the second application processor 202.2nd group of GPIO level, when dormancy, is drawn high (or dragging down) by the second application processor 202, when waking up, the 2nd group of GPIO level is dragged down (or drawing high).Thus, the first application processor 102 can determine whether the state of the second application processor 202 by reading the level state of the 2nd group of GPIO.
(3) the 3rd groups of GPIO are used for waking the second application processor 202 (the first application processor 102 triggers the second application processor 202 and wakes up) up.The GPIO of the second application processor 202 side has wake-up interrupts function, namely the second application processor 202 in a dormant state time, if the 3rd group of GPIO (is alternatively other state when producing trailing edge, such as, produce rising edge etc.), the second application processor 202 interrupts resting state and is waken up.
(4) the 4th groups of GPIO are used for waking the first application processor 102 (the second application processor 202 wakes the first application processor 102 up) up.First application processor 102 side GPIO has interruption arousal function, namely the first application processor 102 in a dormant state time, if the 4th group of GPIO produces trailing edge (be alternatively other state, for instance, produce rising edge etc.), the first application processor 102 interrupts resting state and is waken up.
When the first application processor 102 and the second application processor 202 carry out data communication, USB interface adopts main (host) from (device) Role Model, in an embodiment of the present invention, first application processor 102 is as host, and the second application processor 202 is as device.
In one embodiment, the VBUS pin (power pins) of the first application processor 102 exports effective high level (such as, 5.0V) and is supplied to the VBUS pin (power pins) of the second application processor 202.After the VBUS pin of the second application processor 202 powers on, the level of D+/D-pin (data pin) can change, after the first application processor 102 detects this change, it is believed that have USBdevice to insert, initiating enumeration process, the two is set up USB and connects.Due to USB bottom holder lock, the first application processor 102 and the second application processor 202 can not carry out dormancy, if either one needs dormancy, need to disconnect USB and connect.Concrete, when disconnecting USB connection, the VBUS pin output low level of the first application processor 102, so that the VBUS pin of the second application processor 202 can not power on, the USB between the first application processor 102 and the second application processor 202 connects disconnection.
In the embodiment of the present invention, the flow process between first processor 10 and the father's processor 20 shown in the flow process of the first application processor 102 and the second application processor 202 duty and Fig. 4 and Fig. 5 is identical.When the first application processor 102 has event to need mutual with the second application processor 202, control the 3rd group of GPIO control triggering the second application processor 202 and interrupt trailing edge, making the second application processor 202 exit park mode, namely the second application processor 202 is waken up.First application processor 102 is switched to host pattern, sets up USB and be connected between the first application processor 102 with the second application processor 202.First application processor 102 powers to the USB of the second application processor 202.When the second application processor 202 wakes up, the level controlling the 2nd group of GPIO drags down, and thus, the first application processor 102 would know that waking up of the second application processor 202.
In one embodiment of this invention, after event between the first application processor 102 and the second application processor 202 completes alternately, when second application processor 202 needs to carry out dormancy, first application processor 102 disconnects and being connected with the USB of the second application processor 202, it is ensured that the second application processor 202 can normal hibernation.Concrete, the VBUS pin output low level of the first application processor 102, and the first application processor 102 controls the 3rd group of GPIO and produces rising edge, triggers the second application processor 202 and interrupts entering, the second application processor 202 enters dormancy.When the second application processor 202 enters dormancy, being drawn high by the level of the 2nd group of GPIO, thus, the first application processor 102 would know that the dormancy of the second application processor 202.
When the second application processor 202 needs to wake up the first application processor 102 (such as, produce when modem network event, the kernel module of the second application processor 202 or other application need to wake up the first application processor 102), control the state of the 4th group of GPIO, wake the first application processor 102 up.After first application processor 102 is waken up, sets up and be connected with the USB of the second application processor 202.When the first application processor 102 wakes up, the level controlling the 1st group of GPIO drags down, and thus, the second application processor 202 would know that waking up of the first application processor 102.
After event between the second application processor 202 and the first application processor 102 completes alternately, first application processor 102 actively disconnects and being connected with the USB of the second application processor 202, enable the second application processor 202 and can independently carry out dormancy, without because USB connects the carrying out limiting dormancy.
Concrete, when subscriber equipment 100 is started shooting, then the second application processor 202 starts a monitoring process (such as, WPS task), state event (can be known by the level state of the 1st group of GPIO of inquiry) according to the first application processor 102, monitoring process arranges node, enables the second application processor 202 and can independently enter dormancy.
When the first application processor 102 has event (such as, network event) when needing mutual with the second application processor 202, sending messages to the USB monitoring process preset, USB monitoring process controls the 3rd group of GPIO control triggering the second application processor 202 and interrupts trailing edge.The monitoring process of the second application processor 202 monitors interrupt event, calls preset interface (such as, a resume interface), makes the second application processor 202 exit park mode, and namely the second application processor 202 is waken up.The USB interface of the first application processor 102 and the second application processor 202 remains connected to, and powers to the USB of the second application processor 202.
After the event of the first application processor 102 and the second application processor 202 completes alternately, the USB monitoring process of the first application processor 102 controls the 3rd group of GPIO and produces rising edge, triggers the second application processor 202 and interrupts entering.The monitoring process of the second application processor 202 receives interrupt event, triggers the second application processor 202 and enters dormancy.When the second application processor 202 carries out dormancy, the level controlling the 2nd group of GPIO is drawn high.
When the second application processor 202 has event (such as, produce modem network event) to need mutual with the first application processor 102, control the state of the 4th group of GPIO, wake the first application processor 102 up.First application processor 102 reconnects USB port after being waken up.First application processor 102, by controlling the detailed event of interface polls, continues to be reported to the relative program of application layer as required, and relative program holder lock is until event handling completes.
In an embodiment of the present invention, during the first application processor 102 dormancy, the first modem processor 101 can be dormancy or wake-up states.During the second application processor 202 dormancy, second modem processor 201 enters resting state.In certain embodiments, when in the sleeping state, related device can keep low clock or not be powered completely, to save power consumption.
In an embodiment of the present invention, first application processor 102 and the second application processor 202 need to first determine whether the resting state of the other side when carrying out dormancy with wake operation, then it is made whether to wake up the selection of the other side, and only mutually wake up when necessary, to reduce system power dissipation to greatest extent.
In an embodiment of the present invention, when the second application processor 202 shuts down, then release GPIO and interruption.Here shutdown refers to subscriber equipment shutdown.
Should be understood that the USB handover scheme of the embodiment shown in above-mentioned Fig. 6 is equally applicable to the first application processor and second application processor of this embodiment.Namely when the USB of the first application processor in originally implementing has the function with the second application processor 202 and external device communication simultaneously, first application processor 102 can adopt the state switching method of the USB of the embodiment shown in above-mentioned Fig. 6, to ensure the balance of power consumption and function.
In an embodiment of the present invention, disconnect USB during the first application processor dormancy and connect, enable the second autonomous dormancy of application processor;When second application processor 202 has active event (such as, control event, network data event etc.), actively wake the first application processor 102 up, carry out USB and reconnect.Ensure that the event of the second application processor 202 side is sent to the first application processor 102 in real time;After event handling completes, notify that the first application processor 102 disconnects USB and connects so that system dormancy, save power consumption.When the first application processor 102 has request event to the second application processor 202, actively triggering USB and reconnect, event handling actively disconnects USB and connects after completing, and to ensure the normal hibernation of system, saves power consumption.
In the embodiment of the present invention, subscriber equipment may be configured to arbitrarily mobile, the portable calculating or the communication equipment that are connected with network, for instance cellular device.Such as, subscriber equipment 100 can be cell phone (mobile phone), navigation system, computing equipment, photographing unit, PDA, musical instruments, game station or the handheld device with wireless connection capability.
In an embodiment of the present invention, if being not particularly illustrated, " multiple " refer to two or more.In describing the invention, it is to be understood that term " first ", " second " etc. only for descriptive purposes, and it is not intended that instruction or hint relative importance.
Any process in flow chart or in an embodiment of the present invention described otherwise above or method describe and are construed as, represent and include one or more module for the code of the executable instruction of the step that realizes specific logical function or process, fragment or part, and the scope of embodiment of the present invention includes other realization, wherein can not press order that is shown or that discuss, including according to involved function by basic mode simultaneously or in the opposite order, perform function, this should be understood by those skilled in the art described in embodiments of the invention.
In the above embodiment of the present invention, first network and the second network can be the heterogeneous networks of different operators, or are the identical or different network of same operator.Oneth 4G network and the 2nd 4G network can be LTE network, or other type of 4G network.
For illustrative purposes, description above employs specific term, to provide thorough understanding of the present invention.It will be apparent, however, to one skilled in the art, that be not required to concrete details to put into practice the present invention.The described above of specific embodiments of the invention is to present for purposes of illustration and description.They are not intended to detailed or limit the invention to disclosed precise forms.In view of religious doctrine above, many modifications and variations are possible.These embodiments are illustrate and described, so that others skilled in the art can utilize the present invention best and have the various embodiments of the various amendments being suitable to intended specific use in order to explain principles of the invention and practical application thereof best.It is intended to the scope of the present invention limited by following claims and its equivalent.

Claims (13)

1. a subscriber equipment, it is characterised in that including:
First processor and the second processor;
First processor is for being connected with the second processor by USB interface;
When first processor or the second processor need dormancy, described first processor is used for disconnecting described USB and connects.
2. subscriber equipment according to claim 1, it is characterised in that when first processor has event to need mutual with the second processor, described first processor is used for waking up the second processor, and foundation is connected with the USB of the second processor;
After event between first processor and the second processor completes alternately, first processor disconnects and being connected with the USB of the second processor, enables the second processor dormancy.
3. subscriber equipment according to claim 1, it is characterised in that when the second processor has event to need mutual with first processor, described second processor is used for waking first processor up;
After first processor is waken up, it is connected for the USB set up with the second processor;
After event between the second processor and first processor completes alternately, described first processor actively disconnects and being connected with the USB of the second processor, enables the second processor dormancy.
4. subscriber equipment according to claim 1, it is characterised in that described first processor and the second processor are additionally operable to, when carrying out dormancy with wake operation, be made whether to wake up the selection of the other side according to the resting state of the other side.
5. subscriber equipment according to claim 1, it is characterised in that described subscriber equipment also includes: first user identification card and the second Subscriber Identity Module;
Described first user identification card and described second Subscriber Identity Module are all connected with described first processor;
Described first processor, is additionally operable to obtain the information of first user identification card and the second Subscriber Identity Module;
Described first processor, the information by the second Subscriber Identity Module obtained that is additionally operable to is sent to described second processor;
Described first processor, is additionally operable to the information based on the described first user identification card obtained and a 4G network service, carries out data service;
Described second processor, is additionally operable to the information based on described second Subscriber Identity Module received and the 2nd 4G network service, carries out data service.
6. a dormancy awakening method, it is characterised in that including:
First processor and the second processor;
First processor is for being connected with the second processor by USB interface;
When first processor or the second processor need dormancy, described first processor is used for disconnecting described USB and connects.
7. method according to claim 6, it is characterised in that when first processor has event to need mutual with the second processor, described first processor wakes the second processor up, and foundation is connected with the USB of the second processor;
After event between first processor and the second processor completes alternately, first processor disconnects and being connected with the USB of the second processor, enables the second processor dormancy.
8. method according to claim 6, it is characterised in that when the second processor has event to need mutual with first processor, described second processor wakes first processor up;
After first processor is waken up, sets up and be connected with the USB of the second processor;
After event between the second processor and first processor completes alternately, described first processor actively disconnects and being connected with the USB of the second processor, enables the second processor dormancy.
9. a subscriber equipment, it is characterised in that including:
First application processor and the second application processor;
First application processor is for being connected with the second application processor by USB interface;
When the first application processor or the second application processor need dormancy, described first application processor is used for disconnecting described USB and connects.
10. subscriber equipment according to claim 9, it is characterised in that when the second application processor has event to need mutual with the first application processor, described second application processor is for waking the first application processor up by default pin;
After described first application processor is waken up, for setting up, to be connected, with the USB of described second processor, the event that carries out mutual.
11. subscriber equipment according to claim 9, it is characterized in that, when the first application processor has event to need mutual with the second application processor, described first application processor is for waking the second application processor up by default pin, and foundation is connected with the USB of described second application processor.
12. the subscriber equipment according to claim 10 or 11, it is characterized in that, after the event of described first application processor and the second application processor completes alternately, described first application processor is used for controlling to preset pin and triggers the second application processor entrance dormancy, and disconnects described USB connection.
13. a dormancy awakening method, it is characterised in that including:
First application processor is connected with the second application processor by USB interface;
When the first application processor or the second application processor need dormancy, described first application processor disconnects described USB and connects.
CN201610201448.9A 2016-04-01 2016-04-01 User equipment and sleep waking method Pending CN105744606A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610201448.9A CN105744606A (en) 2016-04-01 2016-04-01 User equipment and sleep waking method
PCT/CN2016/090226 WO2017166541A1 (en) 2016-04-01 2016-07-15 User device and method for waking from hibernation, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610201448.9A CN105744606A (en) 2016-04-01 2016-04-01 User equipment and sleep waking method

Publications (1)

Publication Number Publication Date
CN105744606A true CN105744606A (en) 2016-07-06

Family

ID=56253441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610201448.9A Pending CN105744606A (en) 2016-04-01 2016-04-01 User equipment and sleep waking method

Country Status (2)

Country Link
CN (1) CN105744606A (en)
WO (1) WO2017166541A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507457A (en) * 2016-10-31 2017-03-15 努比亚技术有限公司 A kind of dormancy control method and terminal
WO2017128649A1 (en) * 2016-01-27 2017-08-03 努比亚技术有限公司 Terminal, communication method, and storage medium
WO2017166541A1 (en) * 2016-04-01 2017-10-05 努比亚技术有限公司 User device and method for waking from hibernation, and computer storage medium
CN110955323A (en) * 2019-11-27 2020-04-03 出门问问信息科技有限公司 Intelligent watch equipment
US11928002B2 (en) 2019-11-27 2024-03-12 Mobvoi Information Technology Company Limited Data transmission method, apparatus and smart watch device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938991B (en) * 2020-06-29 2023-09-26 大唐移动通信设备有限公司 Base station radio frequency unit and dormancy awakening method thereof
CN114780166A (en) * 2022-03-26 2022-07-22 深圳市广通远驰科技有限公司 Pin configuration method, related device, equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997963A (en) * 2009-08-31 2011-03-30 英华达股份有限公司 Power supply management method and system of portable communication device
CN102156528A (en) * 2010-02-11 2011-08-17 联想(北京)有限公司 Data processing equipment and universal serial bus (USB) external connection driving method thereof
CN102200827A (en) * 2010-03-25 2011-09-28 中兴通讯股份有限公司 Sleep and wake-up methods and systems for equipment
WO2012027991A1 (en) * 2010-08-30 2012-03-08 中兴通讯股份有限公司 Method, device and system for bidirectional wake-up based on universal serial bus
CN105101173A (en) * 2015-07-20 2015-11-25 努比亚技术有限公司 Multi-data-channel-based data loading apparatus and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744606A (en) * 2016-04-01 2016-07-06 努比亚技术有限公司 User equipment and sleep waking method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997963A (en) * 2009-08-31 2011-03-30 英华达股份有限公司 Power supply management method and system of portable communication device
CN102156528A (en) * 2010-02-11 2011-08-17 联想(北京)有限公司 Data processing equipment and universal serial bus (USB) external connection driving method thereof
CN102200827A (en) * 2010-03-25 2011-09-28 中兴通讯股份有限公司 Sleep and wake-up methods and systems for equipment
WO2012027991A1 (en) * 2010-08-30 2012-03-08 中兴通讯股份有限公司 Method, device and system for bidirectional wake-up based on universal serial bus
CN105101173A (en) * 2015-07-20 2015-11-25 努比亚技术有限公司 Multi-data-channel-based data loading apparatus and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017128649A1 (en) * 2016-01-27 2017-08-03 努比亚技术有限公司 Terminal, communication method, and storage medium
WO2017166541A1 (en) * 2016-04-01 2017-10-05 努比亚技术有限公司 User device and method for waking from hibernation, and computer storage medium
CN106507457A (en) * 2016-10-31 2017-03-15 努比亚技术有限公司 A kind of dormancy control method and terminal
CN110955323A (en) * 2019-11-27 2020-04-03 出门问问信息科技有限公司 Intelligent watch equipment
US11928002B2 (en) 2019-11-27 2024-03-12 Mobvoi Information Technology Company Limited Data transmission method, apparatus and smart watch device

Also Published As

Publication number Publication date
WO2017166541A1 (en) 2017-10-05

Similar Documents

Publication Publication Date Title
CN105960000A (en) Dormancy awakening method and processor
CN105744606A (en) User equipment and sleep waking method
WO2021063216A1 (en) Method, apparatus, and device for reducing terminal power consumption
WO2022033425A1 (en) Discontinuous transmission method, signal transmission processing method and related device
JP2008263520A (en) Portable electronic device, and program
EP3556155A1 (en) Improved power-save mode for wireless device
WO2022174777A1 (en) State switching method and apparatus, and beacon signal sending method and apparatus
CN114079952B (en) Method for transmitting small data under non-starting state and user device
WO2022017359A1 (en) Direct communication start-up control method and related device
CN106413062A (en) User equipment and sleep wake-up method
CN105704802A (en) Mobile terminal and communication method
US10098063B2 (en) Base stations, mobile communication devices, and connection maintenance methods for connected mode extended discontinuous reception (eDRX)
CN105763735B (en) User equipment and fast dormancy method
WO2022078314A1 (en) Inactive state configuration method and device, and communication device
WO2022017360A1 (en) Method for controlling activation of direct communication, and related device
JP2024506104A (en) Operating methods, devices and communication equipment for communication equipment
WO2019125425A1 (en) Power saving for wireless device
CN103813421A (en) Intelligent mobile terminal electricity-saving method and intelligent mobile terminal
WO2022028597A1 (en) Secondary cell control method, terminal, and network side device
WO2022174799A1 (en) Terminal state control method and apparatus, and terminal
WO2022184107A1 (en) Gap configuration method and apparatus, and device and storage medium
JP2012070403A (en) Portable electronic device, and program
WO2022174798A1 (en) Power saving method and apparatus, device, and readable storage medium
CN204652432U (en) Mobile communication module shared system in vehicle environment
WO2022228437A1 (en) Handover method and apparatus, and device and readable storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160706