CN108540194B - Antenna control method, antenna control device, storage medium and electronic equipment - Google Patents

Antenna control method, antenna control device, storage medium and electronic equipment Download PDF

Info

Publication number
CN108540194B
CN108540194B CN201810172752.4A CN201810172752A CN108540194B CN 108540194 B CN108540194 B CN 108540194B CN 201810172752 A CN201810172752 A CN 201810172752A CN 108540194 B CN108540194 B CN 108540194B
Authority
CN
China
Prior art keywords
electronic equipment
electric quantity
time information
electronic device
antenna
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
CN201810172752.4A
Other languages
Chinese (zh)
Other versions
CN108540194A (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 CN201810172752.4A priority Critical patent/CN108540194B/en
Publication of CN108540194A publication Critical patent/CN108540194A/en
Application granted granted Critical
Publication of CN108540194B publication Critical patent/CN108540194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • H04B7/0802Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
    • H04B7/0825Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection with main and with auxiliary or diversity antennas
    • 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
    • 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

Abstract

The embodiment of the application provides an antenna control method, an antenna control device, a storage medium and electronic equipment, wherein the antenna control method comprises the following steps: when an antenna of the electronic equipment is in a high-order diversity receiving state, acquiring current time information; determining the next charging time of the electronic equipment according to the current time information and the electric quantity change model; judging whether the electronic equipment can stand by to the charging time according to the electric quantity and the standby power of the electronic equipment; if not, controlling the antenna to exit the high-order diversity receiving state. In the antenna control method, when the antenna of the electronic equipment is in a high-order diversity reception state and the electronic equipment cannot stand by to a charging time, the antenna is controlled to exit the high-order diversity reception state, so that the power consumption of the electronic equipment can be reduced, and the cruising ability of the electronic equipment is improved.

Description

Antenna control method, antenna control device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to an antenna control method and apparatus, a storage medium, and an electronic device.
Background
With the development of network technology and the improvement of the intelligent degree of electronic equipment, users can realize more and more functions such as conversation, chatting, game playing and the like through the electronic equipment.
The user realizes signal transmission through the antenna of the electronic equipment in the conversation and chat processes of the electronic equipment. However, in the using process, in order to improve the antenna throughput, the antenna is generally controlled to be in a high-order diversity receiving state all the time. Under the condition that some antennas are not required to be in a high-order diversity receiving state, the high-order diversity receiving state is still maintained, power consumption is increased, and endurance of the electronic equipment is reduced.
Disclosure of Invention
The embodiment of the application provides an antenna control method, an antenna control device, a storage medium and electronic equipment, which can reduce the power consumption of the electronic equipment and improve the cruising ability of the electronic equipment.
The embodiment of the application provides an antenna control method, which comprises the following steps:
when an antenna of the electronic equipment is in a high-order diversity receiving state, acquiring current time information;
determining the next charging time of the electronic equipment according to the current time information and an electric quantity change model, wherein the electric quantity change model comprises the corresponding relation between the electric quantity of the electronic equipment and the time;
judging whether the electronic equipment can stand by to the charging time according to the electric quantity and the standby power of the electronic equipment;
if not, controlling the antenna to exit the high-order diversity receiving state.
An embodiment of the present application further provides an antenna control apparatus, including:
the first acquisition module is used for acquiring current time information when an antenna of the electronic equipment is in a high-order diversity reception state;
the determining module is used for determining the next charging time of the electronic equipment according to the current time information and an electric quantity change model, wherein the electric quantity change model comprises the corresponding relation between the electric quantity of the electronic equipment and the time;
the judging module is used for judging whether the electronic equipment can stand by to the charging time according to the electric quantity and the standby power of the electronic equipment;
and the control module is used for controlling the antenna to exit the high-order diversity receiving state if the judgment module judges that the antenna is not in the high-order diversity receiving state.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is caused to execute the above antenna control method.
The embodiment of the application also provides an electronic device, which comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used for executing the antenna control method by calling the computer program stored in the memory.
The antenna control method provided by the embodiment of the application comprises the following steps: when an antenna of the electronic equipment is in a high-order diversity receiving state, acquiring current time information; determining the next charging time of the electronic equipment according to the current time information and the electric quantity change model; judging whether the electronic equipment can stand by to the charging time according to the electric quantity and the standby power of the electronic equipment; if not, controlling the antenna to exit the high-order diversity receiving state. In the antenna control method, when the antenna of the electronic equipment is in a high-order diversity reception state and the electronic equipment cannot stand by to a charging time, the antenna is controlled to exit the high-order diversity reception state, so that the power consumption of the electronic equipment can be reduced, and the cruising ability of the electronic equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 3 is a flowchart illustrating an antenna control method according to an embodiment of the present application.
Fig. 4 is another flowchart of an antenna control method according to an embodiment of the present application.
Fig. 5 is a schematic flowchart of an antenna control method according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an antenna control device according to an embodiment of the present application.
Fig. 7 is another schematic structural diagram of an antenna control apparatus according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of an antenna control apparatus according to an embodiment of the present application.
Fig. 9 is a schematic view of another structure of an antenna control device according to an embodiment of the present application.
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
The terms "first," "second," "third," and the like in the description and in the claims of the present application and in the above-described drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the objects so described are interchangeable under appropriate circumstances. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, or apparatus, electronic device, system comprising a list of steps is not necessarily limited to those steps or modules or units explicitly listed, may include steps or modules or units not explicitly listed, and may include other steps or modules or units inherent to such process, method, apparatus, electronic device, or system.
The embodiment of the application provides electronic equipment. The electronic device can be a smart phone, a tablet computer and the like. In some embodiments, referring to fig. 1, the electronic device 100 includes a display screen 10, a middle frame 20, a circuit board 30, a battery 40, and a rear cover 50.
Wherein the display screen 10 is mounted on the rear cover 50 to form a display surface of the electronic device 100. The display screen 10 serves as a front housing of the electronic device 100, and forms an accommodating space with the rear cover 50 for accommodating other electronic components or functional modules of the electronic device 100. Meanwhile, the display screen 10 forms a display surface of the electronic apparatus 100 for displaying information such as images, texts, and the like. The Display screen 10 may be a Liquid Crystal Display (LCD) or an Organic Light-Emitting Diode (OLED) Display screen.
In some embodiments, a glass cover plate may be disposed over the display screen 10. Wherein, the glass cover plate can cover the display screen 10 to protect the display screen 10 and prevent the display screen 10 from being scratched or damaged by water.
In some embodiments, as shown in FIG. 1, the display screen 10 may include a display area 11 and a non-display area 12. The display area 11 performs a display function of the display screen 10 for displaying information such as images and texts. The non-display area 12 does not display information. The non-display area 12 may be used to set functional modules such as a camera, a receiver, a proximity sensor, and the like. In some embodiments, the non-display area 12 may include at least one area located at upper and lower portions of the display area 11.
In some embodiments, as shown in FIG. 2, the display screen 10 may be a full-face screen. At this time, the display screen 10 may display information in a full screen, so that the electronic apparatus 100 has a large screen occupation ratio. The display screen 10 comprises only the display area 11 and no non-display area. At this time, functional modules such as a camera and a proximity sensor in the electronic apparatus 100 may be hidden under the display screen 10, and the fingerprint identification module of the electronic apparatus 100 may be disposed on the back of the electronic apparatus 100.
The middle frame 20 may have a thin plate-like or sheet-like structure, or may have a hollow frame structure. The middle frame 20 can be accommodated in the accommodating space formed by the display screen 10 and the rear cover 50. The middle frame 20 is used for providing a supporting function for the electronic components or the functional modules in the electronic device 100, so as to mount the electronic components or the functional modules in the electronic device together. For example, functional modules such as a camera, a receiver, a circuit board, and a battery in the electronic apparatus may be mounted on the center frame 20 for fixing. In some embodiments, the material of the middle frame 20 may include metal or plastic.
The circuit board 30 is mounted inside the receiving space. For example, the circuit board 30 may be mounted on the middle frame 20 and received in the receiving space together with the middle frame 20. The circuit board 30 may be a motherboard of the electronic device 100. The circuit board 30 is provided with a grounding point to realize grounding of the circuit board 30. One or more of a motor, a microphone, a speaker, a receiver, an earphone interface, a universal serial bus interface (USB interface), a camera, a proximity sensor, an ambient light sensor, a gyroscope, and a processor may be integrated on the circuit board 30. Meanwhile, the display screen 10 may be electrically connected to the circuit board 30.
In some embodiments, display control circuitry is disposed on the circuit board 30. The display control circuit outputs an electrical signal to the display screen 10 to control the display screen 10 to display information.
The battery 40 is mounted inside the receiving space. For example, the battery 40 may be mounted on the middle frame 20 and be received in the receiving space together with the middle frame 20. The battery 40 may be electrically connected to the circuit board 30 to enable the battery 40 to power the electronic device 100. The circuit board 30 may be provided thereon with a power management circuit. The power management circuit is used to distribute the voltage provided by the battery 40 to the various electronic components in the electronic device 100.
The rear cover 50 is used to form an outer contour of the electronic device 100. The rear cover 50 may be integrally formed. In the forming process of the rear cover 50, a rear camera hole, a fingerprint identification module mounting hole and the like can be formed in the rear cover 50.
In this embodiment, the electronic device 100 further includes a plurality of antennas. Wherein, the plurality of antennas can be two, three or more antennas. The plurality of antennas are arranged at intervals. For example, referring to fig. 2, the electronic device 100 includes four antennas: antenna 61, antenna 62, antenna 63, and antenna 64. The antenna 61, the antenna 62, the antenna 63, and the antenna 64 are electrically connected to the circuit board 30 in the electronic device 100, respectively. The antennas 61, 62, 63, 64 may be disposed on the middle frame 20 or on the rear cover 50. The antennas 61, 62, 63 and 64 are arranged at intervals. For example, the antennas 61, 62, 63, and 64 may be disposed at the top left corner, the top right corner, the bottom left corner, and the bottom right corner of the electronic device 100, respectively.
Wherein the antennas 61, 62, 63, 64 are used for transmitting and/or receiving signals. For example, the antennas 61, 62, 63, 64 may be used for transmitting and/or receiving radio frequency signals. It should be noted that the antennas 61, 62, 63, and 64 may all perform transmission and reception of signals separately.
In the process of the electronic device 100 communicating with the base station or other electronic devices, one of the antennas 61, 62, 63, and 64 serves as a main set antenna, and one or more antennas serve as diversity antennas. Wherein the main set antennas perform transmission and reception of signals simultaneously, and the diversity antennas receive only signals without transmitting signals.
In some embodiments, when the number of Diversity antennas in electronic device 100 is 4, electronic device 100 is in a high Order Diversity reception (HORxD) state. At this time, one antenna (main set antenna) in the electronic apparatus 100 performs transmission and reception of signals, and four antennas (diversity antennas) simultaneously perform reception of signals.
In the high-order diversity reception state, since the electronic device has four antennas to simultaneously receive signals, the electronic device has good received signal quality, and the data throughput during signal reception is high, but the standby power of the electronic device is also high.
The embodiment of the present application provides an antenna control method, which can be applied to the electronic device 100. As shown in fig. 3, the antenna control method may include the following steps:
and 110, when the antenna of the electronic equipment is in a high-order diversity receiving state, acquiring current time information.
The electronic device may monitor the status of the antennas in real time, i.e., the number of diversity antennas in real time. When the number of diversity antennas is 4, it indicates that the antennas of the electronic device are in a high-order diversity reception state. At this time, the electronic device acquires current time information. The time information includes the current month, date, current time and the current day of the week. For example, the time information acquired by the electronic device may be: 26 months, 9 am, monday.
And 120, determining the next charging time of the electronic equipment according to the current time information and the electric quantity change model.
The electric quantity variation model may be stored in the electronic device in advance. The electric quantity change model comprises the corresponding relation between the electric quantity of the electronic equipment and time. The electric quantity change model may be set by the electronic device when the electronic device leaves a factory, may be set by the user during the use process, or may be automatically set by the electronic device according to the use data of the electronic device.
After the electronic equipment acquires the current time information, the next charging time of the electronic equipment can be determined according to the current time information and the electric quantity change model. Specifically, the electronic device may match the acquired time information with the electric quantity change model to predict the next charging time of the electronic device. And the next charging time represents the time when the user starts to charge the electronic equipment next time.
And 130, judging whether the electronic equipment can stand by to the charging time according to the electric quantity and the standby power of the electronic equipment.
The electronic device can obtain the current electric quantity and the current standby power, and calculate the standby time of the electronic device according to the electric quantity and the standby power. Subsequently, the electronic device may determine whether it can stand by to the charging time.
Specifically, if the calculated standby time is longer than the time difference between the charging time and the current time, it is determined that the electronic device can be standby to the charging time; and if the calculated standby time is less than or equal to the time difference between the charging time and the current time, judging that the electronic equipment cannot be standby to the charging time.
For example, the standby time calculated by the electronic device is 5 hours, the determined next charging time is 8 pm, and the current time is 2 pm, then the time difference between the charging time and the current time is 6 hours, and the standby time is 5 hours and less than the time difference of 6 hours, so that it can be determined that the electronic device cannot stand by to the charging time.
And 140, if the judgment result is no, controlling the antenna to exit the high-order diversity receiving state.
And if the electronic equipment judges that the electronic equipment cannot stand by to the charging time, controlling an antenna of the electronic equipment to exit a high-order diversity receiving state. For example, the electronic device may control to reduce the number of diversity antennas to enable the antennas to exit the high-order diversity reception state, such as reducing the number of diversity antennas from 4 to 2, so that the power consumption of the electronic device may be reduced, and the cruising ability of the electronic device may be improved.
And if the electronic equipment judges that the electronic equipment can stand by to the charging time, maintaining the high-order diversity receiving state of the antenna unchanged.
In some embodiments, as shown in fig. 4, before acquiring the current time information when the antenna of the electronic device is in the high-order diversity reception state in step 110, the method further includes the following steps:
151, acquiring the electric quantity of the electronic equipment and time information corresponding to the electric quantity for multiple times;
and 152, establishing an electric quantity change model of the electronic equipment according to the plurality of electric quantities and the time information corresponding to each electric quantity.
In the using process of the electronic equipment, the electronic equipment can acquire the electric quantity of the electronic equipment and the time information corresponding to the electric quantity for multiple times. For example, the electronic device may acquire its own power and time information every 5 seconds. Wherein the time information includes a current month, a date, a current time of day, and a current day of the week.
Then, the electronic device may establish an electric quantity change model of the electronic device according to the plurality of electric quantities and the time information corresponding to each electric quantity. The electric quantity change model is a database formed by electric quantity and time of the electronic equipment and corresponding relation between the electric quantity and the time. The electric quantity change model represents the change rule of the electric quantity of the electronic equipment along with time. The time when the electronic equipment is charged every day can be known through the electric quantity change model. And the time law of the user for charging the electronic equipment can be known through the electric quantity change model.
In some embodiments, as shown in fig. 4, the step 110 of acquiring current time information when an antenna of the electronic device is in a high-order diversity reception state includes the steps of:
111, when an antenna of an electronic device is in a high-order diversity reception state, determining whether the electronic device is in a charging state;
and 112, if the electronic equipment is not in the charging state, acquiring current time information.
The electronic equipment can monitor whether the electronic equipment is in a charging state in real time. When the antenna of the electronic equipment is in a high-order diversity reception state, the electronic equipment judges whether the antenna is in a charging state. If the electronic equipment is in the charging state, the problem that the standby time of the electronic equipment is not enough currently exists is shown, so that the electronic equipment can terminate the process of the method. And if the electronic equipment is not in the charging state, acquiring the current time information.
In some embodiments, as shown in fig. 5, step 120, determining a next charging time of the electronic device according to the current time information and the power variation model, further includes the steps of:
170, obtaining the current geographic position of the electronic equipment;
step 120, determining the next charging time of the electronic device according to the current time information and the electric quantity change model, including the steps of:
and 121, determining the next charging time of the electronic equipment according to the current time information, the current geographic position and the electric quantity change model.
The electric quantity change model comprises the corresponding relation between the electric quantity of the electronic equipment and the time and the geographic position. After the electronic equipment acquires the current time information, the current geographic position of the electronic equipment is further acquired. The electronic device can acquire the geographical position of the electronic device through the positioning system.
And then, the electronic equipment determines the next charging time of the electronic equipment according to the current time information, the current geographic position and the electric quantity change model. Specifically, the electronic device may match the acquired time information and geographic position with the electric quantity change model to predict the next charging time of the electronic device.
In some embodiments, as shown in fig. 5, before acquiring the current time information when the antenna of the electronic device is in the high-order diversity reception state in step 110, the method further includes the following steps:
161, obtaining the electric quantity of the electronic device, time information corresponding to the electric quantity, and a geographical location of the electronic device when the time information is obtained for multiple times;
and 162, establishing an electric quantity change model of the electronic equipment according to the plurality of electric quantities, the time information corresponding to each electric quantity and the geographical position of the electronic equipment at each time information.
In the using process of the electronic equipment, the electronic equipment can acquire the electric quantity of the electronic equipment, the time information corresponding to each electric quantity and the geographical position of the electronic equipment in the time information for multiple times. For example, the electronic device may obtain its own power, time information, and its own geographical location every 5 seconds. Wherein the time information includes a current month, a date, a current time of day, and a current day of the week. The geographic location may be a geographic area such as a mall, a cell, a movie theater, etc.
Then, the electronic device may establish an electric quantity change model of the electronic device according to a plurality of electric quantities, time information corresponding to each electric quantity, and a geographic location of the electronic device at each time information. The electric quantity change model is a database formed by electric quantity, time, geographical position of the electronic equipment and corresponding relation among the electric quantity, the time, the geographical position and the electronic equipment. The electric quantity change model represents the change rule of the electric quantity of the electronic equipment along with time and geographic position. The charging rule of the electronic equipment at different geographical positions and at what time can be known through the electric quantity change model. The rule that the user charges the electronic equipment can be known through the electric quantity change model.
For example, the power change model includes 20 times of power changes of the electronic device on mondays, where 19 times of charging of the electronic device is started at XX cell at 8 pm, it can be considered that the user charges the electronic device at home at 8 pm every monday.
In some embodiments, the power variation model established by the electronic device according to the power, the time information, and the geographic location may be a model shown in table 1:
TABLE 1
Electric quantity Month of the year Date Week Time Geographic location
80% 2 26 Monday At 10 am XX maleDriver
60% 5 3 Thursday Afternoon 2 o' clock XX Corp Ltd
95% 8 15 Wednesday 9 o' clock in night XX cell
In particular implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
As can be seen from the above, the antenna control method provided in the embodiment of the present application includes: when an antenna of the electronic equipment is in a high-order diversity receiving state, acquiring current time information; determining the next charging time of the electronic equipment according to the current time information and the electric quantity change model; judging whether the electronic equipment can stand by to the charging time according to the electric quantity and the standby power of the electronic equipment; if not, controlling the antenna to exit the high-order diversity receiving state. In the antenna control method, when the antenna of the electronic equipment is in a high-order diversity reception state and the electronic equipment cannot stand by to a charging time, the antenna is controlled to exit the high-order diversity reception state, so that the power consumption of the electronic equipment can be reduced, and the cruising ability of the electronic equipment is improved.
The embodiment of the present application further provides an antenna control apparatus, which may be integrated in the electronic device 100.
As shown in fig. 6, the antenna control apparatus 200 may include: a first obtaining module 201, a determining module 202, a judging module 203 and a control module 204.
A first obtaining module 201, configured to obtain current time information when an antenna of the electronic device is in a high-order diversity receiving state.
The electronic device can monitor the state of the antennas in real time, namely, the number of the integrated antennas in the electronic device. When the number of diversity antennas is 4, it indicates that the antennas of the electronic device are in a high-order diversity reception state. At this time, the first acquisition module 201 acquires current time information. The time information includes the current month, date, current time and the current day of the week. For example, the time information acquired by the first acquiring module 201 may be: 26 months, 9 am, monday.
The determining module 202 is configured to determine a next charging time of the electronic device according to the current time information and the electric quantity change model.
The electric quantity variation model may be stored in the electronic device in advance. The electric quantity change model comprises the corresponding relation between the electric quantity of the electronic equipment and time. The electric quantity change model may be set by the electronic device when the electronic device leaves a factory, may be set by the user during the use process, or may be automatically set by the electronic device according to the use data of the electronic device.
After the first obtaining module 201 obtains the current time information, the determining module 202 may determine the next charging time of the electronic device according to the current time information and the electric quantity variation model. Specifically, the determining module 202 may match the acquired time information with the electric quantity variation model to predict the next charging time of the electronic device. And the next charging time represents the time when the user starts to charge the electronic equipment next time.
The determining module 203 is configured to determine whether the electronic device can stand by to the charging time according to the electric quantity and the standby power of the electronic device.
The determining module 203 may obtain the current electric quantity and the current standby power of the electronic device, and calculate the standby duration of the electronic device according to the electric quantity and the standby power. Subsequently, the determining module 203 may determine whether the electronic device can stand by to the charging time.
Specifically, if the calculated standby time is longer than the time difference between the charging time and the current time, it is determined that the electronic device can be standby to the charging time; and if the calculated standby time is less than or equal to the time difference between the charging time and the current time, judging that the electronic equipment cannot be standby to the charging time.
For example, the standby time calculated by the determining module 203 is 5 hours, the determined next charging time is 8 pm, and the current time is 2 pm, then the time difference between the charging time and the current time is 6 hours, and the standby time is 5 hours and less than the time difference of 6 hours, so that it can be determined that the electronic device cannot stand by to the charging time.
A control module 204, configured to control the antenna to exit from the high-order diversity receiving state when the determining module 203 determines that the antenna is in the negative state.
If the determining module 203 determines that the electronic device cannot stand by to the charging time, the control module 204 controls the antenna of the electronic device to exit the high-order diversity receiving state. For example, the control module 204 may control to reduce the number of diversity antennas to enable the antennas to exit the high-order diversity reception state, for example, reduce the number of diversity antennas from 4 to 2, so as to reduce power consumption of the electronic device and improve endurance of the electronic device.
If the determining module 203 determines that the electronic device can stand by to the charging time, the control module 204 maintains the high-order diversity receiving state of the antenna unchanged.
In some embodiments, as shown in fig. 7, the antenna control apparatus 200 further includes: a second obtaining module 205 and a first establishing module 206.
A second obtaining module 205, configured to obtain an electric quantity of the electronic device and time information corresponding to the electric quantity for multiple times;
a first establishing module 206, configured to establish an electric quantity change model of the electronic device according to a plurality of electric quantities and time information corresponding to each electric quantity.
In the using process of the electronic device, the second obtaining module 205 may obtain the electric quantity of the electronic device and the time information corresponding to the electric quantity for multiple times. For example, the second obtaining module 205 may obtain the power amount and the time information of the electronic device every 5 seconds. Wherein the time information includes a current month, a date, a current time of day, and a current day of the week.
Subsequently, the first establishing module 206 may establish an electric quantity change model of the electronic device according to a plurality of electric quantities and time information corresponding to each electric quantity. The electric quantity change model is a database formed by electric quantity and time of the electronic equipment and corresponding relation between the electric quantity and the time. The electric quantity change model represents the change rule of the electric quantity of the electronic equipment along with time. The time when the electronic equipment is charged every day can be known through the electric quantity change model. And the time law of the user for charging the electronic equipment can be known through the electric quantity change model.
In some embodiments, the first obtaining module 201 is configured to perform the following steps:
when an antenna of the electronic equipment is in a high-order diversity receiving state, judging whether the electronic equipment is in a charging state;
and if the electronic equipment is not in the charging state, acquiring current time information.
The first obtaining module 201 may monitor whether the electronic device is in a charging state in real time. When the antenna of the electronic device is in the high-order diversity reception state, the first obtaining module 201 determines whether the electronic device is in the charging state. If the electronic equipment is in the charging state, the problem that the standby time of the electronic equipment is not enough currently exists is shown, and therefore the process of the method can be stopped. If the electronic device is not in the charging state, the first obtaining module 201 obtains current time information.
In some embodiments, as shown in fig. 8, the antenna control apparatus 200 further includes a third acquisition module 207.
A third obtaining module 207, configured to obtain a current geographic location of the electronic device;
the determining module 202 is configured to determine a next charging time of the electronic device according to the current time information, the current geographic location, and the electric quantity change model.
The electric quantity change model comprises the corresponding relation between the electric quantity of the electronic equipment and the time and the geographic position. After the first obtaining module 201 obtains the current time information, the third obtaining module 207 further obtains the current geographic location of the electronic device. The electronic device can acquire the geographical position of the electronic device through the positioning system.
Subsequently, the determining module 202 determines the next charging time of the electronic device according to the current time information, the current geographic location and the power variation model. Specifically, the determining module 202 may match the acquired time information and the geographic location with the electric quantity variation model to predict the next charging time of the electronic device.
In some embodiments, as shown in fig. 9, the antenna control apparatus 200 further includes: a fourth obtaining module 208 and a second establishing module 209.
A fourth obtaining module 208, configured to obtain an electric quantity of the electronic device, time information corresponding to the electric quantity, and a geographic location of the electronic device when the time information is obtained;
a second establishing module 209, configured to establish an electric quantity change model of the electronic device according to the plurality of electric quantities, the time information corresponding to each electric quantity, and the geographic location of the electronic device at the time of each time information.
In the using process of the electronic device, the fourth obtaining module 208 may obtain the electric quantity of the electronic device, time information corresponding to each electric quantity, and a geographic location of the electronic device when the time information is obtained. For example, the fourth obtaining module 208 may obtain the power, the time information, and the geographic location of the electronic device every 5 seconds. Wherein the time information includes a current month, a date, a current time of day, and a current day of the week. The geographic location may be a geographic area such as a mall, a cell, a movie theater, etc.
Subsequently, the second establishing module 209 may establish a power variation model of the electronic device according to a plurality of the powers, time information corresponding to each of the powers, and a geographic location of the electronic device at each of the time information. The electric quantity change model is a database formed by electric quantity, time, geographical position of the electronic equipment and corresponding relation among the electric quantity, the time, the geographical position and the electronic equipment. The electric quantity change model represents the change rule of the electric quantity of the electronic equipment along with time and geographic position. The charging rule of the electronic equipment at different geographical positions and at what time can be known through the electric quantity change model. The rule that the user charges the electronic equipment can be known through the electric quantity change model.
For example, the power change model includes 20 times of power changes of the electronic device on mondays, where 19 times of charging of the electronic device is started at XX cell at 8 pm, it can be considered that the user charges the electronic device at home at 8 pm every monday.
In some embodiments, the power variation model established by the electronic device according to the power, the time information, and the geographic location may be a model shown in table 2:
TABLE 2
Figure BDA0001586350050000131
Figure BDA0001586350050000141
In specific implementation, the modules may be implemented as independent entities, or may be combined arbitrarily and implemented as one or several entities.
As can be seen from the above, in the antenna control apparatus 200 provided in this embodiment of the present application, when an antenna of an electronic device is in a high-order diversity reception state, the first obtaining module 201 obtains current time information; the determining module 202 determines the next charging time of the electronic device according to the current time information and the electric quantity change model; the judging module 203 judges whether the electronic device can stand by to the charging time according to the electric quantity and the standby power of the electronic device; when the determining module 203 determines that the antenna is in the high-order diversity receiving state, the control module 204 controls the antenna to exit the high-order diversity receiving state. The antenna control device controls the antenna to exit the high-order diversity receiving state when the antenna of the electronic equipment is in the high-order diversity receiving state and the electronic equipment cannot stand by to the charging time, so that the power consumption of the electronic equipment can be reduced, and the cruising ability of the electronic equipment can be improved.
The embodiment of the application also provides the electronic equipment. The electronic device can be a smart phone, a tablet computer and the like. As shown in fig. 10, the electronic device 300 includes a processor 301 and a memory 302. The processor 301 is electrically connected to the memory 302.
The processor 301 is a control center of the electronic device 300, 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 calling a computer program stored in the memory 302 and calling data stored in the memory 302, thereby performing overall monitoring of the electronic device.
In this embodiment, the processor 301 in the electronic device 300 loads instructions corresponding to one or more processes of the computer program into the memory 302 according to the following steps, and the processor 301 runs the computer program stored in the memory 302, so as to implement various functions:
when an antenna of the electronic equipment is in a high-order diversity receiving state, acquiring current time information;
determining the next charging time of the electronic equipment according to the current time information and an electric quantity change model, wherein the electric quantity change model comprises the corresponding relation between the electric quantity of the electronic equipment and the time;
judging whether the electronic equipment can stand by to the charging time according to the electric quantity and the standby power of the electronic equipment;
if not, controlling the antenna to exit the high-order diversity receiving state.
In some embodiments, when the antenna of the electronic device is in the high-order diversity reception state, before acquiring the current time information, the processor 301 further performs the following steps:
acquiring the electric quantity of the electronic equipment and time information corresponding to the electric quantity for multiple times;
and establishing an electric quantity change model of the electronic equipment according to the plurality of electric quantities and the time information corresponding to each electric quantity.
In some embodiments, before determining the next charging time of the electronic device according to the current time information and the power variation model, the processor 301 further performs the following steps:
acquiring the current geographic position of the electronic equipment;
when determining the next charging time of the electronic device according to the current time information and the electric quantity variation model, the processor 301 executes the following steps:
and determining the next charging time of the electronic equipment according to the current time information, the current geographic position and the electric quantity change model.
In some embodiments, when the antenna of the electronic device is in the high-order diversity reception state, before acquiring the current time information, the processor 301 further performs the following steps:
acquiring the electric quantity of the electronic equipment, time information corresponding to the electric quantity and the geographic position of the electronic equipment in the time information for multiple times;
and establishing an electric quantity change model of the electronic equipment according to the plurality of electric quantities, the time information corresponding to each electric quantity and the geographical position of the electronic equipment in each time information.
In some embodiments, when the current time information is acquired when the antenna of the electronic device is in the high-order diversity reception state, the processor 301 performs the following steps:
when an antenna of the electronic equipment is in a high-order diversity receiving state, judging whether the electronic equipment is in a charging state;
and if the electronic equipment is not in the charging state, acquiring current time information.
Memory 302 may be used to store computer programs and data. The memory 302 stores computer programs containing instructions executable in the processor. The computer program may constitute various functional modules. The processor 301 executes various functional applications and data processing by calling a computer program stored in the memory 302.
In some embodiments, as shown in fig. 11, the electronic device 300 further comprises: radio frequency circuit 303, display screen 304, control circuit 305, input unit 306, audio circuit 307, sensor 308, and power supply 309. The processor 301 is electrically connected to the rf circuit 303, the display 304, the control circuit 305, the input unit 306, the audio circuit 307, the sensor 308, and the power source 309, respectively.
The radio frequency circuit 303 is used for transceiving radio frequency signals to communicate with a network device or other electronic devices through wireless communication.
The display screen 304 may be used to display information entered by or provided to the user as well as various graphical user interfaces of the electronic device, which may be comprised of images, text, icons, video, and any combination thereof.
The control circuit 305 is electrically connected to the display screen 304, and is used for controlling the display screen 304 to display information.
The input unit 306 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. The input unit 306 may include a fingerprint recognition module.
Audio circuitry 307 may provide an audio interface between the user and the electronic device through a speaker, microphone.
The sensor 308 is used to collect external environmental information. The sensor 308 may include one or more of an ambient light sensor, an acceleration sensor, a gyroscope, and the like.
The power supply 309 is used to power the various components of the electronic device 300. In some embodiments, the power source 309 may be logically coupled to the processor 301 through a power management system, such that functions to manage charging, discharging, and power consumption management are performed through the power management system.
Although not shown in fig. 11, the electronic device 300 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
As can be seen from the above, an embodiment of the present application provides an electronic device, where the electronic device performs the following steps: when an antenna of the electronic equipment is in a high-order diversity receiving state, acquiring current time information; determining the next charging time of the electronic equipment according to the current time information and the electric quantity change model; judging whether the electronic equipment can stand by to the charging time according to the electric quantity and the standby power of the electronic equipment; if not, controlling the antenna to exit the high-order diversity receiving state. When the antenna is in the high-order diversity receiving state and the electronic equipment cannot stand by to the charging time, the electronic equipment controls the antenna to exit the high-order diversity receiving state, so that the power consumption of the electronic equipment can be reduced, and the cruising ability of the electronic equipment is improved.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the antenna control method according to any of the above embodiments.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, which may include, but is not limited to: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The antenna control method, the antenna control device, the storage medium, and the electronic device provided in the embodiments of the present application are described in detail above. 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 control method, comprising:
when an antenna of the electronic equipment is in a high-order diversity receiving state, judging whether the electronic equipment is in a charging state;
if the electronic equipment is not in a charging state, acquiring current time information;
acquiring the current geographic position of the electronic equipment;
determining the next charging time of the electronic equipment according to the current time information, the current geographic position and an electric quantity change model, wherein the electric quantity change model comprises the corresponding relation between the electric quantity of the electronic equipment and the time;
judging whether the electronic equipment can stand by to the charging time according to the electric quantity and the standby power of the electronic equipment, wherein the charging time represents the time when a user starts to charge the electronic equipment next time;
if not, controlling to reduce the number of the diversity antennas so as to enable the antennas to exit from a high-order diversity receiving state.
2. The antenna control method of claim 1, wherein before acquiring the current time information when the antenna of the electronic device is in the high-order diversity reception state, further comprising:
acquiring the electric quantity of the electronic equipment and time information corresponding to the electric quantity for multiple times;
and establishing an electric quantity change model of the electronic equipment according to the plurality of electric quantities and the time information corresponding to each electric quantity.
3. The antenna control method of claim 1, wherein before acquiring the current time information when the antenna of the electronic device is in the high-order diversity reception state, further comprising:
acquiring the electric quantity of the electronic equipment, time information corresponding to the electric quantity and the geographic position of the electronic equipment in the time information for multiple times;
and establishing an electric quantity change model of the electronic equipment according to the plurality of electric quantities, the time information corresponding to each electric quantity and the geographical position of the electronic equipment in each time information.
4. An antenna control apparatus, comprising:
the first acquisition module is used for judging whether the electronic equipment is in a charging state or not when an antenna of the electronic equipment is in a high-order diversity reception state, and acquiring current time information if the electronic equipment is not in the charging state;
the third acquisition module is used for acquiring the current geographic position of the electronic equipment;
the determining module is used for determining the next charging time of the electronic equipment according to the current time information, the current geographic position and an electric quantity change model, wherein the electric quantity change model comprises the corresponding relation between the electric quantity of the electronic equipment and the time;
the judging module is used for judging whether the electronic equipment can stand by to the charging time according to the electric quantity and the stand-by power of the electronic equipment, wherein the charging time represents the time when a user starts to charge the electronic equipment next time;
and the control module is used for controlling to reduce the number of the diversity antennas so as to enable the antennas to exit from a high-order diversity receiving state if the judgment module judges that the antennas are not in the high-order diversity receiving state.
5. The antenna control apparatus according to claim 4, characterized by further comprising:
the second acquisition module is used for acquiring the electric quantity of the electronic equipment and time information corresponding to the electric quantity for multiple times;
the first establishing module is used for establishing an electric quantity change model of the electronic equipment according to the plurality of electric quantities and the time information corresponding to each electric quantity.
6. The antenna control apparatus according to claim 4, characterized by further comprising:
the fourth acquisition module is used for acquiring the electric quantity of the electronic equipment, the time information corresponding to the electric quantity and the geographic position of the electronic equipment in the time information for multiple times;
and the second establishing module is used for establishing an electric quantity change model of the electronic equipment according to the plurality of electric quantities, the time information corresponding to each electric quantity and the geographic position of the electronic equipment at each time information.
7. A storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the antenna control method according to any one of claims 1 to 3.
8. An electronic device, characterized in that the electronic device comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used for executing the antenna control method according to any one of claims 1 to 3 by calling the computer program stored in the memory.
CN201810172752.4A 2018-03-01 2018-03-01 Antenna control method, antenna control device, storage medium and electronic equipment Active CN108540194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810172752.4A CN108540194B (en) 2018-03-01 2018-03-01 Antenna control method, antenna control device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810172752.4A CN108540194B (en) 2018-03-01 2018-03-01 Antenna control method, antenna control device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108540194A CN108540194A (en) 2018-09-14
CN108540194B true CN108540194B (en) 2021-09-28

Family

ID=63486274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810172752.4A Active CN108540194B (en) 2018-03-01 2018-03-01 Antenna control method, antenna control device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108540194B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600825A (en) * 2019-01-16 2019-04-09 深圳市万普拉斯科技有限公司 A kind of mobile terminal electricity operation reserve generation method and its device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1947356A (en) * 2004-03-05 2007-04-11 高通股份有限公司 Method and apparatus for receive diversity control in wireless communications
CN102928783A (en) * 2012-07-19 2013-02-13 北京金山安全软件有限公司 Method and device for estimating available time of battery power and mobile equipment
CN107315468A (en) * 2017-06-30 2017-11-03 广东欧珀移动通信有限公司 Electricity based reminding method, device, storage medium and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140112267A1 (en) * 2012-10-19 2014-04-24 Qualcomm Incorporated Receive diversity control in td-scdma
WO2014071586A1 (en) * 2012-11-08 2014-05-15 Qualcomm Incorporated Adaptive waiting time in multiple receive diversity control for td-scdma

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1947356A (en) * 2004-03-05 2007-04-11 高通股份有限公司 Method and apparatus for receive diversity control in wireless communications
CN102928783A (en) * 2012-07-19 2013-02-13 北京金山安全软件有限公司 Method and device for estimating available time of battery power and mobile equipment
CN107315468A (en) * 2017-06-30 2017-11-03 广东欧珀移动通信有限公司 Electricity based reminding method, device, storage medium and terminal

Also Published As

Publication number Publication date
CN108540194A (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN108039897B (en) Antenna switching method and device, storage medium and electronic equipment
CN110191461B (en) Data transmission control method and device and electronic equipment
US10891142B2 (en) Method and device for preloading application, storage medium, and terminal device
CN101827169B (en) Mobile terminal and method for displaying data in mobile terminal
EP3502880A1 (en) Method for preloading application, storage medium, and terminal device
CN101656795B (en) Mobile terminal and method of reducing power consumption in the mobile terminal
CN110012169B (en) Antenna switching method and device, storage medium and electronic equipment
EP3502879A1 (en) Method for preloading application, storage medium, and terminal device
CN108365881B (en) Antenna control method, antenna control device, storage medium and electronic equipment
CN107479953B (en) Process management method, device, storage medium and electronic equipment
CN108494444A (en) Method of controlling antenna, antenna module, electronic equipment and storage medium
CN106325798A (en) Method and device for achieving multi-screen content display
CN111373726B (en) Parameter adjustment method and terminal for audio service
CN110890969B (en) Method and device for mass-sending message, electronic equipment and storage medium
CN108596324A (en) A kind of smart electronics school board
CN105704266A (en) Mobile terminal, mobile terminal housing and method for realizing mobile terminal control
CN108540194B (en) Antenna control method, antenna control device, storage medium and electronic equipment
CN106534557B (en) A kind of the wallpaper switching system and method for display terminal
CN106303012B (en) Starting-up method and carry-on equipment based on carry-on equipment
EP3627339A1 (en) User location identification method and apparatus, storage medium, and electronic device
CN108495359B (en) Antenna control method, antenna control device, storage medium and electronic equipment
CN108924360B (en) Display method, storage medium, and electronic device
CN108471326B (en) Antenna switching method and device, storage medium and electronic equipment
CN108365882B (en) Antenna control method, antenna control device, storage medium and electronic equipment
CN108551685B (en) Antenna control method, antenna control device, storage medium and electronic equipment

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: OPPO Guangdong Mobile Communications Co.,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