WO2015078239A1 - Video control method and cellphone terminal - Google Patents

Video control method and cellphone terminal Download PDF

Info

Publication number
WO2015078239A1
WO2015078239A1 PCT/CN2014/088429 CN2014088429W WO2015078239A1 WO 2015078239 A1 WO2015078239 A1 WO 2015078239A1 CN 2014088429 W CN2014088429 W CN 2014088429W WO 2015078239 A1 WO2015078239 A1 WO 2015078239A1
Authority
WO
WIPO (PCT)
Prior art keywords
switching instruction
video
value
acceleration
mobile phone
Prior art date
Application number
PCT/CN2014/088429
Other languages
French (fr)
Chinese (zh)
Inventor
肖振威
Original Assignee
乐视网信息技术(北京)股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视网信息技术(北京)股份有限公司 filed Critical 乐视网信息技术(北京)股份有限公司
Publication of WO2015078239A1 publication Critical patent/WO2015078239A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1694Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures

Definitions

  • the present invention relates to the field of mobile terminal technologies, and in particular, to a video control method and a mobile phone terminal.
  • the embodiment of the present invention provides a video control method and a mobile phone terminal. By presetting the correspondence between the displacement parameter of the mobile phone terminal and the video control operation, the mobile device is playing the video in the different directions. Switching function.
  • An embodiment of the present invention provides a video control method, which is applied to a process in which a mobile phone terminal plays a video, and the method includes:
  • the mobile terminal obtains its own displacement parameter, and the displacement parameter is generated by the mobile phone terminal in response to the user's swaying, wherein the displacement parameter includes a displacement value and a displacement time of the mobile phone terminal;
  • the mobile terminal If the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal generates a first switching instruction, where the first switching instruction is used to indicate that the currently played video is switched to the previous one of the currently played episode. set;
  • the mobile terminal If the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction, where the second switching instruction is used to indicate that the currently played video is switched to the currently played episode. a next set, wherein the second direction is parallel and opposite to the first direction;
  • the mobile terminal performs a corresponding switching operation on the currently played video according to the first switching instruction or the second switching instruction.
  • the method further includes:
  • the mobile terminal If the value of the acceleration in the third direction is greater than the second preset threshold, the mobile terminal generates a third switching instruction, where the third switching instruction is used to indicate that the currently playing video is suspended;
  • the mobile terminal If the value of the acceleration in the fourth direction is greater than the second preset threshold, the mobile terminal generates a fourth switching instruction, where the fourth switching instruction is used to indicate that the current video is played;
  • the third direction is parallel and opposite to the fourth direction, and the third direction is perpendicular to the first direction and in the same plane;
  • the mobile terminal performs a corresponding control operation on the currently played video according to the third switching instruction or the fourth switching instruction.
  • the method further includes:
  • the mobile terminal If the value of the acceleration in the fifth direction is greater than the third preset threshold, the mobile terminal generates a fifth switching instruction, where the fifth switching instruction is used to increase the brightness of the currently played video.
  • the mobile terminal If the value of the acceleration in the sixth direction is greater than the third preset threshold, the mobile terminal generates a sixth switching instruction, where the sixth switching instruction is used to indicate that the brightness of the currently played video is decreased;
  • the fifth direction is parallel and opposite to the sixth direction, and the fifth direction is perpendicular to a plane in which the first direction is located;
  • the mobile phone terminal performs a corresponding control operation on the currently played video according to the fifth switching instruction or the sixth switching instruction.
  • the calculating the value of the acceleration in each of the preset directions according to the displacement parameter includes:
  • the preset directions include the first direction and/or Or a second direction and/or a third direction and/or a fourth direction and/or a fifth direction and/or a sixth direction;
  • the method further includes:
  • the mobile phone terminal acquires the sensing control button operation in response to a user triggering, and activates the sensing control function.
  • An embodiment of the present invention provides a mobile phone terminal, including:
  • An acquiring unit configured to acquire, by the mobile phone terminal, a displacement parameter, where the displacement parameter is generated by the mobile phone terminal in response to user motion, wherein the displacement parameter includes a displacement value and a displacement time of the mobile phone terminal ;
  • a calculating unit configured to calculate a value of the acceleration in each of the preset directions according to the displacement parameter
  • a processing unit configured to: if the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal generates a first switching instruction, where the first switching instruction is used to indicate that the currently played video is switched to the current playback a previous set of the episode; and if the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction, where the second switching instruction is used to indicate that the current playback is switched Video to the next episode of the currently played episode, wherein the second direction is parallel and opposite to the first direction;
  • An execution unit configured to perform, by the mobile phone terminal, a corresponding switching operation on the currently played video according to the first switching instruction or the second switching instruction, and the mobile terminal acquiring an operation of the sensing control button triggered by the user triggering,
  • the sensing control function is activated.
  • the processing unit is further configured to: if the value of the acceleration in the third direction is greater than the second preset threshold, the mobile terminal generates a third switching instruction, where the third switching instruction is used to indicate the suspension The currently playing video; and if the value of the acceleration in the fourth direction is greater than the second preset threshold, the mobile terminal generates a fourth switching instruction, where the fourth switching instruction is used to indicate that the current video is played;
  • the third direction is parallel and opposite to the fourth direction, and the third direction is perpendicular to the first direction and in the same plane;
  • the execution unit is further configured to perform, by the mobile phone terminal, a corresponding control operation on the currently played video according to the third switching instruction or the fourth switching instruction.
  • the processing unit is further configured to: if the value of the acceleration in the fifth direction is greater than the third preset threshold, the mobile terminal generates a fifth switching instruction, where the fifth switching instruction is used to indicate that the currently played video is added. And the brightness of the current playback video is generated by the mobile phone terminal, where the mobile phone terminal generates a sixth switching instruction, where the sixth switching instruction is used to indicate that the brightness of the currently played video is reduced;
  • the fifth direction is parallel and opposite to the sixth direction, and the fifth direction is perpendicular to a plane in which the first direction is located;
  • the execution unit is further configured to perform, by the mobile phone terminal, a corresponding control operation on the currently played video according to the fifth switching instruction or the sixth switching instruction.
  • the calculating unit is configured to project the displacement value of the mobile phone terminal to the preset direction to obtain the preset displacement component values in the respective directions, where the preset directions include The first direction and/or the second direction and/or the third direction and/or the fourth direction and/or the fifth direction and/or the sixth direction; and calculating the displacement component values of the predetermined directions Dividing the square of the displacement time, the value of the acceleration in the predetermined direction is obtained.
  • the handset terminal is provided with a gyroscope and/or with a gravity sensor and/or a proximity sensor and/or a geomagnetic sensor and/or a gesture sensor.
  • An embodiment of the present invention provides a video control method and a mobile phone terminal, which are applied to a mobile phone terminal in a process of playing a video, and by determining a correspondence between a displacement parameter of the mobile phone terminal and a video control operation, determining that the user is watching the video.
  • the upper and lower set switching video operations corresponding to the mobile terminal's swaying operation realizes the function of switching the mobile terminal to play the video on the mobile terminal by different directions, thereby avoiding the user entering the control interface to find the corresponding control.
  • the cumbersome process of the button, each time the video playback operation does not need to start the touch screen, reducing the power consumption of the terminal.
  • FIG. 1 is a schematic flowchart 1 of a video control method according to an embodiment of the present invention.
  • 2 is a schematic diagram of the calculation of the value of the acceleration in the coordinate system
  • FIG. 3 is a schematic flowchart 2 of a video control method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a mobile phone terminal according to an embodiment of the present invention.
  • the mobile phone terminal is an abbreviation of a mobile phone wireless network receiving end, and is a portable telephone terminal that can be used in a wide range, including a transmitter (mobile phone) and a receiver (network server). Further, the mobile phone terminal can also be a TV mobile phone, that is, the function of the television is integrated into the mobile phone, and the television signal is broadcasted through the mobile phone.
  • the character "/" in this article generally indicates that the contextual object is an "or" relationship.
  • An embodiment of the present invention provides a video control method, as shown in FIG. 1, including:
  • the mobile terminal acquires its own displacement parameter during the process of playing the video.
  • the displacement parameter in the embodiment of the present invention is generated by the mobile phone terminal in response to the user's swaying, and may include a displacement value and a displacement time of the mobile phone terminal in the six directions of the x-axis, the y-axis, and the z-axis in the spatial coordinate.
  • the mobile phone terminal in the embodiment of the present invention includes a gyroscope and/or a gravity sensor and/or a proximity sensor and/or a geomagnetic sensor and/or a gesture sensor.
  • the embodiment of the invention provides a video control method, which is applied to a mobile phone terminal, by presetting the correspondence between the displacement parameter of the mobile phone terminal and the video control operation, so as to perceive the user in different directions during the video playing process.
  • the operation realizes the function of switching the mobile terminal to play the video on the mobile terminal by moving the upper and lower sets in different directions, thereby avoiding the cumbersome process of the user entering the control interface to find the corresponding control button.
  • the user activates the sensing control function by triggering an inductive control button on the mobile terminal.
  • the mobile terminal acquires its own displacement parameter during the process of playing the video, and the displacement parameter is generated by the mobile terminal in response to the user's incitement.
  • the mobile terminal calculates a value of the acceleration in each of the preset directions according to the displacement parameter.
  • the vector direction of the displacement parameter is a direction of a vector generated by using the x-axis, the y-axis, and the z-axis as coordinate systems in the spatial coordinates.
  • the acceleration includes six acceleration component values, and the six acceleration component values are six acceleration component values of the mobile terminal in space. That is, the values in the six directions are:
  • the x, y, and z directions are defined by the lower right corner of the horizontally placed mobile phone terminal as the reference system coordinate origin, the x-axis direction is the horizontal direction of the mobile phone terminal, and is positive to the right; the y-axis direction is the horizontal plane of the mobile phone terminal.
  • the vertical direction is positive forward; the z-axis direction is the direction perpendicular to the horizontal plane of the mobile phone terminal, and the direction of the sky is positive and the direction of the ground is negative.
  • the gravity sensor is disposed in the remote controller of the video playing device, when the user shakes the mobile phone terminal, the gravity sensor can acquire the displacement parameter and calculate the vector direction and the value of the acceleration.
  • the displacement value of the mobile phone terminal is projected to each of the preset directions, and the preset displacement component values in the respective directions are obtained, and then the mobile phone terminal calculates the preset displacement component values in each direction divided by the displacement time. Squared, the value of the acceleration in the predetermined direction is obtained.
  • point O is the starting point of mobile terminal motion
  • point P is the end point of mobile terminal motion
  • OP is the displacement value of mobile terminal motion
  • T is the time when mobile terminal moves from O to P
  • the mobile terminal is Into the first switching instruction.
  • the first switching instruction is used to indicate that the currently played video is switched to the previous episode in the currently played episode.
  • the first direction may be a positive direction of the x-axis, and the value of the acceleration obtained by calculating the displacement parameter is greater than the first value of the projection in the first direction.
  • the mobile terminal After the threshold is preset, the mobile terminal generates a first switching instruction, which instructs to switch the currently played video to the previous episode in the currently playing episode.
  • the mobile terminal If the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction.
  • the second switching instruction is used to indicate that the currently played video is switched to the next episode in the current playing episode, wherein the second direction is parallel and opposite to the first direction.
  • the second direction may be a negative direction of the x-axis, and the value of the projection obtained by calculating the displacement parameter is still greater than the value of the projection in the second direction.
  • the first preset threshold then the mobile terminal generates a second switching instruction, indicating that the currently played video is switched to the next episode in the currently played episode.
  • first direction and the second direction herein are only the positive direction of the x-axis and the negative direction of the x-axis.
  • the first direction and the second direction may also be the positive direction of the y-axis and the y-axis, respectively.
  • the mobile terminal performs a corresponding switching operation on the currently played video according to the first switching instruction or the second switching instruction.
  • the mobile terminal if the mobile terminal generates the first instruction, performing an operation of switching the currently played video to the previous episode in the currently played episode; if the mobile terminal generates the second instruction, performing switching the currently played video to the currently played drama The operation of the next episode within the set.
  • the mobile terminal generates a corresponding video switching instruction according to the displacement parameter, and realizes the function of switching the mobile terminal to perform the upper and lower set switching of the video being played by the mobile terminal in different directions.
  • the embodiment of the present invention provides a video control method, which is applied to a mobile phone terminal in a process of playing a video, and the mobile terminal obtains its own displacement parameter through the mobile phone terminal, and the displacement parameter is generated by the mobile terminal in response to the user's incitement;
  • the displacement parameter calculates a value of the acceleration in each of the preset directions; if the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal generates a first switching instruction, and the first switching instruction is used to indicate the switching.
  • the mobile terminal determines the upper and lower set switching video operations corresponding to the user's swaying operation of the mobile phone terminal during the video viewing process, and realizes the different directions.
  • the mobile phone terminal performs the function of switching the video on the mobile terminal to play the upper and lower sets, thereby avoiding the cumbersome process of the user entering the control interface to find the corresponding control button. Each time the video playing operation is performed, the touch screen is not required to be started, and the power consumption of the terminal is reduced. .
  • An embodiment of the present invention provides a video control method, as shown in FIG. 3, including:
  • the mobile terminal acquires an induction control button operation in response to a user-triggered sensing control button.
  • the embodiment of the invention provides a video control method, which is applied to a mobile phone terminal, by presetting the correspondence between the displacement parameter of the mobile phone terminal and the video control operation, so as to perceive the user in different directions during the video playing process.
  • the operation realizes the function of switching the mobile terminal to play the video on the mobile terminal by moving the upper and lower sets in different directions, thereby avoiding the cumbersome process of the user entering the control interface to find the corresponding control button.
  • the user activates the sensing control function by triggering an inductive control button on the mobile terminal.
  • the mobile terminal acquires its own displacement parameter in the process of playing the video to generate a first switching instruction/second switching instruction.
  • the household can trigger the corresponding physical button by triggering the sensing control button on the mobile terminal, or trigger the corresponding virtual button.
  • the mobile phone terminal in the embodiment of the present invention is provided with a gyroscope and/or with a gravity sensor and/or a proximity sensor and/or a geomagnetic sensor and/or a gesture sensor.
  • the mobile terminal acquires its own displacement parameter during the process of playing the video.
  • the displacement parameter in the embodiment of the present invention is generated by the mobile phone terminal in response to the user's swaying, and may include a displacement value and a displacement time of the mobile phone terminal in the six directions of the x-axis, the y-axis, and the z-axis in the spatial coordinate.
  • the x, y, and z directions are defined as the lower right of the mobile terminal placed horizontally.
  • the angle is the origin of the reference system coordinate
  • the x-axis direction is the horizontal direction of the mobile phone terminal, and is positive to the right
  • the y-axis direction is the vertical direction of the mobile phone terminal along the horizontal plane, and the forward direction is positive
  • the z-axis direction is the mobile terminal
  • the direction perpendicular to the horizontal plane, and the direction of the sky is positive, and the direction of the ground is negative.
  • the user activates the sensing control function by triggering an inductive control button on the mobile terminal.
  • the mobile terminal acquires its own displacement parameter during the process of playing the video, and the displacement parameter is generated by the mobile terminal in response to the user's incitement.
  • the mobile terminal calculates a vector direction of the displacement parameter and a value of the acceleration in the vector direction.
  • the mobile terminal may perform a specific direction of the mobile terminal, because the mobile terminal A gravity sensing device is provided, so the mobile phone terminal further obtains the vector direction and the acceleration value after acquiring the displacement parameter.
  • the unit of acceleration is m/s 2 . Since the remote control of the video playback device may move in different directions, the acceleration value obtained by the gravity sensor includes values in three directions, namely:
  • the x, y, and z directions are defined as the reference system coordinate origin in the lower right corner of the video playback device remote controller placed horizontally, and the x-axis direction is the horizontal direction of the video playback device remote controller, and is positive to the right; the y-axis The direction is the vertical direction of the video playback device remote control along the horizontal plane, and the forward direction is positive; the z-axis direction is the direction perpendicular to the horizontal plane of the video playback device remote controller, and the direction of the sky is positive, and the direction of the earth is negative.
  • the displacement value of the mobile phone terminal is projected to each of the preset directions, and the preset displacement component values in the respective directions are obtained, and then the mobile phone terminal calculates the preset displacement component values in each direction divided by the displacement time. Squared, the value of the acceleration in the predetermined direction is obtained.
  • the mobile terminal If the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal generates a first switching instruction.
  • the first switching instruction is used to indicate that the currently played video is switched to the currently playing episode.
  • the last episode is used to indicate that the currently played video is switched to the currently playing episode.
  • the first direction may be a positive direction of the x-axis, and the value of the acceleration obtained by calculating the displacement parameter is greater than the first value of the projection in the first direction.
  • the mobile terminal After the threshold is preset, the mobile terminal generates a first switching instruction, which instructs to switch the currently played video to the previous episode in the currently playing episode.
  • the mobile terminal If the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction.
  • the second switching instruction is used to indicate that the currently played video is switched to the next episode in the current playing episode, wherein the second direction is parallel and opposite to the first direction.
  • the second direction may be a negative direction of the x-axis, and the value of the projection obtained by calculating the displacement parameter is still greater than the value of the projection in the second direction.
  • the first preset threshold then the mobile terminal generates a second switching instruction, indicating that the currently played video is switched to the next episode in the currently played episode.
  • first direction and the second direction herein are only the positive direction of the x-axis and the negative direction of the x-axis.
  • the first direction and the second direction may also be the positive direction of the y-axis and the y-axis, respectively.
  • the mobile terminal If the value of the acceleration in the third direction is greater than the second preset threshold, the mobile terminal generates a third switching instruction.
  • the third switching instruction is used to indicate that the currently playing video is paused.
  • the third direction may be a negative direction of the y-axis, and the value of the acceleration obtained by calculating the displacement parameter is greater than the second pre-projection value in the third direction.
  • the mobile terminal sets the threshold, then the mobile terminal generates a third switching instruction, indicating that the currently playing video is suspended.
  • the mobile terminal If the value of the acceleration in the fourth direction is greater than the second preset threshold, the mobile terminal generates a fourth switching instruction.
  • the fourth switching instruction is used to indicate that the current video is played.
  • the fourth direction may be a positive direction of the y-axis, and the value of the acceleration obtained by calculating the displacement parameter is greater than the value of the projection in the fourth direction.
  • Two preset thresholds then the mobile terminal generates a fourth switching instruction, indicating Play the currently playing video.
  • the third direction is parallel and opposite to the fourth direction, and the third direction is perpendicular to the first direction and in the same plane.
  • the mobile terminal If the value of the acceleration in the fifth direction is greater than the third preset threshold, the mobile terminal generates a fifth switching instruction.
  • the fifth switching instruction is used to indicate that the brightness of the currently played video is increased.
  • the fifth direction may be a negative direction of the z-axis, and the value of the acceleration obtained by calculating the displacement parameter is greater than the value of the projection in the fifth direction.
  • the mobile terminal After the threshold is preset, the mobile terminal generates a fifth switching instruction, which increases the brightness of the currently played video.
  • the mobile terminal If the value of the acceleration in the sixth direction is greater than the third preset threshold, the mobile terminal generates a sixth switching instruction.
  • the sixth switching instruction is used to indicate that the brightness of the currently played video is reduced.
  • the sixth direction may be the positive direction of the z-axis, and the value of the acceleration obtained by calculating the displacement parameter is greater than the value of the projection in the sixth direction.
  • the preset threshold is used, and then the mobile terminal generates a sixth switching instruction, indicating that the brightness of the currently played video is reduced.
  • steps 204 to 209 do not have a logical order relationship in time, and do not limit the order in which the steps are performed.
  • the mobile terminal sets three sets of corresponding tilting operations and preset thresholds of three sets of accelerations, corresponding to the space vector directions of the x-axis, the y-axis and the z-axis in the space coordinate system, respectively, and realizes shaking through different directions.
  • the mobile terminal performs corresponding control operations on the video played by the mobile terminal.
  • the mobile terminal performs a corresponding control operation on the currently played video according to the first switching instruction/the second switching instruction/the third switching instruction/the fourth switching instruction/the fifth switching instruction/the sixth switching instruction.
  • the mobile terminal if the mobile terminal generates the first instruction, performing an operation of switching the currently played video to the previous episode in the currently played episode.
  • the operation of playing the currently played video is performed.
  • the mobile terminal in the process of using the mobile terminal to watch the TV drama "Huanzhugege", the user wants to adjust the screen brightness of the mobile terminal, and at this time, the mobile terminal can be operated in a specific direction, for example, the mobile terminal is horizontally upward. Because the mobile phone terminal is provided with a gravity sensing device, the mobile terminal obtains the displacement parameter of the user's upward movement, and according to further calculation, the vector direction corresponding to the upward movement is the fifth direction, and the fifth direction is in the fifth direction.
  • the value of the acceleration is 8 m/s 2 , which is greater than the third preset value of 5 m/s 2 , so that the mobile terminal generates a fifth switching instruction and performs an operation of increasing the brightness of the currently played video corresponding to the fifth switching instruction.
  • the embodiment of the present invention provides a video control method, which is applied to a mobile phone terminal in a process of playing a video, and the mobile terminal obtains its own displacement parameter through the mobile phone terminal, and the displacement parameter is generated by the mobile terminal in response to the user's incitement;
  • the displacement parameter calculates a value of the acceleration in each of the preset directions; if the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal generates a first switching instruction, and the first switching instruction is used to indicate the switching.
  • the currently played video is sent to the previous episode of the currently played episode; if the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction, and the second switching instruction is used to indicate that the current playback is switched.
  • the video is to the next episode of the currently played episode, wherein the second direction is parallel and opposite to the first direction; finally, the mobile terminal performs a corresponding switching operation on the currently played video according to the first switching instruction or the second switching instruction.
  • the mobile terminal performs the function of switching the upper and lower sets of the video played by the mobile terminal, thereby avoiding the cumbersome process of the user entering the control interface to find the corresponding control button. Each time the video playing operation is performed, the touch screen is not required to be started, and the power consumption of the terminal is reduced.
  • An embodiment of the present invention provides a mobile phone terminal, as shown in FIG. 4, including:
  • the acquiring unit 01 is configured to acquire a displacement parameter of the mobile phone terminal, where the displacement parameter is generated by the mobile phone terminal in response to the user's movement, wherein the displacement parameter includes a displacement value and a displacement time of the mobile phone terminal;
  • a calculating unit 02 configured to calculate a value of the acceleration in each of the preset directions according to the displacement parameter
  • the processing unit 03 is configured to: if the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal generates a first switching instruction, where the first switching instruction is used to indicate that the currently played video is switched to the currently played episode The previous set; and if the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction, where the second switching instruction is used to indicate that the currently played video is switched to the current playing episode An episode wherein the second direction is parallel and opposite to the first direction;
  • the executing unit 04 is configured to perform a corresponding switching operation on the currently played video according to the first switching instruction or the second switching instruction, and the mobile terminal acquires the sensing control button operation in response to the user triggering, and starts the sensing control function.
  • the processing unit 03 is further configured to: if the value of the acceleration in the third direction is greater than the second preset threshold, the mobile terminal generates a third switching instruction, where the third switching instruction is used to indicate to pause the currently playing video; The value of the acceleration in the fourth direction is greater than the second preset threshold, and the mobile terminal generates a fourth switching instruction, where the fourth switching instruction is used to indicate that the current video is played; wherein the third direction is parallel and opposite to the fourth direction, The three directions are perpendicular to the first direction and in the same plane;
  • the executing unit 04 is further configured to perform, by the mobile terminal, a corresponding control operation on the currently played video according to the third switching instruction or the fourth switching instruction.
  • the processing unit 03 is further configured to: if the value of the acceleration in the fifth direction is greater than the third preset threshold, the mobile terminal generates a fifth switching instruction, where the fifth switching instruction is used to increase the brightness of the currently played video; And if the value of the acceleration in the sixth direction is greater than the third preset threshold, the mobile terminal generates a sixth switching instruction, where the sixth switching instruction is used to indicate that the brightness of the currently played video is reduced; wherein the fifth direction and the sixth direction are Parallel and opposite, the fifth direction is perpendicular to the plane in which the first direction is located;
  • the executing unit 04 is further configured to perform, by the mobile terminal, a corresponding control operation on the currently played video according to the fifth switching instruction or the sixth switching instruction.
  • the calculating unit 02 is configured to project the displacement value of the mobile phone terminal to each direction set in advance, and obtain preset displacement component values in each direction, and the preset directions include the first direction and/or a second direction and/or a third direction and/or a fourth direction and/or a fifth direction and/or a sixth direction; and calculating a displacement component value of each of the preset directions divided by the square of the displacement time, obtained in advance Set the value of the acceleration in each direction.
  • the mobile phone terminal is provided with a gyroscope and/or with a gravity sensor and/or a proximity sensor and/or a geomagnetic sensor and/or a gesture sensor.
  • the embodiment of the present invention provides a mobile phone terminal, which is applied to a mobile phone terminal in the process of playing video, the mobile phone terminal acquires its own displacement parameter through the mobile phone terminal, and the displacement parameter is generated by the mobile phone terminal in response to the user's sway;
  • the parameter calculates a value of the acceleration in the predetermined direction; if the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal generates a first switching instruction, where the first switching instruction is used to indicate the current switching
  • the played video is sent to the previous episode of the currently played episode; if the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction, and the second switching instruction is used to indicate that the current playback is switched.
  • the video is to the next episode of the currently played episode, wherein the second direction is parallel and opposite to the first direction; finally, the mobile terminal performs a corresponding switching operation on the currently played video according to the first switching instruction or the second switching instruction.
  • the method determines the upper and lower set switching video operations corresponding to the user's swaying operation of the mobile phone terminal during the video viewing process, and realizes the different directions.
  • the mobile phone terminal performs the function of switching the video on the mobile terminal to play the upper and lower sets, thereby avoiding the cumbersome process of the user entering the control interface to find the corresponding control button.
  • the touch screen is not required to be started, and the power consumption of the terminal is reduced. .
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative, for example, the division of the modules or units is merely a logical functional division, There may be additional divisions in actual implementation, for example multiple units or components may be combined or integrated into another system, or some features may be omitted or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Abstract

Provided are a video control method and a cellphone terminal, which relate to the technical field of mobile terminals, and realize a function of conducting the switching between the previous episode and the next episode on a video which is playing at the cellphone terminal by way of swinging the cellphone terminal in different directions through the correlation between a preset displacement parameter of the cellphone terminal and a video control operation. The method comprises: acquiring, by a cellphone terminal, a displacement parameter thereof, the displacement parameter being generated when the cellphone terminal responds to the swinging of a user; according to the displacement parameter, calculating values of acceleration in various preset directions; if the value of acceleration in the first direction is greater than a first preset threshold value, generating, by the cellphone terminal, a first switching instruction; if the value of acceleration in the second direction is greater than the first preset threshold value, generating, by the cellphone terminal, a second switching instruction; and according to the first switching instruction or the second switching instruction, conducting, by the cellphone terminal, a corresponding switching operation on the video which is being played.

Description

一种视频控制方法及手机终端Video control method and mobile terminal
本申请要求于2013年11月27日提交中国专利局、申请号为2013106373114,发明名称为“一种视频控制方法及手机终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 2013106373114, filed on November 27, 2013, the entire disclosure of which is incorporated herein by reference. in.
技术领域Technical field
本发明涉及移动终端技术领域,尤其涉及一种视频控制方法及手机终端。The present invention relates to the field of mobile terminal technologies, and in particular, to a video control method and a mobile phone terminal.
背景技术Background technique
随着移动终端智能化时代的到来,移动终端的配置越来越强大,功能越来越齐全,越来越多的用户通过移动终端进行视频播放,在不同的地点浏览下载的视频或个人录制的视频,以享受移动终端带来的智能化体验。With the advent of the era of intelligent mobile terminals, the configuration of mobile terminals is becoming more and more powerful, and the functions are more and more complete. More and more users play video through mobile terminals, and browse downloaded videos or personal recordings in different locations. Video to enjoy the intelligent experience brought by mobile terminals.
然而,由于现有技术对视频的播放控制,需要进入到视频播放器的控制界面,才能对进行视频暂停、视频播放、视频切换、视频快进或视频快退的操作。以视频切换为例,当对具有触摸屏的移动终端进行播放控制时,用户需要按触摸屏上视频的播放界面,从而进入到视频的控制界面,再通查找相应切换按键,以完成视频的上下集切换操作,操作过程繁琐,并且,每次进行视频播放操作,需要启动触摸屏,增加了终端的耗电量。However, due to the prior art playback control of the video, it is necessary to enter the control interface of the video player to perform operations such as video pause, video playback, video switching, video fast forward or video fast rewind. Taking video switching as an example, when playing control on a mobile terminal with a touch screen, the user needs to press the video playing interface on the touch screen to enter the video control interface, and then find the corresponding switching button to complete the video upper and lower set switching. Operation, the operation process is cumbersome, and each time the video playback operation is performed, the touch screen needs to be activated, which increases the power consumption of the terminal.
发明内容Summary of the invention
本发明的实施例提供一种视频控制方法及手机终端,通过预置手机终端的位移参数与视频控制操作之间的对应关系,实现了通过不同方向甩动对该手机终端正在播放视频进行上下集切换的功能。The embodiment of the present invention provides a video control method and a mobile phone terminal. By presetting the correspondence between the displacement parameter of the mobile phone terminal and the video control operation, the mobile device is playing the video in the different directions. Switching function.
为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:
本发明的实施例提供一种视频控制方法,应用于手机终端在播放视频的过程中,所述方法包括:An embodiment of the present invention provides a video control method, which is applied to a process in which a mobile phone terminal plays a video, and the method includes:
所述手机终端获取自身的位移参数,所述位移参数为所述手机终端响应于用户甩动而生成的,其中,所述位移参数包括所述手机终端的位移值和位移时间;The mobile terminal obtains its own displacement parameter, and the displacement parameter is generated by the mobile phone terminal in response to the user's swaying, wherein the displacement parameter includes a displacement value and a displacement time of the mobile phone terminal;
根据所述位移参数计算在预先设定的各方向上的加速度的值; Calculating a value of the acceleration in each of the preset directions according to the displacement parameter;
若在第一方向上的加速度的值大于第一预设阈值,所述手机终端则生成第一切换指令,所述第一切换指令用于指示切换当前播放的视频至当前播放剧集的上一集;If the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal generates a first switching instruction, where the first switching instruction is used to indicate that the currently played video is switched to the previous one of the currently played episode. set;
若在第二方向上的加速度的值大于所述第一预设阈值,所述手机终端则生成第二切换指令,所述第二切换指令用于指示切换当前播放的视频至当前播放剧集的下一集,其中,所述第二方向与所述第一方向平行且相反;If the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction, where the second switching instruction is used to indicate that the currently played video is switched to the currently played episode. a next set, wherein the second direction is parallel and opposite to the first direction;
所述手机终端根据所述第一切换指令或所述第二切换指令对当前播放的视频进行相应的切换操作。The mobile terminal performs a corresponding switching operation on the currently played video according to the first switching instruction or the second switching instruction.
在所述根据所述位移参数计算在预先设定的各方向上的加速度的值之后,还包括:After the calculating the value of the acceleration in the predetermined direction according to the displacement parameter, the method further includes:
若在第三方向上的加速度的值大于第二预设阈值,所述手机终端则生成第三切换指令,所述第三切换指令用于指示暂停当前播放的视频;If the value of the acceleration in the third direction is greater than the second preset threshold, the mobile terminal generates a third switching instruction, where the third switching instruction is used to indicate that the currently playing video is suspended;
若在第四方向上的加速度的值大于所述第二预设阈值,所述手机终端则生成第四切换指令,所述第四切换指令用于指示播放当前视频;If the value of the acceleration in the fourth direction is greater than the second preset threshold, the mobile terminal generates a fourth switching instruction, where the fourth switching instruction is used to indicate that the current video is played;
其中,所述第三方向与所述第四方向平行且相反,所述第三方向与所述第一方向垂直并在同一平面内;Wherein the third direction is parallel and opposite to the fourth direction, and the third direction is perpendicular to the first direction and in the same plane;
所述手机终端根据所述第三切换指令或所述第四切换指令对当前播放的视频进行相应的控制操作。The mobile terminal performs a corresponding control operation on the currently played video according to the third switching instruction or the fourth switching instruction.
在所述根据所述位移参数计算在预先设定的各方向上的加速度的值之后,还包括:After the calculating the value of the acceleration in the predetermined direction according to the displacement parameter, the method further includes:
若在第五方向上的加速度的值大于第三预设阈值,所述手机终端则生成第五切换指令,所述第五切换指令用于指示增加当前播放视频的亮度;If the value of the acceleration in the fifth direction is greater than the third preset threshold, the mobile terminal generates a fifth switching instruction, where the fifth switching instruction is used to increase the brightness of the currently played video.
若在第六方向上的加速度的值大于第三预设阈值,所述手机终端则生成第六切换指令,所述第六切换指令用于指示降低当前播放视频的亮度;If the value of the acceleration in the sixth direction is greater than the third preset threshold, the mobile terminal generates a sixth switching instruction, where the sixth switching instruction is used to indicate that the brightness of the currently played video is decreased;
其中,所述第五方向与第六方向平行且相反,所述第五方向与所述第一方向所在的平面垂直;Wherein the fifth direction is parallel and opposite to the sixth direction, and the fifth direction is perpendicular to a plane in which the first direction is located;
所述手机终端根据所述第五切换指令或所述第六切换指令对当前播放的视频进行相应的控制操作。 The mobile phone terminal performs a corresponding control operation on the currently played video according to the fifth switching instruction or the sixth switching instruction.
所述根据所述位移参数计算在预先设定的各方向上的加速度的值包括:The calculating the value of the acceleration in each of the preset directions according to the displacement parameter includes:
将所述手机终端的位移值投影至所述预先设定的各方向,获得所述预先设定的各方向上的位移分量值,所述预先设定的各方向包括所述第一方向和/或第二方向和/或第三方向和/或第四方向和/或第五方向和/或第六方向;Projecting the displacement value of the mobile phone terminal to the preset direction to obtain the preset displacement component values in the respective directions, wherein the preset directions include the first direction and/or Or a second direction and/or a third direction and/or a fourth direction and/or a fifth direction and/or a sixth direction;
计算所述预先设定的各方向的位移分量值除以所述位移时间的平方,获得所述在预先设定的各方向上的加速度的值。Calculating the value of the displacement component in each of the preset directions divided by the square of the displacement time, and obtaining the value of the acceleration in the predetermined direction.
在所述手机终端获取自身的位移参数之前,还包括:Before the mobile terminal obtains its own displacement parameter, the method further includes:
所述手机终端获取响应于用户触发的感应控制按键操作,启动所述感应控制功能。The mobile phone terminal acquires the sensing control button operation in response to a user triggering, and activates the sensing control function.
本发明的实施例提供一种手机终端,包括:An embodiment of the present invention provides a mobile phone terminal, including:
获取单元,用于所述手机终端获取自身的位移参数,所述位移参数为所述手机终端响应于用户甩动而生成的,其中,所述位移参数包括所述手机终端的位移值和位移时间;An acquiring unit, configured to acquire, by the mobile phone terminal, a displacement parameter, where the displacement parameter is generated by the mobile phone terminal in response to user motion, wherein the displacement parameter includes a displacement value and a displacement time of the mobile phone terminal ;
计算单元,用于根据所述位移参数计算在预先设定的各方向上的加速度的值;a calculating unit, configured to calculate a value of the acceleration in each of the preset directions according to the displacement parameter;
处理单元,用于若在第一方向上的加速度的值大于第一预设阈值,所述手机终端则生成第一切换指令,所述第一切换指令用于指示切换当前播放的视频至当前播放剧集的上一集;以及若在第二方向上的加速度的值大于所述第一预设阈值,所述手机终端则生成第二切换指令,所述第二切换指令用于指示切换当前播放的视频至当前播放剧集的下一集,其中,所述第二方向与所述第一方向平行且相反;a processing unit, configured to: if the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal generates a first switching instruction, where the first switching instruction is used to indicate that the currently played video is switched to the current playback a previous set of the episode; and if the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction, where the second switching instruction is used to indicate that the current playback is switched Video to the next episode of the currently played episode, wherein the second direction is parallel and opposite to the first direction;
执行单元,用于所述手机终端根据所述第一切换指令或所述第二切换指令对当前播放的视频进行相应的切换操作,以及所述手机终端获取响应于用户触发的感应控制按键操作,启动所述感应控制功能。An execution unit, configured to perform, by the mobile phone terminal, a corresponding switching operation on the currently played video according to the first switching instruction or the second switching instruction, and the mobile terminal acquiring an operation of the sensing control button triggered by the user triggering, The sensing control function is activated.
所述处理单元,还用于若在第三方向上的加速度的值大于第二预设阈值,所述手机终端则生成第三切换指令,所述第三切换指令用于指示暂停 当前播放的视频;以及若在第四方向上的加速度的值大于所述第二预设阈值,所述手机终端则生成第四切换指令,所述第四切换指令用于指示播放当前视频;其中,所述第三方向与所述第四方向平行且相反,所述第三方向与所述第一方向垂直并在同一平面内;The processing unit is further configured to: if the value of the acceleration in the third direction is greater than the second preset threshold, the mobile terminal generates a third switching instruction, where the third switching instruction is used to indicate the suspension The currently playing video; and if the value of the acceleration in the fourth direction is greater than the second preset threshold, the mobile terminal generates a fourth switching instruction, where the fourth switching instruction is used to indicate that the current video is played; The third direction is parallel and opposite to the fourth direction, and the third direction is perpendicular to the first direction and in the same plane;
所述执行单元,还用于所述手机终端根据所述第三切换指令或所述第四切换指令对当前播放的视频进行相应的控制操作。The execution unit is further configured to perform, by the mobile phone terminal, a corresponding control operation on the currently played video according to the third switching instruction or the fourth switching instruction.
所述处理单元,还用于若在第五方向上的加速度的值大于第三预设阈值,所述手机终端则生成第五切换指令,所述第五切换指令用于指示增加当前播放视频的亮度;以及若在第六方向上的加速度的值大于第三预设阈值,所述手机终端则生成第六切换指令,所述第六切换指令用于指示降低当前播放视频的亮度;其中,所述第五方向与第六方向平行且相反,所述第五方向与所述第一方向所在的平面垂直;The processing unit is further configured to: if the value of the acceleration in the fifth direction is greater than the third preset threshold, the mobile terminal generates a fifth switching instruction, where the fifth switching instruction is used to indicate that the currently played video is added. And the brightness of the current playback video is generated by the mobile phone terminal, where the mobile phone terminal generates a sixth switching instruction, where the sixth switching instruction is used to indicate that the brightness of the currently played video is reduced; The fifth direction is parallel and opposite to the sixth direction, and the fifth direction is perpendicular to a plane in which the first direction is located;
所述执行单元,还用于所述手机终端根据所述第五切换指令或所述第六切换指令对当前播放的视频进行相应的控制操作。The execution unit is further configured to perform, by the mobile phone terminal, a corresponding control operation on the currently played video according to the fifth switching instruction or the sixth switching instruction.
所述计算单元,用于将所述手机终端的位移值投影至所述预先设定的各方向,获得所述预先设定的各方向上的位移分量值,所述预先设定的各方向包括所述第一方向和/或第二方向和/或第三方向和/或第四方向和/或第五方向和/或第六方向;以及计算所述预先设定的各方向的位移分量值除以所述位移时间的平方,获得所述在预先设定的各方向上的加速度的值。The calculating unit is configured to project the displacement value of the mobile phone terminal to the preset direction to obtain the preset displacement component values in the respective directions, where the preset directions include The first direction and/or the second direction and/or the third direction and/or the fourth direction and/or the fifth direction and/or the sixth direction; and calculating the displacement component values of the predetermined directions Dividing the square of the displacement time, the value of the acceleration in the predetermined direction is obtained.
所述手机终端设置有陀螺仪和/或具备重力感应器和/或接近感应器和/或地磁感应器和/或手势感应器。The handset terminal is provided with a gyroscope and/or with a gravity sensor and/or a proximity sensor and/or a geomagnetic sensor and/or a gesture sensor.
本发明的实施例提供一种视频控制方法及手机终端,应用于手机终端在播放视频的过程中,通过预置手机终端的位移参数与视频控制操作之间的对应关系,确定了用户在观看视频过程中对手机终端的甩动操作所对应的上下集切换视频操作,实现了通过不同方向甩动手机终端对该手机终端正在播放视频进行上下集切换的功能,避免了用户进入控制界面查找相应控制按键的繁琐流程,每次进行视频播放操作,不需要启动触摸屏,降低了终端的耗电量。 An embodiment of the present invention provides a video control method and a mobile phone terminal, which are applied to a mobile phone terminal in a process of playing a video, and by determining a correspondence between a displacement parameter of the mobile phone terminal and a video control operation, determining that the user is watching the video. In the process, the upper and lower set switching video operations corresponding to the mobile terminal's swaying operation realizes the function of switching the mobile terminal to play the video on the mobile terminal by different directions, thereby avoiding the user entering the control interface to find the corresponding control. The cumbersome process of the button, each time the video playback operation, does not need to start the touch screen, reducing the power consumption of the terminal.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明的实施例提供的一种视频控制方法的流程示意图一;1 is a schematic flowchart 1 of a video control method according to an embodiment of the present invention;
图2为空间按坐标系内计算加速度的值的示意图;2 is a schematic diagram of the calculation of the value of the acceleration in the coordinate system;
图3为本发明的实施例提供的一种视频控制方法的流程示意图二;3 is a schematic flowchart 2 of a video control method according to an embodiment of the present invention;
图4为本发明的实施例提供的一种手机终端的结构示意图。FIG. 4 is a schematic structural diagram of a mobile phone terminal according to an embodiment of the present invention.
具体实施方式detailed description
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、接口、技术之类的具体细节,以便透彻理解本发明。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, for purposes of illustration and description, reference However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known devices, circuits, and methods are omitted so as not to obscure the description of the invention.
手机终端,为一种手机无线网络接收端的简称,是可以在较广范围内使用的便携式电话终端,包含发射器(手机),接收器(网络服务器)。进一步地,手机终端也可以为电视手机,即将电视机的功能集成到手机中,通过手机收播电视信号。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。The mobile phone terminal is an abbreviation of a mobile phone wireless network receiving end, and is a portable telephone terminal that can be used in a wide range, including a transmitter (mobile phone) and a receiver (network server). Further, the mobile phone terminal can also be a TV mobile phone, that is, the function of the television is integrated into the mobile phone, and the television signal is broadcasted through the mobile phone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
实施例一Embodiment 1
本发明的实施例提供一种视频控制方法,如图1所示,包括:An embodiment of the present invention provides a video control method, as shown in FIG. 1, including:
101、手机终端在播放视频的过程中,获取自身的位移参数。101. The mobile terminal acquires its own displacement parameter during the process of playing the video.
其中,本发明实施例中的位移参数为手机终端响应于用户甩动而生成的,可以包括空间坐标内x轴、y轴、z轴正负六个方向内手机终端的位移值和位移时间。另外,本发明实施例中的手机终端包括具备陀螺仪和/或具备重力感应器和/或接近感应器和/或地磁感应器和/或手势感应器。 The displacement parameter in the embodiment of the present invention is generated by the mobile phone terminal in response to the user's swaying, and may include a displacement value and a displacement time of the mobile phone terminal in the six directions of the x-axis, the y-axis, and the z-axis in the spatial coordinate. In addition, the mobile phone terminal in the embodiment of the present invention includes a gyroscope and/or a gravity sensor and/or a proximity sensor and/or a geomagnetic sensor and/or a gesture sensor.
本发明实施例提供了一种视频控制方法,应用于手机终端,通过预置手机终端的位移参数与视频控制操作之间的对应关系,以使得在视频播放的过程中感知用户不同方向的甩动操作,实现了通过不同方向甩动手机终端对该手机终端正在播放视频进行上下集切换的功能,避免了用户进入控制界面查找相应控制按键的繁琐流程。The embodiment of the invention provides a video control method, which is applied to a mobile phone terminal, by presetting the correspondence between the displacement parameter of the mobile phone terminal and the video control operation, so as to perceive the user in different directions during the video playing process. The operation realizes the function of switching the mobile terminal to play the video on the mobile terminal by moving the upper and lower sets in different directions, thereby avoiding the cumbersome process of the user entering the control interface to find the corresponding control button.
具体的,用户通过触发手机终端上的感应控制按键,启动感应控制功能。在该感应功能触发的状态下,手机终端在播放视频的过程中,获取自身的位移参数,该位移参数为手机终端响应于用户甩动而生成的。Specifically, the user activates the sensing control function by triggering an inductive control button on the mobile terminal. In the state in which the sensing function is triggered, the mobile terminal acquires its own displacement parameter during the process of playing the video, and the displacement parameter is generated by the mobile terminal in response to the user's incitement.
102、手机终端根据位移参数计算在预先设定的各方向上的加速度的值。102. The mobile terminal calculates a value of the acceleration in each of the preset directions according to the displacement parameter.
其中,该位移参数的矢量方向为以空间坐标内x轴、y轴、z轴为坐标系生成的矢量的方向。该加速度包括六个加速度分量值,六个加速度分量值为手机终端在空间上的六个加速度分量值。即是六个方向的值,分别为:The vector direction of the displacement parameter is a direction of a vector generated by using the x-axis, the y-axis, and the z-axis as coordinate systems in the spatial coordinates. The acceleration includes six acceleration component values, and the six acceleration component values are six acceleration component values of the mobile terminal in space. That is, the values in the six directions are:
values[0]:x轴正负方向加速度;Values[0]: acceleration in the positive and negative directions of the x-axis;
values[1]:y轴正负方向加速度;Values[1]: acceleration in the positive and negative directions of the y-axis;
values[2]:z轴正负方向加速度;Values[2]: acceleration in the positive and negative directions of the z-axis;
其中x,y,z方向的定义是以水平放置的手机终端的右下角为参照系坐标原点,x轴方向就是手机终端的水平方向,且向右为正;y轴方向就是手机终端的沿水平面的竖直方向,且向前为正;z轴方向就是手机终端的与水平面垂直的方向,且天空的方向为正,地面的方向为负。The x, y, and z directions are defined by the lower right corner of the horizontally placed mobile phone terminal as the reference system coordinate origin, the x-axis direction is the horizontal direction of the mobile phone terminal, and is positive to the right; the y-axis direction is the horizontal plane of the mobile phone terminal. The vertical direction is positive forward; the z-axis direction is the direction perpendicular to the horizontal plane of the mobile phone terminal, and the direction of the sky is positive and the direction of the ground is negative.
由于视频播放设备遥控器中设置有重力传感器,用户在甩动手机终端时,重力传感器就能够获取位移参数进而计算该矢量方向以及加速度的值。Since the gravity sensor is disposed in the remote controller of the video playing device, when the user shakes the mobile phone terminal, the gravity sensor can acquire the displacement parameter and calculate the vector direction and the value of the acceleration.
具体的,将手机终端的位移值投影至预先设定的各方向,获得预先设定的各方向上的位移分量值,进而手机终端计算预先设定的各方向的位移分量值除以位移时间的平方,获得在预先设定的各方向上的加速度的值。Specifically, the displacement value of the mobile phone terminal is projected to each of the preset directions, and the preset displacement component values in the respective directions are obtained, and then the mobile phone terminal calculates the preset displacement component values in each direction divided by the displacement time. Squared, the value of the acceleration in the predetermined direction is obtained.
如图2所示,点O为手机终端运动的起点,点P为手机终端运动的终点,OP为手机终端运动的位移值,T为手机终端从O到P运动的时间,OM为OP在z平面内的投影,那么在z平面内手机终端的加速度值=OM/T2。As shown in Figure 2, point O is the starting point of mobile terminal motion, point P is the end point of mobile terminal motion, OP is the displacement value of mobile terminal motion, T is the time when mobile terminal moves from O to P, and OM is OP in z Projection in the plane, then the acceleration value of the mobile terminal in the z plane = OM/T2.
103、若在第一方向上的加速度的值大于第一预设阈值,手机终端则生 成第一切换指令。103. If the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal is Into the first switching instruction.
其中,第一切换指令用于指示切换当前播放的视频至当前播放剧集内的上一集。The first switching instruction is used to indicate that the currently played video is switched to the previous episode in the currently played episode.
具体的,若计算位移参数得到的矢量方向为第一方向,该第一方向可以为x轴正方向,并且,计算位移参数得到的加速度的值在该第一方向上的投影的值大于第一预设阈值,那么手机终端生成第一切换指令,指示切换当前播放的视频至当前播放剧集内的上一集。Specifically, if the vector direction obtained by calculating the displacement parameter is the first direction, the first direction may be a positive direction of the x-axis, and the value of the acceleration obtained by calculating the displacement parameter is greater than the first value of the projection in the first direction. After the threshold is preset, the mobile terminal generates a first switching instruction, which instructs to switch the currently played video to the previous episode in the currently playing episode.
104、若在第二方向上的加速度的值大于第一预设阈值,手机终端则生成第二切换指令。104. If the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction.
其中,第二切换指令用于指示切换当前播放的视频至当前播放剧集内的下一集,其中,该第二方向与上述第一方向平行且相反。The second switching instruction is used to indicate that the currently played video is switched to the next episode in the current playing episode, wherein the second direction is parallel and opposite to the first direction.
具体的,若计算位移参数得到的矢量方向为第二方向,该第二方向可以为x轴负方向,并且,计算位移参数得到的加速度的值在该第二方向上的投影的值仍然大于该第一预设阈值,那么手机终端生成第二切换指令,指示切换当前播放的视频至当前播放剧集内的下一集。Specifically, if the vector direction obtained by calculating the displacement parameter is the second direction, the second direction may be a negative direction of the x-axis, and the value of the projection obtained by calculating the displacement parameter is still greater than the value of the projection in the second direction. The first preset threshold, then the mobile terminal generates a second switching instruction, indicating that the currently played video is switched to the next episode in the currently played episode.
需要说明的是,此处的第一方向以及第二方向仅仅是以x轴正方向和x轴负方向为例,也该第一方向以及第二方向也可以分别为y轴正方向和y轴负方向,或者z轴正方向和z轴负方向。It should be noted that the first direction and the second direction herein are only the positive direction of the x-axis and the negative direction of the x-axis. The first direction and the second direction may also be the positive direction of the y-axis and the y-axis, respectively. Negative direction, or positive direction of z-axis and negative direction of z-axis.
105、手机终端根据第一切换指令或第二切换指令对当前播放的视频进行相应的切换操作。105. The mobile terminal performs a corresponding switching operation on the currently played video according to the first switching instruction or the second switching instruction.
具体的,若手机终端生成第一指令,则执行切换当前播放的视频至当前播放剧集内的上一集的操作;若手机终端生成第二指令,则执行切换当前播放的视频至当前播放剧集内的下一集的操作。Specifically, if the mobile terminal generates the first instruction, performing an operation of switching the currently played video to the previous episode in the currently played episode; if the mobile terminal generates the second instruction, performing switching the currently played video to the currently played drama The operation of the next episode within the set.
至此,手机终端根据位移参数生成相应视频切换指令,实现了通过不同方向甩动手机终端对该手机终端正在播放视频进行上下集切换的功能。At this point, the mobile terminal generates a corresponding video switching instruction according to the displacement parameter, and realizes the function of switching the mobile terminal to perform the upper and lower set switching of the video being played by the mobile terminal in different directions.
本发明的实施例提供一种视频控制方法,应用于手机终端在播放视频的过程中,手机终端通过手机终端获取自身的位移参数,位移参数为手机终端响应于用户甩动而生成的;进而根据位移参数计算在预先设定的各方向上的加速度的值;若在第一方向上的加速度的值大于第一预设阈值,手机终端则生成第一切换指令,第一切换指令用于指示切换当前播放的视频 至当前播放剧集的上一集;若在第二方向上的加速度的值大于第一预设阈值,手机终端则生成第二切换指令,第二切换指令用于指示切换当前播放的视频至当前播放剧集的下一集,其中,第二方向与第一方向平行且相反;最后手机终端根据第一切换指令或第二切换指令对当前播放的视频进行相应的切换操作。该方法通过预置手机终端的位移参数与视频控制操作之间的对应关系,确定了用户在观看视频过程中对手机终端的甩动操作所对应的上下集切换视频操作,实现了通过不同方向甩动手机终端对该手机终端正在播放视频进行上下集切换的功能,避免了用户进入控制界面查找相应控制按键的繁琐流程,每次进行视频播放操作,不需要启动触摸屏,降低了终端的耗电量。The embodiment of the present invention provides a video control method, which is applied to a mobile phone terminal in a process of playing a video, and the mobile terminal obtains its own displacement parameter through the mobile phone terminal, and the displacement parameter is generated by the mobile terminal in response to the user's incitement; The displacement parameter calculates a value of the acceleration in each of the preset directions; if the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal generates a first switching instruction, and the first switching instruction is used to indicate the switching. Currently playing video Up to the previous episode of the current episode; if the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction, and the second switching instruction is used to indicate that the currently played video is switched to the current The next episode of the episode is played, wherein the second direction is parallel and opposite to the first direction; finally, the mobile terminal performs a corresponding switching operation on the currently played video according to the first switching instruction or the second switching instruction. By presetting the correspondence between the displacement parameters of the mobile phone terminal and the video control operation, the method determines the upper and lower set switching video operations corresponding to the user's swaying operation of the mobile phone terminal during the video viewing process, and realizes the different directions. The mobile phone terminal performs the function of switching the video on the mobile terminal to play the upper and lower sets, thereby avoiding the cumbersome process of the user entering the control interface to find the corresponding control button. Each time the video playing operation is performed, the touch screen is not required to be started, and the power consumption of the terminal is reduced. .
实施例二Embodiment 2
本发明的实施例提供一种视频控制方法,如图3所示,包括:An embodiment of the present invention provides a video control method, as shown in FIG. 3, including:
201、手机终端获取响应于用户触发的感应控制按键操作,启动感应控制功能。201. The mobile terminal acquires an induction control button operation in response to a user-triggered sensing control button.
本发明实施例提供了一种视频控制方法,应用于手机终端,通过预置手机终端的位移参数与视频控制操作之间的对应关系,以使得在视频播放的过程中感知用户不同方向的甩动操作,实现了通过不同方向甩动手机终端对该手机终端正在播放视频进行上下集切换的功能,避免了用户进入控制界面查找相应控制按键的繁琐流程。The embodiment of the invention provides a video control method, which is applied to a mobile phone terminal, by presetting the correspondence between the displacement parameter of the mobile phone terminal and the video control operation, so as to perceive the user in different directions during the video playing process. The operation realizes the function of switching the mobile terminal to play the video on the mobile terminal by moving the upper and lower sets in different directions, thereby avoiding the cumbersome process of the user entering the control interface to find the corresponding control button.
具体的,用户通过触发手机终端上的感应控制按键,启动感应控制功能。在该感应功能触发的状态下,手机终端在播放视频的过程中,获取自身的位移参数进而生成第一切换指令/第二切换指令。其中,户通过触发手机终端上的感应控制按键可以为触发相应的物理按键,也可以为触发相应的虚拟按键。Specifically, the user activates the sensing control function by triggering an inductive control button on the mobile terminal. In the state in which the sensing function is triggered, the mobile terminal acquires its own displacement parameter in the process of playing the video to generate a first switching instruction/second switching instruction. The household can trigger the corresponding physical button by triggering the sensing control button on the mobile terminal, or trigger the corresponding virtual button.
另外,本发明实施例中的手机终端设置有陀螺仪和/或具备重力感应器和/或接近感应器和/或地磁感应器和/或手势感应器。In addition, the mobile phone terminal in the embodiment of the present invention is provided with a gyroscope and/or with a gravity sensor and/or a proximity sensor and/or a geomagnetic sensor and/or a gesture sensor.
202、手机终端在播放视频的过程中,获取自身的位移参数。202. The mobile terminal acquires its own displacement parameter during the process of playing the video.
其中,本发明实施例中的位移参数为手机终端响应于用户甩动而生成的,可以包括空间坐标内x轴、y轴、z轴正负六个方向内手机终端的位移值和位移时间。其中x,y,z方向的定义是以水平放置的手机终端的右下 角为参照系坐标原点,x轴方向就是手机终端的水平方向,且向右为正;y轴方向就是手机终端的沿水平面的竖直方向,且向前为正;z轴方向就是手机终端的与水平面垂直的方向,且天空的方向为正,地面的方向为负。The displacement parameter in the embodiment of the present invention is generated by the mobile phone terminal in response to the user's swaying, and may include a displacement value and a displacement time of the mobile phone terminal in the six directions of the x-axis, the y-axis, and the z-axis in the spatial coordinate. The x, y, and z directions are defined as the lower right of the mobile terminal placed horizontally. The angle is the origin of the reference system coordinate, the x-axis direction is the horizontal direction of the mobile phone terminal, and is positive to the right; the y-axis direction is the vertical direction of the mobile phone terminal along the horizontal plane, and the forward direction is positive; the z-axis direction is the mobile terminal The direction perpendicular to the horizontal plane, and the direction of the sky is positive, and the direction of the ground is negative.
具体的,用户通过触发手机终端上的感应控制按键,启动感应控制功能。在该感应功能触发的状态下,手机终端在播放视频的过程中,获取自身的位移参数,该位移参数为手机终端响应于用户甩动而生成的。Specifically, the user activates the sensing control function by triggering an inductive control button on the mobile terminal. In the state in which the sensing function is triggered, the mobile terminal acquires its own displacement parameter during the process of playing the video, and the displacement parameter is generated by the mobile terminal in response to the user's incitement.
203、手机终端计算位移参数的矢量方向以及矢量方向上的加速度的值。203. The mobile terminal calculates a vector direction of the displacement parameter and a value of the acceleration in the vector direction.
具体的,当用户使用手机终端观看当前视频时,想要切换当前视频为播放列表中的下一集或上一集,此时可以对手机终端做特定方向的甩动操作,由于该手机终端内设有重力感应装置,因此手机终端在获取位移参数后进一步得到矢量方向以及加速度的值。Specifically, when the user uses the mobile terminal to view the current video, and wants to switch the current video to the next episode or the previous episode in the playlist, the mobile terminal may perform a specific direction of the mobile terminal, because the mobile terminal A gravity sensing device is provided, so the mobile phone terminal further obtains the vector direction and the acceleration value after acquiring the displacement parameter.
需要说明的是,加速度的单位是米/秒2,由于视频播放设备遥控器可能向着不同的方向运动,因此重力传感器获得的加速度值包括有三个方向的值,分别为:It should be noted that the unit of acceleration is m/s 2 . Since the remote control of the video playback device may move in different directions, the acceleration value obtained by the gravity sensor includes values in three directions, namely:
values[0]:x轴方向加速度;Values[0]: acceleration in the x-axis direction;
values[1]:y轴方向加速度;Values[1]: acceleration in the y-axis direction;
values[2]:z轴方向加速度;Values[2]: acceleration in the z-axis direction;
其中x,y,z方向的定义是以水平放置在的视频播放设备遥控器的右下角为参照系坐标原点,x轴方向就是视频播放设备遥控器的水平方向,且向右为正;y轴方向就是视频播放设备遥控器的沿水平面的竖直方向,且向前为正;z轴方向就是视频播放设备遥控器的与水平面垂直的方向,且天空的方向为正,地球的方向为负。The x, y, and z directions are defined as the reference system coordinate origin in the lower right corner of the video playback device remote controller placed horizontally, and the x-axis direction is the horizontal direction of the video playback device remote controller, and is positive to the right; the y-axis The direction is the vertical direction of the video playback device remote control along the horizontal plane, and the forward direction is positive; the z-axis direction is the direction perpendicular to the horizontal plane of the video playback device remote controller, and the direction of the sky is positive, and the direction of the earth is negative.
具体的,将手机终端的位移值投影至预先设定的各方向,获得预先设定的各方向上的位移分量值,进而手机终端计算预先设定的各方向的位移分量值除以位移时间的平方,获得在预先设定的各方向上的加速度的值。Specifically, the displacement value of the mobile phone terminal is projected to each of the preset directions, and the preset displacement component values in the respective directions are obtained, and then the mobile phone terminal calculates the preset displacement component values in each direction divided by the displacement time. Squared, the value of the acceleration in the predetermined direction is obtained.
204、若在第一方向上的加速度的值大于第一预设阈值,手机终端则生成第一切换指令。204. If the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal generates a first switching instruction.
其中,第一切换指令用于指示切换当前播放的视频至当前播放剧集内 的上一集。The first switching instruction is used to indicate that the currently played video is switched to the currently playing episode. The last episode.
具体的,若计算位移参数得到的矢量方向为第一方向,该第一方向可以为x轴正方向,并且,计算位移参数得到的加速度的值在该第一方向上的投影的值大于第一预设阈值,那么手机终端生成第一切换指令,指示切换当前播放的视频至当前播放剧集内的上一集。Specifically, if the vector direction obtained by calculating the displacement parameter is the first direction, the first direction may be a positive direction of the x-axis, and the value of the acceleration obtained by calculating the displacement parameter is greater than the first value of the projection in the first direction. After the threshold is preset, the mobile terminal generates a first switching instruction, which instructs to switch the currently played video to the previous episode in the currently playing episode.
205、若在第二方向上的加速度的值大于第一预设阈值,手机终端则生成第二切换指令。205. If the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction.
其中,第二切换指令用于指示切换当前播放的视频至当前播放剧集内的下一集,其中,该第二方向与上述第一方向平行且相反。The second switching instruction is used to indicate that the currently played video is switched to the next episode in the current playing episode, wherein the second direction is parallel and opposite to the first direction.
具体的,若计算位移参数得到的矢量方向为第二方向,该第二方向可以为x轴负方向,并且,计算位移参数得到的加速度的值在该第二方向上的投影的值仍然大于该第一预设阈值,那么手机终端生成第二切换指令,指示切换当前播放的视频至当前播放剧集内的下一集。Specifically, if the vector direction obtained by calculating the displacement parameter is the second direction, the second direction may be a negative direction of the x-axis, and the value of the projection obtained by calculating the displacement parameter is still greater than the value of the projection in the second direction. The first preset threshold, then the mobile terminal generates a second switching instruction, indicating that the currently played video is switched to the next episode in the currently played episode.
需要说明的是,此处的第一方向以及第二方向仅仅是以x轴正方向和x轴负方向为例,也该第一方向以及第二方向也可以分别为y轴正方向和y轴负方向,或者z轴正方向和z轴负方向。It should be noted that the first direction and the second direction herein are only the positive direction of the x-axis and the negative direction of the x-axis. The first direction and the second direction may also be the positive direction of the y-axis and the y-axis, respectively. Negative direction, or positive direction of z-axis and negative direction of z-axis.
206、若在第三方向上的加速度的值大于第二预设阈值,手机终端则生成第三切换指令。206. If the value of the acceleration in the third direction is greater than the second preset threshold, the mobile terminal generates a third switching instruction.
其中,第三切换指令用于指示暂停当前播放的视频。The third switching instruction is used to indicate that the currently playing video is paused.
具体的,若计算位移参数得到的矢量方向为第三方向,该第三方向可以为y轴负方向,并且,计算位移参数得到的加速度的值在该第三方向上的投影的值大于第二预设阈值,那么手机终端生成第三切换指令,指示暂停当前播放的视频。Specifically, if the vector direction obtained by calculating the displacement parameter is the third direction, the third direction may be a negative direction of the y-axis, and the value of the acceleration obtained by calculating the displacement parameter is greater than the second pre-projection value in the third direction. Set the threshold, then the mobile terminal generates a third switching instruction, indicating that the currently playing video is suspended.
207、若在第四方向上的加速度的值大于第二预设阈值,手机终端则生成第四切换指令。207. If the value of the acceleration in the fourth direction is greater than the second preset threshold, the mobile terminal generates a fourth switching instruction.
其中,第四切换指令用于指示播放当前视频。The fourth switching instruction is used to indicate that the current video is played.
具体的,若计算位移参数得到的矢量方向为第四方向,该第四方向可以为y轴正方向,并且,计算位移参数得到的加速度的值在该第四方向上的投影的值大于该第二预设阈值,那么手机终端生成第四切换指令,指示 播放当前播放的视频。Specifically, if the vector direction obtained by calculating the displacement parameter is the fourth direction, the fourth direction may be a positive direction of the y-axis, and the value of the acceleration obtained by calculating the displacement parameter is greater than the value of the projection in the fourth direction. Two preset thresholds, then the mobile terminal generates a fourth switching instruction, indicating Play the currently playing video.
需要说明的,上述第三方向与第四方向平行且相反,而且第三方向与第一方向垂直并在同一平面内。It should be noted that the third direction is parallel and opposite to the fourth direction, and the third direction is perpendicular to the first direction and in the same plane.
208、若在第五方向上的加速度的值大于第三预设阈值,手机终端则生成第五切换指令。208. If the value of the acceleration in the fifth direction is greater than the third preset threshold, the mobile terminal generates a fifth switching instruction.
其中,第五切换指令用于指示增加当前播放视频的亮度。The fifth switching instruction is used to indicate that the brightness of the currently played video is increased.
具体的,若计算位移参数得到的矢量方向为第五方向,该第五方向可以为z轴负方向,并且,计算位移参数得到的加速度的值在该第五方向上的投影的值大于第三预设阈值,那么手机终端生成第五切换指令,指示增加当前播放视频的亮度。Specifically, if the vector direction obtained by calculating the displacement parameter is the fifth direction, the fifth direction may be a negative direction of the z-axis, and the value of the acceleration obtained by calculating the displacement parameter is greater than the value of the projection in the fifth direction. After the threshold is preset, the mobile terminal generates a fifth switching instruction, which increases the brightness of the currently played video.
209、若在第六方向上的加速度的值大于第三预设阈值,手机终端则生成第六切换指令。209. If the value of the acceleration in the sixth direction is greater than the third preset threshold, the mobile terminal generates a sixth switching instruction.
其中,第六切换指令用于指示降低当前播放视频的亮度。The sixth switching instruction is used to indicate that the brightness of the currently played video is reduced.
具体的,若计算位移参数得到的矢量方向为第六方向,该第六方向可以为z轴正方向,并且,计算位移参数得到的加速度的值在该第六方向上的投影的值大于第三预设阈值,那么手机终端生成第六切换指令,指示降低当前播放视频的亮度。Specifically, if the vector direction obtained by calculating the displacement parameter is the sixth direction, the sixth direction may be the positive direction of the z-axis, and the value of the acceleration obtained by calculating the displacement parameter is greater than the value of the projection in the sixth direction. The preset threshold is used, and then the mobile terminal generates a sixth switching instruction, indicating that the brightness of the currently played video is reduced.
需要说明的是,上述第五方向与第六方向平行切相反,而且第五方向与第一方向所在的平面垂直。另外,步骤204至209没有时间上的逻辑顺序关系,不限制执行步骤的先后顺序。It should be noted that the fifth direction is opposite to the sixth direction, and the fifth direction is perpendicular to the plane where the first direction is located. In addition, steps 204 to 209 do not have a logical order relationship in time, and do not limit the order in which the steps are performed.
至此,手机终端设置了三组对应的甩动操作以及三组加速度的预设阀值,分别对应空间坐标系下x轴、y轴、z轴三组空间矢量方向,实现了通过不同方向甩动手机终端对该手机终端正在播放视频进行相应的控制操作。At this point, the mobile terminal sets three sets of corresponding tilting operations and preset thresholds of three sets of accelerations, corresponding to the space vector directions of the x-axis, the y-axis and the z-axis in the space coordinate system, respectively, and realizes shaking through different directions. The mobile terminal performs corresponding control operations on the video played by the mobile terminal.
210、手机终端根据第一切换指令/第二切换指令/第三切换指令/第四切换指令/第五切换指令/第六切换指令,对当前播放的视频进行相应的控制操作。210. The mobile terminal performs a corresponding control operation on the currently played video according to the first switching instruction/the second switching instruction/the third switching instruction/the fourth switching instruction/the fifth switching instruction/the sixth switching instruction.
具体的,若手机终端生成第一指令,则执行切换当前播放的视频至当前播放剧集内的上一集的操作。 Specifically, if the mobile terminal generates the first instruction, performing an operation of switching the currently played video to the previous episode in the currently played episode.
若手机终端生成第二指令,则执行切换当前播放的视频至当前播放剧集内的下一集的操作。If the mobile terminal generates the second instruction, performing an operation of switching the currently played video to the next episode in the currently played episode.
若手机终端生成第三指令,则执行暂停当前播放的视频的操作。If the mobile terminal generates a third instruction, an operation of suspending the currently played video is performed.
若手机终端生成第四指令,则执行播放当前播放的视频的操作。If the mobile terminal generates the fourth command, the operation of playing the currently played video is performed.
若手机终端生成第五指令,则执行增加当前播放视频的亮度的操作。If the mobile terminal generates the fifth command, an operation of increasing the brightness of the currently played video is performed.
若手机终端生成第六指令,则执行降低当前播放视频的亮度的操作。If the mobile terminal generates the sixth command, an operation of reducing the brightness of the currently played video is performed.
示例性的,用户在使用手机终端观看电视剧《还珠格格》的过程中,希望调节手机终端屏幕亮度,此时可以对手机终端做特定方向的甩动操作,比如以手机终端为水平面向上甩动,由于该手机终端内设有重力感应装置,因此手机终端获取用户向上甩动的位移参数,根据进一步计算获得该向上甩动的操作对应的矢量方向为第五方向,在该第五方向上的加速度的值为8米/秒2,大于第三预设值5米/秒2,于是手机终端生成第五切换指令,并执行第五切换指令所对应的增加当前播放视频的亮度的操作。Exemplarily, in the process of using the mobile terminal to watch the TV drama "Huanzhugege", the user wants to adjust the screen brightness of the mobile terminal, and at this time, the mobile terminal can be operated in a specific direction, for example, the mobile terminal is horizontally upward. Because the mobile phone terminal is provided with a gravity sensing device, the mobile terminal obtains the displacement parameter of the user's upward movement, and according to further calculation, the vector direction corresponding to the upward movement is the fifth direction, and the fifth direction is in the fifth direction. The value of the acceleration is 8 m/s 2 , which is greater than the third preset value of 5 m/s 2 , so that the mobile terminal generates a fifth switching instruction and performs an operation of increasing the brightness of the currently played video corresponding to the fifth switching instruction.
本发明的实施例提供一种视频控制方法,应用于手机终端在播放视频的过程中,手机终端通过手机终端获取自身的位移参数,位移参数为手机终端响应于用户甩动而生成的;进而根据位移参数计算在预先设定的各方向上的加速度的值;若在第一方向上的加速度的值大于第一预设阈值,手机终端则生成第一切换指令,第一切换指令用于指示切换当前播放的视频至当前播放剧集的上一集;若在第二方向上的加速度的值大于第一预设阈值,手机终端则生成第二切换指令,第二切换指令用于指示切换当前播放的视频至当前播放剧集的下一集,其中,第二方向与第一方向平行且相反;最后手机终端根据第一切换指令或第二切换指令对当前播放的视频进行相应的切换操作。该方法通过预置手机终端位移参数与视频控制操作之间的对应关系,确定了用户在观看视频过程中对手机终端的甩动操作所对应的上下集切换视频操作,实现了通过不同方向甩动手机终端对该手机终端正在播放视频进行上下集切换的功能,避免了用户进入控制界面查找相应控制按键的繁琐流程,每次进行视频播放操作,不需要启动触摸屏,降低了终端的耗电量。The embodiment of the present invention provides a video control method, which is applied to a mobile phone terminal in a process of playing a video, and the mobile terminal obtains its own displacement parameter through the mobile phone terminal, and the displacement parameter is generated by the mobile terminal in response to the user's incitement; The displacement parameter calculates a value of the acceleration in each of the preset directions; if the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal generates a first switching instruction, and the first switching instruction is used to indicate the switching. The currently played video is sent to the previous episode of the currently played episode; if the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction, and the second switching instruction is used to indicate that the current playback is switched. The video is to the next episode of the currently played episode, wherein the second direction is parallel and opposite to the first direction; finally, the mobile terminal performs a corresponding switching operation on the currently played video according to the first switching instruction or the second switching instruction. By presetting the correspondence between the displacement parameters of the mobile phone terminal and the video control operation, the method determines the upper and lower set switching video operations corresponding to the user's swaying operation of the mobile phone terminal during the video watching process, and realizes the shaking in different directions. The mobile terminal performs the function of switching the upper and lower sets of the video played by the mobile terminal, thereby avoiding the cumbersome process of the user entering the control interface to find the corresponding control button. Each time the video playing operation is performed, the touch screen is not required to be started, and the power consumption of the terminal is reduced.
实施例三Embodiment 3
本发明的实施例提供一种手机终端,如图4所示,包括: An embodiment of the present invention provides a mobile phone terminal, as shown in FIG. 4, including:
获取单元01,用于手机终端获取自身的位移参数,位移参数为手机终端响应于用户甩动而生成的,其中,位移参数包括手机终端的位移值和位移时间;The acquiring unit 01 is configured to acquire a displacement parameter of the mobile phone terminal, where the displacement parameter is generated by the mobile phone terminal in response to the user's movement, wherein the displacement parameter includes a displacement value and a displacement time of the mobile phone terminal;
计算单元02,用于根据位移参数计算在预先设定的各方向上的加速度的值;a calculating unit 02, configured to calculate a value of the acceleration in each of the preset directions according to the displacement parameter;
处理单元03,用于若在第一方向上的加速度的值大于第一预设阈值,手机终端则生成第一切换指令,第一切换指令用于指示切换当前播放的视频至当前播放剧集的上一集;以及若在第二方向上的加速度的值大于第一预设阈值,手机终端则生成第二切换指令,第二切换指令用于指示切换当前播放的视频至当前播放剧集的下一集,其中,第二方向与第一方向平行且相反;The processing unit 03 is configured to: if the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal generates a first switching instruction, where the first switching instruction is used to indicate that the currently played video is switched to the currently played episode The previous set; and if the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction, where the second switching instruction is used to indicate that the currently played video is switched to the current playing episode An episode wherein the second direction is parallel and opposite to the first direction;
执行单元04,用于手机终端根据第一切换指令或第二切换指令对当前播放的视频进行相应的切换操作,以及手机终端获取响应于用户触发的感应控制按键操作,启动感应控制功能。The executing unit 04 is configured to perform a corresponding switching operation on the currently played video according to the first switching instruction or the second switching instruction, and the mobile terminal acquires the sensing control button operation in response to the user triggering, and starts the sensing control function.
进一步地,处理单元03,还用于若在第三方向上的加速度的值大于第二预设阈值,手机终端则生成第三切换指令,第三切换指令用于指示暂停当前播放的视频;以及若在第四方向上的加速度的值大于第二预设阈值,手机终端则生成第四切换指令,第四切换指令用于指示播放当前视频;其中,第三方向与第四方向平行且相反,第三方向与第一方向垂直并在同一平面内;Further, the processing unit 03 is further configured to: if the value of the acceleration in the third direction is greater than the second preset threshold, the mobile terminal generates a third switching instruction, where the third switching instruction is used to indicate to pause the currently playing video; The value of the acceleration in the fourth direction is greater than the second preset threshold, and the mobile terminal generates a fourth switching instruction, where the fourth switching instruction is used to indicate that the current video is played; wherein the third direction is parallel and opposite to the fourth direction, The three directions are perpendicular to the first direction and in the same plane;
执行单元04,还用于手机终端根据第三切换指令或第四切换指令对当前播放的视频进行相应的控制操作。The executing unit 04 is further configured to perform, by the mobile terminal, a corresponding control operation on the currently played video according to the third switching instruction or the fourth switching instruction.
进一步地,处理单元03,还用于若在第五方向上的加速度的值大于第三预设阈值,手机终端则生成第五切换指令,第五切换指令用于指示增加当前播放视频的亮度;以及若在第六方向上的加速度的值大于第三预设阈值,手机终端则生成第六切换指令,第六切换指令用于指示降低当前播放视频的亮度;其中,第五方向与第六方向平行且相反,第五方向与第一方向所在的平面垂直;Further, the processing unit 03 is further configured to: if the value of the acceleration in the fifth direction is greater than the third preset threshold, the mobile terminal generates a fifth switching instruction, where the fifth switching instruction is used to increase the brightness of the currently played video; And if the value of the acceleration in the sixth direction is greater than the third preset threshold, the mobile terminal generates a sixth switching instruction, where the sixth switching instruction is used to indicate that the brightness of the currently played video is reduced; wherein the fifth direction and the sixth direction are Parallel and opposite, the fifth direction is perpendicular to the plane in which the first direction is located;
执行单元04,还用于手机终端根据第五切换指令或第六切换指令对当前播放的视频进行相应的控制操作。 The executing unit 04 is further configured to perform, by the mobile terminal, a corresponding control operation on the currently played video according to the fifth switching instruction or the sixth switching instruction.
进一步地,计算单元02,用于将手机终端的位移值投影至预先设定的各方向,获得预先设定的各方向上的位移分量值,预先设定的各方向包括第一方向和/或第二方向和/或第三方向和/或第四方向和/或第五方向和/或第六方向;以及计算预先设定的各方向的位移分量值除以位移时间的平方,获得在预先设定的各方向上的加速度的值。Further, the calculating unit 02 is configured to project the displacement value of the mobile phone terminal to each direction set in advance, and obtain preset displacement component values in each direction, and the preset directions include the first direction and/or a second direction and/or a third direction and/or a fourth direction and/or a fifth direction and/or a sixth direction; and calculating a displacement component value of each of the preset directions divided by the square of the displacement time, obtained in advance Set the value of the acceleration in each direction.
进一步地,手机终端设置有陀螺仪和/或具备重力感应器和/或接近感应器和/或地磁感应器和/或手势感应器。Further, the mobile phone terminal is provided with a gyroscope and/or with a gravity sensor and/or a proximity sensor and/or a geomagnetic sensor and/or a gesture sensor.
本发明的实施例提供一种手机终端,应用于手机终端在播放视频的过程中,手机终端通过手机终端获取自身的位移参数,位移参数为手机终端响应于用户甩动而生成的;进而根据位移参数计算在预先设定的各方向上的加速度的值;若在第一方向上的加速度的值大于第一预设阈值,手机终端则生成第一切换指令,第一切换指令用于指示切换当前播放的视频至当前播放剧集的上一集;若在第二方向上的加速度的值大于第一预设阈值,手机终端则生成第二切换指令,第二切换指令用于指示切换当前播放的视频至当前播放剧集的下一集,其中,第二方向与第一方向平行且相反;最后手机终端根据第一切换指令或第二切换指令对当前播放的视频进行相应的切换操作。该方法通过预置手机终端的位移参数与视频控制操作之间的对应关系,确定了用户在观看视频过程中对手机终端的甩动操作所对应的上下集切换视频操作,实现了通过不同方向甩动手机终端对该手机终端正在播放视频进行上下集切换的功能,避免了用户进入控制界面查找相应控制按键的繁琐流程,每次进行视频播放操作,不需要启动触摸屏,降低了终端的耗电量。The embodiment of the present invention provides a mobile phone terminal, which is applied to a mobile phone terminal in the process of playing video, the mobile phone terminal acquires its own displacement parameter through the mobile phone terminal, and the displacement parameter is generated by the mobile phone terminal in response to the user's sway; The parameter calculates a value of the acceleration in the predetermined direction; if the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal generates a first switching instruction, where the first switching instruction is used to indicate the current switching The played video is sent to the previous episode of the currently played episode; if the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction, and the second switching instruction is used to indicate that the current playback is switched. The video is to the next episode of the currently played episode, wherein the second direction is parallel and opposite to the first direction; finally, the mobile terminal performs a corresponding switching operation on the currently played video according to the first switching instruction or the second switching instruction. By presetting the correspondence between the displacement parameters of the mobile phone terminal and the video control operation, the method determines the upper and lower set switching video operations corresponding to the user's swaying operation of the mobile phone terminal during the video viewing process, and realizes the different directions. The mobile phone terminal performs the function of switching the video on the mobile terminal to play the upper and lower sets, thereby avoiding the cumbersome process of the user entering the control interface to find the corresponding control button. Each time the video playing operation is performed, the touch screen is not required to be started, and the power consumption of the terminal is reduced. .
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。It will be clearly understood by those skilled in the art that for the convenience and brevity of the description, only the division of each functional module described above is exemplified. In practical applications, the above function assignment can be completed by different functional modules as needed. The internal structure of the device is divided into different functional modules to perform all or part of the functions described above. For the specific working process of the system, the device and the unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分, 实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative, for example, the division of the modules or units is merely a logical functional division, There may be additional divisions in actual implementation, for example multiple units or components may be combined or integrated into another system, or some features may be omitted or not implemented. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (10)

  1. 一种视频控制方法,其特征在于,应用于手机终端在播放视频的过程中,所述方法包括:A video control method, which is applied to a process in which a mobile phone terminal plays a video, the method includes:
    所述手机终端获取自身的位移参数,所述位移参数为所述手机终端响应于用户甩动而生成的,其中,所述位移参数包括所述手机终端的位移值和位移时间;The mobile terminal obtains its own displacement parameter, and the displacement parameter is generated by the mobile phone terminal in response to the user's swaying, wherein the displacement parameter includes a displacement value and a displacement time of the mobile phone terminal;
    根据所述位移参数计算在预先设定的各方向上的加速度的值;Calculating a value of the acceleration in each of the preset directions according to the displacement parameter;
    若在第一方向上的加速度的值大于第一预设阈值,所述手机终端则生成第一切换指令,所述第一切换指令用于指示切换当前播放的视频至当前播放剧集的上一集;If the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal generates a first switching instruction, where the first switching instruction is used to indicate that the currently played video is switched to the previous one of the currently played episode. set;
    若在第二方向上的加速度的值大于所述第一预设阈值,所述手机终端则生成第二切换指令,所述第二切换指令用于指示切换当前播放的视频至当前播放剧集的下一集,其中,所述第二方向与所述第一方向平行且相反;If the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction, where the second switching instruction is used to indicate that the currently played video is switched to the currently played episode. a next set, wherein the second direction is parallel and opposite to the first direction;
    所述手机终端根据所述第一切换指令或所述第二切换指令对当前播放的视频进行相应的切换操作。The mobile terminal performs a corresponding switching operation on the currently played video according to the first switching instruction or the second switching instruction.
  2. 根据权利要求1所述的视频控制方法,其特征在于,在所述根据所述位移参数计算在预先设定的各方向上的加速度的值之后,还包括:The video control method according to claim 1, further comprising: after calculating the value of the acceleration in each of the preset directions according to the displacement parameter, further comprising:
    若在第三方向上的加速度的值大于第二预设阈值,所述手机终端则生成第三切换指令,所述第三切换指令用于指示暂停当前播放的视频;If the value of the acceleration in the third direction is greater than the second preset threshold, the mobile terminal generates a third switching instruction, where the third switching instruction is used to indicate that the currently playing video is suspended;
    若在第四方向上的加速度的值大于所述第二预设阈值,所述手机终端则生成第四切换指令,所述第四切换指令用于指示播放当前视频;If the value of the acceleration in the fourth direction is greater than the second preset threshold, the mobile terminal generates a fourth switching instruction, where the fourth switching instruction is used to indicate that the current video is played;
    其中,所述第三方向与所述第四方向平行且相反,所述第三方向与所述第一方向垂直并在同一平面内;Wherein the third direction is parallel and opposite to the fourth direction, and the third direction is perpendicular to the first direction and in the same plane;
    所述手机终端根据所述第三切换指令或所述第四切换指令对当前播放的视频进行相应的控制操作。The mobile terminal performs a corresponding control operation on the currently played video according to the third switching instruction or the fourth switching instruction.
  3. 根据权利要求1所述的视频控制方法,其特征在于,在所述根据所述位移参数计算在预先设定的各方向上的加速度的值之后,还包括:The video control method according to claim 1, further comprising: after calculating the value of the acceleration in each of the preset directions according to the displacement parameter, further comprising:
    若在第五方向上的加速度的值大于第三预设阈值,所述手机终端则生成第五切换指令,所述第五切换指令用于指示增加当前播放视频的亮度;If the value of the acceleration in the fifth direction is greater than the third preset threshold, the mobile terminal generates a fifth switching instruction, where the fifth switching instruction is used to increase the brightness of the currently played video.
    若在第六方向上的加速度的值大于第三预设阈值,所述手机终端则生 成第六切换指令,所述第六切换指令用于指示降低当前播放视频的亮度;If the value of the acceleration in the sixth direction is greater than the third preset threshold, the mobile terminal is a sixth switching instruction, where the sixth switching instruction is used to indicate that the brightness of the currently played video is reduced;
    其中,所述第五方向与第六方向平行且相反,所述第五方向与所述第一方向所在的平面垂直;Wherein the fifth direction is parallel and opposite to the sixth direction, and the fifth direction is perpendicular to a plane in which the first direction is located;
    所述手机终端根据所述第五切换指令或所述第六切换指令对当前播放的视频进行相应的控制操作。The mobile phone terminal performs a corresponding control operation on the currently played video according to the fifth switching instruction or the sixth switching instruction.
  4. 根据权利要求1至3任一项所述的视频控制方法,其特征在于,所述根据所述位移参数计算在预先设定的各方向上的加速度的值包括:The video control method according to any one of claims 1 to 3, wherein the calculating the value of the acceleration in each of the preset directions according to the displacement parameter comprises:
    将所述手机终端的位移值投影至所述预先设定的各方向,获得所述预先设定的各方向上的位移分量值,所述预先设定的各方向包括所述第一方向和/或第二方向和/或第三方向和/或第四方向和/或第五方向和/或第六方向;Projecting the displacement value of the mobile phone terminal to the preset direction to obtain the preset displacement component values in the respective directions, wherein the preset directions include the first direction and/or Or a second direction and/or a third direction and/or a fourth direction and/or a fifth direction and/or a sixth direction;
    计算所述预先设定的各方向的位移分量值除以所述位移时间的平方,获得所述在预先设定的各方向上的加速度的值。Calculating the value of the displacement component in each of the preset directions divided by the square of the displacement time, and obtaining the value of the acceleration in the predetermined direction.
  5. 根据权利要求1所述的视频控制方法,其特征在于,在所述手机终端获取自身的位移参数之前,还包括:The video control method according to claim 1, wherein before the mobile terminal obtains its own displacement parameter, the method further includes:
    所述手机终端获取响应于用户触发的感应控制按键操作,启动所述感应控制功能。The mobile phone terminal acquires the sensing control button operation in response to a user triggering, and activates the sensing control function.
  6. 一种手机终端,其特征在于,包括:A mobile phone terminal, comprising:
    获取单元,用于所述手机终端获取自身的位移参数,所述位移参数为所述手机终端响应于用户甩动而生成的,其中,所述位移参数包括所述手机终端的位移值和位移时间;An acquiring unit, configured to acquire, by the mobile phone terminal, a displacement parameter, where the displacement parameter is generated by the mobile phone terminal in response to user motion, wherein the displacement parameter includes a displacement value and a displacement time of the mobile phone terminal ;
    计算单元,用于根据所述位移参数计算在预先设定的各方向上的加速度的值;a calculating unit, configured to calculate a value of the acceleration in each of the preset directions according to the displacement parameter;
    处理单元,用于若在第一方向上的加速度的值大于第一预设阈值,所述手机终端则生成第一切换指令,所述第一切换指令用于指示切换当前播放的视频至当前播放剧集的上一集;以及若在第二方向上的加速度的值大于所述第一预设阈值,所述手机终端则生成第二切换指令,所述第二切换指令用于指示切换当前播放的视频至当前播放剧集的下一集,其中,所述第二方向与所述第一方向平行且相反;a processing unit, configured to: if the value of the acceleration in the first direction is greater than the first preset threshold, the mobile terminal generates a first switching instruction, where the first switching instruction is used to indicate that the currently played video is switched to the current playback a previous set of the episode; and if the value of the acceleration in the second direction is greater than the first preset threshold, the mobile terminal generates a second switching instruction, where the second switching instruction is used to indicate that the current playback is switched Video to the next episode of the currently played episode, wherein the second direction is parallel and opposite to the first direction;
    执行单元,用于所述手机终端根据所述第一切换指令或所述第二切换 指令对当前播放的视频进行相应的切换操作,以及所述手机终端获取响应于用户触发的感应控制按键操作,启动所述感应控制功能。An execution unit, configured to be used by the mobile phone terminal according to the first switching instruction or the second switching The instruction performs a corresponding switching operation on the currently played video, and the mobile phone terminal acquires the sensing control button operation in response to the user triggering, and starts the sensing control function.
  7. 根据权利要求6所述的手机终端,其特征在于,A mobile phone terminal according to claim 6, wherein
    所述处理单元,还用于若在第三方向上的加速度的值大于第二预设阈值,所述手机终端则生成第三切换指令,所述第三切换指令用于指示暂停当前播放的视频;以及若在第四方向上的加速度的值大于所述第二预设阈值,所述手机终端则生成第四切换指令,所述第四切换指令用于指示播放当前视频;其中,所述第三方向与所述第四方向平行且相反,所述第三方向与所述第一方向垂直并在同一平面内;The processing unit is further configured to: if the value of the acceleration in the third direction is greater than the second preset threshold, the mobile terminal generates a third switching instruction, where the third switching instruction is used to indicate that the currently playing video is suspended; And if the value of the acceleration in the fourth direction is greater than the second preset threshold, the mobile terminal generates a fourth switching instruction, where the fourth switching instruction is used to indicate that the current video is played; wherein the third The direction is parallel and opposite to the fourth direction, the third direction being perpendicular to the first direction and in the same plane;
    所述执行单元,还用于所述手机终端根据所述第三切换指令或所述第四切换指令对当前播放的视频进行相应的控制操作。The execution unit is further configured to perform, by the mobile phone terminal, a corresponding control operation on the currently played video according to the third switching instruction or the fourth switching instruction.
  8. 根据权利要求6所述的手机终端,其特征在于,A mobile phone terminal according to claim 6, wherein
    所述处理单元,还用于若在第五方向上的加速度的值大于第三预设阈值,所述手机终端则生成第五切换指令,所述第五切换指令用于指示增加当前播放视频的亮度;以及若在第六方向上的加速度的值大于第三预设阈值,所述手机终端则生成第六切换指令,所述第六切换指令用于指示降低当前播放视频的亮度;其中,所述第五方向与第六方向平行且相反,所述第五方向与所述第一方向所在的平面垂直;The processing unit is further configured to: if the value of the acceleration in the fifth direction is greater than the third preset threshold, the mobile terminal generates a fifth switching instruction, where the fifth switching instruction is used to indicate that the currently played video is added. And the brightness of the current playback video is generated by the mobile phone terminal, where the mobile phone terminal generates a sixth switching instruction, where the sixth switching instruction is used to indicate that the brightness of the currently played video is reduced; The fifth direction is parallel and opposite to the sixth direction, and the fifth direction is perpendicular to a plane in which the first direction is located;
    所述执行单元,还用于所述手机终端根据所述第五切换指令或所述第六切换指令对当前播放的视频进行相应的控制操作。The execution unit is further configured to perform, by the mobile phone terminal, a corresponding control operation on the currently played video according to the fifth switching instruction or the sixth switching instruction.
  9. 根据权利要求6至8任一项所述的手机终端,其特征在于,A mobile phone terminal according to any one of claims 6 to 8, wherein
    所述计算单元,用于将所述手机终端的位移值投影至所述预先设定的各方向,获得所述预先设定的各方向上的位移分量值,所述预先设定的各方向包括所述第一方向和/或第二方向和/或第三方向和/或第四方向和/或第五方向和/或第六方向;以及计算所述预先设定的各方向的位移分量值除以所述位移时间的平方,获得所述在预先设定的各方向上的加速度的值。The calculating unit is configured to project the displacement value of the mobile phone terminal to the preset direction to obtain the preset displacement component values in the respective directions, where the preset directions include The first direction and/or the second direction and/or the third direction and/or the fourth direction and/or the fifth direction and/or the sixth direction; and calculating the displacement component values of the predetermined directions Dividing the square of the displacement time, the value of the acceleration in the predetermined direction is obtained.
  10. 根据权利要求6所述的手机终端,其特征在于,A mobile phone terminal according to claim 6, wherein
    所述手机终端设置有陀螺仪和/或具备重力感应器和/或接近感应器和/或地磁感应器和/或手势感应器。 The handset terminal is provided with a gyroscope and/or with a gravity sensor and/or a proximity sensor and/or a geomagnetic sensor and/or a gesture sensor.
PCT/CN2014/088429 2013-11-27 2014-10-11 Video control method and cellphone terminal WO2015078239A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310637311.4A CN103617080B (en) 2013-11-27 2013-11-27 A kind of video control method and mobile phone terminal
CN201310637311.4 2013-11-27

Publications (1)

Publication Number Publication Date
WO2015078239A1 true WO2015078239A1 (en) 2015-06-04

Family

ID=50167783

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088429 WO2015078239A1 (en) 2013-11-27 2014-10-11 Video control method and cellphone terminal

Country Status (2)

Country Link
CN (1) CN103617080B (en)
WO (1) WO2015078239A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791909A (en) * 2016-02-26 2016-07-20 深圳市茁壮网络股份有限公司 Program switching method, device and system
CN106125905A (en) * 2016-06-13 2016-11-16 广东小天才科技有限公司 One listens writing method and equipment, system
CN106231431A (en) * 2016-07-28 2016-12-14 乐视控股(北京)有限公司 A kind of video switching method and device

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617080B (en) * 2013-11-27 2018-08-03 乐视网信息技术(北京)股份有限公司 A kind of video control method and mobile phone terminal
US9465445B2 (en) 2014-07-02 2016-10-11 Nagravision S.A. Application swap based on smart device position
CN104991646A (en) * 2015-07-02 2015-10-21 成都亿邻通科技有限公司 Mobile application display method
CN105072274A (en) * 2015-08-12 2015-11-18 广东欧珀移动通信有限公司 Method and system for dynamically switching audio channels
CN105898529A (en) * 2015-12-03 2016-08-24 乐视网信息技术(北京)股份有限公司 Video automatic playback and pause realizing method and system
CN105892878A (en) * 2015-12-09 2016-08-24 乐视网信息技术(北京)股份有限公司 Method for fast switching recommended contents and mobile terminal
CN105898068A (en) * 2016-05-25 2016-08-24 乐视控股(北京)有限公司 Video playing control method and device
CN106060612A (en) * 2016-06-29 2016-10-26 乐视控股(北京)有限公司 Video playing method and video playing device
CN106534959B (en) * 2016-10-11 2019-09-10 北京小米移动软件有限公司 The processing method and processing device of live video
CN107247554B (en) * 2017-04-14 2020-09-25 Tcl移动通信科技(宁波)有限公司 Terminal, method for realizing control based on multiple modes and storage device thereof
CN110139141B (en) * 2019-04-28 2021-10-15 腾讯科技(深圳)有限公司 Video picture rendering method and device, storage medium and electronic equipment
CN113377266A (en) * 2021-07-14 2021-09-10 广州繁星互娱信息科技有限公司 Live broadcast room switching method and device, terminal equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710917A (en) * 2008-08-22 2010-05-19 Lg电子株式会社 Mobile terminal and method of controlling the mobile terminal
CN103049173A (en) * 2012-12-20 2013-04-17 北京小米科技有限责任公司 Content selection method, content selection system and mobile terminal
CN103617080A (en) * 2013-11-27 2014-03-05 乐视网信息技术(北京)股份有限公司 Video control method and mobile phone terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070154093A1 (en) * 2005-12-30 2007-07-05 Dunton Randy R Techniques for generating information using a remote control
CN103235740A (en) * 2013-04-03 2013-08-07 东莞市天脉聚源信息科技有限公司 Method, system and device for switching among different applications
CN103327186A (en) * 2013-06-20 2013-09-25 张家港保税区润桐电子技术研发有限公司 Method for controlling mobile phone music player

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710917A (en) * 2008-08-22 2010-05-19 Lg电子株式会社 Mobile terminal and method of controlling the mobile terminal
CN103049173A (en) * 2012-12-20 2013-04-17 北京小米科技有限责任公司 Content selection method, content selection system and mobile terminal
CN103617080A (en) * 2013-11-27 2014-03-05 乐视网信息技术(北京)股份有限公司 Video control method and mobile phone terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791909A (en) * 2016-02-26 2016-07-20 深圳市茁壮网络股份有限公司 Program switching method, device and system
CN105791909B (en) * 2016-02-26 2018-10-23 深圳市茁壮网络股份有限公司 A kind of program switching method, device and system
CN106125905A (en) * 2016-06-13 2016-11-16 广东小天才科技有限公司 One listens writing method and equipment, system
CN106231431A (en) * 2016-07-28 2016-12-14 乐视控股(北京)有限公司 A kind of video switching method and device

Also Published As

Publication number Publication date
CN103617080B (en) 2018-08-03
CN103617080A (en) 2014-03-05

Similar Documents

Publication Publication Date Title
WO2015078239A1 (en) Video control method and cellphone terminal
US9791920B2 (en) Apparatus and method for providing control service using head tracking technology in electronic device
US11343556B2 (en) Method of controlling a horizontal screen or vertical screen of television, device, and storage medium
CN106412681B (en) Live bullet screen video broadcasting method and device
CN107707817B (en) video shooting method and mobile terminal
CN108966008B (en) Live video playback method and device
CN111372126B (en) Video playing method, device and storage medium
CN107982918B (en) Game game result display method and device and terminal
CN111083507B (en) Method and system for connecting to wheat, first main broadcasting terminal, audience terminal and computer storage medium
CN107786827B (en) Video shooting method, video playing method and device and mobile terminal
CN111918090B (en) Live broadcast picture display method and device, terminal and storage medium
US20220164159A1 (en) Method for playing audio, terminal and computer-readable storage medium
CN111142838B (en) Audio playing method, device, computer equipment and storage medium
US20210042980A1 (en) Method and electronic device for displaying animation
AU2014266178A1 (en) Method and apparatus for using electronic device
KR20210064378A (en) Perspective rotation method and apparatus, device and storage medium
CN111669640B (en) Virtual article transfer special effect display method, device, terminal and storage medium
CN113485626A (en) Intelligent display device, mobile terminal and display control method
KR20150136391A (en) Method for providing service and an electronic device thereof
CN110990623B (en) Audio subtitle display method and device, computer equipment and storage medium
AU2022235806B2 (en) Decoding and encoding based on adaptive intra-frame refreshing mechanism
CN115589529A (en) Photographing method, apparatus, system, and computer-readable storage medium
KR20170008498A (en) Electronic device and control method thereof
WO2021258608A1 (en) Bandwidth determination method and apparatus, and terminal, and storage medium
WO2015054868A1 (en) Content sharing method and terminal device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14865150

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14865150

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 14865150

Country of ref document: EP

Kind code of ref document: A1