CN114584649B - Control method, control device, terminal and readable storage medium - Google Patents

Control method, control device, terminal and readable storage medium Download PDF

Info

Publication number
CN114584649B
CN114584649B CN202011395511.XA CN202011395511A CN114584649B CN 114584649 B CN114584649 B CN 114584649B CN 202011395511 A CN202011395511 A CN 202011395511A CN 114584649 B CN114584649 B CN 114584649B
Authority
CN
China
Prior art keywords
state
parameter
terminal
value
mode
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
CN202011395511.XA
Other languages
Chinese (zh)
Other versions
CN114584649A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011395511.XA priority Critical patent/CN114584649B/en
Publication of CN114584649A publication Critical patent/CN114584649A/en
Application granted granted Critical
Publication of CN114584649B publication Critical patent/CN114584649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

  • Telephone Function (AREA)

Abstract

The application provides a control method, a control device and control equipment. The method may include: acquiring state parameters of the terminal, wherein the state parameters at least comprise temperature parameters and electric quantity parameters, the temperature parameters are used for representing the temperature of the current environment of the terminal, and the electric quantity parameters are used for representing the current residual electric quantity of the terminal; if the state parameter meets a first preset condition, the incoming call mode of the terminal is controlled to be switched from the current mode to the target mode, wherein the incoming call current of the terminal in the current mode is larger than the incoming call current of the terminal in the target mode, and the incoming call current is the output current of the battery when the terminal is in an incoming call. In the application, through the method, under the scene that the intelligent terminal is at low temperature and low power, the intelligent terminal is prevented from being automatically powered off due to sudden incoming calls, and the probability of missed calls is further effectively reduced.

Description

Control method, control device, terminal and readable storage medium
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a control method, apparatus, and device.
Background
With the progress of technology and the advent of the information age, the development of mobile communication terminal devices such as terminals is faster and faster, and the terminals have become one of the necessary articles for people to carry with them in daily life. However, the conventional terminal has the following problems:
Under the conditions of low temperature and low electric quantity, the terminal suddenly calls in to increase the instantaneous current and reduce the instantaneous voltage, so that the terminal is triggered to automatically shut down, the user may miss calls, and the user experience is poor.
Disclosure of Invention
The application provides a control method, a control device and control equipment, which are used for avoiding automatic shutdown of a terminal caused by sudden incoming calls under the scene that the terminal is at low temperature and has low electric quantity, so that the probability of missed calls is reduced.
In a first aspect, the present application provides a control method, where the control device may be applied to a terminal. The method may include: acquiring state parameters of the terminal, wherein the state parameters at least comprise temperature parameters and electric quantity parameters, the temperature parameters are used for representing the temperature of the current environment of the terminal, and the electric quantity parameters are used for representing the current residual electric quantity of the terminal; if the state parameter meets a first preset condition, the incoming call mode of the terminal is controlled to be switched from the current mode to the target mode, wherein the incoming call current of the terminal in the current mode is larger than the incoming call current of the terminal in the target mode, and the incoming call current is the output current of the battery when the terminal is in an incoming call.
By adopting the control method, the terminal can control the terminal to switch the incoming call mode (such as reducing ringing volume and/or weakening vibration) by obtaining the current temperature of the current environment and the current residual electric quantity, so that the terminal is in a low-temperature low-electric quantity state, the terminal is prevented from being shut down caused by the sudden increase of the battery current caused by incoming call, and the occurrence probability of missed calls is further reduced.
Based on the first aspect, in some possible implementations, obtaining the state parameter of the terminal may include: when the terminal receives an incoming call, acquiring a state parameter; or, the state parameter is obtained according to the detection period.
In order to reduce power consumption, the processor may obtain the state parameter only when receiving an incoming call, or the processor may obtain the state parameter of the terminal at a certain period. For example, the processor may obtain the state parameters of the terminal at a period of 5s, 10s, 1min, etc.
In general, a terminal may be in two operating states: the active state or the dormant state may correspond to a bright screen state for the user, that is, the terminal is currently being used by the user, and the dormant state may correspond to an off screen state, that is, the terminal is not currently being used by the user.
Thus, based on the first aspect, in some possible implementations, obtaining the state parameter of the terminal may include: acquiring the current working state of a terminal; and if the working state is the dormant state, obtaining the state parameters.
Based on the first aspect, in some possible embodiments, if the temperature parameter is less than or equal to the temperature threshold value and the power parameter is less than or equal to the power threshold value, it indicates that the state parameter meets a first preset condition; and if the temperature parameter is greater than the temperature threshold and/or the electric quantity parameter is greater than the electric quantity threshold, indicating that the state parameter does not meet the first preset condition.
Based on the first aspect, in some possible implementations, the state parameters further include: the voltage parameter is used for representing the output voltage of the battery of the terminal; if the temperature parameter is less than or equal to the temperature threshold, the electric quantity parameter is less than or equal to the electric quantity threshold and the voltage parameter is less than or equal to the voltage threshold, the state parameter is indicated to meet a first preset condition; if the temperature parameter is greater than the temperature threshold, the power parameter is greater than the power threshold, and/or the voltage parameter is less than or equal to the voltage threshold, the state parameter is indicated to not meet the first preset condition.
Based on the first aspect, in some possible implementation manners, the switching of the incoming call mode of the control terminal from the current mode to the target mode may include: the vibration part of the control terminal is switched from the first state to the second state, and/or the ringing part of the control terminal is switched from the third state to the fourth state; wherein the first state is that the vibration parameter of the vibration component is a first value; the second state includes the vibration parameter being a second value or the vibration component being in a disabled state; the third state is that the ringing volume of the ringing component is a third value; the fourth state includes the ring volume remaining at a third value or the ring volume remaining at a fourth value, the first value being greater than the second value, the third value being greater than the fourth value.
Based on the first aspect, in some possible embodiments, the method may further comprise: and determining a target mode according to the state parameter or the current mode.
Based on the first aspect, in some possible implementations, determining the target mode according to the state parameter may include: inquiring a mapping relation between a pre-stored state parameter and an incoming call mode; and obtaining a second state and/or a fourth state corresponding to the state parameter.
Based on the first aspect, in some possible implementations, determining the target mode according to the current mode may include: acquiring a first state and a third state of a terminal; if the first state is that the vibration parameter is a first value and the third state is that the ringing volume is a third value, determining that the vibration parameter is a second value or disabling the vibration component and keeping the ringing volume at the third value; or if the first state is that the vibration parameter is a first value and the third state is that the ringing volume is a third value, determining that the vibration parameter is kept at the first value and determining that the ringing volume is a fourth value; or if the first state is that the vibration parameter is a first value and the third state is that the ringing volume is a third value, determining that the vibration parameter is a second value or disabling the vibration component and determining that the ringing volume is a fourth value.
Based on the first aspect, in some possible embodiments, the method may further comprise: outputting a first prompting message, wherein the first prompting message is used for prompting that the incoming call mode is switched from the current mode to the target mode; or outputting a first operation interface, wherein the first operation interface is used for indicating the user to select the target mode.
In the application, the control method can effectively reduce the probability of the terminal automatic shutdown under the conditions of low temperature, low electric quantity and low voltage by controlling the incoming call mode of the terminal to be switched from the current mode to the target mode.
In a second aspect, the present application provides a control device, which may include: the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring state parameters of a terminal, the state parameters at least comprise temperature parameters and electric quantity parameters, the temperature parameters are used for representing the temperature of the current environment of the terminal, and the electric quantity parameters are used for representing the current residual electric quantity of the terminal; and the control module is used for controlling the incoming call mode of the terminal to be switched from the current mode to the target mode when the state parameter meets a first preset condition, wherein the incoming call current of the terminal in the current mode is larger than the incoming call current of the terminal in the target mode, and the incoming call current is the output current of the battery when the terminal is in an incoming call.
Based on the second aspect, in some possible embodiments, the obtaining module is further configured to obtain a status parameter when the terminal receives an incoming call; or, the state parameter is obtained according to the detection period.
Based on the second aspect, in some possible embodiments, the obtaining module may be further configured to obtain a current working state of the terminal; if the working state is the dormant state, the obtaining module obtains the state parameters.
Based on the second aspect, in some possible embodiments, if the temperature parameter is less than or equal to the temperature threshold value and the power parameter is less than or equal to the power threshold value, the state parameter is indicated to satisfy the first preset condition; and if the temperature parameter is greater than the temperature threshold and/or the electric quantity parameter is greater than the electric quantity threshold, indicating that the state parameter does not meet the first preset condition.
Based on the second aspect, in some possible embodiments, the state parameters further include: the voltage parameter is used for representing the output voltage of the battery of the terminal; if the temperature parameter is less than or equal to the temperature threshold, the electric quantity parameter is less than or equal to the electric quantity threshold and the voltage parameter is less than or equal to the voltage threshold, the state parameter is indicated to meet a first preset condition; if the temperature parameter is greater than the temperature threshold, the power parameter is greater than the power threshold, and/or the voltage parameter is less than or equal to the voltage threshold, the state parameter is indicated to not meet the first preset condition.
Based on the second aspect, in some possible embodiments, the control module may further be configured to: the control module controls the vibration part of the terminal to be switched from the first state to the second state and/or controls the bell part of the terminal to be switched from the third state to the fourth state; wherein the first state is that the vibration parameter of the vibration component is a first value; the second state includes the vibration parameter being a second value or the vibration component being in a disabled state; the third state is that the ringing volume of the ringing component is a third value; the fourth state includes the ring volume remaining at a third value or the ring volume remaining at a fourth value, the first value being greater than the second value, the third value being greater than the fourth value.
Based on the second aspect, in some possible embodiments, the apparatus may further include: the determining module is used for determining the target mode according to the state parameter or the current mode before the control module controls the incoming call mode of the terminal to be switched from the current mode to the target mode.
Based on the second aspect, in some possible embodiments, the determining module may further be configured to: inquiring a mapping relation between a pre-stored state parameter and an incoming call mode; and obtaining a second state and/or a fourth state corresponding to the state parameter.
Based on the second aspect, in some possible embodiments, the determining module may further be configured to: acquiring a first state and a third state of a terminal; if the first state is that the vibration parameter is a first value and the third state is that the ringing volume is a third value, determining that the vibration parameter is a second value or disabling the vibration component and keeping the ringing volume at the third value; or if the first state is that the vibration parameter is a first value and the third state is that the ringing volume is a third value, determining that the vibration parameter is kept at the first value and determining that the ringing volume is a fourth value; or if the first state is that the vibration parameter is a first value and the third state is that the ringing volume is a third value, determining that the vibration parameter is a second value or disabling the vibration component and determining that the ringing volume is a fourth value.
Based on the second aspect, in some possible embodiments, the apparatus may further include: the output module is used for outputting a first prompt message, and the first prompt message is used for prompting that the incoming call mode is switched from the current mode to the target mode; or outputting a first operation interface, wherein the first operation interface is used for indicating the user to select the target mode.
In the application, the control device can effectively reduce the probability of the occurrence of the condition that the terminal is automatically powered off under the conditions of low temperature and low electric quantity by controlling the incoming call mode of the terminal to be switched from the current mode to the target mode.
In a third aspect, the present application provides a terminal, which may include: a processor and a memory, the processor being coupled to the memory, the processor being configured to read and execute instructions in the memory to implement the first aspect or the control method in any of the possible implementations of the first aspect.
In a fourth aspect, the present application provides a computer readable storage medium storing instructions for performing a control method as described above or any one of the possible implementation manners of the first aspect, when the instructions are run on a computer.
In a fifth aspect, the present application provides a computer program which, when executed on a computer, causes the computer to implement a control method as described above for the first aspect or any one of the possible implementation manners of the first aspect.
It should be understood that the second to fifth aspects of the present application are consistent with the technical solutions of the first aspect of the present application, and the beneficial effects obtained by each aspect and the corresponding possible embodiments are similar, and are not repeated.
Drawings
In order to more clearly describe the technical solutions in the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be described below.
Fig. 1 is a schematic structural diagram of a terminal in an embodiment of the present application;
FIG. 2 is a flow chart of a control method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a hint message according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an operation interface according to an embodiment of the present application;
FIG. 5 is a schematic diagram of another operation interface according to an embodiment of the present application;
FIG. 6 is a flow chart of another control method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a control device in an embodiment of the present application;
fig. 8 is a schematic structural diagram of another terminal in an embodiment of the present application.
Detailed Description
Embodiments of the present application are described below with reference to the accompanying drawings in the embodiments of the present application. In the following description, reference is made to the accompanying drawings which form a part hereof and which show by way of illustration specific aspects in which embodiments of the application may be practiced. It is to be understood that the embodiments of the present application may be used in other respects and may include structural or logical changes not depicted in the drawings. For example, it should be understood that the disclosure in connection with the described methods may be equally applicable to a corresponding apparatus or system for performing the above-described methods, and vice versa. For example, if one or more specific method steps are described, the corresponding apparatus may comprise one or more units, such as functional units, to perform the one or more described method steps (e.g., one unit performs one or more steps, or multiple units, each of which performs one or more of the multiple steps), even if such one or more units are not explicitly described or illustrated in the figures. On the other hand, if a specific apparatus is described based on one or more units such as a functional unit, for example, the corresponding method may include one step to perform the functionality of the one or more units (e.g., one step to perform the functionality of the one or more units, or multiple steps each to perform the functionality of one or more units, even if such one or more steps are not explicitly described or illustrated in the figures). Further, it is to be understood that features of the various exemplary embodiments and/or aspects described herein may be combined with each other, unless explicitly stated otherwise.
In order to better understand the above technical solutions, the following describes the above technical solutions in detail with reference to the accompanying drawings and the detailed description.
An embodiment of the present application provides a terminal, fig. 1 is a schematic structural diagram of a terminal in the embodiment of the present application, and as shown in solid lines in fig. 1, the terminal 100 may include: a processor 101, a memory 102, a temperature detection module 103, and a power detection module 104;
wherein, the processor 101 is configured to obtain a state parameter of the terminal; processor 101 is coupled to memory 102, processor 101 being configured to read and execute instructions in memory 102. The temperature detection module 103 is used for detecting the temperature of the current environment of the terminal, and the electric quantity detection module 104 is used for detecting the current residual electric quantity of the terminal.
In some possible embodiments, as shown in dashed lines in fig. 1, the terminal 100 may further include a voltage detection module 105 for detecting an output voltage of a battery of the terminal.
In practical applications, the terminal may be a device that provides voice/data connectivity to a user, for example: handheld devices with wireless connectivity, vehicle-mounted devices, etc. Currently, some examples of terminals are: a mobile phone, a tablet, a notebook, a palm, a mobile internet device (mobile internet device, MID), a wearable device, a Virtual Reality (VR) device, an augmented reality (augmented reality, AR) device, a wireless terminal in a self driving (self driving), a cellular phone, a cordless phone, a session initiation protocol (session initiation protocol, SIP) phone, a personal digital assistant (personal digital assistant, PDA), a handheld device with wireless communication function, a computing device, a vehicle-mounted device, a wearable device, a terminal device in a 5G network or a terminal device in a future evolution public land mobile network (public land mobile network, PLMN), etc., which the embodiments of the present application do not limit.
It should be further noted that the wearable device may also be referred to as a wearable intelligent device, which is a generic name for intelligently designing daily wear by applying wearable technology and developing wearable devices, such as glasses, gloves, watches, clothes, shoes, etc. The wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user.
The embodiment of the application provides a control method which can be applied to the terminal. Fig. 2 is a flow chart of a control method provided in an embodiment of the present application, as shown in fig. 2, the control method may include:
s201: the processor obtains the state parameters of the terminal.
The state parameters at least comprise a temperature parameter and an electric quantity parameter, wherein the temperature parameter is used for representing the temperature of the current environment of the terminal, and the electric quantity parameter is used for representing the current residual electric quantity of the terminal.
In order to reduce power consumption, in some possible embodiments, the processor may obtain the state parameters of the terminal at certain periods. For example, the processor may send instructions to the temperature detection module and the power detection module according to a period of 5s, 10s, 1min, etc., to instruct the temperature detection module to detect a temperature parameter, and the power detection module to detect a power parameter, thereby obtaining the power parameter and the temperature parameter. Or, the processor may further instruct the power detection module to detect the power parameter and the temperature detection module to detect the temperature parameter when receiving the incoming call, so as to obtain the power parameter and the temperature parameter.
In general, a terminal may be in two operating states: the active state or the dormant state may correspond to a bright screen state for the user, that is, the terminal is currently being operated by the user, and the dormant state may correspond to a dead screen state, that is, the terminal is currently standby, and the user does not operate.
In some possible embodiments, in order to reduce power consumption, the processor may first obtain a current operating state of the terminal, and if the current operating state parameter of the terminal indicates that the terminal is in an off-screen state (may also be referred to as a sleep state), the processor instructs the temperature detection module to detect the temperature parameter and instructs the power detection module to detect the power parameter, thereby obtaining the temperature parameter and the power parameter. If the current working state parameter of the terminal indicates that the terminal is in a bright screen state, the processor does not process.
Further, the temperature detection module and the electric quantity detection module can report to the processor after detecting the temperature parameter and the electric quantity parameter (namely, the state parameter); alternatively, the temperature detection module and the power detection module may write the temperature parameter and the power parameter into the memory, and the processor reads the temperature parameter and the power parameter from the memory.
In some possible embodiments, the above state parameters may further include: and a voltage parameter for characterizing an output voltage of the battery of the terminal.
Similarly, the processor may obtain the voltage parameter at a certain period. For example, the processor may send instructions to the voltage detection module in a period of 5s, 10s, 1min, etc., to instruct the voltage detection module to detect the voltage parameter, and obtain the voltage parameter. Alternatively, the processor may further instruct the voltage detection module to detect a voltage parameter when receiving the incoming call, and obtain the voltage parameter.
Optionally, the processor may further obtain a current working state of the terminal, and if the current working state of the terminal indicates that the terminal is in the off-screen state, the processor instructs the voltage detection module to detect the voltage parameter, so as to obtain the voltage parameter. If the current working state parameter of the terminal indicates that the terminal is in a bright screen state, the processor does not process.
The voltage detection module can report the voltage parameter to the processor after detecting the voltage parameter; alternatively, the voltage detection module may write the detected voltage parameter to the memory such that the processor reads the voltage parameter from the memory, thereby the processor obtains the voltage parameter.
Further, the processor may obtain the temperature parameter, the power parameter, and the voltage parameter in different ways. For example, since the temperature parameter and the power parameter change slowly and the voltage parameter changes rapidly, the processor may also obtain the temperature parameter and the power parameter at a certain period, and obtain the voltage parameter only when receiving an incoming call.
S203: if the state parameter meets a first preset condition, the processor controls the incoming call mode of the terminal to be switched from the current mode to the target mode, wherein the incoming call current of the terminal in the current mode is larger than the incoming call current of the terminal in the target mode, and the incoming call current is the output current of the battery when the terminal is in an incoming call. The processor controls the incoming call mode of the terminal to be switched from the current mode to the target mode.
In some possible embodiments, the state parameters include a temperature parameter and a power parameter, in which case the processor performs S201 to obtain the temperature parameter and the power parameter, reads the temperature threshold and the power threshold from the memory, then compares the obtained temperature parameter and the temperature threshold, compares the obtained power parameter and the power threshold, and determines whether the above comparison result satisfies the first preset condition. That is, when the state parameters are the temperature parameter and the power parameter, S203 is: if the obtained temperature parameter is smaller than or equal to the temperature threshold value and the obtained electric quantity parameter is smaller than or equal to the electric quantity threshold value, the state parameter is indicated to meet a first preset condition, and the processor controls the incoming call mode of the terminal to be switched from the current mode to the target mode; if the obtained temperature parameter is greater than the temperature threshold value and/or the obtained electric quantity parameter is greater than the electric quantity threshold value, the state parameter is indicated to not meet the first preset condition, the process is ended, and the incoming call mode of the terminal is kept unchanged.
The temperature threshold and the electric quantity threshold are generally obtained according to experimental results, and may be stored in a memory in advance, which is not particularly limited herein.
In some possible embodiments, the state parameters include a temperature parameter, a power parameter, and a voltage parameter, in which case the processor performs S201 to obtain the temperature parameter, the power parameter, and the voltage parameter, and reads the temperature threshold, the power threshold, and the voltage threshold from the memory, then compares the obtained temperature parameter and the temperature threshold, compares the obtained power parameter and the power threshold, compares the obtained voltage parameter and the voltage threshold, and determines whether the above comparison result satisfies the first preset condition. That is, when the state parameters are the temperature parameter, the power parameter, and the voltage parameter, S203 is: if the obtained temperature parameter is smaller than or equal to the temperature threshold, the obtained electric quantity parameter is smaller than or equal to the electric quantity threshold and the obtained voltage parameter is smaller than or equal to the voltage threshold, the state parameter is indicated to meet a first preset condition, and the processor controls the incoming call mode of the terminal to be switched from the current mode to the target mode; if the obtained temperature parameter is greater than the temperature threshold, the obtained electric quantity parameter is greater than the electric quantity threshold and/or the obtained voltage parameter is smaller than or equal to the voltage threshold, the state parameter is indicated to not meet the first preset condition, the process is ended, and the incoming call mode of the terminal is kept unchanged.
Similarly, the voltage threshold is generally obtained according to the experimental result, and may be stored in the memory in advance, which is not particularly limited.
By the method, the processor determines whether the incoming call mode of the terminal needs to be controlled to be switched from the current mode to the target mode. If the processor needs to control the incoming call mode of the terminal to be switched from the current mode to the target mode, in some possible embodiments, in S203, the step of controlling the incoming call mode of the terminal to be switched from the current mode to the target mode by the processor may be: the processor controls the vibration part of the terminal to be switched from the first state to the second state and/or controls the bell part of the terminal to be switched from the third state to the fourth state; wherein the first state is that the vibration parameter of the vibration component is a first value; the second state includes the vibration parameter being a second value or the vibration component being in a disabled state; the third state is that the ringing volume of the ringing component is a third value; the fourth state includes the ring volume remaining at a third value or the ring volume remaining at a fourth value, the first value being greater than the second value, the third value being greater than the fourth value.
That is, the processor may control the vibration part of the terminal to attenuate the vibration or turn off the vibration, or the processor may control the ringing part of the terminal to maintain the ringing volume or decrease the ringing volume, or the processor may control the vibration part of the terminal to attenuate the vibration or turn off the vibration, and control the ringing part of the terminal to maintain the ringing volume or decrease the ringing volume.
Further, the processor may determine the target mode according to the state parameter before the incoming call mode of the control terminal is switched from the current mode to the target mode. For example, the processor queries a mapping relationship between the prestored state parameter and the incoming call mode, compares the obtained state parameter with the prestored state parameter, and obtains a second state and/or a fourth state corresponding to the obtained state parameter.
Specifically, at least one state parameter and one target incoming call mode may be stored in the memory in advance, and each state parameter may include only one temperature parameter, or one state parameter may also include one temperature parameter and one electric quantity parameter, or one state parameter may also include one temperature parameter, one electric quantity parameter and one voltage parameter. Wherein, the mapping relation between each state parameter and each target incoming call mode is as follows: one state parameter uniquely corresponds to one target incoming call mode. Thus, the processor may obtain the second state and/or the fourth state corresponding to the obtained state parameter by comparing the obtained state parameter with the pre-stored state parameter.
By way of example, the step of determining the target pattern by the processor from the obtained state parameters may be, and is not limited to being, the following:
In the first case, if the state parameter stored in the memory in advance is a temperature parameter, and the temperature threshold is assumed to be 0 ℃, the temperature parameter obtained by the processor is assumed to be-7 ℃, and the mapping relationship between the prestored temperature parameter and the incoming call mode may be as shown in the following table 1:
TABLE 1
Temperature parameter Target incoming call mode
-10℃ Vibration parameter is 2, ringing volume is 3
-10℃,-5℃ Vibration parameter 3, ringing volume 4
-5℃,0℃ Vibration parameter is 4, ringing volume is 5
Specifically, the processor queries the mapping relation between the prestored temperature parameter and the incoming call mode, and obtains the target incoming call mode corresponding to the obtained temperature parameter by comparing the obtained temperature parameter with the prestored temperature parameter in table 1.
The comparison results include the following possibilities:
1) The obtained temperature parameter is less than or equal to-10 ℃, and the corresponding electric mode parameter is as follows: the vibration parameter is 2, and the ringing volume is 3;
2) -10 ℃ < the obtained temperature parameter is less than or equal to-5 ℃, the corresponding electrical mode parameter is: the vibration parameter is 3, and the ringing volume is 4;
3) -5 ℃ < the obtained temperature parameter is less than or equal to-0 ℃, the corresponding electrical mode parameter is: the vibration parameter is 4 and the ringing volume is 5.
In the first case, the processor compares the obtained temperature parameter with the temperature parameter stored in advance in table 1, and the result is: the temperature parameter (-7 ℃) is less than or equal to-5 ℃ below zero at the temperature of-10 ℃. Therefore, the processor obtains the corresponding incoming call mode parameters as follows: the vibration parameter is 3 and the ringing volume is 4, i.e. the processor determines the second state (second value 3) and/or the fourth state (fourth value 4) of the target incoming call pattern.
In the second case, if the pre-stored state parameters in the memory are the temperature parameter and the power parameter, the power threshold is assumed to be 10mwh (the unit of power may be expressed by a battery capacity percentage), the temperature parameter obtained by the processor is-7 ℃, and the obtained power parameter is 5mwh, where the mapping relationship between the pre-stored temperature parameter, the pre-stored power parameter and the incoming call mode is as shown in the following table 2:
TABLE 2
Temperature parameter Electric quantity parameter Target incoming call mode
-10℃ 3mwh Vibration parameter is 2, ringing volume is 3
-10℃,-5℃ 3mwh,7mwh Vibration parameter 3, ringing volume 4
-5℃,0℃ 7mwh,10mwh Vibration parameter is 4, ringing volume is 5
Specifically, the processor queries a mapping relation between a prestored temperature parameter and a prestored electric quantity parameter and an incoming call mode, and obtains a target incoming call mode corresponding to the obtained temperature parameter and the obtained electric quantity parameter by comparing the obtained temperature parameter, the obtained electric quantity parameter with the prestored temperature parameter and the prestored electric quantity parameter in table 2.
The comparison results include the following possibilities:
1) The obtained temperature parameter is less than or equal to-10 ℃ and the obtained electric quantity parameter is less than or equal to 3mwh, and the corresponding electric mode parameters are as follows: the vibration parameter is 2, and the ringing volume is 3;
2) -10 ℃ < obtained temperature parameter +.5 ℃ and 3mwh < obtained electrical quantity parameter +.7 mwh, the corresponding electrical mode parameters are: the vibration parameter is 3, and the ringing volume is 4;
3) -5 ℃ < obtained temperature parameter ∈0deg.C and 7mwh < obtained electrical quantity parameter ∈10mwh, the corresponding electrical mode parameters are: the vibration parameter is 4 and the ringing volume is 5.
In the second case, the processor compares the obtained temperature parameter and the obtained electric quantity parameter with the temperature parameter and the electric quantity parameter stored in advance in table 2, and the result is: -10 ℃ < obtained temperature parameter (-7 ℃) less than or equal to-5 ℃,3mwh < obtained electrical quantity parameter (5 mwh) less than or equal to 7mwh. Therefore, the processor obtains the corresponding incoming call mode parameters as follows: the vibration parameter is 3 and the ringing volume is 4, i.e. the processor determines the second state (second value 3) and/or the fourth state (fourth value 4) of the target incoming call pattern.
In a third case, if the state parameters include a temperature parameter, an electric quantity parameter and a voltage parameter, the temperature threshold is assumed to be 0 ℃, the electric quantity threshold is assumed to be 10mwh, the voltage threshold is assumed to be 4V, the temperature parameter obtained by the processor is assumed to be-7 ℃, the electric quantity parameter obtained by the processor is assumed to be 5mwh, the voltage parameter obtained by the processor is assumed to be 2.5V, and the mapping relation among the prestored temperature parameter, the prestored electric quantity parameter, the prestored voltage parameter and the incoming call mode is shown in the following table:
TABLE 3 Table 3
Figure SMS_1
Specifically, the processor queries a mapping relationship between a prestored temperature parameter, a prestored electric quantity parameter, a prestored voltage parameter and an incoming call mode, and obtains a target incoming call mode corresponding to the obtained temperature parameter, the obtained electric quantity parameter, the obtained voltage parameter and the prestored temperature parameter, the prestored electric quantity parameter and the prestored voltage parameter in table 3 by comparing the obtained temperature parameter, the obtained electric quantity parameter and the obtained voltage parameter.
The comparison results include the following possibilities:
1) The obtained temperature parameter is less than or equal to-10 ℃ and the obtained electric quantity parameter is less than or equal to 3mwh and the obtained voltage parameter is less than or equal to 2V, and the corresponding electric mode parameters are as follows: the vibration parameter is 2, and the ringing volume is 3;
2) -10 ℃ < obtained temperature parameter +.5 ℃ and 3mwh < obtained electrical quantity parameter +.7 mwh and 2V < obtained voltage parameter +.3V, then the corresponding electrical mode parameters are: the vibration parameter is 3, and the ringing volume is 4;
3) -5 ℃ < obtained temperature parameter ∈0deg.C and 7mwh < obtained electrical quantity parameter ∈10mwh and 3V < obtained voltage parameter ∈4V, the corresponding electrical mode parameters are: the vibration parameter is 4, and the ringing volume is 5;
In the third case, the processor compares the obtained temperature parameter, the obtained power parameter, the obtained voltage parameter, and the temperature parameter, the power parameter, and the voltage parameter stored in advance in table 3, and the result is: -10 ℃ < obtained temperature parameter (-7 ℃) less than or equal to-5 ℃ and 7mwh < obtained electrical quantity parameter (5 mwh) less than or equal to 10mwh and 3V < obtained voltage parameter (2.5V) less than or equal to 4V. Therefore, the processor obtains the corresponding incoming call mode parameters as follows: the vibration parameter is 3 and the ringing volume is 4, i.e. the processor determines the second state (second value 3) and/or the fourth state (fourth value 4) of the target incoming call pattern.
In some possible implementations, the processor may also determine the target mode based on the current mode. Specifically, before the incoming call mode of the control terminal is switched from the current mode to the target mode, the processor may further include: acquiring a first state and a third state of a terminal; if the first state is that the vibration parameter is a first value and the third state is that the ringing volume is a third value, determining that the vibration parameter is a second value or disabling the vibration component and keeping the ringing volume at the third value; or if the first state is that the vibration parameter is a first value and the third state is that the ringing volume is a third value, determining that the vibration parameter is kept at the first value and determining that the ringing volume is a fourth value; if the first state is that the vibration parameter is a first value and the third state is that the ringing volume is a third value, the vibration parameter is determined to be a second value or the vibration component is disabled, and the ringing volume is determined to be a fourth value. The second value and the fourth value are generally obtained according to the experimental result, and may be stored in a memory in advance, and are not particularly limited herein.
Illustratively, the processor determining the target mode from the current mode may and is not limited to the following:
in the first case, if the current incoming call mode of the terminal is ringing and vibrating, the processor keeps the state of the ringing component unchanged (keeps the ringing volume at the third value), and controls the vibration component to switch from the first state to the second state, that is, switches the vibration parameter of the vibration component from the first value to the second value (attenuates vibration), or switches the vibration parameter of the vibration component from the first value to the disabling state (turns off vibration).
In the second case, if the current incoming call mode of the terminal is ringing and vibrating, the processor keeps the state of the vibrating member unchanged (keeps the vibration parameter at the first value), and controls the ringing member to switch from the third state to the fourth state, that is, switches the ringing volume from the third value to the fourth value (decreases the ringing volume).
In a third case, if the current incoming call mode of the terminal is ringing and vibrating, the processor controls the vibration part to switch from the first state to the second state, that is, switches the vibration parameter of the vibration part from the first value to the second value (attenuates vibration), or switches the vibration parameter of the vibration part from the first value to the disabling state (turns off vibration), and controls the ringing part to switch from the second state to the fourth state, that is, switches the ringing volume from the third value to the fourth value (reduces ringing volume).
In the fourth case, if the current incoming call mode of the terminal is ringing, the processor keeps the state of the vibration part unchanged (keeps the vibration parameter at the first value), and controls the ringing part to switch from the second state to the fourth state, that is, switches the ringing volume from the third value to the fourth value (reduces the ringing volume).
In a fifth case, if the current incoming call mode of the terminal is vibration, the processor keeps the state of the ringing component unchanged (keeps the ringing volume at the third value), and controls the vibration component to switch from the first state to the second state, that is, switches the vibration parameter of the vibration component from the first value to the second value (reduces vibration).
Through the method, the processor judges that the obtained state parameter meets the first preset condition, the target incoming call mode is obtained according to the obtained state parameter or the current mode, and then the processor controls the incoming call mode of the terminal to be switched from the current mode to the target mode.
It should be noted that, in the embodiments of the present application, the vibration parameter refers to an amplitude and/or a frequency of a mechanical wave generated by a vibration component (such as a vibration generator). The vibration generator may be a motor, an ultrasonic generator, or the like. The ringing component can adjust the tone, tone color and the like of the ringing while adjusting the ringing volume. The ringing component may be a speaker, sound card, or the like.
In some possible embodiments, the processor may further include, before the incoming call mode of the control terminal is switched from the current mode to the target mode:
s205: the processor outputs the first prompt message or outputs the first operation interface.
The first prompting message is used for prompting the user to switch the incoming call mode from the current mode to the target mode, and the first operation interface is used for indicating the user to select the target mode.
Specifically, after determining that the incoming call mode needs to be switched, the processor may select the following operations:
in the first operation, as shown in fig. 3, the processor prompts the user that the processor has switched the incoming call mode by itself due to low temperature and low power by outputting a first prompt message, so that the user can learn that the incoming call mode has been changed, and can reset the incoming call mode according to own preference after charging the terminal.
In a second operation, as shown in fig. 4, the processor prompts the user to select whether to switch the incoming call mode through the first output interface. If the user selects not to switch the incoming call mode, the processor does not switch the incoming call mode; if the user selects to switch incoming call mode, the processor switches incoming call modes according to some possible implementations in S203. Alternatively, as shown in fig. 5, the processor may further prompt the user to switch the incoming call mode and provide the user with an optional target incoming call mode through the first output interface. Specifically, as shown in table 4 below, the above optional target incoming call modes may be pre-stored in the memory, and the processor may prompt the user to select one of the target incoming call modes according to the pre-stored optional target incoming call modes, and the processor switches the incoming call modes according to the received target incoming call mode selected by the user according to some possible implementation manners in S203.
TABLE 4 Table 4
Selectable target incoming call mode
Vibration parameter 2, ringing volume 3 (vibration + ringing lower)
Vibration parameter 3, ringing volume 4 (vibration + ringing moderate)
Vibration parameter 4, ringing volume 5 (vibration + ringing higher)
In some possible embodiments, the processor may further store the current incoming call mode (the first incoming call mode) in the memory, and add an identifier to the current modification operation, and record the operation of switching the incoming call mode. The processor then obtains the status parameters at a preset detection period (e.g., 10 minutes). For example, if the state parameter includes a temperature parameter and an electrical quantity parameter, the processor compares the temperature parameter to a temperature threshold, compares the electrical quantity parameter to an electrical quantity threshold, and if the temperature parameter is greater than the temperature threshold and the electrical quantity parameter is greater than the electrical quantity threshold, the processor may read a first incoming call mode from the memory, and switch the incoming call mode to the first incoming call mode.
Specifically, the processor may control the terminal to switch the incoming call mode through an intelligent sensor hub (sensor hub) or an application processing system (application processor, AP) or an Operating System (OS), which is not limited in the embodiment of the present application.
As can be seen from the foregoing, by adopting the control method in the foregoing embodiment, the terminal may control the terminal to switch the incoming call mode (e.g. reduce the ringing volume and/or reduce the vibration) by obtaining the current temperature of the current environment and the current remaining power of the terminal, so that the terminal is in a low-temperature low-power state, and the terminal is prevented from being turned off due to the sudden increase of the battery current caused by the incoming call, thereby reducing the occurrence probability of missed calls.
The embodiments of the present application are described in detail below in conjunction with specific scenarios.
For example, assuming that the temperature threshold is 0 ℃, the electric quantity threshold is 10mwh, the voltage threshold is 4V, the mapping relationship among the pre-stored temperature parameter, the electric quantity parameter, the voltage parameter and the incoming call mode is shown in table 3, the terminal is put in the packet by the user, and as shown in fig. 6, the processor performs the following operations:
s601: the processor acquires the working state of the terminal.
S602: if the current working state of the terminal indicates that the terminal is in a screen-off state (dormant state), the processor sends an instruction to the temperature detection module and the electric quantity detection module in a period of 10s, instructs the temperature detection module to detect temperature parameters and instructs the electric quantity detection module to detect electric quantity parameters. The processor then obtains a temperature parameter of-7 c and a charge parameter of 5mwh.
S603: when the terminal receives an incoming call, the processor sends an instruction to the voltage detection module to instruct the voltage detection module to detect the voltage parameter. The processor then obtains the voltage parameter 2.5V.
S604: the processor reads the temperature threshold from the memory at 0 ℃, the charge threshold at 10mwh, and the voltage threshold at 4V. The processor compares the obtained temperature parameter with the temperature threshold, compares the obtained electric quantity parameter with the electric quantity threshold, compares the voltage parameter with the voltage threshold, and the comparison result is as follows: the obtained temperature parameter (-7 ℃) is less than or equal to a temperature threshold (0 ℃), the obtained electric quantity parameter (5 mwh) is less than or equal to an electric quantity threshold (10 mwh), and the obtained voltage parameter 2.5V is less than or equal to a voltage threshold 4V, which indicates that the state parameter meets a first preset condition, and the processor determines that the incoming call mode of the terminal needs to be controlled to be switched from the current mode to the target mode.
S605: the processor outputs a first operator interface as shown in fig. 5, indicating that the user selects the target mode.
S606: if the user does not select the target incoming call mode within a preset first time (for example, 5 seconds), the processor automatically switches the incoming call mode.
As can be seen from the foregoing, by adopting the control method in the foregoing embodiment, the terminal may control the terminal to switch the incoming call mode (e.g. reduce the ringing volume and/or reduce the vibration) by obtaining the temperature of the current environment of the terminal, the current remaining power of the terminal, and the output voltage of the battery of the terminal, so that the terminal is prevented from being turned off due to the sudden increase of the battery current caused by the incoming call in a low-temperature, low-power, low-voltage and off-screen state, thereby reducing the occurrence probability of missed calls.
Based on the same inventive concept as the method, the embodiment of the application also provides a control device of the terminal. The device can realize the functions executed by the terminal in the above embodiments, and the functions can be realized by executing corresponding software by hardware. The hardware or software comprises one or more modules corresponding to the functions.
For example, fig. 7 is a schematic structural diagram of a control device in the embodiment of the present application, as shown by a solid line in fig. 7, a control device 700 of the terminal includes: the module 701 and the control module 702 are obtained. The obtaining module 701 is configured to obtain a state parameter of the terminal, where the state parameter at least includes a temperature parameter and an electric quantity parameter, the temperature parameter is used to represent a temperature of an environment where the terminal is currently located, and the electric quantity parameter is used to represent a current remaining electric quantity of the terminal; and the control module 702 is configured to control the incoming call mode of the terminal to switch from the current mode to the target mode when the state parameter satisfies a first preset condition, wherein the incoming call current of the terminal in the current mode is greater than the incoming call current of the terminal in the target mode, and the incoming call current is the output current of the battery when the terminal is incoming call.
In some possible embodiments, the obtaining module is further configured to obtain the status parameter when the terminal receives the incoming call;
Or, the state parameter is obtained according to the detection period.
In some possible embodiments, the obtaining module may be further configured to obtain a current working state of the terminal; if the working state is the dormant state, the obtaining module obtains the state parameters.
In some possible embodiments, if the temperature parameter is less than or equal to the temperature threshold and the electrical quantity parameter is less than or equal to the electrical quantity threshold, the state parameter is indicated to satisfy the first preset condition; and if the temperature parameter is greater than the temperature threshold and/or the electric quantity parameter is greater than the electric quantity threshold, indicating that the state parameter does not meet the first preset condition.
In some possible implementations, the state parameters further include: the voltage parameter is used for representing the output voltage of the battery of the terminal; if the temperature parameter is less than or equal to the temperature threshold, the electric quantity parameter is less than or equal to the electric quantity threshold and the voltage parameter is less than or equal to the voltage threshold, the state parameter is indicated to meet a first preset condition; if the temperature parameter is greater than the temperature threshold, the power parameter is greater than the power threshold, and/or the voltage parameter is less than or equal to the voltage threshold, the state parameter is indicated to not meet the first preset condition.
In some possible implementations, the control module may also be configured to: the control module controls the vibration part of the terminal to be switched from the first state to the second state and/or controls the bell part of the terminal to be switched from the third state to the fourth state; wherein the first state is that the vibration parameter of the vibration component is a first value; the second state includes the vibration parameter being a second value or the vibration component being in a disabled state; the third state is that the ringing volume of the ringing component is a third value; the fourth state includes the ring volume remaining at a third value or the ring volume remaining at a fourth value, the first value being greater than the second value, the third value being greater than the fourth value.
In some possible embodiments, the apparatus may further comprise: the determining module is used for determining the target mode according to the state parameter or the current mode before the control module controls the incoming call mode of the terminal to be switched from the current mode to the target mode.
In some possible implementations, the determination module may also be configured to: inquiring a mapping relation between a pre-stored state parameter and an incoming call mode; and obtaining a second state and/or a fourth state corresponding to the state parameter.
In some possible implementations, the determination module may also be configured to: acquiring a first state and a third state of a terminal; if the first state is that the vibration parameter is a first value and the third state is that the ringing volume is a third value, determining that the vibration parameter is a second value or disabling the vibration component and keeping the ringing volume at the third value; or if the first state is that the vibration parameter is a first value and the third state is that the ringing volume is a third value, determining that the vibration parameter is kept at the first value and determining that the ringing volume is a fourth value; or if the first state is that the vibration parameter is a first value and the third state is that the ringing volume is a third value, determining that the vibration parameter is a second value or disabling the vibration component and determining that the ringing volume is a fourth value.
In some possible embodiments, as shown in dashed lines in fig. 7, the apparatus 700 may further comprise: the output module 703 outputs a first prompting message, where the first prompting message is used to prompt that the incoming call mode is switched from the current mode to the target mode; or outputting a first operation interface, wherein the first operation interface is used for indicating the user to select the target mode.
Based on the same inventive concept as the method, the embodiment of the application also provides a terminal. Fig. 8 is a schematic structural diagram of another terminal in the embodiment of the present application, as shown in fig. 8, in which a terminal 800 employs general-purpose computer hardware, including a processor 801, a memory 802, a bus 803, an input device 804 and an output device 805.
In some possible implementations, the memory 802 may include computer storage media in the form of volatile and/or nonvolatile memory, such as read only memory and/or random access memory. Memory 802 may store an operating system, application programs, other program modules, executable code, program data, user account opening data, user subscription data, and the like.
Input device(s) 804 may be used to input commands and information to the terminal, input device(s) 804 such as a keyboard or pointing device, such as a mouse, trackball, touch pad, microphone, joystick, game pad, satellite dish, scanner, or the like. These input devices may be connected to the processor 801 via a bus 803.
Output device 805 may be used for terminal output information, and in addition to the monitor, output device 805 may also be provided for other peripheral outputs, such as speakers and/or printing devices, which may also be connected to processor 801 via bus 803.
The terminal may be connected to a network, e.g., to a local area network (local area network, LAN), through a network interface 806. In a networked environment, computer-executable instructions stored in the control device may be stored in a remote memory storage device, and are not limited to being stored locally.
When the processor 801 in the terminal executes the executable code or the application program stored in the memory 802, the terminal executes the method steps of the terminal in the above embodiments, for example, S201, S203, S205, and the like. The specific implementation process is referred to the above embodiments, and will not be described herein.
Further, the memory 802 stores therein computer-executable instructions for realizing the functions of the acquisition module 701, the control module 702, and the output module 703 in fig. 7. The functions/implementation of the obtaining module 701, the control module 702 and the output module 703 in fig. 7 may be implemented by the processor 801 in fig. 8 calling computer-executable instructions stored in the memory 802, and the specific implementation and functions refer to the above-mentioned related embodiments.
Based on the same inventive concept as the above-described method, the present embodiments provide a computer-readable storage medium including a computer program, which when executed on a computer, causes the computer to execute the control method provided by the embodiments of the present application.
Based on the same inventive concept as the above-described method, the present embodiments provide a computer program for executing the control method provided by the present embodiments when the computer program is executed by a computer.
Those of skill in the art will appreciate that the functions described in connection with the various illustrative logical blocks, modules, and algorithm steps described in connection with the disclosure herein may be implemented as hardware, software, firmware, or any combination thereof. If implemented in software, the functions described by the various illustrative logical blocks, modules, and steps may be stored on a computer readable medium or transmitted as one or more instructions or code and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media corresponding to tangible media, such as data storage media, or communication media including any medium that facilitates transfer of a computer program from one place to another (e.g., according to a communication protocol). In this manner, a computer-readable medium may generally correspond to (1) a non-transitory tangible computer-readable storage medium, or (2) a communication medium, such as a signal or carrier wave. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, code and/or data structures for implementing the techniques described herein. The computer program product may include a computer-readable medium.
By way of example, and not limitation, such computer-readable storage media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the instructions are transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. It should be understood, however, that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transitory media, but are actually directed to non-transitory tangible storage media. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, digital Versatile Disc (DVD), and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The instructions may be executed by one or more processors, such as one or more Digital Signal Processors (DSPs), general purpose microprocessors, application Specific Integrated Circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Thus, the term "processor" as used herein may refer to any of the foregoing structure or any other structure suitable for implementation of the techniques described herein. Additionally, in some aspects, the functions described by the various illustrative logical blocks, modules, and steps described herein may be provided within dedicated hardware and/or software modules configured for encoding and decoding, or incorporated in a combination codec. Moreover, the techniques may be fully implemented in one or more circuits or logic elements.
The techniques of this disclosure may be implemented in a wide variety of devices or apparatuses including a wireless handset, an Integrated Circuit (IC), or a set of ICs (e.g., a chipset). The various components, modules, or units are described in this application to emphasize functional aspects of the devices for performing the disclosed techniques but do not necessarily require realization by different hardware units. Indeed, as described above, the various units may be combined in a codec hardware unit in combination with suitable software and/or firmware, or provided by an interoperable hardware unit (including one or more processors as described above).
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
The foregoing is merely illustrative of specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions easily conceivable by those skilled in the art within the technical scope of the present application should be covered in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A control method, characterized by comprising:
acquiring the current working state of a terminal;
if the working state is an activated state, not processing;
if the working state is a dormant state, when the terminal receives an incoming call, state parameters of the terminal are obtained, wherein the state parameters at least comprise temperature parameters, electric quantity parameters and voltage parameters, the temperature parameters are used for representing the temperature of the current environment of the terminal, the electric quantity parameters are used for representing the current residual electric quantity of the terminal, and the voltage parameters are used for representing the output voltage of a battery of the terminal;
If the state parameter meets a first preset condition, outputting a first operation interface, wherein the first operation interface is used for indicating a user to select a target mode;
if the message of selecting the target mode by the user is not received in the preset time, automatically controlling the incoming call mode of the terminal to be switched from the current mode to the target mode, wherein the incoming call current of the terminal in the current mode is larger than the incoming call current of the terminal in the target mode, and the incoming call current is the output current of a battery when the terminal is in an incoming call;
if the temperature parameter is smaller than or equal to a temperature threshold, the electric quantity parameter is smaller than or equal to an electric quantity threshold and the voltage parameter is smaller than or equal to a voltage threshold, the state parameter is indicated to meet the first preset condition; if the temperature parameter is greater than the temperature threshold, the electric quantity parameter is greater than the electric quantity threshold and/or the voltage parameter is less than or equal to the voltage threshold, the state parameter is indicated to not meet the first preset condition;
the step of controlling the incoming call mode of the terminal to be switched from the current mode to the target mode comprises the following steps:
controlling the vibration part of the terminal to switch from a first state to a second state, and controlling the ringing part of the terminal to switch from a third state to a fourth state; wherein the first state is that a vibration parameter of the vibration member is a first value; the second state includes the vibration parameter being a second value or the vibration component being in a disabled state; the third state is that the ringing volume of the ringing component is a third value; the fourth state includes the ring volume remaining at a third value or the ring volume remaining at a fourth value, the first value being greater than the second value, the third value being greater than the fourth value.
2. The method according to claim 1, wherein before said controlling the incoming call mode of the terminal to switch from the current mode to the target mode, the method further comprises:
and determining the target mode according to the state parameter or the current mode.
3. The method of claim 2, wherein said determining said target pattern from said state parameter comprises:
inquiring a mapping relation between a pre-stored state parameter and an incoming call mode;
and obtaining the second state and/or the fourth state corresponding to the state parameter.
4. The method of claim 2, wherein said determining said target mode from said current mode comprises:
obtaining the first state and the third state of the terminal;
if the first state is the first value of the vibration parameter and the third state is the third value of the ringing volume, determining that the vibration parameter is the second value or disabling the vibration component and keeping the ringing volume at the third value; or alternatively, the first and second heat exchangers may be,
if the first state is that the vibration parameter is a first value and the third state is that the ringing volume is a third value, determining that the vibration parameter is kept at the first value and determining that the ringing volume is a fourth value; or alternatively, the first and second heat exchangers may be,
And if the first state is that the vibration parameter is a first value and the third state is that the ringing volume is a third value, determining that the vibration parameter is a second value or disabling the vibration component and determining that the ringing volume is a fourth value.
5. The method according to any one of claims 1 to 4, further comprising:
and outputting a first prompting message, wherein the first prompting message is used for prompting the incoming call mode to be switched from the current mode to the target mode.
6. A control apparatus, characterized by comprising:
the acquisition module is used for acquiring the current working state of the terminal; if the working state is an activated state, not processing; if the working state is a dormant state, when the terminal receives an incoming call, acquiring state parameters of the terminal, wherein the state parameters at least comprise a temperature parameter, an electric quantity parameter and a voltage parameter, the temperature parameter is used for representing the temperature of the current environment of the terminal, the electric quantity parameter is used for representing the current residual electric quantity of the terminal, and the voltage parameter is used for representing the output voltage of a battery of the terminal;
the control module is used for outputting a first operation interface when the state parameter meets a first preset condition, and the first operation interface is used for indicating a user to select a target mode; the method comprises the steps that a message of selecting a target mode by a user is not received in preset time, and the incoming call mode of the terminal is automatically controlled to be switched from a current mode to the target mode, wherein incoming call current of the terminal in the current mode is larger than that of the terminal in the target mode, and the incoming call current is output current of a battery when the terminal is in an incoming call;
The control module is further configured to: controlling the vibration part of the terminal to switch from a first state to a second state, and controlling the ringing part of the terminal to switch from a third state to a fourth state; wherein the first state is that a vibration parameter of the vibration member is a first value; the second state includes the vibration parameter being a second value or the vibration component being in a disabled state; the third state is that the ringing volume of the ringing component is a third value; the fourth state includes the ring volume remaining at a third value or the ring volume remaining at a fourth value, the first value being greater than the second value, the third value being greater than the fourth value;
if the temperature parameter is smaller than or equal to a temperature threshold, the electric quantity parameter is smaller than or equal to an electric quantity threshold and the voltage parameter is smaller than or equal to a voltage threshold, the state parameter is indicated to meet the first preset condition; and if the temperature parameter is greater than the temperature threshold, the electric quantity parameter is greater than the electric quantity threshold and/or the voltage parameter is smaller than or equal to the voltage threshold, the state parameter is indicated to not meet the first preset condition.
7. The apparatus of claim 6, wherein the apparatus further comprises:
the determining module is used for determining the target mode according to the state parameter or the current mode before the control module controls the incoming call mode of the terminal to be switched from the current mode to the target mode.
8. The apparatus of claim 7, wherein the means for determining is further for:
inquiring a mapping relation between a pre-stored state parameter and an incoming call mode;
and obtaining the second state and/or the fourth state corresponding to the state parameter.
9. The apparatus of claim 7, wherein the means for determining is further for:
obtaining the first state and the third state of the terminal;
if the first state is the first value of the vibration parameter and the third state is the third value of the ringing volume, determining that the vibration parameter is the second value or disabling the vibration component and keeping the ringing volume at the third value; or alternatively, the first and second heat exchangers may be,
if the first state is that the vibration parameter is a first value and the third state is that the ringing volume is a third value, determining that the vibration parameter is kept at the first value and determining that the ringing volume is a fourth value; or alternatively, the first and second heat exchangers may be,
And if the first state is that the vibration parameter is a first value and the third state is that the ringing volume is a third value, determining that the vibration parameter is a second value or disabling the vibration component and determining that the ringing volume is a fourth value.
10. The apparatus according to any one of claims 6 to 9, further comprising:
the output module is used for outputting a first prompt message, and the first prompt message is used for prompting that the incoming call mode is switched from the current mode to the target mode.
11. A terminal, comprising: a processor and a memory, the processor being coupled to the memory, the processor being configured to read and execute instructions in the memory to implement the control method of any one of claims 1 to 5.
12. A computer readable storage medium comprising a computer program which, when executed on a computer, causes the computer to perform the method of any one of claims 1 to 5.
CN202011395511.XA 2020-12-02 2020-12-02 Control method, control device, terminal and readable storage medium Active CN114584649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011395511.XA CN114584649B (en) 2020-12-02 2020-12-02 Control method, control device, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011395511.XA CN114584649B (en) 2020-12-02 2020-12-02 Control method, control device, terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN114584649A CN114584649A (en) 2022-06-03
CN114584649B true CN114584649B (en) 2023-06-06

Family

ID=81769835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011395511.XA Active CN114584649B (en) 2020-12-02 2020-12-02 Control method, control device, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN114584649B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645979A (en) * 2008-08-06 2010-02-10 比亚迪股份有限公司 Method, system and mobile terminal for switching working modes of mobile terminal
CN108769444A (en) * 2018-06-14 2018-11-06 佛山长意云信息技术有限公司 A kind of incoming call reminding method, device, computer equipment and storage medium
CN110493470A (en) * 2019-08-27 2019-11-22 广东小天才科技有限公司 A kind of electronic equipment and talking state control method applied to electronic equipment
CN111373726A (en) * 2018-10-15 2020-07-03 华为技术有限公司 Parameter adjustment method and terminal for audio service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645979A (en) * 2008-08-06 2010-02-10 比亚迪股份有限公司 Method, system and mobile terminal for switching working modes of mobile terminal
CN108769444A (en) * 2018-06-14 2018-11-06 佛山长意云信息技术有限公司 A kind of incoming call reminding method, device, computer equipment and storage medium
CN111373726A (en) * 2018-10-15 2020-07-03 华为技术有限公司 Parameter adjustment method and terminal for audio service
CN110493470A (en) * 2019-08-27 2019-11-22 广东小天才科技有限公司 A kind of electronic equipment and talking state control method applied to electronic equipment

Also Published As

Publication number Publication date
CN114584649A (en) 2022-06-03

Similar Documents

Publication Publication Date Title
CN106912089B (en) Method and device for reducing power consumption in mobile electronic equipment
WO2016165062A1 (en) Terminal control method, device and terminal
CN107770759B (en) Bluetooth voice link establishing method and device, storage medium and mobile terminal
JP7468830B2 (en) Energy efficient display processing method and device - Patents.com
CN109525012B (en) Charging device, charging control method, charging control system, and storage medium
CN110864401B (en) System debugging method, system debugging device and storage medium
CN111158455A (en) Power consumption control method and device, storage medium and terminal
WO2008070481A1 (en) Power consumption management for functional preservation in a battery-powered electronic device
CN112532145B (en) Motor vibration control method and electronic device
CN111179861A (en) Brightness calibration method and device, storage medium and terminal
CN112637422B (en) Vibration adjustment method, device, storage medium and electronic equipment
CN114584649B (en) Control method, control device, terminal and readable storage medium
CN113765445B (en) Method for controlling vibration of electronic equipment, audio coding and decoding module and electronic equipment
CN116137639A (en) Cross-equipment audio data transmission method and electronic equipment
CN116231815B (en) Method for controlling charging and electronic equipment
WO2023016337A1 (en) Electronic device and charging control method for electronic device
CN113039518B (en) Playing control method and device, computer readable storage medium and electronic equipment
CN110336918A (en) Bright screen control method, device, storage medium and mobile terminal
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
CN106210325B (en) Method, device and terminal for setting incoming call ringtone of social application
CN108710558A (en) Progress control method and device for computer
CN111201522A (en) Universal serial bus equipment and power saving method thereof
CN113709290B (en) Processing device, processing method and electronic equipment
CN116827205B (en) Control method of motor vibration, electronic device and readable storage medium
EP4283830A1 (en) Electronic device and power supply method for smart power amplifier

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