Recommended content display method and device, electronic equipment, storage medium and program product
By displaying the floating interface in the application and responding to user interactive operations, the reward is determined, which solves the problem of users easily exiting and improves the conversion rate and exposure of recommended content.
Patent Information
- Application Number
- CN202310365176.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing technology, when recommended content is displayed in an application, users are prone to exit or switch to other matters after the minimum display time, resulting in a low conversion rate.
By superimposing and displaying a floating layer interface independent of the recommended content during the display process of recommended content, and displaying interactive controls in the floating layer interface, in response to the user's interactive operations, the target reward is determined from the reward set, and the business parties who reward the recommended content are rewarded. or application operators to increase user interactivity.
It improves the user's retention rate and interactivity during the display of recommended content, increases the exposure and conversion rate of recommended content, and makes recommended content and interaction independent and non-interfering.
Smart Images

Figure CN118735622A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, electronic device, storage medium and program product for displaying recommended content. Background Art
[0002] At present, when manufacturers promote related products (which can be physical products or virtual products), they often choose to release recommended content of the product through multiple channels to achieve the effect of promotion. For example, with the development of computer technology, various applications have entered people's lives, and manufacturers usually choose to release recommended content in these applications.
[0003] In the current related technologies, when these applications display recommended content, users usually exit the display when the recommended content reaches the minimum display time, or turn to handle other matters and wait for the recommended content to complete its own display, resulting in a low conversion rate of the recommended content. Summary of the invention
[0004] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium, and computer program product for displaying recommended content, which can improve the conversion rate of recommended content.
[0005] In a first aspect, the recommended content display method provided by the present application includes:
[0006] In response to a recommended content display operation in the current application, display the recommended content through the current application;
[0007] During the display of recommended content, a floating interface independent of the recommended content is displayed overlaid, and interactive controls are displayed in the floating interface;
[0008] In response to an interactive operation on the interactive control, determining a target reward from a reward set, where the rewards in the reward set come from at least one of a business party that recommends the content or an operator of the current application;
[0009] A reward window is displayed in the floating interface, and the reward window includes reward information indicating a target reward.
[0010] In a second aspect, the recommended content display device provided by the present application includes:
[0011] A content display module, for responding to a recommended content display operation in a current application and displaying recommended content through the current application;
[0012] An interface display module, used to display a floating interface independent of the recommended content during the display of the recommended content, and to display interactive controls in the floating interface;
[0013] A control interaction module, for determining a target reward from a reward set in response to an interactive operation on the interactive control, where the reward in the reward set comes from at least one of a business party of the recommended content or an operator of the current application;
[0014] The reward display module is used to display a reward window in a floating interface, and the reward window includes reward information indicating a target reward.
[0015] In an optional embodiment, the control interaction module is used to obtain operation information of interactive operations on interactive controls; when it is determined according to the operation information that the interactive operation meets the reward condition, the target reward is determined from the reward set.
[0016] In an optional embodiment, the interactive operation includes a click operation on an interactive control, and the control interaction module is used to obtain the click duration of the click operation from the operation information; if the click duration of the click operation reaches a preset duration, it is determined that the click operation meets the reward conditions, and the target reward is determined from the reward set.
[0017] In an optional embodiment, the control interaction module is used to enlarge and display the interactive control in response to an increase in the click duration of the click operation.
[0018] In an optional embodiment, the interactive operation includes a drag operation on an interactive control, and the control interaction module is used to obtain the drag distance of the drag operation from the operation information; if the drag distance of the drag operation reaches a preset distance, it is determined that the drag operation meets the reward conditions, and the target reward is determined from the reward set.
[0019] In an optional embodiment, the control interaction module is used to move the interactive control following the drag operation, and in response to an increase in the dragging distance of the drag operation, enlarge and display the interactive control.
[0020] In an optional embodiment, the interactive operation includes a shaking operation on the interactive control, and the control interaction module is used to obtain the number of shakes of the shaking operation from the operation information; if the number of shakes of the shaking operation reaches a preset number, it is determined that the shaking operation meets the reward conditions, and the target reward is determined from the reward set.
[0021] In an optional embodiment, the control interaction module is used to obtain the shaking direction and shaking distance of the shaking operation from the operation information; move the interactive control following the shaking direction, and in response to the increase of the shaking distance, enlarge and display the interactive control.
[0022] In an optional embodiment, before determining the target reward from the reward set, the control interaction module is also used to play an interactive animation of the interactive control, where the interactive animation is used to indicate that the interactive control is triggered; and in response to the completion of the interactive animation, determining the target reward from the reward set.
[0023] In an optional embodiment, the interactive control includes a reward indicator, the rewards in the reward set include virtual rewards, the virtual rewards in the reward set originating from the business party that recommends the content include at least one of red envelope rewards, discount rewards, and coupon rewards, the virtual rewards in the reward set originating from the operator of the current application include at least one of virtual prop rewards, multiple rewards, rewards for offsetting the duration of recommended content, and rewards for skipping recommended content, and the control interactive module is also used to determine the offset duration value of the offset recommended content duration reward if it is determined that the target reward is a reward for offsetting the duration of recommended content; and display the offset duration value in the reward window through the reward indicator.
[0024] In an optional embodiment, the interface display module is also used to perform content analysis during the display of recommended content to obtain content analysis results of the recommended content; determine the target transparency of the floating interface based on the content analysis results, and adjust the transparency of the floating interface to the target transparency.
[0025] In an optional embodiment, the reward display module is also used to determine whether the target reward is a reward that requires interactive operation to obtain; if the target reward is a reward that requires interactive operation to obtain, a first jump control is displayed in the reward window; in response to the triggering operation of the first jump control, jump to the interactive interface of the target reward, and the interactive interface is used to respond to the interactive operation to obtain the target reward.
[0026] In an optional embodiment, the reward display module is further used to determine whether there are remaining interaction times for the interactive control if the target reward is a reward that does not require interactive operation; if there are remaining interaction times for the interactive control, display a second jump control;
[0027] In response to a triggering operation on the second jump control, the interface display module is further used to display the interactive control in the floating interface.
[0028] In an optional embodiment, the interface display module is also used to display the remaining number of interactions in the floating interface.
[0029] In an optional embodiment, the interface display module is also used to display interactive prompt information in the floating interface, and the interactive prompt information is used to instruct to perform interactive operations to obtain rewards.
[0030] In an optional embodiment, the control interaction module is further used to randomly select at least one reward from the reward set to determine it as the target reward.
[0031] In a third aspect, the electronic device provided by the present application includes a memory and a processor, the memory stores a computer program, and the processor is used to run the computer program in the memory to implement the steps in the recommended content display method provided by the present application.
[0032] In a fourth aspect, the computer-readable storage medium provided in the present application stores a plurality of instructions, which are suitable for a processor to load to implement the steps in the recommended content display method provided in the present application.
[0033] In a fifth aspect, the computer program product provided in the present application includes a computer program or instructions, which, when executed by a processor, implements the steps in the recommended content display method provided in the present application.
[0034] In the present application, firstly, in response to the recommended content display operation in the current application, the recommended content is displayed through the current application. During the display of the recommended content, a floating interface independent of the recommended content is superimposed and displayed, and interactive controls are displayed in the floating interface; then, in response to the interactive operation of the interactive control, the target reward is determined from the reward set, and the reward in the reward set comes from at least one of the business party of the recommended content or the operator of the current application; finally, a reward window is displayed in the floating interface, and the reward window includes reward information indicating the target reward. Through the above technical solution, interactive capabilities are provided during the display of recommended content. Only certain interactive operations are required to obtain rewards from at least one of the business party of the recommended content or the operator of the application as feedback, which can increase the enthusiasm of user interaction, so that more users stay in the display process of the recommended content. Moreover, the display and interaction of the recommended content are completely independent, and the two parties do not interfere with each other, which can increase the exposure of the recommended content, and ultimately achieve the purpose of improving the conversion rate of the recommended content. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0036] Figure 1a is a schematic diagram of a scenario of a recommended content display system provided in an embodiment of the present application;
[0037] Figure 1b It is a flowchart of a method for displaying recommended content provided by an embodiment of the present application;
[0038] Figure 1c This is an example diagram showing interactive feedback of a click operation in an embodiment of the present application;
[0039] Figure 1d This is an example diagram showing interactive feedback of a drag operation in an embodiment of the present application;
[0040] Figure 1e is an example diagram showing interactive feedback of a shaking operation in an embodiment of the present application;
[0041] Figure 1f This is an example diagram of playing an interactive animation in an embodiment of the present application;
[0042] Figure 1g is another example diagram of playing an interactive animation in an embodiment of the present application;
[0043] Figure 1h is another example diagram of playing interactive animation in an embodiment of the present application;
[0044] Figure 1i This is an example diagram showing a reward window in an embodiment of the present application;
[0045] Figure 1j is another example diagram showing a reward window in an embodiment of the present application;
[0046] Figure 1k This is an example diagram of jumping to the interactive interface in an embodiment of the present application;
[0047] Figure 1l This is an example diagram of an interactive control displayed by jumping from a reward window in an embodiment of the present application;
[0048] Figure 1m This is another example diagram of displaying interactive controls by jumping from a reward window in an embodiment of the present application;
[0049] Figure 1n This is an example diagram showing interactive prompt information in an embodiment of the present application;
[0050] Figure 2 is another flowchart of the method for displaying recommended content provided by an embodiment of the present application;
[0051] Figure 3 is a schematic diagram of the structure of the recommended content display device provided in an embodiment of the present application;
[0052] Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] It should be noted that the principles of the present application are illustrated by implementing them in an appropriate computing environment. The following description is based on the illustrated specific embodiments of the present application and should not be considered as limiting other specific embodiments of the present application that are not described in detail herein.
[0054] In the following description of the present application, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0055] In the following description of the present application, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0056] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0057] In order to improve the interactivity of recommended content and achieve the purpose of improving the recommendation success rate, the embodiments of the present application provide a recommended content display method, a recommended content display device, an electronic device, a computer-readable storage medium, and a computer program product. The recommended content display method can be executed by the recommended content display device, or by an electronic device integrated with the recommended content display device.
[0058] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0059] Please refer to Figure 1a , this application also provides a recommended content display system, such as Figure 1a As shown, the recommended content display system includes an electronic device 100, and the recommended content display device provided by the present application is integrated in the electronic device 100. For example, the electronic device 100 can respond to the recommended content display operation in the current application, display the recommended content through the current application, and in the process of displaying the recommended content, superimpose and display a floating interface independent of the recommended content, and display an interactive control in the floating interface, and in response to the interactive operation of the interactive control, determine a target reward from a reward set, the rewards in the reward set come from at least one of the business party of the recommended content or the operator of the current application, and display a reward window in the floating interface, the reward window including reward information indicating the target reward.
[0060] Among them, the electronic device 100 can be any device equipped with a processor and capable of displaying recommended content, such as a smart phone, tablet computer, PDA, laptop computer and other mobile electronic devices capable of displaying recommended content, or a desktop computer, television and other fixed electronic devices capable of displaying recommended content.
[0061] In addition, if Figure 1a As shown, the recommended content display system may further include a memory 200 for storing relevant data in the recommended content display process. For example, the electronic device 100 stores content data for displaying recommended content and reward information for indicating a target reward in the memory 200 .
[0062] It should be noted that Figure 1a The scenario diagram of the recommended content display system shown is merely an example. The recommended content display system and scenario described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. A person of ordinary skill in the art will appreciate that, with the evolution of the recommended content display system and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is equally applicable to similar technical problems.
[0063] It should be noted that the serial numbers of the following embodiments are not intended to limit the preferred order of the embodiments.
[0064] Please refer to Figure 1b , Figure 1b is a flowchart of a method for displaying recommended content provided by an embodiment of the present application. Figure 1b As shown, the process of the recommended content display method provided by this application is as follows:
[0065] In 110 , in response to a recommended content display operation in the current application, recommended content is displayed through the current application.
[0066] Among them, the current application refers to the application currently running on the electronic device, which can be any type of application, including but not limited to traditional applications that need to be installed to run, small program applications that can be run without installation, and web applications run through browser applications. The recommended content display operation is an operation used to trigger the display of recommended content, which can be triggered by the electronic device itself or by the electronic device in response to external operations. Recommended content is any form of content (such as text, images, videos, etc.) with a recommendation purpose. Exemplarily, the recommended content can be incentive advertising content in the form of video.
[0067] For example, taking the incentive advertising content in a certain game application as an example, the game application limits the free play time, and in response to the play time reaching the free play time, the recommended content display operation is triggered, that is, the game application automatically triggers the recommended content display operation when the play reaches the free play time, so that after the display of the incentive advertising content is completed, the free play time can be increased accordingly; for another example, continuing to take the game application as an example, the game application limits the number of times a virtual character can die, and in response to the number of deaths of the virtual character reaching the allowable number of deaths, the recommended content confirmation control is displayed, and in response to the triggering operation of the recommended content confirmation control, the recommended content display operation is triggered, that is, when the number of deaths of the virtual character reaches the allowable number of deaths, the player confirms whether to display the incentive advertising content, so that after the display of the incentive advertising content is completed, the number of possible deaths is increased accordingly.
[0068] In this embodiment, when a recommended content display operation input is received through the current application, in response to the recommended content display operation, a content recommendation interface is displayed through the current application, and recommended content is displayed in the content recommendation interface.
[0069] In 120 , during the display of the recommended content, a floating interface independent of the recommended content is displayed in an overlay, and interactive controls are displayed in the floating interface.
[0070] In the process of displaying recommended content, this embodiment displays a floating interface with transparency on the display interface of recommended content (i.e., content recommendation interface), and the floating interface is independent of the content recommendation interface for displaying recommended content, and displays interactive controls in the floating interface. In this way, since the interactive controls are displayed in the floating interface with transparency, the floating interface and the content recommendation interface are completely independent and do not interfere with each other. At this time, the recommended content can continue to be displayed in the content recommendation interface, so that the recommended content can still be visible.
[0071] The transparency of the floating interface can be set by those skilled in the art according to actual needs. For example, the transparency of the floating interface can be statically configured to be a fixed value, such as 50%, 40%, 20%, and so on.
[0072] It should be noted that in this embodiment, there is no specific restriction on the display image of the interactive control, which can be selected by technical personnel in this field according to actual needs. For example, it can be an interactive control in the image of a treasure box, a magic cube, a blind box, a moonlight treasure box, a gem, a gyroscope, and a random door.
[0073] In 130 , in response to the interactive operation on the interactive control, a target reward is determined from a reward set, where the rewards in the reward set come from at least one of a business party of the recommended content or an operator of the current application.
[0074] Among them, according to the image of the interactive control to be displayed, an operation matching the image can be configured as an interactive operation to trigger the target reward. For example, for an interactive control with the image of a Rubik's Cube, the interactive operation can be configured according to the actual operation of twisting the Rubik's Cube in the real world, such as a two-finger back-sliding operation on the interactive control with the image of the Rubik's Cube; for another example, for an interactive control with the image of a spinning top, the interactive operation can be configured according to the operation of spinning the spinning top in the real world, such as a sliding operation on the interactive control with the image of the spinning top; for another example, for an interactive control with the image of a Moonlight Box, the interactive operation on the interactive control can be configured as saying the voice command "Prajnaparamita", etc.
[0075] In this embodiment, when an interactive operation for an interactive control is received, a target reward is determined from the rewards included in the reward set, and the reward set includes a variety of different rewards. Based on the source of the reward, it can be divided into rewards from the business party that recommends the content and rewards from the operator of the current application. It should be noted that in this embodiment, there is no specific limitation on the implementation method of determining the target reward from the reward set, and it can be configured by those skilled in the art according to actual needs.
[0076] In other embodiments, operations unrelated to the image of the interactive control may be configured as interactive operations that trigger the determination of the target reward. For example, for all interactive controls of images, a long press operation may be directly configured as an interactive operation on the interactive control.
[0077] In an optional embodiment, in order to improve the accuracy of the interactive operation and avoid the impact of misoperation, the response to the interactive operation is conditionally restricted, and in response to the interactive operation on the interactive control, a target reward is determined from a reward set, including:
[0078] Get the operation information of the interactive operation on the interactive control;
[0079] When it is determined based on the operation information that the interactive operation meets the reward condition, the target reward is determined from the reward set.
[0080] Among them, according to the operation type of the configured interactive operation (including but not limited to click, shake, drag, voice and blowing, etc.), the corresponding event monitor can be registered, and the operation information of the interactive operation can be obtained through the registered event monitor. In addition, the configuration of the reward conditions is not specifically limited in this embodiment, and can be configured by those skilled in the art according to the operation type of the interactive operation and actual needs.
[0081] For example, taking an electronic device that uses the Android system as an operating system and is equipped with a touch screen as an example, for an interactive operation of the operation type being click, a click event monitor can be set on the interactive control. In specific implementation, View.setOnClickListener can be called to set a click event monitor in the view (View) used to display the interactive control, so as to obtain the coordinates of the click operation, duration and other operation information in the callback of the click event monitor;
[0082] For interactive operations with the operation type of drag, a touch event monitor can be set on the interactive control. In specific implementation, View.setOnTouchListener can be called to set the touch event monitor in the view (View) used to display the interactive control, so as to obtain the initial coordinates, real-time coordinates and other operation information of the drag operation in the callback of the touch event monitor;
[0083] For interactive operations with the operation type of shaking, you can register a sensor event monitor to monitor changes in the acceleration sensor. When implementing it, you can register to monitor the acceleration sensor Sensor.TYPE_ACCELEROMETER through the Android official interface, and obtain operation information such as acceleration direction and acceleration magnitude in the sensor callback.
[0084] It should be noted that, assuming that multiple interactive operations of different operation types are configured at the same time, it is necessary to register a corresponding number of monitors suitable for different operation types to realize operation information. It is understandable that for other operating system types, those skilled in the art can refer to the above operation information acquisition method to realize the acquisition of operation information. In addition, when the recommended content display is completed, the registered monitors corresponding to the interactive operation need to be destroyed.
[0085] In this embodiment, operation information of the interactive operation on the interactive control is obtained from the callback of the registered event monitor. First, it is determined whether the operation information of the interactive operation meets the configured reward conditions. If it is determined based on the operation information that the interactive operation meets the reward conditions, then in response to the interactive operation, the target reward is determined from the rewards included in the reward combination.
[0086] In an optional embodiment, the interactive operation includes a click operation on the interactive control, and when it is determined according to the operation information that the interactive operation meets the reward condition, a target reward is determined from the reward set, including:
[0087] Get the click duration of the click operation from the operation information;
[0088] If the click duration of the click operation reaches a preset duration, it is determined that the click operation meets the reward condition, and the target reward is determined from the reward set.
[0089] This embodiment is described by taking the operation type of the interactive operation as a click operation. Among them, the configuration reward condition is: the click duration of the click operation on the interactive control reaches a preset duration, and the value of the preset duration can be configured by those skilled in the art according to actual needs, and is not specifically limited here.
[0090] For example, assuming that the preset duration is configured to be 0.5 seconds, the click duration of the click operation is obtained from the operation information. If the click duration of the click operation reaches the preset duration of 0.5 seconds, it is determined that the click operation meets the reward conditions, otherwise it is determined that the click operation does not meet the reward conditions; wherein, if it is determined that the click operation meets the reward conditions, the target reward is determined from the rewards included in the reward set; if it is determined that the click operation does not meet the reward conditions, continue to wait until the click duration of the click operation reaches the preset duration of 0.5 seconds. When it is determined that the click operation meets the reward conditions, the target reward is determined from the rewards included in the reward set.
[0091] In an optional embodiment, interactive feedback for the click operation is further provided to guide the user to make a click operation that meets the reward conditions. The recommended content display method provided by the present application also includes:
[0092] In response to an increase in the click duration of the click operation, the interactive control is enlarged and presented.
[0093] For example, please refer to Figure 1c , taking the interactive control of the image of a reward indicator as an example, the reward indicator can indicate the reward by displaying different numbers or points. When the user clicks the interactive control, the interactive control will be continuously enlarged and displayed as the click duration increases. Among them, taking the electronic device using the Android system as the operating system as an example, the interactive control can be an image of a reward indicator with the display content of "?" displayed through an image view (ImageView). The scaling function scale() is applied to the image. According to the increase in the click duration, the multiple of the scaling function scale() is increased accordingly, so that the interactive control is continuously enlarged and displayed as the click duration of the click operation increases.
[0094] In an optional embodiment, the interactive operation includes a drag operation on the interactive control, and when it is determined according to the operation information that the interactive operation meets the reward condition, a target reward is determined from the reward set, including:
[0095] Get the drag distance of the drag operation from the operation information;
[0096] If the dragging distance of the dragging operation reaches a preset distance, it is determined that the dragging operation meets the reward condition, and a target reward is determined from the reward set.
[0097] This embodiment is described by taking the operation type of the interactive operation as a drag operation. The drag distance of the drag operation can be calculated based on the initial coordinates and real-time coordinates in the operation information of the drag operation. The configuration reward condition is: the drag distance of the drag operation of the interactive control reaches a preset distance, and the value of the preset distance can be configured by those skilled in the art according to actual needs, and is not specifically limited here.
[0098] For example, in this embodiment, the value of the preset distance is configured according to the length / width of the display component (such as a touch screen, a display screen without a touch function, etc.) configured in the electronic device. For example, it is assumed that the preset distance is configured as one-third of the length of the electronic device display component. The dragging distance of the drag operation is obtained from the operation information. If the dragging distance of the drag operation reaches one-third of the length of the electronic device display component, it is determined that the drag operation meets the reward condition, otherwise it is determined that the drag operation does not meet the reward condition; wherein, if it is determined that the drag operation meets the reward condition, the target reward is determined from the rewards included in the reward set; if it is determined that the drag operation does not meet the reward condition, it continues to wait until the dragging distance of the drag operation reaches one-third of the length of the electronic device display component. When it is determined that the drag operation meets the reward condition, the target reward is determined from the rewards included in the reward set.
[0099] In an optional embodiment, interactive feedback for the drag operation is further provided to guide the user to perform a drag operation that meets the reward conditions. The recommended content display method provided by the present application also includes:
[0100] The interactive control is moved following the drag operation, and in response to an increase in the drag distance of the drag operation, the interactive control is enlarged and displayed.
[0101] For example, please refer to Figure 1d , continue to take the interactive control of the reward indicator image as an example, when the user performs a drag operation on the interactive control, the interactive control will move following the drag operation, and the effect of the interactive control being dragged and moved by the drag operation will be achieved. In addition, in response to the increase in the drag distance of the drag operation, the interactive control will continue to be enlarged and displayed. Among them, taking the electronic device using the Android system as an operating system as an example, the interactive control can be an image of a reward indicator with a display content of "?" displayed through an image view (ImageView), and the displacement function Translate() is applied to the image. According to the real-time coordinates in the operation information of the drag operation, the target coordinates of the displacement function Translate() are configured, so as to achieve the effect of the interactive control moving following the drag operation. In addition, the scaling function scale() is also applied to the image, and the multiple of the scaling function scale() is increased accordingly according to the increase in the drag distance, so as to achieve the interactive control continuing to be enlarged and displayed following the increase in the drag distance of the drag operation.
[0102] In an optional embodiment, the interactive operation includes a shaking operation of the interactive control, and when it is determined according to the operation information that the interactive operation meets the reward condition, a target reward is determined from the reward set, including:
[0103] Obtain the number of shakes of the shake operation from the operation information;
[0104] If the number of shakes of the shaking operation reaches a preset number, it is determined that the shaking operation meets the reward condition, and the target reward is determined from the reward set.
[0105] This embodiment is described by taking the operation type of the interactive operation as a shaking operation. Among them, the number of shakes can be calculated based on the acceleration direction and acceleration magnitude in the operation information of the shaking operation. For example, when the acceleration magnitude along an acceleration direction reaches a preset acceleration magnitude (which can be configured as 15m / s^2 by technicians in the field according to actual needs), it is determined to be shaken once. When the acceleration direction changes and the acceleration magnitude along the changed acceleration direction reaches the preset acceleration magnitude, it is determined to be shaken again, and so on, to calculate the number of shakes of the shaking operation. The configuration reward condition is: the number of shakes of the shaking operation of the interactive control reaches a preset number of times. The value of the preset number of times can be configured by technicians in the field according to actual needs, and no specific restrictions are made here.
[0106] For example, assuming that the preset number of times is configured as 4 times, the number of shakes of the shake operation is obtained from the operation information. If the number of shakes of the shake operation reaches 4 times, it is determined that the shake operation meets the reward conditions, otherwise it is determined that the shake operation does not meet the reward conditions; wherein, if it is determined that the shake operation meets the reward conditions, the target reward is determined from the rewards included in the reward set; if it is determined that the shake operation does not meet the reward conditions, continue to wait until the number of shakes of the shake operation reaches 4 times, and when it is determined that the shake operation meets the reward conditions, the target reward is determined from the rewards included in the reward set.
[0107] In an optional embodiment, interactive feedback for the shaking operation is further provided to guide the user to perform a shaking operation that meets the reward conditions. The recommended content display method provided by the present application also includes:
[0108] Acquire the shaking direction and shaking distance of the shaking operation from the operation information;
[0109] The interactive control is moved in the shaking direction, and in response to the increase of the shaking distance, the interactive control is enlarged and displayed.
[0110] For example, please refer to Figure 1e, continue to take the interactive control of the image of the reward indicator as an example, when the user performs a shaking operation on the interactive control, the interactive control will be moved in the shaking direction of the shaking operation to achieve the effect that the interactive control is shaken by the shaking operation. In addition, in response to the increase in the shaking distance of the shaking operation, the interactive control is continuously enlarged and displayed. Among them, taking the electronic device using the Android system as an operating system as an example, the interactive control can be an image of a reward indicator with a display content of "?" displayed by an image view (ImageView), and the displacement function Translate() is applied to the image, and the acceleration direction in the operation information is obtained as the shaking direction, and the acceleration of the shaking direction is integrated to obtain the shaking distance of the shaking direction. Combined with the shaking distance and the initial coordinates of the image, the target coordinates to which the image needs to be moved are calculated, and accordingly, the target coordinates of the displacement function Translate() are configured to achieve the effect that the interactive control moves following the shaking direction. In addition, the scaling function scale() is also applied to the image, and the multiple of the scaling function scale() is correspondingly increased according to the increase in the shaking distance, so as to achieve the interactive control to continue to be enlarged and displayed as the shaking distance of the shaking operation increases.
[0111] In an optional embodiment, the recommended content display method provided by the present application further includes:
[0112] Playing the interactive animation of the interactive control, where the interactive animation is used to indicate that the interactive control is triggered;
[0113] Determine the target reward from the reward set, including:
[0114] In response to the interactive animation being played, a target reward is determined from the reward set.
[0115] In this embodiment, when the interactive control is successfully triggered, an interactive animation is played to indicate that the interactive control is triggered, and when the interactive animation is played, the target reward is determined from the rewards included in the reward set. The interactive animation can be set according to the image of the interactive control.
[0116] For example, please refer to Figure 1f , showing an interactive control of a blind box image. When the interactive control of the blind box image is triggered by an input interactive operation, an animation of the blind box being opened is played accordingly. The animation of opening the blind box indicates that the interactive control of the blind box image is triggered.
[0117] For example, please refer to Figure 1g , showing an interactive control of an arbitrary door image. When the interactive control of the arbitrary door image is triggered by an input interactive operation, an animation of the arbitrary door being opened is played accordingly, and the animation of opening the arbitrary door indicates that the interactive control of the arbitrary door image is triggered.
[0118] In an optional embodiment, the interactive control includes a reward indicator, and playing the interactive animation of the interactive control includes:
[0119] Plays the throwing animation for the throwing reward indicator.
[0120] In this embodiment, an interactive control as a reward indicator is taken as an example for description.
[0121] For example, please refer to Figure 1h , when the displayed reward indicator is triggered by an interactive operation, a throwing animation of throwing the reward indicator will be played. Among them, taking the electronic device using the Android system as the operating system as an example, the reward indicator is a static image of a reward indicator with a display content of "?" displayed through an image view (ImageView). When an interactive operation is input, the static image of the reward indicator is stopped from being displayed, and a dynamic image with the image content of the reward indicator rotating is displayed instead, so as to play the throwing animation of the reward indicator. Among them, the image format of the dynamic image with the image content of the reward indicator rotating can be any one of the image formats such as gif, webp or apng, which can be selected by technical personnel in this field according to actual needs, and no specific limitation is made here.
[0122] In an optional embodiment, when the target reward is determined from the reward set, vibration feedback is also output.
[0123] In this embodiment, in addition to providing visual feedback for interactive operations (i.e., interactive animation), tactile feedback is also provided. For example, when a target reward is determined from a reward set, the vibration component is driven to output vibration feedback according to the configured vibration strategy. There is no specific limitation on the configuration of the vibration strategy here, and it can be configured by technical personnel in this field according to actual needs.
[0124] In an optional embodiment, determining a target reward from a reward set includes:
[0125] At least one reward is randomly selected from the reward set and determined as the target reward.
[0126] Among them, a random function can be used to randomly select at least one reward from the reward set to determine as the target reward. There is no specific restriction on which random function to use, and it can be selected by those skilled in the art according to actual needs.
[0127] In 140 , a reward window is displayed in the floating interface, and the reward window includes reward information indicating a target reward.
[0128] In this embodiment, after the target reward is determined from the reward set, a reward window is further displayed in the floating interface, and the reward window includes reward information indicating the target reward, wherein the reward information may be text information, image information and / or video information, etc. Taking the electronic device using the Android system as the operating system as an example, the reward window can be implemented through a Dialog, or through a custom view in a pop-up window style.
[0129] For example, please refer to Figure 1i Assuming that the determined target reward is a virtual prop in the current application, the reward information is composed of multiple parts, one part is the image of the virtual prop, one part is the text information indicating the reward type "Congratulations on getting the prop", and one part is the text information indicating the source of the reward "XX sends a gift", where "XX" refers to the source of the virtual prop, which can be the business party of the recommended content or the operator of the current application.
[0130] In an optional embodiment, in order to further enhance interactivity, in addition to indicating the target reward through reward information, if the interactive control has the ability to indicate the target reward, the target reward is also indicated through the interactive control. The interactive control below is used as an example of a reward indicator for illustration. In this embodiment, the rewards in the reward set include virtual rewards, and the virtual rewards from the business party of the recommended content in the reward set include at least one of red envelope rewards, discount rewards, and coupon rewards. The virtual rewards from the operator of the current application in the reward set include at least one of virtual prop rewards, multiple rewards, rewards for offsetting the duration of recommended content, and rewards for skipping recommended content. The recommended content display method also includes:
[0131] If the target reward is determined to be a reward for offsetting the duration of the recommended content, then the offset duration value for offsetting the duration of the recommended content reward is determined;
[0132] The bonus indicator in the bonus window shows the offset time value.
[0133] For example, please refer to Figure 1j , assuming that the determined target reward is a reward for offsetting the duration of recommended content, and the offset duration value of the reward for offsetting the duration of recommended content is determined to be 6 (seconds), the reward information of the target reward is displayed in the reward window accordingly. The reward information consists of multiple parts, one part is a text message indicating the reward type "Congratulations on your good luck", and the other part is a text message indicating the reward content "Recommended content duration minus 6 seconds". In addition, the offset duration value 6 (seconds) is displayed in digital form through a reward indicator in the reward window, and an image of a reward indicator with the display content "6" is displayed through an image view (ImageView).
[0134] In other embodiments, the reward set also includes physical rewards, wherein the physical rewards can be any physical items that comply with relevant laws, regulations and standards of relevant countries and regions.
[0135] In an optional embodiment, the recommended content display method provided in the embodiment of the present application further includes:
[0136] The business party's identification information and description information are displayed in the reward window.
[0137] For example, please continue to refer to Figure 1j The identification information may be a logo indicating the business party, and the description information may be configured according to the needs of the business party, such as the business party's slogan, etc.
[0138] In this way, in addition to being able to display business party information through recommended content, it can also provide new display points for the business party, which helps to increase the influence of the business party.
[0139] In an optional embodiment, the recommended content display method provided by the present application further includes:
[0140] Determine whether the target reward is a reward that requires interactive operations;
[0141] If the target reward is a reward that requires interactive operation, the first jump control is displayed in the reward window;
[0142] In response to a triggering operation on the first jump control, jump to an interactive interface of the target reward, where the interactive interface is used to respond to the interactive operation to obtain the target reward.
[0143] In this embodiment, rewards are divided into two categories according to whether interactive operations are required to obtain the rewards. One category is rewards that require interactive operations, and the other category is rewards that do not require interactive operations. The specific configuration can be made according to the actual needs of the business party and / or the operator. In addition, the type of interactive operations that need to be performed to obtain the determined target rewards can also be configured according to the actual needs of the business party and / or the operator. For example, the reward for offsetting the duration of recommended content and the reward for skipping recommended content can be configured as rewards that do not require interactive operations, and the red envelope reward, discount reward, and coupon reward can be configured as rewards that require interactive operations.
[0144] Among them, this embodiment, in addition to determining the target reward from the reward set and displaying the reward information indicating the target reward through the reward window, also determines whether the target reward is a reward that requires interactive operation to obtain; if the target reward is determined to be a reward that requires interactive operation to obtain, a first jump control is displayed in the reward window, and when the first jump control is triggered, it indicates jumping to the interactive interface of the target reward, and the interactive interface is used to receive interactive operations to obtain the target reward; when a trigger operation on the first jump control is received, in response to the trigger operation, jump to the interactive interface of the target reward.
[0145] Among them, there is no specific restriction on the display form of the first jump control and the type of triggering operation on it, and it can be set by technical personnel in this field according to actual needs. For example, the first jump control can be configured as a button-type control, and its triggering operation can be a click operation.
[0146] For example, please refer to Figure 1k , assuming that the target reward is a red envelope reward, the reward information of the target reward is displayed in the reward window accordingly. The reward information consists of multiple parts, one part is a text message indicating the type of reward "Congratulations on getting the red envelope", one part is a text message indicating the source of the reward "XX sends benefits", where "XX" refers to the source of the reward, and one part is an image information indicating the red envelope reward amount "36". In addition, it is also determined that the red envelope reward is a reward that requires interactive operation to obtain, and the first jump control for jumping to the interactive interface for obtaining the red envelope reward is displayed in the reward window accordingly. The first jump control also displays a prompt message indicating the receipt of the reward "Receive immediately". In response to the triggering operation of the first jump control, it jumps to the interactive interface for obtaining red envelope rewards, which includes a prompt message indicating how to obtain the red envelope reward "Please enter the account number to receive the red envelope", and also includes an input control, a cancel control and a confirmation control. The input control is configured to receive the account information of the account input for receiving the red envelope, the cancel control is configured to cancel the receipt of the red envelope reward when triggered, and the confirmation control is configured to distribute the red envelope reward to the account indicated by the input account information when triggered.
[0147] In an optional embodiment, the recommended content display method provided by the present application further includes:
[0148] If the target reward is a reward that requires interactive operations, a give-up control is also displayed in the reward window;
[0149] In response to a triggering operation on a discard control, determining whether there is a remaining number of interactions for the interactive control;
[0150] If there are remaining interactions for the interactive control, return to the step of displaying the interactive control in the floating interface.
[0151] In this embodiment, the ability to abandon a reward is also provided. If the target reward is determined to be a reward that requires interactive operation, in addition to displaying the first jump control in the reward window, an abandon control is also displayed in the reward window. The display form of the abandon control and the type of operation that triggers it are not specifically limited here, and can be configured by those skilled in the art according to actual needs.
[0152] After determining the target reward, if the target reward is a reward that requires interactive operations to obtain, this embodiment will simultaneously provide a first jump control for obtaining the target reward, and a abandonment control for abandoning the target reward. In addition, it should be noted that in the process of displaying recommended content, this embodiment limits the number of interactive controls that can be interacted with. There is no specific restriction on the value of the number of interactive controls here, and the value can be determined by those skilled in the art according to actual needs. For example, this embodiment dynamically configures different numbers of interactions according to the length of time the recommended content needs to be displayed, where the longer the display time, the more times the number of interactions can be.
[0153] Correspondingly, if a trigger operation to abandon the control is received, it is determined whether there are currently remaining interactions for the interactive control. If there are remaining interactions, return to the step of displaying the interactive control in the floating interface and provide an interaction opportunity again to stack rewards; if there are no remaining interactions, stop displaying the floating interface.
[0154] For example, please refer to Figure 1l , taking the interactive control as a reward indicator as an example, assuming that the determined target reward is a red envelope reward, the reward information of the target reward is displayed in the reward window accordingly. The reward information consists of multiple parts, one part is a text message indicating the reward type "Congratulations on getting the red envelope", one part is a text message indicating the source of the reward "XX sends benefits", where "XX" refers to the source of the reward, and one part is an image information indicating the red envelope reward amount "36". In addition, it is determined that the red envelope reward is a reward that requires interactive operation to obtain, and the first jump control for jumping to the interactive interface for obtaining the red envelope reward is displayed in the reward window accordingly. The first jump control also displays a prompt message indicating the receipt of the reward "Receive immediately". In addition, a give up control is also displayed in the reward window, and the give up control also includes a prompt message prompting the give up of the reward "Give up the red envelope and throw it again". In response to the triggering operation of the give up control, the reward indicator is displayed again in the floating interface for interaction again to obtain the reward.
[0155] In an optional embodiment, the recommended content display method provided by the present application further includes:
[0156] If the target reward is a reward that does not require interactive operations, determine whether there are remaining interactions with the interactive control;
[0157] If there are remaining interactions for the interactive control, display the second jump control;
[0158] In response to the triggering operation on the second jump control, return to the step of displaying the interactive control in the floating interface.
[0159] In this embodiment, for rewards that do not require interactive operations, the ability to superimpose rewards is also provided. If the target reward is determined to be a reward that does not require interactive operations, it is further determined whether there are remaining interactive times for the interactive control. If there are remaining interactive times for the interactive control, a second jump control is displayed. There is no specific limitation on the display form of the second jump control and the type of operation that triggers it, and it can be configured by those skilled in the art according to actual needs.
[0160] For example, please refer to Figure 1m , taking the interactive control as a reward indicator as an example, assuming that the determined target reward is a reward for offsetting the duration of recommended content, and the offset duration value of the offsetting duration reward for offsetting the duration of recommended content is determined to be 6 (seconds), the reward information of the target reward is displayed in the reward window accordingly, and the reward information is composed of multiple parts, one part is a text message indicating the reward type "Congratulations on your good luck", and the other part is a text message indicating the reward content "Recommended content duration minus 6 seconds", and the offset duration value 6 (seconds) is displayed in the form of points through the reward indicator in the reward window accordingly. In addition, it is determined that the offsetting duration reward for recommended content is a reward that does not require interactive operation to obtain, and there are remaining interactions of the interactive control, and a second jump control is displayed, and the second jump control includes a prompt message prompting to interact again to obtain a reward "Good luck stacking, throw again". In response to the triggering operation of the second jump control, the reward indicator is displayed in the floating interface again for interaction again to obtain a reward.
[0161] In an optional embodiment, in order to facilitate understanding of the number of times an interactive control can be interacted with, the recommended content display method provided by the present application further includes:
[0162] Display the remaining number of interactions of the interactive control in the floating interface.
[0163] In this embodiment, in addition to displaying the interactive control on the floating interface, the remaining number of interactions of the interactive control is also displayed on the floating interface. There is no specific restriction on the display form of the remaining number of interactions, including but not limited to text information and / or graphic information. For example, please continue to refer to Figure 1m In addition to displaying the interactive controls on the floating interface, the remaining number of interactions of the interactive controls, "2 times", is also displayed on the floating interface through the text message "2 chances", so that users can intuitively perceive the number of interactions that can be made.
[0164] In an optional embodiment, in response to the triggering operation of the first jump control, after jumping to the interactive interface of the target reward, the method further includes:
[0165] In response to a switch operation to switch to the current application, determining whether there is a remaining number of interactions for the interactive control;
[0166] If there are remaining interactions of the interactive control, return to the step of displaying the interactive control in the floating interface.
[0167] For example, when a user obtains a target reward through an interactive interface, he or she can perform a switching operation to switch to the current application. At this time, if there are remaining interactions with the interactive control, the interactive control will be displayed again in the floating interface for the user to interact again to add rewards. If there are no remaining interactions with the interactive control, the floating interface will stop being displayed.
[0168] In an optional embodiment, in order to guide the user to perform interactive operations to obtain rewards, the recommended content display method provided by the present application further includes:
[0169] Interactive prompt information is displayed in the floating interface. The interactive prompt information is used to instruct to perform interactive operations to obtain rewards.
[0170] For example, please refer to Figure 1n Taking the interactive control as a reward indicator as an example, assuming that the types of interactive operations for the interactive control provided in this embodiment include three types of operations: click operation, drag operation and shake operation. In addition to displaying the interactive control on the floating interface, the interactive prompt information "Shake, click or drag to throw good luck" is also displayed on the floating interface.
[0171] In an optional embodiment, the recommended content display method provided by the present application further includes:
[0172] Performing content analysis during the display of recommended content to obtain content analysis results of the recommended content;
[0173] The target transparency of the floating interface is determined according to the content analysis result, and the transparency of the floating interface is adjusted to the target transparency.
[0174] In the process of displaying recommended content, this embodiment dynamically adjusts the transparency of the floating interface according to changes in the content of the recommended content, so as to reduce the impact of interaction on the display of the recommended content.
[0175] In particular, in accordance with the configured importance analysis strategy, during the display of the recommended content, the recommended content can be analyzed in real time to obtain the content analysis results of the recommended content, and the content analysis results are used to indicate the importance of the recommended content at the time of analysis. In particular, this embodiment does not impose any specific restrictions on the configuration of the importance analysis strategy, and can be configured by those skilled in the art according to actual needs. For example, based on the prior knowledge of importance, a recommended content sample can be obtained, and an importance label can be configured for the recommended content sample. The recommended content sample and the corresponding importance label can be used for model training to obtain an analysis model for importance analysis.
[0176] As mentioned above, after obtaining the content analysis results of the recommended content, the transparency of the importance level indicated by the content analysis results is further determined as the target transparency for displaying the floating interface based on the importance level indicated by the content analysis results and the preset correspondence between the importance level and transparency, and the transparency of the floating interface is adjusted to the target transparency accordingly.
[0177] For example, at time t during the display of recommended content, the floating interface is displayed with a transparency of 50%. At time t+1, a content analysis is performed on the recommended content and the content analysis results indicate that the importance is high. The target transparency is determined to be 20%, and the transparency of the floating interface is adjusted to 20%. This makes the floating interface more transparent, and the recommended content displayed on the lower content recommendation interface is more visible.
[0178] As can be seen from the above, the embodiment of the present application first responds to the recommended content display operation in the current application, displays the recommended content through the current application, and in the display process of the recommended content, superimposes and displays a floating interface independent of the recommended content, and displays interactive controls in the floating interface; then responds to the interactive operation of the interactive control, determines the target reward from the reward set, and the reward in the reward set comes from at least one of the business party of the recommended content or the operator of the current application; finally, displays a reward window in the floating interface, and the reward window includes reward information indicating the target reward. Through the above technical solution, interactive capabilities are provided in the display process of the recommended content. Only certain interactive operations are required to obtain rewards from at least one of the business party of the recommended content or the operator of the application as feedback, which can increase the enthusiasm of user interaction, so that more users stay in the display process of the recommended content. Moreover, the display and interaction of the recommended content are completely independent, and the two parties do not interfere with each other, which can increase the exposure of the recommended content, and ultimately achieve the purpose of improving the conversion rate of the recommended content.
[0179] According to the recommended content display method provided in the above embodiment, the following is a further detailed description taking an example in which a recommended content display device is integrated in an electronic device, the electronic device is an electronic device equipped with a touch screen and using an Android system, the recommended content is an incentive advertisement, and the interactive control is a reward indicator.
[0180] Please refer to Figure 2 The process of the recommended content display method may also be as follows:
[0181] In 210 , the electronic device displays the incentivized advertisement content through the current application in response to the incentivized advertisement display operation in the current application.
[0182] The current application refers to the application currently running on the electronic device, which can be any type of application, including but not limited to traditional applications that need to be installed to run, small program applications that can be run without installation, and web applications run through browser applications. The rewarded advertising content display operation is an operation used to trigger the display of rewarded advertising content, which can be triggered by the electronic device itself or by the electronic device in response to an external operation.
[0183] For instance, taking a certain game application as an example, the game application limits the free play time, and in response to the play time reaching the free play time, the incentive advertising content display operation is triggered, that is, the game application automatically triggers the incentive advertising content display operation when the play time reaches the free play time, so that after the display of the incentive advertising content is completed, the free play time can be increased accordingly; for another example, continuing to take the game application as an example, the game application limits the number of times a virtual character can die, and in response to the number of deaths of the virtual character reaching the allowable number of deaths, an incentive advertising content confirmation control is displayed, and in response to the triggering operation of the incentive advertising content confirmation control, the incentive advertising content display operation is triggered, that is, when the number of deaths of the virtual character reaches the allowable number of deaths, the player confirms whether to display the incentive advertising content, so that after the display of the incentive advertising content is completed, the number of possible deaths is increased accordingly.
[0184] In 220, during the display of the incentive advertising content, the electronic device overlays and displays a floating interface independent of the incentive advertising content, and displays a reward indicator in the floating interface, as well as interactive prompt information indicating that an interactive operation should be performed to obtain a reward.
[0185] In the present embodiment, during the display of the incentive advertising content, a transparent floating interface is displayed on the display interface of the incentive advertising content (i.e., the content recommendation interface), and the floating interface is independent of the content recommendation interface for displaying the recommended content, and a reward indicator is displayed in the floating interface. For example, the reward indicator can be an image of a reward indicator with a display content of "?" displayed through an image view (ImageView).
[0186] In this way, since the reward indicator is displayed in a transparent floating interface, the floating interface is completely independent of the content recommendation interface and the two do not interfere with each other. At this time, the incentive advertising content can continue to be displayed in the content recommendation interface, so that the incentive advertising content can still be visible. Among them, the transparency of the floating interface can be set by those skilled in the art according to actual needs. For example, the transparency of the floating interface can be statically configured to a fixed value, such as 50%, 40%, 20%, etc.
[0187] In addition, this embodiment configures three different types of interactive operations for triggering reward indicators, namely click operation, drag operation (or sliding touch operation) and shake operation. The interactive prompt message "Shake, click or drag to throw good luck" is also displayed on the floating interface to guide users to perform interactive operations.
[0188] In 230, the electronic device displays interactive feedback and plays a throwing animation of throwing the reward indicator in response to the interactive operation on the reward indicator.
[0189] In this embodiment, corresponding interactive feedback is provided for different types of interactive operations to guide the user to accurately perform the interactive operations.
[0190] It should be noted that, in this embodiment, corresponding event monitors are registered for different types of interactive operations, and operation information of the interactive operations is obtained through the registered event monitors.
[0191] When the user clicks on the reward indicator, the click duration in the operation information is obtained. As the click duration increases, the reward indicator will be continuously enlarged and displayed as interactive feedback of the click operation. The scaling function scale() is applied to the image of the reward indicator. As the click duration increases, the scaling function scale() is increased accordingly, so that the reward indicator is continuously enlarged and displayed as the click duration of the click operation increases.
[0192] When the user performs a drag operation on the reward indicator, the initial coordinates and real-time coordinates of the drag operation are obtained, and the drag distance of the drag operation is calculated in real time based on the initial coordinates and the real-time coordinates. The reward indicator is moved following the drag operation, and in response to the increase in the drag distance of the drag operation, the reward indicator is enlarged and displayed as interactive feedback of the drag operation. Among them, the displacement function Translate() is applied to the image of the reward indicator, and the target coordinates of the displacement function Translate() are configured according to the real-time coordinates in the operation information of the drag operation, so as to achieve the effect that the reward indicator moves following the drag operation. In addition, the scaling function scale() is also applied to the image, and the multiple of the scaling function scale() is increased accordingly according to the increase in the drag distance, so as to achieve the reward indicator continuing to be enlarged and displayed following the increase in the drag distance of the drag operation.
[0193] When the user performs a shaking operation on the reward indicator, the acceleration direction and magnitude in the operation information of the shaking operation are obtained, the acceleration direction is used as the shaking direction, the acceleration in the shaking direction is integrated, and the shaking distance in the shaking direction is obtained. The target coordinates to which the image needs to be moved are calculated in combination with the shaking distance and the initial coordinates of the image, and the target coordinates of the displacement function Translate() are configured accordingly, so as to achieve the effect that the reward indicator moves with the shaking direction. In addition, the scaling function scale() is also applied to the image, and the multiple of the scaling function scale() is increased accordingly according to the increase in the shaking distance, so as to achieve the continuous enlargement and display of the reward indicator following the increase in the shaking distance of the shaking operation.
[0194] In addition, this embodiment also plays the throwing animation of the throwing reward indicator when the operation information of the interactive operation meets the reward condition. Among them, the static image of the reward indicator can be stopped from being displayed, and the dynamic image with the image content of the reward indicator rotating can be displayed instead, so as to play the throwing animation of the throwing reward indicator. Among them, the image format of the dynamic image with the image content of the reward indicator rotating can be any one of the image formats such as gif, webp or apng, which can be selected by those skilled in the art according to actual needs, and no specific limitation is made here.
[0195] In 240, in response to the completion of the throwing animation, the electronic device randomly selects at least one reward from the reward set and determines it as the target reward.
[0196] Among them, a random function can be used to randomly select at least one reward from the reward set to determine as the target reward. There is no specific restriction on which random function to use, and it can be selected by those skilled in the art according to actual needs.
[0197] For example, the rewards in the reward set include virtual rewards. The virtual rewards in the reward set that come from the business party of the incentive advertising content include at least one of red envelope rewards, discount rewards, and coupon rewards. The virtual rewards in the reward set that come from the operator of the current application include at least one of virtual props rewards, multiple rewards, rewards for offsetting the duration of the incentive advertising content, and rewards for skipping the incentive advertising content.
[0198] In 250 , the electronic device determines whether the target reward is a reward that requires interactive operation to obtain.
[0199] In this embodiment, rewards are divided into two categories according to whether interactive operations are required to obtain the rewards. One category is rewards that require interactive operations, and the other category is rewards that do not require interactive operations. The specific configuration can be made according to the actual needs of the business party and / or the operator. In addition, the type of interactive operations that need to be performed to obtain the determined target rewards can also be configured according to the actual needs of the business party and / or the operator. For example, rewards for offsetting the duration of incentive advertising content and rewards for skipping incentive advertising content can be configured as rewards that do not require interactive operations, and red envelope rewards, discount rewards, and coupon rewards can be configured as rewards that require interactive operations.
[0200] In 260, if the target reward is a reward that requires interactive operation to obtain, the electronic device displays a reward window in the floating interface, and the reward window includes a first jump control, a give up control, and reward information indicating the target reward. If a trigger operation of the first jump control is received, the process proceeds to 270; if a trigger operation of the give up control is received, the process proceeds to 280.
[0201] If the target reward is determined to be a reward that requires interactive operations, the reward window is displayed in the floating interface. The reward window can be implemented through a Dialog or a custom view in a pop-up window style.
[0202] In this embodiment, the reward window includes a first jump control, a give-up control, and reward information indicating a target reward, wherein the first jump control indicates a jump to an interactive interface of the target reward when triggered, and the interactive interface is used to receive interactive operations to obtain the target reward, and the give-up control is used to give up the target reward determined at that time. It should be noted that there is no specific restriction on the display form of the first jump control / give-up control and the type of triggering operation thereof, and it can be set by those skilled in the art according to actual needs. For example, the first jump control / give-up control can be configured as a button-type control, and the triggering operation thereof is a click operation.
[0203] In 270, the electronic device jumps to the interactive interface of the target reward in response to the triggering operation of the first jump control, and the interactive interface is used to respond to the interactive operation to obtain the target reward.
[0204] In 280, the electronic device determines whether there are remaining interactions of the reward indicator in response to the triggering operation of the abandonment control, and if there are remaining interactions of the reward indicator, returns to the step of displaying the reward indicator in the floating interface.
[0205] It should be noted that in the process of displaying the incentive advertisement content, this embodiment limits the number of times the reward indicator can be interacted with. There is no specific restriction on the value of the number of times the reward indicator can be interacted with, and the value can be determined by those skilled in the art according to actual needs. For example, in this embodiment, different numbers of times the reward indicator can be interacted with are dynamically configured according to the length of time the incentive advertisement content needs to be displayed, where the longer the display time, the more times the reward indicator can be interacted with.
[0206] Correspondingly, if a trigger operation for the abandonment control is received, it is determined whether there are currently remaining interactions for the reward indicator. If there are remaining interactions, the process returns to the step of displaying the reward indicator in the floating interface, and provides an interaction opportunity again to stack the reward; if there are no remaining interactions, the display of the floating interface is stopped.
[0207] Through the above technical solution, it is possible to integrate more interesting and easy click / drag / shake interactive capabilities into incentive ads in a lightweight manner, which not only allows users to randomly obtain rewards during interactions, but also allows them to actively choose multiple interactions to stack rewards, thereby improving user experience. At the same time, it can also greatly expand the brand influence of the business party of the incentive advertising content. For application operators who access incentive advertising content, they can also use this solution to effectively provide users with more in-app services, improve user retention and in-app advertising experience, and ultimately achieve a win-win effect for users, operators, and business parties.
[0208] In order to facilitate better implementation of the recommended content display method provided in the embodiment of the present application, the embodiment of the present application also provides a recommended content display device based on the above recommended content display method. The meanings of the terms are the same as those in the above recommended content display method. For specific implementation details, please refer to the description in the above method embodiment.
[0209] Please refer to Figure 3 , Figure 3 This is a schematic diagram of the structure of the recommended content display device provided in an embodiment of the present application. The recommended content display device may include a content display module 310, an interface display module 320, a control interaction module 330, and a reward display module 340, wherein:
[0210] The content display module 310 is used to display the recommended content through the current application in response to the recommended content display operation in the current application;
[0211] The interface display module 320 is used to display a floating interface independent of the recommended content during the display of the recommended content, and to display interactive controls in the floating interface;
[0212] A control interaction module 330, for determining a target reward from a reward set in response to an interactive operation on an interactive control, where the reward in the reward set comes from at least one of a business party of the recommended content or an operator of the current application;
[0213] The reward display module 340 is used to display a reward window in the floating interface, and the reward window includes reward information indicating the target reward.
[0214] In an optional embodiment, the control interaction module 330 is used to obtain operation information of interactive operations on interactive controls; when it is determined according to the operation information that the interactive operation meets the reward condition, the target reward is determined from the reward set.
[0215] In an optional embodiment, the interactive operation includes a click operation on an interactive control, and the control interaction module 330 is used to obtain the click duration of the click operation from the operation information; if the click duration of the click operation reaches a preset duration, it is determined that the click operation meets the reward conditions, and the target reward is determined from the reward set.
[0216] In an optional embodiment, the control interaction module 330 is used to enlarge and display the interactive control in response to an increase in the click duration of the click operation.
[0217] In an optional embodiment, the interactive operation includes a drag operation on an interactive control, and the control interaction module 330 is used to obtain the drag distance of the drag operation from the operation information; if the drag distance of the drag operation reaches a preset distance, it is determined that the drag operation meets the reward conditions, and the target reward is determined from the reward set.
[0218] In an optional embodiment, the control interaction module 330 is used to move the interactive control following the drag operation, and in response to an increase in the dragging distance of the drag operation, enlarge and display the interactive control.
[0219] In an optional embodiment, the interactive operation includes a shaking operation on the interactive control, and the control interaction module 330 is used to obtain the number of shakes of the shaking operation from the operation information; if the number of shakes of the shaking operation reaches a preset number, it is determined that the shaking operation meets the reward conditions, and the target reward is determined from the reward set.
[0220] In an optional embodiment, the control interaction module 330 is used to obtain the shaking direction and shaking distance of the shaking operation from the operation information; move the interactive control following the shaking direction, and in response to the increase of the shaking distance, enlarge and display the interactive control.
[0221] In an optional embodiment, before determining the target reward from the reward set, the control interaction module 330 is also used to play an interactive animation of the interactive control, where the interactive animation is used to indicate that the interactive control is triggered; and in response to the completion of the interactive animation, determine the target reward from the reward set.
[0222] In an optional embodiment, the interactive control includes a reward indicator, the rewards in the reward set include virtual rewards, the virtual rewards in the reward set originating from the business party that recommends the content include at least one of red envelope rewards, discount rewards, and coupon rewards, the virtual rewards in the reward set originating from the operator of the current application include at least one of virtual prop rewards, multiple rewards, rewards for offsetting the duration of recommended content, and rewards for skipping recommended content, and the control interaction module 330 is also used to determine the offset duration value of the reward for offsetting the duration of recommended content if it is determined that the target reward is a reward for offsetting the duration of recommended content; and display the offset duration value in the reward window through the reward indicator.
[0223] In an optional embodiment, the interface display module 320 is also used to perform content analysis during the display of recommended content to obtain content analysis results of the recommended content; determine the target transparency of the floating interface based on the content analysis results, and adjust the transparency of the floating interface to the target transparency.
[0224] In an optional embodiment, the reward display module 340 is also used to determine whether the target reward is a reward that requires interactive operation to obtain; if the target reward is a reward that requires interactive operation to obtain, a first jump control is displayed in the reward window; in response to the triggering operation of the first jump control, jump to the interactive interface of the target reward, and the interactive interface is used to respond to the interactive operation to obtain the target reward.
[0225] In an optional embodiment, the reward display module 340 is further used to determine whether there are remaining interaction times for the interactive control if the target reward is a reward that does not require interactive operation; if there are remaining interaction times for the interactive control, display the second jump control;
[0226] In response to the triggering operation on the second jump control, the interface display module 320 is further used to display the interactive control in the floating interface.
[0227] In an optional embodiment, the interface display module 320 is further configured to display the remaining number of interactions in the floating interface.
[0228] In an optional embodiment, the interface display module 320 is also used to display interactive prompt information in the floating interface, and the interactive prompt information is used to instruct to perform interactive operations to obtain rewards.
[0229] In an optional embodiment, the control interaction module 330 is further configured to randomly select at least one reward from the reward set and determine it as the target reward.
[0230] The specific implementation of each of the above modules can be found in the previous embodiments and will not be described in detail here.
[0231] In this embodiment, first, the content display module 310 responds to the recommended content display operation in the current application and displays the recommended content through the current application. The interface display module 320 displays a floating interface independent of the recommended content during the display of the recommended content, and displays interactive controls in the floating interface. Then, the control interaction module 330 responds to the interactive operation of the interactive control and determines the target reward from the reward set. The reward in the reward set comes from at least one of the business party of the recommended content or the operator of the current application. Finally, the reward display module 340 displays a reward window in the floating interface, which includes reward information indicating the target reward. Through the above technical solution, interactive capabilities are provided during the display of recommended content. Only certain interactive operations are required to obtain rewards from at least one of the business party of the recommended content or the operator of the application as feedback, which can increase the enthusiasm of user interaction, so that more users stay in the display process of the recommended content. Moreover, the display and interaction of the recommended content are completely independent, and the two sides do not interfere with each other, which can increase the exposure of the recommended content and ultimately achieve the purpose of improving the conversion rate of the recommended content.
[0232] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein the processor is used to execute the steps in the recommended content display method provided in this embodiment by calling a computer program stored in the memory.
[0233] Please refer to Figure 4 , Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0234] The electronic device may include components such as a processor 101 with one or more processing cores, a memory 102 with one or more computer-readable storage media, a power supply 103, and an input unit 104. Those skilled in the art will appreciate that Figure 4 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0235] The processor 101 is the control center of the electronic device, which uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 102, and calling data stored in the memory 102. Optionally, the processor 101 may include one or more processing cores; optionally, the processor 101 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 101.
[0236] The memory 102 can be used to store software programs and modules. The processor 101 executes various functional applications and data processing by running the software programs and modules stored in the memory 102. The memory 102 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 102 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 102 may also include a memory controller to provide the processor 101 with access to the memory 102.
[0237] The electronic device also includes a power supply 103 for supplying power to each component. Optionally, the power supply 103 can be logically connected to the processor 101 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 103 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0238] The electronic device may further include an input unit 104, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0239] Although not shown, the electronic device may also include a display unit, an image acquisition component, etc., which will not be described in detail here. Specifically in this embodiment, the processor 101 in the electronic device will load the executable code corresponding to one or more computer programs into the memory 102 according to the following instructions, and the processor 101 will execute the steps in the recommended content display method provided by the application, such as:
[0240] In response to a recommended content display operation in the current application, display the recommended content through the current application;
[0241] During the display of recommended content, a floating interface independent of the recommended content is displayed overlaid, and interactive controls are displayed in the floating interface;
[0242] In response to an interactive operation on the interactive control, determining a target reward from a reward set, where the rewards in the reward set come from at least one of a business party that recommends the content or an operator of the current application;
[0243] A reward window is displayed in the floating interface, and the reward window includes reward information indicating a target reward.
[0244] It should be noted that the electronic device provided in the embodiment of the present application and the recommended content display method in the above embodiment belong to the same concept, and its specific implementation process is detailed in the above related embodiments and will not be repeated here.
[0245] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program stored therein is executed on a processor of an electronic device provided in an embodiment of the present application, the processor of the electronic device executes the steps in the recommended content display method provided in the present application. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0246] The present application also provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes various optional implementations of the above-mentioned recommended content display method.
[0247] The above is a detailed introduction to a method, device, electronic device, storage medium and program product for displaying recommended content provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
[0248] It should be noted that when the above embodiments of the present application are applied to specific products or technologies, the relevant data of the user is involved, and the user's permission or consent is required, and the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
Claims
1. A method for displaying recommended content, characterized in that: include: In response to a recommended content display operation in a current application, displaying the recommended content through the current application; During the display of the recommended content, a floating interface independent of the recommended content is displayed in a superimposed manner, and interactive controls are displayed in the floating interface; In response to the interactive operation on the interactive control, determining a target reward from a reward set, where the rewards in the reward set come from at least one of a business party of the recommended content or an operator of the current application; A reward window is displayed in the floating interface, wherein the reward window includes reward information indicating the target reward.
2. The method for displaying recommended content according to claim 1, characterized in that: The step of determining a target reward from a reward set in response to the interactive operation on the interactive control comprises: Obtaining operation information of an interactive operation on the interactive control; When it is determined according to the operation information that the interactive operation satisfies a reward condition, a target reward is determined from a reward set.
3. The method for displaying recommended content according to claim 2, characterized in that: The interactive operation includes a click operation on the interactive control, and when it is determined according to the operation information that the interactive operation meets the reward condition, determining a target reward from a reward set includes: Acquire the click duration of the click operation from the operation information; If the click duration of the click operation reaches a preset duration, it is determined that the click operation meets the reward condition, and a target reward is determined from the reward set.
4. The method for displaying recommended content according to claim 3, characterized in that: The recommended content display method further includes: In response to an increase in the click duration of the click operation, the interactive control is displayed in an enlarged manner.
5. The method for displaying recommended content according to claim 2, characterized in that: The interactive operation includes a drag operation on the interactive control, and when it is determined according to the operation information that the interactive operation meets the reward condition, determining a target reward from a reward set includes: Acquire the dragging distance of the dragging operation from the operation information; If the dragging distance of the dragging operation reaches a preset distance, it is determined that the dragging operation meets the reward condition, and a target reward is determined from the reward set.
6. The method for displaying recommended content according to claim 5, characterized in that: The recommended content display method further includes: The interactive control is moved following the drag operation, and in response to an increase in the drag distance of the drag operation, the interactive control is enlarged and displayed.
7. The method for displaying recommended content according to claim 2, characterized in that: The interactive operation includes a shaking operation on the interactive control, and when it is determined according to the operation information that the interactive operation meets the reward condition, determining a target reward from a reward set includes: Acquire the number of shakes of the shake operation from the operation information; If the number of shakes of the shaking operation reaches a preset number, it is determined that the shaking operation meets the reward condition, and a target reward is determined from the reward set.
8. The method for displaying recommended content according to claim 7, characterized in that: The recommended content display method further includes: Acquire a shaking direction and a shaking distance of the shaking operation from the operation information; The interactive control is moved along the shaking direction, and in response to an increase in the shaking distance, the interactive control is enlarged and displayed.
9. The method for displaying recommended content according to any one of claims 1 to 8, characterized in that: Before determining the target reward from the reward set, the method further includes: Playing an interactive animation of the interactive control, wherein the interactive animation is used to indicate that the interactive control is triggered; Determining the target reward from the reward set includes: In response to the interactive animation being played, a target reward is determined from the reward set.
10. The method for displaying recommended content according to claim 9, characterized in that: The interactive control includes a reward indicator, the rewards in the reward set include virtual rewards, the virtual rewards in the reward set from the business party of the recommended content include at least one of red envelope rewards, discount rewards, and coupon rewards, the virtual rewards in the reward set from the operator of the current application include at least one of virtual prop rewards, multiple rewards, rewards for offsetting recommended content duration, and rewards for skipping recommended content, and the recommended content display method also includes: If the target reward is determined to be a reward for offsetting the duration of the recommended content, then determining a value of the offset duration of the reward for offsetting the duration of the recommended content; The offset duration value is displayed in the reward window in the form of numbers or points through the reward indicator.
11. The method for displaying recommended content according to any one of claims 1 to 8, characterized in that: Also includes: Performing content analysis during the presentation of the recommended content to obtain content analysis results of the recommended content; The target transparency of the floating interface is determined according to the content analysis result, and the transparency of the floating interface is adjusted to the target transparency.
12. The method for displaying recommended content according to any one of claims 1 to 8, characterized in that: The recommended content display method further includes: Determining whether the target reward is a reward that requires interactive operation; If the target reward is a reward that requires interactive operation, displaying a first jump control in the reward window; In response to a triggering operation on the first jump control, jump to an interactive interface of the target reward, wherein the interactive interface is used to respond to the interactive operation to obtain the target reward.
13. The method for displaying recommended content according to claim 12, characterized in that: The recommended content display method further includes: If the target reward is a reward that does not require interactive operation, determining whether there are remaining interactions with the interactive control; If there are remaining interactions of the interactive control, display a second jump control; In response to the triggering operation of the second jump control, return to the step of displaying the interactive control in the floating interface.
14. The method for displaying recommended content according to claim 13, characterized in that: The recommended content display method further includes: The remaining number of interactions is displayed in the floating interface.
15. The method for displaying recommended content according to any one of claims 1 to 8, characterized in that: The recommended content display method further includes: Interactive prompt information is displayed in the floating interface, and the interactive prompt information is used to instruct to perform interactive operations to obtain rewards.
16. The method for displaying recommended content according to any one of claims 1 to 8, characterized in that: Determining the target reward from the reward set includes: At least one reward is randomly selected from the reward set and determined as the target reward.
17. A recommended content display device, characterized in that: include: A content display module, configured to respond to a recommended content display operation in a current application and display the recommended content through the current application; An interface display module, used to display a floating interface independent of the recommended content in a superimposed manner during the display of the recommended content, and to display interactive controls in the floating interface; A control interaction module, configured to determine a target reward from a reward set in response to an interactive operation on the interactive control, wherein the rewards in the reward set are derived from at least one of a business party of the recommended content or an operator of the current application; A reward display module is used to display a reward window in the floating interface, and the reward window includes reward information indicating the target reward.
18. An electronic device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program, and the processor is used to run the computer program in the memory to execute the steps in the method for displaying recommended content according to any one of claims 1 to 16.
19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the recommended content display method according to any one of claims 1 to 16.
20. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps in the recommended content display method according to any one of claims 1 to 16 are implemented.
