CN104869207A - Volume adjusting method and mobile terminal - Google Patents

Volume adjusting method and mobile terminal Download PDF

Info

Publication number
CN104869207A
CN104869207A CN201510239552.2A CN201510239552A CN104869207A CN 104869207 A CN104869207 A CN 104869207A CN 201510239552 A CN201510239552 A CN 201510239552A CN 104869207 A CN104869207 A CN 104869207A
Authority
CN
China
Prior art keywords
playback equipment
icon
volume
control button
adjusting instruction
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.)
Granted
Application number
CN201510239552.2A
Other languages
Chinese (zh)
Other versions
CN104869207B (en
Inventor
李竟成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510239552.2A priority Critical patent/CN104869207B/en
Publication of CN104869207A publication Critical patent/CN104869207A/en
Application granted granted Critical
Publication of CN104869207B publication Critical patent/CN104869207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a volume adjusting method. The method comprises the steps of: displaying a control button icon and play device icons on a display interface of a mobile terminal, wherein the number of the play device icons is no less than two; obtaining distances from the play device icons to the control button icon; and according to the distances from the play device icons to the control button icon, adjusting volumes of play devices corresponding to the play device icons. The invention further provides the mobile terminal. By adopting the embodiment provided by the invention, relative volume adjustment of a plurality of play devices can be realized at one time.

Description

A kind of control method of volume and mobile terminal
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of control method and mobile terminal of volume.
Background technology
Along with the development of intelligent terminal technology, the function that people are realized by intelligent terminal gets more and more, such as: the volume controlling multiple playback equipment.Wireless connections can be set up with multiple playback equipment by the APP that the intelligent terminal such as cell phone, panel computer is installed, and the volume of multiple playback equipment can be controlled.Find in actual applications, the volume controlling multiple playback equipment by intelligent terminal can only control separately the volume situation of certain playback equipment usually, or can only the multiple playback equipment of whole conforming controls, cannot the disposable adjustment multiple playback equipment being carried out to correlation.
Summary of the invention
The embodiment of the invention discloses a kind of control method and mobile terminal of volume, for solving the how disposable volume adjusting multiple playback equipment being carried out to correlation.
First aspect present invention provides a kind of control method of volume, comprising:
The display interface of mobile terminal is shown control button icon and playback equipment icon, and wherein, the quantity of described playback equipment icon is at least two;
Obtain the distance between described playback equipment icon and described control button icon;
According to the volume of the playback equipment corresponding with described playback equipment icon of the distance adjustment between described playback equipment icon with described control button icon.
In conjunction with first aspect present invention, in the first possible implementation of embodiment of the present invention first aspect, before the display interface of mobile terminal is shown control button icon and playback equipment icon, described control method also comprises:
Receive the connection establishment request that the described playback equipment corresponding with described playback equipment icon sends;
Respond described connection establishment request to send the connection corresponding with described connection establishment request to the playback equipment that described and described playback equipment icon is corresponding and complete response.
In conjunction with the first possible implementation of first aspect present invention or embodiment of the present invention first aspect, in the implementation that the second of embodiment of the present invention first aspect is possible, described playback equipment icon comprises the first playback equipment icon and the second playback equipment icon, distance between described acquisition described playback equipment icon and described control button icon, comprising:
If detect, described control button icon moves to the second place from primary importance, obtains the first playback equipment icon and the distance between described second playback equipment icon and described control button icon described in when described control button icon is in the described second place.
In conjunction with the implementation that the second of embodiment of the present invention first aspect is possible, in the third possible implementation of embodiment of the present invention first aspect, described 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 volume of the described playback equipment corresponding with described playback equipment icon according to the distance adjustment between described playback equipment icon with described control button icon, comprising:
Described first playback equipment and described second playback equipment first volume value corresponding when described control button icon is in the described second place and the second volume value is calculated according to volume value and the preset ratio of distance;
The first volume adjusting instruction and the second volume adjusting instruction is sent respectively to described first playback equipment and described second playback equipment, described first volume value is carried in described first volume adjusting instruction, described second volume value is carried in described second volume adjusting instruction, so that described first plays playback equipment and receive after described first volume adjusting instruction and described second playback equipment receive described second volume adjusting instruction, regulate the volume of described first playback equipment and the second playback equipment according to described first volume value and described second volume value.
In conjunction with the third possible implementation of embodiment of the present invention first aspect, in the 4th kind of possible implementation of embodiment of the present invention first aspect, after the volume of the described playback equipment corresponding with described playback equipment icon according to the distance adjustment between described playback equipment icon with described control button icon, described control method also comprises:
If the operational order of closing described control button icon detected, then obtain the original sound volume value of described first playback equipment and described second playback equipment;
The 3rd volume adjusting instruction and the 4th volume adjusting instruction is sent respectively to described first playback equipment and described second playback equipment; The original sound volume value of described first playback equipment is carried in described 3rd volume adjusting instruction, the original sound volume value of described second playback equipment is carried in described 4th volume adjusting instruction, so that described first playback equipment receives after described 3rd volume adjusting instruction and described second playback equipment receive described 4th volume adjusting instruction, regulate the volume of described first playback equipment and the second playback equipment according to the original sound volume value of described first playback equipment and described second playback equipment.
Second aspect present invention provides a kind of mobile terminal, comprising:
Display unit, for showing control button icon and playback equipment icon on the display interface of mobile terminal, wherein, the quantity of described playback equipment icon is at least two;
First acquiring unit, for obtaining the distance between described playback equipment icon and described control button icon;
First regulon, for the volume according to the playback equipment corresponding with described playback equipment icon of the distance adjustment between described playback equipment icon with described control button icon.
In conjunction with second aspect present invention, in the first possible implementation of embodiment of the present invention second aspect, described mobile terminal also comprises:
Receiving element, for receiving the connection establishment request that the described playback equipment corresponding with described playback equipment icon sends;
First transmitting element, sends the connection corresponding with described connection establishment request to the playback equipment that described and described playback equipment icon is corresponding complete response for responding described connection establishment request.
In conjunction with the first possible implementation of second aspect present invention or embodiment of the present invention second aspect, in the implementation that the second of embodiment of the present invention second aspect is possible, described playback equipment icon comprises the first playback equipment icon and the second playback equipment icon, described first acquiring unit specifically for:
If detect, described control button icon moves to the second place from primary importance, obtains the first playback equipment icon and the distance between described second playback equipment icon and described control button icon described in when described control button icon is in the described second place.
In conjunction with the implementation that the second of embodiment of the present invention second aspect is possible, in the third possible implementation of embodiment of the present invention second aspect, described first playback equipment icon is corresponding with the first playback equipment, described second playback equipment icon is corresponding with the second playback equipment, and described first regulon comprises:
Computing unit, for calculating described first playback equipment and described second playback equipment first volume value corresponding when described control button icon is in the described second place and the second volume value according to volume value and the preset ratio of distance;
Second transmitting element, for sending the first volume adjusting instruction and the second volume adjusting instruction respectively to described first playback equipment and described second playback equipment, described first volume value is carried in described first volume adjusting instruction, described second volume value is carried in described second volume adjusting instruction, so that described first plays playback equipment and receives after described first volume adjusting instruction and described second playback equipment receive described second volume adjusting instruction, the volume of described first playback equipment and the second playback equipment is regulated according to described first volume value and described second volume value.
In conjunction with the third possible implementation of embodiment of the present invention second aspect, in the 4th kind of possible implementation of embodiment of the present invention second aspect, described mobile terminal also comprises:
Second acquisition unit, if for the operational order of closing described control button icon being detected, then obtain the original sound volume value of described first playback equipment and described second playback equipment;
3rd transmitting element, for sending the 3rd volume adjusting instruction and the 4th volume adjusting instruction respectively to described first playback equipment and described second playback equipment; The original sound volume value of described first playback equipment is carried in described 3rd volume adjusting instruction, the original sound volume value of described second playback equipment is carried in described 4th volume adjusting instruction, so that described first playback equipment receives after described 3rd volume adjusting instruction and described second playback equipment receive described 4th volume adjusting instruction, regulate the volume of described first playback equipment and the second playback equipment according to the original sound volume value of described first playback equipment and described second playback equipment.
Implement the embodiment of the present invention, there is following beneficial effect:
In the embodiment of the present invention, the display interface of mobile terminal is shown control button icon and playback equipment icon, wherein, the quantity of described playback equipment icon is at least two, namely by being shown on the display interface of mobile terminal in the mode of playback equipment icon by playback equipment, and show control button icon simultaneously, obtain the distance between described playback equipment icon and described control button icon, according to the volume of the playback equipment corresponding with described playback equipment icon of the distance adjustment between described playback equipment icon with described control button icon, namely calculate according to the distance between described playback equipment icon with described control button icon the volume that now corresponding with described playback equipment icon playback equipment needs to regulate, then playback equipment is sent to the regulating command of carrying the volume calculated, the volume of carrying according to regulating command after receiving regulating command to make playback equipment carries out volume adjusting, thus reach the disposable volume adjusting multiple playback equipment being carried out to correlation.
Term " first ", " second ", " the 3rd " and " the 4th " etc. in specification of the present invention and claims and described accompanying drawing are for distinguishing different object, instead of for describing particular order.In addition, term " comprises " and " having " and their any distortion, and intention is to cover not exclusive comprising.Such as contain the process of series of steps or unit, method, system, product or equipment and be not defined in the step or unit listed, but also comprise the step or unit do not listed alternatively, or also comprise alternatively for other intrinsic step of these processes, method, product or equipment or unit.
In order to better understand control method and the mobile terminal of a kind of volume disclosed in the embodiment of the present invention, first the network architecture that the embodiment of the present invention is suitable for is described below.Refer to Fig. 1, Fig. 1 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention.In the network architecture shown in Fig. 1, can comprise multiple playback equipment and mobile terminal, wherein, mobile terminal can (as WI-FI, bluetooth) and multiple playback equipment communicate to connect to wirelessly.In the network architecture shown in Fig. 1, terminal equipment can comprise cell phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA), mobile internet device (MobileInternet Device, MID), all kinds of terminal equipment such as Intelligent worn device (as intelligent watch, Intelligent bracelet), the embodiment of the present invention is not construed as limiting.By implementing the network architecture shown in Fig. 1, the disposable volume adjusting multiple playback equipment being carried out to correlation that can be intelligent.
Control method embodiment of volume of the present invention.Wherein, a kind of control method of volume: show control button icon and playback equipment icon on the display interface of mobile terminal, wherein, the quantity of described playback equipment icon is at least two; Obtain the distance between described playback equipment icon and described control button icon; According to the volume of the playback equipment corresponding with described playback equipment icon of the distance adjustment between described playback equipment icon with described control button icon.
The control method of the volume that the embodiment of the present invention provides is applicable to carry out volume adjusting to two or more playback equipment, is equally also applicable to and regulates the volume of a playback equipment.Due to two or be the same to the principle that three playback equipments carry out volume adjusting, therefore the embodiment of the present invention is described in detail to carry out volume adjusting to two playback equipments, wherein, two playback equipments comprise the first playback equipment and the second playback equipment.
Based on the network architecture shown in Fig. 1, the control method of the volume that the embodiment of the invention discloses.Refer to Fig. 2, Fig. 2 is the first embodiment schematic flow sheet of the control method of volume disclosed in the embodiment of the present invention.As shown in Figure 2, this control method being applied to volume can comprise the following steps.
S101, on the display interface of mobile terminal, show control button icon and playback equipment icon.
Wherein, the quantity of described playback equipment icon is at least two.
Wherein, described mobile terminal can be such as below in any one or all, smart phone, wearable device (individual maincenter), individual or mobile multimedia player, personal digital assistant (PDA), laptop computer, panel computer, intelligence basis, palmtop computer and similar personal electronic equipments, above-mentioned mobile terminal can comprise network interface, processor, memory, audio frequency processing circuit, microphone, and comprises and at inside or outside audio frequency amplifier and can comprise the loudspeaker unit being connected to audio frequency amplifier.
In the embodiment of the present invention, the display interface of mobile terminal being shown, the embodiment of control button icon and playback equipment icon has: obtain the relative position between the playback equipment corresponding with described playback equipment icon and described mobile terminal, relative position between the playback equipment corresponding according to described and described playback equipment icon and described mobile terminal is according to the ratio preset, by playback equipment icon shows on the display interface of mobile terminal, obtain the current volume value of the playback equipment corresponding with described playback equipment icon, described distance between the playback equipment corresponding with described playback equipment icon and described control button icon is calculated according to volume value and the preset ratio of distance, distance between the playback equipment corresponding according to described and described playback equipment icon and described control button icon determines the described position of control button icon on display interface, and on the display interface of mobile terminal, show described control button icon.
For example, mobile terminal receives the playback equipment volume control command of user's input, mobile terminal enters playback equipment volume control interface according to playback equipment volume control command, mobile terminal determines the positional information of the first playback equipment and the second playback equipment be connected with described mobile terminal by the tracker of mobile terminal, mobile terminal calculates the relative position of described first playback equipment and described second playback equipment again according to mobile terminal positioning technology, mobile terminal according to the relative position between the described multiple playback equipment calculated and described mobile terminal according to preset ratio (such as 100:1, 50:1, 30:1, 20:1 etc.), by playback equipment icon, the relative position of described multiple playback equipment is illustrated on the display interface of mobile terminal, mobile terminal obtains the current volume value of described multiple playback equipment by the microphone of mobile terminal, mobile terminal is according to the preset ratio (2:1 of the current volume value of described multiple playback equipment and the volume value that prestores and distance, 3:1, 5:1, 7:1 etc.) determine between described multiple playback equipment icon and described control button icon distance, mobile terminal determines the described position of control button icon on display interface according to the distance between described multiple playback equipment icon and described control button icon, and on the display interface of mobile terminal, show described control button icon.
In another embodiment, the embodiment that the display interface of mobile terminal shows control button icon and playback equipment icon also can: obtain the positional information controlling button icon and playback equipment icon when exiting playback equipment volume control interface last time, and on the display interface of mobile terminal, show described control button icon and described playback equipment icon.
S102, obtain distance between described playback equipment icon and described control button icon.
In the embodiment of the present invention, the embodiment obtaining the distance between described playback equipment icon and described control button icon has: if detect, described control button icon moves to the second place from primary importance, obtains the first playback equipment icon and the distance between described second playback equipment icon and described control button icon described in when described control button icon is in the described second place.
S103, volume according to the playback equipment corresponding with described playback equipment icon of the distance adjustment between described playback equipment icon with described control button icon.
In the embodiment of the present invention, embodiment according to the volume of the playback equipment corresponding with described playback equipment icon of the distance adjustment between described playback equipment icon with described control button icon has: calculate described first playback equipment and described second playback equipment first volume value corresponding when described control button icon is in the described second place and the second volume value according to volume value and the preset ratio of distance, wherein, described preset ratio such as can equal 1:2,1:3,1:5,1:7 or other values; The first volume adjusting instruction and the second volume adjusting instruction is sent respectively to described first playback equipment and described second playback equipment, described first volume value is carried in described first volume adjusting instruction, described second volume value is carried in described second volume adjusting instruction, so that described first plays playback equipment and receive after described first volume adjusting instruction and described second playback equipment receive described second volume adjusting instruction, regulate the volume of described first playback equipment and the second playback equipment according to described first volume value and described second volume value.
In the embodiment of the present invention, the display interface of mobile terminal is shown control button icon and playback equipment icon, wherein, the quantity of described playback equipment icon is at least two, namely by being shown on the display interface of mobile terminal in the mode of playback equipment icon by playback equipment, and show control button icon simultaneously, obtain the distance between described playback equipment icon and described control button icon, according to the volume of the playback equipment corresponding with described playback equipment icon of the distance adjustment between described playback equipment icon with described control button icon, namely calculate according to the distance between described playback equipment icon with described control button icon the volume that now corresponding with described playback equipment icon playback equipment needs to regulate, then playback equipment is sent to the regulating command of carrying the volume calculated, the volume of carrying according to regulating command after receiving regulating command to make playback equipment carries out volume adjusting, thus reach the disposable volume adjusting multiple playback equipment being carried out to correlation.
Optionally, before the display interface of mobile terminal is shown control button icon and playback equipment icon, described control method also comprises: receive the connection establishment request that the described playback equipment corresponding with described playback equipment icon sends; Respond described connection establishment request to send the connection corresponding with described connection establishment request to the playback equipment that described and described playback equipment icon is corresponding and complete response.
Optionally, after the volume of the playback equipment corresponding with described playback equipment icon according to the distance adjustment between described playback equipment icon with described control button icon, described control method also comprises: if the operational order of closing described control button icon detected, then obtain the original sound volume value of described first playback equipment and described second playback equipment; The 3rd volume adjusting instruction and the 4th volume adjusting instruction is sent respectively to described first playback equipment and described second playback equipment; The original sound volume value of described first playback equipment is carried in described 3rd volume adjusting instruction, the original sound volume value of described second playback equipment is carried in described 4th volume adjusting instruction, so that described first playback equipment receives after described 3rd volume adjusting instruction and described second playback equipment receive described 4th volume adjusting instruction, regulate the volume of described first playback equipment and the second playback equipment according to the original sound volume value of described first playback equipment and described second playback equipment.
For ease of better understanding and implement the such scheme of the embodiment of the present invention, the application scenarios concrete below in conjunction with some is illustrated.
Based on the network architecture shown in Fig. 1, the control method of the another kind of volume that the embodiment of the invention discloses.Refer to Fig. 3 a, Fig. 3 a is the second embodiment schematic flow sheet of the control method of volume disclosed in the embodiment of the present invention.As shown in Figure 3 a, this control method being applied to volume can comprise the following steps.
S201, on the display interface of mobile terminal, show control button icon and playback equipment icon.
In the embodiment of the present invention, the display interface of mobile terminal being shown, the embodiment of control button icon and playback equipment icon has: obtain the relative position between the playback equipment corresponding with described playback equipment icon and described mobile terminal, relative position between the playback equipment corresponding according to described and described playback equipment icon and described mobile terminal is according to the ratio preset, by playback equipment icon shows on the display interface of mobile terminal, obtain the current volume value of the playback equipment corresponding with described playback equipment icon, described distance between the playback equipment corresponding with described playback equipment icon and described control button icon is calculated according to volume value and the preset ratio of distance, distance between the playback equipment corresponding according to described and described playback equipment icon and described control button icon determines the described position of control button icon on display interface, and on the display interface of mobile terminal, show described control button icon.
For example, mobile terminal receives the playback equipment volume control command of user's input, mobile terminal enters playback equipment volume control interface according to playback equipment volume control command, mobile terminal determines the positional information of the first playback equipment and the second playback equipment be connected with described mobile terminal by the tracker of mobile terminal, mobile terminal calculates the relative position of described first playback equipment and described second playback equipment again according to mobile terminal positioning technology, mobile terminal according to the relative position between the described multiple playback equipment calculated and described mobile terminal according to preset ratio (such as 100:1, 50:1, 30:1, 20:1 etc.), by playback equipment icon, the relative position of described multiple playback equipment is illustrated on the display interface of mobile terminal, mobile terminal obtains the current volume value of described multiple playback equipment by the microphone of mobile terminal, mobile terminal is according to the preset ratio (2:1 of the current volume value of described multiple playback equipment and the volume value that prestores and distance, 3:1, 5:1, 7:1 etc.) determine between described multiple playback equipment icon and described control button icon distance, mobile terminal determines the described position of control button icon on display interface according to the distance between described multiple playback equipment icon and described control button icon, and on the display interface of mobile terminal, show described control button icon.
If S202 detects that described control button icon moves to the second place from primary importance, obtain the first playback equipment icon and the distance between described second playback equipment icon and described control button icon described in when described control button icon is in the described second place.
S203, to calculate described first playback equipment and described second playback equipment first volume value corresponding when described control button icon is in the described second place and the second volume value according to volume value and the preset ratio of distance.
S204, send the first volume adjusting instruction and the second volume adjusting instruction respectively to described first playback equipment and described second playback equipment, described first volume value is carried in described first volume adjusting instruction, described second volume value is carried in described second volume adjusting instruction, so that described first plays playback equipment and receive after described first volume adjusting instruction and described second playback equipment receive described second volume adjusting instruction, regulate the volume of described first playback equipment and the second playback equipment according to described first volume value and described second volume value.
For example, see Fig. 3 b and Fig. 3 c, if control button icon moves to the second place of Fig. 3 c from the primary importance of Fig. 3 b, distance 1cm when acquisition for mobile terminal control button icon is in the described second place between the first playback equipment icon and control button, and the distance 3cm obtained when control button icon is in the described second place between the second playback equipment icon and control button, mobile terminal calculates the first playback equipment and described second playback equipment first volume value 80 and second volume value 20 corresponding when described control button icon is in the described second place according to volume value and the preset ratio 80:1 of distance, mobile terminal sends the first volume adjusting instruction and the second volume adjusting instruction respectively to the first playback equipment and the second playback equipment, described first volume value 80 is carried in described first volume adjusting instruction, described second volume value 20 is carried in described second volume adjusting instruction, so that described first plays playback equipment and receives after described first volume adjusting instruction and described second playback equipment receive described second volume adjusting instruction, the volume of described first playback equipment and the second playback equipment is regulated according to described first volume value and described second volume value.
In the embodiment of the present invention, the display interface of mobile terminal is shown control button icon and playback equipment icon, wherein, the quantity of described playback equipment icon is at least two, namely by being shown on the display interface of mobile terminal in the mode of playback equipment icon by playback equipment, and show control button icon simultaneously, obtain the distance between described playback equipment icon and described control button icon, according to the volume of the playback equipment corresponding with described playback equipment icon of the distance adjustment between described playback equipment icon with described control button icon, namely calculate according to the distance between described playback equipment icon with described control button icon the volume that now corresponding with described playback equipment icon playback equipment needs to regulate, then playback equipment is sent to the regulating command of carrying the volume calculated, the volume of carrying according to regulating command after receiving regulating command to make playback equipment carries out volume adjusting, thus reach the disposable volume adjusting multiple playback equipment being carried out to correlation.
Based on the network architecture shown in Fig. 1, the control method of the another kind of volume that the embodiment of the invention discloses.Refer to Fig. 4, Fig. 4 is the 3rd embodiment schematic flow sheet of the control method of volume disclosed in the embodiment of the present invention.As shown in Figure 4, this control method being applied to volume can comprise the following steps.
The connection establishment request that S301, the described playback equipment corresponding with described playback equipment icon of reception send.
S302, respond described connection establishment request and send the connection corresponding with described connection establishment request to the playback equipment that described and described playback equipment icon is corresponding and complete response.
S303, on the display interface of mobile terminal, show control button icon and playback equipment icon.
If S304 detects that described control button icon moves to the second place from primary importance, obtain the first playback equipment icon and the distance between described second playback equipment icon and described control button icon described in when described control button icon is in the described second place.
S305, to calculate described first playback equipment and described second playback equipment first volume value corresponding when described control button icon is in the described second place and the second volume value according to volume value and the preset ratio of distance.
S306, send the first volume adjusting instruction and the second volume adjusting instruction respectively to described first playback equipment and described second playback equipment, described first volume value is carried in described first volume adjusting instruction, described second volume value is carried in described second volume adjusting instruction, so that described first plays playback equipment and receive after described first volume adjusting instruction and described second playback equipment receive described second volume adjusting instruction, regulate the volume of described first playback equipment and the second playback equipment according to described first volume value and described second volume value.
If S307 detects the operational order of closing described control button icon, then obtain the original sound volume value of described first playback equipment and described second playback equipment.
S308, send the 3rd volume adjusting instruction and the 4th volume adjusting instruction respectively to described first playback equipment and described second playback equipment; The original sound volume value of described first playback equipment is carried in described 3rd volume adjusting instruction, the original sound volume value of described second playback equipment is carried in described 4th volume adjusting instruction, so that described first playback equipment receives after described 3rd volume adjusting instruction and described second playback equipment receive described 4th volume adjusting instruction, regulate the volume of described first playback equipment and the second playback equipment according to the original sound volume value of described first playback equipment and described second playback equipment.
Wherein, the original sound volume value of playback equipment is the volume value that playback equipment is not moved before the adjusted volume of terminal, volume value when namely playback equipment is opened.
In the embodiment of the present invention, the display interface of mobile terminal is shown control button icon and playback equipment icon, wherein, the quantity of described playback equipment icon is at least two, namely by being shown on the display interface of mobile terminal in the mode of playback equipment icon by playback equipment, and show control button icon simultaneously, obtain the distance between described playback equipment icon and described control button icon, according to the volume of the playback equipment corresponding with described playback equipment icon of the distance adjustment between described playback equipment icon with described control button icon, namely calculate according to the distance between described playback equipment icon with described control button icon the volume that now corresponding with described playback equipment icon playback equipment needs to regulate, then playback equipment is sent to the regulating command of carrying the volume calculated, the volume of carrying according to regulating command after receiving regulating command to make playback equipment carries out volume adjusting, thus reach the disposable volume adjusting multiple playback equipment being carried out to correlation.
Refer to Fig. 5, the structural representation of a kind of mobile terminal 500 that Fig. 5 provides for the embodiment of the present invention, this mobile terminal comprises:
Display unit 401, for showing control button icon and playback equipment icon on the display interface of mobile terminal, wherein, the quantity of described playback equipment icon is at least two.
First acquiring unit 402, for obtaining the distance between described playback equipment icon and described control button icon.
First regulon 403, for the volume according to the playback equipment corresponding with described playback equipment icon of the distance adjustment between described playback equipment icon with described control button icon.
Wherein, when described playback equipment icon comprises the first playback equipment icon and the second playback equipment icon, described first acquiring unit specifically for: if detect, described control button icon moves to the second place from primary importance, obtains the first playback equipment icon and the distance between described second playback equipment icon and described control button icon described in when described control button icon is in the described second place.
Wherein, when described first playback equipment icon is corresponding with the first playback equipment, described second playback equipment icon is corresponding with the second playback equipment, and described first regulon comprises:
Computing unit (not shown), for calculating described first playback equipment and described second playback equipment first volume value corresponding when described control button icon is in the described second place and the second volume value according to volume value and the preset ratio of distance;
Second transmitting element (not shown), for sending the first volume adjusting instruction and the second volume adjusting instruction respectively to described first playback equipment and described second playback equipment, described first volume value is carried in described first volume adjusting instruction, described second volume value is carried in described second volume adjusting instruction, so that described first plays playback equipment and receives after described first volume adjusting instruction and described second playback equipment receive described second volume adjusting instruction, the volume of described first playback equipment and the second playback equipment is regulated according to described first volume value and described second volume value.
Optionally, before display unit 401 shows control button icon and playback equipment icon on the display interface of mobile terminal, described mobile terminal also comprises:
Receiving element (not shown), for receiving the connection establishment request that the described playback equipment corresponding with described playback equipment icon sends;
First transmitting element (not shown), sends the connection corresponding with described connection establishment request to the playback equipment that described and described playback equipment icon is corresponding complete response for responding described connection establishment request.
Optionally, after the volume of the first regulon 403 playback equipment corresponding with described playback equipment icon according to the distance adjustment between described playback equipment icon with described control button icon, described mobile terminal also comprises:
Second acquisition unit (not shown), if for the operational order of closing described control button icon being detected, then obtain the original sound volume value of described first playback equipment and described second playback equipment;
3rd transmitting element (not shown), for sending the 3rd volume adjusting instruction and the 4th volume adjusting instruction respectively to described first playback equipment and described second playback equipment; The original sound volume value of described first playback equipment is carried in described 3rd volume adjusting instruction, the original sound volume value of described second playback equipment is carried in described 4th volume adjusting instruction, so that described first playback equipment receives after described 3rd volume adjusting instruction and described second playback equipment receive described 4th volume adjusting instruction, regulate the volume of described first playback equipment and the second playback equipment according to the original sound volume value of described first playback equipment and described second playback equipment.
Be understandable that, the function of each functional module of the mobile terminal 400 of the present embodiment can according to the method specific implementation in described embodiment of the method, and its specific implementation process with reference to the associated description of described embodiment of the method, can repeat no more herein.
In the embodiment of the present invention, display unit 401 shows control button icon and playback equipment icon on the display interface of mobile terminal, wherein, the quantity of described playback equipment icon is at least two, namely by being shown on the display interface of mobile terminal in the mode of playback equipment icon by playback equipment, and show control button icon simultaneously, first acquiring unit 402 obtains the distance between described playback equipment icon and described control button icon, first regulon 403 is according to the volume of the playback equipment corresponding with described playback equipment icon of the distance adjustment between described playback equipment icon with described control button icon, namely calculate according to the distance between described playback equipment icon with described control button icon the volume that now corresponding with described playback equipment icon playback equipment needs to regulate, then playback equipment is sent to the regulating command of carrying the volume calculated, the volume of carrying according to regulating command after receiving regulating command to make playback equipment carries out volume adjusting, thus reach the disposable volume adjusting multiple playback equipment being carried out to correlation.
Refer to Fig. 6, the structural representation of a kind of mobile terminal 500 that Fig. 6 provides for the embodiment of the present invention, this mobile terminal comprises: at least one input equipment 501; At least one output equipment 502; At least one processor 503, such as CPU; With memory 504, described input equipment 501, output equipment 502, processor 503 are connected by bus 505 with memory 504.
Wherein, described input equipment 501 specifically can be the contact panel of mobile terminal, comprises touch-screen and touch screen, the operational order on sense terminals contact panel.
Described output equipment 502 specifically can be the display screen of mobile terminal, for exporting, showing information.
Described memory 504 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as magnetic disc store.Described memory 504 is for storing batch processing code, and described input equipment 501, output equipment 502 and processor 503, for calling the program code stored in memory 504, perform and operate as follows:
Described output equipment 502, for showing control button icon and playback equipment icon on the display interface of mobile terminal, wherein, the quantity of described playback equipment icon is at least two;
Described processor 503, for obtaining the distance between described playback equipment icon and described control button icon;
Described processor 503, also for the volume according to the playback equipment corresponding with described playback equipment icon of the distance adjustment between described playback equipment icon with described control button icon.
In the embodiment that some are feasible, before described output equipment 502 shows control button icon and playback equipment icon on the display interface of mobile terminal, described input equipment 501 also specifically for:
Receive the connection establishment request that the described playback equipment corresponding with described playback equipment icon sends;
Described output equipment 502 also specifically for: respond described connection establishment request and send the connection corresponding with described connection establishment request to the playback equipment that described and described playback equipment icon is corresponding and complete response.
In the embodiment that some are feasible, described playback equipment icon comprises the first playback equipment icon and the second playback equipment icon, described processor 503 also specifically for:
If detect, described control button icon moves to the second place from primary importance, obtains the first playback equipment icon and the distance between described second playback equipment icon and described control button icon described in when described control button icon is in the described second place.
In the embodiment that some are feasible, described first playback equipment icon is corresponding with the first playback equipment, and described second playback equipment icon is corresponding with the second playback equipment, described processor 503 also specifically for:
Described first playback equipment and described second playback equipment first volume value corresponding when described control button icon is in the described second place and the second volume value is calculated according to volume value and the preset ratio of distance;
The first volume adjusting instruction and the second volume adjusting instruction is sent respectively to described first playback equipment and described second playback equipment, described first volume value is carried in described first volume adjusting instruction, described second volume value is carried in described second volume adjusting instruction, so that described first plays playback equipment and receive after described first volume adjusting instruction and described second playback equipment receive described second volume adjusting instruction, regulate the volume of described first playback equipment and the second playback equipment according to described first volume value and described second volume value.
In the embodiment that some are feasible, described processor 503 also specifically for:
If the operational order of closing described control button icon detected, then obtain the original sound volume value of described first playback equipment and described second playback equipment;
The 3rd volume adjusting instruction and the 4th volume adjusting instruction is sent respectively to described first playback equipment and described second playback equipment; The original sound volume value of described first playback equipment is carried in described 3rd volume adjusting instruction, the original sound volume value of described second playback equipment is carried in described 4th volume adjusting instruction, so that described first playback equipment receives after described 3rd volume adjusting instruction and described second playback equipment receive described 4th volume adjusting instruction, regulate the volume of described first playback equipment and the second playback equipment according to the original sound volume value of described first playback equipment and described second playback equipment.
In specific implementation, input equipment 501 described in the embodiment of the present invention, output equipment 502 and processor 503 can perform the implementation described in each embodiment of the control method of the volume that the embodiment of the present invention provides, also can perform the implementation of the terminal described in the first embodiment of the terminal that the embodiment of the present invention provides, not repeat them here.
Unit in all embodiments of the present invention, universal integrated circuit can be passed through, such as CPU (CentralProcessing Unit, central processing unit), or realized by ASIC (Application Specific IntegratedCircuit, application-specific integrated circuit (ASIC)).
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Module in embodiment of the present invention device or unit can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in-computer read/write memory medium in, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of network architecture schematic diagram disclosed in the embodiment of the present invention;
First embodiment schematic flow sheet of the control method of the volume that Fig. 2 provides for the embodiment of the present invention;
Second embodiment schematic flow sheet of the control method of the volume that Fig. 3 a provides for the embodiment of the present invention;
The displaying interface schematic diagram of the volume adjusting method embodiment that Fig. 3 b and Fig. 3 c provides for Fig. 3 a;
3rd embodiment schematic flow sheet of the control method of the volume that Fig. 4 provides for the embodiment of the present invention;
First example structure schematic diagram of the mobile terminal that Fig. 5 provides for the embodiment of the present invention;
Second example structure schematic diagram of the mobile terminal that Fig. 6 provides for the embodiment of the present invention.
Embodiment
The embodiment of the invention discloses a kind of control method and mobile terminal of volume, for solving the how disposable volume adjusting multiple playback equipment being carried out to correlation.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
Below be described in detail respectively.

Claims (10)

1. a control method for volume, is characterized in that, comprising:
The display interface of mobile terminal is shown control button icon and playback equipment icon, and wherein, the quantity of described playback equipment icon is at least two;
Obtain the distance between described playback equipment icon and described control button icon;
According to the volume of the playback equipment corresponding with described playback equipment icon of the distance adjustment between described playback equipment icon with described control button icon.
2. control method according to claim 1, is characterized in that, described on the display interface of mobile terminal, show control button icon and playback equipment icon before, described control method also comprises:
Receive the connection establishment request that the described playback equipment corresponding with described playback equipment icon sends;
Respond described connection establishment request to send the connection corresponding with described connection establishment request to the playback equipment that described and described playback equipment icon is corresponding and complete response.
3. the control method according to any one of claim 1 or 2, it is characterized in that, described playback equipment icon comprises the first playback equipment icon and the second playback equipment icon, and the distance between described acquisition described playback equipment icon and described control button icon, comprising:
If detect, described control button icon moves to the second place from primary importance, obtains the first playback equipment icon and the distance between described second playback equipment icon and described control button icon described in when described control button icon is in the described second place.
4. control method according to claim 3, is characterized in that, described 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 volume of the described playback equipment corresponding with described playback equipment icon according to the distance adjustment between described playback equipment icon with described control button icon, comprising:
Described first playback equipment and described second playback equipment first volume value corresponding when described control button icon is in the described second place and the second volume value is calculated according to volume value and the preset ratio of distance;
The first volume adjusting instruction and the second volume adjusting instruction is sent respectively to described first playback equipment and described second playback equipment, described first volume value is carried in described first volume adjusting instruction, described second volume value is carried in described second volume adjusting instruction, so that described first plays playback equipment and receive after described first volume adjusting instruction and described second playback equipment receive described second volume adjusting instruction, regulate the volume of described first playback equipment and the second playback equipment according to described first volume value and described second volume value.
5. control method according to claim 4, it is characterized in that, after the volume of the described playback equipment corresponding with described playback equipment icon according to the distance adjustment between described playback equipment icon with described control button icon, described control method also comprises:
If the operational order of closing described control button icon detected, then obtain the original sound volume value of described first playback equipment and described second playback equipment;
The 3rd volume adjusting instruction and the 4th volume adjusting instruction is sent respectively to described first playback equipment and described second playback equipment; The original sound volume value of described first playback equipment is carried in described 3rd volume adjusting instruction, the original sound volume value of described second playback equipment is carried in described 4th volume adjusting instruction, so that described first playback equipment receives after described 3rd volume adjusting instruction and described second playback equipment receive described 4th volume adjusting instruction, regulate the volume of described first playback equipment and the second playback equipment according to the original sound volume value of described first playback equipment and described second playback equipment.
6. a mobile terminal, is characterized in that, comprising:
Display unit, for showing control button icon and playback equipment icon on the display interface of mobile terminal, wherein, the quantity of described playback equipment icon is at least two;
First acquiring unit, for obtaining the distance between described playback equipment icon and described control button icon;
First regulon, for the volume according to the playback equipment corresponding with described playback equipment icon of the distance adjustment between described playback equipment icon with described control button icon.
7. mobile terminal according to claim 6, is characterized in that, described mobile terminal also comprises:
Receiving element, for receiving the connection establishment request that the described playback equipment corresponding with described playback equipment icon sends;
First transmitting element, sends the connection corresponding with described connection establishment request to the playback equipment that described and described playback equipment icon is corresponding complete response for responding described connection establishment request.
8. the mobile terminal according to any one of claim 6 or 7, is characterized in that, described playback equipment icon comprises the first playback equipment icon and the second playback equipment icon, described first acquiring unit specifically for:
If detect, described control button icon moves to the second place from primary importance, obtains the first playback equipment icon and the distance between described second playback equipment icon and described control button icon described in when described control button icon is in the described second place.
9. mobile terminal according to claim 8, is characterized in that, described first playback equipment icon is corresponding with the first playback equipment, and described second playback equipment icon is corresponding with the second playback equipment, and described first regulon comprises:
Computing unit, for calculating described first playback equipment and described second playback equipment first volume value corresponding when described control button icon is in the described second place and the second volume value according to volume value and the preset ratio of distance;
Second transmitting element, for sending the first volume adjusting instruction and the second volume adjusting instruction respectively to described first playback equipment and described second playback equipment, described first volume value is carried in described first volume adjusting instruction, described second volume value is carried in described second volume adjusting instruction, so that described first plays playback equipment and receives after described first volume adjusting instruction and described second playback equipment receive described second volume adjusting instruction, the volume of described first playback equipment and the second playback equipment is regulated according to described first volume value and described second volume value.
10. mobile terminal according to claim 9, is characterized in that, described mobile terminal also comprises:
Second acquisition unit, if for the operational order of closing described control button icon being detected, then obtain the original sound volume value of described first playback equipment and described second playback equipment;
3rd transmitting element, for sending the 3rd volume adjusting instruction and the 4th volume adjusting instruction respectively to described first playback equipment and described second playback equipment; The original sound volume value of described first playback equipment is carried in described 3rd volume adjusting instruction, the original sound volume value of described second playback equipment is carried in described 4th volume adjusting instruction, so that described first playback equipment receives after described 3rd volume adjusting instruction and described second playback equipment receive described 4th volume adjusting instruction, regulate the volume of described first playback equipment and the second playback equipment according to the original sound volume value of described first playback equipment and described second playback equipment.
CN201510239552.2A 2015-05-12 2015-05-12 The adjusting method and mobile terminal of a kind of volume Active CN104869207B (en)

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 true CN104869207A (en) 2015-08-26
CN104869207B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105679342A (en) * 2015-12-30 2016-06-15 广东欧珀移动通信有限公司 Control method and device of playing device
CN107249082A (en) * 2017-06-30 2017-10-13 广东欧珀移动通信有限公司 Method for controlling volume, 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
WO2022247784A1 (en) * 2021-05-28 2022-12-01 维沃移动通信(杭州)有限公司 Control method, apparatus, electronic device, and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090232319A1 (en) * 2008-03-14 2009-09-17 Peng-Feng Kao Audio playing apparatus and method thereof
CN102572096A (en) * 2010-12-20 2012-07-11 Lg电子株式会社 Mobile terminal and application controlling method thereof
CN104063200A (en) * 2014-06-25 2014-09-24 广东欧珀移动通信有限公司 Method and device for adjusting output volume of sounder by using portable audio controller
CN104185122A (en) * 2014-08-18 2014-12-03 广东欧珀移动通信有限公司 Control method and system for playing devices and master playing device
CN104486712A (en) * 2014-12-29 2015-04-01 广东欧珀移动通信有限公司 Volume adjusting method and device of wireless loudspeaker box system
CN104599694A (en) * 2015-01-15 2015-05-06 广东欧珀移动通信有限公司 Volume adjusting method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090232319A1 (en) * 2008-03-14 2009-09-17 Peng-Feng Kao Audio playing apparatus and method thereof
CN102572096A (en) * 2010-12-20 2012-07-11 Lg电子株式会社 Mobile terminal and application controlling method thereof
CN104063200A (en) * 2014-06-25 2014-09-24 广东欧珀移动通信有限公司 Method and device for adjusting output volume of sounder by using portable audio controller
CN104185122A (en) * 2014-08-18 2014-12-03 广东欧珀移动通信有限公司 Control method and system for playing devices and master playing device
CN104486712A (en) * 2014-12-29 2015-04-01 广东欧珀移动通信有限公司 Volume adjusting method and device of wireless loudspeaker box system
CN104599694A (en) * 2015-01-15 2015-05-06 广东欧珀移动通信有限公司 Volume adjusting method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105679342A (en) * 2015-12-30 2016-06-15 广东欧珀移动通信有限公司 Control method and device of playing device
CN105679342B (en) * 2015-12-30 2018-09-14 广东欧珀移动通信有限公司 A kind of control method and device of playback equipment
CN107249082A (en) * 2017-06-30 2017-10-13 广东欧珀移动通信有限公司 Method for controlling volume, 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
WO2022247784A1 (en) * 2021-05-28 2022-12-01 维沃移动通信(杭州)有限公司 Control method, apparatus, electronic device, and readable storage medium

Also Published As

Publication number Publication date
CN104869207B (en) 2018-01-23

Similar Documents

Publication Publication Date Title
CN104869207A (en) Volume adjusting method and mobile terminal
CN105722009B (en) Portable device and method of controlling position information of portable device
EP2905693B1 (en) Method and apparatus for controlling flexible display and electronic device adapted to the method
CN111083684B (en) Method for controlling electronic equipment and electronic equipment
KR102207861B1 (en) Method for displaying and an electronic device thereof
CN109407921B (en) Application processing method and terminal device
CN108491149B (en) Split screen display method and terminal
US11829581B2 (en) Display control method and terminal
CN104898926A (en) Screen capture method and device of mobile terminal
CN107613146B (en) Volume adjustment method and device and mobile terminal
CN105187710A (en) Photography controlling method, intelligent watch, photography terminal and system
CN108536415A (en) Using method for controlling volume, device, mobile terminal and computer-readable medium
KR20150057080A (en) Apparatas and method for changing a input mode according to input method in an electronic device
CN110597478A (en) Audio output method and electronic equipment
CN110244884B (en) Desktop icon management method and terminal equipment
CN104461430B (en) A kind of information processing method and electronic equipment
CN111093137A (en) Volume control method, volume control equipment and computer readable storage medium
CN109992941B (en) Authority management method and terminal equipment
CN108628534B (en) Character display method and mobile terminal
KR20210041994A (en) An electronic device transmitting audio data to a plurality of external devices and method thereof
CN105549883A (en) Operation control method and device
CN113115179B (en) Working state adjusting method and device
KR101219976B1 (en) Method, device for interacting display and recording medium recording program for the same
CN105389118B (en) A kind of switching method and user terminal of audio file
CN111158830B (en) Method for displaying application task window and terminal equipment

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.