Live screen processing method, device, computer equipment and storage medium
By obtaining and analyzing the interaction data of multiple anchors and adjusting the size, color and dividing line of the live broadcast screen, the problem of unintuitive interaction processing in traditional live broadcast technology is solved, and a more intuitive and rich display of interaction results is achieved.
Patent Information
- Application Number
- CN202210665182.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-14
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2042-06-14
AI Technical Summary
The handling of the interaction process in traditional live broadcast technology is not intuitive enough. It cannot fully reflect the richness and changes in the interaction situation by simply displaying the interaction results between the anchors through simple display strips.
By obtaining the interactive data of multiple anchors, adjusting the live broadcast screen of each anchor according to the interactive data, including adjusting the screen size, theme color and dividing line, to visually present the interaction results and correlating the live broadcast screen and interaction situation.
It realizes a more intuitive display of the interaction results between multiple anchors, allowing the audience to intuitively understand the interaction situation through picture changes, which is richer and more intuitive than traditional solutions.
Smart Images

Figure CN115061617B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of video technology, and in particular to a method, device, computer equipment, storage medium and computer program product for processing live broadcast images. Background Art
[0002] With the development of video technology, especially the development of live broadcast technology, such as game live broadcast, shopping live broadcast, etc., live broadcast connection has emerged, that is, multiple anchors interact with each other in duels and competitions. In traditional technology, the processing of the interaction process is simply to list and arrange the interaction windows. During the interaction, there is only a simple display bar to show the interaction results between anchors, such as the score of the game. However, such a display bar display method is not intuitive enough. Summary of the invention
[0003] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for processing live broadcast images that can more intuitively display interaction results in response to the above technical problems.
[0004] In a first aspect, the present application provides a method for processing a live broadcast screen, which includes: obtaining interaction data of multiple anchors, where the interaction data is used to represent live broadcast data during the interaction of multiple anchors; and adjusting the live broadcast screens of the multiple anchors according to the interaction data.
[0005] In one of the embodiments, when adjusting the live broadcast pictures of multiple anchors according to the interaction data, the following operations can be performed: determining the picture modification value of each of the multiple anchors according to the interaction data; and adjusting the live broadcast picture of each of the multiple anchors according to the picture modification value.
[0006] In one embodiment, the interaction data includes accumulated interaction data and newly added interaction data, the accumulated interaction data is used to represent the accumulated value of interaction data from multiple hosts from the start of interaction to the current moment, and the newly added interaction data is used to represent interaction data from the current moment to the next moment; the live broadcast screens of multiple hosts at the current moment are obtained based on the accumulated interaction data;
[0007] When determining the screen modification value of each of the multiple anchors according to the interaction data, the following operations may be performed:
[0008] Calculate the proportion of the newly added interaction data of each of the multiple anchors in the newly added interaction data of the multiple anchors at the current moment;
[0009] According to the proportion, the screen modification value of each of the multiple anchors is determined.
[0010] In one of the embodiments, the picture modification value includes a picture size adjustment value; when adjusting the live broadcast picture of each of the multiple anchors according to the picture modification value, the following operation can be performed: adjusting the size of the live broadcast picture of each of the multiple anchors according to the picture size adjustment value.
[0011] In one of the embodiments, the picture modification value includes a theme color adjustment value; when adjusting the live broadcast picture of each of the multiple anchors according to the picture modification value, the following operation can be performed: adjusting the theme color of the live broadcast picture of each of the multiple anchors according to the theme color adjustment value.
[0012] In one of the embodiments, the above method may further include: obtaining a curve showing how the interaction results of multiple anchors change over time based on the picture modification values at multiple moments during the interaction process; and adjusting the boundary lines of the live broadcast pictures of the multiple anchors based on the curve.
[0013] In one embodiment, the interaction data may include at least one of the following parameters: the number of online users, the popularity of the live broadcast room, the resource value, the number of user tags, or the number of barrages.
[0014] In a second aspect, the present application further provides a device for processing live broadcast images, which includes a unit capable of implementing the method of the first aspect and any implementation manner thereof.
[0015] In one embodiment, the device comprises:
[0016] An acquisition unit, used to acquire interaction data of multiple anchors, where the interaction data is used to represent live broadcast data during the interaction of multiple anchors;
[0017] The processing unit is used to adjust the live broadcast images of multiple anchors according to the interaction data.
[0018] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method of the first aspect and any one of its implementation modes can be implemented.
[0019] In one of the embodiments, the processor implements the following steps when executing the computer program: obtaining interaction data of multiple anchors, where the interaction data is used to represent live broadcast data during the interaction process of multiple anchors; and adjusting the live broadcast screens of the multiple anchors according to the interaction data.
[0020] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method of the first aspect and any one of its implementations can be implemented.
[0021] In one of the embodiments, when the computer program is executed by a processor, the following steps are implemented: obtaining interaction data of multiple anchors, where the interaction data is used to represent live broadcast data during the interaction process of multiple anchors; and adjusting the live broadcast screens of the multiple anchors according to the interaction data.
[0022] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the method of the first aspect and any one of its implementation modes can be implemented.
[0023] In one of the embodiments, when the computer program is executed by a processor, the following steps are implemented: obtaining interaction data of multiple anchors, where the interaction data is used to represent live broadcast data during the interaction process of multiple anchors; and adjusting the live broadcast screens of the multiple anchors according to the interaction data.
[0024] The above-mentioned live screen processing method, device, computer equipment, storage medium and computer program product adjust the live screen according to the interaction data of multiple anchors, which can be understood as adjusting the live screen according to the interaction situation of multiple anchors. The live screen is associated with the interaction situation, and the live screen is adjusted according to the interaction situation, so it is more intuitive and the interaction data is richer. For example, in the live broadcast interaction of multiple anchors, the live screen of each anchor (that is, the screen where each anchor is located) is associated with the interaction situation, and the result of the interaction can be obtained by observing the situation of the live screen. The change of the live screen can be, for example, a change in at least one of the shape, size, color or brightness, so the viewer can intuitively know the result of the interaction through the change of the screen. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a flowchart of a method for processing a live broadcast image according to an embodiment of the present application.
[0026] Figure 2 is a flowchart of an example of step 102 .
[0027] Figure 3 It is a schematic diagram of a live interactive scenario of an embodiment of the present application.
[0028] Figure 4 yes Figure 3 A schematic diagram showing an example of how the size of a live broadcast screen of an interactive scene changes over time.
[0029] Figure 5 It is a schematic diagram of the screen size adjustment values at different times in an embodiment of the present application.
[0030] Figure 6 It is a schematic structural diagram of a live broadcast picture processing device according to an embodiment of the present application.
[0031] Figure 7 It is an internal structure diagram of a computer device according to an embodiment of the present application.
[0032] Figure 8 It is an internal structure diagram of another computer device according to an embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0034] The method for processing live broadcast images provided in the embodiments of the present application can be applied to various terminal devices as long as they can watch live broadcasts. The terminal device can also be referred to as a user device, which can be, but is not limited to, various computers, laptops, smart phones, tablet computers, portable wearable devices, smart TVs, smart screens, smart projectors, smart car-mounted devices, etc. The portable wearable device can be a head-mounted device, etc.
[0035] In one embodiment, Figure 1 As shown, a method for processing a live broadcast image is provided, comprising the following steps:
[0036] Step 101, obtaining interaction data of multiple anchors.
[0037] The interactive data is used to represent the live broadcast data during the interaction of multiple anchors. It can also be understood as interactive data, or as data during the interaction process. For example, the data generated by game anchors playing games together, the data generated by online shopping anchors’ live broadcasts of sales via microphone, and the data generated by other types of anchors’ microphone interactions.
[0038] Optionally, real-time interactive data can be obtained from the live broadcast platform through a transceiver interface, a communication interface, a communication unit, etc.
[0039] Step 102: adjust the live broadcast images of multiple anchors according to the interaction data.
[0040] The multiple elements necessary for regular live broadcast include: live broadcast screen (that is, the screen where the anchor is located, if there are multiple anchors, there are multiple live broadcast screens) and interaction parameters.
[0041] The interaction data may include at least one of the following parameters: number of online users, live broadcast room popularity, resource value, number of user marks, interaction progress, or number of bullet comments. Resource value may be, for example, gift value, sales volume, sales amount, or game score. User marks may be, for example, the number of likes, the number of favorites, or the number of followers. The number of favorites may include favorite links to items, audio and video links, or picture links that the host is sharing.
[0042] It can be seen that in the embodiment of the present application, the live broadcast screen is the screen where the anchor is located, rather than the display screen of the entire terminal device, nor is it the display bar of the interaction results in the traditional solution (commonly known as the PK bar).
[0043] The interaction data can be used to compare the live broadcast situations of various anchors, so adjusting the live broadcast screen according to such comparison is equivalent to visually presenting the interaction situations of multiple anchors through changes in the live broadcast screen.
[0044] The above-mentioned method for processing the live screen, adjusting the live screen according to the interactive data of multiple anchors, can be understood as adjusting the live screen according to the interactive situation of multiple anchors, which is more intuitive than the small display bar set outside the live screen in the traditional solution to display the game situation. The display bar is a simple presentation of the data proportion of the game results, that is, the entire display bar is 100%, and the initial display bar is 50% each for the two anchors on the display bar. Then, the proportion of the two anchors on the display bar is adjusted according to the game results to display the game results in real time. However, it should be understood that the display bar can only display the game results of the two anchors, and can only be compared with a single comparison parameter. In the present application scheme, the live screen is associated with the interactive situation, and the live screen is adjusted according to the interactive situation, so it is more intuitive and the interactive data is richer. For example, in the interaction (interaction) of multiple anchors, the live screen of each anchor (that is, the screen where each anchor is located) is associated with the interactive situation, and the interactive result can be obtained by observing the situation of the live screen. The change of the live broadcast picture may be, for example, a change in at least one of shape, size, color or brightness, so the viewer can intuitively know the interaction result through the change of the picture.
[0045] In one embodiment, Figure 2 As shown, step 102 includes:
[0046] Step 201: Determine the picture modification value of each of the multiple anchors according to the interaction data.
[0047] Optionally, the interaction data may include cumulative interaction data and newly added interaction data. The cumulative interaction data is used to represent the cumulative value of interaction data from multiple hosts from the beginning of the interaction to the current moment. The cumulative interaction data may also be referred to as historical interaction data. The newly added interaction data is used to represent the interaction data from the current moment to the next moment.
[0048] For example, suppose that multiple anchors start interactive live broadcast from time T0, for example, they start PK with microphones from time T0, T1, T2, and T3 are the moments during the interaction, and the order of these moments is T0→T1→T2→T3. Example 1: The current moment is time T1, and the next moment is time T2. Then the interaction data between time T0 and time T1 is the accumulated interaction data at time T1, and the interaction data between time T1 and time T2 is the newly added interaction data at time T1. Example 2: The current moment is time T2, and the next moment is time T3. Then the interaction data between time T0 and time T2 is the accumulated interaction data at time T2, and the interaction data between time T2 and time T3 is the newly added interaction data at time T3. In other words, the current moment and the next moment are relative concepts. As long as a moment during a certain interaction period is determined to be the current moment, the moment after that moment is the next moment. It should also be understood that the current time may also be T0, in which case the interaction data at time T0 (ie, initial interaction data) is the accumulated interaction data at time T0, and the time at a unit time interval after T0 is the next time of T0.
[0049] As mentioned above, the interaction data may include at least one of the following parameters: the number of online users, live broadcast room popularity, resource value, number of user tags, or number of bullet comments. Therefore, the accumulated interaction data at time T1 is the accumulated value of at least one of the number of online users, live broadcast room popularity, resource value, number of user tags, or number of bullet comments between time T0 and time T1. The newly added interaction data at time T1 is the newly added value of at least one of the number of online users, live broadcast room popularity, resource value, number of user tags, or number of bullet comments between time T1 and time T2.
[0050] It should also be understood that the newly added interaction data at a certain moment can be obtained using the newly added interaction data and / or the accumulated interaction data at other moments, and a certain accumulated interaction data can also be obtained using the newly added interaction data and / or the accumulated interaction data at other moments. For example, assume that moment T2 is the current moment, moment T1 is the moment before moment T2 (the previous moment), and moment T3 is the next moment of moment T2. The accumulated interaction data at moment T2 can be obtained by adding the accumulated interaction data at moments T0-T1 and the newly added interaction data at moment T1. The accumulated interaction data at moment T2 can also be obtained by subtracting the newly added interaction data at moment T2 from the accumulated interaction data at moment T3. The newly added interaction data at moment T2 can be obtained by directly obtaining the newly added interaction data at moments T2-T3, but it can also be obtained by subtracting the accumulated interaction data at moment T2 from the accumulated interaction data at moment T3.
[0051] Optionally, the live broadcast images of multiple anchors at the current moment are obtained based on the accumulated interaction data at the current moment.
[0052] In one embodiment, when determining the picture modification value of each of the multiple hosts according to the interaction data, the following operations may be performed: calculating the proportion of the newly added interaction data of each of the multiple hosts at the current moment in the newly added interaction data of the multiple hosts; and determining the picture modification value of each of the multiple hosts according to the proportion. The picture modification value may be any picture modification value described herein.
[0053] The picture modification value can also be understood as a picture adjustment value or a picture intrusion value, which can be understood as a quantified value of the interaction data. The interaction data of each anchor is quantified into the value that needs to be adjusted, that is, the degree to which the live broadcast picture is modified (adjusted).
[0054] Optionally, the picture modification value may include a picture size adjustment value or a theme color adjustment value. In some implementations, it may also include a brightness modification value, a picture shape modification value, etc., as long as it is a direct change (adjustment) to the live picture.
[0055] In one embodiment, the screen modification value includes a screen size adjustment value, represented by x, and a time interval is t. The screen size adjustment value x within time t can be obtained by using the interaction data within time interval t and the proportion of time interval t to the entire interaction duration T. The starting time of time interval t is t0, and the ending time is t1. The interaction data within time interval t can be obtained by subtracting the accumulated interaction data at time t0 from the accumulated interaction data at time t1.
[0056] In one implementation, the product of the sum of the resource value, the number of user tags and the number of bullet comments within a time interval of t, and the number of online users and t is used as the value of x within time t.
[0057] In another implementation, the product of the sum of the resource value, the number of user tags and the number of bullet comments within a time interval of t, the number of online users and (t / T) is used as the value of x within time t.
[0058] In yet another implementation, the above parameters may be weighted and summed, that is, a weight coefficient is added in front of at least one parameter.
[0059] In one example, x=[(C1*5+D1*3+E1)*A / B]*(t / T), where x represents the screen size adjustment value, C1 represents the newly added resource value (i.e., the cumulative value of resources within time t), D1 represents the number of newly added user tags (i.e., the cumulative number of user tags within time t), E1 represents the number of newly added barrages (i.e., the cumulative number of newly added barrages within time t), A represents the cumulative number of online people, B represents the cumulative live broadcast room popularity, and 5 and 3 are both weight coefficients. It should be understood that 5 and 3 indicate an example, and there is no limitation on specific numerical values. Assuming that there are two anchors A and B interacting, the screen size adjustment values of anchor A and anchor B are represented by x1 and x2 respectively, and the difference between the two is △x=x1-x2. That is, for anchor A, the screen size adjustment value within time t can be expressed as: x1=△x / (x1+x2). However, it should be understood that the screen size adjustment value can be the above-mentioned x, x1, x2, but it can also be the above-mentioned ratio value or the above-mentioned difference.
[0060] In another embodiment, the screen modification value includes a theme color adjustment value, which is represented by y. The y in the time interval t can also be calculated from each parameter in the above interaction data.
[0061] In one implementation, the sum of the resource value, the number of user tags and the number of bullet comments within a time interval of t, the number of online users and the product of the two are used as the value of y within time t.
[0062] In another implementation, the above parameters may be weightedly summed and / or weighted multiplied, that is, a weight coefficient may be added in front of at least one parameter.
[0063] In one example, y=(C1*5+D1*3+E1)*A / B, where y represents the theme color adjustment value, C1 represents the newly added resource value (i.e., the cumulative value of resources within time t), D1 represents the number of newly added user tags (i.e., the cumulative number of user tags within time t), E1 represents the number of newly added barrages (i.e., the cumulative number of newly added barrages within time t), A represents the cumulative number of online people, B represents the cumulative live broadcast room popularity, and 5 and 3 are both weight coefficients. It should be understood that 5 and 3 indicate an example, and there is no limitation on specific numerical values. Assuming that there are two anchors A and B interacting, the screen resizing values of anchor A and anchor B are represented by y1 and y2 respectively, and the difference between the two is △y=y1-y2. That is, for anchor A, the theme color adjustment value within time t can be expressed as: y1=△y / (y1+y2). However, it should be understood that the theme color adjustment value can be the above-mentioned y, y1, y2, but it can also be the above-mentioned ratio value or the above-mentioned difference.
[0064] It should also be noted that the picture modification value may also include a brightness modification value and a picture shape modification value, and both the brightness modification value and the picture shape modification value may be obtained by calculating various parameters in the interactive data, which will not be described in detail for the sake of brevity.
[0065] Step 202: adjusting the live broadcast picture of each of the multiple anchors according to the picture modification value.
[0066] That is, step 202 adjusts the live broadcast picture of each anchor to the degree indicated by the picture modification value according to the picture modification value. For example, it may be to scale the live broadcast picture of anchor A to m%, it may be to adjust the width of the live broadcast picture of anchor B to n centimeters, it may be to adjust the theme color coefficient of the live broadcast picture of anchor C to p, it may be to cut off a right angle of the live broadcast picture of anchor D, etc., and examples are not given one by one. m, n, p, etc. are all real numbers.
[0067] As described above, the picture modification value may include a picture size adjustment value, a theme color adjustment value, a brightness modification value or a picture shape modification value. Therefore, in step 202, adjustments may be made according to at least one of the above picture modification values.
[0068] In one embodiment, the picture modification value includes a picture size adjustment value; when adjusting the live picture of each of the multiple anchors according to the picture modification value, the following operation can be performed: adjusting the size of the live picture of each of the multiple anchors according to the picture size adjustment value. As in the example of step 201, after the picture size modification value x within time t is obtained, the size of the live picture can be adjusted according to x. The live picture size can be changed by enlarging or reducing the ratio of the live picture, or by adjusting the width and / or height of the live picture.
[0069] In one embodiment, the screen modification value includes a theme color adjustment value; when adjusting the live screen of each of the multiple hosts according to the screen modification value, the following operation can be performed: adjusting the theme color of the live screen of each of the multiple hosts according to the theme color adjustment value. For example, in the example of step 201, after the theme color modification value y within time t is obtained, the theme color of the live screen can be adjusted according to y.
[0070] Optionally, the live broadcast screen of the corresponding anchor can be adjusted in a manner that the higher the y value is, the easier it is for the participants to pay attention to it. Specifically, it can be adjusted according to the law of positive or negative correlation between the y value and color saturation, color brightness, transparency, etc. For example, the larger the y value, the more saturated the theme color, and the smaller the y value, the more unsaturated the theme color. For another example, the larger the y value, the higher the brightness of the theme color, and the smaller the y value, the lower the brightness of the theme color. For another example, the larger the y value, the lower the transparency of the theme color, and the smaller the y value, the lower the transparency of the theme color. In one implementation, the self-screen of the first anchor (any one of the multiple anchors interacting) can be used as the lower layer of the first anchor, and the screen of the anchor other than the first anchor can be used as the upper layer of the first anchor, and then the main color of the first anchor can be adjusted according to the theme color adjustment value of the first anchor. When the theme color adjustment value of the first anchor is higher, the color of the lower layer of the first anchor becomes darker, and the color of the upper layer of the first anchor becomes lighter; and / or, when the theme color adjustment value of the first anchor is higher, the transparency of the lower layer of the first anchor becomes lower, and the transparency of the upper layer of the first anchor becomes higher.
[0071] In the following, multiple anchors are divided into two: anchor A and anchor B. The difference in the screen size modification value between the two within time t is △x, and the main body color modification value within time t is △y.
[0072] When adjusting the screen sizes of both hosts according to the △x value, the following operations can be performed.
[0073] When △x is positive, the width of the live broadcast screen of A is enlarged by △x within time t, and the screen is cropped to maintain the screen height; and / or
[0074] When △x is negative, the width of the B screen is proportionally enlarged by -△x in time t. The proportional enlargement is the processing of the screen in the previous time period t.
[0075] When the live broadcast screen is mutually rendered with theme colors according to the △y value, the following operations can be performed.
[0076] The theme color values a1 and a2 and the transparency d1 and d2 of the live broadcast screens of anchors A and B are extracted respectively.
[0077] According to the △y value, calculate the mixed layer color value of the live screen.
[0078] For A's live broadcast screen, use its own screen as the lower layer and B's live broadcast screen as the upper layer.
[0079] When △y is negative, calculate the mixed layer theme color value color1 of the rendered live screen of A = [d*a1+(1-d1)*a2]*△y; and / or
[0080] When △y is positive, calculate the rendered anchor B mixed layer theme color value color2 = [d*a2+(1-d2)*a1]*△y.
[0081] It can be seen that the above two examples of adjusting the screen size and theme color of anchor A and anchor B both make the live screen of the party with the dominant interaction have more display advantages. For screen size adjustment, the live screen size of the party with the dominant interaction is larger. For theme color adjustment, in the live screen of the party with the dominant interaction, the color of the layer of its own screen (the lower layer) is darker and the transparency is lower, while the color of the layer of the other anchor's screen (the upper layer) is lighter and the transparency is higher.
[0082] In one embodiment, a curve showing the interaction results of multiple hosts changing over time can be obtained based on the screen modification values at multiple moments during the interaction process; and the dividing line of the live screens of multiple hosts can be adjusted based on the curve. The changing trend of the interaction results is displayed in real time as a dividing line, which allows participants to intuitively know the current interaction results and historical interaction results, and can also predict future results to a certain extent.
[0083] In an example, suppose the original total height of the live broadcast screens of A and B is h, and the total interaction time is T. Each time a time period t is switched, the expanded boundary of the screen in the previous period is retained in the form of a line, and the line drawing height is h*t / T of the screen.
[0084] For ease of understanding, the following takes a mobile phone as an example of a terminal device to illustrate the various steps and results of the above method.
[0085] In one embodiment, Figure 3 As shown, in this interactive scene, there are two anchors, anchor A and anchor B, 301 is anchor A's user information and live broadcast room popularity, 302 is anchor A's live broadcast screen, 303 is anchor B's live broadcast screen, 304 is anchor A's resource value, 305 is anchor B's resource value, 306 is the interaction time, 307 is the barrage, 308 is the resource value link, through 308 you can send gifts to the anchor, 309 is the like mark, that is, the number of user marks, 310 is the message box, and 311 is the link to send a message. It should be understood that Figure 3 Indicates an example of an interaction scenario, but specific interaction scenarios may also exist in other situations, and Figure 3 The positions of the distributions of the various parameters shown can also be different, Figure 3 The live broadcast screens of the two anchors can be distributed side by side on the left and right as shown in the figure, but can also be distributed up and down, there is no limitation.
[0086] Figure 4 yes Figure 3A schematic diagram showing an example of how the size of a live broadcast screen of an interactive scene changes over time.
[0087] like Figure 4 As shown, Figure 4 (a) in the figure is the initial live broadcast screen, which can be regarded as Figure 3 The pictures of 302 and 303 at the initial moment of interaction. Figure 4 In (a), the live broadcast images of anchor A and anchor B are equal in size and shape, and the dividing line between the two coincides with the center line (dashed line in the figure).
[0088] Figure 4 (b) in the figure shows the live broadcast images of anchor A and anchor B at time T1. It can be seen that the size of anchor A's live broadcast image is larger than that of anchor B, and the dividing line between the two is offset to the right of the center line (dashed line in the figure). In other words, at time T1, anchor A is ahead of anchor B.
[0089] Figure 4 (c) in the figure shows the live broadcast screens of anchor A and anchor B at time T2. It can be seen that the size of anchor B's live broadcast screen is larger than that of anchor A, and most of the dividing line between the two is offset to the left of the center line (dashed line in the figure). In other words, at time T2, anchor B is ahead of anchor A. It can also be seen that a small section of the top of the dividing line at time T2 retains the position of the dividing line in figure (b), which is equivalent to recording the interaction result at time T1.
[0090] Figure 4 (d) in the figure shows the live broadcast screens of anchor A and anchor B at time T3. It can be seen that the size of anchor B's live broadcast screen is larger than that of anchor A, and most of the dividing lines between the two are further offset to the left of the center line (dashed line in the figure). In other words, at time T3, anchor B is further ahead of anchor A. It can also be seen that the top of the dividing line at time T3 retains a small section of the top of the dividing line at time T1 and a small section of the dividing line at time T2, which is equivalent to recording the interaction results at times T1 and T2.
[0091] And so on. Figure 4 (e) in the figure shows the live broadcast screens of anchor A and anchor B at time T4. It can be seen that the size of anchor A's live broadcast screen is larger than that of anchor B, and most of the dividing lines between the two have shifted significantly to the right of the center line (dashed line in the figure). In other words, at time T4, anchor A is ahead of anchor B. It can also be seen that the top of the dividing line at time T4 retains a small section of the top of the dividing line at time T1, then retains a small section of the dividing line at time T2, and then retains a small section of the dividing line at time T3, which is equivalent to recording the interaction results at times T1, T2, and T3.
[0092] therefore Figure 4 The dividing line in is formed according to the change curve of the interaction results over time.
[0093] from Figure 4 The interaction results between anchor A and anchor B can be seen very intuitively. This direct change in the screen gives people a feeling of invading each other's territory, which is richer and more diverse than the boring and single PK bar. In addition, by adjusting the dividing line based on the curve of the interaction results changing over time, we can clearly know the changing trend of the duel during the entire interaction period.
[0094] Figure 5 Schematic diagram of the screen size adjustment values at different times in the embodiment of the present application. Figure 5 , the value of the screen size adjustment value x at each unit time interval is shown in FIG. , and each bar represents the value of x within the unit time interval.
[0095] In this embodiment, adjusting the live screen according to the interaction data of multiple anchors can be understood as adjusting the live screen according to the interaction of multiple anchors, which is more intuitive than the traditional solution of setting a small PK bar outside the live screen to display the game situation. In addition, the change of the live screen can be at least one of the changes in shape, size, color or brightness, so the viewer can intuitively know the interaction result through the change of the screen.
[0096] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0097] Based on the same inventive concept, the embodiment of the present application also provides a live picture processing device for implementing the live picture processing method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more live picture processing devices provided below can refer to the limitations of the live picture processing method above, and will not be repeated here.
[0098] In one embodiment, Figure 6 As shown, a device for processing a live picture is provided, and the device 1000 includes: an acquisition unit 1001 and a processing unit 1002. The acquisition unit 1001 and the processing unit 1002 can be used to execute each step in the above-mentioned method for processing a live picture.
[0099] In one embodiment, the acquisition unit 1001 is used to execute step 101 , and the processing unit 1002 is used to execute step 102 .
[0100] In one embodiment, the processing unit 1002 can also be used to perform Figure 2 The steps shown.
[0101] In one of the embodiments, when adjusting the live broadcast pictures of multiple anchors according to the interaction data, the processing unit 1002 can perform the following operations: determine the picture modification value of each of the multiple anchors according to the interaction data; and adjust the live broadcast picture of each of the multiple anchors according to the picture modification value.
[0102] In one embodiment, the interaction data includes accumulated interaction data and newly added interaction data, the accumulated interaction data is used to represent the accumulated value of interaction data from multiple hosts from the start of interaction to the current moment, and the newly added interaction data is used to represent interaction data from the current moment to the next moment; the live broadcast screens of multiple hosts at the current moment are obtained based on the accumulated interaction data;
[0103] When the processing unit 1002 determines the picture modification value of each of the multiple hosts according to the interaction data, it can perform the following operations:
[0104] Calculate the proportion of the newly added interaction data of each of the multiple anchors in the newly added interaction data of the multiple anchors at the next moment;
[0105] According to the proportion, the screen modification value of each of the multiple anchors is determined.
[0106] In one of the embodiments, the picture modification value includes a picture size adjustment value; when the processing unit 1002 adjusts the live broadcast picture of each of the multiple anchors according to the picture modification value, it can perform the following operations: adjust the size of the live broadcast picture of each of the multiple anchors according to the picture size adjustment value.
[0107] In one of the embodiments, the picture modification value includes a theme color adjustment value; when the processing unit 1002 adjusts the live broadcast picture of each of the multiple anchors according to the picture modification value, it can perform the following operation: adjust the theme color of the live broadcast picture of each of the multiple anchors according to the theme color adjustment value.
[0108] In one of the embodiments, the processing unit 1002 may also obtain a curve showing how the interaction results of multiple hosts change over time based on the screen modification values at multiple moments during the interaction process; and adjust the boundary lines of the live screens of the multiple hosts based on the curve.
[0109] Each module in the above-mentioned live picture processing device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0110] In one embodiment, a computer device is provided. The computer device may be a computer, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store interactive data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for processing a live screen is implemented.
[0111] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 8As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for processing a live picture is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0112] Those skilled in the art will understand that Figure 7 and Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0113] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: obtaining interaction data of multiple anchors, wherein the interaction data is used to represent live broadcast data during the interaction process of the multiple anchors; and adjusting the live broadcast screens of the multiple anchors according to the interaction data.
[0114] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining the picture modification value of each of the multiple hosts according to the interaction data; and adjusting the live broadcast picture of each of the multiple hosts according to the picture modification value. In one embodiment, when the processor executes the computer program, the following steps are further implemented:
[0115] In one embodiment, the interaction data includes accumulated interaction data and newly added interaction data, the accumulated interaction data is used to represent the accumulated value of interaction data from multiple hosts from the start of interaction to the current moment, and the newly added interaction data is used to represent interaction data from the current moment to the next moment; the live broadcast screens of multiple hosts at the current moment are obtained according to the accumulated interaction data; when the processor executes the computer program, the following steps are also implemented:
[0116] Calculate the proportion of the newly added interaction data of each of the multiple anchors in the newly added interaction data of the multiple anchors at the current moment;
[0117] According to the proportion, the screen modification value of each of the multiple anchors is determined.
[0118] In one embodiment, the picture modification value includes a picture size adjustment value; when the processor executes the computer program, the following steps are also implemented: according to the picture size adjustment value, the size of the live broadcast picture of each of the multiple anchors is adjusted.
[0119] In one embodiment, the screen modification value includes a theme color adjustment value; when the processor executes the computer program, the following steps are also implemented: according to the theme color adjustment value, the theme color of the live broadcast screen of each of the multiple anchors is adjusted.
[0120] In one embodiment, when the processor executes the computer program, the following steps are also implemented: according to the picture modification values at multiple moments in the interaction process, a curve showing the interaction results of multiple anchors changing over time is obtained; and according to the curve, the boundary lines of the live broadcast pictures of the multiple anchors are adjusted.
[0121] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: obtaining interaction data of multiple anchors, where the interaction data is used to represent live broadcast data during the interaction process of the multiple anchors; and adjusting the live broadcast screens of the multiple anchors according to the interaction data.
[0122] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining the picture modification value of each of the multiple anchors according to the interaction data; and adjusting the live broadcast picture of each of the multiple anchors according to the picture modification value. In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:
[0123] In one embodiment, the interaction data includes accumulated interaction data and newly added interaction data, the accumulated interaction data is used to represent the accumulated value of interaction data from multiple hosts from the start of interaction to the current moment, and the newly added interaction data is used to represent interaction data from the current moment to the next moment; the live broadcast screens of multiple hosts at the current moment are obtained based on the accumulated interaction data; when the computer program is executed by the processor, the following steps are also implemented:
[0124] Calculate the proportion of the newly added interaction data of each of the multiple anchors in the newly added interaction data of the multiple anchors at the current moment;
[0125] According to the proportion, the screen modification value of each of the multiple anchors is determined.
[0126] In one embodiment, the picture modification value includes a picture size adjustment value; when the computer program is executed by the processor, the following steps are also implemented: according to the picture size adjustment value, the size of the live broadcast picture of each of the multiple anchors is adjusted.
[0127] In one embodiment, the screen modification value includes a theme color adjustment value; when the computer program is executed by the processor, the following steps are also implemented: according to the theme color adjustment value, the theme color of the live broadcast screen of each of the multiple anchors is adjusted.
[0128] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: according to the picture modification values at multiple moments in the interaction process, a curve showing the interaction results of multiple anchors changing over time is obtained; and according to the curve, the dividing lines of the live broadcast pictures of the multiple anchors are adjusted.
[0129] In one embodiment, a computer program product is provided, including a computer program, which implements the following steps when executed by a processor: obtaining interaction data of multiple anchors, where the interaction data is used to represent live broadcast data during the interaction of the multiple anchors; and adjusting the live broadcast screens of the multiple anchors according to the interaction data.
[0130] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining the picture modification value of each of the multiple anchors according to the interaction data; and adjusting the live broadcast picture of each of the multiple anchors according to the picture modification value. In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:
[0131] In one embodiment, the interaction data includes accumulated interaction data and newly added interaction data, the accumulated interaction data is used to represent the accumulated value of interaction data from multiple hosts from the start of interaction to the current moment, and the newly added interaction data is used to represent interaction data from the current moment to the next moment; the live broadcast screens of multiple hosts at the current moment are obtained based on the accumulated interaction data; when the computer program is executed by the processor, the following steps are also implemented:
[0132] Calculate the proportion of the newly added interaction data of each of the multiple anchors in the newly added interaction data of the multiple anchors at the current moment;
[0133] According to the proportion, the screen modification value of each of the multiple anchors is determined.
[0134] In one embodiment, the picture modification value includes a picture size adjustment value; when the computer program is executed by the processor, the following steps are also implemented: according to the picture size adjustment value, the size of the live broadcast picture of each of the multiple anchors is adjusted.
[0135] In one embodiment, the screen modification value includes a theme color adjustment value; when the computer program is executed by the processor, the following steps are also implemented: according to the theme color adjustment value, the theme color of the live broadcast screen of each of the multiple anchors is adjusted.
[0136] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: according to the picture modification values at multiple moments in the interaction process, a curve showing the interaction results of multiple anchors changing over time is obtained; and according to the curve, the dividing lines of the live broadcast pictures of the multiple anchors are adjusted.
[0137] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The processor involved in each embodiment provided in this application can be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, etc., but is not limited thereto.
[0138] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0139] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for processing a live broadcast image, characterized in that: The method comprises: Acquire interaction data of multiple anchors, where the interaction data is used to represent live broadcast data during the interaction process of the multiple anchors; Adjusting the live broadcast screens of the multiple anchors according to the interaction data; The adjusting the live broadcast screens of the plurality of anchors according to the interaction data includes: Determine, according to the interaction data, a picture modification value of each of the multiple anchors; and adjust the live broadcast picture of each of the multiple anchors according to the picture modification value; the picture modification value includes a picture size adjustment value, a theme color adjustment value, a brightness modification value, or a picture shape modification value; The method further comprises: According to the picture modification values at multiple moments in the interaction process, a curve showing how the interaction results of the multiple anchors change over time is obtained; according to the curve, the dividing line of the live broadcast pictures of the multiple anchors is adjusted, and the dividing line is used to display the changing trend of the interaction results as the dividing line in real time, and the dividing line of the historical moment is retained at the top of the dividing line, and the dividing line of the current moment is displayed after the dividing line of the historical moment.
2. The method according to claim 1, characterized in that The interaction data includes accumulated interaction data and newly added interaction data, wherein the accumulated interaction data is used to represent the accumulated value of interaction data from the start of interaction to the current moment of the plurality of anchors, and the newly added interaction data is used to represent interaction data from the current moment to the next moment; The live broadcast images of the multiple anchors at the current moment are obtained according to the accumulated interaction data; The step of determining the picture modification value of each of the plurality of hosts according to the interaction data includes: Calculate and obtain the proportion of the newly added interaction data of each of the multiple hosts at the current moment in the newly added interaction data of the multiple hosts; According to the proportion, a picture modification value of each of the multiple anchors is determined.
3. The method according to claim 1, characterized in that The picture modification value includes a picture size adjustment value; and adjusting the live broadcast picture of each of the multiple anchors according to the picture modification value includes: According to the picture size adjustment value, the size of the live broadcast picture of each of the multiple anchors is adjusted.
4. The method according to any one of claims 1 to 3, characterized in that The picture modification value includes a theme color adjustment value; and adjusting the live broadcast picture of each of the multiple anchors according to the picture modification value includes: According to the theme color adjustment value, the theme color of the live broadcast screen of each of the multiple anchors is adjusted.
5. A device for processing live broadcast images, characterized in that: The device comprises: An acquisition unit, used to acquire interaction data of multiple anchors, where the interaction data is used to represent live broadcast data during the interaction process of the multiple anchors; A processing unit, configured to adjust the live broadcast pictures of the multiple anchors according to the interaction data; the adjusting the live broadcast pictures of the multiple anchors according to the interaction data comprises: determining a picture modification value of each of the multiple anchors according to the interaction data; adjusting the live broadcast picture of each of the multiple anchors according to the picture modification value; the picture modification value comprises a picture size adjustment value, a theme color adjustment value, a brightness modification value or a picture shape modification value; The processing unit is also used to obtain a curve showing the change of the interaction results of the multiple anchors over time according to the picture modification values at multiple moments in the interaction process; and adjust the dividing line of the live broadcast pictures of the multiple anchors according to the curve. The dividing line is used to display the change trend of the interaction results as a dividing line in real time, and the dividing line of the historical moment is retained at the top of the dividing line, and the dividing line of the current moment is displayed after the dividing line of the historical moment.
6. The device according to claim 5, characterized in that The interaction data includes accumulated interaction data and newly added interaction data. The accumulated interaction data is used to represent the accumulated value of interaction data from multiple hosts from the beginning of interaction to the current moment, and the newly added interaction data is used to represent interaction data from the current moment to the next moment. The live broadcast screens of multiple hosts at the current moment are obtained based on the accumulated interaction data. The processing unit is further used for: calculating the proportion of the newly added interaction data of each of the multiple anchors in the newly added interaction data of the multiple anchors at the next moment; and determining the picture modification value of each of the multiple anchors according to the proportion.
7. The device according to claim 5, characterized in that The picture modification value includes a picture size adjustment value; the processing unit is also used to: adjust the size of the live broadcast picture of each of the multiple anchors according to the picture size adjustment value.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
10. 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 any one of claims 1 to 4 are implemented.
