CN112218314B - Terminal control method, device, terminal and storage medium - Google Patents

Terminal control method, device, terminal and storage medium Download PDF

Info

Publication number
CN112218314B
CN112218314B CN202011028562.9A CN202011028562A CN112218314B CN 112218314 B CN112218314 B CN 112218314B CN 202011028562 A CN202011028562 A CN 202011028562A CN 112218314 B CN112218314 B CN 112218314B
Authority
CN
China
Prior art keywords
network
terminal
switching frequency
controlling
started
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011028562.9A
Other languages
Chinese (zh)
Other versions
CN112218314A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011028562.9A priority Critical patent/CN112218314B/en
Publication of CN112218314A publication Critical patent/CN112218314A/en
Application granted granted Critical
Publication of CN112218314B publication Critical patent/CN112218314B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • 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)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention relates to a terminal control method, a device, a terminal and a storage medium, wherein the method comprises the following steps: when the terminal is determined to be in a first mode, acquiring switching frequency among antennas of the terminal, wherein the antennas comprise a first antenna and a second antenna; determining a network control strategy of the terminal based on the switching frequency; the network of the terminal is controlled based on the network control strategy, and therefore the method can adjust the network of the terminal, ensure stable communication of the terminal under the condition that the antenna is frequently switched due to unstable signals, and improve user experience.

Description

Terminal control method, device, terminal and storage medium
Technical Field
The embodiment of the invention relates to the field of terminal control, in particular to a terminal control method, a terminal control device, a terminal and a storage medium.
Background
With the progress of scientific technology, the 4G technology cannot meet the use requirements of people, and in order to keep pace with the pace of modern society, the 5G communication era has started, and the 5G technology has two networking modes, wherein the NSA non-independent networking method is to introduce the 5G technology on the basis of part of the existing 4G network, and the 5G needs to transmit data through a double link with the assistance of the 4G network so as to meet the requirements of large bandwidth and high speed.
However, NSA non-independent networking has some problems, for example, when 5G is used in a scene where 5G is not needed, a mobile phone manufacturer is required to add a function of intelligently judging 5G of a mobile phone, and simultaneously, the optimized power consumption of the mobile phone is increased; for another example, a mobile phone has two signal receiving antennas, and when the signal strength received by the two antennas is not consistent, the antennas are switched to use, but when the antenna switching frequency is small, 4G can be used, and the NSA non-independent networking still enables 5G under the condition, which results in excessive power consumption of the mobile phone.
Disclosure of Invention
In view of this, to solve the technical problem that the dual network link cannot be intelligently switched, embodiments of the present invention provide a terminal control method, an apparatus, a terminal, and a storage medium.
In a first aspect, an embodiment of the present invention provides a terminal control method, including:
when the terminal is determined to be in a first mode, acquiring switching frequency among antennas of the terminal, wherein the antennas comprise a first antenna and a second antenna;
determining a network control strategy of the terminal based on the switching frequency;
and controlling the network of the terminal based on the network control strategy.
In one possible embodiment, the method further comprises:
if the switching frequency is greater than or equal to a first threshold value, determining that the network control strategy of the terminal is to simultaneously start a second network on the premise of starting a first network;
and when the terminal simultaneously starts the first network and the second network, if the switching frequency is less than a first threshold value, determining that the network control strategy of the terminal is to close the second network.
In one possible embodiment, the method further comprises:
starting a timer when the network control strategy of the terminal is that a second network is started simultaneously on the premise of starting a first network;
after a first preset time corresponding to the timer, if the switching frequency is greater than or equal to a first threshold, controlling the second network to be started on the premise that the first network is started.
In one possible embodiment, the method further comprises:
and in a second preset time, if the switching times among the antennas are larger than or equal to a second threshold value, controlling the second network to be started on the premise that the first network is started.
In one possible embodiment, the method further comprises:
starting a timer when the network control strategy of the terminal is to close the second network;
and after a first preset time corresponding to the timer, if the switching frequency is less than a first threshold value, controlling the second network to be closed.
In one possible embodiment, the method further comprises:
and in a second preset time, if the switching times among the antennas are smaller than a second threshold value, controlling the second network to be closed.
In one possible embodiment, the method further comprises:
and when the terminal is determined to be in the second mode, controlling the first network and the second network to be started simultaneously.
In a second aspect, an embodiment of the present invention provides a terminal control apparatus, including:
the terminal comprises an acquisition module, a processing module and a control module, wherein the acquisition module is used for acquiring the switching frequency among the antennas of the terminal when the terminal is determined to be in a first mode;
a determining module, configured to determine a network control policy of the terminal based on the handover frequency;
and the control module is used for controlling the network of the terminal based on the network control strategy.
In a third aspect, an embodiment of the present invention provides a terminal, including: a processor and a memory, the processor being configured to execute a terminal control program stored in the memory to implement the terminal control method described in the first aspect above.
In a fourth aspect, an embodiment of the present invention provides a storage medium, where the storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the terminal control method described in the first aspect.
According to the terminal control scheme provided by the embodiment of the invention, when the terminal is determined to be in the first mode, the switching frequency between the antennas of the terminal is obtained, wherein the antennas comprise a first antenna and a second antenna; determining a network control strategy of the terminal based on the switching frequency; the network of the terminal is controlled based on the network control strategy, and the terminal cannot intelligently control the network according to environmental changes, so that the user experience is poor due to the fact that the network with high power consumption is used when the network is not needed.
Drawings
Fig. 1 is an application scenario diagram of a terminal control method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a terminal control method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another terminal control method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal control device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For the convenience of understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
Fig. 1 is an application scenario diagram of a terminal control method according to an embodiment of the present invention, as shown in fig. 1, in a case of non-independent networking, a terminal may perform signal transmission solely through a first base station, or may perform signal transmission through a combination of the first base station and a second base station, where the first base station may be a 4G base station, and the second base station may be a 5G base station.
The terminal has the function of connecting to two networks, wherein the two networks are a first network and a second network respectively; the terminal is provided with two antennas including a first antenna and a second antenna. The terminal can be a smart phone, a tablet computer or a smart bracelet.
The terminal control method will be specifically described below with the terminal as an execution subject of the present solution.
Fig. 2 is a schematic flowchart of a terminal control method according to an embodiment of the present invention, and as shown in fig. 2, the method specifically includes:
and S21, acquiring the switching frequency among the antennas of the terminal when the terminal is determined to be in the first mode.
In this embodiment, the terminal is provided with two modes, and the terminal has a function of connecting to two networks, where the two modes include a first mode and a second mode, and the first mode is: the terminal turns on the first network and the second network is conditionally on/off.
Further, the first network is a 4G network, and the second network is a 5G network.
The terminal is provided with two antennas, including a first antenna and a second antenna, the states of the first antenna and the second antenna can be switched, and the switching frequency between the antennas of the terminal is obtained by detecting the switching state of the first antenna/the second antenna.
The state of the first antenna comprises a transmitting and receiving function or a receiving function only, the state of the second antenna comprises a transmitting and receiving function or a receiving function only, and when the received signal strength of the first antenna is inconsistent with that of the second antenna, the states of the first antenna and the second antenna are switched, for example: when the received signal of the first antenna is poor and the received signal of the second antenna is good, the switching of the antenna state can occur, the state of the first antenna is switched from the transmitting and receiving function to the receiving function only, and the state of the second antenna is switched from the receiving function only to the transmitting and receiving function. As shown in table 1, the states of the first antenna and the second antenna correspond to each other.
Figure BDA0002702033320000051
TABLE 1
When it is determined that the terminal is in the first mode, a switching frequency of the state of the first antenna/the second antenna is acquired.
S22, determining the network control strategy of the terminal based on the switching frequency. In the embodiment of the invention, a network control rule is preset, and the network control rule can comprise a first rule and a second rule; wherein the first rule may be: the switching frequency meets a preset condition (for example, the switching frequency is greater than or equal to a set value); the second rule may be: the switching frequency does not satisfy the preset condition.
Further, the network control policy corresponding to the first rule is as follows: the second network is started; the network control strategy corresponding to the second rule is as follows: the second network is closed;
and S23, controlling the network of the terminal based on the network control strategy.
When the network control strategy is the second network opening, executing the step of the second network opening; and executing the step of closing the second network when the network control strategy is the second network closing.
The embodiment of the invention relates to a terminal control method, which comprises the steps of obtaining the switching frequency between antennas of a terminal when the terminal is determined to be in a first mode, wherein the antennas comprise a first antenna and a second antenna; determining a network control strategy of the terminal based on the switching frequency; the network of the terminal is controlled based on the network control strategy, and the terminal cannot intelligently control the network according to environmental changes, so that the power consumption is increased when the network with higher power consumption is not used.
Fig. 3 is a schematic flowchart of another terminal control method according to an embodiment of the present invention, and as shown in fig. 3, the method specifically includes:
the specific description is given by taking the terminal as a smart phone, the first network as a 4G network, the second network as a 5G network, the first antenna as a main set antenna, and the second antenna as a diversity antenna.
And S31, acquiring the switching frequency between the antennas of the smart phone when the smart phone is determined to be in the first mode.
The smart phone is provided with two antennas, namely a main antenna and a diversity antenna, which can be dynamically switched according to the receiving strength of signals of the antennas, wherein the main antenna has receiving and transmitting functions, and the diversity antenna only has receiving function, as shown in table 2.
Figure BDA0002702033320000061
TABLE 2
In the embodiment of the invention, the current set mode of the smart phone is obtained, whether the smart phone is in the first mode is judged, if the smart phone is determined to be in the first mode, the switching information between two signal receiving antennas of the smart phone is obtained in real time, and the switching frequency is calculated according to the switching information.
Further, the switching information comprises the switching time of the main set antenna and the diversity antenna of the smart phone, and the switching frequency between the antennas in a set time period is determined according to the switching time of the main set antenna and the diversity antenna. For example, if the number of times of antenna switching is 30 times in 60s, the antenna switching frequency is 2 s/time.
In an alternative of the embodiment of the present invention, the smart phone is further provided with a second mode, where the second mode is: the smart phone simultaneously starts the first network and the second network.
And S32, if the switching frequency is greater than or equal to a first threshold value, determining that the network control strategy of the smart phone is to simultaneously start a second network on the premise of starting a first network.
And S33, starting a timer when the network control strategy of the smart phone is that the second network is started simultaneously on the premise of starting the first network.
If the switching frequency between the antennas obtained in S32 is greater than or equal to the first threshold (e.g., 3S/time), it is determined that the network control policy of the smartphone is to simultaneously open the second network on the premise of opening the first network.
For example, the first network is a 4G network, the second network is a 5G network, the 4G network is always on in the first mode, and if the switching frequency between the antennas of the smart phone is greater than or equal to 3 s/time, it is determined that the network control policy of the smart phone is to simultaneously turn on the 5G network on the premise of turning on the 4G network.
If the second network is determined to be started, the smart phone sends a starting instruction to the timer to control the timer to start.
In the embodiment of the present invention, the duration corresponding to the timer may be set according to an actual situation, for example, the timer is set to correspond to a first preset time, and the first preset time may be 30 s.
And S34, after a first preset time corresponding to the timer, if the switching frequency is greater than or equal to a first threshold, controlling the second network to be started on the premise that the first network is started.
After the timer expires (the first preset time corresponding to the timer is over), determining a switching frequency between the antennas, where a calculation manner of the switching frequency is similar to that of S31, and reference may be specifically made to the description of S31, which is herein briefly described and will not be repeated.
And if the acquired switching frequency is still greater than or equal to the first threshold value, controlling the second network to be started on the premise that the first network is started.
For example, the first preset time corresponding to the timer is set to be 30s, after 30s, the switching frequency of the antenna is acquired to be 1.5 s/time, and the 5G network is controlled to be started on the premise that the 4G network is started by the smart phone.
In an alternative of the embodiment of the present invention, in a second preset time, if the number of times of switching between the antennas is greater than or equal to a second threshold, the second network may be controlled to be started on the premise that the first network is started.
The second preset time is any set time, for example, after it is determined that the switching frequency is greater than or equal to the time point corresponding to the first threshold, the switching frequency within a time period (for example, 30s) is still greater than or equal to the first threshold, and the 5G network is controlled to be started on the premise that the smartphone starts the 4G network.
For example, when 2020-09-2420: 16:05, the switching frequency is 2 s/time, and the switching frequency from 2020-09-2420: 16:05 to 2020-09-2420: 16:35 is 1.5 s/time, the 5G network is controlled to be started on the premise that the 4G network is started by the smart phone.
And S35, after the first preset time corresponding to the timer, if the switching frequency is smaller than a first threshold, controlling the second network to keep closing on the premise that the first network is opened.
After the timer expires (the first preset time corresponding to the timer is over), determining a switching frequency between the antennas, where a calculation manner of the switching frequency is similar to that of S31, and reference may be specifically made to the description of S31, which is herein briefly described and will not be repeated.
And if the acquired switching frequency is smaller than a first threshold value, controlling the second network to be kept closed on the premise that the first network is started.
S36, when the first network and the second network are simultaneously started by the smart phone, if the switching frequency is smaller than a first threshold value, determining that the network control policy of the smart phone is to close the second network.
In the first mode, when the smartphone simultaneously starts the first network and the second network, the switching frequency between the antennas of the smartphone is acquired, and if the switching frequency is less than a first threshold (for example, 3 s/time), the network control policy of the smartphone is determined to be to close the second network.
For example, the first network of the smart phone is a 4G network, the second network of the smart phone is a 5G network, and when the smart phone simultaneously turns on the 4G network and the 5G network, if the switching frequency between the antennas of the smart phone is less than 3 s/time, it is determined that the network control policy of the smart phone is to turn off the 5G network and keep the 4G network on state unchanged.
And S37, starting a timer when the network control policy of the smart phone is to close the second network.
If the inter-antenna switching frequency obtained in S36 is less than the first threshold (e.g., 3S/time), it is determined that the network control policy of the smartphone is to turn off the second network when the first network and the second network are simultaneously turned on.
For example, the first network is a 4G network, the second network is a 5G network, and when the 4G network and the 5G network of the smartphone are simultaneously turned on, if the switching frequency between the antennas of the smartphone is less than 3 s/time, it is determined that the network control policy of the smartphone is to turn off the 5G network.
In the first mode, if the smart phone determines to close the second network when the first network and the second network are simultaneously opened, the smart phone sends a start instruction to the timer to control the timer to start.
In the embodiment of the present invention, the duration corresponding to the timer may be set according to an actual situation, for example, the timer is set to correspond to a first preset time, and the first preset time may be 30 s.
And S38, after the first preset time corresponding to the timer, if the switching frequency is smaller than a first threshold value, controlling the second network to be closed.
After the timer expires (the first preset time corresponding to the timer is over), determining a switching frequency between the antennas, where a calculation manner of the switching frequency is similar to that of S31, and reference may be specifically made to the description of S31, which is herein briefly described and will not be repeated.
And if the acquired switching frequency is still smaller than the first threshold value, controlling the second network to be closed on the premise of simultaneously starting the first network and the second network.
For example, the first preset time corresponding to the timer is set to be 30s, after 30s, the switching frequency of the antenna is acquired to be 4 s/time, and the 5G network is controlled to be closed on the premise that the smartphone simultaneously starts the 4G network and the 5G network.
In an alternative of the embodiment of the present invention, in a second preset time, if the number of times of switching between the antennas is smaller than a second threshold, the second network may be controlled to be closed on the premise that the first network and the second network are simultaneously turned on.
The second preset time is any set time, for example, after the moment point corresponding to the switching frequency being smaller than the first threshold is determined at present, the switching frequency within a time period (for example, 30s) is smaller than the first threshold, and the 5G network is controlled to be closed on the premise that the smartphone simultaneously opens the 4G network and the 5G network.
For example, when 2020-09-2420: 16:05 is used, the switching frequency is 2 s/time, and the switching frequency from 2020-09-2420: 16:05 to 2020-09-2420: 16:35 is 4 s/time, the 5G network is controlled to be closed on the premise that the 4G network and the 5G network are simultaneously started by the smart phone.
And S39, after a first preset time corresponding to the timer, if the switching frequency is greater than or equal to a first threshold, controlling the second network to be kept on the premise that the first network is on.
After the timer expires (the first preset time corresponding to the timer is over), determining a switching frequency between the antennas, where a calculation manner of the switching frequency is similar to that of S31, and reference may be specifically made to the description of S31, which is herein briefly described and will not be repeated.
And if the acquired switching frequency is greater than or equal to a first threshold value, controlling the second network to be kept started on the premise that the first network is started.
In an alternative of the embodiment of the present invention, the first network includes but is not limited to a 4G network, the second network includes but is not limited to a 5G network, the first network may also be a 3G network, and the second network may also be a 4G network; alternatively, the first network may also be a 5G network and the second network may also be a 6G network.
The embodiment of the invention relates to a control scheme of a smart phone, which is characterized in that when the smart phone is determined to be in a first mode, the switching frequency between antennas of the smart phone is obtained; determining a network control strategy of the smart phone based on the switching frequency; the network of the smart phone is controlled based on the network control strategy, so that the network of the smart phone can be dynamically adjusted, stable communication of the smart phone is guaranteed under the condition that signals are unstable, the high-power-consumption network is closed when the signals are stable, power consumption is reduced, and user experience is improved.
Fig. 4 is a schematic structural diagram of a terminal control device according to an embodiment of the present invention, which specifically includes:
an obtaining module 401, configured to obtain a switching frequency between antennas of a terminal when it is determined that the terminal is in a first mode;
a determining module 402, configured to determine a network control policy of the terminal based on the handover frequency;
a control module 403, configured to control a network of the terminal based on the network control policy.
In a possible embodiment, the determining module 402 is specifically configured to determine that the network control policy of the terminal is to simultaneously start a second network on the premise of starting a first network if the handover frequency is greater than or equal to a first threshold; and when the terminal simultaneously starts the first network and the second network, if the switching frequency is less than a first threshold value, determining that the network control strategy of the terminal is to close the second network.
In a possible embodiment, the control module 403 is specifically configured to start a timer when the network control policy of the terminal is that a second network is started simultaneously on the premise that a first network is started; after a first preset time corresponding to the timer, if the switching frequency is greater than or equal to a first threshold, controlling the second network to be started on the premise that the first network is started.
In a possible embodiment, the control module 403 is further configured to, within a second preset time, if the number of times of switching between the antennas is greater than or equal to a second threshold, control the second network to be started on the premise that the first network is started.
In a possible implementation manner, the control module 403 is further configured to start a timer when the network control policy of the terminal is to close the second network; and after a first preset time corresponding to the timer, if the switching frequency is less than a first threshold value, controlling the second network to be closed.
In a possible implementation manner, the control module 403 is further configured to control the second network to be closed if the number of times of switching between the antennas is smaller than a second threshold in a second preset time.
In a possible implementation manner, the control module 403 is further configured to control the first network and the second network to be turned on simultaneously when it is determined that the terminal is in the second mode.
The terminal control apparatus provided in this embodiment may be the terminal control apparatus shown in fig. 4, and may perform all the steps of the terminal control method shown in fig. 2 to 3, so as to achieve the technical effects of the terminal control method shown in fig. 2 to 3, and for brevity, please refer to the description related to fig. 2 to 3, which is not described herein again.
Fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention, where the terminal 500 shown in fig. 5 includes: at least one processor 501, memory 502, at least one network interface 504, and other user interfaces 503. The various components in terminal 500 are coupled together by a bus system 505. It is understood that the bus system 505 is used to enable connection communications between these components. The bus system 505 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 505 in FIG. 5.
The user interface 503 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 502 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), synchlronous SDRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 502 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 502 stores elements, executable units or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 5021 and application programs 5022.
The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application 5022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. The program for implementing the method according to the embodiment of the present invention may be included in the application program 5022.
In the embodiment of the present invention, by calling a program or an instruction stored in the memory 502, specifically, a program or an instruction stored in the application 5022, the processor 501 is configured to execute the method steps provided by the method embodiments, for example, including:
when the terminal is determined to be in a first mode, acquiring switching frequency among antennas of the terminal, wherein the antennas comprise a first antenna and a second antenna; determining a network control strategy of the terminal based on the switching frequency; and controlling the network of the terminal based on the network control strategy.
In a possible implementation manner, if the switching frequency is greater than or equal to a first threshold, determining that a network control policy of the terminal is to simultaneously start a second network on the premise of starting a first network; and when the terminal simultaneously starts the first network and the second network, if the switching frequency is less than a first threshold value, determining that the network control strategy of the terminal is to close the second network.
In a possible implementation manner, when the network control policy of the terminal is that a second network is started simultaneously on the premise of starting a first network, a timer is started; after a first preset time corresponding to the timer, if the switching frequency is greater than or equal to a first threshold, controlling the second network to be started on the premise that the first network is started.
In a possible embodiment, within a second preset time, if the number of times of switching between the antennas is greater than or equal to a second threshold, the second network is controlled to be started on the premise that the first network is started.
In a possible embodiment, when the network control policy of the terminal is to close the second network, a timer is started; and after a first preset time corresponding to the timer, if the switching frequency is less than a first threshold value, controlling the second network to be closed.
In a possible embodiment, within a second preset time, if the number of times of switching between the antennas is smaller than a second threshold, the second network is controlled to be closed.
In a possible embodiment, when it is determined that the terminal is in the second mode, the first network and the second network are controlled to be started simultaneously.
The method disclosed by the above-mentioned embodiments of the present invention may be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 501. The Processor 501 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within 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), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The terminal provided in this embodiment may be the terminal shown in fig. 5, and may execute all the steps of the terminal control method shown in fig. 2 to 3, so as to achieve the technical effect of the terminal control method shown in fig. 2 to 3, which is described with reference to fig. 2 to 3 for brevity and will not be described herein again.
The embodiment of the invention also provides a storage medium (computer readable storage medium). The storage medium herein stores one or more programs. Among others, the storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
When one or more programs in the storage medium are executable by one or more processors to implement the above-described terminal control method executed on the terminal side.
The processor is used for executing the terminal control program stored in the memory so as to realize the following steps of the terminal control method executed on the terminal side:
when the terminal is determined to be in a first mode, acquiring switching frequency among antennas of the terminal, wherein the antennas comprise a first antenna and a second antenna; determining a network control strategy of the terminal based on the switching frequency; and controlling the network of the terminal based on the network control strategy.
In a possible implementation manner, if the switching frequency is greater than or equal to a first threshold, determining that a network control policy of the terminal is to simultaneously start a second network on the premise of starting a first network; and when the terminal simultaneously starts the first network and the second network, if the switching frequency is less than a first threshold value, determining that the network control strategy of the terminal is to close the second network.
In a possible implementation manner, when the network control policy of the terminal is that a second network is started simultaneously on the premise of starting a first network, a timer is started; after a first preset time corresponding to the timer, if the switching frequency is greater than or equal to a first threshold, controlling the second network to be started on the premise that the first network is started.
In a possible embodiment, within a second preset time, if the number of times of switching between the antennas is greater than or equal to a second threshold, the second network is controlled to be started on the premise that the first network is started.
In a possible embodiment, when the network control policy of the terminal is to close the second network, a timer is started; and after a first preset time corresponding to the timer, if the switching frequency is less than a first threshold value, controlling the second network to be closed.
In a possible embodiment, within a second preset time, if the number of times of switching between the antennas is smaller than a second threshold, the second network is controlled to be closed.
In a possible embodiment, when it is determined that the terminal is in the second mode, the first network and the second network are controlled to be started simultaneously.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A terminal control method, comprising:
when the terminal is determined to be in a first mode, acquiring switching frequency among antennas of the terminal, wherein the antennas comprise a first antenna and a second antenna;
determining a network control strategy of the terminal based on the switching frequency;
controlling a network of the terminal based on the network control policy;
wherein the determining a network control policy of the terminal based on the handover frequency comprises:
if the switching frequency is greater than or equal to a first threshold value, determining that the network control strategy of the terminal is to simultaneously start a second network on the premise of starting a first network;
and when the terminal simultaneously starts the first network and the second network, if the switching frequency is less than a first threshold value, determining that the network control strategy of the terminal is to close the second network.
2. The method of claim 1, wherein the controlling the network of the terminal based on the network control policy comprises:
starting a timer when the network control strategy of the terminal is that a second network is started simultaneously on the premise of starting a first network;
after a first preset time corresponding to the timer, if the switching frequency is greater than or equal to a first threshold, controlling the second network to be started on the premise that the first network is started.
3. The method of claim 1, wherein the controlling the network of the terminal based on the network control policy comprises:
and in a second preset time, if the switching times among the antennas are larger than or equal to a second threshold value, controlling the second network to be started on the premise that the first network is started.
4. The method of claim 1, wherein the controlling the network of the terminal based on the network control policy comprises:
starting a timer when the network control strategy of the terminal is to close the second network;
and after a first preset time corresponding to the timer, if the switching frequency is less than a first threshold value, controlling the second network to be closed.
5. The method of claim 1, wherein the controlling the network of the terminal based on the network control policy comprises:
and in a second preset time, if the switching times among the antennas are smaller than a second threshold value, controlling the second network to be closed.
6. The method of claim 1, further comprising:
and when the terminal is determined to be in the second mode, controlling the first network and the second network to be started simultaneously.
7. The method of claim 1, wherein the network comprises a first network and a second network, and wherein the first network is a 4G network and the second network is a 5G network.
8. A terminal control apparatus, comprising:
the terminal comprises an acquisition module, a processing module and a control module, wherein the acquisition module is used for acquiring the switching frequency among the antennas of the terminal when the terminal is determined to be in a first mode;
a determining module, configured to determine a network control policy of the terminal based on the handover frequency;
the control module is used for controlling the network of the terminal based on the network control strategy;
wherein the determining a network control policy of the terminal based on the handover frequency comprises:
if the switching frequency is greater than or equal to a first threshold value, determining that the network control strategy of the terminal is to simultaneously start a second network on the premise of starting a first network;
and when the terminal simultaneously starts the first network and the second network, if the switching frequency is less than a first threshold value, determining that the network control strategy of the terminal is to close the second network.
9. A terminal, comprising: a processor and a memory, the processor being configured to execute a terminal control program stored in the memory to implement the terminal control method of any one of claims 1 to 7.
10. A storage medium storing one or more programs executable by one or more processors to implement the terminal control method of any one of claims 1 to 7.
CN202011028562.9A 2020-09-25 2020-09-25 Terminal control method, device, terminal and storage medium Active CN112218314B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011028562.9A CN112218314B (en) 2020-09-25 2020-09-25 Terminal control method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011028562.9A CN112218314B (en) 2020-09-25 2020-09-25 Terminal control method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112218314A CN112218314A (en) 2021-01-12
CN112218314B true CN112218314B (en) 2021-12-14

Family

ID=74052125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011028562.9A Active CN112218314B (en) 2020-09-25 2020-09-25 Terminal control method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112218314B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112888039A (en) * 2021-01-26 2021-06-01 努比亚技术有限公司 Network switching method and device based on mobile terminal and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105119640A (en) * 2015-08-03 2015-12-02 上海华为技术有限公司 Antenna mode switching method and device
CN105703797A (en) * 2014-12-16 2016-06-22 黑莓有限公司 Method and apparatus for antenna selection
CN106374220A (en) * 2015-07-22 2017-02-01 中兴通讯股份有限公司 Receiving signal adjustment method and apparatus of terminal LTE antenna system
CN110099388A (en) * 2019-03-21 2019-08-06 世讯卫星技术有限公司 A kind of satellite mobile communication method with the 5G network integration
CN110278010A (en) * 2019-06-13 2019-09-24 Oppo广东移动通信有限公司 Antenna switching method, antenna-switching device, storage medium and electronic equipment
CN110868231A (en) * 2018-08-10 2020-03-06 华为技术有限公司 Method for managing antenna panel, network equipment and terminal equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554830B (en) * 2015-09-25 2019-06-11 宇龙计算机通信科技(深圳)有限公司 A kind of network mode switch protecting method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105703797A (en) * 2014-12-16 2016-06-22 黑莓有限公司 Method and apparatus for antenna selection
CN106374220A (en) * 2015-07-22 2017-02-01 中兴通讯股份有限公司 Receiving signal adjustment method and apparatus of terminal LTE antenna system
CN105119640A (en) * 2015-08-03 2015-12-02 上海华为技术有限公司 Antenna mode switching method and device
CN110868231A (en) * 2018-08-10 2020-03-06 华为技术有限公司 Method for managing antenna panel, network equipment and terminal equipment
CN110099388A (en) * 2019-03-21 2019-08-06 世讯卫星技术有限公司 A kind of satellite mobile communication method with the 5G network integration
CN110278010A (en) * 2019-06-13 2019-09-24 Oppo广东移动通信有限公司 Antenna switching method, antenna-switching device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN112218314A (en) 2021-01-12

Similar Documents

Publication Publication Date Title
CN110536344B (en) Measurement reporting method, electronic equipment and storage medium
JP4892734B2 (en) Portable electronic device, program
CN110913504B (en) Network connection method, terminal device and storage medium
JP4503357B2 (en) Wireless access point switching method and computer program
US20050054372A1 (en) Mobile communication terminal, method for controlling execution state of application program, application program, and recording medium wherein application program has been recorded
CN105763723A (en) Mobile terminal and system update method
US20180335828A1 (en) Systems and methods for reducing memory power consumption via device-specific customization of ddr interface parameters
US9164780B2 (en) Method and device for an intelligent control of portable electronic devices
CN108055687B (en) Wireless network connection method and device and terminal equipment
CN112218314B (en) Terminal control method, device, terminal and storage medium
CN112135081A (en) Mode control method and device, frame insertion chip and electronic equipment
CN108419278B (en) Channel control method and device
JPWO2008018328A1 (en) Wireless communication terminal, processor for the same, and power management method for wireless communication terminal
CN114828191A (en) Power adjustment method and device and electronic equipment
CN113329465B (en) Network-resident control method, device, equipment and computer storage medium
US11146671B2 (en) Adaptive video interface switching
JP5522145B2 (en) Portable electronic device, program
JP4888312B2 (en) Wireless LAN terminal and wireless control method
US9832592B2 (en) Radio communication device and radio communication method
CN114710804A (en) Data transmission adjusting method and device, electronic equipment and readable storage medium
US20150325247A1 (en) Semiconductor Device, Radio Communication Terminal Using the Same, and Control Method
US8190935B2 (en) Information processing apparatus and method of controlling operating frequency of an information processing apparatus
JP2005354239A (en) Mobile communication system, portable telephone, received power control method used for it, and its program
WO2020228613A1 (en) Reconfiguration message processing method, electronic device and storage medium
US11228673B2 (en) Adaptive interface switching

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