CN112752328A - Network control method, device and storage medium - Google Patents

Network control method, device and storage medium Download PDF

Info

Publication number
CN112752328A
CN112752328A CN201911040407.6A CN201911040407A CN112752328A CN 112752328 A CN112752328 A CN 112752328A CN 201911040407 A CN201911040407 A CN 201911040407A CN 112752328 A CN112752328 A CN 112752328A
Authority
CN
China
Prior art keywords
network
mobile terminal
power consumption
type
application program
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.)
Granted
Application number
CN201911040407.6A
Other languages
Chinese (zh)
Other versions
CN112752328B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201911040407.6A priority Critical patent/CN112752328B/en
Publication of CN112752328A publication Critical patent/CN112752328A/en
Application granted granted Critical
Publication of CN112752328B publication Critical patent/CN112752328B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The present disclosure relates to a network control method, apparatus and storage medium, the method comprising: acquiring use state information of the mobile terminal, acquiring power consumption information of each network type supported by the mobile terminal, and acquiring a power consumption information set comprising the power consumption information of each network type; and determining a network type from the set network type set as a target network type according to the power consumption information included in the use state information and the power consumption information set, so as to execute the service of the mobile terminal based on the network to which the target network type belongs. According to the technical scheme, a network type can be determined as a target network type according to the use state information and the power consumption information of the mobile terminal, the service of the mobile terminal is executed based on the network to which the target network type belongs, and when the requirement on the transmission rate is high, the power consumption generated by accessing the network to which the target network type belongs can be effectively reduced by limiting the condition that the mobile terminal is accessed to the network to which the target network type belongs.

Description

Network control method, device and storage medium
Technical Field
The present disclosure relates to computer communication technologies, and in particular, to a network control method, apparatus, and storage medium.
Background
With The rapid development of The fifth generation mobile communication network (5G) technology, 5G base stations, core networks, and The like have been deployed in large scale, and accordingly, 5G mobile phones are also in research and development. Taking a 5G mobile phone as an example, due to the particularity of the 5G chip, the 5G chip requires a higher transmission rate, and the higher transmission rate increases the power consumption of the mobile phone, so that at present, the problem of power consumption of the mobile phone caused by the 5G chip is particularly serious, and the actual use experience of a user is already influenced.
Disclosure of Invention
The disclosure provides a network control method, a network control device and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a network control method, including:
acquiring use state information of a mobile terminal, acquiring power consumption information of each network type supported by the mobile terminal, and acquiring a power consumption information set comprising the power consumption information of each network type;
and determining a network type as a target network type from a set of set network types according to the use state information and the power consumption information included in the power consumption information set, so as to execute the service of the mobile terminal based on the network to which the target network type belongs.
Optionally, the determining, according to the use state information and the power consumption information included in the power consumption information set, a network type from a set of network types as a target network type includes:
determining whether the mobile terminal has accessed to a network to which a first network type belongs according to the use state information;
if the mobile terminal does not access the network to which the first network type belongs, matching the current power consumption requirement of the mobile terminal with the power consumption information included in the power consumption information set;
when the power consumption information matched with the current power consumption requirement corresponds to a second network type, determining the second network type as a target network type;
and the power consumption of the mobile terminal for transmitting data by using the network to which the first network standard belongs is less than the power consumption of the mobile terminal for transmitting data by using the network to which the second network standard belongs.
Optionally, the obtaining of the use state information of the mobile terminal includes at least one of:
acquiring the on-off state of a display screen contained in the mobile terminal;
acquiring the state of an application program installed in the mobile terminal;
acquiring the battery state of the mobile terminal;
acquiring a network connection state of the mobile terminal;
and acquiring the opening and closing states of the data flow function of the mobile terminal.
Optionally, the method further includes:
when the display screen is in a lighting state, determining that the mobile terminal has a first power consumption requirement;
when the display screen is in an off state, determining that the mobile terminal has a second power consumption requirement, wherein the second power consumption requirement is smaller than the first power consumption requirement;
when the application program installed in the mobile terminal is in the running state, determining that the mobile terminal has a third power consumption requirement, and determining the third power consumption requirement according to the data consumption type and/or the number of the application program in the running state.
Optionally, the method further includes:
determining the data consumption type of the application program according to the frequency of sending network requests by the application program in the running state; alternatively, the first and second electrodes may be,
and determining the data consumption type of the application program according to the running attribute of the application program in the running state.
Optionally, the data consumption types include:
the data consumption flow in unit time is a first flow when the application program corresponding to the first type is in the running state;
when the application program corresponding to the second type is in the running state, the data consumption flow in unit time is a second flow, wherein the second flow is larger than the first flow;
and when the application program corresponding to the third type is in the running state, the data consumption flow in unit time is a third flow, wherein the third flow is greater than the second flow.
Optionally, the method further includes:
determining a data consumption type of an application program in a running state on the mobile terminal when the mobile terminal has the first power consumption requirement and the third power consumption requirement;
if the data consumption type of the application program in the running state on the mobile terminal is the second type, and the number of the application programs is greater than the set number threshold, or,
and if the data consumption type of at least one application program in the running state on the mobile terminal is a third type, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network system.
Optionally, the method further includes:
determining a data consumption type of an application program in a running state on the mobile terminal when the mobile terminal has the second power consumption requirement and the third power consumption requirement;
if the data consumption type of the application program in the running state on the mobile terminal is the second type, and the number of the application programs is greater than the set number threshold, or,
if the data consumption type of at least one application program in the running state on the mobile terminal is a third type, acquiring the current network rate;
and determining whether the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network type or not based on the current network rate.
Optionally, the determining, based on the current network rate, whether the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network type includes:
if the current network rate is greater than a set rate threshold, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network type;
and if the current network rate is less than or equal to the set rate threshold, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal does not correspond to the second network type.
Optionally, the method further includes:
and if the data consumption type of the application program in the running state on the mobile terminal is a second type and the number of the application programs is less than or equal to the set number threshold, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal does not correspond to the second network system.
According to a second aspect of the embodiments of the present disclosure, there is provided a network control apparatus, including:
the information acquisition module is configured to acquire use state information of a mobile terminal, acquire power consumption information of each network type supported by the mobile terminal and acquire a power consumption information set comprising the power consumption information of each network type;
and the first network determining module is configured to determine a network type from a set network type set as a target network type according to the use state information and the power consumption information included in the power consumption information set, so as to execute the service of the mobile terminal based on a network to which the target network type belongs.
Optionally, the first network determining module includes:
the first determining submodule is configured to determine whether the mobile terminal has accessed to a network to which the first network type belongs according to the use state information;
the matching submodule is configured to match the current power consumption requirement of the mobile terminal with the power consumption information included in the power consumption information set if the mobile terminal does not access the network to which the first network standard belongs;
a second determining submodule configured to determine a second network type as a target network type when the power consumption information matched with the current power consumption requirement corresponds to the second network type;
and the power consumption of the mobile terminal for transmitting data by using the network to which the first network standard belongs is less than the power consumption of the mobile terminal for transmitting data by using the network to which the second network standard belongs.
Optionally, the information obtaining module includes at least one of:
the first obtaining submodule is configured to obtain the on-off state of a display screen contained in the mobile terminal;
the second obtaining submodule is configured to obtain the state of the application program installed in the mobile terminal;
the third obtaining submodule is configured to obtain the battery state of the mobile terminal;
a fourth obtaining submodule configured to obtain a network connection state of the mobile terminal;
and the fifth acquisition submodule is configured to acquire the on and off states of the data traffic function of the mobile terminal.
Optionally, the apparatus further comprises:
a first requirement determining module configured to determine that the mobile terminal has a first power consumption requirement when the display screen is in an illuminated state;
the second requirement determining module is configured to determine that the mobile terminal has a second power consumption requirement when the display screen is in an off state, wherein the second power consumption requirement is smaller than the first power consumption requirement;
the third requirement determining module is configured to determine that the mobile terminal has a third power consumption requirement when the application program installed in the mobile terminal is in the running state, and determine the third power consumption requirement according to the data consumption type and/or the number of the application program in the running state.
Optionally, the apparatus further comprises:
the first type determining module is configured to determine the data consumption type of the application program according to the frequency of sending network requests by the application program in a running state; alternatively, the first and second electrodes may be,
and determining the data consumption type of the application program according to the running attribute of the application program in the running state.
Optionally, the data consumption types include:
the data consumption flow in unit time is a first flow when the application program corresponding to the first type is in the running state;
when the application program corresponding to the second type is in the running state, the data consumption flow in unit time is a second flow, wherein the second flow is larger than the first flow;
and when the application program corresponding to the third type is in the running state, the data consumption flow in unit time is a third flow, wherein the third flow is greater than the second flow.
Optionally, the apparatus further comprises:
a second type determination module configured to determine a data consumption type of an application program in a running state on the mobile terminal when the mobile terminal has the first power consumption requirement and the third power consumption requirement;
a second network determination module configured to determine, if the data consumption type of the application program running on the mobile terminal is a second type and the number of the application programs is greater than a set number threshold, or,
and if the data consumption type of at least one application program in the running state on the mobile terminal is a third type, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network system.
Optionally, the apparatus further comprises:
a third type determining module configured to determine a data consumption type of an application program in a running state on the mobile terminal when the mobile terminal has the second power consumption requirement and the third power consumption requirement;
a rate obtaining module configured to, if the data consumption type of the application program running on the mobile terminal is a second type, and the number of the application programs is greater than a set number threshold, or,
if the data consumption type of at least one application program in the running state on the mobile terminal is a third type, acquiring the current network rate;
a third network determining module configured to determine whether power consumption information matched with a current power consumption requirement of the mobile terminal corresponds to the second network type based on the current network rate.
Optionally, the third network determining module includes:
a third determining submodule configured to determine that power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network type if the current network rate is greater than a set rate threshold;
a fourth determining submodule configured to determine that the power consumption information matched with the current power consumption requirement of the mobile terminal does not correspond to the second network type if the current network rate is less than or equal to the set rate threshold.
Optionally, the apparatus further comprises:
and the fourth network determination module is configured to determine that the power consumption information matched with the current power consumption requirement of the mobile terminal does not correspond to the second network system if the data consumption type of the application program in the running state on the mobile terminal is the second type and the number of the application programs is less than or equal to the set number threshold.
According to a third aspect of the embodiments of the present disclosure, there is provided a network control apparatus, including:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to: when executed, implement the steps in the network control method of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a network control apparatus, enable the apparatus to perform the network control method of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
it can be seen from the foregoing embodiments that, in the present disclosure, a network type may be determined as a target network type according to the use state information and the power consumption information of the mobile terminal, a service of the mobile terminal is executed based on a network to which the target network type belongs, and when a requirement on a transmission rate is high, power consumption generated by accessing the network to which the target network type belongs may be effectively reduced by limiting a condition that the mobile terminal accesses the network to which the target network type belongs under an unnecessary condition.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow diagram illustrating a network control method according to an example embodiment.
Fig. 2 is a block diagram illustrating a network control device according to an example embodiment.
Fig. 3 is a first block diagram of a network control device according to an example embodiment.
Fig. 4 is a block diagram two illustrating a network control device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the present disclosure provides a network control method, which may be applied to a terminal or a server, fig. 1 is a schematic flow chart of the network control method according to an exemplary embodiment, and as shown in fig. 1, the method mainly includes the following steps:
in step 101, the use state information of the mobile terminal is obtained, and the power consumption information of each network type supported by the mobile terminal is obtained, so as to obtain a power consumption information set including the power consumption information of each network type.
Here, the mobile terminal includes: smart home devices such as mobile phones, tablet computers, smart speakers, and the like. The usage state information includes information for characterizing an operation state of the mobile terminal, such as a network connection state of the mobile terminal, a display screen state, a state of an application installed in the mobile terminal, and the like. The network system supported by the mobile terminal comprises at least one of the following: a 5G network system, a fourth generation mobile communication network (4G) system, and a third generation mobile communication network (3G) system.
Based on the fact that the power consumption of the network to which each network type belongs is different in the process of executing the service of the mobile terminal, in the embodiment of the disclosure, the power consumption information of each network type supported by the mobile terminal can be acquired to obtain a power consumption information set including the power consumption information of each network type, so that when the power consumption information corresponding to the network type needs to be used, the power consumption information can be directly acquired from the power consumption information set.
In step 102, according to the power consumption information included in the usage state information and the power consumption information set, a network type is determined from the set network type set as a target network type, so as to execute a service of the mobile terminal based on a network to which the target network type belongs.
Here, it may be determined whether the power consumption information matching the current power consumption requirement of the mobile terminal corresponds to the second network type according to the power consumption information included in the set of the usage state information and the power consumption information, and further determined whether to determine the second network type as the target network type. The power consumption requirement of the mobile terminal comprises a transmission rate requirement when the mobile terminal performs data transmission. Taking the power consumption requirement as the transmission rate requirement as an example, after the use state information of the mobile terminal is determined, whether the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network system or not can be determined according to the use state information. For example: if the transmission rate requirement is lower than a preset transmission rate threshold value, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal does not correspond to the second network system; if the transmission rate requirement is higher than the preset transmission rate threshold, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network type, and determining the second network type as the target network type. The network to which the second network standard belongs comprises one or more of the following networks with specified standards: the second network system may be a 5G network, a 4G network, or a 3G network, and specifically, the network to which the second network system belongs may be the 5G network.
In the embodiment of the disclosure, a network type is determined as a target network type according to the use state information and the power consumption information of the mobile terminal, the service of the mobile terminal is executed based on the network to which the target network type belongs, and when the requirement on the transmission rate is high, the power consumption generated by accessing the network to which the target network type belongs under the condition that the mobile terminal is accessed to the network to which the target network type belongs can be effectively reduced under the condition of no need.
Here, taking the power consumption requirement as the transmission rate requirement as an example, after the use state information of the mobile terminal is determined, whether the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network type may be determined according to the use state information and the power consumption information included in the power consumption information set. For example: if the transmission rate requirement is lower than a preset transmission rate threshold value, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal does not correspond to the second network system; and if the transmission rate requirement is higher than a preset transmission rate threshold value, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network system. And when the requirement of the network to which the second network standard belongs to the transmission rate is lower, the power consumption generated by accessing the network to which the second network standard belongs under the condition of not needing can be effectively reduced by forbidding the access of the network to which the second network standard belongs.
But it is noteworthy that: when the network to which the mobile terminal can be connected only has the network to which the second network standard belongs, even if the power consumption information matched with the current power consumption requirement of the mobile terminal does not correspond to the second network standard, the mobile terminal is allowed to access the network to which the second network standard belongs. When the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network system and a network to which a third network system allowing the mobile terminal to access belongs, the mobile terminal can be forbidden to access the network to which the second network system belongs, and the mobile terminal is controlled to access the network to which the third network system belongs, wherein the power consumption required for accessing the network to which the third network system belongs is lower than the power consumption for accessing the network to which the target network system belongs.
In other optional embodiments, determining a network type from the set of network types as a target network type according to the power consumption information included in the set of usage state information and power consumption information includes:
determining whether the mobile terminal has accessed to a network to which the first network type belongs according to the use state information;
if the mobile terminal does not access the network to which the first network system belongs, matching the current power consumption requirement of the mobile terminal with the power consumption information included in the power consumption information set;
when the power consumption information matched with the current power consumption requirement corresponds to a second network type, determining the second network type as a target network type;
the power consumption of the mobile terminal for transmitting data by using the network to which the first network system belongs is less than the power consumption of the mobile terminal for transmitting data by using the network to which the second network system belongs.
Here, the network to which the second network system belongs is different from the network to which the first network system belongs. Taking the example that the network to which the second network system belongs is a 5G network and the network to which the first network system belongs comprises a Wireless Fidelity (Wi-Fi) network, when the mobile terminal is determined not to be connected to the Wi-Fi network, matching the current power consumption requirement of the mobile terminal with the power consumption information included in the power consumption information set, and when the power consumption information matched with the current power consumption requirement corresponds to the 5G network, controlling the mobile terminal to access the 5G network. Before determining whether to control to access a network to which a second network system belongs, whether the mobile terminal is connected to a network to which a first network system different from the network to which the second network system belongs is judged, and when the mobile terminal is not connected to the network to which the first network system belongs, whether to control the mobile terminal to access the network to which the second network system belongs is determined, so that the probability that the mobile terminal accesses the network to which the second network system belongs under an unnecessary condition can be reduced, and the power consumption of the mobile terminal is effectively reduced.
In other optional embodiments, the network control method further includes: and when the mobile terminal is connected to the network to which the first network system belongs, the mobile terminal is forbidden to access the network to which the second network system belongs.
Here, again taking the example that the network to which the second network system belongs may be a 5G network and the network to which the first network system belongs may be a Wi-Fi network, when determining that the mobile terminal is connected to the Wi-Fi network, it is further determined whether the mobile terminal successfully accesses the Wi-Fi network. And if the mobile terminal is determined to be successfully accessed to the Wi-Fi network, the mobile terminal is forbidden to be accessed to the 5G network. When the mobile terminal is successfully accessed to the network to which the first network system belongs, the mobile terminal is determined not to be connected to the network to which the second network system belongs, the mobile terminal is forbidden to be accessed to the network to which the second network system belongs, and the power consumption of the mobile terminal can be reduced.
In other optional embodiments, the obtaining of the usage status information of the mobile terminal includes at least one of:
acquiring the on-off state of a display screen contained in the mobile terminal;
acquiring the state of an application program installed in the mobile terminal;
acquiring a battery state of the mobile terminal;
acquiring a network connection state of the mobile terminal;
and acquiring the opening and closing states of the data flow function of the mobile terminal.
Here, the on-off state of the display screen is used to indicate whether the display screen included in the mobile terminal is in an on-state or an off-state, and the application programs installed in the mobile terminal include application programs of the system itself, for example: alarm clock, calculator, etc. the user installs the application program according to the own requirement, for example, the application program of video such as love art, tremble, etc.; and news applications such as hundredths, headlines and the like. The state of the application is an operation state of the application, for example, a data consumption condition or the number of applications to be operated. The battery state of the mobile terminal may be used to represent a usage state of a battery installed in the mobile terminal, for example, a current remaining capacity of the battery, a consumption rate of the battery capacity, and the like. The network connection state of the mobile terminal is used for characterizing the network connected by the mobile terminal, for example, the mobile terminal is currently connected with a 5G network or a Wi-Fi network.
In other optional embodiments, the method further comprises:
when the display screen is in a lighting state, determining that the mobile terminal has a first power consumption requirement;
when the display screen is in an off state, determining that the mobile terminal has a second power consumption requirement, wherein the second power consumption requirement is smaller than the first power consumption requirement;
and when the application program installed in the mobile terminal is in the running state, determining that the mobile terminal has a third power consumption requirement, and determining the third power consumption requirement according to the data consumption type and/or the number of the application program in the running state.
Here, if the display screen of the mobile terminal is in a lit state, it indicates that the mobile terminal has a demand for being used, and data traffic will be generated in the using process, and if the display screen is in an extinguished state, it indicates that the mobile terminal may not have a demand for being used, and the generated data traffic will be relatively small. In the embodiment of the disclosure, the corresponding power consumption requirement is determined based on different use state information of the mobile terminal, the operation parameters of the mobile terminal can be fully utilized, and the accuracy and precision of network control are improved.
In other optional embodiments, the method further comprises:
determining the data consumption type of the application program according to the frequency of sending network requests by the application program in the running state; alternatively, the first and second electrodes may be,
and determining the data consumption type of the application program according to the running attribute of the application program in the running state.
Here, the frequency of network requests includes the number of times and frequency of requesting network data. The operation attribute of the application program is used for representing whether the application program is operated on the mobile terminal locally or on the cloud server side. The data consumption type of the application program may be determined according to the flow rate consumed per unit time when the application program is in an operating state.
In other alternative embodiments, the data consumption types include: the method comprises the steps that when an application program of a first type is in a running state, the data consumption flow in unit time is a first flow; the data consumption flow in unit time is a second flow when the application program of the second type is in a running state, wherein the second flow is larger than the first flow; and when the third type of application program is in a running state, the data consumption flow in unit time is a third flow, wherein the third data flow is greater than the second data flow. Here, when the application is in the running state, the data consumption is classified into different types based on the data consumption flow rate per unit time, and the convenience of flow rate data acquisition can be improved.
In other optional embodiments, the network control method further includes: determining a data consumption type of an application program in a running state on the mobile terminal when the mobile terminal has a first power consumption requirement and a third power consumption requirement; and if the data consumption type of the application program in the running state on the mobile terminal is the second type and the number of the application programs is larger than the set number threshold, or the data consumption type of at least one application program in the running state on the mobile terminal is the third type, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network system.
Illustratively, when a display screen of the mobile terminal is in a lighting state, if a data consumption type of an application program in a running state on the mobile terminal is a second type and the number of the application programs is greater than a set number threshold, or if the data consumption type of at least one application program in the running state on the mobile terminal is a third type, it is determined that power consumption information matched with a current power consumption requirement of the mobile terminal corresponds to a second network type.
When the display screen is in a lighting state, whether the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network system is determined based on the data consumption type of the application programs and the number of the application programs in the running state, and even when the electric quantity of the mobile terminal is sufficient, the power consumption of the mobile terminal can be fully reduced so as to prolong the standby time.
In other optional embodiments, the network control method further includes: when the mobile terminal has a second power consumption requirement and a third power consumption requirement, determining the data consumption type of an application program in a running state on the mobile terminal; if the data consumption type of the application program in the running state on the mobile terminal is a second type and the number of the application programs is larger than a set number threshold, or the data consumption type of at least one application program in the running state on the mobile terminal is a third type, acquiring the current network rate; based on the current network rate, it is determined whether power consumption information matching the current power consumption requirement of the mobile terminal corresponds to the second network type.
Illustratively, when the display screen is in a turned-off state, if the data consumption type of the application program in the running state on the mobile terminal is a second type and the number of the application programs is greater than a set number threshold, or the data consumption type of at least one application program in the running state on the mobile terminal is a third type, acquiring the current network rate; based on the current network rate, it is determined whether power consumption information matching the current power consumption requirement of the mobile terminal corresponds to the second network type.
In other optional embodiments, the network control method further includes: if the current network rate is greater than the set rate threshold, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to a second network system; and if the current network rate is less than or equal to the set rate threshold, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal does not correspond to the second network type.
In other optional embodiments, the network control method further includes: and if the data consumption type of the application program in the running state on the mobile terminal is the second type and the number of the application programs is less than or equal to the set number threshold, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal does not correspond to the second network system.
When the display screen is in the off state, whether the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network system is determined based on the data consumption type of the application program, the number of the application programs in the running state and the network rate, and even when the electric quantity of the mobile terminal is sufficient, the power consumption of the mobile terminal can be fully reduced so as to prolong the standby time.
In other optional embodiments, the network to which the second network system belongs is a 5G network for example to explain, and with the popularization of the 5G technology, a user may use the 5G network in more scenes, but also in many scenes, the user does not need to use the 5G network, for example, when data is turned off, it is explained that the user does not need to use data traffic at this time, and thus does not need to use the 5G network.
In the embodiment of the disclosure, the state of the 5G network is controlled by monitoring different user scenes, different device states and the like, so as to achieve the purpose of controlling power consumption caused by using the 5G network. Here, the network control device includes: the device comprises an equipment state monitoring module, an application program state monitoring module and a user scene monitoring module. The functions of the various modules are as follows:
1. the device state monitoring module is mainly used for monitoring the following states of the mobile terminal:
(1) Wi-Fi network connection status: Wi-Fi network connect and disconnect states.
The device state monitoring module can acquire the connection state of the Wi-Fi network in real time in two modes, namely an active acquisition mode and a passive acquisition mode, wherein the Wi-Fi network is equivalent to the network to which the first network system belongs.
The passive acquisition mode is as follows: the equipment state monitoring module is provided with a monitor through a network interface of an operating system of the mobile terminal, and when the Wi-Fi module on the mobile terminal is successfully accessed to the Wi-Fi network or is successfully disconnected from the Wi-Fi network, the operating system of the mobile terminal can actively inform the monitor. At this time, the device state monitoring module can obtain the Wi-Fi network connection state of the current Wi-Fi module, namely the Wi-Fi network connection state changes, the operating system sends a notification, and the device state monitoring module passively receives the notification.
The active acquisition mode is as follows: the device state monitoring module actively acquires the Wi-Fi network connection state, namely the operating system provides an interface for directly reading the current Wi-Fi network connection state externally, and the device state monitoring module can actively acquire the current Wi-Fi network connection state through the interface.
The device state monitoring module can acquire the Wi-Fi connection state of the device in real time through the two different interfaces.
(2) The display screen is in a bright or dark state: and the display screen of the mobile terminal is in a lighting and extinguishing state.
An operating system of the mobile terminal provides an acquisition interface related to the state of the display screen, and the device state monitoring module can acquire the on-off state of the display screen in real time in two modes, namely an active acquisition mode and a passive acquisition mode.
The passive acquisition mode is as follows: the equipment state monitoring module is provided with a monitor through a network interface of an operating system of the mobile terminal, and when a display screen of the mobile terminal is successfully lightened or successfully extinguished, the operating system can actively inform the monitor. At this time, the device state monitoring module can obtain the on-off state of the current display screen, namely, the on-off state of the display screen changes, the operating system sends out a notification, and the device state monitoring module passively receives the notification.
The active acquisition mode is as follows: the equipment state monitoring module actively acquires the on-off state of the display screen, namely the operating system provides an interface for directly reading the on-off state of the current display screen, and the equipment state monitoring module can actively acquire the current on-off state of the display screen through the interface.
The equipment state monitoring module can acquire the lightening and extinguishing states of the display screen of the equipment in real time through the two different interfaces.
(3) Data switch state: data traffic on and off states.
The operating system of the mobile terminal provides an acquisition interface related to the data switch state, and the equipment state monitoring module can acquire the data switch state in real time in two modes, namely an active acquisition mode and a passive acquisition mode.
The passive acquisition mode is as follows: the equipment state monitoring module is provided with a monitor through a network interface of an operating system of the mobile terminal, and the operating system can actively inform the monitor when the data flow is successfully started or closed. At this time, the device state monitoring module can obtain the current data switch state, namely, the data switch state changes, and then the operating system sends out a notification, and the device state monitoring module passively receives the notification.
The active acquisition mode is as follows: the equipment state monitoring module actively acquires the data switch state, namely an interface for directly reading the current data switch state is provided by the operating system, and the equipment state monitoring module can actively acquire the current data switch state through the interface.
The equipment state monitoring module can acquire the data switch state of the equipment in real time through the two different interfaces.
2. The application program state monitoring module can divide the types of application programs installed on the mobile terminal, and generally divides the application programs into three types:
(1) zero flow type: tool-like applications, such as alarms, calculators, etc., typically do not consume traffic.
(2) Low flow rate type: such as hundredths, news, etc., that consume little traffic.
(3) The flow consumption type: such as video applications with a large consumption flow, such as loving art, tremble, and short video applications.
The data consumption type of the zero-flow application program in the running state is a first type; the data consumption type of the low-flow application program in the running state is a second type; the data consumption type of the traffic consuming application in the running state is a third type.
Meanwhile, the application program state monitoring module monitors 3 behaviors of starting and closing of the application program and network request. And according to the application program type, marking the current network use condition as: a network active state and a non-network active state, wherein the system default state is the non-network active state.
When the application program is started, the application program state monitoring module records the name of the application program.
After the application program is started, when the application program initiates a network data request, the application program state monitoring module can identify the type of the application program. If the application program is of a flow consumption type, directly marking the current network use condition as a network active state; if the application program is of zero-flow type, the marking state is not processed, because the default of the system is the non-network active state, and the zero-flow type application program does not consume the flow, the marking is not needed; if the application program is of a low-traffic type, calculating the number of the application programs of the low-traffic type which are started currently, if a preset number threshold (for example, 5) is exceeded, marking the application programs as a network active state, and otherwise, marking the application programs as a non-network active state. For low traffic type applications, if only applications below a preset number threshold (e.g., 1 or 2) request network data, it is also sufficient if the 5G network is not used. A 5G network may be required only when multiple applications request network data simultaneously.
When the application stops the network data request, the application status monitor module identifies the type of the application. If at this time, the system still has any one of the following situations:
if any one of the traffic-consuming applications is still sending a network data request, or if a low-traffic application reaching a preset number threshold is still sending a network data request, the current network usage is still marked as a network active state. Otherwise, directly marking the current network use condition as a non-network active state.
If the application program is closed, the application program also stops the network data request, and the application program state monitoring module deletes the recorded name of the application program. Wherein the application closing comprises: the user manually closes the application program, and the application program is closed by the operating system due to insufficient memory or unstable system.
In the embodiment of the disclosure, for a 5G network, an operating system of a mobile terminal provides an interface which can turn on and off a 5G function, that is, whether to access the 5G network, and when the 5G function is turned on, the system will turn on a 5G baseband and attempt to register to the 5G network; when the 5G functionality is turned off, the system will turn off the 5G baseband, register the 5G network from the operator base station, and attempt to connect to the 4G network.
3. The user scene monitoring module can generate different use scenes such as different scenes of connecting a Wi-Fi network and closing a mobile phone display screen and the like based on the fact that a user uses a mobile phone, and the user scene monitoring module can uniformly record various states according to states notified by the equipment state monitoring module and the application program state monitoring module and can recognize the states as different scenes, and the specific description is as follows:
(1) after the Wi-Fi network connection state, the display screen on-off state, the data switch state and other states change, the equipment state monitoring module informs the user scene monitoring module of the corresponding changed states, and the user scene monitoring module records the states.
(2) When the APP state changes, the active state of the system network can be notified to the user scene monitoring module in real time by the application program state monitoring module, and the user scene monitoring module records whether the network is active or not.
Meanwhile, the user scene monitoring module can also read the current network speed (network rate) in real time according to an interface provided by the system, wherein the network rate can be divided into two types: low rate, high rate. The network rate is divided into a set rate threshold, for example, 10M/s (10 mega per second), and the network rate exceeding the set rate threshold can be marked as a high rate, or else as a low rate, wherein the set rate threshold can be adjusted according to the needs.
The user scene monitoring module can start or close the 5G function under different user scenes according to the states notified by other modules. As shown in table 1, table 1 shows the 5G function switch states in different user scenarios. Each row in table 1 represents a current user scenario, and in different scenarios, the 5G function is controlled to be turned on or off. In table 1, "/" indicates "or", for example, "on/off" means "on state or" off state ".
TABLE 1 5G function on-off states under different user scenarios
Figure BDA0002252673800000141
As shown in line 1 of table 1, the different user scenarios include: the system comprises a Wi-Fi network connection state, a data switch state, a display screen on-off state and a network active state.
As shown in row 2 of table 1, in the case of Wi-Fi network connection, the 5G function is turned off regardless of whether the display screen is on or off, whether the data is on or off, or whether the network is active. Since the Wi-Fi network is connected at this time, the Wi-Fi network is used, and data traffic is not used, so that the 5G function can be turned off.
As shown in row 3 of table 1, when the Wi-Fi network is disconnected and the data is turned off, the user turns off the data switch, which indicates that the user does not want to use the data traffic, and the 5G function is turned off regardless of whether the display screen is turned on or off, the data is turned on or off, and the network is active.
As shown in row 4 of table 1, in the case of a Wi-Fi network disconnection, data on, and display screen lighting, if the network is active, the 5G function is turned on.
As shown in row 5 of table 1, in the case of Wi-Fi network disconnection, data on, display screen lighting, if the network is not active, the 5G function is turned off.
As shown in row 6 of table 1, in the case of a Wi-Fi network disconnection, data on, and display screen off, if the network is active and the network rate is high, the 5G function is turned on.
As shown in row 7 of table 1, in the case of a Wi-Fi network disconnection, data on, and display screen off, if the network is active and the network rate is low, the 5G function is turned off.
As shown in row 8 of table 1, in the case of Wi-Fi network disconnection, data on, and display screen off, if the network is not active, the 5G function is turned off.
Compared with the method and the device for determining the network type to perform service processing according to the current residual capacity of the mobile terminal and the power consumption information of the supported network type, the method and the device for controlling the power consumption of the 5G network do not depend on the residual capacity, control the power consumption of the 5G network even under the condition of full capacity, and guarantee that the mobile phone of the user has enough endurance time.
Fig. 2 is a block diagram illustrating a network control device according to an example embodiment. As shown in fig. 2, the network control apparatus 200 mainly includes:
the information acquisition module 201 is configured to acquire use state information of the mobile terminal, and acquire power consumption information of each network type supported by the mobile terminal to obtain a power consumption information set including the power consumption information of each network type;
the first network determining module 202 is configured to determine a network type from the set network type set as a target network type according to the power consumption information included in the usage state information and the power consumption information set, so as to execute a service of the mobile terminal based on a network to which the target network type belongs.
In other alternative implementations, the first network determination module 202 includes:
the first determining submodule is configured to determine whether the mobile terminal has accessed to a network to which the first network type belongs according to the use state information;
the matching submodule is configured to match the current power consumption requirement of the mobile terminal with the power consumption information included in the power consumption information set if the mobile terminal is not accessed to the network to which the first network system belongs;
the second determining submodule is configured to determine the second network type as a target network type when the power consumption information matched with the current power consumption requirement corresponds to the second network type;
the power consumption of the mobile terminal for transmitting data by using the network to which the first network system belongs is less than the power consumption of the mobile terminal for transmitting data by using the network to which the second network system belongs.
In other optional embodiments, the information obtaining module 201 includes at least one of:
the first obtaining submodule is configured to obtain the on-off state of a display screen contained in the mobile terminal;
the second acquisition submodule is configured to acquire the state of the application program installed in the mobile terminal;
the third obtaining submodule is configured to obtain the battery state of the mobile terminal;
the fourth obtaining submodule is configured to obtain the network connection state of the mobile terminal;
and the fifth acquisition submodule is configured to acquire the on and off states of the data traffic function of the mobile terminal.
In other alternative embodiments, the apparatus 200 further comprises:
the mobile terminal comprises a first requirement determining module, a second requirement determining module and a display module, wherein the first requirement determining module is configured to determine that the mobile terminal has a first power consumption requirement when the display screen is in a lighting state;
the second requirement determining module is configured to determine that the mobile terminal has a second power consumption requirement when the display screen is in an off state, wherein the second power consumption requirement is smaller than the first power consumption requirement;
and the third requirement determining module is configured to determine that the mobile terminal has a third power consumption requirement when the application program installed in the mobile terminal is in the running state, and determine the third power consumption requirement according to the data consumption type and/or the number of the application program in the running state.
In other alternative embodiments, the apparatus 200 further comprises:
the first type determining module is configured to determine the data consumption type of the application program according to the frequency of sending network requests by the application program in the running state; alternatively, the first and second electrodes may be,
and determining the data consumption type of the application program according to the running attribute of the application program in the running state.
In other alternative embodiments, the data consumption types include:
the method comprises the steps that when an application program corresponding to a first type is in an operating state, the data consumption flow in unit time is a first flow;
the data consumption flow in unit time is a second flow when the application program corresponding to the second type is in the running state, wherein the second flow is larger than the first flow;
and when the application program corresponding to the third type is in the running state, the data consumption flow in unit time is a third flow, wherein the third flow is greater than the second flow.
In other alternative embodiments, the apparatus 200 further comprises:
the second type determining module is configured to determine the data consumption type of the application program in the running state on the mobile terminal when the mobile terminal has the first power consumption requirement and the third power consumption requirement;
a second network determination module configured to determine whether the data consumption type of the application program in the running state on the mobile terminal is a second type and the number of the application programs is greater than a set number threshold, or,
and if the data consumption type of at least one application program in the running state on the mobile terminal is the third type, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network system.
In other alternative embodiments, the apparatus 200 further comprises:
the third type determining module is configured to determine the data consumption type of the application program in the running state on the mobile terminal when the mobile terminal has the second power consumption requirement and the third power consumption requirement;
a rate obtaining module configured to, if the data consumption type of the application program in the running state on the mobile terminal is a second type, and the number of the application programs is greater than a set number threshold, or,
if the data consumption type of at least one application program in the running state on the mobile terminal is a third type, acquiring the current network rate;
and the third network determining module is configured to determine whether the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network type based on the current network rate.
In other optional embodiments, the third network determination module comprises:
the third determining submodule is configured to determine that the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network system if the current network rate is greater than a set rate threshold;
and the fourth determining submodule is configured to determine that the power consumption information matched with the current power consumption requirement of the mobile terminal does not correspond to the second network type if the current network rate is less than or equal to the set rate threshold.
In other alternative embodiments, the apparatus 200 further comprises:
and the fourth network determining module is configured to determine that the power consumption information matched with the current power consumption requirement of the mobile terminal does not correspond to the second network system if the data consumption type of the application program in the running state on the mobile terminal is the second type and the number of the application programs is less than or equal to the set number threshold.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 3 is a first block diagram of a network control apparatus 300 according to an example embodiment. For example, the apparatus 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 3, the apparatus 300 may include one or more of the following components: a processing component 302, a memory 304, a power component 306, a multimedia component 308, an audio component 310, an input/output (I/O) interface 312, a sensor component 314, and a communication component 316.
The processing component 302 generally controls overall operation of the device 300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 302 may include one or more processors 320 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 302 can include one or more modules that facilitate interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate interaction between the multimedia component 308 and the processing component 302.
The memory 304 is configured to store various types of data to support operations at the apparatus 300. Examples of such data include instructions for any application or method operating on device 300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 304 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 306 provide power to the various components of device 300. The power components 306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 300.
The multimedia component 308 includes a display screen that provides an output interface between the device 300 and a user. In some embodiments, the display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the display screen includes a touch panel, the display screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 300 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 310 is configured to output and/or input audio signals. For example, audio component 310 includes a Microphone (MIC) configured to receive external audio signals when apparatus 300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 304 or transmitted via the communication component 316. In some embodiments, audio component 310 also includes a speaker for outputting audio signals.
The I/O interface 312 provides an interface between the processing component 302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for the device 300. For example, sensor assembly 314 may detect an open/closed state of device 300, the relative positioning of components, such as a display and keypad of device 300, the change in position of device 300 or a component of device 300, the presence or absence of user contact with device 300, the orientation or acceleration/deceleration of device 300, and the change in temperature of device 300. Sensor assembly 314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 316 is configured to facilitate wired or wireless communication between the apparatus 300 and other devices. The device 300 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 304 comprising instructions, executable by the processor 320 of the apparatus 300 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform a network control method, the method comprising:
acquiring use state information of a mobile terminal, acquiring power consumption information of each network type supported by the mobile terminal, and acquiring a power consumption information set comprising the power consumption information of each network type;
and determining a network type as a target network type from a set of set network types according to the use state information and the power consumption information included in the power consumption information set, so as to execute the service of the mobile terminal based on the network to which the target network type belongs.
Fig. 4 is a block diagram two illustrating a network control device according to an example embodiment. For example, the apparatus 400 may be provided as a server. Referring to fig. 4, apparatus 400 includes a processing component 422, which further includes one or more processors, and memory resources, represented by memory 432, for storing instructions, such as applications, that are executable by processing component 422. The application programs stored in memory 432 may include one or more modules that each correspond to a set of instructions. Further, the processing component 422 is configured to execute instructions to perform the above-described network control method, the method comprising:
acquiring use state information of a mobile terminal, acquiring power consumption information of each network type supported by the mobile terminal, and acquiring a power consumption information set comprising the power consumption information of each network type;
and determining a network type as a target network type from a set of set network types according to the use state information and the power consumption information included in the power consumption information set, so as to execute the service of the mobile terminal based on the network to which the target network type belongs.
The apparatus 400 may also include a power component 426 configured to perform power management of the apparatus 400, a wired or wireless network interface 450 configured to connect the apparatus 400 to a network, and an input output (I/O) interface 458. The apparatus 400 may operate based on an operating system stored in the memory 432, such as Windows Server, Mac OSXTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (22)

1. A network control method, comprising:
acquiring use state information of a mobile terminal, acquiring power consumption information of each network type supported by the mobile terminal, and acquiring a power consumption information set comprising the power consumption information of each network type;
and determining a network type as a target network type from a set of set network types according to the use state information and the power consumption information included in the power consumption information set, so as to execute the service of the mobile terminal based on the network to which the target network type belongs.
2. The method according to claim 1, wherein the determining a network standard from a set of network standards as a target network standard according to the usage state information and the power consumption information included in the set of power consumption information comprises:
determining whether the mobile terminal has accessed to a network to which a first network type belongs according to the use state information;
if the mobile terminal does not access the network to which the first network type belongs, matching the current power consumption requirement of the mobile terminal with the power consumption information included in the power consumption information set;
when the power consumption information matched with the current power consumption requirement corresponds to a second network type, determining the second network type as a target network type;
and the power consumption of the mobile terminal for transmitting data by using the network to which the first network standard belongs is less than the power consumption of the mobile terminal for transmitting data by using the network to which the second network standard belongs.
3. The method according to claim 2, wherein the obtaining the use state information of the mobile terminal comprises at least one of:
acquiring the on-off state of a display screen contained in the mobile terminal;
acquiring the state of an application program installed in the mobile terminal;
acquiring the battery state of the mobile terminal;
acquiring a network connection state of the mobile terminal;
and acquiring the opening and closing states of the data flow function of the mobile terminal.
4. The method of claim 3, further comprising:
when the display screen is in a lighting state, determining that the mobile terminal has a first power consumption requirement;
when the display screen is in an off state, determining that the mobile terminal has a second power consumption requirement, wherein the second power consumption requirement is smaller than the first power consumption requirement;
when the application program installed in the mobile terminal is in the running state, determining that the mobile terminal has a third power consumption requirement, and determining the third power consumption requirement according to the data consumption type and/or the number of the application program in the running state.
5. The method of claim 4, further comprising:
determining the data consumption type of the application program according to the frequency of sending network requests by the application program in the running state; alternatively, the first and second electrodes may be,
and determining the data consumption type of the application program according to the running attribute of the application program in the running state.
6. The method of claim 5, wherein the data consumption type comprises:
the data consumption flow in unit time is a first flow when the application program corresponding to the first type is in the running state;
when the application program corresponding to the second type is in the running state, the data consumption flow in unit time is a second flow, wherein the second flow is larger than the first flow;
and when the application program corresponding to the third type is in the running state, the data consumption flow in unit time is a third flow, wherein the third flow is greater than the second flow.
7. The method of claim 6, further comprising:
determining a data consumption type of an application program in a running state on the mobile terminal when the mobile terminal has the first power consumption requirement and the third power consumption requirement;
if the data consumption type of the application program in the running state on the mobile terminal is the second type, and the number of the application programs is greater than the set number threshold, or,
and if the data consumption type of at least one application program in the running state on the mobile terminal is a third type, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network system.
8. The method of claim 6, further comprising:
determining a data consumption type of an application program in a running state on the mobile terminal when the mobile terminal has the second power consumption requirement and the third power consumption requirement;
if the data consumption type of the application program in the running state on the mobile terminal is the second type, and the number of the application programs is greater than the set number threshold, or,
if the data consumption type of at least one application program in the running state on the mobile terminal is a third type, acquiring the current network rate;
and determining whether the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network type or not based on the current network rate.
9. The method of claim 8, wherein the determining whether the power consumption information matching the current power consumption requirement of the mobile terminal corresponds to the second network format based on the current network rate comprises:
if the current network rate is greater than a set rate threshold, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network type;
and if the current network rate is less than or equal to the set rate threshold, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal does not correspond to the second network type.
10. The method according to claim 7 or 8, characterized in that the method further comprises:
and if the data consumption type of the application program in the running state on the mobile terminal is a second type and the number of the application programs is less than or equal to the set number threshold, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal does not correspond to the second network system.
11. A network control apparatus, comprising:
the information acquisition module is configured to acquire use state information of a mobile terminal, acquire power consumption information of each network type supported by the mobile terminal and acquire a power consumption information set comprising the power consumption information of each network type;
and the first network determining module is configured to determine a network type from a set network type set as a target network type according to the use state information and the power consumption information included in the power consumption information set, so as to execute the service of the mobile terminal based on a network to which the target network type belongs.
12. The apparatus of claim 11, wherein the first network determination module comprises:
the first determining submodule is configured to determine whether the mobile terminal has accessed to a network to which the first network type belongs according to the use state information;
the matching submodule is configured to match the current power consumption requirement of the mobile terminal with the power consumption information included in the power consumption information set if the mobile terminal does not access the network to which the first network standard belongs;
a second determining submodule configured to determine a second network type as a target network type when the power consumption information matched with the current power consumption requirement corresponds to the second network type;
and the power consumption of the mobile terminal for transmitting data by using the network to which the first network standard belongs is less than the power consumption of the mobile terminal for transmitting data by using the network to which the second network standard belongs.
13. The apparatus of claim 12, wherein the information obtaining module comprises at least one of:
the first obtaining submodule is configured to obtain the on-off state of a display screen contained in the mobile terminal;
the second obtaining submodule is configured to obtain the state of the application program installed in the mobile terminal;
the third obtaining submodule is configured to obtain the battery state of the mobile terminal;
a fourth obtaining submodule configured to obtain a network connection state of the mobile terminal;
and the fifth acquisition submodule is configured to acquire the on and off states of the data traffic function of the mobile terminal.
14. The apparatus of claim 13, further comprising:
a first requirement determining module configured to determine that the mobile terminal has a first power consumption requirement when the display screen is in an illuminated state;
the second requirement determining module is configured to determine that the mobile terminal has a second power consumption requirement when the display screen is in an off state, wherein the second power consumption requirement is smaller than the first power consumption requirement;
the third requirement determining module is configured to determine that the mobile terminal has a third power consumption requirement when the application program installed in the mobile terminal is in the running state, and determine the third power consumption requirement according to the data consumption type and/or the number of the application program in the running state.
15. The apparatus of claim 14, further comprising:
the first type determining module is configured to determine the data consumption type of the application program according to the frequency of sending network requests by the application program in a running state; alternatively, the first and second electrodes may be,
and determining the data consumption type of the application program according to the running attribute of the application program in the running state.
16. The apparatus of claim 15, wherein the data consumption types comprise:
the data consumption flow in unit time is a first flow when the application program corresponding to the first type is in the running state;
when the application program corresponding to the second type is in the running state, the data consumption flow in unit time is a second flow, wherein the second flow is larger than the first flow;
and when the application program corresponding to the third type is in the running state, the data consumption flow in unit time is a third flow, wherein the third flow is greater than the second flow.
17. The apparatus of claim 16, further comprising:
a second type determination module configured to determine a data consumption type of an application program in a running state on the mobile terminal when the mobile terminal has the first power consumption requirement and the third power consumption requirement;
a second network determination module configured to determine, if the data consumption type of the application program running on the mobile terminal is a second type and the number of the application programs is greater than a set number threshold, or,
and if the data consumption type of at least one application program in the running state on the mobile terminal is a third type, determining that the power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network system.
18. The apparatus of claim 16, further comprising:
a third type determining module configured to determine a data consumption type of an application program in a running state on the mobile terminal when the mobile terminal has the second power consumption requirement and the third power consumption requirement;
a rate obtaining module configured to, if the data consumption type of the application program running on the mobile terminal is a second type, and the number of the application programs is greater than a set number threshold, or,
if the data consumption type of at least one application program in the running state on the mobile terminal is a third type, acquiring the current network rate;
a third network determining module configured to determine whether power consumption information matched with a current power consumption requirement of the mobile terminal corresponds to the second network type based on the current network rate.
19. The apparatus of claim 18, wherein the third network determination module comprises:
a third determining submodule configured to determine that power consumption information matched with the current power consumption requirement of the mobile terminal corresponds to the second network type if the current network rate is greater than a set rate threshold;
a fourth determining submodule configured to determine that the power consumption information matched with the current power consumption requirement of the mobile terminal does not correspond to the second network type if the current network rate is less than or equal to the set rate threshold.
20. The apparatus of claim 17 or 18, further comprising:
and the fourth network determination module is configured to determine that the power consumption information matched with the current power consumption requirement of the mobile terminal does not correspond to the second network system if the data consumption type of the application program in the running state on the mobile terminal is the second type and the number of the application programs is less than or equal to the set number threshold.
21. A network control apparatus, comprising:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to: when executed, implement the steps of any of the network control methods of claims 1 to 10.
22. A non-transitory computer readable storage medium, instructions in which, when executed by a processor of a network control apparatus, enable the apparatus to perform the network control method of any of the above claims 1 to 10.
CN201911040407.6A 2019-10-29 2019-10-29 Network control method, device and storage medium Active CN112752328B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911040407.6A CN112752328B (en) 2019-10-29 2019-10-29 Network control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911040407.6A CN112752328B (en) 2019-10-29 2019-10-29 Network control method, device and storage medium

Publications (2)

Publication Number Publication Date
CN112752328A true CN112752328A (en) 2021-05-04
CN112752328B CN112752328B (en) 2023-06-30

Family

ID=75641171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911040407.6A Active CN112752328B (en) 2019-10-29 2019-10-29 Network control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN112752328B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822742A (en) * 2021-02-01 2021-05-18 联想(北京)有限公司 Processing method and device
CN114726794A (en) * 2022-04-14 2022-07-08 深圳市优克联新技术有限公司 Method, device and equipment for providing network channel and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014112941A1 (en) * 2013-01-18 2014-07-24 Telefonaktiebolaget L M Ericsson (Publ) Enhanced integration between wi-fi and mobile communication networks
CN105338585A (en) * 2015-11-28 2016-02-17 广东欧珀移动通信有限公司 Network system switching method and device and terminal
CN105406889A (en) * 2015-11-28 2016-03-16 广东欧珀移动通信有限公司 Method and device for determining network type and mobile terminal
CN105517128A (en) * 2015-11-28 2016-04-20 广东欧珀移动通信有限公司 Network switching method and device, and terminal
CN106358225A (en) * 2016-09-20 2017-01-25 广东欧珀移动通信有限公司 Network data processing method, network data processing device and mobile terminal
US20180359689A1 (en) * 2017-06-08 2018-12-13 Samsung Electronics Co., Ltd. Method and apparatus for wireless communication
WO2019071615A1 (en) * 2017-10-13 2019-04-18 华为技术有限公司 Method for reducing power consumption of terminal, and terminal
CN110381556A (en) * 2019-08-13 2019-10-25 Oppo(重庆)智能科技有限公司 Method for switching network and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014112941A1 (en) * 2013-01-18 2014-07-24 Telefonaktiebolaget L M Ericsson (Publ) Enhanced integration between wi-fi and mobile communication networks
CN105338585A (en) * 2015-11-28 2016-02-17 广东欧珀移动通信有限公司 Network system switching method and device and terminal
CN105406889A (en) * 2015-11-28 2016-03-16 广东欧珀移动通信有限公司 Method and device for determining network type and mobile terminal
CN105517128A (en) * 2015-11-28 2016-04-20 广东欧珀移动通信有限公司 Network switching method and device, and terminal
CN106358225A (en) * 2016-09-20 2017-01-25 广东欧珀移动通信有限公司 Network data processing method, network data processing device and mobile terminal
US20180359689A1 (en) * 2017-06-08 2018-12-13 Samsung Electronics Co., Ltd. Method and apparatus for wireless communication
WO2019071615A1 (en) * 2017-10-13 2019-04-18 华为技术有限公司 Method for reducing power consumption of terminal, and terminal
CN110381556A (en) * 2019-08-13 2019-10-25 Oppo(重庆)智能科技有限公司 Method for switching network and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822742A (en) * 2021-02-01 2021-05-18 联想(北京)有限公司 Processing method and device
CN114726794A (en) * 2022-04-14 2022-07-08 深圳市优克联新技术有限公司 Method, device and equipment for providing network channel and readable storage medium
CN114726794B (en) * 2022-04-14 2024-06-04 深圳市优克联新技术有限公司 Method, device and equipment for providing network channel and readable storage medium

Also Published As

Publication number Publication date
CN112752328B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
EP3188066B1 (en) A method and an apparatus for managing an application
CN107608561B (en) Touch screen control method and device
CN107040591B (en) Method and device for controlling client
CN105912450B (en) Application state information display method and device
CN112752328B (en) Network control method, device and storage medium
CN110337825B (en) Service switching method and device
CN111526573A (en) Communication data processing method and device, electronic equipment and storage medium
CN112672389B (en) Network switching method
CN105227426B (en) Application interface switching method and device and terminal equipment
CN107371222B (en) Virtual card disabling method and device
CN109644353B (en) Configuration adjustment method, device, electronic equipment and computer readable storage medium
CN106658674B (en) Mobile terminal and method for outputting conducted power
CN114430370B (en) Method, device, equipment and storage medium for determining network slice
CN106060104B (en) Application management method and device
CN113873603A (en) Network control method, device and storage medium
CN112187326A (en) Antenna control method, device, equipment and storage medium
CN114449542A (en) Cell registration method, device and medium
CN108539823B (en) Charging method and device
CN111314232A (en) Application acceleration method, device and storage medium
CN107979695B (en) Network message receiving method and device and storage medium
CN106776204B (en) Method and device for determining power consumption application
CN112738833B (en) Network information updating method and device
CN110556895B (en) Charging method and device and electronic equipment
CN108650322B (en) Battery data processing method and device
CN106878565B (en) Positioning function control method and device

Legal Events

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