WO2017133253A1 - 降低终端功耗的方法及终端 - Google Patents

降低终端功耗的方法及终端 Download PDF

Info

Publication number
WO2017133253A1
WO2017133253A1 PCT/CN2016/099257 CN2016099257W WO2017133253A1 WO 2017133253 A1 WO2017133253 A1 WO 2017133253A1 CN 2016099257 W CN2016099257 W CN 2016099257W WO 2017133253 A1 WO2017133253 A1 WO 2017133253A1
Authority
WO
WIPO (PCT)
Prior art keywords
wifi
rate
terminal
module
user identification
Prior art date
Application number
PCT/CN2016/099257
Other languages
English (en)
French (fr)
Inventor
廖宏俭
何坚
薛晓君
罗祖栋
王朝
易晓柯
赵军宏
王佰祥
Original Assignee
努比亚技术有限公司
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
Priority claimed from CN201610077967.9A external-priority patent/CN105764124B/zh
Application filed by 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Publication of WO2017133253A1 publication Critical patent/WO2017133253A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3209Monitoring remote activity, e.g. over telephone lines or network connections
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • 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
    • 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

Definitions

  • the present invention relates to terminal technologies, and in particular, to a method and a terminal for reducing power consumption of a terminal.
  • Data services can be performed through terminal devices such as mobile phones and tablet computers (PADs).
  • terminal devices such as mobile phones and tablet computers (PADs).
  • PDAs tablet computers
  • the terminal needs to consume a certain amount of power when surfing the Internet.
  • Using two SIM cards to access the Internet at the same time undoubtedly consumes more power, shortens the usage time of the power, and seriously reduces the terminal's usage. Endurance ability.
  • the WIFI module is often used for communication in the terminal, and usually only one WIFI chip and the corresponding protocol stack and upper layer application only support the connection to one WIFI hotspot.
  • multiple WIFI modules are used for data transmission at the same time, more power consumption will be generated at the same time as the speed requirement, and the battery life will be affected before the current battery technology has no breakthrough application. .
  • the embodiments of the present invention provide a method and a terminal for reducing power consumption of a terminal, which can solve at least the above problems existing in the prior art.
  • the technical solution of the embodiment of the present invention is implemented as follows:
  • the embodiment of the present invention provides a method for reducing power consumption of a terminal, which is applied to a terminal, where the terminal includes two user identification cards; the method includes:
  • the terminal is controlled to perform data service by using at least one of the two user identification cards.
  • a terminal where the terminal includes two user identification cards; include:
  • a first acquiring unit configured to acquire, when the terminal uses the two user identification cards to perform data services, two first attributes when the terminal uses the two user identification cards to perform data services;
  • a first determining unit configured to determine whether the two first attributes meet the first predetermined condition, and generate a first determination result
  • the first control unit is configured to control, according to the first determination result, the terminal to perform data service by using at least one of the two user identification cards.
  • the method and the terminal for reducing the power consumption of the terminal provided by the embodiment of the present invention, when the terminal uses two user identification cards to perform data services, the acquiring first two attributes of the terminal using the two user identification cards for data services; Whether the two first attributes satisfy the first predetermined condition, and controlling the terminal to perform data service by using at least one of the two user identification cards.
  • a part of the user identification cards of at least two user identification cards such as at least one user identification card, are used for data service, which can effectively reduce the power consumption of the terminal and improve the endurance capability of the terminal; Residing on the 4G network, two 4G channels can be used for concurrent transmission of data services to improve transmission efficiency.
  • the embodiment of the present invention further provides a method for reducing power consumption of a terminal, which is applied to a terminal, where the terminal includes at least two WIFI modules; the method includes:
  • the embodiment of the invention further provides a terminal, where the terminal includes at least two WIFI modules; the terminal further includes:
  • a first obtaining unit configured to: when the terminal connects to the network by using the at least two WIFI modules, acquire at least two when the terminal uses the at least two WIFI modules to perform network connection Attributes;
  • a first determining unit configured to determine whether the at least two attributes meet the second predetermined condition, and generate a second determination result
  • the first control unit is configured to control, according to the second determination result, that the terminal accesses network data by using at least one WIFI module of the at least two WIFI modules.
  • the method and the terminal for reducing the power consumption of the terminal provided by the embodiment of the present invention, when the terminal connects to the network by using the at least two WIFI modules, acquiring at least two attributes when the terminal uses the at least two WIFI modules to perform network connection; Determining whether the at least two attributes satisfy a predetermined condition, and controlling the terminal to access the network data by using at least one of the at least two WIFI modules.
  • using part of the WIFI modules of at least two WIFI modules, such as at least one WIFI module to access network data, which can effectively reduce the power consumption of the terminal and improve the endurance of the terminal; on the other hand, it can pass two WIFIs.
  • the module accesses the same network at the same time, or accesses different networks through two WIFI modules, which improves the access efficiency of the network.
  • FIG. 1 is a schematic diagram showing the hardware structure of an optional terminal for implementing various embodiments of the present invention
  • FIG. 2 is a schematic diagram of interaction between a first processing unit and a second processing unit of a terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a format of a physical layer data packet according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart 1 of a method for reducing power consumption of a terminal according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 6 is a first schematic structural diagram of a terminal structure according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a refinement function module of a first processing module of a terminal according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a refinement function module of a second processing module of a terminal according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a refinement frame of a terminal according to an embodiment of the present invention.
  • FIG. 10 is a schematic flowchart 2 of a method for reducing power consumption of a terminal according to an embodiment of the present invention
  • FIG. 11 is a second schematic structural diagram of a terminal according to an embodiment of the present invention.
  • module A terminal embodying various embodiments of the present invention will now be described with reference to the accompanying drawings.
  • suffixes such as “module,” “component,” or “unit” used to denote an element are merely illustrative of the embodiments of the present invention, and do not have a specific meaning per se. Therefore, “module” and “component” can be used in combination.
  • the terminal can be implemented in various forms.
  • the terminal described in the embodiments of the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA, Personal Digital Assistant), a tablet (PAD), a portable multimedia player (PMP).
  • PDA personal digital assistant
  • PAD tablet
  • PMP portable multimedia player
  • Terminals of Portable Media Player, navigation devices, and the like, and fixed terminals such as digital TVs, desktop computers, and the like.
  • the terminal is a mobile terminal.
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • the embodiment of the present invention implements the architecture of the first processing unit + the second processing unit to implement that the terminal 100 supports two user identification cards to reside on the 4G network, and uses 4G to perform data services.
  • the first user identification card 110 and the second user identification card 120 of FIG. 1 can manage different users associated with different or the same technical standards.
  • the technical standards may be 2G communication technologies (eg, GSM, GPRS, EDGE), 3G communication technologies (eg, WCDMA, TDS-CDMA), 4G communication technologies (eg, LTE, TD-LTE) , or any other mobile communication technology (eg, 5G, 4.5G, etc.).
  • the first subscriber identity card 110 maintains information for the first 4G network communication.
  • the second subscriber identity card 120 holds information for the second 4G network communication.
  • the subscriber identity card may store one or more of the following information: a unique serial number (ICCID), an International Mobile Subscriber Identity (IMSI), security authentication and encryption information, temporary information related to the local network, and user access.
  • ICCID unique serial number
  • IMSI International Mobile Subscriber Identity
  • the first processing unit 130 is configured to complete protocol processing, and to perform modulation and demodulation on the transceived communication data to implement communication with an external communication device, and the like.
  • the second processing unit 140 is configured to complete protocol processing and to perform modulation and demodulation on the transceived communication data to implement communication with an external communication device or the like.
  • the protocol processing includes performing a protocol stack that processes various network interfaces that interact with the network, for example, a protocol code specified in a communication standard such as LTE/WCDMA/GSM/TDSCDMA/1X/CDMA/EVDO. .
  • a protocol code specified in a communication standard such as LTE/WCDMA/GSM/TDSCDMA/1X/CDMA/EVDO.
  • These standard protocols are mandatory for the terminal 100 to interact with the carrier network (eg, via data traffic, VOLTE calls, or calls through the CS circuit domain).
  • the first processing unit 130 includes one or more data interfaces, such as a general purpose I/O interface, a UART interface, a USB interface, an I2C interface, and the like.
  • the second processing unit 140 also includes one or more data transfer interfaces, such as a general purpose I/O interface, a UART interface, a USB interface, an I2C interface, and the like.
  • the high-speed data transmission interface requires sufficient bandwidth and data transmission capability.
  • the USB interface is a high-speed data transmission interface.
  • the general purpose I/O interface acts as a state detection interface and is identified by the level of high/low or pulse.
  • the first processing chip 200 can detect whether the second processing chip 300 is in a dead state by the level high/low state of the state detecting pin.
  • the UART interface is a serial communication interface for transmitting basic information such as control signals and status signals.
  • the first processing unit 130 can be respectively associated with the first user through a data interface (eg, a UART interface)
  • the identification card 110 and the second user identification card 120 are connected to acquire card information from the first user identification card 110 and the second user identification card 120, and the flow of card information acquisition will be described in detail later.
  • first processing unit 130 can be coupled to the second processing unit 140 via a UART interface to transmit card information to the second processing unit.
  • the first processing unit 130 can be implemented by a modem chip, and the second processing unit 140 can be implemented by a modem chip.
  • the network data is transmitted at a high speed through the high-speed USB data interface to meet the data transmission requirement.
  • the low-speed data interface is used to transmit information, thereby ensuring data transmission and Save power.
  • the first processing unit 130 may perform operations such as network registration, authentication, and the like according to the acquired information.
  • a first application service processor 150 and a second application service processor 160 may be connected through a data interface (eg, a GPIO interface and a USB interface).
  • a data interface eg, a GPIO interface and a USB interface.
  • the first application service processor 150 is configured to process complex logical operations and perform task assignment, provide an interactive interface for the user, and transmit operation instructions input by the user (for example, an operation instruction input by the user through the user interface regarding surfing or calling).
  • the first processing unit 130 or the second processing unit 140 is given.
  • the first application service processor 150 processor executes an operating system of the terminal 100.
  • the operating system is stored in a memory, and the operating system includes but is not limited to Windows, Linux, Unix, Mac OS X, IOS, Solaris, Android, and the like.
  • the second application service processor 160 does not perform data processing, but only functions as a transparent transmission.
  • the data received by the second processing unit 140 is transparently transmitted to the first application service processor 150 for processing, and the data transmitted by the first application service processor 150 is transparently transmitted to the second processing unit 140.
  • the first radio frequency 170 and the second radio frequency 180 are used to perform up-conversion, down-conversion, filtering, amplification, transmission, reception, and the like of the signal.
  • the radio access technologies involved in the first radio frequency 170 and the second radio frequency 180 may Including LTE, GSM, GPRS and so on.
  • the terminal 100 can simultaneously use the data network of two user identification cards, and simultaneously download the data service to achieve the purpose of double data concurrent download acceleration. Therefore, the same user identification card needs to be able to be processed by the first processing unit. 130 and second processing unit 140 access.
  • the access referred to herein is information for obtaining a subscriber identity card to enable first subscription and network communication through association with the first subscriber identity card 110, and through a second subscription and network associated with the second subscriber identity card 120. Communication.
  • the first processing unit 130 can be connected to the first user identification card 110 and the second user identification card 120 through the data interface, thereby performing information reading on the first user identification card 110 and the second user identification card 120. Write operation.
  • the acquisition of the information of the user identification card by the second processing unit 140 needs to be acquired through interaction with the first processing unit 130.
  • the first processing unit 130 and the second processing unit 140 are connected through a data interface (for example, a UART data interface) to transmit information of the user identification card to the second processing unit 140. .
  • the communication protocol between the first processing unit 130 and the second processing unit 140 is divided into a physical layer, a transport layer, and an application layer.
  • the physical layer is used to transmit and receive data.
  • the transport layer can extend multiple interfaces for different services corresponding to the application layer.
  • the application layer is used to enable the service to perform the corresponding information acquisition function.
  • the first processing unit 130 and the second processing unit 140 respectively perform configuration of one or more ports.
  • the port is a virtual logical port
  • the configuration port includes a port number for which to be set, and the like.
  • the port includes two types. The first one is used for the port corresponding to the service registered by the application layer, and the information acquired by the application layer service is transmitted to the transport layer; the second is used for the physical interface with the physical layer.
  • Corresponding ports transmit information to the corresponding physical interface to enable the transmission (or reception) of information.
  • the first processing unit 130 registers a service to perform a corresponding function.
  • the service can be a preset service.
  • the preset service is information for acquiring a user identification card.
  • each service corresponds to a port, that is, the information acquired by the service will be transmitted through the port corresponding to the service.
  • the port here refers to the first port described above.
  • a plurality of ports are expandable, respectively corresponding to different services, and different transmission layers can be called according to actual communication transmission requirements to transmit information.
  • the physical layer interface for example, USB interface, shared memory interface, etc.
  • transport layer protocols used by different transport layers are different.
  • the second processing unit 140 sends a sync frame (synchronization frame) to the first processing unit 130; the first processing unit 130 is further configured to: after receiving the sync frame, reply an acknowledgement frame (ACK) for the first processing unit 130 and the second processing.
  • a connection is established between units 140.
  • the second processing unit 140 initiates a process of connection establishment, that is, transmits a sync frame. Preset conditions can be initialized for power on, restart, etc.
  • the first processing unit 130 and the second processing unit 140 establish a connection by sync and ACK, and the first processing unit 130 registers the service in no order.
  • the first processing unit 130 registration service may be before or after the connection is established.
  • the second processing unit 140 performs service discovery and registers a client corresponding to the service.
  • the client registered by the second processing unit 140 corresponds to the service registered by the first processing unit 130.
  • the first processing unit 130 registers the same service, and the client registered by the second processing unit 140 also corresponds to a corresponding port to transmit information to the transport layer through the port.
  • the port of the transport layer is transferred to the corresponding physical interface.
  • the first processing unit 130 and the second processing unit 140 may perform information interaction. Specifically, when performing information interaction, a data packet format as shown in FIG. 3 may be adopted. It includes the flag bit (header part), the length (the length of the entire packet), the control flag (the flag is the client or the server), the port number (local port), the service ID, the customer ID, the data ID, the control bit, the message ID, data length, data (data).
  • a data packet format as shown in FIG. 3 may be adopted. It includes the flag bit (header part), the length (the length of the entire packet), the control flag (the flag is the client or the server), the port number (local port), the service ID, the customer ID, the data ID, the control bit, the message ID, data length, data (data).
  • the port number is the port number of the second port, which is used to mark which physical interface the data packet is transmitted to.
  • the physical interface includes a USB interface and a shared memory interface
  • the data packet can be correctly transmitted to the corresponding physical interface through the port number, thereby implementing interaction with the second processing unit 140.
  • the port number field can be deleted, that is, the data packet transmitted to the opposite end does not include the port number field.
  • the port numbers of different physical interfaces are different. Therefore, by specifying the port number in the data packet, the data packet can be correctly forwarded, so that the information acquired by the application layer registration service can be realized. Send through an accurate physical interface.
  • the dual-core communication device of the embodiment of the present invention can support extending multiple physical interfaces (that is, extending multiple physical layer protocols).
  • the service ID is the ID number of the registered service.
  • the client ID is the ID number of the client corresponding to the service.
  • the control bit is used to identify the data packet as a request packet, a reply packet, and the like.
  • the data (data) adopts the type-len-value format, where type is used to indicate the type of the entire data block, len is used to indicate the size of the value area, and value is the data area.
  • a service may need to send multiple data packets, whereby the message ID indicates the sequence number of the transmitted data packet.
  • the data ID is used to distinguish the message type of the packet.
  • a plurality of different types of data may be included in each data packet, whereby one message ID may correspond to multiple types. For example, information such as signal strength and network format can be transmitted as one data packet, and types of different data blocks are indicated by type in the data field, thereby implementing one data packet to transmit multiple information belonging to the same message type. .
  • packet format shown in FIG. 3 is merely exemplary, and other similar formats may also be employed.
  • the first processing unit 130 configures a first logical port corresponding to the preset service, and configures a second logical port corresponding to the physical interface of the first processor.
  • the information obtained by the preset service is transmitted to the second logical port through the first logical port to be transmitted to the second processor through the physical interface of the first processor.
  • the second processing unit 140 configures a third logical port corresponding to the client, and configures a fourth logical port corresponding to the physical interface of the second processor.
  • the information received by the physical interface of the second processor is transmitted to the third logical port through the fourth logical port for transmission to the client.
  • the second process 20 closes the client, port.
  • the connection may be re-established with the first processing unit 130 by sending a synchronization frame (sync frame) to re-execute the registration service, register the client, and the like, and perform information interaction.
  • the first processing unit 130 will close the corresponding service and port.
  • the connection may be re-established with the second processing unit 140 by sending a synchronization frame (sync frame) to re-execute the registration service, register the client, and the like, and perform information interaction.
  • a C/S communication architecture is adopted between the first processor and the second processor to implement sharing of information. Therefore, the first processing unit 130 can share the acquired information to the second processing unit 140, so that the second processing unit 140 can obtain the information on the instant. And because different ports are registered for different services, corresponding transmissions can be extended, and multiple physical layer protocols can be extended.
  • the second processing unit acquires the user identification card information, in the search period of the search network:
  • the first subscriber identity card can be used as the primary card and the second subscriber identity card can be used as the secondary card.
  • the first processing unit acquires the information of the first user identification card, and loads the network parameter corresponding to the first user identification card according to the obtained information, to register the first user identification card in the first network. PS data service.
  • the first processing unit also sends the acquired information of the second user identification card to the second processing unit.
  • the second processing unit registers the PS data service of the second subscriber identity card in the second network according to the received information of the second subscriber identity card.
  • the second processing unit may also perform a read and write operation on the first user identification card and/or the second user identification card.
  • the first application service processor 150 receives the user instruction, and controls the first processing unit 130 to process the uplink data according to the user instruction; the first radio frequency 170 transmits the uplink data processed by the first processing unit 130 to the first 4G network. .
  • the first radio frequency 170 receives the downlink data from the first 4G network, and transmits the downlink data to the first processing unit 130 for processing.
  • the first application service processor 150 performs the operations of outputting, storing, and the like the downlink data processed by the first processing unit 130. .
  • the first application service processor 150 receives the user instruction, and controls the second application service processor 160 to transparently transmit the uplink data to the second processing unit 140 according to the user instruction; the second processing unit 140 processes the uplink data; The radio frequency 180 transmits the uplink data processed by the second processing unit 140 to the second 4G network.
  • the second radio frequency 180 receives the downlink data from the second 4G network, and transmits the downlink data to the second processing unit 140.
  • the second processing unit 140 transparently transmits the processed downlink data to the first through the second application service processor 160.
  • the service processor 150 is applied, whereby operations such as output, storage, and the like can be performed.
  • the same data service is simultaneously transmitted by the first subscriber identity card and the second subscriber identity card.
  • traffic distribution is required, that is, the same data service is divided into different data blocks and transmitted by two data channels.
  • the method can be implemented according to the equalization, or adjusting the traffic of the two channels according to the link quality (rate, delay, etc.).
  • the terminal in the embodiment of the present invention implements the interaction between the first processing unit and the second processing unit to support that two user identification cards are all camped on the 4G network, and the two 4G channels can be used for concurrent transmission of data services to improve transmission.
  • Efficiency on the other hand, both user identification cards are managed by the first processing unit, which improves management efficiency.
  • the C/S communication architecture is adopted between the first processing unit and the second processing unit to implement sharing of information. Therefore, the first processing unit can share the acquired information to the second processing unit by using the data interface, and the second processing unit can obtain the information in real time without using the shared memory, thereby saving cost.
  • the different ports for different service registrations are transmitted correspondingly, it is supported to extend multiple transport layer protocols and physical layer protocols.
  • the terminal includes two user identification cards (the first user identification card 110 and the second user identification card 120), and the user identification card may be specifically a SIM, a USIM, a RUIM, a UIM, or the like.
  • the terminal can use each user identification card to communicate with the network.
  • the rate cannot be increased, and the terminal power consumption is seriously increased: for example, when one of them
  • the subscriber identity card performs data service, if the link quality is poor, the terminal will improve the signal quality by increasing the transmission power, thereby greatly increasing the power consumption; or when using a single user identification card for data services.
  • the user can meet the rate requirement of the data service, if the two user identification cards are still enabled for data service, the user experience cannot be improved, and power consumption is also increased.
  • the embodiment of the present invention proposes the following method for reducing power consumption of a terminal by performing two user identification cards. During the data service, whether the two first attributes satisfy the first predetermined condition, at least one user identification card is selected for data service, and the terminal is prohibited from using the remaining user identification cards to perform data services, thereby saving power and reducing terminal power consumption. purpose.
  • FIG. 4 is a schematic flowchart of a method for reducing power consumption of a terminal according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
  • Step 201 When the terminal connects to the network by using two user identification cards, obtain two first attributes when the terminal performs data service by using the two user identification cards;
  • the first attribute is characterized by factors such as the rate or flow rate when the user identification card communicates with the network to perform data service.
  • factors such as the rate or flow rate when the user identification card communicates with the network to perform data service.
  • the change in the number of bytes is taken as the current rate every preset time (for example, 1 second).
  • information such as signal strength, time delay, and the like can also be characterized as the first attribute.
  • Signal strength, delay, etc. can be obtained by corresponding detection.
  • a preamble packet may be sent to measure a delay, a congestion rate, etc., specifically, a preamble packet is sent (a custom test packet does not contain user data, only for link quality measurement); the current packet is After the transmission, the terminal waits for the response packet (ACK) returned by the network, and determines the delay and congestion rate of the current data channel by the delay of sending and receiving.
  • ACK response packet
  • the cell strength, the signal strength (RSSI), the signal-to-noise ratio (SNR), the reference signal received power (RSRR), the bandwidth, the packet loss rate, and the like can be used to measure the link quality of each user identification card for data service.
  • Step 202 Determine whether the two first attributes meet the first predetermined condition, and generate a first determination result.
  • Step 203 Control, according to the first determination result, the terminal to perform data service by using at least one user identification card of the two user identification cards.
  • the control terminal performs data service by using at least one opened user identification card.
  • the terminal uses only part of the user identification cards for data services. For example, for two user identification cards that have been opened, only one of the user identification cards is used for data service, and the other one is controlled not to perform the data service.
  • the terminal uses two user identification cards to simultaneously connect with the network
  • the partial users are selected by judging whether the two first attributes of the two user identification cards satisfy the first predetermined condition.
  • the identification card such as at least one user identification card, performs data services, and prohibits the terminal from using the remaining user identification cards for data services, thereby achieving the purpose of saving power, reducing terminal power consumption, and improving terminal endurance.
  • the terminal of the embodiment of the present invention has two user identification cards.
  • the first user identification card 110 performs data interaction with the network through the first radio frequency 170
  • the second user identification card 120 performs data interaction with the network through the second radio frequency.
  • one power supply path is set in each radio frequency. That is, the terminal further includes two power supply paths for supplying power to the first radio frequency 170 and the second radio frequency 180, respectively.
  • the control terminal performs data service by using at least one of the two subscriber identity cards, the power supply path of the radio frequency corresponding to the subscriber identity card is in an on state. For the user identification card that cannot access the network data, the power supply path of the corresponding radio frequency is turned off.
  • the terminal side can utilize the first subscriber identity card 110 for data service.
  • the terminal cannot use the second subscriber identity card 120 for data service. It can be seen that the solution enables the terminal to perform data service by using the corresponding subscriber identity card by controlling the state (on state or off state) of the power supply path(s).
  • the present solution will be further described by taking a case where the terminal uses two user identification cards to simultaneously connect to the network.
  • determining whether the two first attributes meet the first predetermined condition, and generating a first determination result including:
  • the control terminal performs data service by using at least one of the two user identification cards, including:
  • the user identification card with high signal strength when performing data service in the first user identification card and the second user identification card is used for data service
  • the data service is performed by using the user identification card corresponding to the rate of the minimum rate in the first rate and the second rate;
  • the first determination result is the third judgment sub-score
  • the first user identification card and the second user identification card are simultaneously used for data service.
  • the following describes the foregoing scheme by taking the first subscriber identity card as the card 1 and the second subscriber identity card as the card 2, with the first rate being the rate 1 and the second rate being the rate 2 as an example:
  • the terminal starts the card 1 and the card 2 respectively, and simultaneously performs data services by using the two cards, and monitors the transmission rate used when the terminal performs data service by using each card. It is assumed that the transmission rate of the data service by the terminal using the card 1 is the rate 1. The transmission rate of the data service by the card 2 is the rate 2.
  • the minimum rate at which the data 1 is downloaded can be regarded as the minimum rate of accessing the data 1, and the rate 1 and the rate 2 are determined.
  • a minimum rate of downloading data 1 such as 2 megabits per second can be achieved;
  • the first judgment result is generated.
  • the signal strength 1 and the card 2 when the card 1 is used for network communication are detected.
  • the signal strength 2 when performing network communication is compared with the signal strength 1 and the signal strength 2, and the card with the strong signal strength is selected for downloading the data 1. For example, when the signal strength 1 is greater than the signal strength 2, the power supply circuit 1 that controls the connection with the card 1 is turned on, and the control terminal downloads the data 1 by using the card 1, and controls the power supply circuit 2 connected to the card 2 to be turned off, so that the terminal cannot The download of the data 1 is performed using the card 2.
  • the card with the strong signal strength is selected to access the data 1, and the other card is prohibited from accessing the data 1. That is, when the terminal has two cards to communicate with the network, one of the cards is selected for data service, and the other card is prohibited from performing data services, thereby achieving the purpose of saving power, reducing terminal power consumption, and improving terminal endurance. It should be noted that if the comparison is that the signal strength 1 is equal to the signal strength 2, then any one of the card 1 and the card 2 can be selected for downloading the data 1.
  • a second judgment result is generated, and in card 1 and card 2, a card corresponding to the rate at which the minimum rate can be reached is selected.
  • Conduct data services For example, if the rate 1 reaches the minimum rate at which the data 1 is downloaded, and the rate 2 is not reached, then the power supply path connecting the card 1 is turned on, and the power path connected to the card 2 is turned off. The card 1 corresponding to the rate 1 is selected in the card 2 to download the data 1, and the download of the data 1 by the card 2 is prohibited.
  • the control terminal uses one of the two cards to download the data 1, and prohibits the download of the data 1 by the other card, thereby saving the power, reducing the power consumption of the terminal, and improving the endurance of the terminal.
  • the third judgment result is generated, and the card 1 and the card 2 are used for data service. That is, the power supply path for connecting to the card 1 and the power supply path for connecting to the card 2 are both turned on, and the data 1 is downloaded by the card 1 and the card 2.
  • the rate of the two cards cannot reach the minimum rate of downloading data 1, the data is downloaded by using the two cards at the same time to ensure that the download of the data 1 is successfully completed.
  • the terminal uses two cards to simultaneously connect with the network
  • one of the cards is selected by determining whether the rate 1 corresponding to the card 1 and the rate 2 corresponding to the card 2 can reach the minimum download rate of the data 1.
  • the download of data 1 prohibits the terminal from using another card to download data 1.
  • the download of data 1 can be realized by using only one of the cards, and it is not necessary to use another card, which can effectively save power, reduce power consumption of the terminal, and improve the endurance of the terminal.
  • the embodiment of the invention further provides a terminal, where the terminal includes two user identification cards.
  • the terminal further includes: a first obtaining unit 401, a first determining unit 402, and a first control unit 403;
  • the first obtaining unit 401 is configured to: when the terminal uses two user identification cards to perform data services, acquire two first attributes when the terminal uses two user identification cards to perform data services;
  • the first determining unit 402 is configured to determine whether the two first attributes meet the first predetermined condition, and generate a first determination result
  • the first control unit 403 is configured to: according to the first determination result, the control terminal performs data service by using at least one of the two user identification cards.
  • the first obtaining unit 401 is configured to:
  • the first determining unit 402 is further configured to:
  • the first control unit 403 is further configured to:
  • the control terminal When the first judgment result is the first judgment sub-product result, the control terminal performs the data service by using the first user identification card and the second user identification card with the user identification card with strong signal strength when the network is connected;
  • the control terminal When the first judgment result is the second judgment sub-result, the control terminal performs the data service by using the user identification card corresponding to the rate of reaching the minimum rate in the first rate and the second rate;
  • the control terminal When the first determination result is the third judgment result, the control terminal simultaneously performs data service by using the first user identification card and the second user identification card.
  • the terminal further includes two radio frequency and two power supply paths, each radio frequency corresponding to a user identification card, and each radio frequency is connected to a corresponding power supply path; the terminal further includes a second control unit (not shown in FIG. 5) For:
  • the power supply path corresponding to the at least one subscriber identity card is controlled to be in an on state.
  • the second control unit is further configured to: control a power supply path corresponding to the other user identification cards of the two user identification cards except the at least one user identification card to be in a closed state, so that other user identification cards cannot perform data services.
  • the terminal provided by the embodiment of the present invention is similar to the foregoing method for reducing the power consumption of the terminal, and therefore, the implementation process and implementation principles of the terminal can refer to the implementation process and implementation principle of the foregoing method. Description, repetition will not be repeated.
  • the part is selected by determining whether the two first attributes of the two user identification cards satisfy the first predetermined condition when the data service is satisfied.
  • the user identification card such as at least one user identification card, performs data services, and prohibits the terminal from using the remaining user identification cards for data services, thereby achieving power saving and reducing terminal power consumption.
  • the two user identification cards are supported to reside in the 4G network, and the two 4G channels can be used for concurrent transmission of data services, thereby improving transmission efficiency.
  • the first 4G network and the second 4G network may be different networks of different operators, or the same or different networks of the same carrier.
  • the 4G network can be an LTE network.
  • FIG. 6 is a schematic structural diagram of an optional terminal implemented in this embodiment.
  • the terminal includes a first WIFI application module 610, a second WIFI application module 620, a WIFI service module 630 connected to the first WIFI application module 610 and the second WIFI application module 620, and a WIFI service module 630.
  • the first WIFI application module 610 or the second WIFI application module 620 is configured to send a WIFI connection command to the WIFI service module 630 when receiving the WIFI connection operation input by the user;
  • the WIFI service module 630 is configured to send the WIFI connection instruction to the corresponding first processing module 640 or the second processing module 650 when receiving the WIFI connection instruction;
  • the first processing module 640 is configured to establish a WIFI connection according to the WIFI connection instruction and the corresponding protocol when receiving the WIFI connection instruction sent by the WIFI service module 630.
  • the second processing module 650 is configured to receive the WIFI sent by the WIFI service module 630. When the command is connected, the WIFI connection is established according to the WIFI connection instruction and the corresponding protocol;
  • the WIFI service module 630 is further configured to start the routing configuration of the dual WIFI Internet data when the WIFI connection is successful, and when the first processing module 640 and the second processing module 650 are both in the normal state of data communication, by the first processing module 640 and the first The two processing modules 650 simultaneously perform data communication.
  • the terminal provided by the present invention mainly includes a terminal device with a WIFI function, such as a mobile phone and a PAD (tablet computer).
  • the terminal is mainly applied to dual WIFI communication.
  • the terminal is not limited to the dual WIFI communication mode provided by the present invention, and may also be multiple WIFIs of three WIFIs and three WIFIs. Communication mode.
  • the first WIFI application module 610 and the second WIFI application module 620 of the terminal provide a corresponding WIFI application operation interface for the user to perform corresponding control and operation through the WIFI application operation interface.
  • the first WIFI application module 610 and the second WIFI application module 620 can respectively control the disconnection of the first processing module 640 and the second processing module 650 through the WIFI service module 630.
  • the first processing module 640 and the second processing module 650 respectively process the instructions issued by the first WIFI application module 610 and the second WIFI application module 620, and the connection status information of the WIFI hotspot.
  • the user can select a WIFI hotspot to perform WIFI connection through the WIFI application operation interface corresponding to the first WIFI application module 610 or the WIFI application operation interface corresponding to the second WIFI application module 620.
  • the first WIFI application module 610 or the second WIFI application module 620 triggers a WIFI connection command when receiving the WIFI connection operation, and sends the WIFI connection command to the WIFI service module 630.
  • the WIFI connection instruction is triggered, and the WIFI connection instruction is sent to WIFI service module 630.
  • the WIFI service module 630 determines whether the processing module corresponding to the WIFI connection instruction is the first processing module 640 or the second processing module 650, that is, the user is determined to be based on the first WIFI application module.
  • the 610 performs the WIFI connection operation or performs the WIFI connection operation based on the second WIFI application module 620.
  • the WIFI service module 630 determines that the WIFI connection instruction corresponds to The first processing module 640; when the user performs a WIFI connection operation based on the WIFI application operation interface corresponding to the second WIFI application module 620, and the second WIFI application module 620 sends a WIFI connection command to the WIFI service module 630, the WIFI service module 630 determines the WIFI.
  • the connection instruction corresponds to the second processing module 650.
  • the WIFI service module 630 determines that the WIFI connection instruction corresponds to the first processing module 640
  • the WIFI service module 630 sends the WIFI connection instruction to the first processing module 640; and when the WIFI service module 630 determines that the WIFI connection instruction corresponds to the second processing module.
  • the WIFI service module 630 sends the WIFI connection command to the second processing module 650.
  • the WIFI connection is established according to the WIFI connection instruction and the corresponding protocol; when the second processing module 650 receives the WIFI connection instruction, according to the WIFI connection instruction and the corresponding protocol. Establish a WIFI connection.
  • the first processing module 640 includes a first WIFI processing unit 41 and a first WIFI chip 42.
  • the first WIFI processing unit 41 sends the WIFI connection instruction and the corresponding protocol to the first WIFI chip 42.
  • the first WIFI chip 42 establishes a WIFI connection according to the received WIFI connection command and the corresponding protocol.
  • the second processing module 650 includes a second WIFI processing unit 51 and a second WIFI chip 52.
  • the second WIFI processing unit 51 sends the WIFI connection instruction and the corresponding protocol to the second WIFI chip 52.
  • the second WIFI chip 52 establishes a WIFI connection according to the received WIFI connection command and the corresponding protocol.
  • the application layer of the terminal includes a first WIFI application module 610 and a second WIFI application module 620
  • the frame layer of the terminal includes a WIFI service module 630, a first frame subunit 411, and a second frame subunit. 511
  • the protocol layer of the terminal includes a first protocol subunit 412 and a second protocol subunit 512
  • the driving layer of the terminal includes a first driving subunit 413 and a second driving subunit 513.
  • the WIFI service module 630 is connected to the first frame subunit 411 and the second frame subunit 511, respectively, the first framework subunit 411 is connected to the first protocol subunit 412, and the first protocol subunit 412 is connected to the first driving subunit 413, A driving subunit 413 is connected to the first WIFI chip 42, the second frame subunit 511 is connected to the second protocol subunit 512, the second protocol subunit 512 is connected to the second driving subunit 513, and the second driving subunit 513 is connected to the second WIFI. Chip 52.
  • the first frame sub-unit 411 When the first frame sub-unit 411 receives the WIFI connection instruction sent by the WIFI service module 630, the first frame sub-unit 411 sends the WIFI connection instruction to the first protocol sub-unit 412.
  • the first protocol sub-unit 412 When receiving the WIFI connection instruction, the first protocol sub-unit 412 writes the WIFI hotspot information into the corresponding configuration.
  • the file is set and the specified protocol is selected according to the protocol corresponding to the WIFI hotspot, and the protocol and the WIFI connection command are sent to the first WIFI chip 42.
  • the air interface interaction operation is performed by the first WIFI chip 42 to establish a WIFI connection.
  • the first WIFI chip or the second WIFI chip is configured to establish a WIFI connection according to the received WIFI connection instruction and the corresponding protocol.
  • the second frame sub-unit 511 When the second frame sub-unit 511 receives the WIFI connection instruction sent by the WIFI service module 630, the second frame sub-unit 511 sends the WIFI connection instruction to the second protocol sub-unit 512.
  • the second protocol sub-unit 512 When receiving the WIFI connection instruction, the second protocol sub-unit 512 writes the WIFI hotspot information into the corresponding configuration file, selects a specified protocol according to the protocol corresponding to the WIFI hotspot, and sends the protocol and the WIFI connection instruction to the second WIFI chip 52. The air interface interaction operation is performed through the second WIFI chip 52 to establish a WIFI connection.
  • the routing configuration of the single WIFI Internet data and the routing configuration of the dual WIFI Internet data are preset.
  • the WIFI service module 630 starts the routing configuration of the dual WIFI Internet data, and the first processing module 640 and the second processing module 650 are configured. Simultaneous data communication. Therefore, the user can access the same network through the first processing module 640 and the second processing module 650, or access different networks through the first processing module 640 and the second processing module 650, for example, accessing the external network and the office network respectively. Internet and printers, etc.
  • the WIFI service module 630 may also perform control first. Operations such as bandwidth allocation by the processing module 640 and the second processing module 650.
  • the first processing module 640 and the second processing module 650 are allocated respective bandwidths according to respective rules such as sharing or by a preset ratio.
  • the WIFI service module 630 can interact with the first processing module 640 and the second processing module 650, the redundancy caused by independently operating two WIFI modules is avoided, and the data communication process is simplified, thereby improving data. Communication efficiency.
  • the terminal provided in this embodiment includes a first WIFI application module 610, a second WIFI application module 620, and a WIFI service module connected to the first WIFI application module 610 and the second WIFI application module 620.
  • the first WIFI application module 610 or the second WIFI application module 620 sends a WIFI connection command to the WIFI service module 630 when receiving the WIFI connection operation input by the user, and the WIFI service module 630 sends the received WIFI connection instruction to the corresponding
  • the first processing module 640 or the second processing module 650 when receiving the WIFI connection instruction sent by the WIFI service module 630, the first processing module 640 or the second processing module 650 establishes a WIFI connection according to the WIFI connection instruction and the corresponding protocol.
  • the WIFI service module 630 starts the routing configuration of the dual WIFI Internet data, and the first processing module 640 and the second processing module 650 simultaneously Data communication is performed. Therefore, the user can access the same network through the first processing module 640 and the second processing module 650, or access different networks through the first processing module 640 and the second processing module 650 respectively, thereby improving network access. effectiveness.
  • the WIFI service module 630 is configured to:
  • the IP address acquisition instruction is sent to the first processing module 640 and the second processing module 650; and the first IP address fed back by the first processing module 640 and the second IP fed back by the second processing module 650 are received.
  • the address it is determined that the first processing module 640 and the second processing module 650 are both in a data communication normal state.
  • the first processing module 640 or the second processing module 650 when the first processing module 640 or the second processing module 650 successfully establishes the WIFI connection, the first processing module 640 or the second processing module 650 sends the information of the successful WIFI connection to the WIFI service module 630.
  • the WIFI service module 630 receives the information that the WIFI connection is successful, the WIFI service module 630 simultaneously sends an IP address acquisition instruction to the first processing module 640 and the second processing module 650.
  • the first processing module 640 receives the IP address obtaining instruction
  • the first processing module 640 acquires the corresponding first IP address, and when the first IP address is obtained, sends the first IP address to the WIFI service module 630, WIFI.
  • the service module 630 determines that the first processing module 640 is in a communication normal state if the first IP address is not empty; the WIFI service module 630 receives the first processing.
  • the empty address sent by the module 640 is sent, it is determined that the first processing module 640 is in a communication abnormal state.
  • the second processing module 650 When the second processing module 650 receives the IP address obtaining instruction, the second processing module 650 acquires the corresponding second IP address, and when the second IP address is obtained, sends the second IP address to the WIFI service module 630, WIFI.
  • the service module 630 determines that the second processing module 650 is in a communication normal state if the second IP address is not empty; the WIFI service module 630 receives the second processing.
  • the empty address sent by the module 650 is sent, it is determined that the second processing module 650 is in a communication abnormal state.
  • the WIFI service module 630 When the WIFI service module 630 receives the first IP address sent by the first processing module 640 and the second IP address sent by the second processing module 650 is not empty, it is determined that the first processing module 640 and the second processing module 650 are both Data communication is in a normal state.
  • the WIFI service module 630 when the WIFI connection is successfully established by the first processing module 640, when the WIFI service module 630 receives the information that the WIFI connection is successful, the WIFI service module 630 simultaneously sends an IP address acquisition command to the first frame subunit 411 and the Two frame subunits 511.
  • the first frame sub-unit 411 starts the DHCP service to obtain the first IP address, and sends an IP address acquisition instruction to the first driving sub-unit 413 through the operating system interface, and the first driving sub-unit 413 drives and controls the completion and success of the first WIFI chip 42.
  • the air interface of the connected WIFI hotspot interacts.
  • the first WIFI chip 42 acquires the first IP address allocated by the WIFI hotspot, and uploads the first IP address to the first frame subunit 411.
  • the first frame sub-unit 411 When receiving the first IP address, the first frame sub-unit 411 stores the first IP address in the cache of the first frame sub-unit 411. Meanwhile, in the enumerated example, since the WIFI connection state of the second processing module 650 does not change, the second frame subunit 511 receives the second address subunit when receiving the IP address acquisition instruction sent by the WIFI service module 630. The second IP address stored in the cache of 511 is sent to the WIFI service module 630.
  • the WIFI service module 630 is further configured to:
  • the routing configuration of the single WIFI Internet data is initiated, and the first processing module 640 or the second processing module 650 performs data communication.
  • the WIFI service module 630 detects the first processing module 640 or the second When the processing module 650 is in the data communication normal state, that is, when one of the first processing module 640 or the second processing module 650 is in the data communication abnormal state, the WIFI service module 630 starts the routing configuration of the single WIFI Internet data, by the first processing. Module 640 or second processing module 650 performs data communication.
  • the WIFI service module 630 is further configured to: when receiving the connection state information sent by the first processing module 640 or the second processing module 650, send the connection state information to the corresponding first WIFI application module. 610 or a second WIFI application module 620;
  • the first WIFI application module 610 or the second WIFI application module 620 is further configured to display on the application interface corresponding to the first WIFI application module 610 or the second WIFI application module 620 when receiving the connection status information sent by the WIFI service module 630. Connection status information.
  • the first processing module 640 or the second processing module 650 When the first processing module 640 or the second processing module 650 is in the process of establishing a WIFI connection, the first processing module 640 or the second processing module 650 sends the connection status information to the WIFI service module 630 in real time.
  • the connection status information is sent to the corresponding first WIFI application module 610 or the second WIFI application module 620.
  • the WIFI service module 630 receives the connection status information sent by the first processing module 640
  • the connection status information is sent to the first WIFI application module 610; when the WIFI service module 630 is receiving the second processing module 650
  • the connection status information is sent to the second WIFI application module 620.
  • the connection status information is displayed on the application interface corresponding to the first WIFI application module 610.
  • the user can obtain the connection state information by viewing an application interface corresponding to the first WIFI application module 610.
  • the connection status information is displayed on the application interface corresponding to the second WIFI application module 620.
  • the user can obtain the connection status information by viewing an application interface corresponding to the second WIFI application module 620.
  • the WIFI service module 630 sends the prompt information of the connection failure to the corresponding first WIFI application module 610 or the second WIFI application module 620.
  • the user can obtain the application interface corresponding to the first WIFI application module 610 or the application interface corresponding to the second WIFI application module 620. Know that the WIFI connection failed.
  • the WIFI service module 630 starts the routing configuration of the single WIFI Internet data, and the first processing module is configured.
  • the 640 or the second processing module 650 performs data communication, so that the user accesses the network through the available WIFI module to perform Internet access and the like, and the user does not need to manually perform network switching, thereby further improving the user experience.
  • an embodiment of the present invention provides a method for reducing power consumption of a terminal, which is used to solve the power consumption problem when data is transmitted by using a dual WIFI module.
  • the method for reducing power consumption of a terminal in the embodiment of the present invention includes:
  • Step 1001 When the terminal connects to the network by using at least two WIFI modules, acquiring at least two attributes when the terminal uses at least two WIFI modules to perform network connection;
  • the attribute is characterized by factors such as rate or traffic when the WIFI module communicates with the network.
  • factors such as rate or traffic when the WIFI module communicates with the network.
  • Step 1002 Determine whether at least two attributes meet the second predetermined condition, and generate a second determination result.
  • Step 1003 The control terminal uses at least one WIFI module of at least two WIFI modules to perform network data access according to the second determination result.
  • the control terminal accesses the network data by using at least one opened WIFI module.
  • the terminal For all WIFI modules that have been turned on, the terminal only uses part of the WIFI module to access network data. For example, for the two WIFI modules that have been turned on, only one WIFI module is used to access the network data, and the other one is not allowed to access the network data.
  • the terminal uses at least two WIFI modules to simultaneously connect with the network
  • selecting at least two attributes when the network connection of at least two WIFI modules meets the second predetermined condition select at least a part of the WIFI module, such as at least A WIFI module accesses network data, and prohibits the terminal from using the remaining WIFI modules to access the network data, thereby achieving the purpose of saving power, reducing terminal power consumption, and improving terminal endurance.
  • the terminal includes at least two power supply paths respectively connected to different WIFI modules for powering the WIFI module to enable normal operation.
  • the terminal as described above includes a first WIFI module and a second WIFI module.
  • the first WIFI module includes a first processing module, and the first processing module includes a first WIFI processing unit and a first WIFI chip.
  • the second WIFI module includes a second processing module, and the second processing module includes a second WIFI processing unit and a second WIFI chip.
  • Each WIFI chip has a power supply path connected to it. That is to say, the terminal further includes two power supply paths, and each WIFI module is connected to a corresponding power supply path.
  • the control terminal accesses the network data by using at least one WIFI module of the at least two WIFI modules
  • the power supply path connected to the at least one WIFI module is in an on state.
  • the power supply path connected thereto is in a closed state. That is, when the power supply path connected to the WIFI module A is in an on state, the terminal can use the WIFI module A to access the network data.
  • the terminal When the power supply path connected to the WIFI module B is in the off state, the terminal cannot use the WIFI module B to access the network data. It can be seen that the solution allows the terminal to access the network data by using the corresponding WIFI module by controlling the state (on state or off state) of the power supply path.
  • acquiring at least two attributes when the terminal uses at least two WIFI modules to perform network connection including:
  • determining whether the at least two attributes meet the first predetermined condition, and generating a first determination result including:
  • the control terminal accesses the network data by using at least one WIFI module of the at least two WIFI modules, including:
  • the WIFI module with a large signal strength when the first WIFI module and the second WIFI module are connected to the network is used to access the network data;
  • the WIFI module corresponding to the rate of reaching the minimum rate in the first rate and the second rate is used to access the network data;
  • the first WIFI module and the second WIFI module are simultaneously used for accessing the network data.
  • the foregoing scheme is specifically described by taking the first rate as the rate 1 and the second rate as the rate 2 as an example.
  • the terminal starts the first WIFI module and the second WIFI module respectively, and uses the two WIFI modules to simultaneously perform network connection, and monitors the transmission rate used by the terminal to perform network connection by using each WIFI module. It is assumed that the transmission rate of the network connection by the terminal using the first WIFI module is the rate 1.
  • the transmission rate of the network connection by using the second WIFI module is the rate 2.
  • the minimum rate at which the data 1 is downloaded can be regarded as the minimum rate of accessing the data 1, and the rate 1 and the rate 2 are determined.
  • a minimum rate of downloading data 1 such as 2 megabits per second can be achieved;
  • the first judgment result is generated.
  • the signal strength and the second WIFI module when the first WIFI module is used for network communication are detected.
  • the signal strength 2 when performing network communication is compared with the signal strength 1 and the signal strength 2, and the card with the strong signal strength is selected for downloading the data 1. For example, when the signal strength 1 is greater than the signal strength 2, the power supply circuit 1 connected to the first WIFI module is controlled to be turned on, and controlled.
  • the terminal downloads the data 1 by using the first WIFI module, and controls the power supply circuit 2 connected to the second WIFI module to be closed, so that the terminal cannot use the second WIFI module to download the data 1.
  • the card with the strong signal strength is selected to access the data 1, and the other WIFI module is prohibited from accessing the data 1. That is, when the terminal has communication with the network by using at least two WIFI modules, one of the WIFI modules is selected to access the network data, and another WIFI module is prohibited from accessing the network data, thereby saving power, reducing terminal power consumption, and improving The purpose of the endurance of the terminal. It should be noted that if the comparison is that the signal strength 1 is equal to the signal strength 2, then any one of the first WIFI module and the second WIFI module may be selected to download the data 1.
  • a second judgment result is generated, and in the first WIFI module and the second WIFI module, the minimum rate can be selected.
  • the card corresponding to the rate performs network data access. For example, if the rate 1 reaches the minimum rate at which the data 1 is downloaded, and the rate 2 is not reached, then the power supply path connecting the first WIFI module is controlled to be in a conducting state, and the power supply path connected to the second WIFI module is turned off. In the first WIFI module and the second WIFI module, the first WIFI module corresponding to the rate 1 is selected to download the data 1, and the second WIFI module is prohibited from downloading the data 1.
  • the power supply path connecting the second WIFI module is controlled to be in a conducting state, and the power supply path connected to the first WIFI module is in a closed state.
  • the first WIFI module and the second WIFI module select the second WIFI module corresponding to the rate 2 to download the data 1. That is, the control terminal uses one of the two WIFI modules to download the data 1, and prohibits another WIFI module from downloading the data 1, thereby saving power, reducing terminal power consumption, and improving the terminal's endurance capability.
  • the third judgment result is generated, and the first WIFI module and the second WIFI module are used to access the network data. That is, the power supply path connecting the first WIFI module and the power supply path connected to the second WIFI module are both in an on state, and the logarithm of the first WIFI module and the second WIFI module are utilized. Download according to 1. When the speeds of the two WIFI modules cannot reach the minimum rate of downloading data 1, the two WIFI modules are used to download the data 1 to ensure the successful completion of the download of the data 1.
  • the terminal 1 selects whether the rate corresponding to the first WIFI module and the rate 2 corresponding to the second WIFI module can reach the minimum download rate of the data 1.
  • One of the WIFI modules downloads the data 1, and prohibits the terminal from using another WIFI module to download the data 1. Only one of the WIFI modules can be used to download the data 1 without using another WIFI module, which can effectively save power, reduce terminal power consumption, and improve terminal endurance.
  • the embodiment of the invention further provides a terminal, where the terminal includes at least two WIFI modules.
  • the terminal further includes: a first acquiring unit 1101, a first determining unit 1102, and a first control unit 1103;
  • the first obtaining unit 1101 is configured to: when the terminal connects to the network by using at least two WIFI modules, acquire at least two attributes when the terminal uses at least two WIFI modules to perform network connection;
  • the first determining unit 1102 is configured to determine whether the at least two attributes meet the second predetermined condition, and generate a second determination result
  • the first control unit 1103 is configured to: according to the second determination result, the control terminal uses at least one WIFI module of the at least two WIFI modules to perform network data access.
  • the first obtaining unit 1101 is configured to:
  • the first determining unit 1102 is further configured to:
  • the first control unit 1103 is further configured to:
  • the control terminal uses the WIFI module with a strong signal strength when the first WIFI module and the second WIFI module are connected to the network to access the network data;
  • the control terminal uses the WIFI module corresponding to the rate of the minimum rate in the first rate and the second rate to access the network data;
  • the control terminal simultaneously uses the first WIFI module and the second WIFI module to access the network data.
  • the terminal further includes at least two power supply paths, each WIFI module is connected to a corresponding power supply path; the terminal further includes a second control unit, configured to:
  • the power supply path connected to the WIFI chip of the at least one WIFI module is controlled to be in an on state.
  • the second control unit is further configured to: control a power supply path of the WIFI chip of the WIFI module of the at least two WIFI modules except the at least one WIFI module to be in a closed state, so that other WIFI modules cannot access the network data.
  • the terminal provided by the embodiment of the present invention is similar to the foregoing method for reducing the power consumption of the terminal, and therefore, the implementation process and implementation principles of the terminal can refer to the implementation process and implementation principle of the foregoing method. Description, repetition will not be repeated.
  • the terminal when the terminal simultaneously connects to the network by using at least two WIFI modules, Selecting a part of the WIFI module, such as at least one WIFI module, to access the network data by determining whether at least two attributes of the at least two WIFI modules are connected to the network meet the first predetermined condition, and prohibiting the terminal from using the remaining WIFI modules to perform network The access of data, in order to save power and reduce the power consumption of the terminal.
  • Selecting a part of the WIFI module such as at least one WIFI module
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • the present invention provides a method and terminal for reducing power consumption of a terminal, using at least two user identification cards
  • Some of the user identification cards such as at least one user identification card, perform data services, which can effectively reduce the power consumption of the terminal and improve the endurance of the terminal; realize that two user identification cards are supported on the 4G network, and two 4G channels can be utilized. Perform concurrent transmission of data services to improve transmission efficiency.

Abstract

本发明公开了一种降低终端功耗的方法及终端,其中方法包括:当所述终端利用所述两个用户识别卡进行数据业务时,获取所述终端利用所述两个用户识别卡进行数据业务时两个第一属性;判断所述两个第一属性是否满足第一预定条件,生成第一判断结果;依据第一判断结果,控制所述终端利用所述两个用户识别卡中的至少一个用户识别卡进行数据业务。

Description

降低终端功耗的方法及终端 技术领域
本发明涉及终端技术,具体涉及一种降低终端功耗的方法及终端。
背景技术
通过手机、平板电脑(PAD)等终端设备可进行数据业务。随着用户对网络访问需求的增加,但是,终端在上网时需要耗费一定的电量,利用两个SIM卡同时进行上网无疑耗费了更多的功率,缩短了电量的使用时长,严重降低了终端的续航能力。另外,在终端中还经常采用WIFI模块进行通信,通常只有一个WIFI芯片以及对应的协议栈和上层应用,只支持对一个WIFI热点的连接。另一方面,若采用多个WIFI模块同时进行数据传输,在对速度要求更高的同时,将会产生更多的功耗,在目前电池技术没有突破性的应用前,将影响终端的续航时间。
发明内容
本发明要解决的技术问题在于,针对现有技术的上述缺陷,本发明实施例提供一种降低终端功耗的方法及终端,能够至少解决现有技术存在的上述问题。
本发明实施例的技术方案是这样实现的:本发明实施例提供一种降低终端功耗的方法,应用于一终端中,所述终端包括两个用户识别卡;所述方法包括:
当所述终端利用所述两个用户识别卡进行数据业务时,获取所述终端利用所述两个用户识别卡进行数据业务时两个第一属性;
判断所述两个第一属性是否满足第一预定条件,生成第一判断结果;
依据第一判断结果,控制所述终端利用所述两个用户识别卡中的至少一个用户识别卡进行数据业务。
第二方面,提供一种终端,所述终端包括两个用户识别卡;所述终端还包 括:
第一获取单元,用于当所述终端利用所述两个用户识别卡进行数据业务时,获取所述终端利用所述两个用户识别卡进行数据业务时两个第一属性;
第一判断单元,用于判断所述两个第一属性是否满足第一预定条件,生成第一判断结果;
第一控制单元,用于依据第一判断结果,控制所述终端利用所述两个用户识别卡中的至少一个用户识别卡进行数据业务。
本发明实施例提供的降低终端功耗的方法及终端,当终端利用两个用户识别卡进行数据业务时,获取终端利用两个用户识别卡进行数据业务时两个第一属性;通过判断所述两个第一属性是否满足第一预定条件,控制所述终端利用两个用户识别卡中的至少一个用户识别卡进行数据业务。本实施例中,利用至少两个用户识别卡中的部分用户识别卡如至少一个用户识别卡进行数据业务,能够有效减少终端功率的耗费,提升终端的续航能力;实现支持两张用户识别卡均驻留在4G网络,可利用两条4G通道进行数据业务的并发传输,提高传输效率。
本发明实施例还提供一种降低终端功耗的方法,应用于一终端中,所述终端包括至少两个WIFI模块;所述方法包括:
当所述终端利用所述至少两个WIFI模块与网络进行连接时,
获取所述终端利用所述至少两个WIFI模块进行网络连接时至少两个属性;
判断所述至少两个属性是否满足第二预定条件,生成第二判断结果;
依据第二判断结果,控制所述终端利用所述至少两个WIFI模块中的至少一个WIFI模块进行网络数据的访问。
发明实施例还提供一种终端,所述终端包括至少两个WIFI模块;所述终端还包括:
第一获取单元,配置为当所述终端利用所述至少两个WIFI模块与网络进行连接时,获取所述终端利用所述至少两个WIFI模块进行网络连接时至少两 个属性;
第一判断单元,配置为判断所述至少两个属性是否满足第二预定条件,生成第二判断结果;
第一控制单元,配置为依据第二判断结果,控制所述终端利用所述至少两个WIFI模块中的至少一个WIFI模块进行网络数据的访问。
本发明实施例提供的降低终端功耗的方法及终端,当终端利用至少两个WIFI模块与网络进行连接时,获取终端利用所述至少两个WIFI模块进行网络连接时至少两个属性;判断所述至少两个属性是否满足预定条件,控制所述终端利用所述至少两个WIFI模块中的至少一个WIFI模块进行网络数据的访问。本实施例中,利用至少两个WIFI模块中的部分WIFI模块如至少一个WIFI模块进行网络数据的访问,能够有效减少终端功率的耗费,提升终端的续航能力;另一方面,可以通过两个WIFI模块同时访问同一个网络,或者通过两个WIFI模块分别访问不同的网络,提高了网络的访问效率。
附图说明
下面将结合附图及实施例对本发明作进一步说明,附图中:
图1为实现本发明各个实施例的一个可选的终端的硬件结构示意图;
图2是本发明实施例的终端的第一处理单元和第二处理单元的交互示意图;
图3是本发明实施例的物理层数据包的格式示意图;
图4为本发明实施例的降低终端功耗的方法的流程实现示意图一;
图5为本发明实施例的终端的组成结构示意图;
图6为本发明实施例终端的组成结构示意图一;
图7为本发明实施例终端第一处理模块的细化功能模块示意图;
图8为本发明实施例终端第二处理模块的细化功能模块示意图;
图9为本发明实施例终端的细化框架结构示意图;
图10为本发明实施例的降低终端功耗的方法的流程实现示意图二;
图11为本发明实施例的终端的组成结构示意图二。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
现在将参考附图描述实现本发明各个实施例的终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明实施例的说明,其本身并没有特定的意义。因此,"模块"与"部件"可以混合地使用。
终端可以以各种形式来实施。例如,本发明实施例中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、个人数字助理(PDA,Personal Digital Assistant)、平板电脑(PAD)、便携式多媒体播放器(PMP,Portable Media Player)、导航装置等等的终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。
参见图1,本发明实施例运用“第一处理单元+第二处理单元”的架构来实现终端100支持两张用户识别卡均驻留在4G网络,使用4G进行数据业务。
图1中的第一用户识别卡110和第二用户识别卡120可管理与不同或相同的技术标准相关联的不同用户。在特定非限制性实例中,技术标准可为2G通信技术(例如,GSM、GPRS、EDGE)、3G通信技术(例如,WCDMA、TDS-CDMA)、4G通信技术(例如,LTE、TD-LTE),或任何其它移动通信技术(例如,5G、4.5G等等)。
在一个实施例中,第一用户识别卡110保存有用于第一4G网络通信的信息。第二用户识别卡120保存有用于第二4G网络通信的信息。具体的,用户识别卡可存储以下信息中的一个或多个:唯一序列号(ICCID)、国际移动用户标识(IMSI)、安全认证和加密信息、与本地网络相关的临时信息、用户接入的业务列表、个人身份号码(PIN)和用于PIN解锁的个人解锁码(PUK)。
在本发明的实施例中,第一处理单元130用于完成协议处理,以及用于对收发的通信数据进行调制解调,以实现与外部通信设备的通信等。
第二处理单元140用于完成协议处理,以及用于对收发的通信数据进行调制解调,以实现与外部通信设备的通信等。
在本发明的一实施例中,协议处理包括执行处理各种与网络交互的网络制式的协议栈,例如,LTE/WCDMA/GSM/TDSCDMA/1X/CDMA/EVDO等通信标准里规定好的协议代码。这些标准的协议是终端100与运营商网络进行交互(例如,通过数据流量上网、通过VOLTE打电话或者通过CS电路域打电话等)所必须遵从的。
第一处理单元130包括一个或多个数据接口,例如,通用I/O接口、UART接口、USB接口、I2C接口等等。第二处理单元140同样包括一个或多个数据传输接口,例如,通用I/O接口、UART接口、USB接口、I2C接口等等。
考虑到4G网络的下行速率较快(150Mbps),为了能做到对第二处理单元140的数据的即收即送(无需缓冲),高速数据传输接口需要足够的带宽和数据传输能力。USB接口即为高速数据传输接口。
通用I/O接口作为状态侦测接口,通过电平的高/低或者脉冲来识别。例如,第一处理芯片200可通过状态侦测引脚的电平高/低状态,检测第二处理芯片300是否处于死机状态。
UART接口是一种串行通信接口,用于传输控制信号、状态信号等基本信息。
第一处理单元130可通过数据接口(例如,UART接口)分别与第一用户 识别卡110和第二用户识别卡120连接,以从第一用户识别卡110和第二用户识别卡120获取卡信息,后续将详细介绍卡信息获取的流程。
此外,第一处理单元130可通过UART接口与第二处理单元140连接,以将卡信息传输给第二处理单元。
第一处理单元130可通过modem芯片实现,第二处理单元140可通过modem芯片实现。
在本发明的实施例中,通过高速USB数据接口高速传输网络数据,满足数据传输需求,当没有网络数据需要传输时,使用低功耗的低速数据接口传输信息,从而既保证了数据传输又能节省功耗。
第一处理单元130通过数据接口获取第一用户识别卡110和第二识别卡120的信息后,第一处理单元130可根据获取的信息进行搜网注册、鉴权等操作。
参见图1,第一应用服务处理器150和第二应用服务处理器160间可通过数据接口(例如,GPIO接口和USB接口)连接。
第一应用服务处理器150用于处理复杂的逻辑操作以及进行任务分配,为用户提供交互接口,将用户输入的操作指令(例如,用户通过用户界面输入的有关上网或打电话的操作指令)传输给第一处理单元130或第二处理单元140。第一应用服务处理器150处理器执行终端100的操作系统。操作系统存储于存储器中,操作系统包括但不限于Windows、Linux、Unix、Mac OS X、IOS、Solaris、Android等。
在本发明的实施例中,第二应用服务处理器160不进行数据的处理,仅起到透传的作用。例如,用于将第二处理单元140接收到的数据透传给第一应用服务处理器150进行处理,以及将第一应用服务处理器150传过来的数据透传给第二处理单元140。
第一射频170和第二射频180用于完成信号的上变频、下变频、滤波、放大、发射、接收等。第一射频170和第二射频180所涉及的无线接入技术可以 包括LTE、GSM、GPRS等等。
在本发明的实施例中,终端100可同时使用两张用户识别卡的数据网络,同时下载数据业务,达到双数据并发下载加速的目的,因此,同一张用户识别卡需要能被第一处理单元130和第二处理单元140访问。这里所指的访问是获取用户识别卡的信息,以实现通过与第一用户识别卡110相关联的第一订阅与网络通信,以及通过与第二用户识别卡120相关联的第二订阅与网络通信。
参见图1,本发明实施例中,在硬件结构上,两张用户识别卡均与第一处理单元130连接。在一个实施例中,第一处理单元130可通过数据接口分别与第一用户识别卡110和第二用户识别卡120连接,从而对第一用户识别卡110和第二用户识别卡120进行信息读写操作。
而第二处理单元140对用户识别卡的信息的获取,需要通过与第一处理单元130的交互获取。具体的:在本发明的一实施例中,第一处理单元130与第二处理单元140通过数据接口(例如,UART数据接口)进行连接,以将用户识别卡的信息传递给第二处理单元140。
为了实现第一处理单元130与第二处理单元140之间卡信息的交互,将第一处理单元130与第二处理单元140之间的通信协议划分为物理层、传输层和应用层。其中,物理层用于进行数据的发送和接收。传输层可扩展多个接口,分别用于对应应用层开启的不同的服务。应用层用于开启服务以执行相应的信息获取功能。
具体的,参见图2,首先,第一处理单元130和第二处理单元140分别进行一个或多个端口的配置。在本发明的实施例中,端口为虚拟逻辑端口,配置端口包括为其设置端口号等等。按照功能划分,端口包括两种,第一种是用于与应用层注册的服务相对应的端口,将应用层服务获取的信息传输至传输层;第二种是用于与物理层的物理接口相对应的端口,将信息传输至相应的物理接口,从而实现信息的发送(或接收)。
具体的,第一处理单元130注册服务以执行相应的功能。在本发明的实施 例中,服务可为预设服务。例如,将获取卡的信息作为预设服务,则当满足预设条件时,第二处理器发送同步帧以和第一处理器建立连接后,第一处理器即可注册该预设服务,从而执行该预设服务的功能。在本发明的一实施例中,预设服务为获取用户识别卡的信息。
在本发明的实施例中,不同的服务的功能不相同,例如,可注册用于获取卡信息的服务。在本发明的实施例中还可注册其它类型的服务,例如,用于获取状态信息、控制信息等等的服务。每一服务和一端口相对应,即服务获取的信息将通过与该服务对应的端口进行传输。这里的端口指的是上述第一种端口。
因此,在本发明的实施例中,由于可扩展多个端口(上述第一种端口),分别与不同的服务相对应,且可根据实际通信传输需求,调用不同的传输层,以将信息传输至物理层接口(例如,USB接口、共享内存接口等),可支持扩展多个传输层协议。例如,对于一第一服务,调用传输层1以进行信息传输,而对于一第二服务,可调用传输层2以进行信息传输。不同的传输层采用的传输层协议等不相同。
第二处理单元140发送sync帧(同步帧)给第一处理单元130;第一处理单元130还用于接收到sync帧后回复确认帧(ACK),以在第一处理单元130和第二处理单元140间建立连接。在本发明的实施例中,当满足预设条件时,第二处理单元140发起连接建立的过程,即发送sync帧。预设条件可为开机、重启等进行初始化的时候。
应理解,在本发明的实施例中,第一处理单元130和第二处理单元140之间通过sync和ACK建立连接、第一处理单元130注册服务并无先后顺序。第一处理单元130注册服务可在建立连接之前或之后。
第二处理单元140执行服务发现,并注册与服务相对应的客户端。在一个实施例中,第二处理单元140注册的客户端与第一处理单元130注册的服务是相对应的。且和第一处理单元130注册服务相同,第二处理单元140注册的客户端也与一相应的端口相对应,以通过该端口将信息传输至传输层,在经由传 输层的端口传输至相应的物理接口。
当第二处理单元140注册了客户端后,第一处理单元130和第二处理单元140可进行信息的交互。具体的,在进行信息交互时,可采用如图3所示的数据包格式。其包括标志位(包头部分)、长度(整个数据包的长度)、控制标志(标志是客户端还是服务端)、端口号(本地port)、服务ID、客户ID、数据ID、控制位、消息ID、数据长度、数据(data)。
在本发明的一实施例中,端口号为上述的第二种端口的端口号,即用于标志数据包传输至哪一个物理接口。例如,物理接口包括USB接口和共享内存接口时,通过端口号可将数据包正确的传输至相应的物理接口,实现与第二处理单元140的交互。由此,当数据包传输至物理层时,端口号字段可被删除,即传输到对端的数据包中不包含端口号字段。
在本发明实施例中,不同的物理接口(硬件接口)的端口号不同,因此,通过在数据包中指定端口号,可实现数据包的正确转发,使得应用层注册的服务获取的信息可实现通过准确的物理接口进行发送。由此,本发明实施例的双核通信装置可支持扩展多个物理接口(即可扩展多个物理层协议)。
服务ID为注册的服务的ID号。客户端ID为与服务对应的客户端的ID号。控制位用于标识该数据包为请求包、回复包等。数据(data)采用type-len-value格式,其中,type用于表示整个数据块的类型,len用于表示value区的大小,value为数据区。
在本发明的实施例中,一个服务可能需要发送多个数据包,由此,消息ID表示发送数据包的序号。数据ID用于区分数据包的消息类型。每个数据包中可包括多个不同类型的数据,由此,一个消息ID可与多个type相对应。例如,可将信号强度、网络制式等信息作为一个数据包发送,在数据字段中通过type表示不同的数据块的类型,由此,实现一个数据包可将属于同一消息类型的多种信息进行发送。
应理解,图3所示的数据包格式仅为示例性的,还可采用其它类似的格式。
在本发明的一个实施例中,具体的,第一处理单元130配置一与预设服务相对应的第一逻辑端口,以及配置一与第一处理器的物理接口相对应的第二逻辑端口。预设服务得到的信息通过第一逻辑端口传输至第二逻辑端口,以通过第一处理器的物理接口传输给第二处理器。第二处理单元140配置一与客户端相对应的第三逻辑端口,以及配置一与第二处理器的物理接口相对应的第四逻辑端口。第二处理器的物理接口接收到的信息通过第四逻辑端口传输至第三逻辑端口,以传输给客户端。
在本发明的实施例中,当第二处理单元140关机,或发生异常重启时,第二处理20关闭客户端、端口。当其恢复正常时,可通过发送同步帧(sync帧)的方式与第一处理单元130重新建立连接,以重新执行注册服务、注册客户端等过程,进行信息交互。
同样的,若第一处理单元130关机或发生异常重启等情况时,第一处理单元130将关闭相应的服务、端口。当第一处理单元130其恢复正常时,可通过发送同步帧(sync帧)的方式与第二处理单元140重新建立连接,以重新执行注册服务、注册客户端等过程,进行信息交互。
本发明实施例的终端,第一处理器和第二处理器间采用C/S通信架构,实现对信息的共享。由此,第一处理单元130可将获取到的信息共享给第二处理单元140,即可实现第二处理单元140对信息的即时获取。且由于对于不同的服务注册不同的端口进行相应的传输,可支持扩展多个传输层协议;且支持扩展多个物理层协议。
利用上述的用户识别卡信息共享方案,实现第二处理单元对用户识别卡信息的获取后,在搜网注册阶段:
在本发明的一实施例中,可将第一用户识别卡作为主卡,第二用户识别卡作为副卡。则在搜网注册时,第一处理单元获取第一用户识别卡的信息,并根据获取的信息加载与第一用户识别卡相对应的网络参数,以在第一网络注册第一用户识别卡的PS数据业务。
第一处理单元还将获取的第二用户识别卡的信息发送给第二处理单元。第二处理单元根据接收到的第二用户识别卡的信息在第二网络注册第二用户识别卡的PS数据业务。
此外,第二处理单元还可对第一用户识别卡和/或第二用户识别卡进行读写操作。
当终端100进行数据业务传输时,分为以下情况:
(一)通过第一用户识别卡进行数据业务
上行:第一应用服务处理器150接收用户指令,并根据用户指令控制第一处理单元130对上行数据进行处理;第一射频170将第一处理单元130处理后的上行数据传输至第一4G网络。
下行:第一射频170接收来自第一4G网络的下行数据,并传输给第一处理单元130处理;第一应用服务处理器150将第一处理单元130处理后的下行数据进行输出、存储等操作。
(二)通过第二用户识别卡进行数据业务
上行:第一应用服务处理器150接收用户指令,并根据用户指令控制第二应用服务处理器160将上行数据透传给第二处理单元140;第二处理单元140对上行数据进行处理;第二射频180将第二处理单元140处理后的上行数据传输至第二4G网络。
下行:第二射频180接收来自第二4G网络的下行数据,并传输给第二处理单元140处理;第二处理单元140通过第二应用服务处理器160将处理后的下行数据透传给第一应用服务处理器150,由此可进行输出、存储等操作。
(三)同时通过第一用户识别卡和第二用户识别卡进行数据业务
同时通过第一用户识别卡和第二用户识别卡进行数据业务时,可包括以下两种情况:
一是,分别通过第一用户识别卡和第二用户识别卡传输不同的数据业务。在该种情况下,通过两条数据通道分别传输不同的数据业务,可极大的提高传 输效率。
二是,通过第一用户识别卡和第二用户识别卡同时传输同一数据业务。在这种情况下,需要进行流量的分配,即将同一数据业务分为不同的数据块分别由两个数据通道进行传输。应理解,可以按照均分,或者根据链路质量(速率、延时等)调整两个通道的流量等方式实现。
本发明实施例的终端,通过第一处理单元和第二处理单元间的交互,实现支持两张用户识别卡均驻留在4G网络,可利用两条4G通道进行数据业务的并发传输,提高传输效率;另一方面,两张用户识别卡均由第一处理单元进行管理,可提高管理效率。且第一处理单元和第二处理单元间采用C/S通信架构,实现对信息的共享。由此,第一处理单元可利用数据接口将获取到的信息共享给第二处理单元,无需利用共享内存等方式,即可实现第二处理单元对信息的即时获取,节省成本。且由于对于不同的服务注册不同的端口进行相应的传输,可支持扩展多个传输层协议和物理层协议。
基于上述移动终端硬件结构示意图,提出本发明方法各个实施例,具体请参见后续说明。
实施例一、
本发明实施例中,终端包括两个用户识别卡(第一用户识别卡110和第二用户识别卡120),用户识别卡可以具体为SIM、USIM、RUIM、UIM等。终端可利用每个用户识别卡与网络进行通信,当同时利用两张用户识别卡进行数据业务时,在某些情况下并不能提高速率,还会严重增加终端功耗:例如,当其中一张用户识别卡进行数据业务时,若其链路质量很差,则终端将会通过增加发射功率的方式提高信号质量,由此极大的增加功耗;或当利用单张用户识别卡进行数据业务时已经能够满足用户对数据业务的速率需求时,若仍开启两个用户识别卡进行数据业务,并不能提高用户体验,还会增加功耗。
本发明实施例提出以下降低终端功耗的方法,通过对两个用户识别卡进行 数据业务时两个第一属性是否满足第一预定条件的判断,来选择至少一个用户识别卡进行数据业务,并禁止终端利用其余用户识别卡进行数据业务,进而达到节省电量,降低终端功耗的目的。
具体的,参见图4为本发明实施例的降低终端功耗的方法的流程实现示意图;如图4所示,所述方法包括:
步骤201:当终端利用两个用户识别卡与网络进行连接时,获取所述终端利用所述两个用户识别卡进行数据业务时的两个第一属性;
这里,第一属性表征为利用用户识别卡与网络进行通信进行数据业务时的速率或流量等因素。当两个用户识别卡处于开启状态,终端同时利用两个已开启的用户识别卡与网络进行连接时,获取已开启的两个用户识别卡与网络进行通信的速率或流量,得到两个速率值或两个流量值。
在本发明的实施例中,每隔预设时间(例如,1秒),获取字节数的变化作为当前速率。此外,还可通过信号强度、时延等信息作为第一属性表征。信号强度、时延等可通过相应的检测获取。例如,可发送前导数据包以测量时延、拥塞率等,具体的,发送一前导数据包(一种自定义测试数据包不包含用户数据,仅用于链路质量测量);当前导数据包发送后,终端等待网络返回的应答数据包(ACK),通过发送和接收的时延即可确定当前数据通道的时延、拥塞率。
此外,还可通过小区消息,获取信号强度(RSSI)、信噪比(SNR)、参考信号接收功率(RSRR)、带宽、丢包率等可衡量各用户识别卡进行数据业务的链路质量。
步骤202:判断所述两个第一属性是否满足第一预定条件,生成第一判断结果;
这里,判断两个速率值或两个流量值是否满足第一预定条件,生成第一判断结果。
步骤203:依据第一判断结果,控制所述终端利用两个用户识别卡中的至少一个用户识别卡进行数据业务。
这里,依据第一判断结果,在已开启的两个用户识别卡的数据通道中,控制终端利用至少一个已开启的用户识别卡进行数据业务。对于已开启的全部用户识别卡,终端仅利用部分用户识别卡进行数据业务。例如,对于已开启的2个用户识别卡,仅利用其中1个用户识别卡进行数据业务,控制另1个不进行所述数据业务。
综上所述,当终端利用两个用户识别卡同时与网络进行连接时,通过对两个用户识别卡进行数据业务时的两个第一属性是否满足第一预定条件的判断,来选择部分用户识别卡如至少一个用户识别卡进行数据业务,并禁止终端利用其余用户识别卡进行数据业务,进而达到节省电量、降低终端功耗、提升终端的续航能力的目的。
本发明实施例的终端有两个用户识别卡。参见图1,当进行数据业务时,第一用户识别卡110是通过第一射频170与网络进行数据交互,第二用户识别卡120是通过第二射频与网络进行数据交互。本发明实施例中,在每个射频中设置一个供电通路。也就是说,终端还包括两个分别用于给第一射频170和第二射频180供电的供电通路。在控制终端利用两个用户识别卡中的至少一个用户识别卡进行数据业务时,与该用户识别卡相应的射频的供电通路处于导通状态。对于无法进行网络数据访问的用户识别卡,与其相应的射频的供电通路处于关闭状态。也即,当与第一射频170连接的供电通路为导通状态时,终端方可利用第一用户识别卡110进行数据业务。当与第二射频180进行连接的供电通路为关闭状态时,终端无法利用第二用户识别卡120进行数据业务。由此可见,本方案通过对某个(些)供电通路的状态控制(导通状态或关闭状态)使得终端可利用相应的用户识别卡进行数据业务。
以下,以终端利用2个用户识别卡同时与网络进行连接为例对本方案进行进一步说明。
获取终端利用两个用户识别卡进行数据业务时两个第一属性,包括:
获取终端利用第一用户识别卡进行数据业务时的第一速率;
获取终端利用第二用户识别卡进行数据业务时的第二速率。
相应的,判断两个第一属性是否满足第一预定条件,生成第一判断结果,包括:
判断第一速率、第二速率是否均达到访问网络数据的最小速率;
当第一速率、第二速率均达到最小速率时,生成第一判断子结果;
当第一速率、第二速率仅有一个速率达到最小速率时,生成第二判断子结果;
当第一速率、第二速率均未达到最小速率时,生成第三判断子结果。
相应的,依据第一判断结果,控制终端利用两个用户识别卡中的至少一个用户识别卡进行数据业务,包括:
当第一判断结果为第一判断子结果时,利用第一用户识别卡、第二用户识别卡中进行数据业务时信号强度大的用户识别卡进行数据业务;
当第一判断结果为第二判断子结果时,利用第一速率、第二速率中达到最小速率的速率所对应的用户识别卡进行数据业务;
当第一判断结果为第三判断子结果时,同时利用第一用户识别卡和第二用户识别卡进行数据业务。
下面以第一用户识别卡为卡1、第二用户识别卡为卡2,第一速率为速率1、第二速率为速率2为例对前述方案做具体说明:
终端分别启动卡1、卡2,在利用这2个卡同时进行数据业务,对终端利用每个卡进行数据业务时所使用的传输速率进行监测。假定监测到终端利用卡1进行数据业务的传输速率为速率1、利用卡2进行数据业务的传输速率为速率2。当检测到终端存在有向网络进行网络数据访问的需求如终端想要下载数据1时,将能够达到将数据1下载下来的最小速率视为访问数据1的最小速率,判断速率1、速率2是否能够达到将数据1下载下来的最小速率如2兆/秒;
如果判断为速率1、速率2均达到将数据1下载下来的最小速率,生成第一判断子结果,这种情况下,检测利用卡1进行网络通信时的信号强度1、卡2 进行网络通信时的信号强度2,将信号强度1与信号强度2进行大小比较,选取信号强度大的卡进行数据1的下载。如当信号强度1大于信号强度2时,控制与卡1进行连接的供电电路1导通,控制终端利用卡1将数据1进行下载,控制与卡2进行连接的供电电路2关闭,使得终端无法利用卡2进行数据1的下载。由此可见,当速率1、速率2均达到访问数据1的最小速率时,选取信号强度大的卡来进行数据1的访问,禁止另一卡对数据1进行访问。即在终端具有可利用两个卡与网络进行通信时,选取其中一个卡进行数据业务,禁止另一卡进行数据业务,能够达到节省电量、降低终端功耗、提升终端的续航能力的目的。需要说明的是,如果比较为信号强度1等于信号强度2,那么就可以选取卡1、卡2中的任意一个卡进行数据1的下载。
如果判断为速率1、速率2中仅有一个速率能够达到将数据1下载下来的最小速率,生成第二判断子结果,在卡1、卡2中,选取与能够达到最小速率的速率对应的卡进行数据业务。例如,如果速率1达到将数据1下载下来的最小速率、速率2没有达到,那么控制与卡1进行连接的供电通路为导通状态、与卡2进行连接的供电通路为关闭状态,在卡1、卡2中选取速率1对应的卡1进行数据1的下载,禁止卡2对数据1的下载。如果速率2达到将数据1下载下来的最小速率、速率1没有达到,那么控制与卡2进行连接的供电通路为导通状态、与卡1进行连接的供电通路为关闭状态,在卡1、卡2中选取速率2对应的卡2进行数据1的下载。即控制终端利用2个卡中的其中一个卡实现对数据1的下载,禁止另一个卡对数据1的下载,达到节省电量、降低终端功耗、提升终端的续航能力的目的。
如果判断为速率1、速率2达到均未达到将数据1下载下来的最小速率,生成第三判断子结果,同时利用卡1和卡2进行数据业务。即控制与卡1进行连接的供电通路、与卡2进行连接的供电通路均为导通状态,同时利用卡1和卡2对数据1进行下载。在2个卡的速率均无法达到下载数据1的最小速率时,同时利用这2个卡进行数据1的下载,以保证数据1的下载成功完成。
综上,当终端利用2个卡同时与网络进行连接时,通过对卡1对应的速率1、卡2对应的速率2是否能够达到数据1的最小下载速率的判断,来选择其中1个卡进行数据1的下载,并禁止终端利用另一个卡进行数据1的下载。仅利用其中1个卡实现数据1的下载,无需利用另1个卡,能够有效节省电量、降低终端功耗、提升终端的续航能力。
实施例二、
本发明实施例还提供一种终端,所述终端包括两个用户识别卡。如图5所示,所述终端还包括:第一获取单元401、第一判断单元402、第一控制单元403;其中,
第一获取单元401,用于当终端利用两个用户识别卡进行数据业务时,获取终端利用两个用户识别卡进行数据业务时两个第一属性;
第一判断单元402,用于判断两个第一属性是否满足第一预定条件,生成第一判断结果;
第一控制单元403,用于依据第一判断结果,控制终端利用两个用户识别卡中的至少一个用户识别卡进行数据业务。
第一获取单元401,用于:
获取终端利用第一用户识别卡进行数据业务时的第一速率;
获取终端利用第二用户识别卡进行数据业务时的第二速率。
第一判断单元402,还用于:
判断第一速率、第二速率是否均达到访问网络数据的最小速率;
当第一速率、第二速率均达到最小速率时,生成第一判断子结果;
当第一速率、第二速率仅有一个速率达到最小速率时,生成第二判断子结果;
当第一速率、第二速率均未达到最小速率时,生成第三判断子结果。
第一控制单元403,还用于:
当第一判断结果为第一判断子结果时,控制终端利用第一用户识别卡、第二用户识别卡中连接网络时信号强度大的用户识别卡进行数据业务;
当第一判断结果为第二判断子结果时,控制终端利用第一速率、第二速率中达到最小速率的速率所对应的用户识别卡进行数据业务;
当第一判断结果为第三判断子结果时,控制终端同时利用第一用户识别卡和第二用户识别卡进行数据业务。
终端还包括两个射频和两个供电通路,每个射频与一用户识别卡相对应,且每个射频与对应的供电通路相连接;终端还包括第二控制单元(图5中未示意出),用于:
在第一控制单元403控制终端利用两个用户识别卡中的至少一个用户识别卡进行数据业务时,控制与至少一个用户识别卡相对应的供电通路处于导通状态。
第二控制单元,还用于:控制两个用户识别卡中除至少一个用户识别卡之外的其它用户识别卡相对应的供电通路处于关闭状态,以使其它用户识别卡无法进行数据业务。
本领域技术人员应当理解,图5中所示的终端中的各处理单元的实现功能可参照前述降低终端功耗的方法的相关描述而理解。本领域技术人员应当理解,图5所示的终端中各处理单元的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。
需要说明的是,本发明实施例提供的终端,由于该终端解决问题的原理与前述降低终端功耗的方法相似,因此,终端的实施过程及实施原理均可以参见前述方法的实施过程及实施原理描述,重复之处不再赘述。
本发明实施例中,当终端利用两个用户识别卡同时与网络进行连接时,通过对两个用户识别卡进行数据业务时的两个第一属性是否满足第一预定条件的判断,来选择部分用户识别卡如至少一个用户识别卡进行数据业务,并禁止终端利用其余用户识别卡进行数据业务,进而达到节省电量,降低终端功耗的目 的;且通过第一处理单元和第二处理单元间的交互,实现支持两张用户识别卡均驻留在4G网络,可利用两条4G通道进行数据业务的并发传输,提高传输效率。
在本发明的实施例中,第一4G网络和第二4G网络可为不同运营商的不同网络,或为相同运营商的相同或不同网络。4G网络可为为LTE网络。
实施例三、
图6为实现本实施例可选的终端的结构示意图。在本实施例中,该终端包括第一WIFI应用模块610、第二WIFI应用模块620、与第一WIFI应用模块610和第二WIFI应用模块620连接的WIFI服务模块630、以及与WIFI服务模块630连接的第一处理模块640和第二处理模块650;
第一WIFI应用模块610或第二WIFI应用模块620用于在接收到用户输入的WIFI连接操作时,发送WIFI连接指令至WIFI服务模块630;
WIFI服务模块630用于在接收到WIFI连接指令时,将WIFI连接指令发送至对应的第一处理模块640或第二处理模块650;
第一处理模块640用于在接收到WIFI服务模块630发送的WIFI连接指令时,根据WIFI连接指令以及对应的协议建立WIFI连接;第二处理模块650用于在接收到WIFI服务模块630发送的WIFI连接指令时,根据WIFI连接指令以及对应的协议建立WIFI连接;
WIFI服务模块630还用于在WIFI连接成功,且检测第一处理模块640和第二处理模块650均处于数据通信正常状态时,启动双WIFI上网数据的路由配置,由第一处理模块640和第二处理模块650同时进行数据通信。
本发明提供的终端主要包括手机、PAD(平板电脑)等具有WIFI功能的终端设备。在本实施例中,该终端主要应用于双WIFI通信,当然,在其他实施例中,该终端并不局限于本发明提供的双WIFI通信模式,还可以为三WIFI及三WIFI以上的多WIFI通信模式。
该终端的第一WIFI应用模块610和第二WIFI应用模块620提供相应的WIFI应用操作界面,供用户通过WIFI应用操作界面进行相应的控制与操作。比如第一WIFI应用模块610和第二WIFI应用模块620可用通过WIFI服务模块630分别控制第一处理模块640和第二处理模块650的连接断开。第一处理模块640和第二处理模块650分别处理第一WIFI应用模块610和第二WIFI应用模块620下发的指令以及WIFI热点的连接状态信息等。
当用户要通过终端连接WIFI热点进行上网等操作时,用户可以通过第一WIFI应用模块610对应的WIFI应用操作界面或者第二WIFI应用模块620对应的WIFI应用操作界面选择某一个WIFI热点进行WIFI连接操作,第一WIFI应用模块610或第二WIFI应用模块620在接收到WIFI连接操作时,触发WIFI连接指令,并将该WIFI连接指令发送至WIFI服务模块630。例如,当用户基于第一WIFI应用模块610对应的WIFI应用操作界面执行WIFI连接操作,当第一WIFI应用模块610接收到该WIFI连接操作时,触发WIFI连接指令,并将该WIFI连接指令发送至WIFI服务模块630。
当WIFI服务模块630接收到该WIFI连接指令时,WIFI服务模块630判断该WIFI连接指令对应的处理模块是第一处理模块640还是第二处理模块650,也即判断用户是基于第一WIFI应用模块610执行WIFI连接操作还是基于第二WIFI应用模块620执行WIFI连接操作。具体地,当用户基于第一WIFI应用模块610对应的WIFI应用操作界面执行WIFI连接操作,第一WIFI应用模块610发送WIFI连接指令至WIFI服务模块630时,WIFI服务模块630判断该WIFI连接指令对应第一处理模块640;当用户基于第二WIFI应用模块620对应的WIFI应用操作界面执行WIFI连接操作,第二WIFI应用模块620发送WIFI连接指令至WIFI服务模块630时,WIFI服务模块630判断该WIFI连接指令对应第二处理模块650。当WIFI服务模块630判断该WIFI连接指令对应第一处理模块640时,WIFI服务模块630将该WIFI连接指令发送至第一处理模块640;当WIFI服务模块630判断该WIFI连接指令对应第二处理模块650 时,WIFI服务模块630将该WIFI连接指令发送至第二处理模块650。
当第一处理模块640接收到该WIFI连接指令时,根据该WIFI连接指令以及对应的协议建立WIFI连接;当第二处理模块650接收到该WIFI连接指令时,根据该WIFI连接指令以及对应的协议建立WIFI连接。
具体地,参见图7,第一处理模块640包括第一WIFI处理单元41以及第一WIFI芯片42。第一WIFI处理单元41在接收到WIFI服务模块630发送的WIFI连接指令时,将该WIFI连接指令以及对应的协议发送至第一WIFI芯片42。第一WIFI芯片42根据接收到的WIFI连接指令以及对应的协议时,建立WIFI连接。
参见图8,第二处理模块650包括第二WIFI处理单元51以及第二WIFI芯片52。第二WIFI处理单元51在接收到WIFI服务模块630发送的WIFI连接指令时,将该WIFI连接指令以及对应的协议发送至第二WIFI芯片52。第二WIFI芯片52根据接收到的WIFI连接指令以及对应的协议时,建立WIFI连接。
参见图9,具体地,在终端的应用层包括第一WIFI应用模块610和第二WIFI应用模块620,在终端的框架层包括WIFI服务模块630、第一框架子单元411和第二框架子单元511,在终端的协议层包括第一协议子单元412和第二协议子单元512,在终端的驱动层包括第一驱动子单元413和第二驱动子单元513。WIFI服务模块630分别与第一框架子单元411和第二框架子单元511连接,第一框架子单元411连接第一协议子单元412,第一协议子单元412连接第一驱动子单元413,第一驱动子单元413连接第一WIFI芯片42,第二框架子单元511连接第二协议子单元512,第二协议子单元512连接第二驱动子单元513,第二驱动子单元513连接第二WIFI芯片52。
当第一框架子单元411在接收到WIFI服务模块630发送的WIFI连接指令时,第一框架子单元411将该WIFI连接指令发送至第一协议子单元412。第一协议子单元412在接收到该WIFI连接指令时,将WIFI热点信息写入对应的配 置文件并按照WIFI热点对应的协议选择规定的协议,并将该协议与该WIFI连接指令发送至第一WIFI芯片42。通过第一WIFI芯片42执行空口交互操作,建立WIFI连接。第一WIFI芯片或所述第二WIFI芯片用于根据接收到的WIFI连接指令以及对应的协议时,建立WIFI连接。
当第二框架子单元511在接收到WIFI服务模块630发送的WIFI连接指令时,第二框架子单元511将该WIFI连接指令发送至第二协议子单元512。第二协议子单元512在接收到该WIFI连接指令时,将WIFI热点信息写入对应的配置文件并按照WIFI热点对应的协议选择规定的协议,并将该协议与该WIFI连接指令发送至第二WIFI芯片52。通过第二WIFI芯片52执行空口交互操作,建立WIFI连接。
在本实施例中,预先设置有单WIFI上网数据的路由配置和双WIFI上网数据的路由配置。当WIFI连接成功,且第一处理模块640和第二处理模块650均处于数据通信正常状态时,WIFI服务模块630启动双WIFI上网数据的路由配置,由第一处理模块640和第二处理模块650同时进行数据通信。因此,用户可以通过第一处理模块640和第二处理模块650同时访问同一个网络,或者通过第一处理模块640和第二处理模块650分别访问不同的网络,例如分别访问外网和办公网、上网和打印机等。进一步地,在第一处理模块640和第二处理模块650同时进行数据通信时,例如第一处理模块640和第二处理模块650同时访问同一个网络时,WIFI服务模块630还可以执行控制第一处理模块640和第二处理模块650的带宽分配等操作。例如,按照均分或按预设比例等相应的规则为第一处理模块640和第二处理模块650分配相应的带宽。
并且,由于WIFI服务模块630与第一处理模块640和第二处理模块650均可进行交互,避免了独立运行两个WIFI模块造成的冗余,对数据通信的流程进行了简化,从而提高了数据通信效率。
本实施例提供的终端,包括第一WIFI应用模块610、第二WIFI应用模块620、与第一WIFI应用模块610和第二WIFI应用模块620连接的WIFI服务模 块630、以及与WIFI服务模块630连接的第一处理模块640和第二处理模块650。第一WIFI应用模块610或第二WIFI应用模块620在接收到用户输入的WIFI连接操作时,发送WIFI连接指令至WIFI服务模块630,WIFI服务模块630将接收到的WIFI连接指令时发送至对应的第一处理模块640或第二处理模块650,第一处理模块640或第二处理模块650在接收到WIFI服务模块630发送的WIFI连接指令时,根据WIFI连接指令以及对应的协议建立WIFI连接,在WIFI连接成功,且第一处理模块640和第二处理模块650均处于数据通信正常状态时,WIFI服务模块630启动双WIFI上网数据的路由配置,由第一处理模块640和第二处理模块650同时进行数据通信,因此,用户可以通过第一处理模块640和第二处理模块650同时访问同一个网络,或者通过第一处理模块640和第二处理模块650分别访问不同的网络,提高了网络的访问效率。
进一步地,在一些实施例中,WIFI服务模块630用于:
在WIFI连接成功时,发送IP地址获取指令至第一处理模块640和第二处理模块650;并在接收到第一处理模块640反馈的第一IP地址和第二处理模块650反馈的第二IP地址时,判断第一处理模块640和第二处理模块650均处于数据通信正常状态。
在本实施例中,第一处理模块640或第二处理模块650在成功建立WIFI连接时,第一处理模块640或第二处理模块650发送WIFI连接成功的信息至WIFI服务模块630。当WIFI服务模块630在接收到WIFI连接成功的信息时,WIFI服务模块630同时发送IP地址获取指令至第一处理模块640和第二处理模块650。当第一处理模块640接收到IP地址获取指令时,第一处理模块640获取对应的第一IP地址,在获取到第一IP地址时,将该第一IP地址发送至WIFI服务模块630,WIFI服务模块630在接收到第一处理模块640发送的第一IP地址时,若第一IP地址不为空,则判断第一处理模块640处于通信正常状态;WIFI服务模块630在接收到第一处理模块640发送的空地址时,判断第一处理模块640处于通信异常状态。
当第二处理模块650接收到IP地址获取指令时,第二处理模块650获取对应的第二IP地址,在获取到第二IP地址时,将该第二IP地址发送至WIFI服务模块630,WIFI服务模块630在接收到第二处理模块650发送的第二IP地址时,若第二IP地址不为空,则判断第二处理模块650处于通信正常状态;WIFI服务模块630在接收到第二处理模块650发送的空地址时,判断第二处理模块650处于通信异常状态。
当WIFI服务模块630接收到第一处理模块640发送的第一IP地址以及第二处理模块650发送的第二IP地址均不为空时,判断第一处理模块640和第二处理模块650均处于数据通信正常状态。
具体地,以第一处理模块640成功建立WIFI连接为例,当WIFI服务模块630在接收到WIFI连接成功的信息时,WIFI服务模块630同时发送IP地址获取指令至第一框架子单元411和第二框架子单元511。第一框架子单元411启动DHCP服务获取第一IP地址,并通过操作系统接口将IP地址获取指令发送至第一驱动子单元413,第一驱动子单元413驱动控制第一WIFI芯片42完成与成功连接的WIFI热点的空口交互,第一WIFI芯片42获取WIFI热点分配的第一IP地址,并将第一IP地址上传至第一框架子单元411。第一框架子单元411在接收到第一IP地址时,将该第一IP地址存储于第一框架子单元411的缓存中。同时,在该列举的例子中,由于第二处理模块650的WIFI连接状态未发生变化,第二框架子单元511在接收到WIFI服务模块630发送的IP地址获取指令时,将第二框架子单元511的缓存中存储的第二IP地址发送至WIFI服务模块630。
进一步地,在本实施例中,WIFI服务模块630还用于:
在WIFI连接成功,且检测第一处理模块640或第二处理模块650处于数据通信正常状态时,启动单WIFI上网数据的路由配置,由第一处理模块640或第二处理模块650进行数据通信。
当WIFI连接成功,且WIFI服务模块630检测到第一处理模块640或第二 处理模块650处于数据通信正常状态时,也即第一处理模块640或第二处理模块650中的一个处于数据通信异常状态时,WIFI服务模块630启动单WIFI上网数据的路由配置,由第一处理模块640或第二处理模块650进行数据通信。
进一步地,在本实施例中,WIFI服务模块630还用于在接收到第一处理模块640或第二处理模块650发送的连接状态信息时,将连接状态信息发送至对应的第一WIFI应用模块610或第二WIFI应用模块620;
第一WIFI应用模块610或第二WIFI应用模块620还用于在接收到WIFI服务模块630发送的连接状态信息时,在第一WIFI应用模块610或第二WIFI应用模块620对应的应用界面上显示连接状态信息。
当第一处理模块640或第二处理模块650在建立WIFI连接的过程中,第一处理模块640或第二处理模块650实时将连接状态信息发送至WIFI服务模块630。当WIFI服务模块630在接收到连接状态信息时,将连接状态信息发送至对应的第一WIFI应用模块610或第二WIFI应用模块620。具体地,当WIFI服务模块630在接收到第一处理模块640发送的连接状态信息时,将该连接状态信息发送至第一WIFI应用模块610;当WIFI服务模块630在接收到第二处理模块650发送的连接状态信息时,将该连接状态信息发送至第二WIFI应用模块620。
当第一WIFI应用模块610接收到WIFI服务模块630发送的连接状态信息时,在第一WIFI应用模块610对应的应用界面上显示连接状态信息。用户通过查看第一WIFI应用模块610对应的应用界面可获知该连接状态信息。当第二WIFI应用模块620接收到WIFI服务模块630发送的连接状态信息时,在第二WIFI应用模块620对应的应用界面上显示连接状态信息。用户通过查看第二WIFI应用模块620对应的应用界面可获知该连接状态信息。
当WIFI连接失败时,WIFI服务模块630向对应的第一WIFI应用模块610或第二WIFI应用模块620发送连接失败的提示信息。用户通过查看第一WIFI应用模块610对应的应用界面或第二WIFI应用模块620对应的应用界面可获 知WIFI连接失败。
本实施例提供的方案,在WIFI连接成功,且检测第一处理模块640或第二处理模块650处于数据通信正常状态时,WIFI服务模块630启动单WIFI上网数据的路由配置,由第一处理模块640或第二处理模块650进行数据通信,实现用户通过该可用的WIFI模块访问网络进行上网等操作,用户不需要手动进行网络切换,进一步提高了用户体验。
在上述具有双WIFI功能的终端的基础上,参见图10,本发明实施例提供一种降低终端功耗的方法,用于解决利用双WIFI模块进行数据传输时的功耗问题。具体的,本发明实施例的降低终端功耗的方法包括:
步骤1001:当终端利用至少两个WIFI模块与网络进行连接时,获取终端利用至少两个WIFI模块进行网络连接时至少两个属性;
这里,所述属性表征为利用WIFI模块与网络进行通信时的速率或流量等因素。当至少两个WIFI模块处于开启状态,终端同时利用至少两个已开启的WIFI模块与网络进行连接时,获取已开启的至少两个WIFI模块与网络进行通信的速率或流量,得到至少两个速率值或至少两个流量值。
步骤1002:判断至少两个属性是否满足第二预定条件,生成第二判断结果;
这里,判断至少两个速率值或至少两个流量值是否满足第二预定条件,生成第二判断结果。
步骤1003:依据第二判断结果,控制终端利用至少两个WIFI模块中的至少一个WIFI模块进行网络数据的访问。
这里,依据第二判断结果,在已开启的至少两个WIFI模块中,控制终端利用至少一个已开启的WIFI模块进行网络数据的访问。对于已开启的全部WIFI模块,终端仅利用部分WIFI模块进行网络数据的访问。例如,对于已开启的2个WIFI模块,仅利用其中1个WIFI模块进行网络数据的访问,控制另1个不进行网络数据的访问。
综上,当终端利用至少两个WIFI模块同时与网络进行连接时,通过对至少两个WIFI模块进行网络连接时的至少两个属性是否满足第二预定条件的判断,来选择部分WIFI模块如至少一个WIFI模块进行网络数据的访问,并禁止终端利用其余WIFI模块进行网络数据的访问,进而达到节省电量、降低终端功耗、提升终端的续航能力的目的。
本实施例中,终端包括至少两个分别与不同的WIFI模块连接的供电通路,用于为WIFI模块供电,使其能够正常工作。具体的,如上述所述终端包括第一WIFI模块和第二WIFI模块。其中,第一WIFI模块包括第一处理模块,第一处理模块包括第一WIFI处理单元和第一WIFI芯片。第二WIFI模块包括第二处理模块,第二处理模块包括第二WIFI处理单元和第二WIFI芯片。
每个WIFI芯片有一个与其连接的供电通路。也就是说,终端还包括两个供电通路,每个WIFI模块与对应的供电通路相连接。在控制终端利用至少两个WIFI模块中的至少一个WIFI模块进行网络数据的访问时,与至少一个WIFI模块连接的供电通路处于导通状态。对于无法进行网络数据访问的WIFI模块(至少两个WIFI模块中除至少一个WIFI模块之外的其它WIFI模块),与其相连的供电通路处于关闭状态。也即,当与WIFI模块A连接的供电通路为导通状态时,终端方可利用WIFI模块A进行网络数据的访问。当与WIFI模块B进行连接的供电通路为关闭状态时,终端无法利用WIFI模块B进行网络数据的访问。由此可见,本方案通过对某个(些)供电通路的状态控制(导通状态或关闭状态)使得终端可利用相应的WIFI模块进行网络数据的访问。
当至少两个WIFI模块为第一WIFI模块和第二WIFI模块时,获取终端利用至少两个WIFI模块进行网络连接时至少两个属性,包括:
获取终端利用第一WIFI模块进行网络连接时的第一速率;
获取终端利用第二WIFI模块进行网络连接时的第二速率。
相应的,判断至少两个属性是否满足第一预定条件,生成第一判断结果,包括:
判断第一速率、第二速率是否均达到访问网络数据的最小速率;
当第一速率、第二速率均达到最小速率时,生成第一判断子结果;
当第一速率、第二速率仅有一个速率达到最小速率时,生成第二判断子结果;
当第一速率、第二速率均未达到最小速率时,生成第三判断子结果。
相应的,依据第二判断结果,控制终端利用至少两个WIFI模块中的至少一个WIFI模块进行网络数据的访问,包括:
当第二判断结果为第一判断子结果时,利用第一WIFI模块、第二WIFI模块中连接网络时信号强度大的WIFI模块进行网络数据的访问;
当第二判断结果为第二判断子结果时,利用第一速率、第二速率中达到最小速率的速率所对应的WIFI模块进行网络数据的访问;
当第二判断结果为第三判断子结果时,同时利用第一WIFI模块和第二WIFI模块进行网络数据的访问。
下面以第一速率为速率1、第二速率为速率2为例对前述方案做具体说明。终端分别启动第一WIFI模块和第二WIFI模块,利用这2个WIFI模块同时进行网络连接,对终端利用每个WIFI模块进行网络连接时所使用的传输速率进行监测。假定监测到终端利用第一WIFI模块进行网络连接的传输速率为速率1、利用第二WIFI模块进行网络连接的传输速率为速率2。当检测到终端存在有向网络进行网络数据访问的需求如终端想要下载数据1时,将能够达到将数据1下载下来的最小速率视为访问数据1的最小速率,判断速率1、速率2是否能够达到将数据1下载下来的最小速率如2兆/秒;
如果判断为速率1、速率2均达到将数据1下载下来的最小速率,生成第一判断子结果,这种情况下,检测利用第一WIFI模块进行网络通信时的信号强度1、第二WIFI模块进行网络通信时的信号强度2,将信号强度1与信号强度2进行大小比较,选取信号强度大的卡进行数据1的下载。如当信号强度1大于信号强度2时,控制与第一WIFI模块进行连接的供电电路1导通,控制 终端利用第一WIFI模块将数据1进行下载,控制与第二WIFI模块进行连接的供电电路2关闭,使得终端无法利用第二WIFI模块进行数据1的下载。由此可见,当速率1、速率2均达到访问数据1的最小速率时,选取信号强度大的卡来进行数据1的访问,禁止另一WIFI模块对数据1进行访问。即在终端具有可利用至少两个WIFI模块与网络进行通信时,选取其中一个WIFI模块进行网络数据的访问,禁止另一WIFI模块进行网络数据的访问,能够达到节省电量、降低终端功耗、提升终端的续航能力的目的。需要说明的是,如果比较为信号强度1等于信号强度2,那么就可以选取第一WIFI模块、第二WIFI模块中的任意一个卡进行数据1的下载。
如果判断为速率1、速率2中仅有一个速率能够达到将数据1下载下来的最小速率,生成第二判断子结果,在第一WIFI模块、第二WIFI模块中,选取与能够达到最小速率的速率对应的卡进行网络数据的访问。例如,如果速率1达到将数据1下载下来的最小速率、速率2没有达到,那么控制与第一WIFI模块进行连接的供电通路为导通状态、与第二WIFI模块进行连接的供电通路为关闭状态,在第一WIFI模块、第二WIFI模块中选取速率1对应的第一WIFI模块进行数据1的下载,禁止第二WIFI模块对数据1的下载。如果速率2达到将数据1下载下来的最小速率、速率1没有达到,那么控制与第二WIFI模块进行连接的供电通路为导通状态、与第一WIFI模块进行连接的供电通路为关闭状态,在第一WIFI模块、第二WIFI模块中选取速率2对应的第二WIFI模块进行数据1的下载。即控制终端利用2个WIFI模块中的其中一个WIFI模块实现对数据1的下载,禁止另一个WIFI模块对数据1的下载,达到节省电量、降低终端功耗、提升终端的续航能力的目的。
如果判断为速率1、速率2达到均未达到将数据1下载下来的最小速率,生成第三判断子结果,同时利用第一WIFI模块和第二WIFI模块进行网络数据的访问。即控制与第一WIFI模块进行连接的供电通路、与第二WIFI模块进行连接的供电通路均为导通状态,同时利用第一WIFI模块和第二WIFI模块对数 据1进行下载。在2个WIFI模块的速率均无法达到下载数据1的最小速率时,同时利用这2个WIFI模块进行数据1的下载,以保证数据1的下载成功完成。
综上,当终端利用2个WIFI模块同时与网络进行连接时,通过对第一WIFI模块对应的速率1、第二WIFI模块对应的速率2是否能够达到数据1的最小下载速率的判断,来选择其中1个WIFI模块进行数据1的下载,并禁止终端利用另一个WIFI模块进行数据1的下载。仅利用其中1个WIFI模块实现数据1的下载,无需利用另1个WIFI模块,能够有效节省电量、降低终端功耗、提升终端的续航能力。
实施例四、
本发明实施例还提供一种终端,终端包括至少两个WIFI模块。如图11所示,终端还包括:第一获取单元1101、第一判断单元1102、第一控制单元1103;其中,
第一获取单元1101,用于当终端利用至少两个WIFI模块与网络进行连接时,获取终端利用至少两个WIFI模块进行网络连接时至少两个属性;
第一判断单元1102,用于判断至少两个属性是否满足第二预定条件,生成第二判断结果;
第一控制单元1103,用于依据第二判断结果,控制终端利用至少两个WIFI模块中的至少一个WIFI模块进行网络数据的访问。
其中,当至少两个WIFI模块为第一WIFI模块和第二WIFI模块时,
第一获取单元1101,用于:
获取终端利用第一WIFI模块进行网络连接时的第一速率;
获取终端利用第二WIFI模块进行网络连接时的第二速率。
第一判断单元1102,还用于:
判断第一速率、第二速率是否均达到访问网络数据的最小速率;
当第一速率、第二速率均达到最小速率时,生成第二判断子结果;
当第一速率、第二速率仅有一个速率达到最小速率时,生成第二判断子结果;
当第一速率、第二速率均未达到最小速率时,生成第三判断子结果。
第一控制单元1103,还用于:
当第二判断结果为第一判断子结果时,控制终端利用第一WIFI模块、第二WIFI模块中连接网络时信号强度大的WIFI模块进行网络数据的访问;
当第二判断结果为第二判断子结果时,控制终端利用第一速率、第二速率中达到最小速率的速率所对应的WIFI模块进行网络数据的访问;
当第二判断结果为第三判断子结果时,控制终端同时利用第一WIFI模块和第二WIFI模块进行网络数据的访问。
终端还包括至少两个供电通路,每个WIFI模块与对应的供电通路相连接;终端还包括第二控制单元,用于:
在第一控制单元1103控制终端利用至少两个WIFI模块中的至少一个WIFI模块进行网络数据的访问时,控制与至少一个WIFI模块的WIFI芯片连接的供电通路处于导通状态。
第二控制单元,还用于:控制至少两个WIFI模块中除至少一个WIFI模块之外的其它WIFI模块的WIFI芯片的供电通路处于关闭状态,以使其它WIFI模块无法进行网络数据的访问。
本领域技术人员应当理解,图11中所示的终端中的各处理单元的实现功能可参照前述降低终端功耗的方法的相关描述而理解。本领域技术人员应当理解,图11所示的终端中各处理单元的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。
需要说明的是,本发明实施例提供的终端,由于该终端解决问题的原理与前述降低终端功耗的方法相似,因此,终端的实施过程及实施原理均可以参见前述方法的实施过程及实施原理描述,重复之处不再赘述。
本发明实施例中,当终端利用至少两个WIFI模块同时与网络进行连接时, 通过对至少两个WIFI模块进行网络连接时的至少两个属性是否满足第一预定条件的判断,来选择部分WIFI模块如至少一个WIFI模块进行网络数据的访问,并禁止终端利用其余WIFI模块进行网络数据的访问,进而达到节省电量,降低终端功耗的目的。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。
以下结合附图对本发明的优选实施例进行详细说明,应当理解,以下所说明的优选实施例仅用于说明和解释本发明,并不用于限定本发明。
工业实用性
本发明提供了一种降低终端功耗的方法及终端,利用至少两个用户识别卡 中的部分用户识别卡如至少一个用户识别卡进行数据业务,能够有效减少终端功率的耗费,提升终端的续航能力;实现支持两张用户识别卡均驻留在4G网络,可利用两条4G通道进行数据业务的并发传输,提高传输效率。还可以利用至少两个WIFI模块中的部分WIFI模块如至少一个WIFI模块进行网络数据的访问,能够有效减少终端功率的耗费,提升终端的续航能力;另一方面,可以通过两个WIFI模块同时访问同一个网络,或者通过两个WIFI模块分别访问不同的网络,提高了网络的访问效率。

Claims (20)

  1. 一种降低终端功耗的方法,应用于一终端中,所述终端包括两个用户识别卡;所述方法包括:
    当所述终端利用所述两个用户识别卡进行数据业务时,获取所述终端利用所述两个用户识别卡进行数据业务时两个第一属性;
    判断所述两个第一属性是否满足第一预定条件,生成第一判断结果;
    依据第一判断结果,控制所述终端利用所述两个用户识别卡中的至少一个用户识别卡进行数据业务。
  2. 根据权利要求1所述的方法,其中,所述两个用户识别卡为第一用户识别卡和第二用户识别卡;
    获取所述终端利用所述两个用户识别卡进行数据业务时两个第一属性,包括:
    获取所述终端利用所述第一用户识别卡进行数据业务时的第一速率;
    获取所述终端利用所述第二用户识别卡进行数据业务时的第二速率。
  3. 根据权利要求2所述的方法,其中,所述判断所述两个第一属性是否满足第一预定条件,生成第一判断结果,包括:
    判断第一速率、第二速率是否均达到访问所述网络数据的最小速率;
    当第一速率、第二速率均达到所述最小速率时,生成第一判断子结果;
    当第一速率、第二速率仅有一个速率达到所述最小速率时,生成第二判断子结果;当第一速率、第二速率均未达到所述最小速率时,生成第三判断子结果;
    相应的,所述控制所述终端利用所述两个用户识别卡中的至少一个用户识别卡进行数据业务,包括:
    当第一判断结果为第一判断子结果时,利用第一用户识别卡、第二用户识别卡中连接所述网络时信号强度大的用户识别卡进行所述数据业务;
    当第一判断结果为第二判断子结果时,利用所述第一速率、第二速率中达到所述最小速率的速率所对应的用户识别卡进行数据业务;
    当第一判断结果为第三判断子结果时,同时利用第一用户识别卡和第二用户识别卡进行数据业务。
  4. 根据权利要求1所述的方法,其中,所述终端还包括两个射频,以及分别用于给所述两个射频供电的两个供电通路,每个用户识别卡与一射频相对应;在控制所述终端利用所述两个用户识别卡中的至少一个用户识别卡进行数据业务时,与所述至少一个用户识别卡对应的射频的供电通路处于导通状态;
    相应的,所述在控制所述终端利用所述两个用户识别卡中的至少一个用户识别卡进行数据业务时,所述方法还包括:
    控制所述两个用户识别卡中除所述至少一个用户识别卡之外的其它用户识别卡对应的射频的供电通路处于关闭状态,以使所述其它用户识别卡无法进行数据业务。
  5. 根据权利要求2-4任一项所述的方法,其中,所述终端还包括:第一处理单元;第二处理单元;
    相应的,所述方法还包括:当满足预设条件时,第二处理单元向第一处理单元发送同步帧;第一处理单元接收到第二处理器发送的同步帧后,回复确认帧以与第二处理单元建立连接;第一处理单元注册预设服务以获取第一用户识别卡和/或第二用户识别卡的信息;第二处理单元执行服务发现,并注册与所述预设服务相对应的客户端,以与所述第一处理单元进行第一用户识别卡和/或第二用户识别卡的信息的交互;
    其中,进行用户识别卡的信息交互时采用的数据包格式至少包括以下字段之一:标志位、长度、控制标志、端口号、服务ID、客户ID、数据ID、控制位、消息ID、数据长度、数据。
  6. 一种终端,所述终端包括两个用户识别卡;所述终端还包括:
    第一获取单元,配置为当所述终端利用所述两个用户识别卡进行数据业务 时,获取所述终端利用所述两个用户识别卡进行数据业务时两个第一属性;
    第一判断单元,配置为判断所述两个第一属性是否满足第一预定条件,生成第一判断结果;
    第一控制单元,配置为依据第一判断结果,控制所述终端利用所述两个用户识别卡中的至少一个用户识别卡进行数据业务。
  7. 根据权利要求6所述的终端,其中,所述两个用户识别卡为第一用户识别卡和第二用户识别卡时,
    所述第一获取单元,配置为获取所述终端利用所述第一用户识别卡进行数据业务时的第一速率;获取所述终端利用所述第二用户识别卡进行数据业务时的第二速率。
  8. 根据权利要求7所述的终端,其中,
    所述第一判断单元,配置为判断第一速率、第二速率是否均达到访问所述网络数据的最小速率;当第一速率、第二速率均达到所述最小速率时,生成第一判断子结果;当第一速率、第二速率仅有一个速率达到所述最小速率时,生成第二判断子结果;当第一速率、第二速率均未达到所述最小速率时,生成第三判断子结果;
    相应的,所述第一控制单元,配置为当第一判断结果为第一判断子结果时,控制所述终端利用第一用户识别卡、第二用户识别卡中连接所述网络时信号强度大的用户识别卡进行所述数据业务;当第一判断结果为第二判断子结果时,控制所述终端利用所述第一速率、第二速率中达到所述最小速率的速率所对应的用户识别卡进行数据业务;当第一判断结果为第三判断子结果时,控制所述终端同时利用第一用户识别卡和第二用户识别卡进行数据业务。
  9. 根据权利要求8所述的终端,其中,所述终端还包括两个射频,以及分别用于给所述两个射频供电的两个供电通路,每个用户识别卡与一射频相对应;所述终端还包括第二控制单元,配置为在第一控制单元控制所述终端利用所述两个用户识别卡中的至少一个用户识别卡进行数据业务时,控制与所述至少一 个用户识别卡相对应的射频的供电通路处于导通状态;
    以及控制所述两个用户识别卡中除所述至少一个用户识别卡之外的其它用户识别卡对应的射频的供电通路处于关闭状态,以使所述其它用户识别卡无法进行所述数据业务。
  10. 根据权利要求6-9任一项所述的终端,其中,所述终端还包括:第一处理单元;第二处理单元;所述第一用户识别卡和所述第二用户识别卡均与所述第一处理单元连接,所述第一处理单元与所述第二处理单元连接;其中,
    所述第一处理单元,配置为获取所述第一用户识别卡的信息,以基于获取的所述第一用户识别卡的信息与第一4G网络通信,进行数据业务;获取所述第二用户识别卡的信息;
    所述第二处理单元,配置为从所述第一处理单元处获取所述第二用户识别卡的信息,以基于获取的所述第二用户识别卡的信息与第二4G网络通信,进行数据业务。
  11. 一种降低终端功耗的方法,应用于终端,所述终端包括至少两个WIFI模块;所述方法包括:
    当所述终端利用所述至少两个WIFI模块与网络进行连接时,获取所述终端利用所述至少两个WIFI模块进行网络连接时至少两个属性;
    判断所述至少两个属性是否满足第二预定条件,生成第二判断结果;
    依据第二判断结果,控制所述终端利用所述至少两个WIFI模块中的至少一个WIFI模块进行网络数据的访问。
  12. 根据权利要求11所述的方法,其中,当所述至少两个WIFI模块为第一WIFI模块和第二WIFI模块时,所述获取所述终端利用所述至少两个WIFI模块进行网络连接时至少两个属性,包括:
    获取所述终端利用所述第一WIFI模块进行网络连接时的第一速率;
    获取所述终端利用所述第二WIFI模块进行网络连接时的第二速率;
    相应的,所述判断所述至少两个属性是否满足第二预定条件,生成第二判 断结果,包括:
    判断第一速率、第二速率是否均达到访问所述网络数据的最小速率;当第一速率、第二速率均达到所述最小速率时,生成第一判断子结果;当第一速率、第二速率仅有一个速率达到所述最小速率时,生成第二判断子结果;当第一速率、第二速率均未达到所述最小速率时,生成第三判断子结果。
  13. 根据权利要求12所述的方法,其中,所述第二判断结果,控制所述终端利用所述至少两个WIFI模块中的至少一个WIFI模块进行网络数据的访问,包括:
    当第二判断结果为第一判断子结果时,利用第一WIFI模块、第二WIFI模块中连接所述网络时信号强度大的WIFI模块进行所述网络数据的访问;
    当第二判断结果为第二判断子结果时,利用所述第一速率、第二速率中达到所述最小速率的速率所对应的WIFI模块进行网络数据的访问;
    当第二判断结果为第三判断子结果时,同时利用第一WIFI模块和第二WIFI模块进行网络数据的访问。
  14. 根据权利要求12或13所述的方法,其中,所述终端还包括:第一WIFI应用模块、第二WIFI应用模块、与所述第一WIFI应用模块和所述第二WIFI应用模块连接的WIFI服务模块;所述第一WIFI模块包括:第一处理模块;所述第二WIFI模块包括:第二处理模块;其中,所述第一处理模块包括第一WIFI处理单元以及第一WIFI芯片;所述第二处理模块包括第二WIFI处理单元以及第二WIFI芯片;
    相应的,所述方法还包括:
    所述第一WIFI处理单元在接收到所述WIFI服务模块发送的WIFI连接指令时,将所述WIFI连接指令以及对应的协议发送至所述第一WIFI芯片;所述第二WIFI处理单元在接收到所述WIFI服务模块发送的WIFI连接指令时,将所述WIFI连接指令以及对应的协议发送至所述第二WIFI芯片;
    所述第一WIFI芯片或所述第二WIFI芯片根据接收到的WIFI连接指令以 及对应的协议时,建立WIFI连接。
  15. 根据权利要求14所述的方法,其中,所述方法还包括:
    控制所述至少两个WIFI模块中除所述至少一个WIFI模块之外的其它WIFI模块的WIFI芯片的供电通路处于关闭状态,以使所述其它WIFI模块无法进行所述网络数据的访问。
  16. 一种终端,所述终端包括至少两个WIFI模块;所述终端还包括:
    第一获取单元,配置为当所述终端利用所述至少两个WIFI模块与网络进行连接时,获取所述终端利用所述至少两个WIFI模块进行网络连接时至少两个属性;
    第一判断单元,配置为判断所述至少两个属性是否满足第二预定条件,生成第二判断结果;
    第一控制单元,配置为依据第二判断结果,控制所述终端利用所述至少两个WIFI模块中的至少一个WIFI模块进行网络数据的访问。
  17. 根据权利要求16所述的终端,其中,当所述至少两个WIFI模块为第一WIFI模块和第二WIFI模块时,
    所述第一获取单元,配置为获取所述终端利用所述第一WIFI模块进行网络连接时的第一速率;获取所述终端利用所述第二WIFI模块进行网络连接时的第二速率;
    相应的,所述第一判断单元,配置为判断第一速率、第二速率是否均达到访问所述网络数据的最小速率;当第一速率、第二速率均达到所述最小速率时,生成第一判断子结果;当第一速率、第二速率仅有一个速率达到所述最小速率时,生成第二判断子结果;当第一速率、第二速率均未达到所述最小速率时,生成第三判断子结果。
  18. 根据权利要求17所述的终端,其中,所述第一控制单元,配置为当第二判断结果为第一判断子结果时,控制所述终端利用第一WIFI模块、第二WIFI模块中连接所述网络时信号强度大的WIFI模块进行所述网络数据的访问;
    当第二判断结果为第二判断子结果时,控制所述终端利用所述第一速率、第二速率中达到所述最小速率的速率所对应的WIFI模块进行网络数据的访问;
    当第二判断结果为第三判断子结果时,控制所述终端同时利用第一WIFI模块和第二WIFI模块进行网络数据的访问。
  19. 根据权利要求17或18所述的终端,其中,所述终端还包括:第一WIFI应用模块、第二WIFI应用模块、与所述第一WIFI应用模块和所述第二WIFI应用模块连接的WIFI服务模块;
    所述第一WIFI模块包括:第一处理模块;所述第二WIFI模块包括:第二处理模块;
    所述第一WIFI应用模块或所述第二WIFI应用模块,配置为在接收到用户输入的WIFI连接操作时,发送WIFI连接指令至所述WIFI服务模块;
    所述WIFI服务模块,配置为在接收到所述WIFI连接指令时,将所述WIFI连接指令发送至对应的第一处理模块或第二处理模块;
    所述第一处理模块,配置为在接收到所述WIFI服务模块发送的WIFI连接指令时,根据所述WIFI连接指令以及对应的协议建立WIFI连接;所述第二处理模块用于在接收到所述WIFI服务模块发送的WIFI连接指令时,根据所述WIFI连接指令以及对应的协议建立WIFI连接;
    所述WIFI服务模块,配置为在WIFI连接成功,且检测所述第一处理模块和所述第二处理模块均处于数据通信正常状态时,启动双WIFI上网数据的路由配置,由所述第一处理模块和所述第二处理模块同时进行数据通信。
  20. 根据权利要求19所述的终端,其中,所述第一处理模块包括第一WIFI处理单元以及第一WIFI芯片;所述第二处理模块包括第二WIFI处理单元以及第二WIFI芯片;所述终端还包括两个分别与第一WIFI芯片和第二WIFI芯片连接的供电通路;
    所述第一WIFI处理单元,配置为在接收到所述WIFI服务模块发送的WIFI连接指令时,将所述WIFI连接指令以及对应的协议发送至所述第一WIFI芯片;
    所述第二WIFI处理单元,配置为在接收到所述WIFI服务模块发送的WIFI连接指令时,将所述WIFI连接指令以及对应的协议发送至所述第二WIFI芯片;
    所述第一WIFI芯片或所述第二WIFI芯片,配置为根据接收到的WIFI连接指令以及对应的协议时,建立WIFI连接;
    所述第二控制单元,配置为控制所述至少两个WIFI模块中除所述至少一个WIFI模块之外的其它WIFI模块的WIFI芯片的供电通路处于关闭状态,以使所述其它WIFI模块无法进行所述网络数据的访问。
PCT/CN2016/099257 2016-02-03 2016-09-18 降低终端功耗的方法及终端 WO2017133253A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201610076015.5A CN105759937B (zh) 2016-02-03 2016-02-03 降低终端功耗的方法及终端
CN201610076015.5 2016-02-03
CN201610077967.9A CN105764124B (zh) 2016-01-27 2016-02-03 降低终端功耗的方法及终端
CN201610077967.9 2016-02-03

Publications (1)

Publication Number Publication Date
WO2017133253A1 true WO2017133253A1 (zh) 2017-08-10

Family

ID=56330561

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099257 WO2017133253A1 (zh) 2016-02-03 2016-09-18 降低终端功耗的方法及终端

Country Status (2)

Country Link
CN (1) CN105759937B (zh)
WO (1) WO2017133253A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290595A (zh) * 2019-06-28 2019-09-27 南昌黑鲨科技有限公司 网络连接控制方法、系统、智能终端及计算机可读存储介质
CN113079550A (zh) * 2021-03-05 2021-07-06 北京字节跳动网络技术有限公司 移动终端控制方法、装置和电子设备
CN113078921A (zh) * 2021-03-01 2021-07-06 北京小米移动软件有限公司 数据处理方法、装置以及存储介质
EP4007382A4 (en) * 2019-08-19 2022-09-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. WIFI NETWORK DISCONNECTION PROCEDURE AND ASSOCIATED DEVICE

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105759937B (zh) * 2016-02-03 2020-07-28 努比亚技术有限公司 降低终端功耗的方法及终端
CN106376054B (zh) * 2016-08-29 2023-03-17 上海纽菲斯信息科技有限公司 一种移动设备的双wifi系统及网络连接控制方法
CN106455132B (zh) * 2016-09-28 2019-10-18 Oppo广东移动通信有限公司 多wifi模块控制方法、装置及终端设备
CN106507072A (zh) * 2016-10-11 2017-03-15 努比亚技术有限公司 一种无线投影装置、系统及方法
CN106792130B (zh) * 2016-12-13 2020-06-19 南京秦淮紫云创益企业服务有限公司 移动终端和移动终端的控制方法
CN106792029A (zh) * 2016-12-29 2017-05-31 努比亚技术有限公司 视频的播放方法和移动终端
CN107148060A (zh) * 2017-05-23 2017-09-08 维沃移动通信有限公司 一种网络连接方法及其应用的移动终端
CN107708190A (zh) * 2017-09-29 2018-02-16 努比亚技术有限公司 Wi‑Fi控制方法、移动终端及计算机可读存储介质
CN107708224A (zh) * 2017-09-29 2018-02-16 努比亚技术有限公司 Wi‑Fi控制方法、移动终端及计算机可读存储介质
CN107580359B (zh) * 2017-09-29 2020-11-03 新沂市摩尔网络科技有限公司 无线热点共享方法、移动终端及计算机可读存储介质
CN107635263A (zh) * 2017-09-29 2018-01-26 努比亚技术有限公司 Wi‑Fi控制方法、移动终端及计算机可读存储介质
CN107635278A (zh) * 2017-09-29 2018-01-26 努比亚技术有限公司 Wi‑Fi控制方法、移动终端及计算机可读存储介质
CN107750055A (zh) * 2017-09-29 2018-03-02 努比亚技术有限公司 Wi‑Fi控制方法、移动终端及计算机可读存储介质
CN108112052B (zh) * 2017-12-13 2021-09-10 广东美的制冷设备有限公司 终端的网络共享方法、装置、空气调节器及存储介质
CN109274596B (zh) * 2018-08-23 2021-01-22 Oppo广东移动通信有限公司 数据传输方法及相关装置
CN110233937B (zh) * 2019-07-30 2021-06-25 腾讯科技(深圳)有限公司 一种数据传输方法、装置、设备及存储介质
CN112399442B (zh) * 2019-08-19 2022-04-22 Oppo广东移动通信有限公司 数据传输方法及相关装置
CN110572829B (zh) * 2019-09-05 2022-08-16 Oppo(重庆)智能科技有限公司 网络连接控制方法及相关产品
CN111163510B (zh) * 2019-12-27 2023-09-22 Oppo广东移动通信有限公司 网络控制方法、装置、存储介质及电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561414A (zh) * 2013-09-23 2014-02-05 深圳酷派技术有限公司 终端和多通道数据传输方法
WO2014166241A1 (zh) * 2013-08-19 2014-10-16 中兴通讯股份有限公司 一种带wifi的终端节能处理的方法及装置
CN104519458A (zh) * 2014-12-29 2015-04-15 宇龙计算机通信科技(深圳)有限公司 一种网络连接的方法、终端、无线路由器及系统
CN105188098A (zh) * 2015-09-30 2015-12-23 努比亚技术有限公司 一种移动终端的网络切换装置和网络切换方法
CN105578509A (zh) * 2016-01-27 2016-05-11 努比亚技术有限公司 基于多通道数据业务处理方法和装置
CN105764124A (zh) * 2016-01-27 2016-07-13 努比亚技术有限公司 降低终端功耗的方法及终端
CN105759937A (zh) * 2016-02-03 2016-07-13 努比亚技术有限公司 降低终端功耗的方法及终端

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8116223B2 (en) * 2006-11-09 2012-02-14 Ivt Technology Inc. System and method for supporting automatic establishing and disconnecting several wireless connections

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014166241A1 (zh) * 2013-08-19 2014-10-16 中兴通讯股份有限公司 一种带wifi的终端节能处理的方法及装置
CN103561414A (zh) * 2013-09-23 2014-02-05 深圳酷派技术有限公司 终端和多通道数据传输方法
CN104519458A (zh) * 2014-12-29 2015-04-15 宇龙计算机通信科技(深圳)有限公司 一种网络连接的方法、终端、无线路由器及系统
CN105188098A (zh) * 2015-09-30 2015-12-23 努比亚技术有限公司 一种移动终端的网络切换装置和网络切换方法
CN105578509A (zh) * 2016-01-27 2016-05-11 努比亚技术有限公司 基于多通道数据业务处理方法和装置
CN105764124A (zh) * 2016-01-27 2016-07-13 努比亚技术有限公司 降低终端功耗的方法及终端
CN105759937A (zh) * 2016-02-03 2016-07-13 努比亚技术有限公司 降低终端功耗的方法及终端

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290595A (zh) * 2019-06-28 2019-09-27 南昌黑鲨科技有限公司 网络连接控制方法、系统、智能终端及计算机可读存储介质
EP4007382A4 (en) * 2019-08-19 2022-09-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. WIFI NETWORK DISCONNECTION PROCEDURE AND ASSOCIATED DEVICE
CN113078921A (zh) * 2021-03-01 2021-07-06 北京小米移动软件有限公司 数据处理方法、装置以及存储介质
CN113079550A (zh) * 2021-03-05 2021-07-06 北京字节跳动网络技术有限公司 移动终端控制方法、装置和电子设备

Also Published As

Publication number Publication date
CN105759937B (zh) 2020-07-28
CN105759937A (zh) 2016-07-13

Similar Documents

Publication Publication Date Title
WO2017133253A1 (zh) 降低终端功耗的方法及终端
CN105764124B (zh) 降低终端功耗的方法及终端
US20190037388A1 (en) User device, communication method, and computer storage medium
JP6883031B2 (ja) マルチsimワイヤレス通信デバイスにおける仮想加入者識別モジュール(sim)のサポートを改善するためのシステムおよび方法
US9055154B2 (en) Mobile communication device with subscriber identity module
WO2017128672A1 (zh) 用户设备和信息转发方法
EP2875668B1 (en) Technique for load balancing between cellular network subscriptions in a router having both short range and cellular communication interfaces
EP3923625A1 (en) Data packet latency parameter acquisition method, system and apparatus
WO2014069868A1 (ko) 엔에프씨를 이용한 와이파이 다이렉트 서비스 방법 및 이를 위한 장치
JP2015511081A (ja) デュアルsim単一スタンバイデバイス中の加入管理の方法および装置
WO2015010488A1 (zh) 数据分流方法、数据分流设备及异构网络
WO2013163842A1 (zh) 一种移动终端接入无线接入点的方法和无线接入点
KR20150098633A (ko) 와이파이 다이렉트 서비스 시스템에서 통신 설정 방법 및 이를 위한 장치
EP3190830A1 (en) Service processing method and device
US20180255486A1 (en) Adaptively supplementing wlan throughput with wwan data
US20210099912A1 (en) Rate control method, apparatus, and system
US8948754B2 (en) Method and apparatus for establishing a communication connection
CA2815069C (en) Mobile communication device with subscriber identity module
TW202201995A (zh) 無線通信的裝置和方法
CN113473539B (zh) 一种数据传输方法及电子设备
US11812375B2 (en) Simultaneous network slice usage via dual connectivity
US20230100377A1 (en) Network Slice Allocation and Network Slice Rejection
US20220124158A1 (en) Method and apparatus for changing data transmission scheme, device, and storage medium
KR20230135381A (ko) 이동 통신 시스템에서의 네트워크 슬라이싱 기반 접속 방법 및 그를 위한 장치 및 시스템
CN114258158A (zh) 聚合配置方法、装置及终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16889064

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16889064

Country of ref document: EP

Kind code of ref document: A1