Interface interaction method and device, equipment and storage medium
By displaying the playback interface of multiple media content on the media work platform and adjusting the video playback progress in response to drag and drop operations, the problem of traditional platforms only supporting a single media content is solved, and convenient interaction and efficient sharing of multiple types of works are achieved. Improved user experience.
Patent Information
- Application Number
- CN202411010027.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-29
AI Technical Summary
Traditional media works platforms usually only support a single type of media content, making it difficult for users to efficiently share and obtain multiple types of media works, affecting users' interaction efficiency.
Provide an interface interaction method and device, displaying a playback interface for multiple media contents, displaying preview elements in response to drag and drop operations, and adjusting the playback progress of video content based on drag and drop operations, displaying progress indicators, and supporting multiple types of media content Interaction.
It improves the convenience and efficiency of users creating and browsing various types of works, reduces the cost of user interaction learning, and improves the consistency of media works interaction experience.
Smart Images

Figure CN119045706A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for interface interaction. Background Art
[0002] In recent years, the Internet has become an important platform for people to obtain and share information. For example, people can publish various types of works through the Internet, and can also view the works published by other users. In recent years, the types of works have become increasingly diverse. For example, users can allow the publication of various forms of media works such as videos, pictures, and music. Summary of the invention
[0003] In a first aspect of the present disclosure, a method for interface interaction is provided. The method includes: displaying a playback interface of a target work, the target work includes multiple media contents, the multiple media contents include video content and image content; in response to receiving a drag operation in the playback interface, displaying multiple preview elements corresponding to the multiple media contents in the playback interface; and in response to the first media content currently played in the playback interface being video content, adjusting the playback progress of the first media content based on the drag operation, and displaying a progress indicator corresponding to the playback progress in a first preview element corresponding to the first media content, the first media content being one of the multiple media contents.
[0004] In a second aspect of the present disclosure, a device for interface interaction is provided. The device includes: a display module configured to display a playback interface of a target work, the target work includes multiple media contents, and the multiple media contents include video content and image content; a preview module configured to display multiple preview elements corresponding to the multiple media contents in the playback interface in response to receiving a drag operation in the playback interface; and a control module configured to adjust the playback progress of the first media content based on the drag operation in response to the first media content currently played in the playback interface being video content, and display a progress indicator corresponding to the playback progress in a first preview element corresponding to the first media content, the first media content being one of the multiple media contents.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.
[0007] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0009] Figure 1 A schematic diagram showing an example environment in which embodiments according to the present disclosure may be implemented;
[0010] FIG. 2A to FIG. 2I shows an example interface according to some embodiments of the present disclosure;
[0011] Figure 3 A flowchart showing an example process of interface interaction according to some embodiments of the present disclosure;
[0012] Figure 4 A schematic structural block diagram showing an example device for interface interaction according to some embodiments of the present disclosure; and
[0013] Figure 5 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0014] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0015] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0016] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.
[0017] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.
[0018] In this specification and the embodiments, if personal information processing is involved, it will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or it is necessary to perform a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.
[0019] As mentioned above, people can publish and view various types of media works every day. Traditional media works usually only support a single type of media content, for example, only support image content, or only support video content. This makes it difficult for users to share content efficiently and affects the efficiency of users obtaining content.
[0020] The embodiment of the present disclosure proposes a scheme for interface interaction. The scheme includes: displaying a playback interface of a target work, the target work includes multiple media contents, and the multiple media contents include video content and image content; in response to receiving a drag operation in the playback interface, displaying multiple preview elements corresponding to the multiple media contents in the playback interface; and in response to the first media content currently played in the playback interface being video content, adjusting the playback progress of the first media content based on the drag operation, and displaying a progress indicator corresponding to the playback progress in a first preview element corresponding to the first media content, the first media content being one of the multiple media contents.
[0021] In this way, the embodiments of the present disclosure can support users in creating works including various types, and can adjust the playback progress of video content more conveniently, thereby improving the efficiency of interacting with media works.
[0022] Various example implementations of the solution are described in detail below in conjunction with the accompanying drawings.
[0023] Example Environment
[0024] Figure 1 1 is a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, example environment 100 may include electronic device 110 .
[0025] In this example environment 100, the electronic device 110 may run an application 120 that supports interface interaction. The application 120 may be any appropriate type of application for interface interaction, examples of which may include, but are not limited to, media applications, social applications, image applications, or other appropriate applications. The user 140 may interact with the application 120 via the electronic device 110 and / or its attached devices.
[0026] exist Figure 1 In the environment 100, if the application 120 is in an active state, the electronic device 110 can present an interface 150 for supporting interface interaction through the application 120.
[0027] In some embodiments, the electronic device 110 communicates with the server 130 to provide services for the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a handheld computer, a portable game terminal, a VR / AR device, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio receiver, an e-book device, a game device, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface for the user (such as a "wearable" circuit, etc.).
[0028] The server 130 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. The server 130 may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, etc. The server 130 may provide background services for the application 120 that supports virtual scenes in the electronic device 110.
[0029] A communication connection may be established between the server 130 and the electronic device 110. The communication connection may be established in a wired manner or a wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the server 130 and the electronic device 110 may implement signaling interaction through the communication connection between the two.
[0030] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.
[0031] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0032] Example Interaction
[0033] FIG. 2A to FIG. 2I 200A to 200I according to some embodiments of the present disclosure. The interfaces 200A to 200I may be composed of, for example, Figure 1 The electronic device 110 is provided as shown.
[0034] like Figure 2A As shown, the electronic device 110 may provide a viewing interface 200A of the target work 205. In some embodiments, the target work 205 may include multiple media contents. In some embodiments, the target work 205 may include multiple types of media contents, for example, including video content and image content at the same time.
[0035] like Figure 2A As shown, the viewing interface 200A may include a play area 205 for playing the media content 210-1. As an example, the electronic device 110 may receive a user's sliding operation on the play area 205 and switch the play area 205 to another media content of the target work.
[0036] As an example, the media content 210 - 1 may be image content. The electronic device 110 may use the play area 205 in the viewing interface to play different types of media content in the target work, and maintain the uniformity of the layout of the viewing interface.
[0037] In some embodiments, the electronic device 110 may also receive a swipe-up operation in the viewing interface 200A, and may adjust the layout of the viewing interface 200A accordingly. As an example, the electronic device 110 may adjust the viewing interface to the following based on the received swipe-up operation: Figure 2B Status shown.
[0038] like Figure 2B As shown, the electronic device 110 can adjust the size and / or position of the play area 205. Additionally, the electronic device 110 can also display additional information associated with the target work in the adjusted interface, such as text content of the target work, interactive information (e.g., comment information), etc.
[0039] In some embodiments, the electronic device 110 may adjust the viewing interface independently of the type of media content currently being played on the viewing interface. Figure 2C As shown, if the media content 210-2 currently played in the viewing interface is video content, the electronic device 110 can also adjust the size and / or position of the playback area 205 based on the received interactive operation, and can display additional information associated with the target work in the adjusted interface.
[0040] In this way, the embodiments of the present disclosure can ensure the interaction consistency of different types of media content in the target work, thereby reducing the user's interaction learning cost and improving the user's interaction experience.
[0041] In some embodiments, the electronic device 110 may also receive a preset operation (eg, a pinch operation) for the play area 205 in the viewing interface 200A, and may accordingly present a play interface 200D of the target work.
[0042] like Figure 2D As shown, unlike the viewing interface 200A of the target work, the playback interface 200D may stop displaying the additional elements displayed in the viewing interface 200A. Such additional elements may include, for example, the text content of the target work displayed in the viewing interface 200A and / or at least one interactive control (e.g., a comment control, etc.).
[0043] like Figure 2DAs shown, in the playback interface 200D, the electronic device 110 can, for example, play the target work in a larger area and display a progress control 215 corresponding to the target work. The progress control 215 can, for example, indicate the position of the currently played media content in the playback interface 200D in the target work.
[0044] In some embodiments, the electronic device 110 may receive a drag operation 220 in the interface 200D. As an example, such a drag operation 220 may be associated with the progress control 215. That is, the user may trigger such a drag operation 220 within a preset range of the progress control 215.
[0045] In some embodiments, Figure 2E As shown, in response to receiving a drag operation 220, the electronic device 110 may display multiple preview elements corresponding to multiple media contents in the target work in the interface 200E, for example, preview element 225-1, preview element 225-2, preview element 225-3, and preview element 225-4 (individually or collectively referred to as preview elements 225).
[0046] As an example, the preview element 225-1 may correspond to the media content 210-1. Further, the electronic device 110 may, for example, highlight the preview element 225-1 corresponding to the currently playing media content 210-1. For example, compared with other preview elements, the preview element 225-1 may have a larger display size, or may have a different border style, etc.
[0047] In some embodiments, in response to the media content 210-1 currently being played in the interface 200E being image content, the electronic device 110 may also adjust the selection state of the plurality of preview elements 225 in response to the drag operation 220. Accordingly, the electronic device 110 may play the media content corresponding to the selected preview element 225 in the playback interface.
[0048] As an example, Figure 2F As shown, the electronic device 110 can mark the preview element 225-2 as selected based on the rightward drag operation 220. For example, the preview element 225-2 can be highlighted to indicate that it is in a selected state. As an example, the selected preview element 225-2 can have a larger display size and / or a different border style.
[0049] In some embodiments, Figure 2G As shown, when the drag operation 220 ends, the electronic device 110 can continue to play the media content 210-2 corresponding to the selected preview element 225-2. In addition, the electronic device 110 can also stop displaying the plurality of preview elements 225 in response to the drag operation 220 ending.
[0050] like Figure 2G As shown, the media content 210 - 2 may be, for example, video content. The electronic device 110 may, for example, provide controls 235 for controlling the playback of the video content in the playback interface 200G, such as a pause control, a volume control, and a speed control.
[0051] Additionally, the electronic device 110 may, for example, perform a new drag operation 230. Similar to the drag operation 220, the drag operation 230 may also be associated with the progress control 215.
[0052] like Figure 2H As shown, in response to receiving the drag operation 230, the electronic device 110 may display a plurality of preview elements 225 corresponding to the plurality of media contents in the target work. Figure 2E Unlike the illustrated example, in response to the currently played media content 210 - 2 being video content, the electronic device 110 may, for example, display the preview element 225 - 2 corresponding to the media content 210 - 2 in a larger size.
[0053] like Figure 2H As shown, in Figure 2H In the state of , the preview element 225-2 displays, for example, multiple video frames in the media content 210-2. Figure 2E and Figure 2F In the state, the preview element 225-2 has a smaller size (eg, width in the horizontal direction) and displays only a single video frame in the media content 210-2.
[0054] Additionally, compared to Figure 2E Compared to the selected preview element 225-1, Figure 2H The preview element 225-2 in the video has a larger display size. In some embodiments, the size of the preview element 225-2 can also be determined based on the time length of the video content. Alternatively, the preview element 225-2 can also have a preset size.
[0055] For example, in Figure 2H In the state shown, the media content 210-2 is video content, and the length of the preview element 225-2 in the target direction (eg, horizontal direction) is a first length. Figure 2E In the illustrated state, when the media content 210 - 1 is image content, the length of the preview element 225 - 1 in the target direction is the second length. The first length may be greater than the second length, for example, the first length may be 4 times the second length.
[0056] In some embodiments, the electronic device 110 may adjust the playback progress of the media content 210-2 in the interface 200H based on the received drag operation 230. For example, the electronic device 110 may rewind the previous content of the media content 210-2 based on the left drag operation; or may fast forward to the subsequent content of the media content 210-2 based on the right drag operation.
[0057] In some embodiments, the electronic device 110 may also display a progress indicator element 240 corresponding to the playback progress of the media content 210-2 in the preview element 225-2. The progress indicator element 240 may adjust its position in real time according to the change of the playback progress.
[0058] In some embodiments, the electronic device 110 may support adjusting the playback progress of the media content 210-2 by dragging and dropping only when the duration of the currently played media content 210-2 (i.e., video content) reaches a preset duration (e.g., 15 seconds). On the contrary, if the duration of the media content 210-2 is less than the preset duration, similar to the reference Figure 2D to Figure 2G In the process, the electronic device 110 can, for example, adjust the selection state of different preview elements 225 based on the received drag operation to switch the media content played in the playback interface.
[0059] In some embodiments, the electronic device 110 may not support the user to switch to playing other media content or select other preview elements, such as preview element 225-1, through the drag operation 230. As an example, the user can switch to other media content by sliding the playback interface without triggering the drag operation.
[0060] Alternatively, after the playback progress has been adjusted to a boundary position (eg, a start time or an end time) of the media content 210 - 2 , the electronic device 110 may, for example, continue to respond to the received drag operation.
[0061] Specifically, the electronic device 110 can determine whether the drag operation matches the target direction. For example, if the playback progress has been adjusted to the end time of the media content 210-2, the electronic device 110 can determine whether the drag operation continues to the right. On the contrary, if the playback progress has been adjusted to the start time of the media content 210-2, the electronic device 110 can determine whether the drag operation continues to the left.
[0062] Furthermore, the electronic device 110 may change the selection state of the preview element or adjust the playback progress of other media content adjacent to the media content 210 - 2 based on the continued received drag operation.
[0063] For example, if the playback progress has been adjusted to the start time of the media content 210 - 2 , the electronic device 110 may mark the preview element 225 - 1 as selected in response to a subsequent leftward drag operation to switch to playing the corresponding media content 210 - 1 .
[0064] As another example, if the playback progress has been adjusted to the end time of the media content 210 - 2 , and the next media content item after the media content 210 - 2 is video content, the electronic device 110 may adjust the playback progress of the next media content item in response to a subsequent rightward drag operation.
[0065] In some embodiments, Fig.2I As shown, in response to the user changing the playback progress of the media content 210-2 through the drag operation 230, the electronic device 110 can display the following in response to the end of the drag operation 230: Fig.2I The interface 200I shown. Fig.2I As shown, the electronic device 110 may stop displaying the plurality of preview elements 225 and may continue playing the media content 210 - 2 based on the updated playback progress.
[0066] In this way, the embodiments of the present disclosure can support users in creating works including various types, and can adjust the playback progress of video content more conveniently, thereby improving the efficiency of interacting with media works.
[0067] Example Process
[0068] Figure 3 FIG. 3 is a flowchart showing an example process 300 of interface interaction according to some embodiments of the present disclosure. The process 300 may be implemented at the electronic device 110. Figure 1 The process 300 is described below.
[0069] like Figure 3 As shown, in box 310, the electronic device 110 displays a playback interface of a target work, where the target work includes multiple media contents, and the multiple media contents include video content and image content.
[0070] In box 320, in response to receiving the drag operation in the playback interface, the electronic device 110 displays a plurality of preview elements corresponding to the plurality of media contents in the playback interface.
[0071] In box 330, in response to the first media content currently being played in the playback interface being video content, the electronic device 110 adjusts the playback progress of the first media content based on the drag operation, and displays a progress indicator corresponding to the playback progress in the first preview element corresponding to the first media content.
[0072] In some embodiments, process 300 also includes: in response to the first media content currently displayed on the playback interface being image content, adjusting the selection status of multiple preview elements based on a drag operation; and playing the second media content corresponding to the selected second preview element in the playback interface, the first media content being one of the multiple media contents.
[0073] In some embodiments, in response to the first media content being video content, the first preview element has a first size; and in response to the first media content being image content, the first preview element has a second size, the first size being larger than the second size.
[0074] In some embodiments, the first size is determined based on a temporal length of the first media content.
[0075] In some embodiments, in response to the first media content currently being played on the playback interface being video content, adjusting the playback progress of the first media content based on a drag operation includes: in response to the time length of the first media content reaching a preset length, adjusting the playback progress of the first media content based on the drag operation.
[0076] In some embodiments, process 300 further includes: in response to a time length of the first media content being less than a preset length, adjusting a selection state of the plurality of preview elements based on the drag operation.
[0077] In some embodiments, process 300 also includes: based on the drag operation, adjusting the playback progress to the start time or end time of the first media content; and in response to the drag operation matching the target direction, adjusting the selection state of multiple preview elements based on the drag operation and / or adjusting the playback progress of the third media content corresponding to the target direction.
[0078] In some embodiments, the first preview element displays a plurality of video frames in the first media content.
[0079] In some embodiments, process 300 further includes: in response to the drag operation ending, stopping displaying the plurality of preview elements.
[0080] In some embodiments, the playback interface includes a progress control corresponding to the target work, and the drag operation is associated with the progress control.
[0081] In some embodiments, displaying the playback interface of the target work includes: displaying a viewing interface of the target work, the viewing interface including a playback area for playing the target work and a group of additional elements, the group of additional elements including text content and / or at least one interactive control of the target work; and in response to receiving a preset operation for the playback area, displaying the playback interface of the target work, and the playback interface stops displaying the group of additional elements.
[0082] In some embodiments, process 300 further includes: in response to receiving a sliding operation in the viewing interface, adjusting the layout of the target interface independently of the type of media content currently playing in the viewing interface.
[0083] In some embodiments, adjusting the layout of the target interface includes: adjusting the position and / or size of the playback area; and / or displaying additional information associated with the target work in the target interface.
[0084] Example devices and equipment
[0085] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 4 A schematic structural block diagram of an example apparatus 400 for interface interaction according to some embodiments of the present disclosure is shown. The apparatus 400 may be implemented as or included in the electronic device 110. Each module / component in the apparatus 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0086] like Figure 4 As shown, the device 400 includes: a display module 410, configured to display a playback interface of a target work, the target work includes multiple media contents, and the multiple media contents include video content and image content; a preview module 420, configured to display multiple preview elements corresponding to the multiple media contents in the playback interface in response to receiving a drag operation in the playback interface; and a control module 430, configured to adjust the playback progress of the first media content based on the drag operation in response to the first media content currently being played in the playback interface being video content, and display a progress indicator corresponding to the playback progress in a first preview element corresponding to the first media content, the first media content being one of the multiple media contents.
[0087] In some embodiments, process 300 also includes: in response to the first media content currently displayed on the playback interface being image content, adjusting the selection status of multiple preview elements based on a drag operation; and playing the second media content corresponding to the selected second preview element in the playback interface.
[0088] In some embodiments, in response to the first media content being video content, the first preview element has a first size; and in response to the first media content being image content, the first preview element has a second size, the first size being larger than the second size.
[0089] In some embodiments, the first size is determined based on a temporal length of the first media content.
[0090] In some embodiments, the control module 430 is further configured to: in response to the time length of the first media content reaching a preset length, adjust the playback progress of the first media content based on the drag operation.
[0091] In some embodiments, the control module 430 is further configured to: in response to the time length of the first media content being less than a preset length, adjust the selection status of the plurality of preview elements based on the drag operation.
[0092] In some embodiments, the control module 430 is further configured to: adjust the playback progress to the start time or end time of the first media content based on the drag operation; and in response to the drag operation matching the target direction, adjust the selection state of multiple preview elements based on the drag operation and / or adjust the playback progress of the third media content corresponding to the target direction.
[0093] In some embodiments, the first preview element displays a plurality of video frames in the first media content.
[0094] In some embodiments, the apparatus 400 further includes a stopping module configured to: in response to the end of the dragging operation, stop displaying the plurality of preview elements.
[0095] In some embodiments, the playback interface includes a progress control corresponding to the target work, and the drag operation is associated with the progress control.
[0096] In some embodiments, the display module 410 is also configured to: display a viewing interface of the target work, the viewing interface including a playback area for playing the target work and a set of additional elements, the set of additional elements including text content of the target work and / or at least one interactive control; and in response to receiving a preset operation for the playback area, display the playback interface of the target work, and the playback interface stops displaying a set of additional elements.
[0097] In some embodiments, the apparatus 400 further includes an adjustment module configured to: in response to receiving a sliding operation in the viewing interface, adjust the layout of the target interface independently of the type of media content currently playing in the viewing interface.
[0098] In some embodiments, the adjustment module is further configured to: adjust the position and / or size of the playback area; and / or display additional information associated with the target work in the target interface.
[0099] like Figure 5As shown, the electronic device 500 is in the form of a general electronic device. The components of the electronic device 500 may include, but are not limited to, one or more processors or processing units 510, a memory 520, a storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 520. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 500.
[0100] The electronic device 500 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 520 may be a volatile memory (e.g., registers, caches, random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 500.
[0101] The electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 5 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 520 may include a computer program product 525 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0102] The communication unit 540 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 500 can be implemented in a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 500 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0103] The input device 550 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 560 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 500 may also communicate with one or more external devices (not shown) through the communication unit 540 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 500, or communicate with any device that allows the electronic device 500 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0104] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0105] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0106] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0107] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0108] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0109] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. An interface interaction method, comprising: Displaying a playback interface of a target work, wherein the target work includes multiple media contents, and the multiple media contents include video content and image content; In response to receiving a drag operation in the playback interface, displaying a plurality of preview elements corresponding to the plurality of media contents in the playback interface; as well as In response to the first media content currently being played on the playback interface being video content, the playback progress of the first media content is adjusted based on the drag operation, and a progress indicator corresponding to the playback progress is displayed in a first preview element corresponding to the first media content, the first media content being one of the multiple media contents.
2. The method according to claim 1, further comprising: In response to the first media content currently displayed on the playback interface being image content, adjusting the selection states of the plurality of preview elements based on the drag operation; as well as The second media content corresponding to the selected second preview element is played in the playback interface.
3. The method according to claim 2, wherein: In response to the first media content being video content, the first preview element has a first size; and In response to the first media content being image content, the first preview element has a second size, and the first size is larger than the second size. The method of claim 3 , wherein the first size is determined based on a temporal length of the first media content.
5. The method according to claim 1, wherein in response to the first media content currently played on the playback interface being video content, adjusting the playback progress of the first media content based on the drag operation comprises: In response to the time length of the first media content reaching a preset length, the playing progress of the first media content is adjusted based on the drag operation.
6. The method according to claim 5, further comprising: In response to a time length of the first media content being less than the preset length, the selection states of the plurality of preview elements are adjusted based on the drag operation.
7. The method according to claim 1, further comprising: Based on the dragging operation, adjusting the playback progress to the start time or end time of the first media content; as well as In response to the drag operation matching a target direction, adjusting the selection states of the plurality of preview elements and / or adjusting the playback progress of the third media content corresponding to the target direction based on the drag operation. The method of claim 1 , wherein the first preview element displays a plurality of video frames in the first media content.
9. The method according to claim 1, further comprising: In response to the dragging operation ending, the plurality of preview elements are stopped from being displayed.
10. The method according to claim 1, wherein the playback interface includes a progress control corresponding to the target work, and the dragging operation is associated with the progress control.
11. The method according to claim 1, wherein displaying the playback interface of the target work comprises: Displaying a viewing interface of the target work, the viewing interface comprising a playback area for playing the target work and a group of additional elements, the group of additional elements comprising text content of the target work and / or at least one interactive control; as well as In response to receiving a preset operation for the playback area, the playback interface of the target work is displayed, and the playback interface stops displaying the set of additional elements.
12. The method according to claim 11, further comprising: In response to receiving a sliding operation in the viewing interface, the layout of the target interface is adjusted independently of the type of media content currently playing in the viewing interface.
13. The method according to claim 12, wherein adjusting the layout of the target interface comprises: Adjusting the position and / or size of the playback area; and / or Additional information associated with the target work is displayed in the target interface.
14. A device for interface interaction, comprising: A display module, configured to display a playback interface of a target work, wherein the target work includes multiple media contents, and the multiple media contents include video content and image content; A preview module, configured to display a plurality of preview elements corresponding to the plurality of media contents in the playback interface in response to receiving a drag operation in the playback interface; as well as The control module is configured to adjust the playback progress of the first media content currently played in the playback interface based on the drag operation in response to the first media content currently being played in the playback interface being video content, and to display a progress indicator corresponding to the playback progress in a first preview element corresponding to the first media content, wherein the first media content is one of the multiple media contents.
15. An electronic device, comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 13 when executed by the at least one processing unit.
16. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 13.
Citation Information
Patent Citations
Video playing method and device, terminal and storage medium
CN117641057A
Interaction method and device, equipment and storage medium
CN117950535A
Cited By
Interaction method, interaction device and computer readable storage medium
CN121070215A
Method and apparatus for interface interaction, device, and storage medium
WO2026021494A1
