CN106303030B - Terminal and volume adjusting method - Google Patents

Terminal and volume adjusting method Download PDF

Info

Publication number
CN106303030B
CN106303030B CN201610671228.2A CN201610671228A CN106303030B CN 106303030 B CN106303030 B CN 106303030B CN 201610671228 A CN201610671228 A CN 201610671228A CN 106303030 B CN106303030 B CN 106303030B
Authority
CN
China
Prior art keywords
terminal
volume
sound system
request message
audio
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.)
Active
Application number
CN201610671228.2A
Other languages
Chinese (zh)
Other versions
CN106303030A (en
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610671228.2A priority Critical patent/CN106303030B/en
Publication of CN106303030A publication Critical patent/CN106303030A/en
Application granted granted Critical
Publication of CN106303030B publication Critical patent/CN106303030B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • 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

Landscapes

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

Abstract

The invention discloses a kind of terminal and volume adjusting methods, wherein, this method comprises:, in the case where the time that no audio plays being greater than preset time, detecting whether to receive the reduction request message for increasing request message or reducing volume for increasing volume under black state;In the case where receiving the increase request message, by volume adjustment to preset volume value, if it is poor to solve the problems, such as not causing to experience when use next time by volume recovery for the volume that user is temporarily adjusted under special circumstances in the related technology, cruising ability is improved, to improve user experience.

Description

Terminal and volume adjusting method
Technical field
The present invention relates to intelligent terminal field more particularly to a kind of terminal and volume adjusting methods.
Background technique
Mobile phone volume is associated with closely with power consumption at present, and increasing by an increased mobile telephone power consumption of lattice volume in partial section can be very It is more, however volume is but many without being promoted;Many users are directed to the interim adjustment volume of application, after forget volume to restore, Cause can be influenced by inappropriate volume when entering application next time, influences user experience and mobile phone continuation of the journey.
For if volume recovery is not led for the volume that user is temporarily adjusted under special circumstances in the related technology The problem of experience difference, not yet proposes solution at present when causing use next time.
Summary of the invention
It is a primary object of the present invention to propose terminal and volume adjusting method, it is intended to solve in the related technology in special feelings If the problem of experience difference when not restoring volume to cause use next time for the volume that user is temporarily adjusted under condition.
To achieve the above object, a kind of terminal provided by the invention, the terminal include:
First sound system and second sound system, wherein the first sound system refers to as terminal setting Predetermined volume value, the second sound system refer to increasing volume according to the request message for increasing volume;
Detection module, for detecting the behaviour in service and state of terminal;
Setup module is determined as the terminal for the behaviour in service and state according to the terminal and first sound is arranged Sound system or the second sound system.
Above-mentioned detection module is also used to, and detects whether the terminal has audio to play and whether in black state;Inspection In the case where the terminal is measured without audio broadcasting and being in black state, judge that the terminal is played without audio and in blank screen Whether the time of state is more than preset time;In the case where the judgment result is yes, it detects whether to receive and increases asking for volume Seek message.
Above-mentioned setup module is also used to, and plays in the terminal without audio and the time in black state is more than default In the case where time, detects the request message for increasing volume, set the first sound system for the terminal;It is no Then, the second sound system is set by the terminal.
To achieve the above object, the embodiment of the invention also provides a kind of volume adjusting method, the method includes the steps:
The first sound system and second sound system are established for terminal, wherein the first sound system refers to as institute It states terminal and predetermined volume value is set, the second sound system refers to that the request message for increasing volume according to user increases sound Amount;
Detect the behaviour in service and state of terminal;
It is determined as the terminal according to the behaviour in service of the terminal and state and the first sound system or described is set Second sound system.
The behaviour in service and state for detecting terminal include: whether the detection terminal has audio to play and whether in blank screen State;Detect that the terminal is played without audio and in the case where the black state, judge the terminal played without audio and Whether the time in black state is more than preset time;In the case where the judgment result is yes, it detects whether to receive increase The request message of volume.
It is determined as the terminal according to the behaviour in service of the terminal and state and the first sound system or described is set Second sound system includes: the case where time of the terminal without audio broadcasting and in black state is more than preset time Under, it detects the request message for increasing volume, sets the first sound system for the terminal;Otherwise, by the terminal It is set as the second sound system.
In addition, to achieve the above object, the embodiment of the invention also provides a kind of volume adjusting method, the method includes Step:
Under black state, in the case where the time that no audio plays being greater than preset time, detect whether to receive increase The reduction request message for increasing request message or reducing volume of volume;
In the case where receiving the increase request message, by volume adjustment to preset volume value.
In a preferred embodiment, in the case where detecting the reduction request message, volume is kept not Become.
Above-mentioned preset time is 30 minutes, 40 minutes or 50 minutes.
The preset volume value is the volume value that factory is recommended or the volume value that user is arranged in advance.
Volume adjusting method proposed by the present invention under black state, is greater than preset time in the time that no audio plays In the case of, it detects whether to receive the reduction request message for increasing request message or reducing volume for increasing volume;It is receiving In the case where the increase request message, volume adjustment to preset volume value solves in the related technology in special circumstances If the problem of experience difference, improves continuous when not restoring volume to cause use next time for the volume that user is temporarily adjusted down Boat ability, to improve user experience.
Detailed description of the invention
The hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow chart one of volume adjusting method according to an embodiment of the present invention;
Fig. 4 is the flowchart 2 of volume adjusting method according to an embodiment of the present invention;
Fig. 5 is the flow chart of volume setting method according to an embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190 Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups shown Part.More or fewer components can alternatively be implemented.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication system Or the radio communication between network.For example, wireless communication unit may include broadcasting reception module 111, mobile communication module 112, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast from external broadcast management server via broadcast channel Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server, which can be, to be generated and sent The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information And send it to the server of terminal.Broadcast singal may include TV broadcast singal, radio signals, data broadcasting Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of digital multimedia broadcasting (DMB) Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast Receiving module 111 can receive signal broadcast by using various types of broadcast systems.Particularly, broadcasting reception module 111 It can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video It broadcasts-holds (DVB-H), forward link media (MediaFLO@) Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc. digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via the received broadcast singal of broadcasting reception module 111 and/ Or broadcast related information can store in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data.
The Wi-Fi (Wireless Internet Access) of the support mobile terminal of wireless Internet module 113.The module can be internally or externally It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting short range communication.Some examples of short-range communication technology include indigo plant ToothTM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybeeTMEtc..
Location information module 115 is the module for checking or obtaining the location information of mobile terminal.Location information module Typical case be GPS (global positioning system).According to current technology, GPS module 115, which calculates, comes from three or more satellites Range information and correct time information and the Information application triangulation for calculating, thus according to longitude, latitude Highly accurately calculate three-dimensional current location information.Currently, it is defended for the method for calculating position and temporal information using three Star and the error that calculated position and temporal information are corrected by using an other satellite.In addition, GPS module 115 It can be by Continuous plus current location information in real time come calculating speed information.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include 121 He of camera Microphone 1220, camera 121 is to the static map obtained in video acquisition mode or image capture mode by image capture apparatus The image data of piece or video is handled.Treated, and picture frame may be displayed on display unit 151.At camera 121 Picture frame after reason can store in memory 160 (or other storage mediums) or carry out via wireless communication unit 110 It sends, two or more cameras 1210 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone relation mould Sound (audio data) is received via microphone in formula, logging mode, speech recognition mode etc. operational mode, and can be incited somebody to action Such acoustic processing is audio data.Audio that treated (voice) data can be converted in the case where telephone calling model For the format output that can be sent to mobile communication base station via mobile communication module 112.Various types can be implemented in microphone 122 Noise eliminate (or inhibit) algorithm with eliminate noise that (or inhibition) generates during sending and receiving audio signal or Person's interference.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc. Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal 100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate for controlling mobile terminal 100 The order of operation or signal.For example, sensing unit 140 can sense when mobile terminal 100 is embodied as sliding-type mobile phone The sliding-type phone is to open or close.In addition, sensing unit 140 be able to detect power supply unit 190 whether provide electric power or Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 may include that proximity sensor 1410 will combine below Touch screen is described this.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100 One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.Output unit 150 may include display Unit 151, audio output module 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode Or when image capture mode, display unit 151 can show captured image and/or received image, show video or figure Picture and the UI or GUI of correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit 151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch Input pressure and touch input position and touch input area.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is when under the isotypes such as speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory 160 The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes. Audio output module 152 may include loudspeaker, buzzer etc..
Alarm unit 153 can provide output notifying event to mobile terminal 100.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..Other than audio or video output, alarm unit 153 can provide output in different ways with the generation of notification event.For example, alarm unit 153 can be in the form of vibration Output is provided, when receiving calling, message or some other entrance communications (incomingcommunication), alarm list Member 153 can provide tactile output (that is, vibration) to notify to user.By providing such tactile output, even if When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153 The output of the generation of notification event can be provided via display unit 151 or audio output module 152.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers The multi-media module 1810 of volume data, multi-media module 1810 can construct in controller 180, or can be structured as and control Device 180 processed separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or figure Piece draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai Implement, software code can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.In the following, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any Line and wireless communication system and satellite-based communication system operate.
Referring now to Fig. 2 description communication system that wherein mobile terminal according to the present invention can operate.
Different air interface and/or physical layer can be used in such communication system.For example, used by communication system Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system System (UMTS) (particularly, long term evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under The description in face is related to cdma communication system, but such introduction is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system may include multiple mobile terminals 100, multiple base stations (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link. Back haul link can be constructed according to any in several known interfaces, and the interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system may include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction Each subregion of line covering is radially far from BS270.Alternatively, each subregion can be by two or more for diversity reception Antenna covering.Each BS270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly indicating single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295 100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to receive the broadcast sent by BT295 Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals At least one of 100.
In Fig. 2, multiple satellites 300 are depicted, it is understood that, it is useful to can use any number of satellite acquisition Location information.GPS module 115 as shown in Figure 1 is generally configured to cooperate with satellite 300 to obtain desired positioning and believe Breath.It substitutes GPS tracking technique or except GPS tracking technique, the other of the position that can track mobile terminal can be used Technology.In addition, at least one 300 property of can choose of GPS satellite or extraly processing satellite dmb transmission.
As a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminals 100 Signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received each anti- It is handled in specific BS270 to link signal.The data of acquisition are forwarded to relevant BSC275.BSC provides call The mobile management function of resource allocation and the coordination including the soft switching process between BS270.The number that BSC275 will also be received According to MSC280 is routed to, the additional route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 controls BS270 correspondingly with by forward link signals It is sent to mobile terminal 100.
Based on above-mentioned terminal, the embodiment of the present invention can the volume control of user in a relatively reasonable range, And power consumption is effectively reduced, which includes: the first sound system and second sound system, wherein the first sound system refers to Be that predetermined volume value is set for the terminal, which refers to increasing sound according to the request message for increasing volume Amount;Detection module, for detecting the behaviour in service and state of terminal;Setup module, for according to the behaviour in service of the terminal and State is determined as the terminal and the first sound system or the second sound system is arranged.
Above-mentioned detection module is also used to, and detects whether the terminal has audio to play and whether in black state;Detection In the case where playing without audio to the terminal and be in black state, judge that the terminal plays without audio and is in black state Whether the time is more than preset time;In the case where the judgment result is yes, it detects whether to receive the request message for increasing volume.
Above-mentioned setup module is also used to, and plays in the terminal without audio and the time in black state is more than when presetting Between in the case where, detect the request message of the increase volume, set the first sound system for the terminal;Otherwise, by this Terminal is set as the second sound system.
Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the method for the present invention is proposed.
First embodiment of the invention proposes that a kind of volume adjusting method, Fig. 3 are volume adjustments according to an embodiment of the present invention The flow chart one of method, as shown in figure 3, the method comprising the steps of:
Step S302 establishes the first sound system and second sound system for terminal, wherein what the first sound system referred to It is that predetermined volume value is set for the terminal, which refers to that the request message for increasing volume according to user increases sound Amount;
Step S304 detects the behaviour in service and state of terminal;
Step S306, according to the behaviour in service of the terminal and state be determined as the terminal be arranged the first sound system or should Second sound system.
By establishing two sets of sound systems in the terminal, one is interim volume that user is adjusted, and one is in setting Permanent volume, judging mobile phone at this time according to user's usage scenario and mobile phone current state should be exported by which set sound system, In this way can be the volume control of user in a relatively reasonable range, and power consumption is effectively reduced, it is promoted and is used Family experience.
Under normal circumstances, the state of terminal includes blank screen and bright screen two states, the behaviour in service of terminal be for whether It plays for audio, therefore, the behaviour in service and state for detecting terminal may include: to detect whether the terminal has audio broadcasting Whether black state is in;Detect that the terminal is played without audio and in the case where the black state, judge the terminal without Audio plays and whether the time in black state is more than preset time;In the case where the judgment result is yes, it detects whether The request message for increasing volume is received, by the above-mentioned means, preparing to be determined as terminal configuration sound system.
In a preferred embodiment, it is played in the terminal without audio and the time in black state is more than when presetting Between in the case where, detect increase volume request message, set the first sound system for the terminal;Otherwise, by the end End is set as the second sound system, if be in a noisy environment transferred to volume very greatly, returns to more quiet environment later Afterwards, comfortable volume can be listened with a user and play audio, improve the experience of user.
In addition, to achieve the above object, the embodiment of the invention also provides a kind of volume adjusting method, Fig. 4 is according to this The flowchart 2 of the volume adjusting method of inventive embodiments, as shown in figure 4, the method comprising the steps of:
Step S402 under black state, in the case where the time that no audio plays being greater than preset time, detects whether to connect Receive the reduction request message for increasing request message or reducing volume for increasing volume;
Step S404, in the case where receiving the increase request message, by volume adjustment to preset volume value.
Through the above steps, do not have under special circumstances for the volume that user is temporarily adjusted in the related technology if solved There is the problem of experience difference when restoring volume to cause use next time, cruising ability is improved, to improve user experience.
It is smaller due to reducing influence of the volume to user, in the case where detecting the reduction request message, opened subsequent When with audio, keep volume constant.
In a preferred embodiment, above-mentioned preset time can be 30 minutes, 40 minutes or 50 minutes, need Bright, the embodiment of the present invention is not limited in the above-mentioned time.
The volume value that the volume value or user that above-mentioned preset volume value can be recommended for factory are arranged in advance.
The setting of volume is further described below, Fig. 5 is volume setting method according to an embodiment of the present invention Flow chart, as shown in Figure 5, comprising:
Step S502, equipment detect whether current user is using mobile phone, and device screen lights state or puts out screen State does not change volume if screen is to light state, remains unchanged, until the change of next time, if it is putting out screen state then Enter step S504.
This be to be judged by screen state user this time operation behavior whether there is or not end, help user to change if be also not finished Change of voice sound can be found, it is believed that and it is BUG, user experience is bad, so this condition is this scene of filtering, this scene Sound we still can remember user adjusting volume.
Whether step S504, deice detection device are playing source of sound at present, if equipment does not play source of sound, are entering step Rapid S506, if equipment is still within the state for playing source of sound at present, volume is remained unchanged, until the change of next time.
This is to judge the mobile phone of user whether there is or not speaking, although screen extinguishes, such as if there is sound go output Music is played, at this time if user is helped to change sound, is also easy to be found, it is believed that it is BUG, user experience is bad, so this The sound of scape we still can remember user adjusting volume
Step S506, equipment judge whether current state is more than preset time threshold when passing through timer, it is assumed that when Preceding numerical value is 30 minutes, if current state is more than to enter step S508 after 30 minutes, if current state is less than 30 points Clock then continues waiting for until meeting condition or Conditional reset.
In the case where judging user using mobile phone, actively suspends or passively interrupt whether current sound is lattice long-time Movement, if of short duration situation, user is still able to have memory to volume before, if inconsequent, user experience is not It is good, so the volume of user's adjusting can also be remembered for the scene for being less than 30 minutes.
The time extinguishing screen with last time and playing without source of sound is calculated after specifically next user can also being waited to light screen Difference, determines whether to make again after the condition of satisfaction and changes, and power consumption can be more saved in this way, without running program always from the background.
Step S508, equipment judge that user adjusts volume behavior, are to increase or reduce with factory default volume ratio, are sentencing Disconnected result is in the case where being, to execute step S510, if the determination result is NO, executes step S512.
Step S510, increases if it is volume, and media sound then restores the volume to user setting before (if without more It corrects one's mistakes and then recommends volume for factory).
Step S512 is remained unchanged if be reduction of.
Step S508 into step S512, judge user be adjust loud noise or adjust small voice, small sound to Family influence is smaller, improper directly to tune up, but if sound is big, influence is caused on people around, so being directed to User adjusts the behavior of small voice, this sound is set as the volume in setting, as permanent volume, next time is also with this volume It plays, if it is the behavior for adjusting loud noise for user, adjusts to the volume of user setting before, if not correcting one's mistakes more Recommend volume for factory, i.e., the volume played next time is not the interim volume that user is adjusted.
By above-mentioned regulative mode, the volume control of user in a relatively reasonable range, and function is effectively reduced Consumption improves cruising ability, promotes user experience.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute the method that each embodiment of the present invention is somebody's turn to do.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (6)

1. a kind of terminal, which is characterized in that the terminal includes:
First sound system and second sound system, wherein the first sound system refers to being arranged for the terminal predetermined Volume value, the second sound system refer to increasing volume according to the request message for increasing volume;
Detection module, for detecting the behaviour in service and state of terminal;Include: whether the detection terminal has audio to play and be It is no to be in black state;Detect that the terminal is played without audio and in the case where the black state, judge the terminal without Audio plays and whether the time in black state is more than preset time;In the case where the judgment result is yes, it detects whether Receive the request message for increasing volume;
Setup module is determined as the terminal for the behaviour in service and state according to the terminal and the first sound body is arranged System or the second sound system, comprising: played in the terminal without audio and the time in black state is more than when presetting Between in the case where, detect it is described increase volume request message, set the first sound system for the terminal;It is no Then, the second sound system is set by the terminal.
2. a kind of volume adjusting method, which is characterized in that the method includes the steps:
The first sound system and second sound system are established for terminal, wherein the first sound system referred to as the end Predetermined volume value is arranged in end, and the second sound system refers to that the request message for increasing volume according to user increases volume;
Detect the behaviour in service and state of terminal;Include: whether the detection terminal has audio to play and whether in blank screen shape State;In the case where detecting that the terminal plays without audio and is in black state, judge that the terminal plays and locates without audio It whether is more than preset time in the time of black state;In the case where the judgment result is yes, it detects whether to receive increase sound The request message of amount;
It is determined as the terminal according to the behaviour in service of the terminal and state and the first sound system or described second is set Sound system, comprising: in the case where the terminal is played without audio and is in the time of black state more than preset time, inspection The request message for increasing volume is measured, sets the first sound system for the terminal;Otherwise, it sets the terminal to The second sound system.
3. a kind of volume adjusting method, which is characterized in that the method includes the steps:
Under black state, in the case where the time that no audio plays being greater than preset time, detect whether to receive increase volume Increase request message or reduce volume reduction request message;
In the case where receiving the increase request message, by volume adjustment to preset volume value.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
In the case where detecting the reduction request message, keep volume constant.
5. the method according to claim 3 or 4, which is characterized in that
The preset time is 30 minutes, 40 minutes or 50 minutes.
6. the method according to claim 3 or 4, which is characterized in that
The preset volume value is the volume value that factory is recommended or the volume value that user is arranged in advance.
CN201610671228.2A 2016-08-15 2016-08-15 Terminal and volume adjusting method Active CN106303030B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610671228.2A CN106303030B (en) 2016-08-15 2016-08-15 Terminal and volume adjusting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610671228.2A CN106303030B (en) 2016-08-15 2016-08-15 Terminal and volume adjusting method

Publications (2)

Publication Number Publication Date
CN106303030A CN106303030A (en) 2017-01-04
CN106303030B true CN106303030B (en) 2019-08-20

Family

ID=57671933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610671228.2A Active CN106303030B (en) 2016-08-15 2016-08-15 Terminal and volume adjusting method

Country Status (1)

Country Link
CN (1) CN106303030B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108777745A (en) * 2018-06-05 2018-11-09 珠海市魅族科技有限公司 A kind of volume adjusting method and device
CN111315001A (en) * 2020-02-11 2020-06-19 闻泰通讯股份有限公司 Audio and video intelligent adjusting method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101471635A (en) * 2007-12-27 2009-07-01 联发科技股份有限公司 Method for controlling volume of a multimedia player
CN103763438A (en) * 2014-01-27 2014-04-30 贝壳网际(北京)安全技术有限公司 Information broadcasting method and device and mobile terminal
CN104572007A (en) * 2014-12-17 2015-04-29 深圳市金立通信设备有限公司 Method for adjusting sound volume of terminal
EP2966775A2 (en) * 2013-05-22 2016-01-13 ZTE Corporation Method and device for adjusting call volume, and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101471635A (en) * 2007-12-27 2009-07-01 联发科技股份有限公司 Method for controlling volume of a multimedia player
EP2966775A2 (en) * 2013-05-22 2016-01-13 ZTE Corporation Method and device for adjusting call volume, and mobile terminal
CN103763438A (en) * 2014-01-27 2014-04-30 贝壳网际(北京)安全技术有限公司 Information broadcasting method and device and mobile terminal
CN104572007A (en) * 2014-12-17 2015-04-29 深圳市金立通信设备有限公司 Method for adjusting sound volume of terminal

Also Published As

Publication number Publication date
CN106303030A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN105100476B (en) A kind of mobile terminal unlocking device and method
CN105704282B (en) Camera detection method and device
CN104967744B (en) Adjust the method and device of terminal parameter
CN104918064B (en) A kind of method and device that mobile terminal video quickly plays
CN104916270B (en) A kind of method and apparatus adjusting screen intensity
CN105263049B (en) A kind of video Scissoring device, method and mobile terminal based on frame coordinate
CN105763732B (en) A kind of mobile terminal and the method for controlling volume
CN104935044B (en) Charging method and charging unit
CN106598457B (en) A kind of sound control method for playing back, device and terminal
CN105138400B (en) Application program self-starting management method and device
CN104821990B (en) Intelligent terminal realizes the method and intelligent terminal of shutdown alarm clock
CN106131274B (en) Mobile terminal control device and method
CN105430258B (en) A kind of method and apparatus of self-timer group photo
CN106254628A (en) A kind of mobile terminal and multi-display method
CN105764085A (en) Abnormal electricity consumption detection method and terminal
CN104735254B (en) terminal screen locking method and system
CN106412328B (en) A kind of method and apparatus obtaining field feedback
CN105126339B (en) A kind of game control device and method
CN105187663B (en) Automatically the method and terminal conversed
CN105100408B (en) A kind of method and apparatus controlling mobile terminal
CN105049916B (en) A kind of video recording method and device
CN105260096B (en) A kind of method and mobile terminal controlling user's operation
CN106303030B (en) Terminal and volume adjusting method
CN106227454B (en) A kind of touch trajectory detection system and method
CN106484534A (en) Control method for the mobile terminal of displaying and control device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant