Voice room background display method and device, electronic equipment and storage medium

By superimposing animation effect layers on the background interface of the voice room and adjusting the display parameters according to the user's chat information, the problem of monotonous background design of the traditional voice room is solved, and the interaction between the background and the chat content is improved and the user experience is improved.

CN119718241APending Publication Date: 2025-03-28GUANGZHOU XINYU NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411760600.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The traditional voice room background design is monotonous, unable to effectively promote the topic and set off the atmosphere, and lacks interactivity with the content of the user chat.

Method used

By superimposing animation effect layers on the background interface of the voice room, combining the target scene video, the display parameters of the animation effect, such as playback speed, frequency, quantity, size and brightness, are adjusted according to the user's chat information.

Benefits of technology

It realizes the correlation between the room background and user chat content, improves the background presence, topic interest, and user enthusiasm for communication, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119718241A_ABST
    Figure CN119718241A_ABST
Patent Text Reader

Abstract

The invention provides a voice room background display method and device, electronic equipment and a storage medium, and relates to the technical field of Internet. The method comprises the following steps: acquiring a target scene video, and displaying the target scene video on a first layer of a background interface of a voice room; a target animation effect corresponding to the target scene video is obtained, the target animation effect is displayed on a second layer of the background interface, and the second layer is overlaid on the first layer; and adjusting display parameters of the target animation effect according to the user chat information of the voice room. According to the embodiment of the invention, the image layer is overlaid on the background interface of the voice room, the image layer is used for displaying the target animation effect corresponding to the target scene video, and the display parameters of the target animation effect are adjusted according to the user chat information in the voice room, so that the change of the room background is associated with the conversation in the room, the existence feeling of the room background is improved, and the user experience is improved. The topic interestingness and the user communication enthusiasm are improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technology, and in particular to a method, device, electronic device and storage medium for displaying a voice room background. Background Art

[0002] With the development of Internet technology, real-time voice chat has become a popular form of entertainment, such as organizing live chats and singing interactions in voice rooms. In traditional voice room design, layout elements such as room background, microphone position, microphone, and gift button are usually included. The room background can be replaced, usually a static picture or a looping video effect. These pictures or video effects are relatively monotonous as room backgrounds, with a low sense of presence, and cannot serve as a carrier to promote topics and create an atmosphere. Summary of the invention

[0003] The present invention provides a method, device, electronic device and storage medium for displaying a voice room background, which are used to realize the correlation between changes in the room background and conversations in the room, improve the presence of the room background, and increase the interest of topics and the enthusiasm of users for communication.

[0004] The present invention provides a method for displaying a speech room background, comprising:

[0005] Acquire a target scene video, and display the target scene video on a first layer of a background interface of a voice room;

[0006] Acquire a target animation effect corresponding to the target scene video, and display the target animation effect on a second layer of the background interface, wherein the second layer is superimposed on the first layer;

[0007] According to the user chat information of the voice room, the display parameters of the target animation effect are adjusted.

[0008] According to a method for displaying a voice room background provided by the present invention, adjusting the display parameters of the target animation effect according to the user chat information of the voice room includes:

[0009] Start a monitoring thread to monitor the chat information of the user in the voice room;

[0010] Determine whether the user chat information contains preset keywords;

[0011] If yes, the display parameters of the target animation effect are adjusted according to the preset keywords.

[0012] According to a method for displaying a voice room background provided by the present invention, if yes, adjusting the display parameters of the target animation effect according to the preset keyword comprises:

[0013] Determining whether the preset keyword is positively correlated;

[0014] If yes, the display parameter is adjusted in a positive direction; otherwise, the display parameter is adjusted in a negative direction.

[0015] According to a method for displaying a voice room background provided by the present invention, the user chat information includes user voice information and / or user text information.

[0016] According to a method for displaying a voice room background provided by the present invention, the display parameters include at least one of the play speed, play frequency, play quantity, display size, and display brightness of the animation effect.

[0017] According to a method for displaying a voice room background provided by the present invention, before acquiring a target scene video and displaying the target scene video on a first layer of a background interface of the voice room, the method comprises:

[0018] In response to the target gift playing event, the second layer is generated.

[0019] According to a method for displaying a speech room background provided by the present invention, the method further includes:

[0020] When the display time of the target scene video reaches a preset time, the display of the target scene video and the target animation effect is stopped.

[0021] The present invention also provides a device for displaying a speech room background, comprising:

[0022] A first acquisition module, used to acquire a target scene video, and display the target scene video on a first layer of a background interface of a voice room;

[0023] A second acquisition module is used to acquire a target animation effect corresponding to the target scene video, and display the target animation effect on a second layer of the background interface, wherein the second layer is superimposed on the first layer;

[0024] The adjustment module is used to adjust the display parameters of the target animation effect according to the user chat information in the voice room.

[0025] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for displaying a voice room background as described above is implemented.

[0026] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for displaying a speech room background as described in any one of the above is implemented.

[0027] The present invention provides a method, device, electronic device and storage medium for displaying a voice room background. A layer is superimposed on the background interface of the voice room, and the layer is used to display a target animation effect corresponding to a target scene video. The display parameters of the target animation effect are adjusted according to user chat information in the voice room, so that changes in the room background are correlated with conversations in the room, thereby improving the presence of the room background, increasing the interest of topics and the enthusiasm of users for communication, and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0029] Figure 1 This is one of the flow charts of the method for displaying the background of a speech room provided by the present invention;

[0030] Figure 2 This is the second flow chart of the method for displaying the background of a voice room provided by the present invention;

[0031] Figure 3 It is a structural schematic diagram of a display device for a speech room background provided by the present invention;

[0032] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0034] It should be noted that in the description of the embodiments of the present invention, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the presence of other identical elements in the process, method, article or device including the elements. The orientation or positional relationship indicated by the terms "upper", "lower", etc. is based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.

[0035] The terms "first", "second", etc. in the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" means at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0036] Combine the following Figure 1-Figure 4 The present invention describes a method, device, electronic device and storage medium for displaying a speech room background.

[0037] like Figure 1 As shown, the present invention provides a method for displaying a voice room background, which specifically includes the following steps:

[0038] Step 110, obtaining a target scene video, and displaying the target scene video on a first layer of a background interface of the voice room.

[0039] Specifically, the target scene video is a video set as the background of the voice room. After the client obtains the target scene video, it renders and displays it on the first layer of the background interface.

[0040] Step 120, obtaining a target animation effect corresponding to the target scene video, and displaying the target animation effect on a second layer of the background interface, wherein the second layer is superimposed on the first layer.

[0041] Specifically, different target scene videos correspond to different target animation effects, and the target animation effects are displayed on the second layer above the first layer, so that the target animation effects are integrated with the target scene video to increase the display effect of the room background. The second layer is a variable layer, and the display parameters of the animation effects can be adjusted.

[0042] Step 130: adjusting display parameters of the target animation effect according to the chat information of the users in the voice room.

[0043] Specifically, when the target animation effect is initially displayed, it can be displayed using preset display parameters. The client can monitor the user chat information in the voice room and adjust the display parameters of the target animation effect according to the user chat information. The display parameter can be at least one of the playback speed, playback frequency, playback quantity, display size, and display brightness of the animation effect.

[0044] The user chat information may be user voice information, user text information, or user voice information and user text information at the same time.

[0045] In some embodiments, the display parameters can be set to multiple gears, each gear is set with a different parameter value, and the gear of the display parameter is adjusted according to the user chat information, thereby adjusting the parameter value of the display parameter.

[0046] In some embodiments, step 130 may include the following steps:

[0047] Start a monitoring thread to monitor the chat information of the user in the voice room;

[0048] Determine whether the user chat information contains preset keywords;

[0049] If yes, the display parameters of the target animation effect are adjusted according to the preset keywords.

[0050] In this embodiment, after entering the room background interactive gameplay, the client will start a thread, which will monitor the chat content of the users in the room. When the voice chat content or the typed chat content contains preset keywords, the client will adjust the display parameters of the target animation effect according to the matching results of the keywords, thereby affecting the display effect of the target animation effect. From the user's point of view, the chat content affects the animation effect of the room background. Each target animation effect can define several keywords. As long as the chat information contains these words, it is considered a hit, so that the display parameters are adjusted according to the keywords. Keywords can be set manually in the background.

[0051] Furthermore, when the user chat information contains preset keywords, adjusting the display parameters of the target animation effect according to the preset keywords may specifically include:

[0052] Determining whether the preset keyword is positively correlated;

[0053] If yes, the display parameter is adjusted in a positive direction; otherwise, the display parameter is adjusted in a negative direction.

[0054] Specifically, the playback frequency, playback quantity, display size, and display brightness of the animation effect as display parameters can be increased or decreased, and positive correlation can be increased, and negative correlation can be decreased. Therefore, if the preset keyword is positively correlated, the display parameter is increased, and if the preset keyword is negatively correlated, the display parameter is decreased.

[0055] In some embodiments, when the user chat information includes a preset keyword, adjusting the display parameters of the target animation effect according to the preset keyword may further specifically include:

[0056] When the number of the preset keywords reaches a preset threshold, the display parameter is adjusted.

[0057] Specifically, when the positively correlated preset keyword reaches the preset threshold, the display parameter is adjusted in the positive direction; when the negatively correlated preset keyword reaches the preset threshold, the display parameter is adjusted in the negative direction. The number statistics of the preset keywords can be the number monitored within a preset time range, for example, within 30 seconds or within one minute. The time starting point of the preset time range can be the time point when the first preset keyword is monitored.

[0058] If positively correlated and negatively correlated preset keywords are monitored within the preset time range, the number of positively correlated preset keywords and the number of negatively correlated preset keywords can also be determined. If the number of positively correlated preset keywords is greater than the number of negatively correlated preset keywords, the display parameters are adjusted positively; if the number of negatively correlated preset keywords is greater than the number of positively correlated preset keywords, the display parameters are adjusted negatively; if they are equal, the current display parameters are maintained.

[0059] A method for displaying a voice room background of the present invention provides an interactive gameplay of the voice room background, by superimposing a layer on the background interface of the voice room, the layer is used to display the target animation effect corresponding to the target scene video, and the display parameters of the target animation effect are adjusted according to the user chat information in the voice room, so that the change of the room background is related to the conversation in the room, the presence of the room background is improved, the topic interest and the enthusiasm of users for communication are improved, and the user experience is improved.

[0060] The voice room background in the above-mentioned voice room background display method can be a scene related to weather, such as a rainy scene, a snowy scene, a windy scene, a sunny scene, etc., or other scenes, which are not specifically limited in the present invention. The technical solution of the present invention is described below by a specific example.

[0061] The target scene video is a video of a little girl walking on the road with an umbrella, and the target animation effect is raindrops, and the density and speed of the raindrops can be changed. In the technical solution of the present invention, the density (number of plays), speed (play speed), etc. can be controlled according to the chat information in the voice room. Among them, the animation effect of rain is divided into 5 gears, 5th gear = heavy rain, 4th gear = heavy rain, 3rd gear = light rain, 2nd gear = drizzle, 1st gear = stop raining, and the speed and density of raindrops are controlled by different gears.

[0062] The preset keywords include: rain, light rain, heavy rain, rain getting heavier, rain getting lighter, really heavy rain, heavy rain, heavy rain, light rain, drizzle. Among them:

[0063] Positive words (increasing gear): rain, heavy rain, rain getting heavier, heavy rain, rainstorm, heavy rain.

[0064] Reverse words (gear reduction): light rain, rain becomes lighter, drizzle, drizzle.

[0065] If the user chat information monitored in the voice room includes positive words, the gear of the rain animation effect is increased; if it contains negative words, the gear of the rain animation effect is reduced.

[0066] In some embodiments, before step 110, the following steps may be included: generating the second layer in response to a target gift play event.

[0067] In this embodiment, the target gift playing event is an interactive gameplay that can trigger the start of the voice room background. By setting one or more special virtual gifts, when a user in the voice room gives this special virtual gift, this gameplay logic will be entered after the animation effect of the virtual gift is played.

[0068] If multiple special virtual gifts are set, each virtual gift can be bound to a target scene video. When the client receives the target gift playback event, the corresponding target scene video and target animation effect are determined according to the ID of the target virtual gift, and the interactive gameplay of the voice room background is started.

[0069] If a special virtual gift is set, the virtual gift can be bound to one or more scene videos. When there are multiple scene videos, a scene video can be randomly selected as the target scene video according to the random algorithm to start the interactive gameplay of the voice room background.

[0070] It is understandable that the conventional room background interface has only one layer, and the interactive gameplay of the above-mentioned voice room background requires the addition of interactive target animation effects. Therefore, after responding to the target gift playback event, the client generates a second layer superimposed on the first layer to render and display the target animation effect.

[0071] In some embodiments, the method further includes: when the display time of the target scene video reaches a preset time, stopping displaying the target scene video and the target animation effect. In this embodiment, the interactive gameplay of the above-mentioned voice room background is limited to a time, for example, 2 minutes, 5 minutes, 10 minutes, etc., to maintain the use of the conventional voice room background. When the countdown ends, the target scene video and target animation effect are no longer displayed, the original room background of the voice room is restored, and the user chat information in the voice room is no longer monitored, that is, the monitoring thread is ended.

[0072] Figure 2 FIG. 1 is a flow chart of a method for displaying a voice room background according to an exemplary embodiment of the present invention. Figure 2 As shown, when someone in the voice room presents a target virtual gift, the client will play the animation effect of the target virtual gift, respond to the target gift playback event, enter the logic of the voice room background interactive gameplay, display the target scene video on the first layer of the voice room background interface, and display the corresponding target animation effect on the second layer (the initial gear of the display parameter of the target animation effect is gear 1), and start the countdown for 10 minutes. The client will also start a thread, which will monitor the typing chat content of the users in the room. When the typing chat content contains preset keywords, the client will adjust the display parameter gear of the target animation effect according to the matching results, thereby affecting the target animation effect. From the user's point of view, it is the typing chat information that affects the animation effect of the voice room background, making the voice room background interactive with the chat content in the room, increasing fun, and improving user experience.

[0073] The client will continue to monitor the typing chat content. Once the preset keywords are triggered, the gear of the target animation effect display parameters will be adjusted according to the preset keywords until the countdown ends after 10 minutes, and then the logic of the background interactive gameplay of the voice room will be exited.

[0074] The following is a description of a display device for a speech room background provided by the present invention. The display device for a speech room background described below and the display method for a speech room background described above can be referred to in correspondence with each other.

[0075] like Figure 3 As shown, the display device of the speech room background provided by the present invention specifically includes:

[0076] A first acquisition module 310 is used to acquire a target scene video and display the target scene video on a first layer of a background interface of a voice room;

[0077] A second acquisition module 320 is used to acquire a target animation effect corresponding to the target scene video, and display the target animation effect on a second layer of the background interface, wherein the second layer is superimposed on the first layer;

[0078] The adjustment module 330 is used to adjust the display parameters of the target animation effect according to the user chat information in the voice room.

[0079] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 410, a communications interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communications interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute a method for displaying the background of the voice room, the method comprising: obtaining a target scene video, and displaying the target scene video on a first layer of the background interface of the voice room; obtaining a target animation effect corresponding to the target scene video, and displaying the target animation effect on a second layer of the background interface, wherein the second layer is superimposed on the first layer; and adjusting the display parameters of the target animation effect according to the user chat information of the voice room.

[0080] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0081] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the voice room background display method provided by the above methods, the method including: obtaining a target scene video, and displaying the target scene video on a first layer of the background interface of the voice room; obtaining a target animation effect corresponding to the target scene video, and displaying the target animation effect on a second layer of the background interface, wherein the second layer is superimposed on the first layer; and adjusting the display parameters of the target animation effect according to user chat information in the voice room.

[0082] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the method for displaying the voice room background provided by the above-mentioned methods, the method comprising: obtaining a target scene video, and displaying the target scene video on a first layer of the background interface of the voice room; obtaining a target animation effect corresponding to the target scene video, and displaying the target animation effect on a second layer of the background interface, wherein the second layer is superimposed on the first layer; and adjusting the display parameters of the target animation effect according to user chat information in the voice room.

[0083] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0084] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0085] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for displaying a speech room background, characterized in that: include: Acquire a target scene video, and display the target scene video on a first layer of a background interface of a voice room; Acquire a target animation effect corresponding to the target scene video, and display the target animation effect on a second layer of the background interface, wherein the second layer is superimposed on the first layer; According to the user chat information of the voice room, the display parameters of the target animation effect are adjusted.

2. The method for displaying the background of a speech room according to claim 1, characterized in that: The adjusting the display parameters of the target animation effect according to the user chat information of the voice room includes: Start a monitoring thread to monitor the chat information of the user in the voice room; Determine whether the user chat information contains preset keywords; If yes, the display parameters of the target animation effect are adjusted according to the preset keywords.

3. The method for displaying the background of a speech room according to claim 2, characterized in that: If yes, adjusting the display parameters of the target animation effect according to the preset keyword includes: Determining whether the preset keyword is positively correlated; If yes, the display parameter is adjusted in a positive direction; otherwise, the display parameter is adjusted in a negative direction.

4. The method for displaying the background of a speech room according to claim 1, characterized in that: The user chat information includes user voice information and / or user text information.

5. The method for displaying the background of a speech room according to claim 1, characterized in that: The display parameters include at least one of the play speed, play frequency, play quantity, display size, and display brightness of the animation effect.

6. The method for displaying the background of a speech room according to claim 1, characterized in that: Before obtaining the target scene video and displaying the target scene video on the first layer of the background interface of the voice room, the method includes: In response to the target gift playing event, the second layer is generated.

7. The method for displaying the background of a speech room according to claim 1, characterized in that: The method further comprises: When the display time of the target scene video reaches a preset time, the display of the target scene video and the target animation effect is stopped.

8. A display device for a speech room background, characterized in that: include: A first acquisition module, used to acquire a target scene video, and display the target scene video on a first layer of a background interface of a voice room; A second acquisition module is used to acquire a target animation effect corresponding to the target scene video, and display the target animation effect on a second layer of the background interface, wherein the second layer is superimposed on the first layer; The adjustment module is used to adjust the display parameters of the target animation effect according to the user chat information in the voice room.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method for displaying the speech room background according to any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for displaying the speech room background according to any one of claims 1 to 7 is implemented.