Prompt tone control method, prompt tone control device and storage medium
By monitoring the terminal's handheld state and prompt sound playback status, the intensity of the prompt sound in the non-handheld state is enhanced, which solves the problem of difficulty for users to perceive the prompt sound in the non-handheld state and improves the timeliness of notifications.
Patent Information
- Application Number
- CN202110076256.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-20
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-01-20
AI Technical Summary
When the terminal plays prompt sounds in a non-handheld state, it is difficult for the user to perceive it in time, resulting in the possibility of missing important notifications or reminders.
By monitoring the handheld state of the terminal and the playback status of the prompt sound, if the non-handheld state is detected, the playback intensity of the prompt sound is enhanced. For example, the non-handheld state of the terminal is determined through the Sar sensor and IMU sensor, and the prompt tone is adjusted according to the detected data. Play intensity.
Ensure that the user can perceive the prompt sound in a timely manner in a non-handheld state, and avoid missing the corresponding operation processing due to the low intensity of the prompt sound.
Smart Images

Figure CN112817554B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to a prompt tone control method, a prompt tone control device and a storage medium. Background Art
[0002] With the development of terminal technology, the various functions provided by the terminal are also being continuously optimized.
[0003] In the related art, the terminal can play prompt sounds in various scenarios to remind the user through prompt sounds. For example, as an indispensable communication device in people's daily life, the terminal will play a prompt sound, such as vibration or ringing, when receiving an incoming call or short message notification. For another example, the terminal is used as an alarm clock or other reminder device, playing a prompt sound to remind the user of the corresponding matter.
[0004] However, in the related art, it often happens that the terminal plays a prompt tone, but the user cannot perceive the prompt tone in time. Summary of the invention
[0005] In order to overcome the problems existing in the related art, the present disclosure provides a prompt sound control method, a prompt sound control device and a storage medium.
[0006] According to a first aspect of an embodiment of the present disclosure, a prompt tone control method is provided. The prompt tone control method is applied to a terminal, and includes: monitoring a handheld state and a prompt tone playing state of the terminal; in response to monitoring that the terminal is in a non-handheld state and in a prompt tone playing state, playing a prompt tone, and increasing the prompt intensity of playing the prompt tone.
[0007] In one embodiment of the present disclosure, the terminal includes a Sar sensor; the monitoring that the terminal is in a non-handheld state includes: determining the confidence level of the terminal detected by the Sar sensor as being in a non-handheld state; in response to the confidence level being greater than or equal to a confidence level threshold, determining that the terminal is monitored as being in a non-handheld state.
[0008] In another embodiment of the present disclosure, the terminal further includes an IMU sensor, and the prompt sound control method further includes: in response to determining that the terminal is in a non-handheld state based on IMU data detected by the IMU sensor, increasing the confidence level.
[0009] In another embodiment of the present disclosure, determining that the terminal is in a non-handheld state based on the IMU data detected by the IMU sensor includes: acquiring the IMU data detected by the IMU sensor, and filtering the IMU data; extracting the effective value of the filtered IMU data; extracting the time domain characteristics of the effective value, and determining that the terminal is in a non-handheld state in response to the time domain characteristics being greater than a first time domain characteristic threshold.
[0010] In yet another embodiment of the present disclosure, the terminal further includes an IMU sensor, and the monitoring that the terminal is in a state of playing a prompt sound includes: determining that the terminal is in a state of playing a prompt sound based on IMU data detected by the IMU sensor.
[0011] In another embodiment of the present disclosure, determining that the terminal is in a state of playing a prompt sound based on the IMU data detected by the IMU sensor includes: acquiring the IMU data detected by the IMU sensor, and filtering the IMU data; extracting the effective value of the filtered IMU data; extracting the time domain characteristics and frequency domain characteristics of the effective value; in response to the time domain characteristics being less than a second time domain characteristic threshold, and the frequency domain characteristics conforming to the frequency domain characteristics corresponding to the prompt sound playback, determining that the terminal is in a state of playing a prompt sound.
[0012] According to a second aspect of an embodiment of the present disclosure, a prompt tone control device is provided. The prompt tone control device is applied to a terminal, and includes: a monitoring unit, which is used to monitor the handheld state and the prompt tone playing state of the terminal; and a processing unit, which is used to respond to monitoring that the terminal is in a non-handheld state and is in a prompt tone playing state, play the prompt tone, and enhance the prompt intensity of playing the prompt tone.
[0013] In one embodiment of the present disclosure, the terminal includes a Sar sensor; the processing unit monitors that the terminal is in a non-handheld state in the following manner: determining the confidence level of the terminal detected by the Sar sensor as being in a non-handheld state; in response to the confidence level being greater than or equal to a confidence level threshold, determining that the terminal is monitored to be in a non-handheld state.
[0014] In another embodiment of the present disclosure, the terminal further includes an IMU sensor, and the processing unit is further used for: in response to determining that the terminal is in a non-handheld state based on IMU data detected by the IMU sensor, increasing the confidence level.
[0015] In another embodiment of the present disclosure, the processing unit determines that the terminal is in a non-handheld state based on the IMU data detected by the IMU sensor in the following manner: acquiring the IMU data detected by the IMU sensor and filtering the IMU data; extracting the effective value of the filtered IMU data; extracting the time domain characteristics of the effective value, and determining that the terminal is in a non-handheld state in response to the time domain characteristics being greater than a first time domain characteristic threshold.
[0016] In another embodiment of the present disclosure, the terminal further includes an IMU sensor, and the monitoring unit monitors that the terminal is in a state of playing a prompt sound in the following manner: determining that the terminal is in a state of playing a prompt sound based on IMU data detected by the IMU sensor.
[0017] In another embodiment of the present disclosure, the monitoring unit determines that the terminal is in a state of playing a prompt sound based on the IMU data detected by the IMU sensor in the following manner: acquiring the IMU data detected by the IMU sensor, and filtering the IMU data; extracting the effective value of the filtered IMU data; extracting the time domain characteristics and frequency domain characteristics of the effective value; in response to the time domain characteristics being less than a second time domain characteristic threshold, and the frequency domain characteristics being consistent with the frequency domain characteristics corresponding to the prompt sound playback, determining that the terminal is in a state of playing a prompt sound.
[0018] According to a third aspect of an embodiment of the present disclosure, there is provided a prompt sound control device, comprising a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to call instructions to execute the prompt sound control method described in the first aspect of the present disclosure or any embodiment of the first aspect.
[0019] According to the fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When the instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to execute the prompt tone control method described in the first aspect of the present disclosure or any embodiment of the first aspect.
[0020] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the prompt tone control method of the present disclosure monitors the handheld state of the terminal and the prompt tone playing state. If it is detected that the terminal is in a non-handheld state and in a prompt tone playing state, a prompt tone will be played and the prompt intensity of the played prompt tone will be enhanced to ensure that the user can perceive the prompt tone in time when the terminal is not in a handheld state.
[0021] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0023] Figure 1 The present invention is a schematic diagram showing a use scenario of the prompt tone control method according to an embodiment of the present invention.
[0024] Figure 2 The figure is a flow chart of a prompt tone control method according to an exemplary embodiment.
[0025] Figure 3 The present invention is a flow chart showing a method of detecting that a terminal is in a non-handheld state according to an exemplary embodiment.
[0026] Figure 4 The figure is a flow chart of another prompt tone control method according to an exemplary embodiment.
[0027] Figure 5 The present invention is a flowchart showing a method of determining whether a terminal is in a non-handheld state based on IMU data detected by an IMU sensor according to an exemplary embodiment.
[0028] Figure 6 The present invention is a flowchart showing a method of determining that a terminal is in a state of playing a prompt tone based on IMU data detected by an IMU sensor according to an exemplary embodiment.
[0029] Figure 7 The figure is a flow chart of another prompt tone control method according to an exemplary embodiment.
[0030] Figure 8 The figure is a flow chart of another prompt tone control method according to an exemplary embodiment.
[0031] Fig. 9 The figure is a block diagram of a device for controlling a prompt tone according to an exemplary embodiment.
[0032] Fig.10 The invention is a block diagram of a device for controlling prompt sound according to an exemplary embodiment. DETAILED DESCRIPTION
[0033] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0034] The terminal can play reminder sounds in various scenarios to remind users through reminder sounds. For example, as an indispensable communication device in people's daily life, the terminal will play a reminder sound, such as vibration or ringing, when receiving an incoming call or short message notification. For another example, the terminal is used as an alarm clock or other reminder device, playing a reminder sound to remind the user of the corresponding matters.
[0035] However, in the related art, the terminal often plays a prompt tone, but the user cannot perceive the prompt tone in time.
[0036] Figure 1 The present invention is a schematic diagram showing a use scenario of the prompt tone control method according to an embodiment of the present invention.
[0037] like Figure 1 As shown, in the daily use of the terminal by the user, if the terminal is not in a handheld state, for example, the user places the terminal on the desktop, the incoming call is often not answered. This may be because the terminal is only in vibration mode but not in the prompt tone, or although the prompt tone of the terminal is turned on, the volume of the prompt tone is too low, so that the user misses the answering of the incoming call on the terminal.
[0038] The prompt tone control method provided by the present disclosure monitors the handheld state of the terminal and the prompt tone playing state. If it is detected that the terminal is in a non-handheld state and is in a prompt tone playing state, a prompt tone will be played and the prompt intensity of the played prompt tone will be enhanced to ensure that the user does not miss the timely processing of the operation corresponding to the prompt tone due to the prompt intensity of the prompt tone being too low when the terminal is not in the handheld state.
[0039] Figure 2 The figure is a flow chart of a prompt tone control method according to an exemplary embodiment.
[0040] In an exemplary embodiment of the present disclosure, the prompt tone control method can be applied to a terminal. For example, a smart mobile terminal, a tablet computer, etc. For the sake of convenience, the following will take the prompt tone as the prompt tone of an incoming call of the terminal as an example to illustrate the process of the prompt tone control method. Figure 2 As shown, the prompt tone control method includes step S11 and step S12, and each step will be introduced below.
[0041] In step S11, the holding state of the terminal and the prompt tone playing state are monitored.
[0042] In one embodiment, the handheld state of the terminal may include a handheld state and a non-handheld state. In one example, the handheld state of the terminal may be determined based on a Sar sensor in the terminal. The prompt tone may include one or more of vibration and ringing, and the prompt tone playing state may be understood as the terminal being in a state of playing vibration or ringing. In one example, if the prompt tone is a prompt tone about an incoming call to the terminal, the prompt tone playing state may indicate that the terminal is in an incoming call state.
[0043] In step S12, in response to detecting that the terminal is in a non-handheld state and in a state of playing a prompt tone, a prompt tone is played, and the prompt intensity of the played prompt tone is increased.
[0044] In one embodiment, when it is detected that the terminal is in a non-handheld state and is in a state of playing a prompt tone, for example, it is detected that the terminal is in a non-handheld state and is in a state of playing a prompt tone about an incoming call, in order to prevent the user from missing the answering of the terminal call, a prompt tone about the incoming call can be played, and the prompt intensity of the prompt tone can be enhanced to remind the user to answer the call. In one example, the prompt tone can be a ringing sound, and the enhanced prompt intensity of the prompt tone can be the ringing intensity of the enhanced ringing sound. In another example, the prompt tone can also be a vibration, and the enhanced prompt intensity of the prompt tone can also be the vibration intensity of the enhanced vibration.
[0045] The present disclosure provides a prompt tone control method, which monitors the handheld state of the terminal and the prompt tone playing state. If it is detected that the terminal is in a non-handheld state and is in a prompt tone playing state, the prompt tone will be played and the prompt intensity of the played prompt tone will be enhanced to ensure that the user does not miss the timely processing of the operation corresponding to the prompt tone due to the prompt intensity of the prompt tone being too low when the terminal is not in the handheld state.
[0046] The present disclosure will illustrate the process of detecting that the terminal is in a non-handheld state through the following embodiments.
[0047] Figure 3 The present invention is a flow chart showing a method of detecting that a terminal is in a non-handheld state according to an exemplary embodiment.
[0048] In an exemplary embodiment of the present disclosure, the terminal includes a Sar sensor. Figure 3 As shown, monitoring that the terminal is in a non-handheld state includes step S21 and step S22, and each step will be introduced below.
[0049] In step S21, the confidence level of the terminal detected by the Sar sensor being in a non-handheld state is determined.
[0050] In one embodiment, the Sar data detected by the Sar sensor may be obtained, and the Sar data may be low-pass filtered to filter high-frequency noise. Further, cluster analysis may be performed based on the filtered Sar data, and the confidence level of the Sar sensor detecting that the terminal is in a non-handheld state may be determined based on the result of the cluster analysis.
[0051] In the application process, the Sar sensor can monitor the electromagnetic power absorbed or consumed by the user's body tissue by reading the capacitance value of the terminal antenna, thereby assisting in adjusting the radiation power. In one example, the Sar sensor can determine whether the user is holding the terminal based on whether the electromagnetic power absorbed or consumed by the user's body tissue is monitored.
[0052] Since the electromagnetic power absorbed or consumed by the user's body tissue monitored by the Sar sensor may have errors, further, based on whether the electromagnetic power absorbed or consumed by the user's body tissue is monitored, there is also an error in determining whether the user is holding the terminal. In one embodiment, the confidence level that the terminal detected by the Sar sensor is in a non-handheld state (the user is not holding the terminal) can be determined, and whether the terminal is in a non-handheld state is determined based on the confidence level.
[0053] In step S22, in response to the confidence being greater than or equal to the confidence threshold, it is determined that the terminal is monitored to be in a non-handheld state.
[0054] In one embodiment, when the confidence level of the terminal detected by the Sar sensor that it is in a non-handheld state is greater than or equal to a confidence threshold, it can be determined that the Sar sensor detects that the terminal is in a non-handheld state. In the present disclosure, the accuracy of determining whether the terminal is in a non-handheld state is effectively improved by combining the confidence level of the terminal being in a non-handheld state.
[0055] In one embodiment, when it is detected that the terminal is in a non-handheld state and in a state of playing a prompt tone, a prompt tone may be played. For example, a prompt tone of an incoming call is played, and the prompt intensity of the prompt tone of the incoming call is enhanced to ensure that the user does not miss the timely processing of the operation corresponding to the prompt tone due to the prompt intensity of the prompt tone being too low when the terminal is not in a handheld state.
[0056] In another embodiment, when the confidence level of the terminal being in a non-handheld state detected by the Sar sensor is less than a confidence level threshold, it can be determined that the Sar sensor detects that the terminal is in a handheld state. Since the terminal is in a handheld state, when a call comes in, even if the terminal only turns on the vibration mode or the prompt tone played is weak, the user can still find the incoming call and will not miss the answer to the incoming call.
[0057] It is understandable that the confidence threshold can be adjusted according to actual conditions, and in the present disclosure, no specific limitation is made to the confidence threshold.
[0058] In the application process, the Sar sensor is used to detect whether the terminal is in a non-handheld state, which often requires a long calibration before using the Sar sensor. Furthermore, using only the Sar sensor to determine whether the terminal is in a non-handheld state may result in a large error. In order to further ensure the accuracy of the judgment of whether the terminal is in a non-handheld state, an IMU sensor can be added to assist in detecting whether the terminal is in a non-handheld state.
[0059] The present disclosure will illustrate the process of another prompt tone control method through the following embodiments.
[0060] Figure 4 The figure is a flow chart of another prompt tone control method according to an exemplary embodiment.
[0061] In an exemplary embodiment of the present disclosure, Figure 4 As shown, the prompt tone control method includes steps S31 to S35, wherein step S31 is the same as step S11, step S32 is the same as step S21, step S34 is the same as step S22, and step S35 is the same as step S12. The corresponding specific implementation methods and beneficial effects are referred to above and will not be described in detail in this embodiment. Step S33 will be described in detail below.
[0062] In step S33, in response to determining that the terminal is in a non-handheld state based on the IMU data detected by the IMU sensor, the confidence level is increased.
[0063] During the application process, in order to further ensure the accuracy of judging whether the terminal is in a non-handheld state, in addition to using the Sar sensor for detection, an IMU sensor can also be added to assist in detecting whether the terminal is in a non-handheld state.
[0064] In one embodiment, the confidence that the terminal is in a non-handheld state can be first detected using a Sar sensor. Further, if the terminal is determined to be in a non-handheld state based on IMU data detected by an IMU sensor, the confidence that the terminal is in a non-handheld state can be increased, and the increased confidence can be used as the confidence for the final determination of whether the terminal is in a non-handheld state. In one example, if the confidence is greater than or equal to the confidence threshold, it can be determined that the terminal is monitored to be in a non-handheld state.
[0065] Among them, based on the IMU data detected by the IMU sensor, it is determined that the terminal is in a non-handheld state. The increase in the confidence that the terminal is in a non-handheld state can be adjusted according to actual conditions. In the present disclosure, no specific limitation is made on the increase in confidence.
[0066] In one embodiment, when the confidence level of the Sar sensor detecting that the terminal is in a non-handheld state is 0.5 and the confidence threshold is 0.6, if only the Sar sensor is used to determine whether the terminal is in a non-handheld state, since the confidence level of the Sar sensor detecting that the terminal is in a non-handheld state is 0.5 which is less than the confidence threshold 0.6, it is determined that the terminal is in a handheld state. If an IMU sensor is added to assist in detecting whether the terminal is in a non-handheld state, and it is determined that the terminal is in a non-handheld state, the confidence level of 0.5 that the Sar sensor detects that the terminal is in a non-handheld state can be increased accordingly. The increased confidence level is used as the final confidence level for determining whether the terminal is in a non-handheld state.
[0067] In one example, it is determined that the terminal is in a non-handheld state based on the IMU data detected by the IMU sensor, and the increase in the confidence that the terminal is in a non-handheld state is 0.2. The increased confidence is 0.7 (0.2+0.5), which is greater than the confidence threshold of 0.6. Therefore, it can be determined that the terminal is in a non-handheld state.
[0068] Through the embodiments of the present disclosure, it is possible to avoid the large error in judging whether the terminal is in a non-handheld state by only using the SAR sensor, thereby improving the accuracy of judging whether the terminal is in a non-handheld state. Furthermore, it is possible to effectively ensure that when the user is not holding the terminal, the prompt tone intensity is too low and the user misses the timely processing of the operation corresponding to the prompt tone.
[0069] The present disclosure will illustrate the process of determining whether a terminal is in a non-handheld state based on IMU data detected by an IMU sensor through the following embodiments.
[0070] Figure 5 The present invention is a flowchart showing a method of determining whether a terminal is in a non-handheld state based on IMU data detected by an IMU sensor according to an exemplary embodiment.
[0071] In an exemplary embodiment of the present disclosure, Figure 5 As shown, determining that the terminal is in a non-handheld state based on the IMU data detected by the IMU sensor may include steps S41 to S43, and each step will be introduced below.
[0072] In step S41, IMU data detected by the IMU sensor is acquired, and the IMU data is filtered.
[0073] During the application process, the IMU data of the terminal in the handheld state and the non-handheld state are different. In one example, the IMU data can be vibration data about the terminal.
[0074] The terminal includes an IMU sensor, wherein the IMU sensor includes an accelerometer and a gyroscope. In one example, IMU data can be detected based on the accelerometer and the gyroscope. Since the IMU data detected based on the accelerometer and the gyroscope often has noise or errors, the IMU data detected by the IMU sensor can be filtered to obtain valid data.
[0075] In step S42, the effective value of the filtered IMU data is extracted.
[0076] In one embodiment, the IMU data detected by the IMU sensor may be filtered, and based on the processed data, valid values of the filtered IMU data may be extracted.
[0077] In order to ensure that there is no noise or error in the effective value of the IMU data, in another embodiment, the effective value of the IMU data may be filtered, and time domain features may be extracted based on the effective value of the filtered IMU data.
[0078] In step S43, the time domain feature of the effective value is extracted, and in response to the time domain feature being greater than the first time domain feature threshold, it is determined that the terminal is in a non-handheld state.
[0079] In one embodiment, the time domain features of the effective value of the filtered IMU data can be extracted. Among them, the time domain features may include interquartile range, skewness and standard deviation, etc. In one example, it can be determined whether the terminal is in a non-handheld state based on the time domain features and the first time domain feature threshold. In one embodiment, the time domain features can be analyzed based on the probability density function. When the time domain features are greater than the first time domain feature threshold, it is determined that the terminal is in a non-handheld state. It can be understood that the first time domain feature threshold can be adjusted according to actual conditions. In the present disclosure, the first time domain feature threshold is not specifically limited. In another embodiment, it can also be determined whether the terminal is in a non-handheld state based on the data features, data thresholds and data correlations of the filtered IMU data. In an exemplary embodiment of the present disclosure, it can be determined in the following way whether the terminal is in a state of playing a prompt sound based on the IMU data detected by the IMU sensor.
[0080] Based on the IMU data detected by the IMU sensor, it is determined that the terminal is in the state of playing the prompt sound.
[0081] In one embodiment, taking an incoming call as an example, the IMU data detected by the IMU sensor of the terminal may be caused by vibration of the incoming call of the terminal, or may be caused by movement of the terminal. In one example, the IMU data detected by the IMU sensor may be analyzed and judged to determine whether the IMU data detected by the IMU sensor is caused by vibration of the incoming call of the terminal.
[0082] It is understandable that during the vibration process of the terminal incoming call, since the frequency of the vibration has a certain regularity, the IMU data generated based on the vibration of the terminal incoming call also has a certain regularity. During the application process, the characteristics of the IMU data detected by the IMU sensor can be analyzed to determine whether the terminal is in the state of playing the prompt tone, for example, whether the terminal is in the state of an incoming call.
[0083] The present disclosure will illustrate the process of determining that the terminal is in the state of playing the prompt sound based on the IMU data detected by the IMU sensor through the following embodiments.
[0084] Figure 6 The present invention is a flowchart showing a method of determining that a terminal is in a state of playing a prompt tone based on IMU data detected by an IMU sensor according to an exemplary embodiment.
[0085] In an exemplary embodiment of the present disclosure, Figure 6 As shown, determining that the terminal is in a state of playing a prompt sound based on the IMU data detected by the IMU sensor includes steps S51 to S54, and each step will be introduced below.
[0086] In step S51, IMU data detected by the IMU sensor is obtained, and the IMU data is filtered.
[0087] The IMU sensor includes an accelerometer and a gyroscope. In one example, IMU data can be detected based on the accelerometer and the gyroscope, and the IMU data detected by the accelerometer and the gyroscope can be obtained. Since the IMU data detected based on the accelerometer and the gyroscope often has noise or errors, the IMU data detected by the IMU sensor can be filtered to obtain valid data.
[0088] In step S52, the effective value of the filtered IMU data is extracted.
[0089] In one embodiment, the IMU data detected by the IMU sensor may be filtered, and based on the processed data, valid values of the filtered IMU data may be extracted.
[0090] In order to ensure that there is no noise or error in the effective value of the IMU data, in another embodiment, the effective value of the IMU data can also be filtered, and time domain features and frequency domain features can be extracted based on the effective value of the filtered IMU data.
[0091] In step S53, the time domain features and frequency domain features of the effective value are extracted.
[0092] In one embodiment, the time domain features and frequency domain features of the effective value of the filtered IMU data can be extracted. The time domain features may include interquartile range, skewness, standard deviation, etc. The frequency domain features may characterize the frequency characteristics of the extracted filtered IMU data.
[0093] In step S54, in response to the time domain feature being less than the second time domain feature threshold and the frequency domain feature being consistent with the frequency domain feature corresponding to the prompt tone playing, it is determined that the terminal is in the prompt tone playing state.
[0094] In one example, it can be determined whether the terminal is in a state of playing a prompt tone based on the time domain characteristics and the frequency domain characteristics. In one embodiment, the time domain characteristics and the frequency domain characteristics can be analyzed based on the probability density function. Further, it can be determined that the terminal is in a state of playing a prompt tone based on the fact that the time domain characteristics are less than the second time domain characteristic threshold, and the frequency domain characteristics meet the frequency domain characteristics corresponding to the prompt tone playback. In one example, it can be determined that the terminal is in a state of playing a prompt tone based on the fact that the time domain characteristics of the effective value of the extracted filtered IMU data are less than the second time domain characteristic threshold, and the frequency domain characteristics meet the frequency domain characteristics corresponding to the incoming call prompt tone playback. It can be understood that the second time domain characteristic threshold can be adjusted according to actual conditions, and in the present disclosure, the second time domain characteristic threshold is not specifically limited. The frequency domain characteristics corresponding to the prompt tone playback can also be adjusted according to actual conditions, and in the present disclosure, the frequency domain characteristics corresponding to the prompt tone playback are not specifically limited.
[0095] The present disclosure will illustrate the process of the prompt tone control method through the following embodiments.
[0096] Figure 7 The figure is a flow chart of another prompt tone control method according to an exemplary embodiment.
[0097] In an exemplary embodiment of the present disclosure, Figure 7 As shown, the prompt tone control method includes step S61 to step S65, and each step will be introduced below.
[0098] In step S61, Sar sensor data is acquired.
[0099] In one embodiment, data detected by the Sar sensor can be obtained. During the application process, the Sar sensor can monitor the electromagnetic power absorbed or consumed by the user's body tissue by reading the capacitance value of the terminal antenna, thereby assisting in adjusting the radiation power. In one example, the Sar sensor can determine whether the user is holding the terminal based on whether the electromagnetic power absorbed or consumed by the user's body tissue is monitored.
[0100] In step S62, it is determined whether the device is in a non-handheld state.
[0101] In one embodiment, the data detected by the Sar sensor may be the confidence level that the terminal is in a non-handheld state (the user is not holding the terminal). During the application process, it may be determined whether the terminal is in a non-handheld state based on the confidence level.
[0102] In one embodiment, when the confidence level of the terminal detected by the Sar sensor in the non-handheld state is greater than or equal to the confidence threshold, it can be determined that the Sar sensor monitors that the terminal is in the non-handheld state. When the confidence level of the terminal detected by the Sar sensor in the non-handheld state is less than the confidence threshold, it can be determined that the Sar sensor monitors that the terminal is not in the non-handheld state.
[0103] In the application process, the Sar sensor is used to detect whether the terminal is in a non-handheld state, which often requires a long calibration before using the Sar sensor. Furthermore, using only the Sar sensor to determine whether the terminal is in a non-handheld state may result in a large error. In order to further ensure the accuracy of the judgment of whether the terminal is in a non-handheld state, the data detected by the accelerometer and gyroscope can be added to realize the auxiliary detection of whether the terminal is in a non-handheld state.
[0104] In step S63, accelerometer and gyroscope data are acquired.
[0105] In one embodiment, data detected by an accelerometer and a gyroscope may be obtained. In one example, the data detected by the accelerometer and the gyroscope may be vibration data about the terminal.
[0106] In step S64, the time domain characteristics of the data are determined and judged.
[0107] In one embodiment, the data detected by the accelerometer and the gyroscope may be filtered, and based on the processed data, a valid value of the filtered data may be extracted. Further, a time domain feature of the valid value may be extracted, and in response to the time domain feature being greater than a first time domain feature threshold, it may be determined that the terminal is in a non-handheld state.
[0108] In another embodiment, time domain features and frequency domain features of effective values may also be extracted. In response to the time domain feature being less than a second time domain feature threshold and the frequency domain feature being consistent with the frequency domain feature corresponding to the prompt tone playing, it is determined that the terminal is in the prompt tone playing state.
[0109] In step S65, the terminal prompt tone is turned on and the volume is increased.
[0110] In one embodiment, when it is determined based on data detected by an accelerometer and a gyroscope that the terminal is in a non-handheld state and is in a state of playing a prompt tone, for example, it is detected that the terminal is in a non-handheld state and is in a state of playing a prompt tone for an incoming call, in order to avoid the user missing the answer to the incoming call on the terminal, a prompt tone about the incoming call can be played, and the prompt intensity of the prompt tone can be enhanced to remind the user to answer the incoming call.
[0111] The present disclosure will illustrate the process of the prompt tone control method through the following embodiments.
[0112] Figure 8 The figure is a flow chart of another prompt tone control method according to an exemplary embodiment.
[0113] In an exemplary embodiment of the present disclosure, Figure 8 As shown, the prompt tone control method includes step S701 to step S712, and each step will be introduced below.
[0114] In step S701, the Sar data monitored by the Sar sensor is obtained.
[0115] In one embodiment, the terminal includes a Sar sensor, and Sar data monitored by the Sar sensor can be obtained. During the application process, the Sar sensor can monitor the electromagnetic power absorbed or consumed by the user's human tissue by reading the capacitance value of the terminal antenna, thereby assisting in adjusting the radiation power. In one example, the electromagnetic power absorbed or consumed by the human tissue monitored by the Sar sensor can be used as Sar data.
[0116] In step S702, the Sar data is subjected to low-pass filtering.
[0117] In one embodiment, the acquired Sar data may be subjected to low-pass filtering to filter out high-frequency noise and reduce the impact of high-frequency noise on the Sar data.
[0118] In step S703, cluster analysis is performed on the Sar data after low-pass filtering.
[0119] In one embodiment, cluster analysis can be performed on the Sar data after low-pass filtering, and the confidence level of the terminal being in a non-handheld state detected by the Sar sensor can be determined based on the cluster analysis results. In one example, when the confidence level of the terminal being in a non-handheld state detected by the Sar sensor is greater than or equal to a confidence threshold, it can be determined that the Sar sensor detects that the terminal is in a non-handheld state.
[0120] In the application process, the Sar sensor is used to detect whether the terminal is in a non-handheld state, which often requires a long calibration before using the Sar sensor. Furthermore, using only the Sar sensor to determine whether the terminal is in a non-handheld state may result in a large error. In order to further ensure the accuracy of the judgment of whether the terminal is in a non-handheld state, an IMU sensor can be added to assist in detecting whether the terminal is in a non-handheld state. Among them, the IMU sensor may include an accelerometer and a gyroscope.
[0121] In step S704, data monitored by the accelerometer and the gyroscope are obtained.
[0122] In step S705, the data is filtered to remove abnormal values and then filtered.
[0123] In one embodiment, for ease of explanation, the data monitored by the accelerometer and the gyroscope may be referred to as IMU data. Since the IMU data detected by the accelerometer and the gyroscope often contain noise or outliers, the IMU data detected by the IMU sensor may be subjected to outlier removal and filtering to obtain valid data.
[0124] In step S706, the time domain characteristics of the data are determined and judged.
[0125] In one embodiment, time domain features may be extracted from the filtered IMU data. The time domain features may include interquartile range, correlation, skewness, standard deviation, etc. In one example, the time domain features may be analyzed based on a probability density function, and the confidence that the terminal is in a non-handheld state may be determined based on the time domain features.
[0126] In step S707, it is determined whether the terminal is in a non-handheld state.
[0127] In one embodiment, the confidence level of the final determination that the terminal is in the non-handheld state may be determined based on the confidence level of the terminal being in the non-handheld state detected in step S703 and the confidence level of the terminal being in the non-handheld state detected in step S706. In one example, if the confidence level of the terminal being in the non-handheld state is greater than or equal to a confidence threshold (for example, the confidence threshold may be 0.5), the terminal is considered to be in the non-handheld state.
[0128] In step S708, data monitored by the accelerometer and the gyroscope are obtained.
[0129] The data detected by the accelerometer and the gyroscope may be obtained. In one example, the data detected by the accelerometer and the gyroscope may be data about vibration of an incoming call to the terminal.
[0130] In step S709, the data is filtered to remove abnormal values and then filtered.
[0131] In one embodiment, the data monitored by the accelerometer and gyroscope are still referred to as IMU data. The IMU data may be data about the vibration of incoming calls to the terminal. Since the IMU data detected by the accelerometer and gyroscope often contain noise or outliers, the IMU data detected by the IMU sensor may be deleting outliers and filtering to obtain valid data.
[0132] In step S710, the time domain characteristics and frequency domain characteristics of the data are determined and judged.
[0133] In step S711, it is determined whether the terminal vibrates regularly due to incoming calls.
[0134] In one embodiment, the time domain features and frequency domain features are extracted from the IMU data after filtering. Among them, the time domain features may include interquartile range, correlation, skewness and standard deviation, etc. The frequency domain features may include DC component, the location of the maximum value, frequency domain energy, amplitude mean and amplitude standard deviation, etc. In one example, the time domain features and frequency domain features can be analyzed based on the probability density function, and based on the time domain features and frequency domain features, the confidence of the terminal having regular incoming call vibrations is determined. When the confidence exceeds the confidence threshold (for example, the confidence threshold may be 0.9), it is considered that the terminal has regular incoming call vibrations, that is, the terminal is in the state of playing a prompt tone.
[0135] In step S712, the terminal prompt tone is turned on and the volume is increased.
[0136] In one embodiment, when it is detected that the terminal is in a non-handheld state and in a state of playing a prompt tone, in order to prevent the user from missing the answering of the terminal call, a prompt tone about the incoming call can be played, and the prompt intensity of the prompt tone can be enhanced to remind the user to answer the call. According to the above description, the prompt tone control method provided by the present disclosure monitors the handheld state of the terminal and the prompt tone playing state. If it is detected that the terminal is in a non-handheld state and in a state of playing a prompt tone, the prompt tone will be played, and the prompt intensity of the playing prompt tone will be enhanced to ensure that the user does not miss the timely processing of the operation corresponding to the prompt tone due to the prompt intensity of the prompt tone being too low when the terminal is not in a handheld state.
[0137] Based on the same concept, the embodiment of the present disclosure also provides a prompt sound control device.
[0138] It is understandable that in order to realize the above functions, the prompt tone control device provided by the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.
[0139] Fig. 9 The figure is a block diagram of a device for controlling a prompt tone according to an exemplary embodiment.
[0140] In an exemplary embodiment of the present disclosure, the prompt tone control device can be applied to a terminal. Fig. 9 As shown, the prompt tone control device includes a monitoring unit 101 and a processing unit 102. Each module will be introduced below.
[0141] The monitoring unit 101 may be configured to monitor the hand-held state and the prompt tone playing state of the terminal.
[0142] The processing unit 102 may be configured to: in response to detecting that the terminal is in a non-handheld state and in a state of playing an alert tone, play an alert tone and increase the prompt intensity of the played alert tone.
[0143] In an exemplary embodiment of the present disclosure, the terminal includes a Sar sensor; the processing unit 102 can monitor that the terminal is in a non-handheld state in the following manner: determine the confidence level of the terminal detected by the Sar sensor as being in a non-handheld state; in response to the confidence level being greater than or equal to a confidence level threshold, determine that the terminal is monitored to be in a non-handheld state.
[0144] In an exemplary embodiment of the present disclosure, the terminal further includes an IMU sensor, and the processing unit 102 may be further configured to: in response to determining that the terminal is in a non-handheld state based on IMU data detected by the IMU sensor, increase the confidence level.
[0145] In an exemplary embodiment of the present disclosure, the processing unit 102 may determine that the terminal is in a non-handheld state based on the IMU data detected by the IMU sensor in the following manner: obtain the IMU data detected by the IMU sensor and filter the IMU data; extract the effective value of the filtered IMU data; extract the time domain characteristics of the effective value, and determine that the terminal is in a non-handheld state in response to the time domain characteristics being greater than a first time domain characteristic threshold.
[0146] In an exemplary embodiment of the present disclosure, the terminal further includes an IMU sensor, and the monitoring unit 101 can monitor that the terminal is in a state of playing a prompt sound in the following manner: determining that the terminal is in a state of playing a prompt sound based on IMU data detected by the IMU sensor.
[0147] In an exemplary embodiment of the present disclosure, the monitoring unit 101 may determine that the terminal is in a state of playing a prompt sound based on the IMU data detected by the IMU sensor in the following manner: obtain the IMU data detected by the IMU sensor, and filter the IMU data; extract the effective value of the filtered IMU data; extract the time domain characteristics and frequency domain characteristics of the effective value; in response to the time domain characteristics being less than a second time domain characteristic threshold, and the frequency domain characteristics meeting the frequency domain characteristics corresponding to the prompt sound playback, determine that the terminal is in a state of playing a prompt sound.
[0148] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0149] Fig.10 2 is a block diagram of a device for controlling a prompt tone according to an exemplary embodiment. For example, the device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0150] Reference Fig.10 , the device 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .
[0151] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
[0152] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0153] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.
[0154] The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0155] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.
[0156] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0157] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200 and the temperature change of the device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0158] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0159] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0160] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0161] It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.
[0162] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.
[0163] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.
[0164] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.
[0165] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0166] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A prompt tone control method, characterized in that: The prompt tone control method comprises: Monitoring the handheld state of the terminal and the prompt tone playing state, wherein the terminal includes an IMU sensor; In response to detecting that the terminal is in a non-handheld state and in a state of playing a prompt tone, playing a prompt tone and increasing the prompt intensity of playing the prompt tone; The monitoring that the terminal is in a state of playing a prompt tone includes: Acquire IMU data detected by the IMU sensor, and filter the IMU data; Extract the effective value of the filtered IMU data; Extracting time domain features and frequency domain features of the effective value; In response to the time domain feature being less than a second time domain feature threshold, and the frequency domain feature being consistent with the frequency domain feature corresponding to the prompt tone playing, it is determined that the terminal is in a state of playing the prompt tone.
2. The prompt tone control method according to claim 1, characterized in that: The terminal includes a Sar sensor; The detecting that the terminal is in a non-handheld state includes: Determining the confidence level of the terminal being in a non-handheld state detected by the Sar sensor; In response to the confidence being greater than or equal to a confidence threshold, it is determined that the terminal is monitored to be in a non-handheld state.
3. The prompt tone control method according to claim 2, characterized in that: The prompt tone control method also includes: In response to determining that the terminal is in a non-handheld state based on IMU data detected by the IMU sensor, the confidence level is increased.
4. The prompt tone control method according to claim 3, characterized in that: The determining that the terminal is in a non-handheld state based on IMU data detected by the IMU sensor includes: Acquire IMU data detected by the IMU sensor, and filter the IMU data; Extract the effective value of the filtered IMU data; A time domain feature of the effective value is extracted, and in response to the time domain feature being greater than a first time domain feature threshold, it is determined that the terminal is in a non-handheld state.
5. A prompt sound control device, characterized in that: The prompt sound control device comprises: A monitoring unit, used to monitor the handheld state of the terminal and the prompt tone playing state, wherein the terminal includes an IMU sensor; A processing unit, configured to, in response to detecting that the terminal is in a non-handheld state and in a state of playing a prompt tone, play a prompt tone and increase the prompt intensity of playing the prompt tone; The monitoring unit determines that the terminal is in the state of playing the prompt tone in the following manner: Acquire IMU data detected by the IMU sensor, and filter the IMU data; Extract the effective value of the filtered IMU data; Extracting time domain features and frequency domain features of the effective value; In response to the time domain feature being less than a second time domain feature threshold, and the frequency domain feature being consistent with the frequency domain feature corresponding to the prompt tone playing, it is determined that the terminal is in a state of playing the prompt tone.
6. The prompt sound control device according to claim 5, characterized in that: The terminal includes a Sar sensor; The processing unit detects that the terminal is in a non-handheld state in the following manner: Determining the confidence level of the terminal being in a non-handheld state detected by the Sar sensor; In response to the confidence being greater than or equal to a confidence threshold, it is determined that the terminal is monitored to be in a non-handheld state.
7. The prompt sound control device according to claim 6, characterized in that: The processing unit is also used for: In response to determining that the terminal is in a non-handheld state based on IMU data detected by the IMU sensor, the confidence level is increased.
8. The prompt sound control device according to claim 7, characterized in that: The processing unit determines that the terminal is in a non-handheld state based on the IMU data detected by the IMU sensor in the following manner: Acquire IMU data detected by the IMU sensor, and filter the IMU data; Extract the effective value of the filtered IMU data; A time domain feature of the effective value is extracted, and in response to the time domain feature being greater than a first time domain feature threshold, it is determined that the terminal is in a non-handheld state.
9. A prompt sound control device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: execute the prompt tone control method described in any one of claims 1 to 4.
10. A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to execute the prompt tone control method according to any one of claims 1 to 4.
