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
- volume
- tinkle
- bells
- termination
- 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
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
Method, terminal and the computer controlled the present invention relates to terminal device technical field more particularly to a kind of the tinkle of bells can
Read medium.
Background technology
As the terminal device based on mobile phone becomes increasingly popular, make a phone call to also become a part for daily life.However,
Since the tinkle of bells is set to constant volume, incoming ring tone is too small in some scenes, and user is caused not hear;It sends a telegram here in some scenes
The tinkle of bells is again excessive, influences user normally work and life.Alternatively, incoming ring tone is set to gradually ring, but in some cases
The tinkle of bells, which is heard by the user, has had been subjected to listening time when picking up.As can be seen that the tinkle of bells setting of the prior art does not reach
To effective reminding effect, the use and experience of user are influenced.
The content of the invention
The embodiment of the present invention provides a kind of bell control method, can solve terminal device ringing volume mould under different scenes
Formula immobilizes, so as to influence the problem of user uses and experiences.
In a first aspect, an embodiment of the present invention provides a kind of bell control method, this 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, which includes at least, is
Whether no handheld state faces state or environmental volume state;
The size of the tinkle of bells is adjusted according to the SOT state of termination.
Second aspect, an embodiment of the present invention provides a kind of terminal, which includes performing above-mentioned first aspect
The unit of method.
The third aspect, an embodiment of the present invention provides another terminal, including processor, input equipment, output equipment and
Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is for storage branch
The computer program that terminal performs the above method is held, the computer program includes program instruction, and the processor is configured to use
In calling described program instruction, the method for performing above-mentioned first aspect.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer storage media
Computer program is stored with, the computer program includes program instruction, and described program instruction makes institute when being executed by a processor
State the method that processor performs above-mentioned first aspect.
The embodiment of the present invention by the exercise data and status data of detection terminal equipment, according to the exercise data with
And status data determines the SOT state of termination, wherein, the SOT state of termination include at least whether handheld state, whether in face of state or
Environmental volume state adjusts the size of the tinkle of bells according to the SOT state of termination, more hommization and intelligently can control the tinkle of bells
Volume, effectively reminded user and can to avoid excessively exceed environmental volume the tinkle of bells caused by negative effect.
Description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present invention, general for this field
For logical technical staff, without creative efforts, other attached drawings are can also be obtained according to these attached drawings.
Fig. 1 is a kind of schematic flow diagram of bell control method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram of the method for detailed the tinkle of bells control that another embodiment of the present invention provides;
Fig. 3 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 4 is a kind of terminal schematic block diagram that another embodiment of the present invention provides.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without making creative work
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought use in this specification and in the appended claims, term " comprising " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole
Body, step, operation, element, component and/or its presence or addition gathered.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combinations and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet computer of (for example, touch-screen display and/or touch tablet) etc it is other just
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch tablet).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface
Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.In this way, the public physical structure of terminal is (for example, touch
Sensing surface) it can support the various application programs with user interface directly perceived and transparent for a user.
It is that the embodiment of the present invention provides a kind of schematic flow diagram of the method for the tinkle of bells control referring to Fig. 1, method as shown in the figure
It may include:
S101:The exercise data and status data of detection terminal equipment.
In the embodiment of the present invention, terminal device can be user equipment, for example, smart mobile phone, tablet computer, ipod systems
Row, portable digital player, laptop and desktop computer etc..Terminal device can also be wearable device, example
Such as, Intelligent bracelet, smartwatch etc..Above-mentioned example is only for illustrating, it is impossible to be interpreted as specifically limiting.
In the embodiment of the present invention, the exercise data and status data of terminal device include but are not limited to environmental volume number
According to, light intensity data, range data, camera image data, pressure data and moving acceleration data etc..Wherein, ring
Border volume data is used to describe the noisy degree of terminal device local environment, can be gathered by the microphone apparatus of terminal device
Voice signal simultaneously measures its intensity and obtains;Light intensity data are used to describe the brightness of terminal device local environment, can pass through
The light sensor measurement of terminal device obtains;Range data, can for describing the distance between terminal device and testee
With understanding, wherein testee is the immediate object of axial direction of range sensor;Camera image data are used to describe
The image that the camera of terminal device takes;Pressure data can pass through for describing the pressure size that terminal device is subject to
Pressure sensor obtains;Moving acceleration data is used to describe the motion state of end item, can pass through acceleration transducer
It obtains.
It should be noted that when the application environment of the embodiment of the present invention can be terminal device dial telephone incoming call,
It can also be the voice call of the application software on terminal device or when visual telephone is sent a telegram here or short message or application
The prompting the tinkle of bells of message, can also be ring of alarm clock, is not specifically limited herein.In order to state simplicity, the aftermentioned present invention is implemented
The application scenarios of example explanation all using terminal equipment dial telephone incoming calls, other application scene can be analogized.
It is understood that the exercise data of detection terminal equipment of the embodiment of the present invention and the time of status data,
Can not play period of the tinkle of bells also after receiving the instruction for playing the tinkle of bells, for example, mobile phone receives call-in reporting,
Detection exercise data and status data simultaneously determine that the tinkle of bells size plays out, and hereafter just no longer detect exercise data and status number
According to;It can also be from the instruction for receiving broadcasting the tinkle of bells, just be detected always and adjust the size of the tinkle of bells, until phone is connect
It is logical;It after can also be that reception plays the tinkle of bells instruction, detects and adjusts the size of the tinkle of bells, when detecting that user perceives terminal device
The tinkle of bells after, just stop detection.It is to be understood that above-mentioned example is all as a kind of citing, limited not as specific.
S102:The SOT state of termination is determined according to the exercise data and status data.
In the embodiment of the present invention, the SOT state of termination include but not limited to whether handheld state, whether in face of state or
Environmental volume state.Wherein, handheld state can be understood as situation of the terminal device by user in hand held.Terminal device judges
The method of handheld state can be, by range sensor detecting distance, pressure is detected by pressure sensor, when this away from
During from more than threshold value and the pressure in presetting range, judge that terminal device is in handheld state.It further, if should be away from
In the case of being less than another threshold value from the light intensity less than threshold value and light sensor detection, judge that terminal device is in and hidden
Gear state, the state that is blocked for describe as terminal device be placed into inside pocket, knapsack or chest etc. or be crushed on bedding,
Situation below pillow or clothes etc..
Wherein, situation of the terminal device in face of user face is can be understood as in face of state, can be gathered by camera
Image data and analyze obtain human face region, matched with recognition template, obtain recognition result and determine whether facial state.
Wherein, environmental volume state is determined according to the size of environmental volume, can detect microphone apparatus
Environmental volume is divided into two ranks by decibels, and one is that rest state one is noisy state, it can also be carried out more
Subtle division determines environmental volume state.It is to be understood that above-mentioned example is all as a kind of citing, not as specific limit
It is fixed.
S103:The size of the tinkle of bells is adjusted according to the SOT state of termination.
In the embodiment of the present invention, the type of the tinkle of bells can be absolute music, song, the prompt tone repeated, the sound artificially recorded
Sound etc. is not limited thereto.
In embodiments of the present invention, the size of the tinkle of bells can be divided into four kinds of volumes, i.e. the first volume, the second volume, the 3rd
Volume and the 4th volume, wherein the first volume<Second volume<3rd volume<4th volume.When the SOT state of termination for handheld state,
Non- adjustment ringing volume is the first volume in the case of state and rest state, and for example user walks on corridor
Road, at this moment phone incoming call carry out jingle bell with the first volume, and since corridor is in especially quiet state, the sound of very little is all
It can achieve the effect that remind user, and because of unexpected jingle bell user will not be made to get a fright.When the SOT state of termination is hand-held
State, non-in the case of state and noisy state, adjustment ringing volume is the second volume.When the SOT state of termination is non-hand-held
State, non-in the case of state and rest state, adjustment ringing volume is the 3rd volume.For example user is terminal
Equipment is put into handbag, oneself is seeing TV, when phone incoming call, since terminal device is in a closed environment, and institute
Can be more much smaller than exterior volume with the volume received, then it is under rest state, also due to close that terminal device, which judges to be in,
The tinkle of bells is difficult to blaze abroad in closed loop border, so the tinkle of bells size needs are arranged to relatively strong.When the SOT state of termination is non-handheld state, non-
In the case of state and noisy state, adjustment ringing volume is the 4th volume.It is understood that the first above-mentioned sound
Amount, the second volume, the 3rd volume and the 4th volume can not be a certain specific value, and the simply volume range of a division.
Further, the initial volume of the tinkle of bells when the volume of above-mentioned adjustment the tinkle of bells is phone incoming call, when environmental volume state
When having change, the volume of the tinkle of bells can make corresponding variation.For example, as user, terminal device receives on elevator
Electricity judges ringing volume according to the SOT state of termination and plays that at this point, elevator is just opened, environmental volume increases suddenly, this may make
User can not hear the tinkle of bells, so terminal detects the change of environmental volume state and correspondingly indicates the tinkle of bells enhancing.Equally,
In the case that the SOT state of termination does not change and phone is not turned on, the volume of the tinkle of bells can gradually enhance, until reaching
To some threshold value.For example, user cooks in kitchen, and terminal device receives phone incoming call on the tea table of parlor, starts with
One volume jingle bell is not detected the SOT state of termination and changes over time, and terminal device, which adjusts ringing volume, gradually to be increased
Greatly.
In the embodiment of the present invention, when detecting that terminal device is changed into handheld state from non-handheld state, ringing volume
It is adjusted to minimum volume, it is to be understood that minimum volume is less than or equal to above-mentioned first volume.For example, when user hears
The tinkle of bells, when opening luggage, terminal device is changed into handheld state from non-handheld state, and user has been not required so at this time
Big the tinkle of bells, so terminal device can be adjusted the tinkle of bells to minimum volume.Further, terminal device detects at any time
To the SOT state of termination be in face of state when, ringing volume can be adjusted to minimum volume, it is to be understood that when user plane is to end
During end equipment, the tinkle of bells that need not be too big can remind user to have incoming call incoming call;Equally, terminal device can also detect use
Whether family is in mobile phone is used, if used, it is not required that too big the tinkle of bells reminds user.Further, when detecting end
When the motion state of end equipment is more than some threshold value for acceleration, wherein the threshold value may be greater than the value of acceleration of gravity, eventually
The size of the tinkle of bells is gradually weakened or adjusted to minimum volume by end equipment.For example, user perceives the tinkle of bells and then takes
Terminal device is played, terminal device there will be certain acceleration, so adjusting bell when the acceleration of terminal device is more than threshold value
Amount of sound.
As it can be seen that by the method for the embodiments of the present invention, the size of ringing volume can be more intelligently adjusted, is reached
Effectively remind the effect of user.In the prior art, relatively loud the tinkle of bells is played under rest state, it is not only possible to make oneself to be shied
It frightens, also affects other people;Lighter the tinkle of bells is played under noisy state, user may not hear and the tinkle of bells, which is not achieved, to be had
Effect;With gradually loud mode playback the tinkle of bells, when the tinkle of bells size reaches the volume that user hears, may have been subjected to when answering
Between.In foregoing description of the embodiment of the present invention, judged according to particular situation in actual scene and adjust the volume that the tinkle of bells is set, had
Remind user in effect ground.
It is the schematic flow diagram that the embodiment of the present invention provides the method that another detailed the tinkle of bells controls referring to Fig. 2.
It should be noted that the specific implementation process of method shown in Fig. 2 can be found in described in foregoing invention embodiment method
Specific implementation process such as the exercise data and status data of detection terminal equipment, analyzes exercise data and status data, really
Determine the SOT state of termination, ringing volume is adjusted according to the SOT state of termination and play the tinkle of bells etc., details are not described herein.
Method may include as shown in the figure:
S201:Receive the instruction for playing the tinkle of bells.
It is understood that the instruction for playing the tinkle of bells can be the instruction of other terminal device triggerings, such as dialing incoming call,
Application software voice incoming call, application software video incoming call receive short message, receive mail, receive data-message etc.;Can also be
The instruction that this terminal device is sent, such as the prompting of ring of alarm clock, calendar prompting, application software and music etc..
S202:The exercise data and status data of detection terminal equipment.
S203:Exercise data and status data are analyzed, determines the SOT state of termination.
S204:Ringing volume is adjusted according to the SOT state of termination and plays the tinkle of bells.
S205:Repeat step S202, S203 and S204.
In the embodiment of the present invention, terminal device persistently detects its exercise data and status data, to the exercise data with
Status data is analyzed, and the analysis result SOT state of termination is matched according to preset rules with ringing volume, is adjusted in real time
Ringing volume.
In the embodiment of the present invention, the exercise data of detection includes with status data but is not limited to environmental volume, light intensity,
Distance sensing, camera image parameter, acceleration parameter etc..Wherein, distance sensing detects axial closest with it for sensor
The distance between object, camera image parameter are the pixel number evidence in camera catching range, and acceleration parameter is to accelerate
The moving acceleration data for the terminal device that degree sensor is measured.Further, terminal can be obtained by analyzing these data
Ambient condition and simulation residing for equipment learn the behavior act of user.For example, according to environmental volume, light intensity, sensing
Distance etc. can analyze to obtain noisy degree around terminal device, tightness etc.;According to camera image parameter, accelerate
Parameter etc. is spent, can analyze and show whether user facing to terminal device and user pick up terminal device etc..Further
According to reasonable effective preset rules, the SOT state of termination that analysis is drawn is matched with ringing volume for ground.It is understood that
The preset rules meet the use habit of user and preference and the generation for coping with situation.For example, examined after jingle bell
The acceleration parameter for measuring terminal device is more than acceleration of gravity, and at this moment intelligent guesses show that terminal device is being lifted, can
See, user has had noticed that the tinkle of bells, so the volume of the tinkle of bells can gradually be weakened or adjusted to minimum volume by terminal device.
In another example significant changes do not occur for the SOT state of termination after jingle bell, the initial volume of terminal device can be drawn with intelligent guesses not
It can remind to user, so the volume of the tinkle of bells can gradually be enhanced or adjusted to next level of sound volume by terminal device.Ying Li
Solution, above-mentioned example are all as a kind of citing, are limited not as specific.
S206:The instruction for closing the tinkle of bells is received, closes the tinkle of bells.
It is understood that close the tinkle of bells instruction can be by other application trigger instruction, such as opening music or
The audio currently selected will be played after video, and no longer plays the tinkle of bells;User can also be received and trigger closing the tinkle of bells
Instruction, for example close alarm clock, connecting incoming call etc..
It as it can be seen that by the method for Fig. 2 of the embodiment of the present invention, persistently detects and analyzes data, intelligence is carried out with ringing volume
Matching, then adjusts ringing volume, more can remind to hommization user, promotes user experience, avoids because of situation
Change and cause to bother user or user is made to miss emergency management.
The embodiment of the present invention also provides a kind of terminal, which is used to perform the unit of foregoing any one of them method.
Specifically, it is a kind of schematic block diagram of terminal provided in an embodiment of the present invention referring to Fig. 3.The terminal of the present embodiment includes:Detection
Unit 301 determines state cell 302 and adjustment unit 303.
Detection unit 301, for the exercise data and status data of detection terminal equipment.
Specifically, the exercise data of terminal device and status data include but be not limited to environmental volume, light intensity, screening
Gear state, recognition of face state and motion state etc..
Determine state cell 302, for determining the SOT state of termination according to the exercise data and status data, wherein, institute
State the SOT state of termination include at least whether handheld state, whether in face of state or environmental volume state.
Specifically, according to environmental volume, rest state or noisy state are determined;According to light intensity and/or occlusion state,
Determine handheld state or non-handheld state;According to recognition of face state, determine in face of state or non-in face of state.
Adjustment unit 302, for adjusting the size of the tinkle of bells according to the SOT state of termination.
Specifically, the SOT state of termination be handheld state, it is non-in face of state and rest state in the case of, according to institute
The size for stating SOT state of termination adjustment the tinkle of bells is the first volume;The SOT state of termination be handheld state, it is non-in face of state and noisy
In the case of noisy state, the size that the tinkle of bells is adjusted according to the SOT state of termination is the second volume;It is non-hand in the SOT state of termination
It holds state, is non-in the case of state and rest state, the size that the tinkle of bells is adjusted according to the SOT state of termination is the 3rd sound
Amount;The SOT state of termination be non-handheld state, it is non-in the case of state and noisy state, according to the SOT state of termination
The size for adjusting the tinkle of bells is the 4th volume;Wherein, the first volume<Second volume<3rd volume<4th volume.
Optionally, the size of the tinkle of bells is gradually strengthened.
Optionally, detecting that the SOT state of termination is changed into handheld state and non-in the case of the state, by institute
The size for stating the tinkle of bells of terminal device is adjusted to minimum volume, wherein, the minimum volume is less than or equal to first sound
Amount.
Optionally, detecting that the SOT state of termination is changed into handheld state and non-in the case of the state, by institute
The size for stating the tinkle of bells of terminal device is adjusted to minimum volume, wherein, the minimum volume is less than or equal to first sound
Amount.
Optionally, in the case where the acceleration for detecting the terminal device is more than threshold value, by the size of the tinkle of bells
Gradually weaken.
It is a kind of terminal schematic block diagram that another embodiment of the present invention provides referring to Fig. 4.In the present embodiment as depicted
Terminal can include:One or more processors 401;One or more input equipments 402, one or more output equipments
403 and memory 404.Above-mentioned processor 401, input equipment 402, output equipment 403 and memory 404 are connected by bus 405
It connects.Memory 402 is for storing computer program, and the computer program includes program instruction, and processor 401 is deposited for performing
The program instruction that reservoir 402 stores.Wherein, processor 401 is arranged to that described program instruction is called to perform:
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, which includes at least, is
Whether no handheld state faces state or environmental volume state;
The size of the tinkle of bells is adjusted according to the SOT state of termination.
In one embodiment, processor 401 adjusts the size of the tinkle of bells by output equipment 403 according to the SOT state of termination
Specific embodiment can be:
The SOT state of termination be handheld state, it is non-in face of state and rest state in the case of, according to the terminal
The size of state adjustment the tinkle of bells is the first volume;The SOT state of termination be handheld state, it is non-in face of state and noisy state
In the case of, the size that the tinkle of bells is adjusted according to the SOT state of termination is the second volume;The SOT state of termination for non-handheld state,
It is non-in the case of state and rest state, the size that the tinkle of bells is adjusted according to the SOT state of termination is the 3rd volume;Institute
The SOT state of termination is stated as non-handheld state, non-in the case of state and noisy state, bell is adjusted according to the SOT state of termination
The size of sound is the 4th volume;Wherein, the first volume<Second volume<3rd volume<4th volume.
In one embodiment, processor 401 may call upon the application program being stored in memory 404, for performing
It operates below:
The size of the tinkle of bells is gradually strengthened.
In one embodiment, processor 401 may call upon the application program being stored in memory 404, for performing
It operates below:
In the case where detecting the SOT state of termination in face of state, the size of the tinkle of bells of the terminal device is adjusted
For minimum volume, wherein, the minimum volume is less than or equal to first volume.
In one embodiment, processor 401 may call upon the application program being stored in memory 404, for performing
It operates below:
In the case where the acceleration for detecting the terminal device is more than threshold value, the size of the tinkle of bells is gradually subtracted
It is weak.
In one embodiment, processor 401 determines end by memory 404 according to the exercise data and status data
The specific embodiment of end state can be:
According to environmental volume, rest state or noisy state are determined;According to light intensity and/or occlusion state, hand is determined
Hold state or non-handheld state;According to recognition of face state, determine in face of state or non-in face of state.
In one embodiment, processor 401 may call upon the application program being stored in memory 404, for performing
It operates below:
It is detecting that the SOT state of termination is changed into handheld state and non-in the case of the state, the terminal is being set
The size of standby the tinkle of bells is adjusted to minimum volume, wherein, the minimum volume is less than or equal to first volume.
It should be appreciated that in embodiments of the present invention, alleged processor 401 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
Input equipment 402 can include Trackpad, fingerprint and adopt sensor (for gathering the finger print information of user and fingerprint
Directional information), microphone etc., output equipment 403 can include display (LCD etc.), loud speaker etc..
The memory 404 can include read-only memory and random access memory, and to processor 401 provide instruction and
Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited
Store up the information of device type.
In the specific implementation, processor 401, input equipment 402, the output equipment 403 described in the embodiment of the present invention can
Perform the realization side described in the first embodiment and second embodiment of the method for the tinkle of bells control provided in an embodiment of the present invention
Formula also can perform the realization method of the described terminal of the embodiment of the present invention, and details are not described herein.
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the invention
Matter is stored with computer program, and the computer program includes program instruction, and described program instruction is realized when being executed by processor:
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, which includes at least, is
Whether no handheld state faces state or environmental volume state;
The size of the tinkle of bells is adjusted according to the SOT state of termination.
The computer readable storage medium can be the internal storage unit of the terminal described in foregoing any embodiment, example
Such as the hard disk or memory of terminal.The computer readable storage medium can also be the External memory equipment of the terminal, such as
The plug-in type hard disk being equipped in the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer readable storage medium can also be wrapped both
Including the internal storage unit of the terminal also includes External memory equipment.The computer readable storage medium is described for storing
Other programs and data needed for computer program and the terminal.The computer readable storage medium can be also used for temporarily
When store the data that has exported or will export.
Those of ordinary skill in the art may realize that each exemplary lists described with reference to the embodiments described herein
Member and algorithm steps can be realized with the combination of electronic hardware, computer software or the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are performed actually with hardware or software mode, specific application and design constraint depending on technical solution.Specially
Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the side of foregoing description
The specific work process of method, terminal and unit may be referred to the corresponding process in preceding method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed terminal and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of division of logic function can have other dividing mode in actual implementation, such as multiple units or component can be tied
It closes or is desirably integrated into another system or some features can be ignored or does not perform.In addition, shown or discussed phase
Coupling, direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit
Connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical location, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that unit is individually physically present or two or more units integrate in a unit.It is above-mentioned integrated
The form that hardware had both may be employed in unit is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products
It embodies, which is stored in a storage medium, is used including some instructions so that a computer
Equipment (can be personal computer, server or the network equipment etc.) performs the complete of each embodiment the method for the present invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain subject to.
Claims (10)
1. a kind of bell control method, which is characterized in that including:
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 hand
Hold state, whether in face of state or environmental volume state;
The size of the tinkle of bells is adjusted according to the SOT state of termination.
2. according to the method described in claim 1, it is characterized in that, the size of the tinkle of bells is adjusted according to the SOT state of termination to be included:
The SOT state of termination be handheld state, it is non-in face of state and rest state in the case of, according to the SOT state of termination
The size for adjusting the tinkle of bells is the first volume;
The SOT state of termination be handheld state, it is non-in the case of state and noisy state, according to the SOT state of termination
The size for adjusting the tinkle of bells is the second volume;
The SOT state of termination be non-handheld state, it is non-in face of state and rest state in the case of, according to the terminal shape
The size of state adjustment the tinkle of bells is the 3rd volume;
The SOT state of termination be non-handheld state, it is non-in the case of state and noisy state, according to the terminal shape
The size of state adjustment the tinkle of bells is the 4th volume;Wherein,
First volume<Second volume<3rd volume<4th volume.
3. according to the method described in claim 2, it is characterized in that, the method further includes:The size of the tinkle of bells is gradual
Strengthen.
4. according to the method in claim 2 or 3, which is characterized in that the method further includes:
Detecting that the SOT state of termination is changed into handheld state and non-in the case of the state, by the terminal device
The size of the tinkle of bells is adjusted to minimum volume, wherein, the minimum volume is less than or equal to first volume.
5. according to the method described in claim 1, it is characterized in that, terminal is determined according to the exercise data and status data
State includes:
Environmental volume data in the status data determine rest state or noisy state;
Range data in the exercise data and the pressure data in the status data, determine handheld state or non-hand
State is held, wherein, for describing and detecting the distance between object, the pressure data applies the range data for description
Pressure on the terminal device;
Camera image data in the status data are determined in face of state or non-in face of state.
6. according to the method described in claim 1, it is characterized in that, the method further includes:
In the case where detecting the SOT state of termination in face of state, the size of the tinkle of bells of the terminal device is adjusted to most
Amount of bass, wherein, the minimum volume is less than or equal to first volume.
7. according to the method described in claim 1, it is characterized in that, the method further includes:
In the case where the acceleration for detecting the terminal device is more than threshold value, the size of the tinkle of bells is gradually weakened.
A kind of 8. terminal, which is characterized in that the list including being used to perform the method as described in claim 1-7 any claims
Member.
9. a kind of terminal, which is characterized in that the processor, defeated including processor, input equipment, output equipment and memory
Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store computer program, the computer
Program includes program instruction, and the processor is arranged to call described program instruction, perform such as any one of claim 1-7
The method.
10. a kind of computer readable storage medium, which is characterized in that the computer storage media is stored with computer program,
The computer program includes program instruction, and described program instruction makes the processor perform such as right when being executed by a processor
It is required that 1-7 any one of them methods.
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 |
---|---|---|
CN108111664A (en) | A kind of method, terminal and the computer-readable medium of the tinkle of bells control | |
CN110166631B (en) | Motor vibration method, device and system and readable medium | |
US8666453B2 (en) | Method of adjusting event prompt degree, and mobile electronic device and computer program product using the same | |
CN107734523A (en) | A kind of signal intensity reminding method, terminal device and computer-readable medium | |
CN108322614B (en) | Event reminding method and device, storage medium and electronic equipment | |
CN109982228A (en) | A kind of microphone fault detection method and mobile terminal | |
CN108174037A (en) | The reminding method and mobile terminal of a kind of notification message | |
CN110364156A (en) | Voice interactive method, system, terminal and readable storage medium storing program for executing | |
CN109215683A (en) | A kind of reminding method and terminal | |
CN107193527A (en) | A kind of audio control method, terminal and computer-readable recording medium | |
CN109308178A (en) | A kind of voice drafting method and its terminal device | |
CN109754823A (en) | A kind of voice activity detection method, mobile terminal | |
CN107197082A (en) | A kind of information prompting method and terminal | |
CN106453805A (en) | Reminding method and reminding device | |
CN107135305A (en) | A kind of message prompt method, device and terminal | |
CN110138963A (en) | A kind of message treatment method and mobile terminal | |
CN109949809A (en) | A kind of sound control method and terminal device | |
CN108632461A (en) | Method, apparatus, terminal and the computer readable storage medium of alarm clock calling | |
CN109743448A (en) | Reminding method and terminal device | |
CN103973866A (en) | Intelligent alarm detecting system and method | |
CN108307048A (en) | A kind of message output method and device and mobile terminal | |
CN108182582A (en) | A kind of method of payment, terminal and computer readable storage medium | |
CN108683805B (en) | Incoming call processing method, mobile terminal and computer readable storage medium | |
CN109361804A (en) | Incoming call processing method and mobile terminal | |
CN109561214A (en) | Call handling method and mobile terminal |
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 |