Bullet screen display method, device and system, equipment and medium
By extracting and filling the barrage text onto the outline of the reference image, and generating the barrage fill image, the problem of low interest in the barrage display in the prior art is solved, and a higher user interaction experience is achieved.
Patent Information
- Application Number
- CN202510140709.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-08
- Publication Date
- 2025-05-27
AI Technical Summary
In the prior art, barrage is mainly displayed in text form, which makes barrage display less interesting and difficult to arouse user's interactive interest.
By obtaining the barrage image display request sent by the client, multiple barrage texts in the barrage text are extracted, and reference images corresponding to the request are obtained, image outlines of the reference image are identified, multiple fill positions are determined, fill processing is performed, at least one barrage fill image is generated, and display instructions are sent to the client to make the client display the image.
Combining text and pictures, a way of displaying barrage with barrage text graphics is expanded, which improves the fun of barrage display and enhances the user's interactive experience.
Smart Images

Figure CN120050474A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer application technologies, and in particular, to a method, apparatus, system, device, and medium for displaying bullet screens. Background Art
[0002] Currently, in online video viewing, the bullet screen function is often used. The bullet screen function allows users to send bullet screen texts, and the bullet screen texts float across the video screen, which can enhance user interaction and enliven the viewing atmosphere.
[0003] In related technologies, the bullet screen texts are mainly in text form, that is, receiving the bullet screen texts sent by the client and directly displaying the bullet screen texts on the video playback interface to achieve bullet screen interaction.
[0004] However, in the above-mentioned way of directly displaying the bullet screen in the form of bullet screen texts, the interestingness of the bullet screen display is relatively low, and it is difficult to arouse the interactive interest of users. Summary of the Invention
[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a method, apparatus, system, device, and medium for displaying bullet screens.
[0006] An embodiment of the present disclosure provides a method for displaying bullet screens. The method is applied to a server and includes the following steps: obtaining a bullet screen image display request sent by a client, where the bullet screen image display request includes bullet screen texts to be displayed; extracting multiple bullet screen texts from the bullet screen texts and obtaining a reference image corresponding to the bullet screen image display request; identifying an image contour of the reference image to obtain a target contour image, and determining multiple filling positions on the target contour image, where a contour shape formed by the multiple filling positions is consistent with the image contour; performing a filling process on the multiple bullet screen texts at the multiple filling positions to generate at least one bullet screen filling image; and sending a bullet screen display instruction carrying the at least one bullet screen filling image to the client so that the client displays the at least one bullet screen filling image.
[0007] An embodiment of the present disclosure further provides a method for displaying bullet screens. The method is applied to a client and includes the following steps: sending a bullet screen image display request to a server, where the bullet screen image display request includes bullet screen texts to be displayed; receiving a bullet screen display instruction sent by the server and carrying at least one bullet screen filling image, and displaying the at least one bullet screen filling image according to the bullet screen display instruction.
[0008] An embodiment of the present disclosure further provides a bullet screen display system. The bullet screen display system includes a client and a server, where the server is used to execute the above bullet screen display method.
[0009] An embodiment of the present disclosure also provides a barrage display device, which includes: a first acquisition module, configured to acquire a barrage image display request sent by a client, where the barrage image display request includes barrage text to be displayed; a second acquisition module, configured to extract a plurality of barrage characters from the barrage text and acquire a reference image corresponding to the barrage image display request; a determination module, configured to identify an image contour of the reference image to obtain a target contour image, and determine a plurality of filling positions on the target contour image, where a contour shape formed by the plurality of filling positions is consistent with the image contour; a generation module, configured to perform a filling process on the plurality of barrage characters at the plurality of filling positions to generate at least one barrage filling image; a display module, configured to send a barrage display instruction carrying the at least one barrage filling image to the client, so that the client displays the at least one barrage filling image.
[0010] An embodiment of the present disclosure also provides a barrage display device, which is applied to a client and includes: a sending module, configured to send a barrage image display request to a server, where the barrage image display request includes barrage text to be displayed; a receiving module, configured to receive a barrage display instruction carrying at least one barrage filling image sent by the server, and display the at least one barrage filling image according to the barrage display instruction.
[0011] An embodiment of the present disclosure also provides an electronic device, which includes: a processor; a memory for storing executable instructions of the processor; the processor is configured to read the executable instructions from the memory and execute the instructions to implement the barrage display method provided by the embodiment of the present disclosure.
[0012] An embodiment of the present disclosure also provides a computer-readable storage medium, which stores a computer program for executing the barrage display method provided by the embodiment of the present disclosure.
[0013] The technical solution provided by the embodiment of the present disclosure has the following advantages compared with the prior art:
[0014] The bullet screen display solution provided by the embodiments of the present disclosure obtains a bullet screen image display request sent by a client. Among them, the bullet screen image display request contains the bullet screen text to be displayed, extracts multiple bullet screen characters from the bullet screen text, and obtains a reference image corresponding to the bullet screen image display request, identifies the image contour of the reference image to obtain a target contour image, and determines multiple filling positions on the target contour image. Among them, the contour shape formed by the multiple filling positions is consistent with the image contour, fills the multiple bullet screen characters at the multiple filling positions to generate at least one bullet screen filled image, and sends a bullet screen display instruction carrying at least one bullet screen filled image to the client, so that the client can display at least one bullet screen filled image. In this technical solution, by combining text and pictures, a way of displaying bullet screens in the form of bullet screen text graphics is extended, which improves the interest of bullet screen display and the interactive experience of users. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In combination with the accompanying drawings and with reference to the following specific embodiments, the above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the original components and elements are not necessarily drawn to scale.
[0016] Figure 1 It is a schematic diagram of a bullet screen display scenario in the prior art provided by the embodiments of the present disclosure;
[0017] Figure 2 It is a schematic flowchart of a bullet screen display method provided by the embodiments of the present disclosure;
[0018] Figure 3(a) is a schematic diagram of an image contour provided by the embodiments of the present disclosure;
[0019] Figure 3(b) is a schematic diagram of a bullet screen filled image provided by the embodiments of the present disclosure;
[0020] Figure 4 It is a schematic diagram of an annular bullet screen structure provided by the embodiments of the present disclosure;
[0021] Figure 5 It is a schematic diagram of the sorting result of filling positions provided by the embodiments of the present disclosure;
[0022] Figure 6 It is a schematic flowchart of another bullet screen display method provided by the embodiments of the present disclosure;
[0023] Figure 7 It is a schematic diagram of a bullet screen display scenario provided by the embodiments of the present disclosure;
[0024] Figure 8 It is a schematic flowchart of another bullet screen display method provided by the embodiments of the present disclosure;
[0025] Figure 9 Schematic flowchart of another bullet screen display method provided by an embodiment of the present disclosure;
[0026] Figure 10 Schematic structural diagram of a bullet screen display device provided by an embodiment of the present disclosure;
[0027] Figure 11 Schematic structural diagram of another bullet screen display device provided by an embodiment of the present disclosure;
[0028] Figure 12 Schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. Detailed implementation manners
[0029] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.
[0030] It should be understood that the various steps recorded in the method embodiments of the present disclosure can be executed in different orders and / or executed in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this regard.
[0031] The term "including" and its variations used herein are open-ended, that is, "including but not limited to". The term "based on" is "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0032] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order of functions executed by these devices, modules or units or their interdependent relationships.
[0033] It should be noted that the modifications of "one" and "plural" mentioned in the present disclosure are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly stated in the context, it should be understood as "one or more".
[0034] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are for illustrative purposes only and are not used to limit the scope of these messages or information.
[0035] As Figure 1 shown, in the related art, bullet screens are mainly displayed in the form of text, resulting in low interest in the display of bullet screens. Therefore, it is difficult to arouse the interactive interest of users. To solve the above technical problems, in the embodiments of the present disclosure, bullet screen text is used in combination with images to generate a new form of bullet screen that depicts a graphic with text, that is, the main outline of the picture graphic is retained, and the readability of the text is also retained. By utilizing the respective characteristics of text and pictures, the bullet screen effect is enhanced, attracting the user's attention, setting off the viewing atmosphere, and increasing the user's interactive interest.
[0036] That is, to solve the above problems, the embodiments of the present disclosure provide a bullet screen display method, which will be introduced below in combination with specific embodiments.
[0037] Figure 2 is a schematic flowchart of a bullet screen display method provided by an embodiment of the present disclosure. This method can be executed by a bullet screen display device, where the device can be implemented by software and / or hardware and is generally integrated in a server. As Figure 2 shown, the method includes:
[0038] Step 201, obtain a bullet screen image display request sent by a client, where the bullet screen image display request includes the bullet screen text to be displayed.
[0039] In an embodiment of the present disclosure, obtain a bullet screen display request sent by a client, where the bullet screen display request includes the bullet screen text to be displayed, and the bullet screen text includes one or more bullet screen words.
[0040] Step 202, extract multiple bullet screen words from the bullet screen text, and obtain a reference image corresponding to the bullet screen image display request.
[0041] In this embodiment, extract multiple bullet screen words from the bullet screen text. For example, some keywords in the bullet screen can be extracted as bullet screen words, or all the bullet screen words in the bullet screen text can be extracted as bullet screen words, etc.
[0042] In an embodiment of the present disclosure, a reference image corresponding to the bullet screen image display request is also obtained, where the reference image is any image to be filled with bullet screen words.
[0043] It should be noted that in different application scenarios, the method of obtaining a reference image corresponding to the bullet screen image display request is different. Examples are as follows:
[0044] In some possible examples, an image set is preset. Among them, the image set includes at least one image. The images in the image set can be uploaded by the client corresponding to the bullet screen display request, or uploaded by all clients, or provided by the system in advance, etc. In this embodiment, when the bullet screen image display request includes a bullet screen image identifier, a reference image matching the bullet screen image identifier is obtained in the preset image set. Among them, the bullet screen image identifier can be any information identifying the image, including but not limited to the image number, image name, etc.
[0045] In some possible examples, when the bullet screen image display request includes a reference image, the reference image is extracted from the bullet screen image display request. In this embodiment, the client directly specifies the corresponding reference image in the bullet screen image display request.
[0046] Step 203, identify the image contour of the reference image to obtain a target contour image, and determine a plurality of filling positions on the target contour image, where the contour shape formed by the plurality of filling positions is consistent with the image contour.
[0047] In an embodiment of the present disclosure, the image contour of the reference image is identified to obtain a target contour image, and a plurality of filling positions are determined on the contour image, where the contour shape formed by the plurality of filling positions is consistent with the image contour, so as to further fill bullet screen text at the plurality of filling positions. Among them, the contour shape formed by the plurality of filling positions being consistent with the image contour means that the contour shape formed by the plurality of filling positions is completely consistent with the image contour, or approximately consistent, etc.
[0048] That is, in this example, to depict a picture with bullet screen text, first, the image contour in the picture needs to be extracted, then the filling positions on or in the area near the contour are identified, and the pixels at the filling positions are replaced with bullet screen text, so as to obtain the image contour composed of bullet screen text.
[0049] In an embodiment of the present disclosure, the target contour image can correspond to the overall contour of all entities included in the reference image, or can be the contour of some entities. Therefore, in this embodiment, before identifying the image contour of the reference image to obtain the target contour image, in response to obtaining the specified information of the target entity in the reference image by the client, the other entity images in the reference image except the target entity are deleted. The specified information is used to specify some entities in the reference image.
[0050] In one embodiment of the present disclosure, in order to avoid the occlusion of video content when displaying bullet screens, the interface size of the video display can also be obtained, and the image size of the reference image can be determined according to the interface size. Specifically, the larger the interface size, the larger the corresponding image size; conversely, the smaller the interface size, the smaller the corresponding image size. In some possible embodiments, the corresponding relationship between the interface size and the image size can be pre-stored, and based on this corresponding relationship, the image size of the reference image can be determined. Furthermore, the reference image can be scaled according to the image size.
[0051] Step 204: Perform filling processing on multiple bullet screen texts at multiple filling positions to generate at least one bullet screen filling image.
[0052] In an embodiment of the present disclosure, filling processing is performed on multiple bullet screen texts at multiple filling positions to generate a bullet screen filling image, that is, the pixel values at multiple filling positions are replaced with bullet screen texts to generate a bullet screen filling image.
[0053] Among them, the number of multiple filling positions and the number of multiple bullet screen texts can be the same or different. When the number of multiple filling positions is greater than the number of multiple bullet screen texts, multiple bullet screen texts can be randomly filled at multiple filling positions, and the remaining extra filling positions can randomly select the corresponding number of bullet screen texts from multiple bullet screen positions for filling, or a preset pattern can be filled in the extra filling positions, etc.; when the number of multiple filling positions is less than the number of multiple bullet screen texts, multiple bullet screen texts can be cyclically displayed, that is, starting from the first text of multiple bullet screen texts, display the number of bullet screen texts equal to the number of multiple filling positions, then, starting from the second text of multiple bullet screen texts, display the number of bullet screen texts equal to the number of multiple filling positions, then, starting from the third text of multiple bullet screen texts, display the number of bullet screen texts equal to the number of multiple filling positions... When the number of bullet screen texts from the start to the last text of multiple bullet screen texts is less than the number of multiple filling positions each time, the corresponding number of bullet screen texts is filled starting from the first text of multiple bullet screen texts. For example, if there are 100 bullet screen texts and the number of multiple filling positions is 50, when currently cycling to select 50 bullet screen texts starting from the 60th bullet screen text and there are still 9 filling positions without corresponding bullet screen texts when displaying to the 100th bullet screen text, then 9 bullet screen texts are selected starting from the first bullet screen text again, etc.
[0054] Based on the above description, it can be seen that since the bullet screen texts filled each time may not all be the same, the generated bullet screen filling images can be one or more, etc.
[0055] In some possible embodiments, when the image contour is an image of a bunch of flowers as shown in Fig. 3(a), the obtained bullet screen filling image may be as shown in the left figure of Fig. 3(b). Among them, as can be seen from the enlarged view of the bullet screen filling image shown in the right figure of Fig. 3(b), the corresponding filling positions in the bullet screen filling image are filled with bullet screen texts.
[0056] In some possible embodiments, step 204 may include: sorting a plurality of bullet screen texts, and connecting the first bullet screen text and the last bullet screen text of the sorted plurality of bullet screen texts to form a circular bullet screen structure. For example, referring to Figure 4 , when there are 8 bullet screen texts, the 8 bullet screen texts are connected end to end to form a circular bullet screen structure. Furthermore, a preset number of bullet screen text sets are selected from the circular bullet screen structure, where the bullet screen texts corresponding to each bullet screen text set are not completely the same, and each bullet screen text set contains a plurality of bullet screen texts corresponding one by one to a plurality of filling positions. Each bullet screen text set is filled in the corresponding plurality of filling positions of the target contour image to obtain a preset number of bullet screen filling images.
[0057] Among them, when the preset number is greater than 1, when determining the first bullet screen text set, any bullet screen text in the circular bullet screen structure is used as the starting bullet screen text, and a continuous plurality of bullet screen texts corresponding one by one to a plurality of filling positions are selected starting from the corresponding starting bullet screen text to form a bullet screen text set. When determining a non-first bullet screen text set, the next bullet screen text after the starting bullet screen text of the previous bullet screen text set is used as the starting bullet screen text, and a continuous plurality of bullet screen texts corresponding one by one to a plurality of filling positions are selected starting from the corresponding starting bullet screen text to form a bullet screen text set.
[0058] Among them, the method of filling each bullet screen text set in the corresponding plurality of filling positions of the target contour image to obtain a preset number of bullet screen filling images is different in different application scenarios. The examples are as follows: In some possible embodiments, a plurality of filling positions may be sorted to obtain a sorting result corresponding to the plurality of filling positions. For example, it is determined whether the contour shape formed by the plurality of filling positions is a closed shape (for example, a circular shape, etc., which can be drawn in one stroke and the head and tail are connected, is a closed shape). When the contour shape formed by the plurality of filling positions is a closed shape, a starting filling position and a contour direction (that is, the direction of drawing in one stroke, which can be defined manually or set by the system) are determined in the contour shape, and the plurality of filling positions are sorted starting from the starting filling position according to the contour direction to obtain a sorting result corresponding to the plurality of filling positions.
[0059] For example, as Figure 5 shown, when the contour shape formed by the plurality of filling positions is a circle and the contour direction is clockwise, the sorting result of sorting the plurality of filling positions is "S1, S2, S3, S4, S5... S8", etc.
[0060] When the contour shape formed by multiple filling positions is not a closed shape, randomly sort the multiple filling positions to obtain a sorting result corresponding to the multiple filling positions.
[0061] Alternatively, when the contour shape formed by multiple filling positions is not a closed shape, split the contour shape into multiple contour segments, sort the multiple contour segments to obtain a sorting result 1, sort the filling positions in each contour segment to obtain a sorting result 2, and sort the multiple sorting results 2 according to the sorting result 1 to obtain a sorting result corresponding to the multiple filling positions.
[0062] Step 205, send a barrage display instruction carrying at least one barrage filling image to the client, so that the client displays at least one barrage filling image.
[0063] After obtaining at least one barrage filling image, send a barrage display instruction carrying at least one barrage filling image to the client, so that the client displays at least one barrage filling image.
[0064] In summary, for the barrage display method of the present disclosure embodiment, obtain a barrage image display request sent by the client, where the barrage image display request includes the barrage text to be displayed, extract multiple barrage characters in the barrage text, and obtain a reference image corresponding to the barrage image display request, identify the image contour of the reference image to obtain a target contour image, and determine multiple filling positions on the target contour image, where the contour shape formed by the multiple filling positions is consistent with the image contour, perform a filling process on the multiple barrage characters at the multiple filling positions to generate at least one barrage filling image, and send a barrage display instruction carrying at least one barrage filling image to the client, so that the client displays at least one barrage filling image. In this technical solution, by combining text and pictures, a way of displaying barrages in the form of barrage text graphics is extended, the interestingness of barrage display is improved, and the interactive experience of users is enhanced.
[0065] It should be noted that any of the above methods for extracting image contours can be used to identify the image contour of the reference image to obtain the target contour image. The following is an explanation with specific examples:
[0066] In some possible examples, the pixel value of each pixel point in the reference image can be identified. When the pixel value is greater than a preset pixel value, set the pixel value of the corresponding pixel point to a first pixel value. When the pixel value is not greater than the preset pixel value, set the pixel value of the corresponding pixel point to a second pixel value, where the second pixel value is less than the first pixel value, so as to obtain the target contour image.
[0067] In some possible examples, such as Figure 6As shown, identifying the image contour of the reference image to obtain the target contour image includes:
[0068] Step 601: Perform grayscale processing on the reference image to obtain a grayscale image.
[0069] In this embodiment, to reduce the computational amount, grayscale processing is performed on the reference image to obtain a grayscale image.
[0070] In some possible embodiments, the weighted average algorithm can be used, and the weighted average of the RGB color channel values of the image pixels is used as the grayscale value for grayscale conversion.
[0071] That is, in this example, the three pixel values of each pixel point in the reference image in the three color channels can be calculated. The three pixel values can be expressed as red(x,y), green(x,y), and blue(x,y). Furthermore, the product values of the three pixel values and the preset weight values corresponding to each color channel are calculated to obtain three product values. Among them, the preset weight values can be expressed as Wr, Wg, and Wb. Furthermore, the sum of the three product values is calculated to obtain the grayscale value of each pixel point in the reference image, that is, the grayscale value gray(x,y) = red(x,y)*Wr + green(x,y)*Wg + blue(x,y)*Wb. In this example, the grayscale image is obtained according to the grayscale value of each pixel point, that is, the pixel value of each pixel point in the reference image is set to the corresponding grayscale value to obtain the grayscale image.
[0072] Step 602: Calculate the horizontal reference gradient and the vertical reference gradient of each pixel point according to the grayscale value of each pixel point in the grayscale image.
[0073] Step 603: Determine the gradient value of each pixel point in the grayscale image according to the horizontal reference gradient and the vertical reference gradient, and perform binarization processing on the gradient value to obtain the target contour image.
[0074] In the embodiments of the present disclosure, in order to further extract the image contour of the grayscale image, it is actually to find the regions with significant changes in grayscale values on the grayscale image and determine the gradient value of each pixel point in the grayscale image.
[0075] Among them, the gradient value of any determinable pixel point belongs to the calculation method of the gradient value in the embodiments of the present disclosure. In some possible embodiments, the horizontal reference gradient and the vertical reference gradient of each pixel point in the grayscale image can be calculated. For example, the Sobel operator can be used to perform convolution operations on each pixel point in the image in the horizontal and vertical directions to obtain the horizontal reference gradient and the vertical reference gradient. Among them, the obtained horizontal reference gradient Gx(x,y) = (-1*gray(x-1,y-1) + 0*gray(x-1,y) + 1*gray(x-1,y+1)) + (-2*gray(x,y-1) + 0*gray(x,y) + 2*gray(x,y+1)) + (-1*gray(x+1,y-1) + 0*gray(x+1,y) + 1*gray(x+1,y+1)), and the vertical reference gradient Gy(x,y) = (-1*gray(x-1,y-1) - 2*gray(x-1,y) - 1*gray(x-1,y+1)) + (0*gray(x,y-1) + 0*gray(x,y) + 0*gray(x,y+1)) + (1*gray(x+1,y-1) + 2*gray(x+1,y) + 1*gray(x+1,y+1)).
[0076] Furthermore, based on the horizontal reference gradient and the vertical reference gradient, the gradient value of each pixel point in the grayscale image is determined. For example, the mean value of the horizontal reference gradient and the vertical reference gradient can be directly calculated to determine the gradient value of each pixel point in the grayscale image; or, the sum of the square values of the horizontal reference gradient and the square value of the vertical reference gradient can be calculated, and the square root of the sum of the square values can be calculated to determine the gradient value of each pixel point in the grayscale image.
[0077] Further, after obtaining the gradient value, since the areas with large gradient value differences are basically the edges of the image, binary processing can be performed based on the gradient value to obtain the target contour image.
[0078] In some possible embodiments of the present disclosure, it can be determined whether the gradient value of each pixel point in the grayscale image is greater than a preset gradient threshold. Among them, the preset gradient threshold can be set according to the scene requirements. Furthermore, when the gradient value is greater than the preset gradient threshold, the pixel value of the corresponding pixel point is set to a first preset grayscale value, where the first preset grayscale value can be a relatively large value, for example, the pixel value corresponding to the white pixel value. When the gradient value is not greater than the preset gradient threshold, the pixel value of the corresponding pixel point is set to a second preset grayscale value, where the second preset grayscale value is less than the first preset grayscale value, and the second preset grayscale value can be a relatively low value, for example, the pixel value corresponding to the black pixel, etc. Thus, the image contour can be highlighted after binary processing.
[0079] For example, as Figure 7 shown, when the reference image is a flower, the reference image is grayscale processed to obtain a grayscale image a. Further, the gradient value of each pixel point in the grayscale image is determined, and the gradient value is binarized to obtain a target contour image b.
[0080] Further, in an embodiment of the present disclosure, a plurality of filling positions are determined on the target contour image.
[0081] It should be noted that in the embodiments of the present disclosure, in different application scenarios, the methods for determining a plurality of filling positions on the target contour image are different, and examples are as follows:
[0082] In some possible examples, on the image contour of the target contour image, a plurality of contour point pixels are determined according to a preset sampling interval. Further, with each contour point pixel as the center point, a corresponding contour point pixel radiation region is determined according to a preset shape and a preset size, and each radiation region is determined as the corresponding filling position. Among them, the preset shape can be any shape such as a square, a circle, etc., the preset size can be determined according to the final display image size of the reference image, and adjacent filling positions are ensured not to overlap.
[0083] In some possible examples, as Figure 8 shown, determining a plurality of filling positions on the target contour image includes:
[0084] Step 801, dividing the target contour image into a plurality of image grids according to the filter size of a preset mean filter.
[0085] In this example, the target contour image is divided into a plurality of image grids according to the filter size of a preset mean filter. For example, if the filter size is k*k, the target contour image is divided into a plurality of image grids of size k*k.
[0086] Step 802, calculating the average pixel value of all pixel points in each image grid through the mean filter.
[0087] In this implementation, the average pixel value of all pixel points in each image grid is calculated through the mean filter. For example, if the filter size is k*k, and if the grid cell contains 9 pixel points, the average pixel value including all pixel points is: avg(x,y) = [gray(x - k, y + k) + gray(x, y + k) + gray(x + k, y + k) + gray(x - k, y) + gray(x, y) + gray(x + k, y) + gray(x - k, y - k) + gray(x, y - k) + gray(x + k, y - k)] / k*k, where x and y are the coordinates of the pixel points.
[0088] Step 803: Determine that the positions of multiple image grids with an average pixel value greater than a preset pixel value threshold are multiple filling positions.
[0089] In this embodiment, it is determined that the positions of multiple image grids with an average pixel value greater than a preset pixel value threshold are multiple filling positions. Among them, the positions of multiple image grids with an average pixel value greater than the preset pixel value threshold correspond to the regions where the gray value changes abruptly, generally located on the image contour or near the edge. Among them, the preset pixel value threshold can be set according to the scene requirements.
[0090] Continue taking Figure 7 the scene shown as an example. After obtaining the target contour image b, perform mean filtering on b to determine multiple filling positions where multiple gray value mutations occur. The shape formed by the multiple filling positions is as shown in c, which is consistent with the image contour. Replace the pixel values at the filling positions in c with the corresponding bullet screen text, and the bullet screen filling image d can be obtained. In d, the bullet screen text forms the corresponding image contour. It should be noted that only a partial area of the bullet screen filling image is enlarged and displayed in d, and the whole of the bullet screen filling image is not displayed.
[0091] In summary, the bullet screen display method of the present disclosure embodiment can flexibly extract the image contour of the reference image in different ways and fill in the corresponding bullet screen text. The bullet screen text outlines the picture contour, retaining the main information of the text and the picture.
[0092] To implement the above embodiment, Figure 9 is a schematic flowchart of a bullet screen display method provided by an embodiment of the present disclosure. This method can be executed by a bullet screen display device, where the device can be implemented by software and / or hardware and is generally integrated in a client. As Figure 9 shown, this method includes:
[0093] Step 901: Send a bullet screen image display request to the server, where the bullet screen image display request includes the bullet screen text to be displayed.
[0094] In an embodiment of the present disclosure, the client sends a bullet screen image display request to the server, and the bullet screen image display request includes the bullet screen text to be displayed. Among them, the client can be any device where the video with the displayed bullet screen is viewed.
[0095] Step 902: Receive the bullet screen display instruction sent by the server carrying at least one bullet screen filling image, and display at least one bullet screen filling image according to the bullet screen display instruction.
[0096] In this embodiment, a barrage display instruction for at least one barrage filling image sent by the server is received, and at least one barrage filling image is displayed according to the barrage display instruction. For example, multiple barrage filling images can be switched and displayed according to a preset display frame rate, etc. Among them, the display logic for the client to display multiple barrage filling images is the same as that for displaying subtitles, which will not be elaborated here.
[0097] In summary, for the barrage display method of the present disclosure embodiment, a barrage image display request is sent to the server, where the barrage image display request includes the barrage text to be displayed. A barrage display instruction carrying at least one barrage filling image sent by the server is received, and at least one barrage filling image is displayed according to the barrage display instruction. Thereby, the barrage is displayed in the form of barrage text graphics, enhancing the interest of barrage display.
[0098] To implement the above embodiment, the present disclosure also proposes a barrage display system, which includes a client and a server. Among them, the server is used to execute the barrage display method described above that is concentrated on the server side, and the client is used to execute the barrage display method described above that is concentrated on the client side.
[0099] To implement the above embodiment, the present disclosure also proposes a barrage display device. Figure 10 As shown in the structural schematic diagram of another barrage display device provided by the embodiment of the present disclosure, this device can be implemented by software and / or hardware and is generally integrated in the server. As Figure 10 shown, this device includes: a first acquisition module 1010, a second acquisition module 1020, a determination module 1030, a generation module 1040, and a display module 1050. Among them,
[0100] The first acquisition module 1010 is configured to acquire a barrage image display request sent by the client, where the barrage image display request includes the barrage text to be displayed;
[0101] The second acquisition module 1020 is configured to extract multiple barrage characters from the barrage text and acquire a reference image corresponding to the barrage image display request;
[0102] The determination module 1030 is configured to identify the image contour of the reference image to obtain a target contour image, and determine multiple filling positions on the target contour image, where the contour shape formed by the multiple filling positions is consistent with the image contour;
[0103] The generation module 1040 is configured to perform a filling process on the multiple barrage characters at the multiple filling positions to generate at least one barrage filling image;
[0104] A display module 1050, configured to send a barrage display instruction carrying at least one barrage filling image to a client, so that the client displays at least one barrage filling image.
[0105] In an embodiment of the present disclosure, the second acquisition module 1020 is specifically configured to:
[0106] When a barrage image identifier is included in the barrage image display request, obtain a reference image that matches the barrage image identifier in a preset image set; or,
[0107] When a reference image is included in the barrage image display request, extract the reference image from the barrage image display request.
[0108] In an embodiment of the present disclosure, the determination module 1030 is specifically configured to:
[0109] Perform grayscale processing on the reference image to obtain a grayscale image;
[0110] Calculate the horizontal reference gradient and the vertical reference gradient of each pixel point according to the grayscale value of each pixel point in the grayscale image;
[0111] Determine the gradient value of each pixel point in the grayscale image according to the horizontal reference gradient and the vertical reference gradient, and perform binarization processing on the gradient value to obtain a target contour image.
[0112] In an embodiment of the present disclosure, the determination module 1030 is configured to:
[0113] Divide the target contour image into multiple image grids according to the filter size of a preset mean filter;
[0114] Calculate the average pixel value of all pixel points in each image grid through the mean filter;
[0115] Determine that the positions of multiple image grids where the average pixel value is greater than a preset pixel value threshold are multiple filling positions.
[0116] In an embodiment of the present disclosure, the generation module 1040 is configured to:
[0117] Sort multiple barrage texts, and connect the first barrage text and the last barrage text of the sorted multiple barrage texts to form a circular barrage structure;
[0118] Select a preset number of barrage text sets in the circular barrage structure, where the barrage texts corresponding to each barrage text set are not completely the same, and each barrage text set contains multiple barrage texts that correspond one-to-one to multiple filling positions;
[0119] Fill each bullet text set at a plurality of filling positions corresponding to the target contour image to obtain a preset number of bullet filling images.
[0120] In an embodiment of the present disclosure, when the preset number is greater than 1, the generating module 1040 is configured to:
[0121] When determining the first bullet text set, use any bullet text in the circular bullet structure as the starting bullet text, and start from the corresponding starting bullet text to select a continuous plurality of bullet texts corresponding to the plurality of filling positions one by one to form a bullet text set;
[0122] When determining a non-first bullet text set, use the next bullet text after the starting bullet text of the previous bullet text set as the starting bullet text, and start from the corresponding starting bullet text to select a continuous plurality of bullet texts corresponding to the plurality of filling positions one by one to form a bullet text set.
[0123] In an embodiment of the present disclosure, the generating module 1040 is configured to:
[0124] Sort the plurality of filling positions to obtain a sorting result corresponding to the plurality of filling positions;
[0125] Fill the bullet texts in the corresponding bullet text sets at each filling position one by one in the order from front to back in the sorting result to obtain a preset number of bullet filling images.
[0126] In an embodiment of the present disclosure, the generating module 1040 is configured to:
[0127] Determine whether the contour shape formed by the plurality of filling positions is a closed shape;
[0128] When the contour shape formed by the plurality of filling positions is a closed shape, determine a starting filling position and a contour direction in the contour shape, and sort the plurality of filling positions according to the contour direction starting from the starting filling position to obtain a sorting result corresponding to the plurality of filling positions;
[0129] When the contour shape formed by the plurality of filling positions is not a closed shape, randomly sort the plurality of filling positions to obtain a sorting result corresponding to the plurality of filling positions.
[0130] In an embodiment of the present disclosure, when the reference image includes a plurality of entities, the method further includes: The apparatus further includes: a deletion processing module, configured to:
[0131] In response to obtaining the specified information of the target entity in the reference image by the client, perform deletion processing on the other entity images except the target entity in the reference image.
[0132] In one embodiment of the present disclosure, the device further includes: a scaling processing module, configured to:
[0133] Obtain the screen size information of the client for displaying bullet screens;
[0134] Determine the scaling ratio of the reference image according to the screen size information;
[0135] Perform image scaling processing on the reference image according to the scaling ratio.
[0136] To implement the above embodiment, the present disclosure also proposes a bullet screen display device. Figure 11 As shown in the structural schematic diagram of a bullet screen display device provided by an embodiment of the present disclosure, the device can be implemented by software and / or hardware and is generally integrated in a client. As Figure 11 shown, the device includes: a sending module 1110 and a receiving module 1120, wherein,
[0137] The sending module 1110 is configured to send a bullet screen image display request to the server, wherein the bullet screen image display request includes the bullet screen text to be displayed;
[0138] The receiving module 1120 is configured to receive a bullet screen display instruction sent by the server carrying at least one bullet screen filling image, and display at least one bullet screen filling image according to the bullet screen display instruction.
[0139] To implement the above embodiment, the present disclosure also proposes a computer program product, including a computer program / instructions, which when executed by a processor implement the bullet screen display method in the above embodiment.
[0140] Figure 12 As shown in the structural schematic diagram of an electronic device provided by an embodiment of the present disclosure.
[0141] Specifically, referring to Figure 12 , which shows a structural schematic diagram of an electronic device 1200 suitable for implementing an embodiment of the present disclosure. The electronic device 1200 in an embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 12 The electronic device shown is only an example and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.
[0142] As Figure 12As shown, the electronic device 1200 may include a processor (such as a central processing unit, a graphics processing unit, etc.) 1201, which may perform various appropriate actions and processes according to a program stored in the read-only memory (ROM) 1202 or a program loaded from the memory 1208 into the random access memory (RAM) 1203. In the RAM 1203, various programs and data required for the operation of the electronic device 1200 are also stored. The processor 1201, the ROM 1202, and the RAM 1203 are connected to each other through a bus 1204. The input / output (I / O) interface 1205 is also connected to the bus 1204.
[0143] Generally, the following devices may be connected to the I / O interface 1205: an input device 1206 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1207 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a memory 1208 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1209. The communication device 1209 may allow the electronic device 1200 to communicate with other devices wirelessly or wiredly to exchange data. Although Figure 12 the electronic device 1200 with various devices is shown, it should be understood that it is not required to implement or have all the shown devices. Instead, more or fewer devices may be implemented or had.
[0144] Specifically, according to an embodiment of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes program codes for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication device 1209, or installed from the memory 1208, or installed from the ROM 1202. When the computer program is executed by the processor 1201, the above functions defined in the bullet screen display method of the embodiment of the present disclosure are executed.
[0145] It should be noted that the computer-readable medium described above can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, in which computer-readable program code is carried. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, and this computer-readable signal medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0146] In some embodiments, the client and the server can communicate using any currently known or future-developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0147] The above computer-readable medium can be included in the above electronic device; or it can exist separately and not be assembled into the electronic device.
[0148] The above computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is caused to execute the above barrage display method.
[0149] An electronic device may write computer program code for performing the operations of the present disclosure in one or more programming languages or combinations thereof. The above programming languages include, but are not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or it may be connected to an external computer (e.g., by connecting through the Internet using an Internet service provider).
[0150] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combinations of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system for performing the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.
[0151] The units involved in the embodiments described in the present disclosure may be implemented in software or in hardware. Among them, the name of the unit does not constitute a limitation to the unit itself in some cases.
[0152] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGA), application specific integrated circuits (ASIC), application specific standard products (ASSP), system on a chip (SOC), complex programmable logic devices (CPLD), and so on.
[0153] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0154] The above description is only a preferred embodiment of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of the disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, and should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosure concept. For example, the technical solutions formed by mutually replacing the above features with the technical features (but not limited to) having similar functions disclosed in the present disclosure.
[0155] In addition, although the operations are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although a number of specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, the various features described in the context of a single embodiment can also be implemented separately or in any suitable sub-combination in multiple embodiments.
[0156] Although the subject matter has been described in language specific to structural features and / or methodological acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A bullet screen display method, characterized in that: The method is applied on a server and comprises the following steps: Obtaining a bullet screen image display request sent by a client, wherein the bullet screen image display request includes bullet screen text to be displayed; Extracting multiple bullet-screen characters from the bullet-screen text, and acquiring a reference image corresponding to the bullet-screen image display request; Identify the image contour of the reference image to obtain a target contour image, and determine a plurality of filling positions on the target contour image, wherein a contour shape composed of the plurality of filling positions is consistent with the image contour; Filling the plurality of bullet-screen characters at the plurality of filling positions to generate at least one bullet-screen filling image; A bullet-screen display instruction carrying the at least one bullet-screen filling image is sent to the client, so that the client displays the at least one bullet-screen filling image.
2. The method according to claim 1, characterized in that The obtaining a reference image corresponding to the bullet screen image display request includes: When the bullet-screen image display request includes a bullet-screen image identifier, obtaining the reference image matching the bullet-screen image identifier from a preset image set; or, When the reference image is included in the bullet-screen image display request, the reference image is extracted from the bullet-screen image display request.
3. The method according to claim 1, characterized in that The step of identifying the image contour of the reference image to acquire the target contour image comprises: Performing grayscale processing on the reference image to obtain a grayscale image; Calculating a horizontal reference gradient and a vertical reference gradient for each pixel according to the grayscale value of each pixel in the grayscale image; The gradient value of each pixel in the grayscale image is determined according to the horizontal reference gradient and the vertical reference gradient, and the gradient value is binarized to obtain the target contour image.
4. The method according to any one of claims 1 to 3, characterized in that: Determining a plurality of filling positions on the target contour image comprises: Dividing the target contour image into a plurality of image grids according to a filter size of a preset mean filter; Calculate the average pixel value of all pixels in each of the image grids by using the mean filter; The locations of the multiple image grids whose average pixel values are greater than a preset pixel value threshold are determined as the multiple filling locations.
5. The method according to claim 1, characterized in that The filling process of the plurality of bullet-screen characters at the plurality of filling positions to generate at least one bullet-screen filling image includes: Sorting the plurality of barrage texts, and connecting the first barrage text and the last barrage text of the sorted plurality of barrage texts to form a circular barrage structure; Selecting a preset number of barrage text sets in the annular barrage structure, wherein the barrage texts corresponding to the barrage text sets are not completely the same, and each of the barrage text sets contains a plurality of barrage texts corresponding to the plurality of filling positions one by one; Each of the barrage text sets is filled in a plurality of filling positions corresponding to the target outline image to obtain the preset number of barrage filling images.
6. The method according to claim 5, characterized in that When the preset number is greater than 1, selecting a preset number of barrage text sets in the annular barrage structure includes: When determining the first barrage text set, any barrage text in the annular barrage structure is used as the starting barrage text, and a plurality of consecutive barrage texts corresponding to the plurality of filling positions are selected from the corresponding starting barrage text to form the barrage text set; When determining a non-first barrage text set, the next barrage text of the starting barrage text of the previous barrage text set is used as the starting barrage text, and starting from the corresponding starting barrage text, a plurality of continuous barrage texts corresponding one-to-one to the multiple filling positions are selected to form a barrage text set.
7. The method according to claim 5, characterized in that Filling each of the bullet-screen text sets at a plurality of filling positions corresponding to the target outline image to obtain the preset number of bullet-screen filling images comprises: Sorting the multiple filling positions to obtain sorting results corresponding to the multiple filling positions; According to the order from front to back in the sorting result, the corresponding barrage text in the barrage text set is filled in each filling position one by one to obtain the preset number of barrage filling images.
8. The method according to claim 7, characterized in that The sorting of the plurality of filling positions to obtain sorting results corresponding to the plurality of filling positions includes: Determining whether the outline shape formed by the plurality of filling positions is a closed shape; When the contour shape formed by the multiple filling positions is a closed shape, determining a starting filling position and a contour direction in the contour shape, and sorting the multiple filling positions according to the contour direction starting from the starting filling position to obtain the sorting result corresponding to the multiple filling positions; When the contour shape formed by the multiple filling positions is not a closed shape, the multiple filling positions are randomly sorted to obtain sorting results corresponding to the multiple filling positions.
9. The method according to claim 1, characterized in that When the reference image includes a plurality of entities, before identifying the image contour of the reference image to obtain the target contour image, the method further includes: In response to obtaining the designated information of the target entity in the reference image from the client, other entity images other than the target entity in the reference image are deleted.
10. The method according to claim 1, characterized in that Before identifying the image contour of the reference image to obtain the target contour image, the method further includes: Obtaining screen size information of the client displaying the bullet screen; Determining a scaling ratio of the reference image according to the screen size information; The reference image is subjected to image scaling processing according to the scaling ratio.
11. A bullet screen display method, characterized in that: The method is applied to the client, comprising the following steps: Sending a bullet screen image display request to a server, wherein the bullet screen image display request includes bullet screen text to be displayed; Receive a bullet screen display instruction carrying at least one bullet screen filling image sent by the server, and display the at least one bullet screen filling image according to the bullet screen display instruction.
12. The method according to claim 11, characterized in that When there are multiple images of the at least one bullet-screen filling image, displaying the at least one bullet-screen filling image according to the bullet-screen display instruction includes: The plurality of bullet screen filling images are switched and displayed according to a preset display frame rate.
13. A bullet screen display system, characterized in that: The bullet screen display system includes a client and a server, wherein: The server is used to execute the bullet screen display method according to any one of claims 1 to 10; The client is used to execute the bullet screen display method as described in claim 11 or 12.
14. A bullet screen display device, characterized in that: The device is applied to a server and includes: A first acquisition module is used to acquire a bullet screen image display request sent by a client, wherein the bullet screen image display request includes bullet screen text to be displayed; A second acquisition module is used to extract multiple bullet-screen characters in the bullet-screen text, and obtain a reference image corresponding to the bullet-screen image display request; a determination module, configured to identify the image contour of the reference image to obtain a target contour image, and determine a plurality of filling positions on the target contour image, wherein a contour shape composed of the plurality of filling positions is consistent with the image contour; A generating module, used for performing filling processing on the plurality of bullet-screen characters at the plurality of filling positions to generate at least one bullet-screen filling image; The display module is used to send a bullet screen display instruction carrying the at least one bullet screen filling image to the client, so that the client displays the at least one bullet screen filling image.
15. A bullet screen display device, characterized in that: The device application client includes: A sending module, used for sending a bullet screen image display request to a server, wherein the bullet screen image display request includes bullet screen text to be displayed; The receiving module is used to receive a bullet screen display instruction carrying at least one bullet screen filling image sent by the server, and display the at least one bullet screen filling image according to the bullet screen display instruction.
16. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the barrage display method described in any one of claims 1-10 above, or the barrage display method described in claim 11 or 12.
17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is used to execute the barrage display method described in any one of claims 1 to 10 above, or the barrage display method described in claim 11 or 12.