CN104869207B - The adjusting method and mobile terminal of a kind of volume - Google Patents
The adjusting method and mobile terminal of a kind of volume Download PDFInfo
- Publication number
- CN104869207B CN104869207B CN201510239552.2A CN201510239552A CN104869207B CN 104869207 B CN104869207 B CN 104869207B CN 201510239552 A CN201510239552 A CN 201510239552A CN 104869207 B CN104869207 B CN 104869207B
- Authority
- CN
- China
- Prior art keywords
- playback equipment
- icon
- volume
- control button
- mobile terminal
- 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
Abstract
The invention discloses a kind of adjusting method of volume, this method also includes:Control button icon and playback equipment icon are shown on the display interface of mobile terminal, wherein, the quantity at least two of the playback equipment icon;Obtain the distance between the playback equipment icon and the control button icon;A kind of mobile terminal is additionally provided according to the volume embodiment of the present invention of the distance between the playback equipment icon and described control button icon regulation playback equipment corresponding with the playback equipment icon.The volume adjusting that disposably multiple playback equipments are carried out with correlation can be realized using the embodiment of the present invention.
Description
Technical field
The present invention relates to the adjusting method and mobile terminal of electronic technology field, more particularly to a kind of volume.
Background technology
With the development of intelligent terminal technology, the function that people are realized by intelligent terminal is more and more, such as:Control is more
The volume of individual playback equipment.Can be with multiple broadcastings by the APP installed on the intelligent terminals such as cell phone, tablet personal computer
Equipment establishes wireless connection, and can control the volume of multiple playback equipments.Find in actual applications, pass through intelligent terminal
The volume of multiple playback equipments is controlled to be typically only capable to individually control the volume situation of some playback equipment, or can only be all consistent
Property the multiple playback equipments of control, can not disposably to multiple playback equipments carry out correlation regulation.
The content of the invention
The embodiment of the invention discloses a kind of adjusting method of volume and mobile terminal, for how solving disposably to more
Individual playback equipment carries out the volume adjusting of correlation.
First aspect present invention provides a kind of adjusting method of volume, including:
Control button icon and playback equipment icon are shown on the display interface of mobile terminal, wherein, the broadcasting is set
The quantity at least two of standby icon;
Obtain the distance between the playback equipment icon and the control button icon;
According to the regulation of the distance between the playback equipment icon and the control button icon and the playback equipment figure
The volume of playback equipment corresponding to mark.
With reference to first aspect present invention, in the first possible implementation of first aspect of the embodiment of the present invention,
Before showing control button icon and playback equipment icon on the display interface of mobile terminal, the adjusting method also includes:
Receive the connection that the playback equipment corresponding with the playback equipment icon is sent and establish request;
Respond the connection establish request to corresponding with the playback equipment icon playback equipment transmission with it is described
Connection establishes connection corresponding to request and completes response.
With reference to the possible implementation of the first of first aspect present invention or first aspect of the embodiment of the present invention, in this hair
In second of possible implementation of bright embodiment first aspect, the playback equipment icon includes the first playback equipment icon
With the second playback equipment icon, it is described obtain the distance between the playback equipment icon and the control button icon, including:
If detecting, the control button icon moves to the second place from first position, obtains at the control button icon
First playback equipment icon described in when the second place and the second playback equipment icon and the control button icon
The distance between.
With reference to second of possible implementation of first aspect of the embodiment of the present invention, in first aspect of the embodiment of the present invention
The third possible implementation in, the first playback equipment icon is corresponding with the first playback equipment, it is described second play
Appliance icon is corresponding with the second playback equipment;
It is described to be set according to the playback equipment icon and the distance between control button icon regulation with the broadcasting
The volume of playback equipment corresponding to standby icon, including:
First playback equipment and second playback equipment are calculated in institute according to the preset ratio of volume value and distance
State control button icon and be in corresponding first volume value and the second volume value during the second place;
The instruction of the first volume adjusting and the second sound are sent respectively to first playback equipment and second playback equipment
Regulating command is measured, the first volume adjusting instruction carries first volume value, and the second volume adjusting instruction carries institute
The second volume value is stated, is broadcast in order to which the described first broadcasting playback equipment receives the first volume adjusting instruction and described second
Put after equipment receives second volume adjusting instruction, institute is adjusted according to first volume value and second volume value
State the volume of the first playback equipment and the second playback equipment.
With reference to the third possible implementation of first aspect of the embodiment of the present invention, in first aspect of the embodiment of the present invention
The 4th kind of possible implementation in, it is described according to the distance between the playback equipment icon and the control button icon
After the volume of regulation playback equipment corresponding with the playback equipment icon, the adjusting method also includes:
If detecting the operational order for closing the control button icon, first playback equipment and described the are obtained
The original sound volume value of two playback equipments;
The instruction of the 3rd volume adjusting and the 4th sound are sent respectively to first playback equipment and second playback equipment
Measure regulating command;The 3rd volume adjusting instruction carries the original sound volume value of first playback equipment, the 4th volume
Regulating command carries the original sound volume value of second playback equipment, in order to which first playback equipment receives the described 3rd
After volume adjusting instruction and second playback equipment receive the 4th volume adjusting instruction, played according to described first
Equipment and the original sound volume value of second playback equipment adjust the volume of first playback equipment and the second playback equipment.
Second aspect of the present invention provides a kind of mobile terminal, including:
Display unit, for showing control button icon and playback equipment icon on the display interface of mobile terminal, its
In, the quantity at least two of the playback equipment icon;
First acquisition unit, for obtaining the distance between the playback equipment icon and the control button icon;
First adjustment unit, for being adjusted according to the distance between the playback equipment icon and the control button icon
The volume of playback equipment corresponding with the playback equipment icon.
With reference to second aspect of the present invention, in the first possible implementation of second aspect of the embodiment of the present invention, institute
Stating mobile terminal also includes:
Receiving unit, please for receiving the connection foundation that the playback equipment corresponding with the playback equipment icon is sent
Ask;
First transmitting element, request is established for responding the connection and corresponding with the playback equipment icon is broadcast to described
Put equipment and send connection completion response corresponding with the connection foundation request.
With reference to the possible implementation of the first of second aspect of the present invention or second aspect of the embodiment of the present invention, in this hair
In second of possible implementation of bright embodiment second aspect, the playback equipment icon includes the first playback equipment icon
With the second playback equipment icon, the first acquisition unit is specifically used for:
If detecting, the control button icon moves to the second place from first position, obtains at the control button icon
First playback equipment icon described in when the second place and the second playback equipment icon and the control button icon
The distance between.
With reference to second of possible implementation of second aspect of the embodiment of the present invention, in second aspect of the embodiment of the present invention
The third possible implementation in, the first playback equipment icon is corresponding with the first playback equipment, it is described second play
Appliance icon is corresponding with the second playback equipment, and first adjustment unit includes:
Computing unit, for calculating first playback equipment and described second according to the preset ratio of volume value and distance
Playback equipment corresponding first volume value and the second volume value when the control button icon is in the second place;
Second transmitting element, for sending the first volume respectively to first playback equipment and second playback equipment
Regulating command and the instruction of the second volume adjusting, the first volume adjusting instruction carry first volume value, second sound
Measure regulating command and carry second volume value, in order to which the described first broadcasting playback equipment receives first volume adjusting
After instruction and second playback equipment receive second volume adjusting instruction, according to first volume value and described
Second volume value adjusts the volume of first playback equipment and the second playback equipment.
With reference to the third possible implementation of second aspect of the embodiment of the present invention, in second aspect of the embodiment of the present invention
The 4th kind of possible implementation in, the mobile terminal also includes:
Second acquisition unit, if closing the operational order of the control button icon for detecting, obtain described
The original sound volume value of one playback equipment and second playback equipment;
3rd transmitting element, for sending the 3rd volume respectively to first playback equipment and second playback equipment
Regulating command and the instruction of the 4th volume adjusting;The 3rd volume adjusting instruction carries the original sound volume of first playback equipment
Value, the 4th volume adjusting instruction carry the original sound volume value of second playback equipment, in order to which the described first broadcasting is set
It is standby to receive the 3rd volume adjusting instruction and after second playback equipment receives the 4th volume adjusting instruction,
First playback equipment and second are adjusted according to the original sound volume value of first playback equipment and second playback equipment
The volume of playback equipment.
Implement the embodiment of the present invention, have the advantages that:
In the embodiment of the present invention, control button icon and playback equipment icon are shown on the display interface of mobile terminal,
Wherein, the quantity at least two of the playback equipment icon, i.e., by playback equipment in a manner of playback equipment icon
Shown on the display interface of mobile terminal, and show control button icon simultaneously;Obtain the playback equipment icon and the control
The distance between button icon processed;According to the regulation of the distance between the playback equipment icon and the control button icon and institute
State the volume of playback equipment corresponding to playback equipment icon, i.e., according to the playback equipment icon and the control button icon it
Between distance calculate the volume that now corresponding with playback equipment icon playback equipment needs to adjust, then to carry calculating
The regulating command of obtained volume is sent to playback equipment, to cause playback equipment to receive after regulating command according to regulating command
The volume of carrying carries out volume adjusting, so as to reach the volume adjusting that disposably multiple playback equipments are carried out with correlation.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention;
Fig. 2 is the first embodiment schematic flow sheet of the adjusting method of volume provided in an embodiment of the present invention;
Fig. 3 a are the second embodiment schematic flow sheet of the adjusting method of volume provided in an embodiment of the present invention;
Fig. 3 b and Fig. 3 c are the displaying interface schematic diagram for the volume adjusting method embodiment that Fig. 3 a are provided;
Fig. 4 is the 3rd embodiment schematic flow sheet of the adjusting method of volume provided in an embodiment of the present invention;
Fig. 5 is the first embodiment structural representation of mobile terminal provided in an embodiment of the present invention;
Fig. 6 is the second embodiment structural representation of mobile terminal provided in an embodiment of the present invention.
Embodiment
The embodiment of the invention discloses a kind of adjusting method of volume and mobile terminal, for how solving disposably to more
Individual playback equipment carries out the volume adjusting of correlation.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects
Enclose.
It is described in detail individually below.
Term " first ", " second ", " the 3rd " in description and claims of this specification and the accompanying drawing and "
Four " etc. be to be used to distinguish different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it
Any deformation, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method, be
The step of system, product or equipment are not limited to list or unit, but alternatively also including the step of not listing or list
Member, or alternatively also include for the intrinsic other steps of these processes, method, product or equipment or unit.
In order to be best understood from the adjusting method and mobile terminal of a kind of volume disclosed in the embodiment of the present invention, below first to this
The applicable network architecture of inventive embodiments is described.Referring to Fig. 1, Fig. 1 is a kind of network structure disclosed in the embodiment of the present invention
Frame schematic diagram.In the network architecture shown in Fig. 1, multiple playback equipments and mobile terminal can be included, wherein, mobile terminal can
(such as WI-FI, bluetooth) communicates to connect with multiple playback equipments wirelessly.In the network architecture shown in Fig. 1, terminal
Equipment can include cell phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA), shifting
Dynamic internet device (Mobile Internet Device, MID), Intelligent worn device (such as intelligent watch, Intelligent bracelet)
All kinds of terminal devices, the embodiment of the present invention are not construed as limiting.By implementing the network architecture shown in Fig. 1, can intelligence it is disposable
Multiple playback equipments are carried out with the volume adjusting of correlation.
Adjusting method one embodiment of volume of the present invention.Wherein, a kind of adjusting method of volume:In the aobvious of mobile terminal
Show and control button icon and playback equipment icon are shown on interface, wherein, the quantity at least two of the playback equipment icon;
Obtain the distance between the playback equipment icon and the control button icon;According to the playback equipment icon and the control
The distance between button icon processed adjusts the volume of playback equipment corresponding with the playback equipment icon.
The adjusting method of volume provided in an embodiment of the present invention is applied to carry out two or more playback equipments
It volume adjusting, may be equally suitable for that the volume of a playback equipment is adjusted.Due to being played to two or to three
The principle that equipment carries out volume adjusting be it is the same, therefore the embodiment of the present invention using two playback equipments are carried out volume adjustings as
Example is described in detail, wherein, two playback equipments include the first playback equipment and the second playback equipment.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses volume adjusting method.Referring to Fig. 2, figure
2 be the first embodiment schematic flow sheet of the adjusting method of volume disclosed in the embodiment of the present invention.As shown in Fig. 2 this is applied to
The adjusting method of volume may comprise steps of.
S101, control button icon and playback equipment icon are shown on the display interface of mobile terminal.
Wherein, the quantity at least two of the playback equipment icon.
Wherein, the mobile terminal for example can be it is following in any one or whole, smart phone, wearable set
Standby (personal maincenter), personal or mobile multimedia player, personal digital assistant (PDA), laptop computer, tablet personal computer,
Smartbook, palmtop computer and similar personal electronic equipments, above-mentioned mobile terminal can include network interface, processing
Device, memory, audio frequency processing circuit, microphone, and including can internally or outside audio-frequency amplifier and including even
It is connected to the loudspeaker unit of audio-frequency amplifier.
In the embodiment of the present invention, control button icon and playback equipment icon are shown on the display interface of mobile terminal
Embodiment has:Obtain the relative position between playback equipment corresponding with the playback equipment icon and the mobile terminal
Put, according to it is described with the playback equipment icon corresponding to relative position between playback equipment and the mobile terminal according to pre-
If ratio, by playback equipment icon shows on the display interface of mobile terminal, obtain with the playback equipment icon pair
The current volume value for the playback equipment answered, the described and playback equipment icon is calculated according to the preset ratio of volume value and distance
The distance between corresponding playback equipment and the control button icon, corresponding with the playback equipment icon broadcast according to described
Put the distance between equipment and the control button icon and determine the position of the control button icon on display interface, and
The control button icon is shown on the display interface of mobile terminal.
For example, mobile terminal receives the playback equipment volume control instruction of user's input, and mobile terminal is according to broadcasting
Device voice volume control instruction enters playback equipment volume control interface, mobile terminal can be determined by the tracker of mobile terminal with
First playback equipment of the mobile terminal connection and the positional information of the second playback equipment, mobile terminal is further according to mobile terminal
Location technology calculates the relative position of first playback equipment and second playback equipment, and mobile terminal is according to being calculated
The multiple playback equipment and the mobile terminal between relative position according to default ratio (such as 100:1、50:1、
30:1、20:1 etc.) relative position of the multiple playback equipment, is illustrated in by the aobvious of mobile terminal by playback equipment icon
Show on interface, mobile terminal obtains the current volume value of the multiple playback equipment by the microphone of mobile terminal, mobile whole
End is according to the current volume value of the multiple playback equipment and the volume value and the preset ratio (2 of distance that prestore:1、3:1、
5:1、7:1 etc.) determine the distance between the multiple playback equipment icon and the control button icon, mobile terminal according to
The distance between the multiple playback equipment icon and the control button icon determine the control button icon on display circle
Position on face, and the control button icon is shown on the display interface of mobile terminal.
In another embodiment, control button icon and playback equipment icon are shown on the display interface of mobile terminal
Embodiment can also:Acquisition last time controls button icon and playback equipment figure when exiting playback equipment volume control interface
Target positional information, and the control button icon and the playback equipment icon are shown on the display interface of mobile terminal.
S102, obtain the distance between the playback equipment icon and the control button icon.
In the embodiment of the present invention, the specific of the playback equipment icon and the distance between the control button icon is obtained
Embodiment has:If detecting, the control button icon moves to the second place from first position, obtains the control button figure
Mark the first playback equipment icon described in when being in the second place and the second playback equipment icon and the control button
The distance between icon.
S103, set according to the regulation of the distance between the playback equipment icon and described control button icon and described play
The volume of playback equipment corresponding to standby icon.
In the embodiment of the present invention, according to the distance between the playback equipment icon and the control button icon regulation with
There is the embodiment of the volume of playback equipment corresponding to the playback equipment icon:According to volume value and the default ratio of distance
Example calculates first playback equipment and second playback equipment when the control button icon is in the second place
Corresponding first volume value and the second volume value, wherein, the preset ratio can for example be equal to 1:2、1:3、1:5、1:7 or
Other values;The instruction of the first volume adjusting and the second volume are sent respectively to first playback equipment and second playback equipment
Regulating command, the first volume adjusting instruction carry first volume value, and second volume adjusting is instructed described in carrying
Second volume value, played in order to which the described first broadcasting playback equipment receives the first volume adjusting instruction and described second
After equipment receives the second volume adjusting instruction, according to first volume value and second volume value regulation
The volume of first playback equipment and the second playback equipment.
In the embodiment of the present invention, control button icon and playback equipment icon are shown on the display interface of mobile terminal,
Wherein, the quantity at least two of the playback equipment icon, i.e., by playback equipment in a manner of playback equipment icon
Shown on the display interface of mobile terminal, and show control button icon simultaneously;Obtain the playback equipment icon and the control
The distance between button icon processed;According to the regulation of the distance between the playback equipment icon and the control button icon and institute
State the volume of playback equipment corresponding to playback equipment icon, i.e., according to the playback equipment icon and the control button icon it
Between distance calculate the volume that now corresponding with playback equipment icon playback equipment needs to adjust, then to carry calculating
The regulating command of obtained volume is sent to playback equipment, to cause playback equipment to receive after regulating command according to regulating command
The volume of carrying carries out volume adjusting, so as to reach the volume adjusting that disposably multiple playback equipments are carried out with correlation.
Optionally, it is described before showing control button icon and playback equipment icon on the display interface of mobile terminal
Adjusting method also includes:Receive the connection that the playback equipment corresponding with the playback equipment icon is sent and establish request;Ring
Answer the connection to establish to ask to send to establish with the connection to the playback equipment corresponding with the playback equipment icon to ask
Response is completed in connection corresponding to asking.
Optionally, broadcast according to the distance regulation between the playback equipment icon and the control button icon with described
After the volume for putting playback equipment corresponding to appliance icon, the adjusting method also includes:If detect close it is described control by
The operational order of button icon, then obtain the original sound volume value of first playback equipment and second playback equipment;To described
First playback equipment and second playback equipment send the instruction of the 3rd volume adjusting and the instruction of the 4th volume adjusting respectively;It is described
The instruction of 3rd volume adjusting carries the original sound volume value of first playback equipment, and the 4th volume adjusting is instructed described in carrying
The original sound volume value of second playback equipment, in order to which first playback equipment receives the 3rd volume adjusting instruction and institute
State after the second playback equipment receives the 4th volume adjusting instruction, broadcast according to first playback equipment and described second
The original sound volume value for putting equipment adjusts the volume of first playback equipment and the second playback equipment.
For ease of being better understood from and implementing the such scheme of the embodiment of the present invention, with reference to some specific applied fields
Scape is illustrated.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses another volume adjusting method.Refer to
Fig. 3 a, Fig. 3 a are the second embodiment schematic flow sheets of the adjusting method of volume disclosed in the embodiment of the present invention.As shown in Figure 3 a,
The adjusting method for being applied to volume may comprise steps of.
S201, control button icon and playback equipment icon are shown on the display interface of mobile terminal.
In the embodiment of the present invention, control button icon and playback equipment icon are shown on the display interface of mobile terminal
Embodiment has:Obtain the relative position between playback equipment corresponding with the playback equipment icon and the mobile terminal
Put, according to it is described with the playback equipment icon corresponding to relative position between playback equipment and the mobile terminal according to pre-
If ratio, by playback equipment icon shows on the display interface of mobile terminal, obtain with the playback equipment icon pair
The current volume value for the playback equipment answered, the described and playback equipment icon is calculated according to the preset ratio of volume value and distance
The distance between corresponding playback equipment and the control button icon, corresponding with the playback equipment icon broadcast according to described
Put the distance between equipment and the control button icon and determine the position of the control button icon on display interface, and
The control button icon is shown on the display interface of mobile terminal.
For example, mobile terminal receives the playback equipment volume control instruction of user's input, and mobile terminal is according to broadcasting
Device voice volume control instruction enters playback equipment volume control interface, mobile terminal can be determined by the tracker of mobile terminal with
First playback equipment of the mobile terminal connection and the positional information of the second playback equipment, mobile terminal is further according to mobile terminal
Location technology calculates the relative position of first playback equipment and second playback equipment, and mobile terminal is according to being calculated
The multiple playback equipment and the mobile terminal between relative position according to default ratio (such as 100:1、50:1、
30:1、20:1 etc.) relative position of the multiple playback equipment, is illustrated in by the aobvious of mobile terminal by playback equipment icon
Show on interface, mobile terminal obtains the current volume value of the multiple playback equipment by the microphone of mobile terminal, mobile whole
End is according to the current volume value of the multiple playback equipment and the volume value and the preset ratio (2 of distance that prestore:1、3:1、
5:1、7:1 etc.) determine the distance between the multiple playback equipment icon and the control button icon, mobile terminal according to
The distance between the multiple playback equipment icon and the control button icon determine the control button icon on display circle
Position on face, and the control button icon is shown on the display interface of mobile terminal.
If S202, detecting that the control button icon moves to the second place from first position, the control button is obtained
First playback equipment icon described in when icon is in the second place and the second playback equipment icon are pressed with the control
The distance between button icon.
S203, first playback equipment and second playback equipment calculated according to the preset ratio of volume value and distance
Corresponding first volume value and the second volume value when the control button icon is in the second place.
S204, the instruction of the first volume adjusting and the are sent to first playback equipment and second playback equipment respectively
Two volume adjustings instruct, and the first volume adjusting instruction carries first volume value, and the second volume adjusting instruction is taken
With second volume value, in order to which the described first broadcasting playback equipment receives the first volume adjusting instruction and described the
After two playback equipments receive the second volume adjusting instruction, adjusted according to first volume value and second volume value
Save the volume of first playback equipment and the second playback equipment.
For example, referring to Fig. 3 b and Fig. 3 c, if control button icon moves to the second of Fig. 3 c from Fig. 3 b first position
Position, when acquisition for mobile terminal control button icon is in the second place between the first playback equipment icon and control button
Distance 1cm, and obtain control button icon when be in the second place the second playback equipment icon and control button it
Between distance 3cm, mobile terminal is according to volume value and the preset ratio 80 of distance:1 calculates the first playback equipment and described second
Playback equipment corresponding volume value 20 of first volume value 80 and second when the control button icon is in the second place,
Mobile terminal sends the instruction of the first volume adjusting respectively to the first playback equipment and the second playback equipment and the second volume adjusting refers to
Order, the first volume adjusting instruction carry first volume value 80, and the second volume adjusting instruction carries described second
Volume value 20, set in order to which the described first broadcasting playback equipment receives the instruction of the first volume adjusting and the described second broadcasting
It is standby receive the second volume adjusting instruction after, according to first volume value and second volume value regulation described the
The volume of one playback equipment and the second playback equipment.
In the embodiment of the present invention, control button icon and playback equipment icon are shown on the display interface of mobile terminal,
Wherein, the quantity at least two of the playback equipment icon, i.e., by playback equipment in a manner of playback equipment icon
Shown on the display interface of mobile terminal, and show control button icon simultaneously;Obtain the playback equipment icon and the control
The distance between button icon processed;According to the regulation of the distance between the playback equipment icon and the control button icon and institute
State the volume of playback equipment corresponding to playback equipment icon, i.e., according to the playback equipment icon and the control button icon it
Between distance calculate the volume that now corresponding with playback equipment icon playback equipment needs to adjust, then to carry calculating
The regulating command of obtained volume is sent to playback equipment, to cause playback equipment to receive after regulating command according to regulating command
The volume of carrying carries out volume adjusting, so as to reach the volume adjusting that disposably multiple playback equipments are carried out with correlation.
Based on the network architecture shown in Fig. 1, the embodiment of the invention discloses another volume adjusting method.Refer to
Fig. 4, Fig. 4 are the 3rd embodiment schematic flow sheets of the adjusting method of volume disclosed in the embodiment of the present invention.As shown in figure 4, should
Adjusting method applied to volume may comprise steps of.
S301, receive the connection foundation request that the playback equipment corresponding with the playback equipment icon is sent.
S302, the response connection establish request sent to corresponding with the playback equipment icon playback equipment and
The connection establishes connection corresponding to request and completes response.
S303, control button icon and playback equipment icon are shown on the display interface of mobile terminal.
If S304, detecting that the control button icon moves to the second place from first position, the control button is obtained
First playback equipment icon described in when icon is in the second place and the second playback equipment icon are pressed with the control
The distance between button icon.
S305, first playback equipment and second playback equipment calculated according to the preset ratio of volume value and distance
Corresponding first volume value and the second volume value when the control button icon is in the second place.
S306, the instruction of the first volume adjusting and the are sent to first playback equipment and second playback equipment respectively
Two volume adjustings instruct, and the first volume adjusting instruction carries first volume value, and the second volume adjusting instruction is taken
With second volume value, in order to which the described first broadcasting playback equipment receives the first volume adjusting instruction and described the
After two playback equipments receive the second volume adjusting instruction, adjusted according to first volume value and second volume value
Save the volume of first playback equipment and the second playback equipment.
If S307, detecting the operational order for closing the control button icon, obtain first playback equipment with
The original sound volume value of second playback equipment.
S308, the instruction of the 3rd volume adjusting and the are sent to first playback equipment and second playback equipment respectively
Four volume adjustings instruct;The original sound volume value of the 3rd volume adjusting instruction carrying, first playback equipment, the described 4th
Volume adjusting instruction carries the original sound volume value of second playback equipment, in order to first playback equipment receive it is described
After the instruction of 3rd volume adjusting and second playback equipment receive the 4th volume adjusting instruction, according to described first
The original sound volume value of playback equipment and second playback equipment adjusts the sound of first playback equipment and the second playback equipment
Amount.
Wherein, the original sound volume value of playback equipment adjusted the volume before volume for the un-shifted terminal of playback equipment
Volume value when value, i.e. playback equipment are opened.
In the embodiment of the present invention, control button icon and playback equipment icon are shown on the display interface of mobile terminal,
Wherein, the quantity at least two of the playback equipment icon, i.e., by playback equipment in a manner of playback equipment icon
Shown on the display interface of mobile terminal, and show control button icon simultaneously;Obtain the playback equipment icon and the control
The distance between button icon processed;According to the regulation of the distance between the playback equipment icon and the control button icon and institute
State the volume of playback equipment corresponding to playback equipment icon, i.e., according to the playback equipment icon and the control button icon it
Between distance calculate the volume that now corresponding with playback equipment icon playback equipment needs to adjust, then to carry calculating
The regulating command of obtained volume is sent to playback equipment, to cause playback equipment to receive after regulating command according to regulating command
The volume of carrying carries out volume adjusting, so as to reach the volume adjusting that disposably multiple playback equipments are carried out with correlation.
Fig. 5 is referred to, Fig. 5 is a kind of structural representation of mobile terminal 500 provided in an embodiment of the present invention, and the movement is whole
End includes:
Display unit 401, for showing control button icon and playback equipment icon on the display interface of mobile terminal,
Wherein, the quantity at least two of the playback equipment icon.
First acquisition unit 402, for obtaining the distance between the playback equipment icon and the control button icon.
First adjustment unit 403, for according to the distance between the playback equipment icon and the control button icon
The volume of regulation playback equipment corresponding with the playback equipment icon.
Wherein, when the playback equipment icon includes the first playback equipment icon and the second playback equipment icon, described
One acquiring unit is specifically used for:If detecting, the control button icon moves to the second place from first position, obtains the control
First playback equipment icon described in when button icon processed is in the second place and the second playback equipment icon with it is described
The distance between control button icon.
Wherein, when the first playback equipment icon is corresponding with the first playback equipment, the second playback equipment icon with
Second playback equipment is corresponding, and first adjustment unit includes:
Computing unit (not shown), for according to the preset ratio of volume value and distance calculate first playback equipment and
Second playback equipment corresponding first volume value and the second sound when the control button icon is in the second place
Value;
Second transmitting element (not shown), for being sent respectively to first playback equipment and second playback equipment
First volume adjusting instructs and the instruction of the second volume adjusting, and the first volume adjusting instruction carries first volume value, institute
State the instruction of the second volume adjusting and carry second volume value, in order to which the described first broadcasting playback equipment receives described first
After volume adjusting instruction and second playback equipment receive the second volume adjusting instruction, according to first volume
Value and second volume value adjust the volume of first playback equipment and the second playback equipment.
Optionally, control button icon and playback equipment are shown on display interface of the display unit 401 in mobile terminal
Before icon, the mobile terminal also includes:
Receiving unit (not shown), the company sent for receiving the playback equipment corresponding with the playback equipment icon
Connect foundation request;
First transmitting element (not shown), request is established to the described and playback equipment icon for responding the connection
Corresponding playback equipment sends connection corresponding with the connection foundation request and completes response.
Optionally, in the first adjustment unit 403 according between the playback equipment icon and the control button icon
After distance adjusts the volume of playback equipment corresponding with the playback equipment icon, the mobile terminal also includes:
Second acquisition unit (not shown), if closing the operational order of the control button icon for detecting, obtain
Take the original sound volume value of first playback equipment and second playback equipment;
3rd transmitting element (not shown), for being sent respectively to first playback equipment and second playback equipment
3rd volume adjusting instructs and the instruction of the 4th volume adjusting;The 3rd volume adjusting instruction carries first playback equipment
Original sound volume value, the 4th volume adjusting instruction carry the original sound volume value of second playback equipment, in order to described the
One playback equipment receives the 3rd volume adjusting instruction and second playback equipment receives the 4th volume adjusting
After instruction, played and set according to the original sound volume value regulation described first of first playback equipment and second playback equipment
Standby and the second playback equipment volume.
It is understood that the function of each functional module of the mobile terminal 400 of the present embodiment can be real according to methods described
The method specific implementation in example is applied, its specific implementation process is referred to the associated description of methods described embodiment, herein no longer
Repeat.
In the embodiment of the present invention, display unit 401 shows control button icon and broadcast on the display interface of mobile terminal
Put appliance icon, wherein, the quantity at least two of the playback equipment icon, i.e., by by playback equipment with playback equipment figure
Target mode is shown on the display interface of mobile terminal, and shows control button icon simultaneously;First acquisition unit 402 obtains
The distance between the playback equipment icon and the control button icon;First adjustment unit 403 is according to the playback equipment
The volume of the distance between icon and described control button icon regulation playback equipment corresponding with the playback equipment icon, i.e.,
According to the distance between the playback equipment icon and the control button icon calculate now with the playback equipment icon pair
The playback equipment answered needs the volume adjusted, is then sent to playback equipment to carry the regulating command for the volume being calculated,
To cause playback equipment receives the volume carried after regulating command according to regulating command to carry out volume adjusting, so as to reach one
Secondary property carries out the volume adjusting of correlation to multiple playback equipments.
Fig. 6 is referred to, Fig. 6 is a kind of structural representation of mobile terminal 500 provided in an embodiment of the present invention, and the movement is whole
End includes:At least one input equipment 501;At least one output equipment 502;At least one processor 503, such as CPU;With deposit
Reservoir 504, the input equipment 501, output equipment 502, processor 503 and memory 504 are connected by bus 505.
Wherein, the contact panel of the input equipment 501 concretely mobile terminal, including touch-screen and touch screen, use
Operational order on detection terminal contact panel.
The display screen of the output equipment 502 concretely mobile terminal, for exporting, display information.
The memory 504 can be high-speed RAM memory, or non-labile memory (non-volatile
), such as magnetic disk storage memory.The memory 504 is used to store batch processing code, the input equipment 501, output
Equipment 502 and processor 503 are used to call the program code stored in memory 504, perform following operation:
The output equipment 502, for showing control button icon and playback equipment on the display interface of mobile terminal
Icon, wherein, the quantity at least two of the playback equipment icon;
The processor 503, for obtaining the distance between the playback equipment icon and the control button icon;
The processor 503, it is additionally operable to according to the distance between the playback equipment icon and the control button icon
The volume of regulation playback equipment corresponding with the playback equipment icon.
In some feasible embodiments, control is shown on display interface of the output equipment 502 in mobile terminal
Before button icon and playback equipment icon, the input equipment 501 also particularly useful for:
Receive the connection that the playback equipment corresponding with the playback equipment icon is sent and establish request;
The output equipment 502 also particularly useful for:Respond the connection and establish request to the described and playback equipment figure
Playback equipment corresponding to mark sends connection corresponding with the connection foundation request and completes response.
In some feasible embodiments, the playback equipment icon includes the first playback equipment icon and the second broadcasting is set
Standby icon, the processor 503 also particularly useful for:
If detecting, the control button icon moves to the second place from first position, obtains at the control button icon
First playback equipment icon described in when the second place and the second playback equipment icon and the control button icon
The distance between.
In some feasible embodiments, the first playback equipment icon is corresponding with the first playback equipment, and described second
Playback equipment icon is corresponding with the second playback equipment, the processor 503 also particularly useful for:
First playback equipment and second playback equipment are calculated in institute according to the preset ratio of volume value and distance
State control button icon and be in corresponding first volume value and the second volume value during the second place;
The instruction of the first volume adjusting and the second sound are sent respectively to first playback equipment and second playback equipment
Regulating command is measured, the first volume adjusting instruction carries first volume value, and the second volume adjusting instruction carries institute
The second volume value is stated, is broadcast in order to which the described first broadcasting playback equipment receives the first volume adjusting instruction and described second
Put after equipment receives second volume adjusting instruction, institute is adjusted according to first volume value and second volume value
State the volume of the first playback equipment and the second playback equipment.
In some feasible embodiments, the processor 503 also particularly useful for:
If detecting the operational order for closing the control button icon, first playback equipment and described the are obtained
The original sound volume value of two playback equipments;
The instruction of the 3rd volume adjusting and the 4th sound are sent respectively to first playback equipment and second playback equipment
Measure regulating command;The 3rd volume adjusting instruction carries the original sound volume value of first playback equipment, the 4th volume
Regulating command carries the original sound volume value of second playback equipment, in order to which first playback equipment receives the described 3rd
After volume adjusting instruction and second playback equipment receive the 4th volume adjusting instruction, played according to described first
Equipment and the original sound volume value of second playback equipment adjust the volume of first playback equipment and the second playback equipment.
In the specific implementation, the input equipment 501, output equipment 502 and processor 503 described in the embodiment of the present invention can
The implementation described in each embodiment of the adjusting method of volume provided in an embodiment of the present invention is performed, also can perform this hair
The implementation of terminal described in the first embodiment for the terminal that bright embodiment provides, will not be repeated here.
Unit in all embodiments of the invention, universal integrated circuit, such as CPU (Central can be passed through
Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated
Circuit, application specific integrated circuit) realize.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Module or unit in device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in-computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Above disclosure is only preferred embodiment of present invention, can not limit the right model of the present invention with this certainly
Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.
Claims (10)
- A kind of 1. adjusting method of volume, it is characterised in that including:Control button icon and playback equipment icon are shown on the display interface of mobile terminal, wherein, the playback equipment figure Target quantity at least two;Obtain between the playback equipment icon and the control button icon in the distance of display interface;According to the regulation of the distance between the playback equipment icon and the control button icon and the playback equipment icon pair The volume for the playback equipment answered;The displaying control button icon on the display interface of mobile terminal, including:The current volume value of playback equipment corresponding with the playback equipment icon is obtained, according to volume value and the default ratio of distance Example calculates the distance between the playback equipment corresponding with the playback equipment icon and the control button icon, according to institute State the distance between playback equipment corresponding with the playback equipment icon and the control button icon determine it is described control by Position of the button icon on display interface, and mobile terminal display interface to show the control button figure on position Mark.
- 2. adjusting method according to claim 1, it is characterised in that described that control is shown on the display interface of mobile terminal Before button icon and playback equipment icon processed, the adjusting method also includes:Receive the connection that the playback equipment corresponding with the playback equipment icon is sent and establish request;Respond the connection and establish request to the playback equipment transmission corresponding with the playback equipment icon and the connection Establish connection corresponding to request and complete response.
- 3. according to the adjusting method described in any one of claim 1 or 2, it is characterised in that the playback equipment icon includes the One playback equipment icon and the second playback equipment icon, it is described obtain the playback equipment icon and the control button icon it Between distance, including:If detecting, the control button icon moves to the second place from first position, obtains the control button icon and is in institute Described in when stating the second place between the first playback equipment icon and the second playback equipment icon and the control button icon Distance.
- 4. adjusting method according to claim 3, it is characterised in that the first playback equipment icon is played with first and set Standby corresponding, the second playback equipment icon is corresponding with the second playback equipment;It is described to be adjusted and the playback equipment figure according to the distance between the playback equipment icon and the control button icon The volume of playback equipment corresponding to mark, including:First playback equipment and second playback equipment are calculated in the control according to the preset ratio of volume value and distance Button icon processed is in corresponding first volume value and the second volume value during the second place;The instruction of the first volume adjusting is sent respectively to first playback equipment and second playback equipment and the second volume is adjusted Section instruction, first volume adjusting instruction carry first volume value, and the second volume adjusting instruction carries described the Two volume values, set in order to which the described first broadcasting playback equipment receives the instruction of the first volume adjusting and the described second broadcasting It is standby receive the second volume adjusting instruction after, according to first volume value and second volume value regulation described the The volume of one playback equipment and the second playback equipment.
- 5. adjusting method according to claim 4, it is characterised in that described according to the playback equipment icon and the control After the distance between button icon processed adjusts the volume of playback equipment corresponding with the playback equipment icon, the regulation side Method also includes:If detecting the operational order for closing the control button icon, obtain first playback equipment and broadcast with described second Put the original sound volume value of equipment;The instruction of the 3rd volume adjusting is sent respectively to first playback equipment and second playback equipment and the 4th volume is adjusted Section instruction;The 3rd volume adjusting instruction carries the original sound volume value of first playback equipment, the 4th volume adjusting Instruction carries the original sound volume value of second playback equipment, in order to which first playback equipment receives the 3rd volume After regulating command and second playback equipment receive the 4th volume adjusting instruction, according to first playback equipment The volume of first playback equipment and the second playback equipment is adjusted with the original sound volume value of second playback equipment.
- A kind of 6. mobile terminal, it is characterised in that including:Display unit, for showing control button icon and playback equipment icon on the display interface of mobile terminal, wherein, institute State the quantity at least two of playback equipment icon;First acquisition unit, for obtain between the playback equipment icon and the control button icon display interface away from From;First adjustment unit, for according to the regulation of the distance between the playback equipment icon and the control button icon and institute State the volume of playback equipment corresponding to playback equipment icon;The display unit, the current volume value specifically for obtaining playback equipment corresponding with the playback equipment icon, root The playback equipment corresponding with the playback equipment icon is calculated according to volume value with the preset ratio of distance to press with the control The distance between button icon, according to the playback equipment corresponding with the playback equipment icon and the control button icon it Between distance determine position of the control button icon on display interface, and mobile terminal display interface for position The upper displaying control button icon.
- 7. mobile terminal according to claim 6, it is characterised in that the mobile terminal also includes:Receiving unit, request is established for receiving the connection that the playback equipment corresponding with the playback equipment icon is sent;First transmitting element, set for responding the connection foundation request to the broadcasting corresponding with the playback equipment icon Preparation send connection corresponding with the connection foundation request to complete response.
- 8. according to the mobile terminal described in any one of claim 6 or 7, it is characterised in that the playback equipment icon includes the One playback equipment icon and the second playback equipment icon, the first acquisition unit are specifically used for:If detecting, the control button icon moves to the second place from first position, obtains the control button icon and is in institute Described in when stating the second place between the first playback equipment icon and the second playback equipment icon and the control button icon Distance.
- 9. mobile terminal according to claim 8, it is characterised in that the first playback equipment icon is played with first and set Standby corresponding, the second playback equipment icon is corresponding with the second playback equipment, and first adjustment unit includes:Computing unit, played for calculating first playback equipment and described second according to the preset ratio of volume value and distance Equipment corresponding first volume value and the second volume value when the control button icon is in the second place;Second transmitting element, for sending the first volume adjusting respectively to first playback equipment and second playback equipment Instruction and the instruction of the second volume adjusting, the first volume adjusting instruction carry first volume value, and second volume is adjusted Section instruction carries second volume value, in order to which the described first broadcasting playback equipment receives the first volume adjusting instruction After receiving the second volume adjusting instruction with second playback equipment, according to first volume value and described second Volume value adjusts the volume of first playback equipment and the second playback equipment.
- 10. mobile terminal according to claim 9, it is characterised in that the mobile terminal also includes:Second acquisition unit, if closing the operational order of the control button icon for detecting, obtain described first and broadcast Put the original sound volume value of equipment and second playback equipment;3rd transmitting element, for sending the 3rd volume adjusting respectively to first playback equipment and second playback equipment Instruction and the instruction of the 4th volume adjusting;The 3rd volume adjusting instruction carries the original sound volume value of first playback equipment, The 4th volume adjusting instruction carries the original sound volume value of second playback equipment, in order to which first playback equipment connects Receive the 3rd volume adjusting instruction and after second playback equipment receives the 4th volume adjusting instruction, according to The original sound volume value of first playback equipment and second playback equipment adjusts first playback equipment and second and played The volume of equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510239552.2A CN104869207B (en) | 2015-05-12 | 2015-05-12 | The adjusting method and mobile terminal of a kind of volume |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510239552.2A CN104869207B (en) | 2015-05-12 | 2015-05-12 | The adjusting method and mobile terminal of a kind of volume |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104869207A CN104869207A (en) | 2015-08-26 |
CN104869207B true CN104869207B (en) | 2018-01-23 |
Family
ID=53914719
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510239552.2A Active CN104869207B (en) | 2015-05-12 | 2015-05-12 | The adjusting method and mobile terminal of a kind of volume |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104869207B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105679342B (en) * | 2015-12-30 | 2018-09-14 | 广东欧珀移动通信有限公司 | A kind of control method and device of playback equipment |
CN107249082B (en) * | 2017-06-30 | 2020-04-10 | Oppo广东移动通信有限公司 | Volume control method and device, storage medium and electronic equipment |
CN109683847A (en) * | 2018-12-20 | 2019-04-26 | 维沃移动通信有限公司 | A kind of volume adjusting method and terminal |
CN111698292A (en) * | 2020-05-20 | 2020-09-22 | 上海闻泰电子科技有限公司 | Volume control method, device, equipment, system and storage medium |
CN112764710A (en) * | 2021-01-22 | 2021-05-07 | 维沃移动通信有限公司 | Audio playing mode switching method and device, electronic equipment and storage medium |
CN113325980B (en) * | 2021-05-28 | 2023-02-24 | 维沃移动通信(杭州)有限公司 | Control method, control device, electronic equipment and readable storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200939107A (en) * | 2008-03-14 | 2009-09-16 | Princeton Technology Corp | Audio playing apparatus and method thereof |
KR101741551B1 (en) * | 2010-12-20 | 2017-06-15 | 엘지전자 주식회사 | Mobile terminal and Method for controlling application thereof |
CN104063200A (en) * | 2014-06-25 | 2014-09-24 | 广东欧珀移动通信有限公司 | Method and device for adjusting output volume of sounder by using portable audio controller |
CN104185122B (en) * | 2014-08-18 | 2016-12-07 | 广东欧珀移动通信有限公司 | The control method of a kind of playback equipment, system and main playback equipment |
CN104486712B (en) * | 2014-12-29 | 2018-01-16 | 广东欧珀移动通信有限公司 | The volume adjusting method and device of wireless sound box system |
CN104599694B (en) * | 2015-01-15 | 2017-06-30 | 广东欧珀移动通信有限公司 | A kind of volume adjusting method and equipment |
-
2015
- 2015-05-12 CN CN201510239552.2A patent/CN104869207B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104869207A (en) | 2015-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104869207B (en) | The adjusting method and mobile terminal of a kind of volume | |
CN105163187B (en) | A kind of video playing control method and device | |
WO2021104271A1 (en) | Control method, stylus, and electronic assembly | |
CN111143683B (en) | Terminal interaction recommendation method, device and readable storage medium | |
CN105045489A (en) | Button control method and apparatus | |
CN108279948B (en) | Application program starting method and mobile terminal | |
CN101222704A (en) | Device and method for providing haptic user interface in mobile terminal | |
CN109151634A (en) | Wireless headset method for controlling volume, wireless headset and mobile terminal | |
CN111083755B (en) | Equipment switching method and related equipment | |
CN111459456A (en) | Audio control method and electronic equipment | |
CN111147919A (en) | Play adjustment method, electronic equipment and computer readable storage medium | |
CN105515942A (en) | Method for playing voice message automatically and electronic equipment | |
CN104811862A (en) | Volume control method and terminal for sound box | |
CN107911777B (en) | Processing method and device for return-to-ear function and mobile terminal | |
CN105117111A (en) | Rendering method and device for virtual reality interaction frames | |
CN108536415A (en) | Using method for controlling volume, device, mobile terminal and computer-readable medium | |
CN108848267B (en) | Audio playing method and mobile terminal | |
CN104539999A (en) | Multimedia data sharing method and terminal | |
CN111093137B (en) | Volume control method, volume control equipment and computer readable storage medium | |
WO2018120864A1 (en) | Communication method and terminal | |
CN112188362B (en) | Playing method, device and computer readable storage medium | |
CN111049972B (en) | Audio playing method and terminal equipment | |
CN107659723A (en) | A kind of computer-readable recording medium and mobile terminal for being used to control sound to play | |
CN104284221B (en) | A kind of method of information processing, wearable device and digital television devices | |
CN104112460A (en) | Method and device for playing audio data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |