Nothing Special   »   [go: up one dir, main page]

CN108430101B - Antenna closing method and device, storage medium and electronic equipment - Google Patents

Antenna closing method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN108430101B
CN108430101B CN201810179561.0A CN201810179561A CN108430101B CN 108430101 B CN108430101 B CN 108430101B CN 201810179561 A CN201810179561 A CN 201810179561A CN 108430101 B CN108430101 B CN 108430101B
Authority
CN
China
Prior art keywords
antenna
transmission rate
network transmission
signal strength
mobile terminal
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
CN201810179561.0A
Other languages
Chinese (zh)
Other versions
CN108430101A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810179561.0A priority Critical patent/CN108430101B/en
Publication of CN108430101A publication Critical patent/CN108430101A/en
Application granted granted Critical
Publication of CN108430101B publication Critical patent/CN108430101B/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/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
    • H04W52/028Power 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 switching on or off only a part of the equipment circuit blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • 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)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses an antenna closing method, an antenna closing device, a storage medium and electronic equipment; the method comprises the following steps: when the electronic equipment uses the double antennas to receive signals, the current network transmission rate of the electronic equipment is obtained, whether the network transmission rate is smaller than the preset network transmission rate or not is judged, if so, a target antenna is determined from the double antennas, and the receiving of the target antenna is closed, so that the electronic equipment uses the single antenna to receive the signals. According to the method and the device, when the electronic equipment uses the double antennas for signal receiving, the receiving of one antenna is closed, and therefore the power consumption of the electronic equipment is reduced.

Description

Antenna closing method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of electronic devices, and in particular, to a method and an apparatus for turning off an antenna, a storage medium, and an electronic device.
Background
With the development of terminal technology, terminals have begun to change from simply providing telephony devices to a platform for running general-purpose software. The platform no longer aims at providing call management, but provides an operating environment including various application software such as call management, game and entertainment, office events, mobile payment and the like, and with a great deal of popularization, the platform has been deeply developed to the aspects of life and work of people.
The MIMO (Multiple-Input Multiple-Output) technology is to use a plurality of transmitting antennas and receiving antennas at a transmitting end and a receiving end, respectively, so that signals are transmitted and received through the plurality of antennas at the transmitting end and the receiving end, thereby improving communication quality. The multi-antenna multi-transmission multi-reception mobile communication system can fully utilize space resources, realizes multi-transmission and multi-reception through a plurality of antennas, can improve the system channel capacity by times under the condition of not increasing frequency spectrum resources and antenna transmitting power, shows obvious advantages, and is regarded as the core technology of next generation mobile communication. LTE-based terminals typically receive using two antennas to achieve better reception performance or faster data throughput. But this results in more power consumption.
Disclosure of Invention
The embodiment of the application provides an antenna closing method, an antenna closing device, a storage medium and electronic equipment, which can close the receiving of one antenna when the electronic equipment uses double antennas for signal receiving so as to reduce the power consumption of the electronic equipment.
In a first aspect, an embodiment of the present application provides an antenna shutdown method, including:
when electronic equipment receives signals by using double antennas, acquiring the current network transmission rate of the electronic equipment;
judging whether the network transmission rate is smaller than a preset network transmission rate or not;
if so, determining a target antenna from the double antennas;
and turning off the reception of the target antenna so that the electronic equipment receives signals by using a single antenna.
In a second aspect, an embodiment of the present application further provides an antenna shutdown device, including: the device comprises a first acquisition module, a judgment module, a determination module and a closing module;
the first obtaining module is configured to obtain a current network transmission rate of the electronic device when the electronic device receives a signal using a dual antenna;
the judging module is used for judging whether the network transmission rate is smaller than a preset network transmission rate or not;
the first determining module is configured to determine a target antenna from the dual antennas when the determining module determines that the antenna is a target antenna;
the closing module is configured to close the reception of the target antenna, so that the electronic device receives a signal using a single antenna.
In a third aspect, an embodiment of the present application further provides a storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of the above-mentioned antenna turning-off method.
In a fourth aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the antenna turning-off method when executing the program.
The antenna closing method provided by the embodiment of the application includes the steps that when the electronic equipment receives signals by using double antennas, the current network transmission rate of the electronic equipment is obtained, whether the network transmission rate is smaller than the preset network transmission rate is judged, if yes, a target antenna is determined from the double antennas, and the receiving of the target antenna is closed, so that the electronic equipment receives the signals by using a single antenna. According to the method and the device, when the electronic equipment uses the double antennas for signal receiving, the receiving of one antenna is closed, and therefore the power consumption of the electronic equipment is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of an antenna shutdown method according to an embodiment of the present disclosure.
Fig. 2 is another schematic flow chart of an antenna turning-off method according to an embodiment of the present disclosure.
Fig. 3 is a schematic view of a background management page according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of an antenna closing apparatus according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of an antenna closing apparatus according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an antenna closing apparatus according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 8 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
In the description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the application have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, and it will be recognized by those of ordinary skill in the art that various of the steps and operations described below may be implemented in hardware.
The principles of the present application may be employed in numerous other general-purpose or special-purpose computing, communication environments or configurations. Examples of well known computing systems, environments, and configurations that may be suitable for use with the application include, but are not limited to, hand-held telephones, personal computers, servers, multiprocessor systems, microcomputer-based systems, mainframe-based computers, and distributed computing environments that include any of the above systems or devices.
The details will be described below separately.
The present embodiment will be described in terms of an antenna closing apparatus, which may be specifically integrated in an electronic device, where the electronic device may be a network-enabled electronic device such as a mobile interconnection network device (e.g., a smart phone, a tablet computer).
Referring first to fig. 1, fig. 1 is a schematic flowchart of an antenna turn-off method according to an embodiment of the present application, including the following steps:
step S101, when the electronic device uses the dual antenna to receive signals, the current network transmission rate of the electronic device is obtained.
In an embodiment of the present invention, the electronic device is an electronic device including at least two antennas, for example, an electronic device that may be designed for two antennas, and in other embodiments, the electronic device may also be an electronic device including three antennas or four antennas or even more, and is not further limited herein.
The electronic equipment provided in the embodiment of the application can receive signals by using a multi-input multi-output technology, a transmitting terminal maps data signals to be transmitted to a plurality of antennas through space-time mapping and transmits the data signals, a receiving terminal performs space-time decoding on the signals received by the antennas so as to recover the data signals transmitted by the transmitting terminal, and the principle is the same when the signals are received. Therefore, before the antenna turning-off method provided by the embodiment of the present application is executed, it may also be determined whether the electronic device is currently using dual antennas for signal reception, and if the electronic device is currently only using a single antenna for signal reception, the step of obtaining the current network transmission rate of the electronic device does not need to be executed.
In this embodiment, the network transmission rate refers to a rate at which an electronic device connected to a network transmits data on a digital channel, where there are various ways to obtain the current network transmission rate of the electronic device, for example, a receiving end may obtain the current network transmission rate through the network. Specifically, when the receiving end receives data sent by the server, the receiving end may send request information for acquiring the current network transmission rate to the server through the network, and receive the current network transmission rate sent by the server.
In other embodiments, the receiving end may also calculate the current network transmission rate according to the size and the transmission time of the data packet by receiving the data packet sent by the server. For example, the receiving end may receive a data packet (e.g., a piece of video or a piece of music) sent by the server, record the time for receiving the data packet, and divide the data size and the time to obtain the current network transmission rate. For example, the time taken for the receiving end to receive a megabits of data sent by the server is t1 seconds, and the current network transmission rate is (a/t1) megabits/second.
It will be appreciated that the receiving end may determine the current network transmission rate based on the average rate at which packets are received over a period of time. For example, if the receiving end receives a data packet with size a first within 10 seconds, the used receiving time is 2 seconds, and receives a data packet with size b after 3 seconds, and the used time is 5 seconds, the average rate of receiving the data packet by the receiving end is [ (a + b)/10] mega/second within the period of 10 seconds, and the receiving end can determine the average rate as its current network transmission rate.
Step S102, determining whether the network transmission rate is less than a preset network transmission rate, if so, executing step S103, otherwise, ending the current process.
After the current network transmission rate of the electronic equipment is obtained, the current network transmission rate is compared with a preset network transmission rate, wherein the preset network transmission rate can be preset for the electronic equipment, and can also be set in real time according to the signal intensity of an antenna in the electronic equipment. It can be understood that, when the signal strength of the antenna in the electronic device is high, that is, the current network condition is good, the network transmission rate allowed by the antenna is high; when the Signal Strength of the antenna in the electronic device is weak, the current network condition is poor, and at this time, the network transmission rate allowed by the antenna is low, so before comparing the network transmission rate with the preset network transmission rate, a Received Signal Strength Indication (RSSI for short) of a dual antenna in the electronic device can be obtained, and the preset network transmission rate is set according to the RSSI, wherein the higher the RSSI value is, the larger the preset network transmission rate value can be set, and otherwise, the lower the RSSI value is, the smaller the preset network transmission rate value can be set.
After the preset network transmission rate value is obtained, whether the network transmission rate is smaller than the preset network transmission rate is further judged, if so, it is determined that the electronic equipment only needs to receive signals by using a single antenna currently, and then step S103 is executed, if not, it is indicated that the single antenna receiving cannot meet the network throughput of the current electronic equipment, and the current flow is ended.
Step S103, a target antenna is determined from the dual antennas.
In practical use, because the target antenna can be turned off to receive the signal, the electronic device can only use a single antenna to receive the signal, so that the antenna with better receiving performance can be used as the receiving antenna, and the antenna with poorer receiving performance can be turned off.
In one embodiment, the method for determining the target antenna from the dual antennas may be various, such as separately obtaining the signal strength of each antenna currently receiving the signal in the dual antennas, and then comparing the signal strength values of the two antennas. Since the signal quality received by an antenna having a high signal strength is better than that received by an antenna having a low signal strength, an antenna having a low signal strength value can be used as the target antenna.
In other embodiments, the target antenna may also be determined according to the transmission power of each antenna in the dual antennas, for example, the transmission power when each antenna in the dual antennas transmits signals is respectively obtained, and then the transmission powers of the two antennas are compared, and the antenna with the smaller transmission power is taken as the target antenna.
And step S104, closing the receiving of the target antenna so that the electronic equipment receives signals by using the single antenna.
It should be noted that, in the embodiment of the present application, the number of antennas in the electronic device is not limited, and the electronic device may be a dual antenna or a multi-antenna, and is not limited to turn off the number of target antennas, and in a different antenna system, such as a four-antenna multi-antenna system, two or three of the target antennas may also be turned off, so as to reduce the power consumption of the terminal. In specific use, whether to turn off the target antenna may be determined according to the use requirement of the operator, for example, in a dual-antenna system, when the transmission quality of the system is low, if the operator has strict requirement on data transmission and needs to ensure high-quality transmission, the operator may choose not to turn off the target antenna, and if the operator has loose requirement on data transmission, the operator may choose to turn off the target antenna.
In this embodiment of the present invention, the electronic device may be any device capable of performing LTE communication, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
As can be seen from the above, in the embodiment of the application, when the electronic device uses the dual antennas to receive a signal, the current network transmission rate of the electronic device is obtained, whether the network transmission rate is smaller than the preset network transmission rate is determined, if so, the target antenna is determined from the dual antennas, and the reception of the target antenna is turned off, so that the electronic device uses the single antenna to receive the signal. According to the embodiment of the application, when the electronic equipment uses the double antennas to receive signals, the receiving of one antenna is closed, so that the power consumption of the electronic equipment is reduced.
The antenna turn-off method of the present application will be further explained below according to the description of the previous embodiment.
Referring to fig. 2, fig. 2 is a schematic flowchart of another antenna turning-off method according to an embodiment of the present application, where an electronic device with dual antennas is taken as an example, the method includes the following steps:
step S201, when the electronic device uses the dual antenna for signal reception, determining an application set currently using a network in the electronic device.
In an embodiment, before the antenna shutdown method provided in this embodiment of the present application is executed, it may also be determined whether the electronic device is currently using dual antennas for signal reception, and if the electronic device is currently using only a single antenna for signal reception, it is not necessary to execute the step of determining an application set currently using a network in the electronic device.
In an embodiment, there may be multiple methods for determining the set of applications currently using the network in the electronic device, for example, all background applications currently running in the terminal may be obtained first, and then the set of applications currently using the network is further determined among the background applications currently running. The currently running background application program can be obtained by opening a background management page of the electronic device, and the application program set may include one or more application programs. For example, referring to fig. 3, fig. 3 is a schematic diagram of a background management page provided in the embodiment of the present application. The background management page respectively comprises a background application program A, a background application program B, a background application program C, a background application program D, a background application program E and the like. The above manner for opening the background management page of the electronic device may be various, such as by a gesture, clicking a key, performing voice control, and the like, and is not further limited herein.
Further, the set of applications that are currently using the network is further determined among the currently running applications, and the current networking state of the currently running applications may be respectively determined, and if the currently running applications are networked, the currently running applications are determined to be the applications that are currently using the network, and if the currently running applications are not networked, the currently running applications are determined not to be the applications that are currently using the network.
Step S202, respectively obtaining the network transmission rate of each application program in the application program set.
In an embodiment, the network transmission rate of each application program is obtained, and specifically, the current network transmission rate may be calculated according to the size and the transmission time of the data packet by receiving the data packet sent by the server corresponding to the application program. For example, the receiving end may receive a data packet (e.g., a piece of video or a piece of music) sent by the server, record the time for receiving the data packet, and divide the data size and the time to obtain the current network transmission rate. For example, the time taken for the receiving end to receive a megabits of data sent by the server is t1 seconds, and the current network transmission rate is (a/t1) megabits/second.
Step S203, calculating the current network transmission rate of the electronic device according to the network transmission rate of each application program.
In an embodiment, the network transmission rate of each application in the application set is added to obtain the current network transmission rate of the electronic device.
Step S204, determining whether the network transmission rate is less than a preset network transmission rate, if so, performing step S205, otherwise, performing the ending process.
After the current network transmission rate of the electronic equipment is obtained, the current network transmission rate is compared with a preset network transmission rate, wherein the preset network transmission rate can be preset for the electronic equipment, and can also be set in real time according to the signal intensity of an antenna in the electronic equipment. It can be understood that, when the signal strength of the antenna in the electronic device is high, that is, the current network condition is good, the network transmission rate allowed by the antenna is high; when the signal strength of the antenna in the electronic device is weak, the current network condition is poor, and the network transmission rate allowed by the antenna is low.
Therefore, in an embodiment, before the step of determining whether the network transmission rate is smaller than the preset rate, the method may further include:
respectively acquiring the signal strength of each antenna in the double antennas when the antenna receives signals currently;
and determining the preset network transmission rate according to the signal strength.
Step S205, respectively obtaining the error rate of each antenna in the dual antennas when currently receiving the signal.
And step S206, comparing the error rates of each antenna when receiving signals currently, and determining the antenna with high error rate as a target antenna.
In one embodiment, the error rate (SER) is an indicator that measures the accuracy of data transmission within a specified time. Error rate is 100% of the errors in transmission/total number of codes transmitted. And if the error code exists, the error rate is obtained. In addition, the error rate is also defined as a measure of the frequency of occurrence of errors. Therefore, the antenna with high error rate is used as the target antenna and is closed, and the accuracy of closing the antenna can be further improved.
In an embodiment, since the signal quality received by the antenna with high signal strength is better than the signal quality received by the antenna with low signal strength, the signal strength of each antenna when currently receiving signals can be compared to determine that the antenna with low signal strength is the target antenna.
Step S207, turning off the reception of the target antenna, so that the electronic device uses a single antenna for signal reception.
In specific use, whether to turn off the target antenna may be determined according to the use requirement of the operator, for example, in a dual-antenna system, when the transmission quality of the system is low, if the operator has strict requirement on data transmission and needs to ensure high-quality transmission, the operator may choose not to turn off the target antenna, and if the operator has loose requirement on data transmission, the operator may choose to turn off the target antenna.
In this embodiment of the present invention, the electronic device may be any device capable of performing LTE communication, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
As can be seen from the above, in the embodiment of the present application, when the electronic device uses the dual antennas to receive signals, the application program set currently using the network in the electronic device is determined, the network transmission rate of each application program in the application program set is respectively obtained, the current network transmission rate of the electronic device is calculated according to the network transmission rate of each application program, whether the network transmission rate is smaller than the preset network transmission rate is determined, if yes, the error rate when each antenna in the dual antennas receives signals currently is respectively obtained, and the reception of the target antenna is turned off, so that the electronic device uses the single antenna to receive signals. According to the embodiment of the application, when the electronic equipment uses the double antennas to receive signals, the receiving of one antenna is closed, so that the power consumption of the electronic equipment is reduced.
In order to better implement the antenna closing method provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the antenna closing method. The terms are the same as those in the above-mentioned antenna turning-off method, and details of implementation may refer to the description in the method embodiment.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an antenna closing device according to an embodiment of the present application, where the antenna closing device 30 includes: a first obtaining module 301, a judging module 302, a first determining module 303 and a closing module 304;
a first obtaining module 301, configured to obtain a current network transmission rate of an electronic device when the electronic device uses a dual antenna to receive a signal;
a determining module 302, configured to determine whether a network transmission rate is less than a preset network transmission rate;
a first determining module 303, configured to determine a target antenna from the dual antennas when the determining module 302 determines yes;
and a closing module 304, configured to close the reception of the target antenna, so that the electronic device uses a single antenna for signal reception.
In one embodiment, as shown in fig. 5, the first obtaining module 301 may include: a determination sub-module 3011, a rate acquisition sub-module 3012, and a calculation sub-module 3013;
a determining sub-module 3011, configured to determine a set of applications currently using a network in the electronic device;
a rate obtaining sub-module 3012, configured to obtain a network transmission rate of each application in the application set respectively;
the calculating submodule 3013 is configured to calculate a current network transmission rate of the electronic device according to the network transmission rate of each application.
In an embodiment, the first determining module 303 may include: an error rate obtaining submodule 3031 and a comparison submodule 3032;
an error rate obtaining submodule 3031, configured to respectively obtain an error rate when each antenna in the dual antennas receives a signal currently;
the comparing submodule 3032 is configured to compare the error rate of each antenna when receiving a signal currently, so as to determine that an antenna with a high error rate is a target antenna.
In an embodiment, as shown in fig. 6, the antenna closing apparatus 30 may further include: a second obtaining module 305 and a second determining module 306;
a second obtaining module 305, configured to obtain signal strength of each antenna in the dual antennas when receiving signals currently before the determining module 302 determines whether the network transmission rate is smaller than the preset rate;
a second determining module 306, configured to determine a preset network transmission rate according to the signal strength.
As can be seen from the above, the antenna shutdown apparatus 30 provided in this embodiment of the present application can obtain the current network transmission rate of the electronic device when the electronic device uses the dual antennas to perform signal reception, determine whether the network transmission rate is smaller than the preset network transmission rate, determine the target antenna from the dual antennas if the network transmission rate is smaller than the preset network transmission rate, and shut down the reception of the target antenna, so that the electronic device uses the single antenna to perform signal reception. According to the method and the device, when the electronic equipment uses the double antennas for signal receiving, the receiving of one antenna is closed, and therefore the power consumption of the electronic equipment is reduced.
The present application further provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the antenna shutdown method provided by the method embodiments.
The present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the antenna shutdown method provided in the method embodiments.
In another embodiment of the present application, an electronic device is also provided, and the electronic device may be a smart phone, a tablet computer, or the like. As shown in fig. 7, the electronic device 400 includes a processor 401, a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or loading an application program stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the electronic device.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions:
when electronic equipment receives signals by using double antennas, acquiring the current network transmission rate of the electronic equipment;
judging whether the network transmission rate is smaller than a preset network transmission rate or not;
if so, determining a target antenna from the double antennas;
and turning off the reception of the target antenna so that the electronic equipment receives signals by using a single antenna.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 500 may include Radio Frequency (RF) circuitry 501, memory 502 including one or more computer-readable storage media, input unit 503, display unit 504, sensor 504, audio circuitry 506, Wireless Fidelity (WiFi) module 507, processor 508 including one or more processing cores, and power supply 509. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The rf circuit 501 may be used for receiving and transmitting information, or receiving and transmitting signals during a call, and in particular, receives downlink information of a base station and then sends the received downlink information to one or more processors 508 for processing; in addition, data relating to uplink is transmitted to the base station. In general, radio frequency circuit 501 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the radio frequency circuit 501 may also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 502 may be used to store applications and data. Memory 502 stores applications containing executable code. The application programs may constitute various functional modules. The processor 508 executes various functional applications and data processing by executing application programs stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 508 and the input unit 503 access to the memory 502.
The input unit 503 may be used to receive input numbers, character information, or user characteristic information (such as a fingerprint), and generate a keyboard, mouse, joystick, optical, or trackball signal input related to user setting and function control. In particular, in one particular embodiment, the input unit 503 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 508, and can receive and execute commands sent by the processor 508.
The display unit 504 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The display unit 504 may include a display panel. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 508 to determine the type of touch event, and then the processor 508 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 8 the touch sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement input and output functions.
The electronic device may also include at least one sensor 505, such as light sensors, motion sensors, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the electronic device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured to the electronic device, detailed descriptions thereof are omitted.
The audio circuit 506 may provide an audio interface between the user and the electronic device through a speaker, microphone. The audio circuit 506 can convert the received audio data into an electrical signal, transmit the electrical signal to a speaker, and convert the electrical signal into a sound signal to output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 506 and converted into audio data, which is then processed by the audio data output processor 508 and then sent to another electronic device via the rf circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may also include an earbud jack to provide communication of a peripheral headset with the electronic device.
Wireless fidelity (WiFi) belongs to short-distance wireless transmission technology, and electronic equipment can help users to send and receive e-mails, browse webpages, access streaming media and the like through a wireless fidelity module 507, and provides wireless broadband internet access for users. Although fig. 8 shows the wireless fidelity module 507, it is understood that it does not belong to the essential constitution of the electronic device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 508 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 502 and calling data stored in the memory 502, thereby integrally monitoring the electronic device. Optionally, processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508.
The electronic device also includes a power supply 509 (such as a battery) to power the various components. Preferably, the power source may be logically connected to the processor 508 through a power management system, so that the power management system may manage charging, discharging, and power consumption management functions. The power supply 509 may also include any component such as one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 8, the electronic device may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It should be noted that, as one of ordinary skill in the art would understand, all or part of the steps in the methods of the above embodiments may be implemented by instructions of associated hardware through a program, where the program may be stored in a computer-readable storage medium, such as a memory of a terminal, and executed by at least one processor in the terminal, and during the execution, the flow of the embodiments, such as the antenna-off method, may be included. Among others, the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
In the above, detailed descriptions are given to the antenna turn-off method, the antenna turn-off device, the storage medium, and the electronic device, where each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules may be integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (8)

1. An antenna closing method is applied to a mobile terminal and is characterized by comprising the following steps:
when the mobile terminal uses double antennas to receive signals, the current network transmission rate of the mobile terminal is obtained;
judging whether the network transmission rate is smaller than a preset network transmission rate or not, wherein a received signal strength indication of a double antenna in the mobile terminal is obtained, the preset network transmission rate is set in real time according to the received signal strength indication, the larger the value of the received signal strength indication is, the larger the preset network transmission rate value is, and the smaller the value of the received signal strength indication is, the smaller the preset network transmission rate value is;
if the signal strength is smaller than the preset signal strength, determining a target antenna from the double antennas, wherein the signal strength of each antenna when receiving signals currently is compared to determine that the antenna with the small signal strength is the target antenna; or
Respectively obtaining the error rate of each antenna in the double antennas when receiving signals currently, and comparing the error rates of each antenna when receiving signals currently to determine that the antenna with high error rate is a target antenna;
and closing the receiving of the target antenna so that the mobile terminal receives signals by using a single antenna.
2. The antenna shutdown method according to claim 1, wherein the step of obtaining the current network transmission rate of the mobile terminal comprises:
determining a set of applications currently using a network in the mobile terminal;
respectively acquiring the network transmission rate of each application program in the application program set;
and calculating the current network transmission rate of the mobile terminal according to the network transmission rate of each application program.
3. The antenna shutdown method according to claim 1, wherein before the step of determining whether the network transmission rate is less than a preset rate, the method comprises:
respectively acquiring the signal strength of each antenna in the double antennas when the antenna receives signals currently;
and determining a preset network transmission rate according to the signal intensity.
4. An antenna closing device applied to a mobile terminal, the device comprising: the device comprises a first acquisition module, a judgment module, a first determination module and a closing module;
the first obtaining module is configured to obtain a current network transmission rate of the mobile terminal when the mobile terminal receives a signal using a dual antenna;
the judging module is configured to judge whether the network transmission rate is less than a preset network transmission rate, where a received signal strength indication of a dual antenna in the mobile terminal is obtained, the preset network transmission rate is set in real time according to the received signal strength indication, when a value of the received signal strength indication is higher, a setting of the preset network transmission rate value is larger, and when the value of the received signal strength indication is lower, the setting of the preset network transmission rate value is smaller;
the first determining module is configured to determine a target antenna from the dual antennas when the determining module determines that the antenna is a target antenna, where signal strength of each antenna when receiving a signal currently is compared to determine that the antenna with a small signal strength is the target antenna; or respectively obtaining the error rate of each antenna in the double antennas when receiving signals currently, and comparing the error rates of each antenna when receiving signals currently to determine that the antenna with high error rate is a target antenna;
and the closing module is used for closing the receiving of the target antenna so as to enable the mobile terminal to use a single antenna to receive signals.
5. The antenna shutdown device of claim 4, wherein the first acquisition module comprises: the device comprises a determining submodule, a rate obtaining submodule and a calculating submodule;
the determining submodule is used for determining an application program set of a network currently used in the mobile terminal;
the rate obtaining submodule is used for respectively obtaining the network transmission rate of each application program in the application program set;
and the calculating submodule is used for calculating the current network transmission rate of the mobile terminal according to the network transmission rate of each application program.
6. The antenna shutdown device of claim 4, further comprising: a second obtaining module and a second determining module;
the second obtaining module is configured to obtain, before the determining module determines whether the network transmission rate is smaller than a preset rate, a signal strength of each antenna in the dual antennas when receiving a signal currently;
and the second determining module is used for determining a preset network transmission rate according to the signal strength.
7. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, performing the steps of the method according to any of the claims 1-3.
8. A mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1-3 are implemented when the processor executes the program.
CN201810179561.0A 2018-03-05 2018-03-05 Antenna closing method and device, storage medium and electronic equipment Active CN108430101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810179561.0A CN108430101B (en) 2018-03-05 2018-03-05 Antenna closing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810179561.0A CN108430101B (en) 2018-03-05 2018-03-05 Antenna closing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108430101A CN108430101A (en) 2018-08-21
CN108430101B true CN108430101B (en) 2021-06-15

Family

ID=63157770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810179561.0A Active CN108430101B (en) 2018-03-05 2018-03-05 Antenna closing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108430101B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966329A (en) * 2018-08-27 2018-12-07 维沃移动通信有限公司 A kind of electricity saving method and mobile terminal
CN109167150B (en) * 2018-08-29 2021-02-26 Oppo广东移动通信有限公司 Electronic device
CN109167854B (en) * 2018-08-29 2021-03-23 Oppo广东移动通信有限公司 Electronic device
CN109327612A (en) * 2018-09-29 2019-02-12 北京小米移动软件有限公司 A kind of multi-antenna control method and device
CN109286057B (en) * 2018-10-22 2022-02-15 Oppo广东移动通信有限公司 Electronic device and antenna control method
CN109640300B (en) * 2018-10-26 2022-12-09 惠州Tcl移动通信有限公司 WiFi antenna configuration method of intelligent terminal, intelligent terminal and storage device
CN111106887A (en) * 2018-10-29 2020-05-05 中国移动通信有限公司研究院 Method and terminal for selecting uplink control channel transmission mode
CN109257809B (en) * 2018-11-22 2022-03-25 维沃移动通信有限公司 Communication path control method and terminal equipment
CN109450508B (en) * 2018-11-26 2022-04-01 维沃移动通信有限公司 Antenna determination method and device and mobile terminal
CN110636595B (en) * 2019-09-27 2022-07-08 Tcl移动通信科技(宁波)有限公司 Method and device for reducing power consumption, storage medium and electronic equipment
CN114222356B (en) * 2019-10-08 2024-04-02 荣耀终端有限公司 Method and device for reducing power consumption of UE
CN110753389A (en) * 2019-10-23 2020-02-04 维沃移动通信有限公司 Network control method and electronic equipment
CN111132289A (en) * 2019-12-27 2020-05-08 珠海市魅族科技有限公司 Antenna power consumption control method applied to mobile terminal and electronic equipment
CN112492671A (en) * 2020-11-12 2021-03-12 珠海格力电器股份有限公司 Control method of mobile terminal antenna, mobile terminal and computer readable medium
CN112867118B (en) * 2021-01-20 2023-04-11 维沃移动通信有限公司 WiFi dual-connection control method and device and electronic equipment
CN112888039A (en) * 2021-01-26 2021-06-01 努比亚技术有限公司 Network switching method and device based on mobile terminal and terminal equipment
CN114466400B (en) * 2022-01-18 2024-03-19 Tcl通讯科技(成都)有限公司 Device control method, device and computer readable storage medium
CN114845364A (en) * 2022-04-26 2022-08-02 Oppo广东移动通信有限公司 Antenna control method, antenna control device, storage medium and electronic equipment
CN115378550B (en) * 2022-08-18 2024-04-30 Oppo广东移动通信有限公司 Signal transmission control method, system and related device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1860822A (en) * 2004-03-12 2006-11-08 松下电器产业株式会社 Wireless communication equipment and wireless communication method
CN101536357A (en) * 2006-03-23 2009-09-16 赛伊公司 Low power very high-data rate device
CN106412987A (en) * 2016-10-10 2017-02-15 上海斐讯数据通信技术有限公司 Wireless router and method for determining antenna working mode thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100265927A1 (en) * 2009-04-21 2010-10-21 Crestcom, Inc. Efficient Allocation of Power to Bandwidth In a Multi-Carrier Cellular Communication System
CN104283595B (en) * 2013-07-08 2017-09-05 中国移动通信集团公司 A kind of control method, device and the circuit of diversity mode switching
US9408005B2 (en) * 2013-11-11 2016-08-02 Gn Resound A/S Hearing aid with adaptive antenna system
CN106954225B (en) * 2017-05-25 2019-12-17 普联技术有限公司 wireless roaming method and device and wireless equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1860822A (en) * 2004-03-12 2006-11-08 松下电器产业株式会社 Wireless communication equipment and wireless communication method
CN101536357A (en) * 2006-03-23 2009-09-16 赛伊公司 Low power very high-data rate device
CN106412987A (en) * 2016-10-10 2017-02-15 上海斐讯数据通信技术有限公司 Wireless router and method for determining antenna working mode thereof

Also Published As

Publication number Publication date
CN108430101A (en) 2018-08-21

Similar Documents

Publication Publication Date Title
CN108430101B (en) Antenna closing method and device, storage medium and electronic equipment
CN107277912B (en) Radio frequency interference processing method, device, storage medium and terminal
CN107231159B (en) Radio frequency interference processing method, device, storage medium and terminal
CN107172671B (en) Channel switching method, device, storage medium and terminal
CN106911848B (en) Method for outputting prompt message and terminal equipment
CN108418969B (en) Antenna feed point switching method and device, storage medium and electronic equipment
CN108370540A (en) Communication equipment and the method, apparatus for reducing communication equipment power consumption
US20200241925A1 (en) Method for automatically releasing resource occupied by process in background of terminal, storage medium, and terminal
US20200373948A1 (en) Antenna of mobile terminal and switching method thereof and the mobile terminal
CN107734618B (en) Application program closing method and device, storage medium and electronic equipment
CN106936516B (en) Display screen display state control method, storage medium and terminal
CN112749074B (en) Test case recommending method and device
CN107622234B (en) Method and device for displaying budding face gift
CN111953389A (en) Antenna tuning method, antenna tuning device, storage medium and electronic terminal
CN112492554A (en) Data transmission method, device, storage medium and terminal
CN111885591A (en) Network connection method, device, storage medium and terminal
CN112261634B (en) Bluetooth transmission control method and device, terminal equipment and storage medium
CN110890950A (en) Signal processing method, access network equipment and terminal equipment
CN115118636A (en) Method and device for determining network jitter state, electronic equipment and storage medium
US11259222B2 (en) Mobile terminal and method and system for switching and controlling call link of mobile terminal
CN107315623B (en) Method and device for reporting statistical data
CN117544211B (en) UWB multi-antenna based data transmission method, device, terminal and storage medium
CN111031588B (en) Network searching method, device, terminal equipment and storage medium
CN112291043B (en) Data transmission method, device and storage medium
CN111405649B (en) Information transmission method and device and mobile terminal

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant