CN112162622A - Modem control method and device and electronic equipment - Google Patents

Modem control method and device and electronic equipment Download PDF

Info

Publication number
CN112162622A
CN112162622A CN202011044035.7A CN202011044035A CN112162622A CN 112162622 A CN112162622 A CN 112162622A CN 202011044035 A CN202011044035 A CN 202011044035A CN 112162622 A CN112162622 A CN 112162622A
Authority
CN
China
Prior art keywords
modem
current value
output current
preset
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011044035.7A
Other languages
Chinese (zh)
Other versions
CN112162622B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011044035.7A priority Critical patent/CN112162622B/en
Publication of CN112162622A publication Critical patent/CN112162622A/en
Application granted granted Critical
Publication of CN112162622B publication Critical patent/CN112162622B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3243Power saving in microcontroller unit
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a modem control method, a device and electronic equipment, which belong to the technical field of communication, wherein the electronic equipment further comprises a plug-in 5G modem, and the method comprises the following steps: monitoring the output current value of the battery in the starting process; and starting the 5G modem under the condition that the output current value is monitored to be larger than a preset current value. According to the modem control method, the load peak time of the processor and the load peak time of the 5G modem can be staggered, the load peak time of the processor and the load peak time of the 5G modem are prevented from being overlapped, the output current value of the battery can be effectively reduced, and the power consumption of electronic equipment is reduced.

Description

Modem control method and device and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a modem control method, a modem control device and electronic equipment.
Background
At present, electronic equipment mainly provides 5G services for users through two core hardware modules, namely a processor and a plug-in 5G modem. And in the starting process, the processor and the plug-in 5G modem are both started. Fig. 1 shows the load change during the startup of the electronic device and during the startup of the processor and the plug-in 5G modem. As shown in fig. 1, the peak in processor load overlaps with the peak in plug-in 5G modem load. Under the scene, when the residual capacity of the battery of the electronic equipment is low, the electronic equipment is easy to open and fail.
Disclosure of Invention
An object of the embodiments of the present application is to provide a modem control method, an apparatus and an electronic device, which can solve the problem in the prior art that a processor load peak overlaps with a plug-in 5G modem load peak.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a modem control method, where an electronic device includes a plug-in 5G modem, where the method includes: monitoring the output current value of the battery in the starting process; and starting the 5G modem under the condition that the output current value is monitored to be larger than a preset current value.
In a second aspect, an embodiment of the present application provides a modem control apparatus, which is applied to an electronic device including a plug-in 5G modem, where the apparatus includes: the monitoring module is used for monitoring the output current value of the battery in the starting process; and the first starting module is used for starting the 5G modem under the condition that the output current value is monitored to be larger than a preset current value.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the output current value of the battery is monitored in the starting process; when the output current value is monitored to be larger than the preset current value, the 5G modem is started, the load peak time of the processor and the load peak time of the 5G modem can be staggered, the load peak time of the processor and the load peak time of the 5G modem are prevented from being overlapped, the battery output current value can be effectively reduced, and the power consumption of electronic equipment is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a first schematic diagram of load changes during the turn-on process of a processor and a plug-in 5G modem;
fig. 2 is a flow chart illustrating steps of a modem control method according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating a processor and modem connection according to an embodiment of the present application;
FIG. 4 is a second schematic diagram of load changes during the turn-on of the processor and 5G modem;
fig. 5 is a block diagram showing a configuration of a modem control apparatus according to an embodiment of the present application;
fig. 6 is a block diagram showing a configuration of an electronic apparatus according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating a hardware configuration 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, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a modem control method provided in the embodiments of the present application with reference to the accompanying drawings.
Referring to fig. 2, a flowchart illustrating steps of a modem control method according to an embodiment of the present application is shown.
As shown in fig. 1, during the startup process, the peak of the processor load of the electronic device and the peak of the load of the plug-in 5G modem occur at the same time, and the peak of the processor load overlaps with the peak of the load of the plug-in 5G modem, which results in a larger peak current of the load of the whole electronic device. In the scenario, when the remaining battery capacity of the electronic device is low, in the process of starting up the electronic device, the peak current may be too large to cause too large power consumption, which may eventually cause a failed start-up. The modem control method of the embodiment of the present application is described in detail below. The modem control method of the embodiment of the application comprises the following steps:
step 201: and monitoring the output current value of the battery in the starting process.
The method for adjusting the demodulator is applied to electronic equipment, the electronic equipment comprises a plug-in 5G modem and a processor, and the processor and the 5G modem can be started up only after being started up in the starting-up process. In the modem control method provided in the embodiment of the present application, the execution main body may be a modem control device, or a control module in the modem control device for executing the modem control method. Fig. 3 shows a processor and modem connection relationship, based on which 5G modem is turned on and off, the processor is controlled by the processor.
In the process of starting up, the change condition of the processor load can be fed back according to the magnitude and the change condition of the output current of the battery, and therefore the electronic equipment monitors the output current value of the battery.
Step 202: and starting the 5G modem under the condition that the monitored output current value is greater than the preset current value.
The preset current value can be set by a person skilled in the art according to actual requirements, for example: set to 2.5A, 2.8A or 3A etc.
When the output current value of the battery exceeds the preset current value, the load of the processor reaches the peak in the starting process. In order to avoid the situation of overlapping the processor load peak and the 5G modem load peak, the 5G modem is started after the processor load reaches the peak.
When the 5G modem is controlled in the process of starting up the electronic device, the load change conditions of the processor and the 5G modem in the starting up process are shown in fig. 4. As can be seen from fig. 4, the processor load peak occurs before the 5G modem load peak, and the two do not overlap.
The modem control method provided by the embodiment of the application monitors the output current value of the battery; when the output current value is monitored to be larger than the preset current value, the 5G modem is started, the load peak time of the processor and the load peak time of the 5G modem can be staggered, the load peak time of the processor and the load peak time of the 5G modem are prevented from being overlapped, the battery output current value can be effectively reduced, and the power consumption of electronic equipment is reduced.
In an optional embodiment, after the step of monitoring the output current value of the battery, the following steps may be further included:
the method comprises the following steps: determining the monitoring duration of the output current value under the condition that the output current value is less than or equal to a preset current value;
the processor monitors the output current value of the battery according to a preset time interval, and starts the 5G modem to stop monitoring the output current of the battery under the condition that the output current value is greater than the preset current value. Or stopping monitoring the output current of the battery when the total monitoring time of the output current of the battery exceeds a first preset time.
The mode of optionally monitoring the output current value of the battery in a polling mode according to the preset time interval is easy to realize and can effectively monitor the output current value of the battery.
Step two: and starting the 5G adjusting demodulator under the condition that the monitoring time length exceeds a first preset time length.
The first preset time length and the preset time interval can be set by those skilled in the art according to actual needs, and are not specifically limited in the embodiment of the present application. For example: the first preset time period may be set to 30 seconds, 40 seconds, 1 minute, or the like; the preset time interval may be set to 1 second, 2 seconds, 3 seconds, or the like.
The monitoring time length is controlled within the first preset time length, so that the starting can be completed within the first preset time length, and the long-time waiting in the starting process of a user is avoided. Theoretically, by evaluating the performance of the battery, the first preset time period can be reasonably set, and the peak value of the output current of the battery has already appeared in the first preset time period, so that the 5G modem can be directly started. If the peak value is not monitored within the first preset time, the preset current setting is not reasonable, so that the preset current value needs to be adjusted subsequently, and the setting is reasonable as much as possible.
In an optional embodiment, in the case that the monitoring duration exceeds the first preset duration, after the 5G modem is turned on, the preset current value is reduced to the first preset current value.
The first preset current value is lower than the output current peak value of the battery in the starting process.
It can be understood that, the output current value of the battery in the first preset duration does not reach the preset current value, which indicates that the preset current value is higher, so that the output current value is reduced to the first preset current value, which is convenient for successfully monitoring the output current peak value of the battery when the battery is restarted.
In an optional embodiment, the electronic device includes a processor, and when the 5G modem is turned on under the condition that the monitored output current value is greater than the preset current value, the following manner may be adopted:
and under the condition that the monitored output current value is greater than the preset current value, setting a first pin arranged on a path between the processor and the 5G modem to be at a low level.
The first pin is used for controlling a switch of the 5G modem, the 5G modem is turned off when the first pin is at a low level, and the 5G modem is turned on when the first pin is at a high level.
In this alternative embodiment, after the load of the processor has reached the maximum peak value, the processor pulls up the first pin of the 5G modem, and starts the 5G modem when the power supply related part of the 5G modem detects that the first pin is pulled up. The mode of starting the 5G modem by pulling up the corresponding pin is easy to realize and high in agility.
As shown in fig. 3, the turning on and off of the 5G modem may be controlled by a processor, and the control script for turning on and off the 5G modem by the processor may be controlled by software logic of the modem. From the power consumption optimization perspective, in combination with the characteristics of the 5G modem, when the 5G modem is not in the working state, the processor can control the power supply state of the 5G modem to enable the 5G modem to be in the closed state, so that the purpose of saving power is achieved.
An optional implementation manner is that, in the case that the monitored output current value is greater than the preset current value, after the step of turning on the 5G modem, the following steps are performed:
firstly, searching a connectable 5G network within a second preset time length after starting up;
if no connectable 5G network is searched, determining that the 5G modem is not in the working state; otherwise, the 5G modem is in an operating state.
Next, in the case where a connectable 5G network is not searched, the 5G modem is turned off.
The mode of optionally performing switch control on the 5G modem after starting up can save the power consumption of the 5G modem, thereby achieving the purpose of saving the electric quantity of the electronic equipment.
In this alternative manner, it should be noted that, in the modem control method provided in the embodiment of the present application, the execution main body may be a modem control device, or a control module in the modem control device for executing the modem control method. In the embodiments of the present application, a modem control device executing a modem control method is taken as an example to describe the modem control device provided in the embodiments of the present application.
Fig. 5 is a block diagram of a modem control apparatus for implementing an embodiment of the present application.
The modem control apparatus 500 of the embodiment of the present application is applied to an electronic device including a plug-in 5G modem, wherein the apparatus 500 includes:
the monitoring module 501 is configured to monitor an output current value of the battery during a power-on process;
a first starting module 502, configured to start the 5G modem when the output current value is monitored to be greater than a preset current value.
Optionally, the modem control apparatus further includes:
the duration determining module is used for determining the monitoring duration of the output current value under the condition that the output current value is less than or equal to the preset current value;
and the second starting module is used for starting the 5G modem under the condition that the monitoring duration exceeds a first preset duration.
Optionally, the apparatus further comprises: the current value adjusting module is used for reducing the preset current value to a first preset current value after the 5G modem is started under the condition that the monitoring duration of the second starting module exceeds a first preset duration;
wherein the first preset current value is lower than the peak value of the output current.
Optionally, the first starting module is specifically configured to: under the condition that the output current value is monitored to be larger than a preset current value, setting a first pin arranged on a path between a processor of the electronic equipment and the 5G modem to be a low level;
the first pin is used for controlling the 5G modem switch, the 5G modem is switched off when the first pin is at a low level, and the 5G modem is switched on when the first pin is at a high level.
Optionally, the apparatus further comprises:
the detection module is used for searching for a connectable 5G network within a second preset time length after the 5G modem is started up by the first starting module;
a shutdown module for shutting down the 5G modem if no connectable 5G network is searched.
The modem control device shown in fig. 5 in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The modem control device shown in fig. 5 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The modem control apparatus shown in fig. 5 provided in this embodiment of the present application can implement each process implemented by the modem control method in the method embodiment of fig. 2, and is not described here again to avoid repetition.
The modem control device provided by the embodiment of the application monitors the output current value of the battery; when the output current value is monitored to be larger than the preset current value, the 5G modem is started, the load peak time of the processor and the load peak time of the 5G modem can be staggered, the load peak time of the processor and the load peak time of the 5G modem are prevented from being overlapped, the battery output current value can be effectively reduced, and the power consumption of electronic equipment is reduced.
Optionally, an embodiment of the present application further provides an electronic device, as shown in fig. 6, an electronic device 600 includes: the processor 601, the memory 602, and the program or the instruction stored in the memory 602 and capable of running on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the above-mentioned modem control method embodiment, and can achieve the same technical effect, and are not described herein again to avoid repetition.
Optionally, an embodiment of the present application further provides an electronic device, where the electronic device includes: the plug-in 5G modem and the processor;
the processor is connected with the 5G modem, and a first pin is arranged on a path formed by the connection; the first pin is used for controlling the 5G modem switch;
in the starting process, the processor sets the first pin to be at a high level when monitoring that the output current value of the battery is greater than a preset current value.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor 710, and plug-in 5G modem.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 710 is configured to monitor an output current value of the battery during a power-on process; and starting the 5G modem under the condition that the output current value is monitored to be larger than a preset current value.
According to the electronic equipment provided by the embodiment of the application, the output current value of the battery is monitored; when the output current value is monitored to be larger than the preset current value, the 5G modem is started, the load peak time of the processor and the load peak time of the 5G modem can be staggered, the load peak time of the processor and the load peak time of the 5G modem are prevented from being overlapped, the battery output current value can be effectively reduced, and the power consumption of electronic equipment is reduced.
Optionally, after monitoring the output current value of the battery, the processor 710 is further configured to: under the condition that the output current value is smaller than or equal to the preset current value, the processor determines the monitoring duration of the output current value; and starting the 5G modem under the condition that the monitoring duration exceeds a first preset duration.
Optionally, the processor 710 is further configured to reduce the preset current value to a first preset current value after the 5G modem is turned on when the monitoring duration exceeds a first preset duration; wherein the first preset current value is lower than the peak value of the output current.
Optionally, when the processor 710 turns on the 5G modem under the condition that it is monitored that the output current value is greater than a preset current value, a first pin set on a path between the processor and the 5G modem is set to a low level; the first pin is used for controlling the 5G modem switch, the 5G modem is switched off when the first pin is at a low level, and the 5G modem is switched on when the first pin is at a high level.
Optionally, the processor 710 is further configured to, after the 5G modem is turned on and the output current value is monitored to be greater than a preset current value: searching for a connectable 5G network within a second preset time after starting up; and in the case that a connectable 5G network is not searched, closing the 5G modem.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 709 may be used to store software programs as well as various data, including but not limited to applications and operating systems. The processor 710 may integrate an application processor that handles primarily the operating system, user interface, applications, etc., and a modem processor that handles primarily wireless communications. It will be appreciated that the 5G modem processor described above may also be integrated into the processor 710.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned modem control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the embodiment of the modem control method, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. A modem control method, wherein an electronic device comprises a plug-in 5G modem, the method comprising:
monitoring the output current value of the battery in the starting process;
and starting the 5G modem under the condition that the output current value is monitored to be larger than a preset current value.
2. The method of claim 1, wherein after the monitoring the output current value of the battery, the method further comprises:
determining the monitoring duration of the output current value under the condition that the output current value is less than or equal to the preset current value;
and starting the 5G modem under the condition that the monitoring duration exceeds a first preset duration.
3. The method of claim 2, wherein after the 5G modem is turned on if the monitoring duration exceeds a first preset duration, the method further comprises:
reducing the preset current value to a first preset current value;
wherein the first preset current value is lower than the peak value of the output current.
4. The method of claim 1, wherein the electronic device comprises a processor, and wherein the step of turning on the 5G modem if the output current value is monitored to be greater than a preset current value comprises:
under the condition that the output current value is monitored to be larger than a preset current value, setting a first pin arranged on a path between the processor and the 5G modem to be a low level;
the first pin is used for controlling the switch of the 5G modem, the 5G modem is turned off when the first pin is at a low level, and the 5G modem is turned on when the first pin is at a high level.
5. The method of claim 1, wherein after the step of turning on the 5G modem if the output current value is monitored to be greater than a preset current value, the method further comprises:
searching for a connectable 5G network within a second preset time after starting up;
and in the case that a connectable 5G network is not searched, closing the 5G modem.
6. A modem control apparatus applied to an electronic device including a plug-in 5G modem, the apparatus comprising:
the monitoring module is used for monitoring the output current value of the battery in the starting process;
and the first starting module is used for starting the 5G modem under the condition that the output current value is monitored to be larger than a preset current value.
7. The apparatus of claim 6, further comprising:
the duration determining module is used for determining the monitoring duration of the output current value under the condition that the output current value is less than or equal to the preset current value;
and the second starting module is used for starting the 5G modem under the condition that the monitoring duration exceeds a first preset duration.
8. The apparatus of claim 7, further comprising:
the current value adjusting module is used for reducing the preset current value to a first preset current value after the 5G modem is started under the condition that the monitoring duration of the second starting module exceeds a first preset duration;
wherein the first preset current value is lower than the peak value of the output current.
9. The apparatus of claim 6, wherein the first enabling module is specifically configured to: under the condition that the output current value is monitored to be larger than a preset current value, setting a first pin arranged on a path between a processor of the electronic equipment and the 5G modem to be a low level;
the first pin is used for controlling the 5G modem switch, the 5G modem is switched off when the first pin is at a low level, and the 5G modem is switched on when the first pin is at a high level.
10. The apparatus of claim 6, further comprising:
the detection module is used for searching for a connectable 5G network within a second preset time length after the 5G modem is started up by the first starting module;
a shutdown module for shutting down the 5G modem if no connectable 5G network is searched.
11. An electronic device, characterized in that the electronic device comprises: the plug-in 5G modem and the processor;
the processor is connected with the 5G modem, and a first pin is arranged on a path formed by the connection; the first pin is used for controlling the 5G modem switch;
in the starting process, the processor sets the first pin to be at a high level when monitoring that the output current value of the battery is greater than a preset current value.
CN202011044035.7A 2020-09-28 2020-09-28 Modem control method and device and electronic equipment Active CN112162622B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011044035.7A CN112162622B (en) 2020-09-28 2020-09-28 Modem control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011044035.7A CN112162622B (en) 2020-09-28 2020-09-28 Modem control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112162622A true CN112162622A (en) 2021-01-01
CN112162622B CN112162622B (en) 2023-04-21

Family

ID=73861940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011044035.7A Active CN112162622B (en) 2020-09-28 2020-09-28 Modem control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112162622B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1417958A (en) * 2001-11-08 2003-05-14 三星电子株式会社 Control device and method for automatic household system
CN101019426A (en) * 2004-11-19 2007-08-15 三星电子株式会社 Apparatus and method for controlling a power in terminal of receiving a digital multimedia broadcasting
CN101090550A (en) * 2007-07-24 2007-12-19 中兴通讯股份有限公司 Duplex method for communication port in mobile terminal
CN103729210A (en) * 2013-12-06 2014-04-16 广东欧珀移动通信有限公司 Method and device for supporting intelligent terminals of multiple sorts of modes with one flashing package
CN104581929A (en) * 2013-10-16 2015-04-29 华为终端有限公司 Network registering method, baseband chip and terminal
CN105891717A (en) * 2015-07-01 2016-08-24 乐视移动智能信息技术(北京)有限公司 Battery electric quantity obtaining method and device
CN106293709A (en) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 The management method of application program, managing device and terminal
CN108644987A (en) * 2018-05-17 2018-10-12 广东美的制冷设备有限公司 Air conditioner and its control method and computer readable storage medium
CN110083220A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 A kind of power-saving processing method and wearable device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1417958A (en) * 2001-11-08 2003-05-14 三星电子株式会社 Control device and method for automatic household system
CN101019426A (en) * 2004-11-19 2007-08-15 三星电子株式会社 Apparatus and method for controlling a power in terminal of receiving a digital multimedia broadcasting
CN101090550A (en) * 2007-07-24 2007-12-19 中兴通讯股份有限公司 Duplex method for communication port in mobile terminal
CN104581929A (en) * 2013-10-16 2015-04-29 华为终端有限公司 Network registering method, baseband chip and terminal
CN103729210A (en) * 2013-12-06 2014-04-16 广东欧珀移动通信有限公司 Method and device for supporting intelligent terminals of multiple sorts of modes with one flashing package
CN105891717A (en) * 2015-07-01 2016-08-24 乐视移动智能信息技术(北京)有限公司 Battery electric quantity obtaining method and device
CN106293709A (en) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 The management method of application program, managing device and terminal
CN108644987A (en) * 2018-05-17 2018-10-12 广东美的制冷设备有限公司 Air conditioner and its control method and computer readable storage medium
CN110083220A (en) * 2019-04-30 2019-08-02 努比亚技术有限公司 A kind of power-saving processing method and wearable device

Also Published As

Publication number Publication date
CN112162622B (en) 2023-04-21

Similar Documents

Publication Publication Date Title
US11416061B2 (en) Terminal control method and apparatus, and terminal
US11209894B2 (en) Task management method and device
US9967824B2 (en) Mobile terminal managing method and system, mobile terminal
CN111880870A (en) Method and device for controlling electronic equipment and electronic equipment
CN111816139B (en) Screen refresh rate switching method and electronic equipment
CN112713629A (en) Charging method and device and electronic equipment
CN112328070A (en) Charging control method, charging control device and electronic equipment
CN103034547A (en) Electronic equipment operation method based on battery and electronic equipment
CN112135355A (en) Frequency band interference processing method, frequency band interference processing device and electronic equipment
CN112162788A (en) Application starting method and device and electronic equipment
CN105116991A (en) Terminal power saving method and apparatus
CN102156535A (en) Energy-saving processing method and energy-saving processing device for hardware
US8543854B1 (en) Method and system for power configuration
CN104461596A (en) Shut-down method and device for mobile terminal
CN112199149A (en) Interface rendering method and device and electronic equipment
CN112162622B (en) Modem control method and device and electronic equipment
WO2023045921A1 (en) Display method and apparatus, and electronic device
CN108011860A (en) A kind of method and device for handling broadcast message
CN112290639B (en) Interface circuit and electronic equipment charge
CN115268340A (en) Electronic device and control method
CN113190420B (en) Electric quantity prompting method and device
CN115220565A (en) Dormancy control method and device for base frequency processor BP and electronic equipment
CN111880912A (en) Method and device for controlling electronic equipment and electronic equipment
CN114327714A (en) Application program control method, device, equipment and medium
CN114865806A (en) Charging circuit, method, device 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
GR01 Patent grant
GR01 Patent grant