CN106535305B - Dormancy control method and terminal - Google Patents

Dormancy control method and terminal Download PDF

Info

Publication number
CN106535305B
CN106535305B CN201610930852.XA CN201610930852A CN106535305B CN 106535305 B CN106535305 B CN 106535305B CN 201610930852 A CN201610930852 A CN 201610930852A CN 106535305 B CN106535305 B CN 106535305B
Authority
CN
China
Prior art keywords
modem
serial port
battery
data
terminal
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.)
Expired - Fee Related
Application number
CN201610930852.XA
Other languages
Chinese (zh)
Other versions
CN106535305A (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.)
Shenzhen Junli Xinda Technology Co ltd
Original Assignee
Shenzhen Junli Xinda 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 Shenzhen Junli Xinda Technology Co ltd filed Critical Shenzhen Junli Xinda Technology Co ltd
Priority to CN201610930852.XA priority Critical patent/CN106535305B/en
Publication of CN106535305A publication Critical patent/CN106535305A/en
Application granted granted Critical
Publication of CN106535305B publication Critical patent/CN106535305B/en
Expired - Fee Related 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/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/0277Power 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 according to available power supply, e.g. switching off when a low battery condition is detected
    • 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
    • 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

Abstract

The invention discloses a dormancy control method and a terminal, comprising the following steps: a serial port is arranged between a first modem and a second modem, wherein the first modem is connected with a first communication card and a second communication card, and the second modem can acquire network authentication data of the second communication card from the first modem through the serial port; acquiring the electric quantity of a battery, and judging whether the electric quantity of the battery is lower than a preset threshold value or not; and when the electric quantity of the battery is lower than a preset threshold value, controlling the serial port to be in a dormant state, so that the second modem is dormant.

Description

Dormancy control method and terminal
Technical Field
The present invention relates to the field of multimode communication, and in particular, to a sleep control method and a terminal.
Background
With the development of mobile communication technology, advanced cellular networks are being deployed around the world. Due to the introduction of the key technologies such as Orthogonal Frequency Division Multiplexing (OFDM) and multiple-Input multiple-Output (MIMO), the spectrum efficiency and the data transmission rate can be significantly increased by using the 4G related standard.
On the other hand, while improving network rate and frequency band utilization, the presence of a multimode terminal (a terminal with two subscriber identity modules, e.g., a dual-card dual-pass terminal) enables a user to establish a data service link while implementing a voice service standby.
However, the conventional terminal can only implement one Subscriber Identity Module (SIM) card as a main card for data service and voice service, and the other SIM card can only implement voice service standby, for which, a dual L communication architecture is proposed, and referring to fig. 3, in order to implement the dual L communication architecture, a Modem (Modem)2 is newly added to the original architecture, and the added Modem2 communicates with the Modem1 through a serial port (UART, universal asynchronous Receiver/Transmitter in the figure).
As shown in fig. 3, the SIM1 is used for internet access and telephone calls, and its services are supported by the Modem 1; before adding the Modem2, the SIM2 can only make calls through the Modem 1; after the Modem2 is added, the Modem2 reads the network authentication data of the SIM2 from the Modem1 through the serial port, and supports the network authentication data of the SIM2 through the Modem2, that is, supports the data service of the SIM2 through the Modem 2. The user data and signaling data in the Modem2 interact directly with the Application Processor (AP) through a Universal Serial Bus (USB) channel. Thus, the AP can simultaneously receive the internet access data of the SIM1 and the SIM 2. At this time, the data routing layer of the kernel layer performs algorithm processing, so that the APP internet surfing (whether downloading or uploading) can be performed through the SIM1 and the SIM2 at the same time.
In the dual L communication architecture, the Modem1 and the Modem2 both have the problem of being unable to sleep, which results in the problems of large power consumption and shortened endurance time of the terminal, and furthermore, the Modem2 is further unable to sleep adaptively according to the current battery power of the terminal.
Disclosure of Invention
In order to solve the above technical problem, embodiments of the present invention provide a sleep control method and a terminal.
The sleep control method provided by the embodiment of the invention comprises the following steps:
a serial port is arranged between a first modem and a second modem, wherein the first modem is connected with a first communication card and a second communication card, and the second modem can acquire network authentication data of the second communication card from the first modem through the serial port;
acquiring the electric quantity of a battery, and judging whether the electric quantity of the battery is lower than a preset threshold value or not;
and when the electric quantity of the battery is lower than a preset threshold value, controlling the serial port to be in a dormant state, so that the second modem is dormant.
In the embodiment of the present invention, the controlling the serial port to be in a dormant state includes:
and controlling the clock of the serial port to be in a dormant state, so that the serial port is in the dormant state.
In the embodiment of the present invention, the method further includes:
setting a threshold for the battery.
In the embodiment of the present invention, the controlling the serial port to be in a dormant state includes:
and the data access layer of the serial port informs the hardware abstraction layer of driving the clock of the serial port to be in a dormant state.
In the embodiment of the invention, the first modem supports the data service and the voice service of the first communication card and supports the voice service of the second communication card;
the second modem supports data traffic of the second communications card.
The terminal provided by the embodiment of the invention comprises:
the serial port unit is used for setting a serial port between a first modem and a second modem, wherein the first modem is connected with a first communication card and a second communication card, and the second modem can acquire network authentication data of the second communication card from the first modem through the serial port;
the judging unit is used for acquiring the electric quantity of the battery and judging whether the electric quantity of the battery is lower than a preset threshold value or not;
and the control unit is used for controlling the serial port to be in a dormant state when the electric quantity of the battery is lower than a preset threshold value, so that the second modem is dormant.
In an embodiment of the present invention, the control unit is specifically configured to: and controlling the clock of the serial port to be in a dormant state, so that the serial port is in the dormant state.
In the embodiment of the present invention, the terminal further includes:
a setting unit for setting a threshold for the battery.
In an embodiment of the present invention, the control unit is specifically configured to: and informing a hardware abstraction layer of driving a clock of the serial port to be in a dormant state through a data access layer of the serial port.
In the embodiment of the invention, the first modem supports the data service and the voice service of the first communication card and supports the voice service of the second communication card;
the second modem supports data traffic of the second communications card.
In the technical scheme of the embodiment of the invention, a serial port is arranged between a first modem and a second modem, wherein the first modem is connected with a first communication card and a second communication card, and the second modem can acquire network authentication data of the second communication card from the first modem through the serial port; acquiring the electric quantity of a battery, and judging whether the electric quantity of the battery is lower than a preset threshold value or not; and when the electric quantity of the battery is lower than a preset threshold value, controlling the serial port to be in a dormant state, so that the second modem is dormant. By adopting the technical scheme of the embodiment of the invention, the serial port between the Modem1 and the Modem2 can be flexibly controlled to sleep according to the current applied battery power of the terminal, so that the Modem2 is made to sleep, the power consumption of the terminal is reduced, and the endurance time of the terminal is prolonged.
Drawings
Fig. 1 is a schematic hardware configuration diagram of an alternative mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a diagram of a dual L communication architecture;
FIG. 4 is an architecture diagram of the Modem2 reading the network authentication data of the SIM2 from the Modem 1;
FIG. 5 is a block diagram of a serial driver layer according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating a voting mechanism according to an embodiment of the present invention;
FIG. 7 is a first flowchart illustrating a sleep control method according to an embodiment of the present invention;
FIG. 8 is a flowchart illustrating a sleep control method according to a second embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the description of the embodiments of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the embodiments of the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a navigation device, and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an audio/video (a/V) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives broadcast signals and/or broadcast related information from an external broadcast management server via a broadcast channel, which may include a Satellite channel and/or a Terrestrial channel, or a server that receives and transmits previously generated broadcast signals and/or broadcast related information to a terminal, the broadcast signals may include TV broadcast signals, radio broadcast signals, data broadcast signals, and the like, and the broadcast signals may further include broadcast signals combined with the TV or radio broadcast signals, the broadcast related information may also be provided via a mobile communication network, and in this case, the broadcast related information may be received by the mobile communication module 112, the broadcast signals may exist in various forms, for example, they may exist in an Electronic Program Guide (EPG, Electronic Program Guide) of Digital Multimedia Broadcasting (DMB), Digital Video Broadcasting Handheld (EPG-H, Digital Video Broadcasting-Broadcasting) and the like, may be received by various types of Digital broadcast receiving systems such as a Digital broadcast system (DVB-Digital broadcast system) and Multimedia broadcast receiving system, such as a broadcast system, a Multimedia broadcast receiving system, a Digital broadcast system, a broadcast receiving system, and the like, and may be constructed using various types of Digital broadcast Media broadcast receiving systems such as a Satellite-broadcast system, a Digital broadcast receiving system, a Digital broadcast receiving system, a broadcast system, and a broadcast receiving system, and a broadcast system, and a terminal.
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The Wireless internet Access technology to which the module refers may include a Wireless local Area network (Wi-Fi, W L AN, Wireless L environmental Networks), a Wireless broadband (Wireless), a worldwide interoperability for microwave Access (Wimax), a High Speed Downlink Packet Access (HSDPA), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetooth, Radio Frequency Identification (RFID), infrared data Association (IrDA), Ultra Wideband (UWB), zigbee, and the like.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the position information module is a Global Positioning System (GPS). According to the current technology, the location information module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the position information module 115 can calculate the speed information by continuously calculating the current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device. The sensing unit 140 may include a proximity sensor 141.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification Module may store various information for authenticating a User using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the Display unit 151 and the touch pad are overlapped with each other in the form of a layer TO form a touch screen, the Display unit 151 may be used as an input device and an output device the Display unit 151 may include at least one of a liquid crystal Display (L CD, &lttttranslation = L "&tttl &ltt/t &gttiquid crystal Display), a Thin Film Transistor L CD (TFT-L CD, Thin Film Transistor-L CD), an Organic light Emitting Diode (O L ED, Organic L ig-Emitting Diode) Display, a flexible Display, a three-dimensional (3D) Display, etc. some of these displays may be configured in a transparent shape TO allow a user TO view from the outside, which may be referred TO as a transparent Display, a typical transparent Display may be, for example, a transparent Organic light Emitting Diode (TO L) Display, etc. according TO a specific intended embodiment, the mobile terminal 100 may include two or more Display units (TO show a touch input area, and other Display devices may be used for detecting a touch input pressure, such as a touch screen Display device (not shown).
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (communicating communication) is received, the alarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs or the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, etc.) that has been output or is to be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The Memory 160 may include at least one type of storage medium including a flash Memory, a hard disk, a multimedia card, a card-type Memory (e.g., SD or DX Memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic Memory, a magnetic disk, an optical disk, etc. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable logic Device (P L D, a Programmable L analog Device), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, in some cases such an implementation may be implemented in the controller 180. for a software implementation, implementations such as a process or function may be implemented with a separate software module that allows at least one function or operation to be performed.A suitable software code may be stored in any suitable memory 160 and executed by the Application program 180.
Up to now, the mobile terminal has been described in terms of its functions. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to an embodiment of the present invention is operable will now be described with reference to fig. 2.
For example, the air interfaces used by the communication systems include, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile communication System (UMTS) (in particular, Long Term Evolution (L TE, &lTtTtranslation = L "&lTt/T &gTtong Evolution), Global System for Mobile communications (GSM), etc. As non-limiting examples, the following description relates to CDMA communication systems, although such teachings are equally applicable to other types of systems.
Referring to fig. 2, a CDMA wireless communication system may include a plurality of Mobile terminals 100, a plurality of Base Stations (BSs) 270, a Base Station Controller (BSC) 275, and a Mobile Switching Center (MSC) 280, the MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290, the MSC280 is also configured to interface with the BSC275, which may be coupled to the Base stations 270 via backhaul lines, the backhaul lines may be configured according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame relay, HDS L, ADS L, or xDS L, it will be understood that the system as shown in fig. 2 may include a plurality of BSCs 275.
Each BS 270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS 270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS 270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each partition of a particular BS 270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT) 295 transmits a Broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several satellites 300 are shown, for example, Global Positioning System (GPS) satellites 300 may be employed. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The location information module 115 as shown in fig. 1 is generally configured to cooperate with the satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS 270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS 270 to transmit forward link signals to the mobile terminal 100.
The mobile communication module 112 of the wireless communication unit 110 in the mobile terminal accesses the mobile communication network based on the necessary data (including the user identification information and the authentication information) of the mobile communication network (such as the mobile communication network of 2G/3G/4G, etc.) built in the mobile terminal, so as to transmit the mobile communication data (including the uplink mobile communication data and the downlink mobile communication data) for the services of web browsing, network multimedia playing, etc. of the mobile terminal user.
The wireless internet module 113 of the wireless communication unit 110 implements a function of a wireless hotspot by operating a related protocol function of the wireless hotspot, the wireless hotspot supports access by a plurality of mobile terminals (any mobile terminal other than the mobile terminal), transmits mobile communication data (including uplink mobile communication data and downlink mobile communication data) for mobile terminal user's services such as web browsing, network multimedia playing, etc. by multiplexing the mobile communication connection between the mobile communication module 112 and the mobile communication network, since the mobile terminal essentially multiplexes the mobile communication connection between the mobile terminal and the communication network for transmitting mobile communication data, the traffic of mobile communication data consumed by the mobile terminal is charged to the communication tariff of the mobile terminal by a charging entity on the side of the communication network, thereby consuming the data traffic of the mobile communication data included in the communication tariff contracted for use by the mobile terminal.
Based on the above hardware structure of the mobile terminal 100 and the communication system, various embodiments of the method of the present invention are proposed.
In the dual L communication architecture shown in fig. 3, both the Modem1 and the Modem2 have a problem of being unable to sleep, which may cause a large power consumption of the terminal overall, and the reason why both the Modem1 and the Modem2 are unable to sleep is that the serial port between the Modem1 and the Modem2 is unable to sleep, for this reason, the embodiment of the present invention proposes a serial port sleep scheme, which sleeps the serial port by sleeping a clock in the serial port.
Referring to fig. 4, fig. 4 is an architecture diagram of the Modem2 reading the network authentication data of the SIM2 from the Modem1, the left side of fig. 4 is the Modem2, the right side of fig. 4 is the Modem1, the Modem2 and the Modem1 communicate with each other via a UART serial port, and specifically, the Modem2 reads the network authentication data of the SIM2 from the Modem1 via the UART serial port.
For this reason, the embodiment of the present invention processes the UART driver layer in fig. 4, specifically, referring to fig. 5, fig. 5 is a framework diagram of the serial driver layer according to the embodiment of the present invention, wherein the framework of the serial driver layer includes a Data Access layer (DA L, Data Access L eye), a Hardware Abstraction layer (HA L, Hardware Abstraction L eye), and a Hardware (HW) layer, in an example, an N second (e.g., N is 5) timer may be set in the Data Access layer, and the Data Access layer may detect whether there is Data transmission in the current serial port, and if there is Data transmission, the serial port may remain in a transmission state without hibernation, and if there is no Data transmission, the Data Access layer notifies the Hardware Abstraction layer to drive the Hardware layer to call a power down mode supported by the serial port itself, so that the clock is in the sleep mode, which the serial port is also referred to as a power saving mode.
In the embodiment of the invention, the dormancy of the terminal (namely the dormancy of the CPU) adopts a voting mechanism, referring to fig. 6, the dormancy of the CPU is controlled by RPM, one NPA is a voting node, and when all the specified NPAs vote to dormancy, the RPM decides to enable the CPU to sleep, so that when the serial port in the embodiment of the invention sleeps, a vote is cast, and after other modules vote normally without problems, the CPU sleeps.
Fig. 7 is a first flowchart illustrating a sleep control method according to an embodiment of the present invention, and as shown in fig. 7, the sleep control method includes the following steps:
step 701: the method comprises the steps that a serial port is arranged between a first modem and a second modem, wherein the first modem is connected with a first communication card and a second communication card, and the second modem can acquire network authentication data of the second communication card from the first modem through the serial port.
In the embodiment of the invention, the first modem supports the data service and the voice service of the first communication card and supports the voice service of the second communication card; the second modem supports data traffic of the second communications card.
Referring to fig. 3, the first Modem is a Modem1, the second Modem is a Modem2, and the serial port between the first Modem and the second Modem is a UART. The first communication card is a SIM1 and the second communication card is a SIM 2.
As shown in fig. 3, the SIM1 is used for internet access and telephone calls, and its services are supported by the Modem 1; before adding the Modem2, the SIM2 can only make calls through the Modem 1; after the Modem2 is added, the Modem2 reads the network authentication data of the SIM2 from the Modem1 through the serial port, and supports the network authentication data of the SIM2 through the Modem2, that is, supports the data service of the SIM2 through the Modem 2. The user data and the signaling data in the Modem2 directly interact with the AP through the USB channel. Thus, the AP can simultaneously receive the internet access data of the SIM1 and the SIM 2. At this time, the data routing layer of the kernel layer performs algorithm processing, so that the APP internet surfing (whether downloading or uploading) can be performed through the SIM1 and the SIM2 at the same time.
Step 702: acquiring the electric quantity of a battery, and judging whether the electric quantity of the battery is lower than a preset threshold value.
In the embodiment of the present invention, not all cases require the first modem and the second modem to be in an operating state, and when the battery power of the terminal is lower than the threshold, the second modem may be actively set to a sleep state in order to reduce power consumption and prolong the service time.
Based on this, the amount of power of the battery needs to be acquired. And if the electric quantity of the battery is not lower than the preset threshold value, continuously keeping the serial port between the first modem and the second modem in a working state, and simultaneously keeping the second modem in the working state. On the contrary, if the electric quantity of the battery is lower than the preset threshold, the serial port between the first modem and the second modem needs to be controlled to be in a dormant state, and the second modem is also controlled to be in the dormant state, so that the power consumption of the terminal can be saved, and the duration of the terminal in a cruising mode can be prolonged.
Step 703: and when the electric quantity of the battery is lower than a preset threshold value, controlling the serial port to be in a dormant state, so that the second modem is dormant.
In the embodiment of the present invention, controlling the serial port to be in the dormant state means: and controlling the clock of the serial port to be in a dormant state, so that the serial port is in the dormant state.
Referring to fig. 5, the serial driver layer of the serial port includes: the device comprises a data access layer, a hardware abstraction layer and a hardware layer, wherein the data access layer informs the hardware abstraction layer that a clock driving the serial port is in a dormant state.
By adopting the technical scheme of the embodiment of the invention, the serial port between the Modem1 and the Modem2 can be flexibly controlled to sleep according to the current battery power of the terminal, so that the Modem2 is made to sleep, the power consumption of the terminal is reduced, and the endurance time of the terminal is prolonged.
Fig. 8 is a second flowchart illustrating a sleep control method according to an embodiment of the present invention, and as shown in fig. 8, the sleep control method includes the following steps:
step 801: the method comprises the steps that a serial port is arranged between a first modem and a second modem, wherein the first modem is connected with a first communication card and a second communication card, and the second modem can acquire network authentication data of the second communication card from the first modem through the serial port.
In the embodiment of the invention, the first modem supports the data service and the voice service of the first communication card and supports the voice service of the second communication card; the second modem supports data traffic of the second communications card.
Referring to fig. 3, the first Modem is a Modem1, the second Modem is a Modem2, and the serial port between the first Modem and the second Modem is a UART. The first communication card is a SIM1 and the second communication card is a SIM 2.
As shown in fig. 3, the SIM1 is used for internet access and telephone calls, and its services are supported by the Modem 1; before adding the Modem2, the SIM2 can only make calls through the Modem 1; after the Modem2 is added, the Modem2 reads the network authentication data of the SIM2 from the Modem1 through the serial port, and supports the network authentication data of the SIM2 through the Modem2, that is, supports the data service of the SIM2 through the Modem 2. The user data and the signaling data in the Modem2 directly interact with the AP through the USB channel. Thus, the AP can simultaneously receive the internet access data of the SIM1 and the SIM 2. At this time, the data routing layer of the kernel layer performs algorithm processing, so that the APP internet surfing (whether downloading or uploading) can be performed through the SIM1 and the SIM2 at the same time.
Step 802: setting a threshold for the battery.
In the embodiment of the invention, the threshold value of the battery can be set by default when the terminal leaves a factory, the terminal can also provide a setting interface for a user, the user sets the threshold value according to the requirement, and the set threshold value can be flexibly adjusted according to different scenes.
Step 803: acquiring the electric quantity of a battery, and judging whether the electric quantity of the battery is lower than a preset threshold value.
In the embodiment of the present invention, not all cases require the first modem and the second modem to be in an operating state, and when the battery power of the terminal is lower than the threshold, the second modem may be actively set to a sleep state in order to reduce power consumption and prolong the service time.
Based on this, the amount of power of the battery needs to be acquired. And if the electric quantity of the battery is not lower than the preset threshold value, continuously keeping the serial port between the first modem and the second modem in a working state, and simultaneously keeping the second modem in the working state. On the contrary, if the electric quantity of the battery is lower than the preset threshold, the serial port between the first modem and the second modem needs to be controlled to be in a dormant state, and the second modem is also controlled to be in the dormant state, so that the power consumption of the terminal can be saved, and the duration of the terminal in a cruising mode can be prolonged.
Step 804: and when the electric quantity of the battery is lower than a preset threshold value, controlling the serial port to be in a dormant state, so that the second modem is dormant.
In the embodiment of the present invention, controlling the serial port to be in the dormant state means: and controlling the clock of the serial port to be in a dormant state, so that the serial port is in the dormant state.
Referring to fig. 5, the serial driver layer of the serial port includes: the device comprises a data access layer, a hardware abstraction layer and a hardware layer, wherein the data access layer informs the hardware abstraction layer that a clock driving the serial port is in a dormant state.
By adopting the technical scheme of the embodiment of the invention, the serial port between the Modem1 and the Modem2 can be flexibly controlled to sleep according to the current battery power of the terminal, so that the Modem2 is made to sleep, the power consumption of the terminal is reduced, and the endurance time of the terminal is prolonged.
Fig. 9 is a schematic structural composition diagram of a terminal according to an embodiment of the present invention, as shown in fig. 9:
in a first embodiment of the present invention, the terminal includes:
a serial port unit 901, configured to set a serial port between a first modem and a second modem, where the first modem is connected to a first communication card and a second communication card, and the second modem can obtain network authentication data of the second communication card from the first modem through the serial port;
a determining unit 902, configured to obtain an electric quantity of a battery, and determine whether the electric quantity of the battery is lower than a preset threshold;
the control unit 903 is configured to control the serial port to be in a sleep state when the electric quantity of the battery is lower than a preset threshold, so that the second modem sleeps.
In a second embodiment of the present invention, the terminal includes:
a serial port unit 901, configured to set a serial port between a first modem and a second modem, where the first modem is connected to a first communication card and a second communication card, and the second modem can obtain network authentication data of the second communication card from the first modem through the serial port;
a determining unit 902, configured to obtain an electric quantity of a battery, and determine whether the electric quantity of the battery is lower than a preset threshold;
the control unit 903 is configured to control the serial port to be in a sleep state when the electric quantity of the battery is lower than a preset threshold, so that the second modem sleeps.
The control unit 903 is specifically configured to: and controlling the clock of the serial port to be in a dormant state, so that the serial port is in the dormant state.
The terminal further comprises: a setting unit 904 for setting a threshold for the battery.
The control unit 903 is specifically configured to: and informing a hardware abstraction layer of driving a clock of the serial port to be in a dormant state through a data access layer of the serial port.
The first modem supports data service and voice service of the first communication card and supports voice service of the second communication card;
the second modem supports data traffic of the second communications card.
Those skilled in the art will understand that the implementation functions of each unit in the terminal shown in fig. 9 can be understood by referring to the related description of the foregoing sleep control method. The functions of the units in the terminal shown in fig. 9 may be implemented by a program running on a processor, or may be implemented by specific logic circuits.
The technical schemes described in the embodiments of the present invention can be combined arbitrarily without conflict.
In the embodiments provided in the present invention, it should be understood that the disclosed method and intelligent device may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one second processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (6)

1. A sleep control method, the method comprising:
a serial port is arranged between a first modem and a second modem, wherein the first modem is connected with a first communication card and a second communication card, and the second modem can acquire network authentication data of the second communication card from the first modem through the serial port;
acquiring the electric quantity of a battery, and judging whether the electric quantity of the battery is lower than a preset threshold value or not;
and when the electric quantity of the battery is lower than a preset threshold value, controlling a data access layer of the serial port to inform a hardware abstraction layer to drive a hardware layer so that a clock of the serial port is in a dormant state, and enabling the serial port to be in the dormant state, so that the second modem is dormant.
2. The sleep control method according to claim 1, characterized in that the method further comprises:
setting a threshold for the battery.
3. The sleep control method according to any one of claims 1 to 2,
the first modem supports data service and voice service of the first communication card and supports voice service of the second communication card;
the second modem supports data traffic of the second communications card.
4. A terminal, characterized in that the terminal comprises:
the serial port unit is used for setting a serial port between a first modem and a second modem, wherein the first modem is connected with a first communication card and a second communication card, and the second modem can acquire network authentication data of the second communication card from the first modem through the serial port;
the judging unit is used for acquiring the electric quantity of the battery and judging whether the electric quantity of the battery is lower than a preset threshold value or not;
and the control unit is used for controlling the data access layer of the serial port to inform the hardware abstraction layer to drive the hardware layer to enable the clock of the serial port to be in a dormant state when the electric quantity of the battery is lower than a preset threshold value, so that the serial port is in the dormant state, and the second modem is dormant.
5. The terminal of claim 4, further comprising:
a setting unit for setting a threshold for the battery.
6. A terminal according to any of claims 4 to 5,
the first modem supports data service and voice service of the first communication card and supports voice service of the second communication card;
the second modem supports data traffic of the second communications card.
CN201610930852.XA 2016-10-31 2016-10-31 Dormancy control method and terminal Expired - Fee Related CN106535305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610930852.XA CN106535305B (en) 2016-10-31 2016-10-31 Dormancy control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610930852.XA CN106535305B (en) 2016-10-31 2016-10-31 Dormancy control method and terminal

Publications (2)

Publication Number Publication Date
CN106535305A CN106535305A (en) 2017-03-22
CN106535305B true CN106535305B (en) 2020-07-21

Family

ID=58293005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610930852.XA Expired - Fee Related CN106535305B (en) 2016-10-31 2016-10-31 Dormancy control method and terminal

Country Status (1)

Country Link
CN (1) CN106535305B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106954253A (en) * 2017-03-30 2017-07-14 努比亚技术有限公司 Dormancy control system and its dormancy control method
CN107172695B (en) * 2017-06-05 2020-01-31 青岛海信移动通信技术股份有限公司 electronic equipment power saving method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104565B (en) * 2009-12-17 2015-06-10 深圳富泰宏精密工业有限公司 Modem, and method for saving power
US9301252B2 (en) * 2013-11-11 2016-03-29 Google Technology Holdings LLC Reducing power consumption by a wireless communication device with multiple wireless communication modems
CN106559086B (en) * 2015-09-30 2019-02-15 努比亚技术有限公司 Mobile terminal and wireless communications method
CN105722059B (en) * 2016-01-28 2020-05-15 东莞市宏东通信技术有限公司 Mobile terminal and communication method of dual-modem system

Also Published As

Publication number Publication date
CN106535305A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
WO2017202183A1 (en) Method and terminal for reducing power consumption, and computer storage medium
CN105188098B (en) Network switching device and network switching method of mobile terminal
CN106302589B (en) File transmission method and terminal
CN106844029B (en) Self-management Android process freezing and unfreezing device and method
CN106304037B (en) Virtual SIM card management method and device
CN106413128B (en) Projection method and mobile terminal
CN104834517A (en) Mobile terminal power-saving method and mobile terminal
CN106254628B (en) Mobile terminal and multi-screen display method
CN105933452B (en) Information pushing and displaying method and device
CN106488420B (en) Incoming call processing method, device and system and readable storage medium
CN106301846B (en) Network awakening system analysis method and device
CN106648105B (en) Antenna switching method and device for intelligent equipment
CN106161790B (en) Mobile terminal and control method thereof
CN106412878B (en) Activation device and method for subscriber identity module card
CN106507418B (en) Cell reselection method and device based on signal strength and mobile terminal
CN106231657B (en) Method and device for switching power saving modes of double-screen mobile terminal
CN105939425B (en) Screen dynamic monitoring device and method
CN105939426B (en) Information processing method and device, and terminal
CN105227771B (en) Picture transmission method and device
CN106535305B (en) Dormancy control method and terminal
CN106792878B (en) Data traffic monitoring method and device
CN106856617B (en) Terminal and cell reselection method
CN106792913B (en) Load balancing method and device
CN106131942B (en) Communication method and terminal
CN105094733B (en) Split screen display method and device

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200617

Address after: 518000 No.3 building (shenguodian building), no.1301-76, sightseeing Road, Xinlan community, Guanlan street, Longhua District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN JUNLI XINDA TECHNOLOGY Co.,Ltd.

Address before: 518000 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200721

Termination date: 20211031