Interaction method and device of live broadcast room
By building a material library and displaying personalized like effects, the problem of single like effects in the existing technology is solved, and the user experience and interactiveness in the live broadcast room is improved.
Patent Information
- Application Number
- CN202411488763.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-01-03
AI Technical Summary
The like effects in the existing live broadcast room lack personalization and diversity, resulting in poor user experience and inability to effectively improve the interactivity and activity of the live broadcast room.
By obtaining user avatars and multiple icon images, selecting and displaying target materials as like display effects according to preset rules, including random selection of materials, magnifying display of user avatars, displaying likes and progress bars, and achieving pre-order The liked Easter egg animation is displayed when the conditions are set.
It has increased the diversity of like display effects, improved the user's interactive experience and sense of participation, and attracted viewers to interact more in the live broadcast room.
Smart Images

Figure CN119255001A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of live broadcast technology, and in particular to a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for interaction between live broadcast rooms. Background Art
[0002] In the current online live streaming industry, interactivity is a key indicator of live stream activity and user engagement. The "like" function, one of the most common interactive methods within live streams, not only expresses users' appreciation and approval of the content but also enhances the liveliness and atmosphere of the live stream. Currently, live stream pages display a single, uniform "like" effect, lacking personalization and diversity, resulting in a poor user experience.
[0003] It should be noted that the above content is not necessarily prior art, nor is it intended to limit the scope of patent protection of this application. Summary of the Invention
[0004] The embodiments of the present application provide a live broadcast room interaction method, apparatus, computer equipment, computer-readable storage medium, and computer program product to solve or alleviate one or more technical problems raised above.
[0005] One aspect of an embodiment of the present application provides a method for interacting with a live broadcast room, the method comprising: displaying a target live broadcast room; In response to the target control being triggered, selecting a target material from a material library according to a preset rule, wherein the material library is obtained in advance; Displaying the target material in the target live broadcast room as a display effect in response to the target operation; The material library is obtained through the following operations: In response to entering the target live broadcast room, obtaining a user avatar; and Get multiple different icon images from the server; The material library is constructed based on the user portrait and multiple icon images to be used as a special effect for displaying likes.
[0006] Optionally, each material in the material library is bound to an identifier, and multiple identifiers constitute an identifier set; selecting a target material from the material library according to a preset rule includes: randomly selecting a target identifier from the set of identifiers; determining the target material from the material library according to the target identifier; When the target material determined according to the target identifier is a user portrait and the material used last time is a user portrait, the target identifier is randomly selected again.
[0007] Optionally, displaying the target material in the target live broadcast room includes: In a case where the target material is a user portrait, the target material is displayed in an enlarged manner.
[0008] Optionally, the live broadcast room interaction method further includes: When the number of consecutive likes is a multiple of a preset value, the value corresponding to the number of likes is displayed in the preset area.
[0009] Optionally, the target operation includes a like operation; and the live broadcast room interaction method further includes: When the number of consecutive likes exceeds the target number, a target pattern and a progress bar surrounding the target pattern are displayed; During the process of displaying the target pattern and the progress bar, the length of the progress bar is adjusted based on the subsequent number of consecutive likes until the progress value corresponding to the progress bar reaches a first preset progress value, and then the like easter egg animation is displayed.
[0010] Optionally, the live broadcast room interaction method further includes: During the process of displaying the target pattern and the progress bar, if no new like operation is detected within a preset time interval, the progress bar is controlled to retract until the progress value is lower than a second preset progress value, and the target pattern and the progress bar are hidden.
[0011] Optionally, the live broadcast room interaction method further includes: When the target control is triggered again during the process of the progress bar rolling back, the progress bar is controlled to increase the progress.
[0012] Another aspect of an embodiment of the present application provides an interactive device for a live broadcast room, the device comprising: The first display module is used to display the target live broadcast room; A selection module, configured to select a target material from a material library in response to a target control being triggered according to a preset rule, wherein the material library is acquired in advance; A second display module is used to display the target material in the target live broadcast room as a display effect in response to the target operation; The material library is obtained through the following operations: In response to entering the target live broadcast room, obtaining a user avatar; and Get multiple different icon images from the server; The material library is constructed based on the user portrait and multiple icon images to be used as a special effect for displaying likes.
[0013] Another aspect of an embodiment of the present application provides a computer device, including: at least one processor; and a memory communicatively coupled to the at least one processor; Wherein: the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described above.
[0014] Another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method described above is implemented.
[0015] Another aspect of an embodiment of the present application provides a computer program product, including a computer program, which implements the above-mentioned method when executed by a processor.
[0016] The embodiment of the present application employing the above-mentioned technical solution may have the following advantages: The target live broadcast room is displayed to the audience. When the audience enters the target live broadcast room and triggers the target control (e.g., a like control), the target material (e.g., a smiley face icon) is selected from a pre-set material library according to a preset rule, and then the target material is displayed in the target live broadcast room as a feedback effect for the target operation (e.g., a like operation), thereby increasing the diversity of display effects such as likes, improving the interactive experience, and thus attracting the audience to interact with the target live broadcast room (e.g., like). BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings illustrate exemplary embodiments and constitute a part of the specification. Together with the description of the specification, they serve to explain exemplary implementation of the embodiments. The illustrated embodiments are for illustrative purposes only and do not limit the scope of the claims. Throughout the drawings, the same reference numerals designate similar, but not necessarily identical, elements.
[0018] Figure 1 The following schematically shows an operating environment diagram of the interactive method for a live broadcast room according to the first embodiment of the present application; Figure 2 The following schematically shows a flow chart of a method for interacting with a live broadcast room according to the first embodiment of the present application; Figure 3 Schematically shows Figure 2 Flowchart of obtaining the material library corresponding to step S202; Figure 4 Schematically shows Figure 2 Flowchart of sub-steps of step S202; Figure 5 The following schematically shows a newly added flow chart of the interactive method of the live broadcast room according to the first embodiment of the present application; Figure 6The following schematically shows an exemplary application flow chart of the present application; Figure 7A 、 7B 7C schematically shows the effect diagram corresponding to the like operation in an embodiment of the present application; Figure 8 A block diagram schematically shows an interactive device for a live broadcast room according to the second embodiment of the present application; and Figure 9 The following schematically shows a hardware architecture diagram of a computer device according to the third embodiment of the present application. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solutions and advantages of this application more clear, the present application is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0020] It should be noted that the descriptions of "first", "second", etc. in the embodiments of the present application are for descriptive purposes only and should not be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but this must be based on the fact that they can be implemented by ordinary technicians in this field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0021] In the description of this application, it should be understood that the numerical labels before the steps do not indicate the order in which the steps are executed. They are only used to facilitate the description of this application and to distinguish each step. Therefore, they cannot be understood as limitations on this application.
[0022] To facilitate those skilled in the art to understand the technical solutions provided in the embodiments of the present application, the following describes the relevant technologies: In the current internet live streaming industry, interactivity is one of the key indicators for measuring live broadcast room activity and audience engagement. The "Like" function, as one of the most common interactive methods within a live broadcast room, not only expresses the audience's love and recognition of the live content but also, to a certain extent, enhances the live broadcast room's activity and atmosphere. However, the applicant has learned that after a viewer clicks "Like" in a live broadcast room, a "Like" gesture icon is generally displayed on the live broadcast room page. However, when different viewers click "Like," the same "Like" special effect is displayed, resulting in a single "Like" special effect.
[0023] To this end, the present application provides an interactive technical solution for a live broadcast room to overcome the above-mentioned problems. Detailed description is provided below.
[0024] Finally, for ease of understanding, an exemplary operating environment is provided below.
[0025] like Figure 1 As shown, the operating environment diagram includes: service platform 2, host terminals (4A, 4B, ..., 4M), and viewer terminals (6A, 6B, ..., 6N). In the live broadcast scenario, the host terminals (4A, 4B, ..., 4M) log in to service platform 2, which then pushes live broadcast data to viewer terminals (6A, 6B, ..., 6N) in real time.
[0026] Service platform 2 can provide live broadcast service, which can be a single server, a server cluster or a cloud computing service center.
[0027] The host terminals (4A, 4B, ..., 4M) are used to generate live broadcast data in real time and stream the live broadcast data. The live broadcast data may include audio or video data. The host terminals can be electronic devices such as smartphones and tablets. Alternatively, the host terminals can be virtual computing instances within the service platform 2.
[0028] The viewer terminals (6A, 6B, ..., 6N) can be configured to receive live broadcast data from the host terminal in real time. The viewer terminals (6A, 6B, ..., 6N) can be any type of computing device, such as a smartphone, tablet, laptop, smart TV, or in-car terminal. The viewer terminals (6A, 6B, ..., 6N) can have a built-in browser or dedicated program to receive the live broadcast data and output content to the user. The content can include video, audio, commentary, text data, and / or the like.
[0029] The viewer terminal (6A, 6B, ..., 6N) may include a player. The player outputs (e.g., displays, presents) content to the user. The content may include video, audio, comments, text data, and / or the like. The viewer terminal (6A, 6B, ..., 6N) may include an interface, which may include an input element (touch screen). For example, the input element may be configured to receive user instructions, which may cause the viewer terminal (6A, 6B, ..., 6N) to perform various operations, such as sending a bullet comment, entering a comment, sending a gift, liking an interaction, etc.
[0030] The host terminals (4A, 4B, ..., 4M), the viewer terminals (6A, 6B, ..., 6N), and the service platform 2 may be connected via a network. The network may include various network devices, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, and / or proxy devices. The network may include physical links, such as coaxial cable links, twisted-pair cable links, optical fiber links, combinations thereof, and / or the like. The network may also include wireless links, such as cellular links, satellite links, Wi-Fi links, and / or the like.
[0031] It should be noted that the number of host terminals and viewer terminals in the figure is only illustrative and is not intended to limit the scope of patent protection of this application. Depending on the actual situation, there can be any number of host terminals and viewer terminals.
[0032] The following describes the technical solutions of the present application through multiple embodiments, taking the viewer terminal as the execution subject. It should be noted that these embodiments can be implemented in many different forms and should not be interpreted as being limited to the embodiments described here.
[0033] Example 1 Figure 2 The flowchart of the interactive method of the live broadcast room according to the first embodiment of the present application is schematically shown.
[0034] like Figure 2 As shown, the interactive method of the live broadcast room may include steps S200 to S204, wherein: Step S200: display the target live broadcast room.
[0035] Step S202 : in response to the target control being triggered, selecting a target material from a material library according to a preset rule, wherein the material library is obtained in advance.
[0036] Step S204: display the target material in the target live broadcast room as a display effect in response to the target operation.
[0037] The material library is obtained by the following operations: In response to entering the target live broadcast room, obtaining a user avatar; and Get multiple different icon images from the server; The material library is constructed based on the user portrait and multiple icon images to be used as a special effect for displaying likes.
[0038] The interactive method for live broadcast rooms provided in this embodiment displays a target live broadcast room to viewers. When a viewer enters the target live broadcast room and triggers a target control (e.g., a like control), a target material (e.g., a smiley face icon) is selected from a pre-set material library according to preset rules. The target material is then displayed in the target live broadcast room as a feedback effect for the target operation (e.g., a like operation), thereby increasing the diversity of like display effects and attracting viewers to like the target live broadcast room.
[0039] The following combination Figure 2 , each step in steps S200~S204 and other optional steps are described in detail.
[0040] Step S200 , display the target live broadcast room.
[0041] The target live broadcast room can be of various types such as entertainment, education, e-commerce, sports, etc.
[0042] The target live broadcast room can be displayed to the audience through list display, grid layout, category filtering tags, real-time live broadcast dynamics and search functions.
[0043] Step S202 In response to the target control being triggered, the target material is selected from the material library according to a preset rule, and the material library is obtained in advance.
[0044] The target control can be a like control or other controls.
[0045] In some embodiments, target materials may be selected from the material library in situations such as continuous comments and gift giving.
[0046] The target material can be a static image (such as a smiley face icon image), a GIF animation (such as a twinkling star animation), a custom animation effect, or a short video clip.
[0047] Preset rules are used to guide how to select target materials from the material library to respond to the audience's target actions (such as like actions).
[0048] In some embodiments, preset rules can be set based on viewer behavior (e.g., number of likes, speed of likes). For example, different like count intervals can be set, with each interval corresponding to different content. For example, a normal heart-shaped image can be displayed for 1-5 likes, a heart-shaped image with a flashing effect can be displayed for 6-10 likes, and a more colorful animation effect can be displayed for more than 10 likes.
[0049] In some embodiments, preset rules can be set based on the attributes of the target live broadcast room. Different types of target live broadcast rooms (such as entertainment live broadcast rooms, education live broadcast rooms, e-commerce live broadcast rooms, etc.) can set different material libraries and rules. For example, an entertainment live broadcast room can display humorous special effects, such as the host's funny emoticons or funny animations. An education live broadcast room can display knowledge-related special effects, such as turning pages of a book, knowledge planets, etc., to match the educational atmosphere. An e-commerce live broadcast room can display shopping-related special effects, such as shopping cart animations, discount tags, etc., to enhance the audience's experience.
[0050] like Figure 3 As shown, the material library is obtained through the following operations: Step S300, in response to entering the target live broadcast room, obtaining a user avatar; and Step S302, obtaining a plurality of different icon images from a server; Step S304: construct the material library based on the user portrait and the multiple icon images to be used as a like display effect.
[0051] In some embodiments, after the audience obtains the user avatar, some pre-processing may be performed, such as adjusting the avatar size, cropping, denoising, etc., to improve the subsequent display effect of the user avatar as a display special effect.
[0052] The icon image may be a smiley face icon image, a thumb gesture icon image, a star icon image, a heart icon image, or the like.
[0053] After the viewer enters the target live broadcast room, the user's avatar is obtained and several icon images are obtained from the server to build a material library. After the material library is built, it can be saved in the local cache or saved to the server.
[0054] In this embodiment, a material library is constructed by obtaining user avatars and various icon images, which are used as special effects for displaying likes in the target live broadcast room. This not only personalizes and enriches the user experience, but also increases user participation and encourages users to perform target operations (such as likes) again.
[0055] In an optional embodiment, each material in the material library is bound to an identifier, and multiple identifiers constitute an identifier set; Figure 4 As shown, step S202 may include: Step S400, randomly selecting a target identifier from the identifier set; Step S402: determining the target material from the material library according to the target identifier; When the target material determined according to the target identifier is a user portrait and the material used last time is a user portrait, the target identifier is randomly selected again.
[0056] The identifier can be a numeric identifier or other identifier.
[0057] You can define a set of numeric identifiers containing multiple numbers. For example, the set of numeric identifiers could be {1, 2, 3, ..., N}, where N is the total number of assets in the asset library. These numbers are used to uniquely identify each asset in the asset library.
[0058] When a viewer triggers a target control, a random number generator randomly selects a number from a set of digital identifiers as the target digital identifier. Based on the target digital identifier, the corresponding asset is searched and determined from the asset library as the target asset for this Like. To increase the diversity of display effects, if the asset used in the previous Like was a user's profile picture, this Like will select an asset other than the user's profile picture from the asset library as the target asset.
[0059] In this embodiment, a target asset is determined by binding a unique identifier to each asset in the asset library and randomly selecting a target identifier when a Like is clicked. This target asset is then used as a display effect in response to a target action (e.g., a Like). This allows the display effect to be expanded beyond a single thumbs-up icon to include discrete user avatars, enriching the Like display experience.
[0060] Step S204 , display the target material in the target live broadcast room as a display effect in response to the target operation.
[0061] In some embodiments, the target material display can appear in an animated form, such as flying in from the edge of the screen, rotating, or flashing, to attract the audience's attention. In some embodiments, in order to enrich the display effects, various dynamic effects such as flashing, rotating, color changing, fading, explosion, etc. can be used when displaying the target material in the target live broadcast room.
[0062] Take likes as an example: The target material can be displayed near the like location, on the host's body (such as the top of the host's head, shoulders, etc.), or in a customized location by the audience.
[0063] In some embodiments, in order to reduce the obstruction of important content on the live broadcast screen, a dedicated display area can be set at the edge area such as the top or both sides of the screen. For example, when the like position is close to the top of the screen, the target material can be displayed in the display area set at the top of the screen. The display duration of the target material can be a preset duration (such as 1 second). The display duration of the target material can also be dynamically adjusted according to the audience's interactive behavior (such as the speed of likes, the number of likes, continuous likes, etc.). For example, when the audience likes quickly or continuously, the display duration of the target material can be extended. The target material can be displayed only on the viewer's personal screen, thereby reducing the impact on other viewers. It can also be displayed at a specific location on other people's screens, thereby increasing the interactivity and viewing experience of the live broadcast room.
[0064] In some embodiments, the display method of the target material can be integrated with the live broadcast screen, for example, a heart-shaped pattern can be integrated with the host's head or hand to form a visual effect of "heart on the host's head" or "fireworks in the host's hands".
[0065] In some embodiments, the live broadcast interface is designed to include a functional area that displays the number of likes in real time, so that the host and all viewers can clearly observe the changes in the number of likes caused by the like behavior.
[0066] In an optional embodiment, step S204 may include: if the target material is a user portrait, displaying the target material in an enlarged manner.
[0067] When the target material is a user avatar, in addition to enlarging and displaying the target material, you can also add flashing effects and other methods to the target material to make the target material as the user avatar more eye-catching, thereby improving the visual effect and user experience.
[0068] In some embodiments, when the target material is a user portrait, in addition to magnifying the target material, other display methods can be used. For example, different display durations or movement directions can be set for the target material being a user portrait and the target material being other icon images (such as a smiley face) to enhance user engagement and encourage users to perform the desired action.
[0069] In an optional embodiment, the target operation includes a like operation; and the live broadcast room interaction method may further include: When the number of consecutive likes is a multiple of a preset value, the value corresponding to the number of likes is displayed in the preset area.
[0070] Continuous likes means that the time interval between adjacent like operations does not exceed a certain threshold, such as 0.5 seconds.
[0071] The preset value can be 5 or any other value. Figure 7A When the number of consecutive likes is 5, 10, 60, etc., “×5”, “×10”, or “×60” is displayed in the upper left corner of the icon image.
[0072] In an optional embodiment, if Figure 5 As shown, the interactive method of the live broadcast room may further include: Step S500: When the number of consecutive likes exceeds the target number, a target pattern and a progress bar surrounding the target pattern are displayed; Step S502: During the process of displaying the target pattern and the progress bar, the length of the progress bar is adjusted based on the subsequent number of consecutive likes, until the progress value corresponding to the progress bar reaches a first preset progress value, and then a like easter egg animation is displayed.
[0073] When the number of consecutive likes from viewers exceeds the preset target number (for example, 10 consecutive likes), a target pattern will be displayed on the live broadcast room interface, such as a thumb pattern, a star pattern, or any symbol representing likes or appreciation.
[0074] The target image surrounds a progress bar. This bar visually shows how close the viewer is to triggering the Like Easter Egg animation. The progress bar can be circular, wavy, or any other shape.
[0075] The likes easter egg animation can be a thumb pattern around a fireworks effect, a thank you message, or a special event (such as a special performance by the anchor, a small gift, etc.).
[0076] When the progress value corresponding to the progress bar reaches the first preset progress value (for example, 100%), the likes easter egg animation is triggered and displayed. Figure 7B ( Figure 7B The red arrows in the figure are for easy understanding of the later markings) and Figure 7C When the number of consecutive likes is 30 times the speed, the progress value corresponding to the progress bar reaches 100%, and the target pattern and progress bar are hidden, and the like easter egg animation pops up.
[0077] In some embodiments, to enhance the visual effect, the color of the like easter egg animation may be designed to be darker or more vivid than the color of the target pattern and the progress bar.
[0078] In this embodiment, when a viewer's consecutive likes exceed a set target number, the target livestream will display a target icon (e.g., a thumbs-up icon) and a progress bar surrounding the target icon. As the number of likes increases, the progress bar gradually increases. When the progress bar reaches a first preset value (e.g., 100%), a likes Easter egg animation is displayed. This embodiment enhances viewer engagement through visual enhancement effects, adding more fun to the target livestream.
[0079] In an optional embodiment, the live broadcast room interaction method may further include: During the process of displaying the target pattern and the progress bar, if no new like operation is detected within a preset time interval, the progress bar is controlled to retract until the progress value is lower than a second preset progress value, and the target pattern and the progress bar are hidden.
[0080] The preset time interval may be 0.5 seconds or other time intervals. The second preset progress value may be 15% or other progress values.
[0081] In some embodiments, multiple different time interval thresholds can be set, each corresponding to a different rewind speed and / or a different second preset progress value. For example, if there are no new likes within 0.5 seconds, the progress bar rewinds at a slower speed. If there are no new likes within 1 second, the progress bar rewinds at a medium speed. If there are no new likes for more than 2 seconds, the progress bar rewinds quickly and drops directly to the second preset progress value.
[0082] In some embodiments, the second preset progress value can be dynamically adjusted based on the real-time situation of the target live broadcast room (such as the number of viewers, activity level, number of gifts, etc.). For example, when the live broadcast room is very active, the second preset progress value can be set higher (such as 20%); while when the live broadcast room is relatively quiet, the second preset progress value can be set lower (such as 10% or lower) to reduce the difficulty of triggering and attract viewers to continue to like.
[0083] In this embodiment, when the target pattern and progress bar are displayed, if no new like operation is detected within the time limit, the progress bar will retract to create a sense of urgency and promote human-computer interaction (i.e., promote the continuous participation of the audience) and enhance the interactivity of the live broadcast room.
[0084] In an optional embodiment, the live broadcast room interaction method may further include: When the target control is triggered again during the process of the progress bar rolling back, the progress bar is controlled to increase the progress.
[0085] In this embodiment, the audience's operations such as clicking "like" are immediately reflected on the progress bar, giving the audience instant feedback, thereby improving the user experience.
[0086] In order to make this application easier to understand, the following Figure 6 An exemplary application is provided using the like operation as an example.
[0087] Step S600: When a viewer enters a target live broadcast room, the user's avatar is obtained and multiple (e.g., five) icon images are obtained from a server, and the user's avatar and multiple icon images are cached in a local memory.
[0088] Step S602: When the viewer triggers a like operation, one of the user's avatar and multiple icon images is randomly displayed as a target material.
[0089] Step S604: Display the target material in the live broadcast room. If the target material is a user's avatar, enlarge the target material.
[0090] Step S606: When the number of consecutive likes is a multiple of a preset value (such as 5), a special effect style of “×number of likes” is displayed in the upper left corner of the icon image.
[0091] Step S608: When the number of consecutive likes exceeds the target number (e.g., 5), a thumbnail icon and a progress bar surrounding the thumbnail icon are displayed. As the number of likes increases, the programming code controls the progress bar to increase. When the progress value reaches a first preset value (e.g., 100%), a like Easter egg animation pops up.
[0092] In step S610, during the process of displaying the thumb pattern and the progress bar, if no new like operation is detected within the timeout period, the programming code will control the progress bar to rewind until the progress value corresponding to the progress bar reaches a second preset progress value (such as 15%), and hide the thumb pattern and the progress bar.
[0093] Step S612: When the like control is triggered again during the process of the progress bar rewinding, the programming code controls the progress bar to increase the progress.
[0094] Example 2 Figure 8 The block diagram of the interactive device of the live broadcast room according to the second embodiment of the present application is schematically shown. The device can be divided into one or more program modules, one or more program modules are stored in a storage medium and executed by one or more processors to complete the embodiment of the present application. The program module referred to in the embodiment of the present application refers to a series of computer program instruction segments that can complete specific functions. The following description will specifically introduce the functions of each program module in this embodiment. Figure 8 As shown, the device 1000 may include: a first display module 1100, a selection module 1200, and a second display module 1300, wherein: The first display module 1100 is used to display the target live broadcast room; A selection module 1200 is configured to select a target material from a material library according to a preset rule in response to a target control being triggered, wherein the material library is obtained in advance; The second display module 1300 is used to display the target material in the target live broadcast room as a display effect in response to the target operation; The material library is obtained through the following operations: In response to entering the target live broadcast room, obtaining a user avatar; and Get multiple different icon images from the server; The material library is constructed based on the user portrait and multiple icon images to be used as a special effect for displaying likes.
[0095] As an optional embodiment, each material in the material library is bound to an identifier, and multiple identifiers constitute an identifier set; selecting a target material from the material library according to a preset rule includes: randomly selecting a target identifier from the set of identifiers; determining the target material from the material library according to the target identifier; When the target material determined according to the target identifier is a user portrait and the material used last time is a user portrait, the target identifier is randomly selected again.
[0096] As an optional embodiment, displaying the target material in the target live broadcast room includes: In a case where the target material is a user portrait, the target material is displayed in an enlarged manner.
[0097] As an optional embodiment, the method further includes: When the number of consecutive likes is a multiple of a preset value, the value corresponding to the number of likes is displayed in the preset area.
[0098] As an optional embodiment, the interactive device of the live broadcast room further includes: When the number of consecutive likes exceeds the target number, a target pattern and a progress bar surrounding the target pattern are displayed; During the process of displaying the target pattern and the progress bar, the length of the progress bar is adjusted based on the subsequent number of consecutive likes until the progress value corresponding to the progress bar reaches a first preset progress value, and then the like easter egg animation is displayed.
[0099] As an optional embodiment, the interactive device of the live broadcast room further includes: During the process of displaying the target pattern and the progress bar, if no new target operation is detected within a preset time interval, the progress bar is controlled to retract until the progress value is lower than a second preset progress value, and the target pattern and the progress bar are hidden.
[0100] As an optional embodiment, the interactive device of the live broadcast room further includes: When the target control is triggered again during the process of the progress bar rolling back, the progress bar is controlled to increase the progress.
[0101] Example 3 Figure 9The following schematically shows a hardware architecture diagram of a computer device 10000 suitable for implementing the interactive method of a live broadcast room according to the third embodiment of the present application. In some embodiments, the computer device 10000 can be a terminal device such as a smart phone, a wearable device, a tablet computer, a personal computer, a vehicle-mounted terminal, a game console, a virtual device, a workbench, a digital assistant, a set-top box, a robot, etc. In other embodiments, the computer device 10000 can be a rack server, a blade server, a tower server, or a cabinet server (including an independent server, or a server cluster composed of multiple servers), etc. Figure 9 As shown, the computer device 10000 includes but is not limited to: a memory 10010, a processor 10020, and a network interface 10030 that can communicate with each other via a system bus. Memory 10010 includes at least one type of computer-readable storage medium, including flash memory, a hard disk, a multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic storage, a magnetic disk, an optical disk, and the like. In some embodiments, memory 10010 may be an internal storage module of computer device 10000, such as a hard disk or memory of computer device 10000. In other embodiments, memory 10010 may also be an external storage device of computer device 10000, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash memory card, and the like equipped on computer device 10000. Of course, memory 10010 may also include both internal storage modules and external storage devices of computer device 10000. In this embodiment, the memory 10010 is generally used to store the operating system and various application software installed on the computer device 10000, such as the program code of the interactive method of the live broadcast room, etc. In addition, the memory 10010 can also be used to temporarily store various data that have been output or will be output.
[0102] In some embodiments, processor 10020 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other chips. Processor 10020 is typically used to control the overall operation of computer device 10000, such as performing control and processing related to data exchange or communication with computer device 10000. In this embodiment, processor 10020 is used to execute program code stored in memory 10010 or process data.
[0103] Network interface 10030 may include a wireless network interface or a wired network interface. Network interface 10030 is typically used to establish a communication link between computer device 10000 and other computer devices. For example, network interface 10030 is used to connect computer device 10000 to an external terminal via a network, establishing a data transmission channel and a communication link between computer device 10000 and the external terminal. The network may be a wireless or wired network such as an intranet, the Internet, the Global System of Mobile Communications (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth, or Wi-Fi.
[0104] It should be pointed out that Figure 9 Only a computer device having components 10010 - 10030 is shown, but it should be understood that implementing all of the shown components is not a requirement, and more or fewer components may alternatively be implemented.
[0105] In this embodiment, the interactive method of the live broadcast room stored in the memory 10010 can also be divided into one or more program modules and executed by one or more processors (such as processor 10020) to complete the embodiment of the present application.
[0106] Example 4 An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the interactive method of the live broadcast room in the embodiment are implemented.
[0107] In this embodiment, computer-readable storage media include flash memory, hard disks, multimedia cards, card-type memories (e.g., SD or DX memories), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic storage, magnetic disks, optical disks, and the like. In some embodiments, the computer-readable storage medium may be an internal storage unit of a computer device, such as the computer device's hard disk or memory. In other embodiments, the computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash memory card, and the like. Of course, the computer-readable storage medium may also include both the internal storage unit and external storage devices of the computer device. In this embodiment, the computer-readable storage medium is typically used to store the operating system and various application software installed on the computer device, such as the program code for the interactive method for the live broadcast room in the embodiment. Furthermore, the computer-readable storage medium may also be used to temporarily store various types of data that has been output or is to be output.
[0108] Example 5 An embodiment of the present application further provides a computer program product, including a computer program, which implements the method in the above embodiment when executed by a processor.
[0109] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present application can be implemented using general-purpose computer devices. They can be concentrated on a single computer device or distributed on a network composed of multiple computer devices. Alternatively, they can be implemented using program codes executable by the computer device, so that they can be stored in a storage device and executed by the computer device. In some cases, the steps shown or described can be performed in a different order than herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the embodiments of the present application are not limited to any specific combination of hardware and software.
[0110] It should be noted that the above are only preferred embodiments of the present application and do not limit the scope of patent protection of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of this application, or directly or indirectly applied in other related technical fields, are also included in the scope of patent protection of the present application.
Claims
1. A method for interactive broadcasting, characterized in that: The method comprises: Display the target live broadcast room; In response to the target control being triggered, selecting a target material from a material library according to a preset rule, wherein the material library is acquired in advance; Displaying the target material in the target live broadcast room as a display effect in response to the target operation; The material library is obtained by the following operations: In response to entering the target live broadcast room, obtaining a user avatar; and Get multiple different icon images from the server; The material library is constructed according to the user portrait and the plurality of icon images to be used as a special effect for displaying likes.
2. The method according to claim 1, characterized in that Each material in the material library is bound to an identifier, and multiple identifiers constitute an identifier set; Select target material from the material library according to preset rules, including: randomly selecting a target identifier from the set of identifiers; Determining the target material from the material library according to the target identifier; When the target material determined according to the target identifier is a user avatar and the material used last time is the user avatar, the target identifier is randomly selected again.
3. The method according to claim 2, characterized in that Displaying the target material in the target live broadcast room includes: When the target material is a user portrait, the target material is displayed in an enlarged manner.
4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When the number of consecutive likes is a multiple of a preset value, the value corresponding to the number of likes is displayed in the preset area.
5. The method according to any one of claims 1 to 3, characterized in that: The target operation includes a like operation; the method further includes: When the number of consecutive likes exceeds the target number, a target pattern and a progress bar surrounding the target pattern are displayed; In the process of displaying the target pattern and the progress bar, the length of the progress bar is adjusted based on the subsequent number of consecutive likes, until the progress value corresponding to the progress bar reaches the first preset progress value, and then the like easter egg animation is displayed.
6. The method according to claim 5, characterized in that The method further comprises: During the process of displaying the target pattern and the progress bar, if no new like operation is detected within a preset time interval, the progress bar is controlled to retract until the progress value is lower than a second preset progress value, and the target pattern and the progress bar are hidden.
7. The method according to claim 6, characterized in that The method further comprises: When the target control is triggered again during the process of the progress bar rolling back, the progress bar is controlled to increase the progress.
8. An interactive device for a live broadcast room, characterized in that: The device comprises: The first display module is used to display the target live broadcast room; A selection module, configured to select a target material from a material library according to a preset rule in response to a target control being triggered, wherein the material library is acquired in advance; A second display module, used to display the target material in the target live broadcast room as a display effect in response to the target operation; The material library is obtained by the following operations: In response to entering the target live broadcast room, obtaining a user avatar; and Get multiple different icon images from the server; The material library is constructed according to the user portrait and the plurality of icon images to be used as a special effect for displaying likes.
9. A computer device, characterized in that: include: at least one processor; and a memory communicatively connected to the at least one processor; wherein: The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to claims 1 to 7 are implemented.
