Interaction method and device, equipment and storage medium
By flexibly adjusting the response strategy of input panel and interface elements in the interactive interface, the error operation problem caused by input panel management is solved, the accuracy and efficiency of interaction is improved, and information transmission is optimized.
Patent Information
- Application Number
- CN202510512560.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-22
- Publication Date
- 2025-07-25
AI Technical Summary
In the prior art, the management method of the input panel is prone to erroneous operations, affecting the accuracy and efficiency of interaction.
By presenting the input panel in the first area of the interactive interface and stoping the presentation panel in response to interaction operations outside the second area, the response mode of the interface element is determined according to the type of interaction operations, and the response strategy of the interface element is flexibly adjusted.
It improves the accuracy and efficiency of interaction, avoids misoperation, makes full use of the display space of the interactive interface, and improves information transmission efficiency.
Smart Images

Figure CN120371171A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and particularly to an interaction method, apparatus, device, and computer-readable storage medium. Background Art
[0002] With the development of computer technology, various forms of electronic devices can greatly enrich people's daily lives. For example, people can use electronic devices for various interactions. How to improve the accuracy and efficiency of interactions is a focus issue. Summary of the Invention
[0003] In a first aspect of the present disclosure, an interaction method is provided. The method includes: presenting an input panel in a first area of an interaction interface in response to a trigger of an input control in the interaction interface; stopping presenting the input panel in response to receiving an interaction operation associated with a second area in the interaction interface, where the second area is located outside the first area; and determining a response mode associated with the second area based on the type of the interaction operation, the response mode indicating whether interface elements in the second area respond to the interaction operation.
[0004] In a second aspect of the present disclosure, an apparatus for interaction is provided. The apparatus includes: a presenting module configured to present an input panel in a first area of an interaction interface in response to a trigger of an input control in the interaction interface; a stopping module configured to stop presenting the input panel in response to receiving an interaction operation associated with a second area in the interaction interface, where the second area is located outside the first area; and a determining module configured to determine a response mode associated with the second area based on the type of the interaction operation, the response mode indicating whether interface elements in the second area respond to the interaction operation.
[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 being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. The instructions, when executed by the at least one processing unit, cause the device to perform the method of the first aspect.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided. 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 content described in this content part is not intended to limit the key features or important features of the embodiments of the present disclosure, nor is it used 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] In conjunction with the accompanying drawings and with reference to the following detailed description, the above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent. In the drawings, the same or similar reference numerals denote the same or similar elements, where:
[0009] Figure 1 A schematic diagram of an example environment in which embodiments of the present disclosure can be implemented is shown;
[0010] Figures 2A - 2G An example interface diagram according to some embodiments of the present disclosure is shown;
[0011] Figure 3 A flowchart of an interaction process according to some embodiments of the present disclosure is shown;
[0012] Figure 4 A schematic structural block diagram of a device for interaction according to certain embodiments of the present disclosure is shown;
[0013] Figure 5 A block diagram of an electronic device capable of implementing multiple embodiments of the present disclosure is shown. Detailed Embodiments
[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 drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only 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 document, and any type of embodiment can be included under any section / subsection. Additionally, the embodiments described in any section / subsection can be combined with any other embodiments described in the same section / subsection and / or different sections / subsections in any manner.
[0016] In the description of the embodiments of the present disclosure, the term "including" and its like shall be understood as an open inclusion, that is, "including but not limited to". The term "based on" shall be understood as "at least partially based on". The term "one embodiment" or "the embodiment" shall be understood as "at least one embodiment". The term "some embodiments" shall be understood as "at least some embodiments". There may also be other explicit and implicit definitions hereinafter. The terms "first", "second", etc. may refer to different or the same objects. There may also be other explicit and implicit definitions hereinafter.
[0017] Embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. All these aspects comply with the corresponding laws, regulations and related provisions. In the embodiments of the present disclosure, the collection, acquisition, processing, processing, forwarding, use, etc. of all data are carried out on the premise that the user is aware and has confirmed. Accordingly, when implementing the embodiments of the present disclosure, the types, usage scopes, usage scenarios, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained through appropriate means according to relevant laws and regulations. The specific notification and / or authorization methods may vary according to the actual situation and application scenarios, and the scope of the present disclosure is not limited in this regard.
[0018] In the solutions described 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 personal information subject, or being necessary for performing a contract, etc.), and will only be processed within the specified or agreed scope. If the user refuses to process personal information other than the necessary information required for the basic functions, it will not affect the user's use of the basic functions.
[0019] Traditionally, the input panel is generally located on the upper layer of the canvas presenting interface elements. For example, in a traditional solution, when responding to any interaction operation on the canvas of the interface elements, only the input panel is stopped from being presented, without triggering the response of the interface elements. In another traditional solution, when responding to a predetermined interaction operation on the canvas of the interface elements, the response of the interface elements can be directly triggered, but at this time, the user may just want to stop presenting the input panel and does not want to trigger the response of the interface elements.
[0020] Embodiments of the present disclosure propose an interaction solution. According to this solution, in response to the triggering of an input control in the interaction interface, an input panel is presented in a first area of the interaction interface; in response to receiving an interaction operation associated with a second area in the interaction interface, the presentation of the input panel is stopped, where the second area is located outside the first area; and based on the type of the interaction operation, a response mode associated with the second area is determined, and the response mode indicates whether the interface elements in the second area respond to the interaction operation.
[0021] Based on such a method, the embodiments of the present disclosure can flexibly adjust the response strategy of the interface elements in the second area based on different types of interaction operations, avoiding the problem of misoperation and improving the accuracy and efficiency of interaction.
[0022] Example environment
[0023] Figure 1 FIG. shows a schematic diagram of an exemplary environment 100 in which embodiments of the present disclosure can be implemented. As Figure 1 shown, the exemplary environment 100 may include an electronic device 110.
[0024] In this example environment 100, the electronic device 110 can run an application 120 that supports interface interaction. The application 120 can be any suitable type of application for interface interaction, and its examples can include but are not limited to: video applications, game applications, social applications, or other suitable applications.
[0025] In Figure 1 environment 100, if the application 120 is active, the application 120 can provide a presentation interaction interface 150 for the user 140.
[0026] In some embodiments, the electronic device 110 communicates with the server 130 to implement the supply of services for the application 120. The electronic device 110 can be any type of device with a display device such as a mobile terminal, a fixed terminal, or a portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable game terminals, VR / AR devices, Personal Communication System (PCS) devices, personal navigation devices, Personal Digital Assistant (PDA), audio / video players, digital cameras / cameras, positioning devices, television receivers, radio broadcast receivers, e-book devices, game devices, 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 target user (such as a "wearable" circuit, etc.).
[0027] The server 130 can 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 delivery networks, and big data and artificial intelligence platforms. The server 130 can include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and so on. The server 130 can provide background services for the application 120 that supports interface interaction in the electronic device 110.
[0028] A communication connection can be established between server 130 and electronic device 110. The communication connection can be established by wired or wireless means. The communication connection can 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. Embodiments of the present disclosure are not limited in this regard. In an embodiment of the present disclosure, server 130 and electronic device 110 can implement signaling interaction through the communication connection therebetween.
[0029] It should be understood that the structures and functions of the various elements in environment 100 are described only for exemplary purposes, without implying any limitation to the scope of the present disclosure.
[0030] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0031] Example process
[0032] The following will refer to Figures 2A - 2F to describe an example interaction process according to an embodiment of the present disclosure. Figures 2A through 2G Example interaction interfaces 200A to 200G according to some embodiments of the present disclosure are shown. Interaction interfaces 200A to 200G can be provided, for example, by Figure 1 the electronic device 110 shown.
[0033] In some embodiments, electronic device 110 can present interaction interface 200A as shown in Figure 2A . In some embodiments, interaction interface 200A can be any suitable interface for presenting information, such as a session interface with a virtual object, or a search interface, etc.
[0034] In some embodiments, a user can input a request or information in any suitable form such as text form, voice form, or video form, etc. in interaction interface 200A. Further, the electronic device can provide a content response associated with the request or information in interaction interface 200A. The form corresponding to the content response can include text form, audio form, image form, video form, or card form, etc.
[0035] Taking Figure 2A as an example, electronic device 110 can present an information display area 211 and an input control 210 in interaction interface 200A. This input control 210 can be used to support a user in inputting information or a request. Input control 210 can support a user in inputting any suitable type of information or request. For example, the information or request can correspond to a text type, a voice type, an image type, etc., which will not be elaborated herein.
[0036] In some embodiments, the information display area 211 can be used for content responses generated for user input information, etc., and can also present user input information or requests, etc.
[0037] As an example, the information display area 211 can be configured to present any suitable interface elements, such as text, links, images, etc.
[0038] As another example, the information display area can also be configured to present a media content stream. For example, the electronic device 110 can, based on the user's input information, present the media content stream associated with the input information in the information display area. Such a media content stream can include multiple media contents published by multiple users of the current application platform. The user can also interact with these multiple users based on the media content, such as liking, commenting on, or sharing the media content of a certain user.
[0039] In some embodiments, the media content stream can include multiple media contents, and these multiple media contents can be of any suitable type, such as videos, graphics and texts, audio, etc., which will not be elaborated here. For example, if the input information is "Please help me see what's delicious in place A", then this media content stream can include some recommended cards associated with the food in place A, and these recommended cards display multiple media contents in the form of cards.
[0040] Since the number of media contents that can be presented on the interface at one time is limited, the electronic device 110 can present each media content in the media content stream to the user in a linear or dynamic manner. Specifically, each media content in the media content stream can be arranged and presented in the interaction interface according to a predetermined rule (such as chronological order, recommendation algorithm, etc.) to be shown to the user. The user can, based on content switching operations, such as swiping up and down, to switch between each media content in the media content stream. As an example, the electronic device 110 can present one media content or multiple media contents in the media content stream on the interaction interface each time.
[0041] In order to present more media contents and improve the information transmission efficiency, if multiple media contents in the media content stream can be presented on the interaction interface simultaneously, the electronic device 110 can arrange these multiple media contents in a predetermined arrangement on the interface, such as arranging two media contents in parallel in each row or arranging two media contents in a staggered row, etc.
[0042] It should be noted that the number of media contents that can be presented on the interaction interface in each media content stream, as well as the arrangement manner of the media contents, can be set according to requirements, and the present disclosure does not limit this. In addition, the content response generated for the input information can be other any appropriate type of information in addition to the media content stream, such as static text information, limited media content, and so on.
[0043] Taking Figure 2A as an example, the electronic device 110 can present the media content 201, the media content 202, the media content 203, and the media content 204 in the information display area 211 of the interaction interface 200A. When the user swipes up any appropriate position of the information display area 211, the electronic device 110 can present other media contents whose display order is after the media content 203 and the media content 204 on the interaction interface. Since other media contents need to occupy a certain presentation space in the interaction interface 200A, when presenting other media contents on the interaction interface 200A, the electronic device 110 can also hide some contents corresponding to the media content 201 and the media content 202 or stop presenting the media content 201 and the media content 202.
[0044] It should be noted that the presentation situation (such as the presentation position, etc.) of the interface elements corresponding to each media content in the interaction interface can be determined according to the interaction operation itself, for example, it can be associated with the sliding direction, sliding speed, and sliding distance corresponding to the interaction operation.
[0045] Taking Figure 2A as an example, the electronic device 110 can, in response to any one of the multiple media contents presented in the interaction interface 200A being selected, present an associated interface corresponding to the selected media content, such as a detail interface corresponding to a predetermined object, a playback interface corresponding to the media content, and so on. As an example, if the media content is a video corresponding to Food B, the associated interface can be a detail interface corresponding to Food B.
[0046] Taking Figure 2A as an example, if the user clicks any appropriate position of the media content 203, at this time, the electronic device 110 can receive the selection of the media content 203. Further, the electronic device 110 can, in response to receiving the selection of the media content 203, jump to the detail interface corresponding to the media content 203.
[0047] Taking Figure 2A as an example, the electronic device 110 can, in response to the triggering of the input control 210 in the interface 200A (such as the user clicking on the input box in the input control 210), present the interaction interface 200B as Figure 2B shown.
[0048] Taking Figure 2B Figure 2B As an example, the electronic device 110 can present an input panel 220 in the interaction interface 200B. The input panel 220 is used to support the user to input information based on the input panel. The input panel 220 can be presented in any appropriate area of the interface, such as the lower area (the first area) of the interface.
[0049] In some embodiments, the electronic device 110 can present the input panel by expanding the input control in a preset direction. The preset direction can be any appropriate direction. Taking Figure 2B Figure 2B As an example, the preset direction can be the direction from bottom to top, that is, the direction from the lower area presenting the input panel 220 to the upper area presenting the media content (not shown in the figure, and this upper area is also the second area). During the expansion of the input control, an electronic keyboard can also be presented in the input panel to support the user to input information into the input box in the input panel 220 by triggering the keys on the electronic keyboard.
[0050] Since the input panel 220 occupies a predetermined content space in the interaction interface, the electronic device 110 can adjust the display positions of the various media contents in the interaction interface 200A to free up more space to present the input panel 220.
[0051] Taking Figure 2A and Figure 2B Figure 2B As an example, the electronic device 110 can present the media content 203, the media content 204, a part of the media content 201, and a part of the media content 202 in the upper area of the interaction interface 200B. Compared with presenting the media content 201, the media content 202, the media content 203, and the media content 204 in the interaction interface 200A, it ensures that the content space occupied by this part of the media content in the media content stream is reduced, providing a certain content space for the display of the input panel. The upper area can be Figure 2A the sub-region corresponding to the information display area 211 shown, or the upper area can have a predetermined intersection area with the information display area.
[0052] In some embodiments, when the input control 210 is triggered, the part of the media content presented by the electronic device 110 in the interaction interface can be determined based on the content currently displayed in the information display area in the media content stream. For example, the part of the media content presented after triggering the input control can be the part corresponding to the movement of multiple media contents in the media content stream presented by the interaction interface before triggering the input control in a predetermined direction on the interaction interface. Taking Figure 2A and Figure 2BAs an example, before the input control is triggered, the content currently displayed in the information display area 211 of the interactive interface 200A includes media content 201, media content 202, media content 203, and media content 204. After the input control is triggered, the portions of media content 201, media content 202, media content 203, and media content 204 in the media content stream presented by the interactive interface 200B correspond to the media content presented in the interactive interface after media content 201, media content 202, media content 203, and media content 204 are moved upward by a predetermined distance.
[0053] In some embodiments, the electronic device 110 can respond to the triggering of the input control 210 and present the change in the display position of the media content presented in the interactive interface with a predetermined dynamic effect. For example, the electronic device 110 can present this change by indicating the dynamic effect of media content 201, media content 202, media content 203, and media content 204 moving upward, that is, it can present the dynamic effect of media content 201, media content 202, media content 203, and media content 204 being pushed upward.
[0054] In some embodiments, the electronic device 110 can present the input panel 220 in the lower area of the canvas component corresponding to the information display area 211. Specifically, the input panel can be embedded in a canvas component presented together with a part of the media content presented in the upper area. For example, Figure 2B As an example, a part of media content 201, a part of media content 202, media content 203, and media content 204 are presented in the same canvas component as the input panel 220.
[0055] In some embodiments, the canvas component is an interface element that can be used to display and edit various types of content, such as an input panel for editing text, and can also display this part of the media content. The canvas component corresponds to an interactive area where the user is allowed to perform any appropriate operations thereon, such as drawing, editing, selecting, dragging, etc.
[0056] It should be noted that in addition to being embedded in the canvas component corresponding to the information display area 211, the input panel 220 can also be superimposed on the canvas component corresponding to the information display area 211 in the form of other independent windows, such as being superimposed on the canvas component in the form of a floating window, etc., which will not be elaborated here.
[0057] For Figure 2BAs an example, the user can trigger the upper region in the predetermined tool trigger interface. The predetermined tool can be a finger, a stylus, etc. At this time, the electronic device 110 can receive an interaction operation associated with the upper region in the interface. The interaction operation can correspond to any appropriate type, such as the interaction can be a click operation, a swipe operation, etc.
[0058] Furthermore, the electronic device 110 can determine a response mode associated with the upper region based on the type of the interaction operation. When the types of the interaction operations are different, the response modes may also be different. In some embodiments, the response mode can indicate whether the interface elements in the upper region respond to the interaction operation.
[0059] As an example, the electronic device 110 can determine a first response mode associated with the upper region in response to the interaction operation being of a first type. The first response mode indicates that the interface elements in the upper region do not respond to the interaction operation. The first type can be any appropriate type, such as a click type, that is, when the user clicks on any position in the upper region, the interface elements included in the upper region do not respond to the click operation.
[0060] In some embodiments, the click operation can be associated with any appropriate position in the upper region. Figure 2B As an example, the click position corresponding to the click operation can be the position where any appropriate media content among the media content 201, media content 202, media content 203, and media content 204 presented in the upper region is located (such as the position 211-1 on the media content 203), or can also be the position where non-media content is located (such as the position 211-2), etc.
[0061] As Figure 2B As an example, if the user clicks on the position 211-1 of the media content 203, at this time, the electronic device 110 can stop presenting the input panel 220 in the interaction interface in response to receiving the click operation on the media content 203.
[0062] In addition, the electronic device 110 can determine that the interface elements in the upper region do not respond to the interaction operation in response to the interaction type being a click type. Figure 2A As an example, before the input control 210 is triggered, the electronic device 110 can receive the selection of the media content 203 (such as the user clicks on the media content 203) and jump to the detail interface corresponding to the media content 203, that is, at this time, in response to the interaction operation of the media content 203 being selected. Figure 2CAs an example, in response to receiving a selection of media content 203, the electronic device 110 may present an interactive interface 200C, which is also used to present multiple media contents in the media content stream (including media content 203), without jumping to the details interface corresponding to the presentation of media content 203, that is, there is no interactive operation in response to the selection of media content 203 at this time.
[0063] To make full use of the display space of the interactive interface and improve the efficiency of information transmission, the electronic device 110 may adjust the display positions of a part of media content 201, a part of media content 202, media content 203, and media content 204 (corresponding to the first interface element) in the interactive interface while stopping the presentation of the input panel 220.
[0064] For Figure 2B As an example, before receiving a click operation on the upper area, the first boundary corresponding to a part of media content 201, a part of media content 202, media content 203, and media content 204 corresponds to the boundary 240-1 of the upper area. The first boundary may be the lower boundary of the media content with the lowest display position among a part of media content 201, a part of media content 202, media content 203, and media content 204. Specifically, the first boundary may be parallel to the boundary 240-1 and the distance is less than a predetermined threshold (for example, overlapping).
[0065] For Figure 2C As an example, the first boundary corresponding to media content 201, media content 202, media content 203, and media content 204 corresponds to the boundary 240-2 of the lower area. Specifically, the first boundary may be parallel to the boundary 240-2 and the distance is less than a predetermined threshold (for example, overlapping), that is, when receiving a click operation on the upper area, the electronic device 110 may move media content 201, media content 202, media content 203, and media content 204 downward by a predetermined distance so that the lower boundary of media content 204 is adjusted from overlapping with the boundary 240-1 to overlapping with the boundary 240-2.
[0066] In some embodiments, the electronic device 110 may, in response to receiving a click operation on the upper area, present the change in the display positions of the multiple media contents corresponding to media content 201, media content 202, media content 203, and media content 204 with a predetermined dynamic effect. For example, the electronic device 110 may present the change through a dynamic effect indicating that media content 201, media content 202, media content 203, and media content 204 move downward, that is, it may present a dynamic effect of media content 201, media content 202, media content 203, and media content 204 falling downward.
[0067] It should be noted that during the process of the media content 201 and the media content 202 falling downward, more and more visual elements corresponding to the media content 201 and partial visual elements corresponding to the media content 202 are presented in the interaction interface. After the media content 201, the media content 202, the media content 203, and the media content 204 finish falling downward, the complete visual elements corresponding to the media content 201 and the media content 202 can be presented in the interaction interface 200C. At this time, the content presented in the interaction interface 200C is the same as the content presented in the interaction interface 200A, that is, it returns to the display form before the input control 210 is triggered.
[0068] In some embodiments, the electronic device 110 may determine a second response mode associated with the upper region in response to the type of the interaction operation being the second type, and the second response mode indicates that the interface elements in the upper region respond to the interaction operation. The second type may be any suitable type, such as a sliding type. Specifically, the user may slide at any suitable position in the upper region in any suitable direction, and the sliding direction may be upward sliding, downward sliding, etc.
[0069] For Figure 2B example, the electronic device 110 may stop presenting the input panel 220 in response to receiving an upward sliding operation associated with the upper region in the interaction interface 200B.
[0070] To make full use of the display space of the interaction interface and improve the efficiency of information transmission, the electronic device 110 may adjust the display positions of the interface elements in the upper region based on the interaction operation of sliding the upper region upward. Specifically, the adjustment of the display positions in the upper region is associated with the sliding direction, sliding speed (such as acceleration, speed), sliding distance, etc. corresponding to the sliding operation.
[0071] For Figure 2D example, the electronic device 110 may present the interaction interface 200D in response to receiving an upward sliding operation associated with the upper region in the interface 200B. Compared with the display positions of the interface elements corresponding to the media content 201, the media content 202, the media content 203, and the media content 204 in the interaction interface 200B, the display positions corresponding to these interface elements in the interaction interface 200D are lower.
[0072] In addition, the electronic device 110 may also present second interface elements associated with at least one interface element in the upper region in the lower region based on the interaction operation of sliding the upper region upward.
[0073] For Figure 2DAs an example, at least one interface element in the upper region corresponds to a set of media content in the media content stream, such as media content 203 and media content 204, and the second interface element corresponds to at least one subsequent media content of the set of media content in the media content stream. For example, the electronic device 110 may present interface elements corresponding to media content 205 and media content 206 in the interactive interface 200D. Media content 205 and media content 206 correspond to the subsequent media content of the media content corresponding to media content 203 and media content 204, and the subsequent media content is the media content whose display order is after media content 203 and media content 204.
[0074] Back Figure 2B , the user may input a request 230 based on the virtual keyboard in the input panel 220. At this time, the electronic device 110 may receive the request 230. Specifically, the electronic device 110 may present an interface 200E as shown in Figure 2E . The electronic device 110 may present the request 230 in the text input box in the interface 200E.
[0075] Furthermore, the electronic device 110 may receive the request 230 in response to the selection of the send control 231. Further, the electronic device 110 may generate a response content 240 for the query request 230 based on the request 230. The response content 240 may be any appropriate content, which may include text content and may also include a media content stream associated with the request 230. The media content stream associated with the request 230 may include media content 222, media content 223, media content 224, and media content 225 as shown in Figure 2F . Since the content that can be presented in the interactive interface 200F is limited, the media content stream may include other media content in addition to media content 222, media content 223, media content 224, and media content 225. The electronic device 110 may adjust the media content presented in the interface 200F in response to receiving a predetermined operation (such as a up and down sliding operation) on the media content stream.
[0076] Taking Figure 2F as an example, the electronic device may present an interactive interface 200G as shown in Figure 2G in response to receiving a up sliding operation on the media content stream presented in the interactive interface. In some embodiments, in addition to presenting media content 222, media content 223, media content 224, and media content 225 shown in the interface 200F, the interactive interface 200G may also present media content 226 and media content 227. The media content 226 and media content 227 may be the media content whose display order is after media content 224 and media content 225.
[0077] Since the number of interface elements that can be presented in the interface is limited, as an example, the electronic device 110 can adjust the display positions of the interface elements on the interaction interface 200F in a predetermined direction to ensure that there is more space in the interaction interface to present the media content 226 and the media content 227. Specifically, the electronic device can move each interface element in the interface 200F upward to adjust the display positions of the interface elements, so as to ensure that the media content 226 and the media content 227 can be presented on the interaction interface.
[0078] In some embodiments, the electronic device can also present an indication element associated with the media content in the interaction interface 200G. In some embodiments, such an indication element can, for example, indicate the information or request input by the user. For example, the electronic device can present the indication element "Where is Lake A" in the interaction interface 200G to indicate that the media content 222, the media content 223, the media content 224, the media content 225, the media content 226, and the media content 227 presented in the interaction interface 200G are the media content recommended for the user input information or request "Where is Lake A".
[0079] In order to display more response content 240 and improve the information transmission efficiency, the electronic device 110 can also adjust the display positions of the interface elements in the upper region in a predetermined direction. Specifically, the corresponding display positions of the interface elements in the upper region after adjustment are higher than the corresponding display positions of the interface elements in the upper region before adjustment.
[0080] Since the number of interface elements that can be presented in the interface is limited, as an example, when the electronic device 110 adjusts the display positions of the interface elements in the upper region in a predetermined direction, the electronic device 110 can stop presenting some of the interface elements in the upper region to ensure that there are more controls in the interaction interface to present the response content 240.
[0081] For Figure 2F With Figure 2B As an example, the electronic device 110 presents the interface elements corresponding to a part of the media content 201, a part of the media content 202, the media content 203, and the media content 204 in the interaction interface 200B, while the electronic device 110 only presents the interface elements corresponding to a part of the media content 203 and a part of the media content 204 in the interaction interface 200F.
[0082] Based on this manner, the embodiments of the present disclosure can flexibly adjust the response strategies of the interface elements in the second region based on different types of interaction operations, avoiding the problem of misoperation and improving the accuracy and efficiency of interaction.
[0083] Example process
[0084] Figure 3 Shows a flowchart of an interaction process 300 according to some embodiments of the present disclosure. The process 300 may be implemented at the electronic device 110. The following refers to Figure 1 Describe the process 300.
[0085] At block 310, in response to a trigger of an input control in the interaction interface, the electronic device 110 presents an input panel in a first area of the interaction interface.
[0086] At block 320, in response to receiving an interaction operation associated with a second area in the interaction interface, the electronic device 110 stops presenting the input panel, where the second area is located outside the first area.
[0087] At block 330, the electronic device 110 determines a response mode associated with the second area based on the type of the interaction operation, and the response mode indicates whether the interface elements in the second area respond to the interaction operation.
[0088] Based on this manner, embodiments of the present disclosure can flexibly adjust the response strategy of the interface elements in the second area based on different types of interaction operations, avoiding the problem of misoperation and improving the accuracy and efficiency of interaction.
[0089] In some embodiments, determining a response mode associated with the second area based on the type of the interaction operation includes: in response to the interaction operation being of a first type, determining a first response mode associated with the second area, where the first response mode indicates that the interface elements in the second area do not respond to the interaction operation.
[0090] Based on this manner, embodiments of the present disclosure can only cancel the input panel when the interaction operation is of the first type, rather than triggering other functions, which can effectively reduce misoperation caused by unclear operation types and improve the accuracy of interaction.
[0091] In some embodiments, before receiving the interaction operation, the process 300 further includes:
[0092] Displaying a first interface element in the second area, where a first boundary of the first interface element corresponds to a second boundary of the second area.
[0093] Based on this manner, embodiments of the present disclosure can ensure the alignment of the first interface element with the boundary of the second area, making the interface layout more compact, effectively reducing the blank area in the interface, improving the space utilization rate, and improving the information transmission efficiency.
[0094] In some embodiments, process 300 further includes: in response to receiving an interaction operation, adjusting the display position of a first interface element such that a first boundary of the first interface element corresponds to a third boundary of a first region.
[0095] Based on this manner, embodiments of the present disclosure can ensure that when the input panel stops presenting, there can be more space on the interaction interface to present other interface elements, improving the efficiency of information transmission.
[0096] In some embodiments, the first type corresponds to a click operation.
[0097] Based on this manner, embodiments of the present disclosure can set the interface elements in the second region not to respond to the interaction operation when corresponding to a click operation, improving the accuracy of the interaction.
[0098] In some embodiments, determining a response mode associated with a second region based on the type of the interaction operation includes: in response to the type of the interaction operation being a second type, determining a second response mode associated with the second region, where the second response mode indicates that the interface elements in the second region respond to the interaction operation.
[0099] Based on this manner, embodiments of the present disclosure can cancel the presentation of the input panel and trigger other functions when the interaction operation is of the second type, effectively reducing misoperations caused by unclear operation types and improving the efficiency of the interaction.
[0100] In some embodiments, process 300 further includes: based on the interaction operation, adjusting the display position of the interface elements in the second region.
[0101] Based on this manner, embodiments of the present disclosure can respond to the interaction operation by adjusting the display positions corresponding to the interface elements, ensuring timely feedback of the response and improving the efficiency of the interaction.
[0102] In some embodiments, process 300 further includes: in response to receiving an interaction operation, presenting a second interface element associated with at least one of the interface elements in the second region in the first region.
[0103] Based on this manner, embodiments of the present disclosure can present a second interface element associated with at least one of these interface elements, improving the efficiency of information transmission.
[0104] In some embodiments, at least one of the interface elements corresponds to a group of media content in a media content stream, and the second interface element corresponds to at least one subsequent media content of the group of media content in the media content stream.
[0105] Based on this manner, embodiments of the present disclosure can improve the efficiency of information transmission by presenting subsequent media content.
[0106] In some embodiments, the second type corresponds to a sliding operation.
[0107] Based on this manner, embodiments of the present disclosure can set the interface elements in the second area to respond to interaction operations when corresponding to the sliding operation, improving the accuracy of interaction.
[0108] In some embodiments, before presenting the input panel in the first area of the interaction interface, process 300 further includes: presenting the interaction interface, the interaction interface including an information display area and an input control, the information display area being configured to present a media content stream.
[0109] Based on this manner, embodiments of the present disclosure can present the media content stream through the information display area, and the input control is used to trigger an input operation. This clear layout enables the user to quickly find the required functions, reduces the complexity of operations, and improves the efficiency of interaction.
[0110] In some embodiments, process 300 further includes: in response to the triggering of the input control, presenting a part of the media content in the media content stream in the second area of the interaction interface.
[0111] Based on this manner, embodiments of the present disclosure can present a part of the media content, so that there is more free space in the interaction interface to present the input panel, improving the utilization rate of space. In addition, presenting this part of the media content in the interaction interface instead of directly canceling the presentation of all media content can ensure a natural transition of the interaction.
[0112] In some embodiments, the part of the media content is determined based on the content currently displayed in the information display area of the media content stream.
[0113] Based on this manner, embodiments of the present disclosure can determine which part of the media content to present based on the content currently displayed in the information display area, effectively ensuring a natural transition of the interaction.
[0114] In some embodiments, presenting the input panel in the first area of the interaction interface includes: presenting the input panel in the first area of the canvas component corresponding to the information display area.
[0115] Based on this manner, embodiments of the present disclosure can present the input panel and the media content in the same canvas, ensuring that the user can directly perform input operations based on the input drawing board while browsing the media content. This positional relevance can ensure that the user can interact more intuitively, reducing the visual and operation costs of the user switching between different areas and improving the efficiency of interaction.
[0116] In some embodiments, presenting an input panel in a first region of an interaction interface includes presenting the input panel by expanding an input control in a preset direction.
[0117] Based on such a manner, embodiments of the present disclosure can present an input panel by expanding an input control in a preset direction. This positional relevance enables users to more intuitively understand the relationship between input operations and input controls, so that users can input more conveniently and the efficiency of interaction is improved.
[0118] Example apparatus and equipment
[0119] Embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 4 FIG. shows a schematic structural block diagram of a device 400 for interaction according to some embodiments of the present disclosure. The device 400 can be implemented as or included in the electronic device 110 discussed above. Each module / component in the device 400 can be implemented by hardware, software, firmware, or any combination thereof.
[0120] As Figure 4 shown, the device 400 includes a presenting module 410 configured to present an input panel in a first region of the interaction interface in response to a trigger of an input control in the interaction interface; a stopping module 420 configured to stop presenting the input panel in response to receiving an interaction operation associated with a second region in the interaction interface, where the second region is located outside the first region; and a determining module 430 configured to determine a response mode associated with the second region based on the type of the interaction operation, where the response mode indicates whether interface elements in the second region respond to the interaction operation.
[0121] In some embodiments, the determining module 430 is further configured to: in response to the interaction operation being of a first type, determine a first response mode associated with the second region, where the first response mode indicates that interface elements in the second region do not respond to the interaction operation.
[0122] In some embodiments, the device 400 further includes a first element presenting module configured to: display a first interface element in the second region, where a first boundary of the first interface element corresponds to a second boundary of the second region.
[0123] In some embodiments, the device 400 further includes a first adjustment module configured to: in response to receiving the interaction operation, adjust the display position of the first interface element such that the first boundary of the first interface element corresponds to a third boundary of the first region.
[0124] In some embodiments, the first type corresponds to a click operation.
[0125] In some embodiments, the determination module 430 is further configured to: in response to the type of the interaction operation being the second type, determine a second response mode associated with the second region, where the second response mode indicates that the interface elements in the second region respond to the interaction operation.
[0126] In some embodiments, the apparatus 400 further includes a second adjustment module, configured to: based on the interaction operation, adjust the display positions of the interface elements in the second region.
[0127] In some embodiments, the apparatus 400 further includes a second element presentation module, configured to: in response to receiving the interaction operation, present second interface elements associated with at least one of the interface elements in the second region in the first region.
[0128] In some embodiments, at least one of the interface elements corresponds to a set of media content in a media content stream, and the second interface elements correspond to at least one subsequent media content of the set of media content in the media content stream.
[0129] In some embodiments, the second type corresponds to a swipe operation.
[0130] In some embodiments, the apparatus 400 further includes a content stream presentation module, configured to: present an interaction interface, where the interaction interface includes an information display area and an input control, and the information display area is configured to present a media content stream.
[0131] In some embodiments, the apparatus 400 further includes a content presentation module, configured to: in response to a trigger of the input control, present partial media content in the media content stream in a second region of the interaction interface.
[0132] In some embodiments, the partial media content is determined based on the content currently displayed in the information display area of the media content stream.
[0133] In some embodiments, the presentation module 410 is further configured to: present an input panel in a first region of a canvas component corresponding to the information display area.
[0134] In some embodiments, the presentation module 410 is further configured to: present the input panel by expanding the input control in a preset direction.
[0135] The units included in apparatus 400 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 the machine-executable instructions, some or all of the units in apparatus 400 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 (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0136] Figure 5 FIG. shows a block diagram of an electronic device 500 in which one or more embodiments of the present disclosure can be implemented. It should be understood that Figure 5 the illustrated electronic device 500 is merely exemplary and should not impose any limitation on the functionality and scope of the embodiments described herein. Figure 5 The illustrated electronic device 500 can be used to implement Figure 1 the illustrated electronic device 110.
[0137] As Figure 5 shown, the electronic device 500 is in the form of a general-purpose electronic device. The components of the electronic device 500 can 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 can be an actual or virtual processor and is capable of performing various processes according to programs stored in the memory 520. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing ability of the electronic device 500.
[0138] The electronic device 500 generally includes multiple computer storage media. Such media can be any accessible media that can be obtained by the electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 520 can be volatile memory (such as registers, caches, random access memory (RAM)), non-volatile memory (such as read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 can be removable or non-removable media and can include machine-readable media, such as flash drives, magnetic disks, or any other media that can be used to store information and / or data (such as training data for training) and can be accessed within the electronic device 500.
[0139] The electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in Figure 5 , a disk drive for reading from and writing to a removable, non-volatile disk (such as a "floppy disk") and an optical disk drive for reading from and writing to a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to a bus (not shown) by one or more data media interfaces. The memory 520 may include a computer program product 525 having one or more program modules configured to execute the various methods or actions of the various embodiments of the present disclosure.
[0140] The communication unit 540 enables communication with other electronic devices via a communication medium. Additionally, the functions of the components of the electronic device 500 may be implemented in a single computing cluster or multiple computer machines capable of communicating via a communication connection. Thus, the electronic device 500 may operate in a networked environment using a logical connection to one or more other servers, network personal computers (PCs), or another network node.
[0141] The input device 550 may be one or more input devices, such as a mouse, keyboard, trackball, etc. The output device 560 may be one or more output devices, such as a display, speaker, printer, etc. The electronic device 500 may also communicate with one or more external devices (not shown) as needed via the communication unit 540, such as a storage device, a display device, etc., communicate with one or more devices that enable a user to interact with the electronic device 500, or communicate with any device that enables 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).
[0142] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, where 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, the computer program product being tangibly stored on a non-transitory computer-readable medium and including computer-executable instructions, and the computer-executable instructions being executed by a processor to implement the method described above.
[0143] Aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and the combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0144] 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 apparatus to produce a machine such that the instructions, when executed by the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions may also be stored in a computer-readable storage medium that causes a computer, a programmable data processing apparatus, and / or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises a manufacture including instructions that implement various aspects of the functions / acts specified in one or more blocks of the flowchart and / or block diagram.
[0145] The computer-readable program instructions may be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other devices to produce a computer-implemented process such that the instructions executed on the computer, other programmable data processing apparatus, or other devices implement the functions / acts specified in one or more blocks of the flowchart and / or block diagram.
[0146] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various implementations of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a portion of an instruction, which comprises one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two consecutive blocks may in fact be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented by special-purpose hardware-based systems that perform the specified functions or acts, or combinations of special-purpose hardware and computer instructions.
[0147] The implementations of the present disclosure have been described above. The description is exemplary, not exhaustive, and is 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 choice of terms used herein is intended to best explain the principles of the implementations, the practical application, or improvements made to the technology in the marketplace, or to enable other ordinary skill in the art to understand the implementations disclosed herein.
Claims
1. An interaction method, comprising: In response to triggering of an input control in an interaction interface, presenting an input panel in a first area of the interaction interface; In response to receiving an interaction operation associated with a second area in the interaction interface, stopping presenting the input panel, where the second area is located outside the first area; And Based on the type of the interaction operation, determining a response mode associated with the second area, the response mode indicating whether interface elements in the second area respond to the interaction operation.
2. The method according to claim 1, wherein determining a response mode associated with the second area based on the type of the interaction operation includes: In response to the interaction operation being of a first type, determining a first response mode associated with the second area, the first response mode indicating that the interface elements in the second area do not respond to the interaction operation.
3. The method according to claim 2, wherein before receiving the interaction operation, the method further includes: Displaying a first interface element in the second area, where a first boundary of the first interface element corresponds to a second boundary of the second area.
4. The method according to claim 3, further comprising: In response to receiving the interaction operation, adjusting a display position of the first interface element such that the first boundary of the first interface element corresponds to a third boundary of the first area.
5. The method according to any one of claims 2 to 4, wherein the first type corresponds to a click operation.
6. The method according to claim 1, wherein determining a response mode associated with the second area based on the type of the interaction operation includes: In response to the type of the interaction operation being a second type, determining a second response mode associated with the second area, the second response mode indicating that the interface elements in the second area respond to the interaction operation.
7. The method according to claim 6, further comprising: Based on the interaction operation, adjusting a display position of the interface elements in the second area.
8. The method according to claim 6, further comprising: In response to receiving the interaction operation, presenting a second interface element associated with at least one interface element in the second area in the first area.
9. The method according to claim 8, wherein the at least one interface element corresponds to a set of media content in a media content stream, and the second interface element corresponds to at least one subsequent media content of the set of media content in the media content stream.
10. The method according to any one of claims 6 to 9, wherein the second type corresponds to a slide operation.
11. The method according to claim 1, wherein before presenting the input panel in the first area of the interaction interface, the method further includes: Presenting an interaction interface, the interaction interface including an information display area and the input control, the information display area being configured to present a media content stream.
12. The method according to claim 11, further comprising: In response to the triggering of the input control, a part of the media content stream is presented in the second area of the interaction interface.
13. The method according to claim 12, wherein the part of the media content is determined based on the content currently displayed in the information display area of the media content stream.
14. The method according to claim 11, wherein presenting an input panel in the first area of the interaction interface includes: Presenting the input panel in the first area of a canvas component corresponding to the information display area.
15. The method according to claim 1, wherein presenting an input panel in the first area of the interaction interface includes: Presenting the input panel by expanding the input control in a preset direction.
16. An apparatus for interaction, comprising: A presenting module configured to present an input panel in the first area of the interaction interface in response to the triggering of an input control in the interaction interface; A stopping module configured to stop presenting the input panel in response to receiving an interaction operation associated with a second area in the interaction interface, wherein the second area is located outside the first area; And A determining module configured to determine a response mode associated with the second area based on the type of the interaction operation, the response mode indicating whether interface elements in the second area respond to the interaction operation.
17. An electronic device, comprising: At least one processing unit; And At least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to execute the method according to any one of claims 1 to 15.
18. A computer-readable storage medium having stored thereon a computer program, which when executed by a processor implements the method according to any one of claims 1 to 15.