CN108111664A - A kind of method, terminal and the computer-readable medium of the tinkle of bells control - Google Patents
A kind of method, terminal and the computer-readable medium of the tinkle of bells control Download PDFInfo
- Publication number
- CN108111664A CN108111664A CN201711210459.4A CN201711210459A CN108111664A CN 108111664 A CN108111664 A CN 108111664A CN 201711210459 A CN201711210459 A CN 201711210459A CN 108111664 A CN108111664 A CN 108111664A
- Authority
- CN
- China
- Prior art keywords
- state
- terminal
- volume
- data
- ring
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000001514 detection method Methods 0.000 claims abstract description 6
- 206010048669 Terminal state Diseases 0.000 claims description 60
- 230000001133 acceleration Effects 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 9
- 230000003313 weakening effect Effects 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 4
- 238000012545 processing Methods 0.000 abstract description 4
- 230000007613 environmental effect Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000010411 cooking Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000007789 sealing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/60—Substation equipment, e.g. for use by subscribers including speech amplifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses method, terminal and the computer-readable medium of a kind of control of the tinkle of bells, wherein method includes:The exercise data and status data of detection terminal equipment;The SOT state of termination is determined according to the exercise data and status data, wherein, the SOT state of termination include at least whether handheld state, whether face state or environmental volume state;The size of the tinkle of bells is adjusted according to the SOT state of termination.The embodiment of the present invention carries out judgement processing according to particular situation in actual scene, can more hommization and intelligently control the tinkle of bells volume, reach effectively remind user effect.
Description
Technical Field
The present invention relates to the field of terminal device technologies, and in particular, to a method, a terminal, and a computer-readable medium for controlling ring tones.
Background
With the increasing popularity of mobile phone-based terminal devices, making calls is also becoming a part of daily life. However, since the ring tone is set to a fixed volume, the incoming ring tone is too small in some scenarios, resulting in inaudibility to the user; in some scenes, the ring tone is too large, which affects the normal work and life of the user. Alternatively, the incoming call ring tone is set to ring, but there are cases where the answering time has elapsed while the ring tone is heard and picked up by the user. It can be seen that the ring setting in the prior art does not achieve an effective reminding effect, and affects the use and experience of the user.
Disclosure of Invention
The embodiment of the invention provides a ring control method, which can solve the problem that the ring volume mode of terminal equipment is fixed under different scenes, so that the use and experience of a user are influenced.
In a first aspect, an embodiment of the present invention provides a ring tone control method, where the method includes:
detecting motion data and state data of the terminal equipment;
determining a terminal state according to the motion data and the state data, wherein the terminal state at least comprises a handheld state, a facing state or an environment volume state;
and adjusting the size of the ring according to the terminal state.
In a second aspect, an embodiment of the present invention provides a terminal, where the terminal includes a unit configured to perform the method of the first aspect.
In a third aspect, an embodiment of the present invention provides another terminal, which includes a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program that supports the terminal to execute the foregoing method, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the foregoing method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, the computer program comprising program instructions, which, when executed by a processor, cause the processor to perform the method of the first aspect.
The embodiment of the invention determines the terminal state according to the motion data and the state data by detecting the motion data and the state data of the terminal equipment, wherein the terminal state at least comprises whether the terminal is in a handheld state or in a facing state or in an environment volume state, and the volume of the ring tone can be controlled more humanized and intelligently according to the adjustment of the size of the ring tone of the terminal state, so that a user is effectively reminded, and the negative influence caused by the ring tone which is too much higher than the environment volume can be avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a ring tone control method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a detailed ring tone control method according to another embodiment of the present invention;
fig. 3 is a schematic block diagram of a terminal according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of a terminal according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the terminals described in embodiments of the invention include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The terminal supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
Referring to fig. 1, which is a schematic flowchart of a method for controlling ring tone according to an embodiment of the present invention, as shown in the figure, the method may include:
s101: and detecting the motion data and the state data of the terminal equipment.
In the embodiment of the present invention, the terminal device may be a user device, such as a smart phone, a tablet computer, an ipod series, a portable digital player, a notebook computer, a desktop computer, and the like. The terminal device may also be a wearable device, e.g. a smart band, a smart watch, etc. The above examples are intended to be illustrative only and are not to be construed as being limiting.
In the embodiment of the present invention, the motion data and the state data of the terminal device include, but are not limited to, environmental volume data, light intensity data, distance data, camera image data, pressure data, motion acceleration data, and the like. The environment volume data is used for describing the noisy degree of the environment where the terminal equipment is located, and the environment volume data can be obtained by collecting sound signals through a microphone device of the terminal equipment and measuring the intensity of the sound signals; the light intensity data is used for describing the brightness of the environment where the terminal equipment is located and can be obtained through measurement of a light sensor of the terminal equipment; the distance data is used for describing the distance between the terminal device and the object to be measured, wherein the object to be measured is the closest object in the axial direction of the distance sensor; the camera image data is used for describing an image shot by a camera of the terminal equipment; the pressure data is used for describing the pressure applied to the terminal equipment and can be obtained through a pressure sensor; the motion acceleration data is used for describing the motion state of the terminal object and can be obtained through an acceleration sensor.
It should be noted that the application environment of the embodiment of the present invention may be when a terminal device dials a phone call, may also be when a voice phone call or a video phone call of application software on the terminal device, may also be a reminding ring of a short message or an application message, and may also be an alarm ring, which is not limited specifically herein. For convenience of presentation, the following embodiments of the present invention describe application scenarios in which a terminal device is used to dial an incoming call, and other application scenarios can be analogized.
It can be understood that the time for detecting the motion data and the state data of the terminal device in the embodiment of the present invention may be a time period in which the ring is not played after receiving the instruction for playing the ring, for example, when the mobile phone receives the incoming call notification, detects the motion data and the state data and determines the size of the ring to play, and then does not detect the motion data and the state data any more; or detecting and adjusting the size of the ring tone all the time from receiving the instruction of playing the ring tone until the call is connected; or detecting and adjusting the size of the ring after receiving the ring playing instruction, and stopping detection when detecting that the user perceives the ring of the terminal equipment. It is to be understood that the above examples are intended in an illustrative rather than in a limiting sense.
S102: and determining the state of the terminal according to the motion data and the state data.
In the embodiment of the present invention, the terminal status includes, but is not limited to, a handheld status, a facing status, or an ambient volume status. The hand-held state can be understood as the situation in which the terminal device is held in the hand of the user. The method for judging the handheld state of the terminal device may be that the distance is detected by the distance sensor, the pressure applied by the pressure sensor is detected, and when the distance is greater than the threshold value and the pressure applied is within a preset range, the terminal device is judged to be in the handheld state. Further, if the distance is less than the threshold value and the light intensity detected by the light sensor is less than another threshold value, it is determined that the terminal device is in a blocked state, and the blocked state is used to describe a situation as if the terminal device is put into a pocket, a backpack, a box, or the like, or is pressed under bedding, a pillow, clothing, or the like.
The face state can be understood as the face state of the terminal equipment facing the face of the user, image data can be collected through the camera and analyzed to obtain a face area, the face area is matched with the recognition template, and whether the face state is judged according to the obtained recognition result.
The environment volume state is determined according to the environment volume, the environment volume detected by the microphone device can be divided into two levels according to decibels, one is a quiet state and the other is a noisy state, and the environment volume state can also be determined by finely dividing the environment volume state. It is to be understood that the above examples are intended in an illustrative rather than in a limiting sense.
S103: and adjusting the size of the ring according to the terminal state.
In the embodiment of the present invention, the type of the ring tone may be pure music, a song, a repeated alert tone, an artificially recorded sound, and the like, which is not limited herein.
In the embodiment of the present invention, the size of the ring tone can be divided into four volumes, i.e., a first volume, a second volume, a third volume and a fourth volume, wherein the first volume < the second volume < the third volume < the fourth volume. When the terminal state is a handheld state, a non-facing state and a quiet state, the ring volume is adjusted to be the first volume, for example, when a user walks on a corridor, the incoming call rings with the first volume, and because the corridor is in a particularly quiet state, very small sound can achieve the effect of reminding the user, and the user is not frightened by sudden ring. And when the terminal state is a handheld state, a non-facing state and a noisy state, adjusting the volume of the ring to be a second volume. And when the terminal state is a non-hand-held state, a non-facing state and a quiet state, adjusting the volume of the ring tone to be a third volume. For example, when a user puts a terminal device in a handbag and watches a television, and when a call comes in, the terminal device is in a closed environment, so that the received volume is much smaller than the external volume, the terminal device determines that the terminal device is in a quiet state, and the size of the ring is set to be strong because the ring is difficult to spread in the closed environment. And when the terminal state is in a non-handheld state, a non-facing state and a noisy state, adjusting the volume of the ring to be a fourth volume. It is to be understood that the first volume, the second volume, the third volume, and the fourth volume may not be a specific value, but may be a divided volume range.
Furthermore, the volume of the ring tone is adjusted to the initial volume of the ring tone when the phone calls in, and when the environment volume state changes, the volume of the ring tone can be changed correspondingly. For example, when a user receives an incoming call at a terminal device on an elevator, the volume of the ring tone is determined according to the state of the terminal device and played, at this time, the elevator is just switched on, the volume of the environment is suddenly increased, which may make the user unable to hear the ring tone, so the terminal detects the change of the state of the volume of the environment and accordingly indicates the ring tone enhancement. Also, in case the terminal status is not changed and the phone is not switched on, the volume of the ring tone may gradually increase until a certain threshold is reached. For example, when a user is cooking a dish in a kitchen, the terminal device receives an incoming call on a living room table, starts ringing at a first volume, does not detect that the state of the terminal changes after a period of time, and gradually increases the ring volume.
In the embodiment of the present invention, when it is detected that the terminal device is switched from the non-handheld state to the handheld state, the ring volume is adjusted to the lowest volume, which can be understood that the lowest volume is less than or equal to the first volume. For example, when the user hears a ring tone and opens the luggage, the terminal device is changed from the non-handheld state to the handheld state, and the user does not need the ring tone as large as this, so the terminal device can adjust the ring tone to the lowest volume. Furthermore, when the terminal device detects that the terminal state is the facing state at any time, the ring volume can be adjusted to be the lowest volume, and it can be understood that when the user faces the terminal device, the user can be reminded that the user has an incoming call without too large ring; similarly, the terminal device can also detect whether the user uses the mobile phone, and if the user uses the mobile phone, the user does not need to be reminded by too large ring. Further, when the motion state of the terminal device is detected to be that the acceleration is greater than a certain threshold value, wherein the threshold value may be a value greater than the acceleration of gravity, the terminal device gradually decreases or adjusts the size of the ring tone to the lowest volume. For example, when a user perceives a ring tone and picks up the terminal device, the terminal device must have a certain acceleration, so that the ring tone volume is adjusted when the acceleration of the terminal device is greater than a threshold value.
Therefore, the method of the embodiment of the invention can more intelligently adjust the volume of the ring tone, and achieve the effect of effectively reminding the user. In the prior art, a louder ringtone is played in a quiet state, so that the user is possibly frightened and other people are influenced; playing a lighter ringtone in a noisy state, so that a user may not hear the lighter ringtone and cannot achieve the original function of the ringtone; the ring tone is played in a ring-down mode, and the listening time may have elapsed when the ring tone reaches the volume heard by the user. In the above description of the embodiment of the present invention, the volume of the set ring tone is determined and adjusted according to the specific situation in the actual scene, so as to effectively remind the user.
Referring to fig. 2, a schematic flow chart of a method for providing another detailed ring control according to an embodiment of the present invention is shown.
It should be noted that, for a specific implementation process of the method shown in fig. 2, reference may be made to the specific implementation process described in the method according to the embodiment of the present invention, for example, motion data and state data of the terminal device are detected, the motion data and the state data are analyzed, a terminal state is determined, and ring volume and ring playing are adjusted according to the terminal state, which is not described herein again.
The method as shown in the figure can comprise:
s201: an instruction to play a ringtone is received.
It is understood that the instruction for playing the ring tone may be an instruction triggered by other terminal devices, such as a dial-up incoming call, an application software voice incoming call, an application software video incoming call, a short message reception, a mail reception, a data message reception, and the like; or the terminal device may send an instruction, such as an alarm clock ring, a schedule reminder, an application reminder, music playing, and the like.
S202: and detecting the motion data and the state data of the terminal equipment.
S203: and analyzing the motion data and the state data to determine the state of the terminal.
S204: and adjusting the ring volume and playing the ring according to the state of the terminal.
S205: steps S202, S203, and S204 are repeated.
In the embodiment of the invention, the terminal equipment continuously detects the motion data and the state data, analyzes the motion data and the state data, matches the terminal state of the analysis result with the ring volume according to the preset rule, and adjusts the ring volume in real time.
In the embodiment of the present invention, the detected motion data and state data include, but are not limited to, an ambient volume, a light intensity, a sensing distance, a camera image parameter, an acceleration parameter, and the like. The sensing distance is the distance between the sensor and the closest object in the axial direction, the camera image parameter is pixel point data in the camera capturing range, and the acceleration parameter is the motion acceleration data of the terminal equipment measured by the acceleration sensor. Further, the environmental state of the terminal device can be obtained by analyzing the data, and the behavior and the action of the user can be simulated and known. For example, according to the ambient volume, the light intensity, the sensing distance and the like, the noise degree, the sealing degree and the like around the terminal equipment can be obtained through analysis; according to the camera image parameters, the acceleration parameters and the like, whether the user faces the terminal equipment or not and whether the user picks up the terminal equipment or not can be analyzed. Further, according to a reasonable and effective preset rule, the analyzed terminal state is matched with the ring volume. It is understood that the preset rule conforms to the usage habits and preferences of the user and can cope with the generation of situations. For example, when the acceleration parameter of the terminal device is detected to be greater than the acceleration due to gravity after ringing, the intelligent inference results that the terminal device is being picked up, and thus, the user has perceived the ringing, so that the terminal device may gradually decrease or adjust the volume of the ringing to the lowest volume. For another example, when the terminal state does not change significantly after ringing, it can be intelligently inferred that the initial volume of the terminal device cannot remind the user, so the terminal device can gradually increase or adjust the volume of the ringing to the next volume level. It is to be understood that the above examples are intended in an illustrative rather than in a limiting sense.
S206: and receiving an instruction of closing the ring tone, and closing the ring tone.
It will be appreciated that the instruction to turn off the ring tone may be an instruction triggered by another application, such as turning on music or video and then playing the currently selected audio, instead of playing the ring tone; or an instruction of the user to trigger the ring off may be received, such as turning off an alarm, turning on an incoming call, and the like.
Therefore, by the method shown in fig. 2 in the embodiment of the present invention, data is continuously detected and analyzed, the data is intelligently matched with the ring volume, and then the ring volume is adjusted, so that the user can be reminded more humanized, the user experience is improved, and the user is prevented from being disturbed or missing an emergency due to the change of the situation.
The embodiment of the invention also provides a terminal, which is used for executing the unit of the method in any one of the preceding claims. Specifically, referring to fig. 3, a schematic block diagram of a terminal according to an embodiment of the present invention is shown. The terminal of the embodiment includes: a detection unit 301, a determination state unit 302, and an adjustment unit 303.
A detection unit 301 for detecting motion data and status data of the terminal device.
Specifically, the motion data and the state data of the terminal device include, but are not limited to, an ambient volume, a light intensity, an occlusion state, a face recognition state, a motion state, and the like.
A state determining unit 302, configured to determine a terminal state according to the motion data and the state data, where the terminal state at least includes a handheld state, a facing state, or an ambient volume state.
Specifically, according to the ambient volume, a quiet state or a loud state is determined; determining a handheld state or a non-handheld state according to the light intensity and/or the shielding state; and determining a facing state or a non-facing state according to the face recognition state.
An adjusting unit 302, configured to adjust the size of the ring according to the terminal state.
Specifically, under the condition that the terminal state is a handheld state, a non-facing state and a quiet state, adjusting the size of a ring tone to be a first volume according to the terminal state; when the terminal state is a handheld state, a non-facing state and a noisy state, adjusting the size of a ring to be a second volume according to the terminal state; under the condition that the terminal state is a non-handheld state, a non-facing state and a quiet state, adjusting the size of a ring to be a third volume according to the terminal state; when the terminal state is a non-handheld state, a non-facing state and a noisy state, adjusting the size of a ring to be a fourth volume according to the terminal state; wherein the first volume < the second volume < the third volume < the fourth volume.
Optionally, the size of the ring tone is gradually increased.
Optionally, the size of the ring of the terminal device is adjusted to a lowest volume when detecting that the terminal state is changed into a handheld state and a non-facing state, where the lowest volume is less than or equal to the first volume.
Optionally, the size of the ring of the terminal device is adjusted to a lowest volume when detecting that the terminal state is changed into a handheld state and a non-facing state, where the lowest volume is less than or equal to the first volume.
Optionally, the size of the ring tone is gradually decreased in the case that it is detected that the acceleration of the terminal device is greater than a threshold value.
Referring to fig. 4, a schematic block diagram of a terminal according to another embodiment of the present invention is shown. The terminal in this embodiment as shown in the figure may include: one or more processors 401; one or more input devices 402, one or more output devices 403, and memory 404. The processor 401, the input device 402, the output device 403, and the memory 404 are connected by a bus 405. The memory 402 is used to store computer programs comprising program instructions and the processor 401 is used to execute the program instructions stored by the memory 402. Wherein the processor 401 is configured to call the program instruction to perform:
detecting motion data and state data of the terminal equipment;
determining a terminal state according to the motion data and the state data, wherein the terminal state at least comprises a handheld state, a facing state or an environment volume state;
and adjusting the size of the ring according to the terminal state.
In an embodiment, the specific implementation manner of the processor 401 adjusting the size of the ring tone according to the terminal status through the output device 403 may be:
under the condition that the terminal state is a handheld state, a non-facing state and a quiet state, adjusting the size of a ring to be a first volume according to the terminal state; when the terminal state is a handheld state, a non-facing state and a noisy state, adjusting the size of a ring to be a second volume according to the terminal state; under the condition that the terminal state is a non-handheld state, a non-facing state and a quiet state, adjusting the size of a ring to be a third volume according to the terminal state; when the terminal state is a non-handheld state, a non-facing state and a noisy state, adjusting the size of a ring to be a fourth volume according to the terminal state; wherein the first volume < the second volume < the third volume < the fourth volume.
In one embodiment, the processor 401 may also invoke an application program stored in the memory 404 for performing the following operations:
gradually increasing the size of the ring tone.
In one embodiment, the processor 401 may also invoke an application program stored in the memory 404 for performing the following operations:
and under the condition that the terminal state is detected to be a facing state, adjusting the size of the ring of the terminal equipment to be the lowest volume, wherein the lowest volume is less than or equal to the first volume.
In one embodiment, the processor 401 may also invoke an application program stored in the memory 404 for performing the following operations:
and gradually weakening the size of the ring tone under the condition that the acceleration of the terminal equipment is detected to be larger than a threshold value.
In an embodiment, the specific implementation of the processor 401 determining the terminal status according to the motion data and the status data through the memory 404 may be:
determining a quiet state or a loud state according to the volume of the environment; determining a handheld state or a non-handheld state according to the light intensity and/or the shielding state; and determining a facing state or a non-facing state according to the face recognition state.
In one embodiment, the processor 401 may also invoke an application program stored in the memory 404 for performing the following operations:
and under the condition that the terminal state is detected to be changed into a handheld state and a non-facing state, adjusting the size of the ring of the terminal equipment to be the lowest volume, wherein the lowest volume is less than or equal to the first volume.
It should be understood that, in the embodiments of the present invention, the Processor 401 may be a Central Processing Unit (CPU), and the Processor may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 402 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 403 may include a display (LCD, etc.), a speaker, etc.
The memory 404 may include a read-only memory and a random access memory, and provides instructions and data to the processor 401. A portion of the memory 404 may also include non-volatile random access memory. For example, the memory 404 may also store device type information.
In a specific implementation, the processor 401, the input device 402, and the output device 403 described in this embodiment of the present invention may execute the implementation manners described in the first embodiment and the second embodiment of the ring tone control method provided in this embodiment of the present invention, and may also execute the implementation manners of the terminal described in this embodiment of the present invention, which is not described herein again.
In another embodiment of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program comprising program instructions that when executed by a processor implement:
detecting motion data and state data of the terminal equipment;
determining a terminal state according to the motion data and the state data, wherein the terminal state at least comprises a handheld state, a facing state or an environment volume state;
and adjusting the size of the ring according to the terminal state.
The computer readable storage medium may be an internal storage unit of the terminal according to any of the foregoing embodiments, for example, a hard disk or a memory of the terminal. The computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the terminal. The computer-readable storage medium is used for storing the computer program and other programs and data required by the terminal. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the method, the terminal and the unit described above may refer to corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed terminal and method can be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, 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 also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention 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 can be realized in a form of hardware, and can also be realized in a 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 computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A ring tone control method, comprising:
detecting motion data and state data of the terminal equipment;
determining a terminal state according to the motion data and the state data, wherein the terminal state at least comprises a handheld state, a facing state or an environment volume state;
and adjusting the size of the ring according to the terminal state.
2. The method of claim 1, wherein adjusting the size of the ring tone according to the terminal status comprises:
under the condition that the terminal state is a handheld state, a non-facing state and a quiet state, adjusting the size of a ring to be a first volume according to the terminal state;
when the terminal state is a handheld state, a non-facing state and a noisy state, adjusting the size of a ring to be a second volume according to the terminal state;
under the condition that the terminal state is a non-handheld state, a non-facing state and a quiet state, adjusting the size of a ring to be a third volume according to the terminal state;
when the terminal state is a non-handheld state, a non-facing state and a noisy state, adjusting the size of a ring to be a fourth volume according to the terminal state; wherein,
first volume < second volume < third volume < fourth volume.
3. The method of claim 2, further comprising: gradually increasing the size of the ring tone.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
and under the condition that the terminal state is detected to be changed into a handheld state and a non-facing state, adjusting the size of the ring of the terminal equipment to be the lowest volume, wherein the lowest volume is less than or equal to the first volume.
5. The method of claim 1, wherein determining the terminal state based on the motion data and the state data comprises:
determining a quiet state or a loud state according to the environment volume data in the state data;
determining a handheld state or a non-handheld state according to distance data in the motion data and pressure data in the state data, wherein the distance data is used for describing the distance between the handheld state or the non-handheld state and the detection object, and the pressure data is used for describing the pressure applied to the terminal equipment;
and determining a facing state or a non-facing state according to the camera image data in the state data.
6. The method of claim 1, further comprising:
and under the condition that the terminal state is detected to be a facing state, adjusting the size of the ring of the terminal equipment to be the lowest volume, wherein the lowest volume is less than or equal to the first volume.
7. The method of claim 1, further comprising:
and gradually weakening the size of the ring tone under the condition that the acceleration of the terminal equipment is detected to be larger than a threshold value.
8. A terminal, characterized in that it comprises means for performing the method according to any of claims 1-7.
9. A terminal, comprising a processor, an input device, an output device, and a memory, the processor, the input device, the output device, and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the method according to any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711210459.4A CN108111664A (en) | 2017-11-24 | 2017-11-24 | A kind of method, terminal and the computer-readable medium of the tinkle of bells control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711210459.4A CN108111664A (en) | 2017-11-24 | 2017-11-24 | A kind of method, terminal and the computer-readable medium of the tinkle of bells control |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108111664A true CN108111664A (en) | 2018-06-01 |
Family
ID=62207743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711210459.4A Withdrawn CN108111664A (en) | 2017-11-24 | 2017-11-24 | A kind of method, terminal and the computer-readable medium of the tinkle of bells control |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108111664A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108920126A (en) * | 2018-06-14 | 2018-11-30 | Oppo广东移动通信有限公司 | Processing method, device, storage medium and the terminal of ringing volume |
CN110868494A (en) * | 2018-08-27 | 2020-03-06 | 奇酷互联网络科技(深圳)有限公司 | Alarm clock volume adjusting method, mobile terminal and device with storage function |
CN112817554A (en) * | 2021-01-20 | 2021-05-18 | 北京小米移动软件有限公司 | Alert sound control method, alert sound control device, and storage medium |
CN112954112A (en) * | 2019-11-26 | 2021-06-11 | 夏普株式会社 | Electronic device, control device, and recording medium |
-
2017
- 2017-11-24 CN CN201711210459.4A patent/CN108111664A/en not_active Withdrawn
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108920126A (en) * | 2018-06-14 | 2018-11-30 | Oppo广东移动通信有限公司 | Processing method, device, storage medium and the terminal of ringing volume |
CN108920126B (en) * | 2018-06-14 | 2021-10-15 | Oppo广东移动通信有限公司 | Ringtone volume processing method and device, storage medium and terminal |
CN110868494A (en) * | 2018-08-27 | 2020-03-06 | 奇酷互联网络科技(深圳)有限公司 | Alarm clock volume adjusting method, mobile terminal and device with storage function |
CN110868494B (en) * | 2018-08-27 | 2021-09-07 | 深圳市知赢科技有限公司 | Alarm clock volume adjusting method, mobile terminal and device with storage function |
CN112954112A (en) * | 2019-11-26 | 2021-06-11 | 夏普株式会社 | Electronic device, control device, and recording medium |
CN112817554A (en) * | 2021-01-20 | 2021-05-18 | 北京小米移动软件有限公司 | Alert sound control method, alert sound control device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7203135B2 (en) | A semantic framework for variable haptic output | |
US10367950B2 (en) | Device notification adjustment dependent on user proximity | |
US20170126192A1 (en) | Method, device, and computer-readable medium for adjusting volume | |
CN108111664A (en) | A kind of method, terminal and the computer-readable medium of the tinkle of bells control | |
CN105657125B (en) | A kind of method and apparatus for adjusting In Call | |
US7589631B2 (en) | Adaptive audio signals in portable communications devices | |
US20120297304A1 (en) | Adaptive Operating System | |
JP7073592B1 (en) | User interface for managing audio exposure | |
CN109062535B (en) | Sound production control method and device, electronic device and computer readable medium | |
CN108322614B (en) | Event reminding method and device, storage medium and electronic equipment | |
CN108924375B (en) | Ringtone volume processing method and device, storage medium and terminal | |
KR20140141916A (en) | Apparatus and Method for operating a receiving notification function of a user device | |
US9119009B1 (en) | Transmitting audio control data to a hearing aid | |
CN110491419B (en) | Playing control method, system and terminal equipment | |
CN107197082A (en) | A kind of information prompting method and terminal | |
CN112394901A (en) | Audio output mode adjusting method and device and electronic equipment | |
US20160365021A1 (en) | Mobile device with low-emission mode | |
CN107734121B (en) | Volume control method and device, storage medium and electronic equipment | |
CN110175015B (en) | Method and device for controlling volume of terminal equipment and terminal equipment | |
CN112269559A (en) | Volume adjustment method and device, electronic equipment and storage medium | |
CN111742538A (en) | Reminding method and device and electronic equipment | |
CN107203264A (en) | The control method of display pattern, device, electronic equipment | |
CN107135305A (en) | A kind of message prompt method, device and terminal | |
CN108632461A (en) | Method, apparatus, terminal and the computer readable storage medium of alarm clock calling | |
CN107809538B (en) | Alarm clock reminding method and device and computer readable storage medium |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180601 |