CN105786439B - The control method and device of sound in a kind of terminal - Google Patents
The control method and device of sound in a kind of terminal Download PDFInfo
- Publication number
- CN105786439B CN105786439B CN201410828921.7A CN201410828921A CN105786439B CN 105786439 B CN105786439 B CN 105786439B CN 201410828921 A CN201410828921 A CN 201410828921A CN 105786439 B CN105786439 B CN 105786439B
- Authority
- CN
- China
- Prior art keywords
- sound
- sound control
- interface
- instruction
- control interface
- 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
Links
Landscapes
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses the control methods and device of sound in a kind of terminal;When the embodiment of the present invention establishes connection using the earphone interface and earphone for determining terminal, generate sound control enabled instruction, and start preset sound control interface according to the sound control enabled instruction, wherein, the sound control interface includes that ear returns voice control interface and original voice control interface, then, sound control instruction is received respectively by the two interfaces, to realize the independent control for returning sound and original sound to ear respectively;Ear can be greatly improved using the program and return the flexibility that sound is adjusted under function, improve the result of broadcast of sound.
Description
Technical field
The present invention relates to fields of communication technology, and in particular to the control method and device of sound in a kind of terminal.
Background technique
With the development of science and technology, the sound of oneself can be monitored for the ease of user when putting on earphone, can generally be arranged
Auditory function is returned, so-called to return auditory function, also referred to as ear returns function, the sound for occurring user oneself in earphone is referred to, for example, to sing
For recording when song, when ear returns function and enables, user can also hear use other than it can hear original accompaniment sound
The sound at family oneself, wherein the sound of user oneself is known as ear and returns sound, and original accompaniment sound is then known as original sound.
In the prior art, it for the control of sound in terminal, generally preset can all press by physical button or virtually
Key triggers the transmission of control instruction, and then sound is adjusted according to the instruction of the control instruction;Similarly, function is returned for ear
Can under these sound (including ear returns sound and original sound), also can only by physical button or preset virtual key come pair
It is controlled simultaneously, for example increases or reduces the sound of user oneself and the sound of accompaniment, etc. simultaneously.
In the research and practice process to the prior art, it was found by the inventors of the present invention that usually can in existing scheme
Have ear return sound and original sound volume it is unmatched happen, even if adjusting, also can only simultaneously to both sound into
Row is adjusted, both sound can not still be made to reach a pleasant ratio, the i.e. audio control method of the prior art
Not enough flexibly, sound result of broadcast is bad.
Summary of the invention
The embodiment of the present invention provides the control method and device of sound in a kind of terminal, can when ear returns function starting,
It returns sound to ear respectively to control with original sound, realization is more flexible, has preferably sound result of broadcast.
The embodiment of the present invention provides a kind of control method of sound in terminal, comprising:
When determining that the earphone interface of terminal and earphone establish connection, sound control enabled instruction is generated;
Start preset sound control interface according to the sound control enabled instruction, the sound control interface includes ear
Return voice control interface and original voice control interface;
Voice control interface is returned by the ear and receives the first sound control instruction, according to first sound control instruction
Sound is returned to ear to control;And/or
Second sound control instruction is received by original voice control interface, according to the second sound control instruction to original
There is sound to be controlled.
Correspondingly, the embodiment of the present invention also provides a kind of sound control apparatus, including generation unit, start unit, reception
Unit and control unit are as follows:
Generation unit generates sound control enabled instruction when earphone interface and earphone for determining terminal establish connection;
Start unit, for starting preset sound control interface, the sound according to the sound control enabled instruction
Control interface includes that ear returns voice control interface and original voice control interface;
Receiving unit receives the first sound control instruction for returning voice control interface by the ear, and/or, pass through
Original voice control interface receives second sound control instruction;
Control unit is controlled for returning sound to ear according to first sound control instruction, and/or, according to institute
Second sound control instruction is stated to control original sound.
When the embodiment of the present invention establishes connection using the earphone interface and earphone for determining terminal, generates sound control starting and refer to
It enables, and starts preset sound control interface according to the sound control enabled instruction, wherein the sound control interface includes that ear returns
Then voice control interface and original voice control interface receive sound control instruction, Lai Shixian by the two interfaces respectively
The independent control for returning sound and original sound to ear respectively allows user neatly to return sound to ear and original sound is distinguished
It is adjusted, to achieve the desired results;Ear can be greatly improved using the program and return the flexibility that sound is adjusted under function, improved
The result of broadcast of sound.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the flow chart of the control method of sound in terminal provided in an embodiment of the present invention;
Fig. 2 a is the flow chart of the control method of sound in terminal provided in an embodiment of the present invention;
Fig. 2 b is the schematic diagram of a scenario of the control method of sound in terminal provided in an embodiment of the present invention;
Fig. 3 a is the structural schematic diagram of sound control apparatus provided in an embodiment of the present invention;
Fig. 3 b is another structural schematic diagram of sound control apparatus provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides the control method and device of sound in a kind of terminal.It is described in detail separately below.
Embodiment one,
The embodiment of the present invention will be described from the angle of sound control apparatus, which specifically can integrate
In the terminal, which is specifically as follows the mobile terminal devices such as mobile phone, tablet computer or laptop or personal computer
Immobile terminals equipment such as (PC, Personal Computer).
The control method of sound in a kind of terminal, comprising: when determining that the earphone interface of terminal and earphone establish connection, generate
Sound control enabled instruction starts preset sound control interface according to the sound control enabled instruction, the sound control interface
Voice control interface and original voice control interface are returned including ear, voice control interface is returned by the ear and receives the first sound control
Instruction, returns sound to ear according to first sound control instruction and controls;And/or it is received by original voice control interface
Second sound control instruction controls original sound according to the second sound control instruction.
As shown in Figure 1, the detailed process of the control method of sound can be such that in the terminal
101, when determining that the earphone interface of terminal and earphone establish connection, sound control enabled instruction is generated.
Wherein, which can be wired earphone, be also possible to wireless headset, such as bluetooth headset etc..Earphone interface
Connection is established with earphone to refer to: in the earphone jack of the cable plug insertion terminal of wired earphone, and starting earphone function
Can, alternatively, when wireless headset and terminal successful match, and start ear-phone function.
102, start preset sound control interface according to the sound control enabled instruction, wherein the sound control interface
It may include that ear returns the interfaces such as voice control interface and original voice control interface.
For example, can specifically call the launching process at sound control interface according to the sound control enabled instruction, executing should
Launching process shows the sound control interface to obtain preset sound control interface on a terminal screen.
Wherein, which can show in a variety of forms, for example, can be in the form of floating window, or with
Be paved with the form of entire desktop to show, etc., for the ease of user's operation, and with other terminal applies, such as recording or
The terminal applies such as K are sung preferably to merge, generally can be in the form of floating window, i.e. the form of floating layer is shown in the boundary of former terminal application
On face, such as recording interface or the interface for singing K, etc..I.e. step " the sound control interface is shown on the terminal screen " has
Body may include:
The sound control interface is shown in the form of floating window on the terminal screen.
Optionally, in order to not influence the interface display effect of former terminal application, when being particularly shown, the sound control interface
Shape can be a small icon, when user triggers the small icon, for example slides or touch the small icon, it is small that this is just unfolded
Operation interface corresponding to icon, for example just display corresponds respectively to ear and returns voice control interface and original voice control interface
Control button, etc..
In addition, user can also be according to the demand of practical application or hobby by the sound control Interface Moving to terminal screen
Upper any position, i.e., after step " showing the sound control interface in the form of floating window on the terminal screen ", the terminal
The control method of middle sound can also include:
Receive user Interface Moving instruction, according to the Interface Moving instruction on a terminal screen to sound control interface into
Row movement.
It should be noted that the specific pattern at the sound control interface, shape, background patterns/color, prospect including interface
Pattern/color, control button pattern, and/or specific regulative mode of sound etc., can be preparatory according to the demand of practical application
It is configured, can also be configured by user according to the hobby of itself, i.e., this method can also include:
Styles configuration information is obtained, is carried out according to pattern of the styles configuration information to the sound control interface
Configuration.
It should be noted that can be unrestricted to the opportunity of the configuration at sound control interface, it can to sound control
It is configured, can also be configured before or after to sound control, details are not described herein during system.
103, voice control interface is returned by the ear and receives the first sound control instruction, and/or, pass through original sound control
Interface second sound control instruction.
Wherein, which can return sound with ear on sound control interface by clicking or sliding by user
Sound control interface corresponding control button triggers, and similarly, second sound control instruction can also be by user by clicking or sliding
Control button corresponding with original voice control interface triggers on dynamic sound control interface.
Specific adjusted value can be carried in first sound control instruction and second sound control instruction, which can
To be the numerical value for indicating increment or decrement, it is also possible to the numerical value of an expression final goal, it specifically can be according to actually answering
Demand is configured, and details are not described herein.
104, sound is returned to ear according to first sound control instruction to control, and/or, it is controlled according to the second sound
Instruction controls original sound.
Wherein, control may include the adjusting to volume, also may include the adjusting of tone color etc., for convenience,
In the embodiment of the present invention, only it is illustrated by taking volume adjustment as an example.When carrying out volume adjustment, sound specifically can be reduced or improved
Amount, wherein by volume decrease down to minimum, as silent mode.That is:
Step " returning sound to ear according to first sound control instruction to control " is specifically as follows: according to first sound
The instruction of sound control instruction reduces or improves the volume that ear returns sound;
Step " being controlled according to the second sound control instruction original sound " is specifically as follows: according to the rising tone
The instruction of sound control instruction reduces or improves the volume of original sound.
Optionally, stop interface can be set on the sound control interface, so that user is to the sound control interface
It is closed.Alternatively, also can be set when the earphone interface of terminal and earphone are established when disconnecting, the sound control interface is certainly
It is dynamic to close (disappearing from terminal screen), i.e., " preset sound control is started according to the sound control enabled instruction in step
After interface ", the control method of sound can also include: in the terminal
When determining that the earphone interface of terminal and earphone foundation disconnect, sound control out code is generated, according to the sound
The sound control interface is closed in sound control out code.
From the foregoing, it will be observed that generating sound control when the present embodiment establishes connection using the earphone interface and earphone for determining terminal
Enabled instruction, and start preset sound control interface according to the sound control enabled instruction, wherein sound control interface packet
It includes ear and returns voice control interface and original voice control interface, then, receive sound control instruction respectively by the two interfaces,
It realizes the independent control for returning sound and original sound to ear respectively, user is allowed neatly to return sound and original sound to ear
Cent is not adjusted, to achieve the desired results;Using the program can greatly improve ear return sound under function adjust it is flexible
Property, improve the result of broadcast of sound, improves user experience.
Embodiment two,
According to method described in embodiment one, citing is described in further detail below.
In the present embodiment, it is illustrated for which specifically being integrated in the terminal.
As shown in Figure 2 a, in a kind of terminal sound control method, detailed process can be such that
201, when mobile terminal determines that the earphone interface of this mobile terminal and earphone establish connection, sound control starting is generated
Instruction.
Wherein, which can be wired earphone, be also possible to wireless headset, such as bluetooth headset etc..Earphone interface
Connection is established with earphone to refer to: in the earphone jack of the cable plug insertion mobile terminal of wired earphone, and starting ear
Machine function, alternatively, when wireless headset and mobile terminal successful match, and start ear-phone function.
202, mobile terminal calls the launching process at sound control interface according to the sound control enabled instruction.
203, the mobile terminal execution launching process to be to obtain preset sound control interface, and in the screen of mobile terminal
Upper display sound control interface, wherein the sound control interface may include that ear returns voice control interface and original sound control
The interfaces such as interface processed.
Wherein, which can show in a variety of forms, for example, can be in the form of floating window, or with
Be paved with the form of entire desktop to show, etc., for the ease of user's operation, and with other terminal applies, such as recording or
The terminal applies such as K are sung preferably to merge, generally can be in the form of floating window, i.e. the form of floating layer is shown in the boundary of former terminal application
On face, such as recording interface or the interface for singing K, etc..
In addition, in order to not influence the interface display effect of former terminal application, when being particularly shown, the sound control interface
Shape can be a small icon, and when user triggers the small icon, for example slides or touch the small icon, the small figure is just unfolded
The corresponding operation interface of mark, for example just display corresponds respectively to the control that ear returns voice control interface and original voice control interface
Button processed, etc., for example, for details, reference can be made to Fig. 2 b, mobile terminal screen display recording interface, when earphone insertion, end panel
Curtain shows the small floating window at a sound control interface on recording interface, and when the user clicks when small floating window (i.e. the floating layer), this is small floating
An operation interface is unfolded in window, and operation interface includes the control for corresponding respectively to ear and returning voice control interface and original voice control interface
Button processed, i.e. " voice " control button and " accompaniment " control button, are adjusted for user.
Optionally, which can also receive the Interface Moving instruction of user, and be existed according to Interface Moving instruction
Sound control interface is moved on mobile terminal screen, so that the sound control interface is placed on the favorite screen of user
On position.
It should be noted that the specific pattern at the sound control interface, shape, background patterns/color, prospect including interface
Pattern/color, control button pattern, and/or specific regulative mode of sound etc., can be preparatory according to the demand of practical application
It is configured, can also be configured by user according to the hobby of itself, i.e., this method can also include:
Styles configuration information is obtained, is carried out according to pattern of the styles configuration information to the sound control interface
Configuration.
It should be noted that can be unrestricted to the opportunity of the configuration at sound control interface, it can to sound control
It is configured, can also be configured before or after to sound control, details are not described herein during system.
204, mobile terminal by the ear return voice control interface receive the first sound control instruction and/or, by original
Voice control interface receives second sound control instruction.
Wherein, which can return sound with ear on sound control interface by clicking or sliding by user
Sound control interface corresponding control button triggers, and similarly, second sound control instruction can also be by user by clicking or sliding
Control button corresponding with original voice control interface triggers on dynamic sound control interface.
Specific adjusted value can be carried in first sound control instruction and second sound control instruction, which can
To be the numerical value for indicating increment or decrement, it is also possible to the numerical value of an expression final goal, it specifically can be according to actually answering
Demand is configured, and details are not described herein.
205, mobile terminal returns sound to ear according to first sound control instruction and controls, and/or, according to this second
Sound control instruction controls original sound.
Wherein, control may include the adjusting to volume, also may include the adjusting of tone color etc., for convenience,
In the embodiment of the present invention, only it is illustrated by taking volume adjustment as an example.When carrying out volume adjustment, sound specifically can be reduced or improved
Amount, wherein by volume decrease down to minimum, as silent mode.
Optionally, stop interface can be set on the sound control interface, so that user is to the sound control interface
It is closed.Alternatively, also can be set when the earphone interface of terminal and earphone are established when disconnecting, the sound control interface is certainly
It is dynamic to close (disappearing from terminal screen), that is, step 206 can also be performed, as follows:
206, it when mobile terminal determines that the earphone interface of terminal and earphone foundation disconnect, generates sound control closing and refers to
It enables, which is closed according to the sound control out code.
From the foregoing, it will be observed that generating sound when the present embodiment establishes connection using the earphone interface and earphone for determining mobile terminal
Enabled instruction is controlled, and starts preset sound control interface according to the sound control enabled instruction, wherein sound control circle
Face includes that ear returns voice control interface and original voice control interface, then, receives sound control respectively by the two interfaces
Instruction, to realize the independent control for returning sound and original sound to ear respectively, allow user neatly to ear return sound and
Original sound is adjusted respectively, to achieve the desired results;Ear can be greatly improved using the program and return sound adjusting under function
Flexibility, improve the result of broadcast of sound, improve user experience.
Embodiment three,
Correspondingly, the embodiment of the present invention also provides a kind of sound control apparatus, as shown in Figure 3a, which can
With include generation unit 301, generation unit 302, receiving unit 303 and control unit 304, it is as follows:
Generation unit 301 when earphone interface and earphone for determining terminal establish connection, generates sound control starting and refers to
It enables.
Wherein, which can be wired earphone, be also possible to wireless headset, such as bluetooth headset etc..Earphone interface
Connection is established with earphone to refer to: in the earphone jack of the cable plug insertion terminal of wired earphone, and starting earphone function
Can, alternatively, when wireless headset and terminal successful match, and start ear-phone function.
Start unit 302, for starting preset sound control interface, the sound according to the sound control enabled instruction
Sound control interface includes that ear returns voice control interface and original voice control interface.
Receiving unit 303 receives the first sound control instruction for returning voice control interface by the ear, and/or, pass through
Original voice control interface receives second sound control instruction.
First sound control instruction can return sound control with ear on sound control interface by clicking or sliding by user
Interface processed corresponding control button triggers, and similarly, second sound control instruction can also be by user by clicking or sliding sound
Corresponding with original voice control interface control button triggers in sound control interface.
Specific adjusted value can be carried in first sound control instruction and second sound control instruction, which can
To be the numerical value for indicating increment or decrement, it is also possible to the numerical value of an expression final goal, it specifically can be according to actually answering
Demand is configured, and details are not described herein.
Control unit 304 is controlled for returning sound to ear according to first sound control instruction, and/or, according to this
Second sound control instruction controls original sound.
Wherein, control may include the adjusting to volume, also may include the adjusting of tone color etc., for convenience,
In the embodiment of the present invention, only it is illustrated by taking volume adjustment as an example.When carrying out volume adjustment, sound specifically can be reduced or improved
Amount, wherein by volume decrease down to minimum, as silent mode.That is:
The control unit 304 specifically can be used for reducing or improving according to the instruction of first sound control instruction ear and return
The volume of sound, and the volume for indicating to reduce or improve original sound according to the second sound control instruction.
Wherein, which may include calling subelement, executing subelement and display subelement;
Subelement is called, for calling the launching process at sound control interface according to the sound control enabled instruction.
Subelement is executed, preset sound control interface is obtained for executing the launching process.
Subelement is shown, for showing the sound control interface on the terminal screen.
Wherein, which can show in a variety of forms, for example, can be in the form of floating window, or with
Be paved with the form of entire desktop to show, etc., for the ease of user's operation, and with other terminal applies, such as recording or
The terminal applies such as K are sung preferably to merge, generally can be in the form of floating window, i.e. the form of floating layer is shown in the boundary of former terminal application
On face, such as recording interface or the interface for singing K, etc..That is:
Subelement is shown, specifically for showing the sound control interface in the form of floating window on the terminal screen.
Optionally, in order to not influence the interface display effect of former terminal application, when being particularly shown, the sound control interface
Shape can be a small icon, when user triggers the small icon, for example slides or touch the small icon, it is small that this is just unfolded
Operation interface corresponding to icon, for example just display corresponds respectively to ear and returns voice control interface and original voice control interface
Control button, etc..
In addition, user can also be according to the demand of practical application or hobby by the sound control Interface Moving to terminal screen
Upper any position, i.e., as shown in Figure 3b, the sound control apparatus can also include mobile unit 305, as follows:
Receiving unit 303 can be also used for the Interface Moving instruction for receiving user.
Mobile unit 305 can be used for being instructed according to the Interface Moving on a terminal screen to the progress of sound control interface
It is mobile.
It should be noted that the specific pattern at the sound control interface, shape, background patterns/color, prospect including interface
Pattern/color, control button pattern, and/or specific regulative mode of sound etc., can be preparatory according to the demand of practical application
It is configured, can also be configured by user according to the hobby of itself, i.e., as shown in Figure 3b, which can be with
It is as follows including configuration unit 306:
Configuration unit 306 can be used for obtaining styles configuration information, according to the styles configuration information to described
The pattern at sound control interface is configured.
It should be noted that can be unrestricted to the opportunity of the configuration at sound control interface, it can to sound control
It is configured, can also be configured before or after to sound control, details are not described herein during system.
Optionally, stop interface can be set on the sound control interface, so that user is to the sound control interface
It is closed.Alternatively, also can be set when the earphone interface of terminal and earphone are established when disconnecting, the sound control interface is certainly
Dynamic to close (disappearing from terminal screen), i.e., as shown in Figure 3b, which can also include closing unit 307,
It is as follows:
Generation unit 301, can be also used for the earphone interface for determining terminal and earphone is established when disconnecting, and generate sound
Control out code;
Closing unit 307 can be used for closing the sound control interface according to the sound control out code.
When it is implemented, above each unit can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of above each unit can be found in the embodiment of front, no longer superfluous herein
It states.
The sound control apparatus specifically can integrate in the terminal, which is specifically as follows mobile phone, tablet computer, notes
The equipment such as this computer or PC.
From the foregoing, it will be observed that the generation unit 301 of the sound control apparatus of the present embodiment is in the earphone interface and ear for determining terminal
When machine establishes connection, sound control enabled instruction can be generated, and opened according to the sound control enabled instruction by start unit 302
Move preset sound control interface, wherein the sound control interface includes that ear returns voice control interface and original sound control connects
Mouthful, then, sound control instruction is received respectively by the two interfaces by receiving unit 303, by control unit 304 according to these
Control instruction returns sound to ear respectively and original sound is independently controlled, and user is allowed neatly to return sound and original to ear
Sound cent is not adjusted, to achieve the desired results;Ear can be greatly improved using the program and return what sound under function was adjusted
Flexibility improves the result of broadcast of sound, improves user experience.
Example IV,
Correspondingly, the embodiment of the present invention also provides a kind of terminal, as shown in figure 4, the terminal may include radio frequency (RF,
Radio Frequency) circuit 401, the memory 402, defeated that includes one or more computer readable storage medium
Enter unit 403, display unit 404, sensor 405, voicefrequency circuit 406, Wireless Fidelity (WiFi, Wireless Fidelity)
The components such as module 407, the processor 408 for including one or more than one processing core and power supply 409.This field skill
Art personnel are appreciated that the restriction of the not structure paired terminal of terminal structure shown in Fig. 4, may include more or more than illustrating
Few component perhaps combines certain components or different component layouts.Wherein:
RF circuit 401 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, one or the processing of more than one processor 408 are transferred to;In addition, the data for being related to uplink are sent to
Base station.In general, RF circuit 401 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses
Family identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low-noise amplifier
(LNA, Low Noise Amplifier), duplexer etc..In addition, RF circuit 401 can also by wireless communication with network and its
He communicates equipment.Any communication standard or agreement, including but not limited to global system for mobile telecommunications system can be used in the wireless communication
Unite (GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is more
Location (WCDMA, Wideband Code Division Multiple Access), long term evolution (LTE, Long Term
Evolution), Email, short message service (SMS, Short Messaging Service) etc..
Memory 402 can be used for storing software program and module, and processor 408 is stored in memory 402 by operation
Software program and module, thereby executing various function application and data processing.Memory 402 can mainly include storage journey
Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created data according to terminal
(such as audio data, phone directory etc.) etc..In addition, memory 402 may include high-speed random access memory, can also include
Nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Phase
Ying Di, memory 402 can also include Memory Controller, to provide processor 408 and input unit 403 to memory 402
Access.
Input unit 403 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, in a specific embodiment
In, input unit 403 may include touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or touching
Control plate, collect user on it or nearby touch operation (such as user using any suitable object such as finger, stylus or
Operation of the attachment on touch sensitive surface or near touch sensitive surface), and corresponding connection dress is driven according to preset formula
It sets.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 408, and can reception processing
Order that device 408 is sent simultaneously is executed.Furthermore, it is possible to a variety of using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch sensitive surface.In addition to touch sensitive surface, input unit 403 can also include other input equipments.Specifically, other are defeated
Entering equipment can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse
One of mark, operating stick etc. are a variety of.
Display unit 404 can be used for showing information input by user or be supplied to user information and terminal it is various
Graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.Display
Unit 404 may include display panel, optionally, can using liquid crystal display (LCD, Liquid Crystal Display),
The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display panel.Further
, touch sensitive surface can cover display panel, after touch sensitive surface detects touch operation on it or nearby, send processing to
Device 408 is followed by subsequent processing device 408 and is provided on a display panel accordingly according to the type of touch event to determine the type of touch event
Visual output.Although touch sensitive surface and display panel are to realize input and input as two independent components in Fig. 4
Function, but in some embodiments it is possible to touch sensitive surface and display panel are integrated and realizes and outputs and inputs function.
Terminal may also include at least one sensor 405, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel, proximity sensor can close display panel and/or back when terminal is moved in one's ear
Light.As a kind of motion sensor, gravity accelerometer can detect (generally three axis) acceleration in all directions
Size can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as terminal
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 406, loudspeaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 406 can
By the electric signal after the audio data received conversion, it is transferred to loudspeaker, voice signal output is converted to by loudspeaker;It is another
The voice signal of collection is converted to electric signal by aspect, microphone, is converted to audio data after being received by voicefrequency circuit 406, then
After the processing of audio data output processor 408, it is sent to such as another terminal through RF circuit 401, or by audio data
Output is further processed to memory 402.Voicefrequency circuit 406 is also possible that earphone jack, with provide peripheral hardware earphone with
The communication of terminal.
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronics postal by WiFi module 407
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 4 is shown
WiFi module 407, but it is understood that, and it is not belonging to must be configured into for terminal, it can according to need do not changing completely
Become in the range of the essence of invention and omits.
Processor 408 is the control centre of terminal, using the various pieces of various interfaces and connection whole mobile phone, is led to
It crosses operation or executes the software program and/or module being stored in memory 402, and call and be stored in memory 402
Data execute the various functions and processing data of terminal, to carry out integral monitoring to mobile phone.Optionally, processor 408 can wrap
Include one or more processing cores;Preferably, processor 408 can integrate application processor and modem processor, wherein answer
With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 408.
Terminal further includes the power supply 409 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe
Reason system and processor 408 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system
Etc. functions.Power supply 409 can also include one or more direct current or AC power source, recharging system, power failure inspection
The random components such as slowdown monitoring circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal can also include camera, bluetooth module etc., and details are not described herein.Specifically in this implementation
In example, the processor 408 in terminal can be corresponding by the process of one or more application program according to following instruction
Executable file is loaded into memory 402, and the application program being stored in memory 402 is run by processor 408, from
And realize various functions:
When determining that the earphone interface of terminal and earphone establish connection, sound control enabled instruction is generated, according to the sound control
Enabled instruction processed starts preset sound control interface, which includes that ear returns voice control interface and original sound
Control interface returns voice control interface by the ear and receives the first sound control instruction, according to first sound control instruction pair
Ear returns sound and is controlled;And/or second sound control instruction is received by original voice control interface, according to the rising tone
Sound control instruction controls original sound.
Wherein, control may include the adjusting to volume, also may include the adjusting of tone color etc., for convenience,
In the embodiment of the present invention, only it is illustrated by taking volume adjustment as an example.When carrying out volume adjustment, sound specifically can be reduced or improved
Amount, wherein by volume decrease down to minimum, as silent mode.
Wherein, which can show in a variety of forms, for example, can be in the form of floating window, or with
Be paved with the form of entire desktop to show, etc., for the ease of user's operation, and with other terminal applies, such as recording or
The terminal applies such as K are sung preferably to merge, generally can be in the form of floating window, i.e. the form of floating layer is shown in the boundary of former terminal application
On face, such as recording interface or the interface for singing K, etc..
Optionally, in order to not influence the interface display effect of former terminal application, when being particularly shown, the sound control interface
Shape can be a small icon, when user triggers the small icon, for example slides or touch the small icon, it is small that this is just unfolded
Operation interface corresponding to icon, for example just display corresponds respectively to ear and returns voice control interface and original voice control interface
Control button.
Optionally, the specific pattern at the sound control interface, shape, background patterns/color, foreground picture including interface
Case/color, control button pattern, and/or specific regulative mode of sound etc., can be pre- advanced according to the demand of practical application
Row setting, can also be configured by user according to the hobby of itself, i.e., the finger operated as follows can also be performed in the processor 408
It enables:
Obtain styles configuration information, according to the styles configuration information to the pattern at the sound control interface into
Row configuration.
In addition, user can also be according to the demand of practical application or hobby by the sound control Interface Moving to terminal screen
The instruction operated as follows can also be performed in upper any position, i.e. processor 408:
Receive user Interface Moving instruction, according to the Interface Moving instruction on a terminal screen to sound control interface into
Row movement.
Optionally, stop interface can be set on the sound control interface, so that user is to the sound control interface
It is closed.Alternatively, also can be set when the earphone interface of terminal and earphone are established when disconnecting, the sound control interface is certainly
Dynamic to close (disappearing from terminal screen), i.e. the instruction operated as follows can also be performed in processor 408:
When determining that the earphone interface of terminal and earphone foundation disconnect, sound control out code is generated, according to the sound
The sound control interface is closed in sound control out code.
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
From the foregoing, it will be observed that the terminal of the present embodiment can be raw when the earphone interface and earphone for determining this terminal establish connection
At sound control enabled instruction, and start preset sound control interface according to the sound control enabled instruction, wherein the sound
Control interface includes that ear returns voice control interface and original voice control interface, then, passes through the two interfaces reception sound respectively
Sound control instruction returns user neatly to ear to realize the independent control for returning sound and original sound to ear respectively
Sound and original sound are adjusted respectively, to achieve the desired results;Ear can be greatly improved using the program and return sound under function
The flexibility of tone section improves the result of broadcast of sound, improves user experience.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
It is provided for the embodiments of the invention the control method of sound and device in a kind of terminal above and has carried out detailed Jie
It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only
It is to be used to help understand method and its core concept of the invention;Meanwhile for those skilled in the art, according to the present invention
Thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as
Limitation of the present invention.
Claims (14)
1. the control method of sound in a kind of terminal characterized by comprising
When determining that the earphone interface of terminal and earphone establish connection, sound control enabled instruction is generated;
Start preset sound control interface according to the sound control enabled instruction, the sound control interface includes that ear returns sound
Sound control interface and original voice control interface;
Voice control interface is returned by the ear and receives the first sound control instruction, according to first sound control instruction to ear
Sound is returned to be controlled;And/or
Second sound control instruction is received by original voice control interface, according to the second sound control instruction to original sound
Sound is controlled.
2. the method according to claim 1, wherein described preset according to sound control enabled instruction starting
Sound control interface after, further includes:
When determining that the earphone interface of terminal and earphone foundation disconnect, sound control out code is generated;
The sound control interface is closed according to the sound control out code.
3. method according to claim 1 or 2, which is characterized in that described to be started according to the sound control enabled instruction
Preset sound control interface, comprising:
The launching process at sound control interface is called according to the sound control enabled instruction;
The launching process is executed to obtain preset sound control interface;
The sound control interface is shown on the terminal screen.
4. according to the method described in claim 3, it is characterized in that, described show the sound control on the terminal screen
Interface, comprising:
The sound control interface is shown in the form of floating window on the terminal screen.
5. method according to claim 4, which is characterized in that described to show institute in the form of floating window on the terminal screen
After stating sound control interface, further includes:
Receive the Interface Moving instruction of user;
The sound control interface is moved on a terminal screen according to Interface Moving instruction.
6. according to the method described in claim 3, it is characterized by further comprising:
Obtain styles configuration information;
It is configured according to pattern of the styles configuration information to the sound control interface.
7. method according to claim 1 or 2, which is characterized in that
It is described sound is returned to ear according to first sound control instruction to control, comprising: according to first sound control
The instruction of instruction reduces or improves the volume that ear returns sound;
It is described that original sound is controlled according to the second sound control instruction, comprising: to be controlled according to the second sound
The instruction of instruction reduces or improves the volume of original sound.
8. a kind of sound control apparatus characterized by comprising
Generation unit generates sound control enabled instruction when earphone interface and earphone for determining terminal establish connection;
Start unit, for starting preset sound control interface, the sound control according to the sound control enabled instruction
Interface includes that ear returns voice control interface and original voice control interface;
Receiving unit receives the first sound control instruction for returning voice control interface by the ear, and/or, by original
Voice control interface receives second sound control instruction;
Control unit is controlled for returning sound to ear according to first sound control instruction, and/or, according to described
Two sound control instructions control original sound.
9. device according to claim 8, which is characterized in that further include closing unit;
The generation unit generates sound control and closes when being also used to determine that the earphone interface of terminal and earphone foundation disconnect
Close instruction;
Closing unit, for closing the sound control interface according to the sound control out code.
10. device according to claim 8 or claim 9, which is characterized in that the start unit includes calling subelement, executing
Subelement and display subelement;
Subelement is called, for calling the launching process at sound control interface according to the sound control enabled instruction;
Subelement is executed, preset sound control interface is obtained for executing the launching process;
Subelement is shown, for showing the sound control interface on the terminal screen.
11. device according to claim 10, which is characterized in that
The display subelement, specifically for showing the sound control interface in the form of floating window on the terminal screen.
12. device according to claim 11, which is characterized in that further include mobile unit;
The receiving unit is also used to receive the Interface Moving instruction of user;
The mobile unit, for being moved on a terminal screen to the sound control interface according to Interface Moving instruction
It is dynamic.
13. device according to claim 10, which is characterized in that further include configuration unit;
The configuration unit, for obtaining styles configuration information, according to the styles configuration information to the sound
The pattern of control interface is configured.
14. according to the described in any item devices of claim 8 or 9, which is characterized in that
Described control unit reduces or improves the sound that ear returns sound specifically for the instruction according to first sound control instruction
Amount, and the volume for indicating to reduce or improve original sound according to the second sound control instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410828921.7A CN105786439B (en) | 2014-12-26 | 2014-12-26 | The control method and device of sound in a kind of terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410828921.7A CN105786439B (en) | 2014-12-26 | 2014-12-26 | The control method and device of sound in a kind of terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105786439A CN105786439A (en) | 2016-07-20 |
CN105786439B true CN105786439B (en) | 2019-05-07 |
Family
ID=56388886
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410828921.7A Active CN105786439B (en) | 2014-12-26 | 2014-12-26 | The control method and device of sound in a kind of terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105786439B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107682770B (en) * | 2017-10-16 | 2019-10-15 | 维沃移动通信有限公司 | A kind of application control method and mobile terminal |
CN109814798B (en) * | 2019-01-17 | 2021-03-12 | Oppo广东移动通信有限公司 | Ear return function control method and device and mobile terminal |
CN110808021B (en) * | 2019-11-08 | 2024-06-11 | 广州酷狗计算机科技有限公司 | Audio playing method, device, terminal and storage medium |
CN113050812B (en) * | 2021-03-30 | 2023-11-21 | 联想(北京)有限公司 | Control method, electronic pen and electronic equipment |
CN113112986A (en) * | 2021-05-13 | 2021-07-13 | 北京字节跳动网络技术有限公司 | Audio synthesis method, apparatus, device, medium, and program product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1366233A (en) * | 2001-01-19 | 2002-08-28 | 索尼电脑娱乐公司 | Sound control method and apparatus for appearing in situ feeling of game |
KR20060026336A (en) * | 2004-09-20 | 2006-03-23 | 엘지전자 주식회사 | Mobile communication terminal having a function of mixing audio signal and surrounding sound, and control method thereof |
CN103986821A (en) * | 2014-04-24 | 2014-08-13 | 小米科技有限责任公司 | Method, equipment and system for carrying out parameter adjustment |
CN104093095A (en) * | 2014-07-15 | 2014-10-08 | 邓成忠 | Singing device with automatically-adjusted volume |
CN104243671A (en) * | 2013-06-17 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Volume adjustment method and device and electronic device |
-
2014
- 2014-12-26 CN CN201410828921.7A patent/CN105786439B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1366233A (en) * | 2001-01-19 | 2002-08-28 | 索尼电脑娱乐公司 | Sound control method and apparatus for appearing in situ feeling of game |
KR20060026336A (en) * | 2004-09-20 | 2006-03-23 | 엘지전자 주식회사 | Mobile communication terminal having a function of mixing audio signal and surrounding sound, and control method thereof |
CN104243671A (en) * | 2013-06-17 | 2014-12-24 | 腾讯科技(深圳)有限公司 | Volume adjustment method and device and electronic device |
CN103986821A (en) * | 2014-04-24 | 2014-08-13 | 小米科技有限责任公司 | Method, equipment and system for carrying out parameter adjustment |
CN104093095A (en) * | 2014-07-15 | 2014-10-08 | 邓成忠 | Singing device with automatically-adjusted volume |
Also Published As
Publication number | Publication date |
---|---|
CN105786439A (en) | 2016-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104243671B (en) | Volume adjusting method, device and electronic equipment | |
WO2015172704A1 (en) | To-be-shared interface processing method, and terminal | |
CN104636047B (en) | The method, apparatus and touch screen terminal operated to the object in list | |
CN104298491B (en) | Message treatment method and device | |
CN105786439B (en) | The control method and device of sound in a kind of terminal | |
CN103634717B (en) | A kind of method, device and the terminal device of the control of utilization earphone | |
CN104252341B (en) | The client device of the skin change method of application program, device and application program | |
CN106411448B (en) | Control method for playing back, device and terminal | |
CN104238893B (en) | A kind of method and apparatus that video preview picture is shown | |
CN105808060B (en) | A kind of method and apparatus of playing animation | |
CN108888955A (en) | Method of controlling viewing angle and device in a kind of game | |
CN108958805A (en) | menu display method and device | |
CN106453597B (en) | The method of adjustment of data synchronizing cycles, apparatus and system | |
CN108898552A (en) | Picture joining method, double screen terminal and computer readable storage medium | |
CN106452643B (en) | Control method for playing back, device, terminal and play system | |
CN107741812B (en) | A kind of method and terminal handling media file | |
CN109460181A (en) | Screen locking wallpaper displaying method, device, mobile terminal and storage medium | |
CN105357657B (en) | The construction method and device of Mesh network | |
CN105808043B (en) | A kind of setting method and mobile terminal of terminal applies | |
CN105976849B (en) | A kind of method and apparatus of playing audio-fequency data | |
CN108492837A (en) | Detection method, device and the storage medium of audio burst white noise | |
CN106452644B (en) | Control method for playing back, device and terminal | |
CN106057213B (en) | A kind of method and apparatus of display voice pitch data | |
CN105100361B (en) | The way of recording and device of mobile terminal | |
CN110022405A (en) | Radio frequency parameter method of adjustment, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |