CN105487806A - Method and device for adjusting volume - Google Patents
Method and device for adjusting volume Download PDFInfo
- Publication number
- CN105487806A CN105487806A CN201510891136.0A CN201510891136A CN105487806A CN 105487806 A CN105487806 A CN 105487806A CN 201510891136 A CN201510891136 A CN 201510891136A CN 105487806 A CN105487806 A CN 105487806A
- Authority
- CN
- China
- Prior art keywords
- volume
- touch
- touch point
- expanded
- circle
- 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.)
- Pending
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a method for adjusting volume. The method comprises the following steps: acquiring a quantity of touch points induced by a touch screen; when the quantity of the touch points is greater than two, acquiring a combined motion curve of the touch points; and when the combined motion curve is an expansion curve or a contraction curve, adjusting the volume according to an expansion or contraction proportion. Correspondingly, the embodiment of the invention further discloses a device for adjusting the volume. By adopting the method and device for adjusting the volume provided by the invention, the volume can be adjusted by means of multi-touch and the invention has the advantages of being convenient in operation and high in accuracy.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of method and the device that regulate volume.
Background technology
At present, the handheld terminal as smart mobile phone and panel computer etc. regulates the mode of volume to mainly contain following two kinds: mode one, regulate volume by the physical button clicking handheld terminal; Mode two, regulate volume by the scroll bar dragged shown by handheld terminal.
But for aforesaid way one, physical button can only regulate volume by level, and volume span between every grade is comparatively large, causes being difficult to being adjusted to the volume that user wants; For aforesaid way two, the size of shown scroll bar is less, and the contact area of user's finger is comparatively large, causes being difficult to scroll bar to drag to assigned address.As can be seen here, the mode still existing defects of existing adjustment volume.
Summary of the invention
Embodiments provide a kind of method and the device that regulate volume, can realize regulating volume by the mode of multi-point touch.
Embodiments provide a kind of method regulating volume, comprising:
Obtain the quantity of the touch point that touch-screen senses;
When the quantity of described touch point is greater than two, obtain the combined motion curve of described touch point;
When described combined motion curve is for expansion track or when shrinking track, according to the proportion adjustment volume that it is expanded or shrinks.
Optionally, the described proportion adjustment volume expanded according to it or shrink, comprising:
Determine the minimum circle accommodating all described touch points;
According to the ratio of described smallest circle Extendable cycles or contraction, increase or reduce volume.
Another optional, the described proportion adjustment volume expanded according to it or shrink, comprising:
Calculate the average headway described in each between touch point;
According to the ratio that described average headway is expanded or shunk, increase or reduce volume.
Optional again, after the combined motion curve of the described touch point of described acquisition, also comprise:
During the touch point moved when only having, determine the minimum circle accommodating all static touch points;
Obtain the relative distance in the touch point of described motion and the center of circle of described minimum circle;
According to the ratio that described relative distance is expanded or shunk, increase or reduce volume.
Optional again, before the quantity of the touch point that described acquisition touch-screen senses, also comprise:
Set up and be connected with the pairing of external played equipment;
The described proportion adjustment volume expanded according to it or shrink, comprising:
The volume of external played equipment described in the proportion adjustment volume adjusting expanded according to it or shrink.
Accordingly, the embodiment of the present invention additionally provides a kind of device regulating volume, comprising:
Quantity detection module, for obtaining the quantity of the touch point that touch-screen senses;
Track acquisition module, for when the quantity of described touch point is greater than two, obtains the combined motion curve of described touch point;
Volume adjusting module, for when described combined motion curve is for expansion track or when shrinking track, according to the proportion adjustment volume that it is expanded or shrinks.
Optionally, described volume adjusting module, specifically for determining the minimum circle accommodating all described touch points; According to the ratio of described smallest circle Extendable cycles or contraction, increase or reduce volume.
Another optional, described volume adjusting module, specifically for calculating the average headway described in each between touch point; According to the ratio that described average headway is expanded or shunk, increase or reduce volume.
Optional again, described volume adjusting module, also for when the touch point only having to move, determines the minimum circle accommodating all static touch points; Obtain the relative distance in the touch point of described motion and the center of circle of described minimum circle; According to the ratio that described relative distance is expanded or shunk, increase or reduce volume.
Optional again, described device also comprises pairing link block, is connected with the pairing of external played equipment for setting up;
Described volume adjusting module, specifically for the volume of external played equipment according to the proportion adjustment volume adjusting of its expansion or contraction.
Therefore; in the embodiment of the present invention; when the quantity of the touch point that the touch-screen obtained senses is greater than two; detect the combined motion curve of touch point; and when this combined motion curve is for expansion track or when shrinking track; according to its expansion or the proportion adjustment volume of shrinking, can realize regulating volume by the mode of multi-point touch, there is the advantage that simple operation, accuracy are high.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention, 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 schematic flow sheet regulating the method for volume that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the method for the another kind adjustment volume that the embodiment of the present invention provides;
Fig. 3 is a kind of structural representation regulating the device of volume that the embodiment of the present invention provides;
Fig. 4 is the schematic diagram of a kind of multi-point touch that the embodiment of the present invention provides;
Fig. 5 is the schematic diagram of the another kind of multi-point touch that the embodiment of the present invention provides;
Fig. 6 is the schematic diagram of another multi-point touch that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, 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, belong to the scope of protection of the invention.
The method of the adjustment volume that the embodiment of the present invention provides is implemented in handheld terminal, described handheld terminal comprises smart mobile phone, panel computer, digital audio & video players, electronic reader, handheld game machine and vehicle electronic device etc., described handheld terminal is provided with touch-screen, described touch-screen comprises capacitive sensing screen, resistance induction screen or infrared touch panel etc., can identify multi-point touch operation.
Fig. 1 is a kind of schematic flow sheet regulating the method for volume in the embodiment of the present invention.The flow process of the method for the adjustment volume as shown in the figure in the present embodiment can comprise:
S101, obtains the quantity of the touch point that touch-screen senses.
Described touch point refers to the contact point of touch objects and touch-screen, the finger of such as user and the contact point of touch-screen.It is pointed out that the touch-screen in the embodiment of the present invention supports multi-point touch, thus the quantity of touch point can be multiple.Concrete, when touch screen induction is to when having the external world to input touch control operation, obtain the quantity of the touch point that touch-screen senses.
Optionally, before the quantity obtaining the touch point that touch-screen senses, first determine whether to be in default scene.Described default scene be can be when playing music, when playing video, plugged earphone time or be in the interface of various audiovisual applications program time, etc., do not do exhaustive here.
S102, when the quantity of described touch point is greater than two, obtains the combined motion curve of described touch point.
Concrete, when the quantity of the touch point that touch-screen senses is greater than two, enter volume control mode, and detect the combined motion curve of multiple touch point entirety.Such as, when user uses five fingers to slide on the touchscreen, five corresponding touch points move thereupon, and the track that its mass motion is formed is combined motion curve.
Optionally, in order to avoid maloperation, when the quantity of the touch point that touch-screen senses is three to five, just enter volume control mode.Reason is, the embodiment of the present invention mainly uses finger to carry out the scene of touch control operation for user, and the mode of operation that user is accustomed to most is one-handed performance, and therefore the quantity of touch point generally can not more than five, if more than five touch points, then it is probably user's maloperation unintentionally.
S103, when described combined motion curve is for expansion track or when shrinking track, according to the proportion adjustment volume that it is expanded or shrinks.
As the optional embodiment of one; when combined motion curve is for expansion track or when shrinking track; in the process of touch point motion; determine the minimum circle that can hold all touch points in real time; as shown in Figure 4; and according to the ratio of smallest circle Extendable cycles or contraction, increase accordingly or reduce volume.Such as, suppose that user uses five fingers to slide on the touchscreen, the radius that can hold the minimum circle of five touch points determined in a moment is Ra, the radius that can hold the minimum circle of five touch points determined in the b moment is Rb, then according to ratio and the default algorithm of Rb and Ra, dynamic adjustments volume.In specific implementation process, the current volume value be adjusted to can be asked for according to formula (1), wherein V
brepresent the volume in b moment, V
arepresent the volume in a moment, k is the Dynamic gene that designer rule of thumb sets.
As the optional embodiment of another kind; when combined motion curve is for expansion track or when shrinking track, in the process of touch point motion, calculate the average headway between each touch point in real time; and according to the ratio that average headway is expanded or shunk, increase accordingly or reduce volume.In order to simplify the calculating of average headway, each touch point can be linked as an approximate circular arc, circular arc direction obtains the spacing of two adjacent touch points successively, and then calculate average headway, as shown in Figure 5, the spacing obtained successively is a, b, c and d, and the average headway of calculating is (a+b+c+d)/4.Such as, supposing that user uses five fingers to slide on the touchscreen, is Da at a moment average headway of trying to achieve between each touch point, is Db at the b moment average headway of trying to achieve between each touch point, then according to ratio and the default algorithm of Db and Ra, dynamic adjustments volume.In specific implementation process, the current volume value be adjusted to can be asked for according to formula (2), wherein V
brepresent the volume in b moment, V
arepresent the volume in a moment, k is the Dynamic gene that designer rule of thumb sets.
Above-mentioned two kinds of embodiments, the gradual change that all can realize volume regulates, but consider that user is difficult to control multiple touch point subtly, therefore the embodiment of the present invention additionally provides a kind of embodiment: during the touch point moved when only having, determine the minimum circle that can hold all static touch points, then the relative distance in the center of circle of this motion touch point of Real-time Obtaining and minimum circle, then according to the ratio that relative distance is expanded or shunk, increases accordingly or reduces volume.Such as, as shown in Figure 6, user is by five finger contact touch-screens, and wherein four fingers keep static, only firefinger movement, now determine the minimum circle that can hold four static touch points, and the relative distance in the center of circle of Dynamic Acquisition motion touch point and this minimum circle, suppose that the relative distance obtained in a moment is Fa, the relative distance obtained in the b moment is Fb, then according to ratio and the default algorithm of Fb and Fa, dynamic adjustments volume.In specific implementation process, the current volume value be adjusted to can be asked for according to formula (3), wherein V
brepresent the volume in b moment, V
arepresent the volume in a moment, k is the Dynamic gene that designer rule of thumb sets.The advantage of this embodiment is, user only needs attentively to control a touch point, contributes to meticulous adjustment, can be applicable to the fine setting of volume.
Therefore; in the embodiment of the present invention; when the quantity of the touch point that the touch-screen obtained senses is greater than two; detect the combined motion curve of touch point; and when this combined motion curve is for expansion track or when shrinking track; according to its expansion or the proportion adjustment volume of shrinking, can realize regulating volume by the mode of multi-point touch, there is the advantage that simple operation, accuracy are high.
Fig. 2 is the another kind of schematic flow sheet regulating the method for volume in the embodiment of the present invention.The flow process of the method for the adjustment volume as shown in the figure in the present embodiment can comprise:
S201, sets up and is connected with the pairing of external unit.
Wherein, described external unit can be the equipment that intelligent sound, Digital Television or PC etc. possess audio and video playing function.For the ease of understanding, the embodiment of the present invention is described for intelligent sound, intelligent sound can pass through WiFi (WirelessFidelity, WLAN (wireless local area network)) or the mode such as bluetooth set up to match with handheld terminal and be connected, after foundation pairing connects, the application program that handheld terminal just can be installed by it to intelligent sound sending controling instruction, as volume adjusting instruction etc., to realize the remote control to intelligent sound.
S202, obtains the quantity of the touch point that touch-screen senses.
Described touch point refers to the contact point of touch objects and touch-screen, the finger of such as user and the contact point of touch-screen.It is pointed out that the touch-screen in the embodiment of the present invention supports multi-point touch, thus the quantity of touch point can be multiple.Concrete, start and be used for after the application program of intelligent sound sending controling instruction, in the optional position of this application program operation interface, when touch screen induction is to when having the external world to input touch control operation, obtain the quantity of the touch point that touch-screen senses.
S203, judges whether the quantity of described touch point is greater than two.
Concrete, judge whether the quantity of the touch point that touch-screen senses is greater than two, if so, then perform step S204, if not, then terminate.
Optionally, in order to avoid maloperation, when judging the quantity of the touch point that touch-screen senses as three to five, just perform step S204.Reason is, the embodiment of the present invention mainly uses finger to carry out the scene of touch control operation for user, and the mode of operation that user is accustomed to most is one-handed performance, and therefore the quantity of touch point generally can not more than five, if more than five touch points, then it is probably user's maloperation unintentionally.
S204, obtains the combined motion curve of described touch point.
Such as, when user uses five fingers to slide on the touchscreen, five corresponding touch points move thereupon, and the track that its entirety is formed is combined motion curve.
S205, when described combined motion curve is for expansion track or when shrinking track, the volume of external played equipment described in the proportion adjustment volume adjusting expanded according to it or shrink.
Concrete; when combined motion curve is for expansion track or when shrinking track; according to the ratio-dependent target sound value arrived to be regulated that it is expanded or shrinks; then the volume adjusting instruction of target sound value is carried to intelligent sound, to make intelligent sound by volume adjusting to target sound value by application program transmission.
As the optional embodiment of one; when combined motion curve is for expansion track or when shrinking track; in the process of touch point motion; determine the minimum circle that can hold all touch points in real time; as shown in Figure 4; and according to the ratio of smallest circle Extendable cycles or contraction, determine the target sound value arrived to be regulated.Such as, suppose that user uses five fingers to slide on the touchscreen, the radius that can hold the minimum circle of five touch points determined in a moment is Ra, the radius that can hold the minimum circle of five touch points determined in the b moment is Rb, then according to ratio and the default algorithm of Rb and Ra, determine the target sound value arrived to be regulated.In specific implementation process, the target sound value arrived to be regulated can be asked for according to formula (1), wherein V
brepresent the volume in b moment, V
arepresent the volume in a moment, k is the Dynamic gene that designer rule of thumb sets.
As the optional embodiment of another kind; when combined motion curve is for expansion track or when shrinking track, in the process of touch point motion, calculate the average headway between each touch point in real time; and according to the ratio that average headway is expanded or shunk, determine the target sound value arrived to be regulated.In order to simplify the calculating of average headway, each touch point can be linked as an approximate circular arc, circular arc direction obtains the spacing of two adjacent touch points successively, and then calculate average headway, as shown in Figure 5, the spacing obtained successively is a, b, c and d, and the average headway of calculating is (a+b+c+d)/4.Such as, supposing that user uses five fingers to slide on the touchscreen, is Da at a moment average headway of trying to achieve between each touch point, is Db at the b moment average headway of trying to achieve between each touch point, then according to ratio and the default algorithm of Db and Ra, determine the target sound value arrived to be regulated.In specific implementation process, the target sound value arrived to be regulated can be asked for according to formula (2), wherein V
brepresent the volume in b moment, V
arepresent the volume in a moment, k is the Dynamic gene that designer rule of thumb sets.
Above-mentioned two kinds of embodiments, the gradual change that all can realize volume regulates, but consider that user is difficult to control multiple touch point subtly, therefore the embodiment of the present invention additionally provides a kind of embodiment: during the touch point moved when only having, determine the minimum circle that can hold all static touch points, then the relative distance in the center of circle of this motion touch point of Real-time Obtaining and minimum circle, then according to the ratio that relative distance is expanded or shunk, determines the target sound value arrived to be regulated.Such as, as shown in Figure 6, user is by five finger contact touch-screens, and wherein four fingers keep static, only firefinger movement, now determine the minimum circle that can hold four static touch points, and the relative distance in the center of circle of Dynamic Acquisition motion touch point and this minimum circle, suppose that the relative distance obtained in a moment is Fa, the relative distance obtained in the b moment is Fb, then according to ratio and the default algorithm of Fb and Fa, determine the target sound value arrived to be regulated.In specific implementation process, the target sound value arrived to be regulated can be asked for according to formula (3), wherein V
brepresent the volume in b moment, V
arepresent the volume in a moment, k is the Dynamic gene that designer rule of thumb sets.The advantage of this embodiment is, user only needs attentively to control a touch point, contributes to meticulous adjustment, can be applicable to the fine setting of volume.
S206, judges whether the quantity of current touch point is less than or equal to two.
Concrete, whether the quantity detecting touch point is in real time less than or equal to two, if not, then continues to perform step S205, if so, then terminates.
Therefore; in the embodiment of the present invention; first set up to match with external unit and be connected; when the quantity of the touch point that the touch-screen obtained senses is greater than two; detect the combined motion curve of touch point; and when this combined motion curve is for expansion track or when shrinking track; according to the ratio-dependent target sound value arrived to be regulated that it is expanded or shrinks; then send instruction and control external unit by volume adjusting to target sound value; can realize regulating volume by the mode of multi-point touch, there is the advantage that simple operation, accuracy are high.
Fig. 3 is a kind of structural representation regulating the device of volume in the embodiment of the present invention.The device of the adjustment volume as shown in the figure in the embodiment of the present invention at least can comprise quantity detection module 310, track acquisition module 320 and volume adjusting module 330, wherein:
Quantity detection module 310, for obtaining the quantity of the touch point that touch-screen senses.
Described touch point refers to the contact point of touch objects and touch-screen, the finger of such as user and the contact point of touch-screen.It is pointed out that the touch-screen in the embodiment of the present invention supports multi-point touch, thus the quantity of touch point can be multiple.Concrete, when touch screen induction is to when having the external world to input touch control operation, obtain the quantity of the touch point that touch-screen senses.
Optionally, before the quantity obtaining the touch point that touch-screen senses, first determine whether to be in default scene.Described default scene be can be when playing music, when playing video, plugged earphone time or be in the interface of various audiovisual applications program time, etc., do not do exhaustive here.
Track acquisition module 320, for when the quantity of described touch point is greater than two, obtains the combined motion curve of described touch point.
Concrete, when the quantity of the touch point that touch-screen senses is greater than two, enter volume control mode, and detect the combined motion curve of multiple touch point entirety.Such as, when user uses five fingers to slide on the touchscreen, five corresponding touch points move thereupon, and the track that its entirety is formed is combined motion curve.
Optionally, in order to avoid maloperation, when the quantity of the touch point that touch-screen senses is three to five, just enter volume control mode.Reason is, the embodiment of the present invention mainly uses finger to carry out the scene of touch control operation for user, and the mode of operation that user is accustomed to most is one-handed performance, and therefore the quantity of touch point generally can not more than five, if more than five touch points, then it is probably user's maloperation unintentionally.
Volume adjusting module 330, for when described combined motion curve is for expansion track or when shrinking track, according to the proportion adjustment volume that it is expanded or shrinks.
As the optional embodiment of one; when combined motion curve is for expansion track or when shrinking track; in the process of touch point motion; determine the minimum circle that can hold all touch points in real time; as shown in Figure 4; and according to the ratio of smallest circle Extendable cycles or contraction, increase accordingly or reduce volume.Such as, suppose that user uses five fingers to slide on the touchscreen, the radius that can hold the minimum circle of five touch points determined in a moment is Ra, the radius that can hold the minimum circle of five touch points determined in the b moment is Rb, then according to ratio and the default algorithm of Rb and Ra, dynamic adjustments volume.In specific implementation process, the current volume value be adjusted to can be asked for according to formula (1), wherein V
brepresent the volume in b moment, V
arepresent the volume in a moment, k is the Dynamic gene that designer rule of thumb sets.
As the optional embodiment of another kind; when combined motion curve is for expansion track or when shrinking track, in the process of touch point motion, calculate the average headway between each touch point in real time; and according to the ratio that average headway is expanded or shunk, increase accordingly or reduce volume.In order to simplify the calculating of average headway, each touch point can be linked as an approximate circular arc, circular arc direction obtains the spacing of two adjacent touch points successively, and then calculate average headway, as shown in Figure 5, the spacing obtained successively is a, b, c and d, and the average headway of calculating is (a+b+c+d)/4.Such as, supposing that user uses five fingers to slide on the touchscreen, is Da at a moment average headway of trying to achieve between each touch point, is Db at the b moment average headway of trying to achieve between each touch point, then according to ratio and the default algorithm of Db and Ra, dynamic adjustments volume.In specific implementation process, the current volume value be adjusted to can be asked for according to formula (2), wherein V
brepresent the volume in b moment, V
arepresent the volume in a moment, k is the Dynamic gene that designer rule of thumb sets.
Above-mentioned two kinds of embodiments, the gradual change that all can realize volume regulates, but consider that user is difficult to control multiple touch point subtly, therefore the embodiment of the present invention additionally provides a kind of embodiment: during the touch point moved when only having, determine the minimum circle that can hold all static touch points, then the relative distance in the center of circle of this motion touch point of Real-time Obtaining and minimum circle, then according to the ratio that relative distance is expanded or shunk, increases accordingly or reduces volume.Such as, as shown in Figure 6, user is by five finger contact touch-screens, and wherein four fingers keep static, only firefinger movement, now determine the minimum circle that can hold four static touch points, and the relative distance in the center of circle of Dynamic Acquisition motion touch point and this minimum circle, suppose that the relative distance obtained in a moment is Fa, the relative distance obtained in the b moment is Fb, then according to ratio and the default algorithm of Fb and Fa, dynamic adjustments volume.In specific implementation process, the current volume value be adjusted to can be asked for according to formula (3), wherein V
brepresent the volume in b moment, V
arepresent the volume in a moment, k is the Dynamic gene that designer rule of thumb sets.The advantage of this embodiment is, user only needs attentively to control a touch point, contributes to meticulous adjustment, can be applicable to the fine setting of volume.
Optionally, the device of the adjustment volume as shown in Figure 3 in the embodiment of the present invention can also comprise pairing link block 340, is connected with the pairing of external played equipment for setting up.Accordingly, volume adjusting module 330, specifically for the volume of external played equipment according to the proportion adjustment volume adjusting of its expansion or contraction.
Wherein, described external unit can be the equipment that intelligent sound, Digital Television or PC etc. possess audio and video playing function.For the ease of understanding, the embodiment of the present invention is described for intelligent sound, and handheld terminal can be matched with intelligent sound by WiFi and be connected, after foundation pairing connects, the application program that handheld terminal can be installed by it to intelligent sound sending controling instruction, as volume adjusting instruction etc.Accordingly, volume adjusting module 330 determines the target sound value arrived to be regulated, then carries the volume adjusting instruction of target sound value to intelligent sound, to make intelligent sound by volume adjusting to target sound value by application program transmission.
The embodiment of the present invention additionally provides the another kind of device regulating volume, and the device of this adjustment volume can comprise: at least one processor 401, such as CPU, at least one communication bus 402, touch-screen 403, storer 404.Wherein, communication bus 402 is for realizing the connection communication between these assemblies; Touch-screen 403 can shield for capacitive sensing, resistance responds to screen or infrared touch panel etc.; Storer 404 can be high-speed RAM storer, also can be non-volatile storer (non-volatilememory), such as at least one magnetic disk memory.Optionally, storer 404 can also be that at least one is positioned at the memory storage away from aforementioned processor 401.Store batch processing code in storer 404, processor 401, for calling the program code stored in storer 404, performs following operation:
Obtain the quantity of the touch point that touch-screen senses;
When the quantity of described touch point is greater than two, obtain the combined motion curve of described touch point;
When described combined motion curve is for expansion track or when shrinking track, according to the proportion adjustment volume that it is expanded or shrinks.
Optionally, processor 401 according to its expansion or the concrete operations of proportion adjustment volume of shrinking is:
Determine the minimum circle accommodating all described touch points;
According to the ratio of described smallest circle Extendable cycles or contraction, increase or reduce volume.
Another optional, processor 401 according to the concrete operations of the proportion adjustment volume that it is expanded or shrinks is:
Calculate the average headway described in each between touch point;
According to the ratio that described average headway is expanded or shunk, increase or reduce volume.
Optional again, after processor 401 obtains the combined motion curve of described touch point, also perform:
During the touch point moved when only having, determine the minimum circle accommodating all static touch points;
Obtain the relative distance in the touch point of described motion and the center of circle of described minimum circle;
According to the ratio that described relative distance is expanded or shunk, increase or reduce volume.
Also optional, before processor 401 obtains the quantity of the touch point that touch-screen senses, also perform:
Set up and be connected with the pairing of external played equipment.
Accordingly, processor 401 according to its expansion or the concrete operations of proportion adjustment volume of shrinking is:
The volume of external played equipment described in the proportion adjustment volume adjusting expanded according to it or shrink.
Therefore; in the embodiment of the present invention; when the quantity of the touch point that the touch-screen obtained senses is greater than two; detect the combined motion curve of touch point; and when this combined motion curve is for expansion track or when shrinking track; according to its expansion or the proportion adjustment volume of shrinking, can realize regulating volume by the mode of multi-point touch, there is the advantage that simple operation, accuracy are high.
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 a computer read/write memory medium, 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-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
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, can carry out merging, divide and deleting according to actual needs.
Module in the embodiment of the present invention, universal integrated circuit can be passed through, such as CPU (CentralProcessingUnit, central processing unit), or realized by ASIC (ApplicationSpecificIntegratedCircuit, special IC).
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.
Claims (10)
1. regulate a method for volume, it is characterized in that, described method comprises:
Obtain the quantity of the touch point that touch-screen senses;
When the quantity of described touch point is greater than two, obtain the combined motion curve of described touch point;
When described combined motion curve is for expansion track or when shrinking track, according to the proportion adjustment volume that it is expanded or shrinks.
2. the method for claim 1, is characterized in that, the described proportion adjustment volume expanded according to it or shrink, comprising:
Determine the minimum circle accommodating all described touch points;
According to the ratio of described smallest circle Extendable cycles or contraction, increase or reduce volume.
3. the method for claim 1, is characterized in that, the described proportion adjustment volume expanded according to it or shrink, comprising:
Calculate the average headway described in each between touch point;
According to the ratio that described average headway is expanded or shunk, increase or reduce volume.
4. the method for claim 1, is characterized in that, after the combined motion curve of the described touch point of described acquisition, also comprises:
During the touch point moved when only having, determine the minimum circle accommodating all static touch points;
Obtain the relative distance in the touch point of described motion and the center of circle of described minimum circle;
According to the ratio that described relative distance is expanded or shunk, increase or reduce volume.
5. the method for claim 1, is characterized in that, before the quantity of the touch point that described acquisition touch-screen senses, also comprises:
Set up and be connected with the pairing of external played equipment;
The described proportion adjustment volume expanded according to it or shrink, comprising:
The volume of external played equipment described in the proportion adjustment volume adjusting expanded according to it or shrink.
6. regulate a device for volume, it is characterized in that, described device comprises:
Quantity detection module, for obtaining the quantity of the touch point that touch-screen senses;
Track acquisition module, for when the quantity of described touch point is greater than two, obtains the combined motion curve of described touch point;
Volume adjusting module, for when described combined motion curve is for expansion track or when shrinking track, according to the proportion adjustment volume that it is expanded or shrinks.
7. device as claimed in claim 6, is characterized in that, described volume adjusting module, specifically for determining the minimum circle accommodating all described touch points; According to the ratio of described smallest circle Extendable cycles or contraction, increase or reduce volume.
8. device as claimed in claim 6, is characterized in that, described volume adjusting module, specifically for calculating the average headway described in each between touch point; According to the ratio that described average headway is expanded or shunk, increase or reduce volume.
9. device as claimed in claim 6, is characterized in that, described volume adjusting module, also for when the touch point only having to move, determines the minimum circle accommodating all static touch points; Obtain the relative distance in the touch point of described motion and the center of circle of described minimum circle; According to the ratio that described relative distance is expanded or shunk, increase or reduce volume.
10. device as claimed in claim 6, it is characterized in that, described device also comprises pairing link block, is connected with the pairing of external played equipment for setting up;
Described volume adjusting module, specifically for the volume of external played equipment according to the proportion adjustment volume adjusting of its expansion or contraction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510891136.0A CN105487806A (en) | 2015-12-04 | 2015-12-04 | Method and device for adjusting volume |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510891136.0A CN105487806A (en) | 2015-12-04 | 2015-12-04 | Method and device for adjusting volume |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105487806A true CN105487806A (en) | 2016-04-13 |
Family
ID=55674813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510891136.0A Pending CN105487806A (en) | 2015-12-04 | 2015-12-04 | Method and device for adjusting volume |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105487806A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108766406A (en) * | 2018-05-15 | 2018-11-06 | 苏州妙文信息科技有限公司 | A kind of mini singing machine of intelligence and sound adjusting method |
CN112506376A (en) * | 2020-12-09 | 2021-03-16 | 歌尔科技有限公司 | Touch control method of circular screen, terminal device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102819352A (en) * | 2012-08-22 | 2012-12-12 | 华为终端有限公司 | Method and device for controlling terminal equipment |
CN103218161A (en) * | 2013-03-22 | 2013-07-24 | 广东欧珀移动通信有限公司 | Operating method and system for multi-point touch based mobile terminal |
CN104571650A (en) * | 2013-10-09 | 2015-04-29 | 鸿富锦精密工业(深圳)有限公司 | Backlight brightness and volume adjusting system and method |
-
2015
- 2015-12-04 CN CN201510891136.0A patent/CN105487806A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102819352A (en) * | 2012-08-22 | 2012-12-12 | 华为终端有限公司 | Method and device for controlling terminal equipment |
CN103218161A (en) * | 2013-03-22 | 2013-07-24 | 广东欧珀移动通信有限公司 | Operating method and system for multi-point touch based mobile terminal |
CN104571650A (en) * | 2013-10-09 | 2015-04-29 | 鸿富锦精密工业(深圳)有限公司 | Backlight brightness and volume adjusting system and method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108766406A (en) * | 2018-05-15 | 2018-11-06 | 苏州妙文信息科技有限公司 | A kind of mini singing machine of intelligence and sound adjusting method |
CN112506376A (en) * | 2020-12-09 | 2021-03-16 | 歌尔科技有限公司 | Touch control method of circular screen, terminal device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2872512C (en) | Method of operating a display unit and a terminal supporting the same | |
US9304656B2 (en) | Systems and method for object selection on presence sensitive devices | |
KR101580914B1 (en) | Electronic device and method for controlling zooming of displayed object | |
US9891816B2 (en) | Method and mobile terminal for processing touch input in two different states | |
US20110175831A1 (en) | Information processing apparatus, input operation determination method, and input operation determination program | |
US20140300559A1 (en) | Information processing device having touch screen | |
CN103440089B (en) | The interface method of adjustment and user equipment of a kind of user equipment | |
EP2933713A1 (en) | Terminal device, screen display method, hover location correction method, and recording medium | |
CN104991696B (en) | A kind of information processing method and electronic equipment | |
CN104750495A (en) | Screenshot method and device | |
US20160349983A1 (en) | Terminal screen shot method and terminal | |
CN103559041A (en) | Screen display method and terminal | |
CN105677226B (en) | A kind of operating method and mobile terminal to application program | |
CN103869947B (en) | The method and electronic equipment of control electronics | |
CN104991721A (en) | Fingerprint operation method and apparatus | |
CN105159556A (en) | Interface operation method and electronic terminal | |
WO2014118602A1 (en) | Emulating pressure sensitivity on multi-touch devices | |
CN104536643A (en) | Icon dragging method and terminal | |
CN104866188A (en) | Display interface adjusting method | |
CN105843547A (en) | Page sliding method and device | |
CN104750412A (en) | Method for controlling display interfaces | |
CN103761045A (en) | Zoom touch control method and device of mobile terminal | |
CN105487806A (en) | Method and device for adjusting volume | |
KR102110387B1 (en) | Controlling method of electronic device and apparatus thereof | |
KR102210045B1 (en) | Apparatus and method for contrlling an input of electronic device having a touch device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160413 |
|
RJ01 | Rejection of invention patent application after publication |