CN106507457B - A kind of dormancy control method and terminal - Google Patents

A kind of dormancy control method and terminal Download PDF

Info

Publication number
CN106507457B
CN106507457B CN201610969131.XA CN201610969131A CN106507457B CN 106507457 B CN106507457 B CN 106507457B CN 201610969131 A CN201610969131 A CN 201610969131A CN 106507457 B CN106507457 B CN 106507457B
Authority
CN
China
Prior art keywords
modem
communication card
serial ports
application program
data service
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
CN201610969131.XA
Other languages
Chinese (zh)
Other versions
CN106507457A (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 CN201610969131.XA priority Critical patent/CN106507457B/en
Publication of CN106507457A publication Critical patent/CN106507457A/en
Application granted granted Critical
Publication of CN106507457B publication Critical patent/CN106507457B/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
    • 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
    • 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)

Abstract

The invention discloses a kind of dormancy control method and terminals, it include: that serial ports is set between the first modem and second modem, wherein, first modem is connected with the first communication card and the second communication card, and the second modem can get the Network authentication data of second communication card by the serial ports from first modem;The operating status for obtaining application program, judges whether the application program needs to carry out data service by second communication card according to the operation state;When the application program does not need to carry out data service by second communication card, the serial ports is controlled in a dormant state, to make the second modem suspend mode.

Description

A kind of dormancy control method and terminal
Technical field
The present invention relates to multi-mode communication field more particularly to a kind of dormancy control method and terminals.
Background technique
With the development of mobile communication technology, advanced cellular network is just disposed in the whole world.Due to introducing orthogonal frequency Point multiplexing (OFDM, Orthogonal Frequency Division Multiplexing) and multiple-input and multiple-output (MIMO, The key technologies such as Multi-Input&Multi-Output) can dramatically increase spectrum efficiency using 4G relevant criterion and data pass Defeated rate.
On the other hand, while improving network rate and frequency range utilization rate, (there are two users to identify mould for tool for multimode terminal The terminal of block, for example, double card bilateral terminal) appearance so that user realize voice service it is standby while, data can be established Service chaining.
However, traditional terminal is only able to achieve client identification module (SIM, Subscriber an Identification Module) card is used as main card, carries out data service and voice service;It is standby that an other SIM card is only able to achieve voice service.For This, double L communication constructions are suggested, and a modulation is newly added on original framework in order to realize double L communication constructions referring to Fig. 3 Demodulator (Modem) 2.The Modem2 of addition passes through serial ports (universal asynchronous receiving-transmitting transmitter (UART, Universal in figure Asynchronous Receiver/Transmitter)) it is communicated with Modem1.
As shown in figure 3, SIM1 is used to surf the Internet and make a phone call, his business is supported by Modem1;It is being added Before Modem2, SIM2 is only capable of making a phone call by Modem1;After Modem2 is added, Modem2 passes through serial ports from Modem1 It is middle read SIM2 Network authentication data, the Network authentication data of SIM2 is supported by Modem2, i.e., by Modem2 come Support the data service of SIM2.User data and signaling data in Modem2 pass through universal serial bus (USB, Universal Serial Bus) channel directly interacts with application processor (AP, Application Process).In this way, AP energy The Internet data of SIM1 and SIM2 are received simultaneously.At this point, the data routing layer in kernel (kernel) layer makees algorithm process, just It can be realized APP online (either downloading or upload) can while carry out by SIM1 and SIM2.
In above-mentioned double L communication constructions, Modem1 and Modem2 all there are problems that can not suspend mode, this will lead to power consumption compared with Greatly, shorten terminal continuation of the journey duration the problem of, in addition, Modem2 it is even more impossible to according to the operating status of the current application program of terminal come Adaptability carries out suspend mode.
Summary of the invention
In order to solve the above technical problems, the embodiment of the invention provides a kind of dormancy control method and terminals.
Dormancy control method provided in an embodiment of the present invention, comprising:
Serial ports is set between the first modem and second modem, wherein first modem It is connected with the first communication card and the second communication card, the second modem can be from first modulation by the serial ports The Network authentication data of second communication card is got in demodulator;
The operating status for obtaining application program, judges whether the application program needs to pass through institute according to the operation state It states the second communication card and carries out data service;
When the application program does not need to carry out data service by second communication card, controls the serial ports and be in Dormant state, to make the second modem suspend mode.
In the embodiment of the present invention, the control serial ports is in a dormant state, comprising:
The clock of the serial ports is controlled in a dormant state, to make the serial ports in a dormant state.
It is described to judge whether the application program needs by described according to the operation state in the embodiment of the present invention Two communication cards carry out data service, comprising:
When the operating status shows that the application program is not run, it is determined that the application program does not need to pass through institute It states the second communication card and carries out data service;
When the operating status shows the application program operation and does not need to carry out data service, it is determined that described to answer It is not needed to carry out data service by second communication card with program.
In the embodiment of the present invention, the control serial ports is in a dormant state, comprising:
The data access layer notice hardware abstraction layer of the serial ports drives the clock of the serial ports in a dormant state.
In the embodiment of the present invention, first modem supports the data service and voice industry of first communication card Business, and support the voice service of second communication card;
The second modem supports the data service of second communication card.
Terminal provided in an embodiment of the present invention, comprising:
Serial port unit, for serial ports to be arranged between the first modem and second modem, wherein described One modem is connected with the first communication card and the second communication card, and the second modem can be from by the serial ports The Network authentication data of second communication card is got in first modem;
Judging unit judges the application program for obtaining the operating status of application program according to the operation state Whether need to carry out data service by second communication card;
Control unit, for controlling when the application program does not need to carry out data service by second communication card The serial ports is made in a dormant state, to make the second modem suspend mode.
In the embodiment of the present invention, described control unit is specifically used for: control the clock of the serial ports in a dormant state, To make the serial ports in a dormant state.
In the embodiment of the present invention, the judging unit is specifically used for: when the operating status shows the application program not When operation, it is determined that the application program does not need to carry out data service by second communication card;When the operating status When showing application program operation and not needing to carry out data service, it is determined that the application program is not needed by described the Two communication cards carry out data service.
In the embodiment of the present invention, described control unit is specifically used for: notifying hardware by the data access layer of the serial ports Level of abstraction drives the clock of the serial ports in a dormant state.
In the embodiment of the present invention, first modem supports the data service and voice industry of first communication card Business, and support the voice service of second communication card;The second modem supports the number of second communication card According to business.
In the technical solution of the embodiment of the present invention, string is set between the first modem and second modem Mouthful, wherein first modem is connected with the first communication card and the second communication card, and the second modem passes through The serial ports can get the Network authentication data of second communication card from first modem;Obtain application The operating status of program, judges whether the application program needs to carry out by second communication card according to the operation state Data service;When the application program does not need to carry out data service by second communication card, control at the serial ports In dormant state, to make the second modem suspend mode.It, can be according to end using the technical solution of the embodiment of the present invention It holds the operating status of current application program flexibly to control the serial ports between Modem1 and Modem2 and carries out suspend mode, so that Modem2 suspend mode, reduces power consumption of terminal, extends terminal continuation of the journey duration.
Detailed description of the invention
The hardware structural diagram of Fig. 1 optional mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is double L communication construction figures;
Fig. 4 is the architecture diagram for the Network authentication data that Modem2 reads SIM2 to Modem1;
Fig. 5 is the frame diagram of the serial port drive layer of the embodiment of the present invention;
Fig. 6 is the voting mechanism schematic diagram of the embodiment of the present invention;
Fig. 7 is the flow diagram one of the dormancy control method of the embodiment of the present invention;
Fig. 8 is the flow diagram two of the dormancy control method of the embodiment of the present invention;
Fig. 9 is the structure composition schematic diagram of the terminal of the embodiment of the present invention.
Specific embodiment
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use For indicate element such as " module ", " component " or " unit " suffix only for being conducive to the explanation of the embodiment of the present invention, There is no specific meanings for itself.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the embodiment of the present invention may include all Such as mobile phone, smart phone, laptop, digit broadcasting receiver, personal digital assistant (PDA, Personal Digital Assistant), tablet computer (PAD), portable media player (PMP, Portable Media Player), the fixed terminal of the mobile terminal of navigation device etc. and such as number TV, desktop computer etc..In the following, false If terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to be used in particular for mobile purpose element it Outside, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, audio/video (A/V) input unit 120, user's input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown Part.More or fewer components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication system Or the radio communication between network.For example, wireless communication unit may include broadcasting reception module 111, mobile communication module 112, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast from external broadcast management server via broadcast channel Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server, which can be, to be generated and sent The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information And send it to the server of terminal.Broadcast singal may include TV broadcast singal, radio signals, data broadcasting Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 receives.Broadcast singal can exist in a variety of manners, for example, its can with digital multimedia broadcasting (DMB, Digital Multimedia Broadcasting) electronic program guides (EPG, Electronic Program Guide), The electronic service guidebooks of digital video broadcast-handheld (DVB-H, Digital Video Broadcasting-Handheld) The form of (ESG, Electronic Service Guide) etc. and exist.Broadcasting reception module 111 can be by using each The broadcast system of seed type receives signal broadcast.Particularly, broadcasting reception module 111 can be by using such as multi-media broadcast Broadcast-ground (DMB-T, Digital Multimedia Broadcasting-Terrestrial), digital multimedia broadcasting-defend Star (DMB-S, Digital Multimedia Broadcasting-Satellite), digital video broadcast-handheld (DVB-H), The Radio Data System of forward link media (MediaFLO, Media Forward Link Only), received terrestrial digital broadcasting are comprehensive The number for servicing (ISDB-T, Integrated Services Digital Broadcasting-Terrestrial) etc. is wide It broadcasts system and receives digital broadcasting.Broadcasting reception module 111 may be constructed such that the various broadcast systems for being adapted to provide for broadcast singal And above-mentioned digit broadcasting system.It can be deposited via the received broadcast singal of broadcasting reception module 111 and/or broadcast related information Storage is in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data.
The Wi-Fi (Wireless Internet Access) of the support mobile terminal of wireless Internet module 113.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved in the module may include Wireless LAN (Wi-Fi, WLAN, Wireless Local Area Networks), WiMAX (Wibro), worldwide interoperability for microwave accesses (Wimax), under high speed Downlink packet accesses (HSDPA, High Speed Downlink Packet Access) etc..
Short range communication module 114 is the module for supporting short range communication.Some examples of short-range communication technology include indigo plant Tooth, radio frequency identification (RFID, Radio Frequency Identification), Infrared Data Association (IrDA, Infrared Data Association), ultra wide band (UWB, Ultra Wideband), purple honeybee etc..
Location information module 115 is the module for checking or obtaining the location information of mobile terminal.Location information module Typical case be global positioning system (GPS, Global Positioning System).According to current technology, position letter It ceases range information and correct time information of the calculating of module 115 from three or more satellites and the information of calculating is answered With triangulation, to according to longitude, latitude and highly accurately calculate three-dimensional current location information.Currently, for calculating The method of position and temporal information using three satellites and by using an other satellite correct calculated position and The error of temporal information.In addition, location information module 115 can calculate speed by Continuous plus current location information in real time Spend information.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include 121 He of camera Microphone 122, camera 121 is to the static images obtained in video acquisition mode or image capture mode by image capture apparatus Or the image data of video is handled.Treated, and picture frame may be displayed on display unit 151.It is handled through camera 121 Picture frame afterwards can store in memory 160 (or other storage mediums) or be sent out via wireless communication unit 110 It send, two or more cameras 121 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, note Sound (audio data) is received via microphone in record mode, speech recognition mode etc. operational mode, and can will in this way Acoustic processing be audio data.Audio that treated (voice) data can be converted in the case where telephone calling model can The format output of mobile communication base station is sent to via mobile communication module 112.Various types of make an uproar can be implemented in microphone 122 Sound eliminates (or inhibition) algorithm to eliminate the noise or do that (or inhibition) generates during sending and receiving audio signal It disturbs.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc. Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal 100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate for controlling mobile terminal 100 The order of operation or signal.For example, sensing unit 140 can sense when mobile terminal 100 is embodied as sliding-type mobile phone The sliding-type phone is to open or close.In addition, sensing unit 140 be able to detect power supply unit 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 may include proximity sensor 141.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user Kind of information and may include subscriber identification module (UIM, User Identify Module), client identification module (SIM, Subscriber Identity Module), Universal Subscriber identification module (USIM, Universal Subscriber Identity Module) etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take intelligence The form of card, therefore, identification device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170 It can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and transmit the input received One or more elements in mobile terminal 100 can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.Output unit 150 may include display Unit 151, audio output module 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Downloading etc.) relevant user interface (UI, User Interface) or graphic user interface (GUI, Graphical User Interface).When mobile terminal 100 is in video calling mode or image capture mode, display unit 151 can be shown Show captured image and/or received image, the UI or GUI that show video or image and correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit 151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD, Liquid Crystal Display), thin film transistor (TFT) LCD (TFT-LCD, Thin Film Transistor-LCD), organic light-emitting diodes It manages in (OLED, Organic Light-Emitting Diode) display, flexible display, three-dimensional (3D) display etc. It is at least one.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as Transparent display, typical transparent display can be, for example, transparent organic light emitting diode (TOLED) display etc..According to Specific desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), example Such as, mobile terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for examining Survey touch input pressure and touch input position and touch input area.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is when under the isotypes such as speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory 160 The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes. Audio output module 152 may include loudspeaker, buzzer etc..
Alarm unit 153 can provide output notifying event to mobile terminal 100.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..Other than audio or video output, alarm unit 153 can provide output in different ways with the generation of notification event.For example, alarm unit 153 can be in the form of vibration Output is provided, when receiving calling, message or some other entrance communications (incoming communication), alarm list Member 153 can provide tactile output (that is, vibration) to notify to user.By providing such tactile output, even if When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can be provided via display unit 151 or audio output module 152.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store the data that has exported or will export (for example, telephone directory, message, still image, video etc.).And And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM, Random Access Memory), static random-access memory (SRAM, Static Random Access Memory), read-only memory (ROM, Read Only Memory), electrically erasable programmable read-only memory (EEPROM, Electrically Erasable Programmable Read Only Memory), programmable read only memory (PROM, Programmable Read Only Memory), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or can be structured as and control Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or picture It draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC, Application Specific Integrated Circuit), digital signal processor (DSP, Digital Signal Processing), digital signal processing device (DSPD, Digital Signal Processing Device), can Programmed logic device (PLD, Programmable Logic Device), field programmable gate array (FPGA, Field Programmable Gate Array), processor, controller, microcontroller, microprocessor, be designed to execute it is described herein At least one of the electronic unit of function implement, in some cases, such embodiment can be in controller 180 Middle implementation.For software implementation, the embodiment of such as process or function can with allow to execute at least one functions or operations Individual software module implement.Software code can be by the software application write with any programming language appropriate (or program) is implemented, and software code can store in memory 160 and executed by controller 180.
So far, mobile terminal is described according to its function.In the following, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any Line and wireless communication system and satellite-based communication system operate.
Referring now to Fig. 2 description communication system that wherein mobile terminal according to an embodiment of the present invention can operate.
Different air interface and/or physical layer can be used in such communication system.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA, Frequency Division Multiple Access), time division multiple acess (TDMA, Time Division Multiple Access), CDMA (CDMA, Code Division Multiple Access) and Universal Mobile Communication System (UMTS, Universal Mobile Telecommunications System) is (special Not, long term evolution (LTE, Long Term Evolution)), global system for mobile communications (GSM) etc..As unrestricted Property example, description below is related to cdma communication system, but such introduction is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system may include multiple mobile terminals 100, multiple base station (BS, Base Station) 270, base station controller (BSC, Base Station Controller) 275 and mobile switching centre (MSC, Mobile Switching Center)280.MSC280 is configured to and Public Switched Telephony Network (PSTN, Public Switched Telephone Network) 290 formation interfaces.MSC280 is also structured to and can couple via back haul link BSC275 to base station 270 forms interface.Back haul link can be constructed according to any in several known interfaces, described Interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that as shown in Figure 2 System may include multiple BSC275.
Each BS 270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction Each subregion of line covering is radially far from BS 270.Alternatively, each subregion can by two for diversity reception or more Multiple antennas covering.Each BS 270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency It composes (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS 270 can also be referred to as base station transceiver System (BTS, Base Transceiver Station) or other equivalent terms.In this case, term " base station " It can be used for broadly indicating single BSC275 and at least one BS 270.Base station can also be referred to as " cellular station ".Alternatively, special Each subregion for determining BS 270 can be referred to as multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to by broadcsting transmitter (BT, Broadcast Transmitter) 295 The mobile terminal 100 operated in system.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to connect Receive the broadcast singal sent by BT295.In fig. 2 it is shown that several satellites 300, such as global positioning system can be used (GPS) satellite 300.The help of satellite 300 positions at least one of multiple mobile terminals 100.
In Fig. 2, multiple satellites 300 are depicted, it is understood that, it is useful to can use any number of satellite acquisition Location information.Location information module 115 as shown in Figure 1 is generally configured to cooperate with satellite 300 desired to obtain Location information.It substitutes GPS tracking technique or except GPS tracking technique, the position that can track mobile terminal can be used Other technologies.In addition, at least one 300 property of can choose of GPS satellite or extraly processing satellite dmb transmission.
As a typical operation of wireless communication system, BS 270 receives the reverse strand from various mobile terminals 100 Road signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received each Reverse link signal is handled in specific BS 270.The data of acquisition are forwarded to relevant BSC275.BSC provides logical Talk about the mobile management function of resource allocation and the coordination including the soft switching process between BS 270.BSC275 will also be received Data are routed to MSC280, provide the additional route service for forming interface with PSTN290.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 controls BS 270 correspondingly with by forward link signals It is sent to mobile terminal 100.
The mobile communication module 112 of wireless communication unit 110 is mobile based on the access built in mobile terminal in mobile terminal The necessary data (including customer identification information and authentication information) of communication network (such as 2G/3G/4G mobile communications network) accesses Mobile communications network is that the business such as the web page browsing of mobile terminal user, network multimedia broadcasting transmit mobile data (packet Include the mobile data of uplink and the mobile data of downlink).
The related protocol function reality that the wireless Internet module 113 of wireless communication unit 110 passes through operation hotspot The function of existing hotspot, hotspot are supported multiple mobile terminal (any mobile terminal except mobile terminal) accesses, are led to The webpage that the mobile communication crossed between multiplexing mobile communication module 112 and mobile communications network is connected as mobile terminal user is clear It lookes at, (movement of mobile data and downlink including uplink is logical for the business transmission mobile data such as network multimedia plays Letter data), since mobile terminal is substantially the mobile communication connection transmission movement being multiplexed between mobile terminal and communication network Communication data, therefore the flow of the mobile data of mobile terminal consumption is included in movement by the charging entity of communication network side The post and telecommunication tariff of terminal, to consume the data flow for the mobile data for including in the post and telecommunication tariff that mobile terminal signing uses Amount.
Based on above-mentioned 100 hardware configuration of mobile terminal and communication system, each embodiment of the method for the present invention is proposed.
In double L communication constructions as shown in Figure 3, Modem1 and Modem2 all there are problems that can not suspend mode, this will draw It is larger to play terminal Overall Power Consumption.Modem1 and Modem2 all can not suspend mode the reason of be serial ports between Modem1 and Modem2 without Method suspend mode, for this purpose, the embodiment of the present invention proposes a kind of serial ports suspend mode scheme, by by the clock suspend mode in serial ports come so that string Mouth suspend mode.
Referring to Fig. 4, Fig. 4 is the architecture diagram for the Network authentication data that Modem2 reads SIM2 to Modem1, and the left side of Fig. 4 is It is Modem1 on the right of Modem2, Fig. 4, is communicated between Modem2 and Modem1 by UART serial ports, specifically, Modem2 The Network authentication data of SIM2 is read from Modem1 by UART serial ports.
The embodiment of the present invention solve serial ports can not suspend mode be by following principle: allowed when serial ports does not have data transmission The clock suspend mode of serial ports is gone down.For this purpose, UART driving layer of the embodiment of the present invention in Fig. 4 is dealt with, and specifically, reference Fig. 5, Fig. 5 is the frame diagram of the serial port drive layer of the embodiment of the present invention, wherein the frame of serial port drive layer includes: data access layer (DAL, Data Access Layer), hardware abstraction layer (HAL, Hardware Abstraction Layer) and hardware (HW) Layer.In one example, the timer (timer) of one N seconds (such as N as 5) can be set in data access layer, passes through this Whether timer has data transmission to detect in current serial ports, if there is then keeping transmitting state not suspend mode, if it is not, data Access layer notifies hardware abstraction layer to drive hardware layer, come power saving (power down) mode for calling serial ports itself to support, namely Make clock suspend mode to make serial ports suspend mode.Here, battery saving mode is also referred to as suspend mode.
In the embodiment of the present invention, the suspend mode (namely suspend mode of CPU) of terminal is to use voting mechanism, reference Fig. 6, CPU's Suspend mode is managed by RPM, and a NPA is exactly a ballot node, when defined all NPA vote suspend mode, then RPM just meeting Decision allows CPU suspend mode to go down, so, when serial ports suspend mode in the embodiment of the present invention, throws ticket one, and other modules do not go wrong just Often after ballot, CPU will suspend mode.
Fig. 7 is the process signal one of the dormancy control method of the embodiment of the present invention, as shown in fig. 7, the suspend mode controlling party Method the following steps are included:
Step 701: serial ports is set between the first modem and second modem, wherein described first adjusts Modulator-demodulator is connected with the first communication card and the second communication card, and the second modem can be from described by the serial ports The Network authentication data of second communication card is got in first modem.
In the embodiment of the present invention, first modem supports the data service and voice industry of first communication card Business, and support the voice service of second communication card;The second modem supports the number of second communication card According to business.
Referring to Fig. 3, the first modem is Modem1, second modem Modem2, the first modem Serial ports between second modem is UART.First communication card is SIM1, and the second communication card is SIM2.
As shown in figure 3, SIM1 is used to surf the Internet and make a phone call, his business is supported by Modem1;It is being added Before Modem2, SIM2 is only capable of making a phone call by Modem1;After Modem2 is added, Modem2 passes through serial ports from Modem1 It is middle read SIM2 Network authentication data, the Network authentication data of SIM2 is supported by Modem2, i.e., by Modem2 come Support the data service of SIM2.User data and signaling data in Modem2 are directly interacted with AP by the channel USB.This Sample, AP can receive the Internet data of SIM1 and SIM2 simultaneously.At this point, the data routing layer at kernel layers is made at algorithm Reason, it will be able to realize that APP online (either downloading or upload) can while be carried out by SIM1 and SIM2.
Step 702: obtaining the operating status of application program, judge whether the application program needs according to the operation state Data service is carried out by second communication card.
In the embodiment of the present invention, and not all situation requires the first modem and is in second modem Working condition can then be adjusted when not needing to carry out the data service of the second communication card by second modem by second Modulator-demodulator is set as dormant state.
Based on this, need to obtain the operating status of the current application program of terminal, whether operating status shows application program It needs to carry out data service by the second communication card.If operating status shows that application program is needed through second communication card Data service is carried out, then continues to keep the serial ports between the first modem and second modem in running order, Also keep second modem in running order simultaneously., whereas if operating status shows that application program does not need to pass through Second communication card carries out data service, then needs to control the serial ports between the first modem and second modem In a dormant state, it also controls second modem in a dormant state simultaneously, the power consumption of terminal can be saved in this way, extend The continuation of the journey duration of terminal.
Step 703: when the application program does not need to carry out data service by second communication card, described in control Serial ports in a dormant state, to make the second modem suspend mode.
In the embodiment of the present invention, control the serial ports and refer in a dormant state: the clock for controlling the serial ports, which is in, stops Dormancy state, to make the serial ports in a dormant state.
Referring to Fig. 5, the serial port drive layer of serial ports includes: data access layer, hardware abstraction layer, hardware layer, data access layer Notice hardware abstraction layer drives the clock of the serial ports in a dormant state.
Using the technical solution of the embodiment of the present invention, can flexibly be controlled according to the operating status of the current application program of terminal Serial ports between Modem1 and Modem2 processed carries out suspend mode and extends end so that Modem2 suspend mode, reduces power consumption of terminal End continuation of the journey duration.
Fig. 8 is the process signal two of the dormancy control method of the embodiment of the present invention, as shown in figure 8, the suspend mode controlling party Method the following steps are included:
Step 801: serial ports is set between the first modem and second modem, wherein described first adjusts Modulator-demodulator is connected with the first communication card and the second communication card, and the second modem can be from described by the serial ports The Network authentication data of second communication card is got in first modem.
In the embodiment of the present invention, first modem supports the data service and voice industry of first communication card Business, and support the voice service of second communication card;The second modem supports the number of second communication card According to business.
Referring to Fig. 3, the first modem is Modem1, second modem Modem2, the first modem Serial ports between second modem is UART.First communication card is SIM1, and the second communication card is SIM2.
As shown in figure 3, SIM1 is used to surf the Internet and make a phone call, his business is supported by Modem1;It is being added Before Modem2, SIM2 is only capable of making a phone call by Modem1;After Modem2 is added, Modem2 passes through serial ports from Modem1 It is middle read SIM2 Network authentication data, the Network authentication data of SIM2 is supported by Modem2, i.e., by Modem2 come Support the data service of SIM2.User data and signaling data in Modem2 are directly interacted with AP by the channel USB.This Sample, AP can receive the Internet data of SIM1 and SIM2 simultaneously.At this point, the data routing layer at kernel layers is made at algorithm Reason, it will be able to realize that APP online (either downloading or upload) can while be carried out by SIM1 and SIM2.
Step 802: the operating status of application program is obtained, when the operating status shows that the application program is not run When, it is determined that the application program does not need to carry out data service by second communication card;When the operating status shows When the application program runs and does not need to carry out data service, it is determined that the application program does not need logical by described second Letter card carries out data service.
In the embodiment of the present invention, and not all situation requires the first modem and is in second modem Working condition can then be adjusted when not needing to carry out the data service of the second communication card by second modem by second Modulator-demodulator is set as dormant state.
Based on this, need to obtain the operating status of the current application program of terminal, whether operating status shows application program It needs to carry out data service by the second communication card.If operating status shows that application program is needed through second communication card Data service is carried out, then continues to keep the serial ports between the first modem and second modem in running order, Also keep second modem in running order simultaneously., whereas if operating status shows that application program does not need to pass through Second communication card carries out data service, then needs to control the serial ports between the first modem and second modem In a dormant state, it also controls second modem in a dormant state simultaneously, the power consumption of terminal can be saved in this way, extend The continuation of the journey duration of terminal.
In the embodiment of the present invention, when the operating status shows that the application program is not run, it is determined that the application Program does not need to carry out data service by second communication card;When the operating status show application program operation and When not needing to carry out data service, it is determined that the application program does not need to carry out data service by second communication card.
Here, since the second communication card can only carry out data service by second modem, when the operation When state shows the application program operation and does not need to carry out data service, it is determined that the application program does not need to pass through institute It states the second communication card and carries out data service.
Step 803: when the application program does not need to carry out data service by second communication card, described in control Serial ports in a dormant state, to make the second modem suspend mode.
In the embodiment of the present invention, control the serial ports and refer in a dormant state: the clock for controlling the serial ports, which is in, stops Dormancy state, to make the serial ports in a dormant state.
Referring to Fig. 5, the serial port drive layer of serial ports includes: data access layer, hardware abstraction layer, hardware layer, data access layer Notice hardware abstraction layer drives the clock of the serial ports in a dormant state.
Using the technical solution of the embodiment of the present invention, can flexibly be controlled according to the operating status of the current application program of terminal Serial ports between Modem1 and Modem2 processed carries out suspend mode and extends end so that Modem2 suspend mode, reduces power consumption of terminal End continuation of the journey duration.
Fig. 9 is the structure composition schematic diagram of the terminal of the embodiment of the present invention, as shown in Figure 9:
In first embodiment of the invention, the terminal includes:
Serial port unit 901, for serial ports to be arranged between the first modem and second modem, wherein institute It states the first modem to be connected with the first communication card and the second communication card, the second modem passes through the serial ports energy Enough Network authentication datas that second communication card is got from first modem;
Judging unit 902 judges described using journey according to the operation state for obtaining the operating status of application program Whether sequence needs to carry out data service by second communication card;
Control unit 903, for when the application program do not need by second communication card carry out data service when, The serial ports is controlled in a dormant state, to make the second modem suspend mode.
In second embodiment of the invention, the terminal includes:
Serial port unit 901, for serial ports to be arranged between the first modem and second modem, wherein institute It states the first modem to be connected with the first communication card and the second communication card, the second modem passes through the serial ports energy Enough Network authentication datas that second communication card is got from first modem;
Judging unit 902 judges described using journey according to the operation state for obtaining the operating status of application program Whether sequence needs to carry out data service by second communication card;
Control unit 903, for when the application program do not need by second communication card carry out data service when, The serial ports is controlled in a dormant state, to make the second modem suspend mode.
Described control unit 903, is specifically used for: the clock of the serial ports is controlled in a dormant state, to make the string Mouth is in a dormant state.
The judging unit 902, is specifically used for: when the operating status shows that the application program is not run, then really The fixed application program does not need to carry out data service by second communication card;When the operating status shows the application When program runs and does not need to carry out data service, it is determined that the application program does not need to carry out by second communication card Data service.
Described control unit 903, is specifically used for: notifying hardware abstraction layer to drive institute by the data access layer of the serial ports State the clock of serial ports in a dormant state.
First modem supports the data service and voice service of first communication card, and described in support The voice service of second communication card;
The second modem supports the data service of second communication card.
It will be appreciated by those skilled in the art that the realization function of each unit in terminal shown in Fig. 9 can refer to aforementioned stop The associated description of dormancy control method and understand.The function of each unit in terminal shown in Fig. 9 can be by running on processor Program and realize, can also be realized by specific logic circuit.
It, in the absence of conflict, can be in any combination between technical solution documented by the embodiment of the present invention.
In several embodiments provided by the present invention, it should be understood that disclosed method and smart machine, Ke Yitong Other modes are crossed to realize.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can be tied It closes, or is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each group Can be through some interfaces at the mutual coupling in part or direct-coupling or communication connection, equipment or unit it is indirect Coupling or communication connection, can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a second processing unit, It is also possible to each unit individually as a unit, can also be integrated in one unit with two or more units; Above-mentioned integrated unit both can take the form of hardware realization, can also add the form of SFU software functional unit real using hardware It is existing.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.

Claims (8)

1. a kind of dormancy control method, which is characterized in that the described method includes:
Serial ports is set between the first modem and second modem, wherein first modem and One communication card and the second communication card are connected, and the second modem can be from first modulation /demodulation by the serial ports The Network authentication data of second communication card is got in device;
The operating status for obtaining application program, judges whether the application program needs by described the according to the operation state Two communication cards carry out data service;
When the application program does not need to carry out data service by second communication card, controls the serial ports and be in suspend mode State, to make the second modem suspend mode;
Wherein, judge whether the application program needs to carry out data industry by second communication card according to the operation state Business, comprising:
When the operating status shows that the application program is not run, it is determined that the application program is not needed by described Two communication cards carry out data service;When the operating status shows the application program operation and does not need to carry out data service When, it is determined that the application program does not need to carry out data service by second communication card.
2. dormancy control method according to claim 1, which is characterized in that the control serial ports is in suspend mode shape State, comprising:
The clock of the serial ports is controlled in a dormant state, to make the serial ports in a dormant state.
3. dormancy control method according to claim 2, which is characterized in that the control serial ports is in suspend mode shape State, comprising:
The data access layer notice hardware abstraction layer of the serial ports drives the clock of the serial ports in a dormant state.
4. dormancy control method according to any one of claims 1 to 3, which is characterized in that
First modem supports the data service and voice service of first communication card, and supports described second The voice service of communication card;
The second modem supports the data service of second communication card.
5. a kind of terminal, which is characterized in that the terminal includes:
Serial port unit, for serial ports to be arranged between the first modem and second modem, wherein described first adjusts Modulator-demodulator is connected with the first communication card and the second communication card, and the second modem can be from described by the serial ports The Network authentication data of second communication card is got in first modem;
Whether judging unit judges the application program for obtaining the operating status of application program according to the operation state It needs to carry out data service by second communication card;
Control unit, for controlling institute when the application program does not need to carry out data service by second communication card Serial ports is stated in a dormant state, to make the second modem suspend mode;
Wherein, the judging unit, specifically for when the operating status shows that the application program is not run, it is determined that institute Application program is stated not need to carry out data service by second communication card;When the operating status shows the application program When running and not needing to carry out data service, it is determined that the application program does not need to carry out data by second communication card Business.
6. terminal according to claim 5, which is characterized in that described control unit is specifically used for: controlling the serial ports Clock in a dormant state, to make the serial ports in a dormant state.
7. terminal according to claim 6, which is characterized in that described control unit is specifically used for: passing through the serial ports Data access layer notice hardware abstraction layer drives the clock of the serial ports in a dormant state.
8. according to the described in any item terminals of claim 5 to 7, which is characterized in that
First modem supports the data service and voice service of first communication card, and supports described second The voice service of communication card;
The second modem supports the data service of second communication card.
CN201610969131.XA 2016-10-31 2016-10-31 A kind of dormancy control method and terminal Active CN106507457B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610969131.XA CN106507457B (en) 2016-10-31 2016-10-31 A kind of dormancy control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610969131.XA CN106507457B (en) 2016-10-31 2016-10-31 A kind of dormancy control method and terminal

Publications (2)

Publication Number Publication Date
CN106507457A CN106507457A (en) 2017-03-15
CN106507457B true CN106507457B (en) 2019-10-15

Family

ID=58322768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610969131.XA Active CN106507457B (en) 2016-10-31 2016-10-31 A kind of dormancy control method and terminal

Country Status (1)

Country Link
CN (1) CN106507457B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327580A (en) * 2012-03-22 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Method and device used for reducing power consumption of mobile terminal and mobile terminal
CN103686950B (en) * 2012-09-03 2016-12-28 联想(北京)有限公司 Data processing method and terminal
US9338805B2 (en) * 2012-11-16 2016-05-10 Mediatek, Inc. Method and apparatus for standby with a dual-standby modem and establishing single connection for one subscriber identity card
US20150079986A1 (en) * 2013-09-13 2015-03-19 Qualcomm Incorporated System and Methods for Optimizing Service Acquisition From Power Save Mode on a Multi-SIM Device
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
CN105722059B (en) * 2016-01-28 2020-05-15 东莞市宏东通信技术有限公司 Mobile terminal and communication method of dual-modem system
CN105763735B (en) * 2016-04-01 2021-04-09 努比亚技术有限公司 User equipment and fast dormancy method
CN105744606A (en) * 2016-04-01 2016-07-06 努比亚技术有限公司 User equipment and sleep waking method
CN105704802A (en) * 2016-04-01 2016-06-22 努比亚技术有限公司 Mobile terminal and communication method

Also Published As

Publication number Publication date
CN106507457A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN106535306B (en) A kind of dormancy control method and terminal
CN105848268B (en) A kind of method and terminal reducing power consumption
CN106027795B (en) A kind of switching method and terminal of double-sided screen
CN106299608B (en) A kind of band spreading structure of terminal antenna
CN104967573B (en) A kind of monitoring method and terminal of data traffic
CN106535307B (en) A kind of serial ports dormancy method and terminal
CN106507454B (en) A kind of wake-up control method and terminal
CN106155201B (en) A kind of control method and wearable electronic equipment
CN106535305A (en) Sleeping control method and terminal
CN106559772A (en) A kind of method and terminal for realizing radio communication
CN106572156A (en) Method for realizing wireless communication and terminal
CN106572458A (en) Communication processing realizing method and terminal
CN106550353A (en) A kind of method and terminal for realizing communication process
CN106603806A (en) Mobile terminal and message display method thereof
CN106199441B (en) A kind of information about power display methods and terminal
CN106055354A (en) Task processing method and terminal
CN106507457B (en) A kind of dormancy control method and terminal
CN106021291B (en) A kind of information processing method and mobile terminal
CN105357760B (en) A kind of data transmission method and device
CN106155744B (en) A kind of information processing method and terminal
CN106792958A (en) A kind of system of selection of Serving cell and mobile terminal
CN106604255A (en) Method and terminal for realizing wireless communication
CN106412705A (en) Method for adjusting file progress and terminal
CN106550352A (en) A kind of method and terminal for realizing communication process
CN105933864B (en) A kind of method and terminal of the connection of control WLAN

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
GR01 Patent grant
GR01 Patent grant