Barrage Processing Method, Device, Storage Medium, and Electronic Device
By determining the game map area on the audience and sending barrage location information to the anchor, the problem of untimely display of barrage content in the game live broadcast is solved, and the timely display and reply of barrage content is realized, which improves the viewing of live broadcasts.
Patent Information
- Application Number
- CN202111529022.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-14
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2041-12-14
AI Technical Summary
In game live broadcast, game anchors cannot discover barrage content in time, resulting in a reduced viewing of live broadcast content.
By determining the target game map area in the live broadcast interface on the audience, obtaining the operation position information of the barrage trigger operation, and displaying the barrage content on the anchor side based on this information, establishing a strong correlation between the live broadcast barrage and the game map.
It improves the viewing of the barrage content, and the anchor can discover and reply to the barrage in a timely manner, optimizing the barrage reading experience of the audience and the anchor.
Smart Images

Figure CN114225400B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to a bullet comment processing method and device, a computer-readable storage medium, and an electronic device. Background Art
[0002] Danmu are short comments sent by users while watching videos or other dynamic content. They can be displayed on the graphical user interface in a scrolling or hovering manner. Danmu allows users to see other users' comments in real time, increasing interaction and allowing them to express their admiration or criticism of the content, thus enhancing viewing pleasure. Especially in live game videos, Danmu is the most visible and interesting information for users, besides the live content. Users can enhance their viewing experience by browsing Danmu and posting Danmu comments in response.
[0003] When livestreaming MOBA (Multiplayer Online Battle Arena) games, streamers typically use a barrage plugin to monitor the comments. As a result, streamers often fail to see the comments in real time and are unable to respond to them while broadcasting, reducing the quality of the content.
[0004] In view of this, there is an urgent need in this field to develop a new barrage processing method and device.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the Invention
[0006] The purpose of the present disclosure is to provide a barrage processing method, a barrage processing device, a computer-readable storage medium and an electronic device, thereby overcoming, at least to a certain extent, the technical problem of poor display effect of barrage content in game live broadcasts due to the limitations of related technologies.
[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0008] According to a first aspect of an embodiment of the present invention, a method for processing a bullet comment is provided.
[0009] Applied to a viewer terminal, the viewer terminal provides a live broadcast interface, and the live broadcast interface displays a game screen. The method includes:
[0010] Determine the target game map area included in the current game screen displayed on the live broadcast interface;
[0011] In response to a bullet screen trigger operation acting on the current live broadcast interface, obtain the operation position information of the bullet screen trigger operation;
[0012] Determine the scene position information in the target game map area according to the operation position information;
[0013] In response to a bullet screen input operation, obtain the bullet screen content corresponding to the bullet screen input operation;
[0014] Send the scene position information and the bullet screen content to the host side, so that the host side displays the bullet screen content in the running game program according to the scene position information.
[0015] In an exemplary embodiment of the present invention,
[0016] The determining the scene position information in the target game map area according to the operation position information includes:
[0017] Determine the game map to which the target game map area belongs, and perform map partitioning processing on the game map to obtain multiple coordinate axes;
[0018] In the multiple coordinate axes, determine the scene position information in the target game map area according to the operation position information.
[0019] In an exemplary embodiment of the present invention,
[0020] The performing map partitioning processing on the game map to obtain multiple coordinate axes includes:
[0021] Obtain the size information of the game map, and perform map partitioning processing on the game map according to the size information to obtain multiple map sub-areas;
[0022] Continue to perform map partitioning processing on the multiple map sub-areas to obtain multiple coordinate axes on the game map.
[0023] In an exemplary embodiment of the present invention,
[0024] The determining the scene position information in the target game map area according to the operation position information in the multiple coordinate axes includes:
[0025] Use the game interface to determine the coordinate range of the target game map area in the multiple coordinate axes, and obtain the mapping relationship between the operation position information and the scene position information;
[0026] In the coordinate range, determine the scene position information corresponding to the operation position information according to the mapping relationship.
[0027] In an exemplary embodiment of the present invention,
[0028] After obtaining the operation position information of the barrage trigger operation, the method further includes:
[0029] Displaying a barrage display identifier according to the operation position information to mark the operation position of the barrage trigger operation in the live broadcast interface.
[0030] In an exemplary embodiment of the present invention,
[0031] Responding to the barrage input operation and obtaining the barrage content corresponding to the barrage input operation includes:
[0032] Providing a barrage input area in the live broadcast interface according to the operation position information, where the barrage input area includes a barrage input control;
[0033] Responding to the barrage input operation acting on the barrage input control and displaying the barrage content in the barrage input control.
[0034] In an exemplary embodiment of the present invention,
[0035] The barrage input area further includes a barrage confirmation control,
[0036] Sending the scene position information and the barrage content to the host side so that the host side displays the barrage content in the running game program according to the scene position information, includes:
[0037] Responding to the barrage confirmation operation acting on the barrage confirmation control, and sending the scene position information and the barrage content to the host side so that the host side displays the barrage content in the running game program according to the scene position information.
[0038] In an exemplary embodiment of the present invention,
[0039] The barrage input area further includes a barrage cancellation control,
[0040] The method further includes:
[0041] Responding to the barrage cancellation operation acting on the barrage cancellation control, and canceling the display of the barrage display identifier and the barrage input area in the live broadcast interface.
[0042] In an exemplary embodiment of the present invention,
[0043] Sending the scene position information and the barrage content to the host side so that the host side displays the barrage content in the running game program according to the scene position information, includes:
[0044] Send the scene location information and the bullet screen content to the host side, so that the host side can display the bullet screen content and the bullet screen reminder identifier in the running game program according to the scene location information.
[0045] According to the second aspect of the embodiments of the present invention, there is provided a bullet screen processing device, which is applied to the viewer side. The viewer side provides a live broadcast interface, and the live broadcast interface displays a game screen, including:
[0046] An area determination module, configured to determine a target game map area included in the current game screen displayed on the live broadcast interface;
[0047] A position acquisition module, configured to respond to a bullet screen trigger operation on the current live broadcast interface and acquire the operation position information of the bullet screen trigger operation;
[0048] A position mapping module, configured to determine the scene location information in the target game map area according to the operation position information;
[0049] A bullet screen acquisition module, configured to respond to a bullet screen input operation and acquire the bullet screen content corresponding to the bullet screen input operation;
[0050] A bullet screen display module, configured to send the scene location information and the bullet screen content to the host side, so that the host side can display the bullet screen content in the running game program according to the scene location information.
[0051] According to the third aspect of the embodiments of the present invention, there is provided an electronic device, including: a processor and a memory; wherein, a computer-readable instruction is stored on the memory, and when the computer-readable instruction is executed by the processor, it implements the bullet screen processing method in any of the above exemplary embodiments.
[0052] According to the fourth aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the bullet screen processing method in any of the above exemplary embodiments.
[0053] It can be seen from the above technical solutions that the bullet screen processing method, bullet screen processing device, computer storage medium and electronic device in the exemplary embodiments of the present disclosure at least have the following advantages and positive effects:
[0054] In the method and apparatus provided by the exemplary embodiments of the present disclosure, the scene position information for displaying the barrage content in the target game map area is determined according to the barrage trigger operation in the live broadcast interface, establishing a strong correlation between the live broadcast barrage and the display position of the game map, enabling the display of the barrage content to have a strong coordinate indication in the game map, facilitating the host to promptly discover the barrage content and reply to the barrage while live broadcasting, enhancing the viewing experience of the barrage content, and also optimizing the barrage reading experience of the audience and the host. Moreover, the display method of the barrage can be obtained and viewed in real time without the need for content such as a host assistant, facilitating the host to grasp the positions where heated discussions occur among the audience.
[0055] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure. Obviously, the accompanying drawings in the following description are only some embodiments of the present disclosure, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts.
[0057] Figure 1 Schematically showing a flowchart of a barrage processing method in an exemplary embodiment of the present disclosure;
[0058] Figure 2 Schematically showing a flowchart of a method for determining scene position information in an exemplary embodiment of the present disclosure;
[0059] Figure 3 Schematically showing a flowchart of a method for performing map partitioning processing on a game map in an exemplary embodiment of the present disclosure;
[0060] Figure 4 Schematically showing a flowchart of a method for further determining scene position information in an exemplary embodiment of the present disclosure;
[0061] Figure 5 Schematically showing a flowchart of a method for obtaining barrage content in an exemplary embodiment of the present disclosure;
[0062] Figure 6 Schematically showing an interface diagram of providing a barrage input area according to an operation position in an exemplary embodiment of the present disclosure;
[0063] Figure 7 Schematically showing an interface diagram of displaying barrage content and a barrage reminder identifier at an operation position in an exemplary embodiment of the present disclosure;
[0064] Figure 8 Schematically shows a structural diagram of a bullet screen processing device in an exemplary embodiment of the present disclosure;
[0065] Figure 9 Schematically shows an electronic device for implementing a bullet screen processing method in an exemplary embodiment of the present disclosure;
[0066] Figure 10 Schematically shows a computer-readable storage medium for implementing a bullet screen processing method in an exemplary embodiment of the present disclosure. Detailed implementation manners
[0067] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more complete and comprehensive, and will fully convey the concept of the example embodiments to those skilled in the art. The features, structures, or characteristics described may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of the embodiments of the present disclosure. However, those skilled in the art will recognize that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or may be implemented using other methods, components, devices, steps, etc. In other cases, well-known technical solutions are not shown or described in detail to avoid obscuring the various aspects of the present disclosure.
[0068] As used in this specification, the terms "a", "an", "the", and "said" are used to denote the presence of one or more elements / components / etc.; the terms "comprising" and "having" are used to mean an open inclusion and mean that in addition to the listed elements / components / etc., there may be additional elements / components / etc.; the terms "first" and "second", etc. are used only as labels and are not a limitation on the quantity of their objects.
[0069] In addition, the drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities.
[0070] In view of the problems existing in the related art, the present disclosure proposes a bullet screen processing method, which is applied to the viewer side. The viewer side provides a live broadcast interface, and the live broadcast interface displays a game screen. Figure 1 Shows a flowchart of the bullet screen processing method, as Figure 1 shown, the bullet screen processing method at least includes the following steps:
[0071] Step S110. Determine the target game map area included in the current game screen displayed on the live broadcast interface.
[0072] Step S120. In response to a bullet screen triggering operation on the current live broadcast interface, obtain the operation position information of the bullet screen triggering operation.
[0073] Step S130. Determine the scene position information in the target game map area according to the operation position information.
[0074] Step S140. In response to a bullet screen input operation, obtain the bullet screen content corresponding to the bullet screen input operation.
[0075] Step S150. Send the scene position information and the bullet screen content to the host side, so that the host side can display the bullet screen content in the running game program according to the scene position information.
[0076] In an exemplary embodiment of the present disclosure, the scene position information for displaying the bullet screen content in the target game map area is determined according to the bullet screen triggering operation in the live broadcast interface, establishing a strong correlation between the live bullet screen and the display position of the game map, so that the display of the bullet screen content has a strong coordinate indication in the game map, facilitating the host to timely discover the bullet screen content and reply to the bullet screen while live broadcasting, improving the viewing performance of the bullet screen content, and also optimizing the bullet screen reading experience of the audience and the host. Moreover, the display method of the bullet screen can be obtained and viewed in real time without the need for content such as a host assistant, facilitating the host to master the positions where heated discussions occur among the audience.
[0077] The following elaborates on each step of the bullet screen processing method in detail.
[0078] In step S110, determine the target game map area included in the current game screen displayed on the live broadcast interface.
[0079] In an exemplary embodiment of the present disclosure, the current game screen displayed in the live broadcast interface can display a partial or entire game map of the host's game. Therefore, the target game map area can be a partial area or the entire area of the game map of the host's current game.
[0080] For example, in a MOBA game, the range presentation of the game screen on the viewer side is determined by the position of the virtual camera in the game map where the host side is located.
[0081] When the position of the virtual camera approaches the game map, the presentation range of the game screen becomes smaller; when the position of the virtual camera moves away from the game map, the presentation range of the game screen becomes larger. Therefore, the presentation of the game screen in this MOBA game is usually a partial area of the game map.
[0082] In step S120, in response to a barrage trigger operation applied to the current live broadcast interface, the operation position information of the barrage trigger operation is obtained.
[0083] In an exemplary embodiment of the present disclosure, when a viewer wants to send a barrage for a certain position in a target game map area during the host's live broadcast, a barrage trigger operation can be applied within the current live broadcast interface.
[0084] Among them, the barrage trigger operation can be a click operation, a long - press operation, a swipe operation, etc., and this exemplary embodiment does not make special limitations on this.
[0085] When receiving the barrage trigger operation applied by the host to the current live broadcast interface, the operation position information of this barrage trigger operation can be obtained in the live broadcast interface.
[0086] Moreover, in order to mark the operation position represented by this operation position information, a barrage display identifier can also be displayed in the live broadcast interface.
[0087] In an alternative embodiment, the barrage display identifier is displayed according to the operation position information to mark the operation position of the barrage trigger operation in the live broadcast interface.
[0088] This barrage display identifier can be in the shape of a pointer icon, or can be a flashing reminder identifier, or can be other identifiers that can prominently remind the viewer of the current operation position determined according to the barrage trigger operation. This exemplary embodiment does not make special limitations on this.
[0089] In step S130, the scene position information in the target game map area is determined according to the operation position information.
[0090] In an exemplary embodiment of the present disclosure, after determining the operation position information in the live broadcast interface, the scene position information of this operation position information in the target game map area can also be determined.
[0091] In an alternative embodiment, Figure 2 shows a flow schematic diagram of a method for determining the scene position information, as Figure 2 shown, this method at least includes the following steps: In step S210, the game map to which the target game map area belongs is determined, and the game map is subjected to map partitioning processing to obtain a plurality of coordinate axes.
[0092] The game map can be any map in a MOBA game participated by the host, or can be the map of other games live - broadcasted by the host. This exemplary embodiment does not make special limitations on the games related to the game map.
[0093] After obtaining the game map, the game map can be further subjected to map partitioning processing.
[0094] In an alternative embodiment, Figure 3 A flowchart showing a method for partitioning a game map is illustrated, as Figure 3 shown. The method at least includes the following steps: In step S310, obtain the size information of the game map, and perform map partitioning on the game map according to the size information to obtain a plurality of map sub-regions.
[0095] The size information of the game map can be determined by dividing the terminal device of the viewer end according to the resolution. For example, it can be 1500*1000, or it can be other sizes. This exemplary embodiment does not make special limitations on this.
[0096] Furthermore, determine the center point of the game map according to the size information of the game map. Then, use the center point of the game map as the origin. Subsequently, use the horizontal line passing through the origin as the X-axis, and use the vertical line passing through the origin as the Y-axis to generate a coordinate axis that divides the game map into four quadrants. The areas where the four quadrants divided by the coordinate axis are located can be four map sub-regions.
[0097] In step S320, continue to perform map partitioning on the plurality of map sub-regions to obtain a plurality of coordinate axes on the game map.
[0098] After determining the four map sub-regions on the game map, one of the map sub-regions can be used as the target region.
[0099] Furthermore, determine the center point of the target region according to the size information of the target region. Then, use the center point of the target region as the origin. Subsequently, use the horizontal line passing through the origin as the X-axis, and use the vertical line passing through the origin as the Y-axis to generate a coordinate axis that divides the target region into four quadrants.
[0100] Similarly, the other three sub-regions among the four map sub-regions can also be respectively determined as target regions, and the corresponding target regions are divided into corresponding coordinate axes to obtain four coordinate axes. These four coordinate axes are the plurality of coordinate axes in the game map.
[0101] Moreover, the coordinate points on the plurality of coordinate axes can form a grid pattern. The size of the grid pattern can be 5*5, or it can be other sizes. This exemplary embodiment does not make special limitations on this.
[0102] It should be noted that when the actual situation requires being able to very precisely determine the display position of the barrage, the four coordinate axes can be further subjected to map partitioning to obtain more coordinate axes to support the actual needs.
[0103] In this exemplary embodiment, map zoning processing is performed on the game area, providing data support for determining the position corresponding to the operation position information in the target game map area, and ensuring the accuracy of the position where the barrage is displayed. By means of the unified zoning method for the game map, it supports the audience to generate and send barrages at any coordinate point on the game map. Moreover, the unified zoning method does not have the problem of position conversion caused by the transmission of barrages between different terminals.
[0104] It is worth noting that Figure 3 The map zoning processing of the game map shown can also be implemented by the live server, or by the game server, or by any terminal. This exemplary embodiment does not make special limitations on this.
[0105] In step S220, among multiple coordinate axes, the scene position information in the target game map area is determined according to the operation position information.
[0106] In an alternative embodiment, Figure 4 The flowchart showing the method for further determining the scene position information is as follows. As Figure 4 shown, the method at least includes the following steps: In step S410, the coordinate range of the target game map area in multiple coordinate axes is determined by using the game interface, and the mapping relationship between the operation position information and the scene position information is obtained.
[0107] The game interface is provided by the game server. The game interface can provide contents such as the area of the currently displayed target game map area and which map sub-area of the game map the target game map area belongs to. Therefore, the coordinate range where the target map area is located can be determined in multiple coordinate axes by using this game interface.
[0108] In addition, when a terminal such as the host's mobile phone runs the game program, the mapping relationship between the coordinates in the game screen on the host side and the coordinates of the live broadcast interface can also be obtained, that is, the mapping relationship between the operation position information and the scene position information.
[0109] In step S420, within the coordinate range, the scene position information corresponding to the operation position information is determined according to the mapping relationship.
[0110] After determining the coordinate range corresponding to the target game map area, within this coordinate range, the scene position information corresponding to the operation position information can be determined according to the mapping relationship.
[0111] In this exemplary embodiment, the scene position information corresponding to the operation position information can be determined through multiple coordinate axes, achieving the effect of mapping the coordinates in the live broadcast interface to the game map. At the same time, the coordinate range in the mapping process is reduced, the computing cost and time cost are lowered, and a basis is provided for displaying the bullet screen content.
[0112] In step S140, in response to the bullet screen input operation, the bullet screen content corresponding to the bullet screen input operation is obtained.
[0113] In an exemplary embodiment of the present disclosure, after determining the scene position information corresponding to the operation position information, the bullet screen content input by the viewer end can be obtained.
[0114] In an alternative embodiment, Figure 5 A flowchart showing the method for obtaining the bullet screen content is shown, as Figure 5 shown. The method at least includes the following steps: In step S510, a bullet screen input area including a bullet screen input control is provided in the live broadcast interface according to the operation position information.
[0115] Different from the situation in the related art where the bullet screen input area is displayed below or on the right side of the live broadcast interface, this embodiment can provide the bullet screen input area at the position corresponding to the operation position information.
[0116] Figure 6 An interface diagram showing the bullet screen input area provided according to the operation position is shown, as Figure 6 shown. The bullet screen input area includes a bullet screen input control in the style of "Add a comment".
[0117] In step S520, in response to the bullet screen input operation acting on the bullet screen input control, the bullet screen content is displayed within the bullet screen input control.
[0118] After providing the bullet screen input control in the bullet screen input area, the viewer can type the bullet screen content they want to express in the bullet screen input control and it will be displayed within the bullet screen input control to achieve the preview effect of the bullet screen by the viewer.
[0119] In step S150, the scene position information and the bullet screen content are sent to the host end so that the host end can display the bullet screen content in the running game program according to the scene position information.
[0120] In an exemplary embodiment of the present disclosure, since the bullet screen input area may further include a bullet screen confirmation control in addition to the bullet screen input control. Therefore, the scene position information and the bullet screen content can be sent to the host end corresponding to the viewer end through the bullet screen confirmation control to display the bullet screen content at the scene position information of the running program of the host end.
[0121] In an alternative embodiment, in response to a bullet comment confirmation operation on a bullet comment confirmation control, scene position information and bullet comment content are sent to the host side, so that the host side can display the bullet comment content in the running game program according to the scene position information.
[0122] The bullet comment confirmation control is used for the audience to review and confirm the input bullet comment content after inputting the bullet comment content in the bullet comment input area.
[0123] Among them, the bullet comment confirmation operation can be a click operation, a long press operation, a swipe operation, etc., and this exemplary embodiment does not make special limitations on this.
[0124] Moreover, in addition to displaying the bullet comment content corresponding to the bullet comment trigger operation at the operation position, a bullet comment reminder identifier can also be displayed.
[0125] In an alternative embodiment, the scene position information and the bullet comment content are sent to the host side, so that the host side can display the bullet comment content and the bullet comment reminder identifier in the running game program according to the scene position information.
[0126] The bullet comment reminder identifier is used to indicate the position where the content of the bullet comment is located.
[0127] Moreover, the bullet comment reminder identifier can be the bullet comment display identifier, a deformation of the bullet comment display identifier, or other identifiers unrelated to the bullet comment display identifier.
[0128] Figure 7 The interface schematic diagram showing the display of the bullet comment content and the bullet comment reminder identifier at the operation position is as Figure 7 shown, and the bullet comment reminder identifier is obtained by deforming the Figure 6 bullet comment display identifier therein.
[0129] Moreover, the bullet comment content is "Will this red one kill the host?" Correspondingly, the bullet comment reminder identifier points to the position of the virtual character in the bullet comment content that may harm the host.
[0130] Therefore, the game server side obtains the bullet comment interface of the live broadcast server side, and determines the scene position information of the corresponding display position in the game according to the multiple coordinate axes divided by the live broadcast server for the game map, so as to display the bullet comment content at the host side according to the scene position information. Therefore, the display of the bullet comment content can facilitate the host to directly view at which position in the game map the audience has a heated discussion during the game play.
[0131] In this exemplary embodiment, a bullet comment input area can be provided on the game map according to the operation position information to assist the audience in completing the input and display of the bullet comment.
[0132] In the related art, fixedly displaying a barrage control on the live broadcast interface for a long time for the audience to input, or the need for the audience to pull down the live broadcast interface or click on the live broadcast interface to display the fixed barrage control, will cause a poor experience for the audience due to the display of the barrage control and the relatively complex display process.
[0133] And strongly associating the provided position of the barrage input area with the operation position solves the problem of the reduction of the live broadcast interface caused by the fixed barrage control and the problem of the deterioration of the audience experience. It is also convenient for the audience to perform a secondary preview and determination of the operation position through the barrage input area, enabling the audience to further deepen the association between the input barrage and the scene position of the game from the visual sense, being more friendly to the audience experience, and also facilitating the more accurate display of the corresponding barrage content to the anchor.
[0134] In addition to displaying the barrage corresponding to the barrage trigger operation at the operation position, a barrage reminder identifier can also be displayed.
[0135] In addition to this, in addition to providing a barrage input control and a barrage confirmation control, the barrage input area can also provide a barrage cancellation control to meet the needs of the audience to cancel the input of the barrage.
[0136] In an optional embodiment, the barrage input area further includes a barrage cancellation control.
[0137] In response to a barrage cancellation operation acting on the barrage cancellation control, the barrage display identifier and the barrage input area are cancelled from display in the live broadcast interface.
[0138] Continue to refer to Figure 6 As shown in the schematic diagram of the interface of the barrage input area, the barrage input area can also include a barrage cancellation control with the word "Cancel".
[0139] When the operation position determined by the audience according to the barrage trigger operation is incorrect, or due to the intense battle situation in the game live broadcast, the barrage that the audience wants to express has passed the "expression deadline", the audience does not need to input the barrage content. Therefore, through the barrage cancellation operation acting on the barrage cancellation control, the barrage display identifier and the barrage input area displayed according to the operation position in the live broadcast interface can be cancelled.
[0140] Among them, the barrage cancellation operation can be a click operation, a long press operation, or a swipe operation, etc., and this exemplary embodiment does not make special limitations on this.
[0141] In the bullet screen processing method in the exemplary embodiments of the present disclosure, the scene position information for displaying the bullet screen content in the target game map area is determined according to the bullet screen trigger operation in the live broadcast interface, establishing a strong correlation between the live broadcast bullet screen and the display position of the game map, enabling the display of the bullet screen content to have a strong coordinate indication in the game map, facilitating the host to timely discover the bullet screen content and reply to the bullet screen while live broadcasting, enhancing the viewing pleasure of the bullet screen content, and also optimizing the bullet screen reading experience of the audience and the host. Moreover, the display method of the bullet screen can be obtained and viewed in real time without the need for content such as a host assistant, facilitating the host to master the positions where heated discussions occur among the audience.
[0142] In addition, in the exemplary embodiments of the present disclosure, a bullet screen processing device is further provided, which is applied to the audience side. The audience side provides a live broadcast interface, and the live broadcast interface displays game pictures. Figure 8 The structural schematic diagram of the bullet screen processing device is shown, as Figure 8 shown, the bullet screen processing device 800 may include: an area determination module 810, a position acquisition module 820, a position mapping module 830, a bullet screen acquisition module 840, and a bullet screen display module 850. Among them:
[0143] The area determination module 810 is configured to determine the target game map area included in the current game picture displayed on the live broadcast interface;
[0144] The position acquisition module 820 is configured to respond to the bullet screen trigger operation acting on the current live broadcast interface and acquire the operation position information of the bullet screen trigger operation;
[0145] The position mapping module 830 is configured to determine the scene position information in the target game map area according to the operation position information;
[0146] The bullet screen acquisition module 840 is configured to respond to the bullet screen input operation and acquire the bullet screen content corresponding to the bullet screen input operation;
[0147] The bullet screen display module 850 is configured to send the scene position information and the bullet screen content to the host side, so that the host side displays the bullet screen content in the running game program according to the scene position information.
[0148] In an exemplary embodiment of the present invention,
[0149] The determining the scene position information in the target game map area according to the operation position information includes:
[0150] Determining the game map to which the target game map area belongs, and performing map partitioning processing on the game map to obtain a plurality of coordinate axes;
[0151] Among the multiple coordinate axes, determine the scene position information in the target game map area according to the operation position information.
[0152] In an exemplary embodiment of the present invention,
[0153] The map partitioning process for the game map to obtain multiple coordinate axes includes:
[0154] Obtain the size information of the game map, and perform map partitioning on the game map according to the size information to obtain multiple map sub-regions;
[0155] Continue to perform map partitioning on the multiple map sub-regions to obtain multiple coordinate axes on the game map.
[0156] In an exemplary embodiment of the present invention,
[0157] The step of determining the scene position information in the target game map area among the multiple coordinate axes according to the operation position information includes:
[0158] Use the game interface to determine the coordinate range of the target game map area among the multiple coordinate axes, and obtain the mapping relationship between the operation position information and the scene position information;
[0159] Within the coordinate range, determine the scene position information corresponding to the operation position information according to the mapping relationship.
[0160] In an exemplary embodiment of the present invention,
[0161] After obtaining the operation position information of the bullet screen trigger operation, the method further includes:
[0162] Display a bullet screen display identifier according to the operation position information to mark the operation position of the bullet screen trigger operation in the live broadcast interface.
[0163] In an exemplary embodiment of the present invention,
[0164] The step of responding to the bullet screen input operation and obtaining the bullet screen content corresponding to the bullet screen input operation includes:
[0165] Provide a bullet screen input area in the live broadcast interface according to the operation position information, and the bullet screen input area includes a bullet screen input control;
[0166] Respond to the bullet screen input operation acting on the bullet screen input control, and display the bullet screen content within the bullet screen input control.
[0167] In an exemplary embodiment of the present invention,
[0168] The bullet screen input area further includes a bullet screen confirmation control.
[0169] Sending the scene location information and the bullet screen content to the host side, so that the host side displays the bullet screen content in the running game program according to the scene location information, includes:
[0170] Responding to a bullet screen confirmation operation on the bullet screen confirmation control, and sending the scene location information and the bullet screen content to the host side, so that the host side displays the bullet screen content in the running game program according to the scene location information.
[0171] In an exemplary embodiment of the present invention,
[0172] The bullet screen input area further includes a bullet screen cancellation control.
[0173] The method further includes:
[0174] Responding to a bullet screen cancellation operation on the bullet screen cancellation control, and canceling the display of the bullet screen display identifier and the bullet screen input area in the live broadcast interface.
[0175] In an exemplary embodiment of the present invention,
[0176] Sending the scene location information and the bullet screen content to the host side, so that the host side displays the bullet screen content in the running game program according to the scene location information, includes:
[0177] Sending the scene location information and the bullet screen content to the host side, so that the host side displays the bullet screen content and a bullet screen reminder identifier in the running game program according to the scene location information.
[0178] The specific details of the above bullet screen processing device 800 have been described in detail in the corresponding bullet screen processing method, and thus will not be elaborated here.
[0179] It should be noted that although several modules or units of the bullet screen processing device 800 are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of the two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0180] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
[0181] Next, refer to Figure 9Describe the electronic device 900 according to this embodiment of the present invention. Figure 9 The displayed electronic device 900 is merely an example and should not impose any limitations on the functions and usage scope of the embodiments of the present invention.
[0182] As Figure 9 shown, the electronic device 900 is presented in the form of a general-purpose computing device. The components of the electronic device 900 may include, but are not limited to: at least one of the above-mentioned processing units 910, at least one of the above-mentioned storage units 920, a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910), and a display unit 940.
[0183] Among them, the storage unit stores program code, and the program code can be executed by the processing unit 910, so that the processing unit 910 executes the steps according to various exemplary embodiments of the present invention described in the "Exemplary Method" section of the present specification above.
[0184] The storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 921 and / or a cache storage unit 922, and may further include a read-only storage unit (ROM) 923.
[0185] The storage unit 920 may further include a program / utility 924 having a set (at least one) of program modules 925. Such program modules 925 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include the implementation of a network environment.
[0186] The bus 930 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any bus structure in a variety of bus structures.
[0187] The electronic device 900 can also communicate with one or more external devices 1100 (such as a keyboard, a pointing device, a Bluetooth device, etc.), and can also communicate with one or more devices that enable a user to interact with the electronic device 900, and / or communicate with any device that enables the electronic device 900 to communicate with one or more other computing devices (such as a router, a modem, etc.). Such communication can be carried out through the input / output (I / O) interface 950. Moreover, the electronic device 900 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the network adapter 960. As shown in the figure, the network adapter 960 communicates with other modules of the electronic device 900 through the bus 930. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in combination with the electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0188] Through the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein can be implemented by software, or can be implemented by the way of software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, and the software product can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
[0189] In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium, on which there is a program product capable of implementing the above method of this specification. In some possible embodiments, various aspects of the present invention can also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of this specification.
[0190] Reference Figure 10 As shown, a program product 1000 for implementing the above method according to an embodiment of the present invention is described. It can adopt a portable compact disc read-only memory (CD-ROM) and include program code, and can run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited to this. In this document, the readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, device, or device.
[0191] The program product may employ any combination of one or more readable media. The readable media can be a readable signal medium or a readable storage medium. A 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 foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0192] A computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which the readable program code is carried. Such a propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The readable signal medium can also be any readable medium other than a readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
[0193] The program code contained on the readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, and the like, or any suitable combination of the foregoing.
[0194] The program code for performing the operations of the present invention can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computing device, partially on the user's device, executed as a stand-alone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0195] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the claims.
Claims
1. A bullet screen processing method, characterized in that, Applied to the viewer side, the viewer side provides a live broadcast interface, and the live broadcast interface displays game screens. The method includes: Determine the target game map area included in the current game screen displayed on the live broadcast interface; In response to a bullet screen trigger operation on the current live broadcast interface, obtain the operation position information of the bullet screen trigger operation; Determine the scene position information in the target game map area according to the operation position information; In response to a bullet screen input operation, obtain the bullet screen content corresponding to the bullet screen input operation; Send the scene position information and the bullet screen content to the host side, so that the host side can display the bullet screen content in the running game program according to the scene position information; Wherein, when the host side runs the game program, the mapping relationship between the coordinates in the game screen and the coordinates of the live broadcast interface is obtained through a game interface, so as to obtain the mapping relationship between the operation position information and the scene position information.
2. The bullet screen processing method according to claim 1, wherein The determining the scene position information in the target game map area according to the operation position information includes: Determine the game map to which the target game map area belongs, and perform map partitioning processing on the game map to obtain multiple coordinate axes; In the multiple coordinate axes, determine the scene position information in the target game map area according to the operation position information.
3. The bullet screen processing method according to claim 2, wherein The performing map partitioning processing on the game map to obtain multiple coordinate axes includes: Obtain the size information of the game map, and perform map partitioning processing on the game map according to the size information to obtain multiple map sub-areas; Continue to perform map partitioning processing on the multiple map sub-areas to obtain multiple coordinate axes on the game map.
4. The bullet screen processing method according to claim 2, wherein The determining the scene position information in the target game map area according to the operation position information in the multiple coordinate axes includes: Use the game interface to determine the coordinate range of the target game map area in the multiple coordinate axes, and obtain the mapping relationship between the operation position information and the scene position information; In the coordinate range, determine the scene position information corresponding to the operation position information according to the mapping relationship.
5. The bullet screen processing method according to claim 1, wherein After obtaining the operation position information of the bullet screen trigger operation, the method further includes: Display a bullet screen display identifier according to the operation position information to mark the operation position of the bullet screen trigger operation in the live broadcast interface.
6. The bullet screen processing method according to claim 5, wherein The responding to the bullet screen input operation and obtaining the bullet screen content corresponding to the bullet screen input operation includes: Provide a bullet screen input area in the live broadcast interface according to the operation position information, and the bullet screen input area includes a bullet screen input control; In response to a bullet screen input operation on the bullet screen input control, display the bullet screen content in the bullet screen input control.
7. The bullet screen processing method according to claim 6, characterized in that, The bullet screen input area further includes a bullet screen confirmation control, The sending the scene position information and the bullet screen content to the host side, so that the host side can display the bullet screen content in the running game program according to the scene position information, includes: In response to a bullet comment confirmation operation on the bullet comment confirmation control, send the scene position information and the bullet comment content to the host side, so that the host side displays the bullet comment content in the running game program according to the scene position information.
8. The bullet screen processing method according to claim 7, characterized in that, The bullet comment input area further includes a bullet comment cancellation control. The method further includes: In response to a bullet comment cancellation operation on the bullet comment cancellation control, cancel the display of the bullet comment display identifier and the bullet comment input area in the live broadcast interface.
9. The bullet screen processing method according to claim 1, wherein The step of sending the scene position information and the bullet comment content to the host side, so that the host side displays the bullet comment content in the running game program according to the scene position information, includes: Send the scene position information and the bullet comment content to the host side, so that the host side displays the bullet comment content and a bullet comment reminder identifier in the running game program according to the scene position information.
10. A bullet screen processing device, characterized in that, Applied to the viewer side, the viewer side provides a live broadcast interface, and the live broadcast interface displays a game screen, including: An area determination module, configured to determine a target game map area included in the current game screen displayed on the live broadcast interface; A position acquisition module, configured to respond to a bullet comment trigger operation on the current live broadcast interface and acquire the operation position information of the bullet comment trigger operation; A position mapping module, configured to determine the scene position information in the target game map area according to the operation position information; A bullet comment acquisition module, configured to respond to a bullet comment input operation and acquire the bullet comment content corresponding to the bullet comment input operation; A bullet comment display module, configured to send the scene position information and the bullet comment content to the host side, so that the host side displays the bullet comment content in the running game program according to the scene position information; wherein, when the host side runs the game program, it uses a game interface to obtain the mapping relationship between the coordinates in the game screen and the coordinates of the live broadcast interface, so as to obtain the mapping relationship between the operation position information and the scene position information.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the bullet comment processing method according to any one of claims 1-9.
12. An electronic device, characterized in that, Including: A processor; A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the bullet comment processing method according to any one of claims 1-9 by executing the executable instructions.
Citation Information
Patent Citations
Bullet screen sending method and device, storage medium and electronic equipment
CN107734373A
Video bullet screen display method and device, readable storage medium and computer equipment
CN113259742A
Method for providing user interface for sharing comment and mobile terminal using this method
KR1020110136308A