Legal claims defining the scope of protection, as filed with the USPTO.
1. A method for processing video data, comprising: displaying, by a device comprising a memory storing instructions and a processor in communication with the memory, a video playing interface corresponding to video data, and recognizing an operation gesture corresponding to a slide operation performed on the video playing interface; determining, by the device according to the slide operation, whether the operation gesture belongs to a first gesture type, wherein the first gesture type is used for adjusting a playing progress of the video data by a preset progress duration; in response to determining that the operation gesture belongs to the first gesture type, obtaining, by the device, a start trigger position and an end trigger position of the slide operation from a slide trajectory of the slide operation; and determining, by the device based on the start trigger position and the end trigger position, a slide direction indicated by the slide trajectory, adjusting, based on the slide direction and a progress control direction of a progress bar in the video playing interface, the playing progress of the video data by the preset progress duration, and displaying, on the video playing interface, playing-progress-adjusted video data, wherein a slide associated parameter comprises a summation press duration indicating a summation of a plurality of press durations, each press duration corresponding to a respective one of N screen touch points occurring at different locations in the video playing interface, wherein the summation press duration is obtained by adding together the plurality of press durations; and the recognizing, based on the slide associated parameter, the operation gesture corresponding to the slide operation comprises: determining, based on the summation press duration in the slide associated parameter, a duration threshold corresponding to the press duration, comparing the summation press duration with the duration threshold, to obtain a comparison result, in response to the comparison result indicating that the press duration is less than the duration threshold, determining that the operation gesture corresponding to the slide operation belongs to the first gesture type, and in response to the comparison result indicating that the press duration is greater than the duration threshold, determining that the operation gesture corresponds to a second gesture type, wherein the second gesture type comprises a drag gesture corresponding to the progress bar in the video playing interface.
2. The method according to claim 1, wherein the displaying the video playing interface corresponding to the video data, and recognizing the operation gesture corresponding to the slide operation performed on the video playing interface comprises: displaying, in response to a startup operation for an application client, an application display interface corresponding to the application client; displaying, in response to a playing operation for the video data in the application display interface, the video playing interface corresponding to the video data; recording, in response to the slide operation performed on the video playing interface, the slide associated parameter corresponding to the slide operation; and recognizing, based on the slide associated parameter, the operation gesture corresponding to the slide operation.
3. The method according to claim 2, wherein: the slide associated parameter comprises position information of N screen touch points, wherein the N screen touch points are captured when a user pres ses a touchscreen corresponding to the video playing interface and N is a positive integer; and the recognizing, based on the slide associated parameter, the operation gesture corresponding to the slide operation comprises: obtaining the position information of the N screen touch points from the slide associated parameter, and determining, based on the position information of the N screen touch points, the slide trajectory formed by the Nscreentouch points, invoking a system gesture library corresponding to the application client, and in response to a trajectory matching the slide trajectory being found by searching the system gesture library, determining that the operation gesture corresponding to the slide operation belongs to the first gesture type.
4. The method according to claim 3, further comprising: in response to no trajectory matching the slide trajectory being found by searching the system gesture library: determining that the operation gesture corresponding to the slide operation belongs to the second gesture type, wherein the second gesture type is used for instructing the application client to start a progress drag function of the progress bar corresponding to the video data; determining a time progress adjustment rule based on the progress drag function, displaying the progress bar of the video data on the video playing interface based on the time progress adjustment rule, and determining a slide operation corresponding to the second gesture type as a drag operation; determining a first progress position corresponding to the drag operation on the progress bar, and determining, based on a drag trajectory corresponding to the drag operation, a drag direction and a drag length of the drag trajectory; and controlling the progress bar of the video data based on the first progress position, the drag direction, and the drag length.
5. The method according to claim 4, wherein the controlling the progress bar of the video data based on the first progress position, the drag direction, and the drag length comprises: in response to the drag direction being same as the progress control direction of the progress bar, adjusting the progress bar of the video data from the first progress position to a second progress position based on a first drag progress value to which the drag length is mapped, wherein the second progress position is greater than the first progress position, and a progress difference between the second progress position and the first progress position is the first drag progress value; and in response to the drag direction being opposite to the progress control direction of the progress bar, adjusting the progress bar of the video data from the first progress position to a third progress position based on a second drag progress value to which the drag length is mapped, wherein the third progress position is less than the first progress position, and a progress difference between the first progress position and the third progress position is the second drag progress value.
6. The method according to claim 1, wherein: the start trigger position and the end trigger position are position information of screen touch points under a screen coordinate system corresponding to a touchscreen, wherein the touchscreen is used for displaying the video playing interface corresponding to the video data; and the determining, based on the start trigger position and the end trigger position, the slide direction indicated by the slide trajectory, adjusting, based on the slide direction and the progress control direction of the progress bar in the video playing interface, the playing progress of the video data by the preset progress duration, and displaying, on the video playing interface, the playing-progress-adjusted video data comprises: in response to the touchscreen corresponding to the video playing interface being in a landscape state, determining a first shaft coordinate direction under the screen coordinate system as an auxiliary reference direction, and determining the progress control direction of the progress bar in the video playing interface based on the auxiliary reference direction, determining a position information difference between the start trigger position and the end trigger position, determining a difference attribute of the position information difference in the auxiliary reference direction, and determining, based on the difference attribute, the slide direction indicated by the slide trajectory, using a video frame corresponding to the start trigger position of the slide operation as a transitional video frame, and using a playing time stamp of the transitional video frame as an initial time stamp, and adjusting, based on the initial time stamp, the preset progress duration, the slide direction, and the progress control direction, the playing progress of the video data by the preset progress duration, and displaying, on the video playing interface, the playing-progress-adjusted video data.
7. An apparatus for processing video data, the apparatus comprising: a memory storing instructions; and a processor in communication with the memory, wherein, when the processor executes the instructions, the processor is configured to cause the apparatus to perform: displaying a video playing interface corresponding to video data, and recognizing an operation gesture corresponding to a slide operation performed on the video playing interface, determining, according to the slide operation, whether the operation gesture belongs to a first gesture type, wherein the first gesture type is used for adjusting a playing progress of the video data by a preset progress duration, in response to determining that the operation gesture belongs to the first gesture type, obtaining a start trigger position and an end trigger position of the slide operation from a slide trajectory of the slide operation, and determining, based on the start trigger position and the end trigger position, a slide direction indicated by the slide trajectory, adjusting, based on the slide direction and a progress control direction of a progress bar in the video playing interface, the playing progress of the video data by the preset progress duration, and displaying, on the video playing interface, playing-progress-adjusted video data, wherein a slide associated parameter comprises a summation press duration indicating a summation of a plurality of press durations, each press duration corresponding to a respective one of N screen touch points occurring at different locations in the video playing interface, wherein the summation press duration is obtained by adding together the plurality of press durations; and the recognizing, based on the slide associated parameter, the operation gesture corresponding to the slide operation comprises: determining, based on the summation press duration in the slide associated parameter, a duration threshold corresponding to the press duration, comparing the summation press duration with the duration threshold, to obtain a comparison result, in response to the comparison result indicating that the press duration is less than the duration threshold, determining that the operation gesture corresponding to the slide operation belongs to the first gesture type, and in response to the comparison result indicating that the press duration is greater than the duration threshold, determining that the operation gesture corresponds to a second gesture type, wherein the second gesture type comprises a drag gesture corresponding to the progress bar in the video playing interface.
8. The apparatus according to claim 7, wherein, when the processor is configured to cause the apparatus to perform displaying the video playing interface corresponding to the video data, and recognizing the operation gesture corresponding to the slide operation performed on the video playing interface, the processor is configured to cause the apparatus to perform: displaying, in response to a startup operation for an application client, an application display interface corresponding to the application client; displaying, in response to a playing operation for the video data in the application display interface, the video playing interface corresponding to the video data; recording, in response to the slide operation performed on the video playing interface, the slide associated parameter corresponding to the slide operation; and recognizing, based on the slide associated parameter, the operation gesture corresponding to the slide operation.
9. The apparatus according to claim 8, wherein: the slide associated parameter comprises position information of N screen touch points, wherein the N screen touch points are captured when a user presses a touchscreen corresponding to the video playing interface and N is a positive integer; and when the processor is configured to cause the apparatus to perform recognizing, based on the slide associated parameter, the operation gesture corresponding to the slide operation, the processor is configured to cause the apparatus to perform: obtaining the position information of the N screen touch points from the slide associated parameter, and determining, based on the position information of the N screen touch points, the slide trajectory formed by the N screentouch points, invoking a system gesture library corresponding to the application client, and in response to a trajectory matching the slide trajectory being found by searching the system gesture library, determining that the operation gesture corresponding to the slide operation belongs to the first gesture type.
10. The apparatus according to claim 9, wherein, when the processor executes the instructions, the processor is configured to further cause the apparatus to perform: in response to no trajectory matching the slide trajectory being found by searching the system gesture library: determining that the operation gesture corresponding to the slide operation belongs to the second gesture type, wherein the second gesture type is used for instructing the application client to start a progress drag function of the progress bar corresponding to the video data; determining a time progress adjustment rule based on the progress drag function, displaying the progress bar of the video data on the video playing interface based on the time progress adjustment rule, and determining a slide operation corresponding to the second gesture type as a drag operation; determining a first progress position corresponding to the drag operation on the progress bar, and determining, based on a drag trajectory corresponding to the drag operation, a drag direction and a drag length of the drag trajectory; and controlling the progress bar of the video data based on the first progress position, the drag direction, and the drag length.
11. The apparatus according to claim 10, wherein, when the processor is configured to cause the apparatus to perform controlling the progress bar of the video data based on the first progress position, the drag direction, and the drag length, the processor is configured to cause the apparatus to perform: in response to the drag direction being same as the progress control direction of the progress bar, adjusting the progress bar of the video data from the first progress position to a second progress position based on a first drag progress value to which the drag length is mapped, wherein the second progress position is greater than the first progress position, and a progress difference between the second progress position and the first progress position is the first drag progress value; and in response to the drag direction being opposite to the progress control direction of the progress bar, adjusting the progress bar of the video data from the first progress position to a third progress position based on a second drag progress value to which the drag length is mapped, wherein the third progress position is less than the first progress position, and a progress difference between the first progress position and the third progress position is the second drag progress value.
12. The apparatus according to claim 7, wherein: the start trigger position and the end trigger position are position information of screen touch points under a screen coordinate system corresponding to a touchscreen, wherein the touchscreen is used for displaying the video playing interface corresponding to the video data; and when the processor is configured to cause the apparatus to perform determining, based on the start trigger position and the end trigger position, the slide direction indicated by the slide trajectory, adjusting, based on the slide direction and the progress control direction of the progress bar in the video playing interface, the playing progress of the video data by the preset progress duration, and displaying, on the video playing interface, the playing-progress-adjusted video data, the processor is configured to cause the apparatus to perform: in response to the touchscreen corresponding to the video playing interface being in a landscape state, determining a first shaft coordinate direction under the screen coordinate system as an auxiliary reference direction, and determining the progress control direction of the progress bar in the video playing interface based on the auxiliary reference direction, determining a position information difference between the start trigger position and the end trigger position, determining a difference attribute of the position information difference in the auxiliary reference direction, and determining, based on the difference attribute, the slide direction indicated by the slide trajectory, using a video frame corresponding to the start trigger position of the slide operation as a transitional video frame, and using a playing time stamp of the transitional video frame as an initial time stamp, and adjusting, based on the initial time stamp, the preset progress duration, the slide direction, and the progress control direction, the playing progress of the video data by the preset progress duration, and displaying, on the video playing interface, the playing-progress-adjusted video data.
13. A non-transitory computer-readable storage medium, storing computer-readable instructions, wherein, the computer-readable instructions, when executed by a processor, are configured to cause the processor to perform: displaying a video playing interface corresponding to video data, and recognizing an operation gesture corresponding to a slide operation performed on the video playing interface, determining, according to the slide operation, whether the operation gesture belongs to a first gesture type, wherein the first gesture type is used for adjusting a playing progress of the video data by a preset progress duration, in response to determining that the operation gesture belongs to the first gesture type, obtaining a start trigger position and an end trigger position of the slide operation from a slide trajectory of the slide operation, and determining, based on the start trigger position and the end trigger position, a slide direction indicated by the slide trajectory, adjusting, based on the slide direction and a progress control direction of a progress bar in the video playing interface, the playing progress of the video data by the preset progress duration, and displaying, on the video playing interface, playing-progress-adjusted video data, wherein a slide associated parameter comprises a summation press duration indicating a summation of a plurality of press durations, each press duration corresponding to a respective one of N screen touch points occurring at different locations in the video playing interface, wherein the summation press duration is obtained by adding together the plurality of press durations; and the recognizing, based on the slide associated parameter, the operation gesture corresponding to the slide operation comprises: determining, based on the summation press duration in the slide associated parameter, a duration threshold corresponding to the press duration, comparing the summation press duration with the duration threshold, to obtain a comparison result, in response to the comparison result indicating that the press duration is less than the duration threshold, determining that the operation gesture corresponding to the slide operation belongs to the first gesture type, and in response to the comparison result indicating that the press duration is greater than the duration threshold, determining that the operation gesture corresponds to a second gesture type, wherein the second gesture type comprises a drag gesture corresponding to the progress bar in the video playing interface.
14. The non-transitory computer-readable storage medium according to claim 13, wherein, when the computer-readable instructions are configured to cause the processor to perform displaying the video playing interface corresponding to the video data, and recognizing the operation gesture corresponding to the slide operation performed on the video playing interface, the computer-readable instructions are configured to cause the processor to perform: displaying, in response to a startup operation for an application client, an application display interface corresponding to the application client; displaying, in response to a playing operation for the video data in the application display interface, the video playing interface corresponding to the video data; recording, in response to the slide operation performed on the video playing interface, the slide associated parameter corresponding to the slide operation; and recognizing, based on the slide associated parameter, the operation gesture corresponding to the slide operation.
15. The non-transitory computer-readable storage medium according to claim 14, wherein: the slide associated parameter comprises position information of N screen touch points, wherein the N screen touch points are captured when a user presses a touchscreen corresponding to the video playing interface and N is a positive integer; and when the computer-readable instructions are configured to cause the processor to perform recognizing, based on the slide associated parameter, the operation gesture corresponding to the slide operation, the computer-readable instructions are configured to cause the processor to perform: obtaining the position information of the N screen touch points from the slide associated parameter, and determining, based on the position information of the N screen touch points, the slide trajectory formed by the N screentouch points, invoking a system gesture library corresponding to the application client, and in response to a trajectory matching the slide trajectory being found by searching the system gesture library, determining that the operation gesture corresponding to the slide operation belongs to the first gesture type.
16. The non-transitory computer-readable storage medium according to claim 15, wherein, when the computer-readable instructions are executed by the processor, the computer-readable instructions are configured to further cause the processor to perform: in response to no trajectory matching the slide trajectory being found by searching the system gesture library: determining that the operation gesture corresponding to the slide operation belongs to the second gesture type, wherein the second gesture type is used for instructing the application client to start a progress drag function of the progress bar corresponding to the video data; determining a time progress adjustment rule based on the progress drag function, displaying the progress bar of the video data on the video playing interface based on the time progress adjustment rule, and determining a slide operation corresponding to the second gesture type as a drag operation; determining a first progress position corresponding to the drag operation on the progress bar, and determining, based on a drag trajectory corresponding to the drag operation, a drag direction and a drag length of the drag trajectory; and controlling the progress bar of the video data based on the first progress position, the drag direction, and the drag length.
17. The non-transitory computer-readable storage medium according to claim 16, wherein, when the computer-readable instructions are configured to cause the processor to perform controlling the progress bar of the video data based on the first progress position, the drag direction, and the drag length, the computer-readable instructions are configured to cause the processor to perform: in response to the drag direction being same as the progress control direction of the progress bar, adjusting the progress bar of the video data from the first progress position to a second progress position based on a first drag progress value to which the drag length is mapped, wherein the second progress position is greater than the first progress position, and a progress difference between the second progress position and the first progress position is the first drag progress value; and in response to the drag direction being opposite to the progress control direction of the progress bar, adjusting the progress bar of the video data from the first progress position to a third progress position based on a second drag progress value to which the drag length is mapped, wherein the third progress position is less than the first progress position, and a progress difference between the first progress position and the third progress position is the second drag progress value.
Unknown
January 7, 2025
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.