CN106900043B - Dormancy control system and dormancy control method thereof - Google Patents

Dormancy control system and dormancy control method thereof Download PDF

Info

Publication number
CN106900043B
CN106900043B CN201710203056.0A CN201710203056A CN106900043B CN 106900043 B CN106900043 B CN 106900043B CN 201710203056 A CN201710203056 A CN 201710203056A CN 106900043 B CN106900043 B CN 106900043B
Authority
CN
China
Prior art keywords
application processor
serial port
data transmission
mobile terminal
sleep
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.)
Active
Application number
CN201710203056.0A
Other languages
Chinese (zh)
Other versions
CN106900043A (en
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 CN201710203056.0A priority Critical patent/CN106900043B/en
Publication of CN106900043A publication Critical patent/CN106900043A/en
Application granted granted Critical
Publication of CN106900043B publication Critical patent/CN106900043B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a dormancy control system, which comprises a mobile terminal, an external device and a controller, wherein the mobile terminal is connected with the external device through a serial port, the mobile terminal comprises a first modem and a first application processor, the first modem is respectively connected with a first user identification card and a second user identification card, and the external device comprises a second application processor and a second modem; the controller is used for acquiring a data transmission state on a serial port between a first application processor and a second application processor of the mobile terminal; and if the data transmission state is detected to be no data transmission on the serial port within the preset time, releasing clock resources on the serial port, and controlling the first application processor and the second application processor to enter the dormancy state when a preset condition is met. The invention also discloses a dormancy control method. The invention can solve the problem of high power consumption of the dual LTE dormancy control system.

Description

Dormancy control system and dormancy control method thereof
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a sleep control system and a sleep control method thereof.
Background
With the development of mobile communication technology, more and more sleep control systems such as smart phones have a dual-card dual-pass function, so that a user can establish a data service link while realizing the standby of a voice service. The sleep control system generally has two subscriber identity cards (SIM1) and a modem connected to the two subscriber identity cards, respectively, and when the two subscriber identity cards are fully opened, one subscriber identity card (SIM1) can use 4G (the 4th Generation Mobile communication technology, fourth Generation Mobile communication technology), for example, LTE (Long Term Evolution) network, and the other subscriber identity card (SIM2) can only use 2G or 3G network. The reason why the SIM2 cannot be connected to the 4G is mainly as follows: the dormancy control system only has one set of radio frequency, and the two cards use the set of radio frequency in a time-sharing multiplexing relationship and cannot occupy the two cards at the same time. Therefore, in order to enable two subscriber identity cards in the sleep control system to simultaneously support dual LTE, so as to improve data transmission efficiency, another modem capable of communicating with the SIM1 is added in the existing sleep control system, so that the sleep control system can support the two subscriber identity cards to both use a 4G, such as an LTE network, thereby implementing a dual LTE communication function. However, in order to ensure high efficiency of data transmission, two modems of the sleep control system are always in an operating state, which causes high power consumption, thereby reducing user experience.
Disclosure of Invention
The invention mainly aims to provide a dormancy control system and a dormancy control method thereof, and aims to solve the problem that the dormancy control system supporting double LTE functions has high power consumption.
In order to achieve the above object, the sleep control system provided by the present invention comprises a mobile terminal, an external device and a controller, wherein the mobile terminal is connected to the external device through a serial port, the mobile terminal comprises a first modem and a first application processor, the first modem is connected to a first user identification card and a second user identification card, respectively, and the external device comprises a second application processor and a second modem;
the controller is used for acquiring a data transmission state on a serial port between a first application processor and a second application processor of the mobile terminal; and if the data transmission state is detected to be no data transmission on the serial port within the preset time, releasing clock resources on the serial port, and controlling the first application processor and the second application processor to enter the dormancy state when a preset condition is met.
Optionally, the serial port is a USB serial port.
Optionally, the first application processor and the second application processor are connected through a USB serial port.
Optionally, the first application processor has a first clock resource, the second application processor has a specific second clock resource, and when the first application processor and/or the second application processor are in a working state, the USB serial port occupies the first clock resource and/or the second clock resource; and when the first application processor and/or the second application processor are in a dormant state, the USB serial port releases the first clock resource and/or the second clock resource.
Optionally, the external device includes a wireless internet access card and a data card.
In order to achieve the above object, the present invention further provides a sleep control method of the sleep control system, where the sleep control method of the sleep control system includes the following steps:
acquiring a data transmission state on a serial port between a first application processor and a second application processor;
and if the data transmission state is detected to be no data transmission on the serial port within the preset time, releasing clock resources on the serial port, and controlling the first application processor and the second application processor to enter the dormancy when a preset condition is met.
Optionally, the step of acquiring a data transmission state on a serial port between a first application processor and a second application processor of the mobile terminal further includes:
and detecting the data transmission state on the USB serial port between the first application processor and the second application processor of the mobile terminal in real time or at regular time.
Optionally, the step of detecting, in real time or at regular time, a data transmission state on a USB serial port between a first application processor and a second application processor of the mobile terminal includes:
and detecting respective USB serial port drivers of a first application processor and a second application processor of the mobile terminal in real time or at regular time, and judging whether the respective USB serial port drivers of the first application processor and the second application processor call corresponding data transceiving function interfaces or not.
Optionally, the step of releasing clock resources on the serial port and controlling the first application processor and the second application processor to enter the sleep mode when the data transmission state is detected to be no data transmission on the serial port within the predetermined time includes:
if the first application processor and the second application processor are detected to be driven by respective USB serial ports and do not transfer corresponding data receiving and transmitting function interfaces, releasing clock resources on the USB serial ports;
judging whether the first modem, the second modem and other sub-subsystems are in a dormant state or not;
and if so, controlling the first application processor and the second application processor to enter the dormancy.
Optionally, the step of determining whether the first modem, the second modem, and other subsystems are all in the sleep state further includes:
and if not, keeping the current running states of the first application processor and the second application processor.
The invention provides a dormancy control system and a dormancy control method thereof, wherein the dormancy control system comprises a mobile terminal, an external device connected with the mobile terminal through a serial port and a controller, the mobile terminal comprises a first modem and a first application processor, the first modem is respectively connected with a first user identification card and a second user identification card, the external device comprises a second application processor and a second modem, the controller is used for acquiring the data transmission state on the serial port between the first application processor and the second application processor of the mobile terminal, if the data transmission state is detected to be no data transmission on the serial port within preset time, clock resources on the serial port are released, and the first application processor and the second application processor are controlled to enter dormancy when preset conditions are met. Therefore, the dual LTE communication function can be realized, and the sleep state can be started when the sleep control system is in the states of no data receiving and sending such as screen shutdown and the like on the serial port, so that the power consumption of the sleep control system can be greatly reduced.
Drawings
Fig. 1 is a schematic diagram of an LTE network architecture according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a hardware structure of a communication connection between a mobile terminal and an external device according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an entity structure of the communication connection between the mobile terminal and the external device according to the embodiment of the present invention;
FIG. 4 is a flowchart illustrating a sleep control method of the sleep control system according to a first embodiment of the present invention;
FIG. 5 is a flowchart illustrating a sleep control method of the sleep control system according to a second embodiment of the present invention;
FIG. 6 is a flowchart illustrating a sleep control method of the sleep control system according to a third embodiment of the present invention.
The implementation, functional features and advantages of the present invention will be described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a schematic diagram of an LTE network architecture according to an embodiment of the present invention. The LTE network architecture of an embodiment of the invention comprises: one or more mobile terminals (UEs) 100, an E-UTRAN (Evolved UMTS terrestrial Radio Access Network) (not numbered), an Evolved Packet Core (EPC) (not numbered), a Home Subscriber Server (HSS)107, a Network (e.g., the internet) (not numbered), and a circuit switched system (not numbered).
The E-UTRAN includes evolved node Bs (eNodeBs) 101 and other eNodeBs 102. The eNodeB 101 provides protocol terminations towards the user plane and the control plane of the mobile terminal 100. eNodeB 101 may be connected to other enodebs via an X2 interface. The eNodeB 101 may also be referred to as a base station, a base transceiver station, a radio base station, a radio transceiver, a transceiver function, a basic service set, an extended service set, or some other suitable terminology. The eNodeB 101 provides an access point for the mobile terminal 100 to the EPC.
eNodeB 101 connects to the EPC through the S1 interface. The EPC includes a mobility management entity (EEM)104, other mobility management entities 106, a serving gateway 103, and a Packet Data Network (PDN) gateway 105. The mobility management entity 104 is a control node that handles signaling between the mobile terminal 100 and the EPC. The mobility management entity 104 provides bearer and connection management. All user IP packets are passed through the serving gateway 103, the serving gateway 103 itself being connected to the PDN gateway 105. The PDN gateway 105 provides UE IP address allocation as well as other functions. The PDN gateway 105 is connected to a network, e.g. the internet.
The circuit switched system includes an interactive solution module (IWS)108, a Mobile Switching Center (MSC)109, a base station 110, and a mobile station 111. In one aspect, the circuit switched System may communicate with an EPS (Evolved Packet System) through an IWS and an MME (Mobility management entity).
Fig. 2 is a schematic diagram of a hardware structure of the communication connection between the mobile terminal 100 and the external device 200 according to the embodiment of the present invention. In the embodiment of the present invention, the mobile terminal 100 includes a first processing chip 001, and a first radio frequency module 12, a first subscriber identity card 13, and a second subscriber identity card 14 respectively connected to the first processing chip 001, where the first processing chip 001 includes a first Application Processor (Application Processor)10, a first modem 11(modem1), and an RPM (Resource Power Manager) 15. The external device 200 includes a second processing chip 002 and a second rf module 22 connected to the second processing chip 002, wherein the second processing chip 002 includes a second application processor 20 and a second modem (modem2) 21.
The internal framework of the first application processor 10 and the second application processor 20 includes an application layer, a framework layer, and the like, and can handle complex logical operations and perform task allocation, and the like. In one embodiment, the application processor refers to the Android operating system, and various apks (Android Package) based on the Android operating system. In the embodiment of the present invention, the first application processor 10 and the second application processor 20 are connected via USB, and provide an interactive interface for a user, and transmit an operation instruction input by the user (for example, an operation instruction input by the user via the user interface and related to starting a video call) to the first modem 11 or the second modem 21, so as to define and transfer data between the two processors, for example, perform control of hibernation, wakeup, synchronization of the two modems, control of chip start-up sequence during power on and power off of the two modems, and the like.
Specifically, The first application processor 10 and The second application processor 20 perform data interaction through an OTG (On-The-Go) technology. With the OTG technology, the first subscriber identity card 13 or the second subscriber identity card 14 in the mobile terminal 100 may enable LTE access to the eNodeB 101 using the second modem 21 in the external device 200. In the embodiment of the present invention, the USB multiplexes three data channels, which are respectively used for interaction of user data, signaling data, and SIM card authentication data between the first application processor 10 and the second application processor 20.
The first modem 11 and the second modem 21 include protocol stacks of various network systems for network interaction, and the protocol stacks include protocol codes specified in Communication standards such as LTE/WCDMA (Wideband Code Division Multiple Access)/GSM (Global System for Mobile Communication)/TD-SCDMA (time Division-Synchronous Code Division Multiple Access, Synchronous time Division Multiple Access)/CDMA (Code Division Multiple Access )/EDGE (Enhanced Data Rate for GSM evolution technology). The mobile terminal 100 interacts with the operator network through a protocol, that is, data traffic internet access, volte (voice Over lte) call or CS (Circuit Switched) call is performed. The first modem 11 and the second modem 21 are also used for management of SIM cards and the like.
In the embodiment of the present invention, the first radio frequency module 12 is configured to process data transmitted by the mobile terminal 100 and then transmit the processed data to the eNodeB 101 (base station network), and is configured to process data transmitted by the eNodeB 101 and then transmit the processed data to the mobile terminal 100. The second rf module 22 is configured to process data transmitted by the external device 200 and transmit the processed data to the eNodeB 101 (base station network), and is configured to process data transmitted by the eNodeB 101 and transmit the processed data to the external device 200.
The first and second subscriber identification cards 13 and 14 are used to provide relevant data required for mobile communication services (CS voice service, PS data service, and PS voice service), and store subscriber information, short messages, perform authentication algorithms, generate encryption keys, and the like therein.
The first subscriber identity card 13 and the second subscriber identity card 14 may manage different subscribers associated with different or the same technical standards. In a particular non-limiting example, the technology standard may be a 2G communication technology, e.g., GSM, EDGE, a 3G communication technology (e.g., WCDMA, TD-SCDMA), a 4G communication technology (e.g., LTE), or any other mobile communication technology (e.g., 4G, etc.). The first and second subscriber identification cards 13, 14 are preferably SIMs.
When the first subscriber identity card 13 and the second subscriber identity card 14 interact with the mobile terminal 100, a signal for detecting the presence of the subscriber identity card is generated only at the instant of power-on, and when the presence of the subscriber identity card is not detected at power-on, a prompt of "inserting the subscriber identity card" is given. After the mobile terminal is powered on, the mobile terminal and the subscriber identity card are communicated once in 28 seconds, and some fixed communication checks (e.g., whether the subscriber identity card is in place, etc.) are completed.
In the embodiment of the present invention, the technical standards managed by the first subscriber identity card 13 and the second subscriber identity card 14 are both LTE standards, and the radio access technology related to the first radio frequency module 12 and the second radio frequency module 22 is LTE. When the mobile terminal 100 is not connected to the external device 200 through the USB, the first subscriber identity module 13 corresponds to the GSM technology standard for performing voice communication, and the second subscriber identity module 14 supports LTE through the first modem 11 for performing data access through the 4G network. When the mobile terminal 100 is connected to the external device 200 through the USB, the first subscriber identity card 13 may support LTE through the second modem 21 in the external device 200, and the second subscriber identity card 14 supports LTE through the first modem 11, so that the mobile terminal 100 may support dual LTE.
Referring to fig. 3, fig. 3 is a schematic structural diagram of the entity of the communication connection between the mobile terminal 100 and the external device 200 according to the present invention. The mobile terminal 100 is communicatively connected to the external device 200 through the USB 300, wherein the mobile terminal includes, but is not limited to, a mobile phone, a PC (Personal Computer) or a PAD (Personal Digital Assistant), and the external device 200 includes, but is not limited to, a wireless internet card and a data card. It should be noted that the connection position of the mobile terminal 100 and the external device 200 through the USB 300 is not limited to that shown in fig. 3, and the connection position of the mobile terminal 100 and the external device 200 through the USB 300 may be set according to specific needs.
Based on the above LTE network architecture diagram, the hardware structure diagrams of the mobile terminal 100 and the external device 200, and the entity structure diagrams, various embodiments of the present invention are provided.
In this embodiment, referring to fig. 2, the data transmission system includes a mobile terminal 100, an external device 200, and a controller (not shown in the figure), where the mobile terminal 100 is connected to the external device 200 through a serial port 300 such as a USB, the mobile terminal 100 includes a first processing chip 001, a first rf module 12, a first subscriber identity module 13, and a second subscriber identity module 14, which are respectively connected to the first processing chip 001, where the first processing chip 001 includes a first modem 11, a first application processor 10, and an RPM15, and the first modem 11 is respectively connected to the first subscriber identity module 13 and the second subscriber identity module 14. The external device 200 includes a second processing chip 002 and a second rf module 22 connected to the second processing chip 002, where the second processing chip 002 includes a second application processor 20 and a second modem 21.
In this embodiment, as shown in fig. 2, the first application processor 10 and the second application processor 20 communicate with each other via USB, and the USB adopts a two-wire design: TX (transmit) and RX (receive). In order to ensure the communication function of the dual LTE, the first application processor 10 and the second application processor 20 are always in an operating state, and when there is data to be transmitted, the driving interface of the TX is directly called to transmit the data. The RPM15 of the mobile terminal 100 manages a plurality of subsystems, each of which includes a first application processor 10, a first modem 11, a PRONTO (WIFI \ bluetooth, NFC, etc.), a Low power audio subsystem (LPASS), when the first application processor 10 and the second application processor 20 are in an operating state, clock resources (clk1, clk2) used on the USB are always occupied and cannot be released, so that the first application processor 10 and the second application processor 20 cannot enter a sleep state, although the sleep state of the RPM is determined by the respective subsystem votes, as long as the first application processor 10 and the second application processor 20 are not in sleep, the application processors cast a vote against the sleep, so that the entire system cannot sleep, and the entire mobile terminal 100 cannot sleep. Thus, the power consumption of the mobile terminal is always high, and the user experience is reduced.
Further, the serial port includes a USB serial port, and the first application processor 10 and the second application processor 20 are connected through the USB serial port. The first application processor 10 has a first clock resource, the second application processor 20 has a specific second clock resource, and when the first application processor 10 and the second application processor 20 are in a working state, the USB serial port occupies the first clock resource and/or the second clock resource; when the first application processor 10 and the second application processor 20 are in the sleep state, the USB serial port releases the first clock resource and/or the second clock resource.
The controller is configured to acquire a data transmission state on a serial port between the first application processor 10 and the second application processor 20 of the mobile terminal 100, release clock resources on the serial port if it is detected within a predetermined time, for example, 500ms, that the data transmission state is no data transmission on the USB serial port, and control the first application processor 10 and the second application processor 20 to enter a sleep state when a preset condition is met.
The specific detection mechanism for whether data transmission exists on the serial port is as follows:
each subsystem of the mobile terminal 100 reports resource demand to the RPM15, and the RPM15 comprehensively evaluates the demand for resources according to each subsystem, determines energy-consuming devices that can be turned off and on, and performs corresponding control. Specifically, between the first application processor 10 and the second application processor 20 of the sleep control system, the wake-up, status notification and USB communication between the two application processors are mainly performed through the USB serial port.
By detecting the data transceiving state of the USB serial port between the first application processor 10 and the second application processor 20, if no data is detected within a predetermined time, for example, 500ms, it indicates that there is no data transmission on the USB serial port within 500ms, and at this time, the clock resources (clk1 and clk2) of the first application processor 10 and the second application processor 20 on the USB serial port may be released, so that the RPM15 is controlled to enter the sleep state through the arbitration mechanism. The clock on the USB serial port is used for keeping the front and back synchronization of data transmission, controlling the time precision in the dormancy awakening process and keeping the synchronization with the clock of the system, and the clock is contained in a serial port driving layer to run.
Further, the USB serial drivers of the first application processor 10 and the second application processor 20 have a function of controlling data transmission and reception. When data needs to be received and transmitted, the corresponding function interface is called, that is, whether data is received and transmitted is detected only by detecting whether the function interface is called within a preset time period. The first application processor 10 and the second application processor 20 both perform the detection operation, because both application processors need to decide whether they should go to sleep through the detection mechanism.
The USB serial port between the first application processor 10 and the second application processor 20 defines a serial port sleep mechanism through a serial port transmission protocol, and a sleep function of the serial port transmission protocol, such as a USB _ POWER _ DOWN () function, supports self sleep. If no data transmission is detected (the function interface is not called) within a preset time such as 500ms, a sleep function of a serial port transmission protocol is called, such as a USB _ POWER _ DOWN () function, the serial port sleep is executed, namely resources occupied by the serial port are released and comprise clock resources, and at the moment, the corresponding modem can sleep.
Since clk1 corresponds to the serial driver of the first application processor 10 and clk2 corresponds to the serial driver of the second application processor 20, the absence of clk1 will result in the first application processor 10 failing to sleep and the absence of clk2 will result in the second application processor 20 failing to sleep. Therefore, the first application processor 10 and the second application processor 20 are independent of each other in terms of control sleep, are not controlled by each other, do not require each other to vote, and execute their respective sleep control programs as long as the above conditions are satisfied.
The specific sleep control sequence may be as follows:
since RPM15 controls the resources of the four subsystems (application processor, modem, PRONTO, and LPASS), all subsystems will need to apply for RPM15 when they need to use the resources. Therefore, each subsystem executes its own sleep program when it is not needed, and votes to RPM15 to say that it is asleep after the subsystem is asleep. When the four subsystems throw the sleep ticket to the RPM15, the RPM15 decides to close the main CPU, and simultaneously, the main CPU also sleeps, and the whole system enters the lowest power consumption. That is, when the sleep control system controls the sleep program, the sequence of the modules entering the sleep is as follows: four subsystems, RPM15, CPU. It is to be understood that the predetermined time is not limited to the specific values listed in the embodiment, and may be changed according to actual requirements, such as the shape and size of the sleep control system, the size of the data card, and other parameters. It should be appreciated that since the first application processor 12 and the second application processor 22 are independent of each other and are not controlled by each other, the controller may be the first application processor 12 or the second application processor 22 when detecting the data transfer state on the USB serial port between the first application processor 12 and the second application processor 22.
Wherein the first application processor 10 and the second application processor 20 each comprise an awake state and a sleep state.
The present invention controls the first application processor 10 and the second application processor 20 to enter the sleep state for performing the sleep state by monitoring that no data is transmitted on the serial port within a predetermined time, for example, 500 ms. Therefore, the dual LTE communication function can be realized, and the sleep state can be started when the sleep control system is in the states of no data receiving and sending such as screen shutdown and the like on the serial port, so that the power consumption of the sleep control system can be greatly reduced.
The present invention also provides a sleep control method of the sleep control system as described above, and referring to fig. 4, in a first embodiment, the sleep control method of the sleep control system includes the following steps:
step S1, acquiring a data transmission state on a serial port between the first application processor 10 and the second application processor 20;
in this embodiment, the data transmission system includes a mobile terminal 100, an external device 200, and a controller (not shown in the figure), the mobile terminal 100 is connected to the external device 200 through a serial port 300, such as a USB, the mobile terminal 100 includes a first processing chip 001, a first radio frequency module 12, a first subscriber identity module 13, and a second subscriber identity module 14, which are respectively connected to the first processing chip 001, wherein the first processing chip 001 includes a first modem 11, a first application processor 10, and an RPM15, and the first modem 11 is respectively connected to the first subscriber identity module 13 and the second subscriber identity module 14. The external device 200 includes a second processing chip 002 and a second rf module 22 connected to the second processing chip 002, where the second processing chip 002 includes a second application processor 20 and a second modem 21. The serial port comprises a USB serial port, and the first application processor 10 and the second application processor 20 are connected through the USB serial port. The first application processor 10 has a first clock resource, the second application processor 20 has a specific second clock resource, and when the first application processor 10 and the second application processor 20 are in a working state, the USB serial port occupies the first clock resource and/or the second clock resource; when the first application processor 10 and the second application processor 20 are in the sleep state, the USB serial port releases the first clock resource and/or the second clock resource.
Step S2, if it is detected that the data transmission state is no data transmission on the serial port within the predetermined time, releasing the clock resource on the serial port, and controlling the first application processor 10 and the second application processor 20 to enter the sleep mode when a preset condition is met.
In this embodiment, a specific detection mechanism for detecting whether there is data transmission on the serial port is as follows:
each subsystem of the mobile terminal 100 reports resource demand to the RPM15, and the RPM15 comprehensively evaluates the demand for resources according to each subsystem, determines energy-consuming devices that can be turned off and on, and performs corresponding control. Specifically, between the first application processor 10 and the second application processor 20 of the sleep control system, the wake-up, status notification and USB communication between the two application processors are mainly performed through the USB serial port.
By detecting the data transceiving state of the USB serial port between the first application processor 10 and the second application processor 20, if no data is detected within a predetermined time, for example, 500ms, it indicates that there is no data transmission on the USB serial port within 500ms, and at this time, the clock resources (clk1 and clk2) of the first application processor 10 and the second application processor 20 on the USB serial port may be released, so that the RPM15 is controlled to enter the sleep state through the arbitration mechanism. The clock on the USB serial port is used for keeping the front and back synchronization of data transmission, controlling the time precision in the dormancy awakening process and keeping the synchronization with the clock of the system, and the clock is contained in a serial port driving layer to run.
Further, the USB serial drivers of the first application processor 10 and the second application processor 20 have a function of controlling data transmission and reception. When data needs to be received and transmitted, the corresponding function interface is called, that is, whether data is received and transmitted is detected only by detecting whether the function interface is called within a preset time period. The first application processor 10 and the second application processor 20 both perform the detection operation, because both application processors need to decide whether they should go to sleep through the detection mechanism.
The USB serial port between the first application processor 10 and the second application processor 20 defines a serial port sleep mechanism through a serial port transmission protocol, and a sleep function of the serial port transmission protocol, such as a USB _ POWER _ DOWN () function, supports self sleep. If no data transmission is detected (the function interface is not called) within a preset time such as 500ms, a sleep function of a serial port transmission protocol is called, such as a USB _ POWER _ DOWN () function, the serial port sleep is executed, namely resources occupied by the serial port are released and comprise clock resources, and at the moment, the corresponding modem can sleep.
Since clk1 corresponds to the serial driver of the first application processor 10 and clk2 corresponds to the serial driver of the second application processor 20, the absence of clk1 will result in the first application processor 10 failing to sleep and the absence of clk2 will result in the second application processor 20 failing to sleep. Therefore, the first application processor 10 and the second application processor 20 are independent of each other in terms of control sleep, are not controlled by each other, do not require each other to vote, and execute their respective sleep control programs as long as the above conditions are satisfied.
The specific sleep control sequence may be as follows:
since RPM15 controls the resources of the four subsystems (application processor, modem, PRONTO, and LPASS), all subsystems will need to apply for RPM15 when they need to use the resources. Therefore, each subsystem executes its own sleep program when it is not needed, and votes to RPM15 to say that it is asleep after the subsystem is asleep. When the four subsystems throw the sleep ticket to the RPM15, the RPM15 decides to close the main CPU, and simultaneously, the main CPU also sleeps, and the whole system enters the lowest power consumption. That is, when the sleep control system controls the sleep program, the sequence of the modules entering the sleep is as follows: four subsystems, RPM15, CPU.
In the second embodiment, referring to fig. 5, on the basis of the first embodiment, the step S1 further includes:
the data transfer status on the USB serial port between the first application processor 10 and the second application processor 20 is detected in real time or at regular time.
Referring to fig. 5, the step further includes:
step S11, detecting the USB serial drivers of the first application processor 10 and the second application processor 20 in real time or at regular time;
step S12, determining whether the USB serial drivers of the first application processor 10 and the second application processor 20 respectively call the corresponding data transceiving function interfaces.
In this embodiment, in order to reduce the power consumption of the sleep control system, it may be determined whether the first application processor 10 and the second application processor 20 need to be controlled to enter the sleep mode according to the operating states of the first application processor 10 and the second application processor 20. Since the first application processor 10 and the second application processor 20 are connected via the USB serial port, whether to sleep or not can be determined by detecting the data transmission state on the USB serial port between the first application processor 10 and the second application processor 20 in a timed or real-time manner.
The USB serial drivers of the first application processor 10 and the second application processor 20 have a function of controlling data transmission and reception. When data needs to be received and transmitted, the corresponding function interface is called, that is, whether data is received and transmitted is detected only by detecting whether the function interface is called within a preset time period. Both the first application processor 10 and the second application processor 20 perform the detection operation because both modems need to decide whether to go to sleep through the detection mechanism.
In a third embodiment, referring to fig. 6, on the basis of the second embodiment, the step S2 further includes:
step S21, if it is detected that the USB serial port drivers of the first application processor 10 and the second application processor 20 are not invoking the corresponding data transceiver function interfaces, releasing the clock resource on the USB serial port;
in this embodiment, the USB serial port between the first application processor 10 and the second application processor 20 defines a serial port sleep mechanism through a serial port transmission protocol, and a sleep function of the serial port transmission protocol, such as a USB _ POWER _ DOWN () function, supports self sleep. If no data transmission is detected (the function interface is not called) within a preset time such as 500ms, a sleep function of a serial port transmission protocol is called, such as a USB _ POWER _ DOWN () function, the serial port sleep is executed, namely resources occupied by the serial port are released and comprise clock resources, and at the moment, the corresponding application processor can sleep.
Since clk1 corresponds to the serial driver of the first application processor 10 and clk2 corresponds to the serial driver of the second application processor 20, the absence of clk1 will result in the first application processor 10 failing to sleep and the absence of clk2 will result in the second application processor 20 failing to sleep. Therefore, the first application processor 10 and the second application processor 20 are independent of each other in terms of control sleep, are not controlled by each other, do not require each other to vote, and execute their respective sleep control programs as long as the above conditions are satisfied.
Step S22, judging whether the first modem, the second modem and other subsystems are in the dormant state;
in this embodiment, when it is detected that there is no data transmission on the USB serial port, the clock resources clk1 and clk2 are released, which is a necessary condition for controlling the first application processor 10 and the second application processor 20 to enter the sleep state, and only when the first modem 11, the second modem 21, and other subsystems, such as PRONTO and LPASS, are in sleep state, and there is no data download in the background, the first application processor 10 and the second application processor 20 will completely enter the sleep state. Therefore, in this embodiment, it is mainly directed to a scheme that when the first modem 11, the second modem 21, and other subsystems are all dormant, and no data is downloaded in the background, only whether there is data transmission on the USB serial port is considered to control whether the first application processor 10 and the second application processor 20 are dormant.
And step S23, if yes, controlling the first application processor and the second application processor to enter the sleep mode.
And step S24, if not, keeping the current running states of the first application processor and the second application processor.
In this embodiment, when the clock resource on the USB serial port is released, the first modem 11, the second modem 21, and other subsystems are all dormant, and no data is downloaded in the background, the first application processor 10 and the second application processor 20 may be controlled to enter the dormant state; on the contrary, even if the clock resource on the USB serial port is released, but the first modem 11, the second modem 21, and other subsystems are not dormant, or data is still downloaded in the background, the first application processor 10 and the second application processor 20 may be controlled to maintain the current running state.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A dormancy control system is characterized by comprising a mobile terminal, an external device and a controller, wherein the mobile terminal is connected with the external device through a serial port, the external device comprises a wireless network card or a data card, the mobile terminal comprises a first modem and a first application processor, the first modem is connected with a first user identification card and a second user identification card respectively, and the external device comprises a second application processor and a second modem;
the controller is used for acquiring a data transmission state on a serial port between a first application processor and a second application processor of the mobile terminal; and if the data transmission state is detected to be no data transmission on the serial port within the preset time, releasing clock resources on the serial port, and controlling the first application processor and the second application processor to enter the dormancy state when a preset condition is met.
2. The sleep control system of claim 1, wherein the serial port is a USB serial port.
3. The sleep control system of claim 2, wherein the first application processor and the second application processor are connected via a USB serial port.
4. The sleep control system as claimed in claim 2, wherein the first application processor has a first clock resource thereon, the second application processor has a specific second clock resource thereon, and when the first application processor and/or the second application processor are in an operating state, the USB serial port occupies the first clock resource and/or the second clock resource; and when the first application processor and/or the second application processor are in a dormant state, the USB serial port releases the first clock resource and/or the second clock resource.
5. A sleep control method of a sleep control system as claimed in any one of claims 1 to 4, characterized in that the sleep control method of the sleep control system comprises the steps of:
acquiring a data transmission state on a serial port between a first application processor and a second application processor;
and if the data transmission state is detected to be no data transmission on the serial port within the preset time, releasing clock resources on the serial port, and controlling the first application processor and the second application processor to enter the dormancy when a preset condition is met.
6. The sleep control method of the sleep control system as claimed in claim 5, wherein the step of acquiring the data transmission state on the serial port between the first application processor and the second application processor of the mobile terminal further comprises:
and detecting the data transmission state on the USB serial port between the first application processor and the second application processor of the mobile terminal in real time or at regular time.
7. The sleep control method of claim 6, wherein the step of detecting the data transmission state on the USB serial port between the first application processor and the second application processor of the mobile terminal in real time or at regular time comprises:
and detecting respective USB serial port drivers of a first application processor and a second application processor of the mobile terminal in real time or at regular time, and judging whether the respective USB serial port drivers of the first application processor and the second application processor call corresponding data transceiving function interfaces or not.
8. The sleep control method of claim 7, wherein the step of releasing the clock resource on the serial port and controlling the first application processor and the second application processor to enter into sleep when a preset condition is met if the data transmission state is detected as no data transmission on the serial port within a preset time comprises:
if the first application processor and the second application processor are detected to be driven by respective USB serial ports and do not transfer corresponding data receiving and transmitting function interfaces, releasing clock resources on the USB serial ports;
judging whether the first modem, the second modem and other sub-subsystems are in a dormant state or not;
and if so, controlling the first application processor and the second application processor to enter the dormancy.
9. The sleep control method of claim 8, wherein the step of determining whether the first modem, the second modem, and other subsystems are in the sleep state further comprises:
and if not, keeping the current running states of the first application processor and the second application processor.
CN201710203056.0A 2017-03-30 2017-03-30 Dormancy control system and dormancy control method thereof Active CN106900043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710203056.0A CN106900043B (en) 2017-03-30 2017-03-30 Dormancy control system and dormancy control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710203056.0A CN106900043B (en) 2017-03-30 2017-03-30 Dormancy control system and dormancy control method thereof

Publications (2)

Publication Number Publication Date
CN106900043A CN106900043A (en) 2017-06-27
CN106900043B true CN106900043B (en) 2020-08-21

Family

ID=59193366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710203056.0A Active CN106900043B (en) 2017-03-30 2017-03-30 Dormancy control system and dormancy control method thereof

Country Status (1)

Country Link
CN (1) CN106900043B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277907B (en) * 2017-07-31 2020-11-27 泾县谷声信息科技有限公司 Mobile terminal and control method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202696911U (en) * 2012-05-25 2013-01-23 深圳市江波龙电子有限公司 Wireless communication system and wireless communication expansion device
CN105722059A (en) * 2016-01-28 2016-06-29 努比亚技术有限公司 Mobile terminal and communication method for double-modem system
CN106535307A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Serial port sleeping method and terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546353B (en) * 2013-11-05 2016-08-24 英华达(南京)科技有限公司 Support the vehicle-mounted networking advertisement machine of dual-network and dual-standby 4G LTE wireless routing
CN106450657B (en) * 2015-08-09 2023-09-08 希姆通信息技术(上海)有限公司 LTE data card
CN105828362B (en) * 2016-01-28 2019-11-05 努比亚技术有限公司 Network signal enhancement device and method
CN106535306B (en) * 2016-10-31 2019-10-29 努比亚技术有限公司 A kind of dormancy control method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202696911U (en) * 2012-05-25 2013-01-23 深圳市江波龙电子有限公司 Wireless communication system and wireless communication expansion device
CN105722059A (en) * 2016-01-28 2016-06-29 努比亚技术有限公司 Mobile terminal and communication method for double-modem system
CN106535307A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Serial port sleeping method and terminal

Also Published As

Publication number Publication date
CN106900043A (en) 2017-06-27

Similar Documents

Publication Publication Date Title
CN105306681B (en) Management method and device supporting multiple SIM cards to share RF processor
CN110677900B (en) Paging processing method and related device
EP3644670B1 (en) Signal transmission method and related device
CN107277907B (en) Mobile terminal and control method thereof
CN107087269B (en) Mobile terminal and data transmission method thereof
CN106900043B (en) Dormancy control system and dormancy control method thereof
CN106900044B (en) Mobile terminal and dormancy control method thereof
CN106953984B (en) Data transmission system and method
CN107087057B (en) Data transmission system and method
CN107087062B (en) Data transmission system and method
CN107087054B (en) Dormancy control system and dormancy control method thereof
CN107018560B (en) Data transmission system and method
CN107094317B (en) Data transmission system and method
CN107087064B (en) Mobile terminal and data transmission method thereof
CN106953983B (en) Data transmission system and method
CN107071165B (en) Data transmission system and method
CN106961719B (en) Data transmission system and method
CN107087061B (en) Data transmission system and method
CN106900048B (en) Data transmission system and method
CN106900046B (en) Data transmission system and method
CN107087059B (en) Data transmission system and method
CN106900049B (en) Mobile terminal and data transmission method thereof
CN106961718B (en) Data transmission system and method
CN107094316B (en) Mobile terminal and data transmission method thereof
CN107087063B (en) Data transmission system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant