Interaction method and apparatus, and electronic device and computer-readable medium

By displaying target gifts, motion objects, and trajectory objects on the multi-person live broadcast page, the problem of a single display method for gift sending is solved, and the user experience and display effect are improved.

WO2024193511A1PCT designated stage expired Publication Date: 2024-09-26BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/082241
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-17
Filing Date
2024-03-18
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

In the existing technology, the gift delivery display method on the multi-person live broadcast page is single, which affects the user experience and fails to fully reflect the movement trajectory and dynamic effects of the gift.

Method used

By displaying the target gift, motion object and trajectory object on the Lianmai page, the trajectory object describes the movement trajectory of the gift. The starting point of the trajectory is located within the motion object. The end point of the trajectory is determined based on the position of the target user. The motion object and trajectory object use animation. The data is displayed, and the display area of ​​the animation object is the bottom center area of ​​the Lianmai page.

Benefits of technology

It enriches gift interaction, improves user experience, enables users to see the moving route of gifts in advance, and improves the effect and efficiency of gift delivery and display.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024082241_26092024_PF_FP
    Figure CN2024082241_26092024_PF_FP
Patent Text Reader

Abstract

An interaction method and apparatus, and an electronic device and a computer-readable medium. The method comprises: when a co-hosting page is being presented and the co-hosting page comprises a user presentation interface of at least one co-hosting user, and after a gift sending request which is triggered for a target user among co-hosting users and used for requesting that a target gift is sent to the target user is received, presenting the target gift, an animated-effect object corresponding to the target gift, and a trajectory object corresponding to the target gift. In this way, gift interactions are enriched, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Interactive method, device, electronic device, and computer-readable medium

[0001] This application claims priority to Chinese patent application No. 202310274165.7 filed on March 17, 2023, the entire text of which is incorporated herein by reference as a part of this application. Technical Field

[0002] The present disclosure relates to an interactive method, device, electronic device, and computer-readable medium. Background Art

[0003] In related technologies, when a multi-person live broadcast page is displayed, viewers of the multi-person live broadcast page can send gifts to one or more participants in the live broadcast page.

[0004] However, the known gift interaction solutions still have some shortcomings, which affect the user experience.

[0005] Summary of the Invention

[0006] In order to solve the above technical problems, the present disclosure provides an interactive method, device, electronic device, and computer-readable medium, which can improve user experience.

[0007] In order to achieve the above objectives, the technical solutions provided by the present disclosure are as follows:

[0008] The present disclosure provides an interactive method, the method comprising:

[0009] Displaying a microphone connection page, wherein the microphone connection page includes a user display interface of at least one microphone connection user;

[0010] receiving a gift sending request triggered for a target user among the at least one connected microphone user, wherein the gift sending request is used to request sending a target gift to the target user;

[0011] Display the target gift, the motion effect object corresponding to the target gift, and the trajectory object corresponding to the target gift; the trajectory object is used to display the gift movement trajectory corresponding to the target gift; the starting point of the gift movement trajectory is located in the display area of ​​the motion effect object, and the end point of the gift movement trajectory is determined according to the position of the user display interface of the target user.

[0012] In one possible implementation, the position representation data of the starting point of the trajectory is determined based on the display scaling ratio of the animation object, the actual display position coordinates of the animation object in the page coordinate system corresponding to the microphone connection page, and the preset position coordinates of the starting point of the trajectory in the object coordinate system corresponding to the animation object.

[0013] In a possible implementation, the process of determining the display zoom ratio is as follows:

[0014] Determine a display zoom ratio of the motion effect object according to an actual display size of the motion effect object on the microphone connection page and a preset size of the motion effect object.

[0015] In one possible implementation, the process of determining the position characterizing data of the starting point of the trajectory includes:

[0016] Scaling the preset position coordinates of the starting point of the trajectory in the object coordinate system according to the display scaling ratio to obtain scaled position coordinates, wherein the object coordinate system is constructed based on the motion effect object having the preset size;

[0017] The actual display position coordinates of the motion effect object in the page coordinate system are used to perform coordinate system conversion processing on the scaled position coordinates to obtain position representation data of the starting point of the trajectory.

[0018] In one possible implementation, the process of constructing the trajectory object includes:

[0019] Determining the position characterization data of the center point of the track, the track length, and the track inclination angle based on the position characterization data of the starting point of the track and the position characterization data of the end point of the track;

[0020] constructing an initial trajectory representation object according to the position representation data of the trajectory center point and the trajectory length;

[0021] Determining a rotation angle corresponding to the object represented by the initial trajectory using the trajectory inclination angle;

[0022] Rotating the initial trajectory representation object by the rotation angle to obtain a target trajectory representation object;

[0023] The trajectory object is generated according to the target trajectory representation object.

[0024] In one possible implementation, the track inclination angle is determined according to the slope of a line connecting the start point of the track and the end point of the track;

[0025] and / or,

[0026] The track length is determined according to the distance between the track start point and the track end point.

[0027] In a possible implementation manner, the number of target users is N, where N is a positive integer;

[0028] The display of the target gift, the motion effect object corresponding to the target gift, and the trajectory object corresponding to the target gift includes:

[0029] Display N target gifts, 1 motion effect object, and N trajectory objects, the starting point of each trajectory object corresponding to the same position, and the end point of each trajectory object corresponding to the target gift is determined according to the position of the user display interface of each target user.

[0030] In one possible implementation, the interaction method is applied to a terminal device;

[0031] At least one of the motion effect object, the trajectory object, or the target gift belongs to animation data;

[0032] If at least one frame of animation image corresponding to each of the animation data is stored in the preset storage space of the terminal device, the display process of each of the animation data includes:

[0033] At least one frame of animation image corresponding to each of the animation data is read from the preset storage space and displayed.

[0034] In a possible implementation manner, before reading and displaying at least one frame of animation image corresponding to each animation data from the preset storage space, the method further includes:

[0035] Obtaining the animation instance corresponding to each of the animation data;

[0036] Performing frame animation decoding processing on each of the animation instances to obtain at least one frame of animation image corresponding to each of the animation data;

[0037] At least one frame of animation image corresponding to each of the animation data is stored in the preset storage space.

[0038] In a possible implementation manner, the trajectory object is a trajectory animation that is tiled and displayed from the trajectory starting point to the trajectory end point;

[0039] and / or,

[0040] The display area of ​​the animation object is the bottom center area of ​​the microphone connection page.

[0041] The present disclosure provides an interactive device, comprising:

[0042] A first display unit is configured to display a microphone connection page, wherein the microphone connection page includes a user interface of at least one microphone connection user;

[0043] a request receiving unit, configured to receive a gift sending request triggered by a target user among the at least one connected microphone user, wherein the gift sending request is used to request sending a target gift to the target user;

[0044] The second display unit is used to display the target gift, the dynamic effect object corresponding to the target gift, and the trajectory object corresponding to the target gift; the trajectory object is used to display the gift movement trajectory corresponding to the target gift; the starting point of the gift movement trajectory is located in the display area of ​​the dynamic effect object, and the end point of the gift movement trajectory is determined according to the position of the user display interface of the target user.

[0045] The present disclosure provides an electronic device, the device comprising: a processor and a memory;

[0046] The memory is used to store instructions or computer programs;

[0047] The processor is used to execute the instructions or computer programs in the memory so that the electronic device performs the interactive method provided by the present disclosure.

[0048] The present disclosure provides a computer-readable medium storing instructions or computer programs. When the instructions or computer programs are executed on a device, the device executes the interactive method provided by the present disclosure.

[0049] The present disclosure provides a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, wherein the computer program contains program codes for executing the interactive method provided by the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments recorded in the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0051] FIG1 is a flow chart of an interactive method provided by an embodiment of the present disclosure;

[0052] FIG2 is a schematic diagram of a microphone connection page provided by an embodiment of the present disclosure;

[0053] FIG3 is a schematic diagram of another microphone connection page provided by an embodiment of the present disclosure;

[0054] FIG4 is a schematic diagram of a page coordinate system provided by an embodiment of the present disclosure;

[0055] FIG5 is a schematic diagram of an object coordinate system provided by an embodiment of the present disclosure;

[0056] FIG6 is a schematic diagram of another microphone connection page provided by an embodiment of the present disclosure;

[0057] FIG7 is a schematic structural diagram of an interactive device provided by an embodiment of the present disclosure;

[0058] FIG8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0059] Research has found that for a live broadcast page with microphones, viewers can send gifts to one or more participants displayed on the page. However, in some related technical solutions, the gift sending display method is usually to use a few characters (for example, the string "User A sends a rose to User B"), which is a simple display method and affects the user experience.

[0060] Based on the above findings, in order to solve the technical problems shown in the background technology part, the embodiment of the present disclosure provides an interactive method, which includes: for a client with a live broadcast display function, when a live broadcast page is being displayed in the client, and the live broadcast page includes a user display interface of at least one live broadcast user, after receiving a gift sending request triggered by a target user among these live broadcast users for requesting to send a target gift to the target user, the target gift, the dynamic effect object corresponding to the target gift (for example, MP4 animation, etc.) and the track object corresponding to the target gift are displayed. In particular, because the track object is used to display the gift movement track corresponding to the target gift, the target gift is displayed on the live broadcast page, gradually moving along the track object toward the user display interface of the target user, thereby enriching the gift interaction and improving the user experience.

[0061] It can be seen that since the above trajectory object is used to describe the gift movement trajectory corresponding to the target gift, the trajectory object can not only clearly display the trajectory starting point and trajectory end point involved in the gift movement trajectory, but also clearly display the actual movement route of the target gift in the microphone connection page.

[0062] In addition, because the display time of the trajectory object is earlier than or equal to the time when the target gift starts to move, the trajectory object can show the actual moving route of the target gift to the user in advance, so that the user can know in advance the trajectory along which the target gift moves to the end position, which is conducive to improving the user experience.

[0063] Furthermore, the embodiments of the present disclosure do not limit the execution subject of the above-mentioned interactive method. For example, the interactive method provided in the embodiments of the present disclosure may be executed by an electronic device, including but not limited to a smartphone, a tablet computer, a laptop computer, a personal digital assistant (PDA), etc.

[0064] In addition, the embodiments of the present disclosure do not limit the application scenarios of the above interactive methods. For example, the interactive method provided by the embodiments of the present disclosure can be applied to any multi-person live broadcast scenario.

[0065] In order to enable those skilled in the art to better understand the solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the embodiments described are only part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0066] To better understand the technical solutions provided by the present disclosure, the interactive method provided by the present disclosure is described below with reference to some figures. As shown in Figure 1, the interactive method provided by the embodiment of the present disclosure includes the following S1-S3. Figure 1 is a flow chart of an interactive method provided by the embodiment of the present disclosure.

[0067] S1: Displaying a microphone connection page, where the microphone connection page includes a user display interface of at least one microphone connection user.

[0068] Among them, the live broadcast page is used to display the live broadcast interaction process of at least two people; and the embodiment of the present disclosure is not limited to the live broadcast page. For example, it can be a live broadcast page in any multi-person live broadcast scenario (for example, a multi-person voice scenario, a multi-person video scenario, etc.).

[0069] In addition, the user interface for at least one connected user is displayed on the above connected user page. The user interface for the mth connected user is used to display the connection status of the mth connected user. m is a positive integer, m≤M, where M is a positive integer and represents the number of "at least one connected user" mentioned above.

[0070] It should be noted that the embodiments of the present disclosure are not limited to the above "at least one connected microphone user". For example, when the above connected microphone page is a live broadcast page of a live broadcast room (for example, the connected microphone page shown in Figure 2), the "at least one connected microphone user" may include the host in the live broadcast room and all the guests on the microphone in the live broadcast room (for example, Guests 1 to Guests 8 shown in Figure 2, etc.). The guests on the microphone refer to the audience who have successfully connected with the host.

[0071] It should also be noted that the above-mentioned microphone connection status includes but is not limited to at least one of the microphone connection voice status and the microphone connection display status. Among them, the microphone connection voice status of the mth microphone connection user includes the voice status of the mth microphone connection user during the microphone connection (for example, whether the voice is turned on). The microphone connection display status of the mth microphone connection user includes the video status of the mth microphone connection user during the microphone connection (for example, whether the video screen is displayed, the display effect of the video screen, the displayed content of the video screen, etc.).

[0072] In addition, the embodiments of the present disclosure are not limited to the above “user display interface of the mth connected microphone user”. For ease of understanding, two examples are used for illustration below.

[0073] Example 1: In some application scenarios (e.g., multi-person voice scenarios), the "user display interface of the mth connected microphone user" above can be used to display the user identification image of the mth connected microphone user. The user identification image is used to identify the mth connected microphone user.

[0074] Example 2: In some application scenarios (for example, a multi-person video scenario), the above "user display interface of the mth connected user" can be used at least to display the video screen of the mth connected user.

[0075] Based on the relevant content of S1 above, it can be known that for electronic devices with live broadcast display functions, in some multi-person live broadcast scenarios (for example, multi-person voice scenarios, multi-person video scenarios, etc.), the electronic device can be used to display the live broadcast page, and the user display interface of multiple connected users can be displayed in the live broadcast page, so that the user of the electronic device can view the live broadcast status of each connected user from the live broadcast page.

[0076] S2: Receive a gift sending request triggered for a target user among at least one connected microphone user, where the gift sending request is used to request sending a target gift to the target user.

[0077] The target user is the user selected by the sender of the target gift from the "at least one connected user" above to receive the target gift. For example, if the "at least one connected user" above includes the host and guests 1-8 shown in Figure 2, the target user can be the host.

[0078] In addition, the embodiment of the present disclosure does not limit the number of the above target users. For example, it can be N, where N is a positive integer.

[0079] In addition, the embodiments of the present disclosure do not limit the above “sender of the target gift”. For example, it can be any viewer of the connected microphone page other than the above target user. It can be seen that when the above “at least one connected microphone user” includes the host and guests 1-guest 8 shown in Figure 2, and the above target user is the host shown in Figure 2, the “sender of the target gift” can be any guest among guests 1-guest 8 shown in Figure 2, or any ordinary viewer who is watching the connected microphone page shown in Figure 2. Among them, the ordinary viewer refers to the viewer who does not have a connected microphone relationship with the host and is watching the connected microphone page.

[0080] Furthermore, the disclosed embodiments do not limit the above-mentioned "target gift". For example, it may refer to a gift (e.g., the gift shown in FIG3 ) that can be sent and displayed with the aid of the motion effect object (e.g., the MP4 animation shown in FIG3 ) and the track object (e.g., the tiled track shown in FIG3 ) shown below. It should be noted that for the relevant content of the "motion effect object" and "track object", please refer to the relevant content in S3 below.

[0081] The above-mentioned "gift sending request" is used to request sending a target gift to one or more target users; and the embodiment of the present disclosure does not limit the triggering method of the "gift sending request". For example, it can be implemented using any known or future method that can trigger a gift sending request.

[0082] S3: Display the target gift, the motion object corresponding to the target gift, and the trajectory object corresponding to the target gift; the trajectory object is used to display the gift movement trajectory corresponding to the target gift; the starting point of the gift movement trajectory is located in the display area of ​​the motion object, and the end point of the gift movement trajectory is determined according to the position of the user display interface of the target user.

[0083] Among them, the dynamic effect object refers to an object with a launch function that needs to be dynamically displayed, so that the dynamic effect object can dynamically display the launch base involved in the target gift (for example, a cannon barrel with a ray launch function, etc.).

[0084] In addition, the present disclosure is not limited to the above-mentioned animation object. For example, it may be a Moving Picture Experts Group 4 (MP4) animation as shown in FIG. 3 .

[0085] In addition, the animation object can be displayed in the target area of ​​the microphone connection page; and the present disclosure does not limit the target area. For example, it can be the bottom center area of ​​the microphone connection page (for example, the area where the MP4 animation is located as shown in Figure 2). It can be seen that in one possible implementation, the display area of ​​the animation object is the bottom center area of ​​the microphone connection page. Among them, the "display area of ​​the animation object" refers to the area occupied by the animation object when it is displayed on the microphone connection page.

[0086] The trajectory object is used to describe the gift movement trajectory corresponding to the target gift, so that the trajectory object can clearly indicate the trajectory along which the object (for example, cake, ray, etc.) emitted by the above animation object moves to the target user.

[0087] In addition, the present disclosure is not limited to the above-mentioned trajectory object. For example, it can specifically be: a trajectory animation that is displayed in a tiled manner from the trajectory starting point of the gift movement trajectory to the trajectory end point of the gift movement trajectory (for example, an animation that is dynamically displayed in a tiled manner for the tiled trajectory shown in Figure 3). It should be noted that the present disclosure does not limit the implementation method of the trajectory animation. For example, it can be implemented in a trace-leaving manner so that the trajectory animation can dynamically display the process of the gift movement trajectory gradually appearing on the microphone connection page. For another example, it can be implemented in a color change manner so that the trajectory animation can dynamically display the color change process of the gift movement trajectory that is directly displayed in its entirety on the microphone connection page.

[0088] In addition, the trajectory object is determined based on the trajectory starting point (for example, the trajectory starting point shown in Figure 3) and the trajectory end point (for example, the trajectory end point shown in Figure 3) of the gift movement trajectory above; wherein, because the trajectory starting point is located in the above-mentioned "display area of ​​the motion effect object", and the trajectory end point is determined based on the position of the user display interface of the target user, the trajectory object can accurately represent the tiled trajectory from the "display area of ​​the motion effect object" to the user display interface of the target user.

[0089] It should be noted that the present disclosure does not limit the implementation method of the above-mentioned trajectory end point. For example, in one possible implementation method, in order to better improve the display effect of the trajectory object, the trajectory end point can be located in the user display interface of the above-mentioned target user. This can effectively avoid interference between trajectory animations, thereby helping to improve the display effect of the trajectory object.

[0090] In addition, the present disclosure does not limit the above process of determining the trajectory object. For example, it may include the following steps 11 to 15.

[0091] Step 11: Determine the position characterization data of the center point of the track, the track length, and the track inclination angle based on the position characterization data of the track start point and the position characterization data of the track end point.

[0092] The above “position representation data of the starting point of the track” is used to represent the position of the starting point of the track on the microphone connection page.

[0093] In addition, the present disclosure does not limit the determination process of the above “position representation data of the trajectory starting point”, for example, it can be preset.

[0094] In fact, since the screen sizes of different terminal devices may be different, the sizes of the live broadcast pages displayed on different terminal devices will also be different. Therefore, in order to better improve the gift display effect, the actual display size of the above-mentioned animation object on the live broadcast page will be adaptively adjusted with the size of the live broadcast page, so that the size of the area occupied by the animation object on the live broadcast page will also be adaptively adjusted with the size of the live broadcast page, so that the actual position of the starting point of the track within the area on the live broadcast page may change.

[0095] Based on the content of the previous paragraph, it can be seen that in order to better improve the user experience, the present disclosure also provides a determination process of the "position representation data of the starting point of the trajectory" mentioned above, which can be specifically: according to the display zoom ratio of the above-mentioned dynamic effect object, the actual display position coordinates of the dynamic effect object in the page coordinate system corresponding to the microphone connection page, and the preset position coordinates of the starting point of the trajectory in the object coordinate system corresponding to the dynamic effect object, the position representation data of the starting point of the trajectory is determined. For ease of understanding, the following is a detailed explanation in conjunction with steps 21 to 24.

[0096] As an example, the process of determining the “position characterizing data of the trajectory starting point” described above may include steps 21 to 24 below.

[0097] Step 21: Obtain the preset size of the animation object, the actual display size of the animation object on the microphone connection page, and the actual display position coordinates of the animation object in the page coordinate system, where the page coordinate system is constructed based on the first preset position in the microphone connection page.

[0098] The preset size of the animation object refers to the size set in advance for the animation object. For example, the "preset size of the animation object" may include W d and H d The W d Indicates the width set in advance for the animation object; the H d Indicates the height set in advance for the animation object.

[0099] The above “actual display size of the animation object on the MC page” refers to the size of the animation object when it is displayed on the MC page. For example, the “actual display size of the animation object on the MC page” may include W aand H a The W a Indicates the width of the animation object when it is displayed on the microphone page; a Indicates the height of the animation object when it is displayed on the co-hosting page.

[0100] The "page coordinate system" mentioned above refers to a coordinate system constructed for a web-based page (e.g., the coordinate system shown in FIG4 ), so that the page coordinate system can be used to represent the coordinates of any point on the web-based page; and the page coordinate system is constructed based on a first preset position on the web-based page (e.g., point 1 shown in FIG4 ), so that all coordinates in the page coordinate system are determined with the first preset position as the origin. The first preset position can be pre-set, for example, it can be the upper left corner of the web-based page.

[0101] The above “actual display position coordinates of the animation object in the page coordinate system” are used to represent the relative position between the animation object and the microphone connection page; and the present disclosure does not limit the implementation of the “actual display position coordinates of the animation object in the page coordinate system”. For example, it can be implemented by using the actual display position coordinates of the upper left corner of the animation object (for example, point 2 shown in Figure 4) in the page coordinate system. It can be seen that in one possible implementation, the “actual display position coordinates of the animation object in the page coordinate system” may include M x and M y The M x Indicates the X-axis value of the upper left corner of the animation object in the page coordinate system; the M y Indicates the Y-axis value of the upper left corner of the animation object in the page coordinate system.

[0102] Step 22: Determine the display zoom ratio of the animation object based on the actual display size of the animation object on the microphone connection page and the preset size of the animation object.

[0103] Among them, the display zoom ratio refers to the zoom ratio used when the animation object is displayed on the microphone connection page, so that the display zoom ratio can indicate the relative size between the animation object displayed on the microphone connection page and the pre-set animation object.

[0104] In addition, the present disclosure does not limit the implementation of the above display scaling ratio, for example, it can include width scaling ratio and height scaling ratio. For example, when the above "preset size of the animation object" includes W d and H d , and the above “actual display size of the animation object on the microphone page” includes W a and H a When the width scaling ratio = Wa / W d , the height scaling ratio = H a / H d .

[0105] In addition, the present disclosure does not limit the above-mentioned process of determining the display zoom ratio. For example, the display zoom ratio is determined based on the ratio between the actual display size of the animation object on the microphone connection page and the preset size of the animation object.

[0106] Step 23: Scale the preset position coordinates of the trajectory starting point in the object coordinate system according to the scaling ratio shown above to obtain the scaled position coordinates. The object coordinate system is constructed based on the second preset position in the motion effect object with a preset size.

[0107] The object coordinate system refers to a coordinate system constructed based on a preset motion effect object (for example, the coordinate system shown in FIG5 ), so that the object coordinate system can be used to represent the coordinates of any point in the area where the motion effect object is located; and the object coordinate system is constructed based on a second preset position in a motion effect object with a preset size (that is, the object coordinate system is constructed based on a second preset position in a preset motion effect object), so that each coordinate in the object coordinate system is determined with the second preset position as the origin. The second preset position can be preset, for example, it can specifically be the upper left corner of the preset motion effect object (for example, point 3 shown in FIG5 ).

[0108] The above “preset position coordinates of the trajectory starting point in the object coordinate system” are used to represent the relative position between the preset trajectory starting point and the preset animation object (for example, the relative position between the trajectory starting point and the upper left corner of the preset animation object). For example, the “preset position coordinates of the trajectory starting point in the object coordinate system” may include G x and G y The G x Indicates the X axis of the starting point of the trajectory in the object coordinate system; the G y Indicates the Y-axis value of the starting point of the trajectory in the object coordinate system.

[0109] The above “post-scaling position coordinates” refer to the scaling result of the above “preset position coordinates of the trajectory starting point in the object coordinate system”, so that the post-scaling position coordinates can represent the relative position between the trajectory starting point and the animated object displayed on the microphone connection page (for example, the relative position between the trajectory starting point and the upper left corner of the animated object displayed on the microphone connection page). For example, the “post-scaling position coordinates” include F x and F y The F x =G x ×(Wa / W d ) so that the F x Indicates the relative horizontal position between the starting point of the trajectory and the upper left corner of the animation object displayed on the microphone connection page; y =G y ×(H a / H d ) so that the F y Indicates the vertical relative position between the starting point of the track and the upper left corner of the animation object displayed on the co-hosting page.

[0110] Step 24: Using the actual display position coordinates above, the scaled position coordinates are converted to a coordinate system (as shown in formulas (1)-(2) below) to obtain the position representation data of the starting point of the trajectory, so that the position representation data is used to represent the position coordinates of the starting point of the trajectory in the page coordinate system.

[0111] Where, (S x , S y ) represents the position characterization data of the starting point of the trajectory; S x Indicates the X-axis value of the starting point of the track in the page coordinate system; S y Indicates the Y-axis value of the starting point of the track in the page coordinate system; (M x , M y ) represents the “actual display position coordinates of the animation object in the page coordinate system” (for example, the actual display position coordinates of the upper left corner of the animation object in the page coordinate system); M x Indicates the X-axis value of the upper left corner of the animation object in the page coordinate system; M y Indicates the Y-axis value of the upper left corner of the animation object in the page coordinate system; G x Indicates the X axis of the starting point of the trajectory in the above object coordinate system; G y Indicates the Y-axis value of the starting point of the trajectory in the object coordinate system; W d Indicates the width set in advance for the animation object; H d Indicates the height set in advance for the animation object; W a Indicates the width of the animation object when it is displayed on the microphone connection page; H a Indicates the height of the animation object when it is displayed on the co-hosting page.

[0112] Based on the relevant contents of steps 21 to 24 above, it can be known that in some application scenarios, the preset position coordinates of the starting point of the trajectory in the object coordinate system can be converted into a coordinate system based on the size pre-set for the motion effect object, the actual display size of the motion effect object on the microphone-connected page, the actual display position coordinates of the upper left corner of the motion effect object in the page coordinate system, and the above formulas (1)-(2), so as to obtain the position representation data of the starting point of the trajectory, so that the position representation data can represent the position coordinates of the starting point of the trajectory in the page coordinate system. In this way, the position coordinates of the starting point of the trajectory presented in the pre-set motion effect object can be converted into the position coordinates of the starting point of the trajectory displayed on the microphone-connected page, thereby achieving the purpose of determining the actual position coordinates of the starting point of the trajectory in the page coordinate system based on the actual size information of the microphone-connected page. In this way, the influence caused by the inconsistent screen size of the display device of the microphone-connected page can be effectively overcome, thereby being conducive to improving the trajectory display effect.

[0113] The above "position representation data of the end point of the track" is used to represent the position of the end point of the track on the microphone connection page; and the present disclosure does not limit the "position representation data of the end point of the track", for example, it can refer to any position in the user display interface of the target user (for example, the center position).

[0114] The above "position representation data of the center point of the trajectory" is used to represent the position of the center point of the gift movement trajectory corresponding to the target gift above on the microphone connection page; and the "position representation data of the center point of the trajectory" can be determined based on the position representation data of the starting point of the trajectory above and the position representation data of the end point of the trajectory above (as shown in the following formulas (3)-(4)).

[0115] In the formula, (C x , C y ) represents the above “position representation data of the trajectory center point”; (S x , S y ) represents the position characterization data of the starting point of the trajectory; S x Indicates the X-axis value of the starting point of the track in the page coordinate system; S y Indicates the Y-axis value of the starting point of the track in the page coordinate system; (E x , E y ) represents the position characterization data of the trajectory end point; E x Indicates the X-axis value of the end point of the track in the page coordinate system; E y Indicates the Y-axis value of the end point of the track in the page coordinate system.

[0116] The term "trajectory length" is used to represent the length of the trajectory of the gift corresponding to the target gift. Furthermore, the trajectory length can be determined based on the distance between the starting point and the end point of the trajectory. It should be noted that the present disclosure does not limit the method for calculating the distance. For example, it can be implemented using any known or future method that can calculate the distance between two coordinate points.

[0117] The "track inclination angle" mentioned above is used to characterize the inclination angle of the gift movement track corresponding to the target gift mentioned above relative to the X-axis in the coordinate system of the page mentioned above; and the track inclination angle can be determined based on the slope of the line connecting the starting point of the track and the end point of the track. It should be noted that the present disclosure does not limit the calculation method of the slope. For example, it can be implemented using any known or future method that can calculate the inclination angle of a straight line.

[0118] Step 12: Construct an initial trajectory representation object based on the position representation data of the center point of the above trajectory and the length of the above trajectory.

[0119] The initial trajectory representation object refers to a trajectory perpendicular to the X-axis in the coordinate system of the above page (ie, the vertical trajectory shown in FIG6 ).

[0120] In addition, the present disclosure does not limit the construction process of the above initial trajectory representation object. For example, it may include the following steps 121 and 122.

[0121] Step 121: Determine the position representation data of the trajectory construction reference point (as shown in formulas (5)-(6) below) based on the position representation data of the center point of the above trajectory, the above trajectory length, and the preset trajectory width, so that the position representation data of the trajectory construction reference point can represent the position of the upper left corner of the above initial trajectory representation object in the microphone connection page.

[0122] Where, (L x , L y ) represents the position representation data of the reference point for constructing the track (for example, the position of the upper left corner of the vertical track shown in FIG6 on the microphone connection page); (C x , C y ) represents the above “position representation data of the trajectory center point”; (S x , S y ) represents the position characterization data of the starting point of the trajectory; S x Indicates the X-axis value of the starting point of the track in the page coordinate system; S y Indicates the Y-axis value of the starting point of the track in the page coordinate system; (E x , E y) represents the position characterization data of the trajectory end point; E x Indicates the X-axis value of the end point of the track in the page coordinate system; E y Indicates the Y-axis value of the end point of the track in the page coordinate system; W t Indicates the preset track width; H t It should be noted that the preset track width can be set in advance according to the application scenario.

[0123] Step 122: Construct an initial trajectory representation object based on the position representation data of the above trajectory construction reference point, the above trajectory length, and the preset trajectory width, so that the upper left corner of the initial trajectory representation object is located at the trajectory construction reference point (that is, the position representation data of the upper left corner of the initial trajectory representation object is equal to the position representation data of the trajectory construction reference point), the height of the initial trajectory representation object is equal to the trajectory length, and the width of the initial trajectory representation object is equal to the preset trajectory width, so that an initial trajectory representation object with a rectangular shape can be obtained, so that the initial trajectory representation object can represent some characteristics of the gift movement trajectory corresponding to the above target gift (for example, size, center position, etc.).

[0124] Step 13: Use the above trajectory inclination angle and the angle conversion formula corresponding to the preset rotation direction to determine the rotation angle corresponding to the object represented by the initial trajectory.

[0125] The preset rotation direction refers to the direction required when rotating the object represented by the initial trajectory, and the present disclosure does not limit the preset rotation direction. For example, it may refer to the clockwise direction shown in FIG. 6 .

[0126] The above “angle conversion formula corresponding to the preset rotation direction” is used to convert a tilt angle in the page coordinate system into a rotation angle; and the “angle conversion formula corresponding to the preset rotation direction” can be pre-set, for example, it can be the formula shown in the following formula (7), which can convert a tilt angle into a rotation angle.

[0127] The “rotation angle corresponding to the initial trajectory representation object” mentioned above refers to the rotation angle required when rotating the initial trajectory representation object mentioned above; and the “rotation angle corresponding to the initial trajectory representation object” can be determined using the following formula (7).

[0128] Where, rotation represents the rotation angle corresponding to the object represented by the initial trajectory; (S x , S y ) represents the position characterization data of the starting point of the trajectory; S x Indicates the X-axis value of the starting point of the track in the page coordinate system; Sy The table shows the Y-axis value of the starting point of the track in the page coordinate system; (E x , E y ) represents the position characterization data of the trajectory end point; E x Indicates the X-axis value of the end point of the track in the page coordinate system; E y Indicates the Y-axis value of the end point of the track in the page coordinate system; mod represents the remainder operation.

[0129] It should be noted that the present disclosure does not limit the execution time of step 13. For example, it can be specifically: the execution time of step 13 is later than the acquisition time of the above "track inclination angle".

[0130] Step 14: According to the preset rotation direction, the initial trajectory representation object is rotated by the above rotation angle to obtain the target trajectory representation object.

[0131] In the present disclosure, after obtaining the above-mentioned initial trajectory representation object (for example, the vertical trajectory shown in FIG6 ) and the rotation angle corresponding to the initial trajectory representation object in a preset rotation direction (for example, the clockwise direction shown in FIG6 ), the initial trajectory representation object is rotated along the preset rotation direction by the rotation angle (for example, the rotation angle shown in FIG6 ) to obtain a target trajectory representation object (for example, the tiled trajectory shown in FIG6 ), so that the target trajectory representation object can represent a trajectory that is tiled and displayed from the starting point of the above trajectory to the end point of the above trajectory.

[0132] Step 15: Generate a trajectory object based on the target trajectory representation object above.

[0133] It should be noted that the present disclosure does not limit the implementation method of step 15. For example, it can be specifically as follows: directly determining the above target trajectory representation object as a trajectory object. For another example, in some application scenarios, in order to better improve the trajectory display effect, step 15 can be specifically as follows: after obtaining the above target trajectory representation object, according to the preset animation effect, animation synthesis processing is performed on the target trajectory representation object to obtain the trajectory object corresponding to the target trajectory representation object, so that the trajectory object can represent the dynamic display effect presented when the target trajectory representation object is displayed according to the preset animation effect. Among them, the preset animation effect can be set in advance according to the application scenario.

[0134] Based on the relevant content of steps 11 to 15 above, it can be known that for the target gift, after determining the starting point and end point of the trajectory corresponding to the target gift (for example, the starting point and end point of the trajectory shown in Figure 6), a trajectory object can be constructed based on the position representation data of the starting point of the trajectory and the position representation data of the end point of the trajectory, so that the trajectory object can represent the trajectory animation from the starting point of the trajectory to the end point of the trajectory, so that the trajectory object can more clearly and vividly represent the movement trajectory involved in the microphone connection page.

[0135] It should be noted that the present disclosure does not limit the display order between the "target gift", "animation object", and "trajectory object" in S3 above. For example, the display time of the trajectory object is earlier than or equal to the start movement time of the target gift, and the display time of the animation object is earlier than or equal to the appearance time of the target gift.

[0136] Based on the relevant contents of S1 to S3 above, it can be known that for the interactive method provided by the embodiment of the present disclosure, when the microphone connection page is being displayed in the client, and the microphone connection page includes a user display interface of at least one microphone connection user, after receiving a gift sending request triggered by a target user among these microphone connections for requesting to send a target gift to the target user, the target gift, the dynamic effect object corresponding to the target gift (for example, MP4 animation, etc.), and the track object corresponding to the target gift are displayed. Among them, because the track object is used to display the gift movement track corresponding to the target gift, the target gift is displayed on the microphone connection page, gradually moving along the track object toward the user display interface of the target user, thereby enriching the gift interaction and improving the user experience.

[0137] It can be seen that because the above trajectory object is used to describe the gift movement trajectory corresponding to the target gift, the trajectory object can not only clearly display the trajectory starting point and trajectory end point involved in the gift movement trajectory, but also clearly display the actual movement route of the target gift in the microphone connection page. In addition, because the display time of the trajectory object is earlier than or equal to the above target gift start movement time, the trajectory object can show the actual movement route of the target gift to the user in advance, so that the user can know in advance the trajectory along which the target gift moves to the end position, which is conducive to improving the user experience.

[0138] In fact, in some application scenarios, the same gift may be sent to multiple connected users at the same time. Therefore, in order to better improve the gift sending effect (especially, to improve the gift sending display efficiency), the present disclosure also provides a possible implementation method of the above interactive method, which may specifically include the following steps 31 to 33.

[0139] Step 31: Display a microphone connection page, which includes a user display interface of at least one microphone connection user.

[0140] It should be noted that for the relevant content of step 31, please refer to the relevant content of S1 above.

[0141] Step 32: Receive a gift sending request triggered by N target users among at least one connected user, where N is a positive integer.

[0142] It should be noted that the relevant content of step 32 is similar to that of S2 above, and for the sake of brevity, it will not be repeated here.

[0143] Step 33: Display N target gifts, 1 dynamic effect object corresponding to the target gift, and N trajectory objects corresponding to the target gift. The starting point of the trajectory corresponding to each trajectory object is located at the same position, and the end point of the trajectory corresponding to each trajectory object is determined according to the position of the user display interface of each target user.

[0144] The nth target gift refers to a gift sent to the nth target user.

[0145] The nth trajectory object is used to describe the gift movement trajectory corresponding to the nth target gift above; and the starting point of the trajectory involved in the nth trajectory object is located within the "display area of ​​the motion effect object" above, and the end point of the trajectory involved in the nth trajectory object is determined according to the position of the user display interface of the nth target user (for example, the end point of the trajectory involved in the nth trajectory object is located within the user display interface of the nth target user, etc.), so that after the display process for the nth trajectory object is completed, the nth target gift is displayed within the user display interface of the nth target user, so that the nth target gift can dynamically indicate that its recipient is the nth target user. n is a positive integer, n≤N, and N is a positive integer.

[0146] In fact, after receiving the gift sending request triggered for N target users, it can be determined that a target gift needs to be sent to each target user. Among them, because each target gift corresponds to the same animation object, in order to save page display resources, only one animation object (for example, the MP4 animation shown in Figure 2) can be displayed on the microphone page, so that the target gift that each target user needs to receive can be transmitted with the help of the animation object. In this way, the purpose of sharing the same animation object in multiple gift sending processes can be achieved, thereby effectively avoiding the waste of resources caused by repeated loading of the animation object, and thus helping to improve the gift sending display effect.

[0147] In addition, in order to better reduce the time it takes to send gifts, after displaying one animation object on the live broadcast page, the trajectory objects corresponding to all target gifts (for example, all the tiled trajectory animations shown in Figure 2) can be displayed on the live broadcast page at the same time, so that the starting points of the trajectories involved in these trajectory objects are all located at the same position within the animation object (for example, the gift launch point shown in Figure 2). This can indicate that these target gifts all start moving from the same position.

[0148] In addition, in order to better reduce the time of sending gifts, all target gifts can be displayed on the microphone page at the same time, so that these target gifts can start moving along their corresponding trajectory objects at the same time, which can improve the efficiency of gift sending and display effect.

[0149] Based on the relevant content of steps 31 to 33 above, it can be seen that when choosing to send target gifts to multiple target users separately, the sending and display process of these target gifts can be displayed simultaneously on the microphone connection page, which can improve the efficiency of gift sending and the display effect. In addition, on the microphone connection page, these target gifts share the same animation object, which can effectively avoid the waste of resources caused by repeatedly loading the animation object, thereby helping to better improve the gift sending and display effect.

[0150] In fact, in order to better improve the user experience, the above-mentioned motion effect objects, the nth trajectory object, and the nth target gift can all be implemented using animation data, which is conducive to improving the user's visual experience.

[0151] However, when a large number of animations are played at the same time, a lag phenomenon may occur, which affects the user experience. Therefore, in order to better improve the user experience, the present disclosure also provides a possible implementation method of the display process of any of the above animation data (for example, the above motion effect object, the nth trajectory object or the nth target gift, etc.). In this implementation method, when the above interactive method is applied to any terminal device, if at least one frame of animation image corresponding to the animation data is stored in the preset storage space of the terminal device, then the display process of the animation data can be specifically: reading and displaying at least one frame of animation image corresponding to the animation data from the preset storage space, thereby effectively avoiding the resource pressure caused by executing the step of converting the animation instance corresponding to the animation data into at least one frame of animation image corresponding to the animation data, thereby effectively reducing the resource pressure of the terminal device, and then effectively avoiding the occurrence of the lag phenomenon, which is conducive to improving the gift sending display effect.

[0152] The preset storage space refers to a unit existing in the terminal device and having a data storage function; and the present disclosure does not limit the preset storage space. For example, it can be implemented with the help of a cache.

[0153] In addition, the present disclosure does not limit the storage process of the above “at least one frame of animation image corresponding to the animation data”, for example, it may specifically include the following steps 41 to 43.

[0154] Step 41: Obtain the animation instance corresponding to the target animation data.

[0155] The target animation data refers to the animation data that needs to be processed so that the target animation data can be used to represent any of the above animation data. For example, the target animation data can be the above-mentioned motion effect object, the nth trajectory object, or the nth gift representation object.

[0156] The animation instance corresponding to the target animation data is used to describe what the target animation data is specifically; and the present disclosure does not limit the animation instance.

[0157] Step 42: Perform frame animation decoding processing on the animation instance corresponding to the target animation data to obtain at least one frame animation image corresponding to the target animation data.

[0158] The frame animation decoding process is used to decode an animation instance into multiple frame bitmaps; and the present disclosure is not limited to the frame animation decoding process.

[0159] The above “at least one frame of animation image corresponding to the target animation data” is used to describe the image data included in the target animation data.

[0160] Step 43: storing at least one frame of animation image corresponding to the target animation data into a preset storage space.

[0161] In the present disclosure, after obtaining at least one frame of animation image corresponding to the target animation data, the at least one frame of animation image can be directly stored in a preset storage space so that these animation images can be directly read from the preset storage space later. This can effectively avoid the resource pressure caused by multiple loading, decoding and other processing of the same animation data in a short period of time, thereby helping to improve the sending display effect achieved by sending multiple gifts at the same time.

[0162] Based on the relevant content of steps 41 to 43 above, it can be seen that in some application scenarios (for example, when sending the same gift to multiple connected persons at the same time), some animation data can be first stored in the storage space of the terminal device; then, by multiplexing the stored animation data, the gift sending and display process for sending the same gift to multiple connected persons at the same time can be completed. This can effectively avoid the occurrence of lag, thereby effectively improving the gift sending and display effect.

[0163] In addition, in order to better understand the relevant content of steps 41 to 43 above, an example scenario is used below for explanation.

[0164] As an example, when the interactive method provided by the present disclosure is applied to a terminal device, the process of the terminal device using a known framework to simultaneously play multiple animation data involves the technical details shown in the following (1)-(6).

[0165] (1) Create a private cache object in the terminal device, specify the cache size and cache strategy, and establish a mapping relationship between various animation data and the private cache object.

[0166] (2) Fix the cache keyword to ensure that when the same animation data is played multiple times, the cache keyword corresponding to the same frame of animation image is the same.

[0167] (3) Inject the cache object into the animation instance. As the frame animation decoding process for the animation instance is completed, the frame bitmap will be stored in the custom cache.

[0168] (4) When the animation data is played again, the frame bitmap cache is reused and no decoding action occurs, thereby effectively reducing resource consumption.

[0169] (5) Pre-decode the animation data before playing it for the first time to reduce the lag that occurs when playing the animation for the first time.

[0170] (6) After the gift is fully displayed, the cache is cleared to release the cache memory to reduce the resource pressure of the terminal device.

[0171] Based on the relevant contents of (1)-(6) above, it can be seen that in one possible implementation, when the same gift is sent to multiple connected persons at the same time, all animation data involved in the sending and display of the gift can be played with the help of a known framework to achieve the purpose of reducing resource consumption.

[0172] Based on the interactive method provided in the embodiments of the present disclosure, the embodiments of the present disclosure also provide an interactive device, which will be explained and illustrated below in conjunction with Figure 7. Figure 7 is a schematic diagram of the structure of an interactive device provided in the embodiments of the present disclosure. It should be noted that for the technical details of the interactive device provided in the embodiments of the present disclosure, please refer to the relevant content of the interactive method above.

[0173] As shown in FIG7 , an interactive device 700 provided in an embodiment of the present disclosure includes:

[0174] A first display unit 701 is configured to display a microphone connection page, wherein the microphone connection page includes a user interface of at least one microphone connection user;

[0175] A request receiving unit 702 is configured to receive a gift sending request triggered by a target user among the at least one connected microphone user, wherein the gift sending request is used to request sending a target gift to the target user;

[0176] The second display unit 703 is used to display the target gift, the dynamic effect object corresponding to the target gift, and the trajectory object corresponding to the target gift; the trajectory object is used to display the gift movement trajectory corresponding to the target gift; the starting point of the gift movement trajectory is located in the display area of ​​the dynamic effect object, and the end point of the gift movement trajectory is determined according to the position of the user display interface of the target user.

[0177] In one possible implementation, the position representation data of the starting point of the trajectory is determined based on the display scaling ratio of the animation object, the actual display position coordinates of the animation object in the page coordinate system corresponding to the microphone connection page, and the preset position coordinates of the starting point of the trajectory in the object coordinate system corresponding to the animation object.

[0178] In a possible implementation manner, the display zoom ratio is determined according to an actual display size of the motion effect object on the microphone connection page and a preset size of the motion effect object.

[0179] In a possible implementation manner, the interactive device 700 further includes:

[0180] A position determination unit is configured to scale the preset position coordinates of the starting point of the trajectory in the object coordinate system according to the display scaling ratio to obtain scaled position coordinates, wherein the object coordinate system is constructed based on the dynamic effect object having the preset size; and to perform coordinate system conversion processing on the scaled position coordinates using the actual display position coordinates of the dynamic effect object in the page coordinate system to obtain position representation data of the starting point of the trajectory.

[0181] In a possible implementation manner, the interactive device 700 further includes:

[0182] The trajectory determination unit is configured to determine, based on the position representation data of the trajectory starting point and the position representation data of the trajectory end point, the position representation data of the trajectory center point, the trajectory length, and the trajectory inclination angle; construct an initial trajectory representation object based on the position representation data of the trajectory center point and the trajectory length; determine a rotation angle corresponding to the initial trajectory representation object using the trajectory inclination angle; rotate the initial trajectory representation object by the rotation angle to obtain a target trajectory representation object; and generate the trajectory object based on the target trajectory representation object.

[0183] In one possible implementation, the track inclination angle is determined according to the slope of a line connecting the start point of the track and the end point of the track;

[0184] and / or,

[0185] The track length is determined according to the distance between the track start point and the track end point.

[0186] In a possible implementation manner, the number of target users is N, where N is a positive integer;

[0187] The second display unit 703 is specifically used to: display N target gifts, 1 motion effect object, and N trajectory objects, the starting point of the trajectory corresponding to each trajectory object is located at the same position, and the end point of the trajectory corresponding to each trajectory object is determined according to the position of the user display interface of each target user.

[0188] In one possible implementation, the interactive method is applied to a terminal device; at least one of the motion effect object, the trajectory object, or the target gift is animation data;

[0189] If at least one frame of animation image corresponding to each animation data is stored in the preset storage space of the terminal device, the second display unit 703 is specifically used to read and display at least one frame of animation image corresponding to each animation data from the preset storage space.

[0190] In a possible implementation manner, the interactive device 700 further includes:

[0191] The data storage unit is used to obtain the animation instance corresponding to each of the animation data; perform frame animation decoding processing on each of the animation instances to obtain at least one frame of animation image corresponding to each of the animation data; and store at least one frame of animation image corresponding to each of the animation data into the preset storage space.

[0192] In a possible implementation manner, the trajectory object is a trajectory animation that is tiled and displayed from the trajectory starting point to the trajectory end point;

[0193] and / or,

[0194] The display area of ​​the animation object is the bottom center area of ​​the microphone connection page.

[0195] Based on the relevant content of the above-mentioned interactive device 700, it can be known that for the interactive device 700 provided by the embodiment of the present disclosure, when a microphone connection page is being displayed in the interactive device 700, and the microphone connection page includes a user display interface of at least one microphone connection user, after receiving a gift sending request triggered by a target user among these microphone connection users for requesting to send a target gift to the target user, the target gift, the dynamic effect object corresponding to the target gift (for example, MP4 animation, etc.), and the track object corresponding to the target gift are displayed. Among them, because the track object is used to display the gift movement track corresponding to the target gift, the target gift is displayed on the microphone connection page, gradually moving along the track object toward the user display interface of the target user, so that the process of sending the target gift to the target user can be clearly shown.

[0196] It can be seen that since the above trajectory object is used to describe the gift movement trajectory corresponding to the target gift, the trajectory object can not only clearly display the trajectory starting point and trajectory end point involved in the gift movement trajectory, but also clearly display the actual movement route of the target gift in the microphone connection page.

[0197] In addition, because the display time of the trajectory object is earlier than or equal to the time when the target gift starts to move, the trajectory object can show the actual moving route of the target gift to the user in advance, so that the user can know in advance the trajectory along which the target gift moves to the end position, which is conducive to improving the user experience.

[0198] In addition, an embodiment of the present disclosure also provides an electronic device, which includes a processor and a memory: the memory is used to store instructions or computer programs; the processor is used to execute the instructions or computer programs in the memory, so that the electronic device executes any implementation of the interactive method provided by the embodiment of the present disclosure.

[0199] Referring to FIG8 , a schematic diagram of the structure of an electronic device 800 suitable for implementing embodiments of the present disclosure is shown. Terminal devices in embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in FIG8 is merely an example and should not limit the functionality or scope of use of embodiments of the present disclosure.

[0200] As shown in Figure 8, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. Various programs and data required for the operation of the electronic device 800 are also stored in the RAM 803. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0201] Typically, the following devices may be connected to the I / O interface 805: an input device 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although FIG8 shows the electronic device 800 with various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.

[0202] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 809, or installed from the storage device 808, or installed from the ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.

[0203] The electronic device provided by the embodiment of the present disclosure and the method provided by the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, please refer to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0204] The embodiments of the present disclosure further provide a computer-readable medium, in which instructions or computer programs are stored. When the instructions or computer programs are executed on a device, the device executes any implementation of the interactive method provided in the embodiments of the present disclosure.

[0205] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0206] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (Hypertext Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.

[0207] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0208] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device can perform the method.

[0209] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0210] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0211] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit / module does not, in some cases, limit the unit itself.

[0212] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0213] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0214] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the systems or devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.

[0215] It should be understood that in the present disclosure, "at least one (item)" refers to one or more, and "plurality" refers to two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0216] It should also be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.

[0217] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0218] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present disclosure. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to the embodiments shown herein, but is intended to be construed in the widest manner consistent with the principles and novel features disclosed herein.

Claims

1. An interactive method comprising: Displaying a microphone connection page, wherein the microphone connection page includes a user display interface of at least one microphone connection user; Receiving a gift sending request triggered by a target user among the at least one connected microphone user, wherein the gift sending request is used to request sending a target gift to the target user; Display the target gift, the dynamic object corresponding to the target gift, and the track object corresponding to the target gift; The trajectory object is used to display the gift movement trajectory corresponding to the target gift; the starting point of the gift movement trajectory is located in the display area of ​​the motion effect object, and the end point of the gift movement trajectory is determined according to the position of the user display interface of the target user.

2. The method according to claim 1, wherein: The position representation data of the starting point of the trajectory is determined based on the display scaling ratio of the animation object, the actual display position coordinates of the animation object in the page coordinate system corresponding to the microphone connection page, and the preset position coordinates of the starting point of the trajectory in the object coordinate system corresponding to the animation object.

3. The method according to claim 2, wherein: The process of determining the display zoom ratio is as follows: A display zoom ratio of the motion effect object is determined according to an actual display size of the motion effect object on the microphone connection page and a preset size of the motion effect object.

4. The method according to claim 2, wherein: The process of determining the position characterization data of the starting point of the trajectory includes: Scaling the preset position coordinates of the starting point of the trajectory in the object coordinate system according to the display scaling ratio to obtain scaled position coordinates, wherein the object coordinate system is constructed based on the dynamic effect object with the preset size; The actual display position coordinates of the animation object in the page coordinate system are used to perform coordinate system conversion processing on the scaled position coordinates to obtain position representation data of the starting point of the trajectory. The page coordinate system is constructed for the microphone connection page.

5. The method according to any one of claims 1 to 4, wherein: The construction process of the trajectory object includes: Determine the position characterization data of the center point of the track, the track length, and the track inclination angle according to the position characterization data of the starting point of the track and the position characterization data of the end point of the track; According to the position characterization data of the center point of the trajectory and the length of the trajectory, an initial trajectory table is constructed. Object of recruitment; Determine the rotation angle corresponding to the object represented by the initial trajectory using the trajectory inclination angle; Rotating the initial trajectory representation object by the rotation angle to obtain a target trajectory representation object; The trajectory object is generated according to the target trajectory representation object.

6. The method according to claim 5, wherein: The track inclination angle is determined according to the slope of the line between the track start point and the track end point; and / or, The track length is determined based on the distance between the track start point and the track end point.

7. The method according to claim 1, wherein: The number of target users is N, where N is a positive integer; The displaying of the target gift, the motion effect object corresponding to the target gift, and the track object corresponding to the target gift includes: Display N target gifts, 1 motion effect object, and N trajectory objects, the trajectory starting points corresponding to each trajectory object are located at the same position, and the trajectory ending points corresponding to each trajectory object are determined according to the position of the user display interface of each target user.

8. The method according to any one of claims 1 to 7, wherein: The interactive method is applied to a terminal device; At least one of the motion effect object, the trajectory object or the target gift belongs to animation data; If at least one frame of animation image corresponding to each of the animation data is stored in the preset storage space of the terminal device, the display process of each of the animation data includes: At least one frame of animation image corresponding to each of the animation data is read from the preset storage space and displayed.

9. The method according to claim 8, wherein: Before reading and displaying at least one frame of animation image corresponding to each animation data from the preset storage space, the method further includes: Obtaining the animation instance corresponding to each of the animation data; Perform frame animation decoding processing on each of the animation instances to obtain at least one frame of animation image corresponding to each of the animation data; At least one frame of animation image corresponding to each of the animation data is stored in the preset storage space.

10. The method according to claim 1, wherein: The track object is a track animation that is displayed in a tiled manner from the start point of the track to the end point of the track; and / or, The display area of ​​the animation object is the bottom center area of ​​the microphone connection page.

11. An interactive device comprising: A first display unit, configured to display a microphone connection page, wherein the microphone connection page includes a user display interface of at least one microphone connection user; A request receiving unit, configured to receive a gift sending request triggered by a target user among the at least one connected microphone user, wherein the gift sending request is used to request sending a target gift to the target user; A second display unit is used to display the target gift, the dynamic effect object corresponding to the target gift, and the track object corresponding to the target gift; The trajectory object is used to display the gift movement trajectory corresponding to the target gift; the starting point of the gift movement trajectory is located in the display area of ​​the motion effect object, and the end point of the gift movement trajectory is determined according to the position of the user display interface of the target user.

12. An electronic device comprising: Processor and memory; The memory is used to store instructions or computer programs; The processor is used to execute the instructions or computer programs in the memory so that the electronic device executes the method according to any one of claims 1 to 10.

13. A computer-readable medium, wherein: The computer-readable medium stores instructions or computer programs, and when the instructions or computer programs are executed on a device, the device executes the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method, apparatus and device for display of presentation of virtual gifts in multi-anchor live room

    CN109194973A

  • Interaction method for presenting virtual gifts, electronic equipment and device

    CN111225226A

  • Virtual gift display method, device and system in live streaming and storage medium

    CN113596498A

  • Interaction method and device, electronic equipment and computer readable medium

    CN115767120A

  • Interaction method and device, electronic equipment and computer readable medium

    CN116546229A