Summary of the invention
Embodiments of the invention provide a kind of video control method and mobile phone terminal, by the displacement parameter of preset mobile phone terminal and the corresponding relation between video control operation, realized by different directions whipping this mobile phone terminal function that just next part switches on displaying video carries out.
For achieving the above object, embodiments of the invention adopt following technical scheme:
Embodiments of the invention provide a kind of video control method, are applied to mobile phone terminal in the process of displaying video, and described method comprises:
Described mobile phone terminal obtains the displacement parameter of self, and described displacement parameter generates in response to user's whipping for described mobile phone terminal, and wherein, described displacement parameter comprises shift value and the displacement time of described mobile phone terminal;
According to described displacement parameter, calculate the value of the acceleration in predefined all directions;
If the value of acceleration is in a first direction greater than the first predetermined threshold value, described mobile phone terminal generates the first switching command, and described the first switching command is used to indicate and switches the video of current broadcasting to the Shang Yiji of current broadcasting collection of drama;
If the value of the acceleration in second direction is greater than described the first predetermined threshold value, described mobile phone terminal generates the second switching command, described the second switching command is used to indicate and switches the video of current broadcasting to next collection of current broadcasting collection of drama, wherein, described second direction is parallel and contrary with described first direction;
Described mobile phone terminal carries out corresponding blocked operation according to described the first switching command or described the second switching command to the video of current broadcasting.
After the described value of calculating the acceleration in predefined all directions according to described displacement parameter, also comprise:
If the value of the acceleration on third direction is greater than the second predetermined threshold value, described mobile phone terminal generates the 3rd switching command, and described the 3rd switching command is used to indicate the video that suspends current broadcasting;
If the value of the acceleration in fourth direction is greater than described the second predetermined threshold value, described mobile phone terminal generates the 4th switching command, and described the 4th switching command is used to indicate broadcasting current video;
Wherein, described third direction is parallel and contrary with described fourth direction, and described third direction is vertical with described first direction and in same plane;
Described mobile phone terminal carries out corresponding control operation according to described the 3rd switching command or described the 4th switching command to the video of current broadcasting.
After the described value of calculating the acceleration in predefined all directions according to described displacement parameter, also comprise:
If the value of the acceleration in the 5th direction is greater than the 3rd predetermined threshold value, described mobile phone terminal generates the 5th switching command, and described the 5th switching command is used to indicate the brightness that increases current displaying video;
If the value of the acceleration in the 6th direction is greater than the 3rd predetermined threshold value, described mobile phone terminal generates the 6th switching command, and described the 6th switching command is used to indicate the brightness that reduces current displaying video;
Wherein, described the 5th direction is parallel and contrary with the 6th direction, and described the 5th direction is vertical with the plane at described first direction place;
Described mobile phone terminal carries out corresponding control operation according to described the 5th switching command or described the 6th switching command to the video of current broadcasting.
The described value of calculating the acceleration in predefined all directions according to described displacement parameter comprises:
The shift value of described mobile phone terminal is projected to described predefined all directions, obtain the displacement component value in described predefined all directions, described predefined all directions comprise described first direction and/or second direction and/or third direction and/or fourth direction and/or the 5th direction and/or the 6th direction;
The displacement component value of calculating described predefined all directions divided by the described displacement time square, obtain the value of described acceleration in predefined all directions.
Obtain the displacement parameter of self at described mobile phone terminal before, also comprise:
Described mobile phone terminal obtains the induction triggering in response to user and controls button operation, starts described induction and controls function.
Embodiments of the invention provide a kind of mobile phone terminal, comprising:
Acquiring unit, obtains the displacement parameter of self for described mobile phone terminal, described displacement parameter generates in response to user's whipping for described mobile phone terminal, and wherein, described displacement parameter comprises shift value and the displacement time of described mobile phone terminal;
Computing unit, for calculating the value of the acceleration in predefined all directions according to described displacement parameter;
Processing unit, if be greater than the first predetermined threshold value for the value of acceleration in a first direction, described mobile phone terminal generates the first switching command, described the first switching command is used to indicate and switches the video of current broadcasting to the Shang Yiji of current broadcasting collection of drama; And if the value of the acceleration in second direction is greater than described the first predetermined threshold value, described mobile phone terminal generates the second switching command, described the second switching command is used to indicate and switches the video of current broadcasting to next collection of current broadcasting collection of drama, wherein, described second direction is parallel and contrary with described first direction;
Performance element, for described mobile phone terminal, according to described the first switching command or described the second switching command, the video of current broadcasting is carried out to corresponding blocked operation, and described mobile phone terminal obtains the induction triggering in response to user and control button operation, start described induction and control function.
Described processing unit, if be also greater than the second predetermined threshold value for the value of the acceleration on third direction, described mobile phone terminal generates the 3rd switching command, described the 3rd switching command is used to indicate the video that suspends current broadcasting; And if the value of the acceleration in fourth direction is greater than described the second predetermined threshold value, described mobile phone terminal generates the 4th switching command, described the 4th switching command is used to indicate broadcasting current video; Wherein, described third direction is parallel and contrary with described fourth direction, and described third direction is vertical with described first direction and in same plane;
Described performance element, also carries out corresponding control operation according to described the 3rd switching command or described the 4th switching command to the video of current broadcasting for described mobile phone terminal.
Described processing unit, if be also greater than the 3rd predetermined threshold value for the value of the acceleration in the 5th direction, described mobile phone terminal generates the 5th switching command, described the 5th switching command is used to indicate the brightness that increases current displaying video; And if the value of the acceleration in the 6th direction is greater than the 3rd predetermined threshold value, described mobile phone terminal generates the 6th switching command, described the 6th switching command is used to indicate the brightness that reduces current displaying video; Wherein, described the 5th direction is parallel and contrary with the 6th direction, and described the 5th direction is vertical with the plane at described first direction place;
Described performance element, also carries out corresponding control operation according to described the 5th switching command or described the 6th switching command to the video of current broadcasting for described mobile phone terminal.
Described computing unit, for the shift value of described mobile phone terminal is projected to described predefined all directions, obtain the displacement component value in described predefined all directions, described predefined all directions comprise described first direction and/or second direction and/or third direction and/or fourth direction and/or the 5th direction and/or the 6th direction; And the displacement component value of calculating described predefined all directions divided by the described displacement time square, obtain the value of described acceleration in predefined all directions.
Described mobile phone terminal is provided with gyroscope and/or possesses gravity sensor and/or approach inductor and/or earth inductor and/or gesture induction device.
Embodiments of the invention provide a kind of video control method and mobile phone terminal, be applied to mobile phone terminal in the process of displaying video, by the displacement parameter of preset mobile phone terminal and the corresponding relation between video control operation, determined user corresponding to the whipping operation of mobile phone terminal in watching video process on the operation of next part Switch Video, realized by different directions whipping mobile phone terminal this mobile phone terminal function that just next part switches on displaying video carries out, avoid user to enter and controlled the loaded down with trivial details flow process that corresponding control button is searched at interface, carry out video playback operation at every turn, do not need to start touch-screen, reduced the power consumption of terminal.
Embodiment
In below describing, in order to illustrate rather than in order limiting, to have proposed the detail such as particular system structure, interface, technology, to thoroughly understand the present invention.Yet, not it will be clear to one skilled in the art that in there is no other embodiment of these details and can realize the present invention yet.In other situation, omit the detailed description to well-known device, circuit and method, in order to avoid unnecessary details hinders description of the invention.
Mobile phone terminal, is a kind of abbreviation of mobile phone wireless network receiving terminal, is the portable telephone terminal that can use in the broader context, comprises transmitter (mobile phone), receiver (webserver).Further, mobile phone terminal can be also Digital Video Broadcasting Handheld, and the function that is about to televisor is integrated in mobile phone, by mobile phone, is received and is broadcast TV signal.In addition, character "/", generally represents that forward-backward correlation is to liking a kind of relation of "or" herein.
Embodiment mono-
Embodiments of the invention provide a kind of video control method, as shown in Figure 1, comprising:
101, mobile phone terminal, in the process of displaying video, obtains the displacement parameter of self.
Wherein, the displacement parameter in the embodiment of the present invention is that mobile phone terminal generates in response to user's whipping, can comprise shift value and the displacement time of x axle in volume coordinate, y axle, the interior mobile phone terminal of the positive and negative six direction of z axle.In addition, the mobile phone terminal in the embodiment of the present invention comprises possessing gyroscope and/or possess gravity sensor and/or approach inductor and/or earth inductor and/or gesture induction device.
The embodiment of the present invention provides a kind of video control method, be applied to mobile phone terminal, by the displacement parameter of preset mobile phone terminal and the corresponding relation between video control operation, so that the whipping of perception user different directions operation in the process of video playback, realized by different directions whipping mobile phone terminal this mobile phone terminal function that just next part switches on displaying video carries out, avoided user to enter and controlled the loaded down with trivial details flow process that corresponding control button is searched at interface.
Concrete, user controls button by the induction triggering on mobile phone terminal, starts induction and controls function.Under the state triggering at this inducing function, mobile phone terminal, in the process of displaying video, obtains the displacement parameter of self, and this displacement parameter is that mobile phone terminal generates in response to user's whipping.
102, mobile phone terminal calculates the value of the acceleration in predefined all directions according to displacement parameter.
Wherein, the direction vector of this displacement parameter is the direction of the vector that generates of coordinate system for take x axle in volume coordinate, y axle, z axle.This acceleration comprises six acceleration component values, and six acceleration component values are mobile phone terminal six acceleration component values spatially.Be the value of six direction, be respectively:
Values[0]: the positive and negative directional acceleration of x axle;
Values[1]: the positive and negative directional acceleration of y axle;
Values[2]: the positive and negative directional acceleration of z axle;
X wherein, y, the definition of z direction is to take the lower right corner of the mobile phone terminal of horizontal positioned as reference system true origin, x direction of principal axis is exactly the horizontal direction of mobile phone terminal, and to the right for just; Y direction of principal axis is exactly the vertical direction along surface level of mobile phone terminal, and forward for just; Z direction of principal axis is exactly the direction vertical with surface level of mobile phone terminal, and the direction of sky is being for just, and the direction on ground is for negative.
Owing to being provided with gravity sensor in video playback apparatus telepilot, user is when whipping mobile phone terminal, and gravity sensor just can obtain displacement parameter and then calculate the value of this direction vector and acceleration.
Concrete, the shift value of mobile phone terminal is projected to predefined all directions, obtain the displacement component value in predefined all directions, and then the mobile phone terminal displacement component value of calculating predefined all directions divided by the displacement time square, obtain the value of the acceleration in predefined all directions.
As shown in Figure 2, some O is the starting point of mobile phone terminal motion, and some P is the terminal of mobile phone terminal motion, OP is the shift value of mobile phone terminal motion, T is the time that mobile phone terminal moves from O to P, and OM is the projection of OP in z-plane, so accekeration=the OM/T2 of mobile phone terminal in z-plane.
If the value of 103 acceleration is in a first direction greater than the first predetermined threshold value, mobile phone terminal generates the first switching command.
Wherein, the first switching command is used to indicate the video that switches current broadcasting to the Shang Yiji in current broadcasting collection of drama.
Concrete, if the direction vector that displacement calculating parameter obtains is first direction, this first direction can be x axle positive dirction, and, the value of the projection of the value of the acceleration that displacement calculating parameter obtains on this first direction is greater than the first predetermined threshold value, mobile phone terminal generates the first switching command so, and the video that current broadcasting is switched in indication is to the Shang Yiji in current broadcasting collection of drama.
If the value of 104 acceleration in second direction is greater than the first predetermined threshold value, mobile phone terminal generates the second switching command.
Wherein, the second switching command is used to indicate the video that switches current broadcasting to next collection in current broadcasting collection of drama, and wherein, this second direction is parallel and contrary with above-mentioned first direction.
Concrete, if the direction vector that displacement calculating parameter obtains is second direction, this second direction can be x axle negative direction, and, the value of the projection of the value of the acceleration that displacement calculating parameter obtains in this second direction is still greater than this first predetermined threshold value, mobile phone terminal generates the second switching command so, and the video that current broadcasting is switched in indication is to next collection in current broadcasting collection of drama.
It should be noted that, first direction herein and second direction are only that to take x axle positive dirction and x axle negative direction be example, and also this first direction and second direction also can be respectively y axle positive dirction and y axle negative direction, or z axle positive dirction and z axle negative direction.
105, mobile phone terminal carries out corresponding blocked operation according to the first switching command or the second switching command to the video of current broadcasting.
Concrete, if mobile phone terminal generates the first instruction, carry out the video that switches current broadcasting to the operation of the upper collection in current broadcasting collection of drama; If mobile phone terminal generates the second instruction, the video that carry out to switch current broadcasting is to the operation of next collection in current broadcasting collection of drama.
So far, mobile phone terminal generates corresponding video switching command according to displacement parameter, has realized by different directions whipping mobile phone terminal this mobile phone terminal function that just next part switches on displaying video carries out.
Embodiments of the invention provide a kind of video control method, are applied to mobile phone terminal in the process of displaying video, and mobile phone terminal obtains the displacement parameter of self by mobile phone terminal, and displacement parameter is that mobile phone terminal generates in response to user's whipping; And then according to displacement parameter, calculate the value of the acceleration in predefined all directions; If the value of acceleration is in a first direction greater than the first predetermined threshold value, mobile phone terminal generates the first switching command, and the first switching command is used to indicate and switches the video of current broadcasting to the Shang Yiji of current broadcasting collection of drama; If the value of the acceleration in second direction is greater than the first predetermined threshold value, mobile phone terminal generates the second switching command, the second switching command is used to indicate and switches the video of current broadcasting to next collection of current broadcasting collection of drama, and wherein, second direction is parallel with first direction and contrary; Last mobile phone terminal carries out corresponding blocked operation according to the first switching command or the second switching command to the video of current broadcasting.The method is by the displacement parameter of preset mobile phone terminal and the corresponding relation between video control operation, determined user corresponding to the whipping operation of mobile phone terminal in watching video process on the operation of next part Switch Video, realized by different directions whipping mobile phone terminal this mobile phone terminal function that just next part switches on displaying video carries out, avoid user to enter and controlled the loaded down with trivial details flow process that corresponding control button is searched at interface, carry out video playback operation at every turn, do not need to start touch-screen, reduced the power consumption of terminal.
Embodiment bis-
Embodiments of the invention provide a kind of video control method, as shown in Figure 3, comprising:
201, mobile phone terminal obtains the induction triggering in response to user and controls button operation, starts induction and controls function.
The embodiment of the present invention provides a kind of video control method, be applied to mobile phone terminal, by the displacement parameter of preset mobile phone terminal and the corresponding relation between video control operation, so that the whipping of perception user different directions operation in the process of video playback, realized by different directions whipping mobile phone terminal this mobile phone terminal function that just next part switches on displaying video carries out, avoided user to enter and controlled the loaded down with trivial details flow process that corresponding control button is searched at interface.
Concrete, user controls button by the induction triggering on mobile phone terminal, starts induction and controls function.Under the state triggering at this inducing function, mobile phone terminal, in the process of displaying video, obtains the displacement parameter of self and then generates the first switching command/the second switching command.Wherein, family by trigger induction on mobile phone terminal control button can be for triggering corresponding physical button, also can be for triggering corresponding virtual key.
In addition, the mobile phone terminal in the embodiment of the present invention is provided with gyroscope and/or possesses gravity sensor and/or approach inductor and/or earth inductor and/or gesture induction device.
202, mobile phone terminal, in the process of displaying video, obtains the displacement parameter of self.
Wherein, the displacement parameter in the embodiment of the present invention is that mobile phone terminal generates in response to user's whipping, can comprise shift value and the displacement time of x axle in volume coordinate, y axle, the interior mobile phone terminal of the positive and negative six direction of z axle.X wherein, y, the definition of z direction is to take the lower right corner of the mobile phone terminal of horizontal positioned as reference system true origin, x direction of principal axis is exactly the horizontal direction of mobile phone terminal, and to the right for just; Y direction of principal axis is exactly the vertical direction along surface level of mobile phone terminal, and forward for just; Z direction of principal axis is exactly the direction vertical with surface level of mobile phone terminal, and the direction of sky is being for just, and the direction on ground is for negative.
Concrete, user controls button by the induction triggering on mobile phone terminal, starts induction and controls function.Under the state triggering at this inducing function, mobile phone terminal, in the process of displaying video, obtains the displacement parameter of self, and this displacement parameter is that mobile phone terminal generates in response to user's whipping.
203, the direction vector of mobile phone terminal displacement calculating parameter and the value of the acceleration on direction vector.
Concrete, when user uses mobile phone terminal to watch current video, wanting to switch current video is next collection or the upper collection in playlist, now can do to mobile phone terminal the whipping operation of specific direction, owing to being provided with gravity sensing device in this mobile phone terminal, so mobile phone terminal further obtains the value of direction vector and acceleration after obtaining displacement parameter.
It should be noted that, the unit of acceleration is meter per second2, because video playback apparatus telepilot may be towards the motion of different direction, so the accekeration that obtains of gravity sensor includes the value of three directions, is respectively:
Values[0]: x direction of principal axis acceleration;
Values[1]: y direction of principal axis acceleration;
Values[2]: z direction of principal axis acceleration;
X wherein, y, the definition of z direction be the lower right corner of the video playback apparatus telepilot that lies in a horizontal plane in be reference system true origin, x direction of principal axis is exactly the horizontal direction of video playback apparatus telepilot, and to the right for just; Y direction of principal axis is exactly the vertical direction along surface level of video playback apparatus telepilot, and forward for just; Z direction of principal axis is exactly the direction vertical with surface level of video playback apparatus telepilot, and the direction of sky is being for just, and the direction of the earth is for negative.
Concrete, the shift value of mobile phone terminal is projected to predefined all directions, obtain the displacement component value in predefined all directions, and then the mobile phone terminal displacement component value of calculating predefined all directions divided by the displacement time square, obtain the value of the acceleration in predefined all directions.
If the value of 204 acceleration is in a first direction greater than the first predetermined threshold value, mobile phone terminal generates the first switching command.
Wherein, the first switching command is used to indicate the video that switches current broadcasting to the Shang Yiji in current broadcasting collection of drama.
Concrete, if the direction vector that displacement calculating parameter obtains is first direction, this first direction can be x axle positive dirction, and, the value of the projection of the value of the acceleration that displacement calculating parameter obtains on this first direction is greater than the first predetermined threshold value, mobile phone terminal generates the first switching command so, and the video that current broadcasting is switched in indication is to the Shang Yiji in current broadcasting collection of drama.
If the value of 205 acceleration in second direction is greater than the first predetermined threshold value, mobile phone terminal generates the second switching command.
Wherein, the second switching command is used to indicate the video that switches current broadcasting to next collection in current broadcasting collection of drama, and wherein, this second direction is parallel and contrary with above-mentioned first direction.
Concrete, if the direction vector that displacement calculating parameter obtains is second direction, this second direction can be x axle negative direction, and, the value of the projection of the value of the acceleration that displacement calculating parameter obtains in this second direction is still greater than this first predetermined threshold value, mobile phone terminal generates the second switching command so, and the video that current broadcasting is switched in indication is to next collection in current broadcasting collection of drama.
It should be noted that, first direction herein and second direction are only that to take x axle positive dirction and x axle negative direction be example, and also this first direction and second direction also can be respectively y axle positive dirction and y axle negative direction, or z axle positive dirction and z axle negative direction.
If the value of 206 acceleration on third direction is greater than the second predetermined threshold value, mobile phone terminal generates the 3rd switching command.
Wherein, the 3rd switching command is used to indicate the video that suspends current broadcasting.
Concrete, if the direction vector that displacement calculating parameter obtains is third direction, this third direction can be y axle negative direction, and, the value of the projection of the value of the acceleration that displacement calculating parameter obtains on this third direction is greater than the second predetermined threshold value, mobile phone terminal generates the 3rd switching command so, and indication suspends the video of current broadcasting.
If the value of 207 acceleration in fourth direction is greater than the second predetermined threshold value, mobile phone terminal generates the 4th switching command.
Wherein, the 4th switching command is used to indicate broadcasting current video.
Concrete, if the direction vector that displacement calculating parameter obtains is fourth direction, this fourth direction can be y axle positive dirction, and, the value of the projection of the value of the acceleration that displacement calculating parameter obtains in this fourth direction is greater than this second predetermined threshold value, mobile phone terminal generates the 4th switching command so, and the video of current broadcasting is play in indication.
Need explanation, above-mentioned third direction is parallel with fourth direction and contrary, and third direction is vertical with first direction and in same plane.
If the value of 208 acceleration in the 5th direction is greater than the 3rd predetermined threshold value, mobile phone terminal generates the 5th switching command.
Wherein, the 5th switching command is used to indicate the brightness that increases current displaying video.
Concrete, if the direction vector that displacement calculating parameter obtains is the 5th direction, the 5th direction can be z axle negative direction, and, the value of the projection of the value of the acceleration that displacement calculating parameter obtains in the 5th direction is greater than the 3rd predetermined threshold value, mobile phone terminal generates the 5th switching command so, and indication increases the brightness of current displaying video.
If the value of 209 acceleration in the 6th direction is greater than the 3rd predetermined threshold value, mobile phone terminal generates the 6th switching command.
Wherein, the 6th switching command is used to indicate the brightness that reduces current displaying video.
Concrete, if the direction vector that displacement calculating parameter obtains is the 6th direction, the 6th direction can be z axle positive dirction, and, the value of the projection of the value of the acceleration that displacement calculating parameter obtains in the 6th direction is greater than the 3rd predetermined threshold value, mobile phone terminal generates the 6th switching command so, and indication reduces the brightness of current displaying video.
It should be noted that, above-mentioned the 5th direction is anti-with the parallel cut of the 6th direction, and the 5th direction is vertical with the plane at first direction place.In addition, the logical order relation on step 204 is not free to 209, does not limit the sequencing of execution step.
So far, mobile phone terminal is provided with three groups of corresponding whipping operations and the pre-set threshold value of three groups of acceleration, x axle, y axle, three groups of space vector directions of z axle under corresponding space coordinates, realized by different directions whipping mobile phone terminal this mobile phone terminal just carried out to corresponding control operation at displaying video respectively.
210, mobile phone terminal, according to the first switching command/the second switching command/three switching command/four switching command/five switching command/six switching command, carries out corresponding control operation to the video of current broadcasting.
Concrete, if mobile phone terminal generates the first instruction, carry out the video that switches current broadcasting to the operation of the upper collection in current broadcasting collection of drama.
If mobile phone terminal generates the second instruction, the video that carry out to switch current broadcasting is to the operation of next collection in current broadcasting collection of drama.
If mobile phone terminal generates the 3rd instruction, carry out the operation of the video that suspends current broadcasting.
If mobile phone terminal generates the 4th instruction, carry out the operation of the video of playing current broadcasting.
If mobile phone terminal generates the five fingers order, carry out the operation of the brightness that increases current displaying video.
If mobile phone terminal generates the 6th instruction, carry out the operation of the brightness that reduces current displaying video.
Exemplary, user is using mobile phone terminal to watch TV play < < also in the process of pearl sound of laughing > >, wish the brightness of adjusting cellphone terminal screen, now can do to mobile phone terminal the whipping operation of specific direction, such as take mobile phone terminal as the surface level whipping that makes progress, owing to being provided with gravity sensing device in this mobile phone terminal, therefore mobile phone terminal obtains the make progress displacement parameter of whipping of user, the direction vector that obtains the operational correspondence of this whipping that makes progress according to further calculating is the 5th direction, the value of the acceleration in the 5th direction is 8 meter per seconds2, be greater than the 3rd preset value 5 meter per seconds2so mobile phone terminal generates the 5th switching command, and carry out the operation of the brightness of the current displaying video of the corresponding increase of the 5th switching command.
Embodiments of the invention provide a kind of video control method, are applied to mobile phone terminal in the process of displaying video, and mobile phone terminal obtains the displacement parameter of self by mobile phone terminal, and displacement parameter is that mobile phone terminal generates in response to user's whipping; And then according to displacement parameter, calculate the value of the acceleration in predefined all directions; If the value of acceleration is in a first direction greater than the first predetermined threshold value, mobile phone terminal generates the first switching command, and the first switching command is used to indicate and switches the video of current broadcasting to the Shang Yiji of current broadcasting collection of drama; If the value of the acceleration in second direction is greater than the first predetermined threshold value, mobile phone terminal generates the second switching command, the second switching command is used to indicate and switches the video of current broadcasting to next collection of current broadcasting collection of drama, and wherein, second direction is parallel with first direction and contrary; Last mobile phone terminal carries out corresponding blocked operation according to the first switching command or the second switching command to the video of current broadcasting.The method is by the corresponding relation between preset mobile phone terminal displacement parameter and video control operation, determined user corresponding to the whipping operation of mobile phone terminal in watching video process on the operation of next part Switch Video, realized by different directions whipping mobile phone terminal this mobile phone terminal function that just next part switches on displaying video carries out, avoid user to enter and controlled the loaded down with trivial details flow process that corresponding control button is searched at interface, carry out video playback operation at every turn, do not need to start touch-screen, reduced the power consumption of terminal.
Embodiment tri-
Embodiments of the invention provide a kind of mobile phone terminal, as shown in Figure 4, comprising:
Acquiring unit 01, obtains the displacement parameter of self for mobile phone terminal, displacement parameter is that mobile phone terminal generates in response to user's whipping, and wherein, displacement parameter comprises shift value and the displacement time of mobile phone terminal;
Computing unit 02, for calculating the value of the acceleration in predefined all directions according to displacement parameter;
Processing unit 03, if be greater than the first predetermined threshold value for the value of acceleration in a first direction, mobile phone terminal generates the first switching command, the first switching command is used to indicate and switches the video of current broadcasting to the Shang Yiji of current broadcasting collection of drama; And if the value of the acceleration in second direction is greater than the first predetermined threshold value, mobile phone terminal generates the second switching command, the second switching command is used to indicate and switches the video of current broadcasting to next collection of current broadcasting collection of drama, and wherein, second direction is parallel with first direction and contrary;
Performance element 04, carries out corresponding blocked operation according to the first switching command or the second switching command to the video of current broadcasting for mobile phone terminal, and mobile phone terminal obtains the induction control button operation triggering in response to user, startup induction control function.
Further, processing unit 03, if be also greater than the second predetermined threshold value for the value of the acceleration on third direction, mobile phone terminal generates the 3rd switching command, the 3rd switching command is used to indicate the video that suspends current broadcasting; And if the value of the acceleration in fourth direction is greater than the second predetermined threshold value, mobile phone terminal generates the 4th switching command, the 4th switching command is used to indicate broadcasting current video; Wherein, third direction is parallel with fourth direction and contrary, and third direction is vertical with first direction and in same plane;
Performance element 04, also carries out corresponding control operation according to the 3rd switching command or the 4th switching command to the video of current broadcasting for mobile phone terminal.
Further, processing unit 03, if be also greater than the 3rd predetermined threshold value for the value of the acceleration in the 5th direction, mobile phone terminal generates the 5th switching command, the 5th switching command is used to indicate the brightness that increases current displaying video; And if the value of the acceleration in the 6th direction is greater than the 3rd predetermined threshold value, mobile phone terminal generates the 6th switching command, the 6th switching command is used to indicate the brightness that reduces current displaying video; Wherein, the 5th direction is parallel and contrary with the 6th direction, and the 5th direction is vertical with the plane at first direction place;
Performance element 04, also carries out corresponding control operation according to the 5th switching command or the 6th switching command to the video of current broadcasting for mobile phone terminal.
Further, computing unit 02, for the shift value of mobile phone terminal is projected to predefined all directions, obtain the displacement component value in predefined all directions, predefined all directions comprise first direction and/or second direction and/or third direction and/or fourth direction and/or the 5th direction and/or the 6th direction; And the displacement component value of calculating predefined all directions divided by the displacement time square, obtain the value of the acceleration in predefined all directions.
Further, mobile phone terminal is provided with gyroscope and/or possesses gravity sensor and/or approach inductor and/or earth inductor and/or gesture induction device.
Embodiments of the invention provide a kind of mobile phone terminal, are applied to mobile phone terminal in the process of displaying video, and mobile phone terminal obtains the displacement parameter of self by mobile phone terminal, and displacement parameter is that mobile phone terminal generates in response to user's whipping; And then according to displacement parameter, calculate the value of the acceleration in predefined all directions; If the value of acceleration is in a first direction greater than the first predetermined threshold value, mobile phone terminal generates the first switching command, and the first switching command is used to indicate and switches the video of current broadcasting to the Shang Yiji of current broadcasting collection of drama; If the value of the acceleration in second direction is greater than the first predetermined threshold value, mobile phone terminal generates the second switching command, the second switching command is used to indicate and switches the video of current broadcasting to next collection of current broadcasting collection of drama, and wherein, second direction is parallel with first direction and contrary; Last mobile phone terminal carries out corresponding blocked operation according to the first switching command or the second switching command to the video of current broadcasting.The method is by the displacement parameter of preset mobile phone terminal and the corresponding relation between video control operation, determined user corresponding to the whipping operation of mobile phone terminal in watching video process on the operation of next part Switch Video, realized by different directions whipping mobile phone terminal this mobile phone terminal function that just next part switches on displaying video carries out, avoid user to enter and controlled the loaded down with trivial details flow process that corresponding control button is searched at interface, carry out video playback operation at every turn, do not need to start touch-screen, reduced the power consumption of terminal.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the inner structure that is about to device is divided into different functional modules, to complete all or part of function described above.The system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described module or unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining described integrated unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.