Video playing control method, terminal, electronic device and readable storage medium
Patent Information
- Application Number
- CN202311331440.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-13
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2043-10-13
AI Technical Summary
[0004]基于上述方法,用户只能通过进度条控制视频播放进度,控制精度低
[0011]第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。
Smart Images

Figure CN117354595B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of video technology, specifically relating to a video playback control method, a terminal, an electronic device, and a readable storage medium. Background Technology
[0002] Currently, there are more and more scenarios where electronic devices play videos, such as users watching movies and TV series on their electronic devices.
[0003] In existing technologies, when playing videos on electronic devices, users can adjust the playback progress to adjust the video frame, thereby selecting the video frames they are interested in to watch, or skipping the video frames they are not interested in.
[0004] Based on the above method, users can only control the video playback progress through the progress bar, resulting in low control precision. Summary of the Invention
[0005] The purpose of this application is to provide a video playback control method that can accurately control the video playback screen.
[0006] In a first aspect, embodiments of this application provide a video playback control method, the method comprising: displaying a first control window on a playback interface of a first video, wherein the first control window includes a first control, the first control being used to indicate direction; receiving a first input from a user to a first sub-control in the first control; and, in response to the first input, hiding a first screen in the playback interface of the first video associated with the first sub-control, wherein the first screen is a portion of the playback interface of the first video, and the size of the first screen is related to the input parameters of the first input.
[0007] Secondly, embodiments of this application provide a terminal, the terminal comprising: a first display module, configured to display a first control window on a first video playback interface, wherein the first control window includes a first control, the first control being used to indicate direction; a first receiving module, configured to receive a first input from a user to a first sub-control within the first control; and a hiding module, configured to, in response to the first input, hide a first screen in the first video playback interface associated with the first sub-control, wherein the first screen is a portion of the first video playback interface, and the size of the first screen is related to the input parameters of the first input.
[0008] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.
[0009] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.
[0010] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.
[0011] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.
[0012] In this embodiment, a first control window is displayed on the playback interface of the first video. The first control window includes a first control indicating direction. By inputting a first sub-control within the first control, the user can hide a portion of the screen associated with that sub-control. This allows for precise occlusion of unwanted or uninteresting scenes in the video by inputting the first control, without causing the user to miss any parts of the video. Compared to existing technologies that rely solely on a progress bar to adjust playback, this embodiment enables precise control of the video playback through a control window. Attached Figure Description
[0013] Figure 1 This is a flowchart of a video playback control method according to an embodiment of this application;
[0014] Figure 2 This is one of the display schematic diagrams of the electronic device according to an embodiment of this application;
[0015] Figure 3 This is a second schematic diagram of the display of an electronic device according to an embodiment of this application;
[0016] Figure 4 This is the third schematic diagram of the display of the electronic device according to an embodiment of this application;
[0017] Figure 5 This is the fourth schematic diagram of the display of the electronic device according to an embodiment of this application;
[0018] Figure 6 This is the fifth schematic diagram of the display of the electronic device according to an embodiment of this application;
[0019] Figure 7 This is the sixth schematic diagram of the display of the electronic device according to an embodiment of this application;
[0020] Figure 8 This is the seventh schematic diagram of the display of the electronic device according to an embodiment of this application;
[0021] Figure 9 This is the eighth schematic diagram of the display of the electronic device according to an embodiment of this application;
[0022] Figure 10 This is a block diagram of a terminal according to an embodiment of this application;
[0023] Figure 11 This is one of the hardware structure diagrams of the electronic device according to an embodiment of this application;
[0024] Figure 12 This is the second schematic diagram of the hardware structure of the electronic device according to an embodiment of this application. Detailed Implementation
[0025] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0026] The terms "first," "second," etc., used in this specification are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class, without limiting the number of objects; for example, a first object can be one or more. Furthermore, in the specification, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0027] The video playback control method provided in this application embodiment can be executed by a terminal provided in this application embodiment, or an electronic device integrating the terminal, wherein the terminal can be implemented in hardware or software.
[0028] The video playback control method provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.
[0029] Figure 1 A flowchart of a video playback control method according to an embodiment of this application is shown. Taking the application of this method to an electronic device as an example, the method includes:
[0030] Step 110: Display a first control window on the playback interface of the first video, wherein the first control window includes a first control, which is used to indicate direction.
[0031] The first control window can be a floating window, displayed on the playback interface of the first video.
[0032] The first control window includes a first control used to indicate direction. This first control can indicate multiple directions. Preferably, the first control can indicate directions within a 360-degree radius.
[0033] For example, see Figure 2 The first control window includes a central circle and surrounding rings. The first control 201 is a ring with multiple sub-controls. The example shown in the figure is a sub-control 202. The ring can rotate. The direction indicated by a sub-control 201 varies depending on the state the ring rotates to. In the state shown in the figure, the four sub-controls indicate the four directions: up, down, left, and right.
[0034] Step 120: Receive the user's first input to the first sub-control in the first control.
[0035] The first input includes touch input performed by the user on the screen, not limited to clicking, swiping, or dragging. The first input can also be air input, such as gestures or facial expressions. It also includes input from physical buttons on the device, not limited to pressing. Furthermore, the first input includes one or more inputs, which can be continuous or timed.
[0036] In this step, the first sub-control is one of the sub-controls within the first control. The first input is the user's operation on the first sub-control.
[0037] For example, see Figure 2 When the user clicks the first child control 202, the first child control 202 indicates the direction of the arrow, which is interpreted as: left.
[0038] Step 130: In response to the first input, hide the first screen associated with the first sub-control in the playback interface of the first video, wherein the first screen is a part of the playback interface of the first video, and the size of the first screen is related to the input parameters of the first input.
[0039] In this step, a portion of the screen in the playback interface of the first video is hidden, namely the first screen, and the first screen is associated with the first sub-control, thereby achieving the hiding of a partial screen in the playback interface of the first video.
[0040] For example, if the first child control indicates a leftward direction, the left-hand area of the first video playback interface can be hidden.
[0041] The input parameters of the first input include at least one of the following: the duration of the input, the number of sub-inputs, and the distance corresponding to the input.
[0042] For example, in the implementation of the first input, the user can click the first child control an unlimited number of times. The more times the user clicks, the larger the size of the first screen becomes, that is, the larger the size of the hidden screen becomes.
[0043] For example, in the implementation of the first input, the user can press the first sub-control for an unlimited amount of time. The longer the user presses, the larger the size of the first screen, that is, the larger the size of the hidden screen.
[0044] Application scenarios, such as, in Figure 2 In the playback interface of the first video shown, there is an object that makes the user feel scared, such as person 203. If the user does not want to see person 203, the user can hide person 203 in the playback interface by controlling the first input. This can be achieved by moving the entire video playback screen to the left.
[0045] In this embodiment, a first control window is displayed on the playback interface of the first video. The first control window includes a first control indicating direction. By inputting a first sub-control within the first control, the user can hide a portion of the screen associated with that sub-control. This allows for precise occlusion of unwanted or uninteresting scenes in the video by inputting the first control, without causing the user to miss any parts of the video. Compared to existing technologies that rely solely on a progress bar to adjust playback, this embodiment enables precise control of the video playback through a control window.
[0046] In another video playback control method according to this embodiment of the present application, step 130 includes:
[0047] Sub-step A1: Move the screen in the playback interface of the first video in the first direction indicated by the first sub-control until the first screen in the playback interface of the first video is hidden.
[0048] In this step, the entire screen of the first video playback interface is moved in the direction indicated by the first sub-control, so that a part of the screen of the first video playback interface is moved out of the first video playback interface, and this part of the screen is the first screen.
[0049] The distance moved is related to the input parameters of the first input. For example, the more times the user clicks on the first child control, the greater the distance moved; the longer the user presses on the first child control, the greater the distance moved. The greater the distance moved, the larger the size of the first screen that moves out.
[0050] For example, see Figure 3 The user inputs input to the circular control 301 in the center of the first control window to trigger the display of two mode options, one of which is a movement mode option. After selecting the movement mode option, inputting input to the circular control 301 again will trigger an exit mode selection. Furthermore, when the user clicks the first sub-control 302, the entire screen in the first video playback interface moves to the left, causing a portion of the screen at the left edge to gradually move out of the playback interface. (See [link]). Figure 4 The effect.
[0051] In this embodiment, the user can control the entire screen of the first video playback interface to move in the first direction, so that a portion of the screen at the corresponding edge moves out of the playback interface, thereby achieving the effect of hiding this portion of the screen.
[0052] In the flow of a video playback control method according to another embodiment of this application, after step 130, the method further includes:
[0053] Step B1: If the ratio of the size of the display area corresponding to the first screen to the display size of the playback interface is greater than the first threshold, display the first text information.
[0054] The first text information is related to the video content corresponding to the first frame.
[0055] In some embodiments, after the first screen is hidden, an area where the video screen is not displayed appears on the playback interface of the first video. If the ratio of the size of the display area corresponding to the hidden first screen to the display size of the playback interface is greater than a first threshold, it indicates that the area where the video screen is not displayed is large. Therefore, first text information can be displayed in the area where the video screen is not displayed to describe the hidden video screen and prevent the user from missing important video information.
[0056] For example, see Figure 4 After the first screen is moved out of the playback interface, area 401 of the playback interface does not display the video screen, but can be used to display the first text information.
[0057] For example, the first screen is covered to achieve a hiding effect, so that the display area that does not display the video screen can be used to display the first text information.
[0058] In some embodiments, the video content of the first video is obtained in advance, including audio (such as people speaking, ambient sounds), images (such as displayed objects), and text (such as subtitles, bullet comments), so that text information corresponding to the first video is generated according to the video content of the corresponding playback period at different playback periods. The text information is used to summarize the video content of the period.
[0059] For example, the first video is a movie or TV series, and the text information is a plot summary.
[0060] Based on this, when the first screen is hidden, the text information of the hidden screen during that period is obtained as the first text information.
[0061] In some embodiments, based on the current playback time, text information for the period of one minute before and after this playback time is displayed. Furthermore, as the first video is played, the displayed text information is continuously updated.
[0062] For example, see Figure 5 The playback interface displays the unhidden screen, while the first text information 501 is displayed in the area where the video screen is not displayed.
[0063] In some embodiments, the first text information may be displayed not only in an area where the video screen is not displayed, but may also be displayed floating on the video screen.
[0064] In this embodiment, after the user hides a portion of the screen, the content of the hidden screen changes in real time as the first video continues to play. Content that the user is not interested in may have already been played, but because the screen is hidden, the user cannot notice it in time, causing them to miss updated, hidden content. Therefore, the playback interface displays first text information describing the screen content for the user's reference. The user can unhide the screen at any time based on the prompts in the first text information. Thus, this embodiment ensures that the user has a general understanding of the complete content of the first video and will not miss any exciting content.
[0065] In the flow of a video playback control method according to another embodiment of this application, after step 130, the method further includes:
[0066] Step C1: If the ratio of the size of the display area corresponding to the first screen to the display size of the playback interface is greater than the second threshold, display the background image in the area of the playback screen where the first video is not displayed.
[0067] In this step, after the first screen is hidden, an area without video content appears in the playback interface of the first video. If the ratio of the size of the display area corresponding to the hidden first screen to the display size of the playback interface is greater than the second threshold, it means that the area without video content is large. In order to make the playback interface more aesthetically pleasing, a background image is displayed in the area without video content.
[0068] For example, see Figure 4 After the first screen is moved out of the playback interface, area 401, which does not display the video screen, can be used to display the background image.
[0069] For example, the first screen is covered to achieve a hiding effect, so that the covered area does not display video footage and can be used to display background images.
[0070] In some embodiments, the background image is filled with a single color.
[0071] For example, the border of the first video playback interface is black, and the background image is completely filled with black. The overall display effect is that the background image also serves as part of the border of the playback interface.
[0072] In some embodiments, the background image is filled with at least one color.
[0073] For example, based on the video screen displayed on the playback interface of the first video, at least one color is detected in the overall video screen, and the background image is filled with at least one detected color, so that the overall display effect is that the background image and the video screen are integrated together.
[0074] In this embodiment, after a portion of the screen in the first video playback interface is hidden, a background image can be displayed in the area of the first video playback interface where the video screen is not displayed, so that the playback interface looks complete, improving the display effect and user viewing experience.
[0075] In some embodiments, if the playback interface of the first video has an area where the video screen is not displayed, a background image or the first text information may be displayed in that area.
[0076] In the flow of the video playback control method according to another embodiment of this application, step 130 includes:
[0077] Sub-step D1: Determine the first border in the playback interface corresponding to the first direction, based on the first direction indicated by the first sub-control.
[0078] This embodiment proposes yet another hiding effect, which can be implemented in yet another mode.
[0079] For example, see Figure 3Users can input input into the circle control 301 in the center of the first control window to trigger the display of two mode options, one of which is an obscuring mode option. After selecting the obscuring mode option, inputting input into the circle control 301 again will trigger the exit mode selection. Furthermore, users can click on the first sub-control 302 to determine the left border of the playback interface according to the instructions of the first sub-control 302.
[0080] Sub-step D2: Starting from the first border, according to the input parameters of the first input, display the first pattern on the first screen of the first video playback interface. The first pattern is used to cover the first screen.
[0081] In this step, the first border serves as a reference line, moving from its initial position towards the center of the playback interface. The distance it moves is related to the input parameters of the first input. The more times the user clicks on the first sub-control, the greater the distance it moves; the longer the user presses on the first sub-control, the greater the distance it moves. The area of the playback interface covered by the reference line from its initial position to its endpoint constitutes the first frame. For example, see... Figure 6 The user makes the first input to the first sub-control 601 and gets the first screen 602.
[0082] Based on the determined first screen, display the first pattern on the first screen.
[0083] In some embodiments, the first pattern displayed on the first screen is composed of multiple sub-patterns, and the multiple sub-patterns are arranged in combination, wherein the multiple sub-patterns may be identical or different.
[0084] In this embodiment, an obscuring pattern is placed above the playback interface of the first video to hide part of the screen. Users can choose between the moving mode and the obscuring mode to achieve the desired effect of screen hiding.
[0085] In another embodiment of the video playback control method of this application, the first control window includes a second control.
[0086] In the process of this embodiment, before step 120, the method further includes:
[0087] Step E1: Receive the user's second input to the second control.
[0088] Step E2: In response to the second input, display an occlusion indicator on the playback interface, wherein the display position of the occlusion indicator is related to the second input.
[0089] The second input includes touch input performed by the user on the screen, not limited to tapping, swiping, or dragging. The second input can also be air input, such as gestures or facial expressions. It also includes input from physical buttons on the device, not limited to pressing. Furthermore, the second input can include one or more inputs, which can be continuous or timed.
[0090] In this step, the second input is used to trigger the display of an obstruction indicator at a certain location on the playback interface, wherein the display location of the obstruction indicator can be determined by the second input.
[0091] For example, see Figure 3 The circular control 301 in the center of the first control window is the second control. When the user presses and holds their finger on the second control, they can move their finger to a specific position within the playback interface. (See [link]). Figure 7 The occlusion indicator 701 is displayed at this location.
[0092] In some embodiments, the occlusion identifier can be a clone of the second control.
[0093] Correspondingly, step 130 includes:
[0094] Sub-step E3: Based on the display position of the occlusion marker and the first direction indicated by the first sub-control, hide the first screen in the playback interface of the first video.
[0095] In this step, with Figure 8 For example, a reference line 802 is defined at the display position, which serves as the initial position. Starting from the initial position, the reference line 802 is moved to the left as indicated by the first sub-control 802. The distance moved is related to the input parameters of the first input. The more times the user clicks the first sub-control, the greater the distance moved; the longer the user presses the first sub-control, the greater the distance moved. The area covered by the reference line from the initial position to the endpoint in the playback interface is the first screen 803.
[0096] In some embodiments, the hiding method is to display a pattern on the first screen.
[0097] In this embodiment, based on user input, any part of the playback interface can be hidden, not limited to the image at the border or the center of the playback interface, making the hiding method more flexible and improving the precision of video playback control.
[0098] In another embodiment of the video playback control method of this application, before step 130, the method further includes:
[0099] Step F1: Display the second control window, which includes at least two hide options, each indicating a hiding method.
[0100] In some embodiments, the user triggers the display of a second control window, for example, by long-pressing the first control window.
[0101] The second control window displays at least two hide options. Each hide option indicates a hiding method, which includes the pattern style to obscure the first screen, the arrangement of the patterns, and the display parameters of the patterns, including transparency. The patterns can be emoticons or album images. The playback interface provides a pattern interface, allowing users to import patterns from applications such as photo albums.
[0102] Step F2: Receive third input from the user for the first hidden option among at least two hidden options.
[0103] Third input includes touch input performed by the user on the screen, not limited to clicking, swiping, or dragging. Third input can also be air input, such as gestures or facial expressions. It also includes input from physical buttons on the device, not limited to pressing. Furthermore, third input can include one or more inputs, which can be continuous or timed.
[0104] In this step, the third input is used to select the first hidden option from at least two hidden options.
[0105] For example, see Figure 9 When the user clicks the center of the second control window 901, multiple pattern style options 902 are displayed. Clicking on one of these options triggers two intersecting operation bars extending from the center of the second control window 901. These bars are used to adjust the transparency and the fineness of the arrangement, respectively. The user can slide on the operation bars to adjust the transparency and fineness values to a suitable level. The fineness relates to the arrangement of the pattern styles; higher fineness means a larger number of patterns are arranged, resulting in a denser arrangement, while lower fineness means fewer patterns are arranged, resulting in a looser arrangement.
[0106] Step F3: In response to the third input, the hiding method corresponding to the first hiding option is used as the hiding method of the first screen.
[0107] In some embodiments, the pattern style corresponding to the first hidden option is covered on the first screen, and the pattern style is displayed with reference to the arrangement and transparency of the first hidden option.
[0108] In this embodiment, a method for personalized selection of hiding methods is provided, which makes the user operation more flexible, so that the hiding effect of the first video is more in line with the user's preferences and improves the user's viewing experience.
[0109] In the flow of a video playback control method according to another embodiment of this application, after step 130, the method further includes:
[0110] Step G1: Receive the user's fourth input to the first control window.
[0111] The fourth input includes touch input performed by the user on the screen, including but not limited to tapping, swiping, and dragging. The fourth input can also be air input, such as gestures and facial expressions. It also includes input from physical buttons on the device, including but not limited to pressing. Furthermore, the fourth input can include one or more inputs, which can be continuous or timed.
[0112] In this step, the fourth input is used to unhide the first screen.
[0113] For example, see Figure 3 The user double-clicks the circle control 301 in the center of the first control window.
[0114] Step G2: In response to the fourth input, unhide the first screen.
[0115] After unhiding, the first video playback interface no longer has a hidden screen, and the first video plays normally.
[0116] In this embodiment, the user can hide the first screen at any time, or unhide it at any time. As the first video plays, the user can make adjustments as needed, allowing for personalized operations on specific parts of the video.
[0117] In another embodiment of the video playback control method of this application, a device such as a gamepad can be connected to the electronic device of this application. The gamepad or other device includes multiple directional buttons, which are used to indicate directions. Thus, when the user operates the directional buttons of the gamepad, the user can control the first control of the first control window.
[0118] In summary, this application allows users to precisely control the video playback, filter out unwanted parts of the video, providing a better video experience; users can also use interactive tools to select hidden scenes, enhancing the fun of the operation.
[0119] The video playback control method provided in this application can be executed by a terminal. This application uses a terminal executing the video playback control method as an example to illustrate the terminal provided in this application.
[0120] Figure 10 A block diagram of a terminal according to an embodiment of this application is shown. The terminal includes:
[0121] The first display module 10 is used to display a first control window on the playback interface of the first video, wherein the first control window includes a first control, and the first control is used to indicate direction;
[0122] The first receiving module 20 is used to receive the user's first input to the first sub-control in the first control;
[0123] The hiding module 30 is used to hide the first screen associated with the first sub-control in the playback interface of the first video in response to the first input, wherein the first screen is a part of the playback interface of the first video, and the size of the first screen is related to the input parameters of the first input.
[0124] In this embodiment, a first control window is displayed on the playback interface of the first video. The first control window includes a first control indicating direction. By inputting a first sub-control within the first control, the user can hide a portion of the screen associated with that sub-control. This allows for precise occlusion of unwanted or uninteresting scenes in the video by inputting the first control, without causing the user to miss any parts of the video. Compared to existing technologies that rely solely on a progress bar to adjust playback, this embodiment enables precise control of the video playback through a control window.
[0125] In some embodiments, the hidden module 30 includes:
[0126] The first hiding unit is used to move the screen in the playback interface of the first video in a first direction indicated by the first sub-control, until the first screen in the playback interface of the first video is hidden.
[0127] In some embodiments, the terminal further includes:
[0128] The second display module is used to display first text information when the ratio of the size of the display area corresponding to the first screen to the display size of the playback interface is greater than a first threshold.
[0129] The first text information is related to the video content corresponding to the first frame.
[0130] In some embodiments, the terminal further includes:
[0131] The third display module is used to display a background image in the area of the playback screen where the first video is not displayed, when the ratio of the size of the display area corresponding to the first screen to the display size of the playback interface is greater than a second threshold.
[0132] In some embodiments, the hidden module 30 includes:
[0133] The determining unit is used to determine the first border in the playback interface corresponding to the first direction according to the first direction indicated by the first sub-control;
[0134] The display unit is used to display a first pattern on the first screen of the first video playback interface, starting from the first border, according to the input parameters of the first input, and the first pattern is used to cover the first screen.
[0135] In some embodiments, the terminal further includes:
[0136] The second receiving module is used to receive the user's second input to the second control;
[0137] The fourth display module is used to display an obstruction mark on the playback interface in response to the second input, wherein the display position of the obstruction mark is related to the second input;
[0138] Hidden module 30 includes:
[0139] The second hiding unit is used to hide the first screen in the playback interface of the first video based on the display position of the occlusion mark and the first direction indicated by the first sub-control.
[0140] In some embodiments, the terminal further includes:
[0141] The fifth display module is used to display the second control window, wherein the second control window includes at least two hide options, each hide option indicating a hiding method;
[0142] The third receiving module is used to receive the user's third input on the first hidden option among at least two hidden options;
[0143] The processing module is used to respond to the third input and use the hiding method corresponding to the first hiding option as the hiding method of the first screen.
[0144] In some embodiments, the terminal further includes:
[0145] The fourth receiving module is used to receive the user's fourth input to the first control window;
[0146] The cancel module is used in response to the fourth input to unhide the first screen.
[0147] The terminal in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the specific type of device.
[0148] The terminal in this application embodiment can be a terminal with an action system. The action system can be an Android action system, an iOS action system, or other possible action systems; this application embodiment does not specifically limit the specific action system.
[0149] The terminal provided in this application embodiment can implement all the processes implemented in the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0150] In some embodiments, such as Figure 11 As shown, this application embodiment also provides an electronic device 100, including a processor 101, a memory 102, and a program or instructions stored in the memory 102 and executable on the processor 101. When the program or instructions are executed by the processor 101, they implement the various steps of any of the above-described video playback control method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0151] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0152] Figure 12 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0153] The electronic device 1000 includes, but is not limited to, the following components: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, processor 1010, camera 1011, etc.
[0154] Those skilled in the art will understand that the electronic device 1000 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1010 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 12 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0155] The display unit 1006 is configured to display a first control window on the playback interface of the first video, wherein the first control window includes a first control for indicating direction; the user input unit 1007 is configured to receive a first input from a user to a first sub-control within the first control; and the processor 1010 is configured to, in response to the first input, hide a first screen associated with the first sub-control on the playback interface of the first video, wherein the first screen is a portion of the playback interface of the first video, and the size of the first screen is related to the input parameters of the first input.
[0156] In this embodiment, a first control window is displayed on the playback interface of the first video. The first control window includes a first control indicating direction. By inputting a first sub-control within the first control, the user can hide a portion of the screen associated with that sub-control. This allows for precise occlusion of unwanted or uninteresting scenes in the video by inputting the first control, without causing the user to miss any parts of the video. Compared to existing technologies that rely solely on a progress bar to adjust playback, this embodiment enables precise control of the video playback through a control window.
[0157] In some embodiments, the processor 1010 is further configured to move the screen in the playback interface of the first video in a first direction indicated by the first sub-control, until the first screen in the playback interface of the first video is hidden.
[0158] In some embodiments, the display unit 1006 is further configured to display first text information when the ratio of the size of the display area corresponding to the first screen to the display size of the playback interface is greater than a first threshold; wherein the first text information is associated with the video content corresponding to the first screen.
[0159] In some embodiments, the display unit 1006 is further configured to display a background image in the area of the playback screen where the first video is not displayed, when the ratio of the size of the display area corresponding to the first screen to the display size of the playback interface is greater than a second threshold.
[0160] In some embodiments, the processor 1010 is further configured to determine a first border in the playback interface corresponding to the first direction according to the first direction indicated by the first sub-control; the display unit 1006 is further configured to display a first pattern on a first screen in the playback interface of the first video, starting from the first border, according to the input parameters of the first input, wherein the first pattern is used to cover the first screen.
[0161] In some embodiments, the first control window includes a second control; the user input unit 1007 is further configured to receive a second input from the user to the second control; the display unit 1006 is further configured to display an occlusion marker on the playback interface in response to the second input, wherein the display position of the occlusion marker is associated with the second input; the processor 1010 is further configured to hide the first screen in the playback interface of the first video based on the display position of the occlusion marker and the first direction indicated by the first sub-control.
[0162] In some embodiments, the display unit 1006 is further configured to display a second control window, wherein the second control window includes at least two hiding options, each hiding option indicating a hiding method; the user input unit 1007 is further configured to receive a third input from the user for a first hiding option among the at least two hiding options; and the processor 1010 is further configured to, in response to the third input, use the hiding method corresponding to the first hiding option as the hiding method of the first screen.
[0163] In some embodiments, the user input unit 1007 is further configured to receive a fourth input from the user to the first control window; the processor 1010 is further configured to unhide the first screen in response to the fourth input.
[0164] In summary, this application allows users to precisely control the video playback, filter out unwanted parts of the video, providing a better video experience; users can also use interactive tools to select hidden scenes, enhancing the fun of the operation.
[0165] It should be understood that, in this embodiment, the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042. The GPU 10041 processes image data of still images or video images obtained by an image capture device (such as a camera) in video image capture mode or image capture mode. The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and motion systems. Processor 1010 may integrate an application processor and a modem processor. The application processor mainly handles the action system, user page, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may also not be integrated into processor 1010.
[0166] The memory 1009 can be used to store software programs and various data. The memory 1009 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1009 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1009 in this embodiment includes, but is not limited to, these and any other suitable types of memory.
[0167] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into the processor 1010.
[0168] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described video playback control method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0169] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0170] This application also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above-described video playback control method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0171] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0172] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the video playback control method embodiment described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0173] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and terminals in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0174] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0175] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A video playback control method, characterized in that, The method includes: A first control window is displayed on the playback interface of the first video, wherein the first control window includes a first control, which is used to indicate direction; Receive the user's first input to the first sub-control in the first control; In response to the first input, the first screen associated with the first sub-control in the playback interface of the first video is hidden, wherein the first screen is a part of the playback interface of the first video, and the size of the first screen is related to the input parameters of the first input. After hiding the first screen associated with the first sub-control in the playback interface of the first video, the method further includes: If the ratio of the size of the display area corresponding to the first screen to the display size of the playback interface is greater than a first threshold, the first text information is displayed; The first text information is related to the video content corresponding to the first image.
2. The method according to claim 1, characterized in that, The step of hiding the first screen associated with the first sub-control in the playback interface of the first video includes: Move the screen in the playback interface of the first video in the first direction indicated by the first sub-control until the first screen in the playback interface of the first video is hidden.
3. The method according to claim 1, characterized in that, After hiding the first screen associated with the first sub-control in the playback interface of the first video, the method further includes: If the ratio of the size of the display area corresponding to the first screen to the display size of the playback interface is greater than a second threshold, a background image is displayed in the area of the playback screen where the first video is not displayed.
4. The method according to claim 1, characterized in that, The step of hiding the first screen associated with the first sub-control in the playback interface of the first video includes: Based on the first direction indicated by the first sub-control, determine the first border in the playback interface corresponding to the first direction; Starting from the first border, a first pattern is displayed on the first screen of the first video playback interface according to the input parameters of the first input, and the first pattern is used to cover the first screen.
5. The method according to claim 1, characterized in that, The first control window includes a second control; before receiving the user's first input to the first sub-control in the first control, the method further includes: Receive a second input from the user to the second control; In response to the second input, an obstruction indicator is displayed on the playback interface, wherein the display position of the obstruction indicator is related to the second input; The step of hiding the first screen associated with the first sub-control in the playback interface of the first video includes: Based on the display position of the occlusion marker and the first direction indicated by the first sub-control, the first screen in the playback interface of the first video is hidden.
6. The method according to claim 1, characterized in that, Before hiding the first screen associated with the first sub-control in the playback interface of the first video, the method further includes: Display a second control window, wherein the second control window includes at least two hide options, each hide option indicating a hiding method; Receive third input from the user regarding the first hidden option among the at least two hidden options; In response to the third input, the hiding method corresponding to the first hiding option is used as the hiding method of the first screen.
7. The method according to claim 1, characterized in that, After hiding the first screen associated with the first sub-control in the playback interface of the first video, the method further includes: Receive the user's fourth input to the first control window; In response to the fourth input, the first screen is unhidden.
8. A terminal, characterized in that, The terminal includes: A first display module is configured to display a first control window on the playback interface of a first video, wherein the first control window includes a first control for indicating direction; The first receiving module is used to receive the user's first input to the first sub-control in the first control; A hiding module is used to hide the first screen associated with the first sub-control in the playback interface of the first video in response to the first input, wherein the first screen is a part of the playback interface of the first video, and the size of the first screen is related to the input parameters of the first input. The second display module is used to display first text information when the ratio of the size of the display area corresponding to the first screen to the display size of the playback interface is greater than a first threshold. The first text information is related to the video content corresponding to the first image.
9. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the video playback control method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Systems and Methods for Controlling the Distribution, Processing, and Revealing of Hidden Portions of Images
US20160080155A1