[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN105759937B - Method for reducing power consumption of terminal and terminal - Google Patents

Method for reducing power consumption of terminal and terminal Download PDF

Info

Publication number
CN105759937B
CN105759937B CN201610076015.5A CN201610076015A CN105759937B CN 105759937 B CN105759937 B CN 105759937B CN 201610076015 A CN201610076015 A CN 201610076015A CN 105759937 B CN105759937 B CN 105759937B
Authority
CN
China
Prior art keywords
wifi
module
terminal
processing module
rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610076015.5A
Other languages
Chinese (zh)
Other versions
CN105759937A (en
Inventor
廖宏俭
易晓柯
赵军宏
王佰祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610076015.5A priority Critical patent/CN105759937B/en
Publication of CN105759937A publication Critical patent/CN105759937A/en
Priority to PCT/CN2016/099257 priority patent/WO2017133253A1/en
Application granted granted Critical
Publication of CN105759937B publication Critical patent/CN105759937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • 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. Transmission Power Control [TPC] 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for reducing power consumption of a terminal, which comprises the following steps: when the terminal is connected with a network by utilizing the at least two WIFI modules, acquiring at least two first attributes when the terminal is connected with the network by utilizing the at least two WIFI modules; judging whether the at least two first attributes meet a first preset condition or not, and generating a first judgment result; and controlling the terminal to access network data by using at least one WIFI module of the at least two WIFI modules according to the first judgment result. The invention also discloses a terminal. The method for reducing the power consumption of the terminal and the terminal have the advantages that the data transmission is carried out by utilizing the double WIFI, the power consumption of the terminal can be effectively reduced, and the cruising ability of the terminal is improved.

Description

Method for reducing power consumption of terminal and terminal
Technical Field
The invention relates to a terminal technology, in particular to a method for reducing power consumption of a terminal and the terminal.
Background
With the improvement of the living standard of modern people, terminals such as smart phones and PAD (tablet personal computer) are necessities in life, and one of the most important functions of the terminals is to realize the internet surfing function through the communication between the WIFI module and the internet. The WIFI module of the existing terminal generally only has one WIFI chip, a corresponding protocol stack and upper-layer application, only supports connection to one WIFI hotspot, and has low network access efficiency due to the influence of factors such as bandwidth limitation of WIFI, excessive number of terminals connected with the WIFI hotspot and the like.
On the other hand, if a plurality of WIFI modules are used for data transmission at the same time, the requirement for speed is higher, and at the same time, more power consumption is generated, and before the current battery technology is not applied in a breakthrough manner, the endurance time of the terminal of the user is affected, so that the temperature rise experience of the user is reduced.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a method for reducing power consumption of a terminal and the terminal, which can effectively reduce power consumption of the terminal and improve cruising ability of the terminal.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a method for reducing power consumption of a terminal, which is applied to the terminal, wherein the terminal comprises at least two WIFI modules; the method comprises the following steps:
when the terminal is connected with the network by utilizing the at least two WIFI modules,
acquiring at least two first attributes when the terminal utilizes the at least two WIFI modules to carry out network connection;
judging whether the at least two first attributes meet a first preset condition or not, and generating a first judgment result;
and controlling the terminal to access network data by using at least one WIFI module of the at least two WIFI modules according to the first judgment result.
In one embodiment, when the at least two WIFI modules are a first WIFI module and a second WIFI module,
acquiring at least two first attributes when the terminal utilizes the at least two WIFI modules to perform network connection, including:
acquiring a first rate when the terminal utilizes the first WIFI module to perform network connection;
and acquiring a second rate when the terminal utilizes the second WIFI module to perform network connection.
In one embodiment, the determining whether the at least two first attributes satisfy a first predetermined condition to generate a first determination result includes:
judging whether the first rate and the second rate both reach the minimum rate for accessing the network data;
when the first rate and the second rate both reach the minimum rate, generating a first judgment sub-result;
when only one of the first rate and the second rate reaches the minimum rate, generating a second judgment sub-result;
and when the first rate and the second rate do not reach the minimum rate, generating a third judgment sub-result.
In an embodiment, the controlling, by the terminal, the access to the network data by using at least one WIFI module of the at least two WIFI modules according to the first determination result includes:
when the first judgment result is a first judgment sub-result, accessing the network data by utilizing a WIFI module which has high signal intensity when the first WIFI module and the second WIFI module are connected with the network;
when the first judgment result is a second judgment sub-result, accessing network data by using a WIFI module corresponding to the rate reaching the minimum rate in the first rate and the second rate;
and when the first interpretation result is a third interpretation sub-result, simultaneously accessing the network data by utilizing the first WIFI module and the second WIFI module.
In one embodiment, the first WIFI module comprises: a first processing module;
the second WIFI module includes: a second processing module;
the terminal further comprises: the WIFI service module comprises a first WIFI application module, a second WIFI application module and a WIFI service module connected with the first WIFI application module and the second WIFI application module;
the first WIFI application module or the second WIFI application module sends a WIFI connection instruction to the WIFI service module when receiving a WIFI connection operation input by a user;
when the WIFI service module receives the WIFI connection instruction, the WIFI service module sends the WIFI connection instruction to the corresponding first processing module or second processing module;
the first processing module establishes WIFI connection according to the WIFI connection instruction and a corresponding protocol when receiving the WIFI connection instruction sent by the WIFI service module; the second processing module establishes WIFI connection according to the WIFI connection instruction and a corresponding protocol when receiving the WIFI connection instruction sent by the WIFI service module;
and when the WIFI service module is successfully connected and detects that the first processing module and the second processing module are both in a normal data communication state, starting routing configuration of double WIFI internet surfing data, and simultaneously carrying out data communication by the first processing module and the second processing module.
In one embodiment, the first processing module includes a first WIFI processing unit and a first WIFI chip; the second processing module comprises a second WIFI processing unit and a second WIFI chip;
the first WIFI processing unit sends the WIFI connection instruction and the corresponding protocol to the first WIFI chip when receiving the WIFI connection instruction sent by the WIFI service module; the second WIFI processing unit sends the WIFI connection instruction and the corresponding protocol to the second WIFI chip when receiving the WIFI connection instruction sent by the WIFI service module;
and the first WIFI chip or the second WIFI chip establishes WIFI connection according to the received WIFI connection instruction and the corresponding protocol.
In one embodiment, the terminal further comprises two power supply paths respectively connected with the first WIFI chip and the second WIFI chip;
when the terminal is controlled to access network data by using at least one WIFI module of the at least two WIFI modules, a power supply path connected with a WIFI chip of the at least one WIFI module is in a conducting state.
In one embodiment, when controlling the terminal to access network data by using at least one of the at least two WIFI modules, the method further includes:
and controlling power supply channels of WIFI chips of other WIFI modules except the at least one WIFI module in the at least two WIFI modules to be in a closed state, so that the other WIFI modules cannot access the network data.
In a second aspect, a terminal is provided, which includes at least two WIFI modules; the terminal further comprises:
the first acquisition unit is used for acquiring at least two first attributes when the terminal utilizes the at least two WIFI modules to carry out network connection;
the first judging unit is used for judging whether the at least two first attributes meet a first preset condition or not and generating a first judging result;
and the first control unit is used for controlling the terminal to access network data by utilizing at least one WIFI module in the at least two WIFI modules according to a first judgment result.
In one embodiment, when the at least two WIFI modules are a first WIFI module and a second WIFI module,
the first obtaining unit is configured to:
acquiring a first rate when the terminal utilizes the first WIFI module to perform network connection;
and acquiring a second rate when the terminal utilizes the second WIFI module to perform network connection.
In one embodiment, the first determining unit is further configured to:
judging whether the first rate and the second rate both reach the minimum rate for accessing the network data;
when the first rate and the second rate both reach the minimum rate, generating a first judgment sub-result;
when only one of the first rate and the second rate reaches the minimum rate, generating a second judgment sub-result;
and when the first rate and the second rate do not reach the minimum rate, generating a third judgment sub-result.
In one embodiment, the first control unit is further configured to:
when the first judgment result is a first judgment sub-result, controlling the terminal to access the network data by using a WIFI module with high signal strength when the first WIFI module and the second WIFI module are connected with the network;
when the first judgment result is a second judgment sub-result, controlling the terminal to access network data by using a WIFI module corresponding to the rate reaching the minimum rate in the first rate and the second rate;
and when the first judgment result is a third judgment sub-result, controlling the terminal to simultaneously access the network data by using the first WIFI module and the second WIFI module.
In one embodiment, the first WIFI module comprises: a first processing module;
the second WIFI module includes: a second processing module;
the terminal further comprises: the WIFI service module comprises a first WIFI application module, a second WIFI application module and a WIFI service module connected with the first WIFI application module and the second WIFI application module;
the first WIFI application module or the second WIFI application module is used for sending a WIFI connection instruction to the WIFI service module when a WIFI connection operation input by a user is received;
the WIFI service module is used for sending the WIFI connection instruction to the corresponding first processing module or second processing module when receiving the WIFI connection instruction;
the first processing module is used for establishing WIFI connection according to the WIFI connection instruction and a corresponding protocol when receiving the WIFI connection instruction sent by the WIFI service module; the second processing module is used for establishing WIFI connection according to the WIFI connection instruction and a corresponding protocol when receiving the WIFI connection instruction sent by the WIFI service module;
the WIFI service module is used for starting routing configuration of double WIFI internet data when the WIFI connection is successful and the first processing module and the second processing module are both detected to be in a normal data communication state, and the first processing module and the second processing module simultaneously carry out data communication.
In one embodiment, the first processing module includes a first WIFI processing unit and a first WIFI chip; the second processing module comprises a second WIFI processing unit and a second WIFI chip;
the first WIFI processing unit is used for sending the WIFI connection instruction and the corresponding protocol to the first WIFI chip when receiving the WIFI connection instruction sent by the WIFI service module; the second WIFI processing unit is used for sending the WIFI connection instruction and the corresponding protocol to the second WIFI chip when receiving the WIFI connection instruction sent by the WIFI service module;
and the first WIFI chip or the second WIFI chip is used for establishing WIFI connection according to the received WIFI connection instruction and the corresponding protocol.
In one embodiment, the terminal further comprises two power supply paths respectively connected with the first WIFI chip and the second WIFI chip;
when the terminal is controlled to access network data by using at least one WIFI module of the at least two WIFI modules, a power supply path connected with a WIFI chip of the at least one WIFI module is in a conducting state.
In one embodiment, the second control unit is further configured to:
and controlling power supply channels of WIFI chips of other WIFI modules except the at least one WIFI module in the at least two WIFI modules to be in a closed state, so that the other WIFI modules cannot access the network data.
The embodiment of the invention provides a method for reducing power consumption of a terminal and the terminal, wherein the method comprises the following steps: when the terminal is connected with a network by utilizing at least two WIFI modules, acquiring at least two first attributes when the terminal is connected with the network by utilizing the at least two WIFI modules; judging whether the at least two first attributes meet a first preset condition or not, and generating a first judgment result; and controlling the terminal to access network data by using at least one WIFI module of the at least two WIFI modules according to the first judgment result. In the embodiment, network data access is performed by using part of at least two WIFI modules, such as at least one WIFI module, so that the power consumption of the terminal can be effectively reduced, and the cruising ability of the terminal is improved; on the other hand, the same network can be accessed through the two WIFI modules simultaneously, or different networks can be accessed through the two WIFI modules respectively, so that the network access efficiency is improved.
Drawings
Fig. 1 is a schematic structural diagram of a terminal according to the present invention;
FIG. 2 is a detailed functional block diagram of a first processing block of the terminal according to the present invention;
FIG. 3 is a detailed functional block diagram of a second processing block of the terminal according to the present invention;
FIG. 4 is a schematic diagram of a detailed framework structure of the terminal according to the present invention;
fig. 5 is a schematic flowchart of a method for reducing power consumption of a terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include terminals such as a cellular phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and fixed terminals such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic structural diagram of an optional terminal for implementing various embodiments of the present invention. In this embodiment, the terminal includes a first WIFI application module 10, a second WIFI application module 20, a WIFI service module 30 connected to the first WIFI application module 10 and the second WIFI application module 20, and a first processing module 40 and a second processing module 50 connected to the WIFI service module 30;
the first WIFI application module 10 or the second WIFI application module 20 is configured to send a WIFI connection instruction to the WIFI service module 30 when receiving a WIFI connection operation input by a user;
the WIFI service module 30 is configured to send a WIFI connection instruction to the corresponding first processing module 40 or second processing module 50 when receiving the WIFI connection instruction;
the first processing module 40 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 30; the second processing module 50 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 30;
the WIFI service module 30 is further configured to start routing configuration of the dual-WIFI internet data when the WIFI connection is successful and it is detected that the first processing module 40 and the second processing module 50 are both in a normal data communication state, and the first processing module 40 and the second processing module 50 perform data communication at the same time.
The terminal provided by the invention mainly comprises terminal equipment with a WIFI function, such as a mobile phone, a PAD (PAD computer) and the like. In this embodiment, the terminal is mainly applied to dual-WIFI communication, and certainly, in other embodiments, the terminal is not limited to the dual-WIFI communication mode provided by the present invention, and may also be a multi-WIFI communication mode with three WIFI modes and more than three WIFI modes.
The first WIFI application module 10 and the second WIFI application module 20 of the terminal provide corresponding WIFI application operation interfaces for users to perform corresponding control and operation through the WIFI application operation interfaces. For example, the first WIFI application module 10 and the second WIFI application module 20 may respectively control the first processing module 40 and the second processing module 50 to be disconnected through the WIFI service module 30. The first processing module 40 and the second processing module 50 respectively process the instruction issued by the first WIFI application module 10 and the second WIFI application module 20, the connection state information of the WIFI hotspot, and the like.
When a user wants to connect to a WIFI hotspot through a terminal to perform operations such as internet surfing, the user may select a certain WIFI hotspot through a WIFI application operation interface corresponding to the first WIFI application module 10 or a WIFI application operation interface corresponding to the second WIFI application module 20 to perform a WIFI connection operation, and when receiving the WIFI connection operation, the first WIFI application module 10 or the second WIFI application module 20 triggers a WIFI connection instruction and sends the WIFI connection instruction to the WIFI service module 30. For example, when the user performs a WIFI connection operation based on the WIFI application operation interface corresponding to the first WIFI application module 10, and when the first WIFI application module 10 receives the WIFI connection operation, the WIFI connection instruction is triggered, and the WIFI connection instruction is sent to the WIFI service module 30.
When the WIFI service module 30 receives the WIFI connection instruction, the WIFI service module 30 determines whether the processing module corresponding to the WIFI connection instruction is the first processing module 40 or the second processing module 50, that is, determines whether the user performs the WIFI connection operation based on the first WIFI application module 10 or the WIFI connection operation based on the second WIFI application module 20. Specifically, when the user executes the WIFI connection operation based on the WIFI application operation interface corresponding to the first WIFI application module 10 and the first WIFI application module 10 sends the WIFI connection instruction to the WIFI service module 30, the WIFI service module 30 determines that the WIFI connection instruction corresponds to the first processing module 40; when the user executes the WIFI connection operation based on the WIFI application operation interface corresponding to the second WIFI application module 20 and the second WIFI application module 20 sends the WIFI connection instruction to the WIFI service module 30, the WIFI service module 30 determines that the WIFI connection instruction corresponds to the second processing module 50. When the WIFI service module 30 determines that the WIFI connection instruction corresponds to the first processing module 40, the WIFI service module 30 sends the WIFI connection instruction to the first processing module 40; when the WIFI service module 30 determines that the WIFI connection instruction corresponds to the second processing module 50, the WIFI service module 30 sends the WIFI connection instruction to the second processing module 50.
When the first processing module 40 receives the WIFI connection instruction, establishing a WIFI connection according to the WIFI connection instruction and a corresponding protocol; when the second processing module 50 receives the WIFI connection instruction, a WIFI connection is established according to the WIFI connection instruction and the corresponding protocol.
Specifically, referring to fig. 2, the first processing module 40 includes a first WIFI processing unit 41 and a first WIFI chip 42. When receiving the WIFI connection instruction sent by the WIFI service module 30, the first WIFI processing unit 41 sends the WIFI connection instruction and the corresponding protocol to the first WIFI chip 42. And the first WIFI chip 42 establishes WIFI connection according to the received WIFI connection instruction and the corresponding protocol.
Referring to fig. 3, the second processing module 50 includes a second WIFI processing unit 51 and a second WIFI chip 52. When receiving the WIFI connection instruction sent by the WIFI service module 30, the second WIFI processing unit 51 sends the WIFI connection instruction and the corresponding protocol to the second WIFI chip 52. And the second WIFI chip 52 establishes WIFI connection according to the received WIFI connection instruction and the corresponding protocol.
Referring to fig. 4, specifically, the application layer of the terminal includes a first WIFI application module 10 and a second WIFI application module 20, the framework layer of the terminal includes a WIFI service module 30, a first framework subunit 411 and a second framework subunit 511, the protocol layer of the terminal includes a first protocol subunit 412 and a second protocol subunit 512, and the driver layer of the terminal includes a first driver subunit 413 and a second driver subunit 513. The WIFI service module 30 is connected to the first frame subunit 411 and the second frame subunit 511 respectively, the first frame subunit 411 is connected to the first protocol subunit 412, the first protocol subunit 412 is connected to the first driving subunit 413, the first 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.
When the first frame subunit 411 receives the WIFI connection instruction sent by the WIFI service module 30, the first frame subunit 411 sends the WIFI connection instruction to the first protocol subunit 412. When receiving the WIFI connection instruction, the first protocol subunit 412 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 first WIFI chip 42. And performing air interface interaction operation through the first WIFI chip 42 to establish WIFI connection. The first WIFI chip or the second WIFI chip is used for establishing WIFI connection according to the received WIFI connection instruction and the corresponding protocol.
When the second frame subunit 511 receives the WIFI connection instruction sent by the WIFI service module 30, the second frame subunit 511 sends the WIFI connection instruction to the second protocol subunit 512. When receiving the WIFI connection instruction, the second protocol subunit 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. And performing air interface interaction operation through the second WIFI chip 52 to establish WIFI connection.
In this embodiment, a routing configuration of single WIFI internet access data and a routing configuration of dual WIFI internet access data are preset. When the WIFI connection is successful and both the first processing module 40 and the second processing module 50 are in a normal state of data communication, the WIFI service module 30 starts the routing configuration of the dual-WIFI internet data, and the first processing module 40 and the second processing module 50 perform data communication at the same time. Therefore, the user can access the same network through the first processing module 40 and the second processing module 50 at the same time, or access different networks through the first processing module 40 and the second processing module 50, respectively, such as an extranet and an office network, a web and a printer, respectively. Further, when the first processing module 40 and the second processing module 50 perform data communication simultaneously, for example, when the first processing module 40 and the second processing module 50 access the same network simultaneously, the WIFI service module 30 may further perform operations such as controlling bandwidth allocation of the first processing module 40 and the second processing module 50. For example, the first processing module 40 and the second processing module 50 are allocated with respective bandwidths according to respective rules such as equal division or preset proportion.
Moreover, since the WIFI service module 30 can interact with both the first processing module 40 and the second processing module 50, redundancy caused by independent operation of the two WIFI modules is avoided, and a data communication flow is simplified, thereby improving data communication efficiency.
The terminal provided by this embodiment includes a first WIFI application module 10, a second WIFI application module 20, a WIFI service module 30 connected to the first WIFI application module 10 and the second WIFI application module 20, and a first processing module 40 and a second processing module 50 connected to the WIFI service module 30. When receiving a WIFI connection operation input by a user, the first WIFI application module 10 or the second WIFI application module 20 sends a WIFI connection instruction to the WIFI service module 30, the WIFI service module 30 sends the received WIFI connection instruction to the corresponding first processing module 40 or the second processing module 50, when receiving the WIFI connection instruction sent by the WIFI service module 30, the first processing module 40 or the second processing module 50 establishes a WIFI connection according to the WIFI connection instruction and the corresponding protocol, and when the WIFI connection is successful and the first processing module 40 and the second processing module 50 are both in a normal data communication state, the WIFI service module 30 starts routing configuration of dual WIFI internet access data, and the first processing module 40 and the second processing module 50 perform data communication simultaneously, so that the user can access the same network simultaneously through the first processing module 40 and the second processing module 50, or the first processing module 40 and the second processing module 50 respectively access different networks, so that the access efficiency of the networks is improved.
Further, in some embodiments, WIFI service module 30 is to:
when the WIFI connection is successful, an IP address acquisition instruction is sent to the first processing module 40 and the second processing module 50; and when receiving the first IP address fed back by the first processing module 40 and the second IP address fed back by the second processing module 50, determining that both the first processing module 40 and the second processing module 50 are in a normal data communication state.
In this embodiment, when the first processing module 40 or the second processing module 50 successfully establishes the WIFI connection, the first processing module 40 or the second processing module 50 sends information that the WIFI connection is successful to the WIFI service module 30. When the WIFI service module 30 receives the information that the WIFI connection is successful, the WIFI service module 30 simultaneously sends an IP address obtaining instruction to the first processing module 40 and the second processing module 50. When the first processing module 40 receives an IP address obtaining instruction, the first processing module 40 obtains a corresponding first IP address, and when the first IP address is obtained, the first IP address is sent to the WIFI service module 30, and when the WIFI service module 30 receives the first IP address sent by the first processing module 40, if the first IP address is not empty, it is determined that the first processing module 40 is in a normal communication state; when receiving the empty address sent by the first processing module 40, the WIFI service module 30 determines that the first processing module 40 is in an abnormal communication state.
When the second processing module 50 receives the IP address obtaining instruction, the second processing module 50 obtains a corresponding second IP address, and when the second IP address is obtained, the second IP address is sent to the WIFI service module 30, and when the WIFI service module 30 receives the second IP address sent by the second processing module 50, if the second IP address is not empty, it is determined that the second processing module 50 is in a normal communication state; when receiving the empty address sent by the second processing module 50, the WIFI service module 30 determines that the second processing module 50 is in an abnormal communication state.
When the WIFI service module 30 receives that the first IP address sent by the first processing module 40 and the second IP address sent by the second processing module 50 are not empty, it is determined that the first processing module 40 and the second processing module 50 are both in a normal data communication state.
Specifically, for example, when the WIFI service module 30 receives the information that the WIFI connection is successfully established by the first processing module 40, the WIFI service module 30 simultaneously sends an IP address obtaining instruction to the first frame subunit 411 and the second frame subunit 511. First frame subunit 411 starts a DHCP service to acquire a first IP address, and sends an IP address acquisition instruction to first driving unit 413 through an operating system interface, where first driving unit 413 drives and controls first WIFI chip 42 to complete air interface interaction with a WIFI hotspot successfully connected, and first WIFI chip 42 acquires a first IP address allocated to the WIFI hotspot and uploads the first IP address to first frame subunit 411. The first frame subunit 411, upon receiving the first IP address, stores the first IP address in the cache of the first frame subunit 411. Meanwhile, in this enumerated example, since the WIFI connection state of the second processing module 50 is not changed, the second frame subunit 511, upon receiving the IP address acquisition instruction sent by the WIFI service module 30, sends the second IP address stored in the cache of the second frame subunit 511 to the WIFI service module 30.
Further, in this embodiment, the WIFI service module 30 is further configured to:
and when the WIFI connection is successful and the first processing module 40 or the second processing module 50 is detected to be in a normal data communication state, starting the routing configuration of the single WIFI internet data, and performing data communication by the first processing module 40 or the second processing module 50.
When the WIFI connection is successful and the WIFI service module 30 detects that the first processing module 40 or the second processing module 50 is in a normal state of data communication, that is, one of the first processing module 40 or the second processing module 50 is in an abnormal state of data communication, the WIFI service module 30 starts routing configuration of single WIFI internet access data, and the first processing module 40 or the second processing module 50 performs data communication.
Further, in this embodiment, the WIFI service module 30 is further configured to send the connection state information to the corresponding first WIFI application module 10 or second WIFI application module 20 when receiving the connection state information sent by the first processing module 40 or the second processing module 50;
the first WIFI application module 10 or the second WIFI application module 20 is further configured to display the connection state information on an application interface corresponding to the first WIFI application module 10 or the second WIFI application module 20 when receiving the connection state information sent by the WIFI service module 30.
When the first processing module 40 or the second processing module 50 establishes the WIFI connection, the first processing module 40 or the second processing module 50 sends the connection state information to the WIFI service module 30 in real time. When receiving the connection state information, the WIFI service module 30 sends the connection state information to the corresponding first WIFI application module 10 or second WIFI application module 20. Specifically, when receiving the connection state information sent by the first processing module 40, the WIFI service module 30 sends the connection state information to the first WIFI application module 10; when receiving the connection state information sent by the second processing module 50, the WIFI service module 30 sends the connection state information to the second WIFI application module 20.
When the first WIFI application module 10 receives the connection state information sent by the WIFI service module 30, the connection state information is displayed on the application interface corresponding to the first WIFI application module 10. The user can obtain the connection state information by looking at the application interface corresponding to the first WIFI application module 10. When the second WIFI application module 20 receives the connection state information sent by the WIFI service module 30, the connection state information is displayed on the application interface corresponding to the second WIFI application module 20. The user can know the connection status information by looking at the application interface corresponding to the second WIFI application module 20.
When the WIFI connection fails, the WIFI service module 30 sends a prompt message of the connection failure to the corresponding first WIFI application module 10 or second WIFI application module 20. The user can know that the WIFI connection fails by looking at the application interface corresponding to the first WIFI application module 10 or the application interface corresponding to the second WIFI application module 20.
According to the scheme provided by the embodiment, when the WIFI connection is successful and the first processing module 40 or the second processing module 50 is detected to be in the normal data communication state, the WIFI service module 30 starts the routing configuration of single WIFI internet data, the first processing module 40 or the second processing module 50 performs data communication, the user can access the network through the available WIFI module to perform internet access and other operations, the user does not need to manually perform network switching, and the user experience is further improved.
On the basis of the terminal with the dual WIFI functions, referring to fig. 5, an embodiment of the present invention provides a method for reducing power consumption of a terminal, which is used for solving a power consumption problem when data transmission is performed by using dual WIFI modules. Specifically, the method for reducing the power consumption of the terminal according to the embodiment of the present invention includes:
step 201: when the terminal is connected with a network by utilizing at least two WIFI modules, acquiring at least two first attributes when the terminal is connected with the network by utilizing the at least two WIFI modules;
here, the first attribute is characterized by a rate or a traffic when the WIFI module is used to communicate with the network. When the at least two WIFI modules are in the opening state, the terminal simultaneously utilizes the at least two opened WIFI modules to be connected with the network, the communication speed or flow of the at least two opened WIFI modules and the network is obtained, and at least two speed values or at least two flow values are obtained.
Step 202: judging whether the at least two first attributes meet a first preset condition or not, and generating a first judgment result;
here, it is determined whether at least two rate values or at least two flow values satisfy a first predetermined condition, and a first determination result is generated.
Step 203: according to the first judgment result, the control terminal utilizes at least one WIFI module of the at least two WIFI modules to access the network data.
Here, according to the first judgment result, the control terminal accesses the network data by using at least one started WIFI module in the started at least two WIFI modules. And for all started WIFI modules, the terminal only utilizes part of WIFI modules to access network data. For example, for 2 turned-on WIFI modules, only 1 of the WIFI modules is used for accessing network data, and the other 1 is controlled not to access the network data.
In summary, when the terminal is connected to the network by using at least two WIFI modules simultaneously, whether at least two first attributes meet the first predetermined condition when the at least two WIFI modules are connected to the network is determined, so that a part of the WIFI modules, such as at least one WIFI module, can access the network data, and the terminal is prohibited from accessing the network data by using the rest WIFI modules, thereby achieving the purposes of saving electric quantity, reducing power consumption of the terminal, and improving cruising ability of the terminal.
In this embodiment, the terminal includes at least two power supply paths respectively connected with different WIFI modules, and is configured to supply power to the WIFI modules, so that the WIFI modules can normally operate. Specifically, as described above, the terminal includes the first WIFI module and the second WIFI module. The first WIFI module comprises a first processing module, and the first processing module comprises a first WIFI processing unit and a first WIFI chip. The second WIFI module comprises a second processing module, and the second processing module comprises a second WIFI processing unit and a second WIFI chip.
Each WIFI chip is provided with a power supply path connected with the WIFI chip. That is to say, the terminal still includes two power supply paths, and every WIFI module is connected with the power supply path that corresponds. When the control terminal utilizes at least one WIFI module of the at least two WIFI modules to access network data, a power supply path connected with the at least one WIFI module is in a conducting state. For the WIFI modules (except for at least one of the two WIFI modules) which cannot access the network data, the power supply access connected with the WIFI modules is in a closed state. That is, when the power supply path connected to the WIFI module a is in a conducting state, the terminal side can access the network data by using the WIFI module a. When the power supply path connected with the WIFI module B is in a closed state, the terminal cannot access network data by using the WIFI module B. Therefore, according to the scheme, the terminal can access the network data by using the corresponding WIFI module through state control (on state or off state) of certain power supply channel(s).
When two at least WIFI modules are first WIFI module and second WIFI module, two at least first attributes when the terminal utilizes two at least WIFI modules to carry out network connection are obtained, including:
acquiring a first rate when a terminal utilizes a first WIFI module to perform network connection;
and acquiring a second rate when the terminal utilizes the second WIFI module to perform network connection.
Correspondingly, judging whether the at least two first attributes meet a first preset condition, and generating a first judgment result, including:
judging whether the first rate and the second rate both reach the minimum rate for accessing the network data;
when the first rate and the second rate both reach the minimum rate, generating a first judgment sub-result;
when only one of the first rate and the second rate reaches the minimum rate, generating a second judgment sub-result;
and when the first rate and the second rate do not reach the minimum rate, generating a third judgment sub-result.
Correspondingly, according to the first judgment result, the control terminal utilizes at least one of the at least two WIFI modules to access the network data, and the method includes the following steps:
when the first judgment result is a first judgment sub-result, accessing network data by using a WIFI module with high signal intensity when the first WIFI module and the second WIFI module are connected with a network;
when the first judgment result is a second judgment sub-result, accessing network data by using a WIFI module corresponding to the rate reaching the minimum rate in the first rate and the second rate;
and when the first judgment result is a third judgment sub-result, simultaneously accessing the network data by utilizing the first WIFI module and the second WIFI module.
The foregoing scheme is specifically described below by taking the first rate as rate 1 and the second rate as rate 2 as an example. The terminal respectively starts the first WIFI module and the second WIFI module, network connection is simultaneously carried out by utilizing the 2 WIFI modules, and the transmission rate used when the terminal utilizes each WIFI module to carry out network connection is monitored. The transmission rate of the terminal for network connection by using the first WIFI module is assumed to be rate 1, and the transmission rate of the terminal for network connection by using the second WIFI module is assumed to be rate 2. When detecting that a terminal has a network data access requirement for a directional network, such as the terminal wants to download data 1, the minimum rate at which the data 1 can be downloaded is regarded as the minimum rate for accessing the data 1, and whether the rate 1 and the rate 2 can reach the minimum rate at which the data 1 can be downloaded, such as 2 Mm/s, is judged;
if the rate 1 and the rate 2 reach the minimum rate for downloading the data 1, generating a first judgment sub-result, under the condition, detecting the signal intensity 1 when the first WIFI module is used for network communication and the signal intensity 2 when the second WIFI module is used for network communication, comparing the signal intensity 1 with the signal intensity 2, and selecting the card with high signal intensity to download the data 1. If when the signal intensity 1 is greater than the signal intensity 2, the power supply circuit 1 connected with the first WIFI module is controlled to be switched on, the control terminal downloads the data 1 by using the first WIFI module, and the power supply circuit 2 connected with the second WIFI module is controlled to be switched off, so that the terminal cannot download the data 1 by using the second WIFI module. Therefore, when the rate 1 and the rate 2 both reach the minimum rate for accessing the data 1, the card with high signal strength is selected to access the data 1, and another WIFI module is prohibited from accessing the data 1. When the terminal has at least two available WIFI modules to communicate with the network, one WIFI module is selected to access the network data, and the other WIFI module is forbidden to access the network data, so that the purposes of saving electric quantity, reducing power consumption of the terminal and improving cruising ability of the terminal can be achieved. It should be noted that if the comparison signal strength 1 is equal to the signal strength 2, any one of the first WIFI module and the second WIFI module may be selected to download the data 1.
And if only one of the rate 1 and the rate 2 can reach the minimum rate of downloading the data 1, generating a second judgment sub-result, and selecting a card corresponding to the rate capable of reaching the minimum rate from the first WIFI module and the second WIFI module to access the network data. For example, if the rate 1 reaches the minimum rate for downloading the data 1, and the rate 2 does not reach, the power supply path connected with the first WIFI module is controlled to be in a conducting state, the power supply path connected with the second WIFI module is controlled to be in a closing state, the first WIFI module corresponding to the rate 1 is selected from the first WIFI module and the second WIFI module to download the data 1, and the second WIFI module is prohibited from downloading the data 1. If the rate 2 reaches the minimum rate for downloading the data 1, and the rate 1 does not reach, controlling a power supply channel connected with the second WIFI module to be in a conducting state, and controlling a power supply channel connected with the first WIFI module to be in a closing state, and selecting a second WIFI module corresponding to the rate 2 from the first WIFI module and the second WIFI module to download the data 1. Namely, the control terminal utilizes one of the 2 WIFI modules to download the data 1, and prohibits the other WIFI module from downloading the data 1, so that the purposes of saving electric quantity, reducing power consumption of the terminal and improving cruising ability of the terminal are achieved.
And if the rate 1 and the rate 2 reach the minimum rate of downloading the data 1, generating a third judgment sub-result, and simultaneously accessing the network data by utilizing the first WIFI module and the second WIFI module. Namely, the power supply channel connected with the first WIFI module and the power supply channel connected with the second WIFI module are controlled to be in a conducting state, and meanwhile, the first WIFI module and the second WIFI module are utilized to download the data 1. When the rate of 2 WIFI modules can not reach the minimum rate of downloading data 1, the 2 WIFI modules are used for downloading the data 1, so that the data 1 can be successfully downloaded.
In summary, when the terminal is connected to the network by using 2 WIFI modules, it is determined whether the rate 1 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, so as to select 1 of the WIFI modules to download the data 1, and prohibit the terminal from downloading the data 1 by using another WIFI module. Only 1 WIFI module is utilized to realize the downloading of data 1, and another 1 WIFI module is not needed to be utilized, so that the electric quantity can be effectively saved, the power consumption of the terminal is reduced, and the cruising ability of the terminal is improved.
The embodiment of the invention also provides a terminal which comprises at least two WIFI modules. As shown in fig. 6, the terminal further includes: a first acquisition unit 401, a first judgment unit 402, a first control unit 403; wherein,
a first obtaining unit 401, configured to obtain at least two first attributes when the terminal utilizes at least two WIFI modules to perform network connection;
a first judging unit 402, configured to judge whether at least two first attributes satisfy a first predetermined condition, and generate a first judgment result;
and a first control unit 403, configured to, according to the first determination result, control the terminal to access the network data by using at least one WIFI module of the at least two WIFI modules.
Wherein, when the at least two WIFI modules are a first WIFI module and a second WIFI module,
a first obtaining unit 401, configured to:
acquiring a first rate when a terminal utilizes a first WIFI module to perform network connection;
and acquiring a second rate when the terminal utilizes the second WIFI module to perform network connection.
The first determining unit 402 is further configured to:
judging whether the first rate and the second rate both reach the minimum rate for accessing the network data;
when the first rate and the second rate both reach the minimum rate, generating a first judgment sub-result;
when only one of the first rate and the second rate reaches the minimum rate, generating a second judgment sub-result;
and when the first rate and the second rate do not reach the minimum rate, generating a third judgment sub-result.
A first control unit 403, further configured to:
when the first judgment result is a first judgment sub-result, the control terminal accesses network data by using a WIFI module which has high signal intensity when the first WIFI module and the second WIFI module are connected with the network;
when the first judgment result is a second judgment sub-result, the control terminal accesses the network data by using the WIFI module corresponding to the rate reaching the minimum rate in the first rate and the second rate;
and when the first judgment result is a third judgment sub-result, the control terminal simultaneously utilizes the first WIFI module and the second WIFI module to access the network data.
The terminal also comprises at least two power supply paths, and each WIFI module is connected with the corresponding power supply path; the terminal further comprises a second control unit (not illustrated in fig. 6) for:
when the first control unit 403 controls the terminal to access network data by using at least one WIFI module of the at least two WIFI modules, the power supply path connected to the WIFI chip of the at least one WIFI module is controlled to be in a conducting state.
A second control unit further configured to: and controlling power supply channels of WIFI chips of other WIFI modules except at least one WIFI module in the at least two WIFI modules to be in a closed state, so that the other WIFI modules cannot access network data.
Those skilled in the art will appreciate that the functions implemented by the processing units in the terminal shown in fig. 6 may be understood with reference to the foregoing description of the method of reducing power consumption of the terminal. Those skilled in the art will appreciate that the functions of the processing units in the terminal shown in fig. 6 may be implemented by a program running on a processor, or may be implemented by specific logic circuits.
It should be noted that, in the terminal provided in the embodiment of the present invention, because a principle of solving the problem of the terminal is similar to that of the foregoing method for reducing the power consumption of the terminal, both the implementation process and the implementation principle of the terminal may be described with reference to the implementation process and the implementation principle of the foregoing method, and repeated details are not described again.
In the embodiment of the invention, when the terminal is connected with the network by using at least two WIFI modules simultaneously, part of the WIFI modules such as at least one WIFI module are selected to access the network data by judging whether at least two first attributes meet a first preset condition when the at least two WIFI modules are connected with the network, and the terminal is prohibited from accessing the network data by using the other WIFI modules, so that the purposes of saving electric quantity and reducing the power consumption of the terminal are achieved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, and it should be understood that the preferred embodiments described below are only for the purpose of illustrating and explaining the present invention, and are not to be construed as limiting the present invention.

Claims (16)

1. A method for reducing power consumption of a terminal is applied to the terminal, and is characterized in that the terminal comprises at least two WIFI modules; the method comprises the following steps:
when the terminal is connected with the network by utilizing the at least two WIFI modules,
acquiring at least two first attributes when the terminal utilizes the at least two WIFI modules to carry out network connection;
judging whether the at least two first attributes meet a first preset condition or not, and generating a first judgment result;
controlling the terminal to access network data by using at least one WIFI module of the at least two WIFI modules according to a first judgment result;
the at least two WIFI modules are a first WIFI module and a second WIFI module;
the first WIFI module includes: a first processing module;
the second WIFI module includes: a second processing module;
the terminal further comprises: the WIFI service module comprises a first WIFI application module, a second WIFI application module and a WIFI service module connected with the first WIFI application module and the second WIFI application module;
presetting the routing configuration of the double WIFI network data; when the WIFI connection is successful and the first processing module and the second processing module are both in a normal data communication state, the WIFI service module starts the routing configuration of double-WIFI internet data, and the first processing module and the second processing module simultaneously carry out data communication;
the first processing module and the second processing module access the same network at the same time, or the first processing module and the second processing module access different networks respectively;
when the first processing module and the second processing module perform data communication simultaneously and access the same network simultaneously, the WIFI service module further performs bandwidth allocation for controlling the first processing module and the second processing module.
2. The method of claim 1, wherein when the at least two WIFI modules are a first WIFI module and a second WIFI module,
acquiring at least two first attributes when the terminal utilizes the at least two WIFI modules to perform network connection, including:
acquiring a first rate when the terminal utilizes the first WIFI module to perform network connection;
and acquiring a second rate when the terminal utilizes the second WIFI module to perform network connection.
3. The method according to claim 2, wherein the determining whether the at least two first attributes satisfy a first predetermined condition generates a first determination result, including:
judging whether the first rate and the second rate both reach the minimum rate for accessing the network data;
when the first rate and the second rate both reach the minimum rate, generating a first judgment sub-result;
when only one of the first rate and the second rate reaches the minimum rate, generating a second judgment sub-result;
and when the first rate and the second rate do not reach the minimum rate, generating a third judgment sub-result.
4. The method of claim 3, wherein the controlling, by the terminal, the access to the network data by using at least one of the at least two WIFI modules according to the first determination result comprises:
when the first judgment result is a first judgment sub-result, accessing the network data by utilizing a WIFI module which has high signal intensity when the first WIFI module and the second WIFI module are connected with the network;
when the first judgment result is a second judgment sub-result, accessing network data by using a WIFI module corresponding to the rate reaching the minimum rate in the first rate and the second rate;
and when the first interpretation result is a third interpretation sub-result, simultaneously accessing the network data by utilizing the first WIFI module and the second WIFI module.
5. The method according to any one of claims 2 to 4,
the first WIFI application module or the second WIFI application module sends a WIFI connection instruction to the WIFI service module when receiving a WIFI connection operation input by a user;
when the WIFI service module receives the WIFI connection instruction, the WIFI service module sends the WIFI connection instruction to the corresponding first processing module or second processing module;
the first processing module establishes WIFI connection according to the WIFI connection instruction and a corresponding protocol when receiving the WIFI connection instruction sent by the WIFI service module; the second processing module establishes WIFI connection according to the WIFI connection instruction and a corresponding protocol when receiving the WIFI connection instruction sent by the WIFI service module;
and when the WIFI service module is successfully connected and detects that the first processing module and the second processing module are both in a normal data communication state, starting routing configuration of double WIFI internet surfing data, and simultaneously carrying out data communication by the first processing module and the second processing module.
6. The method of claim 5, wherein the first processing module comprises a first WIFI processing unit and a first WIFI chip; the second processing module comprises a second WIFI processing unit and a second WIFI chip;
the first WIFI processing unit sends the WIFI connection instruction and the corresponding protocol to the first WIFI chip when receiving the WIFI connection instruction sent by the WIFI service module; the second WIFI processing unit sends the WIFI connection instruction and the corresponding protocol to the second WIFI chip when receiving the WIFI connection instruction sent by the WIFI service module;
and the first WIFI chip or the second WIFI chip establishes WIFI connection according to the received WIFI connection instruction and the corresponding protocol.
7. The method of claim 6, wherein the terminal further comprises two power supply paths respectively connected to the first WIFI chip and the second WIFI chip;
when the terminal is controlled to access network data by using at least one WIFI module of the at least two WIFI modules, a power supply path connected with a WIFI chip of the at least one WIFI module is in a conducting state.
8. The method of claim 7, wherein when controlling the terminal to access network data using at least one of the at least two WIFI modules, the method further comprises:
and controlling power supply channels of WIFI chips of other WIFI modules except the at least one WIFI module in the at least two WIFI modules to be in a closed state, so that the other WIFI modules cannot access the network data.
9. A terminal is characterized by comprising at least two WIFI modules; the terminal further comprises:
the first acquisition unit is used for acquiring at least two first attributes when the terminal utilizes the at least two WIFI modules to carry out network connection;
the first judging unit is used for judging whether the at least two first attributes meet a first preset condition or not and generating a first judging result;
the first control unit is used for controlling the terminal to access network data by using at least one WIFI module in the at least two WIFI modules according to a first judgment result;
the at least two WIFI modules are a first WIFI module and a second WIFI module;
the first WIFI module includes: a first processing module;
the second WIFI module includes: a second processing module;
the terminal further comprises: the WIFI service module comprises a first WIFI application module, a second WIFI application module and a WIFI service module connected with the first WIFI application module and the second WIFI application module;
the first control unit is also used for presetting the routing configuration of the double-WIFI internet data; when the WIFI connection is successful and the first processing module and the second processing module are both in a normal data communication state, the WIFI service module starts the routing configuration of double-WIFI internet data, and the first processing module and the second processing module simultaneously carry out data communication;
the first processing module and the second processing module access the same network at the same time, or the first processing module and the second processing module access different networks respectively;
when the first processing module and the second processing module perform data communication simultaneously and access the same network simultaneously, the WIFI service module further performs bandwidth allocation for controlling the first processing module and the second processing module.
10. The terminal of claim 9, wherein when the at least two WIFI modules are a first WIFI module and a second WIFI module,
the first obtaining unit is configured to:
acquiring a first rate when the terminal utilizes the first WIFI module to perform network connection;
and acquiring a second rate when the terminal utilizes the second WIFI module to perform network connection.
11. The terminal of claim 10, wherein the first determining unit is further configured to:
judging whether the first rate and the second rate both reach the minimum rate for accessing the network data;
when the first rate and the second rate both reach the minimum rate, generating a first judgment sub-result;
when only one of the first rate and the second rate reaches the minimum rate, generating a second judgment sub-result;
and when the first rate and the second rate do not reach the minimum rate, generating a third judgment sub-result.
12. The terminal of claim 11, wherein the first control unit is further configured to:
when the first judgment result is a first judgment sub-result, controlling the terminal to access the network data by using a WIFI module with high signal strength when the first WIFI module and the second WIFI module are connected with the network;
when the first judgment result is a second judgment sub-result, controlling the terminal to access network data by using a WIFI module corresponding to the rate reaching the minimum rate in the first rate and the second rate;
and when the first judgment result is a third judgment sub-result, controlling the terminal to simultaneously access the network data by using the first WIFI module and the second WIFI module.
13. The terminal according to any of claims 10-12,
the first WIFI application module or the second WIFI application module is used for sending a WIFI connection instruction to the WIFI service module when a WIFI connection operation input by a user is received;
the WIFI service module is used for sending the WIFI connection instruction to the corresponding first processing module or second processing module when receiving the WIFI connection instruction;
the first processing module is used for establishing WIFI connection according to the WIFI connection instruction and a corresponding protocol when receiving the WIFI connection instruction sent by the WIFI service module; the second processing module is used for establishing WIFI connection according to the WIFI connection instruction and a corresponding protocol when receiving the WIFI connection instruction sent by the WIFI service module;
the WIFI service module is used for starting routing configuration of double WIFI internet data when the WIFI connection is successful and the first processing module and the second processing module are both detected to be in a normal data communication state, and the first processing module and the second processing module simultaneously carry out data communication.
14. The terminal of claim 13, wherein the first processing module comprises a first WIFI processing unit and a first WIFI chip; the second processing module comprises a second WIFI processing unit and a second WIFI chip;
the first WIFI processing unit is used for sending the WIFI connection instruction and the corresponding protocol to the first WIFI chip when receiving the WIFI connection instruction sent by the WIFI service module; the second WIFI processing unit is used for sending the WIFI connection instruction and the corresponding protocol to the second WIFI chip when receiving the WIFI connection instruction sent by the WIFI service module;
and the first WIFI chip or the second WIFI chip is used for establishing WIFI connection according to the received WIFI connection instruction and the corresponding protocol.
15. The terminal of claim 14, further comprising two power supply paths connected to the first WIFI chip and the second WIFI chip respectively;
when the terminal is controlled to access network data by using at least one WIFI module of the at least two WIFI modules, a power supply path connected with a WIFI chip of the at least one WIFI module is in a conducting state.
16. The terminal according to claim 15, characterized in that the terminal further comprises a second control unit configured to:
and controlling power supply channels of WIFI chips of other WIFI modules except the at least one WIFI module in the at least two WIFI modules to be in a closed state, so that the other WIFI modules cannot access the network data.
CN201610076015.5A 2016-02-03 2016-02-03 Method for reducing power consumption of terminal and terminal Active CN105759937B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610076015.5A CN105759937B (en) 2016-02-03 2016-02-03 Method for reducing power consumption of terminal and terminal
PCT/CN2016/099257 WO2017133253A1 (en) 2016-02-03 2016-09-18 Method of reducing power consumption of terminal, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610076015.5A CN105759937B (en) 2016-02-03 2016-02-03 Method for reducing power consumption of terminal and terminal

Publications (2)

Publication Number Publication Date
CN105759937A CN105759937A (en) 2016-07-13
CN105759937B true CN105759937B (en) 2020-07-28

Family

ID=56330561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610076015.5A Active CN105759937B (en) 2016-02-03 2016-02-03 Method for reducing power consumption of terminal and terminal

Country Status (2)

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

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105759937B (en) * 2016-02-03 2020-07-28 努比亚技术有限公司 Method for reducing power consumption of terminal and terminal
CN106376054B (en) * 2016-08-29 2023-03-17 上海纽菲斯信息科技有限公司 Dual-wifi system of mobile device and network connection control method
CN106455132B (en) * 2016-09-28 2019-10-18 Oppo广东移动通信有限公司 More WIFI module control methods, device and terminal device
CN106507072A (en) * 2016-10-11 2017-03-15 努比亚技术有限公司 A kind of wireless display device, system and method
CN106792130B (en) * 2016-12-13 2020-06-19 南京秦淮紫云创益企业服务有限公司 Mobile terminal and control method of mobile terminal
CN106792029A (en) * 2016-12-29 2017-05-31 努比亚技术有限公司 The player method and mobile terminal of video
CN107148060A (en) * 2017-05-23 2017-09-08 维沃移动通信有限公司 A kind of method for connecting network and its mobile terminal of application
CN107580359B (en) * 2017-09-29 2020-11-03 新沂市摩尔网络科技有限公司 Wireless hotspot sharing method, mobile terminal and computer readable storage medium
CN107635278A (en) * 2017-09-29 2018-01-26 努比亚技术有限公司 Wi Fi control methods, mobile terminal and computer-readable recording medium
CN107750055A (en) * 2017-09-29 2018-03-02 努比亚技术有限公司 Wi Fi control methods, mobile terminal and computer-readable recording medium
CN107635263A (en) * 2017-09-29 2018-01-26 努比亚技术有限公司 Wi Fi control methods, mobile terminal and computer-readable recording medium
CN107708224A (en) * 2017-09-29 2018-02-16 努比亚技术有限公司 Wi Fi control methods, mobile terminal and computer-readable recording medium
CN107708190A (en) * 2017-09-29 2018-02-16 努比亚技术有限公司 Wi Fi control methods, mobile terminal and computer-readable recording medium
CN108112052B (en) * 2017-12-13 2021-09-10 广东美的制冷设备有限公司 Terminal network sharing method and device, air conditioner and storage medium
CN109274596B (en) * 2018-08-23 2021-01-22 Oppo广东移动通信有限公司 Data transmission method and related device
CN110290595B (en) * 2019-06-28 2023-02-21 南昌黑鲨科技有限公司 Network connection control method, system, intelligent terminal and computer readable storage medium
CN110233937B (en) * 2019-07-30 2021-06-25 腾讯科技(深圳)有限公司 Data transmission method, device, equipment and storage medium
CN110475333B (en) * 2019-08-19 2021-07-16 Oppo广东移动通信有限公司 Method for disconnecting WIFI network and related equipment
CN112399442B (en) * 2019-08-19 2022-04-22 Oppo广东移动通信有限公司 Data transmission method and related device
CN110572829B (en) * 2019-09-05 2022-08-16 Oppo(重庆)智能科技有限公司 Network connection control method and related product
CN111163510B (en) * 2019-12-27 2023-09-22 Oppo广东移动通信有限公司 Network control method and device, storage medium and electronic equipment
CN113078921B (en) * 2021-03-01 2023-03-21 北京小米移动软件有限公司 Data processing method, device and storage medium
CN113079550B (en) * 2021-03-05 2023-04-28 北京字节跳动网络技术有限公司 Mobile terminal control method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561414A (en) * 2013-09-23 2014-02-05 深圳酷派技术有限公司 Terminal and multi-channel data transmission method
CN104519458A (en) * 2014-12-29 2015-04-15 宇龙计算机通信科技(深圳)有限公司 Network connection method, terminal, wireless router and system
CN105188098A (en) * 2015-09-30 2015-12-23 努比亚技术有限公司 Mobile terminal network switching apparatus and network switching method

Family Cites Families (5)

* 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
CN104427538B (en) * 2013-08-19 2019-07-09 中兴通讯股份有限公司 A kind of method and device of the terminal energy-efficient treatment of band WIFI
CN105578509A (en) * 2016-01-27 2016-05-11 努比亚技术有限公司 Multi-channel based data service processing method and apparatus
CN105764124B (en) * 2016-01-27 2021-06-15 努比亚技术有限公司 Method for reducing power consumption of terminal and terminal
CN105759937B (en) * 2016-02-03 2020-07-28 努比亚技术有限公司 Method for reducing power consumption of terminal and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561414A (en) * 2013-09-23 2014-02-05 深圳酷派技术有限公司 Terminal and multi-channel data transmission method
CN104519458A (en) * 2014-12-29 2015-04-15 宇龙计算机通信科技(深圳)有限公司 Network connection method, terminal, wireless router and system
CN105188098A (en) * 2015-09-30 2015-12-23 努比亚技术有限公司 Mobile terminal network switching apparatus and network switching method

Also Published As

Publication number Publication date
WO2017133253A1 (en) 2017-08-10
CN105759937A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
CN105759937B (en) Method for reducing power consumption of terminal and terminal
CN105764124B (en) Method for reducing power consumption of terminal and terminal
CN105682191B (en) Mobile terminal and Wi-Fi control method
CN105653486B (en) The method that the USB interface of mobile terminal and its processor is multiplexed
CN102883449B (en) A kind of realize the method for data sharing, associated terminal and system
US9918219B2 (en) Call management method and apparatus for multi-SIM multi-active terminal
US20090022095A1 (en) Communication Channel Selection and Use
EP2448366A2 (en) Method for determining a group owner in a wireless network
CN103298161A (en) Communication device and human-computer interface display method thereof
CN106330778B (en) Network flow control method and device
US20180091581A1 (en) Method of switching download mode, control method thereof and control system thereof
CN113301586B (en) Network selection method and electronic equipment
CN105718405B (en) The method that the USB interface of mobile terminal and its processor is multiplexed
CN105744646B (en) A kind of mobile terminal and communication means
CN112566262B (en) Data processing method and device, communication equipment and storage medium
JP2023535783A (en) Method for dividing end-to-end QoS demand information, terminal and network side equipment
WO2021120039A1 (en) Wireless communication method, apparatus and system
CN104753825A (en) Instant messaging multi-terminal login status issuing method and system
JP2018174453A (en) Computer program for terminal device and communication device
CN112702739B (en) Wireless network sharing method and device, readable storage medium and mobile terminal
CN105722142A (en) Mobile terminal and multilink-based data streaming method
CN115209393A (en) Data transmission method, system, electronic device and storage medium
CN105376761A (en) Method, device and conversation system for establishing conversation connection
CN111371896B (en) Network acceleration method, terminal and storage medium
AU2008241580B2 (en) Personal area network systems and devices and methods for use thereof

Legal Events

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