Event execution method and apparatus, electronic device, storage medium, and program product
Patent Information
- Application Number
- PCT/CN2025/126702
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-04-14
- Filing Date
- 2025-10-10
- Publication Date
- 2026-10-22
Smart Images

Figure CN2025126702_22102026_PF_FP_ABST
Abstract
Description
Event execution methods, apparatuses, electronic devices, storage media, and program products
[0001] Cross-reference to related applications
[0002] This application claims priority to Chinese Patent Application No. 202510467509.5, filed on April 14, 2025, entitled “Event Execution Method, Apparatus, Electronic Device, Storage Medium and Program Product”, the entire contents of which are incorporated herein by reference. Technical Field
[0003] This disclosure relates to the field of computer technology, and more particularly to an event execution method, apparatus, electronic device, storage medium, and program product. Background Technology
[0004] Currently, in some applications, when showing a preview of the interface to the user, the user can trigger the preview to enter the interface, view the interface objects, or interact with the interface objects in the interface. Summary of the Invention
[0005] This disclosure provides an event execution method, apparatus, electronic device, storage medium, and program product to simplify the operations required for interaction based on interface objects in an interface.
[0006] In a first aspect, embodiments of this disclosure provide an event execution method, including:
[0007] The first preview screen is displayed, which presents an object screen of multiple interface objects with a preset interface.
[0008] In response to a first trigger operation on a preset object screen in the first preview screen, an interaction event corresponding to a preset interface object is executed. The preset interface object corresponds to the preset object screen, and the interaction event is determined based on the interface interaction method of the preset interface and the first trigger operation.
[0009] Secondly, embodiments of this disclosure also provide an event execution apparatus, comprising:
[0010] The screen display module is used to display a first preview screen, in which an object screen of multiple interface objects with a preset interface is presented;
[0011] The event execution module is used to respond to a first trigger operation on a preset object screen in the first preview screen, and execute an interaction event corresponding to a preset interface object. The preset interface object corresponds to the preset object screen, and the interaction event is determined based on the interface interaction mode of the preset interface and the first trigger operation.
[0012] Thirdly, embodiments of this disclosure also provide an electronic device, including:
[0013] One or more processors;
[0014] Memory, used to store one or more programs.
[0015] When the one or more programs are executed by the one or more processors, the one or more processors implement the event execution method as described in the embodiments of this disclosure.
[0016] Fourthly, embodiments of this disclosure also provide a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the event execution method as described in embodiments of this disclosure.
[0017] Fifthly, embodiments of this disclosure also provide a computer program product that, when executed by a computer, causes the computer to implement the event execution method as described in embodiments of this disclosure. Attached Figure Description
[0018] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent when taken in conjunction with the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar objects. It should be understood that the drawings are schematic, and the originals and objects are not necessarily drawn to scale.
[0019] Figure 1 is a flowchart illustrating an event execution method provided in an embodiment of this disclosure;
[0020] Figure 2 is a schematic diagram of a preview screen provided in an embodiment of this disclosure;
[0021] Figure 3 is a schematic diagram of a media content display interface provided in an embodiment of this disclosure;
[0022] Figure 4 is a schematic diagram of another media content display interface provided in an embodiment of this disclosure;
[0023] Figure 5 is a schematic diagram of a preset interface provided in an embodiment of this disclosure;
[0024] Figure 6 is a schematic diagram showing another preview screen provided in an embodiment of this disclosure;
[0025] Figure 7 is a schematic diagram of another preview screen provided in an embodiment of this disclosure;
[0026] Figure 8 is a flowchart illustrating another event execution method provided in an embodiment of this disclosure;
[0027] Figure 9 is a schematic diagram of another preset interface provided in an embodiment of this disclosure;
[0028] Figure 10 is a structural block diagram of an event execution device provided in an embodiment of this disclosure;
[0029] Figure 11 is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0030] 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.
[0031] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0032] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0033] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0034] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0035] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0036] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0037] In related technologies, the operations required to interact with interface objects based on the interface are relatively cumbersome.
[0038] Figure 1 is a flowchart illustrating an event execution method provided in an embodiment of this disclosure. This method can be executed by an event execution device, which can be implemented in software and / or hardware and can be configured in an electronic device, typically a computer, mobile phone, or tablet computer. The event execution method provided in this embodiment is applicable to scenarios where interactive events corresponding to interface objects in a preview screen of an interface are executed. As shown in Figure 1, the event execution method provided in this embodiment may include:
[0039] S101. Display a first preview screen, in which an object screen of multiple interface objects with a preset interface is presented.
[0040] The preset interface can be an interface that supports displaying a preview and interacting with the content based on the preview. The preset interface can be, for example, a media content interface, a message list interface, or other interfaces; this embodiment is not limited to these. The following description uses a media content interface as the preset interface. This media content interface can be an interface associated with media content, such as a page displaying media content images and / or media content information for one or more media contents.
[0041] The first preview screen can be understood as a preview of the preset interface. For example, if the preset interface has only one content display mode, the first preview screen can be a preview of the preset interface in that content display mode; if the preset interface has multiple content display modes, the first preview screen can be a preview of the preset interface in one of its content display modes, such as a preview of the preset interface in its first content display mode. The first preview screen may display at least some of the interface objects shown in the preset interface after switching to it. These interface objects can be objects to be displayed in the preset interface, such as interface content components to be displayed in the preset interface. The type of interface object is not limited; for example, interface objects may include information modules and / or interactive controls to be displayed in the preset interface. The object screen of the interface object can be understood as the screen of the interface object to be displayed in the preset interface presented in the first preview screen.
[0042] Specifically, a first preview screen of the preset interface can be displayed, which presents the object screens of multiple interface objects to be displayed in the preset interface, so that the user can preview at least part of the interface content in the preset interface to be displayed based on the first preview screen.
[0043] Taking a preset interface as the media content interface and a first preview screen 20 as the preview screen of the media content interface in the first content display mode as an example, when a trigger operation is received to instruct the first preview screen 20 of the preset interface to be displayed, the first preview screen 20 of the preset interface can be displayed, and the object screen of multiple interface objects to be displayed in the first content display mode of the preset interface can be presented through this first preview screen 20. For example, the information screen of the media content information of multiple media contents to be displayed in the first content display mode of the preset interface can be presented through this first preview screen 20, as shown in Figure 2, so that the user can preview the interface style and / or the displayed interface content of the preset interface in the first content display mode before displaying the preset interface in the first content display mode.
[0044] S102. In response to a first trigger operation on a preset object screen in the first preview screen, execute an interaction event corresponding to a preset interface object, wherein the preset interface object corresponds to the preset object screen, and the interaction event is determined based on the interface interaction mode of the preset interface and the first trigger operation.
[0045] The first triggering operation can be an operation that triggers an object screen of a certain interface object displayed in the first preview screen, such as clicking or long-pressing the display area of an object screen in the first preview screen. The preset object screen can be understood as the object screen in the first preview screen corresponding to the first triggering operation, such as the object screen triggered by the first triggering operation in the first preview screen. The preset interface object can be an interface object in a preset interface corresponding to the preset object screen, such as an information module or component corresponding to the preset object screen. The interface interaction method of the preset interface can be understood as the preset response method of the preset interface after receiving different triggering operations; in other words, the response method of the current application to different triggering operations acting on the preset interface. The interface interaction method of the preset interface can be preset by relevant personnel.
[0046] Specifically, when a trigger operation is received for a certain object screen (such as a preset object screen) in the first preview screen, such as when it is detected that the user clicks or long-presses a certain object screen presented in the first preview screen, the interaction event corresponding to the interface object (such as a preset interface object) corresponding to this object screen can be determined based on the first trigger operation and the preset response method of the preset interface to different trigger operations, and this interaction event can be executed. It is not necessary to first switch to the preset interface corresponding to the first preview screen by executing a certain trigger operation, and then trigger the execution of this interaction event by executing another trigger operation in the preset interface.
[0047] In this embodiment, the interactive event executed in response to the first triggering operation can be determined based on the interaction method of the preset interface and the received first triggering operation, and the specific determination method is not limited. In some examples, the interactive event executed in response to the first triggering operation can be determined based on the response method of the preset interface when it receives an operation that triggers a preset interface object displayed in the preset interface using the same triggering method as the first triggering operation. For example, a preset triggering operation with the same triggering method as the first triggering operation and acting on a preset interface object displayed in the preset interface can be determined, and the interactive event executed by the current application when it receives this preset triggering operation can be taken as the interactive event executed in response to the first triggering operation, etc.
[0048] Taking the preset interface as the media content interface as an example, for instance, when a first trigger operation is received that triggers the information screen of a certain media content information (i.e., the preset interface object) displayed in the first preview screen, the media content corresponding to this media content information can be displayed; when a first trigger operation is received that triggers the control screen of an interactive control (i.e., the preset interface object) of a certain media content displayed in the first preview screen, interactions related to this media content can be performed based on this interactive control, such as liking or collecting this media content, displaying the publisher interface of this media content, displaying the comment interface of this media content, displaying the sharing interface of this media content, displaying the forwarding interface of this media content, or adjusting the text content of this media content to an expanded or collapsed state, etc.
[0049] The event execution method provided in this embodiment displays a first preview screen, which presents object screens of multiple interface objects of a preset interface. In response to a first trigger operation on a preset object screen in the first preview screen, an interaction event corresponding to this preset interface object is executed. This preset interface object corresponds to a preset object screen, and this interaction event is determined based on the interface interaction method of the preset interface and the first trigger operation. This embodiment, utilizing the above technical solution, supports users in executing interaction events associated with interface objects in the interface based on the preview screen, without needing to first switch to the interface by executing a trigger operation and then execute the corresponding trigger operation in the interface. This enriches the interaction methods of the preview screen and simplifies the operations required for interaction based on interface objects in the interface.
[0050] In some embodiments, the interface object includes media content information, the first triggering operation includes a media content display operation, and the execution of an interaction event corresponding to the preset interface object includes: displaying a media content display interface for preset media content, and displaying the preset media content in the media content display interface, wherein the preset media content corresponds to the preset interface object.
[0051] The media content information can be understood as information about the media content, which may include, but is not limited to, the name, cover, publisher identifier, and / or interaction status of the media content. This interaction status may include, but is not limited to, the number of interactions, such as the number of plays, likes, comments, shares, and / or reposts. The media content display operation can be a triggering operation used to indicate the display of the media content corresponding to a certain media content information. This media content display operation can be applied to the information screen of a certain media content information displayed in the first preview screen. The preset media content can be understood as the media content corresponding to a preset interface object, such as the media content corresponding to the information screen of the media content information triggered by the first triggering operation. The media content display interface of the preset media content can be an interface used to display the preset media content, which can be a sub-interface of the preset interface, such as a child interface of the preset interface. For example, the media content display interface of the preset media content can be the details interface and / or playback interface of the preset media content, etc. In some examples, when the preset media content is text and image content, the media content display interface of the preset media content can be the details interface of the preset media content; when the preset media content is video content, the media content display interface of the preset media content can be the playback interface of the preset media content, which can support switching playback of one or more media contents, including the preset media content.
[0052] Specifically, the preset interface can be a media content interface. The first preview screen 20 can display a screen showing media content information of multiple media contents, as shown in Figure 2. When it is detected that the user triggers the information screen of a certain media content in the first preview screen 20, it can be determined that a first trigger operation has been received. In response to this first trigger operation, the media content display interface of the media content corresponding to this media content information is displayed, and the media content corresponding to this media content information is displayed in this media content display interface, as shown in Figures 3 and 4.
[0053] In some examples, when a user triggers an information screen for a certain graphic or textual content in the first preview screen, the system can respond to this triggering operation (i.e., the first triggering operation) by displaying a details screen for the graphic or textual content and showing the graphic or textual content in this details screen, such as displaying the image content and / or text content of the graphic or textual content, as shown in Figure 3. Furthermore, it can further display at least some interactive content of the graphic or textual content, such as further displaying at least some comment information of the graphic or textual content.
[0054] In some examples, upon detecting a user triggering an information screen for a video in the first preview, the system can respond to this trigger (i.e., the first trigger operation) by displaying a playback interface for the video content and playing it, as shown in Figure 4. For example, the video content can be displayed in a media content stream on this playback interface. This stream can include multiple media content pieces published by multiple users on the current application platform. The current user can switch between these media content pieces using content switching operations, such as swiping up or down. The current user can also interact with other users based on the media content, such as liking, commenting on, or sharing the media content displayed on the playback interface.
[0055] In some implementations, after entering a sub-interface (such as a media content display interface) of the preset interface by triggering the object screen of the preset interface object presented in the first preview screen, the user can also return to the preset interface or return to view the first preview screen of the preset interface from this sub-interface to meet different viewing needs. For example, if a second trigger operation is detected acting on this sub-interface, the user can respond to this second trigger operation by redisplaying the first preview screen, displaying the preset interface corresponding to this first preview screen, or redisplaying the interface displayed before triggering the display of the first preview screen, and so on.
[0056] Optionally, the first preview screen is a preview screen of the preset interface in the first content display mode. After the media content display interface that displays the preset media content, the method further includes: in response to a second trigger operation acting on the media content display interface, switching the currently displayed interface from the media content display interface to the preset interface that is displayed using the first content display mode.
[0057] The second trigger operation can be understood as a trigger operation used to instruct the user to return to the parent interface (such as the preset interface corresponding to the first preview screen) of the currently displayed lower-level interface (such as the media content display interface). The execution method of the second trigger operation is not limited. For example, the second trigger operation may include triggering the return control displayed in this lower-level interface, and / or sliding along a preset direction in this lower-level interface. This preset direction may be, for example, from left to right or from right to left, and can be flexibly set as needed.
[0058] The preset interface can have one or more content display modes, including a first content display mode. Under different content display modes, the interface content and / or the display method of the interface content in the preset interface can be different. For example, the first content display mode can be an object collection display mode, in which the preset interface can display object information of multiple objects to be displayed (i.e., display multiple interface objects). Taking a media content interface as an example, the first content display mode can be a media content collection display mode. The media content collection display mode can be understood as a display mode that displays media content information based on a media content collection. For example, in the media content collection display mode, the media content page can display media content information of at least some media content in the media content collection, such as displaying media content information of one or more media content items in the media content collection. The following explanation uses this case as an example.
[0059] For example, upon receiving a second trigger operation on the media content display interface, such as when the current user triggers the return control 30 displayed in the media content display interface (as shown in Figures 3 and 4), or when the current user swipes to the right in the media content display interface, the currently displayed interface can be switched from the media content display interface to a preset interface (such as the media content interface) that is not displayed using the first content display mode. For example, the currently displayed interface can be switched from the media content display interface to the preset interface, and the media content information of multiple media contents in the media content set can be displayed in the preset interface in a multi-column (such as double column) format, as shown in Figure 5, so that the user can view the preset interface corresponding to the first preview screen 20.
[0060] In this embodiment, users can switch to the media content display interface corresponding to the media content information by triggering the information screen of the media content information displayed in the first preview screen to view the media content. This eliminates the need to first trigger the first preview screen to enter the preset interface corresponding to the first preview screen, and then trigger the media content information displayed in the preset interface to enter the media content display interface corresponding to the media content information. This simplifies the operations required to view the media content corresponding to the media content information in the preset interface based on the first preview screen of the preset interface.
[0061] In some embodiments, displaying the first preview screen includes: in response to a mode preview operation for a preset interface, displaying a first preview screen of the preset interface in a first content display mode and a second preview screen of the preset interface in a second content display mode; the event execution method may further include: in response to a first trigger operation for a preset object screen in the first preview screen, canceling the display of the second preview screen.
[0062] The mode preview operation can be understood as a trigger operation used to instruct the display of a preview screen of a preset interface in at least one content display mode. The mode preview operation can operate within the preset interface or within other interfaces in the current application besides the preset interface. The execution method of the mode preview operation is not limited; for example, this mode preview operation may include triggering the mode preview control corresponding to the preset interface and / or performing a preset mode preview gesture, etc.
[0063] The second content display mode can be understood as any content display mode other than the first content display mode among the preset content display modes of the default interface. There can be one or more second content display modes, which can be set as needed. For example, the second content display mode may include, but is not limited to, the object stream display mode. Taking a media content interface as an example, the second content display mode may include a media content stream display mode. The media content stream display mode can be a display mode that displays media content based on a media content stream. For example, in the media content stream display mode, the media content page can support the display of media content based on the media content stream, such as the media content page being used to switch between different media content in the media content stream.
[0064] Specifically, when a mode preview operation is received for a preset interface, such as when the user triggers the mode preview control corresponding to the preset interface, a preview screen of the preset interface in at least one content display mode can be displayed, such as displaying the first preview screen 20 of the preset interface in the first content display mode and the second preview screen 21 of the preset interface in at least one second content display mode, as shown in Figures 2, 6 and 7 (the figures take the preset interface as a media content interface, the first content display mode as a media content collection display mode and the second content display mode as a media content stream display mode as examples).
[0065] In this embodiment, the relative display positions of the first preview screen 20 and the second preview screen 21 are not limited. For example, the first preview screen 20 can be displayed in the main display area, and the second preview screen 21 can be displayed in the form of a small window (as shown in Figure 2); or, the second preview screen 21 can be displayed in the main display area, and the first preview screen 20 can be displayed in the form of a small window; or, the first preview screen 20 and the second preview screen 21 can be arranged and displayed along a set direction, such as vertical arrangement (as shown in Figure 6) or horizontal arrangement (as shown in Figure 7). The first preview screen 20 and the second preview screen 21 can be displayed on the same or different layers, and this embodiment does not limit this.
[0066] The following description uses the example of a preset interface as the media content interface, a first content display mode as the media content collection display mode, a second content display mode as the media content stream display mode, and mode preview operations operating within the preset interface, to illustrate the display methods of different preview screens:
[0067] For situations where a preview image is displayed in a small window, for example, the preview image corresponding to the content display mode applied by the mode preview operation can be displayed in a small window. For instance, if the mode preview operation is applied to a preset interface displayed in the second content display mode, the first preview image of the preset interface can be displayed in the main display area, and the second preview image of the preset interface can be displayed in a small window on the layer where the first preview image is located, as shown in Figure 2; if the mode preview operation is applied to a preset interface displayed in the first content display mode, the display positions of the first and second preview images can be swapped, such as displaying the second preview image of the preset interface in the main display area, and displaying the first preview image of the preset interface in a small window on the layer where the second preview image is located.
[0068] For situations where the preview screens of a preset interface are displayed vertically under different content display modes, for example, the preview screen corresponding to the content display mode to which the mode preview operation is applied can be displayed below. For instance, if the mode preview operation is applied to a preset interface displayed using the second content display mode, the first preview screen of the preset interface can be displayed in a larger area at the top, and the second preview screen of the preset interface can be displayed in a smaller area at the bottom. Optionally, the layer on which the second preview screen is located can be located above the layer on which the first preview screen is located, as shown in Figure 6. If the mode preview operation is applied to a preset interface displayed using the first content display mode, the display positions of the first and second preview screens can be swapped, such as displaying the second preview screen of the preset interface in a larger area at the top, and displaying the first preview screen of the preset interface in a smaller area at the bottom. Optionally, the layer on which the first preview screen is located can be located above the layer on which the second preview screen is located.
[0069] For cases where previews of a preset interface are displayed horizontally under different content display modes, for example, the preview screen corresponding to the content display mode to which the mode preview operation is applied can be displayed on the right. For instance, if the mode preview operation is applied to a preset interface displayed using the second content display mode, the first preview screen of the preset interface can be displayed on the left, and the second preview screen of the preset interface can be displayed on the right. Optionally, the layer on which the second preview screen is located can be located above the layer on which the first preview screen is located, as shown in Figure 7. If the mode preview operation is applied to a preset interface displayed using the first content display mode, the display positions of the first and second preview screens can be swapped, such as displaying the second preview screen of the preset interface on the left and the first preview screen of the preset interface on the right. Optionally, the layer on which the first preview screen is located can be located above the layer on which the second preview screen is located.
[0070] After displaying the first preview screen of the preset interface in the first content display mode and the second preview screen of the preset interface in the second content display mode, upon receiving a first trigger operation on the preset object screen in the first preview screen, in addition to executing the interactive event corresponding to the preset interface object, the display of the second preview screen of the preset interface can be further cancelled so that the user can view the executed interactive event. Furthermore, upon receiving the first trigger operation, the display of the first preview screen of the preset interface can be cancelled or maintained; this embodiment does not limit this.
[0071] In this embodiment, when a preset interface has multiple content display modes, in addition to displaying a first preview screen of the preset interface in the first content display mode, preview screens of the preset interface in one or more other content display modes besides the first content display mode can also be displayed. Therefore, users can quickly determine the content display mode to which the preset interface needs to be switched based on the displayed preview screens, reducing the difficulty of determining the content display mode of the preset interface and providing convenience for users to switch the content display mode of the preset interface.
[0072] Figure 8 is a flowchart illustrating another event execution method provided in an embodiment of this disclosure. The solution in this embodiment can be combined with one or more optional solutions in the above embodiments. Optionally, the step of executing an interaction event corresponding to a preset interface object in response to a first trigger operation on a preset object screen in the first preview screen includes: displaying the preset interface in response to a first trigger operation on a preset object screen in the first preview screen, wherein the preset interface displays at least the plurality of interface objects; and executing an interaction event corresponding to the preset interface object among the plurality of interface objects.
[0073] Accordingly, as shown in Figure 8, the event execution method provided in this embodiment may include:
[0074] S201. Display a first preview screen, in which an object screen of multiple interface objects with a preset interface is presented.
[0075] S202. In response to a first trigger operation on a preset object screen in the first preview screen, the preset interface is displayed, wherein at least the plurality of interface objects are displayed in the preset interface.
[0076] In this embodiment, before executing the interactive event corresponding to the preset interface object, the preset interface can be displayed to indicate that the interactive event to be executed is an interactive event corresponding to the preset interface, such as indicating that the media content display interface to which the user switches is a sub-interface of the preset interface, so that the user can clearly understand the execution path of the interactive event.
[0077] Specifically, upon receiving a first trigger operation targeting a preset object screen in the first preview screen, a preset interface can be displayed based on the first preview screen, and various interface objects corresponding to the object screen presented in the first preview screen can be displayed in the preset interface.
[0078] Taking the first preview screen as an example of a preview screen of a preset interface in the first content display mode, for instance, upon receiving a first trigger operation on a preset object screen in the first preview screen, the preset interface can be displayed based on the first content display mode. For example, the preset interface can be displayed, and the interface content of the preset interface can be displayed using the first content display mode, such as displaying media content information of multiple media contents in a media content set in the preset interface, as shown in Figure 5 (where the preset interface is the media content interface and the first content display mode is the media content set display mode, as an example). In this case, optionally, the first preview screen is a preview screen of the preset interface in the first content display mode, and displaying the preset interface includes: displaying the preset interface using the first content display mode.
[0079] In this embodiment, the display method of the preset interface is not limited. For example, the preview screens of the currently displayed preset interface can be canceled and the preset interface can be displayed; or the currently displayed first preview screen can be gradually switched to the preset interface that corresponds to the first preview screen and uses the corresponding content display mode, so as to achieve a smooth display of the preset interface and avoid the situation where the currently displayed content changes too abruptly.
[0080] Optionally, displaying the preset interface includes: adjusting the display size of the first preview screen; and switching the first preview screen to display the preset interface in response to the adjustment of the display size of the first preview screen to a preset size. For example, in response to a first trigger operation, based on the relative size relationship between the display size of the preset interface object in the preset interface and the screen size of the preset object screen, the display size of the first preview screen can be gradually adjusted so that the screen size of the preset object screen gradually approaches the display size of the preset interface object in the preset interface. When the display size of the first preview screen is adjusted to the preset size, the first preview screen is switched to display the preset interface corresponding to the first preview screen. The preset size can be set as needed. When the display size of the first preview screen is the preset size, the screen size of the preset object screen and the display size of the preset interface object in the preset interface can be the same or different; this embodiment does not limit this.
[0081] S203. Execute an interaction event corresponding to a preset interface object among the plurality of interface objects, wherein the preset interface object corresponds to the preset object screen, and the interaction event is determined based on the interface interaction mode of the preset interface and the first triggering operation.
[0082] In this embodiment, after displaying the preset interface, an interactive event corresponding to the preset interface object displayed in the preset interface can be executed based on this first trigger operation. Taking the preset interface as a media content interface and the first trigger operation as a media content display operation as an example, after displaying the preset interface, the currently displayed interface can be further switched from the preset interface to the media content display interface of the preset media content corresponding to the preset object screen, and the preset media content can be displayed in this media content display interface.
[0083] Taking a preset interface as the media content interface, a first content display mode as the media content collection display mode, a second content display mode as the media content stream display mode, and a first preview screen displayed in response to a mode preview operation within the preset interface under the second content display mode as an example, in some optional implementations, the event execution method provided in this embodiment can be described as follows:
[0084] The preset interface is displayed using the first content display mode, such as displaying media content in the media content stream in the preset interface, as shown in Figure 9.
[0085] When the user triggers the mode preview control 50 displayed in the preset interface, it can be determined that a mode preview operation for the preset interface has been received. In response to this mode preview operation, the first preview screen 20 of the preset interface in the first content display mode and the second preview screen 21 of the preset interface in the second content display mode are displayed, as shown in Figures 2, 6 and 7. Furthermore, the displayed mode preview control 50 can be switched to a cancel preview control 22 so that the display of the preview screen of the preset interface (including the first preview screen 20 and the second preview screen 21) can be canceled by triggering this preset preview control 22. If the user triggers this cancel preview control 22, the preset interface displayed in the second content display mode can be returned, as shown in Figure 9.
[0086] When a user triggers an information screen (i.e., a preset object screen) of media content information (i.e., a preset interface object) displayed in the first preview screen 20, the second preview screen 21 can be canceled, such as by controlling the second preview screen 21 to fade away or move out of the visible area of the screen; and the display size of the first preview screen 20 can be increased, and when the display size of the first preview screen 20 is increased to a preset size, the first preview screen 20 can be switched to display a preset interface using the first content display mode, as shown in Figure 5. When the display duration of the preset interface reaches the set duration, the currently displayed interface can be further switched from the preset interface to a media content display interface of the preset media content corresponding to the information screen triggered by the first trigger operation, and the preset media content can be displayed in this media content display interface (i.e., the interactive event corresponding to the preset interface object is executed), as shown in Figures 3 and 4. The set duration can be flexibly set as needed, such as 0.5s or 1s.
[0087] When the user triggers the return control 30 displayed in the media content display interface or slides to the right, it can be determined that a second trigger operation has been received. In response to this second trigger operation, the user returns to the preset interface displayed in the first content display mode, such as switching the currently displayed interface from the media content display interface to the preset interface displayed in the first content display mode, as shown in Figure 5.
[0088] In addition, please continue to refer to Figure 5. When the preset interface is displayed using the first content display mode or the second content display mode, in addition to the mode preview control 50, the preset interface can also display a mode switching control 51. This mode switching control 51 can be used to trigger the switching of the content display mode currently used by the preset interface. For example, when the user triggers this mode switching control 51, the content display mode currently used by the preset interface can be switched according to the preset switching order of each content display mode of the preset interface, without displaying the preview screen of the preset interface.
[0089] Please continue to refer to Figures 2, 6, and 7. When displaying a preview of the preset interface in at least one content display mode, an update control 23 can be further displayed. This update control 23 can be configured to trigger an update of at least a portion of the currently displayed preview of the preset interface. Taking updating the preview of the content display mode (such as the second content display mode) corresponding to the mode preview operation as an example, when the user triggers this update control 23, the interface content of the preset interface in the content display mode corresponding to the mode preview operation can be updated, a preview of the updated interface content can be generated, and this preview of the updated interface content can be used to replace the currently displayed preview of the preset interface before the update in this content display mode.
[0090] The event execution method provided in this embodiment, upon receiving a trigger operation for a preset object screen in the first preview screen, displays a preset interface corresponding to the first preview screen and executes an interactive event corresponding to the trigger, which can further enrich the execution mode of interactive events and improve the smoothness of the interactive event execution path.
[0091] Figure 10 is a structural block diagram of an event execution device provided in an embodiment of this disclosure. This device can be implemented by software and / or hardware, and can be configured in an electronic device, typically a computer, mobile phone, or tablet computer. It can execute interactive events corresponding to interface objects in the interface based on a preview screen of the interface by executing an event execution method. As shown in Figure 10, the event execution device provided in this embodiment may include: a screen display module 1001 and an event execution module 1002, wherein...
[0092] The screen display module 1001 is used to display a first preview screen, in which an object screen of multiple interface objects with a preset interface is presented;
[0093] The event execution module 1002 is used to respond to a first trigger operation on a preset object screen in the first preview screen, and execute an interaction event corresponding to a preset interface object. The preset interface object corresponds to the preset object screen, and the interaction event is determined based on the interface interaction mode of the preset interface and the first trigger operation.
[0094] The event execution device provided in this embodiment displays a first preview screen through a screen display module. This first preview screen presents object screens of multiple interface objects of a preset interface. The event execution module responds to a first trigger operation on a preset object screen in the first preview screen and executes an interactive event corresponding to this preset interface object. This preset interface object corresponds to a preset object screen, and this interactive event is determined based on the interface interaction method of the preset interface and the first trigger operation. This embodiment, utilizing the above technical solution, allows users to execute interactive events associated with interface objects in the interface based on the preview screen, without first switching to the interface by executing a trigger operation and then executing the corresponding trigger operation in the interface. This enriches the interaction methods of the preview screen and simplifies the operations required for interaction based on interface objects in the interface.
[0095] Optionally, the event execution module 1002 includes: an interface display unit, configured to display the preset interface in response to a first trigger operation on a preset object screen in the first preview screen, wherein the preset interface displays at least the plurality of interface objects; and an event execution unit, configured to execute an interaction event corresponding to the preset interface object among the plurality of interface objects.
[0096] Optionally, the interface display unit can be used to: adjust the display size of the first preview screen; and in response to the adjustment of the display size of the first preview screen to a preset size, switch the first preview screen to display the preset interface.
[0097] Optionally, the first preview screen is a preview screen of the preset interface in the first content display mode, and the interface display unit can be specifically used to: display the preset interface in the first content display mode.
[0098] Optionally, the interface object includes media content information, the first triggering operation includes a media content display operation, and the event execution module 1002 can be specifically used to: display a media content display interface for preset media content, and display the preset media content in the media content display interface, wherein the preset media content corresponds to the preset interface object.
[0099] Optionally, the first preview screen is a preview screen of the preset interface in the first content display mode, and the event execution device may further include: an interface display module, used to, after the media content display interface that displays preset media content, in response to a second trigger operation acting on the media content display interface, switch the currently displayed interface from the media content display interface to the preset interface that is displayed using the first content display mode.
[0100] Optionally, the screen display module 1001 can be specifically used to: in response to a mode preview operation for a preset interface, display a first preview screen of the preset interface in a first content display mode and a second preview screen of the preset interface in a second content display mode; the event execution device may further include: a cancellation display module, used to cancel the display of the second preview screen in response to a first trigger operation for a preset object screen in the first preview screen.
[0101] The event execution apparatus provided in this disclosure can execute the event execution method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the event execution method. Technical details not described in detail in this embodiment can be found in the event execution method provided in any embodiment of this disclosure.
[0102] Referring now to FIG11, a schematic diagram of the structure of an electronic device (e.g., a terminal device) 1100 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in FIG11 is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present disclosure.
[0103] As shown in Figure 11, the electronic device 1100 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage device 1108 into a random access memory (RAM) 1103. The RAM 1103 also stores various programs and data required for the operation of the electronic device 1100. The processing unit 1101, ROM 1102, and RAM 1103 are interconnected via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0104] Typically, the following devices can be connected to I / O interface 1105: input devices 1106 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 1107 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1108 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1109. Communication device 1109 allows electronic device 1100 to communicate wirelessly or wiredly with other devices to exchange data. Although FIG11 shows electronic device 1100 with various devices, it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0105] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 1109, or installed from storage device 1108, or installed from ROM 1102. When the computer program is executed by processing device 1101, it performs the functions defined in the methods of embodiments of this disclosure.
[0106] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0107] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.
[0108] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0109] The aforementioned computer-readable medium carries one or more programs. When the aforementioned one or more programs are executed by the electronic device, the electronic device causes the electronic device to: display a first preview screen, in which an object screen of multiple interface objects of a preset interface is presented; and, in response to a first trigger operation on the preset object screen in the first preview screen, execute an interaction event corresponding to the preset interface object, wherein the preset interface object corresponds to the preset object screen, and the interaction event is determined based on the interface interaction mode of the preset interface and the first trigger operation.
[0110] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0111] 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 code containing one or more executable instructions for implementing a specified logical function. It should also be noted that 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 consecutively indicated 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, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0112] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of modules do not necessarily limit the specific unit itself.
[0113] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0114] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0115] According to one or more embodiments of this disclosure, Example 1 provides an event execution method, including:
[0116] The first preview screen is displayed, which presents an object screen of multiple interface objects with a preset interface.
[0117] In response to a first trigger operation on a preset object screen in the first preview screen, an interaction event corresponding to a preset interface object is executed. The preset interface object corresponds to the preset object screen, and the interaction event is determined based on the interface interaction method of the preset interface and the first trigger operation.
[0118] According to one or more embodiments of this disclosure, Example 2, based on the method described in Example 1, includes executing an interaction event corresponding to a preset interface object in response to a first trigger operation on a preset object screen in the first preview screen, comprising:
[0119] In response to a first trigger operation on a preset object screen in the first preview screen, the preset interface is displayed, wherein at least the plurality of interface objects are displayed in the preset interface;
[0120] Execute the interaction event corresponding to the preset interface object among the plurality of interface objects.
[0121] According to one or more embodiments of this disclosure, Example 3, based on the method described in Example 2, includes displaying the preset interface, comprising:
[0122] Adjust the display size of the first preview screen;
[0123] In response to the adjustment of the display size of the first preview screen to a preset size, the first preview screen is switched to display the preset interface.
[0124] According to one or more embodiments of this disclosure, Example 4 describes the method described in Example 2, wherein the first preview screen is a preview screen of the preset interface in a first content display mode, and displaying the preset interface includes:
[0125] The preset interface is displayed using the first content display mode.
[0126] According to one or more embodiments of this disclosure, Example 5 describes the method described in Example 1, wherein the interface object includes media content information, the first triggering operation includes a media content display operation, and the execution of the interaction event corresponding to the preset interface object includes:
[0127] A media content display interface that displays preset media content, and the preset media content is displayed in the media content display interface, and the preset media content corresponds to the preset interface object.
[0128] According to one or more embodiments of this disclosure, Example 6, based on the method described in Example 5, further includes: the first preview screen being a preview screen of the preset interface in a first content display mode; and after the media content display interface displaying preset media content, the method further includes:
[0129] In response to a second trigger operation on the media content display interface, the currently displayed interface is switched from the media content display interface to the preset interface that is displayed using the first content display mode.
[0130] According to one or more embodiments of this disclosure, Example 7, based on any one of Examples 1-6, includes displaying the first preview screen, comprising:
[0131] In response to a mode preview operation for a preset interface, a first preview screen of the preset interface in a first content display mode and a second preview screen of the preset interface in a second content display mode are displayed.
[0132] The method further includes:
[0133] In response to a first trigger operation on a preset object screen in the first preview screen, the display of the second preview screen is canceled.
[0134] According to one or more embodiments of this disclosure, Example 8 provides an event execution apparatus, including:
[0135] The screen display module is used to display a first preview screen, in which an object screen of multiple interface objects with a preset interface is presented;
[0136] The event execution module is used to respond to a first trigger operation on a preset object screen in the first preview screen, and execute an interaction event corresponding to a preset interface object. The preset interface object corresponds to the preset object screen, and the interaction event is determined based on the interface interaction mode of the preset interface and the first trigger operation.
[0137] According to one or more embodiments of this disclosure, Example 9 provides an electronic device, including:
[0138] One or more processors;
[0139] Memory, used to store one or more programs.
[0140] When the one or more programs are executed by the one or more processors, the one or more processors implement the event execution method as described in any of Examples 1-7.
[0141] According to one or more embodiments of the present disclosure, Example 10 provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements an event execution method as described in any of Examples 1-7.
[0142] According to one or more embodiments of the present disclosure, Example 11 provides a computer program product that, when executed by a computer, causes the computer to implement an event execution method as described in any of Examples 1-7.
[0143] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0144] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0145] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. An event execution method, comprising: The first preview screen is displayed, which presents an object screen of multiple interface objects with a preset interface. In response to a first trigger operation on a preset object screen in the first preview screen, an interaction event corresponding to a preset interface object is executed. The preset interface object corresponds to the preset object screen, and the interaction event is determined based on the interface interaction method of the preset interface and the first trigger operation.
2. The method according to claim 1, wherein executing an interaction event corresponding to the preset interface object in response to a first trigger operation on a preset object screen in the first preview screen includes: In response to a first trigger operation on a preset object screen in the first preview screen, the preset interface is displayed, wherein at least the plurality of interface objects are displayed in the preset interface; Execute the interaction event corresponding to the preset interface object among the plurality of interface objects.
3. The method according to claim 2, wherein displaying the preset interface includes: Adjust the display size of the first preview screen; In response to the adjustment of the display size of the first preview screen to a preset size, the first preview screen is switched to display the preset interface.
4. The method according to claim 2, wherein the first preview screen is a preview screen of the preset interface in the first content display mode, and displaying the preset interface includes: The preset interface is displayed using the first content display mode.
5. The method according to claim 1, wherein the interface object includes media content information, the first triggering operation includes a media content display operation, and the execution of the interaction event corresponding to the preset interface object includes: A media content display interface that displays preset media content, and the preset media content is displayed in the media content display interface, and the preset media content corresponds to the preset interface object.
6. The method according to claim 5, wherein the first preview screen is a preview screen of the preset interface in the first content display mode, and after the media content display interface displaying the preset media content, it further includes: In response to a second trigger operation on the media content display interface, the currently displayed interface is switched from the media content display interface to the preset interface that is displayed using the first content display mode.
7. The method according to any one of claims 1-6, wherein displaying the first preview screen comprises: In response to a mode preview operation for a preset interface, a first preview screen of the preset interface in a first content display mode and a second preview screen of the preset interface in a second content display mode are displayed. The method further includes: In response to a first trigger operation on a preset object screen in the first preview screen, the display of the second preview screen is canceled.
8. An event execution device, comprising: The screen display module is used to display a first preview screen, in which an object screen of multiple interface objects with a preset interface is presented; The event execution module is used to respond to a first trigger operation on a preset object screen in the first preview screen, and execute an interaction event corresponding to a preset interface object. The preset interface object corresponds to the preset object screen, and the interaction event is determined based on the interface interaction mode of the preset interface and the first trigger operation.
9. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the event execution method according to any one of claims 1-7.
10. A computer-readable storage medium storing computer instructions that, when executed by a processor, implement the event execution method of any one of claims 1-7.
11. A computer program product comprising a computer program that, when executed by a processor, implements the event execution method of any one of claims 1-7.