Interaction method and apparatus, electronic device, and storage medium
By displaying interactive controls and associated visual element animations on the search results page, the problem of limited user interaction methods is solved, resulting in a richer interactive experience and content display.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2022-11-07
- Publication Date
- 2026-07-28
AI Technical Summary
In existing technologies, the interaction methods for users when searching for objects are relatively simple, which fails to enrich the interactive functions of the search results page.
The search results page displays interactive controls corresponding to the target object, and responds to user triggers by displaying animations of the target visual elements, which are associated with the target object.
It has enriched the interactive functions of the search results page, simplified the interaction between users and the target object, and increased the diversity of interaction forms and the richness of displayed content.
Smart Images

Figure CN115686290B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and more particularly to an interaction method, apparatus, electronic device, and storage medium. Background Technology
[0002] In existing technologies, when users search for objects, they can generally only view the search results on the search results page, and the interaction is relatively simple. Summary of the Invention
[0003] This disclosure provides an interaction method, apparatus, electronic device, and storage medium to enrich the interaction methods when searching for objects.
[0004] In a first aspect, embodiments of this disclosure provide an interaction method, including:
[0005] In response to a search operation targeting a target object, at least one interactive control corresponding to the target object is displayed on the search results page;
[0006] In response to a triggering operation on a target interactive control in the at least one interactive control, a target animation is displayed, the target animation being an animation of a target visual element associated with the target object.
[0007] Secondly, embodiments of this disclosure also provide an interactive device, including:
[0008] A control display module is used to display at least one interactive control corresponding to the target object in the search results page in response to a search operation for the target object.
[0009] An animation display module is used to display a target animation in response to a trigger operation on a target interactive control in the at least one interactive control. The target animation is an animation of a target visual element, which is associated with the target object.
[0010] Thirdly, embodiments of this disclosure also provide an electronic device, including:
[0011] One or more processors;
[0012] Memory, used to store one or more programs.
[0013] When the one or more programs are executed by the one or more processors, the one or more processors implement the interaction method as described in the embodiments of this disclosure.
[0014] 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 interaction method as described in embodiments of this disclosure.
[0015] The interactive method, apparatus, electronic device, and storage medium provided in this disclosure, in response to a search operation targeting a target object, display at least one interactive control corresponding to the target object on a search results page; and in response to a triggering operation of a target interactive control among the at least one interactive control, display a target animation, which is an animation of a target visual element associated with the target object. By employing the above technical solution, this disclosure displays interactive controls corresponding to the target object on the search results page, and displays an animation of a visual element associated with the target object when a user triggers a certain interactive control. This not only enriches the interactive functions supported by the search results page and simplifies the operations required for users to interact with the target object, but also enriches the interaction forms and display content of the search results page. Attached Figure Description
[0016] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0017] Figure 1 A flowchart illustrating an interaction method provided in an embodiment of this disclosure;
[0018] Figure 2 This is a schematic diagram illustrating the display of an interactive control provided in an embodiment of this disclosure;
[0019] Figure 3 A schematic diagram illustrating the display of a target animation provided in an embodiment of this disclosure;
[0020] Figure 4 A flowchart illustrating another interaction method provided in an embodiment of this disclosure;
[0021] Figure 5 A structural block diagram of an interactive device provided in an embodiment of this disclosure;
[0022] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0023] 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.
[0024] 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.
[0025] 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.
[0026] 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.
[0027] 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".
[0028] 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.
[0029] Figure 1 This is a flowchart illustrating an interaction method provided in an embodiment of this disclosure. The method can be executed by an interactive device, which can be implemented in software and / or hardware and is configurable in an electronic device, typically a mobile phone or tablet. The interaction method provided in this disclosure is suitable for scenarios involving searching for people or teams, and is particularly suitable for scenarios involving searching for parameters of personnel or participating teams in an event. Figure 1 As shown, the interaction method provided in this embodiment may include:
[0030] S101. In response to a search operation targeting a target object, at least one interactive control corresponding to the target object is displayed on the search results page.
[0031] The target object can be understood as the object to be searched, which may include target individuals, target teams, or other objects. The target individuals can be considered as the people to be searched, such as a participant in an event or any other individual. The target teams can be considered as the teams to be searched, such as a participating team in an event or any other team composed of people. For example, the event may include a competition or similar event. The search operation can be a triggering operation to instruct the search to be performed on the target object, such as triggering the search control after entering search information related to the target object in the search input box. The search information may be, for example, the name, identifier, or abbreviation of the target object.
[0032] Interactive controls can be controls used to interact with a target object; in other words, the interactive object of the control is the target object searched by the user through a search operation. For example, these interactive controls may include, but are not limited to, cheering controls, applause controls, blessing controls, like controls, thank-you controls, and / or memorial controls. Each interactive control can be displayed when the user searches for the target object and the current conditions meet its display criteria. For example, a cheering control can be displayed during an event participated in by the target object to cheer for them; an applause control can be displayed after the target object wins an award to applaud them; a blessing control can be displayed on the target object's birthday and / or anniversary to send birthday / anniversary wishes; a like / thank-you control can be displayed after the target object completes an event to like / thank them; and a memorial control can be displayed after the target person's death, such as on their birthday, posthumous birthday, or other anniversary, to express remembrance.
[0033] In this embodiment, when a user searches for a target object, interactive controls that correspond to the target object and meet its display conditions can be displayed on the search results page, so that the user can interact with the target object through the displayed interactive controls, simplifying the operations required for the user to interact with the target object.
[0034] For example, when a user wants to search for an object, they can enter information related to the object they want to search for in the search input box, such as the name of the object, and then perform a search. Upon receiving the user's search request, the application can retrieve search results that match the search information entered in the search input box and display the search results and / or at least one interactive control corresponding to the target object on the search results page.
[0035] When displaying at least one interactive control corresponding to the target object, the interactive control may be displayed within the search results of the target object or independently of the search results of the target object.
[0036] Taking the example of an interactive control being included within the search results of a target object, the search results could be, for example, an object card 20 of the target object. For instance, the object card 20 could be displayed as a search result matching the information to be searched. In this case, when a search operation for the target object is received, the object card 20 of the target object can be displayed on the search results page, and at least one interactive control corresponding to the target object can be displayed within that object card 20, such as... Figure 2 As shown in the figure (the interactive control is the refueling control 21 as an example).
[0037] like Figure 2 As shown, the object card 20, in addition to displaying at least one interactive control for the target object, can also display other card content, such as playing associated videos of the target object and / or displaying object information (not shown in the figure). When the target object is a participant in an event, the object card can further be used to display sub-event information in which the target object participates. Thus, users can view the sub-event information in which the target object participates in the corresponding event through the object card 20, and can reserve the live broadcast of the corresponding sub-event by triggering the reservation control 22 corresponding to the sub-event information, and / or switch to the sub-event page to view all sub-event information of the corresponding event by triggering the more sub-event control 23.
[0038] It is understandable that when the current conditions do not meet the display conditions of each interactive control, the search results of the target object can be displayed only on the search results page, without displaying the interactive control corresponding to the target object, or the interactive control can be displayed as untriggerable. This embodiment does not impose any restrictions on this.
[0039] S102. In response to a triggering operation on a target interactive control in the at least one interactive control, a target animation is displayed, wherein the target animation is an animation of a target visual element, and the target visual element is associated with the target object.
[0040] The target interactive control can be an interactive control triggered by the user. The target animation can be an animation of the target visual element. The target visual element can be a visual element associated with the target object. For example, the target visual element can be a visual element associated with the target object and the interaction theme of the target interactive control. For instance, when the target interactive control is a cheering control, the target visual element can be an element of the corresponding event / sub-event in which the target object participates. Taking a sports event as an example, when the time / sub-event in which the target object participates is a football match / basketball match / table tennis match, the target visual element can be football / basketball / table tennis, etc.; when the target interactive control is a cheering control, the target visual element can be a trophy or other visual element obtained by the target object; when the target interactive control is a sending blessing control, the target visual element can be a birthday cake or other visual element associated with the target object; when the target interactive control is a like control, the target visual element can be a like gesture or other visual element associated with the target object; when the target interactive control is a thank you control, the target visual element can be a visual element used to express gratitude to the target object; when the target interactive control is a remembrance control, the target visual element can be a candle or other visual element used to express remembrance of the target object. The target visual elements may differ when the object searched by the user and / or the interactive control triggered by the user are different. This embodiment does not limit the specific type of the target visual elements or the specific screen content of the target animation.
[0041] For example, when a trigger operation is received for a target interactive control, such as when a user triggers the target interactive control, a target animation 30 associated with the target interactive control can be displayed, such as displaying the target animation 30 on top of the original page content displayed on the search results page. Figure 3 As shown in the figure (the target interactive control is the cheering control 21 and the target visual element is the football).
[0042] In this embodiment, interactive controls corresponding to the target object are displayed on the search results page of the target object. When the user triggers a certain interactive control, an animation of visual elements associated with the target object is displayed, so that the user can interact with the target object on the search results page. This not only enriches the interactive functions supported by the search results page and simplifies the operations required for the user to interact with the target object, but also enriches the interaction forms when interacting with the target object and the display content of the search results page.
[0043] In some implementations, when displaying interactive controls corresponding to the target object, the number of interactions corresponding to each interactive control can be further displayed, such as... Figure 2The number of interactions M corresponding to the refueling control 21 is shown in the figure. Therefore, when a user triggers the target interactive control, in addition to displaying the target animation, the number of interactions corresponding to the target interactive control can be further updated. For example, when a user triggers the refueling control 21, the number of interactions corresponding to the refueling control 21 can be updated from M to M+1.
[0044] Optionally, the interaction method provided in this embodiment further includes: in response to the search operation, updating the target interaction count of the target object, wherein the target interaction count is the interaction count corresponding to the target interaction control.
[0045] The target interaction count can be understood as the number of interactions corresponding to the target interactive control. The interaction count corresponding to a specific interactive control can be understood as the total number of times users interact with the target object by triggering that interactive control, such as the total number of times different users cheer for / applaud / send blessings / likes to the target object, the total number of times different users express gratitude to the target object, or the total number of times different users commemorate the target object. This total count can be the total number of people or the total number of interactions. For example, for each interactive control, if the same user can trigger the interactive control at most once, then the interaction count corresponding to that interactive control can be the total number of people; if the same user can trigger the interactive control once or multiple times in different triggering periods, the interaction count corresponding to that interactive control can be the total number of interactions. This embodiment does not impose any restrictions on this. Taking the cheering control as an example, the cheering control can be set so that each user can trigger it once per day. In this case, the interaction count corresponding to the cheering control can be the total number of interactions by all users who cheer for the target object by triggering the cheering control.
[0046] In some implementations, when a user triggers the target interactive control, in addition to displaying the target animation, the display style of the target interactive control can be further switched, such as switching the target interactive control from a first display style to a second display style. Figure 2 and Figure 3 As shown in the figure (using the refueling control 21 as an example of the target interactive control). Optionally, the interaction method provided in this embodiment further includes: in response to the search operation, switching the target interactive control from a first display style to a second display style. The first display style and the second display style can be different display styles. For example, the first display style can indicate to the user that the target interactive control can be triggered; the second display style can indicate to the user that the target interactive control has already been triggered within the current triggering period, or the second display style can indicate to the user that the target interactive control cannot be triggered at present.
[0047] In some implementations, when a user triggers the target interactive control, in addition to displaying the target animation, interactive prompt information 31 can be further displayed (e.g., ...). Figure 3 The "+1" shown in the image indicates that the user has successfully interacted with the target object. This interactive prompt 31 can be displayed at a preset location on the search results page; it can also be displayed at a location associated with the target interactive control. Optionally, the interaction method provided in this embodiment further includes: in response to the search operation, displaying interactive prompt information at the associated location of the target interactive control, the interactive prompt information indicating successful interaction with the target object.
[0048] It should be noted that the order in which the target animation is displayed, the number of target interactions is updated, the display style of the target interactive control is switched, and the interactive prompts are displayed can be flexibly set as needed. For example, at least two of the above operations can be performed simultaneously, or at least two of the above operations can be performed sequentially according to a preset order. This embodiment does not impose any restrictions on this.
[0049] The interaction method provided in this embodiment, in response to a search operation targeting a target object, displays at least one interactive control corresponding to the target object on the search results page; in response to a trigger operation of a target interactive control among the at least one interactive control, it displays a target animation, which is an animation of a target visual element associated with the target object. By employing the above technical solution, this embodiment displays interactive controls corresponding to the target object on the search results page, and when a user triggers an interactive control, displays an animation of a visual element associated with the target object. This not only enriches the interactive functions supported by the search results page and simplifies the operations required for users to interact with the target object, but also enriches the interaction forms when interacting with the target object and the displayed content of the search results page.
[0050] Figure 4 This is a flowchart illustrating another interaction method provided by an embodiment of this disclosure. The solution in this embodiment can be combined with one or more optional solutions in the above embodiments. Optionally, displaying at least one interactive control corresponding to the target object in the search results page includes: playing an associated video of the target object in a first area of the search results page, and displaying at least one interactive control corresponding to the target object in a second area of the search results page.
[0051] Optionally, displaying the target animation includes: displaying the target animation and keeping the associated video playing in the first area of the search results page.
[0052] Optionally, displaying the target animation includes: displaying the target animation in a target display area on the screen, wherein the position and / or size of the target display area is associated with the target animation.
[0053] Optionally, after displaying the target animation, the method further includes: canceling the display of the target animation when a trigger operation is received within the search results page; or, canceling the display of the target animation when it has finished displaying.
[0054] Correspondingly, such as Figure 4 As shown, the interaction method provided in this embodiment may include:
[0055] S201. In response to a search operation targeting a target object, play a video associated with the target object in a first area of the search results page, and display at least one interactive control corresponding to the target object in a second area of the search results page.
[0056] The associated videos of the target object can be considered as videos related to the target object, which can include live videos and / or non-live videos. For example, the associated videos can be videos featuring the target object, such as videos of the target object's matches; or videos filmed by the target object, such as live streams or videos posted by the target object. The first area can be an area on the search results page used to play the associated videos of the target object. It can be located within and / or outside the target object's object card. That is, the search results page can have one or more first areas, which may or may not include the first area located within the target object's object card. The second area can be an area on the search results page used to display interactive controls corresponding to the target object. It can be located within or outside the target object's object card.
[0057] In this embodiment, when a search operation for a target object is received, the associated videos of the target object can also be obtained and played on the search results page for the user to watch.
[0058] Taking the first region 24 and the second region 25 as examples, where the first region 24 and the second region 25 are located within the object card 20 of the target object, for example... Figure 2 As shown, when a search operation for a target object is received, the target object's object card 20 can be displayed on the search results page in response to the search operation, and the associated video of the target object can be played in the first area 24 of the object card 20. At least one interactive control corresponding to the target object can be displayed in the second area 25 of the object card 20.
[0059] Therefore, users can watch associated videos of the target object in the first area 24, and / or switch between associated videos played in the first area 24 by performing a video switching operation; they can also interact with the target object through the interactive controls displayed in the second area 25. This video switching operation can be understood as a trigger operation used to instruct the user to switch between associated videos played in the first area 24 of the target object card 20, such as a horizontal or vertical swipe operation within the first area 24. The first area 24 may also further display partial video covers with the next associated video to prompt the user to switch between watching different associated videos of the target object.
[0060] S202. In response to a triggering operation on a target interactive control in the at least one interactive control, display a target animation in a target display area on the screen and maintain the associated video playing in a first area of the search results page, and execute S203 or S204, wherein the position and / or size of the target display area is associated with the target animation, the target animation is an animation of a target visual element, and the target visual element is associated with the target object.
[0061] In this embodiment, the display of the target animation will not interrupt the display of content on the search results page. For example, if a video associated with the target object is playing on the search results page before a trigger operation is received for the target interactive control, the video associated with the target object can continue to play when the target animation is displayed in response to the trigger operation for the target interactive control, so that the user can watch the target animation and the video associated with the target object at the same time, ensuring the continuity of the video associated with the target object.
[0062] In this embodiment, different display areas for displaying animations of visual elements associated with the target object can be pre-set on the screen. For example, three display areas can be set on the screen: an upper display area, a middle display area, and a lower display area. The upper display area can be a display area with its upper boundary as the upper edge of the screen's visible area; the middle display area can be a display area with its center line as the horizontal center line of the screen's visible area; and the lower display area can be a display area with its lower boundary as the lower edge of the screen's visible area. The width of each display area can be the same as the width of the screen's visible area, and the aspect ratio of each display area can be 1:1, 3:4, or 4:3, specifically matching the aspect ratio of the animation to be displayed. For example, several aspect ratios can be pre-set for designers to choose from, allowing designers to design animations based on these aspect ratios; alternatively, when displaying an animation of a visual element associated with the target object, the size of the display area can be determined based on the aspect ratio of that animation. This embodiment does not limit this.
[0063] For example, when a trigger operation is received for a target interactive control, the target animation of the target visual element associated with the target object can be obtained. The position of the target display area is determined based on the display area identifier carried in the animation information of the target animation. The size of the target display area is determined based on the aspect ratio information carried in the animation information of the target animation or based on the aspect ratio information of the screen in the target animation. The target animation is then displayed in the target display area on the screen, and the associated video of the target object is played in the first area of the search results page. The target display area can be the area used to display the target animation.
[0064] In addition, when a trigger operation is received for the target interactive control, the position of the target display area can be determined according to the trigger position of the trigger operation (such as the current display position of the target interactive control on the screen), the size of the target display area can be determined according to the aspect ratio information of the target animation, and the target animation can be displayed in the target display area.
[0065] Therefore, since the aspect ratio of the target display area matches that of the target animation, at most the target animation only needs to be scaled proportionally to fully display the target animation in the target display area. This avoids situations where the target animation is not fully displayed or needs to be cropped, further improving the display effect of the target animation.
[0066] S203. When a trigger operation is received that acts on the search results page, the target animation is canceled from being displayed.
[0067] In this embodiment, the display of the target animation does not interrupt the interactions supported on the search results page. That is, when the target animation is displayed, the user can still control the page content displayed on the search results page by performing corresponding trigger operations. The page content may include the target animation and / or the original page content of the search results page before the target animation was displayed.
[0068] Specifically, when a trigger action is received that operates within the search results page, the target animation can be canceled. For example, when a trigger action is received targeting the target animation, its display can be canceled; when a trigger action is received targeting the original page content within the search results page, the target animation can be canceled, and control over the original page content within the search results page can be applied based on that trigger action.
[0069] In this embodiment, the cancellation methods for the target animation corresponding to different triggering operations on the search results page can be the same or different. In other words, when different triggering operations are received on the search results page, the target animation can be cancelled using the same or different cancellation methods, which can be set as needed.
[0070] In some implementations, canceling the display of the target animation when a trigger operation is received on the search results page includes: canceling the display of the target animation using a cancellation method corresponding to the currently received trigger operation when a trigger operation is received on the search results page.
[0071] Specifically, when a trigger action is received on the search results page, the corresponding cancellation method can be determined, and the target animation can be cancelled using that method. This cancellation method may include at least one of immediate cancellation and gradual cancellation. Gradual cancellation may include fading out and / or moving the animation out of the visible area of the screen. Fading out can be understood as gradually reducing the transparency of the target animation to 0 before cancellation.
[0072] For example, when a trigger operation is received targeting the target animation, the target animation can be canceled immediately; when a page switching operation is received targeting the search results page, the target animation can be canceled according to the cancellation method of the search results page, such as controlling the target animation to move synchronously with the search results page to move out of the visible area of the screen; when other trigger operations are received targeting the target animation or page switching operation on the search results page, the target animation can be canceled by fading out.
[0073] S204. When the target animation is finished being displayed, the display of the target animation is canceled.
[0074] In this embodiment, when the target animation is finished being displayed, such as when the target animation finishes playing, the display of the target animation can be canceled, such as canceling the display of the target animation immediately or gradually canceling the display of the target animation. This embodiment does not restrict the way the target animation is canceled when it is finished being displayed.
[0075] The interactive method provided in this embodiment displays a target animation without blocking the display and interaction of the original page content on the search results page. When different conditions are met, the target animation is canceled using corresponding cancellation methods, allowing users to simultaneously view the target animation and the original page content on the search results page, as well as interact with the original page content on the search results page. This provides convenience for users to view or interact with the page content on the search results page.
[0076] Figure 5This is a structural block diagram of an interactive device provided in an embodiment of this disclosure. The device can be implemented by software and / or hardware, and can be configured in an electronic device, typically a mobile phone or tablet computer, and can perform search and interaction with individuals or teams by executing interactive methods. Figure 5 As shown, the interactive device provided in this embodiment may include: a control display module 501 and an animation display module 502, wherein,
[0077] The control display module 501 is used to display at least one interactive control corresponding to the target object in the search results page in response to a search operation for the target object;
[0078] Animation display module 502 is used to display a target animation in response to a trigger operation on a target interactive control in the at least one interactive control. The target animation is an animation of a target visual element, which is associated with the target object.
[0079] The interactive device provided in this embodiment, in response to a search operation targeting a target object, displays at least one interactive control corresponding to the target object on the search results page through a control display module; and in response to a trigger operation of a target interactive control among the at least one interactive control, it displays a target animation, which is an animation of a target visual element associated with the target object. By adopting the above technical solution, this embodiment displays interactive controls corresponding to the target object on the search results page, and displays an animation of a visual element associated with the target object when the user triggers a certain interactive control. This not only enriches the interactive functions supported by the search results page and simplifies the operations required for users to interact with the target object, but also enriches the interaction forms and the displayed content of the search results page.
[0080] In the above scheme, the control display module 501 can be used to: play the associated video of the target object in the first area of the search results page, and display at least one interactive control corresponding to the target object in the second area of the search results page.
[0081] In the above scheme, the animation display module 502 can be used to: display the target animation and keep the associated video playing in the first area of the search results page.
[0082] In the above scheme, the animation display module 502 can be used to: display a target animation in a target display area on the screen, wherein the position and / or size of the target display area is associated with the target animation.
[0083] In the above scheme, the animation display module 502 can be used to perform at least one of the following: in response to the search operation, update the target interaction count of the target object, wherein the target interaction count is the number of interactions corresponding to the target interactive control; in response to the search operation, switch the target interactive control from a first display style to a second display style; in response to the search operation, display interactive prompt information at the associated position of the target interactive control, wherein the interactive prompt information is used to indicate that the interaction with the target object was successful.
[0084] Furthermore, the interactive device provided in this embodiment may also include: a cancellation display module, used to cancel the display of the target animation when a trigger operation is received on the search results page after the target animation is displayed; or, to cancel the display of the target animation when the target animation has finished being displayed.
[0085] In the above scheme, the cancellation display module can be used to: when a trigger operation is received that acts on the search results page, cancel the display of the target animation by adopting the cancellation display method corresponding to the currently received trigger operation.
[0086] The interactive device provided in this disclosure can execute the interactive method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the interactive method. Technical details not described in detail in this embodiment can be found in the interactive method provided in any embodiment of this disclosure.
[0087] The following is for reference. Figure 6 The diagram illustrates a structural schematic of an electronic device (e.g., a terminal device) 600 suitable for implementing embodiments of the present disclosure. 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. Figure 6 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0088] like Figure 6As shown, electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 601, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 602 or a program loaded from storage device 608 into random access memory (RAM) 603. RAM 603 also stores various programs and data required for the operation of electronic device 600. Processing device 601, ROM 602, and RAM 603 are interconnected via bus 604. Input / output (I / O) interface 605 is also connected to bus 604.
[0089] Typically, the following devices can be connected to I / O interface 605: input devices 606 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 607 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 608 including, for example, magnetic tapes, hard disks, etc.; and communication devices 609. Communication device 609 allows electronic device 600 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 6 An electronic device 600 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0090] 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 a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, it performs the functions defined in the methods of embodiments of this disclosure.
[0091] 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.
[0092] 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 peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0093] 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.
[0094] The aforementioned computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: in response to a search operation targeting a target object, display at least one interactive control corresponding to the target object in a search results page; and in response to a triggering operation on a target interactive control among the at least one interactive control, display a target animation, the target animation being an animation of a target visual element associated with the target object.
[0095] 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).
[0096] 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.
[0097] The units described in the embodiments of this disclosure can be implemented in software or hardware. The names of modules do not, in some cases, constitute a limitation on the unit itself.
[0098] 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.
[0099] 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.
[0100] According to one or more embodiments of this disclosure, Example 1 provides an interaction method, including:
[0101] In response to a search operation targeting a target object, at least one interactive control corresponding to the target object is displayed on the search results page;
[0102] In response to a triggering operation on a target interactive control in the at least one interactive control, a target animation is displayed, the target animation being an animation of a target visual element associated with the target object.
[0103] According to one or more embodiments of this disclosure, Example 2, based on the method described in Example 1, includes displaying at least one interactive control corresponding to the target object on the search results page, comprising:
[0104] Play a video associated with the target object in the first area of the search results page, and display at least one interactive control corresponding to the target object in the second area of the search results page.
[0105] According to one or more embodiments of this disclosure, Example 3, based on the method described in Example 2, includes displaying the target animation, comprising:
[0106] Display the target animation and keep the associated video playing in the first area of the search results page.
[0107] According to one or more embodiments of this disclosure, Example 4, based on the method described in Example 1, includes displaying the target animation, comprising:
[0108] Display the target animation in a target display area on the screen, wherein the position and / or size of the target display area is associated with the target animation.
[0109] According to one or more embodiments of this disclosure, Example 5, based on any one of Examples 1-4, further includes at least one of the following:
[0110] In response to the search operation, update the target interaction count of the target object, where the target interaction count is the number of interactions corresponding to the target interactive control;
[0111] In response to the search operation, the target interactive control is switched from the first display style to the second display style;
[0112] In response to the search operation, an interactive prompt is displayed at the associated location of the target interactive control, the prompt indicating that the interaction with the target object was successful.
[0113] According to one or more embodiments of this disclosure, Example 6, following the display of the target animation, further includes the method described in any of Examples 1-4:
[0114] When a trigger action is received on the search results page, the target animation is canceled; or
[0115] Once the target animation has finished displaying, the display of the target animation will be canceled.
[0116] According to one or more embodiments of this disclosure, Example 7, based on the method described in Example 6, includes canceling the display of the target animation upon receiving a trigger operation acting on the search results page, comprising:
[0117] When a trigger operation is received that acts on the search results page, the target animation is canceled by using the cancellation method corresponding to the currently received trigger operation.
[0118] According to one or more embodiments of this disclosure, Example 8 provides an interactive device, including:
[0119] A control display module is used to display at least one interactive control corresponding to the target object in the search results page in response to a search operation for the target object.
[0120] An animation display module is used to display a target animation in response to a trigger operation on a target interactive control in the at least one interactive control. The target animation is an animation of a target visual element, which is associated with the target object.
[0121] According to one or more embodiments of this disclosure, Example 9 provides an electronic device, including:
[0122] One or more processors;
[0123] Memory, used to store one or more programs.
[0124] When the one or more programs are executed by the one or more processors, the one or more processors implement the interaction method as described in any of Examples 1-7.
[0125] 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 the interactive method as described in any of Examples 1-7.
[0126] 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.
[0127] 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.
[0128] 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 interaction method, characterized in that, include: In response to a search operation targeting a target object, at least one interactive control corresponding to the target object and meeting its display conditions is displayed on the search results page; In response to a trigger operation on a target interactive control in the at least one interactive control, the position of a target display area is determined according to the trigger position of the trigger operation, a target animation is displayed in the target display area on the screen, and an associated video of the target object is played in a first area of the search results page, wherein at least one of the position and size of the target display area is associated with the target animation, the target animation is an animation of a target visual element, and the target visual element is associated with the target object; During the display of the target animation, in response to a triggered operation received within the search results page, the page content displayed in the search results interface is controlled.
2. The method according to claim 1, characterized in that, Displaying at least one interactive control corresponding to the target object on the search results page includes: Play a video associated with the target object in the first area of the search results page, and display at least one interactive control corresponding to the target object in the second area of the search results page.
3. The method according to any one of claims 1-2, characterized in that, It also includes at least one of the following: In response to the search operation, update the target interaction count of the target object, where the target interaction count is the number of interactions corresponding to the target interactive control; In response to the search operation, the target interactive control is switched from the first display style to the second display style; In response to the search operation, an interactive prompt is displayed at the associated location of the target interactive control, the prompt indicating that the interaction with the target object was successful.
4. The method according to any one of claims 1-2, characterized in that, Following the presentation of the target animation, the following is also included: When a trigger action is received on the search results page, the target animation is canceled; or Once the target animation has finished displaying, the display of the target animation will be canceled.
5. The method according to claim 4, characterized in that, The step of canceling the display of the target animation when a trigger operation is received on the search results page includes: When a trigger operation is received that acts on the search results page, the target animation is canceled by using the cancellation method corresponding to the currently received trigger operation.
6. An interactive device, characterized in that, include: A control display module is used to display at least one interactive control that corresponds to the target object and meets its display conditions on the search results page in response to a search operation for the target object. An animation display module is configured to respond to a trigger operation on a target interactive control in at least one interactive control, determine the position of a target display area based on the trigger position of the trigger operation, display a target animation in the target display area on the screen, and maintain the playback of an associated video of the target object in a first area of the search results page, wherein at least one of the position and size of the target display area is associated with the target animation, the target animation is an animation of a target visual element, and the target visual element is associated with the target object; During the display of the target animation, in response to a triggered operation received within the search results page, the page content displayed in the search results interface is controlled.
7. An electronic device, characterized in that, include: 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 interactive method according to any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the interactive method of any one of claims 1-5.