Interface interaction method and device, equipment and storage medium

By providing search controls and swipe-to-switch technology within the interface, the problem of disjointed search and media content switching was solved, achieving efficient interface interaction and an immersive consumption experience, and improving the quality of user search and media content presentation.

CN121209760APending Publication Date: 2025-12-26BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511295133.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-10
Publication Date
2025-12-26

AI Technical Summary

Technical Problem

Existing technologies struggle to achieve efficient continuity and an immersive consumption experience between search and content presentation when users are watching media content, especially during the switching process between search results and media content.

Method used

The interface provides a search control that switches to the generated content item in response to a search request, and switches to the determined second media content by sliding to meet the trigger conditions, thus realizing a smooth switching between content items and media content.

Benefits of technology

It improves the coherence between searching and presenting media content and the efficiency of interface interaction, supports a more immersive content consumption experience, and enhances the efficiency of users viewing media content after searching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121209760A_ABST
    Figure CN121209760A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to an interface interaction method and device, equipment and a storage medium. The method comprises the following steps: presenting first media content in an interface, wherein the interface comprises a search control; in response to a search request received via the search control, switching the interface to present a content item generated based on the search request; and responding to the condition that the received sliding operation meets the triggering condition, switching the interface to display second media content, and the second media content is determined based on the direction of the sliding operation. In this way, according to the embodiment of the invention, in the process of presenting the media content, the consistency between searching and presenting the media content can be improved by presenting the content item generated based on the search request, so that the content presentation quality of an interface can be improved, the content item and the media content can be switched more conveniently by supporting sliding, and the user experience is improved. Therefore, the interface interaction efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The exemplary embodiments disclosed herein relate generally to the field of computers, and more particularly to methods, apparatuses, devices, and computer-readable storage media for interface interaction. Background Technology

[0002] With the rapid development of media technology and smart devices, more and more applications are providing users with various types of media content, bringing numerous conveniences to users. While watching media content, some users hope to learn more information through searches. Summary of the Invention

[0003] In a first aspect of this disclosure, a method for interface interaction is provided. The method includes: presenting first media content in an interface, the interface including a search control; switching the interface to present content items generated based on the search request in response to receiving a search request via the search control; and switching the interface to present second media content in response to a received swipe operation satisfying a trigger condition, the second media content being determined based on the direction of the swipe operation.

[0004] In a second aspect of this disclosure, another method for interface interaction is provided. The method includes: presenting first media content in a content stream in an interface, the interface including a search control; in response to receiving a search request via the search control, switching the interface to present content items generated based on the search request; and in response to receiving a switching operation, switching the interface to present second media content in the content stream, the second media content being added to the content stream based on the search request.

[0005] In a third aspect of this disclosure, an apparatus for interface interaction is provided. The apparatus includes: a first presentation module configured to present first media content in an interface, the interface including a search control; a first switching module configured to switch the interface to present content items generated based on the search request in response to receiving a search request via the search control; and a second switching module configured to switch the interface to present second media content in response to a received swipe operation satisfying a trigger condition, the second media content being determined based on the direction of the swipe operation.

[0006] In a fourth aspect of this disclosure, another apparatus for interface interaction is provided. The apparatus includes: a second presentation module configured to present first media content in a content stream in an interface including a search control; a third switching module configured to switch the interface to present content items generated based on the search request in response to receiving a search request via the search control; and a fourth switching module configured to switch the interface to present second media content in the content stream in response to receiving a switching operation, the second media content being added to the content stream based on the search request.

[0007] In a fifth aspect of this disclosure, an electronic device is provided. The device includes at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. When executed by the at least one processor, the instructions cause the device to perform the methods of the first or second aspect.

[0008] In a sixth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the methods of the first or second aspect.

[0009] In a seventh aspect of this disclosure, a computer program product is provided. The computer program product is tangibly stored in a computer storage medium and includes computer-executable instructions that, when executed by a device, cause the device to perform the method of the first or second aspect.

[0010] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0011] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:

[0012] Figure 1 A schematic diagram is shown of an example environment in which embodiments of the present disclosure may be implemented;

[0013] Figures 2A to 2H Example interfaces according to some embodiments of this disclosure are shown;

[0014] Figures 2I to 2K A framework diagram illustrating an example content switching process according to some embodiments of this disclosure is shown;

[0015] Figure 3 A flowchart illustrating an example process of interface interaction according to some embodiments of the present disclosure is shown;

[0016] Figure 4 A flowchart illustrating an example process of interface interaction according to other embodiments of the present disclosure is shown;

[0017] Figure 5 A schematic structural block diagram of an example device for interface interaction according to some embodiments of the present disclosure is shown;

[0018] Figure 6 A schematic structural block diagram of an example device for interface interaction according to other embodiments of the present disclosure is shown; and

[0019] Figure 7 A block diagram of an electronic device capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation

[0020] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0021] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.

[0022] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based 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 also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0023] The embodiments of this disclosure may involve user data, data acquisition, and / or use. All of these aspects comply with applicable laws, regulations, and relevant provisions. In the embodiments of this disclosure, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, in implementing the embodiments of this disclosure, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained in accordance with relevant laws and regulations through appropriate means. The specific methods of notification and / or authorization may vary depending on the actual situation and application scenario, and the scope of this disclosure is not limited in this respect.

[0024] In this specification and the embodiments, any processing of personal information will be carried out only under the premise of legality (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information other than that necessary for basic functions will not affect the user's use of basic functions.

[0025] As mentioned above, with the rapid development of media technology and smart devices, more and more applications are providing users with various types of media content, bringing numerous conveniences to users. While watching media content, some users hope to learn more through searches.

[0026] According to a first aspect of this disclosure, embodiments of this disclosure propose a user interface interaction scheme. According to this scheme, first media content can be presented on an interface, which includes a search control. Further, in response to receiving a search request via the search control, the interface can be switched to present content items generated based on the search request. Additionally, in response to a received swipe operation satisfying a trigger condition, the interface can be switched to present second media content, the second media content being determined based on the direction of the swipe operation.

[0027] Based on this approach, embodiments of this disclosure can provide a search control while presenting first media content on the interface, allowing users to trigger searches more conveniently. Furthermore, embodiments of this disclosure can switch the interface to display content items generated based on the search request in response to a search request received via the search control, without requiring a jump to a separate search page to display search results, thereby improving the continuity between searching and presenting media content and increasing the efficiency of responding to search requests. In addition, embodiments of this disclosure can switch the interface to display second media content determined by the direction of the swipe operation in response to a received swipe operation meeting a trigger condition, thereby improving the efficiency of users continuing to view media content after a search, thus improving user interface interaction efficiency, and supporting seamless switching between media content and content items. This provides users with a consistent consumption experience between content items and media content (e.g., second media content), supporting a more immersive consumption experience during the switching process.

[0028] Therefore, the embodiments of this disclosure can improve the coherence between searching and presenting media content by presenting content items generated based on search requests during the presentation of media content, thereby improving the content presentation quality of the interface, and can more conveniently switch between content items and media content by supporting swiping, thereby improving the efficiency of interface interaction and supporting a more immersive consumption experience.

[0029] According to a second aspect of this disclosure, embodiments of this disclosure propose another interface interaction scheme. According to this scheme, first media content in a content stream can be presented in an interface, the interface including a search control. Further, in response to receiving a search request via the search control, the interface can be switched to present content items generated based on the search request. Additionally, in response to receiving a switching operation, the interface can be switched to present second media content in the content stream, the second media content being added to the content stream based on the search request.

[0030] Based on this approach, embodiments of this disclosure can provide a search control while presenting first media content on the interface, allowing users to trigger searches more conveniently. Furthermore, embodiments of this disclosure can switch the interface to display content items generated based on the search request in response to a search request received via the search control, without requiring a jump to a search page to display search results, thereby improving the continuity between searching and presenting media content and increasing the efficiency of responding to search requests. In addition, embodiments of this disclosure can receive a switching operation to switch the interface to display second media content in the content stream, which is added to the content stream based on a search request. This improves the efficiency of interaction between the user and the interface while adjusting the media content in the content stream based on the search request, thereby also improving the quality of the media content in the content stream.

[0031] Therefore, the embodiments of this disclosure can improve the coherence between searching and presenting media content by presenting content items generated based on search requests during the presentation of media content, thereby improving the content presentation quality of the interface. Furthermore, the media content in the content stream can be adjusted based on search requests through switching operations, thereby improving the interface interaction efficiency and the quality of the media content in the content stream.

[0032] The following section provides a detailed description of various example implementations of this scheme, with reference to the accompanying drawings.

[0033] Example Environment

[0034] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. For example... Figure 1 As shown, example environment 100 may include electronic device 110.

[0035] In this example environment 100, electronic device 110 may run an application 120 that supports user interface interaction. Application 120 may be any suitable type of application for user interface interaction, and examples may include, but are not limited to, media applications, social applications, or other suitable applications. User 140 may interact with application 120 via electronic device 110 and / or its attached devices.

[0036] exist Figure 1 In environment 100, if application 120 is active, electronic device 110 can use application 120 to present interface 150 for supporting interface interaction.

[0037] In some embodiments, electronic device 110 communicates with server 130 to provide services to application 120. Electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, VR / AR devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry).

[0038] Server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms. Server 130 may include, for example, computing systems / servers such as mainframes, edge computing nodes, computing devices in a cloud environment, etc. Server 130 can provide backend services for applications 120 that support content presentation in electronic devices 110.

[0039] A communication connection can be established between server 130 and electronic device 110. This communication connection can be established via wired or wireless means. The communication connection may include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections; the embodiments of this disclosure are not limited in this respect. In the embodiments of this disclosure, server 130 and electronic device 110 can achieve signaling interaction through the communication connection between them.

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

[0041] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.

[0042] Example Interaction

[0043] The following will be referenced Figures 2A to 2H To describe some example interaction processes according to embodiments of the present disclosure. Figures 2A to 2H Example interfaces 200A to 200H according to some embodiments of the present disclosure are shown. Interfaces 200A to 200H may be, for example, provided by... Figure 1 The electronic device 110 shown is provided.

[0044] As an example, such interfaces 200A to 200H may include interfaces for user interaction. In some examples, such interfaces 200A to 200H may be interfaces for presenting media content. As an example, such media content includes, but is not limited to, images, videos, audio, etc. For example, according to Figure 2A As shown in the interface 200A, the electronic device 110 can display media content 211 (also known as, first media content) in the interface 200A.

[0045] In some examples, user 140 can interact with media content 211 based on interactive actions in interface 200A. As an example, such interactive actions can be implemented through any appropriate interaction. In some examples, such interactive actions may include a triggering action by the user on at least one interactive control in interface 200A. For example, when presenting media content 211, interface 200A may be used for a set of interactive controls to interact with media content 211. As an example, user 140 can interact with media content 211 through at least one such interactive control, such as liking, commenting, favorited, sharing, or viewing music.

[0046] In some examples, electronic device 110 may display a search control (also known as a first search control, such as control 221, control 222, etc.) on interface 200A. Based on such a search control, user 140 can more conveniently initiate a search while viewing media content 211. As an example, user 140 can trigger a search request by interacting with the search control. Subsequently, in response to receiving a search request via the search control, electronic device 110 may switch interface 200A to display content items generated based on the search request.

[0047] As an example, such a search request could be triggered by a user searching for specific content. For instance, user 140 could trigger the search control to display the results. Figure 2B The interface 200B shown includes an input component 231. Thus, user 140 can use this input component 231 to input content to be searched (e.g., "What are some recommended places in City A?") to trigger a search for that content. Alternatively or additionally, input component 231 can pre-generate the search content based on media content 211, allowing user 140 to trigger confirmation or further editing of the search content for further searching.

[0048] In some examples, such search requests can include, but are not limited to, any appropriate type of query request, retrieval request, matching request, content retrieval request, etc. For example, if such a search request includes any appropriate type of query request triggered by a user and sent to a virtual object, user 140 can send a query to the virtual object to trigger the retrieval of query results provided by the virtual object for that query. As an example, such a virtual object can provide query results corresponding to the query sent by the user through session interaction with the user. For instance, user 140 can trigger the sending of the query "What are some recommended places in City A?" to the virtual object, thereby allowing server 130 to query information associated with "What are some recommended places in City A?" and provide query results from the virtual object for "What are some recommended places in City A?".

[0049] It should be understood that, on the one hand, a virtual object can have a virtual avatar for interaction. On the other hand, a virtual object can also utilize an appropriate model to drive its interactive behavior, such a model can include any suitable machine learning model, for example, a generative model. In this disclosure, the various interactive processes and / or generative operations performed by the virtual object can be actually performed using an appropriate model corresponding to the virtual object.

[0050] For ease of description, the following embodiments of this disclosure use the example of user 140 triggering a search for "What are some recommended places in City A" for illustrative purposes. The specific implementation of the user-triggered query can be found in the following embodiments of this disclosure, which will not be repeated here. Based on this, when user 140 triggers a search for "What are some recommended places in City A", electronic device 110 can switch interface 200A to display content items generated based on the search request (e.g., content item 240 described below). Such content items can, for example, indicate search results for "What are some recommended places in City A".

[0051] In some examples, according to Figure 2CIn the interface 200C shown, when user 140 triggers a search for "What are some recommended places in City A", electronic device 110 can move media content 211 to display content items generated based on the search request in the interface. Alternatively or additionally, during the movement of media content 211, electronic device 110 can reduce the display size of media content 211 to display at least a portion of the generated content items in the interface. Thus, embodiments of this disclosure can support a seamless transition from media content 211 to content items, thereby providing users with a consistent consumption experience between content items and media content, resulting in a more immersive consumption experience from media content 211 to content items.

[0052] As an example, the electronic device 110 can use a canvas component to switch from media content 211 to a content item. For instance, the electronic device 110 can insert a content card corresponding to the generated content item (e.g., the third part of the canvas component described below) after the media content 211 in the canvas component. For a detailed implementation, please refer to the reference described below. Figures 2I to 2J By switching content items through the canvas component, the embodiments of this disclosure can improve the consistency of the consumption experience of content items and media content by moving or moving the entire canvas component downwards.

[0053] Alternatively or additionally, before generating the content item, the electronic device 110 may display a transition animation to indicate the process of generating the content item 240. For example, according to Figure 2C The interface 200C shown allows the electronic device 110 to display a transition animation 232 to indicate that a search for "recommended places in City A" is currently in progress. Therefore, embodiments of this disclosure can improve the efficiency of responding to search requests.

[0054] As an example, according to Figure 2D The interface 200D shown can display content items 240 on the electronic device 110. Such content items 240 may include, for example, the searched content "Recommended places in City A" and the search results for the searched content "Recommended places in City A". For example, it may include the response content for the searched content "Recommended places in City A" (e.g., "Park B", "Attraction C", "Plaza D", descriptions of each place, etc.), media content associated with the searched content "Recommended places in City A", etc.

[0055] As an example, such search results could be obtained by any suitable search tool by searching for "what are some recommended places in City A". For instance, such a search tool could be a generative model that can, for example, search for media content or data associated with the input search query from an authorized data source, and generate such search results by analyzing the searched media content or data.

[0056] In some embodiments, content item 240 may have different sizes for different search results. In some examples, if the size of content item 240 is smaller than a preset height (e.g., the height of the display area in interface 200D), electronic device 110 may display the entire content item 240 on the interface at once. Furthermore, user 140 may trigger a swipe operation to switch content item 240 to media content (e.g., media content 211, media content 212 described below, or other media content, etc.).

[0057] In other examples, if the size of content item 240 exceeds a preset height, electronic device 110 can present a thumbnail corresponding to content item 240 based on a search request. This thumbnail can present a portion of the content item 240. As an example, the size of such a thumbnail can correspond to the preset height or other specified heights not exceeding it. Thus, embodiments of this disclosure can avoid excessively long content items interfering with the user's browsing of media content.

[0058] In some examples, user 140 can trigger a swipe to more efficiently switch to media content using such thumbnails. Alternatively or additionally, electronic device 110 can be associated with such thumbnails to provide a viewing entry. User 140 can trigger such a viewing entry to view more detailed content item 240. Alternatively or additionally, user 140 can trigger a swipe associated with the thumbnail to expand the thumbnail to present more detailed content item 240. Thus, when search results are long, user 140 can flexibly choose whether to view more detailed search results, thereby improving user interface interaction efficiency.

[0059] In some embodiments, if user 140 triggers the viewing of more detailed content item 240, user 140 can further trigger a swipe operation to view different parts of content item 240. For example, interface 200D can display descriptive content about "Park B", media content, etc. Furthermore, user 140 can trigger a swipe operation to view other parts of content item 240. For example, user 140 can trigger an upward swipe of content item 240 to trigger the display of... Figure 2E The interface shown is 200E.

[0060] according to Figure 2E On interface 200E, user 140 can view descriptions, media content, etc., about "Attraction C". Alternatively, user 140 can trigger access point 241 to view more content related to "Park B". Alternatively, user 140 can swipe down to trigger a portion of the content item shown on interface 200D. Therefore, embodiments of this disclosure can improve the efficiency of users viewing content items.

[0061] As an alternative or additional option, if the search term "Recommended places in City A" slides off the screen, the electronic device 110 can display a prompt on the screen indicating such a search term as "Recommended places in City A". For example, according to Figure 2E As shown in the interface 200E, the electronic device 110 can display a prompt 242 to indicate the searched content "Recommended places in City A". Therefore, embodiments of this disclosure can reduce the memory cost for users dealing with search results.

[0062] Continue to refer to Figure 2D In some embodiments, interface 200D may include at least one second search control. For example, such a second search control may include control 243, which user 140 can trigger to initiate an additional search, thereby triggering the presentation of content items generated based on a further search request. As an example, the specific implementation of user 140 triggering control 243 for further searching can be found in the specific embodiment of user 140 searching through the first search control, and will not be repeated here. Thus, the embodiments of this disclosure can improve the quality of presented content items.

[0063] In some embodiments, user 140 can trigger a switching operation to switch the interface from displaying content item 240 to displaying second media content. As an example, the second search control may include a switching entry 244. User 140 can trigger the switching entry 244 to trigger such a switching operation, thereby switching the interface 200D to... Figure 2F The interface 200F shown is used to present media content 212. Such media content 212 is different from media content 211. For example, media content 212 may be referred to as second media content, such media content 212 may be the subsequent media content of media content 211 in the content stream, such as including, for example, third media content described below.

[0064] In some embodiments, such media content 212 can be independent of search requests. For example, when media content 211 is presented, user 140 can trigger a media content switching to switch to such media content 212. When content item 240 is presented, the media content in the content stream may remain unchanged, thereby user 140 can trigger a switching entry 244 to switch the interface from presenting content item 240 to presenting media content 212 in the content stream.

[0065] In other embodiments, such media content 212 may be determined based on a search request. As an example, such media content 212 may be associated with "What are some recommended places in City A?". Alternatively or additionally, such media content 212 may correspond to the topic of the content "What are some recommended places in City A?" (e.g., "tourism", "City A", etc.). This disclosure is not intended to limit the specific implementation of determining media content 212 based on a search request. Therefore, embodiments of this disclosure can improve the quality of media content presented after a triggered switch.

[0066] Alternatively or additionally, such media content 212 can be added to the content stream based on a search request. In this way, the electronic device 110 can adjust the media content that the user 140 wants to view in the content stream based on the search request, thereby improving the quality of the media content in the content stream. Alternatively or additionally, when the media content in the content stream is adjusted, the interface 200F can display prompts 251 to help the user 140 understand the adjustment process of the media content in the content stream.

[0067] In some embodiments, when the interface reaches the edge of content item 240, user 140 can further trigger a swipe operation to switch the interface from displaying content item 240 to displaying media content, thereby continuing to view the media content. For example, when the top edge of content item 240 is displayed in the interface, user 140 can trigger a swipe-down operation to switch content item 240 to media content 211, such media content 211 can be identified as such second media content. As an example, the swipe-down operation is, for example, a downward swipe operation, the downward direction also referred to as the first direction.

[0068] For example, when content item 240 is displayed at the bottom edge of the interface, user 140 can trigger an upward swipe to switch content item 240 to media content 212, which indicates media content different from media content 211. As an example, the upward swipe is, for example, a swipe in the upward direction, also known as a second direction or a preset direction. Therefore, embodiments of this disclosure can improve the smoothness of switching between content item 240 and media content (e.g., media content 211 or media content 212), thereby improving interface interaction efficiency.

[0069] In some embodiments, when the swipe operation corresponds to a second direction (e.g., user 140 triggers a swipe down operation), the electronic device 110 can trigger the determination of such second media content based on a search request. The specific implementation of this can be found in the above description of the embodiments concerning media content 211, and will not be repeated here. Therefore, the embodiments of this disclosure can improve the quality of presented media content.

[0070] In some embodiments, user 140 may trigger a swipe operation to view different parts of content item 240. In order to avoid the view of content item 240 being affected by user 140’s misoperation, electronic device 110 switches the interface to display the second media content determined by the direction of the swipe operation when the received swipe operation meets the triggering conditions, and continues to display content item 240 in the interface when the received swipe operation does not meet the triggering conditions.

[0071] In some examples, such a trigger condition may indicate that the sliding distance or sliding speed of a swipe operation exceeds a threshold. Specifically, the electronic device 110 may determine that the swipe operation meets the trigger condition in response to the sliding distance or sliding speed of the swipe operation exceeding the threshold. As an example, such a trigger condition may include the sliding distance of an up-down or right swipe operation exceeding a threshold, the sliding speed of an up-down or right swipe operation exceeding a threshold, and so on.

[0072] As an example, such a threshold can be preset. Alternatively or additionally, such a threshold can be determined based on the length of content item 240. For example, electronic device 110 can switch content item 240 to media content 211 when content item 240 is slid up to reach the top edge of content item 240 and continues to slide upward until it exceeds the damping threshold. As another example, electronic device 110 can switch content item 240 to media content 212 when content item 240 is slid down to reach the bottom edge of content item 240 and continues to slide downward until it exceeds the damping threshold. Thus, embodiments of this disclosure can improve the accuracy of user-interface interaction.

[0073] In some embodiments, content item 240 can move following a swipe operation by user 140. Specifically, in response to receiving a swipe operation, electronic device 110 can move the content item in the interface based on the direction of the swipe operation. As an example, the movement speed of the content item can be the same as the speed at which the user triggers the swipe operation. Thus, embodiments of this disclosure can improve the presentation quality of content item 240.

[0074] As some examples, according to Figure 2G As shown in the interface 200G, when user 140 triggers a swipe-down operation, electronic device 110 can move content item 240 downwards. In some examples, as content item 240 is moved downwards, electronic device 110 can display a prompt message 245 (e.g., "Continue to pull down to exit search and return to recommended content") to indicate that the interface will be switched to media content 211. Furthermore, user 140 can continue to trigger a swipe-down operation to trigger the switch of content item 240 to media content 211.

[0075] As other examples, according to Figure 2H As shown in interface 200H, when user 140 triggers an upward swipe operation, electronic device 110 can move content item 240 upward. In some examples, while content item 240 is being moved upward, electronic device 110 can display a prompt message 246 (e.g., "Continue swiping up to exit the search and return to recommended content") to indicate that the interface will be switched to media content 212. Furthermore, user 140 can continue to trigger a downward swipe operation to trigger the switch of content item 240 to media content 212.

[0076] Based on this approach, embodiments of this disclosure can enable user 140 to trigger viewing of content item 240 or switch to media content through varying degrees of swiping operations, thereby improving the accuracy of interaction between user 140 and the interface and enhancing interface interaction efficiency.

[0077] Alternatively or additionally, the electronic device 110 may, based on such a sliding operation, reduce the display size of the content item 240 in the interface and present a portion of the second media content in the interface, determined by the direction of the sliding operation. For example, according to Figure 2G As shown in the interface 200G, the electronic device 110 can reduce the display size of the content item 240 from H1 to H2 based on a swipe-down operation, and can display a portion 261 of the media content 211. For example, according to... Figure 2HAs shown in interface 200H, electronic device 110 can reduce the display size of content item 240 in the interface from H1 to H3 based on an upward swipe operation, and can present a portion 262 of media content 212. As an example, H1, H2, and H3 can be appropriate sizes, where H1 is larger than H2 and H3 is larger than H3, and H2 and H3 can be determined based on the swipe operation.

[0078] Furthermore, if the sliding operation does not meet the triggering conditions, the electronic device 110 can switch the interface to display content item 240 and stop displaying a portion of the second media content (e.g., a portion of content 261 or a portion of content 262). Thus, the embodiments of this disclosure can further improve the continuity between content items and second media content by reducing the display size of content items on the interface and displaying a portion of the second media content during the execution of the sliding operation, and can improve the accuracy of interface interaction through triggering conditions.

[0079] In some embodiments, the swipe operation that triggers the switching of the interface from content item 240 to media content 211 or media content 212 can be referred to as the first swipe operation. Then, the user 140 can trigger a second swipe operation in the opposite direction to the first swipe operation to trigger the switching of the interface from the switched media content 211 or media content 212 to the presented content item 240 or the fourth media content.

[0080] For example, if user 140 switches the interface from content item 240 to media content 211 by swiping down, user 140 can also swipe up to switch the interface from presenting media content 211 to content item 240 or a fourth media content (e.g., media content 212 or other re-recommended media content). Similarly, if user 140 switches the interface from content item 240 to media content 212 by swiping up, user 140 can also swipe down to switch the interface from presenting media content 211 to content item 240 or a fourth media content (e.g., media content 211 or other re-recommended media content). Therefore, embodiments of this disclosure allow user 140 to flexibly switch between content items and media content, thereby improving interface interaction efficiency.

[0081] The following will be referenced Figures 2I to 2K This document describes some example switching processes for content items according to embodiments of the present disclosure. Figures 2I to 2K A framework diagram of example content switching processes 200I to 200K according to some embodiments of the present disclosure is shown. Processes 200I to 200K may, for example, characterize the switching process between media content and content items in interfaces 200A to 200H.

[0082] In some embodiments, interfaces 200A to 200H may be associated with a content stream, which may include multiple media content published by multiple users of the current application platform (e.g., an application platform supporting application 120). A first user (e.g., user 140) can switch between multiple media content in the content stream based on content switching operations, such as up and down swiping. The first user can also interact with a second user or other users based on the media content, such as liking, commenting on, or sharing the media content.

[0083] As an example, such media content 211 can be displayed in such a content stream, and user 140 can trigger a swipe on such a canvas component to trigger a switch of media content 211 to the next media content (also known as, third media content) in the content stream.

[0084] In some embodiments, according to Figure 2I The process shown in 200I illustrates that such a canvas component can include multiple sections corresponding to multiple media contents. Thus, the user 140 can trigger a swipe operation to slide such a canvas component, thereby switching between multiple media contents by moving the entire canvas component. As an example, such a canvas component might display media content in a content stream, such as... Figure 2I As shown, the canvas component may include a first part 271 (e.g., including the media content 211 described above) corresponding to the media content 211 in the content stream, a second part 272 corresponding to the third media content, and so on.

[0085] In some embodiments, user 140 may trigger a search request while viewing media content 211. Subsequently, upon receiving a search request, electronic device 110 may add content item 240 to such a canvas component as a third portion 280 within the canvas component. As an example, such a third portion may be inserted between the first portion 271 and the second portion 272.

[0086] Based on this, when media content 211 is displayed on the interface, the electronic device 110 switches the interface from displaying media content 211 to displaying content item 280 by moving the entire canvas component upwards, rather than displaying it by covering the media content 211 with content item 280. Alternatively or additionally, when content item 280 is displayed on the interface, the electronic device 110 can switch the content item 280 to a third media content by moving the entire canvas component upwards. Based on this, embodiments of this disclosure can display or stop displaying content item 280 based on a consumption experience consistent with media content 211, thereby supporting a more immersive consumption experience.

[0087] In some embodiments, according to Figure 2J In the process 200J shown, when the search results are long (e.g., the length of content item 240 exceeds a preset height), the electronic device 110 can, in response to a search request, insert a thumbnail 281 corresponding to content item 240 into the canvas component. This thumbnail 281 can indicate a portion of the content item 240 (e.g., a portion of the search results). Furthermore, when the user 140 triggers the expansion of the thumbnail 281, the electronic device 110 can insert a third portion 280 corresponding to content item 240 into the canvas component. Thus, when the search results are long, the user 140 can flexibly choose whether to view more detailed search results, triggering the insertion of the complete content item 240 into the canvas component, thereby improving user interface interaction efficiency.

[0088] In some embodiments, according to Figure 2K The illustrated process 200K, in response to receiving a search request, allows the electronic device 110 to update the media content following content item 240 in the canvas component. For example, the electronic device 110 can insert a fourth part 291 and a fifth part 292 after the third part corresponding to content item 230 in the canvas component, such that the fourth part 291 and the fifth part 292 correspond to the media content determined based on the search request. Thus, embodiments of this disclosure can improve the quality of media content in a content stream.

[0089] To ensure the richness of the media content viewed by the user, the relevance between the media content corresponding to the fifth part 292 and the search request can be less than the relevance between the media content corresponding to the fourth part 291 and the search request. Therefore, the electronic device 110 can present media content with gradually decreasing relevance to the search request to the user 140 after presenting content item 230. As an example, such relevance can be achieved by any suitable relevance determination tool, and this disclosure is not intended to limit the specific implementation of such relevance calculation.

[0090] It should be understood that the number of contents, content size, etc. in the canvas components shown in the embodiments of this disclosure are for illustrative purposes only, and this disclosure is not intended to limit such specific numbers.

[0091] Based on this approach, embodiments of this disclosure can provide a search control while presenting first media content on the interface, allowing users to trigger searches more conveniently. Furthermore, embodiments of this disclosure can switch the interface to display content items generated based on the search request in response to a search request received via the search control, without requiring a jump to a separate search page to display search results, thereby improving the continuity between searching and presenting media content and increasing the efficiency of responding to search requests. In addition, embodiments of this disclosure can switch the interface to display second media content determined by the direction of the swipe operation in response to a received swipe operation meeting a trigger condition, thereby improving the efficiency of users continuing to view media content after a search, and thus improving the efficiency of user interface interaction.

[0092] Therefore, the embodiments of this disclosure can improve the coherence between searching and presenting media content by presenting content items generated based on search requests during the presentation of media content, thereby improving the content presentation quality of the interface, and can more conveniently switch between content items and media content by supporting swiping, thereby improving the efficiency of interface interaction.

[0093] Example process

[0094] Figure 3 A flowchart illustrating an example interface interaction process 300 according to some embodiments of the present disclosure is shown. Process 300 can be implemented at electronic device 110. Reference is made below. Figure 1 Describe the process 300.

[0095] like Figure 3 As shown in box 310, the electronic device 110 presents first media content in the interface, which includes a search control.

[0096] In box 280, in response to receiving a search request via a search control, electronic device 110 switches the interface to display content items generated based on the search request.

[0097] In box 330, electronic device 110 responds to the received swipe operation meeting the trigger condition by switching the interface to display second media content, which is determined based on the direction of the swipe operation.

[0098] In some embodiments, process 300 further includes: determining that the sliding operation meets the triggering condition in response to the sliding distance or sliding speed of the sliding operation exceeding a threshold.

[0099] In this way, the embodiments of this disclosure can support users to trigger the viewing of content items or switch to media content through different degrees of swiping operations, thereby improving the accuracy of interaction between users and the interface and improving the efficiency of interface interaction.

[0100] In some embodiments, process 300 further includes: in response to receiving a swipe operation, moving a content item in the interface based on the direction of the swipe operation; and presenting a prompt message indicating that the interface will be switched to present second media content.

[0101] In this way, embodiments of the present disclosure can move content items based on the direction of the swipe operation and present a prompt message indicating that the interface will be switched to display second media content, thereby enabling users to trigger the viewing of content items or switch to media content through different degrees of swipe operations, improving the accuracy of interaction between users and the interface.

[0102] In some embodiments, in response to a sliding operation corresponding to a first direction, the first media content is determined to be the second media content; or in response to a sliding operation corresponding to a second direction, the second media content is different from the first media content.

[0103] In this way, the embodiments of this disclosure can support users to trigger switching to different media content through swiping operations in different directions, thereby further improving the switching efficiency between content items and media content.

[0104] In some embodiments, process 300 further includes: in response to a swipe operation corresponding to a second direction, triggering the determination of second media content based on a search request.

[0105] In this way, embodiments of the present disclosure can provide second media content that is more relevant to the search request, thereby improving the quality of the second media content.

[0106] In some embodiments, process 300 further includes: in response to the presentation of first media content or second media content in the interface, presenting a set of interactive controls in the interface for interacting with the corresponding media content.

[0107] In this way, embodiments of the present disclosure can support user interaction with responsive media content when presenting first or second media content, thereby enhancing the richness of interaction with the interface.

[0108] In some embodiments, in response to receiving a search request via a search control, switching the interface to display content items generated based on the search request includes: adding the content items to a canvas component associated with the interface in response to receiving the search request; and moving the canvas component to switch the interface to display the portion of the canvas component corresponding to the content items.

[0109] In this way, the embodiments of this disclosure can realize interface switching through the canvas component, thereby improving the efficiency of interface switching, enhancing the continuity between content items and media content, and optimizing the switching effect.

[0110] In some embodiments, the interface is associated with a content stream, which includes first media content, and adding a content item to a canvas component associated with the interface includes: inserting a third part corresponding to the content item between a first part corresponding to the first media content and a second part corresponding to a third media content in the canvas component, wherein the third media content is the media content following the first media content in the content stream.

[0111] In this way, the embodiments of this disclosure can improve switching accuracy and ensure the content order of the content stream by inserting a third part corresponding to the content item between the first part corresponding to the first media content and the second part corresponding to the third media content in the canvas component, thereby further improving the accuracy of subsequent content switching.

[0112] In some embodiments, the swipe operation is a first swipe operation, and the process 300 further includes: receiving a second swipe operation, the second swipe operation corresponding to the opposite direction of the first swipe operation; and based on the second swipe operation, switching the interface to display content items or switching the interface to display fourth media content.

[0113] In this way, embodiments of the present disclosure can support users to flexibly switch between content items and media content, thereby further improving the efficiency of interface interaction.

[0114] In some embodiments, the search control is a first search control, and process 300 further includes: in response to receiving a search request, presenting a second search control associated with a content item in the interface, the second search control including a switching entry; and in response to receiving a trigger on the switching entry, switching the interface to present second media content, the second media content being different from the first media content.

[0115] In this way, the embodiments of this disclosure can enable users to trigger switching more conveniently through such a switching entry point, thereby further improving the efficiency of interface switching.

[0116] In some embodiments, process 300 further includes: reducing the display size of the content item in the interface based on the swipe operation, and presenting a portion of the second media content in the interface; and switching the interface to present the content item in response to the swipe operation not meeting the trigger condition, so as to stop presenting a portion of the second media content.

[0117] In this way, the embodiments of this disclosure can further improve the coherence between content items and second media content by reducing the display size of content items in the interface and presenting part of the second media content during the execution of the sliding operation, and can improve the accuracy of interface interaction by triggering conditions.

[0118] Figure 4 A flowchart illustrating an example interface interaction process 400 according to some embodiments of the present disclosure is shown. Process 400 can be implemented at electronic device 110. Reference is made below. Figure 1 Describe the process 400.

[0119] like Figure 4 As shown in box 410, the electronic device 110 presents the first media content in the content stream in the interface, which includes a search control.

[0120] In box 420, in response to receiving a search request via a search control, electronic device 110 switches the interface to display content items generated based on the search request.

[0121] In box 430, electronic device 110 responds to receiving a switching operation by switching the interface to display second media content in the content stream, which is added to the content stream based on a search request.

[0122] In some embodiments, switching the interface to the second media content in the presentation content stream in response to receiving a switching operation includes: receiving a swipe operation in a preset direction; and switching the interface to the second media content in the presentation content stream in response to the swipe operation satisfying a trigger condition.

[0123] In this way, embodiments of the present disclosure can more conveniently switch between content items and secondary media content by supporting swiping, thereby improving the efficiency of interface interaction.

[0124] In some embodiments, process 400 further includes: in response to receiving a swipe operation, moving a content item in the interface based on a preset direction; and presenting a prompt message indicating that the interface will be switched to present second media content.

[0125] In this way, embodiments of the present disclosure can move content items based on the direction of the swipe operation and present a prompt message indicating that the interface will be switched to display second media content, thereby enabling users to trigger the viewing of content items or switch to media content through different degrees of swipe operations, improving the accuracy of interaction between users and the interface.

[0126] In some embodiments, the search control is a first search control, and switching the interface to the second media content in the content stream in response to receiving a switching operation includes: presenting a second search control associated with a content item in the interface, the second search control including a switching entry; and switching the interface to the second media content in the content stream in response to triggering the switching entry.

[0127] In this way, embodiments of the present disclosure can enable users to more conveniently trigger switching to second media content in the content stream through such a switching entry, thereby further improving interface switching efficiency.

[0128] In some embodiments, process 400 further includes: in response to the presentation of first media content or second media content in the interface, presenting a set of interactive controls in the interface for interacting with the corresponding media content.

[0129] In this way, embodiments of the present disclosure can support user interaction with responsive media content when presenting first or second media content, thereby enhancing the richness of interaction with the interface.

[0130] In some embodiments, in response to receiving a search request via a search control, switching the interface to display content items generated based on the search request includes: adding the content items to a canvas component associated with the interface in response to receiving the search request; and moving the canvas component to switch the interface to display the portion of the canvas component corresponding to the content items.

[0131] In this way, the embodiments of this disclosure can realize interface switching through the canvas component, thereby improving the efficiency of interface switching, enhancing the continuity between content items and media content, and optimizing the switching effect.

[0132] In some embodiments, adding a content item to a canvas component associated with the interface includes inserting a third part corresponding to the content item between a first part corresponding to the first media content and a second part corresponding to the third media content in the canvas component, wherein the third media content is the media content following the first media content in the content stream.

[0133] In this way, the embodiments of this disclosure can improve switching accuracy and ensure the content order of the content stream by inserting a third part corresponding to the content item between the first part corresponding to the first media content and the second part corresponding to the third media content in the canvas component, thereby further improving the accuracy of subsequent content switching.

[0134] Example devices and equipment

[0135] Embodiments of this disclosure also provide corresponding apparatus for implementing the above methods or processes. Figure 5 A schematic structural block diagram of an example device 500 for interface interaction according to certain embodiments of the present disclosure is shown. Device 500 may be implemented as or included in electronic device 110. Various modules / components in device 500 may be implemented by hardware, software, firmware, or any combination thereof.

[0136] like Figure 5As shown, the device 500 includes a first presentation module 510 configured to present first media content in an interface, the interface including a search control; a first switching module 520 configured to switch the interface to present content items generated based on the search request in response to receiving a search request via the search control; and a second switching module 530 configured to switch the interface to present second media content in response to receiving a swipe operation that meets a trigger condition, the second media content being determined based on the direction of the swipe operation.

[0137] In some embodiments, the device 500 further includes a first determining module configured to: determine that the sliding operation meets the triggering condition in response to the sliding distance or sliding speed of the sliding operation exceeding a threshold.

[0138] In some embodiments, the device 500 further includes a first interaction module configured to: in response to receiving a swipe operation, move a content item in the interface based on the direction of the swipe operation; and present a prompt message indicating that the interface will be switched to present second media content.

[0139] In some embodiments, in response to a sliding operation corresponding to a first direction, the first media content is determined to be the second media content; or in response to a sliding operation corresponding to a second direction, the second media content is different from the first media content.

[0140] In some embodiments, the device 500 further includes a second determining module configured to: trigger the determination of second media content based on a search request in response to a sliding operation corresponding to a second direction.

[0141] In some embodiments, the device 500 further includes a third presentation module configured to: in response to the presentation of the first media content or the second media content in the interface, present a set of interactive controls in the interface for interacting with the corresponding media content.

[0142] In some embodiments, the first switching module 520 is further configured to: in response to receiving a search request, add a content item to a canvas component associated with the interface; and move the canvas component to switch the interface to display the portion of the canvas component corresponding to the content item.

[0143] In some embodiments, the interface is associated with a content stream, which includes first media content, and the first switching module 520 is further configured to insert a third part corresponding to a content item between a first part corresponding to the first media content and a second part corresponding to the third media content in the canvas component, wherein the third media content is the media content following the first media content in the content stream.

[0144] In some embodiments, the swipe operation is a first swipe operation, and the device 500 further includes a second interaction module configured to: receive a second swipe operation, the second swipe operation corresponding to the opposite direction of the first swipe operation; and based on the second swipe operation, switch the interface to display content items or switch the interface to display fourth media content.

[0145] In some embodiments, the search control is a first search control, and the device 500 further includes a third interaction module configured to: in response to receiving a search request, present a second search control associated with a content item in the interface, the second search control including a switching entry; and in response to receiving a trigger on the switching entry, switch the interface to present second media content, the second media content being different from the first media content.

[0146] In some embodiments, the device 500 further includes a fourth interaction module configured to: reduce the display size of the content item in the interface based on a swipe operation, and present a portion of the second media content in the interface; and switch the interface to present the content item in response to the swipe operation not meeting the trigger condition, so as to stop presenting a portion of the second media content.

[0147] Embodiments of this disclosure also provide corresponding apparatus for implementing the above methods or processes. Figure 6 A schematic structural block diagram of an example device 600 for user interface interaction according to certain embodiments of the present disclosure is shown. Device 600 may be implemented as or included in electronic device 110. Various modules / components in device 600 may be implemented by hardware, software, firmware, or any combination thereof.

[0148] The modules included in device 500 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to machine-executable instructions, some or all of the modules in device 500 can be implemented at least partially by one or more hardware logic components. By way of example and not limitation, exemplary types of hardware logic components that can be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASHCs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.

[0149] like Figure 6As shown, device 600 includes a second presentation module 610 configured to present first media content in a content stream in an interface, the interface including a search control; a third switching module 620 configured to switch the interface to present content items generated based on the search request in response to receiving a search request via the search control; and a fourth switching module 630 configured to switch the interface to present second media content in a content stream in response to receiving a switching operation, the second media content being added to the content stream based on the search request.

[0150] In some embodiments, the fourth switching module 630 is further configured to receive a swipe operation in a preset direction; and in response to the swipe operation meeting a trigger condition, to switch the interface to the second media content in the content stream.

[0151] In some embodiments, the device 600 further includes a fifth interaction module configured to: in response to receiving a swipe operation, move a content item in the interface based on a preset direction; and present a prompt message indicating that the interface will be switched to present second media content.

[0152] In some embodiments, the search control is a first search control, and the fourth switching module 630 is further configured to: present a second search control associated with a content item in the interface, the second search control including a switching entry; and switch the interface to present second media content in the content stream in response to triggering the switching entry.

[0153] In some embodiments, the device 600 further includes a fourth presentation module configured to: in response to the presentation of the first media content or the second media content in the interface, present a set of interactive controls in the interface for interacting with the corresponding media content.

[0154] In some embodiments, the third switching module 620 is further configured to: add a content item to a canvas component associated with the interface in response to receiving a search request; and move the canvas component to switch the interface to display the portion of the canvas component corresponding to the content item.

[0155] In some embodiments, the third switching module 620 is further configured to insert a third part corresponding to a content item between the first part corresponding to the first media content and the second part corresponding to the third media content in the canvas component, wherein the third media content is the media content following the first media content in the content stream.

[0156] The modules included in device 600 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to machine-executable instructions, some or all of the modules in device 600 can be implemented at least partially by one or more hardware logic components. By way of example, and not limitation, exemplary types of hardware logic components that can be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASHCs), application-specific standard products (ASSPs), systems-on-chips (SoCs), complex programmable logic devices (CPLDs), and so on.

[0157] Figure 7 A block diagram of an electronic device 700 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 7 The electronic device 700 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 7 The electronic device 700 shown can be used to achieve Figure 1 Electronic devices 110 Figure 5 Device 500 or Figure 6 Device 600.

[0158] like Figure 7 As shown, electronic device 700 is in the form of a general-purpose electronic device. Components of electronic device 700 may include, but are not limited to, at least one processor 710 or processing unit, memory 720, storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processor 710 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 720. In a multiprocessor system, multiple processors execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 700.

[0159] Electronic device 700 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 720 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 730 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 700.

[0160] Electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 7 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 720 may include computer program product 725 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.

[0161] The communication unit 740 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 700 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 700 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.

[0162] Input device 750 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 760 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 700 can also communicate with one or more external devices (not shown) via communication unit 740 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 700, or with any device that enables electronic device 700 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).

[0163] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.

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

[0165] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

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

[0167] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0168] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A method for interface interaction, comprising: The interface presents the first media content, and the interface includes a search control; In response to receiving a search request via the search control, the interface is switched to display content items generated based on the search request; as well as In response to a received swipe operation satisfying a trigger condition, the interface is switched to display second media content, which is determined based on the direction of the swipe operation.

2. The method according to claim 1, further comprising: In response to the sliding distance or sliding speed of the sliding operation exceeding a threshold, it is determined that the sliding operation meets the triggering condition.

3. The method according to claim 1, further comprising: In response to receiving the swipe operation, the content item is moved in the interface based on the direction of the swipe operation; as well as A prompt message is displayed, indicating that the interface will be switched to display the second media content.

4. The method according to claim 1, wherein: In response to the sliding operation corresponding to a first direction, the first media content is determined to be the second media content; or In response to the sliding operation corresponding to a second direction, the second media content is different from the first media content.

5. The method according to claim 4, further comprising: In response to the swipe operation corresponding to the second direction, the second media content is determined based on the search request.

6. The method according to claim 1, further comprising: In response to the presentation of the first media content or the second media content in the interface, a set of interactive controls for interacting with the corresponding media content is presented in the interface.

7. The method of claim 1, wherein switching the interface to display content items generated based on the search request in response to receiving a search request via the search control comprises: In response to receiving the search request, the content item is added to the canvas component associated with the interface; as well as Move the canvas component to switch the interface to display the portion of the canvas component corresponding to the content item.

8. The method of claim 7, wherein the interface is associated with a content stream, the content stream including the first media content, and adding the content item to a canvas component associated with the interface comprises: In the canvas component, between the first part corresponding to the first media content and the second part corresponding to the third media content, a third part corresponding to the content item is inserted, wherein the third media content is the media content following the first media content in the content stream.

9. The method according to claim 1, wherein the sliding operation is a first sliding operation, and the method further comprises: Receive a second sliding operation, the second sliding operation corresponding to the opposite direction of the first sliding operation; as well as Based on the second swipe operation, the interface is switched to display the content item or the interface is switched to display the fourth media content.

10. The method according to claim 1, wherein the search control is a first search control, and the method further comprises: In response to receiving the search request, a second search control associated with the content item is presented on the interface, the second search control including a toggle entry; as well as In response to receiving a trigger on the switching entry, the interface is switched to display the second media content, which is different from the first media content.

11. The method according to claim 1, further comprising: Based on the sliding operation, the display size of the content item in the interface is reduced, and a portion of the second media content is presented in the interface; as well as In response to the swiping operation not meeting the triggering condition, the interface is switched to display the content item to stop displaying the portion of the second media content.

12. A method for interface interaction, comprising: The interface presents the first media content in the content stream, and the interface includes a search control. In response to receiving a search request via the search control, the interface is switched to display content items generated based on the search request; as well as In response to receiving a switching operation, the interface is switched to display second media content in the content stream, which was added to the content stream based on the search request.

13. The method of claim 12, wherein switching the interface to display second media content in the content stream in response to receiving a switching operation comprises: Receives swipe gestures in a preset direction; as well as In response to the sliding operation meeting the trigger condition, the interface is switched to display the second media content in the content stream.

14. The method of claim 13, further comprising: In response to receiving the swipe operation, the content item is moved in the interface based on the preset direction; as well as A prompt message is displayed, indicating that the interface will be switched to display the second media content.

15. The method of claim 12, wherein the search control is a first search control, and switching the interface to display second media content in the content stream in response to receiving a switching operation comprises: The interface presents a second search control associated with the content item, the second search control including a toggle entry; as well as In response to the triggering of the switching entry, the interface is switched to display the second media content in the content stream.

16. The method of claim 12, further comprising: In response to the presentation of the first media content or the second media content in the interface, a set of interactive controls for interacting with the corresponding media content is presented in the interface.

17. The method of claim 12, wherein switching the interface to display content items generated based on the search request in response to receiving a search request via the search control comprises: In response to receiving the search request, the content item is added to the canvas component associated with the interface; as well as Move the canvas component to switch the interface to display the portion of the canvas component corresponding to the content item.

18. The method of claim 17, wherein adding the content item to the canvas component associated with the interface comprises: In the canvas component, between the first part corresponding to the first media content and the second part corresponding to the third media content, a third part corresponding to the content item is inserted, wherein the third media content is the media content following the first media content in the content stream.

19. A device for interface interaction, comprising: A first presentation module is configured to present first media content in an interface, the interface including a search control; The first switching module is configured to switch the interface to display content items generated based on the search request in response to receiving a search request via the search control; as well as The second switching module is configured to switch the interface to display second media content in response to a received swipe operation meeting a trigger condition. The second media content is determined based on the direction of the swipe operation.

20. A device for user interface interaction, comprising: The second presentation module is configured to present the first media content in the content stream in an interface, the interface including a search control; The third switching module is configured to switch the interface to display content items generated based on the search request in response to receiving a search request via the search control; as well as The fourth switching module is configured to switch the interface to display second media content in the content stream in response to receiving a switching operation. The second media content is added to the content stream based on the search request.

21. An electronic device, comprising: At least one processor; as well as At least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions causing the electronic device to perform the method according to any one of claims 1 to 11 or 12 to 18 when executed by the at least one processor.

22. A computer-readable storage medium having stored thereon computer-executable instructions that can be executed by a processor to implement the method according to any one of claims 1 to 11 or 12 to 18.

23. A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1 to 11 or 12 to 18.