Method and apparatus for video progress control, and device and storage medium

By monitoring the sliding gestures and touch holding time of the video progress bar, determining the trigger of the predetermined progress control operation, it solves the problem that users find it difficult to quickly and accurately locate the video playback position, and realizes efficient and fast video progress control.

WO2025055656A1PCT designated stage expired Publication Date: 2025-03-20BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/112354
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-11
Filing Date
2024-08-15
Publication Date
2025-03-20

AI Technical Summary

Technical Problem

During video playback, it is difficult for users to quickly and accurately locate the desired video playback position, especially when the video is played for a long time.

Method used

By monitoring touch events and sliding gestures for video progress bars, recording the distance of gesture movement of the user's finger in the direction perpendicular to the progress bar or the duration of the touch while the touch is maintained, the trigger of a predetermined progress control operation is determined based on this information, thereby triggering the predetermined progress control mode of the video.

Benefits of technology

It realizes that users can accurately adjust the video playback progress through quick gesture operations, and improves the accuracy and efficiency of video progress control, especially when long video playback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024112354_20032025_PF_FP_ABST
    Figure CN2024112354_20032025_PF_FP_ABST
Patent Text Reader

Abstract

According to the embodiments of the present disclosure, provided are a method and apparatus for video progress control, and a device and a storage medium. The method comprises: in response to a touch control event for a progress bar of a video, monitoring a sliding gesture, which is used for triggering a change in the progress bar of the video; on the basis of the monitoring of the sliding gesture, recording at least one of the following: a gesture movement distance of a user's finger in the direction perpendicular to the progress bar when the sliding gesture changes, or a duration for which the progress bar of the video does not change in the case of the user's finger touch and hold; and determining the trigger of a predetermined progress control operation on the basis of the gesture movement distance or the duration, wherein the predetermined progress control operation is used for triggering a predetermined progress control mode for the video. In this way, a slide up / long-press gesture operation can be detected while a horizontal sliding gesture operation is detected.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device, equipment and storage medium for video progress control

[0001] This application claims priority to the Chinese invention patent application entitled “Method, device, apparatus and storage medium for video progress control” filed on September 11, 2023, with application number 202311170066.0, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for video progress control. Background Art

[0003] With the rapid development of internet technology, a wide variety of applications have become essential tools in people's daily lives. Some applications provide video playback services. During video playback, users can control the progress of the video by dragging the progress bar to quickly locate the desired video playback position. However, in real-world scenarios, the length of videos played varies greatly. Especially when the video is long, users cannot quickly and accurately locate the desired video playback position. Therefore, there is a need for an efficient and fast video progress control solution that allows users to precisely adjust the video playback progress through quick gestures.

[0004] Summary of the Invention

[0005] In a first aspect of the present disclosure, a method for video progress control is provided. The method includes: in response to a touch event on a video progress bar, monitoring a sliding gesture used to trigger a change in the video progress bar; based on the monitoring of the sliding gesture, recording at least one of the following: the distance a user's finger moves in a direction perpendicular to the progress bar when the sliding gesture changes, or the duration during which the video progress bar does not change while the user's finger remains in touch; and determining the triggering of a predetermined progress control operation based on the gesture movement distance or duration, the predetermined progress control operation being used to trigger a predetermined progress control mode for the video.

[0006] In a second aspect of the present disclosure, a device for video progress control is provided. The device includes: a gesture detection module configured to: in response to a touch event on a progress bar of a video, monitor a sliding gesture for triggering a change in the progress bar of the video; a recording module configured to: based on monitoring the sliding gesture, record at least one of the following: the gesture movement distance of the user's finger in a direction perpendicular to the progress bar when the sliding gesture changes, or the duration of time during which the progress bar of the video does not change while the user's finger remains in touch; and a triggering module configured to: determine the triggering of a predetermined progress control operation based on the gesture movement distance or duration, the predetermined progress control operation being used to trigger a predetermined progress control mode of the video.

[0007] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.

[0008] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the medium, and when the computer program is executed by a processor, the method of the first aspect is implemented.

[0009] It should be understood that the content described in this section is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0011] FIG1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;

[0012] 2A to 12C are schematic diagrams illustrating examples of user interfaces according to some embodiments of the present disclosure;

[0013] FIG13 shows a flowchart of a process for video progress control according to some embodiments of the present disclosure;

[0014] FIG14 shows a block diagram of a video progress control apparatus according to some embodiments of the present disclosure; and

[0015] FIG15 illustrates an electronic device in which one or more embodiments of the present disclosure may be implemented. DETAILED DESCRIPTION

[0016] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0017] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, i.e., "including but not limited to." The term "based on" should be understood as "based at least in part on." The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment." The term "some embodiments" should be understood as "at least some embodiments." Other explicit and implicit definitions may be included below.

[0018] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.

[0019] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the user information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0020] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's user information, so that the user can independently choose whether to provide user information to software or hardware such as electronic devices, applications, servers or storage media that perform operations of the technical solution of the present disclosure based on the prompt message.

[0021] As an optional but non-limiting implementation, in response to receiving a user's active request, a prompt message may be sent to the user, for example, in the form of a pop-up window, in which the prompt message may be presented in text form. Furthermore, the pop-up window may also include a selection control for the user to select "Agree" or "Disagree" to provide the user information to the electronic device.

[0022] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0023] As briefly discussed above, some applications can provide video playback services to users. During video playback, users can control the playback progress of the played video by dragging the progress bar to quickly locate the desired video playback position. In some implementations, the video progress bar can have a hand-following effect, that is, the change in the finger sliding distance is consistent with the actual progress change of the progress bar. For example, for a video with a total length of ten hours, when adjusting the playback progress of the video through the progress bar, if the finger sliding distance is one-tenth of the total length of the progress bar, the actual adjustment amount of the video playback progress is one hour. In short, the position of the progress bar after adjustment corresponds to the position when the sliding gesture is lifted, and the adjustment amount of the video progress is the product of the total length of the video and the quotient of the sliding distance and the total length of the progress bar.

[0024] While the above implementation can meet people's needs for adjusting video playback progress to a certain extent, the lengths of different videos played in the app vary significantly. Especially when playing long videos, when a user drags the progress bar on a long video, even a slight slide can actually adjust the video playback progress by more than ten minutes. Therefore, the above implementation cannot achieve second-level precision adjustment, making it difficult for users to quickly and accurately locate the desired video playback position.

[0025] In addition, in the existing scheme, the user's gestures can be monitored by multiple programs / components. For example, gesture detection in a predetermined area can detect the displacement of the finger. Another example is gesture detection on a progress bar, which can only detect the drag distance but cannot detect swipe up / long press gesture operations. When the precise progress control mode is triggered by swiping up or long pressing a finger, it is necessary to detect horizontal sliding and swiping up / long pressing at the same time. In view of this, further improvements need to be provided. It can reuse the existing gesture detection program to the greatest extent, and can detect swipe up / long press gesture operations while detecting horizontal sliding gestures.

[0026] According to some embodiments of the present disclosure, a solution for video progress control is provided. In this solution, in response to a touch event on a progress bar of a video, a sliding gesture for triggering a change in the progress bar of the video is monitored; based on the monitoring of the sliding gesture, at least one of the following is recorded: the distance the user's finger moves in a direction perpendicular to the progress bar when the sliding gesture changes, or the duration during which the progress bar of the video does not change while the user's finger remains in touch; and based on the gesture movement distance or duration, the triggering of a predetermined progress control operation is determined, and the predetermined progress control operation is used to trigger a predetermined progress control mode for the video. In this way, an upward swipe / long press gesture operation can be detected while detecting a horizontal sliding gesture operation.

[0027] Sample Environment

[0028] FIG1 shows a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. In the example environment 100, an application 120 is installed in a terminal device 110. A user 140 can interact with the application 120 via the terminal device 110 and / or an attached device of the terminal device 110. The application 120 can be a content sharing application that can provide the user 140 with various services related to media content / works, including browsing, commenting, forwarding, creation (e.g., shooting and / or editing), publishing, and the like. In this document, “media content / works” include one or more types of content, such as videos, pictures, animated pictures, picture collections, audio, text, and the like.

[0029] In the environment 100 of Figure 1, if the application 120 is in an active state, the terminal device 110 can present a page 150 of the application 120. The page 150 may include various pages that the application 120 can provide, such as an information display page, a content creation page, a content publishing page, a message page, a personal homepage, and the like. The application 120 may provide a content browsing function to browse various types of content published in the application 120. The application 120 may also provide a content creation function, including shooting, uploading, editing and / or publishing media content. The application 120 may also provide interactive functions, including interacting with other users (for example, adding friends) and interacting with various types of content (including liking, collecting, commenting on content, etc.).

[0030] In some embodiments, the terminal device 110 communicates with the server 130 to enable the supply of services to the application 120. The terminal device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the terminal device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.). The server 130 can be various types of computing systems / servers that can provide computing power, including but not limited to mainframes, edge computing nodes, computing devices in cloud environments, and the like.

[0031] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of the present disclosure.

[0032] Example Process

[0033] Only for a better understanding of the various embodiments of the present disclosure, reference is made to the user interfaces shown in Figures 2A-12C in the example embodiments below. It should be understood that the user interfaces shown in Figures 2A-12C are merely examples, and various designs may exist in practice. For example, the various graphical elements and / or controls in the user interface may have different arrangements and different visual representations, one or more elements and / or controls therein may be omitted or replaced, and one or more other elements and / or controls may also exist. In addition, any appropriate content may be included in the user interface. The scope of the present disclosure is not limited in this respect.

[0034] It should be understood that Figures 2A-12C only illustrate the user interface in portrait mode. However, various embodiments of the present disclosure are also applicable to landscape mode. The present disclosure is not limited in this respect.

[0035] Further, in various embodiments of the present disclosure, video playback control can be implemented by gesture operations within the area associated with the progress bar. Refer to Figures 2A and 2B to better understand the concept of the area associated with the progress bar, wherein Figure 2A shows a user interface 200A during vertical screen video playback, and Figure 2B shows a user interface 200B during horizontal screen video playback. In the example embodiments of Figures 2A and 2B, the area associated with the progress bar may only include the progress bars 210, 250 themselves. Alternatively, the area associated with the progress bar is configured as a predetermined area 220, 260 including the progress bars 210, 250. The predetermined area 220, 260 may sometimes also be referred to as a hot zone.

[0036] It should be understood that the predetermined areas 220 and 260 do not necessarily include a progress bar. In other embodiments, the predetermined areas 220 and 260 may be located in other areas of the user interface, and their widths may be reasonably configured according to actual needs. The present disclosure is not limited in this respect.

[0037] In the present disclosure, a user can control the playback of a video by operating in an area associated with a progress bar. In the following discussion, operations on the progress bar will be used as examples of gesture operations. It should be understood that since there is a mapping relationship between operations on the progress bar and operations on the predetermined area, any operation on the progress bar can be mapped to an operation on the predetermined area. Therefore, in an embodiment of the present disclosure, any operation on the progress bar can be replaced by an operation on the predetermined area. For the purpose of brevity only, the same or similar content will not be repeated.

[0038] In the following discussion, the progress control mode includes a first progress control mode and a second progress control mode. It should be understood that in other embodiments, the progress control mode may further include more progress control modes. For example, the progress control mode includes a first progress control mode, a second progress control mode, and a third progress control mode, and the progress adjustment accuracy thereof may be successively enhanced. In this case, all discussions regarding how to enter the second progress control mode and how to adjust the video playback progress in the second progress control mode also apply to the third progress adjustment mode. For the sake of brevity, the same or similar content will not be repeated.

[0039] In an embodiment of the present disclosure, the terminal device 110 can play a video and adjust the play progress of the video through the first progress control mode and / or the second progress control mode.

[0040] In some embodiments, the first progress control mode has a first progress adjustment precision, and the second progress control mode has a second progress adjustment precision.

[0041] In some embodiments, when a user slides their finger forward or backward on the screen, the video playback progress increases or decreases in discrete increments, using the minimum progress adjustment unit as the step size. In this case, the progress adjustment accuracy can be measured by the minimum progress adjustment unit.

[0042] Specifically, in the first progress control mode, as the user's finger slides across the screen, the video playback progress increases or decreases discretely in steps of a first minimum progress adjustment unit. Correspondingly, for the same video, in the second progress control mode, as the user's finger slides across the screen, the video playback progress increases or decreases discretely in steps of a second minimum progress adjustment unit. In this case, if the first minimum progress adjustment unit is different from the second minimum progress adjustment unit, the first progress control mode and the second progress control mode are considered to have different progress adjustment accuracies. Furthermore, if the first minimum progress adjustment unit is greater than the second minimum progress adjustment unit, the first progress adjustment accuracy of the first progress control mode is considered to be lower than the second progress adjustment accuracy of the second progress control mode. Conversely, if the first minimum progress adjustment unit is less than the second minimum progress adjustment unit, the first progress adjustment accuracy of the first progress control mode is considered to be higher than the second progress adjustment accuracy of the second progress control mode.

[0043] Alternatively or additionally, in some embodiments, progress adjustment accuracy can be measured by an adjustable progress range, where the adjustable progress range refers to the video progress adjustment amount corresponding to the longest sliding distance of the user's finger. For example, the video progress adjustment amount corresponds to the user's finger sliding from one side of a predetermined area to the other. In this case, progress adjustment accuracy can be measured by the corresponding relationship between the finger sliding distance and the video progress adjustment amount.

[0044] Specifically, in the first progress control mode, when the user's finger slides a first distance, the video adjustment amount is the first duration. Correspondingly, for the same video, in the second progress control mode, when the user's finger slides the same first distance, the video progress adjustment amount is the second duration. In this case, if the first duration is different from the second duration, it is considered that the first progress control mode and the second progress control mode have different progress adjustment precisions. Further, if the first duration is less than the second duration, it is considered that the second progress adjustment precision of the second progress control mode is lower than the first progress adjustment precision of the first progress control mode. Conversely, if the first duration is greater than the second duration, it is considered that the second progress adjustment precision of the second progress control mode is higher than the first progress adjustment precision of the first progress control mode.

[0045] For ease of discussion, in the following discussion, the second progress control mode has a second progress adjustment accuracy that is higher than the first progress adjustment accuracy. In this case, in one embodiment, the first minimum progress adjustment unit corresponding to the first progress control mode is greater than the second minimum progress adjustment unit corresponding to the second progress control mode. For example, in the first progress control mode, the video progress changes discretely at the minute level (or second level), and in the second progress control mode, the video progress changes discretely at the second level (or millisecond level). Alternatively or additionally, in another embodiment, in the first progress control mode, the first sliding distance corresponds to a first duration, and in the second progress control mode, the same first sliding distance corresponds to a second duration that is less than the first duration. For example, in the first progress control mode, if the finger slides forward one centimeter, the playback progress is adjusted forward by one minute, and in the second progress control mode, if the finger slides forward one centimeter, the playback progress is adjusted forward by six seconds.

[0046] Since the user can make more precise adjustments to the video playback progress in the second progress control mode, the introduction of the second progress control mode will bring more significant technical effects during the playback of medium / long videos. In view of this, the terminal device 110 can be configured to support the second progress control mode only when the playback duration of the current video exceeds a predetermined duration.

[0047] In some embodiments, the first adjustable progress range in the first progress control mode includes the total duration of the video, and the second adjustable progress range in the second progress control mode is less than the total duration of the video. In this way, the user can adjust the video progress with more precise adjustment strength.

[0048] Specifically, in traditional video progress adjustment schemes, for medium / long videos, the video adjustment progress accuracy is usually implemented at the minute level. In this case, even for a short drag distance, the adjustment amount of the video progress may be more than ten minutes. According to some embodiments of the present disclosure, the second adjustable progress range is less than the total length of the video. In this case, the user can achieve video progress adjustment at the second level (or even more precise).

[0049] In some embodiments, the second adjustable progress range can be a predetermined duration. Specifically, the maximum sliding distance (e.g., the total length of the progress bar or the total length of the predetermined area) is set to correspond to the predetermined duration. For example, when the predetermined duration is 1 minute, the forward sliding distance reaches the maximum sliding distance, and the video can be fast-forwarded by 1 minute. Conversely, the backward sliding distance reaches the maximum sliding distance, and the video can be rewound by 1 minute. In actual operation, the progress adjustment amount of the video can be accurately determined based on the user's actual sliding distance.

[0050] Alternatively or additionally, in some embodiments, the second adjustable progress range can be a predetermined proportion of the first adjustable progress range. Specifically, the maximum sliding distance (for example, the total length of the progress bar or the total length of the predetermined area) is set to a predetermined proportion of the total length of the video. For example, when the total length of the video is sixty minutes and the predetermined proportion is one tenth, the forward sliding distance reaches the maximum sliding distance, and the video can be fast forwarded by six minutes. Conversely, the backward sliding distance reaches the maximum sliding distance, and the video can be rewound by six minutes. In actual operation, the progress adjustment amount of the video can be accurately determined based on the user's actual sliding distance.

[0051] In some embodiments, in response to detecting a first progress control operation on a video, a first progress control mode of the video is triggered. The first progress control operation includes: a first sliding gesture operation in a first direction parallel to the progress bar within an associated area of ​​the video's progress bar, a single click operation within the associated area of ​​the progress bar, etc. In short, the first progress control operation is used to trigger entry into the first progress control mode.

[0052] In some embodiments, in response to detecting a second progress control operation on the video, a second progress control mode for the video is triggered. An example of a second progress control operation is a second sliding gesture operation in a second direction perpendicular to the progress bar within the associated area, as shown in the swipe-up operation shown in user interfaces 300A and 400A in Figures 3A and 4A. Another example of a second progress control operation is a long press gesture operation within the associated area, as shown in user interfaces 500A and 600A in Figures 5A and 6A.

[0053] Compared with other gesture operations, swiping up and long pressing operations are better compatible with existing video playback operations and are more in line with user operating habits.

[0054] Furthermore, to prompt the user on how to trigger the second progress control mode, in some embodiments, in the first progress control mode, the terminal device 110 may present guidance information, wherein the guidance information indicates a second progress control operation for entering the second progress control mode. In the specific embodiments of Figures 3A and 4A , user interfaces 300A and 400A present guidance information 320 and 420, namely, "Swipe up to precisely adjust the playback progress." Correspondingly, in the specific embodiments of Figures 5A and 6A , user interfaces 500A and 600A present guidance information 520 and 620, namely, "Press and hold for 2 seconds to precisely adjust the playback progress."

[0055] Additionally, to avoid disrupting the user, the number of times the guidance information in Figures 3A, 4A, 5A, and 6A is presented can be controlled. In some embodiments, the number of times the guidance information is presented within a predetermined time period should not exceed a threshold. For example, within a predetermined time period of 24 hours, the guidance information may be presented at most three times.

[0056] According to some embodiments of the present disclosure, in order to enable the user to better adjust the video progress to the desired video playback position, when entering the progress control mode, thumbnail video frames of the video, sometimes also referred to as key frames of the video, can be presented in the user interface. Furthermore, as the user slides the gesture, the terminal device 110 can dynamically present the thumbnail video frame corresponding to the corresponding sliding position.

[0057] According to some embodiments of the present disclosure, the position of the thumbnail video frame can change according to the type of the currently playing video. In Figures 3A and 5A, the currently playing video is a vertical screen video, and the thumbnail video frame is presented in the middle position of the user interface. In Figures 4A and 6A, the currently playing video is a horizontal screen video, then when the adjustment mode is entered, the currently playing video is moved up to the upper half of the screen, and the thumbnail video frame is presented in the lower half of the user interface. The above-mentioned presentation method of the thumbnail video frame can achieve the optimal visual presentation effect. However, it should be understood that in other embodiments, the thumbnail video frame can be presented in other positions. The present disclosure is not limited in this respect.

[0058] According to some embodiments of the present disclosure, the size of the thumbnail video frame may change with different progress control modes. Specifically, in a first progress control mode, the terminal device 110 presents the thumbnail video frame of the video at a first size, while in a second progress control mode, the terminal device 110 presents the thumbnail video frame of the video at a second size, where the second size is larger than the first size.

[0059] Furthermore, in the first progress control mode, in response to detecting a second progress control operation on the video, terminal device 110 resizes the thumbnail video frame from the first size to the second size. In other words, the size change occurs synchronously with the switching of the progress control mode. In this case, the interface presentation is more consistent with the underlying control logic, effectively improving the user experience.

[0060] Alternatively or additionally, the terminal device 110 may also indicate the current progress control mode through a prompt message. In other words, the prompt message may be used to indicate the activation state of the second progress control mode. See user interfaces 300B, 400B, 500B, and 600B shown in Figures 3B, 4B, 5B, and 6B. Prompt messages 360, 460, 560, and 660, "Precision adjustment in progress," are presented in the above user interfaces.

[0061] See user interfaces 300A and 300B shown in Figures 3A and 3B. In Figures 3A and 3B, the video being played is a vertical video. In response to the upward swipe distance reaching a predetermined distance (or the upward swipe pixels reaching a predetermined number of pixels), terminal device 110 switches user interface 300A to user interface 300B. Compared to user interface 300A, in user interface 300B, the guidance message "Swipe up to precisely adjust the playback progress" is no longer displayed. Furthermore, the thumbnail video frame is adjusted from the first size to the second size, and the prompt message "Precision adjustment in progress" is displayed.

[0062] See user interfaces 400A and 400B shown in Figures 4A and 4B. In Figures 4A and 4B, the video being played is a horizontal screen video. In response to the upward swipe distance reaching a predetermined distance (or the upward swipe pixels reaching a predetermined number of pixels), the terminal device 110 switches the user interface from 400A to user interface 400B. Compared with user interface 400A, in user interface 400B, the guidance message "Swipe up to precisely adjust the playback progress" is no longer displayed. Furthermore, the thumbnail video frame is adjusted from the first size to the second size, and the prompt message "Precision adjustment in progress" is displayed.

[0063] See user interfaces 500A and 500B shown in Figures 5A and 5B. In Figures 5A and 5B, the video being played is a vertical screen video. In response to the long press duration reaching a predetermined duration, the terminal device 110 switches the user interface from 500A to user interface 500B. Compared with user interface 500A, in user interface 500B, the guidance message "Press and hold for 2 seconds to fine-tune the playback progress" is no longer displayed. Furthermore, the thumbnail video frame is adjusted from the first size to the second size, and the prompt message "Fine adjustment in progress" is displayed.

[0064] See user interfaces 600A and 600B shown in Figures 6A and 6B. In Figures 6A and 6B, the video being played is a horizontal video. In response to the long press duration reaching a predetermined duration, the terminal device 110 switches the user interface from 600A to user interface 600B. Compared with user interface 600A, in user interface 600B, the guidance message "Press and hold for 2 seconds to fine-tune the playback progress" is no longer displayed. Furthermore, the thumbnail video frame is adjusted from the first size to the second size, and the prompt message "Fine adjustment in progress" is displayed.

[0065] In some embodiments, in the second progress control mode, in response to a third sliding gesture operation in the first direction parallel to the progress bar in the associated area of ​​the progress bar of the video, the terminal device 110 adjusts the playback progress of the video based on the sliding distance of the third sliding gesture in the first direction and the second progress adjustment accuracy, wherein the second progress control operation and the third sliding gesture together constitute a continuous gesture.

[0066] As an example implementation, the user triggers the second progress control mode by sliding up to a predetermined distance. Without lifting the finger, the user drags the finger left and right on the screen to adjust the progress of the video.

[0067] As an example embodiment, a user drags the progress bar to enter the (first) progress control mode. In the first progress control mode, long pressing the progress bar (i.e., without changing position) for 2 seconds triggers entry into the second progress control mode. Thereafter, the user continues to drag the progress bar to adjust the video progress.

[0068] In the above example implementation, the user's finger never leaves the screen, and through only one continuous operation, multiple progress control modes are switched and the video progress is accurately adjusted. The above operation is convenient and conforms to the user's usage habits, effectively improving the user's operating experience.

[0069] In some embodiments, in the second progress control mode, the progress bar of the video is configured to continue to indicate the current video playback progress, that is, there is no hand-following effect and the total length of the progress bar corresponds to the total length of the video.

[0070] Refer to user interfaces 700A to 700C shown in Figures 7A to 7C. In Figures 7A to 7C, the video being played is a vertical screen video. In user interface 700A, the progress control mode is triggered to enter the second progress control mode, and the trigger time point is 25:35. Referring to user interface 700B, when the user slides forward in the associated area of ​​the progress bar, the playback progress is adjusted based on the sliding distance of the finger and the second progress adjustment accuracy, and is adjusted to 25:36, while the progress bar still corresponds to the trigger time point 25:35. Correspondingly, in user interface 700C, when the user slides backward in the associated area of ​​the progress bar, the playback progress is adjusted based on the sliding distance of the finger and the second progress adjustment accuracy, and is adjusted to 25:34, while the progress bar still corresponds to the trigger time point 25:35.

[0071] Refer to user interfaces 900A to 900C shown in Figures 9A to 9C. In Figures 9A to 9C, the video being played is a horizontal screen video. In user interface 900A, the progress control mode is triggered to enter the second progress control mode, and the triggering time point is 10:35. Referring to user interface 900B, when the user slides forward in the associated area of ​​the progress bar, the playback progress is adjusted based on the sliding distance of the finger and the second progress adjustment accuracy, and is adjusted to 10:37, while the progress bar still corresponds to the triggering time point 10:35. Correspondingly, in user interface 900C, when the user slides backward in the associated area of ​​the progress bar, the playback progress is adjusted based on the sliding distance of the finger and the second progress adjustment accuracy, and is adjusted to 10:34, while the progress bar still corresponds to the triggering time point 10:35.

[0072] Further reference is made to user interfaces 1100A to 1100C shown in Figures 11A to 11C. In Figures 11A to 11C, the video being played is a vertical screen video. In user interface 1100A, the progress control mode is triggered to enter the second progress control mode, and the triggering time point is 25:35. Referring to user interface 1100B, when the user slides forward in the associated area of ​​the progress bar, the playback progress is adjusted based on the sliding distance of the finger and the second progress adjustment accuracy, and is adjusted to 25:36, while the progress bar still corresponds to the triggering time point 25:35. Correspondingly, in user interface 1100C, when the user slides backward in the associated area of ​​the progress bar, the playback progress is adjusted based on the sliding distance of the finger and the second progress adjustment accuracy, and is adjusted to 25:34, while the progress bar still corresponds to the triggering time point 25:35.

[0073] Alternatively, in some embodiments, in the second progress control mode, the progress bar of the video is set to correspond to the second adjustable progress range and have a hand-following effect, and in response to exiting the second progress control mode, the terminal device 110 sets the progress bar of the video to correspond to the first adjustable progress range and indicates the adjusted playback progress.

[0074] Refer to user interfaces 800A to 800C shown in Figures 8A to 8C. In Figures 8A to 8C, the video being played is a vertical screen video. In user interface 800A, the progress control mode is triggered to enter the second progress control mode, and the trigger time point is 25:35. Referring to user interface 800B, when the user slides forward in the associated area of ​​the progress bar, the progress bar changes position as the finger slides, and the playback progress is adjusted based on the sliding distance of the finger and the second progress adjustment accuracy, and is adjusted to 25:36. Correspondingly, in user interface 800C, when the user slides backward in the associated area of ​​the progress bar, the progress bar changes position as the finger slides, and the playback progress is adjusted based on the sliding distance of the finger and the second progress adjustment accuracy, and is adjusted to 25:34.

[0075] Refer to user interfaces 1000A to 1000C shown in Figures 10A to 10C. In Figures 10A to 10C, the video being played is a horizontal screen video. In user interface 1000A, the progress control mode is triggered to enter the second progress control mode, and the trigger time point is 10:35. Referring to user interface 1000B, when the user slides forward in the associated area of ​​the progress bar, the progress bar changes position as the finger slides, and the playback progress is adjusted based on the sliding distance of the finger and the second progress adjustment accuracy, and is adjusted to 10:37. Correspondingly, in user interface 1000C, when the user slides backward in the associated area of ​​the progress bar, the progress bar changes position as the finger slides, and the playback progress is adjusted based on the sliding distance of the finger and the second progress adjustment accuracy, and is adjusted to 10:34.

[0076] Further reference is made to user interfaces 1200A to 1200C shown in Figures 12A to 12C. In Figures 12A to 12C, the video being played is a vertical screen video. In user interface 1200A, the progress control mode is triggered to enter the second progress control mode, and the triggering time point is 25:35. Referring to user interface 1200B, when the user slides forward in the associated area of ​​the progress bar, the progress bar changes position as the finger slides, and the playback progress is adjusted based on the sliding distance of the finger and the second progress adjustment accuracy, and is adjusted to 25:36. Correspondingly, in user interface 1200C, when the user slides backward in the associated area of ​​the progress bar, the progress bar changes position as the finger slides, and the playback progress is adjusted based on the sliding distance of the finger and the second progress adjustment accuracy, and is adjusted to 25:34.

[0077] Furthermore, in order to simultaneously prompt the user of the current playback time and the adjusted time, in some embodiments, in the second progress control mode, the terminal device 110 can present a progress scale indication, where the progress scale indication is associated with the second progress control mode and its scale interval can change according to the different second progress adjustment accuracy.

[0078] Furthermore, in some embodiments, the predetermined scale range is indicated by a plurality of scales, and the scale intervals of the plurality of scales are less than one second. In this way, the user can achieve a progress adjustment in seconds (or a finer level).

[0079] 11A to 12C , in the second progress control mode, the terminal device 110 may present a progress scale indication, where the progress scale is used to indicate the video playback progress within a predetermined scale range, and the scale range changes as the video playback progress is adjusted.

[0080] Should be understood that, in the process of video progress adjustment, the current video can be continued to play, or further played with the volume muted or lowered. In this case, if the progress bar does not have a hand-following effect, the progress bar should change dynamically as the video is played. Taking Figures 7A to 7C as an example, if Figures 7A to 7C correspond to the user interfaces at three sequential time points respectively and if the current video is continued to play in the process of video progress adjustment, the video images played in the user interfaces 700A, 700B and 700B should be different from each other, and the progress bars in the user interfaces 700A, 700B and 700B will slowly advance forward according to the video playback progress to indicate the current video playback position.

[0081] Through the above process, once the user triggers the progress adjustment mode, they can follow the guidance of the information to enter the precise adjustment mode. Furthermore, by changing the size of the thumbnail video frame and presenting prompt information, the user can intuitively perceive the switching of progress control modes and the current progress control mode. More importantly, the user does not need to lift their finger during the entire operation. Therefore, the above operation process is coherent and seamless, thereby improving the user's operating experience.

[0082] The above content focuses on describing the video progress control scheme of the present disclosure from the perspective of interface interaction. In the existing scheme, the user's gestures can be monitored by multiple programs / components. For example, gesture detection in a predetermined area can detect the displacement of the finger. Another example is gesture detection on the progress bar, which can only detect the drag distance but cannot detect the swipe up / long press gesture operation. When the second progress control mode is triggered by swiping up or long pressing the finger, it is necessary to detect horizontal sliding and swiping up / long pressing at the same time. In view of this, further improvements need to be provided. It can reuse the existing gesture detection program to the greatest extent, and can detect swiping up / long pressing gesture operations while detecting horizontal sliding gestures.

[0083] Next, how to further detect an upward slide / long press to trigger the second progress control mode on the premise of starting to monitor horizontal sliding will be further discussed in detail with reference to FIG. 3A to FIG. 12C .

[0084] For ease of discussion, in the following embodiments, the touch event is used to trigger the first progress control mode of the video, and the predetermined progress control mode includes the second progress control mode.

[0085] In some embodiments, in response to a touch event on a video progress bar, terminal device 110 monitors a sliding gesture used to trigger a change in the video progress bar. Simultaneously, based on monitoring the sliding gesture, terminal device 110 records the distance the user's finger moves perpendicular to the progress bar when the sliding gesture changes, and determines whether a predetermined progress control operation has been triggered based on the gesture movement distance. As an example embodiment, if the gesture movement distance exceeds a threshold distance, it is determined that the predetermined progress control operation has been triggered.

[0086] As an example embodiment, in response to entering the progress control mode, the terminal device 110 invokes a component for detecting a sliding gesture within a predetermined area (such as 220 in FIG. 2A and 260 in FIG. 2B ). The component can return the position coordinates of the finger within the predetermined area. Based on the position coordinates, the terminal device 110 can obtain the displacement of the finger in the direction perpendicular to the progress bar, thereby determining whether a sliding operation has occurred.

[0087] As another example embodiment, the terminal device 110 calls a component for detecting a sliding gesture on a progress bar (such as 210 in Figure 2A and 250 in Figure 2B). The component can record the moment when the progress bar is touched, and can also provide a callback function that can be called periodically to return the position of the finger on the progress bar. However, the component cannot detect a swipe-up operation. In this case, it is necessary to additionally record the relative position change of the sliding gesture. Specifically, when the component detects that the progress bar is touched, the terminal device 110 records the first position of the finger on the screen, and when the sliding gesture occurs (when the callback function is called), the terminal device 110 records the second position of the finger on the screen. By comparing the first position and the second position, the terminal device 110 can obtain the displacement of the finger in the direction perpendicular to the progress bar, thereby determining whether a swipe-up operation has occurred.

[0088] Alternatively, in some embodiments, in response to a touch event on the video's progress bar, the terminal device 110 monitors a sliding gesture used to trigger a change in the video's progress bar. Simultaneously, based on monitoring the sliding gesture, the terminal device 110 records the duration of time the video's progress bar remains unchanged while the user's finger remains in contact, and determines, based on the distance the gesture moves, whether a predetermined progress control operation has been triggered. The predetermined progress control operation is used to trigger a predetermined progress control mode for the video. As an example embodiment, if the duration exceeds a threshold duration, it is determined that the predetermined progress control operation has been triggered.

[0089] In some embodiments, a timer for monitoring the display of video progress is started in response to a touch event, and recording the duration during which the progress bar of the video does not change while the touch of the user's finger is maintained includes: monitoring the callback of the process for updating the progress bar of the video after the timer is started; and updating the duration during which the progress bar of the video does not change based on the callback of the process.

[0090] As an example embodiment, the terminal device 110 calls a component for detecting a sliding gesture on a progress bar (such as 210 in Figure 2A and 250 in Figure 2B). As discussed above, the component can record the moment when the progress bar is touched, and can also provide a callback function that can be periodically called to return the position of the finger on the progress bar. In operation, when the component detects that the progress bar is touched, a timer is started at the same time. The timer calls the callback function at a predetermined period (for example, 1 / 60 second). If the callback function indicates that the user's position on the progress bar is the same as the previous time, the timer starts timing / continues timing. If the callback function indicates that the user's position on the progress bar has changed, the timer is reset. In this case, if the timer reaches a threshold duration, the second progress control mode is triggered.

[0091] As another example embodiment, the terminal device 110 also calls a component for detecting a sliding gesture on a progress bar. In this embodiment, during the dragging of the progress bar, the terminal device 110 maintains a local counter. In operation, when the component detects that the progress bar is touched, the counter is turned on at the same time. The counter calls the callback function at a predetermined period (for example, 1 / 60 second). If the callback function indicates that the user's position on the progress bar is the same as the previous time, the timer value is added by 1. If the callback function indicates that the user's position on the progress bar has changed, the counter is reset. In this case, if the value of the counter reaches the threshold number of times, the second progress control mode is triggered.

[0092] In some embodiments, the timer / counter is started in response to detecting that the progress bar is touched and is ended in response to the finger being lifted. In this way, during the process of sliding the progress bar once, the "on / off" operation of the timer / counter only needs to be performed once, thereby achieving the simultaneous detection of sliding gestures and long press gestures while consuming less system time.

[0093] In actual operation, the swipe-up / long-press operation is likely to be assigned other physical meanings. In this case, it is particularly important to distinguish whether the detected swipe-up / long-press operation is used to trigger the second progress control mode or to trigger other functions. According to some embodiments of the present disclosure, at least one of the threshold distance, threshold duration, or threshold number of times is determined based on at least a predetermined progress control mode.

[0094] For example, triggering the second progress control mode corresponds to the first threshold distance / first threshold duration, and triggering another function corresponds to the second threshold distance / second threshold duration, where the first threshold distance / first threshold duration is greater than the second threshold distance / second threshold duration. In this case, when the user swipes up for a distance greater than the second threshold distance but less than the first threshold distance, the other function is activated, and the second progress control mode is triggered when the user swipes up for a distance greater than the first threshold distance. Correspondingly, when the user long presses for a time greater than the second threshold duration but less than the first threshold duration, the other function is activated, and the second progress control mode is triggered when the user long presses for a time greater than the first threshold duration. In this way, the conflict between the newly introduced swipe-up triggering of the second progress control mode and the existing swipe-up gesture operation is avoided to the greatest extent.

[0095] As discussed above, in traditional solutions, it is not possible to detect a long press operation while detecting a horizontal slide of the progress bar. According to some embodiments of the present disclosure, by introducing a timer, it is possible to detect a long press operation while detecting a horizontal slide of the progress bar.

[0096] After the precise adjustment is completed (for example, in the second progress control mode, the user lifts his finger), the terminal device 110 needs to adjust the progress bar to the precise adjustment position and continue to play the precisely adjusted video. Next, how to determine the precise adjustment video playback position will be discussed in conjunction with an example embodiment.

[0097] In some embodiments, after the predetermined progress control mode is triggered, the terminal device 110 detects an adjustment operation on the progress bar in the predetermined progress control mode.

[0098] In response to detecting the adjustment operation, the terminal device 110 determines the progress bar mapping value in the predetermined progress control mode based on the following information: the first progress bar value when the predetermined progress control mode is triggered, the second progress bar value after adjustment in the predetermined progress control mode, and the mapping ratio corresponding to the predetermined progress control mode.

[0099] Next, based at least on the progress bar mapping value and the total progress bar value, the terminal device 110 determines the adjusted playback progress of the video.

[0100] In some embodiments, the terminal device 110 determines the progress bar mapping value including: determining a progress bar difference between a first progress bar value and a second progress bar value; determining the progress bar mapping difference based on the progress bar difference and the mapping ratio; and determining the progress bar mapping value based on the progress bar mapping difference and the first progress bar value.

[0101] In some embodiments, determining the adjusted progress of the video includes: determining a ratio between the progress bar map value and the total progress bar value; and determining the adjusted playback progress of the video based on the ratio and the total duration of the video.

[0102] As an example embodiment, terminal device 110 invokes a component for detecting a swipe gesture on a progress bar (such as 210 in FIG. 2A and 250 in FIG. 2B ). As discussed above, this component can provide a callback function that can be periodically called to return the position of a finger on the progress bar. During operation, if it is determined that the second progress control mode has not been triggered, the value of the progress bar obtained when the callback function was most recently called is recorded using a first parameter. During the user's dragging process, the value of the first parameter is continuously and dynamically updated by periodically calling the callback function. If the second progress control mode is detected to be triggered (i.e., entering the precise adjustment mode), the current value of the first parameter (i.e., the first progress bar value) is recorded. In the second progress control mode, the callback function continues to be called to obtain the position of the finger on the progress bar. Similar to the operation in the first progress control mode, the callback function is still periodically called while in the first progress control mode. When the user lifts their finger, the position on the progress bar returned by the most recent call to the callback function is recorded as the second progress bar value.

[0103] It can be understood that the difference between the second progress bar value and the first progress bar value is the dragging distance of the user on the progress bar in the second progress control mode. According to some embodiments of the present disclosure, when calculating the adjustment amount of the video progress, the dragging distance will be scaled according to the mapping ratio. In this case, the position of the adjusted progress bar is the sum of the first progress bar value and the quotient of the dragging distance and the mapping ratio. In a specific embodiment, the mapping ratio can be set to a fixed value, for example, 10. In another specific embodiment, if the first progress adjustment control mode corresponds to a first adjustable progress range, and the second progress adjustment control mode corresponds to a second adjustable progress range with a predetermined duration, then the mapping ratio is the quotient between the total video duration and the predetermined duration.

[0104] When the user lifts his finger, the terminal device 110 adjusts the progress bar to the adjusted position. Accordingly, the adjusted video playback progress is set to the product of the total video duration and the quotient of the adjusted progress bar value and the total length of the progress bar.

[0105] Through the above method, it is possible to detect the upward swipe / long press gesture operation while detecting the horizontal swipe gesture operation, so that the user can enter the precise video adjustment mode by swiping upward / long pressing the gesture.

[0106] Example Method

[0107] FIG13 shows a flow chart of a process 1300 for information processing according to some embodiments of the present disclosure. The process 1300 may be implemented at the terminal device 110. The process 1300 is described below with reference to FIG1.

[0108] In block 1310 , in response to a touch event on a progress bar of a video, the terminal device 110 monitors a slide gesture for triggering a change in the progress bar of the video.

[0109] In box 1320, based on the monitoring of the sliding gesture, the terminal device 110 records at least one of the following: the gesture movement distance of the user's finger in a direction perpendicular to the progress bar when the sliding gesture changes, or the length of time that the progress bar of the video does not change when the user's finger maintains touch.

[0110] In block 1330 , the terminal device 110 determines a trigger of a predetermined progress control operation based on the gesture movement distance or duration, where the predetermined progress control operation is used to trigger a predetermined progress control mode of the video.

[0111] In some embodiments, if the gesture movement distance exceeds a threshold distance, the terminal device 110 determines that a predetermined progress control operation is triggered.

[0112] In some embodiments, if the duration exceeds a threshold duration, the terminal device 110 determines that a predetermined progress control operation is triggered.

[0113] In some embodiments, at least one of the threshold distance or the threshold duration is determined based on at least a predetermined schedule control mode.

[0114] In some embodiments, a timer for monitoring the display of video progress is started in response to a touch event, and recording the duration during which the progress bar of the video does not change while the touch of the user's finger is maintained includes: monitoring the callback of the process for updating the progress bar of the video after the timer is started, and updating the duration during which the progress bar of the video does not change based on the callback of the process.

[0115] In some embodiments, the touch event is used to trigger a first progress control mode of the video, and the predetermined progress control mode includes a second progress control mode, and the progress adjustment accuracy of the second progress control mode is different from the progress adjustment accuracy of the first progress control mode.

[0116] In some embodiments, the progress adjustment accuracy of the second progress control mode is higher than the progress adjustment accuracy of the first progress control mode.

[0117] In some embodiments, after the predetermined progress control mode is triggered, the terminal device 110 detects an adjustment operation on the progress bar under the predetermined progress control mode; in response to detecting the adjustment operation, the terminal device 110 determines the progress bar mapping value under the predetermined progress control mode based on the first progress bar value when the predetermined progress control mode is triggered, the second progress bar value after adjustment under the predetermined progress control mode, and the mapping ratio corresponding to the predetermined progress control mode; and the terminal device 110 determines the adjusted playback progress of the video based at least on the progress bar mapping value and the total progress bar value.

[0118] In some embodiments, the adjustment operation includes a sliding operation on the progress bar, and the second progress bar value is determined based on a sliding distance of the sliding operation.

[0119] In some embodiments, the terminal device 110 determines a progress bar difference between a first progress bar value and a second progress bar value; based on the progress bar difference and the mapping ratio, the terminal device 110 determines a progress bar mapping difference; and based on the progress bar mapping difference and the first progress bar value, the terminal device 110 determines a progress bar mapping value.

[0120] In some embodiments, the terminal device 110 determines a ratio between the progress bar mapping value and the total progress bar value; and based on the ratio and the total duration of the video, the terminal device 110 determines the adjusted playback progress of the video.

[0121] Example devices and equipment

[0122] 14 shows a schematic structural block diagram of an apparatus 1400 for information processing according to certain embodiments of the present disclosure. Apparatus 1400 may be implemented as or included in terminal device 110. Each module / component in apparatus 1400 may be implemented by hardware, software, firmware, or any combination thereof.

[0123] As shown in the figure, the device 1400 includes a gesture detection module 1410, which is configured to: in response to a touch event on the progress bar of the video, monitor a sliding gesture used to trigger a change in the progress bar of the video; a recording module 1420, which is configured to: based on the monitoring of the sliding gesture, record at least one of the following: the gesture movement distance of the user's finger in a direction perpendicular to the progress bar when the sliding gesture changes, or the duration during which the progress bar of the video does not change while the touch of the user's finger is maintained; and a triggering module 1430, which is configured to: determine the triggering of a predetermined progress control operation based on the gesture movement distance or the duration, and the predetermined progress control operation is used to trigger a predetermined progress control mode of the video.

[0124] In some embodiments, the trigger module 1430 is further configured to: determine that the predetermined progress control operation is triggered if the gesture movement distance exceeds a threshold distance.

[0125] In some embodiments, the trigger module 1430 is further configured to: determine that the predetermined progress control operation is triggered if the duration exceeds a threshold duration.

[0126] In some embodiments, at least one of the threshold distance or the threshold duration is determined based at least on the predetermined schedule control mode.

[0127] In some embodiments, a timer for monitoring the display of video progress is started in response to the touch event, and the recording module 1420 is also configured to: monitor the callback of the process for updating the progress bar of the video after the timer is started; and update the length of time that the progress bar of the video does not change based on the callback of the process.

[0128] In some embodiments, the touch event is used to trigger a first progress control mode of the video, and wherein the predetermined progress control mode includes a second progress control mode, and the progress adjustment accuracy of the second progress control mode is different from the progress adjustment accuracy of the first progress control mode.

[0129] In some embodiments, the progress adjustment accuracy of the second progress control mode is higher than the progress adjustment accuracy of the first progress control mode.

[0130] In some embodiments, the device 1400 also includes a playback progress determination module, which is configured to detect an adjustment operation on the progress bar under the predetermined progress control mode after the predetermined progress control mode is triggered; in response to detecting the adjustment operation, determine the progress bar mapping value under the predetermined progress control mode based on the first progress bar value when the predetermined progress control mode is triggered, the second progress bar value after adjustment under the predetermined progress control mode, and the mapping ratio corresponding to the predetermined progress control mode; and determine the adjusted playback progress of the video based at least on the progress bar mapping value and the total progress bar value.

[0131] In some embodiments, the adjustment operation includes a sliding operation on the progress bar, and the second progress bar value is determined based on a sliding distance of the sliding operation.

[0132] In some embodiments, the playback progress determination module is further configured to: determine a progress bar difference between the first progress bar value and the second progress bar value; determine a progress bar mapping difference based on the progress bar difference and the mapping ratio; and determine the progress bar mapping value based on the progress bar mapping difference and the first progress bar value.

[0133] In some embodiments, the playback progress determination module is further configured to: determine a ratio between the progress bar mapping value and the total progress bar value; and determine the adjusted playback progress of the video based on the ratio and the total duration of the video.

[0134] Figure 15 shows a block diagram of an electronic device 1500 that can implement one or more embodiments of the present disclosure. It should be understood that the electronic device 1500 shown in Figure 15 is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. The electronic device 1500 shown in Figure 15 can be used to implement the terminal device 110 of Figure 1 or the apparatus 1400 of Figure 14.

[0135] As shown in FIG15 , electronic device 1500 is in the form of a general-purpose computing device. Components of electronic device 1500 may include, but are not limited to, one or more processors or processing units 1510, memory 1520, storage device 1530, one or more communication units 1540, one or more input devices 1550, and one or more output devices 1560. Processing unit 1510 may be a real or virtual processor and is capable of performing various processes according to programs stored in memory 1520. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to enhance the parallel processing capabilities of electronic device 1500.

[0136] The electronic device 1500 typically includes a plurality of computer storage media. Such media can be any available media accessible to the electronic device 1500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 1520 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 1530 can be a removable or non-removable medium and can include a machine-readable medium, such as a flash drive, a disk, or any other medium that can be used to store information and / or data (e.g., training data for training) and can be accessed within the electronic device 1500.

[0137] The electronic device 1500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 15 , a disk drive for reading from or writing to a removable, non-volatile disk (e.g., a “floppy disk”) and an optical drive for reading from or writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. The memory 1520 may include a computer program product 1525 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.

[0138] The communication unit 1540 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 1500 can be implemented as a single computing cluster or multiple computing machines that can communicate via a communication connection. Thus, the electronic device 1500 can operate in a networked environment using a logical connection to one or more other servers, a network personal computer (PC), or another network node.

[0139] Input device 1550 may be one or more input devices, such as a mouse, keyboard, or trackball. Output device 1560 may be one or more output devices, such as a display, a speaker, or a printer. Electronic device 1500 may also communicate with one or more external devices (not shown) via communication unit 1540 as needed, such as a storage device, a display device, or the like, with one or more devices that allow a user to interact with electronic device 1500, or with any device that allows electronic device 1500 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0140] According to an exemplary embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary embodiment of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0141] Various aspects of the present disclosure are described herein with reference to flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0142] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine such that, when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowcharts and / or block diagrams. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowcharts and / or block diagrams.

[0143] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0144] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple implementations of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a part for a module, program segment or instruction, and a part for a module, program segment or instruction comprises one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0145] While various implementations of the present disclosure have been described above, the foregoing description is intended to be illustrative, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is selected to best explain the principles of the implementations, their practical applications, or improvements to existing technologies, or to enable others skilled in the art to understand the various embodiments disclosed herein.

Claims

1. A method for progress control, comprising: In response to a touch event on a progress bar of a video, monitoring a sliding gesture for triggering a change in the progress bar of the video; Based on the monitoring of the sliding gesture, at least one of the following is recorded: the gesture movement distance of the user's finger in a direction perpendicular to the progress bar when the sliding gesture changes, or The duration during which the progress bar of the video does not change when the user's finger remains touching the video; as well as The triggering of a predetermined progress control operation is determined based on the gesture moving distance or the duration, and the predetermined progress control operation is used to trigger a predetermined progress control mode of the video.

2. The method according to claim 1, wherein determining the trigger of the predetermined progress control operation comprises: If the gesture moving distance exceeds the threshold distance, it is determined that the predetermined progress control operation is triggered, or If the duration exceeds a threshold duration, it is determined that the predetermined progress control operation is triggered. 3 . The method of claim 2 , wherein at least one of the threshold distance or the threshold duration is determined based at least on the predetermined progress control mode.

4. The method according to claim 1, wherein a timer for monitoring the display of the video progress is started in response to the touch event, and wherein recording the duration for which the progress bar of the video does not change when the touch of the user's finger is maintained comprises: After the timer is started, monitoring a callback of a process for updating a progress bar of the video; as well as The duration during which the progress bar of the video does not change is updated based on the callback of the process.

5. The method according to claim 1, wherein the touch event is used to trigger a first progress control mode of the video, and wherein the predetermined progress control mode includes a second progress control mode, and the progress adjustment accuracy of the second progress control mode is different from the progress adjustment accuracy of the first progress control mode.

6. The method according to claim 1, further comprising: After the predetermined progress control mode is triggered, detecting an adjustment operation on the progress bar in the predetermined progress control mode; In response to detecting the adjustment operation, determining a progress bar mapping value under the predetermined progress control mode based on a first progress bar value when the predetermined progress control mode is triggered, a second progress bar value adjusted under the predetermined progress control mode, and a mapping ratio corresponding to the predetermined progress control mode; as well as The adjusted playback progress of the video is determined based at least on the progress bar mapping value and the total progress bar value. 7 . The method according to claim 6 , wherein the adjustment operation comprises a sliding operation on the progress bar, and the second progress bar value is determined based on a sliding distance of the sliding operation.

8. The method according to claim 6, wherein determining the progress bar mapping value comprises: Determine a progress bar difference between the first progress bar value and the second progress bar value; Determining a progress bar mapping difference based on the progress bar difference and the mapping ratio; as well as The progress bar mapping value is determined based on the progress bar mapping difference value and the first progress bar value.

9. The method of claim 6, wherein determining the adjusted progress of the video comprises: determining a ratio between the progress bar map value and the total progress bar value; as well as Based on the ratio and the total duration of the video, an adjusted playback progress of the video is determined.

10. A device for progress control, comprising: A gesture detection module is configured to: in response to a touch event on a progress bar of a video, monitor a sliding gesture for triggering a change in the progress bar of the video; The recording module is configured to: based on the monitoring of the sliding gesture, record at least one of the following: the gesture movement distance of the user's finger in a direction perpendicular to the progress bar when the sliding gesture changes, or The duration during which the progress bar of the video does not change when the user's finger remains touching the video; as well as The trigger module is configured to determine the triggering of a predetermined progress control operation based on the gesture moving distance or the duration, and the predetermined progress control operation is used to trigger a predetermined progress control mode of the video.

11. An electronic device, comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the device to perform the method according to any one of claims 1 to 9 when executed by the at least one processing unit.

12. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 1 to 9 when executed by a processor.

Citation Information

Patent Citations

  • Progress adjusting method and electronic device

    CN104090705A

  • Progress adjusting method and electronic equipment

    CN104375763A

  • Method and device for drawing progress bar

    CN104850347A

  • Video playing progress adjusting method and electronic equipment

    CN110719531A

  • Video progress control method and device

    CN116132725A