CN115720248A - Sound mode switching method and electronic equipment - Google Patents

Sound mode switching method and electronic equipment Download PDF

Info

Publication number
CN115720248A
CN115720248A CN202110998713.1A CN202110998713A CN115720248A CN 115720248 A CN115720248 A CN 115720248A CN 202110998713 A CN202110998713 A CN 202110998713A CN 115720248 A CN115720248 A CN 115720248A
Authority
CN
China
Prior art keywords
mode
user
preset
electronic equipment
environment
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.)
Pending
Application number
CN202110998713.1A
Other languages
Chinese (zh)
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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202110998713.1A priority Critical patent/CN115720248A/en
Priority to PCT/CN2022/091028 priority patent/WO2023024565A1/en
Publication of CN115720248A publication Critical patent/CN115720248A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • 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)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a switching method of a sound mode and electronic equipment, relates to the technical field of terminals, and can intelligently push a switching prompt to a user, so that the efficiency of switching a ringing mode is improved. The method comprises the steps that the electronic equipment obtains a sound mode of the electronic equipment and current scene information of the electronic equipment; wherein, the sound mode is a mute mode, a vibration mode or a ring mode; the scene information includes an environmental sound of an environment in which the electronic device is located. And under the condition that the sound mode is a mute mode or a vibration mode, if the scene information meets a first preset condition, the electronic equipment displays first prompt information. The scene information meeting the first preset condition comprises the following steps: the ambient sound rises from the first volume range to a second volume range; the first prompt message is used for requesting the user to confirm whether to switch to the ringing mode. The electronic equipment responds to a first operation of a user on the first prompt message and switches the sound mode to the ringing mode.

Description

Sound mode switching method and electronic equipment
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method for switching a voice mode and an electronic device.
Background
Electronic devices such as mobile phones and tablets generally provide three sound modes, namely a ringing mode, a vibration mode and a mute mode. By adopting the ringing mode, the missed call can be avoided, but the ringing is likely to disturb people around. Particularly in quiet or indoor environments, the interference to surrounding people is particularly prominent. By adopting the vibration mode or the mute mode, the interference to surrounding people can be avoided, but the incoming call is easy to miss. Especially in noisy or outdoor environments, the probability of missed calls is greater.
Therefore, in order to avoid disturbing surrounding people in a quiet or indoor environment and to avoid a missed call in a noisy or outdoor environment, the user needs to frequently switch between the ringer mode and the vibrate mode or between the ringer mode and the quiet mode. For example, in an outdoor setting, a user may place a cell phone in a bag rather than in a closed-person pocket, and in such a setting, the user may need to switch the sound mode to a ringer mode.
However, the inventor finds that in the process of implementing the embodiment of the application: in the prior art, a user needs multi-step operation to switch the sound mode, the operation process is complicated, and quick switching is not facilitated.
Disclosure of Invention
The application provides a switching method of a voice mode and an electronic device, which can intelligently identify switching intentions of a user and push switching prompts, so that the switching efficiency of the voice mode can be improved.
In a first aspect, an embodiment of the present application provides a method for switching a sound mode, where the method may be applied to an electronic device. The electronic equipment supports three sound modes including a mute mode, a vibration mode and a ring mode. Moreover, the method is mainly used in the scene of switching from the mute mode or the vibration mode to the ring mode. The electronic equipment acquires a sound mode of the electronic equipment and current scene information of the electronic equipment, wherein the scene information comprises environmental sound of the environment where the electronic equipment is located. When the sound mode is the mute mode or the vibration mode, if the scene information satisfies a condition (marked as a first preset condition) for switching to the ring mode, the electronic device displays a prompt message (i.e., a first prompt message) for requesting the user to confirm whether to switch to the ring mode. Therefore, the user can be automatically prompted to switch the ringing mode under the condition that the condition is met. The scene information meeting the first preset condition comprises the following steps: the ambient sound rises from the volume range of a quiet environment (denoted as the first volume range) to within the volume range of a noisy environment (denoted as the second volume range). It will be appreciated that an increase in ambient sound from the first volume range to the second volume range indicates that the handset is moving from a relatively quiet environment to a relatively noisy environment, and that there is often a need to switch to a ringer mode in order to avoid missed calls. Then, the electronic device may switch the sound mode to the ring mode upon receiving a first operation (e.g., a click operation on a "confirm" button) of the user on the first prompt message.
In summary, with the method of the embodiment of the present application, the electronic device may identify whether the electronic device needs to be switched to the ring mode when the electronic device is in the mute mode or the vibration mode. Thus, intelligent identification of the need for switching the electronic device to the ringer mode can be achieved. And, in case that it is recognized that the condition for switching to the ring mode is satisfied (e.g. the electronic device moves from a quiet environment to a noisy environment), the electronic device may automatically prompt the user to confirm whether to switch to the ring mode, so that the switching of the sound mode accurately satisfies the user's requirement. After the user confirms through the prompt, the electronic equipment can switch to the ring mode. Without requiring a user to perform a multi-step operation (as shown in fig. 1) to effect the switching. Thus, the electronic equipment can improve the intelligence and convenience of switching the mute mode or the vibration mode to the ring mode.
In a possible design manner of the first aspect, the context information further includes indication information (denoted as first indication information) indicating whether the electronic device is connected to the wearable device. Wherein, wearable equipment includes at least one in bracelet, earphone, intelligent wrist-watch and the smart glasses. If the first indication information indicates that the electronic device is connected with the wearable device, the condition for switching to the ring mode is not satisfied. In this case, the electronic device may prompt the user for an incoming call, a message, etc. through the wearable device, which generally does not result in missed calls, messages, etc. So that there is no need to switch to ring mode for alerting. On the contrary, if the first indication information indicates that the electronic device is not connected with the wearable device, the condition of switching to the ring mode is met. In this case, the electronic device needs to switch to a ring mode to prompt the user for an incoming call, a message, or the like.
That is, with the method of the present embodiment, the electronic device may determine a scenario in which the electronic device is not connected to the wearable device as a scenario satisfying the switch to the ring mode. Thereby, missed calls or messages and the like caused by the fact that the wearable device is not connected can be avoided.
In a possible design manner of the first aspect, the context information further includes indication information (denoted as second indication information) for indicating whether the wearable device is worn on the user. Wherein, wearable equipment includes at least one in bracelet, earphone, intelligent wrist-watch and the smart glasses. If the second indication information indicates that the wearable device is worn on the user, the condition for switching to the ring mode is not satisfied. In this case, the electronic device may prompt the user for an incoming call, a message, etc. through the wearable device, which generally does not result in missed calls, messages, etc. So that there is no need to switch to ring mode for alerting. Otherwise, the second indication information indicates that the wearable device is not worn on the user, and a condition for switching to the ringing mode is met. In this case, even if the wearable device is connected to the electronic device, the electronic device may be missed because the wearable device is not worn on the user, and thus the electronic device needs to be switched to the ringer mode to prompt the user.
That is, with the method of the present embodiment, the electronic device may determine a scene in which the wearable device is not worn on the user as a scene that satisfies the switch to the ring mode. Therefore, missed calls or messages and the like caused by the fact that the wearable device is not worn can be avoided.
It should be noted that in the foregoing embodiments identified by the first indication information and the second indication information, the electronic device may be identified by only one of the indication information. Alternatively, in some embodiments, in order to improve the accuracy of the identification, the first indication information may be identified, the second indication information may be further identified if the first indication information indicates that the wearable device is connected to the electronic device, and the condition for switching to the alarm mode may not be satisfied if the second indication information indicates that the wearable device is worn on the user.
In a possible design manner of the first aspect, the context information further includes indication information (denoted as third indication information) for indicating whether the electronic device is in a use state. The electronic device being in use includes one or more of the following: first, the electronic device is in a bright screen state. Second, the electronic device detects that the user's pupil is looking at the screen of the electronic device. Thirdly, the electronic device detects a touch operation of the user on the screen of the electronic device. Fourth, when the electronic device is in a dark environment, the electronic device is likely to be located in a closed space such as a backpack or a pocket. In this scenario, the electronic device is not normally in use. If the acceleration of the electronic device is large, the electronic device usually moves along with the movement of the user such as walking or running. In this scenario, the electronic device is usually not in use. Based on this, another case where the electronic device is in a use state is: the electronic equipment detects that the light intensity of the environment is larger than a first preset intensity, and the acceleration of the electronic equipment is smaller than a preset acceleration. If the third indication information indicates that the electronic device is in one or more of the four situations, the condition for switching to the ring mode is not satisfied. In this case, the electronic device is in a use state, and there is usually no case where the incoming call is missed. Conversely, if the third indication information indicates that the electronic device is not in any of the above-mentioned situations, the condition for switching to the ring mode is satisfied. In this case, the electronic device may be left behind in a backpack or the like.
That is, with the method of the present embodiment, the electronic device may determine a scene in which the electronic device is not in use as a scene satisfying the switching to the ring mode. Therefore, missed calls or messages and the like caused by unnoticed mobile phone screens can be avoided.
In a possible design of the first aspect, the scene information further includes an environment type to which the environment belongs, and the environment type includes a plurality of types selected from a conference room, an office, a hospital, a restaurant, a carriage, a roadside, a square, a movie theater, an amusement park, and a market. The scene information meeting the first preset condition further comprises: the environment type is changed from a non-preset type to a preset type. The preset type comprises a restaurant, a carriage, a roadside, a square, a playground and/or a market.
That is, in the present embodiment, the electronic device recognizes a scene in which the electronic device moves from an environment requiring silence, such as a hospital or an office, to an environment having a large noise, such as a roadside or a square, as a scene requiring switching to the ring mode, and thus can prompt switching to the ring mode in time after a specific change in the environment type occurs.
In a possible design manner of the first aspect, before the electronic device obtains current scene information of the electronic device, the electronic device monitors a first environmental parameter of an environment where the electronic device is located; the first environmental parameter is a parameter which needs to be collected in time in the running process of the electronic equipment and is low in required power consumption, such as Wi-Fi connection condition, a Wi-Fi list and/or light intensity. And triggering the electronic equipment to acquire the current scene information of the electronic equipment under the condition that the first environmental parameter is changed in a preset way. Wherein, first environmental parameter takes place to predetermine the change, includes: the electronic device changes from being in a connected state with a first Wi-Fi to being disconnected with the first Wi-Fi, or the electronic device changes from being in a disconnected state with a second Wi-Fi to being connected with the second Wi-Fi, wherein the first Wi-Fi and the second Wi-Fi can be any Wi-Fi; and/or the Wi-Fi list scanned by the electronic equipment is changed from a first Wi-Fi list to a second Wi-Fi list, and at least one different Wi-Fi exists in the first Wi-Fi list and the second Wi-Fi list; and/or the light intensity of the environment where the electronic equipment is located is changed from a first intensity value to a second intensity value, and the absolute value of the difference value between the first intensity value and the second intensity value exceeds a preset value. When the first environmental parameter is changed by a predetermined value, it indicates that the environment is changed to a certain extent, and at this time, there may be a need to switch the sound mode. In this case, the acquisition of the scene information is triggered, and conditional acquisition is possible. Without the need to periodically or in real-time acquire scene information. It should be appreciated that the power consumption required to obtain context information (e.g., ambient sounds) is high, and conditional obtaining may reduce the power consumption of the electronic device.
In a possible design manner of the first aspect, before the electronic device obtains current scene information of the electronic device, the electronic device monitors whether there is a missed call in the electronic device within a first preset time. The method comprises the steps that when missed calls exist in the electronic equipment within a first preset time period, the electronic equipment is triggered to acquire current scene information of the electronic equipment.
Also, the scene information is acquired conditionally, without the need for periodic or real-time acquisition of the scene information. It should be appreciated that the power consumption required to obtain context information (e.g., ambient sounds) is high, and conditional acquisition may reduce the power consumption of the electronic device.
It should be noted that the nuisance identified phones and/or blacklisted phones, if seen, are most likely to be missed and therefore not available for preliminary identification of whether it is possible to switch voice mode. Thus, the missed calls do not include calls identified by the flagged harassment and/or blacklisted calls.
In a possible design manner of the first aspect, the electronic device obtains a user representation of the user before the electronic device displays the first prompt message. The user portrait comprises a first frequency, and the first frequency is the frequency of switching the sound mode of the electronic equipment in response to the operation of the user within a second preset time period. The electronic device determines that the user representation satisfies a second predetermined condition. Wherein, user portrait satisfies the second preset condition, including: the first number is greater than a first preset number. If the first time is greater than the first preset time, the fact that the user has a habit of switching the sound mode is indicated, and the user does not adopt the mute mode or the vibration mode for a long time.
That is, in this embodiment, the electronic device will prompt the first prompt message only when the user portrait satisfies the second predetermined condition (e.g. the first time is greater than the first predetermined number of times). Therefore, effective pushing can be realized, and the conversion rate of pushing is improved.
In a possible design manner of the first aspect, the user representation further includes a second number of times, where the second number of times is a number of times that the electronic device switches the sound mode in response to the first operation within a third preset time period. The user portrait meeting the second preset condition further comprises: the second number is greater than the second preset number. If the second number is larger than the second preset number, the user can accept the mode of switching the sound mode by pushing the prompt message. Therefore, effective pushing can be further realized, and the conversion rate of pushing is improved.
In a possible design manner of the first aspect, the user representation further includes a third number of times, where the third number of times is a number of times that the electronic device switches to the ring mode in response to the user operation in a case that the environmental sound is greater than the first decibel within a fourth preset time period. The user portrait meeting the second preset condition further comprises: the third time is greater than a third preset time. If the third number is greater than the third predetermined number, it indicates that the user tends to switch to the ringer mode when the ambient sound is high, rather than switching to the sound mode at will. Therefore, effective pushing can be further realized, and the conversion rate of pushing is improved.
In a possible design manner of the first aspect, if the user image does not satisfy the second preset condition, the electronic device does not display the first prompt message. Thus, invalid push can be avoided. For example, pushing the first prompt to a user who does not switch voice mode for a long time may be avoided.
In a possible design manner of the first aspect, the displaying, by the electronic device, the first prompt message includes: the electronic equipment displays first prompt information in a screen locking interface of the electronic equipment; if a plurality of notification messages exist, the electronic equipment displays the first prompt message on the top.
That is to say, by adopting the method of the embodiment, the electronic device can ensure that the prompt information displayed in the screen locking interface is viewed by the user, and the reach rate of the information is improved.
In a possible design manner of the first aspect, the displaying, by the electronic device, the first prompt information includes: in the case that the currently displayed interface of the electronic device is a main interface or an application interface of the electronic device, when the electronic device detects that the pupil of the user is looking at the screen of the electronic device, the electronic device displays first prompt information.
That is to say, with the method of this embodiment, the electronic device may display the first prompt message only when it is detected that the user gazes at the screen, and may also improve the reach rate of the message.
In a second aspect, an embodiment of the present application provides a method for switching a sound mode, where the method may be applied to an electronic device. The electronic equipment supports three sound modes including a mute mode, a vibration mode and a ring mode. And, this method is mainly used in the scene that the mode of ringing to silent mode or vibrations mode switch over. The electronic equipment acquires the sound mode of the electronic equipment and the current scene information of the electronic equipment. The scene information includes an environmental sound of an environment in which the electronic device is located. And under the condition that the sound mode is a mute mode or a vibration mode, if the scene information meets a first preset condition, the electronic equipment displays first prompt information. Wherein, the scene information meeting the first preset condition comprises: the ambient sound is reduced from the second volume range to the first volume range; the first prompt message is used for requesting the user to confirm whether to switch to the ringing mode. The electronic equipment responds to a first operation of a user on the first prompt message and switches the sound mode into a mute mode or a vibration mode.
In summary, with the method of the embodiment of the present application, the electronic device can identify whether the electronic device needs to be switched to the mute mode or the vibration mode when the electronic device is in the ring mode. Therefore, intelligent identification of the requirement for switching the electronic equipment to a silent mode or a vibration mode can be realized. And, in case that a condition for switching to the silent mode or the vibration mode is identified to be satisfied (for example, the electronic device moves from a noisy environment to a quiet environment), the electronic device may automatically prompt the user to confirm whether to switch to the silent mode or the vibration mode, so that the switching of the sound mode accurately satisfies the user's requirement. After the user confirms through the prompt, the electronic device can switch to a mute mode or a vibration mode. Without requiring a user to perform multiple operations to effect the switch. Therefore, the intelligence and convenience of switching the ringing mode to the silent mode or the vibration mode can be improved.
In a possible design manner of the second aspect, the context information further includes first indication information, where the first indication information is used to indicate whether the electronic device is connected to the wearable device; wherein, wearable equipment includes at least one in bracelet, earphone, intelligent wrist-watch and the smart glasses. The scene information meeting the first preset condition further comprises: the first indication information indicates that the electronic device is connected with the wearable device. If the first indication information indicates that the electronic device is connected with the wearable device, the wearable device can prompt an incoming call or a notification message and the like without ringing.
That is to say, with the method of the embodiment, the electronic device may determine a scene in which the wearable device is connected to the electronic device as a scene satisfying switching to the silent mode or the vibration mode.
In a possible design manner of the second aspect, the context information further includes second indication information, and the second indication information is used for indicating whether the wearable device is worn on the user. Wherein, wearable equipment includes at least one in bracelet, earphone, intelligent wrist-watch and the smart glasses. The scene information meeting the first preset condition further comprises: the second indication information indicates that the wearable device is worn on the user. If the second indication information indicates that the wearable device is worn on the user, the wearable device can prompt an incoming call or a notification message and the like without ringing.
That is, with the method of the present embodiment, the electronic device may determine a scene in which the wearable device is worn on the user as a scene satisfying a switch to the silent mode or the vibration mode.
In a possible design manner of the second aspect, the context information further includes third indication information, where the third indication information is used to indicate whether the electronic device is in a use state. The electronic device being in use includes: the electronic equipment is in a bright screen state; and/or the electronic device detects that the pupil of the user is gazing at the screen of the electronic device; and/or the electronic equipment detects the touch operation of the user on the screen of the electronic equipment; and/or the electronic equipment detects that the light intensity of the environment is greater than the first preset intensity, and the acceleration of the electronic equipment is smaller than the preset acceleration. The scene information meeting the first preset condition further comprises: the first indication information indicates that the electronic equipment is in a use state. It should be understood that if the electronic device is in use, the incoming call or notification message can be viewed in time, so that a ring prompt is not required.
That is, with the method of the present embodiment, the electronic device may determine a scene in a use state as a scene satisfying a switch to a mute mode or a shake mode.
In a possible design of the second aspect, the scene information further includes an environment type to which the environment belongs, and the environment type includes a plurality of conference rooms, offices, hospitals, restaurants, carriages, roadside, squares, movie theaters, amusement parks, and shopping malls. The scene information meeting the first preset condition further comprises: the environment type is changed from a preset type to a non-preset type; the preset type comprises a restaurant, a carriage, a roadside, a square, a playground and/or a market.
That is, in the present embodiment, the electronic apparatus recognizes a scene in which the electronic apparatus moves from an environment with high noise, such as a roadside or a square, to an environment requiring silence, such as a hospital or an office, as a scene requiring switching to the silent mode or the vibration mode, and can prompt switching to the silent mode or the vibration mode in time after a specific change in the type of the environment occurs.
In a possible design manner of the second aspect, before the electronic device acquires the current scene information of the electronic device, the method further includes: the method comprises the steps that the electronic equipment monitors a first environment parameter of an environment where the electronic equipment is located; wherein the first environment parameters comprise Wi-Fi connection condition, wi-Fi list and/or light intensity. The method for acquiring the current scene information of the electronic equipment comprises the following steps: and acquiring the current scene information of the electronic equipment under the condition that the first environmental parameter is changed in a preset way. The first environmental parameter is preset and changed, and the preset change comprises the following steps: the electronic device changes from being in a connected state with a first Wi-Fi to being disconnected with the first Wi-Fi, or the electronic device changes from being in a disconnected state with a second Wi-Fi to being connected with the second Wi-Fi, wherein the first Wi-Fi and the second Wi-Fi can be either Wi-Fi. And/or the Wi-Fi list scanned by the electronic equipment is changed from the first Wi-Fi list to the second Wi-Fi list, and at least one different Wi-Fi exists in the first Wi-Fi list and the second Wi-Fi list. And/or the light intensity of the environment where the electronic equipment is located is changed from a first intensity value to a second intensity value, and the absolute value of the difference value between the first intensity value and the second intensity value exceeds a preset value. When the first environmental parameter is changed by a predetermined value, it indicates that the environment is changed to a certain extent, and at this time, there may be a need to switch the sound mode. In this case, the acquisition of the scene information is triggered, and conditional acquisition is possible. Without the need to periodically or in real-time acquire scene information. It should be appreciated that the power consumption required to obtain context information (e.g., ambient sounds) is high, and conditional obtaining may reduce the power consumption of the electronic device.
In a possible design manner of the second aspect, before the electronic device displays the first prompt message, the method further includes: the electronic equipment acquires a user image of a user; the user portrait comprises a first frequency, and the first frequency is the frequency of switching the sound mode of the electronic equipment in response to the operation of the user within a first preset time period. The electronic equipment determines that the user portrait meets a second preset condition; wherein, user portrait satisfies the second preset condition, including: the first number is greater than a first preset number.
That is, in this embodiment, the electronic device will prompt the first prompt message only when the user image satisfies that the first time number is greater than the first preset time number. Therefore, effective pushing can be achieved, and the pushing conversion rate is improved.
In a possible design manner of the second aspect, the user representation further includes a second number of times, where the second number of times is a number of times that the electronic device switches the sound mode in response to the first operation within a second preset time period. The user portrait meeting the second preset condition further comprises: the second number is greater than the second preset number. And if the second time is greater than the second preset time, indicating that the user can accept the mode of switching the sound mode by pushing the prompt message. Therefore, effective pushing can be further realized, and the conversion rate of pushing is improved.
In a possible design manner of the second aspect, the user representation further includes a third number of times, where the third number of times is a number of times that the electronic device switches to the mute mode or the shake mode in response to the user operation in a third preset time period when the environmental sound is smaller than the first decibel. The user portrait meeting the second preset condition further comprises: the third time is greater than a third preset time. If the third number is greater than the third preset number, it indicates that the user tends to switch to the silent mode or the vibration mode when the ambient sound is small, rather than switching to the sound mode at will. Therefore, effective pushing can be further realized, and the conversion rate of pushing is improved.
In a possible design of the second aspect, the method further includes: and if the user portrait does not meet the second preset condition, the electronic equipment does not display the first prompt message. Thus, invalid push can be avoided. For example, pushing the first prompt to a user who does not switch voice mode for a long time may be avoided.
In a possible design manner of the second aspect, the displaying, by the electronic device, the first prompt message includes: the electronic equipment displays first prompt information in a screen locking interface of the electronic equipment; and if a plurality of notification messages exist, the electronic equipment sets the first prompt message to the top for display.
That is to say, by adopting the method of the embodiment, the electronic device can ensure that the prompt information displayed in the screen locking interface is viewed by the user, and the reach rate of the information is improved.
In a possible design manner of the second aspect, the displaying, by the electronic device, the first prompt message includes: under the condition that the currently displayed interface of the electronic equipment is a main interface or an application interface of the electronic equipment, when the electronic equipment detects that the pupils of a user are gazing at the screen of the electronic equipment, the electronic equipment displays first prompt information.
That is to say, with the method of this embodiment, the electronic device may display the first prompt message only when it is detected that the user gazes at the screen, and may also improve the reach rate of the message.
In a third aspect, an embodiment of the present application further provides an electronic device, where the electronic device supports three sound modes, namely a mute mode, a vibration mode, and a ring mode. The electronic device includes a display screen, a memory, and one or more processors. The display screen, the memory and the processor are coupled. The memory is for storing computer program code comprising computer instructions that, when executed by the processor, cause the electronic device to perform the steps of: the method comprises the steps that the electronic equipment obtains a sound mode of the electronic equipment and current scene information of the electronic equipment; wherein the sound mode is a mute mode, a vibration mode or a ring mode; the scene information comprises environmental sounds of the environment where the electronic equipment is located;
under the condition that the sound mode is the mute mode or the vibration mode, if the scene information meets a first preset condition, the electronic equipment displays first prompt information; wherein, the scene information meeting a first preset condition comprises: the environmental sound rises from a first volume range to a second volume range; the first prompt information is used for requesting a user to confirm whether to switch to the ringing mode;
and the electronic equipment responds to a first operation of a user on the first prompt message and switches the sound mode into the ringing mode.
In a possible design manner of the third aspect, the context information further includes first indication information, where the first indication information is used to indicate whether the electronic device is connected to a wearable device; wherein the wearable device comprises at least one of a bracelet, an earphone, a smart watch, and smart glasses. The scene information meeting the first preset condition further comprises: the first indication information indicates that the electronic device is not connected with the wearable device.
In a possible design manner of the third aspect, the context information further includes second indication information, where the second indication information is used to indicate whether the wearable device is worn on the user; wherein, wearable equipment includes at least one in bracelet, earphone, intelligent wrist-watch and the intelligent glasses. The scene information meeting the first preset condition further comprises: the second indication information indicates that the wearable device is not worn on the user.
In a possible design manner of the third aspect, the context information further includes third indication information, where the third indication information is used to indicate whether the electronic device is in a use state. The electronic device being in a use state comprises: the electronic equipment is in a bright screen state. And/or the electronic device detects that the pupil of the user is gazing at the screen of the electronic device. And/or the electronic equipment detects the touch operation of a user on the screen of the electronic equipment; and/or the electronic equipment detects that the light intensity of the environment is greater than a first preset intensity, and the acceleration of the electronic equipment is smaller than a preset acceleration. The scene information meeting the first preset condition further comprises: the third indication information indicates that the electronic equipment is not in a use state.
In a possible design manner of the third aspect, the scene information further includes an environment type to which the environment belongs, and the environment type includes multiple types of meeting rooms, offices, hospitals, restaurants, carriages, roadsides, squares, movie theaters, amusement parks, and shopping malls. The scene information satisfying the first preset condition further includes: the environment type is changed from a non-preset type to a preset type; wherein the preset type comprises a restaurant, a carriage, a roadside, a square, a playground and/or a mall.
In a possible design of the third aspect, the computer instructions, when executed by the processor, cause the electronic device to further perform the steps of: the electronic equipment monitors a first environmental parameter of an environment where the electronic equipment is located; wherein the first environmental parameters comprise Wi-Fi connection condition, wi-Fi list and/or light intensity. And acquiring the current scene information of the electronic equipment under the condition that the first environmental parameter is changed in a preset way. Wherein, the first environmental parameter is preset to change, including: the electronic device changes from being in a connected state with a first Wi-Fi to being disconnected from the first Wi-Fi, or the electronic device changes from being in a disconnected state with a second Wi-Fi to being connected with the second Wi-Fi, wherein the first Wi-Fi and the second Wi-Fi can be either Wi-Fi. And/or the Wi-Fi list scanned by the electronic equipment is changed from a first Wi-Fi list to a second Wi-Fi list, and at least one different Wi-Fi exists in the first Wi-Fi list and the second Wi-Fi list. And/or the light intensity of the environment where the electronic equipment is located is changed from a first intensity value to a second intensity value, and the absolute value of the difference value between the first intensity value and the second intensity value exceeds a preset value.
In a possible design of the third aspect, the computer instructions, when executed by the processor, cause the electronic device to further perform the following steps: the electronic equipment monitors whether missed calls exist in the electronic equipment within a first preset time. And acquiring current scene information of the electronic equipment under the condition that missed calls exist in the electronic equipment within a first preset time period.
In a possible embodiment of the third aspect, the missed call does not include a call identified by a marked harassment and/or a call in the blacklist.
In a possible design of the third aspect, the computer instructions, when executed by the processor, cause the electronic device to further perform the steps of: the electronic equipment acquires a user image of a user; the user portrait comprises a first number of times, wherein the first number of times is the number of times that the electronic equipment switches the sound mode in response to the operation of the user within a second preset time period. The electronic device determines that the user representation satisfies a second preset condition. Wherein, the user portrait satisfies a second preset condition, including: the first time is greater than a first preset time.
In a possible design manner of the third aspect, the user representation further includes a second number of times that the electronic device switches the sound mode in response to the first operation within the third preset time period. The user portrait satisfying a second preset condition further comprises: the second number is greater than a second preset number.
In a possible design manner of the third aspect, the user representation further includes a third number of times, where the third number of times is a number of times that the electronic device switches to the ring mode in response to the user operation when the environmental sound is greater than the first decibel within a fourth preset time period. The user portrait meeting a second preset condition further comprises: the third time is greater than a third preset time.
In a possible design of the third aspect, the computer instructions, when executed by the processor, cause the electronic device to further perform the following steps: and if the user portrait does not meet a second preset condition, the electronic equipment does not display the first prompt message.
In a possible design of the third aspect, the computer instructions, when executed by the processor, cause the electronic device to further perform the steps of: the electronic equipment displays the first prompt message in a screen locking interface of the electronic equipment; and if a plurality of notification messages exist, the electronic equipment displays the first prompt message on top.
In a possible design of the third aspect, the computer instructions, when executed by the processor, cause the electronic device to further perform the steps of: when the currently displayed interface of the electronic equipment is a main interface or an application interface of the electronic equipment, the electronic equipment displays the first prompt message when the electronic equipment detects that the pupil of a user is gazing at the screen of the electronic equipment.
In a fourth aspect, an embodiment of the present application further provides an electronic device, where the electronic device supports three sound modes, namely a mute mode, a vibration mode, and a ring mode. The electronic device includes a display screen, a memory, and one or more processors. The display screen, the memory and the processor are coupled. The memory is for storing computer program code comprising computer instructions that, when executed by the processor, cause the electronic device to perform the steps of: the electronic equipment acquires the sound mode of the electronic equipment and the current scene information of the electronic equipment. The scene information includes an environmental sound of an environment in which the electronic device is located. And under the condition that the sound mode is a mute mode or a vibration mode, if the scene information meets a first preset condition, the electronic equipment displays first prompt information. The scene information meeting the first preset condition comprises the following steps: the ambient sound is reduced from the second volume range to the first volume range; the first prompt message is used for requesting the user to confirm whether to switch to the ringing mode. The electronic equipment responds to a first operation of a user on the first prompt message and switches the sound mode into a mute mode or a vibration mode.
In a possible design manner of the fourth aspect, the context information further includes first indication information, where the first indication information is used to indicate whether the electronic device is connected to the wearable device; wherein, wearable equipment includes at least one in bracelet, earphone, intelligent wrist-watch and the intelligent glasses. The scene information meeting the first preset condition further comprises: the first indication information indicates that the electronic device is connected with the wearable device.
In a possible design manner of the fourth aspect, the context information further includes second indication information, and the second indication information is used for indicating whether the wearable device is worn on the user. Wherein, wearable equipment includes at least one in bracelet, earphone, intelligent wrist-watch and the smart glasses. The scene information meeting the first preset condition further comprises: the second indication information indicates that the wearable device is worn on the user.
In a possible design manner of the fourth aspect, the context information further includes third indication information, where the third indication information is used to indicate whether the electronic device is in a use state. The electronic device being in use includes: the electronic equipment is in a bright screen state; and/or the electronic device detects that the pupil of the user is gazing at the screen of the electronic device; and/or the electronic equipment detects the touch operation of the user on the screen of the electronic equipment; and/or the electronic equipment detects that the light intensity of the environment is greater than the first preset intensity, and the acceleration of the electronic equipment is smaller than the preset acceleration. The scene information meeting the first preset condition further comprises: the first indication information indicates that the electronic equipment is in a use state.
In a possible design of the fourth aspect, the scene information further includes an environment type to which the environment belongs, and the environment type includes a plurality of conference rooms, offices, hospitals, restaurants, carriages, roadside, squares, movie theaters, amusement parks, and shopping malls. The scene information meeting the first preset condition further comprises: the environment type is changed from a preset type to a non-preset type; wherein the preset type comprises a restaurant, a carriage, a roadside, a square, a playground and/or a mall.
In a possible design of the fourth aspect, the computer instructions, when executed by the processor, cause the electronic device to further perform the steps of: the method comprises the steps that the electronic equipment monitors a first environment parameter of an environment where the electronic equipment is located; wherein the first environmental parameters comprise Wi-Fi connection condition, wi-Fi list and/or light intensity. And acquiring the current scene information of the electronic equipment under the condition that the first environmental parameter is changed in a preset way. The first environmental parameter is preset and changed, and the preset change comprises the following steps: the electronic device changes from being in a connected state with a first Wi-Fi to being disconnected with the first Wi-Fi, or the electronic device changes from being in a disconnected state with a second Wi-Fi to being connected with the second Wi-Fi, wherein the first Wi-Fi and the second Wi-Fi can be either Wi-Fi. And/or the Wi-Fi list scanned by the electronic equipment is changed from the first Wi-Fi list to the second Wi-Fi list, and at least one different Wi-Fi exists in the first Wi-Fi list and the second Wi-Fi list. And/or the light intensity of the environment where the electronic equipment is located is changed from a first intensity value to a second intensity value, and the absolute value of the difference value between the first intensity value and the second intensity value exceeds a preset value.
In a possible design of the fourth aspect, the computer instructions, when executed by the processor, cause the electronic device to further perform the following steps: the electronic equipment acquires a user image of a user; the user portrait comprises a first frequency, and the first frequency is the frequency of switching the sound mode of the electronic equipment in response to the operation of the user within a first preset time period. The electronic equipment determines that the user portrait meets a second preset condition; wherein, user portrait satisfies the second preset condition, including: the first number is greater than a first preset number.
In a possible design manner of the fourth aspect, the user representation further includes a second number of times, where the second number of times is a number of times that the electronic device switches the sound mode in response to the first operation within a second preset time period. The user portrait meeting the second preset condition further comprises: the second number is greater than a second preset number.
In a possible design manner of the fourth aspect, the user representation further includes a third number of times, where the third number of times is a number of times that the electronic device switches to the mute mode or the shake mode in response to the user operation in a third preset time period when the environmental sound is smaller than the second decibel. The user portrait meeting the second preset condition further comprises: the third time is greater than a third preset time.
In a possible design of the fourth aspect, the computer instructions, when executed by the processor, cause the electronic device to further perform the steps of: and if the user portrait does not meet the second preset condition, the electronic equipment does not display the first prompt message.
In a possible design of the fourth aspect, the computer instructions, when executed by the processor, cause the electronic device to further perform the following steps: the electronic equipment displays first prompt information in a screen locking interface of the electronic equipment; if a plurality of notification messages exist, the electronic equipment displays the first prompt message on the top.
In a possible design of the fourth aspect, the computer instructions, when executed by the processor, cause the electronic device to further perform the steps of: under the condition that the currently displayed interface of the electronic equipment is a main interface or an application interface of the electronic equipment, when the electronic equipment detects that the pupils of a user are gazing at the screen of the electronic equipment, the electronic equipment displays first prompt information.
In a fifth aspect, an embodiment of the present application provides a chip system, where the chip system is applied to an electronic device that includes a display screen and a memory; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through a line; the interface circuit is to receive a signal from a memory of the electronic device and to send the signal to the processor, the signal comprising computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device performs the method according to the first aspect, the second aspect, and any possible design thereof.
In a sixth aspect, the present application provides a computer storage medium comprising computer instructions which, when run on a server, cause the server to perform the method according to the first aspect, the second aspect and any possible design thereof.
In a seventh aspect, the present application provides a computer program product for causing a server to perform the method according to the first aspect, the second aspect and any possible design thereof when the computer program product runs on the server.
It is to be understood that the electronic device according to the second aspect, the system chip according to the third aspect, the computer storage medium according to the fourth aspect, and the computer program product according to the fifth aspect are all configured to execute the corresponding method provided above, and therefore, the beneficial effects achieved by the electronic device according to the second aspect, the computer storage medium according to the fourth aspect, and the computer program product according to the fifth aspect may refer to the beneficial effects of the corresponding method provided above, and are not described herein again.
Drawings
FIG. 1 is a schematic diagram of one of the interfaces provided by the embodiments of the present application;
fig. 2 is a schematic diagram illustrating a hardware structure of a mobile phone according to an embodiment of the present disclosure;
fig. 3 is a flowchart illustrating one of the switching methods of the sound mode provided by the embodiment of the present application;
fig. 4 is a flowchart illustrating a second method for switching a sound mode according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating a second interface of a mobile phone provided in the embodiment of the present application;
fig. 6 is a schematic diagram illustrating a mobile phone in a screen-off state according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating a third interface of a mobile phone provided in the embodiment of the present application;
FIG. 8 is a diagram illustrating a fourth interface of a mobile phone according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram illustrating a fifth interface of a mobile phone provided in an embodiment of the present application;
fig. 10 is a flowchart illustrating a third method for switching a sound mode according to an embodiment of the present application;
fig. 11 is a flowchart illustrating a fourth method for switching a voice mode according to an embodiment of the present application;
FIG. 12 is a schematic diagram illustrating a sixth example of a cell phone interface provided by an embodiment of the present application;
fig. 13 is a schematic diagram illustrating a seventh interface of a mobile phone provided in an embodiment of the present application;
fig. 14 is a flowchart illustrating a fifth method for switching a sound mode according to an embodiment of the present application;
fig. 15 is a flowchart illustrating a sixth method for switching a sound mode according to an embodiment of the present application;
fig. 16 is a block diagram illustrating a system chip according to an embodiment of the present disclosure.
Detailed Description
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present embodiment, "a plurality" means two or more unless otherwise specified.
In order to facilitate understanding of the embodiments of the present application, the electronic device is a mobile phone, and the conventional technical means is described with reference to fig. 1.
In the conventional technology, if a user needs to switch the sound mode, the following operations are generally required to be performed:
step a, a user needs to unlock the mobile phone. For example, after unlocking, the mobile phone may display the interface 101 shown in (a) of fig. 1.
And b, the user needs to slide down to call out a notification bar, the notification bar comprises an adjusting control, and the adjusting control is used for triggering the mobile phone to adjust the sound mode. For example, the mobile phone may display the interface 102 shown in (b) of fig. 1 in response to a user's slide-down operation in the interface 101 shown in (a) of fig. 1. The interface 102 includes a notification bar 103, and the notification bar 103 includes an adjustment control 104. The adjustment control 104 is used for triggering the mobile phone to switch the sound mode. The adjustment control 104 indicates that the current sound mode is a silent mode.
And c, the user needs to click the adjusting control to adjust the sound mode. Illustratively, the cell phone may display an interface 105 shown in (c) of fig. 1 in response to a user clicking on an adjustment control 104 in a notification bar 103 shown in (b) of fig. 1. The interface 105 includes a notification bar 106, and the notification bar 106 includes an adjustment control 107. The adjustment control 107 is used to trigger the handset to switch the sound mode. The adjustment control 107 indicates that the current sound mode is a ringer mode. At this point, the switching from the silent mode to the ringing mode is completed.
Therefore, the process of switching the sound mode needs the user to click 3 steps, the operation of the whole switching process is complex, and the fast switching is not facilitated.
Based on this, the embodiment of the present application provides a method for switching a sound mode, which is applied to an electronic device, and the electronic device can support a ring mode, a vibration mode, and a mute mode. Specifically, the electronic device may acquire status information and environmental information of the electronic device. The state information may be used to indicate the sound mode and/or the position of the electronic device. For example, the status information may be that the electronic device is currently in a silent mode. The context information may be used to indicate the context in which the electronic device is located. For example, the environment may be an indoor environment, a roadside environment. As another example, the environment may be a noisy environment, a quiet environment. The electronic equipment can identify the switching intention of the user to the voice mode according to the state information and the environment information, and intelligent identification of the switching intention is achieved.
After identifying the switching intent of the user, the electronic device may actively display a switching prompt. The switching prompt is used for prompting the switching of the sound mode and can also be used for triggering the electronic equipment to switch the sound mode. Therefore, the prompt message can provide a shortcut entrance for switching the voice mode for the user.
In summary, with the method of the embodiment of the present application, when the user has an intention to switch, a shortcut entry for switching the voice mode is provided for the user. Then, the user only needs to perform one-step operation on the prompt message, and the switching of the sound mode can be completed. Therefore, the switching process of the sound mode can be simplified, and the convenience of sound mode switching is improved.
For example, the electronic device in the embodiment of the present application may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) \ Virtual Reality (VR) device, and the like, and the embodiment of the present application does not particularly limit the specific form of the device.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Please refer to fig. 2, which is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 2, taking the electronic device as a mobile phone 200 as an example, the mobile phone 200 may include a processor 210, an external memory interface 220, an internal memory 221, a Universal Serial Bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, keys 290, a motor 291, an indicator 292, a camera 293, a display 294, a Subscriber Identity Module (SIM) card interface 295, and the like.
It is to be understood that the structure illustrated in the present embodiment does not specifically limit the mobile phone 200. In other embodiments, handset 200 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units, such as: the processor 210 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be the neural center and command center of the cell phone 200. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to finish the control of instruction fetching and instruction execution.
A memory may also be provided in processor 210 for storing instructions and data. In some embodiments, the memory in processor 210 is a cache memory. The memory may hold instructions or data that have just been used or recycled by processor 210. If the processor 210 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 210, thereby increasing the efficiency of the system.
The charge management module 240 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 may receive charging input from a wired charger via the USB interface 230. In some wireless charging embodiments, the charging management module 240 may receive the wireless charging input through a wireless charging coil of the cell phone 200. The charging management module 240 can also supply power to the mobile phone through the power management module 241 while charging the battery 242.
The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and/or the charging management module 240, and provides power to the processor 210, the internal memory 221, the external memory, the display 294, the camera 293, and the wireless communication module 260. The power management module 241 may also be used to monitor parameters such as battery capacity, battery cycle number, battery state of health (leakage, impedance), etc. In other embodiments, the power management module 241 may be disposed in the processor 210. In other embodiments, the power management module 241 and the charging management module 240 may be disposed in the same device.
The wireless communication function of the mobile phone 200 can be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor, the baseband processor, and the like.
The mobile phone 200 implements the display function through the GPU, the display screen 294, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 294 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 294 is used to display images, video, and the like. The display screen 294 is the folding screen described above (e.g., a flexible folding screen or a multi-screen folding screen). The display screen 294 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like.
The mobile phone 200 can implement a shooting function through the ISP, the camera 293, the video codec, the GPU, the display screen 294, the APP processor, and the like.
The external memory interface 220 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the mobile phone 200. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function. For example, media files such as music, video, etc. are saved in the external memory card.
The internal memory 221 may be used to store computer-executable program code, which includes instructions. The processor 210 executes instructions stored in the internal memory 221, thereby performing various functions APP and data processing of the handset 200. The internal memory 221 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area may store data (such as audio data, a phone book, etc.) created during use of the mobile phone 200, and the like. In addition, the internal memory 221 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The mobile phone 200 can implement an audio function through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the earphone interface 270D, and the application processor. Such as music playing, recording, etc.
The keys 290 include a power-on key, a volume key, etc. The keys 290 may be mechanical keys. Or may be touch keys. The cellular phone 200 may receive a key input, and generate a key signal input related to user setting and function control of the cellular phone 200.
The motor 291 may generate a vibration cue. The motor 291 can be used for both incoming call vibration prompting and touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 291 may also respond to different vibration feedback effects for touch operations on different areas of the display 294. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 292 may be an indicator light that may be used to indicate a state of charge, a change in charge, or may be used to indicate a message, missed call, notification, etc.
The SIM card interface 295 is used to connect a SIM card. The SIM card can be connected to or disconnected from the mobile phone 200 by being inserted into or pulled out of the SIM card interface 295. The handset 200 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. Multiple cards can be inserted into the same SIM card interface 295 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 295 may also be compatible with different types of SIM cards. The SIM card interface 295 may also be compatible with external memory cards. The mobile phone 200 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the handset 200 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the mobile phone 200 and cannot be separated from the mobile phone 200.
The methods in the following embodiments can be implemented in the mobile phone 200 having the above hardware structure.
According to the embodiment of the application, the mobile phone can intelligently identify the switching intention of the user to the sound mode according to the state information and the environment information of the mobile phone. The state information is used for indicating states such as a sound mode and/or a position adopted by the mobile phone, and the environment information is used for indicating the environment where the mobile phone is located, including environment sound and/or an environment place. After recognizing the switching intention of switching the sound mode to the mode 1, the mobile phone displays a switching prompt. Thereby providing the user with a quick entry to switch to mode 1. Then, the mobile phone can switch the sound mode to the mode 1 in response to one-step operation of the user on the switching prompt. Therefore, the process of switching the sound mode is simplified, and the convenience of switching is improved. It should be noted that in the embodiment of the present application, the state information and the environment information other than the sound mode currently adopted by the mobile phone may be collectively referred to as scene information.
Further, the handover intents mainly include the following two types: first, an intention to switch from the silent mode or the vibration mode to the ring mode (described as scene 1), or an intention to switch from the ring mode to the silent mode or the vibration mode (described as scene 2).
In the following embodiments, the switching method of the sound mode provided in the embodiments of the present application will be specifically described with respect to the above-described scenario 1 and scenario 2, respectively.
In scenario 1, an embodiment of the present application provides a method for switching a sound mode, where in this embodiment, switching of the sound mode refers to switching from a mute mode or a vibration mode to a ring mode, that is, mode 1 is the ring mode. Specifically, as shown in FIG. 3, the method includes S301-S307.
S301, the mobile phone monitors whether the preset environmental parameters of the environment where the mobile phone is located are changed in a preset mode. If yes, executing S302; if not, the process continues to S301.
The preset environment parameter may also be referred to as a first environment parameter. The preset environment parameter is a parameter that can reflect the environmental condition. For example, the preset environmental parameter may be one or more of a light intensity, a color temperature, a Wi-Fi connection status, and a Wi-Fi list. If the preset environment parameter is changed, the environment of the mobile phone is obviously changed. In this case, it can be preliminarily determined that the user has a need to switch the sound mode.
In the embodiment of the application, whether the user needs to switch the sound mode is preliminarily determined by monitoring the change of the preset environment parameter. The preset environment parameter may be an environment parameter with low power consumption required during acquisition, for example, the preset environment parameter is a Wi-Fi connection condition. Alternatively, the preset environmental parameter may be an environmental parameter that needs to be acquired daily during the operation of the mobile phone, for example, the preset environmental parameter is light intensity. Therefore, more extra power consumption is not needed for collecting the preset environment parameters. The mobile phone executes S302 by detecting the preset environmental parameter of the environment where the mobile phone is located and under the condition that the preset environmental parameter changes in a preset manner, so as to further collect information (such as state information and environmental information) in a targeted manner and identify the switching intention of the user. Otherwise, the change of the preset environmental parameters is continuously monitored. It should be noted that the process of collecting the status information and the environmental information and the process of identifying the switching intention are generally processes with high power consumption, for example, the power consumption for collecting the environmental sound is extremely high. Therefore, the mobile phone can pertinently execute the processing process with higher power consumption, and the power consumption of the mobile phone can be greatly reduced.
The following description will be made of specific implementation of monitoring whether the preset environmental parameter of the environment where the mobile phone is located is preset and changed by taking the preset environmental parameter as light intensity, wi-Fi connection condition and Wi-Fi list as examples.
In some embodiments, the predetermined environmental parameter includes light intensity. The handset can monitor whether the variation value (usually referred to as an absolute value, such as an increase value or a decrease value) of the light intensity exceeds a preset value. If the change value of the light intensity exceeds the preset value, the light intensity of the environment where the mobile phone is located is changed in a preset mode. That is to say, the light intensity of the environment where the mobile phone is located is changed from the first intensity value to the second intensity value, and the absolute value of the difference between the first intensity value and the second intensity value exceeds the preset value, it can be preliminarily determined that the user has a need to switch the sound mode.
For example, if the reduction value of the light intensity exceeds the preset value, the user may go from a brighter outdoor environment to a darker indoor environment. Typically, outdoors are noisy and indoors are quiet, in which case there may be a need to switch from ringer mode to mute mode or vibrate mode.
On the contrary, if the variation value of the light intensity does not exceed the preset value, the light intensity of the environment where the mobile phone is located does not change in a preset manner. There is typically no need to switch the sound mode at this time.
The light intensity can be acquired by an ambient light sensor in the mobile phone. And the collected light intensity is sent to the processor by the ambient light sensor. Then, the absolute value of the difference value of the light intensity of the two nearest adjacent collected light is calculated by the processor. If the absolute value exceeds the preset value, the change value of the light intensity exceeds the preset value. Otherwise, if the absolute value does not exceed the predetermined value, the variation value of the light intensity does not exceed the predetermined value.
In some embodiments, the preset environmental parameters include Wi-Fi connection conditions. The mobile phone can monitor whether the mobile phone is automatically disconnected with the first Wi-Fi and/or automatically connected with the second Wi-Fi within a preset time 1. Wherein the first Wi-Fi and the second Wi-Fi can be either Wi-Fi. If the mobile phone is automatically disconnected with the first Wi-Fi and/or automatically connected with the second Wi-Fi within the preset time 1, the Wi-Fi connection condition of the environment where the mobile phone is located is changed in a preset mode. That is, if the handset changes from being in a connected state with a first Wi-Fi to being disconnected from the first Wi-Fi, or if the handset changes from being in a disconnected state with a second Wi-Fi to being connected to the second Wi-Fi, it may be preliminarily determined that the user has a need to switch the sound mode.
For example, if the mobile phone is automatically disconnected from a Wi-Fi within a preset time 1, the user may go from an indoor environment to an outdoor environment. In this case, there may be a need to switch the silent mode or the vibration mode to the ringer mode.
On the contrary, if the mobile phone is not automatically disconnected from the first Wi-Fi and/or is not automatically connected with the second Wi-Fi within the preset time 1, the Wi-Fi connection condition of the environment where the mobile phone is located is not changed in a preset mode. There is typically no need to switch the sound mode at this time.
In some embodiments, the preset environmental parameters include a Wi-Fi list. When the Wi-Fi list scanned by the mobile phone changes, namely at least one different Wi-Fi exists, the Wi-Fi list of the environment where the mobile phone is located changes in a preset mode. That is to say, the Wi-Fi list scanned by the mobile phone is changed from the first Wi-Fi list to the second Wi-Fi list, and at least one different Wi-Fi exists in the first Wi-Fi list and the second Wi-Fi list, so that it can be preliminarily determined that the user has a need to switch the sound mode.
In the foregoing S301, it is monitored whether there is a need to switch the sound mode according to the preset environment parameter of the environment where the mobile phone is located. In practice, if the mobile phone is in a mute mode or a vibration mode, the phone may be missed. In this case, there may be a need to switch the sound mode to the ringer mode.
Based on this, in other embodiments, as shown in fig. 4, the handset may monitor whether there may be a need to switch the voice mode through S401.
S401, the mobile phone monitors whether missed calls exist. If yes, executing S302; if not, the process continues to execute S401.
Similar to S301, in the case where a missed call is detected, it may be preliminarily determined that the user has a need to switch the voice mode. In this case, S302 is executed to further collect information (e.g., status information and environmental information) to identify the switching intention of the user. Otherwise, if it is monitored that there is no missed call, S401 is continuously executed to continue monitoring.
Wherein the missed call is a call which is not received by the user.
In some embodiments, the missed call is a call that the user did not answer within a preset time interval. The preset time interval refers to a time interval except the rest time of the user. For example, the preset time interval is 8-00, or, the preset time is 8. In this embodiment, when it is monitored that there is an unanswered call within a preset time interval, it may be preliminarily determined that the user has a need to switch the voice mode; under the condition that the situation that the unanswered telephone does not exist in the preset time interval is monitored, the requirement of switching the voice mode does not exist. In general, a user may turn the mobile phone to a silent mode during a rest time (i.e. during a non-preset time interval), and it is normal that the user does not answer the phone call because the user does not switch the sound mode in time, and the user cannot be considered as missed call. Therefore, by adopting the embodiment, only the phone which is not answered within the preset time interval is regarded as the missed phone, and the rationality of the monitoring result can be improved.
In some embodiments, the missed call is a call that the user did not answer within a preset time 2 (which may also be referred to as a first preset time). The preset time 2 is a period of time closer to the current time. For example, the preset time 2 is the last 1 hour, half hour, 5 minutes, etc. In the embodiment, under the condition that it is monitored that there is an unconnected phone within the preset time 2, it can be preliminarily determined that the user has a need to switch the voice mode; under the condition that the situation that the unanswered phone does not exist within the preset time 2 is monitored, the requirement of switching the sound mode does not exist. Typically, it is difficult to characterize the current handoff demand for an unanswered phone at a time that is relatively far from the current time. Therefore, by adopting the embodiment, only the phone which is not answered within the preset time 2 is regarded as the missed phone, and the rationality of the monitoring result can be improved.
In some embodiments, the missed call is a default call that the user did not answer, wherein the default call is a call other than a crank call and/or a blacklist. In this embodiment, after the mobile phone monitors the phone 1 that is not answered, the mobile phone can further monitor whether the phone 1 is a preset phone. Specifically, the mobile phone can monitor whether the telephone 1 is a crank call, and if the telephone 1 is a crank call, the telephone 1 is not a preset telephone; if the telephone 1 is not a nuisance call, the telephone 1 is a default telephone. The harassing call is a call marked with a harassing identification. And/or the mobile phone can match the telephone 1 with the telephone in the blacklist, if the number of the blacklist comprises the telephone 1, the telephone 1 is not a preset telephone; if the phone 1 is not included in the blacklist, the phone 1 is a default phone. That is, missed calls do not include identified nuisance calls and/or calls on the blacklist. Moreover, under the condition that the telephone 1 is monitored to be a preset telephone, the requirement of switching the voice mode of the user can be preliminarily determined; in case it is detected that the phone 1 is not a pre-set phone, there is no need to switch the sound mode. In general, the phones in the blacklist can be automatically intercepted, and the phones in the blacklist are all the phones which the user does not want to answer; and, a crank call is also a call that the user does not want to answer. Thus, for crank calls and/or blacklisted calls, a user not answering does not mean missing. Therefore, by adopting the embodiment, only the preset telephone which is not answered by the user is regarded as the missed telephone, and the rationality of the monitoring result can be improved.
Wherein, the missed calls can be one or more. In some embodiments, the handset may monitor whether there are more than a preset number 1 of missed calls. For example, the preset number 1 is 5 times, 3 times, etc. If there are more than a predetermined number of missed calls, it is more likely that the missed calls are due to not switching the sound mode in time. In this case, there is a higher possibility that there is a need to switch the sound mode. If there are no missed calls exceeding the preset number 1, there may be missed calls due to other reasons. For example, it is inconvenient to receive a call in a conference. In this case, there is generally no need to switch the sound mode. Therefore, in the embodiment, the switching requirement is considered to exist only when the number of missed calls exceeds the preset number, and the rationality of the monitoring result can be improved.
It should be noted that although the foregoing describes a specific implementation of monitoring whether there is a need to switch the sound mode, with the preset environment parameters of the environment in which the mobile phone is located and the missed call being separately used. In some embodiments, the above two methods can be combined, and the combination method is specifically as follows: in the time period 1 when the application scheme starts to be executed, whether the user needs to switch the voice mode is monitored in a mode of S401, so that the switching intention is further identified, the switching prompt is pushed, and the operation of the user on the switching prompt is obtained in the case of missed calls. During the time period 1, the mobile phone can learn the characteristics (such as the status, the environment and other characteristics) and the real requirements of the missed call. After the time period 1, whether the user has a need for switching the sound mode can be monitored by adopting the mode of S301, so that the switching intention can be recognized before the missed call appears, the switching prompt can be pushed in time, and the missed call can be avoided.
It should be noted that in the foregoing S301 and S401, specific implementation of the preset environment parameters and missed calls as the trigger conditions for triggering the following S302 is described in detail. However, in practical implementation, the handset may periodically or periodically execute the following S302 without being triggered by S301 or S401.
S302, the mobile phone acquires the state information and the environment information. The state information includes a sound mode currently adopted by the mobile phone, and the environment information includes environment sound.
In the embodiment of the application, the state information and the environment information are acquired under the condition that the requirement of switching the voice mode of the user is preliminarily determined so as to further identify the switching intention. Therefore, the power consumption of the mobile phone can be greatly reduced.
The state information is used for indicating the current sound mode, the use condition and/or the connection condition with other equipment and other states of the mobile phone.
In some embodiments, the status information includes voice mode 1 currently employed by the handset. The sound pattern 1 is different, and the existing switching intention may be different. For example, if the sound mode 1 is the silent mode, there may be a switching intention (denoted as switching intention 1) to switch to the ringer mode. As another example, if the sound mode 1 is the ringer mode, there may be a switching intention to switch to the mute mode or the vibration mode.
In some embodiments, the status information may include indication information (which may also be referred to as first indication information) of whether the cell phone is connected to the wearable device. Wherein, wearable equipment can be at least one in equipment such as intelligent wrist-watch, bracelet, earphone, smart glasses. Specifically, the mobile phone can inquire about a bluetooth peripheral connected with the mobile phone, and if the bluetooth peripheral comprises the wearable device (smart watch, bracelet and/or wireless earphone), the mobile phone can be perceived to be connected with the wearable device. The handset may also sense whether the handset is connected to a wired headset by detecting the headset interface of the handset (e.g., headset interface 270D in fig. 2). For example, if the earphone interface has audio input or output, the mobile phone is connected with a wired earphone.
Further, the status information further includes indication information (which may also be referred to as second indication information) whether the wearable device is worn on the user. Specifically, the mobile phone can detect whether the intelligent watch and/or the bracelet collect physiological characteristics of the user, such as heart rate, blood pressure and the like. If the physiological characteristics of the user can be collected by the intelligent watch and/or the bracelet, the intelligent watch and/or the bracelet is sensed to be worn on the user. Alternatively, the handset can also detect whether the wireless headset is worn in the ear. And if the wireless earphone is detected to be worn in the ear, the user can perceive that the wireless earphone is worn on the user.
In some embodiments, the status information includes an indication of whether the user is using the handset (which may also be referred to as third indication). Whether the user is using the mobile phone can also be understood as whether the mobile phone is in a use state.
In one particular implementation, the handset may detect whether the user is looking at the handset screen. Wherein, the watching perception technology can be adopted to detect whether the user watches the mobile phone screen. The gazing perception technology is used for tracking the direction of a pupil through a front camera so as to detect whether a user gazes at a mobile phone screen. If the user is detected to be watching the mobile phone screen, the user is sensed to be using the mobile phone. That is, the user is using a mobile phone, including: the mobile phone detects that the pupil of the user is looking at the screen of the mobile phone.
In another specific implementation manner, the mobile phone may detect whether a touch operation of the user on the screen of the mobile phone is received within the preset time 3. The preset time 3 may be 1 minute, 30 seconds, 5 seconds, or the like. If the touch operation of the user on the mobile phone screen is detected to be received within the preset time 3, the user is sensed to be using the mobile phone. That is, the user is using a mobile phone, including: the mobile phone detects the touch operation of a user on the screen of the mobile phone.
In another specific implementation, the mobile phone may detect whether the user is using the mobile phone according to ambient light and/or acceleration. Specifically, the mobile phone may detect the light intensity of the ambient light through the ambient light sensor, and the mobile phone may detect the acceleration of the mobile phone through the acceleration sensor. If the light intensity is lower than the intensity value 1 (which may also be referred to as a first preset intensity), it is sensed that the mobile phone is placed in a dark light position such as a bag or a clothes pocket carried by the user, and is not held by the hand. Alternatively, if the acceleration is greater than the preset acceleration 1 (which may also be referred to as a preset acceleration), it is sensed that the mobile phone may move along with the movement of the user walking or running, and the mobile phone is not usually used. That is, the user is using a mobile phone, including: the light intensity of the environment detected by the mobile phone is greater than a first preset intensity, and the acceleration of the mobile phone is smaller than a preset acceleration.
It should be noted that the above specific implementation manners are exemplary, and in actual implementation, the above specific implementation manners may be combined with each other, or other cases may also be included. For example, the user being using a cell phone may also include the cell phone being in a bright screen state.
The environment information is used for indicating the environment where the mobile phone is located, such as environment sound and/or environment location.
In some embodiments, the environmental information includes an environmental sound. Specifically, the mobile phone may turn on a microphone (e.g., the microphone 270C in fig. 2) to collect the environmental sound of the current environment where the mobile phone is located. It is to be emphasized again that the process of collecting the ambient sound is particularly power consuming. If the environmental volume is collected for a long time, the problems of heat generation of the mobile phone, poor cruising ability and the like can be caused. By adopting the embodiment of the application, the microphone is started to collect the environmental sound under the condition that the user is monitored to have the requirement of switching the sound mode. For example, the microphone acquisition is turned on only after a large change in light intensity is detected. For another example, the microphone is turned on to collect the call after a missed call is detected. Therefore, the power consumption of the mobile phone can be greatly reduced. Thereby realizing low-power consumption sound collection.
In this embodiment of the application, the collected Environment sound may be stored in a Trusted Execution Environment (TEE). TEE represents a region isolated from other modules in a System on Chip (SoC). Normal applications (except trusted applications) cannot obtain data from this area. Thus, the environmental sound is stored in the TEE, and the loss of privacy data of the user can be avoided. Thereby ensuring the security of the user privacy data.
In addition, only the last collected environmental sound can be stored in the TEE, so that the storage resource is saved. Or, the environment sound collected for many times can be stored, and the change condition of the environment sound of the environment where the mobile phone is located can be reflected more clearly. Thereby facilitating subsequent identification of the intent to handover.
In other embodiments, the environmental information includes the environmental locale (which may also be referred to as the environment type) where the handset is located. Specifically, the mobile phone can identify the current environmental location of the mobile phone. For example, the environmental site may be a plurality of conference rooms, offices, hospitals, restaurants, carriages, roadsides, squares, movie theaters, amusement parks, and malls, among others.
For example, the mobile phone may identify the current location of the mobile phone by using an Artificial Intelligence (AI) identification model (e.g., a low power visual perception model). The AI identification model has the function of identifying the current environment place of the mobile phone according to the environment sound and/or the environment image. In the training process, environment sounds of the environment where the mobile phone is historically collected and/or RAW images (RAW images) collected by a camera can be used as input samples, and the marked environment place can be used as output samples. The AI identification model can be trained by using the input sample and the output sample. Then, in the identification process, the currently acquired environmental sounds and/or RAW images can be input into the AI identification model, and the AI identification model can identify and obtain the current environmental place of the mobile phone.
And S303, the mobile phone detects whether the state information and the environment information meet a preset condition 1. If yes, go to S304; if not, S301 or S401 is repeatedly executed.
Here, the preset condition 1 may also be referred to as a first preset condition.
If the mobile phone detects that the state information and the environment information meet the preset condition 1, it indicates that a condition for switching from the silent mode or the vibration mode to the ring mode is met. In this case, there is an intention to switch from the silent mode or vibration mode to the ringer mode (i.e., intention to switch 1). On the contrary, if the mobile phone detects that the state information and the environment information do not satisfy the preset condition 1, it indicates that the condition for switching from the mute mode or the vibration mode to the ring mode is not satisfied. In this case, there is no handover intention 1.
Hereinafter, a specific implementation of detecting whether the state information and the environment information satisfy the preset condition 1 will be described with respect to the state information and the environment information listed in the foregoing.
In a first aspect, detection of status information is addressed.
In some embodiments, the status information includes voice mode 1 currently employed by the handset. Accordingly, the mobile phone can detect whether the sound mode 1 is a vibration mode or a mute mode. If the sound mode 1 is a vibration mode or a mute mode, the state information satisfies a preset condition 1, and there is a switching intention 1. On the contrary, if the sound mode 1 is the ring mode, the state information does not satisfy the preset condition 1, and there is no switching intention 1. In this way, the mobile phone can recognize that the switching intention 1 exists when the mobile phone is not switched to the ring mode in time. That is, the scenario 1 should be premised on that the sound mode currently adopted by the mobile phone is a silent mode or a vibration mode. In case that the sound mode is the mute mode or the vibration mode, it is necessary to further detect other state information and environment information.
In some embodiments, the status information includes information indicating whether the cell phone is connected to the wearable device. Correspondingly, if the indication information of whether the mobile phone is connected with the wearable device is indication information 1, the state information does not satisfy the preset condition 1. The indication information 1 is used for indicating that the mobile phone is connected with the wearable device. If the mobile phone is connected with the wearable device, the mobile phone can prompt an incoming call or inform a message by using the wearable device. So that there is no need to be prompted by ringing, at which time there is no switching intention 1. On the contrary, if the indication information indicating whether the mobile phone is connected to the wearable device is indication information 2, the state information meets the preset condition 1. The indication information 2 is used for indicating that the mobile phone is not connected with the wearable device. If the mobile phone is not connected with the wearable device, the mobile phone generally needs to ring to prompt an incoming call or notify a message, and at this time, there is a switching intention 1. In this way, the mobile phone can recognize that there is a switching intention 1 in a case where an incoming call, a notification message, or the like cannot be presented by the wearable device.
In some embodiments, the status information includes an indication of whether the wearable device is worn on the user. Correspondingly, if the indication information indicating whether the wearable device is worn on the user is indication information 3, the state information does not satisfy the preset condition 1. The indication information 3 is used for indicating that the wearable device is worn on the user. If the wearable device is worn on the user, the user can easily view the prompt of the incoming call or the notification message from the wearable device. Therefore, prompting is not needed through ringing of the mobile phone, and the switching intention 1 does not exist at the moment. On the contrary, if the indication information indicating whether the wearable device is worn on the user is indication information 4, the state information satisfies the preset condition 1. Wherein the indication information 4 is used for indicating that the wearable device is not worn on the user. If the wearable device is not worn by the user, the user may not be able to see the wearable device even if an incoming call or a notification message is prompted by the wearable device, and the user needs to be prompted by ringing, and there is a switching intention 1. In this way, the mobile phone can recognize that the user cannot obtain an incoming call or a notification message through other ways as the case of the switching intention 1.
In some embodiments, the status information includes an indication of whether the user is using the handset. Correspondingly, if the indication information indicating whether the user is using the mobile phone is indication information 5, the state information does not satisfy the preset condition 1. Wherein, the indication information 5 is used for indicating that the user is using the mobile phone. On the one hand, if the user is using the mobile phone, the user can switch in time when the user has a need to switch the voice mode. For example, if the user wants to switch to the ring mode, the user can operate the switching on the mobile phone in time, and there is usually no switching intention 1 without switching. On the other hand, if the user is using the mobile phone, the user can find the prompt such as the incoming call or the notification message in time, and the prompt through ringing is not needed. In summary, if the user is using a mobile phone, there is no switching intention 1. On the contrary, if the indication information indicating whether the user is using the mobile phone is indication information 6, the state information satisfies the preset condition 1. The indication information 6 is used for indicating that the user is not using the mobile phone. If the user is not using the mobile phone, the user may not be able to switch to the ring mode in time, and there may be a switching intention 1. In this way, the mobile phone can recognize that the user cannot switch to the ring mode in time as the switching intention 1 exists.
In a second aspect, detection of environmental information is addressed.
In some embodiments, the environmental information includes an environmental sound of an environment in which the handset is located. Specifically, the environmental sound is the environmental sound acquired last time, that is, the environmental sound of the current environment (denoted as environmental sound 1). Accordingly, the handset may obtain the ambient sound 1 (e.g., from the TEE), and detect whether the ambient sound 1 exceeds a predetermined decibel value 1 (also referred to as a first decibel). If the detected environmental sound 1 exceeds the preset decibel value 1, the environmental information satisfies the preset condition 1. Generally, if the ambient sound is above 60 db, the environment is noisy, and the predetermined db value 1 may be a value greater than or equal to 60 db. For example, the preset decibel value 1 is 60 decibels, 80 decibels, or the like. If the ambient sound 1 exceeds the preset decibel value 1, the user may not feel the vibration of the mobile phone, or may not pay attention to the incoming call prompt (e.g., bright screen prompt) due to noisy environment. In this case, there may be a handover intention 1. On the contrary, if it is detected that the environmental sound 1 does not exceed the preset decibel value 1, the environmental information does not satisfy the preset condition 1. If the ambient sound 1 does not exceed the preset decibel value 1, the environment is relatively quiet, and the ringing of the mobile phone may affect people around the mobile phone. In this case, the handover intention 1 is not always present. In this way, the mobile phone can recognize a case where the environment is noisy as a case where the switching intention 1 exists.
Alternatively, the environmental sound may be the environmental sound acquired at least twice recently, that is, the environmental sound of the current environment (environmental sound 1) and at least one environmental sound of the historical environment (denoted as environmental sound 2). Accordingly, the handset may obtain the ambient sound 1 and the ambient sound 2 (e.g., from the TEE), and detect whether the ambient sound 1 exceeds the preset decibel value 1, and detect whether the ambient sound 2 exceeds the preset decibel value 2. Wherein the preset decibel value 2 is less than or equal to the preset decibel value 1.
If it is detected that the environmental sound 1 exceeds the preset decibel value 1 and it is detected that the environmental sound 2 does not exceed the preset decibel value 2, the environmental information satisfies the preset condition 1. The environmental sound 2 does not exceed the preset decibel value 2, which indicates that the historical environment is a relatively quiet environment, and the environmental sound 1 exceeds the preset decibel value 1, which indicates that the current environment is a relatively noisy environment. That is, the handset moves from a quiet environment to a noisy environment. In this case, the user is highly likely not to switch the sound mode in time, which may result in missed calls, and there is a switching intention 1. It should be noted that the preset decibel value 2 is smaller than the preset decibel value 1, so that the recognition error of the switching intention caused by the acquisition error of the environmental sound can be avoided. For example, if the predetermined db value 1 is equal to 70 db, and the predetermined db value 2 is equal to 50 db, the switching intention 1 is recognized only when the environment is at least 20 db higher than the environment sound 2 due to 1.
That is, if the ambient sound increases from the first volume range to the second volume range, the ambient information satisfies the predetermined condition 1. Wherein the maximum value of the first volume range is smaller than the minimum value of the second volume range.
Otherwise, if it is detected that the environmental sound 1 does not exceed the preset decibel value 1 and/or the environmental sound 2 exceeds the preset decibel value 2, the environmental information satisfies the preset condition 1. If the ambient sound 1 does not exceed the preset decibel value 1 and/or the ambient sound 2 exceeds the preset decibel value 2, it indicates that the mobile phone does not move from the quiet environment to the noisy environment. In this case, the handover intention 1 is not always present.
Illustratively, the preset decibel value 1 is equal to the preset decibel value 2. If the environmental sound 1 exceeds the preset decibel value 1 and the environmental sound 2 exceeds the preset decibel value 2, it indicates that the mobile phone is always in a noisy environment. In this case, if the user has the switching intention 1, the switching should be completed as soon as possible. Based on this, in the present embodiment, this case is recognized as a case where there is no switching intention 1.
By adopting the detection method of the embodiment, the condition that the environment where the mobile phone is located changes from quiet to noisy can be identified as the condition that the switching intention 1 exists.
In some embodiments, the environmental information includes an environmental locale where the cell phone is located. Specifically, the environment location is the environment location that was identified last time, that is, the current environment location (denoted as environment location 1). Accordingly, the mobile phone can acquire the environment location 1, and detect whether the environment location 1 is a preset environment location (which may also be referred to as a preset type). The preset environment place can be a roadside environment place, a carriage environment place, a square environment place and the like with high noise. If it is detected that the environmental location 1 is a preset environmental location, the environmental information satisfies a preset condition 1. In a preset environment, a user is likely to be unable to feel vibration due to noise or to pay attention to incoming call prompts. In this case, the user may have a switching intention 1. On the contrary, if it is detected that the environmental location 1 is not the preset environmental location (may also be referred to as a non-preset type), the environmental information does not satisfy the preset condition 1. In this case, the handover intention 1 is not always present.
It should be noted that the characteristics of the ambient location are usually very obvious, while the necessity of different characteristics for using the ring alert is also very clear. For example, vehicles and pedestrians on the roadside come and go, the noise is large, and calls are easy to miss. In addition, the roadside is a relatively open environment, and the ringing is not easy to cause interference to surrounding people. So that a ringing alert is necessary and can be used. For another example, the noise on the airplane is also very loud, and meanwhile, the airplane cannot answer the call, so that even if the ringing mode is turned on, the effect is not good. Thereby eliminating the need for ring alerts.
Therefore, in the present embodiment, the presence of the switching intention 1 can be accurately recognized by the environmental location. For example, if it is recognized from the environmental sound, it is obviously unreasonable that the situation on the airplane may be recognized as the situation where the switching intention 1 exists. With the mode of the present embodiment, it is possible to recognize that the environment place is on the airplane as the case where the switching intention 1 does not exist.
Alternatively, the environmental location may be the environmental locations that have been identified at least twice recently, that is, the environmental location currently located (environmental location 1) and at least one environmental location historically located (denoted as environmental location 2). Accordingly, the mobile phone can obtain the environment place 1 and the environment place 2, and detect whether the environment place 1 and the environment place 2 are preset environment places. If it is detected that the environment place 1 is the preset environment place and the environment place 2 is not the preset environment place, the environment information satisfies the preset condition 1. The environment place 2 is not a preset environment place, which indicates that the history environment place is an environment place which does not need to use the ringing prompt, and the environment place 2 is a preset environment place which indicates that the current environment place is an environment place which needs to use the ringing prompt. That is, the cellular phone moves from an environmental location where no ring alert is required to an environmental location where a ring alert is required. In this case, the user may have a switching intention 1. That is, if the environment location is changed from the non-preset type to the preset type, the environment information satisfies the preset condition 1. The preset type can be places with high noise, such as restaurants, carriages, roadside, squares, playgrounds or markets.
On the contrary, if it is detected that the environment location 1 is not the preset environment location, and/or the environment location 2 is the preset environment location, the environment information does not satisfy the preset condition 1. In this case, the mobile phone does not move from the environment location where the ring alert is not required to the environment location where the ring alert is required, and there is usually no intention to switch 1. In this way, the mobile phone can recognize that the switching intention 1 is present when the mobile phone moves from the environment location where the ring alert is not required to the environment location where the ring alert is required. So that the rationality of the recognition result can be improved.
The above-described process of detecting whether or not the preset condition 1 is satisfied, that is, the process of recognizing the switching intention 1, is individually directed to the various state information and the various environment information, respectively. In practical implementation, in order to improve the accuracy of identifying the handover intention 1, the mobile phone may identify the handover intention 1 by combining at least one type of state information and at least one type of environment information, which is not specifically limited in the embodiment of the present application. Wherein the at least one state information includes a sound pattern 1, and the at least one environmental information includes an environmental sound 1 and an environmental sound 2.
In an example, if the mobile phone detects that the sound mode 1 is the mute mode or the vibration mode, and the ambient sound 1 exceeds the preset decibel value 1, and the ambient sound 2 does not exceed the preset decibel value 2, the state information and the environmental information satisfy the preset condition 1. In this way, the mobile phone can recognize that the ring mode is not currently employed and that the situation moves from the quiet environment to the noisy environment as the situation in which the switching intention 1 exists.
Example two, when the pieces of state information and environment information conform to the situation as shown in table 1 below, it can be recognized that there is a handover intention 1.
TABLE 1
Figure BDA0003234790520000201
In this way, it can be recognized that a switching intention 1 is present in the case where the aforementioned listed items of status information and environmental information both indicate the presence of a switching intention 1, i.e. only in the case where the switching intention 1 is very strong.
In case that it is detected that the state information and the environment information satisfy the preset condition 1, S304 is performed to prompt the user to switch the ring mode. In the case that it is detected that the state information and the environment information do not satisfy the preset condition 1, S301 or S401 is repeatedly performed to continuously monitor whether there may be a handover requirement.
And S304, the mobile phone displays a switching prompt 1. The switching prompt 1 is used to request the user to confirm whether to switch to the ring mode.
Here, the switching indication 1 may also be referred to as first indication information.
For example, in a case where it is detected that the state information and the environment information satisfy the preset condition 1, the mobile phone may display a screen locking interface 501 shown in (a) of fig. 5. The screen locking interface 501 includes a switching prompt 502, where the switching prompt 502 is used to prompt switching to the ring mode.
Wherein, the switching prompt 1 includes prompt characters, pictures or videos. For example, the switching prompt 502 shown in (a) in fig. 5 includes a prompt text "whether to adjust to the ring mode".
In some embodiments, the switching prompt 1 further includes a control 1, where the control 1 is used to trigger the mobile phone to switch to the ring mode. For example, control 1 is a "confirm" button 503 in the switching prompt 502 shown in (a) in fig. 5.
In other embodiments, the switching prompt 1 further includes a control 2, and the control 2 is used for triggering the mobile phone cancel prompt. For example, control 2 is a "cancel" button 504 in the toggle prompt 502 shown in (a) in fig. 5.
It should be noted that if it is monitored through S401 whether there may be a need to switch the sound mode, the mobile phone may further display a prompt of missed call in the screen locking interface when it is detected that the status information and the environment information satisfy the preset condition 1. The missed call prompt is used for prompting the user that the missed call exists. For example, a screen lock interface 501 shown in fig. 5 (a) includes a missed call notification 505.
The display of the switching indication 1 is shown in the screen lock interface as an example. It should be noted that, in the embodiment of the present application, the screen locking interface includes an interface before unlocking after the mobile phone is turned on, and at this time, the screen locking interface generally includes an identifier that is not unlocked. For example, the lock screen interface may be the lock screen interface 501 shown in fig. 5 (a), where the lock screen interface 501 includes a closed lock 507 and a text prompt "slide unlock" 508. The closed lock 507 and the text prompt "slide unlocked" 508 may indicate that it has not been unlocked. Or, the screen locking interface may also include an interface in which the mobile phone is bright and the human face does not enter the main interface or the application interface after being unlocked, and at this time, the screen locking interface generally includes an identifier indicating that the unlocking is successful. For example, the lock screen interface may be the lock screen interface 509 shown in fig. 5 (b), and the lock screen interface 509 includes an identifier 510 indicating that the unlocking is successful. In the following embodiments, the screen locking interface is mainly described as an interface before unlocking after the mobile phone is turned on.
Moreover, in order to ensure that the switching prompt 1 can be noticed by the user, if there are multiple notification messages, when the switching prompt 1 is displayed in the screen locking interface, the switching prompt 1 can be displayed at the top n bits. Wherein n is not less than 1,n is an integer. For example, switch prompt 1 is set to the top display, i.e., n =1. Thereby, the reach rate of the switching information can be improved.
The display mode in the screen locking interface is mainly suitable for the following two situations: in the first case, when the mobile phone detects that the state information and the environment information satisfy the preset condition 1, and the mobile phone is in the screen locking interface, the switching prompt 1 can be displayed in the screen locking interface. And in the second situation, when the mobile phone detects that the state information and the environment information meet the preset condition 1, the mobile phone is in a screen-off state. After the mobile phone is on the screen and the screen locking interface is displayed, a switching prompt 1 can be displayed in the screen locking interface. For example, when the mobile phone detects that the state information and the environment information satisfy the preset condition 1, the mobile phone is in the screen-off state shown in fig. 6. The mobile phone may display a screen locking interface 501 shown in (a) in fig. 5 in response to a pressing operation of the power-on key 601 in fig. 6 by a user. Therefore, the mobile phone can display the switching prompt 1 to the user in time through the screen locking interface. However, in practical implementation, the switching prompt 1 is not limited to be displayed through the screen locking interface.
In some embodiments, the switching prompt 1 may also be displayed in the main interface of the handset. In the first case, when the mobile phone detects that the state information and the environment information satisfy the preset condition 1, if the mobile phone currently displays a main interface, the switching prompt 1 may be displayed in the main interface. And in the second situation, when the mobile phone detects that the state information and the environment information meet the preset condition 1, the mobile phone is in a screen-off state. After the mobile phone is on the screen and the main interface is directly displayed, the switching prompt 1 can be displayed in the main interface. For example, when the mobile phone detects that the state information and the environment information satisfy the preset condition 1, the mobile phone is in the screen-off state shown in fig. 6. In response to a pressing operation of a finger of a user on a fingerprint collection area on the back of the mobile phone, the mobile phone may directly display a main interface 701 shown in (a) of fig. 7. The main interface 701 includes a switch prompt 702. Therefore, the mobile phone can display the switching prompt 1 to the user in time through the main interface.
In other embodiments, the switch prompt 1 may also be displayed in the application interface. In the first case, when the mobile phone detects that the state information and the environment information satisfy the preset condition 1, if the mobile phone currently displays an application interface, the switching prompt 1 may be displayed in the application interface. And in the second situation, when the mobile phone detects that the state information and the environment information meet the preset condition 1, the mobile phone is in a screen-off state, and an application interface is displayed before the screen is turned off. After the mobile phone is on the screen and the application interface is directly displayed, the switching prompt 1 can be displayed in the application interface. For example, when it is detected that the state information and the environment information satisfy the preset condition 1, the mobile phone is in the screen-off state shown in fig. 6, and before the screen is turned off, the mobile phone displays an application interface of the video application. The mobile phone responds to the pressing operation of the finger of the user on the fingerprint acquisition area on the back of the mobile phone, and then the application interface 703 shown in (b) in fig. 7 can be directly displayed. The application interface 703 includes the content of the video application and the switch prompt 1704. Therefore, the mobile phone can display the switching prompt 1 to the user in time through the application interface.
And, different from displaying the switching prompt 1 in the lock screen interface, the following are: when the switching prompt 1 is displayed in the main interface or the application interface, the switching prompt 1 is not usually displayed for a long time in order to avoid influencing the use of the mobile phone by the user. In this case, the user may miss the switching notice 1. In particular, in case one, the phone is currently displaying the home interface or the application interface, but the user may not be using the phone, such as placing the phone on a table.
Based on this, in some embodiments, before the cell phone displays the switch prompt 1 in the main interface or the application interface, the cell phone may detect whether the user is using the cell phone. Further, in order to ensure that both eyes of the user can focus on the switching prompt 1, the mobile phone may detect whether the eyes of the user are watching the screen of the mobile phone through a watching sensing technology. If the eyes of the user are watching the screen of the mobile phone, the user is indicated to use the mobile phone. Correspondingly, if the mobile phone is detected to be used by the user, the mobile phone displays a switching prompt 1 in the main interface or the application interface. In this way, it is ensured that the user is made to see the switching prompt 1.
In the following embodiments, the scheme of the present application will be mainly described by taking an example of displaying a switch prompt 1 in a screen lock interface.
And S305, the mobile phone responds to the operation 1 of the user on the switching prompt 1, and switches the sound mode to the ringing mode.
Here, operation 1 may also be referred to as a first operation.
Before S305, the handset may receive operation 1 of the user for the switch alert 1. The operation 1 may be a click operation or a long-press operation of the user on the switching prompt. Alternatively, the operation 1 may be a preset gesture 1 (e.g., a "√" gesture). In the following embodiment, operation 1 is mainly a click operation of the user on control 1 in switching presentation 1 as an example.
Illustratively, control 1 is the "confirm" button 503 in the switching prompt 502 shown in (a) in fig. 5. The cellular phone can receive a click operation of the user on the "ok" button 503 in the switching prompt 502 shown in (a) in fig. 5. In response to the click operation, the mobile phone may display an unlocking interface 801 shown in (a) in fig. 8. Then, after the user successfully unlocks by inputting a password, a fingerprint or scanning a human face, the mobile phone may display a main interface 802 shown in (b) in fig. 8, and a status bar in the main interface 802 displays an icon 803 of a ring mode. That is, the mobile phone may switch the sound mode from the mute mode to the ringer mode in response to a click operation and an unlock operation of the control 1 by the user.
It should be noted that, in the case that the screen locking interface is an interface before unlocking after the mobile phone is on the screen, the user needs to further unlock the mobile phone after performing operation 1 to trigger the mobile phone to switch the sound mode. By the mode, the switching can be carried out after the identity identification is carried out, and the switching of the voice mode triggered by the operation of a non-owner on the mobile phone can be avoided.
In addition, if the switching prompt 1 displays an interface (such as a screen locking interface 509 shown in (b) of fig. 5), a main interface (such as the main interface 701 shown in (a) of fig. 7), and an application interface (such as the application interface 703 shown in (b) of fig. 7) that does not enter the main interface or the application interface after the face is unlocked, the mobile phone may directly switch the sound mode to the ring mode in response to the operation 1 of the user on the switching prompt 1, and may close the switching prompt 1.
In the embodiment of the present application, the mobile phone switches to the ring mode in response to operation 1. Therefore, the mobile phone can switch the sound mode based on the intention of the user, and the defect of inaccurate identification result can be overcome.
And S306, the mobile phone responds to the preset event 1 and closes the switching prompt 1. Wherein, the sound mode of the mobile phone is not changed.
The preset event 1 may be an operation 2 of the user on the switching prompt 1. The operation 2 may be a click operation, a long press operation, or the like. Alternatively, the operation 2 may also be a preset gesture 2 (e.g., a left slide gesture, a top slide gesture, etc.). In the following embodiment, the case where operation 2 is a click operation on control 2 in switching prompt 1 will be mainly described as an example.
Illustratively, control 1 is the "confirm" button 503 in the switching prompt 502 shown in (a) in fig. 5. The cellular phone can receive a click operation of the user on the "ok" button 503 in the switching prompt 502 shown in (a) in fig. 5. In response to the click operation, the mobile phone may display a screen locking interface 901 shown in fig. 9. In one aspect, a mute mode icon 902 is displayed in the status bar of the lock screen interface 901, and a mute mode icon 506 is also displayed in the status bar of the lock screen interface 501. That is, the sound pattern remains unchanged. On the other hand, unlike the lock screen interface 501: the screen lock interface 901 does not include the switching prompt 1. That is, the handset has turned off the display of the switching notice 1.
Or, the preset event 1 may be an event that the display duration of the switching hint 1 reaches the preset duration 1. Specifically, for the case where the switching prompt 1 is displayed in the main interface or the application interface, in order to avoid affecting the use of the mobile phone by the user, the preset duration 1 is usually displayed without user operation. For example, the preset time period may be 3 seconds, 5 seconds, 10 seconds, or the like. Therefore, for this situation, when the display duration of the switching prompt 1 reaches the preset duration 1, the mobile phone turns off the display of the switching prompt 1 and keeps the current sound mode unchanged.
S307, when the voice mode is switched to the ring mode, the mobile phone rings to prompt the user after receiving the incoming call or the notification message.
After the mobile phone is switched to the ring mode, that is, the current sound mode adopted by the mobile phone is adjusted to the ring mode, the mobile phone completes incoming call prompt or notification message prompt in the ring mode, so that a user can timely hear an incoming call or receive a notification message.
In summary, by using the method of the embodiment of the present application, the mobile phone can identify whether the user has the switching intention 1 when it is monitored that there may be a need to switch the voice mode. Therefore, the method can be identified in a targeted manner, and is beneficial to reducing the power consumption of the mobile phone. Further, the mobile phone identifies whether the switching intention 1 exists according to the state information and the environment, so that the accuracy of the identification result can be improved. Under the condition that the switching intention 1 is identified, the mobile phone displays a switching prompt 1 at a screen locking interface or a main interface and other positions so as to prompt a user to switch to a ringing mode; and, the user operates the switching prompt 1 to trigger the mobile phone to switch to the ringing mode. Thus, the mobile phone can provide a convenient switching entry for the user with the switching intention 1. So that a fast switch to ring mode is possible. After the mobile phone is switched to the ringing mode, the mobile phone can prompt the incoming call or inform information and the like through ringing, so that the user is prevented from missing various information.
Further, in the embodiment of the foregoing scenario 1, when it is detected that the state (e.g., state information) of the mobile phone and the environment (e.g., environment information) where the mobile phone is located satisfy the preset condition 1, the switching prompt 1 is pushed to the user. In practice, different users may have different requirements for switching prompts, for example, users who do not switch sound mode on a daily basis may not have a requirement for switching prompts.
Based on this, in other embodiments, targeted pushing is achieved. Specifically, as shown in fig. 10, before S303, S1001 is further included.
S1001, the mobile phone detects whether the user portrait meets a preset condition 2. If yes, executing S303; if not, executing S301 or S401.
Here, the preset condition 2 may also be referred to as a second preset condition.
Wherein, the user figure can indicate the switching habit of the user to the voice mode. And if the user portrait meets the preset condition 2, it indicates that the user has a high demand for quickly switching the mobile phone push switching prompt 1 to the ringing mode, and the user is a target user of the push switching prompt 1.
Several typical user profiles that can indicate a user's switching habits on the voice mode will be listed below, and a specific implementation of detecting whether the user profile satisfies the preset condition 2 will be described.
In some embodiments, the user representation includes a number of times 1 (which may also be referred to as a first time) that the mobile phone switches the sound mode in response to the user's operation within a second preset time period, where the second preset time period is a preset time period before the current time. For example, the second preset time is the last 1 month, half year, etc. Thus, the timeliness of the times 1 is ensured. If the number of times 1 exceeds a preset number of times 1 (which may also be referred to as a first preset number of times), the user image satisfies a preset condition 2. Wherein, the number 1 exceeds the preset number 1, which indicates that the user will switch the sound mode more frequently, and the user is the target user. If the number of times 1 that the user switches the sound mode does not exceed the preset number of times 1, the user figure does not satisfy the preset condition 2, and the user is not the target user. In this way, the mobile phone can determine the user who frequently switches the voice mode as the target user for pushing the switching prompt.
In some embodiments, the user representation includes instances of sound patterns employed by the user under different environmental information (e.g., environmental locale, environmental sound). For example, the user may use a ring mode in a noisy environment and the user may use a silent mode indoors.
In this embodiment, the user portrait includes a number of times 2 (which may also be referred to as a third time) that the mobile phone switches to the ring mode in response to the user's operation in a fourth preset time period when the ambient sound is greater than a preset decibel value 1. Similarly, the fourth preset time period is a preset time period before the current time. For example, the fourth preset time is the last 1 month, half year, etc. Thus, the timeliness of the times 2 is ensured. If the number 2 exceeds the preset number 2 (which may also be referred to as a third preset number), it indicates that the user tends to adopt the ringing mode in a noisy environment, and the user portrait satisfies the preset condition 2. In this case, the user is a target user. On the other hand, if the number of times 2 does not exceed the preset number of times 2, the user portrait does not satisfy the preset condition 2. In this case, the user is not the target user. For the preset decibel value 1, reference may be made to the description in S303, which is not described herein again. In this way, the mobile phone can determine the user who tends to switch to the ring mode in a noisy environment as the target user of the push switching prompt 1.
The mobile phone can trigger the mobile phone to collect the environmental sound of the environment after detecting the change of the sound mode. Then, the environmental sound when the sound mode is switched can be determined by combining the sound mode of the mobile phone at the current moment. Moreover, the collection is triggered after the switching of the sound mode is detected, so that the low-power-consumption sound collection can be realized, and the power consumption of the mobile phone is reduced.
Or, if the number 3 of times that the user adopts the ringing mode in the preset environment place is greater than the preset number 3, it indicates that the user tends to use the ringing mode in the preset places such as the roadside and the carriage, and the user portrait satisfies the preset condition 2. In this case, the user is a target user. Otherwise, if the number 3 of times that the user adopts the ringing mode in the preset environment is less than or equal to the preset number 3, the user portrait does not satisfy the preset condition 2. In this case, the user is not the target user. For the preset location, reference may be made to the description in S303, and details are not described herein. In this way, the mobile phone can determine the user who uses the ringing mode in the preset place as the target user for pushing the switching prompt.
In other embodiments, the user representation includes a number of times 4 (which may also be referred to as a second number of times) that the mobile phone switches the sound mode in response to operation 1 within a third predetermined time period. Similarly, the third preset time period refers to a preset time period before the current time. For example, the fourth preset time is the last 1 month, half year, etc. Thus, the timeliness of the times 4 is ensured. The preset number of times 4 is related to the number of times of displaying the switching prompt 1. For example, the ratio of the preset number of times 4 to the display number of times is greater than 50%. If the number of times 4 exceeds the preset number of times 4 (may also be referred to as a second preset number of times), the user's acceptance of switching the audio mode by the switching indication 1 is high, and the user's picture satisfies the preset condition 2. In this case, the user is a target user. On the contrary, if the number 4 does not exceed the preset number 4, the user portrait does not satisfy the preset condition 2, and the user is not the target user. In this way, the mobile phone may further determine the user with a high acceptance of switching the sound mode through the switching prompt 1 as the target user of the subsequent push switching prompt 1.
It should be noted that the foregoing description describes only a few exemplary user profiles as an implementation of detecting whether the user profile is the default condition 2. However, in practice, the method is not limited thereto. Illustratively, the user image may also include a case of a sound pattern that the user employs at different time periods. For example, the user may use a ringing mode during work hours and a silent mode or a vibration mode during rest hours. As a further example, the user may also be portrayed the situation of a sound pattern that the user may employ in different locations. For example, a user employs a ringing mode in a home and an office, and a silent mode or a vibration mode in a place other than the two places.
It should be appreciated that, because different user portrayals are employed, the dimensions detected in identifying the intent to switch may also be different accordingly. For example, if the user image to be used includes a voice pattern to be used by the user at different time periods, it is necessary to detect whether the current time is within the time period to use the corresponding voice pattern when recognizing the switching intention.
If the mobile phone detects that the user profile satisfies the preset condition 2, S303 is executed to further identify the switching intention of the user. On the contrary, when the mobile phone detects that the user image does not satisfy the preset condition 2, the switching prompt 1 is not displayed, and S301 or S401 and the subsequent steps are continued. It should be noted that the user profile is updated continuously, and the preset condition 2 is not satisfied currently, and the preset condition 2 may be satisfied later. Therefore, when it is detected that the user image does not satisfy the preset condition 2, S301 or S401 is repeatedly executed.
It should be noted that, in the embodiment shown in fig. 10, S1001 is described as being located between S302 and S303. If S1001 is executed before S302, the user' S switching intention may be further recognized if the user is a target user. Therefore, invalid operation of the mobile phone can be avoided. However, in actual implementation, the step of identifying the target user in S1001 may be performed before S304, and the sequence shown in fig. 10 is not limited. And if the target user is identified, executing the next step, and if the target user is not identified, entering the next round of monitoring.
In addition, a certain amount of time is required to construct the user representation. In a specific implementation, the embodiment shown in fig. 3 may be used to implement the embodiment of the present application before the implementation of the embodiment of the present application. And in the process, a user representation is constructed. For example, the number of times 4 is counted according to the operation of the user on the switching prompt. After a more complete user representation is formed, the embodiment shown in FIG. 10 is employed to implement the present application while continuously updating the user representation for subsequent use. In another specific implementation, an initial user representation may be set prior to implementing the present application, and the embodiment shown in FIG. 10 may be employed to implement the present application while the user representation is continually updated for subsequent use.
In summary, with the method of the embodiment of the present application, the mobile phone may detect a requirement pair of the user for the push switching prompt to switch the voice mode according to the user portrait, so as to identify whether the user is a target user of the push switching prompt. Then, a switching prompt is pushed for the target user. Therefore, targeted pushing can be realized, unnecessary pushing and subsequent processing thereof are avoided, and mobile phone operation is reduced. Meanwhile, the interference to non-target users can be reduced.
In this embodiment, the switching of the sound mode refers to switching from a ring mode to a vibration mode or a mute mode, that is, mode 1 is the vibration mode or the mute mode. Specifically, as shown in FIG. 11, the method includes S1101-S1107.
S1101, the mobile phone monitors whether the preset environmental parameters of the environment where the mobile phone is located are changed in a preset mode. If yes, go to S1102; if not, execution continues with S1101.
In scenario 2, the preset environment parameter may also be referred to as a first environment parameter.
For a specific implementation of S1101, reference may be made to the description of S301 in scenario 1, and details are not repeated here.
Similarly to scenario 1, the handset may also perform S1102 described below periodically or periodically without being triggered by S1101.
S1102, the mobile phone acquires the state information and the environment information. The state information includes a sound mode currently adopted by the mobile phone, and the environment information includes environment sound.
For specific implementation of S1102, refer to the description of S302 in scenario 1, and details are not repeated here.
S1103, the mobile phone detects whether the state information and the environment information satisfy preset condition 3. If yes, go to S1104; if not, S1101 is repeatedly executed.
In scenario 2, the preset condition 3 may also be referred to as a first preset condition.
If the mobile phone detects that the state information and the environment information meet the preset condition 3, it indicates that the condition of switching from the ring mode to the silent mode or the vibration mode is met. In this case, there is an intention to switch from the ringer mode to the mute mode or the vibration mode (i.e., an intention to switch 2). On the contrary, if the mobile phone detects that the state information and the environment information do not meet the preset condition 3, it indicates that the condition for switching from the ring mode to the silent mode or the vibration mode is not met. In this case there is no handover intention 2.
Hereinafter, a specific implementation of detecting whether the state information and the environment information satisfy the preset condition 3 will be described with respect to the state information and the environment information listed in S302.
In a first aspect, detection of status information is addressed.
In some embodiments, the status information includes voice mode 1 currently employed by the handset. Accordingly, the mobile phone can detect whether the sound mode 1 is a ring mode. If the sound mode 1 is the ring mode, the state information satisfies the preset condition 3, and there is a switching intention 2. On the contrary, if the sound mode 1 is the mute mode or the vibration mode, the status information does not satisfy the preset condition 3, and at this time, the switching intention 2 does not exist. In this way, the mobile phone can recognize a case where the switching to the mute mode or the vibration mode is not performed in time as a case where the switching intention 2 is present. That is, scene 2 should be premised on the current sound mode of the handset being the ringer mode. In case that the sound mode is the ring mode, it is necessary to further detect other state information and environment information.
In some embodiments, the status information includes an indication of whether the cell phone is connected to the wearable device. Correspondingly, if the indication information of whether the mobile phone is connected with the wearable device is indication information 1, the state information meets a preset condition 3. The indication information 1 is used for indicating that the mobile phone is connected with the wearable device. If the mobile phone is connected with the wearable device, the mobile phone can prompt an incoming call or inform a message by using the wearable device. So that there is no need to prompt by ringing, at which time it is necessary to switch to silent mode or vibration mode, so that there is switching intention 2. On the contrary, if the indication information indicating whether the mobile phone is connected to the wearable device is indication information 2, the state information does not satisfy the preset condition 3. The indication information 2 is used for indicating that the mobile phone is not connected with the wearable device. If the mobile phone is not connected with the wearable device, the mobile phone generally needs to ring to prompt an incoming call or a notification message, and at this time, the mobile phone cannot be switched to the silent mode or the vibration mode, so that the switching intention 2 does not exist. In this way, the mobile phone can recognize a situation that a call or a notification message, etc. can be prompted by the wearable device in time as a situation that the switching intention 2 exists.
In some embodiments, the status information includes an indication of whether the wearable device is worn on the user. Correspondingly, if the indication information of whether the wearable device is worn on the user body is indication information 3, the state information meets the preset condition 3. Wherein, the indication information 3 is used for indicating that the wearable device is worn on the user. If the wearable device is worn on the user, the user can easily view the prompt of the incoming call or the notification message from the wearable device. Therefore, the mobile phone does not need to be prompted by ringing, and at the moment, the mobile phone can be switched to a mute mode or a vibration mode, so that the switching intention 2 exists. On the contrary, if the indication information indicating whether the wearable device is worn on the user is indication information 4, the state information does not satisfy the preset condition 3. Wherein the indication information 4 is used for indicating that the wearable device is not worn on the user. If the wearable device is not worn on the user, even if the wearable device prompts an incoming call or a notification message, the user may not be able to see the incoming call or the notification message, and the wearable device also needs to ring to prompt the user, and at this time, the user cannot switch to the silent mode or the vibration mode, and thus there is no intention to switch 2. In this way, the mobile phone can recognize that the user can obtain the incoming call or the notification message through other ways as the case of the switching intention 2.
In some embodiments, the status information includes an indication of whether the user is using the handset. Correspondingly, if the indication information of whether the user is using the mobile phone is indication information 5, the state information satisfies preset condition 3. Wherein, the indication information 5 is used for indicating that the user is using the mobile phone. When a user uses a mobile phone, the user can timely obtain prompts such as an incoming call or a notification message, and at the moment, the user can switch to a silent mode or a vibration mode, so that the switching intention 2 exists. On the contrary, if the indication information indicating whether the user is using the mobile phone is indication information 6, the status information satisfies the preset condition 3. The indication information 6 is used for indicating that the user is not using the mobile phone. If the user is not using the mobile phone, the user may not be able to obtain the incoming call or notification message in time, and at this time, the user may not be able to switch to the silent mode or the vibration mode, so that there is no intention to switch 2. In this way, the mobile phone can recognize that the user can conveniently obtain the prompt such as the incoming call or the notification message as the situation of the switching intention 2.
In a second aspect, detection of environmental information is addressed.
In some embodiments, the environmental information includes an environmental sound of an environment in which the handset is located. Specifically, the environmental sound is the environmental sound acquired last time, that is, the environmental sound of the current environment (denoted as environmental sound 1). Accordingly, the handset may obtain the ambient sound 1 (e.g., from the TEE), and detect whether the ambient sound 1 exceeds a preset decibel value 2 (in the scene 2, the preset decibel value 2 may also be referred to as a first decibel). If it is detected that the environmental sound 1 does not exceed the preset decibel value 2, the environmental information satisfies the preset condition 3. Generally, if the ambient sound is below 60 db, the environment is quiet, and the preset db value 2 may be a value less than or equal to 60 db. For example, the preset decibel value 2 is 60 decibels, 40 decibels, or the like. If the ambient sound 1 does not exceed the preset decibel value 2, the environment is relatively quiet, and the ringing of the mobile phone may affect people around the mobile phone. In this case, there may be a handover intention 2. On the contrary, if it is detected that the environmental sound 1 exceeds the preset decibel value 2, the environmental information does not satisfy the preset condition 3. If the ambient sound 1 exceeds the preset decibel value 2, the user may not feel the vibration of the mobile phone, or may not pay attention to the incoming call prompt (e.g., bright screen prompt) due to noisy environment. In this case, the handover intention 2 is not always present. In this way, the cellular phone can recognize a case where the environment is quiet as a case where the switching intention 2 exists.
Alternatively, the environmental sound may be the environmental sound acquired at least two times last, that is, the environmental sound of the current environment (environmental sound 1) and at least one environmental sound of the historical environment (denoted as environmental sound 2). Accordingly, the phone may obtain the ambient sound 1 and the ambient sound 2 (e.g., from the TEE), detect whether the ambient sound 1 exceeds the predetermined decibel value 2, and detect whether the ambient sound 2 exceeds the predetermined decibel value 1. Wherein the preset decibel value 2 is less than or equal to the preset decibel value 1.
If it is detected that the environmental sound 1 does not exceed the preset decibel value 2 and the environmental sound 2 exceeds the preset decibel value 1, the environmental information satisfies the preset condition 3. The environmental sound 2 exceeds a preset decibel value 1, which indicates that the historical environment is a relatively noisy environment; the ambient sound 1 does not exceed the preset decibel value 2, indicating that the current environment is a relatively quiet environment. That is, the handset moves from a noisy environment to a quiet environment. In this case, the user is likely to affect the surrounding people by not switching to the mute mode or the vibration mode in time, and there is a switching intention 2. Similarly, the preset decibel value 2 is smaller than the preset decibel value 1, so that the recognition error of the switching intention caused by the acquisition error of the environmental sound can be avoided.
That is, if the ambient sound is decreased from the second volume range to the first volume range, the ambient information satisfies the predetermined condition 3. Wherein the maximum value of the first volume range is smaller than the minimum value of the second volume range.
Otherwise, if it is detected that the ambient sound 1 exceeds the preset decibel value 2, and/or it is detected that the ambient sound 2 does not exceed the preset decibel value 1, it is indicated that the mobile phone does not move from a noisy environment to a quiet environment, and the environmental information does not satisfy the preset condition 3. In this case, the handover intention 2 is not always present.
Illustratively, the preset decibel value 1 is equal to the preset decibel value 2. If the ambient sound 1 does not exceed the preset decibel value 2 and the ambient sound 2 does not exceed the preset decibel value 1, it indicates that the mobile phone is always in a quiet environment. In this case, if the user has a switching intention 2, the switching should be completed as soon as possible. In the present embodiment, this case is recognized as a case where the handover intention 2 does not exist.
By adopting the detection method of the embodiment, the situation that the environment where the mobile phone is located changes from noisy to quiet can be identified as the situation that the switching intention 2 exists.
In some embodiments, the environmental information includes an environmental locale where the cell phone is located. Specifically, the environment location is the environment location that was identified last time, that is, the environment location of the current environment (denoted as environment location 1). Accordingly, the mobile phone can acquire the environment location 1 and detect whether the environment location 1 is a preset environment location. The preset environment place can be a roadside environment place, a carriage environment place, a square environment place and the like with high noise. If it is detected that the environmental location 1 is not the preset environmental location, the environmental information satisfies the preset condition 3. If the environmental site 1 is not a preset environmental site, a silent mode or a vibration mode is usually required to avoid affecting surrounding people. In this case, there is a handover intention 2. On the contrary, if it is detected that the environment location 1 is the preset environment location, the environment information does not satisfy the preset condition 3. If the environmental site 1 is a predetermined environmental site, the telephone will usually be missed in the silent mode or vibration mode. In this case, the handover intention 2 is not always present. Similarly to scenario 1, the situation of the existence of the switching intention 2 can be accurately identified by the environmental location, and for concrete reasons, see the relevant description in scenario 1.
Alternatively, the environmental location may be the environmental locations that have been identified at least twice recently, that is, the environmental location currently located (environmental location 1) and at least one environmental location historically located (denoted as environmental location 2). Accordingly, the mobile phone can acquire the environment location 1 and the environment location 2, and detect whether the environment location 1 and the environment location 2 are preset environment locations. If it is detected that the environment place 1 is not the preset environment place and the environment place 2 is the preset environment place, the environment information satisfies the preset condition 3. The environment place 2 is a preset environment place, which indicates that the history environment place is an environment place needing to use a ringing prompt, and the environment place 1 is not a preset environment place, which indicates that the current environment place is an environment place needing not to use a ringing prompt. That is, the cellular phone moves from an environmental location where a ring alert is required to an environmental location where a ring alert is not required. In this case, there is a handover intention 2. That is, if the environment location is changed from the preset type to the non-preset type, the environment information satisfies the preset condition 3. The preset type can be places with high noise, such as restaurants, carriages, roadside, squares, playgrounds or markets.
On the contrary, if it is detected that the environment place 1 is the preset environment place and/or the environment place 2 is not the preset environment place, the environment information does not satisfy the preset condition 3. In this case, it is indicated that the mobile phone does not move from the environment location where the ring alert is required to the environment location where the ring alert is not required, and there is usually no intention to switch 2. In this way, the mobile phone can recognize that the switching intention 2 exists when the mobile phone moves from the environment location where the ring alert is required to the environment location where the ring alert is not required. So that the rationality of the recognition result can be improved.
The above-described process of detecting whether or not the preset condition 3 is satisfied, that is, the process of recognizing the switching intention 2, is individually directed to the various state information and the various environment information, respectively. In practical implementation, in order to improve the accuracy of identifying the handover intention 2, the mobile phone may identify the handover intention 2 by combining at least one type of state information and at least one type of environment information, which is not specifically limited in the embodiment of the present application. Wherein the at least one state information includes a sound pattern 1, and the at least one environmental information includes an environmental sound 1 and an environmental sound 2.
Illustratively, the presence of the handover intention 2 can be recognized only when the pieces of status information and environment information conform to the situation as shown in table 2 below.
TABLE 2
Figure BDA0003234790520000281
In this way, the presence of a switching intention 2 can be recognized in the case where both the aforementioned listed items of status information and items of environment information indicate the presence of a switching intention 2, i.e. only in the case where the switching intention 2 is very strong.
In case that it is detected that the state information and the environment information satisfy the preset condition 3, S1104 is performed to prompt the user to switch to the mute mode or the shake mode. If it is detected that the state information and the environment information do not satisfy the preset condition 3, S1101 is repeatedly executed.
And S1104, the mobile phone displays a switching prompt 2. The switching prompt 2 is used to request the user to confirm whether to switch to the silent mode or the vibration mode.
In scenario 2, the switching cue 2 may also be referred to as first cue information.
For example, in a case where it is detected that the state information and the environment information satisfy the preset condition 3, the mobile phone may display the screen locking interface 1201 illustrated in fig. 12. The screen locking interface 1201 includes a switching prompt 1202, and the switching prompt 1202 is used to prompt switching to a mute mode.
Unlike the switching cue 1 in scene 1: in scene 2, the switching cue 2 is used to cue switching to the silent mode or the vibration mode. That is, mode 1 is a silent mode or a vibration mode. Accordingly, the prompt text, picture or video in the switching prompt 2 is used for prompting the switching to the silent mode or the vibration mode. And the switching prompt 2 comprises a control 3 corresponding to the control 1 in the switching prompt 1, and the control 3 is used for triggering the mobile phone to be switched to a mute mode or a vibration mode. For example, the control 3 is a "confirm" button 1203 in the switching prompt 1202 shown in fig. 12, and the "confirm" button 1203 is used for triggering the mobile phone to switch to the silent mode.
Similarly, the switching prompt 2 may further include a control 4, where the control 4 is used to trigger the mobile phone cancel prompt. For example, control 4 is a "cancel" button 1204 in the toggle prompt 1202 shown in fig. 12, and the "confirm" button 1204 is used to trigger the handset to toggle to the silent mode.
Wherein the mode 1 may be determined according to the number of times of use of the vibration mode or the mute mode by the user. For example, if the number of uses of the vibration mode is greater than or equal to the number of uses of the mute mode, the mode 1 is the vibration mode. If the number of times of using the vibration mode is smaller than that of using the mute mode, the mode 1 is the mute mode. It should be noted that, the above is taken as an example of the combination of greater than and equal to, and in fact, equal to or less than is also possible, and this is not particularly limited in the embodiments of the present application. Therefore, the mode which is used to habit can be conveniently, subsequently and quickly switched.
Alternatively, mode 1 may be determined from ambient sound 1. For example, if the ambient sound 1 is greater than 0 and less than the preset decibel value 3, the mode 1 is the mute mode. So that the interference with surrounding people can be avoided in quite quiet environment. When the ambient sound 1 is greater than or equal to the preset decibel value 3 and less than the preset decibel value 2, the mode 1 is the vibration mode. Therefore, under a relatively quiet environment, interference with surrounding people can be avoided as much as possible, and meanwhile, information such as missed calls or notification messages can be avoided as much as possible. Similarly, the above is an example of the combination of greater than and equal to, and in fact, the combination of equal to and less than is also possible, and this is not particularly limited in the embodiments of the present application. Therefore, the mode matched with the environmental sound can be conveniently switched, and the switched mode gives consideration to interference to other people and prompt for a user.
For the portion related to displaying the switching prompt 2 that is not described in S1104, the content related to displaying the switching prompt 1 in S304 of scene 1 can be referred to, and details are not repeated here. For example, similar to the switch prompt 1, the switch prompt 2 may also be displayed at a screen lock interface, a main interface, or the like. Similarly, if there are multiple notification messages, when the switching prompt 2 is displayed in the screen locking interface, the switching prompt 1 may be displayed at the top n bits. Wherein n is not less than 1,n is an integer. For example, switch prompt 1 is set to the top display, i.e., n =1. Or, if the switching prompt 2 is displayed in the previous main interface or application interface, when it is detected that the user is using the mobile phone (the eyes of the user are watching the screen of the mobile phone), the mobile phone displays the switching prompt 2 in the main interface or application interface.
And S1105, the mobile phone responds to the operation 3 of the user on the switching prompt 2, and switches the sound mode into a mute mode or a vibration mode.
In scenario 2, operation 3 may also be referred to as a first operation.
For example, the operation 3 is a click operation of the user on the control 3 in the switching prompt 2. Assume that control 3 is the "confirm" button 1203 in the toggle prompt 1202 shown in fig. 12. The mobile phone may display an unlocking interface 1301 illustrated in (a) in fig. 13 in response to a click operation of the "ok" button 1203 by the user. Then, after the user successfully unlocks by inputting a password, a fingerprint or scanning a human face, the mobile phone may display a main interface 1302 shown in (b) of fig. 13, and a mute mode icon 1303 is displayed in a status bar in the main interface 1302. That is, the mobile phone may switch the sound mode from the ring mode to the mute mode or the vibration mode in response to the click operation and the unlock operation of the control 3 by the user.
It should be noted that, in the case that the screen locking interface is an interface before unlocking after the mobile phone is on the screen, the user needs to further unlock the mobile phone after performing operation 3 to trigger the mobile phone to switch the sound mode. By the mode, the switching can be carried out after the identity identification is carried out, and the switching of the voice mode triggered by the operation of a non-owner on the mobile phone can be avoided.
In addition, if the switching prompt 2 is displayed on the interface, the main interface or the application interface which does not enter the main interface or the application interface after the face is unlocked, the mobile phone can directly switch the sound mode into the mute mode or the vibration mode in response to the operation 3 of the user on the switching prompt 2, and can close the switching prompt 2.
In the foregoing description about S1105, the response of the handset to operation 3 is shown by only one specific example. For the rest, the description of S305 in scenario 1 can be referred to. It should be noted that at the time of reference, switching cue 1 should be replaced with switching cue 2, operation 1 should be replaced with operation 3, control 1 should be replaced with control 3, and the silent mode or the vibration mode should be replaced with the ringer mode.
And S1106, the mobile phone responds to the preset event 2 and closes the switching prompt 2. Wherein the sound mode of the handset remains unchanged.
With respect to S1106, the description of S306 in scenario 1 can be referred to. It should be noted that, at the time of reference, preset event 1 should be replaced with preset event 2, control 2 should be replaced with control 4, and toggle prompt 1 should be replaced with toggle prompt 2.
S1107, when the voice mode is switched to the silent mode or the vibration mode, the mobile phone prompts the user by muting or vibrating after receiving the incoming call or notification message.
In summary, by using the method of the embodiment of the present application, the mobile phone can identify whether the user has the switching intention 2 when it is monitored that there may be a need to switch the voice mode. Therefore, the method can be identified in a targeted manner, and is beneficial to reducing the power consumption of the mobile phone. Further, the mobile phone identifies whether the switching intention 2 exists according to the state information and the environment, so that the accuracy of the identification result can be improved. Under the condition that the switching intention 2 is identified, the mobile phone displays a switching prompt 2 at a screen locking interface or a main interface and other positions so as to prompt a user to switch to a mute mode or a vibration mode; and, the user operates the switching prompt 2 to trigger the mobile phone to switch to the silent mode or the vibration mode. In this way, the mobile phone can provide a convenient switching entry for the user with the switching intention 2. So that it is possible to quickly switch to the silent mode or the vibration mode. When the mobile phone is switched to the mute mode or the vibration mode, the mobile phone can mute or prompt information such as incoming calls or notification messages by vibration, so that interference to surrounding people is avoided.
Similar to scenario 1, in the embodiment of scenario 2, in the case that the state (e.g. state information) of the mobile phone and the environment (e.g. environment information) of the mobile phone are detected to satisfy the preset condition 2, a switching prompt (e.g. switching prompt 2) is pushed to the user. In practice, the switching prompt needs for different users are different, for example, for a user who does not switch the sound mode on a daily basis, there is no need for the switching prompt. Based on this, in other embodiments, targeted pushing is achieved. Specifically, as shown in fig. 14, before S1103, the method further includes S1401: s1401, the mobile phone detects whether the user portrait meets the preset condition 4. If yes, go to S1103; if not, S1101 is repeatedly executed.
In scenario 2, preset condition 4 may also be referred to as a second preset condition.
The difference from the foregoing S1001 is: in S1401, the electronic device needs to determine whether the user is a target user of the push switching prompt 2. Wherein, the electronic device can be determined by the user representation in the following dimensions:
dimension one, the user profile includes the number of times 1 (also referred to as a first time) that the mobile phone switches the sound mode in response to the user's operation within a first preset time period. If the number of times 1 exceeds the preset number of times 1 (which may also be referred to as a first preset number of times), the user portrait satisfies the preset condition 4. On the other hand, if the number of times 1 does not exceed the preset number of times 1 (which may also be referred to as a first preset number of times), the user image does not satisfy the preset condition 4. For the dimension one, see the relevant description in S1001.
And secondly, the user portrait includes the number 5 (also referred to as a third number) of times that the mobile phone is switched to a silent mode or a vibration mode in response to the user operation in a fourth preset time period and under the condition that the ambient sound is less than a preset decibel value 2. If the number 5 exceeds the preset number 5 (which may also be referred to as a third preset number), it indicates that the user tends to use the mute mode or the vibration mode in a quiet environment, and the user profile satisfies the preset condition 4. On the other hand, if the number of times 5 does not exceed the preset number of times 5, the user portrait does not satisfy the preset condition 4. The implementation principle of dimension two is similar to the detection and determination process of the number of times 2 in S1001, and is not described here again.
Dimension three, the user profile includes the number of times 6 (which may also be referred to as a second number of times) the handset switches sound modes in response to operation 3 within a third preset time period. If the number of times 6 exceeds the preset number of times 6 (may be referred to as a second preset number of times), the user's acceptance of switching the audio mode by the switching indication 2 is high, and the user's figure satisfies the preset condition 4. On the other hand, if the number of times 6 does not exceed the preset number of times 6, the user profile does not satisfy the preset condition 4, and the user is not the target user. The implementation principle of dimension three is similar to the detection and determination process of the number of times 4 in S1001, and is not described here again.
The foregoing describes the present solution with respect to scenario 1 and scenario 2, respectively. While in actual implementation, the schemes for scenario 1 and scenario 2 may not be completely independent. Illustratively, as shown in fig. 15, in actual implementation, the scheme of the present application is as follows: the handset may initially determine whether there may currently be a need to switch the voice mode (e.g., S301). If it is preliminarily determined that there is a need to switch the voice mode, the mobile phone may obtain the status information and the environment information (e.g., S302). Then, the mobile phone may determine whether the user is the target user (for example, S1001 and S1401 may be used to determine, corresponding to S1501 in fig. 15, that the preset condition 5 includes a preset condition 2 and a preset condition 4). For the target user, the mobile phone may detect whether the state information and the environment information satisfy the preset condition 1 (e.g., S303) and whether the state information and the environment information satisfy the preset condition 2 (e.g., S1103) at the same time (not shown in fig. 15) or sequentially (shown in fig. 15 in a sequential manner). If the preset condition 1 is detected to be met, displaying a switching prompt 1 (in S304); if it is detected that the preset condition 2 is satisfied, the switching indication 2 is displayed (in step S1104). If neither the preset condition 1 nor the preset condition 2 is satisfied, it is determined again whether there may be a need to switch the sound mode (e.g., S301 or S401). After the switching prompt (such as switching prompt 1 or switching prompt 2) is displayed, the mobile phone can switch the sound mode according to the operation of the user on the switching prompt (such as switching prompt 1 or switching prompt 2). Therefore, the corresponding sound mode can be flexibly and conveniently switched according to the switching intention of the user, and the switching mode can be switched to only the ringing mode, or can be switched to only the mute mode or the vibration mode.
Other embodiments of the present application provide an electronic device, which may include: the display screen (e.g., a touch screen), memory, and one or more processors. The display, memory and processor are coupled. The memory is for storing computer program code comprising computer instructions. When the processor executes the computer instructions, the electronic device may perform the various functions or steps of the above-described method embodiments. The structure of the electronic device may refer to the structure of the cellular phone 200 shown in fig. 2.
The embodiment of the present application further provides a chip system, as shown in fig. 16, the chip system 1600 includes at least one processor 1601 and at least one interface circuit 1602. The processor 1601 and the interface circuit 1602 may be interconnected by a line. For example, the interface circuit 1602 may be used to receive signals from other devices (e.g., a memory of an electronic device). Also for example, the interface circuit 1602 may be used to send signals to other devices, such as the processor 1601. Illustratively, the interface circuit 1602 may read instructions stored in a memory and send the instructions to the processor 1601. The instructions, when executed by the processor 1601, may cause the electronic device to perform the various steps in the embodiments described above. Of course, the chip system may further include other discrete devices, which is not specifically limited in this embodiment of the present application.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium includes computer instructions, and when the computer instructions are run on the electronic device, the electronic device is enabled to execute each function or step executed by the mobile phone in the foregoing method embodiment.
The embodiment of the present application further provides a computer program product, which when running on a computer, causes the computer to execute each function or step executed by the mobile phone in the above method embodiments.
Through the description of the above embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application, or portions of the technical solutions that substantially contribute to the prior art, or all or portions of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by 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 (16)

1. A method for switching a sound mode, comprising:
the method comprises the steps that the electronic equipment obtains a sound mode of the electronic equipment and current scene information of the electronic equipment; wherein the sound mode is a mute mode, a vibration mode or a ring mode; the scene information comprises environmental sounds of the environment where the electronic equipment is located;
under the condition that the sound mode is the mute mode or the vibration mode, if the scene information meets a first preset condition, the electronic equipment displays first prompt information; wherein, the scene information meeting a first preset condition comprises: the ambient sound rises from a first volume range to a second volume range; the first prompt information is used for requesting a user to confirm whether the ringing mode is switched or not;
the electronic equipment responds to a first operation of a user on the first prompt message, and the sound mode is switched to the ring mode.
2. The method of claim 1, wherein the context information further comprises first indication information indicating whether the electronic device is connected to a wearable device; wherein the wearable device comprises at least one of a bracelet, an earphone, a smart watch, and smart glasses;
the scene information meeting the first preset condition further comprises: the first indication information indicates that the electronic device is not connected with the wearable device.
3. The method according to claim 1 or 2, wherein the scene information further comprises second indication information indicating whether the wearable device is worn on the user; wherein the wearable device comprises at least one of a bracelet, an earphone, a smart watch, and smart glasses;
the scene information meeting the first preset condition further comprises: the second indication information indicates that the wearable device is not worn on the user.
4. The method according to any one of claims 1-3, wherein the context information further comprises third indication information, the third indication information indicating whether the electronic device is in a use state; the electronic device being in a use state comprises: the electronic equipment is in a bright screen state; and/or the electronic device detects that the pupil of the user is gazing at the screen of the electronic device; and/or the electronic equipment detects the touch operation of a user on the screen of the electronic equipment; and/or the electronic equipment detects that the light intensity of the environment is greater than a first preset intensity, and the acceleration of the electronic equipment is smaller than a preset acceleration;
the scene information meeting the first preset condition further comprises: the third indication information indicates that the electronic equipment is not in a use state.
5. The method of any of claims 1-4, wherein the context information further comprises a type of environment to which the environment belongs, the type of environment comprising a plurality of conference rooms, offices, hospitals, restaurants, carriages, curbs, squares, movie theaters, amusement parks, and malls;
the scene information satisfying the first preset condition further includes:
the environment type is changed into a preset type from a non-preset type; wherein the preset type comprises a restaurant, a carriage, a roadside, a square, a playground and/or a mall.
6. The method according to any one of claims 1-5, wherein before the electronic device obtains current context information of the electronic device, the method further comprises:
the electronic equipment monitors a first environmental parameter of an environment where the electronic equipment is located; wherein the first environmental parameters comprise Wi-Fi connection condition, wi-Fi list and/or light intensity;
the obtaining of the current scene information of the electronic device includes:
acquiring current scene information of the electronic equipment under the condition that the first environmental parameter is changed in a preset way;
wherein, the first environmental parameter is changed in a preset way, including:
the electronic device changes from being in a connected state with a first Wi-Fi to being disconnected with the first Wi-Fi, or the electronic device changes from being in a disconnected state with a second Wi-Fi to being connected with the second Wi-Fi, wherein the first Wi-Fi and the second Wi-Fi can be either Wi-Fi; and/or the presence of a gas in the gas,
the Wi-Fi list scanned by the electronic equipment is changed from a first Wi-Fi list to a second Wi-Fi list, and at least one different Wi-Fi exists in the first Wi-Fi list and the second Wi-Fi list; and/or the presence of a gas in the gas,
the light intensity of the environment where the electronic equipment is located is changed from a first intensity value to a second intensity value, and the absolute value of the difference value between the first intensity value and the second intensity value exceeds a preset value.
7. The method according to any one of claims 1-6, wherein before the electronic device obtains current context information of the electronic device, the method further comprises:
the electronic equipment monitors whether missed calls exist in the electronic equipment within first preset time;
the acquiring of the current scene information of the electronic device includes:
and acquiring current scene information of the electronic equipment under the condition that missed calls exist in the electronic equipment within a first preset time period.
8. The method of claim 7, wherein missed calls do not include calls identified by a flagged harassment and/or calls in the blacklist.
9. The method of any of claims 1-8, wherein prior to the electronic device displaying the first prompt message, the method further comprises:
the electronic equipment acquires a user image of a user; the user portrait comprises a first number of times, wherein the first number of times is the number of times that the electronic equipment responds to the operation of a user to switch a sound mode in a second preset time period;
the electronic equipment determines that the user portrait meets a second preset condition; wherein, the user portrait satisfies a second preset condition, including: the first time is greater than a first preset time.
10. The method of claim 9, wherein the user representation further comprises a second number of times the electronic device switches sound modes in response to the first operation within the third predetermined time period;
the user portrait meeting a second preset condition further comprises: the second number is greater than a second preset number.
11. The method of claim 9 or 10, wherein the user representation further comprises a third number of times that the electronic device switches to the ring mode in response to a user operation if the ambient sound is greater than the first decibel within a fourth preset time period;
the user portrait meeting a second preset condition further comprises: the third time is greater than a third preset time.
12. The method according to any one of claims 9-11, further comprising: and if the user portrait does not meet a second preset condition, the electronic equipment does not display the first prompt message.
13. The method of any of claims 1-12, wherein the electronic device displays the first prompt message, comprising:
the electronic equipment displays the first prompt message in a screen locking interface of the electronic equipment; and if a plurality of notification messages exist, the electronic equipment displays the first prompt message on top.
14. The method of any of claims 1-12, wherein the electronic device displays the first prompt message, comprising:
when the currently displayed interface of the electronic equipment is a main interface or an application interface of the electronic equipment, the electronic equipment displays the first prompt message when the electronic equipment detects that the pupil of a user is gazing at the screen of the electronic equipment.
15. An electronic device that supports a mute mode, a vibrate mode, and a ringer mode, the electronic device comprising a display, a memory, and one or more processors; the display screen, the memory and the processor are coupled; the memory for storing computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the method of any of claims 1-14.
16. A computer-readable storage medium having instructions stored therein, which when run on an electronic device, cause the electronic device to perform the method of any of claims 1-14.
CN202110998713.1A 2021-08-27 2021-08-27 Sound mode switching method and electronic equipment Pending CN115720248A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110998713.1A CN115720248A (en) 2021-08-27 2021-08-27 Sound mode switching method and electronic equipment
PCT/CN2022/091028 WO2023024565A1 (en) 2021-08-27 2022-05-05 Method for switching sound mode, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110998713.1A CN115720248A (en) 2021-08-27 2021-08-27 Sound mode switching method and electronic equipment

Publications (1)

Publication Number Publication Date
CN115720248A true CN115720248A (en) 2023-02-28

Family

ID=85253709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110998713.1A Pending CN115720248A (en) 2021-08-27 2021-08-27 Sound mode switching method and electronic equipment

Country Status (2)

Country Link
CN (1) CN115720248A (en)
WO (1) WO2023024565A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117478784A (en) * 2023-12-27 2024-01-30 珠海格力电器股份有限公司 Incoming call mode switching method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116167106B (en) * 2023-04-25 2023-08-01 深圳市爱保护科技有限公司 Smart watch display method and system, storage medium and smart terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012051814A1 (en) * 2010-10-21 2012-04-26 中兴通讯股份有限公司 Method and device for switching scene modes of a mobile terminal
CN104023121A (en) * 2014-04-30 2014-09-03 小米科技有限责任公司 Mode switching method and device
CN106303088A (en) * 2016-09-30 2017-01-04 努比亚技术有限公司 Prompting control method and mobile terminal
CN106534583A (en) * 2016-12-14 2017-03-22 北京小米移动软件有限公司 Terminal management method and equipment
WO2017185453A1 (en) * 2016-04-27 2017-11-02 宇龙计算机通信科技(深圳)有限公司 Scenario mode switching method, switching device, and terminal
CN108712578A (en) * 2018-08-28 2018-10-26 国人(江苏)智能通讯科技有限公司 A kind of method and apparatus that communication tool pattern automatically switches
CN109672787A (en) * 2019-02-18 2019-04-23 重庆蓝岸通讯技术有限公司 A kind of device intelligence based reminding method
CN111371955A (en) * 2019-06-04 2020-07-03 深圳传音控股股份有限公司 Response method, mobile terminal and computer storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170187866A1 (en) * 2015-10-17 2017-06-29 Eric Qing Li Automatic Volume Control Based on Context and Location
CN106453860A (en) * 2016-09-26 2017-02-22 广东小天才科技有限公司 Switching method and device of sound mode and user terminal
CN107172302A (en) * 2017-07-05 2017-09-15 珠海市魅族科技有限公司 Audio control method and device, computer installation and computer-readable recording medium
CN110881075B (en) * 2018-09-06 2021-09-28 奇酷互联网络科技(深圳)有限公司 Intelligent terminal, reminding mode selection method thereof and device with storage function

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012051814A1 (en) * 2010-10-21 2012-04-26 中兴通讯股份有限公司 Method and device for switching scene modes of a mobile terminal
CN104023121A (en) * 2014-04-30 2014-09-03 小米科技有限责任公司 Mode switching method and device
WO2017185453A1 (en) * 2016-04-27 2017-11-02 宇龙计算机通信科技(深圳)有限公司 Scenario mode switching method, switching device, and terminal
CN106303088A (en) * 2016-09-30 2017-01-04 努比亚技术有限公司 Prompting control method and mobile terminal
CN106534583A (en) * 2016-12-14 2017-03-22 北京小米移动软件有限公司 Terminal management method and equipment
CN108712578A (en) * 2018-08-28 2018-10-26 国人(江苏)智能通讯科技有限公司 A kind of method and apparatus that communication tool pattern automatically switches
CN109672787A (en) * 2019-02-18 2019-04-23 重庆蓝岸通讯技术有限公司 A kind of device intelligence based reminding method
CN111371955A (en) * 2019-06-04 2020-07-03 深圳传音控股股份有限公司 Response method, mobile terminal and computer storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117478784A (en) * 2023-12-27 2024-01-30 珠海格力电器股份有限公司 Incoming call mode switching method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2023024565A1 (en) 2023-03-02

Similar Documents

Publication Publication Date Title
WO2018045536A1 (en) Sound signal processing method, terminal, and headphones
CN105682196B (en) Communication control method, device and wearable device
US20230216946A1 (en) Dynamic User Interface Schemes for an Electronic Device Based on Detected Accessory Devices
WO2023024565A1 (en) Method for switching sound mode, and electronic device
JP7468830B2 (en) Energy efficient display processing method and device - Patents.com
US11240365B1 (en) Dynamic user interface schemes for an electronic device based on detected accessory devices
CN109920418A (en) Adjust the method and device of wakeup sensitivity
KR20140141916A (en) Apparatus and Method for operating a receiving notification function of a user device
CN107222391A (en) Group's based reminding method, device and equipment
CN112650405B (en) Interaction method of electronic equipment and electronic equipment
CN110288802A (en) A kind of reminding method, device and medium
CN109189986A (en) Information recommendation method, device, electronic equipment and readable storage medium storing program for executing
CN108391008A (en) A kind of message prompt method and mobile terminal
CN109039877A (en) A kind of method, apparatus, electronic equipment and storage medium showing unread message quantity
CN102946466A (en) Call answering method and device
CN110349578A (en) Equipment wakes up processing method and processing device
CN105515871B (en) The method and device of record log
CN106231137A (en) Processing method and processing device based on electricity
CN109982273A (en) A kind of information replying method and mobile terminal
CN110139270A (en) Wearable device matching method, wearable device and computer readable storage medium
CN109743448A (en) Reminding method and terminal device
CN109164908A (en) A kind of interface control method and mobile terminal
CN107071859B (en) It is connected to the network processing method, device and terminal
CN107677363B (en) Noise prompting method and intelligent terminal
CN107861605B (en) Data processing method and device

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