CN104778952B - A kind of method and terminal of control multimedia - Google Patents
A kind of method and terminal of control multimedia Download PDFInfo
- Publication number
- CN104778952B CN104778952B CN201510136890.3A CN201510136890A CN104778952B CN 104778952 B CN104778952 B CN 104778952B CN 201510136890 A CN201510136890 A CN 201510136890A CN 104778952 B CN104778952 B CN 104778952B
- Authority
- CN
- China
- Prior art keywords
- terminal
- rotation
- angular velocity
- preset time
- time range
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000001514 detection method Methods 0.000 claims abstract description 73
- 238000007689 inspection Methods 0.000 claims description 3
- 230000001133 acceleration Effects 0.000 description 5
- 238000005452 bending Methods 0.000 description 4
- 230000005611 electricity Effects 0.000 description 4
- 230000015572 biosynthetic process Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Landscapes
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of method and terminal of control multimedia, this method includes:When terminal plays multimedia, the variable quantity of the frame electric capacity of terminal is detected;Judge whether the variable quantity of the frame electric capacity of terminal exceedes default capacitance;If more than default capacitance, angular velocity of rotation of the detection terminal in preset time range;Wherein, in preset time range, the variable quantity of the frame electric capacity of terminal exceedes default capacitance;Judge whether angular velocity of rotation of the terminal in preset time range exceedes predetermined threshold value;If more than predetermined threshold values, the number of times of predetermined threshold value and the direction of angular velocity of rotation being exceeded according to angular velocity of rotation of the terminal in preset time range, performs and plays control operation.Implement the embodiment of the present invention, the maloperation that can effectively prevent terminal multi-media from playing.
Description
Technical field
The present invention relates to communication technical field, and in particular to a kind of method and terminal of control multimedia.
Background technology
With the gradually popularization of mobile terminal, the multimedia such as music or video is played on the mobile terminals such as mobile phone, flat board
Have become the important amusement function of people.When user plays multimedia on mobile terminals, it is often necessary to currently playing
Multimedia is switched over or the operation such as F.F., and user needs to touch the touch-screen of mobile terminal or clicked on mobile terminal
Button realizes the operations such as multimedia switching or F.F., when the screen of mobile terminal is closed, it is impossible to effectively control many matchmakers
The broadcasting of body.Current solution is rotated or rocked by user's hand-held mobile terminal, the gyroscope of terminal or
The mechanical movement of the motion sensor senses mobile phone such as acceleration transducer controls multimedia broadcasting, and this method is simply easy
OK, but when mobile terminal is motion state broadcasting multimedia (such as user carries mobile terminal and music is listened during running)
When, easily triggering is to multimedia maloperation.
The content of the invention
The embodiment of the present invention provides a kind of method and terminal of control multimedia, effectively prevents terminal multi-media from playing
Maloperation.
In a first aspect, the invention provides a kind of method for controlling multimedia, including:
When terminal plays multimedia, the variable quantity of the frame electric capacity of the terminal is detected;
Judge whether the variable quantity of the frame electric capacity of the terminal exceedes default capacitance;
If more than default capacitance, detecting angular velocity of rotation of the terminal in preset time range;Wherein, described pre-
If in time range, the variable quantity of the frame electric capacity of the terminal exceedes the default capacitance;
Judge whether angular velocity of rotation of the terminal in the preset time range exceedes predetermined threshold value;
If more than predetermined threshold value, being exceeded according to angular velocity of rotation of the terminal in the preset time range described pre-
If the direction of the number of times of threshold value and the angular velocity of rotation, perform and play control operation.
Second aspect, the invention provides a kind of method for controlling multimedia, including:
When terminal plays multimedia, the frame deformation quantity of the terminal is detected;
Judge whether the frame deformation quantity of the terminal exceedes default deformation values;
If more than default deformation values, detecting angular velocity of rotation of the terminal in preset time range;Wherein, described
In preset time range, the frame deformation quantity of the terminal exceedes the default deformation values;
Judge whether angular velocity of rotation of the terminal in the preset time range exceedes predetermined threshold value;
If more than predetermined threshold value, being exceeded according to angular velocity of rotation of the terminal in the preset time range described pre-
If the direction of the number of times of threshold value and the angular velocity of rotation, perform and play control operation.
The third aspect, the invention provides a kind of terminal of control multimedia, including:
First detection unit, for when terminal plays multimedia, detecting the variable quantity of the frame electric capacity of the terminal;
First judging unit, for judging whether the variable quantity of frame electric capacity of the terminal exceedes default capacitance;
Second detection unit, during for being when the first judging unit judged result, detects the terminal default
Angular velocity of rotation in time range;Wherein, in the preset time range, the variable quantity of the frame electric capacity of the terminal surpasses
Cross the default capacitance;
Second judging unit, for judging whether angular velocity of rotation of the terminal in the preset time range exceedes
Predetermined threshold value;
First execution unit, during for being when the second judging unit judged result, according to the terminal described
Angular velocity of rotation in preset time range exceedes the number of times of the predetermined threshold value and the direction of the angular velocity of rotation, and execution is broadcast
Put control operation.
Fourth aspect, the invention provides a kind of terminal of control multimedia, including:
First detection unit, for when terminal plays multimedia, detecting the frame deformation quantity of the terminal;
First judging unit, for judging whether the frame deformation quantity of the terminal exceedes default deformation values;
Second detection unit, during for being when the first judging unit judged result, detects the terminal default
Angular velocity of rotation in time range;Wherein, in the preset time range, the frame deformation quantity of the terminal is more than described
Default deformation values;
Second judging unit, for judging whether angular velocity of rotation of the terminal in the preset time range exceedes
Predetermined threshold value;
First execution unit, during for being when the second judging unit judged result, according to the terminal described
Angular velocity of rotation in preset time range exceedes the number of times of the predetermined threshold value and the direction of the angular velocity of rotation, and execution is broadcast
Put control operation.
In above-mentioned technical proposal, when terminal plays multimedia, the variable quantity of the frame electric capacity of terminal is detected;Judge terminal
The variable quantity of frame electric capacity whether exceed default capacitance;If more than default capacitance, detection terminal is in preset time range
Angular velocity of rotation;Wherein, in preset time range, the variable quantity of the frame electric capacity of terminal exceedes default capacitance;Judge terminal
Whether the angular velocity of rotation in preset time range exceedes predetermined threshold value;If more than predetermined threshold value, according to terminal when default
Between in the range of angular velocity of rotation exceed predetermined threshold value number of times and angular velocity of rotation direction, perform play control operation.Phase
Than in the prior art, controlling multimedia broadcasting only by motion sensor, the present invention can also detect the frame of terminal
The variable quantity of electric capacity, can accurately control multimedia broadcasting, the maloperation for effectively preventing terminal multi-media from playing.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the method for control multimedia disclosed in the embodiment of the present invention;
Fig. 2 is the flow chart of the method for another control multimedia disclosed in the embodiment of the present invention;
Fig. 3 is the flow chart of the method for another control multimedia disclosed in the embodiment of the present invention;
Fig. 4 is the flow chart of the method for another control multimedia disclosed in the embodiment of the present invention;
Fig. 5 is a kind of structural representation of the terminal of control multimedia disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of the terminal of another control multimedia disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of the terminal of another control multimedia disclosed in the embodiment of the present invention;
Fig. 8 is the structural representation of the terminal of another control multimedia disclosed in the embodiment of the present invention;
Fig. 9 is the structural representation of the terminal of another control multimedia disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in embodiment of the present invention, the technical scheme in embodiment of the present invention is carried out clear
Chu, it is fully described by.Obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiment party
Formula.Based on the embodiment in the present invention, those of ordinary skill in the art are obtained on the premise of creative work is not made
The every other embodiment obtained, should all belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method and terminal of control multimedia, can effectively prevent terminal multi-media
The maloperation of broadcasting.It is described in detail individually below.
Terminal described in the embodiment of the present invention may include:Mobile phone, tablet personal computer or walkman etc., above-mentioned terminal is only
Citing, and it is non exhaustive, including but not limited to above-mentioned terminal.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of the method for control multimedia disclosed in the embodiment of the present invention.Such as
Shown in Fig. 1, the method for the control multimedia described in the present embodiment, including step:
S101, when terminal plays multimedia, detects the variable quantity of the frame electric capacity of terminal.
In the embodiment of the present invention, the frame electric capacity of terminal can be the left frame of terminal and the electric capacity of left frame formation, be somebody's turn to do
Frame electric capacity is similar with the principle of capacity plate antenna, by the minor variations of distance between frame, causes frame electric capacity to change.
In concrete application scene, by taking mobile phone as an example, for example, during mobile phone to play music, when mobile phone frame is not by external force, mobile phone
Frame electric capacity keep a fixed value, when user hold stop machine frame when, between the left frame and left frame of mobile phone away from
The diminution of defection slightly, the frame electric capacity of mobile phone can increase, and produce variable quantity, and the strength for holding mobile phone frame is bigger, mobile phone
Frame electric capacity is bigger, and the variable quantity of mobile phone frame electric capacity is bigger, and the strength for holding mobile phone frame is smaller, and the frame electric capacity of mobile phone is got over
Small, the variable quantity of mobile phone frame electric capacity is smaller.
S102, judges whether the variable quantity of the frame electric capacity of terminal exceedes default capacitance.
In the embodiment of the present invention, judge whether the variable quantity of the frame electric capacity of terminal exceedes default capacitance, if exceeding, table
It is bright to have obvious gripping action, if being no more than, show without obvious gripping action.
S103, if more than default capacitance, angular velocity of rotation of the detection terminal in preset time range;Wherein, default
In time range, the variable quantity of the frame electric capacity of terminal exceedes default capacitance.
In the embodiment of the present invention, if the variable quantity of the frame electric capacity of terminal exceedes default capacitance, show there is obvious holding
Action, by judging that the variable quantity of frame electric capacity of terminal exceedes default capacitance, it may be determined that there is obvious gripping action.Terminal
The variable quantity of frame electric capacity exceed after default capacitance, angular velocity of rotation of the detection terminal in preset time range, Ke Yitong
The angular velocity of rotation of the motion sensor senses terminal such as gyroscope or acceleration transducer for crossing in terminal.Preset time range
Can exceed one section of preset duration that default capacitance starts in the variable quantity for judging the frame electric capacity of terminal, in preset time
In the range of, the variable quantity of the frame electric capacity of terminal exceedes default capacitance, is to ensure to have hand always in preset time range
The action held continues.Preset time range can be 0.5 second, 0.8 second, 1 second, 1.2 seconds etc., and the embodiment of the present invention is not limited.
In some feasible embodiments, if the variable quantity of the frame electric capacity of terminal is no more than default capacitance, continue
Detect the variable quantity of the frame electric capacity of terminal.
S104, judges whether angular velocity of rotation of the terminal in preset time range exceedes predetermined threshold value.
In the embodiment of the present invention, judge angular velocity of rotation of the terminal in preset time range whether be more than predetermined threshold value
In order to judge whether terminal has the action of rotation in preset time range.Predetermined threshold value can be with default, can also
By user's sets itself, the size of predetermined threshold value can be 3 Radian per seconds (3rad/s), 5 Radian per seconds (5rad/s), 8 radians
(8rad/s) per second etc..
S105, if more than predetermined threshold value, exceeding predetermined threshold value according to angular velocity of rotation of the terminal in preset time range
Number of times and angular velocity of rotation direction, perform play control operation.
In the embodiment of the present invention, if angular velocity of rotation of the terminal in preset time range exceedes predetermined threshold value, show have
The obvious action for rotating terminal.According to angular velocity of rotation of the terminal in preset time range exceed predetermined threshold value number of times and
The direction of angular velocity of rotation, perform play control operation can be terminal system set, can also user set manually, citing come
Say, by taking mobile phone as an example, during mobile phone to play music, when angular velocity of rotation of the mobile phone in preset time range exceedes predetermined threshold value
When, when the number of times that the angular speed that can be arranged in preset time range exceedes predetermined threshold value is 1 time, switch currently playing sound
It is happy, when the number of times that the angular speed in preset time range exceedes predetermined threshold value is 2 times, the currently playing sound of fast forward and fast reverse
It is happy.
In the embodiment of the present invention, step S105 can include:
11) number of times that the angular velocity of rotation when terminal in preset time range exceedes predetermined threshold value is 1 time and the anglec of rotation
When the direction of speed is clockwise direction, execution is switched to a multimedia operations;
12) number of times that the angular velocity of rotation when terminal in preset time range exceedes predetermined threshold value is 1 time and the anglec of rotation
When the direction of speed is counter clockwise direction, execution is switched to next multimedia operations;
13) angular velocity of rotation when terminal in preset time range exceedes the number of times of predetermined threshold value for more than 2 times and revolved
When the direction of tarnsition velocity is clockwise direction, multimedia fast reverse operation is performed;
14) angular velocity of rotation when terminal in preset time range exceedes the number of times of predetermined threshold value for more than 2 times and revolved
When the direction of tarnsition velocity is counter clockwise direction, multimedia forwarding operation is performed.
In the embodiment of the present invention, the number of times that angular velocity of rotation of the terminal in preset time range exceedes predetermined threshold value is root
Exceed the number of times of predetermined threshold value according to instantaneous angular velocity of the terminal in preset time range, the direction of angular velocity of rotation can be inverse
Clockwise, or clockwise.
In the embodiment of the present invention, when terminal plays multimedia, the variable quantity of the frame electric capacity of terminal is detected;Judge terminal
The variable quantity of frame electric capacity whether exceed default capacitance;If more than default capacitance, detection terminal is in preset time range
Angular velocity of rotation;Wherein, in preset time range, the variable quantity of the frame electric capacity of terminal exceedes default capacitance;Judge terminal
Whether the angular velocity of rotation in preset time range exceedes predetermined threshold value;If more than predetermined threshold value, according to terminal when default
Between in the range of angular velocity of rotation exceed predetermined threshold value number of times and angular velocity of rotation direction, perform play control operation.This
Inventive embodiments accurately determine whether obvious gripping action, Ke Yiyou by detecting the variable quantity of the frame electric capacity of terminal
Effect prevents terminal from playing the maloperation of multimedia generation under motion state.
Referring to Fig. 2, Fig. 2 is the flow chart of the method for another control multimedia disclosed in the embodiment of the present invention.
As shown in Fig. 2 the method for the control multimedia described in the present embodiment, including step:
S201, when terminal plays multimedia, detects the variable quantity of the frame electric capacity of terminal.
S202, judges whether the variable quantity of the frame electric capacity of terminal exceedes default capacitance.
S203, if more than default capacitance, detecting the frame deformation quantity of terminal.
In the embodiment of the present invention, after the variable quantity of the frame electric capacity of terminal exceedes default capacitance, continue to detect terminal
Frame deformation quantity.The frame deformation quantity of detection terminal can detect the left frame deformation quantity of terminal and the left frame deformation of terminal
Amount.In concrete application scene, by taking mobile phone as an example, for example, during mobile phone to play music, when mobile phone frame is not by external force, hand
The frame deformation quantity of machine has an initial value, and when user, which holds, stops machine frame, the left frame and left frame of mobile phone occur
Different degrees of bending, produces frame deformation quantity, and the strength for holding mobile phone frame is bigger, and the frame deformation quantity of mobile phone is bigger, hand
Shake hands machine frame strength it is smaller, the frame deformation quantity of mobile phone is smaller.
S204, judges whether the frame deformation quantity of terminal exceedes default deformation values.
In the embodiment of the present invention, judge whether the frame deformation quantity of terminal exceedes the left side that default deformation values may determine that terminal
Whether frame deformation quantity exceedes default deformation values or whether the left frame deformation quantity of terminal exceedes default deformation values, can also sentence
Whether the left frame deformation quantity and left frame deformation quantity of disconnected terminal exceed default deformation values.If the frame deformation quantity of terminal exceedes
Default deformation values, then show there is obvious gripping action, if being no more than, and shows without obvious gripping action.
S205, if more than default deformation values, angular velocity of rotation of the detection terminal in preset time range;Wherein, pre-
If in time range, the frame deformation quantity of terminal exceedes default deformation values, and the variable quantity of the frame electric capacity of terminal exceedes default appearance
Value.
In the embodiment of the present invention, when the variable quantity of the frame electric capacity of terminal exceedes the frame deformation quantity of default capacitance and terminal
During more than default deformation values, angular velocity of rotation of the detection terminal in preset time range.
S206, judges whether angular velocity of rotation of the terminal in preset time range exceedes predetermined threshold value.
S207, if more than predetermined threshold value, exceeding predetermined threshold value according to angular velocity of rotation of the terminal in preset time range
Number of times and angular velocity of rotation direction, perform play control operation.
The step S201- steps S202 of the embodiment of the present invention may refer to the step S101- steps of embodiment illustrated in fig. 1
S102, the step S206- steps S207 of the embodiment of the present invention may refer to the step S104- steps S105 of embodiment illustrated in fig. 1.
In the embodiment of the present invention, when terminal plays multimedia, the variable quantity of the frame electric capacity of terminal is detected;Judge terminal
The variable quantity of frame electric capacity whether exceed default capacitance;If more than default capacitance, detecting the frame deformation quantity of terminal;Judge eventually
Whether the frame deformation quantity at end exceedes default deformation values;If more than default deformation values, detection terminal is in preset time range
Angular velocity of rotation;Wherein, in preset time range, the frame deformation quantity of terminal exceedes default deformation values, the frame electricity of terminal
The variable quantity of appearance exceedes default capacitance;Judge whether angular velocity of rotation of the terminal in preset time range exceedes predetermined threshold value;
If more than predetermined threshold value, the number of times and the anglec of rotation of predetermined threshold value are exceeded according to angular velocity of rotation of the terminal in preset time range
The direction of speed, performs and plays control operation.The embodiment of the present invention is by detecting the variable quantity and frame of the frame electric capacity of terminal
Deformation quantity, further accurately determines whether obvious gripping action, can effectively prevent terminal from playing under motion state many
The maloperation that media are produced.
Referring to Fig. 3, Fig. 3 is the flow chart of the method for another control multimedia disclosed in the embodiment of the present invention.
As shown in figure 3, the method for the control multimedia described in the present embodiment, including step:
S301, when terminal plays multimedia, detects the frame deformation quantity of terminal.
In the embodiment of the present invention, the frame deformation quantity of detection terminal can detect the left frame deformation quantity and terminal of terminal
Left frame deformation quantity.In concrete application scene, by taking mobile phone as an example, for example, during mobile phone to play music, when mobile phone frame not by
During external force, the frame deformation quantity of mobile phone has an initial value, when user, which holds, stops machine frame, the left frame of mobile phone and the right
Different degrees of bending occurs in frame, produces frame deformation quantity, and the strength for holding mobile phone frame is bigger, the frame deformation quantity of mobile phone
Bigger, the strength for holding mobile phone frame is smaller, and the frame deformation quantity of mobile phone is smaller.
S302, judges whether the frame deformation quantity of terminal exceedes default deformation values.
In the embodiment of the present invention, judge whether the frame deformation quantity of terminal exceedes the left side that default deformation values may determine that terminal
Whether frame deformation quantity exceedes default deformation values or whether the left frame deformation quantity of terminal exceedes default deformation values, can also sentence
Whether the left frame deformation quantity and left frame deformation quantity of disconnected terminal exceed default deformation values.If the frame deformation quantity of terminal exceedes
Default deformation values, then show there is obvious gripping action, if being no more than, and shows without obvious gripping action.
S303, if more than default deformation values, angular velocity of rotation of the detection terminal in preset time range;Wherein, pre-
If in time range, the frame deformation quantity of terminal exceedes default deformation values.
In the embodiment of the present invention, if the frame deformation quantity of terminal exceedes default deformation values, show there is obvious gripping action,
By judging that the frame deformation quantity of terminal exceedes default deformation values, it may be determined that there is obvious gripping action.The frame shape of terminal
Variable exceedes after default deformation values, angular velocity of rotation of the detection terminal in preset time range, can pass through the top in terminal
The angular velocity of rotation of the motion sensor senses terminal such as spiral shell instrument or acceleration transducer.Preset time range can judged
The frame deformation quantity for going out terminal exceedes one section of preset duration that default deformation values start, the frame of terminal in preset time range
Deformation quantity exceedes default deformation values, is to ensure always to have in preset time range the action of holding to continue.Preset time
Scope can be 0.5 second, 0.8 second, 1 second, 1.2 seconds etc., and the embodiment of the present invention is not limited.
S304, judges whether angular velocity of rotation of the terminal in preset time range exceedes predetermined threshold value.
In the embodiment of the present invention, judge angular velocity of rotation of the terminal in preset time range whether be more than predetermined threshold value
In order to judge whether terminal has the action of rotation in preset time range.Predetermined threshold value can be with default, can also
By user's sets itself, the size of predetermined threshold value can be 3 Radian per seconds (3rad/s), 5 Radian per seconds (5rad/s), 8 radians
(8rad/s) per second etc..
S305, if more than predetermined threshold value, exceeding predetermined threshold value according to angular velocity of rotation of the terminal in preset time range
Number of times and angular velocity of rotation direction, perform play control operation.
In the embodiment of the present invention, if angular velocity of rotation of the terminal in preset time range exceedes predetermined threshold value, show have
The obvious action for rotating terminal.According to angular velocity of rotation of the terminal in preset time range exceed predetermined threshold value number of times and
The direction of angular velocity of rotation, perform play control operation can be terminal system set, can also user set manually, citing come
Say, by taking mobile phone as an example, during mobile phone to play music, when angular velocity of rotation of the mobile phone in preset time range exceedes predetermined threshold value
When, when the number of times that the angular speed that can be arranged in preset time range exceedes predetermined threshold value is 1 time, switch currently playing sound
It is happy, when the number of times that the angular speed in preset time range exceedes predetermined threshold value is 2 times, the currently playing sound of fast forward and fast reverse
It is happy.
In the embodiment of the present invention, when terminal plays multimedia, the frame deformation quantity of terminal is detected;Judge the frame of terminal
Whether deformation quantity exceedes default deformation values;If more than default deformation values, anglec of rotation speed of the detection terminal in preset time range
Degree;Wherein, in preset time range, the frame deformation quantity of terminal exceedes default deformation values;Judge terminal in preset time model
Whether the angular velocity of rotation in enclosing exceedes predetermined threshold value;If more than predetermined threshold value, according to rotation of the terminal in preset time range
Tarnsition velocity exceedes the number of times of predetermined threshold value and the direction of angular velocity of rotation, performs and plays control operation.The embodiment of the present invention is led to
The frame deformation quantity of detection terminal is crossed, obvious gripping action is accurately determined whether, can effectively prevent terminal in motion shape
The maloperation that multimedia is produced is played under state.
Referring to Fig. 4, Fig. 4 is the flow chart of the method for another control multimedia disclosed in the embodiment of the present invention.
As shown in figure 4, the method for the control multimedia described in the present embodiment, including step:
S401, when terminal plays multimedia, detects the frame deformation quantity of terminal.
S402, judges whether the frame deformation quantity of terminal exceedes default deformation values.
S403, if more than default deformation values, detecting the variable quantity of the frame electric capacity of terminal.
In the embodiment of the present invention, after the frame deformation quantity of terminal exceedes default deformation values, continue to detect the frame of terminal
The variable quantity of electric capacity.The frame electric capacity of inspection terminal can be the left frame of terminal and the electric capacity of left frame formation, the frame electric capacity
It is similar with the principle of capacity plate antenna, by the minor variations of distance between frame, cause frame electric capacity to change.Concrete application
In scene, by taking mobile phone as an example, for example, during mobile phone to play music, when mobile phone frame is not by external force, the frame electric capacity of mobile phone
A fixed value is kept, when user, which holds, stops machine frame, the distance between left frame and left frame of mobile phone can slightly
Diminution, the frame electric capacity of mobile phone can increase, and produce variable quantity, and the strength for holding mobile phone frame is bigger, the frame electric capacity of mobile phone
Bigger, the variable quantity of mobile phone frame electric capacity is bigger, and the strength for holding mobile phone frame is smaller, and the frame electric capacity of mobile phone is smaller, mobile phone
The variable quantity of frame electric capacity is smaller.
S404, judges whether the variable quantity of the frame electric capacity of terminal exceedes default capacitance.
In the embodiment of the present invention, judge whether the variable quantity of the frame electric capacity of terminal exceedes default capacitance, if exceeding, table
It is bright to have obvious gripping action, if being no more than, show without obvious gripping action.
S405, if more than default capacitance, angular velocity of rotation of the detection terminal in preset time range;Wherein, default
In time range, the frame deformation quantity of terminal exceedes default deformation values, and the variable quantity of the frame electric capacity of terminal exceedes default capacitance.
In the embodiment of the present invention, when the variable quantity of the frame electric capacity of terminal exceedes the frame deformation quantity of default capacitance and terminal
During more than default deformation values, angular velocity of rotation of the detection terminal in preset time range.
S406, judges whether angular velocity of rotation of the terminal in preset time range exceedes predetermined threshold value.
S407, if more than predetermined threshold value, exceeding predetermined threshold value according to angular velocity of rotation of the terminal in preset time range
Number of times and angular velocity of rotation direction, perform play control operation.
The step S401- steps S402 of the embodiment of the present invention may refer to the step S301- steps of embodiment illustrated in fig. 3
S302, the step S406- steps S407 of the embodiment of the present invention may refer to the step S304- steps S305 of embodiment illustrated in fig. 3.
In the embodiment of the present invention, when terminal plays multimedia, the frame deformation quantity of terminal is detected;Judge the frame of terminal
Whether deformation quantity exceedes default deformation values;If more than default deformation values, detecting the variable quantity of the frame electric capacity of terminal;Judge terminal
The variable quantity of frame electric capacity whether exceed default capacitance;If more than default capacitance, detection terminal is in preset time range
Angular velocity of rotation;Wherein, in preset time range, the frame deformation quantity of terminal exceedes default deformation values, the frame electricity of terminal
The variable quantity of appearance exceedes default capacitance;Judge whether angular velocity of rotation of the terminal in preset time range exceedes predetermined threshold value;
If more than predetermined threshold value, the number of times and the anglec of rotation of predetermined threshold value are exceeded according to angular velocity of rotation of the terminal in preset time range
The direction of speed, performs and plays control operation.The embodiment of the present invention is by detecting the frame deformation quantity and frame electric capacity of terminal
Variable quantity, further accurately determines whether obvious gripping action, can effectively prevent terminal from playing under motion state many
The maloperation that media are produced.
Referring to Fig. 5, Fig. 5 is a kind of structural representation of the terminal of control multimedia disclosed in the embodiment of the present invention
Figure.As shown in figure 5, the terminal described in the present embodiment, including the first detection unit 301, the first judging unit 302, second
Detection unit 303, the second judging unit 304 and the first execution unit 305, wherein:
First detection unit 301, for when terminal plays multimedia, detecting the variable quantity of the frame electric capacity of terminal.
In the embodiment of the present invention, the variable quantity of the frame electric capacity of the first detection unit 301 detection terminal.The frame electricity of terminal
It can be the left frame of terminal and the electric capacity of left frame formation to hold, and the frame electric capacity is similar with the principle of capacity plate antenna, passes through side
The minor variations of distance between frame, cause frame electric capacity to change.In concrete application scene, by taking mobile phone as an example, for example,
During mobile phone to play music, when mobile phone frame is not by external force, the frame electric capacity of mobile phone keeps a fixed value, when user holds
Stop machine frame when, the distance between left frame and left frame of mobile phone can diminution slightly, the frame electric capacity of mobile phone can increase,
Variable quantity is produced, the strength for holding mobile phone frame is bigger, and the frame electric capacity of mobile phone is bigger, and the variable quantity of mobile phone frame electric capacity is got over
Greatly, the strength for holding mobile phone frame is smaller, and the frame electric capacity of mobile phone is smaller, and the variable quantity of mobile phone frame electric capacity is smaller.
First judging unit 302, for judging whether the variable quantity of frame electric capacity of terminal exceedes default capacitance.
In the embodiment of the present invention, it is default that the first judging unit 302 judges whether the variable quantity of the frame electric capacity of terminal exceedes
Capacitance, if exceeding, shows there is obvious gripping action, if being no more than, and shows without obvious gripping action.
Second detection unit 303, during for being when the judged result of the first judging unit 302, detection terminal is when default
Between in the range of angular velocity of rotation;Wherein, in preset time range, the variable quantity of the frame electric capacity of terminal exceedes default appearance
Value.
In the embodiment of the present invention, if the first judging unit 302 judges that the variable quantity of the frame electric capacity of terminal exceedes default appearance
Value, shows there is obvious gripping action, by judging that the variable quantity of frame electric capacity of terminal exceedes default capacitance, it may be determined that have
Obvious gripping action.The variable quantity of the frame electric capacity of terminal exceedes after default capacitance, and the second detection unit 303 detection terminal exists
Angular velocity of rotation in preset time range, can pass through the motion sensors such as the gyroscope or acceleration transducer in terminal
Detect the angular velocity of rotation of terminal.Preset time range can exceed to preset in the variable quantity for judging the frame electric capacity of terminal
One section of preset duration that capacitance starts, in preset time range, the variable quantity of the frame electric capacity of terminal exceedes default capacitance, is
In order to ensure always to have in preset time range the action of holding to continue.Preset time range can be 0.5 second, 0.8 second, 1
Second, 1.2 seconds etc., the embodiment of the present invention is not limited.
In some feasible embodiments, the first judging unit 302 judges that the variable quantity of the frame electric capacity of terminal does not surpass
When crossing default capacitance, the first detection unit 301 continues to detect the variable quantity of the frame electric capacity of terminal.
Second judging unit 304, for judging it is default whether angular velocity of rotation of the terminal in preset time range exceedes
Threshold value.
In the embodiment of the present invention, the second judging unit 304 judges that angular velocity of rotation of the terminal in preset time range is
The no predetermined threshold value that exceedes is to judge whether terminal has the action of rotation in preset time range.Predetermined threshold value can be with
Default, can also be by user's sets itself, and the size of predetermined threshold value can be 3 Radian per seconds (3rad/s), 5 Radian per seconds
(5rad/s), 8 Radian per seconds (8rad/s) etc..
First execution unit 305, during for being when the judged result of the second judging unit 304, according to terminal when default
Between in the range of angular velocity of rotation exceed predetermined threshold value number of times and angular velocity of rotation direction, perform play control operation.
In the embodiment of the present invention, if angular velocity of rotation of the terminal in preset time range exceedes predetermined threshold value, show have
The obvious action for rotating terminal.First execution unit 305 exceedes according to angular velocity of rotation of the terminal in preset time range
The number of times of predetermined threshold value and the direction of angular velocity of rotation, it can be that terminal system is set to perform and play control operation, can also be used
Family is set manually, for example, by taking mobile phone as an example, during mobile phone to play music, when the anglec of rotation of the mobile phone in preset time range
When speed exceedes predetermined threshold value, when the number of times that the angular speed that can be arranged in preset time range exceedes predetermined threshold value is 1 time,
The currently playing music of switching, when the number of times that the angular speed in preset time range exceedes predetermined threshold value is 2 times, F.F. or fast
Move back currently playing music.
Optionally, as shown in fig. 6, the first execution unit 305 can include:
First performs subelement 3051, exceedes predetermined threshold value for the angular velocity of rotation when terminal in preset time range
Number of times when being that the direction of 1 time and angular velocity of rotation is clockwise direction, execution is switched to a multimedia operations;
Second performs subelement 3052, exceedes predetermined threshold value for the angular velocity of rotation when terminal in preset time range
Number of times when being that the direction of 1 time and angular velocity of rotation is counter clockwise direction, execution is switched to next multimedia operations;
3rd performs subelement 3053, exceedes predetermined threshold value for the angular velocity of rotation when terminal in preset time range
Number of times when being that the direction of more than 2 times and angular velocity of rotation is clockwise direction, perform multimedia fast reverse operation;
4th performs subelement 3054, exceedes predetermined threshold value for the angular velocity of rotation when terminal in preset time range
Number of times when being that the direction of more than 2 times and angular velocity of rotation is counter clockwise direction, perform multimedia forwarding operation.
In the embodiment of the present invention, the number of times that angular velocity of rotation of the terminal in preset time range exceedes predetermined threshold value is root
Exceed the number of times of predetermined threshold value according to instantaneous angular velocity of the terminal in preset time range, the direction of angular velocity of rotation can be inverse
Clockwise, or clockwise.
In the embodiment of the present invention, when terminal plays multimedia, the frame electric capacity of the first detection unit 301 detection terminal
Variable quantity;First judging unit 302 judges whether the variable quantity of the frame electric capacity of terminal exceedes default capacitance;If more than default appearance
Value, the second detection unit 303 detects angular velocity of rotation of the terminal in preset time range;Wherein, in preset time range,
The variable quantity of the frame electric capacity of terminal exceedes default capacitance;Second judging unit 304 judges terminal in preset time range
Whether angular velocity of rotation exceedes predetermined threshold value;If more than predetermined threshold value, the first execution unit 305 is according to terminal in preset time model
Angular velocity of rotation in enclosing exceedes the number of times of predetermined threshold value and the direction of angular velocity of rotation, performs and plays control operation.The present invention
Embodiment accurately determines whether obvious gripping action, can effectively prevented by detecting the variable quantity of the frame electric capacity of terminal
Only terminal plays the maloperation of multimedia generation under motion state.
Referring to Fig. 7, Fig. 7 is the structural representation of the terminal of another control multimedia disclosed in the embodiment of the present invention
Figure.As shown in fig. 7, the terminal described in the present embodiment is in addition to including the unit shown in Fig. 5, the 3rd detection can also be included single
First 306, the 3rd judging unit 307 and the second execution unit 308.
3rd detection unit 306, during for being when the judged result of the first judging unit 302, detects the frame shape of terminal
Variable.
In the embodiment of the present invention, when the first judging unit 302 judges that the variable quantity of the frame electric capacity of terminal exceedes default appearance
After value, the 3rd detection unit 306 detects the frame deformation quantity of terminal.The frame deformation quantity of detection terminal can detect a left side for terminal
The left frame deformation quantity of frame deformation quantity and terminal.In concrete application scene, by taking mobile phone as an example, for example, mobile phone plays sound
When happy, when mobile phone frame is not by external force, the frame deformation quantity of mobile phone has an initial value, when user holds machine frame of stopping
When, different degrees of bending occurs in the left frame and left frame of mobile phone, produces frame deformation quantity, holds the strength of mobile phone frame
Bigger, the frame deformation quantity of mobile phone is bigger, and the strength for holding mobile phone frame is smaller, and the frame deformation quantity of mobile phone is smaller.
3rd judging unit 307, for judging whether the frame deformation quantity of terminal exceedes default deformation values.
In the embodiment of the present invention, the 3rd judging unit 307 judges whether the frame deformation quantity of terminal exceedes default deformation values
It may determine that whether whether the left frame deformation quantity of terminal exceed the left frame deformation quantity of default deformation values or terminal more than pre-
If deformation values, it can also judge whether the left frame deformation quantity and left frame deformation quantity of terminal exceed default deformation values.If eventually
The frame deformation quantity at end exceedes default deformation values, then shows there is obvious gripping action, if being no more than, and shows without obvious
Gripping action.
Second execution unit 308, during for being when the judged result of the 3rd judging unit 307, triggers the second detection unit
Angular velocity of rotation of the 303 detection terminals in preset time range;Wherein, in preset time range, the frame deformation of terminal
Amount exceedes default deformation values, and the variable quantity of the frame electric capacity of terminal exceedes default capacitance.
In the embodiment of the present invention, when the variable quantity of the frame electric capacity of terminal exceedes the frame deformation quantity of default capacitance and terminal
During more than default deformation values, the second execution unit 308 triggers the second detection unit 303 and detects terminal in preset time range
Angular velocity of rotation.
In the embodiment of the present invention, when terminal plays multimedia, the frame electric capacity of the first detection unit 301 detection terminal
Variable quantity;First judging unit 302 judges whether the variable quantity of the frame electric capacity of terminal exceedes default capacitance;If more than default appearance
Value, the 3rd detection unit 306 detects the frame deformation quantity of terminal;3rd judging unit 307 judges that the frame deformation quantity of terminal is
It is no to exceed default deformation values;If more than default deformation values, the second execution unit 308 triggers the second detection unit 303 detection terminal
Angular velocity of rotation in preset time range;Wherein, in preset time range, the frame deformation quantity of terminal exceedes default shape
Variate, the variable quantity of the frame electric capacity of terminal exceedes default capacitance;Second judging unit 304 judges terminal in preset time range
Whether interior angular velocity of rotation exceedes predetermined threshold value;If more than predetermined threshold value, the first execution unit 305 is according to terminal when default
Between in the range of angular velocity of rotation exceed predetermined threshold value number of times and angular velocity of rotation direction, perform play control operation.This
Inventive embodiments are further accurately determined whether substantially by detecting the variable quantity and frame deformation quantity of the frame electric capacity of terminal
Gripping action, can effectively prevent terminal played under motion state multimedia generation maloperation.
Referring to Fig. 8, Fig. 8 is the structural representation of the terminal of another control multimedia disclosed in the embodiment of the present invention
Figure.As shown in figure 8, the terminal described in the present embodiment, including the first detection unit 401, the first judging unit 402, second
Detection unit 403, the second judging unit 404 and the first execution unit 405, wherein:
First detection unit 401, for when terminal plays multimedia, detecting the frame deformation quantity of terminal.
In the embodiment of the present invention, the frame deformation quantity of the first detection unit 401 detection terminal can detect the left side of terminal
The left frame deformation quantity of frame deformation quantity and terminal.In concrete application scene, by taking mobile phone as an example, for example, mobile phone to play music
When, when mobile phone frame is not by external force, the frame deformation quantity of mobile phone has an initial value, when user, which holds, stops machine frame,
Different degrees of bending occurs in the left frame and left frame of mobile phone, produces frame deformation quantity, and the strength for holding mobile phone frame is got over
Greatly, the frame deformation quantity of mobile phone is bigger, and the strength for holding mobile phone frame is smaller, and the frame deformation quantity of mobile phone is smaller.
First judging unit 402, for judging whether the frame deformation quantity of terminal exceedes default deformation values.
In the embodiment of the present invention, the first judging unit 402 judges whether the frame deformation quantity of terminal exceedes default deformation values
It may determine that whether whether the left frame deformation quantity of terminal exceed the left frame deformation quantity of default deformation values or terminal more than pre-
If deformation values, it can also judge whether the left frame deformation quantity and left frame deformation quantity of terminal exceed default deformation values.If eventually
The frame deformation quantity at end exceedes default deformation values, then shows there is obvious gripping action, if being no more than, and shows without obvious
Gripping action.
Second detection unit 403, during for being when the judged result of the first judging unit 402, detection terminal is when default
Between in the range of angular velocity of rotation;Wherein, in preset time range, the frame deformation quantity of terminal exceedes default deformation values.
In the embodiment of the present invention, if the first judging unit 402 judges that the frame deformation quantity of terminal exceedes default deformation values, table
It is bright to have obvious gripping action, by judging that the frame deformation quantity of terminal exceedes default deformation values, it may be determined that there is obvious hand
Hold action.The frame deformation quantity of terminal exceedes after default deformation values, and the second detection unit 403 detects terminal in preset time range
Interior angular velocity of rotation, can be by the rotations of the motion sensor senses terminals such as the gyroscope or acceleration transducer in terminal
Tarnsition velocity.Preset time range can be the frame deformation quantity for judging terminal exceed one section that default deformation values start it is pre-
If duration, the frame deformation quantity of terminal exceedes default deformation values in preset time range, is to ensure in preset time model
The action for having holding in enclosing always continues.Preset time range can be 0.5 second, 0.8 second, 1 second, 1.2 seconds etc., and the present invention is implemented
Example is not limited.
Second judging unit 404, for judging it is default whether angular velocity of rotation of the terminal in preset time range exceedes
Threshold value.
In the embodiment of the present invention, the second judging unit 404 judges that angular velocity of rotation of the terminal in preset time range is
The no predetermined threshold value that exceedes is to judge whether terminal has the action of rotation in preset time range.Predetermined threshold value can be with
Default, can also be by user's sets itself, and the size of predetermined threshold value can be 3 Radian per seconds (3rad/s), 5 Radian per seconds
(5rad/s), 8 Radian per seconds (8rad/s) etc..
First execution unit 405, during for being when the second judging unit judged result, according to terminal in preset time model
Angular velocity of rotation in enclosing exceedes the number of times of predetermined threshold value and the direction of angular velocity of rotation, performs and plays control operation.
In the embodiment of the present invention, if angular velocity of rotation of the terminal in preset time range exceedes predetermined threshold value, show have
The obvious action for rotating terminal.First execution unit 405 exceedes according to angular velocity of rotation of the terminal in preset time range
The number of times of predetermined threshold value and the direction of angular velocity of rotation, it can be that terminal system is set to perform and play control operation, can also be used
Family is set manually, for example, by taking mobile phone as an example, during mobile phone to play music, when the anglec of rotation of the mobile phone in preset time range
When speed exceedes predetermined threshold value, when the number of times that the angular speed that can be arranged in preset time range exceedes predetermined threshold value is 1 time,
The currently playing music of switching, when the number of times that the angular speed in preset time range exceedes predetermined threshold value is 2 times, F.F. or fast
Move back currently playing music.
In the embodiment of the present invention, when terminal plays multimedia, the first detection unit 401 detects the frame deformation of terminal
Amount;First judging unit 402 judges whether the frame deformation quantity of terminal exceedes default deformation values;If exceeding default deformation values, the
Two detection units 403 detect angular velocity of rotation of the terminal in preset time range;Wherein, in preset time range, terminal
Frame deformation quantity exceed default deformation values;Second judging unit 404 judges anglec of rotation speed of the terminal in preset time range
Whether degree exceedes predetermined threshold value;If more than predetermined threshold value, rotation of first execution unit 405 according to terminal in preset time range
Tarnsition velocity exceedes the number of times of predetermined threshold value and the direction of angular velocity of rotation, performs and plays control operation.The embodiment of the present invention is led to
The frame deformation quantity of detection terminal is crossed, obvious gripping action is accurately determined whether, can effectively prevent terminal in motion shape
The maloperation that multimedia is produced is played under state.
Referring to Fig. 9, Fig. 9 is the structural representation of the terminal of another control multimedia disclosed in the embodiment of the present invention
Figure.As shown in figure 9, the terminal described in the present embodiment is in addition to including the unit shown in Fig. 8, the 3rd detection can also be included single
First 406, the 3rd judging unit 407 and the second execution unit 408.
3rd detection unit 406, during for being when the judged result of the first judging unit 402, detects the frame electricity of terminal
The variable quantity of appearance.
In the embodiment of the present invention, after the first judging unit 402 judges that the frame deformation quantity of terminal exceedes default deformation values,
The variable quantity of the frame electric capacity of 3rd detection unit 406 detection terminal.The frame electric capacity of inspection terminal can be the left frame of terminal
The electric capacity formed with left frame, the frame electric capacity is similar with the principle of capacity plate antenna, by the minor variations of distance between frame,
Frame electric capacity is caused to change.In concrete application scene, by taking mobile phone as an example, for example, during mobile phone to play music, work as mobile phone
When frame is not by external force, the frame electric capacity of mobile phone keeps a fixed value, when user, which holds, stops machine frame, a left side for mobile phone
The diminution of the distance between frame and left frame meeting slightly, the frame electric capacity of mobile phone can increase, and produce variable quantity, hold mobile phone side
The strength of frame is bigger, and the frame electric capacity of mobile phone is bigger, and the variable quantity of mobile phone frame electric capacity is bigger, and the strength for holding mobile phone frame is got over
Small, the frame electric capacity of mobile phone is smaller, and the variable quantity of mobile phone frame electric capacity is smaller.
3rd judging unit 407, for judging whether the variable quantity of frame electric capacity of terminal exceedes default capacitance.
In the embodiment of the present invention, it is default that the 3rd judging unit 407 judges whether the variable quantity of the frame electric capacity of terminal exceedes
Capacitance, if exceeding, shows there is obvious gripping action, if being no more than, and shows without obvious gripping action.
Second execution unit 408, during for being when the judged result of the 3rd judging unit 407, triggers the second detection unit
Angular velocity of rotation of the 403 detection terminals in preset time range;Wherein, in preset time range, the frame electric capacity of terminal
Variable quantity exceed default capacitance, the frame deformation values of terminal exceed default deformation values.
In the embodiment of the present invention, when the variable quantity of the frame electric capacity of terminal exceedes the frame deformation quantity of default capacitance and terminal
During more than default deformation values, the second execution unit 408 triggers the second detection unit 403 and detects terminal in preset time range
Angular velocity of rotation.
In the embodiment of the present invention, when terminal plays multimedia, the first detection unit 401 detects the frame deformation of terminal
Amount;First judging unit 402 judges whether the frame deformation quantity of terminal exceedes default deformation values;If exceeding default deformation values, the
The variable quantity of the frame electric capacity of three detection units 406 detection terminal;3rd judging unit 407 judges the change of the frame electric capacity of terminal
Whether change amount exceedes default capacitance;If more than default capacitance, the second execution unit 408 triggers the second detection unit 403 and detects end
Hold the angular velocity of rotation in preset time range;Wherein, in preset time range, the frame deformation quantity of terminal, which exceedes, to be preset
Deformation values, the variable quantity of the frame electric capacity of terminal exceedes default capacitance;Second judging unit 404 judges terminal in preset time model
Whether the angular velocity of rotation in enclosing exceedes predetermined threshold value;If more than predetermined threshold value, the first execution unit 405 is according to terminal default
Angular velocity of rotation in time range exceedes the number of times of predetermined threshold value and the direction of angular velocity of rotation, performs and plays control operation.
The embodiment of the present invention accurately determines whether bright by detecting the frame deformation quantity of terminal and the variable quantity of frame electric capacity, further
Aobvious gripping action, can effectively prevent terminal from playing the maloperation of multimedia generation under motion state.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage
Medium can include:Flash disk, read-only storage (Read-Only Memory, ROM), random access device (Random Access
Memory, RAM), disk or CD etc..
The method and terminal of a kind of control multimedia provided above the embodiment of the present invention have carried out detailed Jie
Continue, specific case used herein is set forth to the principle and embodiment of the present invention, the explanation of above example is only
It is the method and its core concept for being used to help understand the present invention;Simultaneously for those of ordinary skill in the art, according to this hair
Bright thought, be will change in specific embodiments and applications, in summary, and this specification content should not be managed
Solve as limitation of the present invention.
Claims (4)
1. a kind of method for controlling multimedia, it is characterised in that including:
When terminal plays multimedia, the variable quantity of the frame electric capacity of the terminal is detected;
Judge whether the variable quantity of the frame electric capacity of the terminal exceedes default capacitance, if showing there is bright more than the default capacitance
The action of the aobvious holding terminal;
It will determine that out that the variable quantity of the frame electric capacity of the terminal exceedes one section of first preset duration that the default capacitance starts
The first preset time range is defined as, in first preset time range, if the variable quantity of the frame electric capacity of the terminal
More than the default capacitance, the frame deformation quantity of the terminal is detected;
Judge whether the frame deformation quantity of the terminal exceedes default deformation values;Surface has bright if the default deformation values are exceeded
The action of the aobvious holding terminal;
It will determine that out that the frame deformation quantity is defined as second more than one section of second preset duration of the default deformation values and preset
Time range;
If more than default deformation values, detecting angular velocity of rotation of the terminal in second preset time range;
Judge whether angular velocity of rotation of the terminal in second preset time range exceedes predetermined threshold value;
If more than the predetermined threshold value, being exceeded according to angular velocity of rotation of the terminal in the preset time range described pre-
If the direction of the number of times of threshold value and the angular velocity of rotation, perform the broadcasting control operation that pre-sets, it is described to pre-set
Control operation is played to be set by the terminal system or set manually by user;
The direction of the angular velocity of rotation includes counter clockwise direction or clockwise direction;
The angular velocity of rotation according to the terminal in the preset time range exceed the predetermined threshold value number of times and
The direction of the angular velocity of rotation, performs and plays control operation, including:
When the number of times that angular velocity of rotation of the terminal in second preset time range exceedes the predetermined threshold value is 1 time
And the direction of the angular velocity of rotation be clockwise direction when, execution be switched to a multimedia operations;
When the number of times that angular velocity of rotation of the terminal in second preset time range exceedes the predetermined threshold value is 1 time
And the direction of the angular velocity of rotation be counter clockwise direction when, execution be switched to next multimedia operations;
When the number of times that angular velocity of rotation of the terminal in second preset time range exceedes the predetermined threshold value is 2 times
Above and the angular velocity of rotation direction be clockwise direction when, perform multimedia fast reverse operation;
When the number of times that angular velocity of rotation of the terminal in second preset time range exceedes the predetermined threshold value is 2 times
Above and the angular velocity of rotation direction be counter clockwise direction when, perform multimedia forwarding operation.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
When the variable quantity of the frame electric capacity of the terminal is no more than default capacitance, continue to detect the frame electric capacity of the terminal
Variable quantity.
3. a kind of terminal of control multimedia, it is characterised in that including:
First detection unit, for when terminal plays multimedia, detecting the variable quantity of the frame electric capacity of the terminal;
First judging unit, will determine that out that the variable quantity of the frame electric capacity of the terminal exceedes one section first that default capacitance starts
Preset duration is defined as the first preset time range, for judging the frame electric capacity of the terminal in the first preset time model
Whether the variable quantity in enclosing exceedes the default capacitance, and the terminal is significantly held if showing to have more than the default capacitance
Action;
3rd detection unit, during for being when the first judging unit judged result, detects the frame deformation of the terminal
Amount;
3rd judging unit, for judging whether the frame deformation quantity of the terminal exceedes default deformation values, if more than described pre-
If then there is the action for significantly holding the terminal on surface to deformation values;
Second execution unit, will determine that out that the frame deformation quantity is determined more than one section of second preset duration of the default deformation values
Justice is the second preset time range, during for being when the 3rd judging unit judged result, triggering the second detection unit inspection
Survey angular velocity of rotation of the terminal in second preset time range;
Second detection unit, during for being when the first judging unit judged result, detects the terminal described second
Angular velocity of rotation in preset time range;
Second judging unit, for judging whether angular velocity of rotation of the terminal in second preset time range exceedes
Predetermined threshold value;
First execution unit, during for being when the second judging unit judged result, according to the terminal described second
Angular velocity of rotation in preset time range exceedes the number of times of the predetermined threshold value and the direction of the angular velocity of rotation, performs pre-
The broadcasting control operation first set, the broadcasting control operation pre-set is set by the terminal system or by user's hand
It is dynamic to set;
The direction of the angular velocity of rotation includes counter clockwise direction or clockwise direction;
First execution unit includes:
First performs subelement, exceedes for the angular velocity of rotation when the terminal in second preset time range described
When the number of times of predetermined threshold value is that the direction of 1 time and the angular velocity of rotation is clockwise direction, execution is switched to matchmaker more than one
Gymnastics is made;
Second performs subelement, exceedes for the angular velocity of rotation when the terminal in second preset time range described
When the number of times of predetermined threshold value is that the direction of 1 time and the angular velocity of rotation is counter clockwise direction, execution is switched to next many matchmakers
Gymnastics is made;
3rd performs subelement, exceedes for the angular velocity of rotation when the terminal in second preset time range described
When the number of times of predetermined threshold value is that the direction of more than 2 times and the angular velocity of rotation is clockwise direction, multimedia rewind behaviour is performed
Make;
4th performs subelement, exceedes for the angular velocity of rotation when the terminal in second preset time range described
When the number of times of predetermined threshold value is that the direction of more than 2 times and the angular velocity of rotation is counter clockwise direction, multimedia F.F. behaviour is performed
Make.
4. terminal according to claim 3, it is characterised in that
When the variable quantity of the frame electric capacity of the terminal is no more than default capacitance, first detection unit continues to detect described
The variable quantity of the frame electric capacity of terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510136890.3A CN104778952B (en) | 2015-03-25 | 2015-03-25 | A kind of method and terminal of control multimedia |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510136890.3A CN104778952B (en) | 2015-03-25 | 2015-03-25 | A kind of method and terminal of control multimedia |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104778952A CN104778952A (en) | 2015-07-15 |
CN104778952B true CN104778952B (en) | 2017-09-29 |
Family
ID=53620379
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510136890.3A Expired - Fee Related CN104778952B (en) | 2015-03-25 | 2015-03-25 | A kind of method and terminal of control multimedia |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104778952B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109327732B (en) * | 2018-08-29 | 2020-11-24 | 广州视源电子科技股份有限公司 | Multimedia file playing control method and device, computer equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877744A (en) * | 2010-06-22 | 2010-11-03 | 中兴通讯股份有限公司 | Terminal locking and unlocking method and device |
CN102362251A (en) * | 2008-12-30 | 2012-02-22 | 法国电信公司 | User interface to provide enhanced control of an application program |
CN103902180A (en) * | 2012-12-28 | 2014-07-02 | 联想(北京)有限公司 | Information processing method and electronic equipment |
-
2015
- 2015-03-25 CN CN201510136890.3A patent/CN104778952B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102362251A (en) * | 2008-12-30 | 2012-02-22 | 法国电信公司 | User interface to provide enhanced control of an application program |
CN101877744A (en) * | 2010-06-22 | 2010-11-03 | 中兴通讯股份有限公司 | Terminal locking and unlocking method and device |
CN103902180A (en) * | 2012-12-28 | 2014-07-02 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104778952A (en) | 2015-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6265401B2 (en) | Method and terminal for playing media | |
KR102459521B1 (en) | Apparatus including a touch screen and method for controlling the same | |
CN102508560B (en) | Application program switching method and device based on mobile terminal | |
CN102364422B (en) | For by the method for action induction activation manipulation menu, device and mobile terminal | |
JP5868497B2 (en) | Create custom vibration patterns according to user input | |
US20070046561A1 (en) | Mobile communication terminal for displaying information | |
CN103295604B (en) | Method, device and terminal that a kind of control terminal is play | |
CN105260093A (en) | Method and device for intelligently setting screen rotation and mobile terminal | |
CN103152465A (en) | Method for raising or lowering volume of mobile phone with triple-axis acceleration sensor | |
CN104123075B (en) | The method of control terminal and device | |
CN104778952B (en) | A kind of method and terminal of control multimedia | |
JP2013055376A5 (en) | ||
CN104079836A (en) | Photographing method and device based on mobile terminal | |
CN105159565B (en) | A kind of audio amplifier control method for playing back and intelligent watch | |
WO2007086386A1 (en) | Device with touch sensor | |
CN104967774A (en) | Dual-camera shooting control method and terminal | |
CN104460997B (en) | A kind of method and terminal for realizing music switching | |
CN108509620A (en) | Song recognition method and device, storage medium | |
CN105389086A (en) | Music application operation method and apparatus | |
CN101727266A (en) | Handheld electronic device and vernier control method thereof | |
CN103209260B (en) | Method and device used for processing events to be processed and based on mobile terminal | |
CN110309348A (en) | Playback of songs method, apparatus and system | |
JP2007072977A5 (en) | ||
CN104407705A (en) | Method for operating picture through air gesture and electronic terminal | |
US20190204935A1 (en) | Line control device and line control method for user terminal |
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 |
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. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170929 |
|
CF01 | Termination of patent right due to non-payment of annual fee |