Methods, devices, electronic devices, and storage media for interacting with video content previews

The method and apparatus improve video content preview by using a progress bar to display text-based content and separate control of playback and preview positions, addressing the limitations of existing video frame-based previews.

JP7883666B2Active Publication Date: 2026-07-01DOUYIN VISION CO LTD

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
DOUYIN VISION CO LTD
Filing Date
2023-09-01
Publication Date
2026-07-01

AI Technical Summary

Technical Problem

Existing video playback methods fail to adequately display video content during preview, as video frames only represent image information and lack representation of audio and pre- and post-sequence information, leading to insufficient information display and affecting preview effectiveness.

Method used

A method and apparatus that utilize a progress bar component to display video playback progress, allowing users to interact with a video playback interface by moving a progress bar to determine a target timestamp, which is used to display corresponding text, and the display of audio information, and the display of subtitles or subtitles, allowing for improved responsiveness and flexibility in the video playback interface, and the integration of a first and second progress identifier to control the preview and playback positions independently.

Benefits of technology

Enhances the display of video content information by providing continuous text-based previews, improving responsiveness and reducing resource consumption, while maintaining smooth video playback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007883666000001
    Figure 0007883666000001
  • Figure 0007883666000002
    Figure 0007883666000002
  • Figure 0007883666000003
    Figure 0007883666000003
Patent Text Reader

Abstract

An embodiment of the present disclosure provides a method, an apparatus, an electronic device, and a storage medium for interacting with a video content preview. The method includes displaying a video playback interface, the video playback interface being provided with a progress bar component, the progress bar component being used to display a playback progress of a target video played in the video playback interface, and displaying corresponding target text in response to a movement operation on the progress bar component, the movement operation being used to indicate a first video position of the target video, the target text characterizing video content of the target video at the first video position. In response to the movement operation on the progress bar component, displaying the video content of the video position corresponding to the movement operation in text form.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of Internet technologies, and in particular, to a method, an apparatus, an electronic device, and a storage medium for interacting with video content preview.

Background Art

[0002] Currently, in video playback software, a video jump function and a corresponding video preview function are set so that users can easily adjust the playback progress of the video. That is, during the adjustment of the playback progress of the video in the video, before the video jumps, the video frame at the target jump position is decoded and displayed, so that the user can preview the video content at that video position, and thus determine whether to jump.

Summary of the Invention

Problems to be Solved by the Invention

[0003] Embodiments of the present disclosure provide a method, an apparatus, an electronic device, and a storage medium for interacting with video content preview.

Means for Solving the Problems

[0004] In a first aspect, embodiments of the present disclosure Bi provide a method for interacting with video content preview, [[ID=3३]]displaying a video playback interface, wherein the video playback interface is provided with a progress bar component, and the progress bar component 、 is used to display the playback progress of the target video played in the video playback interface, and responding to the movement of the progress bar component instruction to display corresponding target text, wherein the movement The target timestamp of the aforementioned target video is the instruction playback progress of the target video Target timestamp It is used to instruct, and the target text is the Target timestamp This includes characterizing the video content of the target video in the said target video.

[0005] In a second aspect, an embodiment of the present disclosure provides a device for interacting with a video content preview. A display module used to display a video playback interface, wherein the video playback interface is provided with a progress bar component, and the progress bar component is 、 A display module used to display the playback progress of a target video played within the aforementioned video playback interface, Movement to the progress bar component instruction In response to, The target timestamp of the aforementioned target video A processing module used to display the corresponding target text, wherein the movement instruction The target video Target timestamp It is used to instruct, and the target text is the Target timestamp The system includes a processing module that characterizes the video content of the target video in the aforementioned video.

[0006] In a third aspect, embodiments of the present disclosure provide electronic devices. The processor and a memory connected to the processor in a manner that enables communication between them are included. The aforementioned memory stores computer execution instructions. The processor executes computer execution instructions stored in the memory to implement the method of interacting with the video content preview described in the first embodiment and various possible designs of the first embodiment.

[0007] In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium. A method for interacting with a video content preview described in the first embodiment and various possible designs thereof, wherein a computer execution instruction is stored in the computer-readable storage medium, and when the processor executes the computer execution instruction, the video content preview described in the first embodiment and various possible designs thereof is described. but It will be implemented.

[0008] In a fifth aspect, an embodiment of the present disclosure provides a computer program product including a computer program, which, when executed by a processor, enables the method of interacting with video content previews described in the first aspect and various possible designs of the first aspect.

[0009] In a sixth aspect, an embodiment of the present disclosure provides a computer program which, when executed by a processor, enables the method of interacting with video content previews described in the first aspect and various possible designs of the first aspect.

[0010] The method, apparatus, electronic device, and storage medium for interacting with video content previews provided in this embodiment display a video playback interface, the video playback interface is provided with a progress bar component, and the progress bar component is 、 Used to display the playback progress of the target video played within the aforementioned video playback interface, and to move relative to the progress bar component. instruction In response to, The target timestamp of the aforementioned target video The corresponding target text is displayed, and the movement instruction The target video Target timestamp It is used to instruct, and the target text is the Target timestamp Characterizes the video content of the target video in the progress bar component. instruction In response, move instruction Corresponding Target timestamp Display the video content in text format. [Brief explanation of the drawing]

[0011] Examples of the present disclosure or Related technologies In order to more clearly describe the technical solutions in, the following briefly introduces the drawings that need to be used in the description of the examples or Related technologies As is clear, the drawings in the following description are some examples of the present disclosure, and those skilled in the art can also obtain other drawings based on these drawings without creative labor.

[0012] [Figure 1] It is an application scenario diagram of a method for interacting with video content preview provided by an embodiment of the present disclosure. [Figure 2] It is a flowchart 1 of a method for interacting with video content preview provided by an embodiment of the present disclosure. [Figure 3] It is a schematic diagram of a video playback interface provided by an embodiment of the present disclosure. [Figure 4] It is a specific implementation step flowchart of step S102 in the embodiment shown in FIG. 2. [Figure 5] It is a schematic diagram of target text data provided by an embodiment of the present disclosure. [Figure 6] It is a schematic diagram of a progress component provided by an embodiment of the present disclosure. [Figure 7] It is a flowchart 2 of a method for interacting with video content preview provided by an embodiment of the present disclosure. [Figure 8] It is a schematic operation diagram of a second language component provided by an embodiment of the present disclosure. [Figure 9] It is a specific implementation step flowchart of step S204 in the embodiment shown in FIG. 7. [Figure 10] It is a schematic operation diagram of a first language component provided by an embodiment of the present disclosure. [Figure 11] It is a schematic diagram of the change of text attributes provided by an embodiment of the present disclosure. [Figure 12] This is a block diagram of a device for interacting with video content previews provided by the embodiments of this disclosure. [Figure 13] This is a schematic diagram of the structure of an electronic device provided by the embodiments of this disclosure. [Figure 14] This is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present disclosure. [Modes for carrying out the invention]

[0013] To further clarify the purpose, technical concepts, and advantages of the embodiments of this disclosure, the technical concepts in the embodiments of this disclosure will be described clearly and completely below with reference to the drawings of the embodiments of this disclosure. Obviously, the embodiments described are only a selection of embodiments of this disclosure, not all embodiments. Any other embodiments that a person skilled in the art could obtain without creative work based on the embodiments of this disclosure are all within the scope of protection of this disclosure.

[0014] The following describes application scenarios of the embodiments of this disclosure.

[0015] Figure 1 is an application scene diagram of a method for interacting with a video content preview provided by an embodiment of the present disclosure, and the method for interacting with a video content preview provided by an embodiment of the present disclosure can be applied to a video playback application scene. More specifically, it can be applied to an application scene that performs a video preview during video playback. As shown in Figure 1, the method provided by an embodiment of the present disclosure can be applied to terminal devices such as smartphones and tablets. Exemplarily, a target application (Application, APP) for playing a video is running on the terminal device. More specifically, this target application is, for example, a short video platform application, and the target application downloads and plays a target video by connecting to a short video platform server. The target application has a video playback interface, and the video playback interface is configured with a progress bar component that displays the video playback progress. In the process of playing the target video, the user can jump to the target video (seek), that is, adjust the playback progress, by dragging the progress bar component in the video playback interface, and in the process, can preview the video content corresponding to the target video position to be jumped to through the video preview window.

[0016] Related technologies Therefore, in order to allow the user to know the video content at the target video playback position (i.e., the jump target position) while adjusting the video playback progress, a preview window is displayed to show the video frame at the video playback position, thereby providing a video preview. However, in the actual application process, video frames can only represent image information in the video and cannot represent audio information in the video. Furthermore, due to the static characteristics of video frames, they cannot represent pre- and post-sequence information corresponding to the video playback position. Related technologies The video preview implemented using the above method has the problem of displaying insufficient information and failing to adequately display the video content, thus affecting the preview effect of the video content. The embodiments of this disclosure provide a method for interacting with video content previews to solve the above problem.

[0017] Referring to Figure 2, Figure 2 is a flowchart 1 of a method for interacting with a video content preview provided by an embodiment of this disclosure. The method of this embodiment can be applied to terminal devices such as smartphones and personal computers, and in this embodiment, a smartphone with a touchscreen is used as the execution subject to illustrate how to interact with the video content preview provided by this embodiment. This method for interacting with a video content preview includes the following:

[0018] In step S101, a video playback interface is displayed, and the video playback interface is provided with a progress bar component, which is used to display the playback progress of the target video being played within the video playback interface.

[0019] Exemplary, a video playback interface is an interface for playing video in a target application of the video playback type. The terminal device executes the target application and invokes the corresponding system component to display the video playback interface, and the specific process will no longer be described. Here, the video playback interface includes a basic video playback component for playing the target video, as well as a progress bar component for displaying the playback progress of the target video. Here, in one possible embodiment, the progress bar component can be implemented via the video playback component, i.e., the progress bar component is a subcomponent in the video playback component that displays the video playback progress to the user. In other possible embodiments, the progress bar component may be a component independent of the video playback component. Furthermore, the progress bar component can display the playback progress of the video played in the video playback interface and can control the video playback progress in response to operation commands.

[0020] Figure 3 is a schematic diagram of a video playback interface provided by an embodiment of the present disclosure. As shown in Figure 3, the video playback interface exemplary includes a video playback component and a progress bar component. The progress bar component is positioned below the video playback component. While the video playback component plays the target video, the progress identifier in the progress bar component moves according to the changes in the playback progress of the target video. On the other hand, when a user operates the progress bar component by performing gesture operations on the touchscreen, for example, by dragging the progress identifier of the progress bar component, the playback progress of the target video played by the video playback component is controlled accordingly, i.e., jump playback. The specific implementation principle of the above video playback component and progress bar component is Related technologies Therefore, I will not explain it further here.

[0021] Step S102, Move to progress bar component instruction In response to, The target timestamp of the target video Display the corresponding target text and navigate. instruction is the target video Target timestamp It is used to instruct, and the target text is, Target timestamp Characterize the video content of the target video in [location].

[0022] Furthermore, referring to the schematic diagram of the video playback interface shown in Figure 3, when a user performs a movement operation on a progress bar component via the touchscreen, the terminal device detects the movement operation and generates a corresponding operation command to control the progress bar component. Here, the movement operation can include a drag operation or a click operation on the progress bar component. Specifically, a drag operation is a non-release drag gesture on a progress identifier within the progress bar component, i.e., a drag gesture that is always in a pushed (button down) state. When the progress identifier is dragged to an identified position within the progress bar component, the corresponding first video position is determined based on the timestamp corresponding to that identified position. On the other hand, a click operation is a non-release click operation on an identified position within the progress bar component, and in response to this non-release click operation, the progress identifier within the progress bar component is moved to that identified position (or not moved), and the corresponding first video position can be determined based on the timestamp corresponding to that identified position.

[0023] Furthermore, the first video position can be represented by the playback timestamp of the target video. After obtaining the first video position, the subtitle text corresponding to that timestamp, i.e., the target text, is obtained from the pre-configured text data corresponding to the target video (the target video and the corresponding text data have matching timestamps) based on the corresponding timestamp. This target text is then displayed within a pre-configured area of ​​the video playback interface, where the move operation is a continuous operation (e.g., dragging a progress identifier), and a single move operation can correspond to multiple first video positions. Therefore, as the move operation continues, the target text corresponding to each first video position is displayed synchronously within the video playback interface.

[0024] In one possible embodiment, as shown in Figure 4, the specific implementation steps of step S102 include, exemplary, the following:

[0025] Step S1021, target text data corresponding to the target video is obtained, and the target text data includes subtitle text for at least two video positions of the target video, and the subtitle text is generated by the audio information of the corresponding video positions of the target video.

[0026] Step S1022: Display the subtitle text corresponding to the first video position as the target text.

[0027] For example, the target text data corresponding to the target video may be pre-generated data, and the target text data may include corresponding subtitle text at different timestamp positions of the target video, and the subtitle text may be obtained after processing the target video based on speech recognition technology, and more specifically, the target text data may be obtained when the terminal device accesses the server, or after the terminal device processes the target video, and not all examples are described here.

[0028] Figure 5 is a schematic diagram of target text data provided by an embodiment of the present disclosure, and as shown in Figure 5, the target text data includes N subtitle texts, where each subtitle text corresponds to a video frame of at least one target video, and the intervals between each subtitle text and the video frame of the target video are aligned by timestamps, i.e., referring to the figure, for example, subtitle text #1 corresponds to video frames p1-p3, subtitle text #2 corresponds to video frames p4-p7. After obtaining target text data corresponding to the target video, the corresponding subtitle text is obtained from the target text data based on the timestamp corresponding to the first video position and displayed as target text.

[0029] In this embodiment, the corresponding target text is obtained and displayed using a unified timestamp via a first video position corresponding to a movement operation and independent text data, and there is no need to perform video decoding during the text data display process. Related technologies Compared to methods that preview video content based on video frames, this method consumes fewer resources, resulting in better real-time display of target text, and superior responsiveness and detail.

[0030] on the other hand, Related technologies The method of previewing video content based on video frames has a short time interval between video frames, so when responding to a move operation, frame skipping occurs even if two move operations are performed consecutively, and it is not possible to fully represent the video content. The method of previewing video content using subtitle text has a larger time span corresponding to the subtitle text, so continuous move operations enable continuous preview of adjacent subtitle text and display continuous contextual information. This makes it possible to fully represent the video content (at the text level).

[0031] Furthermore, with respect to the above movement operations, all movement operations are non-release operations, because the progress bar component can be used to control the playback progress of the target video, and when this movement gesture is released (for example, when the gesture of dragging the progress identifier is released), it triggers the corresponding jump playback based on the video position at the time the movement gesture is released. In this case, in other possible embodiments, the progress bar component includes a first progress identifier and a second progress identifier, where the first progress identifier is used to control the preview position of the target video, and the second progress identifier is used to control the playback progress of the target video. Movement relative to the progress bar component instruction In response to, The target timestamp of the target video The specific implementation method for displaying the corresponding target text is a move to the first progress identifier. instruction In response, the target text corresponding to the preview position is displayed in the video preview view of the video playback interface.

[0032] Figure 6 is a schematic diagram of a progress component provided by an embodiment of the present disclosure. As shown in Figure 6, the progress bar component includes a first progress identifier and a second progress identifier, where, exemplary, when the target video plays successfully, the video playback interface simultaneously plays the target video and its corresponding text subtitles based on the target video's playback timestamp, and the timestamps of the target video and the corresponding text subtitles match. Exemplary, the text subtitles may be pre-generated text for characterizing and describing the video content. When the user manipulates the second progress identifier to move to video position A by dragging or clicking it (as shown in the figure), the playback of the target video can be controlled, i.e., jump playback can be achieved, and this process is Related technologiesThis is a conventional method for achieving video jump playback and will not be explained further. On the other hand, when a user moves the first progress identifier to video position B (first video position) by dragging or clicking (the diagram shows the first progress identifier being dragged), the video playback interface displays text corresponding to this first video position, i.e., target text, and optionally this target text is displayed in the video preview view of the video playback interface. In this case, the second progress identifier that controls the video playback progress is not moved, so the target video and corresponding text subtitles in the second video playback interface are played normally, but at the same time, the user can preview the text subtitles at the first video position (i.e., preview position) based on the video preview view.

[0033] In embodiments where the progress bar component contains a single progress identifier, there is a problem that when the user only needs to preview and does not need to jump, the progress identifier cannot be manually restored to the identified position corresponding to the current playback progress of the video after the move operation on that progress identifier is completed, resulting in unexpected jumps in playback of the target video that is normally playing. On the other hand, in this embodiment, by setting a first progress identifier and a second progress identifier to control the preview position and playback progress, respectively, the operation of video playback progress control and video content preview is separated. When previewing video content and displaying target text by moving, the operation of the second progress identifier is not involved, so it does not affect the normal playback of the target video, avoids unexpected jumps in playback where the target video appears after the move operation is completed, and improves the fluency of video playback.

[0034] In this embodiment, a video playback interface is displayed, and the video playback interface is provided with a progress bar component, which is used to display the playback progress of the target video played within the video playback interface, and movement relative to the progress bar component instruction In response to, The target timestamp of the target video The corresponding target text is displayed and you move to it. instruction is the target video Target timestamp It is used to instruct, and the target text is, Target timestamp Characterize the video content of the target video in the progress bar component. instruction In response, move instruction Corresponding Target timestamp By displaying video content in text format and providing a text preview for the target video, this solution effectively improves the amount of information displayed in the video and solves the problem of not being able to fully display the video content.

[0035] Referring to Figure 7, Figure 7 is a flowchart 2 of a method for interacting with a video content preview provided by an embodiment of the present disclosure. This embodiment further subdivides the implementation process of step S102 based on the embodiment shown in Figure 2, and this method for interacting with a video content preview includes the following:

[0036] In step S201, the video playback interface is displayed, and the video playback interface is provided with a progress bar component, which is used to display the playback progress of the target video being played within the video playback interface.

[0037] Step S202: Search for alternative text data corresponding to the target video and display data identifiers corresponding to at least two of the alternative text data.

[0038] Step S203, Selection of Target Data Identifier instructionIn response, the first target text data corresponding to the target data identifier is downloaded.

[0039] Illustratively, referring to the description of text data in the above embodiment, the text data is descriptive text for the target video and is used to characterize the content of the target video at the corresponding timestamp position, corresponding to the timestamp of the target video. Here, the text data consists of multiple subtitle texts, which can be generated by analyzing and recognizing audio information for the target video. In one possible implementation, the text data is subjective descriptive text for the target video, such as user-uploaded video comments or video commentary subtitles. In this case, the text data can be obtained based on different algorithms or created by different users. Furthermore, the target video can correspond to multiple alternative text data that can be stored in a server communicating with the target application (i.e., the service terminal of the target application), and before or during playback of the target video, the terminal device can access the server and obtain alternative text data corresponding to the target video by performing a text data search for the target video. Subsequently, the terminal device displays the data identifier corresponding to the alternative text data in the application interface, e.g., the video playback interface, and then the user selects instruction Based on this, one of several alternative text data can be selected as the first target text data. Then, subsequent target text is displayed based on the first target text data selected by the user.

[0040] Figure 8 is a schematic diagram of the operation of a second language component provided by an embodiment of the present disclosure. As shown in Figure 8, exemplary, the video playback interface is provided with a second language component for displaying search results for alternative text data for a target video after it has been triggered. Referring to Figure 8, the target video is a game video, and the corresponding alternative text data is a text description for that game video. By triggering the second language component, the corresponding display view displays a data identifier for the alternative text data corresponding to the target video, more specifically, the data identifier is a string and includes a sort number, a target video number, and a description. Exemplary, for example, for a data identifier with sort number #1, the corresponding target video number is No.0001 and the corresponding description is "Description for A vs B - user_1", for example, for a data identifier with sort number #2, the corresponding target video number is No.0001 and the corresponding description is "Description for A vs B - user_2". Then, selection instruction In response, the system selects a target data identifier (a data identifier with sort number #2) and displays the selection result in the second language component, where sort number #2 corresponding to the target data identifier is shown in the figure. Subsequently, the system retrieves and loads the corresponding first target text data by accessing the server. As shown in Figure 8, the system can achieve selection of text data based on the alternative text data that the second language component searches for and displays, allowing the user to select the first target text data of interest based on their personal preferences. In subsequent steps, the system displays the target text based on this first target text data and performs an in-video preview, thereby increasing the flexibility and versatility of the video content preview and meeting the user's need for personalization.

[0041] Step S204: Obtain the subtitle text category corresponding to the target video, where the subtitle text category characterizes the language used for the subtitle text in the text data.

[0042] Step S205: Based on the subtitle text category corresponding to the target video, the second target text data corresponding to the subtitle text category is obtained from the first target text data.

[0043] Furthermore, after determining the first target text data, the target application can achieve language-independent display for the subtitle text within the first target text data, meaning the target video can support multiple subtitle text categories. Exemplarily, the first target text data includes a first text data, a second text data, and a third text data, where the first text data is based on Chinese, the second text data is based on English, and the third text data is based on Russian. The characterizations of the first, second, and third text data are consistent, but the languages ​​are different. More specifically, for example, the second and third text data may be translations based on the first text data.

[0044] For example, the corresponding subtitle text category is displayed by indicating the identifier of the corresponding sub-data based on different languages ​​in the first text data (e.g., the first text data, second text data, and third text data in the above embodiment). Then, user settings instruction Based on this, one target category is selected from among multiple subtitle text categories, and the text data corresponding to that target category is determined to be the second target text data.

[0045] For example, the video playback interface is provided with a first language component, which is used to display at least two subtitle text categories. As shown in Figure 9, the specific implementation steps of step S204 include the following:

[0046] Step S2041: Detect the number of subtitle text categories corresponding to the target video.

[0047] Step S2042: If the number of subtitle text categories is greater than 1, set the first language component to an enabled state.

[0048] Step S2043, Setting for the first language component instruction In response, the system determines the target subtitle text category corresponding to the target video.

[0049] Figure 10 is a schematic diagram of the operation of the first language component provided by an embodiment of the present disclosure. Referring to Figure 10, the procedure described above will be explained, and as shown in Figure 10, exemplary, after the first target text data (corresponding to sort number #2) is determined by the second language component, the number of subtext data based on different languages ​​in the first target text data is detected, i.e., the number of subtitle text categories corresponding to the target video is detected, and if the number is greater than 1, it indicates that the user can select a subtitle text category of interest, in which case the first language component is set to an usable state, more specifically, an usable state which includes, for example, a visible state and a clickable state (in the figure, "Options" is displayed within the first language component), and conversely, if the number is equal to 1, i.e., the first target text data contains only text data in one language, the first language component is set to an unusable state such as not visible or not clickable.

[0050] Subsequently, as shown in Figure 10, when the first language component is available, the first language component is triggered, and the available subtitle text categories, such as "Simplified Chinese" and "English" in Figure 10, are displayed within the corresponding view page. Settings added to the first language component later. instructionFor example, in response to a click selection operation, one of several subtitle text categories in a first language component is selected as the target subtitle text category (i.e., the target subtitle text category is selected), and then the text data corresponding to that target subtitle text category is displayed as subtitles as the second target text data.

[0051] In this embodiment, by setting a first language component, the language of the subtitle text can be further selected, thereby allowing the target text to be displayed in a specific language during the process of displaying the target text and previewing the video content. This enhances the flexibility and amount of information displayed in the video content preview and can meet the diverse preview needs of users.

[0052] In this embodiment, steps S202-S203 are steps to select alternative text data for the target video, and steps S204-S205 are steps to select a text category for the target video. These two steps can be executed sequentially in the manner of this embodiment. In other embodiments provided by this disclosure, one of these steps may be omitted and executed separately. For example, after selecting alternative text data for the target video and obtaining the first target text data, the next step may be executed directly based on the first target text data (only steps S202-S203 may be executed), or, since there is only one set of alternative text data for the target video, a text category can be selected based on the single set of alternative text data (only steps S204-S205 may be executed). The implementation of the specific steps in the above manner is the same as described above for steps S202-S205 and will not be explained further here.

[0053] Step S206, Move the progress bar component. instruction In response, the first video position is determined.

[0054] Step S207, based on the first video position, target text Text Attributes are determined, and text attributes characterize the text style and / or text effects corresponding to the text.

[0055] Step S208, the subtitle text corresponding to the first video position in the target text data is determined as the target text, and the target text Text Render and display the target text based on its attributes.

[0056] For example, a text attribute includes at least one of the following: font type, font size, and font color.

[0057] For example, the terminal device then detects a movement operation entered by the user and determines a corresponding first video position based on that movement operation. If the movement operation is a continuous operation (e.g., a drag operation), the first video position is the video position corresponding to the transient operation. Specific embodiments of the movement operation and corresponding responses are described in detail in the embodiment shown in Figure 2 and will not be described further here.

[0058] Furthermore, when the first video position is different, the corresponding target text has corresponding text attributes. That is, as the first video position changes, the style and effect of the displayed target text also change.

[0059] Figure 11 is a schematic diagram of the changes in text attributes provided by embodiments of this disclosure. As shown in Figure 11, when the first progress identifier of the progress identifier (see the relevant description of the embodiment shown in Figure 6) is moved to the first video position (timestamp t1) based on a movement operation, the target text has the first text attribute, and as shown in the figure, the font corresponding to the target text is italic. When the first progress identifier of the progress identifier is moved to the second video position (timestamp t2), the target text has the second text attribute, and as shown in the figure, the font corresponding to the target text is bold, and the target text has a text effect (which can be achieved based on texture rendering). Here, the direct mapping relationship between video position and text attribute may be preset and can be determined by configuration data stored in the first target text data or the second target text data, which will not be described further here.

[0060] In this embodiment, by determining corresponding text data based on the video position and rendering and displaying target text based on different text data, the font and special effects of the target text change in response to changes in movement operations. This highlights important content in the target video during the process of previewing the video content using the target text, thereby enhancing the guidance effect of the video preview and the sufficiency of information display.

[0061] In this embodiment, the implementation of step S201 is the same as the implementation of step S101 in the embodiment shown in Figure 2 of this disclosure, and will not be described in general terms here.

[0062] Figure 12 is a block diagram of a device for interacting with a video content preview provided by an embodiment of the present disclosure, corresponding to the method of interacting with a video content preview in the above embodiment. For convenience of explanation, only the parts relevant to the embodiment of the present disclosure are shown. Referring to Figure 12, the device 3 for interacting with a video content preview is: A display module 31 used to display a video playback interface, wherein the video playback interface is provided with a progress bar component, and the progress bar component is used to display the playback progress of a target video played within the video playback interface, and the display module 31 Movement to progress bar component instruction In response to, The target timestamp of the target video A processing module 32 used to display the corresponding target text, and moves instruction is the target video Target timestamp It is used to instruct, and the target text is, Target timestamp The system includes a processing module 32 that characterizes the video content of the target video.

[0063] In one embodiment of the present disclosure, the progress bar component includes a first progress identifier and a second progress identifier, the first progress identifier being used to control the preview position of the target video, and the second progress identifier being used to control the playback progress of the target video, and the processing module 32 specifically controls the movement relative to the first progress identifier instruction In response, it is used to display the target text corresponding to the preview position in the video preview view of the video playback interface.

[0064] In one embodiment of the present disclosure, the target text has text attributes that characterize the text style and / or text effect corresponding to the target text, and the text attributes of the target text are determined by a first video position.

[0065] In one embodiment of the present disclosure, the text attribute includes at least one of the font type, font size, and font color.

[0066] In one embodiment of the present disclosure, the processing module 32 is The target timestamp of the target video When displaying the corresponding target text, specifically, The method involves obtaining target text data corresponding to a target video, wherein the target text data includes subtitle text for at least two video positions of the target video, and the subtitle text is generated from the audio information of the corresponding video positions of the target video. It is used to display subtitle text corresponding to the first video position as target text.

[0067] In one embodiment of this disclosure, when the processing module 32 acquires target text data corresponding to the target video, specifically, The process involves obtaining the subtitle text category corresponding to the target video, where the subtitle text category characterizes the language used for the subtitle text in the text data, and It is used to obtain target text data corresponding to a target video based on the subtitle text category corresponding to the target video.

[0068] In one embodiment of the present disclosure, the video playback interface is provided with a first language component, which is used to display at least two subtitle text categories, and the processing module 32, when acquiring the subtitle text categories corresponding to the target video, specifically, Detect the number of subtitle text categories corresponding to the target video, If the number of subtitle text categories is greater than 1, the first language component is enabled, Settings for the first language component instruction In response to this, the target subtitle text category corresponding to the target video is determined and used for this purpose.

[0069] In one embodiment of this disclosure, when the processing module 32 acquires target text data corresponding to the target video, specifically, Searching for alternative text data corresponding to the target video, Display data identifiers corresponding to at least two alternative text data, Selection of Target Data Identifier instruction In response to this, it is used to download the target text data corresponding to the target data identifier.

[0070] Here, the display module 31 and the processing module 32 are connected. The device 3 for interacting with the video content preview provided by this embodiment can implement the technical proposal of the embodiment of the method described above, and its implementation principle and technical effect are similar and will not be described further here.

[0071] Figure 13 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. As shown in Figure 13, this electronic device 4 is It includes a processor 41 and a memory 42 that is communicatively connected to the processor 41. Memory 42 stores computer execution instructions. The processor 41 executes computer execution instructions stored in memory 42 to implement the method of interacting with the video content preview in the embodiments shown in Figures 2 to 11.

[0072] Here, optionally, the processor 41 and memory 42 are connected via the bus 43.

[0073] The relevant explanations can be understood by referring to the relevant explanations and effects corresponding to the steps in the embodiments shown in Figures 2 to 11, and many explanations are omitted here.

[0074] Referring to Figure 14, a schematic diagram of the structure of an electronic device 900 suitable for implementing an embodiment of the present disclosure is shown, which may be a terminal device or a server. Here, terminal devices may include, but are not limited to, mobile devices such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital televisions (TVs) and desktop computers. The electronic device shown in Figure 14 is merely an example and does not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.

[0075] As shown in Figure 14, the electronic device 900 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 901 capable of performing various appropriate operations and processes based on a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 into a random access memory (RAM) 903. The RAM 903 also stores various programs and data necessary for the operation of the electronic device 900. The processing unit 901, ROM 902, and RAM 903 are interconnected by a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0076] Typically, the device includes an input device 906, such as a touchscreen, touchpad, keyboard, mouse, camera, microphone, accelerometer, and gyroscope; an output device 907, such as a liquid crystal display (LCD), speaker, and vibrator; a storage device 908, such as magnetic tape and hard disk; and a communication device 909, which may be connected to the I / O interface 905. The communication device 909 can enable the electronic device 900 to exchange data with other devices via wireless or wired communication. Figure 14 shows an electronic device 900 with various devices, but it should be understood that it is not required to implement or include all the devices shown. Alternatively, more or fewer devices may be implemented. or It's a good idea to be prepared.

[0077] In particular, according to embodiments of the present disclosure, the process described with reference to the flowchart above may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and which includes program code for performing the method shown in the flowchart. In such embodiments, the computer program may be downloaded and installed from a network via a communication device 909, installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by a processing unit 901, it performs the functions limited to the methods of embodiments of the present disclosure.

[0078] The computer-readable medium described in this disclosure may be a computer-readable signal medium, a computer-readable storage medium, or any combination of both. The computer-readable storage medium may be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of more than these. More specific examples of computer-readable storage mediums may include, but are not limited to, electrical connections having one or more wires, portable computer magnetic disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory, optical fibers, portable compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include data signals propagating in the baseband or as part of a carrier wave, which contain computer-readable program code. Such propagating data signals may include, but are not limited to, electromagnetic signals, optical signals, or any suitable combination thereof, and can take various forms. The computer-readable signal medium may be any computer-readable storage medium other than a computer-readable storage medium, which can transmit, propagate, or transmit programs used by or in combination with instruction execution systems, apparatus, or devices. The program code contained in the computer-readable medium may be in the form of wires, optical cables, radio frequencies (RF), etc. mosquito , or They can be transmitted in any suitable medium, including, but not limited to, any suitable combination thereof.

[0079] The computer-readable medium described above may be included in the electronic device described above, or it may exist independently without being incorporated into the electronic device.

[0080] The computer-readable medium described above carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is made to execute the method shown in the above embodiment.

[0081] Computer program code for performing the operations of this disclosure is available in object-oriented programming languages ​​such as Java, Smalltalk, and C++, and the C language. or One or more programming languages, including similar programming languages or These can be combined to create the program code. The program code may run entirely on the user's computer, partially on the user's computer, run as a standalone software package, or run partially on the user's computer and partially on a remote computer. or It may run entirely on a remote computer or server. In the case of a remote computer, it may be connected to the user's computer via any type of network, including a Local Area Network (LAN) or Wide Area Network (WAN), or it may be connected to an external computer (for example, via the Internet using an Internet service provider).

[0082] The flowcharts and block diagrams in the drawings illustrate the feasible system architectures, functions, and operations of the systems, methods, and computer program products relating to various embodiments of this disclosure. orEach block in a block diagram is a module, block, containing one or more executable instructions to realize a predetermined logical function. or A portion of the code can be represented. In some alternative implementations, the functions described in a block may be executed in an order different from the order shown in the diagram. For example, two consecutively shown blocks, although determined by the functions involved, may actually be executed in parallel, or they may be executed in reverse order. Each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, may be implemented by a system with dedicated hardware to perform a predetermined function or operation, or by a combination of dedicated hardware and computer instructions.

[0083] The units referred to in the embodiments of this disclosure may be implemented in software or in hardware. Herein, the names of the units are not limited in any case to the units themselves. For example, the first acquisition unit may be described as "a unit that acquires at least two Internet Protocol addresses."

[0084] Here, the above functions are at least one of a kind. or This may be performed by multiple hardware logic components. For example, exemplary types of hardware logic components that can be used may include, but are not limited to, field programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-chip (SOCs), and complex programmable logic devices (CPLDs).

[0085] In the context of this disclosure, a machine-readable medium may be a tangible medium containing or storing a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium includes, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. More specific examples of machine-readable storage media include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0086] In a first aspect, one or more embodiments of the present disclosure provide a method for interacting with a video content preview. Displaying a video playback interface, wherein the video playback interface is provided with a progress bar component, and the progress bar component is used to display the playback progress of the target video played within the video playback interface. Movement to the progress bar component instruction In response to, The target timestamp of the aforementioned target video Displaying the corresponding target text, and the movement instruction The target video Target timestamp It is used to instruct, and the target text is the Target timestamp This includes characterizing the video content of the target video in the said target video.

[0087] According to one or more embodiments of the present disclosure, the progress bar component includes a first progress identifier and a second progress identifier, the first progress identifier being used to control the preview position of the target video, and the second progress identifier being used to control the playback progress of the target video. Movement to the progress bar component instruction In response to, The target timestamp of the aforementioned target video Displaying the corresponding target text is Move to the first progress identifier mentioned above. instruction In response to this, the system includes displaying the target text corresponding to the preview position in the video preview view of the video playback interface.

[0088] According to one or more embodiments of the present disclosure, the target text has text attributes, and the text attributes characterize the text style and / or text effect corresponding to the target text. The text attributes of the target text are determined by the first video position.

[0089] According to one or more embodiments of this disclosure, the text attribute is: It must include at least one of the following: font type, font size, and font color.

[0090] According to one or more embodiments of this disclosure, The target timestamp of the aforementioned target video Displaying the corresponding target text is The method involves obtaining target text data corresponding to the target video, wherein the target text data includes subtitle text for at least two video positions of the target video, and the subtitle text is generated from audio information for the corresponding video positions of the target video. This includes displaying subtitle text corresponding to the first video position as the target text.

[0091] According to one or more embodiments of this disclosure, obtaining target text data corresponding to the target video is: The process involves obtaining a subtitle text category corresponding to the target video, wherein the subtitle text category characterizes the language used in the subtitle text in the text data. This includes obtaining target text data corresponding to the target video based on the subtitle text category corresponding to the target video.

[0092] According to one or more embodiments of the present disclosure, the video playback interface is provided with a first language component, which is used to display at least two of the subtitle text categories. Obtaining the subtitle text category corresponding to the aforementioned target video is: To detect the number of subtitle text categories corresponding to the target video, If the number of subtitle text categories is greater than 1, the first language component is set to an enabled state, Settings for the first language component instruction The process includes determining a target subtitle text category corresponding to the target video in response to the above.

[0093] According to one or more embodiments of this disclosure, obtaining target text data corresponding to the target video is: Searching for alternative text data corresponding to the aforementioned target video, Displaying data identifiers corresponding to at least two of the aforementioned alternative text data, Selection of Target Data Identifier instruction This includes, in response to, downloading the target text data corresponding to the target data identifier.

[0094] In a second aspect, according to one or more embodiments of the present disclosure, an apparatus for interacting with video content previews is provided. A display module used to display a video playback interface, wherein the video playback interface is provided with a progress bar component, and the progress bar component is used to display the playback progress of a target video played within the video playback interface; Movement to the progress bar component instruction In response to, The target timestamp of the aforementioned target video A processing module used to display the corresponding target text, wherein the movement instruction The target video Target timestamp It is used to instruct, and the target text is the Target timestamp The system includes a processing module that characterizes the video content of the target video in the aforementioned video.

[0095] According to one or more embodiments of the present disclosure, the progress bar component includes a first progress identifier and a second progress identifier, the first progress identifier being used to control the preview position of the target video, and the second progress identifier being used to control the playback progress of the target video. The aforementioned processing module specifically includes, Move to the first progress identifier mentioned above. instruction In response, the target text corresponding to the preview position is used to display the video preview view of the video playback interface.

[0096] According to one or more embodiments of the present disclosure, the target text has text attributes, and the text attributes characterize the text style and / or text effect corresponding to the target text. The text attributes of the target text are determined by the first video position.

[0097] According to one or more embodiments of this disclosure, the text attribute is: It must include at least one of the following: font type, font size, and font color.

[0098] According to one or more embodiments of this disclosure, the processing module is: The target timestamp of the aforementioned target video When displaying the corresponding target text, specifically, The method involves obtaining target text data corresponding to the target video, wherein the target text data includes subtitle text for at least two video positions of the target video, and the subtitle text is generated from audio information for the corresponding video positions of the target video. It is used to display subtitle text corresponding to the first video position as the target text.

[0099] According to one or more embodiments of this disclosure, the processing module, when acquiring target text data corresponding to a target video, specifically, The process involves obtaining a subtitle text category corresponding to the target video, wherein the subtitle text category characterizes the language used in the subtitle text in the text data. It is used to obtain target text data corresponding to the target video based on the subtitle text category corresponding to the target video.

[0100] According to one or more embodiments of the present disclosure, the video playback interface is provided with a first language component, which is used to display at least two of the subtitle text categories. When the processing module obtains the subtitle text category corresponding to the target video, specifically, To detect the number of subtitle text categories corresponding to the target video, If the number of subtitle text categories is greater than 1, the first language component is set to an enabled state, Settings for the first language component instruction In response to this, the target subtitle text category corresponding to the target video is determined and used for the following.

[0101] According to one or more embodiments of this disclosure, the processing module, when acquiring target text data corresponding to a target video, specifically, Searching for alternative text data corresponding to the aforementioned target video, Displaying data identifiers corresponding to at least two of the aforementioned alternative text data, Selection of Target Data Identifier instruction In response to this, it is used to download the target text data corresponding to the target data identifier.

[0102] In a third aspect, according to one or more embodiments of the present disclosure, an electronic device is provided. The processor and a memory connected to the processor in a manner that enables communication between them are included. The aforementioned memory stores computer execution instructions. The processor executes computer execution instructions stored in the memory to implement the method of interacting with the video content preview described in the first embodiment and various possible designs of the first embodiment.

[0103] In a fourth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided. A computer execution instruction is stored in the computer-readable storage medium, and when the processor executes the computer execution instruction, the method of interacting with the video content preview described in the first embodiment and various possible designs of the first embodiment is performed.

[0104] In a fifth aspect, an embodiment of the present disclosure provides a computer program product including a computer program, which, when executed by a processor, enables the method of interacting with video content previews described in the first aspect and various possible designs of the first aspect.

[0105] In a sixth aspect, an embodiment of the present disclosure provides a computer program which, when executed by a processor, enables the method of interacting with video content previews described in the first aspect and various possible designs of the first aspect.

[0106] The above is merely a description of preferred embodiments and applicable technical principles of the present disclosure. Those skilled in the art will understand that the scope of the disclosure is not limited to any specific combination of the above technical features, and also includes other technical solutions formed by any combination of the above technical features or their equivalents, without departing from the spirit of the disclosure. For example, technical means formed by substituting the above features with (not limited to) similar functional technical features disclosed herein.

[0107] Furthermore, although each operation is described in a specific order, these operations should not be understood as requiring that they be performed in a specific order or sequence as indicated. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included above, these should not be construed as limiting the scope of this disclosure. Some features described in the context of a single embodiment may be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may be implemented individually or in any appropriate subcombination in multiple embodiments.

[0108] Although this subject matter has been described in language specific to structural features and / or methodological logic, it should be understood that the subject matter described in the claims is not necessarily limited to the features or behaviors described above. Conversely, the specific features and behaviors described above are merely exemplary forms of implementing the claims.

[0109] This application claims priority to the Chinese patent application filed with the China National Patent Office on September 9, 2022, with application number 202211105139.3 and application title "Method, apparatus, electronic device and storage medium for interacting with video content previews," the entire contents of which are incorporated herein by reference.

Claims

1. A method for interacting with video content previews, Displaying a video playback interface, wherein the video playback interface includes a progress bar component, and the progress bar component is used to display the playback progress of a target video played within the video playback interface. In response to a move command to the progress bar component, display target text corresponding to the target timestamp of the target video, wherein the move command is used to indicate the target timestamp of the target video, and the target text characterizes the video content of the target video at the target timestamp. The progress bar component includes a first progress identifier and a second progress identifier, the first progress identifier being used to control the preview position of the target video, and the second progress identifier being used to control the playback progress of the target video. Displaying target text corresponding to the target timestamp of the target video in response to a move command for the progress bar component is: The process includes, in response to a move command for the first progress identifier, displaying target text corresponding to the preview position in the video preview view of the video playback interface, How to interact with video content previews.

2. The target text has text attributes, and the text attributes characterize at least one of the text style and text effect corresponding to the target text. The text attributes of the target text are determined by the target timestamp. The method according to claim 1.

3. The aforementioned text attribute is, Includes at least one of the following: font type, font size, font color, The method according to claim 2.

4. Displaying the target text corresponding to the target timestamp of the aforementioned target video is: The method involves obtaining target text data corresponding to the target video, wherein the target text data includes subtitle text for at least two video positions of the target video, and the subtitle text is generated from audio information for the corresponding video positions of the target video. This includes displaying the subtitle text corresponding to the target timestamp as the target text, The method according to claim 1.

5. Obtaining target text data corresponding to the aforementioned target video is: The process involves obtaining a subtitle text category corresponding to the target video, wherein the subtitle text category characterizes the language used for the subtitle text in the target text data. This includes obtaining target text data corresponding to the target video based on the subtitle text category corresponding to the target video, The method according to claim 4.

6. The video playback interface is provided with a first language component, which is used to display at least two of the subtitle text categories. Obtaining the subtitle text category corresponding to the aforementioned target video is: To detect the number of subtitle text categories corresponding to the target video, If the number of subtitle text categories is greater than one, the first language component is set to an enabled state. The process includes determining a target subtitle text category corresponding to the target video in response to a setting command for the first language component, The method according to claim 5.

7. Obtaining target text data corresponding to the aforementioned target video is: Searching for alternative text data corresponding to the aforementioned target video, Displaying data identifiers corresponding to at least two of the aforementioned alternative text data, Includes downloading target text data corresponding to a target data identifier in response to a command to select a target data identifier, The method according to claim 4.

8. A device for interacting with video content previews, A display module used to display a video playback interface, wherein the video playback interface is provided with a progress bar component, and the progress bar component is used to display the playback progress of a target video played within the video playback interface; A processing module used to display target text corresponding to a target timestamp of a target video in response to a move command to the progress bar component, wherein the move command is used to specify a target timestamp of the target video, and the target text characterizes the video content of the target video at the target timestamp, the processing module includes: The progress bar component includes a first progress identifier and a second progress identifier, the first progress identifier being used to control the preview position of the target video, and the second progress identifier being used to control the playback progress of the target video. The aforementioned processing module is Further used to display target text corresponding to the preview position in the video preview view of the video playback interface in response to a move command for the first progress identifier, A device for interacting with video content previews.

9. The processor and a memory connected to the processor in a manner that enables communication between them are included. The aforementioned memory stores computer execution instructions. The processor executes computer execution instructions stored in the memory to implement the method according to any one of claims 1 to 7. electronic equipment.

10. A computer execution instruction is stored, and when the processor executes the computer execution instruction, the method for interacting with a video content preview according to any one of claims 1 to 7 is performed. Computer-readable storage medium.

11. A computer program that causes a computer to perform a method of interacting with a video content preview as described in any one of claims 1 to 7.