[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107172302A - Audio control method and device, computer installation and computer-readable recording medium - Google Patents

Audio control method and device, computer installation and computer-readable recording medium Download PDF

Info

Publication number
CN107172302A
CN107172302A CN201710543249.0A CN201710543249A CN107172302A CN 107172302 A CN107172302 A CN 107172302A CN 201710543249 A CN201710543249 A CN 201710543249A CN 107172302 A CN107172302 A CN 107172302A
Authority
CN
China
Prior art keywords
terminal
silent mode
default scene
control method
audio control
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
Application number
CN201710543249.0A
Other languages
Chinese (zh)
Inventor
曹雨琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710543249.0A priority Critical patent/CN107172302A/en
Publication of CN107172302A publication Critical patent/CN107172302A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of audio control method, the audio control method includes:Whether whether detection terminal be silent mode and terminal in default scene;If terminal is silent mode and terminal is in default scene, the terminal is switched into bell mode by silent mode.The embodiment of the present invention also provides a kind of sound control apparatus, computer installation and computer-readable recording medium.Terminal by silent mode can be switched to bell mode by the embodiment of the present invention, it is to avoid user misses some urgent or important information.

Description

Audio control method and device, computer installation and computer-readable recording medium
Technical field
The present invention relates to intelligent terminal technical field, and in particular to a kind of audio control method and device, computer installation And computer-readable recording medium.
Background technology
At present, with the development of electronics and the communication technology, the terminal such as mobile phone, computer is widely used.In order to not influence Other people, terminal can sometimes be adjusted to Jing Yin by user, and new information is received calls or checked according to the prompt message of screen display. However, in some scenarios, user may not see the prompt message of screen and miss some urgent or important incoming calls Or message.
The content of the invention
In view of the foregoing, it is necessary to propose a kind of audio control method and device, computer installation and computer-readable Storage medium, terminal by silent mode can be switched to bell mode by it, it is to avoid user misses some urgent or important letters Breath.
The first aspect of the application provides a kind of audio control method, and the audio control method includes:
Whether whether detection terminal be silent mode and terminal in default scene;
If terminal is silent mode and terminal is in default scene, the terminal is switched into jingle bell mould by silent mode Formula.
In alternatively possible implementation, if the terminal is silent mode and terminal is in default scene, by institute State terminal switches to bell mode to include by silent mode:
If terminal is silent mode and terminal is in default scene, detect whether the terminal receives incoming call or disappear Breath;
If the terminal receives incoming call or message, the terminal is switched into bell mode by silent mode.
In alternatively possible implementation, detect whether the terminal includes in default scene:
Detect whether the brightness of the terminal surrounding is less than or equal to predetermined luminance;Or
Detect whether the spatial attitude of the terminal changes;Or
Detect whether the distance between object of the terminal and the terminal surrounding is less than or equal to pre-determined distance;Or
Detect whether the terminal is squeezed;
Or combinations thereof.
In alternatively possible implementation, detect whether the terminal includes in default scene:
Detect whether the brightness of the terminal surrounding is less than or equal to predetermined luminance using the camera of the terminal, and Using the infrared detector of the terminal detect the distance between the terminal and object of the terminal surrounding whether be less than or Person is equal to pre-determined distance.
In alternatively possible implementation, the audio control method also includes:
If the terminal is not for silent mode and the terminal is in default scene, the ringing volume of the terminal is judged Whether preset value is less than or equal to;
If the ringing volume of the terminal is less than or equal to preset value, increase the ringing volume of the terminal.
In alternatively possible implementation, the audio control method also includes:
Detect whether the terminal leaves the default scene;
If the terminal leaves the default scene, the terminal is reverted into the silent mode.
The second aspect of the application provides a kind of sound control apparatus, and the sound control apparatus includes:
Detection unit, for detecting whether the terminal is whether silent mode and the terminal are in default scene;
Switch unit, if for terminal is silent mode and terminal is in default scene, by the terminal by Jing Yin mould Formula switches to bell mode.
In alternatively possible implementation, whether the detection terminal includes in default scene:
Detect whether the brightness of the terminal surrounding is less than or equal to predetermined luminance;Or
Detect whether the spatial attitude of the terminal changes;Or
Detect whether the distance between object of the terminal and the terminal surrounding is less than or equal to pre-determined distance;Or
Detect whether the terminal is squeezed;
Or combinations thereof.
The third aspect of the application provides a kind of computer installation, and the computer installation includes processor, the processing The step of device is used to realize the audio control method when performing the computer program stored in memory.
The fourth aspect of the application provides a kind of computer-readable recording medium, is stored thereon with computer program, described The step of audio control method being realized when computer program is executed by processor.
Whether whether present invention detection terminal be silent mode and terminal in default scene;If terminal be silent mode and Terminal is in default scene, then the terminal is switched into bell mode by silent mode.The present invention can be by terminal by Jing Yin Pattern switching is bell mode, it is to avoid user misses some urgent or important information.
Brief description of the drawings
Fig. 1 is the flow chart for the audio control method that the embodiment of the present invention one is provided.
Fig. 2 is the structure chart for the sound control apparatus that the embodiment of the present invention two is provided.
Fig. 3 is the schematic diagram for the computer installation that the embodiment of the present invention three is provided.
Main element symbol description
Computer installation 1
Sound control apparatus 10
Memory 20
Processor 30
Computer program 40
Detection unit 201
Switch unit 202
Following embodiment will further illustrate the present invention with reference to above-mentioned accompanying drawing.
Embodiment
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention Applying example, the present invention will be described in detail.It should be noted that in the case where not conflicting, embodiments herein and embodiment In feature can be mutually combined.
Elaborate many details in the following description to facilitate a thorough understanding of the present invention, described embodiment only Only it is a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill The every other embodiment that personnel are obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention The implication that technical staff is generally understood that is identical.Term used in the description of the invention herein is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Preferably, audio control method of the invention is applied in one or more terminal.The terminal is a kind of energy It is enough according to the instruction for being previously set or store, the equipment of automatic progress numerical computations and/or information processing, its hardware is included but not It is limited to microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), can compiles Journey gate array (Field-Programmable Gate Array, FPGA), digital processing unit (Digital Signal Processor, DSP), embedded device etc..
The terminal may be, but not limited to, any one can with user by keyboard, mouse, remote control, touch pad or The modes such as voice-operated device carry out the electronic product of man-machine interaction, for example, tablet personal computer, smart mobile phone, personal digital assistant (Personal Digital Assistant, PDA), intelligent wearable equipment etc..
Embodiment one
Fig. 1 is the flow chart for the audio control method that the embodiment of the present invention one is provided.As shown in figure 1, this method is specifically wrapped Include following steps:
101:Whether whether detection terminal be silent mode and terminal in default scene.
Whether terminal described in the time detecting that can be set according to predetermined period (such as 5 minutes once) or user is Jing Yin Whether pattern and the terminal are in default scene.
Or, it can detect whether to meet preset trigger condition, if meeting preset trigger condition, detect that the terminal is It is no to be whether silent mode and the terminal are in default scene.For example, a sound control start button can be set, if inspection Measure user and press the sound control start button, then detect whether the terminal is whether silent mode and the terminal are located In default scene.And for example, it can detect whether user sends default gesture on the touch-screen of terminal and (for example draw a default sound Spirogram case), whether if detect user sends default gesture on the touch-screen of terminal, it is silent mode to detect the terminal And whether the terminal is in default scene.For another example, it can detect whether user sends default voice (as " carried out sound control System "), if detecting user sends default voice, detect whether the terminal is whether silent mode and the terminal are in Default scene.
Detect whether the terminal can include in default scene:Detect the terminal surrounding brightness whether be less than or Equal to predetermined luminance.If the brightness of the terminal surrounding is less than or equal to predetermined luminance, it is possible to determine that the terminal is in default Scene.The brightness of the terminal surrounding can be obtained using the optical sensor of terminal, the terminal surrounding for judging to obtain it is bright Whether degree is less than or equal to predetermined luminance.Or, it is possible to use the camera of terminal obtains the image of the terminal surrounding, according to Whether the brightness of terminal surrounding described in the image detection of the terminal surrounding obtained is less than or equal to predetermined luminance.
Detect whether the terminal can also include in default scene:Detect whether the spatial attitude of the terminal occurs Change.If the spatial attitude of the terminal changes, it is possible to determine that the terminal is in default scene.Terminal can be utilized Motion sensor (such as gyroscope, accelerometer) obtains the movable information (such as angular speed, acceleration) of the terminal, according to The movable information of acquisition judges whether the spatial attitude of the terminal changes.
Detect whether the terminal can also include in default scene:Detect the thing of the terminal and the terminal surrounding Whether the distance between body is less than or equal to pre-determined distance.If the terminal and the distance between the object of the terminal surrounding are small In or equal to pre-determined distance, it is possible to determine that the terminal is in default scene.Institute can be obtained using the range sensor of terminal State the distance between object of terminal and the terminal surrounding, judge between the object of the terminal and the terminal surrounding away from From whether less than or equal to pre-determined distance.Or, it is possible to use the infrared detector of terminal obtains the terminal and the terminal Around the distance between object, judge whether the distance between the terminal and object of the terminal surrounding are less than or equal to Pre-determined distance.
Detect whether the terminal can also include in default scene:Detect whether the terminal is squeezed.If institute State terminal to be squeezed, it is possible to determine that the terminal is in default scene.It can obtain described using the pressure sensor of terminal The pressure that terminal is subject to, the pressure received according to the terminal judges whether the terminal is squeezed.
Whether detect the terminal can be above-mentioned one or more combinations detected in scene is preset.For example, can be with Detect that whether the brightness of the terminal surrounding is less than or equal to predetermined luminance, and detect whether the spatial attitude of the terminal is sent out Changing.If the brightness of the terminal surrounding is less than or equal to predetermined luminance, and the spatial attitude of the terminal changes, Then judge that the terminal is in default scene.Detected with reference to two or more mode, erroneous judgement can be avoided, improve inspection The degree of accuracy of survey.
Specifically, in one embodiment, detect whether the terminal can include in default scene:Utilize the end The camera at end detects whether the brightness of the terminal surrounding is less than or equal to predetermined luminance, and utilizes the infrared of the terminal Detector detects whether the distance between object of the terminal and the terminal surrounding is less than or equal to pre-determined distance.If institute The brightness for stating terminal surrounding is less than or equal to the distance between predetermined luminance, and object of the terminal and the terminal surrounding Less than or equal to pre-determined distance, then judge that the terminal is in default scene.
102:If terminal is silent mode and terminal is in default scene, the terminal is switched into sound by silent mode Bell pattern.
The terminal is switched to after bell mode by silent mode, (such as sends a telegram here or disappears if the terminal receives information Breath), then the terminal can send sound prompting to point out user, so that the information received is timely responded.
If the terminal is silent mode and terminal is in default scene, the terminal is switched into sound by silent mode Bell pattern can include:If terminal is silent mode and terminal is in default scene, detect whether the terminal receives and come Electricity or message;If the terminal receives incoming call or message, the terminal is switched into bell mode by silent mode.
In one embodiment, if terminal is silent mode and terminal is in default scene, whether the terminal is detected Receive incoming call or message;If the terminal receives incoming call or message;Then judge whether the incoming call or message meet default Condition;If the incoming call or message meet preparatory condition, the terminal is switched into bell mode by silent mode.
The incoming call, which meets preparatory condition, to be included:The number of calls of the incoming call be more than or equal to preset times, and/ Or the ring duration of the incoming call is more than or equal to preset time, and/or described come from default contact person.
The message, which meets preparatory condition, to be included:The reception number of times of the message be more than or equal to preset times, and/ Or the message package contains presupposed information, and/or the message comes from default contact person.
Whether whether the audio control method detection terminal of embodiment one be silent mode and terminal in default scene;If Terminal is silent mode and terminal is in default scene, then the terminal is switched into bell mode by silent mode.Embodiment Terminal by silent mode can be switched to bell mode by one audio control method, it is to avoid it is urgent or important that user misses some Information.
In another embodiment, the audio control method can also include:If the terminal is not silent mode and institute State terminal and be in default scene, then judge whether the ringing volume of the terminal is less than or equal to preset value;If the terminal Ringing volume is less than or equal to preset value, then increases the ringing volume of the terminal.
In another embodiment, the audio control method can also include:Detect whether the terminal is left described pre- If scene;If the terminal leaves the default scene, the terminal is reverted into the silent mode.
In another embodiment, the audio control method can also include:If terminal is silent mode and terminal is in Default scene, and the terminal does not open vibrations, then opens the vibrations of the terminal.
Embodiment two
Fig. 2 is the structure chart for the sound control apparatus that the embodiment of the present invention two is provided.As shown in Fig. 2 the sound control Device 10 can include:Detection unit 201, switch unit 202.
Detection unit 201, for detecting whether terminal is whether silent mode and terminal are in default scene.
Whether the time detecting terminal that can be set according to predetermined period (such as 5 minutes once) or user is silent mode And whether terminal is in default scene.
Or, it can detect whether to meet preset trigger condition, if meeting preset trigger condition, detect that the terminal is It is no to be whether silent mode and the terminal are in default scene.For example, a sound control start button can be set, if inspection Measure user and press the sound control start button, then detect whether the terminal is whether silent mode and the terminal are located In default scene.And for example, it can detect whether user sends default gesture on the touch-screen of terminal and (for example draw a default sound Spirogram case), whether if detect user sends default gesture on the touch-screen of terminal, it is silent mode to detect the terminal And whether the terminal is in default scene.For another example, it can detect whether user sends default voice (as " carried out sound control System "), if detecting user sends default voice, detect whether the terminal is whether silent mode and the terminal are in Default scene.
Detect whether the terminal can include in default scene:Detect the terminal surrounding brightness whether be less than or Equal to predetermined luminance.If the brightness of the terminal surrounding is less than or equal to predetermined luminance, it is possible to determine that the terminal is in default Scene.The brightness of the terminal surrounding can be obtained using the optical sensor of terminal, the terminal surrounding for judging to obtain it is bright Whether degree is less than or equal to predetermined luminance.Or, it is possible to use the camera of terminal obtains the image of the terminal surrounding, according to Whether the brightness of terminal surrounding described in the image detection of the terminal surrounding obtained is less than or equal to predetermined luminance.
Detect whether the terminal can also include in default scene:Detect whether the spatial attitude of the terminal occurs Change.If the spatial attitude of the terminal changes, it is possible to determine that the terminal is in default scene.Terminal can be utilized Motion sensor (such as gyroscope, accelerometer) obtains the movable information (such as angular speed, acceleration) of the terminal, according to The movable information of acquisition judges whether the spatial attitude of the terminal changes.
Detect whether the terminal can also include in default scene:Detect the thing of the terminal and the terminal surrounding Whether the distance between body is less than or equal to pre-determined distance.If the terminal and the distance between the object of the terminal surrounding are small In or equal to pre-determined distance, it is possible to determine that the terminal is in default scene.Institute can be obtained using the range sensor of terminal State the distance between object of terminal and the terminal surrounding, judge between the object of the terminal and the terminal surrounding away from From whether less than or equal to pre-determined distance.Or, it is possible to use the infrared detector of terminal obtains the terminal and the terminal Around the distance between object, judge whether the distance between the terminal and object of the terminal surrounding are less than or equal to Pre-determined distance.
Detect whether the terminal can also include in default scene:Detect whether the terminal is squeezed.If institute State terminal to be squeezed, it is possible to determine that the terminal is in default scene.It can obtain described using the pressure sensor of terminal The pressure that terminal is subject to, the pressure received according to the terminal judges whether the terminal is squeezed.
Whether detect the terminal can be above-mentioned one or more combinations detected in scene is preset.For example, can be with Detect that whether the brightness of the terminal surrounding is less than or equal to predetermined luminance, and detect whether the spatial attitude of the terminal is sent out Changing.If the brightness of the terminal surrounding is less than or equal to predetermined luminance, and the spatial attitude of the terminal changes, Then judge that the terminal is in default scene.Detected with reference to two or more mode, erroneous judgement can be avoided, improve inspection The degree of accuracy of survey.
In one embodiment, detect whether the terminal can include in default scene:Utilize taking the photograph for the terminal Picture head detects whether the brightness of the terminal surrounding is less than or equal to predetermined luminance, and utilizes the infrared detector of the terminal Detect whether the distance between object of the terminal and the terminal surrounding is less than or equal to pre-determined distance.If the terminal Around brightness be less than or equal to the distance between predetermined luminance, and object of the terminal and the terminal surrounding be less than or Person is equal to pre-determined distance, then judges that the terminal is in default scene.
Switch unit 202, if for terminal is silent mode and terminal is in default scene, by the terminal by Jing Yin Pattern switching is bell mode.
The terminal is switched to after bell mode by silent mode, (such as sends a telegram here or disappears if the terminal receives information Breath), then the terminal can send sound prompting to point out user, so that the information received is timely responded.
If the terminal is silent mode and terminal is in default scene, the terminal is switched into sound by silent mode Bell pattern can include:If terminal is silent mode and terminal is in default scene, detect whether the terminal receives and come Electricity or message;If the terminal receives incoming call or message, the terminal is switched into bell mode by silent mode.
Specifically, in one embodiment, if terminal is silent mode and terminal is in default scene, the end is detected Whether end receives incoming call or message;If the terminal receives incoming call or message;Then judge whether the incoming call or message are full Sufficient preparatory condition;If the incoming call or message meet preparatory condition, the terminal is switched into bell mode by silent mode.
The incoming call, which meets preparatory condition, to be included:The number of calls of the incoming call be more than or equal to preset times, and/ Or the ring duration of the incoming call is more than or equal to preset time, and/or described come from default contact person.
The message, which meets preparatory condition, to be included:The reception number of times of the message be more than or equal to preset times, and/ Or the message package contains presupposed information, and/or the message comes from default contact person.
Whether whether the detection of sound control apparatus 10 terminal of embodiment two be silent mode and terminal in default scene; If terminal is silent mode and terminal is in default scene, the terminal is switched into bell mode by silent mode.Implement Terminal by silent mode can be switched to bell mode by the sound control apparatus 10 of example two, it is to avoid user miss some it is urgent or Important information.
In another embodiment, the sound control apparatus 10 can also include:
Increasing unit, if for the terminal not to be for silent mode and the terminal is in default scene, judging described Whether the ringing volume of terminal is less than or equal to preset value;If the ringing volume of the terminal is less than or equal to preset value, increase The ringing volume of the big terminal.
In another embodiment, the sound control apparatus 10 can also include:
Recovery unit, for detecting whether the terminal leaves the default scene;If the terminal is left described default Scene, then revert to the silent mode by the terminal.
In another embodiment, the sound control apparatus 10 can also include:
Opening unit, if it is that silent mode and terminal are in default scene for terminal, and the terminal does not open shake It is dynamic, then open the vibrations of the terminal.
Embodiment three
Fig. 3 is the schematic diagram for the computer installation that the embodiment of the present invention three is provided.The computer installation 1 includes memory 20th, processor 30 and the computer program 40 that can be run in the memory 20 and on the processor 30, example are stored in Such as sound control program.The processor 30 is realized when performing the computer program 40 in tut control method embodiment The step of, such as step 101 shown in Fig. 1~102.Or, the processor 30 is realized when performing the computer program 40 The function of each module/unit, such as unit 201~202 in said apparatus embodiment.
Exemplary, the computer program 40 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 20, and are performed by the processor 30, to complete the present invention.Described one Individual or multiple module/units can complete the series of computation machine programmed instruction section of specific function, and the instruction segment is used for Implementation procedure of the computer program 40 in the computer installation 1 is described.For example, the computer program 40 can be by Detection unit 201 in Fig. 2, switch unit 202 are divided into, each module concrete function is referring to embodiment two.
The computer installation 1 can be that the calculating such as desktop PC, notebook, palm PC and cloud server is set It is standby.It will be understood by those skilled in the art that the schematic diagram 3 is only the example of computer installation 1, do not constitute to computer The restriction of device 1, can include than illustrating more or less parts, either combine some parts or different parts, example Computer installation 1 can also include input-output equipment, network access equipment, bus etc. as described.
Alleged processor 30 can be CPU (Central Processing Unit, CPU), 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 PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor 30 can also be any conventional processor Deng the processor 30 is the control centre of the computer installation 1, utilizes various interfaces and connection whole computer dress Put 1 various pieces.
The memory 20 can be used for storing the computer program 40 and/or module/unit, and the processor 30 passes through Operation performs and is stored in computer program and/or module/unit in the memory 20, and calls and be stored in memory Data in 20, realize the various functions of the computer installation 1.The memory 20 can mainly include storing program area and deposit Data field is stored up, wherein, the application program that storing program area can be needed for storage program area, at least one function (such as broadcast by sound Playing function, image player function etc.) etc.;Storage data field can be stored uses created data (ratio according to computer installation 1 Such as voice data, phone directory) etc..In addition, memory 20 can include high-speed random access memory, it can also include non-easy The property lost memory, such as hard disk, internal memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) block, flash card (Flash Card), at least one disk memory, flush memory device or other Volatile solid-state part.
If the integrated module/unit of the computer installation 1 is realized using in the form of SFU software functional unit and as independently Production marketing or in use, can be stored in a computer read/write memory medium.Understood based on such, the present invention All or part of flow in above-described embodiment method is realized, the hardware of correlation can also be instructed by computer program come complete Into described computer program can be stored in a computer-readable recording medium, and the computer program is being executed by processor When, the step of each above-mentioned embodiment of the method can be achieved.Wherein, the computer program includes computer program code, described Computer program code can be source code form, object identification code form, executable file or some intermediate forms etc..The meter Calculation machine computer-readable recording medium can include:Can carry any entity or device of the computer program code, recording medium, USB flash disk, Mobile hard disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory Device (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..Need explanation It is that the content that the computer-readable medium is included can be fitted according to legislation in jurisdiction and the requirement of patent practice When increase and decrease, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier wave letter Number and telecommunication signal.
, can be with several embodiments provided by the present invention, it should be understood that disclosed computer installation and method Realize by another way.For example, computer installation embodiment described above is only schematical, for example, described The division of unit, only a kind of division of logic function, can there is other dividing mode when actually realizing.
In addition, each functional unit in each embodiment of the invention can be integrated in same treatment unit, can also That unit is individually physically present, can also two or more units be integrated in same unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of software function module to realize.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit is required rather than described above is limited, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as to the claim involved by limitation.This Outside, it is clear that the word of " comprising " one is not excluded for other units or step, and odd number is not excluded for plural number.Stated in computer installation claim Multiple units or computer installation can also be realized by same unit or computer installation by software or hardware.The One, the second grade word is used for representing title, and is not offered as any specific order.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although reference The present invention is described in detail for preferred embodiment, it will be understood by those within the art that, can be to the present invention's Technical scheme is modified or equivalent substitution, without departing from the spirit and scope of technical solution of the present invention.

Claims (10)

1. a kind of audio control method, it is characterised in that the audio control method includes:
Whether whether detection terminal be silent mode and terminal in default scene;
If terminal is silent mode and terminal is in default scene, the terminal is switched into bell mode by silent mode.
2. audio control method as claimed in claim 1, it is characterised in that if the terminal is silent mode and terminal is in Default scene, then switch to bell mode to include the terminal by silent mode:
If terminal is silent mode and terminal is in default scene, detect whether the terminal receives incoming call or message;
If the terminal receives incoming call or message, the terminal is switched into bell mode by silent mode.
3. audio control method as claimed in claim 1, it is characterised in that whether the detection terminal is in default scene bag Include:
Detect whether the brightness of the terminal surrounding is less than or equal to predetermined luminance;Or
Detect whether the spatial attitude of the terminal changes;Or
Detect whether the distance between object of the terminal and the terminal surrounding is less than or equal to pre-determined distance;Or
Detect whether the terminal is squeezed;
Or combinations thereof.
4. audio control method as claimed in claim 1, it is characterised in that whether the detection terminal is in default scene bag Include:
Whether the brightness for detecting the terminal surrounding using the camera of the terminal is less than or equal to predetermined luminance, and utilize The infrared detector of the terminal detects whether the distance between the terminal and object of the terminal surrounding are less than or wait In pre-determined distance.
5. the audio control method as any one of Claims 1-4, it is characterised in that the audio control method is also Including:
If the terminal is not in default scene for silent mode and the terminal, judge the terminal ringing volume whether Less than or equal to preset value;
If the ringing volume of the terminal is less than or equal to preset value, increase the ringing volume of the terminal.
6. the audio control method as any one of Claims 1-4, it is characterised in that the audio control method is also Including:
Detect whether the terminal leaves the default scene;
If the terminal leaves the default scene, the terminal is reverted into the silent mode.
7. a kind of sound control apparatus, it is characterised in that the sound control apparatus includes:
Detection unit, for detecting whether the terminal is whether silent mode and the terminal are in default scene;
Switch unit, if for terminal is silent mode and terminal is in default scene, the terminal is cut by silent mode It is changed to bell mode.
8. sound control apparatus as claimed in claim 7, it is characterised in that whether the detection terminal is in default field Scape includes:
Detect whether the brightness of the terminal surrounding is less than or equal to predetermined luminance;Or
Detect whether the spatial attitude of the terminal changes;Or
Detect whether the distance between object of the terminal and the terminal surrounding is less than or equal to pre-determined distance;Or
Detect whether the terminal is squeezed;
Or combinations thereof.
9. a kind of computer installation, it is characterised in that the computer installation includes processor, the processor is deposited for execution Realized during the computer program stored in reservoir as any one of claim 1-6 the step of audio control method.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program Realized when being executed by processor as any one of claim 1-6 the step of audio control method.
CN201710543249.0A 2017-07-05 2017-07-05 Audio control method and device, computer installation and computer-readable recording medium Withdrawn CN107172302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710543249.0A CN107172302A (en) 2017-07-05 2017-07-05 Audio control method and device, computer installation and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710543249.0A CN107172302A (en) 2017-07-05 2017-07-05 Audio control method and device, computer installation and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107172302A true CN107172302A (en) 2017-09-15

Family

ID=59822853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710543249.0A Withdrawn CN107172302A (en) 2017-07-05 2017-07-05 Audio control method and device, computer installation and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107172302A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639891A (en) * 2018-12-03 2019-04-16 联想(北京)有限公司 A kind of processing method, device and electronic equipment
CN113132533A (en) * 2019-12-31 2021-07-16 北京安云世纪科技有限公司 Working mode switching method and device and terminal equipment
WO2023024565A1 (en) * 2021-08-27 2023-03-02 荣耀终端有限公司 Method for switching sound mode, and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302990A (en) * 2016-07-29 2017-01-04 乐视控股(北京)有限公司 A kind of method and system of call reminding
CN106453860A (en) * 2016-09-26 2017-02-22 广东小天才科技有限公司 Voice mode switching method and device and user terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302990A (en) * 2016-07-29 2017-01-04 乐视控股(北京)有限公司 A kind of method and system of call reminding
CN106453860A (en) * 2016-09-26 2017-02-22 广东小天才科技有限公司 Voice mode switching method and device and user terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639891A (en) * 2018-12-03 2019-04-16 联想(北京)有限公司 A kind of processing method, device and electronic equipment
CN113132533A (en) * 2019-12-31 2021-07-16 北京安云世纪科技有限公司 Working mode switching method and device and terminal equipment
WO2023024565A1 (en) * 2021-08-27 2023-03-02 荣耀终端有限公司 Method for switching sound mode, and electronic device

Similar Documents

Publication Publication Date Title
US10525353B2 (en) Method, apparatus and terminal for displaying prompt information
CN108182021A (en) Multimedia messages methods of exhibiting, device, storage medium and equipment
CN107786743A (en) Prevent the method and device of terminal false touch
CN108646970B (en) Display control method and related product
CN107360458A (en) Control method for playing back, device, storage medium and terminal
CN110673770B (en) Message display method and terminal equipment
CN108920059A (en) Message treatment method and mobile terminal
CN110908513B (en) Data processing method and electronic equipment
CN112423087A (en) Video interaction information display method and terminal equipment
CN110069178A (en) Interface control method and terminal device
CN107291241A (en) Terminal operation method and device, computer installation and computer-readable recording medium
CN109189953A (en) A kind of selection method and device of multimedia file
CN110245246A (en) A kind of image display method and terminal device
CN107172302A (en) Audio control method and device, computer installation and computer-readable recording medium
CN109587319A (en) A kind of call processing method, terminal and computer readable storage medium
CN108829444A (en) A kind of method that background application is automatically closed, terminal and computer storage medium
CN108076229A (en) A kind of application operation condition control method and mobile terminal
CN110134237A (en) Interface control method and relevant device
CN110096203A (en) A kind of screenshot method and mobile terminal
CN107562356B (en) Fingerprint identification positioning method and device, storage medium and electronic equipment
CN109276881A (en) A kind of game control method, equipment
CN108196781A (en) The display methods and mobile terminal at interface
CN108063861A (en) The method, apparatus and mobile terminal that a kind of state is reminded
CN107908348B (en) The method and mobile terminal of display
CN108304123B (en) Page display control method and related product

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

Application publication date: 20170915

WW01 Invention patent application withdrawn after publication