WO2022022196A1 - Bullet screen posting method, bullet screen displaying method and electronic device - Google Patents

Bullet screen posting method, bullet screen displaying method and electronic device Download PDF

Info

Publication number
WO2022022196A1
WO2022022196A1 PCT/CN2021/102848 CN2021102848W WO2022022196A1 WO 2022022196 A1 WO2022022196 A1 WO 2022022196A1 CN 2021102848 W CN2021102848 W CN 2021102848W WO 2022022196 A1 WO2022022196 A1 WO 2022022196A1
Authority
WO
WIPO (PCT)
Prior art keywords
bullet screen
display
bullet
relationship
screen
Prior art date
Application number
PCT/CN2021/102848
Other languages
French (fr)
Chinese (zh)
Inventor
刘仁鹏
Original Assignee
游艺星际(北京)科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 游艺星际(北京)科技有限公司 filed Critical 游艺星际(北京)科技有限公司
Publication of WO2022022196A1 publication Critical patent/WO2022022196A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4314Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Definitions

  • the present disclosure relates to the field of network technologies, and in particular, to a method for publishing and displaying a bullet screen and an electronic device.
  • the current Internet content consumption platform usually provides corresponding bullet screen functions when displaying works, such as displaying bullet screen on the playback interface of movies, TV dramas and other works, and audience users can express their opinions through the bullet screen.
  • the present disclosure provides a barrage publishing and displaying method and electronic device.
  • the technical solutions of the present disclosure are as follows:
  • a method for displaying a bullet screen including: acquiring a first bullet screen and a second bullet screen of a target work, the second bullet screen being associated with the first bullet screen; The second bullet screen and the first bullet screen are displayed in association in the bullet screen display interface of the target work.
  • the associating displaying the second bullet screen and the first bullet screen includes: displaying the second bullet screen at a preset relative position of the first bullet screen.
  • displaying the second bullet screen at a preset relative position of the first bullet screen includes: displaying the second bullet screen at a static relative position of the first bullet screen or dynamic relative position.
  • the associatively displaying the second bullet screen and the first bullet screen includes: displaying the second bullet screen according to a target display attribute, and the target display attribute is related to the first bullet screen.
  • the display properties of the screen are the same.
  • the display attribute includes at least one of the following: a bullet screen color, a bullet screen moving speed, and a bullet screen font format.
  • the associating display of the second bullet screen and the first bullet screen includes: displaying, in a display area of the second bullet screen, an associated identifier related to the first bullet screen or associated keywords.
  • the first bullet screen includes: a first bullet screen associated with a third bullet screen or a first bullet screen not associated with the third bullet screen, and the third bullet screen is different from The second barrage.
  • the associating display of the second bullet screen and the first bullet screen includes: in response to the bullet screen screening function being turned on, displaying only the bullet screen that is not associated with the third bullet screen The first bullet screen; in response to the bullet screen screening function not being turned on, all the first bullet screen and the corresponding second bullet screen are displayed in association.
  • the associating display of the second bullet screen and the first bullet screen includes: determining the second bullet screen based on the display relationship and the first display position of the first bullet screen.
  • the second display position, the display relationship is the relationship between two barrages with an associated relationship when they are displayed; in response to the second display position being outside the barrage display interface, adjust the display relationship or the at least one of the first display positions, so that the second display position is located in the bullet screen display interface; on the adjusted second display position and the first display position, respectively, display the second bullet screen screen and the first barrage.
  • the associatively displaying the second bullet screen and the first bullet screen includes: in response to the bullet screen simplifying function being turned on, associating the display of the bullet screen keywords of the second bullet screen with all the bullet screen keywords. Describe the bullet screen keywords of the first bullet screen; in response to the bullet screen simplifying function not being enabled, the first bullet screen and the second bullet screen are displayed in association.
  • the method further includes: in response to a triggering operation for any bullet screen, switching between displaying the bullet screen keywords of the bullet screen and displaying the bullet screen.
  • the method further includes: in response to the number of the second bullet screens being multiple, obtaining a similarity between multiple second bullet screens; for at least two second bullet screens whose similarity is greater than a threshold The scenes are merged.
  • the setting manner of the display relationship includes at least one of the following: set by the publisher of the target work, set by the publisher of the first bullet screen, set by the second bullet screen
  • the publisher setting of the barrage is set according to the system default parameters.
  • a method for releasing a bullet screen including: determining a second bullet screen, the second bullet screen being provided for a first bullet screen of a target work; publishing the second bullet screen, The second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen.
  • the first bullet screen includes: a first bullet screen associated with a third bullet screen or a first bullet screen not associated with the third bullet screen, and the third bullet screen is different from The second barrage.
  • the method further includes: setting a display relationship according to a setting instruction, and the display relationship is a relationship between two barrage screens having an associated relationship when they are displayed;
  • the publishing the second bullet screen includes: associating the display relationship with the second bullet screen and publishing.
  • the determining the display relationship includes: acquiring a relative position relationship set for the second bullet screen relative to the first bullet screen; and determining the relative position relationship as the display relationship. .
  • the determining the display relationship includes: setting a display attribute relationship, the display attribute relationship is that the display attributes of the second bullet screen and the first bullet screen are the same; determining the display attribute relationship for the display relationship.
  • the determining the display relationship includes: acquiring the set identification reference relationship of the second bullet screen relative to the first bullet screen; and determining the identification reference relationship as the display relationship.
  • the method further includes: determining a second display position of the second bullet screen based on the display relationship and the first display position of the first bullet screen; in response to the second display position being located at the In addition to the bullet screen display interface, prompt to adjust the display relationship or automatically adjust the display relationship, so that the second display position is adjusted to the bullet screen display interface.
  • the method further includes: after determining the second bullet screen, providing the user account with preview content about the display effect associated with the second bullet screen and the first bullet screen.
  • a barrage display device including:
  • a bullet screen acquisition module configured to acquire the first bullet screen of the target work and the second bullet screen associated with the first bullet screen
  • an associated display module configured to display the second bullet screen and the first bullet screen in an associated manner in the bullet screen display interface of the target work, so that the second bullet screen and the first bullet screen are different from each other. satisfy a predefined display relationship.
  • a bullet screen publishing device including:
  • the bullet screen determination module is configured to determine the second bullet screen provided by the user account for the first bullet screen of the target work
  • the bullet screen publishing module is configured to publish the second bullet screen, and the second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen, so that the first bullet screen can be displayed in the bullet screen display interface of the target work.
  • a predefined display relationship is satisfied between the second bullet screen and the first bullet screen.
  • an electronic device including:
  • a memory for storing the processor-executable instructions
  • the processor is configured to execute the instruction, so as to realize the following steps: obtain a first bullet screen and a second bullet screen of the target work, the second bullet screen is associated with the first bullet screen; The second bullet screen and the first bullet screen are displayed in association in the bullet screen display interface of the target work.
  • a storage medium is provided, which is executed by a processor of an electronic device in response to an instruction in the storage medium, so that the electronic device can perform the following steps: determine a second bullet screen, the first The second bullet screen is provided for the first bullet screen of the target work; the second bullet screen is released, and the second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen.
  • an electronic device including:
  • a memory for storing the processor-executable instructions
  • the processor is configured to execute the instruction to realize the following steps: determine a second bullet screen, the second bullet screen is provided for the first bullet screen of the target work; publish the second bullet screen, the The second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen.
  • a storage medium is provided, which is executed by a processor of an electronic device in response to an instruction in the storage medium, so that the electronic device can perform the following steps: determine a second bullet screen, the first The second bullet screen is provided for the first bullet screen of the target work; the second bullet screen is released, and the second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen.
  • a computer program product comprising executable instructions, when the instructions in the computer program product are executed by a processor of an electronic device, the electronic device can perform the following steps: acquiring a target The first bullet screen and the second bullet screen of the work, the second bullet screen is associated with the first bullet screen; the second bullet screen and the first bullet screen are displayed in association in the bullet screen display interface of the target work. A popup.
  • a computer program product including executable instructions, when the instructions in the computer program product are executed by a processor of an electronic device, the electronic device can perform the following steps: determining the first The second bullet screen, the second bullet screen is provided for the first bullet screen of the target work; the second bullet screen is released, and the second bullet screen is used to be displayed in the target work in association with the first bullet screen in the barrage display interface.
  • the user account can publish the second bullet screen associated with the first bullet screen through comments or references, so that when any audience user watches the bullet screen of the target work, it can be displayed on the corresponding bullet screen.
  • the interface displays the first bullet screen and the second bullet screen in association for audience users.
  • the disclosed solution provides a new type of bullet screen interaction method: the user account publishes the second bullet screen associated with the existing first bullet screen, and accordingly, the bullet screen display device can interact with the bullet screen display interface in the bullet screen display interface.
  • the first bullet screen displays the second bullet screen in association, so as to realize comments and interactions between bullet screens, and it is also convenient for audience users to understand the semantic relationship between different bullet screens, which effectively improves the amount of information displayed on the interface and the display effect of the bullet screens. more intuitive and clear.
  • FIG. 1 is a flowchart of a method for publishing a bullet screen according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a method for displaying a bullet screen according to an embodiment of the present disclosure
  • FIG. 3 is an interactive flowchart of a method for publishing and displaying a bullet screen according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram illustrating a display effect of a user account setting a second bullet screen according to an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram of a user account setting a display position of a second bullet screen according to an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of a barrage screening function according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram illustrating a simplified function of a bullet screen according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of a bullet screen merging function according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of a barrage position adjustment process according to an embodiment of the present disclosure.
  • FIG. 10 is a structural diagram of an electronic device according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic block diagram of an apparatus for publishing a bullet screen according to an embodiment of the present disclosure
  • FIG. 12 is a structural diagram of an electronic device according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic block diagram of a bullet screen display device according to an embodiment of the present disclosure.
  • the current Internet content consumption platform usually provides corresponding bullet screen functions when displaying works, such as displaying bullet screen on the playback interface of movies, TV series, etc., so that audience users can express their views on the work through the bullet screen.
  • the release and display of the bullet screens in the related art are directly aimed at the works at the same time, and the different bullet screens are often independent of each other and the display effects are not related.
  • the present disclosure proposes a method for publishing a bullet screen and a method for displaying a bullet screen, which are used to realize the associated display between the bullet screens.
  • the present disclosure actually provides a new type of bullet screen interaction method: the user account publishes the second bullet screen associated with the existing first bullet screen.
  • the bullet screen display device can interact with the bullet screen display interface in the bullet screen display interface.
  • the first bullet screen displays the second bullet screen in association, so as to realize comments and interactions between bullet screens, and it is also convenient for audience users to understand the semantic relationship between different bullet screens, which effectively improves the amount of information displayed on the interface and the display effect of the bullet screens. more intuitive and clear.
  • the user account involved in the disclosed solution should be understood as the user corresponding to the user account.
  • FIG. 1 is a flowchart of a method for publishing a bullet screen according to an embodiment of the present disclosure; the method is applied to a client. As shown in Figure 1, taking the execution subject as an electronic device as an example, the method may include:
  • the electronic device determines a second bullet screen, where the second bullet screen is provided for the first bullet screen of the target work.
  • the second bullet screen is provided by the user account for the first bullet screen of the target work.
  • the user account may be an account logged in by the electronic device.
  • an association relationship can be established, that is, the second bullet screen is associated with the first bullet screen.
  • the first bullet screen selected by the user account may have various possibilities.
  • the first bullet screen may be the bullet screen associated with the third bullet screen, or That is, the first bullet screen associated with the third bullet screen, wherein the third bullet screen is different from the above-mentioned second bullet screen.
  • the first bullet screen may be a bullet screen generated by commenting on or citing the third bullet screen, and there is a chain relationship among the third bullet screen, the first bullet screen, and the second bullet screen.
  • the user account can generate a second bullet screen with an associated relationship for the first bullet screen that already has a comment or a reference relationship, thereby forming a multi-level bullet screen and further enhancing the relevance and interest of the bullet screen published by the user.
  • the first bullet screen may also be a bullet screen that is not associated with the third bullet screen, that is, the first bullet screen that is not associated with the third bullet screen.
  • the first barrage is only the original barrage for commenting on the target work.
  • the second bullet screen is the bullet screen provided for the first bullet screen.
  • the second bullet screen is the first bullet screen.
  • Comment information for another example, the second barrage is a barrage that references the first barrage.
  • the second bullet screen is a bullet screen that likes the first bullet screen.
  • the second barrage is the barrage that forwards the first barrage.
  • the embodiment of the present disclosure does not limit the association relationship. When the first bullet screen is associated with the third bullet screen, the association relationship is the same as the above, and will not be repeated here.
  • the user account can write the corresponding bullet screen content of the second bullet screen according to the bullet screen content of the first bullet screen, so as to generate a second bullet screen commenting on the first bullet screen; the user account can also Quoting the bullet chat content of the first bullet screen and adding the corresponding comment content, so as to generate the second bullet screen referring to the first bullet chat.
  • the user account can select the display status by clicking and other preset operations in the bullet screen display interface of the target work.
  • the first barrage of the state of course, the first barrage can also be selected by the user account in the barrage list corresponding to the target work.
  • the publisher of the above-mentioned first bullet screen may be the above-mentioned user account, or may be another account different from the above-mentioned user account.
  • the present disclosure does not limit the way of determining the first bullet screen and the relationship between it and the user account.
  • the electronic device publishes the second bullet screen, where the second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen.
  • a display relationship may be set for two bullet screens with an associated relationship, and during the associated display, the two bullet screens may be displayed in an associated manner according to the display relationship, or in other words, two bullet screens may be displayed in an associated relationship. screen, the above-mentioned related display, so that the two barrage meet the predefined display relationship.
  • the display relationship is a relationship between two barrages having an associated relationship when they are displayed.
  • the above-mentioned display relationship can be set according to a setting instruction, and then the above-mentioned display relationship and the second bullet screen are associated and released, so that the target work display device can display the above-mentioned display accurately and efficiently according to the above-mentioned association relationship.
  • the first bullet screen and the second bullet screen are convenient for audience users to watch and understand.
  • the setting instruction may come from a user account, that is, the user of the electronic device can trigger the setting instruction by performing a setting operation on the electronic device, and then set the above-mentioned display relationship according to the setting instruction.
  • the relative positional relationship set for the second barrage with respect to the first barrage can be obtained, and the The relative positional relationship is determined as a presentation relationship.
  • the relative positional relationship can be obtained by setting the user account, or can be set in advance by the relevant technical personnel according to the requirements, and the electronic device can be obtained directly from the configuration file, which is not limited in the embodiments of the present disclosure.
  • the display attributes of the second bullet screen and the first bullet screen it is also possible to set the display attributes of the second bullet screen and the first bullet screen to be the same, and determine the corresponding display attribute relationship as the displayed relationship, so as to ensure that the second bullet screen is the same as the first bullet screen.
  • the consistency of the display effect That is, a display attribute relationship may be set, and the display attribute relationship is that the display attributes of the second bullet screen and the first bullet screen are the same, and then the display attribute relationship is determined as the display relationship.
  • the display attribute relationship may be set by the user account, or may be set in advance by relevant technical personnel according to requirements, and the electronic device may be obtained directly from the configuration file, which is not limited in this embodiment of the present disclosure.
  • the set identification reference relationship of the second bullet screen relative to the first bullet screen can also be obtained, and the identification reference relationship can be determined as the display relationship, so as to facilitate the display of the first bullet screen by means of the bullet screen identification.
  • the relative position relationship may be set by a user account, or may be set in advance by a relevant technical person according to requirements, and the electronic device may be obtained directly from a configuration file, which is not limited in this embodiment of the present disclosure.
  • the second display position of the second bullet screen can be determined based on the above-mentioned display relationship and the first display position of the first bullet screen, and then in response to the second presentation If the position is outside the bullet screen display interface, it is prompted to adjust the above display relationship or automatically adjust the display relationship, so that the second display position is adjusted to the bullet screen display interface.
  • the prompting process may prompt the account of the publisher.
  • the account of the publisher is the user account logged in by the electronic device.
  • the second display position of the second bullet screen Before publishing the second bullet screen, pre-determine whether the second display position of the second bullet screen is located in the bullet screen display interface of the target work, and automatically or remind the user account to perform the operation when the second display position is outside the bullet screen display interface. Corresponding adjustment ensures that the actual display position of the second bullet screen is located in the bullet screen display interface, avoids the invalid release caused by the second bullet screen being unable to be displayed in the bullet screen display interface, and ensures the reliable display of the second bullet screen.
  • the display relationship indicates that the second bullet screen is displayed in the lower area of the first bullet screen, but when the second display position of the second bullet screen is determined, it is found outside the bullet screen display interface, the display relationship can be automatically displayed. Adjust so that the adjusted display relationship indicates that the second bullet screen is located in the upper area of the first bullet screen.
  • the determined second display position is located in the barrage display interface, and the above adjustment steps are not required.
  • preview content about the associated display effect of the second bullet screen and the first bullet screen may be provided.
  • the providing process can be provided to the user account, so that the user account can preview the associated display effect of the second bullet screen and the first bullet screen according to the preview content, so as to appropriately adjust the display effect or confirm the release, and further ensure the second bullet screen. display effect.
  • the providing step may be a displaying step. For example, after the second bullet screen is determined, preview content of the display effect associated with the second bullet screen and the first bullet screen may be displayed in the bullet screen display interface.
  • the user account can provide and publish the second bullet screen associated with the first bullet screen through comments or references, so as to be associated in the bullet screen display interface of any playback device corresponding to the target work Show the second bullet chat and the first bullet chat.
  • any user account can not only publish the second barrage about the barrage to realize comments or interactions between barrages; it can also ensure that the second barrage is displayed on any playback device. It is displayed in association with the first bullet screen, which makes it easier for viewers and users to understand the semantic relationship between the bullet screens, realizes a richer bullet screen release and display methods, makes the bullet screen display more intuitive and clear, and effectively improves the bullet screen display. display effect.
  • a method for displaying a bullet screen includes: acquiring a first bullet screen of a target work and a second bullet screen associated with the first bullet screen; In the bullet screen display interface of the work, the second bullet screen and the first bullet screen are displayed in association, so that a predefined display relationship is satisfied between the second bullet screen and the first bullet screen.
  • the associating display of the second bullet screen and the first bullet screen includes: in the case that the display relationship includes a relative positional relationship, in a preset relative position of the first bullet screen The second bullet screen is displayed at the location.
  • displaying the second bullet screen at a preset relative position of the first bullet screen includes: displaying the second bullet screen at a static relative position of the first bullet screen or dynamic relative position.
  • the associatively displaying the second bullet screen and the first bullet screen includes: in the case that the presentation relationship includes a presentation attribute relationship, performing the same presentation as the first bullet screen The attribute displays the second barrage.
  • the display attribute includes at least one of the following: a bullet screen color, a bullet screen moving speed, and a bullet screen font format.
  • the associating display of the second bullet screen and the first bullet screen includes: in the case that the display relationship includes an identification reference relationship, in a display area of the second bullet screen The associated identifier or associated keyword related to the first bullet screen is displayed.
  • the first bullet screen includes: a bullet screen associated with a third bullet screen, the third bullet screen is different from the second bullet screen; or, not associated with the first bullet screen Three barrages of barrage.
  • the associating display of the second bullet screen and the first bullet screen includes: in the case that the bullet screen screening function is enabled, only displaying all the bullet screens that are not associated with the third bullet screen.
  • the first barrage is described; if the barrage screening function is not enabled, all the first barrage and the corresponding second barrage are displayed.
  • the associating display of the second bullet screen and the first bullet screen includes: determining the second bullet screen according to the display relationship and a first display position of the first bullet screen the second display position; if the second display position is located outside the bullet chat display interface, adjust the display relationship and/or adjust the first display position so that the second display position is located in the In the barrage display interface; the second barrage and the first barrage are displayed in association according to the adjusted second display position.
  • the associatively displaying the second bullet screen and the first bullet screen includes: when the bullet screen simplification function is enabled, displaying the second bullet screen and/or in a thumbnail mode Or for the first bullet screen, only the bullet screen keywords are displayed in the abbreviated mode; in the case where the bullet screen simplified function is not enabled, the first bullet screen and the second bullet screen are displayed in the detailed mode. Display the entire content of the bullet screen in the detail mode; in the case of receiving a trigger operation for any bullet screen, switch the display mode of the any bullet screen between the abbreviated mode and the detailed mode.
  • the method further includes: in the case that there are multiple associated second barrages in the first barrage, calculating the similarity between the second barrages associated with the first barrage ; Combine the second bullet screens with a similarity greater than the preset threshold.
  • the setting manner of the display relationship includes at least one of the following: set by the publisher of the target work, set by the publisher of the first bullet screen, set by the second bullet screen
  • the publisher setting of the barrage is set according to the system default parameters.
  • FIG. 2 is a flowchart of a method for publishing a bullet screen according to an embodiment of the present disclosure; the method is applied to a client.
  • the method may include:
  • the electronic device acquires a first bullet screen and a second bullet screen of the target work, where the second bullet screen is associated with the first bullet screen.
  • the second barrage is associated with the first barrage, and this association can be embodied in that the second barrage is provided for the first barrage of the target work.
  • the second bullet screen may be provided by a user account for the first bullet screen, and the user account may be an account logged in by the electronic device.
  • the second bullet screen and the first bullet screen an association relationship can be established, that is, the second bullet screen is associated with the first bullet screen.
  • the second bullet screen is the bullet screen provided for the first bullet screen.
  • the second bullet screen is the first bullet screen.
  • Comment information for another example, the second barrage is a barrage that references the first barrage.
  • the second bullet screen is a bullet screen that likes the first bullet screen.
  • the second barrage is the barrage that forwards the first barrage.
  • the embodiment of the present disclosure does not limit the association relationship. When the first bullet screen is associated with the third bullet screen, the association relationship is the same as the above, and will not be repeated here.
  • the client when playing a target work, can display its corresponding bullet screen on the bullet screen display interface of the target work, wherein the bullet screen display interface can overlap with the playback interface of the target work, that is, in In the playback interface, the bullet screen is displayed above the screen corresponding to the target work, and it can also be displayed between some objects in the screen and the screen background, for example, the bullet screen is displayed in the playback interface of the target work in the form of video.
  • the bullet screen display interface can be separated from the playback interface of the target work, that is, the bullet screen is displayed separately outside the playback interface.
  • the playback interface only includes a simple playback body display, and the related bullet screens are displayed.
  • the screen is displayed in the bullet screen display interface independent of the playback interface.
  • the client when acquiring the above-mentioned target work from the server, can associate and acquire the bullet screen file including the first bullet screen and the second bullet screen; or after acquiring the above-mentioned target work from the server, according to
  • the corresponding work information such as the work name and work identification of the target work can obtain the bullet screen file containing the first bullet screen and the second bullet screen; it is also possible to determine the corresponding first bullet screen according to the display relationship after obtaining the first bullet screen and the display relationship.
  • Second barrage The present disclosure does not limit the specific manner in which the client obtains the first bullet screen and the second bullet screen.
  • the display relationship may be predefined, or may be set by the user account, which is not limited in this embodiment of the present disclosure.
  • the electronic device displays the second bullet screen and the first bullet screen in association on the bullet screen display interface of the target work.
  • a display relationship may be set for two bullet screens with an associated relationship, and during the associated display, the two bullet screens may be displayed in an associated manner according to the display relationship, or in other words, two bullet screens may be displayed in an associated relationship. screen, the above-mentioned related display, so that the two barrage meet the predefined display relationship.
  • the display relationship is a relationship between two barrages having an associated relationship when they are displayed.
  • the above-mentioned display relationship can be set in various ways.
  • the above-mentioned display relationship can be set by the publisher of the target work, so that the display mode of the second bullet screen is more in line with the publisher of the target work. Expectations for the type of work, style, playback effects, etc.
  • the above-mentioned display relationship can also be set by the publisher of the first bullet screen, so that the display effect of the second bullet screen is more matched with the display effect of the first bullet screen, so that it is convenient to reflect the relationship between the first bullet screen and the second bullet screen. connection relation.
  • the above-mentioned display relationship can also be set by the publisher of the second bullet screen, so that the display effect of the second bullet screen is more in line with the wishes of the publisher.
  • the above display relationship can also be set according to the system preset parameters.
  • the server or client automatically sets the display relationship between the first bullet screen and the second bullet screen according to the system preset parameters, which not only simplifies the bullet screen
  • the publishing operation of the publisher also ensures the efficient setting of the display relationship and the unification of the bullet screen display effect, which not only improves the bullet screen publishing efficiency but also reduces the learning cost of the bullet screen audience users on the bullet screen display relationship, which is helpful to Improve user experience.
  • the second bullet screen and the associated display manner of the second bullet screen may include various manners.
  • the second bullet screen may be displayed at a preset relative position of the first bullet screen.
  • the above-mentioned relative positional relationship includes a static relative positional relationship and a dynamic relative positional relationship.
  • the second bullet screen can be displayed at a static relative position or a dynamic relative position of the first bullet screen, for example, at the above-mentioned static relative position It can include directly above, directly below, upper left, lower right or other custom positions of the first bullet screen; the above dynamic relative position can include the surrounding of the first bullet screen, and the second bullet screen can surround the first bullet screen.
  • the barrage is displayed in continuous rotation or shortened and flashed.
  • the display position of the second bullet screen is determined according to the relative positional relationship with the first bullet screen, which not only ensures the determination speed of the display position of the second bullet screen, but also ensures the display position of the bullet screen displayed in the bullet screen display interface.
  • the location is in order.
  • the second bullet screen may be displayed according to the target display attribute, and the target display attribute is the same as the display attribute of the first bullet screen, so as to ensure that the display effect of the second bullet screen is the same as that of the first bullet screen.
  • the display effect of a barrage is the same to reflect the relationship between the two.
  • the above display attributes may include one or more of the bullet screen color, the bullet screen moving speed, the bullet screen font format, etc. Different display attributes are convenient to realize a variety of bullet screen display methods, and by setting the display of the second bullet screen The attributes are the same as those of the first bullet screen, which is convenient for highlighting the relationship between the second bullet screen and the first bullet screen during display.
  • the associated identifier or associated keyword related to the first bullet screen may be displayed in the display area of the second bullet screen. For example, add "[]" to the bullet chat content of the second bullet screen to identify the bullet screen keywords of the first bullet screen, or add a circular associated logo in the upper right corner of the second bullet screen, so as to make it clear Indicates the relationship between the second bullet screen and the first bullet screen.
  • the second bullet screen and the associated presentation manner of the second bullet screen are also different according to different presentation relationships.
  • the second bullet screen in response to the display relationship including the relative position relationship, the second bullet screen may be displayed at a preset relative position of the first bullet screen.
  • the above-mentioned relative positional relationship includes a static relative positional relationship and a dynamic relative positional relationship.
  • the second bullet screen can be displayed at a static relative position or a dynamic relative position of the first bullet screen, for example, at the above-mentioned static relative position It can include directly above, directly below, upper left, lower right or other custom positions of the first bullet screen; the above dynamic relative position can include the surrounding of the first bullet screen, and the second bullet screen can surround the first bullet screen.
  • the barrage is displayed in continuous rotation or shortened and flashed.
  • the display position of the second bullet screen is determined according to the relative positional relationship with the first bullet screen, which not only ensures the determination speed of the display position of the second bullet screen, but also ensures the display position of the bullet screen displayed in the bullet screen display interface. The location is in order.
  • the second bullet screen in response to the display relationship including the display attribute relationship, may be displayed according to the same display attribute as the first bullet screen, that is, the display attribute of the second bullet screen is set to be the same as the first attribute, In order to ensure that the display effect of the second bullet screen is consistent with the display effect of the first bullet screen.
  • the above display attributes may include one or more of the bullet screen color, the bullet screen moving speed, the bullet screen font format, etc. Different display attributes are convenient to realize a variety of bullet screen display methods, and by setting the display of the second bullet screen The attributes are the same as those of the first bullet screen, which is convenient for highlighting the relationship between the second bullet screen and the first bullet screen during display.
  • the associated identifier or associated keyword related to the first bullet screen may be displayed in the display area of the second bullet screen. For example, add "[]" to the bullet chat content of the second bullet screen to identify the bullet screen keywords of the first bullet screen, or add a circular associated logo in the upper right corner of the second bullet screen, so as to make it clear Indicates the relationship between the second bullet screen and the first bullet screen.
  • the first bullet screen selected by the user account may have various possibilities.
  • the first bullet screen may be the bullet screen associated with the third bullet screen, or That is, the first barrage associated with the third barrage.
  • the third barrage is different from the second barrage above.
  • the first bullet screen may be a bullet screen generated by commenting on or citing the third bullet screen, and there is a chain relationship among the third bullet screen, the first bullet screen, and the second bullet screen. It can be seen that the user account can generate a second bullet screen with an associated relationship for the first bullet screen that already has a comment or a reference relationship, thereby forming a multi-level bullet screen and further enhancing the relevance and interest of the bullet screen published by the user.
  • the first bullet screen may also be a bullet screen that is not associated with the third bullet screen, that is, the first bullet screen that is not associated with the third bullet screen.
  • the first barrage is only the original barrage for commenting on the target work.
  • a bullet screen screening function can be set when the bullet screen is displayed, and the bullet screen display range may be different when the bullet screen screening function is turned on and not turned on.
  • the bullet screen screening function is not turned on, and all the first barrage and the corresponding second barrage are displayed in association.
  • a bullet screen simplification function can be set when the bullet screen is displayed.
  • the bullet screen keywords of the second bullet screen and the bullet screen keywords of the first bullet screen are displayed in association; Barrage and second barrage.
  • switching between displaying the bullet screen keywords of the bullet screen and displaying the bullet screen can be performed.
  • the following two display modes are set for the barrage simplification function: abbreviated mode and detailed mode. Among them, only the bullet screen keywords are displayed in the abbreviated mode; the entire content of the bullet screen is displayed in the detailed mode. In response to the bullet screen simplification function being turned on, the second bullet screen and/or the first bullet screen are displayed in abbreviated mode, and in response to the bullet screen simplification function not being turned on, the first bullet screen and the second bullet screen are displayed in detail mode.
  • the presentation mode of the bullet screen in response to receiving a trigger operation for any bullet screen, can be switched between the above-mentioned abbreviated mode and detailed mode.
  • the bullet screen simplification function By providing the bullet screen simplification function, it is not only possible to display the entire content of the bullet screen by turning off the bullet screen simplification function when there are fewer bullet screens currently displayed in the bullet screen display interface, but also the currently displayed bullet screen in the bullet screen display interface is relatively small.
  • only the bullet screen keywords can be displayed by turning on the bullet screen simplification function, so as to minimize the occupation of the bullet screen display interface by non-keywords in the bullet screen, and further avoid the occlusion of the bullet screen content on the screen of the target work.
  • Both the above-mentioned bullet screen screening function and bullet screen simplification function can be automatically turned on or off according to the current number of bullet screens in the bullet screen display interface or the percentage of the current bullet screen display area in the bullet screen display interface, so that the current bullet screen display interface can be automatically turned on or off.
  • the display status of the bullet screen automatically adjusts the status of the bullet screen display, so as to achieve a better bullet screen display effect and ensure the viewing experience of the audience and users.
  • the above-mentioned bullet screen screening function and bullet screen simplification function can also be provided to the audience user (the audience user account corresponding to the client), so that the audience user can choose to open or relate the above functions according to the current bullet screen display situation, so as to realize personalized customization.
  • the function selection helps to improve the bullet screen viewing experience of audience users when there are currently many bullet screens.
  • the second display position of the second bullet screen may be determined based on the above-mentioned display relationship and the first display position of the first bullet screen; in response to the second display position being outside the bullet screen display interface, Then adjust at least one of the display relationship or the first display position, so that the second display position is located in the bullet chat display interface; then on the adjusted second display position and the first display position, respectively, display the The second barrage and the first barrage.
  • the similarity between the second bullet screens associated with the first bullet screen can be calculated; and The second bullet screens with a similarity greater than the preset threshold are merged. That is, in response to the number of the second bullet screens being multiple, the similarity between the plurality of second bullet screens is obtained; and at least two second bullet screens with the similarity greater than a threshold are merged.
  • the client corresponding to the user account of the audience can display the second bullet screen and the first bullet screen in association, so that the two maintain a predefined display relationship .
  • any user account can not only publish the second barrage about the barrage to realize comments or interactions between barrages; it can also ensure that the second barrage is displayed on any playback device. It is displayed in association with the first bullet screen, which makes it easier for viewers and users to understand the semantic relationship between bullet screens and realizes richer bullet screen publishing and display methods.
  • a method for publishing a bullet screen includes: determining a second bullet screen provided by a user account for a first bullet screen of a target work; publishing the second bullet screen, the second bullet screen The bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen, so that a predefined display relationship is satisfied between the second bullet screen and the first bullet screen.
  • the first bullet screen includes: a bullet screen associated with a third bullet screen, the third bullet screen is different from the second bullet screen; or, not associated with the first bullet screen Three barrages of barrage.
  • the method further includes: setting the display relationship according to a setting instruction from the user account; and publishing the display relationship in association with the second bullet screen.
  • determining the display relationship includes: acquiring a relative position relationship set by the user account for the second barrage relative to the first barrage, and determining the relative position relationship as the display relationship.
  • determining the display relationship includes: setting the display attribute of the second bullet screen and the first bullet screen to be the same, and determining a corresponding display attribute relationship as the display relationship.
  • determining the display relationship includes: acquiring an identification reference relationship relative to the first bullet screen set by the user account for the second bullet screen, and determining the identification reference relationship as the display relationship.
  • the method further includes: determining a second display position of the second bullet screen according to the display relationship and the first display position of the first bullet screen; In the case of outside the screen display interface, prompt the publisher account to adjust the display relationship or automatically adjust the display relationship, so that the second display position is adjusted to the screen display interface.
  • the method further includes: after determining the second bullet screen, providing the user account with preview content about the display effect associated with the second bullet screen and the first bullet screen.
  • an interactive flowchart of a method for publishing and displaying a bullet screen may include:
  • the publisher client determines the first barrage.
  • the publisher client is logged in with a user account, and the user account realizes the publication of the second bullet screen through the publisher client.
  • the publisher client may determine the selected first bullet screen in the display state according to the selection operation of the user account.
  • the selection operation of the user account may be a single click, a long press, etc.
  • the present disclosure does not limit the selection method of the first barrage.
  • the selected first bullet screen can be the first bullet screen displayed by the conventional bullet screen display method in the related art, and the first bullet screen at this time is only the original bullet screen for commenting on the target work; Disclose the bullet screen displayed by the above bullet screen display method and related to the third bullet screen, wherein the third bullet screen is different from the second bullet screen.
  • the first bullet screen can be a comment or quote the third For the barrage generated by the barrage, there is a chain relationship among the third barrage, the first barrage and the second barrage. It can be seen that the user account can generate a second bullet screen with an associated relationship for the first bullet screen that already has a comment or reference relationship, thereby forming a multi-level bullet screen, which further enhances the relevance and interest of the bullet screen published by the user.
  • the user account can write the corresponding bullet screen content of the second bullet screen according to the bullet screen content of the first bullet screen, so as to generate a second bullet screen commenting on the first bullet screen; the user account can also Quoting the bullet chat content of the first bullet screen and adding the corresponding comment content, so as to generate the second bullet screen referring to the first bullet chat.
  • the user account can select the display status by clicking and other preset operations in the bullet screen display interface of the target work.
  • the first barrage of the state of course, the first barrage can also be selected by the user account in the barrage list corresponding to the target work.
  • the publisher of the first bullet screen may be a user account logged in by the client of the publisher, or may be another account that is different from the user account.
  • the present disclosure does not limit the way of determining the first bullet screen and the relationship between it and the user account.
  • the publisher client determines the second barrage.
  • the publisher client can determine the second bullet screen input by the user account according to the bullet screen input operation of the user account. For example, the user account can pop up the associated bullet screen input interface after selecting the first bullet screen. Enter the bullet chat content of the second bullet chat (associated with the first bullet chat).
  • the above-mentioned bullet screen content may be the bullet screen content in the form of plain text, or may include the bullet screen content formed by the combination of one or more of the following forms of content: text, punctuation marks, emoji, emoji expressions, pictures, gif animation etc.
  • the bullet chat content of the second bullet screen can directly refer to all or part of the bullet screen content of the first bullet screen; the bullet screen content of the second bullet screen can also only comment on the first bullet screen at the semantic level.
  • the barrage implements the idiom solitaire
  • the second barrage can only be associated with the first barrage in terms of voice without citing the content of the first barrage.
  • This disclosure does not limit the specific relationship between the second bullet screen and the first bullet screen, but regardless of the above-mentioned citation or commenting method, it can be considered that the second bullet screen is a comment published on the first bullet screen.
  • the bullet screen display interface 401a displays multiple bullet screens 402a: the bullet screen A (corresponding bullet screen The content is: AAAAAAAAAAAA, other barrages are similar to this, and will not be repeated later), barrage B, barrage C, barrage D and barrage E.
  • the corresponding display shows the second bullet screen setting interface as shown in Figure 4(b).
  • the selected The bullet screen window b displays the bullet screen content of the selected bullet screen A, and the user account can enter the bullet screen content of the second bullet screen in the comment content window 402b.
  • the user account can input the bullet screen content of the second bullet screen.
  • Screen F which is determined by the publishing client as the second screen for the first screen (bar screen A).
  • the publisher client determines the display relationship.
  • the publisher client can also determine the display relationship between the first bullet screen and the second bullet screen.
  • the publishing party of the target work can set it uniformly for all the second bullet screens corresponding to the target work; All the second bullet chats that are associated with the bullet screen are set uniformly; they can also be set according to the system preset parameters pre-stored in the server or the client of the publisher.
  • the above-mentioned display relationship may also be set according to a setting instruction issued by a user account logged in by the publisher client.
  • the user account can trigger the display position-related controls in the display effect setting window 403b to perform the display position of the second bullet screen relative to the first bullet screen.
  • Setting (after the setting is completed, the corresponding display relationship includes the relative position relationship).
  • the vertical direction position setting interface as shown in Figure 5(a) can be displayed, and the user account can select directly above, directly below, upper left, and lower left in this interface.
  • the above position option sub-windows can display relative position diagrams, so that the user account can clearly know the display position of the second bullet screen corresponding to this option relative to the first bullet screen.
  • the window may include a relative position diagram 502a, and may also include an offset input window 503a, in which the user account can input the relative position of the second bullet screen relative to the first bullet screen.
  • the distance that the center line is offset to the right in centimeters, if the user account is not input, the default value is used), of course, it can also be in pixels (as shown in the sub-window of the upper right position option).
  • a user account When a user account selects a position in the interface to set a sub-window, it can change the border color or other display parameters of the window, and can also fade the display effect of the sub-window in other positions to highlight the selected sub-window.
  • the user selects a position setting sub-window and determines the appropriate offset, he can directly exit the vertical position setting interface (the setting result is automatically saved), or can trigger the confirmation control (not shown in the figure) in the interface to carry out save.
  • the user account selects the "horizontal direction" control, the corresponding selection interface and setting process are similar to the above process, and will not be described again.
  • the user account can also customize the display position of the second barrage relative to the first barrage.
  • a custom location setting interface as shown in Figure 5(b) can be displayed.
  • the custom location selection interface 501b is pre-marked with an existing bullet screen and occupies a corresponding display position (the size and position of the bullet screen corresponds to the bullet screen display interface 401a), and the user account can be controlled by the mouse
  • select a blank position other than the position occupied by the existing bullet screen by means of touch or touch and after selecting a suitable position, trigger the "Confirm" control to complete the position setting.
  • the set position needs to be changed or exit the custom position setting window, it can also be achieved by triggering the "Cancel" control.
  • the user account can also trigger the display property related controls in the display effect setting window 403b to set the display property of the second bullet screen (after the setting is completed, the corresponding display relationship includes the display property relationship).
  • the display property related controls in the display effect setting window 403b to set the display property of the second bullet screen (after the setting is completed, the corresponding display relationship includes the display property relationship).
  • the display attributes may also include attributes other than color, format, and speed, which will not be described one by one.
  • the user account can also trigger the comment identifier related control in the display effect setting window 403b to set the comment identifier of the second bullet screen (after the setting is completed, the corresponding display relationship includes the identifier reference relationship).
  • the user account can trigger the "[]" control, and accordingly, add a "[]" mark to the preset position of the bullet screen content of the second bullet screen (such as the front end of the bullet screen or the end of the bullet screen), and in the display can contain all the bullet chat content or bullet chat keywords of the first bullet chat.
  • the function of the " ⁇ >" control is similar to this, and will not be repeated here.
  • the user account can also trigger the "superscript” control, and add an associated logo containing the keyword of the first bullet screen or a pointing arrow symbol with a direction at the preset position above the second bullet screen to mark the second bullet screen and the first bullet screen.
  • a barrage exists in the relationship.
  • the function of the "subscript" control is similar to this, and will not be repeated here.
  • the publisher client can associate the above-mentioned display relationship with the second bullet screen to publish the value server.
  • the publisher client displays the preview effect and publishes the second barrage.
  • the publisher account can determine the associated display effect of the first bullet screen and the second bullet screen according to the display relationship, and provide a preview effect of the display effect for the user account , so that the user account can adjust or confirm the above display relationship according to the preview effect.
  • the associated display effect of the second bullet screen and the first bullet screen can be adjusted accordingly according to the adjustment instruction; if the confirmation instruction of the user account is received, the current The display relationship corresponding to the preview content is associated with the second barrage and published to the client.
  • the bullet screen ID of the first bullet screen, the bullet screen content of the second bullet screen, and the above-mentioned bullet screen relationship between the second bullet screen and the first bullet screen can be sent to the server; Add the barrage to the barrage file containing the first barrage (the barrage file corresponds to the target work), and associate the above-mentioned display relationship with the barrage file and send it to the server; you can also only send the second barrage above to the server and the display relationship between it and the first bullet screen is sent to the server.
  • the present disclosure does not limit the specific release form of the second bullet screen and the display relationship, which can be adjusted according to the actual situation.
  • the server can process the above-mentioned second bullet screen and the display relationship between the second bullet screen and the first bullet screen correspondingly, and then save it, and the corresponding storage location can be the local storage space of the server where the server is located. It can also be other associative storage space, which is not limited in the present disclosure.
  • the above-mentioned second barrage can be merged into the barrage file corresponding to the target work according to the display relationship, so as to be provided to the client of the presenter.
  • the server can also perform other necessary processing on the received first barrage and the existing first barrage, for details, please refer to the content disclosed in the related art, which will not be repeated here.
  • the server sends the target work and the bullet screen to the client of the presenter.
  • the server can provide the above-mentioned original works to the client of the presenter.
  • the server may return the original work to the presenter client after receiving the barrage acquisition request from the presenter client; the server may also combine the work recommendation service to actively push the display to the presenter client The original work, and send the above-mentioned first and second bullet screens to the display server.
  • the server can send the first bullet screen and the second bullet screen to the server at the same time, so as to reduce the number of requests from the client of the presenter, thereby reducing the pressure of network communication; the server can also send only the first bullet screen to the server.
  • a barrage is sent to the client of the presenter, and after receiving the request for obtaining the second barrage sent by the client of the presenter, the second barrage is returned to the client of the presenter, so as to reduce the damage caused by the user's playback behavior. Invalid bullet chat when the second bullet chat is not displayed.
  • the client of the presenter can play the target work.
  • the target work For the specific process of playing the target work, reference may be made to the content disclosed in the related art, which will not be repeated here.
  • the corresponding barrage is displayed in the barrage display interface corresponding to the target work.
  • the display relationship between the second bullet screen and its corresponding first bullet screen may be determined first.
  • the display relationship may be determined first, and then the target work is played; or, as another exemplary embodiment, the target work may be played first, and then the display relationship is determined. In other words, there is no necessary sequence between "determining the display relationship" and "playing the target work", and can be adjusted according to the actual situation.
  • the presenter client can obtain the above-mentioned presentation relationship from the server, and can also determine the relationship between the second barrage and the first barrage according to the system setting parameters pre-stored locally by the server or the presenter client display relationship.
  • the presenter client displays the first bullet screen and the second bullet screen in association with each other.
  • the client of the presenter after obtaining the first bullet screen and the second bullet screen, and determining the display relationship between the two, the client of the presenter can display the first bullet screen and the second bullet screen in association according to the display relationship. screen.
  • the second barrage in the case where the display relationship includes a relative position relationship, may be displayed at a preset relative position of the first barrage; or, in the case where the display relationship includes a display attribute relationship , the second bullet screen can be displayed according to the same display attributes as the first bullet screen; or, in the case where the display relationship includes an identification reference relationship, the association related to the first bullet screen can be displayed in the display area of the second bullet screen Identify or associate keywords.
  • FIG. 6( a ) when the bullet screen function switch 603 a is turned on, a plurality of bullet screen screens 602 a can be displayed in the bullet screen display interface 601 a , and the relationship between the bullet screen screens is shown in FIG. 6 ( b ) , among them, Bullet Screen A, Bullet Screen D, and Bullet Screen E are all original bullet screens directly aimed at the target work (not associated with the third bullet screen); while Bullet Screen B, Bullet Screen C and Bullet Screen F are all is the second barrage corresponding to barrage A (the first barrage) (all three refer to barrage A); further, barrage G and barrage H are the first barrage corresponding to barrage F (the first barrage). Two barrages (both refer to barrage F).
  • FIG. 6 ( b ) the relationship between the bullet screen screens is shown in FIG. 6 ( b ) , among them, Bullet Screen A, Bullet Screen D, and Bullet Screen E are all original bullet screens directly aimed at the target work (not associated with the third bullet screen); while Bullet Screen B
  • 6(a) describes the display effect of the bullet screen in the bullet screen display interface 601a
  • the above display effect should be understood as the theoretical value of the relative position between each bullet screen (actually not in the bullet screen display interface). 601a).
  • the above-mentioned bullet screen B, bullet screen C, and bullet screen F are respectively displayed directly below, directly behind, and to the upper left of bullet screen A according to the relative positional relationship.
  • the above-mentioned bullet screen B can be displayed in the same color, the same format and/or the same moving speed as the bullet screen A (not shown in the figure); or, the bullet screen B can be displayed in a fixed relative position of the bullet screen A It can also be displayed at the moving position of the bullet screen A, such as moving along a circular, rectangular or irregular shape around the bullet screen A, or multiple fixed positions around the bullet screen A. Flickering shows between relative positions (the current moment but at a certain position, the next moment disappears at that position and simultaneously shows at another position).
  • the barrage G uses an associated identifier in the form of "[]" to indicate a reference to the barrage F, where "[]" contains the keyword "F" of the barrage F.
  • the bullet screen H uses an arrow mark with a direction (pointing to the first character of the bullet screen F) to represent the association relationship between the bullet screen H and the bullet screen F.
  • the display relationship between any two bullet screens can exist at the same time.
  • the bullet screen B in Figure 6(a) is not only located directly below the bullet screen A, but also has the same
  • the bullet screen G is located directly above the bullet screen F (relative positional relationship) and carries an associated identifier (identified reference relationship).
  • the bullet screen screening function when the bullet screen screening function is enabled, in the bullet screen display interface 601b, you can Only show the first bullet screen that is not associated with the third bullet screen, such as bullet screen A, bullet screen D, and bullet screen E, but is related to bullet screen B, bullet screen C, and bullet screen F, and is related to bullet screen A. Barrage G and Barrage H related to Barrage F are hidden and not displayed.
  • the bullet screen screening function it is not only possible to display all the bullet screen by turning off the bullet screen screening function when there are few bullet screens currently displayed in the bullet screen display interface, but also the currently displayed bullet screen in the bullet screen display interface is relatively small.
  • the second bullet screen can be screened out by turning on the bullet screen screening function, and only the first bullet screen without an associated relationship can be displayed, avoiding the blockage of the bullet screen content on the screen of the target work.
  • a bullet screen simplification function can be set when displaying the bullet screen: when the bullet screen simplification function is enabled, the second bullet screen and/or the first bullet screen are displayed in a thumbnail mode, wherein , in the abbreviated mode, only the bullet screen keywords are displayed, and the keyword extraction rules can be set in advance; when the bullet screen simplified function is not enabled, the first bullet screen and the second bullet screen are displayed in the detail mode. Display the entire content of the bullet screen; in the case of receiving a trigger operation for any bullet screen, the display mode of any bullet screen can be switched between the above-mentioned abbreviated mode and detailed mode.
  • the thumbnail mode shown in Figure 7(a) and the detail mode shown in Figure 7(b) are displayed at the preset positions (front or end) of the bullet screen in the thumbnail mode and the detailed mode, respectively.
  • Expand control and simplified control When the expand control of any bullet chat in the simplified state is triggered, the bullet chat will switch from the abbreviated mode that only displays bullet chat keywords to the detailed mode that displays the full bullet chat content; After the simplified control of any barrage in the state is triggered, the barrage is switched from the detailed mode that displays the full barrage content to the abbreviated mode that only displays the barrage keywords, so that the barrage display content can be displayed in the abbreviated mode and details. Switch between modes.
  • the bullet screen simplification function By providing the bullet screen simplification function, it is not only possible to display the entire content of the bullet screen by turning off the bullet screen simplification function when there are fewer bullet screens currently displayed in the bullet screen display interface, but also the currently displayed bullet screen in the bullet screen display interface is relatively small. In many cases, only the bullet screen keywords can be displayed by turning on the bullet screen simplification function, so as to minimize the occupation of the bullet screen display interface by non-keywords in the bullet screen, and further avoid the occlusion of the bullet screen content on the screen of the target work.
  • the above-mentioned bullet screen screening function and bullet screen simplification function can be automatically turned on or off according to the current number of bullet screens in the bullet screen display interface or the percentage of the current bullet screen display area in the bullet screen display interface (the client automatically sends Turn on or off the control command), so as to automatically adjust the bullet screen display state according to the current bullet screen display interface, so as to achieve a better bullet screen display effect and ensure the viewing experience of audience users.
  • the above-mentioned bullet screen screening function and bullet screen simplification function can also be provided to the audience user (the audience user account corresponding to the client), so that the audience user can choose to open or relate the above functions according to the current bullet screen display situation, so as to realize personalized customization. The function selection helps to improve the bullet screen viewing experience of audience users when there are currently many bullet screens.
  • the bullet screen merging function can be set when the bullet screen is displayed: in the case that there are multiple associated second bullet screens in the first bullet screen, the calculation between each second bullet screen related to the first bullet screen is calculated. the similarity; and merge the second bullet screens with the similarity greater than the preset threshold.
  • the above similarity calculation may be calculated according to the same keyword, or may be calculated by combining all characters with the sequence of the characters, or may be calculated by combining an intelligent algorithm to calculate the semantic similarity.
  • the preset threshold of the similarity can be adjusted according to the actual situation, and the present disclosure does not limit the calculation method of the similarity and the size of the similarity threshold.
  • FIG 8(a) there are multiple bullet screens displayed in the bullet screen display interface, and the relationship between each bullet screen is shown in Figure 8(b). It may be assumed that the similarity between the bullet screen B and the bullet screen C, which are both associated with the bullet screen A, and the bullet screen F and the bullet screen G, which are also related to the bullet screen E, are greater than the preset threshold. Bullet screen B and bullet screen C are combined, and bullet screen F and bullet screen G are combined, and the combined effect is shown in Figure 8(c).
  • the similarity between any plurality of bullet screens in the same bullet screen display interface can also be calculated (to be displayed at the same time), and then the similarity threshold is greater than the threshold of the plurality of bullet screens.
  • the similarity between G is greater than the preset threshold.
  • the merged merged barrage can be distinguished from the merged original barrage by means of hyphenation or branch merge. Of course, there may also be other ways of differentiation, which are not limited in the present disclosure.
  • the present disclosure for multiple identical duplicate bullet screens located in the same bullet screen display interface at the same time, they can be completely merged. For example, after merging n identical original bullet screens, you can Add the number of merges for the merged bullet screen (actually the same as the original bullet screen), for example, add the character "n" at the end of the bullet screen to indicate that the bullet screen corresponds to n identical bullet screens, thus greatly reducing the bullet screen swiping. In this case, a large number of repeated bullet screens block the display screen of the target work, which ensures the user experience.
  • the user in order to fully respect the selection right of the user account logged in by the client of the presenter, the user can be provided with a function switch of the merge function, so that the user account can choose to open or close the function independently.
  • the second display position of the second bullet screen can be determined according to the above-mentioned display relationship and the first display position of the first bullet screen; if the second display position is outside the display interface of the bullet screen, adjust Display the relationship and/or adjust the first display position so that the second display position is located in the bullet screen display interface; and then display the second bullet screen and the first bullet screen in association according to the adjusted second display position.
  • both bullet screen E and bullet screen F are associated with bullet screen A, and a part of the second display position corresponding to bullet screen E is located in the bullet screen. Outside the display interface, the second display positions corresponding to the bullet screen F are all located outside the bullet screen display interface.
  • the presenter client can adjust the display relationship between the bullet screen E and the bullet screen F and the bullet screen A: move the bullet screen E upward to reduce the distance from the bullet screen A; F moves from the lower right of the bullet screen A to the right of the bullet screen A, so as to adjust the second display positions corresponding to the bullet screen E and the bullet screen F respectively in the bullet screen display interface, as shown in Figure 9(b) .
  • the presenter client can also adjust the first display position of the bullet screen A: move the bullet screen A upward while maintaining the relative positions between the bullet screen E and the bullet screen F and the bullet screen A The relationship remains unchanged, so the second display positions corresponding to the bullet screen F and the bullet screen G respectively are adjusted into the bullet screen display interface, as shown in FIG. 9( c ).
  • the present disclosure also proposes an embodiment of a bullet screen publishing and displaying apparatus.
  • FIG. 10 is a schematic block diagram of a bullet screen publishing apparatus according to an embodiment of the present disclosure.
  • the bullet screen publishing apparatus shown in the embodiments of the present disclosure may be applicable to the client terminal corresponding to the bullet screen display application, and the bullet screen display device where the client terminal is located may include but is not limited to mobile phones, tablet computers, wearable devices, personal computers, etc.
  • Electronic equipment; the server where the server corresponding to the bullet screen display application is located may include, but is not limited to, a physical server including an independent host or a virtual server hosted by a host cluster, etc.
  • the above client may be an application installed in the bullet screen display device, or may be a web version application integrated in a browser.
  • the above-mentioned target works can be audio, such as voice, song, pure music, etc.; can also be video without sound, such as silent video, pantomime, silent movie, etc.; can also be audio and video, such as movies, TV series, animations, video clips , sitcoms, live broadcasts, etc.
  • the bullet screen publishing device may include:
  • the bullet screen determination module 1001 is configured to determine the second bullet screen provided by the user account for the first bullet screen of the target work
  • the bullet screen publishing module 1002 is configured to publish the second bullet screen, and the second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen, so that the A predefined display relationship is satisfied between the second bullet screen and the first bullet screen.
  • the first bullet screen includes:
  • the bullet screen associated with the third bullet screen, the third bullet screen is different from the second bullet screen; or,
  • a bullet screen that is not associated with the third bullet screen is not associated with the third bullet screen.
  • it also includes:
  • the display relationship setting module 1003 is configured to set the display relationship according to the setting instruction from the user account;
  • the association publishing module 1004 is configured to publish the display relationship in association with the second bullet screen.
  • the presentation relationship setting module is further configured to:
  • it also includes:
  • the position determination module 1005 is configured to determine the second display position of the second bullet screen according to the display relationship and the first display position of the first bullet screen;
  • the position adjustment module 1006 is configured to prompt the publisher account to adjust the display relationship or automatically adjust the display relationship when the second display position is located outside the bullet screen display interface, so that all The second display position is adjusted to the bullet screen display interface.
  • it also includes:
  • the preview providing module 1007 is configured to, after determining the second bullet screen, provide the user account with preview content about the display effect associated with the second bullet screen and the first bullet screen.
  • Embodiments of the present disclosure also provide an electronic device, including:
  • a memory for storing the processor-executable instructions
  • the processor is configured to execute the instructions, so as to implement the method for releasing a bullet screen according to any embodiment of the present disclosure.
  • An embodiment of the present disclosure further provides a storage medium, when an instruction in the storage medium is executed by a processor of an electronic device, the electronic device can execute the bullet screen publishing method described in any of the foregoing embodiments of the present disclosure.
  • An embodiment of the present disclosure also provides a computer program product, where the computer program product is configured to execute the bullet screen publishing method described in any of the foregoing embodiments of the present disclosure.
  • FIG. 11 is a schematic block diagram of an electronic device according to an embodiment of the present disclosure.
  • electronic device 1100 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.
  • an electronic device 1100 may include one or more of the following components: a processing component 1102, a memory 1104, a power supply component 1106, a multimedia component 1108, an audio component 1110, an input/output (I/O) interface 1112, a sensor component 1114 , and the communication component 1118.
  • a processing component 1102 a memory 1104, a power supply component 1106, a multimedia component 1108, an audio component 1110, an input/output (I/O) interface 1112, a sensor component 1114 , and the communication component 1118.
  • the processing component 1102 generally controls the overall operation of the electronic device 1100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 1102 may include one or more processors 1120 to execute the instructions, so as to complete all or part of the steps of the above-mentioned bullet screen publishing method.
  • processing component 1102 may include one or more modules that facilitate interaction between processing component 1102 and other components.
  • processing component 1102 may include a multimedia module to facilitate interaction between multimedia component 1108 and processing component 1102.
  • the memory 1104 is configured to store various types of data to support operation at the electronic device 1100 . Examples of such data include instructions for any application or method operating on the electronic device 1100, contact data, phonebook data, messages, pictures, videos, and the like.
  • Memory 1104 may be implemented by any type of volatile or non-volatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Magnetic or Optical Disk Magnetic Disk
  • Power supply assembly 1106 provides power to various components of electronic device 1100 .
  • Power supply components 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1100 .
  • the multimedia component 1108 includes a screen that provides an output interface between the electronic device 1100 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
  • the touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action.
  • the multimedia component 1108 includes a front-facing camera and/or a rear-facing camera. When the electronic device 1100 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.
  • Audio component 1110 is configured to output and/or input audio signals.
  • audio component 1110 includes a microphone (MIC) that is configured to receive external audio signals when electronic device 1100 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 1104 or transmitted via communication component 1118 .
  • audio component 1110 also includes a speaker for outputting audio signals.
  • the I/O interface 1112 provides an interface between the processing component 1102 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.
  • Sensor assembly 1114 includes one or more sensors for providing various aspects of status assessment for electronic device 1100 .
  • the sensor assembly 1114 can detect the open/closed state of the electronic device 1100, the relative positioning of the components, such as the display and the keypad of the electronic device 1100, the sensor assembly 1114 can also detect the electronic device 1100 or one of the electronic device 1100 Changes in the position of components, presence or absence of user contact with the electronic device 1100 , orientation or acceleration/deceleration of the electronic device 1100 and changes in the temperature of the electronic device 1100 .
  • Sensor assembly 1114 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.
  • Sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 1118 is configured to facilitate wired or wireless communications between electronic device 1100 and other devices.
  • Electronic device 1100 may access wireless networks based on communication standards, such as WiFi, carrier networks (such as 2G, 3G, 4G, or 5G), or a combination thereof.
  • the communication component 1118 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component 1118 also includes a near field communication (NFC) module to facilitate short-range communication.
  • the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • the electronic device 1100 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field A programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components are implemented for executing the above-mentioned method for releasing the bullet screen.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field A programmable gate array
  • controller a controller
  • microcontroller a microcontroller
  • microprocessor or other electronic components are implemented for executing the above-mentioned method for releasing the bullet screen.
  • a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1104 including instructions, and the above-mentioned instructions can be executed by the processor 1120 of the electronic device 1100 to complete the above-mentioned bullet screen publishing method .
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
  • FIG. 12 is a schematic block diagram of a bullet screen display device according to an embodiment of the present disclosure.
  • the bullet screen display device shown in the embodiments of the present disclosure can be applied to the client terminal corresponding to the bullet screen display application, and the bullet screen display device where the client is located may include but not limited to mobile phones, tablet computers, wearable devices, personal computers, etc.
  • Electronic equipment; the server where the server corresponding to the bullet screen display application is located may include, but is not limited to, a physical server including an independent host or a virtual server hosted by a host cluster.
  • the above-mentioned client may be an application installed in the bullet screen display device, or may be a web version application integrated in a browser.
  • the above-mentioned target works can be audio, such as voice, song, pure music, etc.; can also be video without sound, such as silent video, pantomime, silent movie, etc.; can also be audio and video, such as movies, TV series, animations, video clips , sitcoms, live broadcasts, etc.
  • the barrage display device may include:
  • the bullet screen acquisition module 1201 is configured to acquire the first bullet screen of the target work and the second bullet screen associated with the first bullet screen;
  • the associated display module 1202 is configured to display the second bullet screen and the first bullet screen in association with the bullet screen display interface of the target work, so that the second bullet screen and the first bullet screen can be displayed in association with each other. satisfy a predefined display relationship between them.
  • the association display module is further configured to:
  • the display relationship includes a relative position relationship, displaying the second bullet screen at a preset relative position of the first bullet screen; or,
  • the second bullet screen is displayed according to the same display attribute as the first bullet screen;
  • the associated identifier or associated keyword related to the first barrage is displayed in the display area of the second barrage.
  • the association display module is further configured to:
  • the second bullet screen is displayed at a static relative position or a dynamic relative position of the first bullet screen.
  • the presentation attribute includes at least one of the following:
  • the barrage color, barrage movement speed, and barrage font format are the barrage color, barrage movement speed, and barrage font format.
  • the first bullet screen includes:
  • the bullet screen associated with the third bullet screen, the third bullet screen is different from the second bullet screen; or,
  • a bullet screen that is not associated with the third bullet screen is not associated with the third bullet screen.
  • the association display module is further configured to:
  • the association display module is further configured to:
  • the second bullet screen and the first bullet screen are displayed in association according to the adjusted second display position.
  • the association display module is further configured to:
  • the bullet screen simplification function is not enabled, the first bullet screen and the second bullet screen are displayed in the detail mode, and the entire content of the bullet screen is displayed in the detailed mode;
  • the display mode of the bullet screen is switched between the abbreviated mode and the detailed mode.
  • it also includes:
  • the similarity calculation module 1203 is configured to calculate the similarity between the second bullet screens associated with the first bullet screen when there are multiple associated second bullet screens in the first bullet screen ;
  • the merging processing module 1204 is configured to perform merging processing on the second bullet screens whose similarity is greater than a preset threshold.
  • the setting manner of the display relationship includes at least one of the following:
  • Embodiments of the present disclosure also provide an electronic device, including:
  • a memory for storing the processor-executable instructions
  • the processor is configured to execute the instructions, so as to realize the following steps of the bullet screen display method: obtaining the first bullet screen and the second bullet screen of the target work, the second bullet screen and the first bullet screen screen association; the second bullet screen and the first bullet screen are displayed in association in the bullet screen display interface of the target work.
  • the processor is configured to execute the instructions to implement the following step: displaying the second bullet screen at a preset relative position of the first bullet screen.
  • the processor is configured to execute the instructions to implement the step of: displaying the second bullet screen at a static relative position or a dynamic relative position of the first bullet screen.
  • the processor is configured to execute the instructions to implement the following steps: displaying the second bullet screen according to a target presentation attribute, the target presentation attribute and the presentation of the first bullet screen properties are the same.
  • the processor is configured to execute the instructions to implement the following step: displaying the associated identifier or associated keyword related to the first bullet screen in the display area of the second bullet screen .
  • the first bullet screen includes: a first bullet screen associated with a third bullet screen or a first bullet screen not associated with the third bullet screen, the third bullet screen being different from all Describe the second barrage;
  • the processor is configured to execute the instructions to implement the following steps: in response to the bullet screen screening function being turned on, only display the first bullet screen that is not associated with the third bullet screen; in response to the bullet screen The screening function is not turned on, and all the first barrage and the corresponding second barrage are displayed in association.
  • the processor is configured to execute the instructions to implement the following step: determining the second presentation of the second bullet screen based on the presentation relationship and the first presentation position of the first bullet screen position, the display relationship is the relationship between two barrages with an associated relationship when they are displayed; in response to the second display position being outside the barrage display interface, adjust the display relationship or the first display at least one of the positions, so that the second display position is located in the bullet screen display interface; on the adjusted second display position and the first display position, respectively, display the second bullet screen and all Describe the first barrage.
  • the processor is configured to execute the instructions to implement the following steps: in response to the bullet screen simplification function being turned on, associatively displaying the second bullet screen and the bullet screen of the first bullet screen Keywords; in response to the bullet screen simplification function not being enabled, the first bullet screen and the second bullet screen are displayed in association.
  • the processor is further configured to execute the instructions to implement the following steps: in response to a triggering operation for any bullet screen, displaying the bullet screen keywords of the bullet screen and displaying the bullet screen Switch between barrages.
  • the processor is further configured to execute the instructions to implement the following step: in response to the number of the second bullet screens being multiple, acquiring the similarity between the plurality of second bullet screens ; Perform merging processing on at least two second bullet screens whose similarity is greater than the threshold.
  • the processor is configured to execute the instructions, so as to implement the following steps of the bullet screen publishing method: determine a second bullet screen, the second bullet screen is provided for the first bullet screen of the target work; publish the first bullet screen A second bullet screen, the second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen.
  • the processor is further configured to execute the instruction to implement the following steps: according to the setting instruction, set a display relationship, where the display relationship is when two barrage screens with an associated relationship are displayed Relationship;
  • the processor is configured to execute the instructions to implement the following steps: release the display relationship in association with the second bullet screen.
  • the processor is configured to execute the instructions to implement the following steps: obtain a relative positional relationship set for the second bullet screen with respect to the first bullet screen; The positional relationship is determined as the presentation relationship.
  • the processor is configured to execute the instructions to implement the following steps: setting a display attribute relationship, the display attribute relationship being the display attributes of the second bullet screen and the first bullet screen The same; the display attribute relationship is determined as the display relationship.
  • the processor is configured to execute the instructions to implement the following steps: obtaining the set identification reference relationship of the second bullet screen relative to the first bullet screen; referencing the identification A relationship is determined to be the presentation relationship.
  • the processor is further configured to execute the instructions to implement the following step: determining the second bullet screen based on the display relationship and the first display position of the first bullet screen. second display position; in response to the second display position being outside the bullet screen display interface, prompt to adjust the display relationship or automatically adjust the display relationship, so that the second display position is adjusted to the In the barrage display interface.
  • the processor is further configured to execute the instructions to implement the following steps: after the second bullet screen is determined, provide a related presentation about the second bullet screen and the first bullet screen The preview content of the effect.
  • Embodiments of the present disclosure also provide a computer-readable storage medium, which is executed by a processor of an electronic device in response to an instruction in the computer-readable storage medium, so that the electronic device can perform the following steps of a bullet screen display method: acquiring a target The first bullet screen and the second bullet screen of the work, the second bullet screen is associated with the first bullet screen; the second bullet screen and the first bullet screen are displayed in association in the bullet screen display interface of the target work. A popup.
  • the electronic device in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device is enabled to perform the following step: displaying the first bullet screen at a preset relative position of the first bullet screen. Second barrage.
  • the electronic device in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device is enabled to perform the following step: displaying the second bullet screen on the first bullet screen At a static relative position or at a dynamic relative position.
  • the electronic device in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, can perform the following steps: displaying the second bullet screen according to the target display attribute, the target The display attribute is the same as the display attribute of the first bullet screen.
  • the electronic device in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device is enabled to perform the following step: displaying the second bullet screen in the display area of the second bullet screen with the first A barrage-related associated identifier or associated keyword.
  • the first bullet screen includes: a first bullet screen associated with a third bullet screen or a first bullet screen not associated with the third bullet screen, the third bullet screen being different from all Describe the second barrage;
  • the electronic device can perform the following steps: in response to the bullet screen screening function being turned on, only display the bullet screen that is not associated with the third bullet screen.
  • the electronic device in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, can perform the following steps: based on the display relationship and the first display position of the first bullet screen, Determine the second display position of the second bullet screen, and the display relationship is the relationship between two bullet screens with an associated relationship when they are displayed; in response to the second display position being located outside the bullet screen display interface, Adjust at least one of the display relationship or the first display position, so that the second display position is located in the bullet chat display interface; respectively in the adjusted second display position and the first display position , display the second bullet screen and the first bullet screen.
  • the electronic device in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device can perform the following steps: in response to the bullet screen simplifying function being turned on, display the second bullet screen in association with it. The bullet screen and the bullet screen keywords of the first bullet screen; in response to the bullet screen simplification function not being enabled, the first bullet screen and the second bullet screen are displayed in association.
  • the electronic device in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, can perform the following steps: in response to a triggering operation for any bullet screen, displaying the bullet screen Toggle between the bullet chat keyword of the screen and displaying the bullet chat.
  • the electronic device in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, can perform the following steps: in response to the number of the second bullet screens being multiple, obtain multiple The similarity between the second bullet screens; the at least two second bullet screens with the similarity greater than the threshold are merged.
  • Embodiments of the present disclosure also provide a computer-readable storage medium, which is executed by a processor of an electronic device in response to instructions in the computer-readable storage medium, so that the electronic device can perform the following steps of a bullet screen publishing method: determine the first The second bullet screen, the second bullet screen is provided for the first bullet screen of the target work; the second bullet screen is released, and the second bullet screen is used to be displayed in the target work in association with the first bullet screen in the barrage display interface.
  • the electronic device in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, can further perform the following steps: according to the setting instruction, set a presentation relationship, where the presentation relationship is: The relationship between two barrages with an associated relationship when they are displayed;
  • the electronic device In response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device is enabled to perform the following steps: release the display relationship in association with the second bullet screen.
  • the electronic device in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device is enabled to perform the following step: obtaining a setting for the second bullet screen relative to the first The relative positional relationship of the bullet screen; the relative positional relationship is determined as the display relationship.
  • the electronic device in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device is enabled to perform the following steps: setting a presentation attribute relationship, the presentation attribute relationship being the second elastic
  • the display attribute of the screen is the same as that of the first bullet screen; the display attribute relationship is determined as the display relationship.
  • the electronic device in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device is enabled to perform the step of: acquiring the set second barrage relative to the first barrage The identification reference relationship of the screen is determined; the identification reference relationship is determined as the display relationship.
  • the electronic device in response to the instructions in the computer-readable storage medium being executed by a processor of the electronic device, the electronic device is enabled to perform the following steps: a first presentation based on the presentation relationship and the first bullet screen position, and determine the second display position of the second bullet screen; in response to the second display position being outside the bullet screen display interface, prompt to adjust the display relationship or automatically adjust the display relationship so that all The second display position is adjusted to the bullet screen display interface.
  • the electronic device in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device is enabled to perform the following steps: after determining the second bullet screen, provide information about the second bullet screen The screen and the first bullet screen are associated with the preview content of the display effect.
  • An embodiment of the present disclosure further provides a computer program product, the computer program product is configured to execute the method for displaying a bullet screen or a method for publishing a bullet screen described in any of the above embodiments of the present disclosure.
  • Fig. 13 is a schematic block diagram of an electronic device according to an embodiment of the present disclosure.
  • electronic device 1300 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.
  • an electronic device 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power supply component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314 , and the communication component 1318.
  • a processing component 1302 a memory 1304, a power supply component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314 , and the communication component 1318.
  • the processing component 1302 generally controls the overall operation of the electronic device 1300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 1302 may include one or more processors 1320 to execute the instructions, so as to complete all or part of the steps of the above-mentioned bullet screen display method or bullet screen publishing method.
  • processing component 1302 may include one or more modules that facilitate interaction between processing component 1302 and other components.
  • processing component 1302 may include a multimedia module to facilitate interaction between multimedia component 1308 and processing component 1302.
  • the memory 1304 is configured to store various types of data to support operation at the electronic device 1300 . Examples of such data include instructions for any application or method operating on electronic device 1300, contact data, phonebook data, messages, pictures, videos, and the like.
  • Memory 1304 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Magnetic or Optical Disk Magnetic Disk
  • Power supply assembly 1306 provides power to various components of electronic device 1300 .
  • Power supply components 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1300 .
  • Multimedia component 1308 includes a screen that provides an output interface between electronic device 1300 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
  • the touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action.
  • the multimedia component 1308 includes a front-facing camera and/or a rear-facing camera. When the electronic device 1300 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.
  • Audio component 1310 is configured to output and/or input audio signals.
  • audio component 1310 includes a microphone (MIC) that is configured to receive external audio signals when electronic device 1300 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 1304 or transmitted via communication component 1318.
  • audio component 1310 also includes a speaker for outputting audio signals.
  • I/O interface 1312 provides an interface between processing component 1302 and peripheral interface modules, which may be keyboards, click wheels, buttons, and the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.
  • Sensor assembly 1314 includes one or more sensors for providing status assessment of various aspects of electronic device 1300 .
  • the sensor component 1314 can detect the open/closed state of the electronic device 1300, the relative positioning of components, such as the display and the keypad of the electronic device 1300, the sensor component 1314 can also detect the electronic device 1300 or one of the electronic device 1300 Changes in the position of components, presence or absence of user contact with the electronic device 1300 , orientation or acceleration/deceleration of the electronic device 1300 and changes in the temperature of the electronic device 1300 .
  • Sensor assembly 1314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.
  • Sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 1318 is configured to facilitate wired or wireless communication between electronic device 1300 and other devices.
  • Electronic device 1300 may access wireless networks based on communication standards, such as WiFi, carrier networks (eg, 2G, 3G, 4G, or 5G), or a combination thereof.
  • the communication component 1318 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component 1318 also includes a near field communication (NFC) module to facilitate short-range communication.
  • the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • the electronic device 1300 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field A programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components are implemented for executing the above-mentioned method for displaying the bullet screen or publishing the method for the bullet screen.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field A programmable gate array
  • controller a microcontroller, a microprocessor or other electronic components are implemented for executing the above-mentioned method for displaying the bullet screen or publishing the method for the bullet screen.
  • a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1304 including instructions, and the above-mentioned instructions can be executed by the processor 1320 of the electronic device 1300 to complete the above-mentioned bullet screen display method Or the barrage publishing method.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

Abstract

Provided are a bullet screen posting method, a bullet screen displaying method and an electronic device, which relate to the technical field of networks. The bullet screen posting method comprises: determining a second bullet screen provided by a user account regarding a first bullet screen of a target work; and posting the second bullet screen, wherein the second bullet screen is used for being displayed, in association with the first bullet screen, in a bullet screen display interface of the target work. The bullet screen displaying method comprises: acquiring a first bullet screen of a target work and a second bullet screen associated with the first bullet screen; and displaying, in an association manner, the second bullet screen and the first bullet screen in a bullet screen display interface of the target work.

Description

弹幕发布及展示方法及电子设备Bullet screen release and display method and electronic device
本公开基于申请号为202010739312.X、申请日为2020年7月28日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本公开作为参考。The present disclosure is based on a Chinese patent application with application number 202010739312.X and an application date of July 28, 2020, and claims the priority of the Chinese patent application, the entire contents of which are incorporated herein by reference.
技术领域technical field
本公开涉及网络技术领域,尤其涉及一种弹幕发布及展示方法及电子设备。The present disclosure relates to the field of network technologies, and in particular, to a method for publishing and displaying a bullet screen and an electronic device.
背景技术Background technique
现阶段的互联网内容消费平台在展示作品时,通常会提供相应的弹幕功能,例如在电影、电视剧等作品的播放界面展示弹幕,观众用户可以通过弹幕发表观点。The current Internet content consumption platform usually provides corresponding bullet screen functions when displaying works, such as displaying bullet screen on the playback interface of movies, TV dramas and other works, and audience users can express their opinions through the bullet screen.
在相关技术中,弹幕发布及展示通常直接针对作品进行,不同弹幕之间往往相互独立且展示效果并无关联。In the related art, the release and display of bullet screens are usually carried out directly for works, and different bullet screens are often independent of each other and the display effects are not related.
发明内容SUMMARY OF THE INVENTION
本公开提供了一种弹幕发布及展示方法及电子设备。本公开的技术方案如下:The present disclosure provides a barrage publishing and displaying method and electronic device. The technical solutions of the present disclosure are as follows:
根据本公开实施例的一方面,提出一种弹幕展示方法,包括:获取目标作品的第一弹幕以及第二弹幕,所述第二弹幕与所述第一弹幕关联;在所述目标作品的弹幕展示界面中关联展示所述第二弹幕和所述第一弹幕。According to an aspect of the embodiments of the present disclosure, a method for displaying a bullet screen is provided, including: acquiring a first bullet screen and a second bullet screen of a target work, the second bullet screen being associated with the first bullet screen; The second bullet screen and the first bullet screen are displayed in association in the bullet screen display interface of the target work.
在一些实施例中,所述关联展示所述第二弹幕和所述第一弹幕,包括:在所述第一弹幕的预设相对位置处展示所述第二弹幕。In some embodiments, the associating displaying the second bullet screen and the first bullet screen includes: displaying the second bullet screen at a preset relative position of the first bullet screen.
在一些实施例中,所述在所述第一弹幕的预设相对位置处展示所述第二弹幕,包括:将所述第二弹幕展示在所述第一弹幕的静态相对位置处或动态相对位置处。In some embodiments, displaying the second bullet screen at a preset relative position of the first bullet screen includes: displaying the second bullet screen at a static relative position of the first bullet screen or dynamic relative position.
在一些实施例中,所述关联展示所述第二弹幕和所述第一弹幕,包括:按照目标展示属性,展示所述第二弹幕,所述目标展示属性与所述第一弹幕的展示属性相同。In some embodiments, the associatively displaying the second bullet screen and the first bullet screen includes: displaying the second bullet screen according to a target display attribute, and the target display attribute is related to the first bullet screen. The display properties of the screen are the same.
在一些实施例中,所述展示属性包括下述至少之一:弹幕颜色、弹幕移动速度、弹幕字体格式。In some embodiments, the display attribute includes at least one of the following: a bullet screen color, a bullet screen moving speed, and a bullet screen font format.
在一些实施例中,所述关联展示所述第二弹幕和所述第一弹幕,包括:在所述第二弹幕的展示区域中展示与所述第一弹幕相关的关联标识或关联关键词。In some embodiments, the associating display of the second bullet screen and the first bullet screen includes: displaying, in a display area of the second bullet screen, an associated identifier related to the first bullet screen or associated keywords.
在一些实施例中,所述第一弹幕,包括:与第三弹幕关联的第一弹幕或未与所述第三弹幕关联的第一弹幕,所述第三弹幕区别于所述第二弹幕。In some embodiments, the first bullet screen includes: a first bullet screen associated with a third bullet screen or a first bullet screen not associated with the third bullet screen, and the third bullet screen is different from The second barrage.
在一些实施例中,所述关联展示所述第二弹幕和所述第一弹幕,包括:响应于弹幕筛除功能被开启,仅展示未与所述第三弹幕关联的所述第一弹幕;响应于弹幕筛除功能未开启,关联展示所有的第一弹幕和相应的第二弹幕。In some embodiments, the associating display of the second bullet screen and the first bullet screen includes: in response to the bullet screen screening function being turned on, displaying only the bullet screen that is not associated with the third bullet screen The first bullet screen; in response to the bullet screen screening function not being turned on, all the first bullet screen and the corresponding second bullet screen are displayed in association.
在一些实施例中,所述关联展示所述第二弹幕和所述第一弹幕,包括:基于展示关系和所述第一弹幕的第一展示位置,确定所述第二弹幕的第二展示位置,所述展示关系为具有关联关系的两个弹幕在展示时的关系;响应于所述第二展示位置位于所述弹幕展示界面之外,调整所述展示关系或所述第一展示位置中至少一项,以使所述第二展示位置位于所述弹幕展示界面内;分别在调整后的第二展示位置和所述第一展示位置上,展示所述第二弹幕和所述第一弹幕。In some embodiments, the associating display of the second bullet screen and the first bullet screen includes: determining the second bullet screen based on the display relationship and the first display position of the first bullet screen. The second display position, the display relationship is the relationship between two barrages with an associated relationship when they are displayed; in response to the second display position being outside the barrage display interface, adjust the display relationship or the at least one of the first display positions, so that the second display position is located in the bullet screen display interface; on the adjusted second display position and the first display position, respectively, display the second bullet screen screen and the first barrage.
在一些实施例中,所述关联展示所述第二弹幕和所述第一弹幕,包括:响应于弹幕简化功能被开启,关联展示所述第二弹幕的弹幕关键词和所述第一弹幕的弹幕关键词;响应于所述弹幕简化功能未开启,关联展示第一弹幕和第二弹幕。In some embodiments, the associatively displaying the second bullet screen and the first bullet screen includes: in response to the bullet screen simplifying function being turned on, associating the display of the bullet screen keywords of the second bullet screen with all the bullet screen keywords. Describe the bullet screen keywords of the first bullet screen; in response to the bullet screen simplifying function not being enabled, the first bullet screen and the second bullet screen are displayed in association.
在一些实施例中,所述方法还包括:响应于针对任一弹幕的触发操作,在展示所述弹幕的弹幕关键词和展示所述弹幕之间切换。In some embodiments, the method further includes: in response to a triggering operation for any bullet screen, switching between displaying the bullet screen keywords of the bullet screen and displaying the bullet screen.
在一些实施例中,还包括:响应于所述第二弹幕的数量为多个,获取多个第二弹幕之间的相似度;对所述相似度大于阈值的至少两个第二弹幕进行合并处理。In some embodiments, the method further includes: in response to the number of the second bullet screens being multiple, obtaining a similarity between multiple second bullet screens; for at least two second bullet screens whose similarity is greater than a threshold The scenes are merged.
在一些实施例中,所述展示关系的设定方式包括下述至少之一:由所述目标作品的发布方设定、由所述第一弹幕的发布方设定、由所述第二弹幕的发布方设定、根据系统预设参数设定。In some embodiments, the setting manner of the display relationship includes at least one of the following: set by the publisher of the target work, set by the publisher of the first bullet screen, set by the second bullet screen The publisher setting of the barrage is set according to the system default parameters.
根据本公开实施例的另一方面,提出一种弹幕发布方法,包括:确定第二弹幕,所述第二弹幕针对目标作品的第一弹幕提供;发布所述第二弹幕,所述第二弹幕用于与所述第一弹幕关联展示在所述目标作品的弹幕展示界面中。According to another aspect of the embodiments of the present disclosure, a method for releasing a bullet screen is provided, including: determining a second bullet screen, the second bullet screen being provided for a first bullet screen of a target work; publishing the second bullet screen, The second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen.
在一些实施例中,所述第一弹幕,包括:与第三弹幕关联的第一弹幕或未与所述第三弹幕关联的第一弹幕,所述第三弹幕区别于所述第二弹幕。In some embodiments, the first bullet screen includes: a first bullet screen associated with a third bullet screen or a first bullet screen not associated with the third bullet screen, and the third bullet screen is different from The second barrage.
在一些实施例中,还包括:根据设定指令,设定展示关系,所述展示关系为具有关联关系的两个弹幕在展示时的关系;In some embodiments, the method further includes: setting a display relationship according to a setting instruction, and the display relationship is a relationship between two barrage screens having an associated relationship when they are displayed;
所述发布所述第二弹幕,包括:将所述展示关系与所述第二弹幕关联发布。The publishing the second bullet screen includes: associating the display relationship with the second bullet screen and publishing.
在一些实施例中,所述确定展示关系,包括:获取针对所述第二弹幕设置的相对于所述第一弹幕的相对位置关系;将所述相对位置关系确定为所述展示关系。。In some embodiments, the determining the display relationship includes: acquiring a relative position relationship set for the second bullet screen relative to the first bullet screen; and determining the relative position relationship as the display relationship. .
在一些实施例中,所述确定展示关系,包括:设置展示属性关系,所述展示属性关系为 所述第二弹幕与所述第一弹幕的展示属性相同;将所述展示属性关系确定为所述展示关系。In some embodiments, the determining the display relationship includes: setting a display attribute relationship, the display attribute relationship is that the display attributes of the second bullet screen and the first bullet screen are the same; determining the display attribute relationship for the display relationship.
在一些实施例中,所述确定展示关系,包括:获取设置的所述第二弹幕相对于所述第一弹幕的标识引用关系;将所述标识引用关系确定为所述展示关系。In some embodiments, the determining the display relationship includes: acquiring the set identification reference relationship of the second bullet screen relative to the first bullet screen; and determining the identification reference relationship as the display relationship.
在一些实施例中,还包括:基于所述展示关系和所述第一弹幕的第一展示位置,确定所述第二弹幕的第二展示位置;响应于所述第二展示位置位于所述弹幕展示界面之外,提示调整所述展示关系或者自动调整所述展示关系,以使所述第二展示位置被调整至所述弹幕展示界面内。In some embodiments, the method further includes: determining a second display position of the second bullet screen based on the display relationship and the first display position of the first bullet screen; in response to the second display position being located at the In addition to the bullet screen display interface, prompt to adjust the display relationship or automatically adjust the display relationship, so that the second display position is adjusted to the bullet screen display interface.
在一些实施例中,还包括:在确定所述第二弹幕后,向所述用户账号提供关于所述第二弹幕和所述第一弹幕关联展示效果的预览内容。In some embodiments, the method further includes: after determining the second bullet screen, providing the user account with preview content about the display effect associated with the second bullet screen and the first bullet screen.
根据本公开实施例的另一方面,提出一种弹幕展示装置,包括:According to another aspect of the embodiments of the present disclosure, a barrage display device is provided, including:
弹幕获取模块,被配置为获取目标作品的第一弹幕以及被关联至所述第一弹幕的第二弹幕;a bullet screen acquisition module, configured to acquire the first bullet screen of the target work and the second bullet screen associated with the first bullet screen;
关联展示模块,被配置为在所述目标作品的弹幕展示界面中关联展示所述第二弹幕和所述第一弹幕,以使所述第二弹幕与所述第一弹幕之间满足预定义的展示关系。an associated display module, configured to display the second bullet screen and the first bullet screen in an associated manner in the bullet screen display interface of the target work, so that the second bullet screen and the first bullet screen are different from each other. satisfy a predefined display relationship.
根据本公开实施例的另一方面,提出一种弹幕发布装置,包括:According to another aspect of the embodiments of the present disclosure, a bullet screen publishing device is provided, including:
弹幕确定模块,被配置为确定用户账号针对目标作品的第一弹幕提供的第二弹幕;The bullet screen determination module is configured to determine the second bullet screen provided by the user account for the first bullet screen of the target work;
弹幕发布模块,被配置为发布所述第二弹幕,所述第二弹幕用于与所述第一弹幕关联展示在所述目标作品的弹幕展示界面中,以使所述第二弹幕与所述第一弹幕之间满足预定义的展示关系。The bullet screen publishing module is configured to publish the second bullet screen, and the second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen, so that the first bullet screen can be displayed in the bullet screen display interface of the target work. A predefined display relationship is satisfied between the second bullet screen and the first bullet screen.
根据本公开实施例的另一方面,提出一种电子设备,包括:According to another aspect of the embodiments of the present disclosure, an electronic device is provided, including:
处理器;processor;
用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;
其中,所述处理器被配置为执行所述指令,以实现如下步骤:获取目标作品的第一弹幕以及第二弹幕,所述第二弹幕与所述第一弹幕关联;在所述目标作品的弹幕展示界面中关联展示所述第二弹幕和所述第一弹幕。Wherein, the processor is configured to execute the instruction, so as to realize the following steps: obtain a first bullet screen and a second bullet screen of the target work, the second bullet screen is associated with the first bullet screen; The second bullet screen and the first bullet screen are displayed in association in the bullet screen display interface of the target work.
根据本公开实施例的另一方面,提出一种存储介质,响应于所述存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下步骤:确定第二弹幕,所述第二弹幕针对目标作品的第一弹幕提供;发布所述第二弹幕,所述第二弹幕用于与所述第一弹幕关联展示在所述目标作品的弹幕展示界面中。According to another aspect of the embodiments of the present disclosure, a storage medium is provided, which is executed by a processor of an electronic device in response to an instruction in the storage medium, so that the electronic device can perform the following steps: determine a second bullet screen, the first The second bullet screen is provided for the first bullet screen of the target work; the second bullet screen is released, and the second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen.
根据本公开实施例的另一方面,提出一种电子设备,包括:According to another aspect of the embodiments of the present disclosure, an electronic device is provided, including:
处理器;processor;
用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;
其中,所述处理器被配置为执行所述指令,以实现如下步骤:确定第二弹幕,所述第二弹幕针对目标作品的第一弹幕提供;发布所述第二弹幕,所述第二弹幕用于与所述第一弹幕关联展示在所述目标作品的弹幕展示界面中。Wherein, the processor is configured to execute the instruction to realize the following steps: determine a second bullet screen, the second bullet screen is provided for the first bullet screen of the target work; publish the second bullet screen, the The second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen.
根据本公开实施例的另一方面,提出一种存储介质,响应于所述存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下步骤:确定第二弹幕,所述第二弹幕针对目标作品的第一弹幕提供;发布所述第二弹幕,所述第二弹幕用于与所述第一弹幕关联展示在所述目标作品的弹幕展示界面中。According to another aspect of the embodiments of the present disclosure, a storage medium is provided, which is executed by a processor of an electronic device in response to an instruction in the storage medium, so that the electronic device can perform the following steps: determine a second bullet screen, the first The second bullet screen is provided for the first bullet screen of the target work; the second bullet screen is released, and the second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen.
根据本公开实施例的另一方面,提供一种计算机程序产品,包括可执行指令,当计算机程序产品中的指令由电子设备的处理器执行时,使得所述电子设备能够执行如下步骤:获取目标作品的第一弹幕以及第二弹幕,所述第二弹幕与所述第一弹幕关联;在所述目标作品的弹幕展示界面中关联展示所述第二弹幕和所述第一弹幕。According to another aspect of the embodiments of the present disclosure, a computer program product is provided, comprising executable instructions, when the instructions in the computer program product are executed by a processor of an electronic device, the electronic device can perform the following steps: acquiring a target The first bullet screen and the second bullet screen of the work, the second bullet screen is associated with the first bullet screen; the second bullet screen and the first bullet screen are displayed in association in the bullet screen display interface of the target work. A popup.
根据本公开实施例的另一方面,提供一种计算机程序产品,包括可执行指令,当计算机程序产品中的指令由电子设备的处理器执行时,使得所述电子设备能够执行如下步骤:确定第二弹幕,所述第二弹幕针对目标作品的第一弹幕提供;发布所述第二弹幕,所述第二弹幕用于与所述第一弹幕关联展示在所述目标作品的弹幕展示界面中。According to another aspect of the embodiments of the present disclosure, a computer program product is provided, including executable instructions, when the instructions in the computer program product are executed by a processor of an electronic device, the electronic device can perform the following steps: determining the first The second bullet screen, the second bullet screen is provided for the first bullet screen of the target work; the second bullet screen is released, and the second bullet screen is used to be displayed in the target work in association with the first bullet screen in the barrage display interface.
根据本公开的实施例,用户账号可以通过评论或引用等方式发布与第一弹幕相关联的第二弹幕,从而在任一观众用户观看目标作品的弹幕时,可以在相应的弹幕展示界面为观众用户关联展示第一弹幕和第二弹幕。可见,本公开方案提供了一种新型弹幕交互方式:用户账号针对已有的第一弹幕发布与其相关联的第二弹幕,相应的,弹幕展示设备可以在弹幕展示界面中与第一弹幕关联展示该第二弹幕,从而实现弹幕之间的评论与交互,也便于观众用户理解不同弹幕之间的语义关系,有效提高了界面显示信息量,弹幕的显示效果更加直观、清晰。According to the embodiment of the present disclosure, the user account can publish the second bullet screen associated with the first bullet screen through comments or references, so that when any audience user watches the bullet screen of the target work, it can be displayed on the corresponding bullet screen. The interface displays the first bullet screen and the second bullet screen in association for audience users. It can be seen that the disclosed solution provides a new type of bullet screen interaction method: the user account publishes the second bullet screen associated with the existing first bullet screen, and accordingly, the bullet screen display device can interact with the bullet screen display interface in the bullet screen display interface. The first bullet screen displays the second bullet screen in association, so as to realize comments and interactions between bullet screens, and it is also convenient for audience users to understand the semantic relationship between different bullet screens, which effectively improves the amount of information displayed on the interface and the display effect of the bullet screens. more intuitive and clear.
附图说明Description of drawings
图1是根据本公开的实施例示出的一种弹幕发布方法流程图;1 is a flowchart of a method for publishing a bullet screen according to an embodiment of the present disclosure;
图2是根据本公开的实施例示出的一种弹幕展示方法流程图;2 is a flowchart of a method for displaying a bullet screen according to an embodiment of the present disclosure;
图3是根据本公开的实施例示出的一种发布及展示弹幕的方法的交互流程图;3 is an interactive flowchart of a method for publishing and displaying a bullet screen according to an embodiment of the present disclosure;
图4是根据本公开的实施例示出的一种用户账号设定第二弹幕的展示效果的示意图;FIG. 4 is a schematic diagram illustrating a display effect of a user account setting a second bullet screen according to an embodiment of the present disclosure;
图5是根据本公开的实施例示出的一种用户账号设定第二弹幕的展示位置的示意图;5 is a schematic diagram of a user account setting a display position of a second bullet screen according to an embodiment of the present disclosure;
图6是根据本公开的实施例示出的一种弹幕筛除功能的示意图;FIG. 6 is a schematic diagram of a barrage screening function according to an embodiment of the present disclosure;
图7是根据本公开的实施例示出的一种弹幕简化功能的示意图;7 is a schematic diagram illustrating a simplified function of a bullet screen according to an embodiment of the present disclosure;
图8是根据本公开的实施例示出的一种弹幕合并功能的示意图;8 is a schematic diagram of a bullet screen merging function according to an embodiment of the present disclosure;
图9是根据本公开的实施例示出的一种弹幕位置调整过程的示意图;9 is a schematic diagram of a barrage position adjustment process according to an embodiment of the present disclosure;
图10是根据本公开的实施例示出的一种电子设备的结构图;10 is a structural diagram of an electronic device according to an embodiment of the present disclosure;
图11是根据本公开的实施例示出的一种弹幕发布装置的示意框图;FIG. 11 is a schematic block diagram of an apparatus for publishing a bullet screen according to an embodiment of the present disclosure;
图12是根据本公开的实施例示出的一种电子设备的结构图;12 is a structural diagram of an electronic device according to an embodiment of the present disclosure;
图13是根据本公开的实施例示出的一种弹幕展示装置的示意框图。FIG. 13 is a schematic block diagram of a bullet screen display device according to an embodiment of the present disclosure.
具体实施方式detailed description
现阶段的互联网内容消费平台在展示作品时,通常会提供相应的弹幕功能,例如在电影、电视剧等作品的播放界面展示弹幕,从而使观众用户能够通过弹幕发表关于作品的观点。但是,相关技术中的弹幕发布及展示同时是直接针对作品进行的,不同弹幕之间往往相互独立且展示效果并无关联。The current Internet content consumption platform usually provides corresponding bullet screen functions when displaying works, such as displaying bullet screen on the playback interface of movies, TV series, etc., so that audience users can express their views on the work through the bullet screen. However, the release and display of the bullet screens in the related art are directly aimed at the works at the same time, and the different bullet screens are often independent of each other and the display effects are not related.
为此,本公开提出一种弹幕发布方法和一种弹幕展示方法,用于实现弹幕之间的关联展示。本公开实际上提供了一种新型的弹幕交互方式:用户账号针对已有的第一弹幕发布与其相关联的第二弹幕,相应的,弹幕展示设备可以在弹幕展示界面中与第一弹幕关联展示该第二弹幕,从而实现弹幕之间的评论与交互,也便于观众用户理解不同弹幕之间的语义关系,有效提高了界面显示信息量,弹幕的显示效果更加直观、清晰。To this end, the present disclosure proposes a method for publishing a bullet screen and a method for displaying a bullet screen, which are used to realize the associated display between the bullet screens. The present disclosure actually provides a new type of bullet screen interaction method: the user account publishes the second bullet screen associated with the existing first bullet screen. Correspondingly, the bullet screen display device can interact with the bullet screen display interface in the bullet screen display interface. The first bullet screen displays the second bullet screen in association, so as to realize comments and interactions between bullet screens, and it is also convenient for audience users to understand the semantic relationship between different bullet screens, which effectively improves the amount of information displayed on the interface and the display effect of the bullet screens. more intuitive and clear.
需要说明的是,本公开方案涉及到的用户账号应被理解为用户账号对应的用户。It should be noted that the user account involved in the disclosed solution should be understood as the user corresponding to the user account.
图1是根据本公开的实施例示出的一种弹幕发布方法流程图;该方法应用于客户端。如图1所示,以执行主体为电子设备为例,该方法可以包括:FIG. 1 is a flowchart of a method for publishing a bullet screen according to an embodiment of the present disclosure; the method is applied to a client. As shown in Figure 1, taking the execution subject as an electronic device as an example, the method may include:
S102,电子设备确定第二弹幕,所述第二弹幕针对目标作品的第一弹幕提供。S102, the electronic device determines a second bullet screen, where the second bullet screen is provided for the first bullet screen of the target work.
在本公开的一实施例中,该第二弹幕是用户账号针对目标作品的第一弹幕提供的。该用户账号可以为电子设备所登录的账号。针对该第二弹幕和第一弹幕,可以建立关联关系,也即是第二弹幕与第一弹幕关联。In an embodiment of the present disclosure, the second bullet screen is provided by the user account for the first bullet screen of the target work. The user account may be an account logged in by the electronic device. For the second bullet screen and the first bullet screen, an association relationship can be established, that is, the second bullet screen is associated with the first bullet screen.
在本公开的一实施例中,用户账号选择的第一弹幕可以有多种可能,例如,作为一示例性实施例,第一弹幕可以是被关联至第三弹幕的弹幕,也即是与第三弹幕关联的第一弹幕,其中第三弹幕区别于上述第二弹幕。此时,第一弹幕可以是评论或引用第三弹幕生成的弹幕,第三弹幕、第一弹幕和第二弹幕之间存在链式关联关系。可见,用户账户可以针对已经存在评论或引用关系的第一弹幕生成具有关联关系的第二弹幕,从而形成多级弹幕,进一步增强 用户所发布弹幕之间的关联性与趣味性。In an embodiment of the present disclosure, the first bullet screen selected by the user account may have various possibilities. For example, as an exemplary embodiment, the first bullet screen may be the bullet screen associated with the third bullet screen, or That is, the first bullet screen associated with the third bullet screen, wherein the third bullet screen is different from the above-mentioned second bullet screen. At this time, the first bullet screen may be a bullet screen generated by commenting on or citing the third bullet screen, and there is a chain relationship among the third bullet screen, the first bullet screen, and the second bullet screen. It can be seen that the user account can generate a second bullet screen with an associated relationship for the first bullet screen that already has a comment or a reference relationship, thereby forming a multi-level bullet screen and further enhancing the relevance and interest of the bullet screen published by the user.
作为另一示例性实施例,第一弹幕也可以是未被关联至所述第三弹幕的弹幕,也即是未与第三弹幕关联的第一弹幕。此时,第一弹幕仅是针对目标作品进行评论的原始弹幕。As another exemplary embodiment, the first bullet screen may also be a bullet screen that is not associated with the third bullet screen, that is, the first bullet screen that is not associated with the third bullet screen. At this time, the first barrage is only the original barrage for commenting on the target work.
针对弹幕之间的关联关系,以第一弹幕和第二弹幕来进行说明,第二弹幕为针对第一弹幕提供的弹幕,比如,第二弹幕为第一弹幕的评论信息,又比如,第二弹幕为引用第一弹幕的弹幕。又比如,第二弹幕为对第一弹幕进行点赞的弹幕。又比如,第二弹幕为转发第一弹幕的弹幕。本公开实施例对该关联关系不作限定。第一弹幕与第三弹幕关联时,关联关系与上述同理,在此不再赘述。Regarding the relationship between the bullet screens, the first bullet screen and the second bullet screen are used to illustrate. The second bullet screen is the bullet screen provided for the first bullet screen. For example, the second bullet screen is the first bullet screen. Comment information, for another example, the second barrage is a barrage that references the first barrage. For another example, the second bullet screen is a bullet screen that likes the first bullet screen. For another example, the second barrage is the barrage that forwards the first barrage. The embodiment of the present disclosure does not limit the association relationship. When the first bullet screen is associated with the third bullet screen, the association relationship is the same as the above, and will not be repeated here.
在本公开的一实施例中,用户账号可以根据第一弹幕的弹幕内容编写相应的第二弹幕的弹幕内容,从而生成评论第一弹幕的第二弹幕;用户账号也可以引用第一弹幕的弹幕内容并添加相应的评论内容,从而生成引用第一弹幕的第二弹幕。另外,为简化用户账号针对第一弹幕的选择操作并让用户账户明确知晓第一弹幕的展示状态,可以由用户账号在目标作品的弹幕展示界面中通过点击等预设操作选中处于展示状态的第一弹幕;当然,也可以由用户账号在目标作品对应的弹幕列表中选中第一弹幕。其中,上述第一弹幕的发布方可以为上述用户账号,也可以为区别于上述用户账号的其他账号。对于第一弹幕的确定方式及其与用户账号之间的关系,本公开并不进行限制。In an embodiment of the present disclosure, the user account can write the corresponding bullet screen content of the second bullet screen according to the bullet screen content of the first bullet screen, so as to generate a second bullet screen commenting on the first bullet screen; the user account can also Quoting the bullet chat content of the first bullet screen and adding the corresponding comment content, so as to generate the second bullet screen referring to the first bullet chat. In addition, in order to simplify the user account selection operation for the first bullet screen and let the user account clearly know the display status of the first bullet screen, the user account can select the display status by clicking and other preset operations in the bullet screen display interface of the target work. The first barrage of the state; of course, the first barrage can also be selected by the user account in the barrage list corresponding to the target work. Wherein, the publisher of the above-mentioned first bullet screen may be the above-mentioned user account, or may be another account different from the above-mentioned user account. The present disclosure does not limit the way of determining the first bullet screen and the relationship between it and the user account.
S104,电子设备发布所述第二弹幕,所述第二弹幕用于与所述第一弹幕关联展示在所述目标作品的弹幕展示界面中。S104, the electronic device publishes the second bullet screen, where the second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen.
在本公开实施例中,可以针对具有关联关系的两个弹幕设置有展示关系,则在关联展示时,可以按照该展示关系对两个弹幕进行关联展示,或者说,关联展示两个弹幕,上述关联展示,以使两个弹幕之间满足预定义的展示关系。其中,所述展示关系为具有关联关系的两个弹幕在展示时的关系。In the embodiment of the present disclosure, a display relationship may be set for two bullet screens with an associated relationship, and during the associated display, the two bullet screens may be displayed in an associated manner according to the display relationship, or in other words, two bullet screens may be displayed in an associated relationship. screen, the above-mentioned related display, so that the two barrage meet the predefined display relationship. Wherein, the display relationship is a relationship between two barrages having an associated relationship when they are displayed.
在本公开的一实施例中,可以根据设定指令,设定上述展示关系,然后将上述展示关系与第二弹幕关联发布,以便于目标作品展示设备根据上述关联关系准确高效的关联展示上述第一弹幕和第二弹幕,进而便于观众用户观看和理解。In an embodiment of the present disclosure, the above-mentioned display relationship can be set according to a setting instruction, and then the above-mentioned display relationship and the second bullet screen are associated and released, so that the target work display device can display the above-mentioned display accurately and efficiently according to the above-mentioned association relationship. The first bullet screen and the second bullet screen are convenient for audience users to watch and understand.
其中,该设定指令可以来自用户账号,也即是电子设备的使用者可以通过在电子设备进行设定操作,以触发设定指令,然后根据该设定指令,设定上述展示关系。The setting instruction may come from a user account, that is, the user of the electronic device can trigger the setting instruction by performing a setting operation on the electronic device, and then set the above-mentioned display relationship according to the setting instruction.
上述展示关系的确定方式可以有多种,作为一示例性实施例,为更充分的满足用户账号的展示意愿,可以获取针对第二弹幕设置的相对于第一弹幕的相对位置关系,将该相对位置关系确定为展示关系。在一些实施例中,该相对位置关系可以由用户账号设置得到,也可以 由相关技术人员根据需求提前设置好,电子设备可以直接从配置文件中获取得到,本公开实施例对此不作限定。There are various ways to determine the above-mentioned display relationship. As an exemplary embodiment, in order to more fully satisfy the display willingness of the user account, the relative positional relationship set for the second barrage with respect to the first barrage can be obtained, and the The relative positional relationship is determined as a presentation relationship. In some embodiments, the relative positional relationship can be obtained by setting the user account, or can be set in advance by the relevant technical personnel according to the requirements, and the electronic device can be obtained directly from the configuration file, which is not limited in the embodiments of the present disclosure.
作为另一示例性实施例,也可以设置第二弹幕与第一弹幕的展示属性相同,并将相应的展示属性关系确定为所展示关系,以保证第二弹幕的与第一弹幕的展示效果的一致性。也即是,可以设置展示属性关系,所述展示属性关系为所述第二弹幕与所述第一弹幕的展示属性相同,然后将所述展示属性关系确定为所述展示关系。As another exemplary embodiment, it is also possible to set the display attributes of the second bullet screen and the first bullet screen to be the same, and determine the corresponding display attribute relationship as the displayed relationship, so as to ensure that the second bullet screen is the same as the first bullet screen. The consistency of the display effect. That is, a display attribute relationship may be set, and the display attribute relationship is that the display attributes of the second bullet screen and the first bullet screen are the same, and then the display attribute relationship is determined as the display relationship.
在一些实施例中,该展示属性关系可以由用户账号设置得到,也可以由相关技术人员根据需求提前设置好,电子设备可以直接从配置文件中获取得到,本公开实施例对此不作限定。In some embodiments, the display attribute relationship may be set by the user account, or may be set in advance by relevant technical personnel according to requirements, and the electronic device may be obtained directly from the configuration file, which is not limited in this embodiment of the present disclosure.
作为又一示例性实施例,还可以获取设置的第二弹幕相对于第一弹幕的标识引用关系,将该标识引用关系确定为展示关系,从而便于通过弹幕标识的方式展示第一弹幕与第二弹幕之间的关联关系。As another exemplary embodiment, the set identification reference relationship of the second bullet screen relative to the first bullet screen can also be obtained, and the identification reference relationship can be determined as the display relationship, so as to facilitate the display of the first bullet screen by means of the bullet screen identification. The relationship between the screen and the second barrage.
在一些实施例中,该相对位置关系可以由用户账号设置得到,也可以由相关技术人员根据需求提前设置好,电子设备可以直接从配置文件中获取得到,本公开实施例对此不作限定。In some embodiments, the relative position relationship may be set by a user account, or may be set in advance by a relevant technical person according to requirements, and the electronic device may be obtained directly from a configuration file, which is not limited in this embodiment of the present disclosure.
在本公开的一实施例中,在发布第二弹幕之前,可以基于上述展示关系和第一弹幕的第一展示位置,确定第二弹幕的第二展示位置,然后响应于第二展示位置位于弹幕展示界面之外,提示调整上述展示关系或者自动调整展示关系,以使第二展示位置被调整至弹幕展示界面内。In an embodiment of the present disclosure, before releasing the second bullet screen, the second display position of the second bullet screen can be determined based on the above-mentioned display relationship and the first display position of the first bullet screen, and then in response to the second presentation If the position is outside the bullet screen display interface, it is prompted to adjust the above display relationship or automatically adjust the display relationship, so that the second display position is adjusted to the bullet screen display interface.
在一些实施例中,该提示过程可以提示发布方账号,在该第二弹幕由电子设备发布时,该发布方账号也即是上述电子设备所登录的用户账号。In some embodiments, the prompting process may prompt the account of the publisher. When the second bullet screen is published by the electronic device, the account of the publisher is the user account logged in by the electronic device.
在发布第二弹幕之前,预先判断第二弹幕的第二展示位置是否位于目标作品的弹幕展示界面中,并在第二展示位置位于弹幕展示界面之外时自动或提醒用户账号进行相应调整,从而保证了第二弹幕的实际展示位置位于弹幕展示界面中,避免了第二弹幕无法展示在弹幕展示界面中产生的无效发布,保证了第二弹幕的可靠展示。Before publishing the second bullet screen, pre-determine whether the second display position of the second bullet screen is located in the bullet screen display interface of the target work, and automatically or remind the user account to perform the operation when the second display position is outside the bullet screen display interface. Corresponding adjustment ensures that the actual display position of the second bullet screen is located in the bullet screen display interface, avoids the invalid release caused by the second bullet screen being unable to be displayed in the bullet screen display interface, and ensures the reliable display of the second bullet screen.
例如,展示关系指示第二弹幕显示于第一弹幕的下方区域内,但在确定第二弹幕的第二展示位置时,发现位于弹幕展示界面之外,则可以自动对展示关系进行调整,使得调整后的展示关系指示该第二弹幕位于第一弹幕的上方区域内。For example, the display relationship indicates that the second bullet screen is displayed in the lower area of the first bullet screen, but when the second display position of the second bullet screen is determined, it is found outside the bullet screen display interface, the display relationship can be automatically displayed. Adjust so that the adjusted display relationship indicates that the second bullet screen is located in the upper area of the first bullet screen.
当然,还有一种可能结果,就是确定出的第二展示位置位于弹幕展示界面中,则无需进行上述调整步骤。Of course, there is another possible result, that is, the determined second display position is located in the barrage display interface, and the above adjustment steps are not required.
在本公开的一实施例中,在确定第二弹幕后,可以提供关于第二弹幕和第一弹幕关联展示效果的预览内容。该提供过程可以为提供给用户账号,这样用户账号根据该预览内容预先 第二弹幕和第一弹幕的关联展示效果,从而对展示效果进行适当调整或确认发布,进一步保证了第二弹幕的展示效果。In an embodiment of the present disclosure, after the second bullet screen is determined, preview content about the associated display effect of the second bullet screen and the first bullet screen may be provided. The providing process can be provided to the user account, so that the user account can preview the associated display effect of the second bullet screen and the first bullet screen according to the preview content, so as to appropriately adjust the display effect or confirm the release, and further ensure the second bullet screen. display effect.
在一些实施例中,该提供步骤可以为显示步骤,比如,在确定第二弹幕后,可以在弹幕展示界面中显示第二弹幕和第一弹幕关联展示效果的预览内容。In some embodiments, the providing step may be a displaying step. For example, after the second bullet screen is determined, preview content of the display effect associated with the second bullet screen and the first bullet screen may be displayed in the bullet screen display interface.
根据本公开的上述实施例,用户账号可以通过评论或引用等方式提供并发布与第一弹幕相关联的第二弹幕,以便在目标作品对应的任一播放设备的弹幕展示界面中关联展示该第二弹幕其与第一弹幕。对于目标作品的第一弹幕,任一用户账号不仅可以发布关于该弹幕的第二弹幕以实现弹幕之间的评论或交互;而且能够保证该第二弹幕在任一播放设备中被与第一弹幕关联展示,从而更便于观众用户理解弹幕之间的语义关系,实现了更丰富的弹幕发布和展示方式,使得弹幕显示更加直观、清晰,有效提高了弹幕显示的显示效果。According to the above embodiments of the present disclosure, the user account can provide and publish the second bullet screen associated with the first bullet screen through comments or references, so as to be associated in the bullet screen display interface of any playback device corresponding to the target work Show the second bullet chat and the first bullet chat. For the first barrage of the target work, any user account can not only publish the second barrage about the barrage to realize comments or interactions between barrages; it can also ensure that the second barrage is displayed on any playback device. It is displayed in association with the first bullet screen, which makes it easier for viewers and users to understand the semantic relationship between the bullet screens, realizes a richer bullet screen release and display methods, makes the bullet screen display more intuitive and clear, and effectively improves the bullet screen display. display effect.
在本公开的一实施例中,提供了一种弹幕展示方法,该方法包括:获取目标作品的第一弹幕以及被关联至所述第一弹幕的第二弹幕;在所述目标作品的弹幕展示界面中关联展示所述第二弹幕和所述第一弹幕,以使所述第二弹幕与所述第一弹幕之间满足预定义的展示关系。In an embodiment of the present disclosure, a method for displaying a bullet screen is provided. The method includes: acquiring a first bullet screen of a target work and a second bullet screen associated with the first bullet screen; In the bullet screen display interface of the work, the second bullet screen and the first bullet screen are displayed in association, so that a predefined display relationship is satisfied between the second bullet screen and the first bullet screen.
在一些实施例中,所述关联展示所述第二弹幕和所述第一弹幕,包括:在所述展示关系包括相对位置关系的情况下,在所述第一弹幕的预设相对位置处展示所述第二弹幕。In some embodiments, the associating display of the second bullet screen and the first bullet screen includes: in the case that the display relationship includes a relative positional relationship, in a preset relative position of the first bullet screen The second bullet screen is displayed at the location.
在一些实施例中,所述在所述第一弹幕的预设相对位置处展示所述第二弹幕,包括:将所述第二弹幕展示在所述第一弹幕的静态相对位置处或动态相对位置处。In some embodiments, displaying the second bullet screen at a preset relative position of the first bullet screen includes: displaying the second bullet screen at a static relative position of the first bullet screen or dynamic relative position.
在一些实施例中,所述关联展示所述第二弹幕和所述第一弹幕,包括:在所述展示关系包括展示属性关系的情况下,按照与所述第一弹幕相同的展示属性展示所述第二弹幕。In some embodiments, the associatively displaying the second bullet screen and the first bullet screen includes: in the case that the presentation relationship includes a presentation attribute relationship, performing the same presentation as the first bullet screen The attribute displays the second barrage.
在一些实施例中,所述展示属性包括下述至少之一:弹幕颜色、弹幕移动速度、弹幕字体格式。In some embodiments, the display attribute includes at least one of the following: a bullet screen color, a bullet screen moving speed, and a bullet screen font format.
在一些实施例中,所述关联展示所述第二弹幕和所述第一弹幕,包括:在所述展示关系包括标识引用关系的情况下,在所述第二弹幕的展示区域中展示与所述第一弹幕相关的关联标识或关联关键词。In some embodiments, the associating display of the second bullet screen and the first bullet screen includes: in the case that the display relationship includes an identification reference relationship, in a display area of the second bullet screen The associated identifier or associated keyword related to the first bullet screen is displayed.
在一些实施例中,所述第一弹幕,包括:被关联至第三弹幕的弹幕,所述第三弹幕区别于所述第二弹幕;或者,未被关联至所述第三弹幕的弹幕。In some embodiments, the first bullet screen includes: a bullet screen associated with a third bullet screen, the third bullet screen is different from the second bullet screen; or, not associated with the first bullet screen Three barrages of barrage.
在一些实施例中,所述关联展示所述第二弹幕和所述第一弹幕,包括:在弹幕筛除功能被开启的情况下,仅展示未被关联至第三弹幕的所述第一弹幕;在弹幕筛除功能未开启的情况下,展示所有的第一弹幕和相应的第二弹幕。In some embodiments, the associating display of the second bullet screen and the first bullet screen includes: in the case that the bullet screen screening function is enabled, only displaying all the bullet screens that are not associated with the third bullet screen. The first barrage is described; if the barrage screening function is not enabled, all the first barrage and the corresponding second barrage are displayed.
在一些实施例中,所述关联展示所述第二弹幕和所述第一弹幕,包括:根据所述展示关 系和所述第一弹幕的第一展示位置确定所述第二弹幕的第二展示位置;若所述第二展示位置位于所述弹幕展示界面之外,则调整所述展示关系和/或调整所述第一展示位置,以使所述第二展示位置位于所述弹幕展示界面内;根据调整后的第二展示位置关联展示所述第二弹幕和所述第一弹幕。In some embodiments, the associating display of the second bullet screen and the first bullet screen includes: determining the second bullet screen according to the display relationship and a first display position of the first bullet screen the second display position; if the second display position is located outside the bullet chat display interface, adjust the display relationship and/or adjust the first display position so that the second display position is located in the In the barrage display interface; the second barrage and the first barrage are displayed in association according to the adjusted second display position.
在一些实施例中,所述关联展示所述第二弹幕和所述第一弹幕,包括:在弹幕简化功能被开启的情况下,以缩略模式展示所述第二弹幕和/或所述第一弹幕,所述缩略模式下仅展示弹幕关键词;在所述弹幕简化功能未开启的情况下,以详情模式展示第一弹幕和第二弹幕,所述详情模式下展示弹幕的全部内容;在接收到针对任一弹幕的触发操作的情况下,将所述任一弹幕的展示模式在所述缩略模式和详情模式之间切换。In some embodiments, the associatively displaying the second bullet screen and the first bullet screen includes: when the bullet screen simplification function is enabled, displaying the second bullet screen and/or in a thumbnail mode Or for the first bullet screen, only the bullet screen keywords are displayed in the abbreviated mode; in the case where the bullet screen simplified function is not enabled, the first bullet screen and the second bullet screen are displayed in the detailed mode. Display the entire content of the bullet screen in the detail mode; in the case of receiving a trigger operation for any bullet screen, switch the display mode of the any bullet screen between the abbreviated mode and the detailed mode.
在一些实施例中,还包括:在所述第一弹幕存在多个相关联的第二弹幕的情况下,计算关联至所述第一弹幕的各个第二弹幕之间的相似度;对相似度大于预设阈值的第二弹幕进行合并处理。In some embodiments, the method further includes: in the case that there are multiple associated second barrages in the first barrage, calculating the similarity between the second barrages associated with the first barrage ; Combine the second bullet screens with a similarity greater than the preset threshold.
在一些实施例中,所述展示关系的设定方式包括下述至少之一:由所述目标作品的发布方设定、由所述第一弹幕的发布方设定、由所述第二弹幕的发布方设定、根据系统预设参数设定。In some embodiments, the setting manner of the display relationship includes at least one of the following: set by the publisher of the target work, set by the publisher of the first bullet screen, set by the second bullet screen The publisher setting of the barrage is set according to the system default parameters.
图2是根据本公开的实施例示出的一种弹幕发布方法流程图;该方法应用于客户端。FIG. 2 is a flowchart of a method for publishing a bullet screen according to an embodiment of the present disclosure; the method is applied to a client.
如图2所示,以执行主体为电子设备为例,该方法可以包括:As shown in Figure 2, taking the execution subject as an electronic device as an example, the method may include:
S202,电子设备获取目标作品的第一弹幕以及第二弹幕,所述第二弹幕与所述第一弹幕关联。S202, the electronic device acquires a first bullet screen and a second bullet screen of the target work, where the second bullet screen is associated with the first bullet screen.
该第二弹幕与第一弹幕关联,这种关联关系可以体现为该第二弹幕是针对目标作品的第一弹幕提供的。The second barrage is associated with the first barrage, and this association can be embodied in that the second barrage is provided for the first barrage of the target work.
其中,该第二弹幕可以是由用户账号针对第一弹幕提供的,该用户账号可以为电子设备所登录的账号。针对该第二弹幕和第一弹幕,可以建立关联关系,也即是第二弹幕与第一弹幕关联。Wherein, the second bullet screen may be provided by a user account for the first bullet screen, and the user account may be an account logged in by the electronic device. For the second bullet screen and the first bullet screen, an association relationship can be established, that is, the second bullet screen is associated with the first bullet screen.
针对弹幕之间的关联关系,以第一弹幕和第二弹幕来进行说明,第二弹幕为针对第一弹幕提供的弹幕,比如,第二弹幕为第一弹幕的评论信息,又比如,第二弹幕为引用第一弹幕的弹幕。又比如,第二弹幕为对第一弹幕进行点赞的弹幕。又比如,第二弹幕为转发第一弹幕的弹幕。本公开实施例对该关联关系不作限定。第一弹幕与第三弹幕关联时,关联关系与上述同理,在此不再赘述。Regarding the relationship between the bullet screens, the first bullet screen and the second bullet screen are used to illustrate. The second bullet screen is the bullet screen provided for the first bullet screen. For example, the second bullet screen is the first bullet screen. Comment information, for another example, the second barrage is a barrage that references the first barrage. For another example, the second bullet screen is a bullet screen that likes the first bullet screen. For another example, the second barrage is the barrage that forwards the first barrage. The embodiment of the present disclosure does not limit the association relationship. When the first bullet screen is associated with the third bullet screen, the association relationship is the same as the above, and will not be repeated here.
在本公开的一实施例中,客户端在播放目标作品时,可以在目标作品的弹幕展示界面展示其对应的弹幕,其中,弹幕展示界面可以与目标作品的播放界面重合,即在播放界面中将弹幕展示在目标作品对应的画面上方,也可以展示在画面中某些对象和画面背景之间,例如在视频形式的目标作品的播放界面中展示弹幕。弹幕展示界面可以与目标作品的播放界面相分离,即在播放界面之外单独展示弹幕,例如对于音乐形式的目标作品,其播放界面仅包含简单的播放状体显示,而将其相关弹幕展示在独立于播放界面的弹幕展示界面中。In an embodiment of the present disclosure, when playing a target work, the client can display its corresponding bullet screen on the bullet screen display interface of the target work, wherein the bullet screen display interface can overlap with the playback interface of the target work, that is, in In the playback interface, the bullet screen is displayed above the screen corresponding to the target work, and it can also be displayed between some objects in the screen and the screen background, for example, the bullet screen is displayed in the playback interface of the target work in the form of video. The bullet screen display interface can be separated from the playback interface of the target work, that is, the bullet screen is displayed separately outside the playback interface. For example, for the target work in the form of music, the playback interface only includes a simple playback body display, and the related bullet screens are displayed. The screen is displayed in the bullet screen display interface independent of the playback interface.
在本公开的一实施例中,客户端可以在从服务器获取上述目标作品时,关联获取包含第一弹幕和第二弹幕的弹幕文件;也可以在从服务器获取上述目标作品后,根据目标作品的作品名称、作品标识等作品信息其对应的获取包含第一弹幕和第二弹幕的弹幕文件;还可以在获取第一弹幕和展示关系后,根据展示关系确定相应的第二弹幕。本公开对于客户端获取第一弹幕和第二弹幕的具体方式并不进行限制。该展示关系可以为预定义的,也可以为用户账号自行设置的,本公开实施例对此不作限定。In an embodiment of the present disclosure, when acquiring the above-mentioned target work from the server, the client can associate and acquire the bullet screen file including the first bullet screen and the second bullet screen; or after acquiring the above-mentioned target work from the server, according to The corresponding work information such as the work name and work identification of the target work can obtain the bullet screen file containing the first bullet screen and the second bullet screen; it is also possible to determine the corresponding first bullet screen according to the display relationship after obtaining the first bullet screen and the display relationship. Second barrage. The present disclosure does not limit the specific manner in which the client obtains the first bullet screen and the second bullet screen. The display relationship may be predefined, or may be set by the user account, which is not limited in this embodiment of the present disclosure.
S204,电子设备在所述目标作品的弹幕展示界面中关联展示所述第二弹幕和所述第一弹幕。S204, the electronic device displays the second bullet screen and the first bullet screen in association on the bullet screen display interface of the target work.
在本公开实施例中,可以针对具有关联关系的两个弹幕设置有展示关系,则在关联展示时,可以按照该展示关系对两个弹幕进行关联展示,或者说,关联展示两个弹幕,上述关联展示,以使两个弹幕之间满足预定义的展示关系。其中,所述展示关系为具有关联关系的两个弹幕在展示时的关系。In the embodiment of the present disclosure, a display relationship may be set for two bullet screens with an associated relationship, and during the associated display, the two bullet screens may be displayed in an associated manner according to the display relationship, or in other words, two bullet screens may be displayed in an associated relationship. screen, the above-mentioned related display, so that the two barrage meet the predefined display relationship. Wherein, the display relationship is a relationship between two barrages having an associated relationship when they are displayed.
在本公开的一实施例中,上述展示关系可以具有多种设定方式,例如,上述展示关系可以由目标作品的发布方设定,以便第二弹幕的展示方式更加符合目标作品的发布方对作品类型、风格、播放效果等的预期。上述展示关系也可以由第一弹幕的发布方设定,以便第二弹幕的展示效果更加匹配于第一弹幕的展示效果,从而便于体现第一弹幕和第二弹幕之间的关联关系。上述展示关系也可以第二弹幕的发布方设定,以便第二弹幕的展示效果更加符合自身发布方的意愿。当然,上述展示关系也可以根据系统预设参数设定,此时,服务器或客户端根据系统预设参数自动设定第一弹幕和第二弹幕之间的展示关系,不仅简化了弹幕发布者的发布操作,而且保证了展示关系的高效设定以及弹幕展示效果的统一,从而不仅提高了弹幕发布效率而且降低了弹幕观众用户对弹幕展示关系的学习成本,有助于提升用户体验。In an embodiment of the present disclosure, the above-mentioned display relationship can be set in various ways. For example, the above-mentioned display relationship can be set by the publisher of the target work, so that the display mode of the second bullet screen is more in line with the publisher of the target work. Expectations for the type of work, style, playback effects, etc. The above-mentioned display relationship can also be set by the publisher of the first bullet screen, so that the display effect of the second bullet screen is more matched with the display effect of the first bullet screen, so that it is convenient to reflect the relationship between the first bullet screen and the second bullet screen. connection relation. The above-mentioned display relationship can also be set by the publisher of the second bullet screen, so that the display effect of the second bullet screen is more in line with the wishes of the publisher. Of course, the above display relationship can also be set according to the system preset parameters. At this time, the server or client automatically sets the display relationship between the first bullet screen and the second bullet screen according to the system preset parameters, which not only simplifies the bullet screen The publishing operation of the publisher also ensures the efficient setting of the display relationship and the unification of the bullet screen display effect, which not only improves the bullet screen publishing efficiency but also reduces the learning cost of the bullet screen audience users on the bullet screen display relationship, which is helpful to Improve user experience.
在本公开的一实施例中,第二弹幕和第二弹幕的关联展示方式可以包括多种。作为一示例性实施例,可以在第一弹幕的预设相对位置处展示第二弹幕。其中,上述相对位置关系包括静态相对位置关系和动态相对位置关系,相应的,可以将第二弹幕展示在第一弹幕的静态 相对位置处或者动态相对位置处,例如,上述静态相对位置处可以包括第一弹幕的正上方、正下方、左上方、右下方或者其他自定义位置处等;上述动态相对位置处可以包括第一弹幕的周围,此时第二弹幕可以围绕第一弹幕连续旋转展示或剪短闪现展示。此时,按照与第一弹幕之间的相对位置关系确定第二弹幕的展示位置,不仅保证了第二弹幕展示位置的确定速度,而且保证了弹幕展示界面内所展示弹幕的位置有序。In an embodiment of the present disclosure, the second bullet screen and the associated display manner of the second bullet screen may include various manners. As an exemplary embodiment, the second bullet screen may be displayed at a preset relative position of the first bullet screen. The above-mentioned relative positional relationship includes a static relative positional relationship and a dynamic relative positional relationship. Correspondingly, the second bullet screen can be displayed at a static relative position or a dynamic relative position of the first bullet screen, for example, at the above-mentioned static relative position It can include directly above, directly below, upper left, lower right or other custom positions of the first bullet screen; the above dynamic relative position can include the surrounding of the first bullet screen, and the second bullet screen can surround the first bullet screen. The barrage is displayed in continuous rotation or shortened and flashed. At this time, the display position of the second bullet screen is determined according to the relative positional relationship with the first bullet screen, which not only ensures the determination speed of the display position of the second bullet screen, but also ensures the display position of the bullet screen displayed in the bullet screen display interface. The location is in order.
作为另一示例性实施例,可以按照目标展示属性,展示所述第二弹幕,所述目标展示属性与所述第一弹幕的展示属性相同,以保证第二弹幕的展示效果与第一弹幕的展示效果一致,来体现二者的关联关系。其中,上述展示属性可以包括弹幕颜色、弹幕移动速度、弹幕字体格式等的一个或多个,不同的展示属性便于实现多样化的弹幕展示方式,而通过设置第二弹幕的展示属性与第一弹幕相同,便于在展示时突出第二弹幕与第一弹幕之间的关联关系。As another exemplary embodiment, the second bullet screen may be displayed according to the target display attribute, and the target display attribute is the same as the display attribute of the first bullet screen, so as to ensure that the display effect of the second bullet screen is the same as that of the first bullet screen. The display effect of a barrage is the same to reflect the relationship between the two. Among them, the above display attributes may include one or more of the bullet screen color, the bullet screen moving speed, the bullet screen font format, etc. Different display attributes are convenient to realize a variety of bullet screen display methods, and by setting the display of the second bullet screen The attributes are the same as those of the first bullet screen, which is convenient for highlighting the relationship between the second bullet screen and the first bullet screen during display.
作为又一示例性实施例,可以在第二弹幕的展示区域中展示与第一弹幕相关的关联标识或关联关键词。例如,在第二弹幕的弹幕内容中添加“【】”等标识包含的第一弹幕的弹幕关键词,或者在第二弹幕的右上角添加圆形关联标识等,以便于明确表示第二弹幕与第一弹幕之间的关联关系。As yet another exemplary embodiment, the associated identifier or associated keyword related to the first bullet screen may be displayed in the display area of the second bullet screen. For example, add "[]" to the bullet chat content of the second bullet screen to identify the bullet screen keywords of the first bullet screen, or add a circular associated logo in the upper right corner of the second bullet screen, so as to make it clear Indicates the relationship between the second bullet screen and the first bullet screen.
在本公开的一实施例中,在关联展示基于展示关系来确定的实施例中,根据展示关系的不同,第二弹幕和第二弹幕的关联展示方式也有所不同。作为一示例性实施例,响应于展示关系包括相对位置关系,可以在第一弹幕的预设相对位置处展示第二弹幕。其中,上述相对位置关系包括静态相对位置关系和动态相对位置关系,相应的,可以将第二弹幕展示在第一弹幕的静态相对位置处或者动态相对位置处,例如,上述静态相对位置处可以包括第一弹幕的正上方、正下方、左上方、右下方或者其他自定义位置处等;上述动态相对位置处可以包括第一弹幕的周围,此时第二弹幕可以围绕第一弹幕连续旋转展示或剪短闪现展示。此时,按照与第一弹幕之间的相对位置关系确定第二弹幕的展示位置,不仅保证了第二弹幕展示位置的确定速度,而且保证了弹幕展示界面内所展示弹幕的位置有序。In an embodiment of the present disclosure, in the embodiment in which the associated presentation is determined based on the presentation relationship, the second bullet screen and the associated presentation manner of the second bullet screen are also different according to different presentation relationships. As an exemplary embodiment, in response to the display relationship including the relative position relationship, the second bullet screen may be displayed at a preset relative position of the first bullet screen. The above-mentioned relative positional relationship includes a static relative positional relationship and a dynamic relative positional relationship. Correspondingly, the second bullet screen can be displayed at a static relative position or a dynamic relative position of the first bullet screen, for example, at the above-mentioned static relative position It can include directly above, directly below, upper left, lower right or other custom positions of the first bullet screen; the above dynamic relative position can include the surrounding of the first bullet screen, and the second bullet screen can surround the first bullet screen. The barrage is displayed in continuous rotation or shortened and flashed. At this time, the display position of the second bullet screen is determined according to the relative positional relationship with the first bullet screen, which not only ensures the determination speed of the display position of the second bullet screen, but also ensures the display position of the bullet screen displayed in the bullet screen display interface. The location is in order.
作为另一示例性实施例,响应于展示关系包括展示属性关系,可以按照与第一弹幕相同的展示属性展示第二弹幕,即将第二弹幕的展示属性设置为与第一属性相同,以保证第二弹幕的展示效果与第一弹幕的展示效果一致。其中,上述展示属性可以包括弹幕颜色、弹幕移动速度、弹幕字体格式等的一个或多个,不同的展示属性便于实现多样化的弹幕展示方式,而通过设置第二弹幕的展示属性与第一弹幕相同,便于在展示时突出第二弹幕与第一弹幕之间的关联关系。As another exemplary embodiment, in response to the display relationship including the display attribute relationship, the second bullet screen may be displayed according to the same display attribute as the first bullet screen, that is, the display attribute of the second bullet screen is set to be the same as the first attribute, In order to ensure that the display effect of the second bullet screen is consistent with the display effect of the first bullet screen. Among them, the above display attributes may include one or more of the bullet screen color, the bullet screen moving speed, the bullet screen font format, etc. Different display attributes are convenient to realize a variety of bullet screen display methods, and by setting the display of the second bullet screen The attributes are the same as those of the first bullet screen, which is convenient for highlighting the relationship between the second bullet screen and the first bullet screen during display.
作为又一示例性实施例,响应于展示关系包括标识引用关系,可以在第二弹幕的展示区 域中展示与第一弹幕相关的关联标识或关联关键词。例如,在第二弹幕的弹幕内容中添加“【】”等标识包含的第一弹幕的弹幕关键词,或者在第二弹幕的右上角添加圆形关联标识等,以便于明确表示第二弹幕与第一弹幕之间的关联关系。As a further exemplary embodiment, in response to the display relationship including the identification reference relationship, the associated identifier or associated keyword related to the first bullet screen may be displayed in the display area of the second bullet screen. For example, add "[]" to the bullet chat content of the second bullet screen to identify the bullet screen keywords of the first bullet screen, or add a circular associated logo in the upper right corner of the second bullet screen, so as to make it clear Indicates the relationship between the second bullet screen and the first bullet screen.
在本公开的一实施例中,用户账号选择的第一弹幕可以有多种可能,例如,作为一示例性实施例,第一弹幕可以是被关联至第三弹幕的弹幕,也即是与第三弹幕关联的第一弹幕。其中第三弹幕区别于上述第二弹幕。此时,第一弹幕可以是评论或引用第三弹幕生成的弹幕,第三弹幕、第一弹幕和第二弹幕之间存在链式关联关系。可见,用户账户可以针对已经存在评论或引用关系的第一弹幕生成具有关联关系的第二弹幕,从而形成多级弹幕,进一步增强用户所发布弹幕之间的关联性与趣味性。In an embodiment of the present disclosure, the first bullet screen selected by the user account may have various possibilities. For example, as an exemplary embodiment, the first bullet screen may be the bullet screen associated with the third bullet screen, or That is, the first barrage associated with the third barrage. The third barrage is different from the second barrage above. At this time, the first bullet screen may be a bullet screen generated by commenting on or citing the third bullet screen, and there is a chain relationship among the third bullet screen, the first bullet screen, and the second bullet screen. It can be seen that the user account can generate a second bullet screen with an associated relationship for the first bullet screen that already has a comment or a reference relationship, thereby forming a multi-level bullet screen and further enhancing the relevance and interest of the bullet screen published by the user.
作为另一示例性实施例,第一弹幕也可以是未被关联至所述第三弹幕的弹幕,也即是未与第三弹幕关联的第一弹幕。此时,第一弹幕仅是针对目标作品进行评论的原始弹幕。As another exemplary embodiment, the first bullet screen may also be a bullet screen that is not associated with the third bullet screen, that is, the first bullet screen that is not associated with the third bullet screen. At this time, the first barrage is only the original barrage for commenting on the target work.
在一些实施例中,在展示弹幕时可以设置弹幕筛除功能,在该弹幕筛除功能开启和未开启时,弹幕展示范围可能有所不同。在对第一弹幕和第二弹幕进行关联展示时,响应于弹幕筛除功能被开启,可以仅展示未与所述第三弹幕关联的所述第一弹幕;响应于弹幕筛除功能未开启,关联展示所有的第一弹幕和相应的第二弹幕。通过提供弹幕筛除功能,不仅能够在弹幕展示界面中当前展示弹幕较少的情况下,通过关闭弹幕筛除功能展示全部弹幕,而且在弹幕展示界面中当前展示弹幕较多的情况下,能够通过打开弹幕筛除功能筛除第二弹幕,仅展示不存在关联关系的第一弹幕,避免了弹幕内容对目标作品画面的遮挡。In some embodiments, a bullet screen screening function can be set when the bullet screen is displayed, and the bullet screen display range may be different when the bullet screen screening function is turned on and not turned on. When displaying the first bullet screen and the second bullet screen in association, in response to the bullet screen screening function being turned on, only the first bullet screen that is not associated with the third bullet screen may be displayed; in response to the bullet screen The screening function is not turned on, and all the first barrage and the corresponding second barrage are displayed in association. By providing the bullet screen screening function, it is not only possible to display all the bullet screen by turning off the bullet screen screening function when there are few bullet screens currently displayed in the bullet screen display interface, but also the currently displayed bullet screen in the bullet screen display interface is relatively small. In many cases, the second bullet screen can be screened out by turning on the bullet screen screening function, and only the first bullet screen without an associated relationship can be displayed, avoiding the blockage of the bullet screen content on the screen of the target work.
在本公开的一实施例中,在展示弹幕时可以设置弹幕简化功能。响应于弹幕简化功能被开启,关联展示所述第二弹幕的弹幕关键词和所述第一弹幕的弹幕关键词;响应于所述弹幕简化功能未开启,关联展示第一弹幕和第二弹幕。In an embodiment of the present disclosure, a bullet screen simplification function can be set when the bullet screen is displayed. In response to the bullet screen simplification function being turned on, the bullet screen keywords of the second bullet screen and the bullet screen keywords of the first bullet screen are displayed in association; Barrage and second barrage.
在一些实施例中,可以响应于针对任一弹幕的触发操作,在展示所述弹幕的弹幕关键词和展示所述弹幕之间切换。In some embodiments, in response to a triggering operation for any bullet screen, switching between displaying the bullet screen keywords of the bullet screen and displaying the bullet screen can be performed.
下面为弹幕简化功能设置两种展示模式:缩略模式和详情模式。其中,缩略模式下仅展示弹幕关键词;详情模式下展示弹幕的全部内容。响应于弹幕简化功能被开启,以缩略模式展示第二弹幕和/或第一弹幕,响应于弹幕简化功能未开启,以详情模式展示第一弹幕和第二弹幕。The following two display modes are set for the barrage simplification function: abbreviated mode and detailed mode. Among them, only the bullet screen keywords are displayed in the abbreviated mode; the entire content of the bullet screen is displayed in the detailed mode. In response to the bullet screen simplification function being turned on, the second bullet screen and/or the first bullet screen are displayed in abbreviated mode, and in response to the bullet screen simplification function not being turned on, the first bullet screen and the second bullet screen are displayed in detail mode.
在一些实施例中,响应于接收到针对任一弹幕的触发操作,可以将该弹幕的展示模式在上述缩略模式和详情模式之间切换。通过提供弹幕简化功能,不仅能够在弹幕展示界面中当前展示弹幕较少的情况下,通过关闭弹幕简化功能展示弹幕的全部内容,而且在弹幕展示界 面中当前展示弹幕较多的情况下,能够通过打开弹幕简化功能仅展示弹幕关键词,从而尽量减少弹幕中非关键词对弹幕展示界面的占用,进一步避免了弹幕内容对目标作品画面的遮挡。In some embodiments, in response to receiving a trigger operation for any bullet screen, the presentation mode of the bullet screen can be switched between the above-mentioned abbreviated mode and detailed mode. By providing the bullet screen simplification function, it is not only possible to display the entire content of the bullet screen by turning off the bullet screen simplification function when there are fewer bullet screens currently displayed in the bullet screen display interface, but also the currently displayed bullet screen in the bullet screen display interface is relatively small. In many cases, only the bullet screen keywords can be displayed by turning on the bullet screen simplification function, so as to minimize the occupation of the bullet screen display interface by non-keywords in the bullet screen, and further avoid the occlusion of the bullet screen content on the screen of the target work.
上述弹幕筛除功能和弹幕简化功能均可以根据弹幕展示界面中的当前弹幕数量或当前弹幕展示区域占弹幕展示界面的面积百分比自动打开或关闭,以便根据当前弹幕展示界面的弹幕展示情况自动调整弹幕展示状态,从而在实现更好的弹幕展示效果的同时保证了观众用户的观看体验。上述弹幕筛除功能和弹幕简化功能也可以提供给观众用户(客户端对应的观众用户账号),以便观众用户根据当前弹幕展示情况自定义选择打开或关系上述功能,从而实现个性化的功能选择,有助于提高在当前弹幕较多情况下观众用户的弹幕观看体验。Both the above-mentioned bullet screen screening function and bullet screen simplification function can be automatically turned on or off according to the current number of bullet screens in the bullet screen display interface or the percentage of the current bullet screen display area in the bullet screen display interface, so that the current bullet screen display interface can be automatically turned on or off. The display status of the bullet screen automatically adjusts the status of the bullet screen display, so as to achieve a better bullet screen display effect and ensure the viewing experience of the audience and users. The above-mentioned bullet screen screening function and bullet screen simplification function can also be provided to the audience user (the audience user account corresponding to the client), so that the audience user can choose to open or relate the above functions according to the current bullet screen display situation, so as to realize personalized customization. The function selection helps to improve the bullet screen viewing experience of audience users when there are currently many bullet screens.
在本公开的一实施例中,可以基于上述展示关系和第一弹幕的第一展示位置,确定第二弹幕的第二展示位置;响应于第二展示位置位于弹幕展示界面之外,则调整展示关系或调整第一展示位置中的至少一项,以使第二展示位置位于弹幕展示界面内;然后分别在调整后的第二展示位置和所述第一展示位置上,展示所述第二弹幕和所述第一弹幕。通过上述调整,保证了第二弹幕被展示准确展示在弹幕展示界面中。In an embodiment of the present disclosure, the second display position of the second bullet screen may be determined based on the above-mentioned display relationship and the first display position of the first bullet screen; in response to the second display position being outside the bullet screen display interface, Then adjust at least one of the display relationship or the first display position, so that the second display position is located in the bullet chat display interface; then on the adjusted second display position and the first display position, respectively, display the The second barrage and the first barrage. Through the above adjustment, it is ensured that the second bullet screen is displayed accurately in the bullet screen display interface.
在本公开的一实施例中,可以在第一弹幕存在多个相关联的第二弹幕的情况下,计算关联至第一弹幕的各个第二弹幕之间的相似度;并对相似度大于预设阈值的第二弹幕进行合并处理。也即是,响应于所述第二弹幕的数量为多个,获取多个第二弹幕之间的相似度;对所述相似度大于阈值的至少两个第二弹幕进行合并处理。实际上,也可以计算(即将在同一时刻展示在)同一弹幕展示界面中的任意多个弹幕之间的相似度,然后将相似度阈值大于阈值的多个弹幕进行合并处理,以避免同一时刻弹幕展示界面出现大量同质化弹幕带来的界面遮挡和用户体现下降。In an embodiment of the present disclosure, when there are multiple associated second bullet screens in the first bullet screen, the similarity between the second bullet screens associated with the first bullet screen can be calculated; and The second bullet screens with a similarity greater than the preset threshold are merged. That is, in response to the number of the second bullet screens being multiple, the similarity between the plurality of second bullet screens is obtained; and at least two second bullet screens with the similarity greater than a threshold are merged. In fact, it is also possible to calculate the similarity between any multiple bullet screens in the same bullet screen display interface (to be displayed at the same time), and then combine the multiple bullet screen with the similarity threshold greater than the threshold to avoid At the same time, a large number of homogenized bullet screens appeared on the bullet screen display interface, which caused interface occlusion and user performance decline.
根据本公开的上述实施例,观众用户账号对应的客户端在获取到第一弹幕和第二弹幕后,可以关联展示第二弹幕和第一弹幕,以便二者保持预定义的展示关系。对于目标作品的第一弹幕,任一用户账号不仅可以发布关于该弹幕的第二弹幕以实现弹幕之间的评论或交互;而且能够保证该第二弹幕在任一播放设备中被与第一弹幕关联展示,从而更便于观众用户理解弹幕之间的语义关系,实现了更丰富的弹幕发布和展示方式。According to the above embodiments of the present disclosure, after acquiring the first and second bullet screens, the client corresponding to the user account of the audience can display the second bullet screen and the first bullet screen in association, so that the two maintain a predefined display relationship . For the first barrage of the target work, any user account can not only publish the second barrage about the barrage to realize comments or interactions between barrages; it can also ensure that the second barrage is displayed on any playback device. It is displayed in association with the first bullet screen, which makes it easier for viewers and users to understand the semantic relationship between bullet screens and realizes richer bullet screen publishing and display methods.
根据本公开一实施例,提供了一种弹幕发布方法,该方法包括:确定用户账号针对目标作品的第一弹幕提供的第二弹幕;发布所述第二弹幕,所述第二弹幕用于与所述第一弹幕关联展示在所述目标作品的弹幕展示界面中,以使所述第二弹幕与所述第一弹幕之间满足预定义的展示关系。According to an embodiment of the present disclosure, a method for publishing a bullet screen is provided, the method includes: determining a second bullet screen provided by a user account for a first bullet screen of a target work; publishing the second bullet screen, the second bullet screen The bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen, so that a predefined display relationship is satisfied between the second bullet screen and the first bullet screen.
在一些实施例中,所述第一弹幕,包括:被关联至第三弹幕的弹幕,所述第三弹幕区别 于所述第二弹幕;或者,未被关联至所述第三弹幕的弹幕。In some embodiments, the first bullet screen includes: a bullet screen associated with a third bullet screen, the third bullet screen is different from the second bullet screen; or, not associated with the first bullet screen Three barrages of barrage.
在一些实施例中,还包括:根据来自所述用户账号的设定指令,设定所述展示关系;将所述展示关系与所述第二弹幕关联发布。In some embodiments, the method further includes: setting the display relationship according to a setting instruction from the user account; and publishing the display relationship in association with the second bullet screen.
在一些实施例中,确定所述展示关系,包括:获取所述用户账号针对所述第二弹幕设置的相对于所述第一弹幕的相对位置关系,并将所述相对位置关系确定为所述展示关系。In some embodiments, determining the display relationship includes: acquiring a relative position relationship set by the user account for the second barrage relative to the first barrage, and determining the relative position relationship as the display relationship.
在一些实施例中,确定所述展示关系,包括:设置所述第二弹幕与所述第一弹幕的展示属性相同,并将相应的展示属性关系确定为所述展示关系。In some embodiments, determining the display relationship includes: setting the display attribute of the second bullet screen and the first bullet screen to be the same, and determining a corresponding display attribute relationship as the display relationship.
在一些实施例中,确定所述展示关系,包括:获取所述用户账号针对所述第二弹幕设置的相对于所述第一弹幕的标识引用关系,并将所述标识引用关系确定为所述展示关系。In some embodiments, determining the display relationship includes: acquiring an identification reference relationship relative to the first bullet screen set by the user account for the second bullet screen, and determining the identification reference relationship as the display relationship.
在一些实施例中,还包括:根据所述展示关系和所述第一弹幕的第一展示位置确定所述第二弹幕的第二展示位置;在所述第二展示位置位于所述弹幕展示界面之外的情况下,提示所述发布方账号调整所述展示关系或者自动调整所述展示关系,以使所述第二展示位置被调整至所述弹幕展示界面内。In some embodiments, the method further includes: determining a second display position of the second bullet screen according to the display relationship and the first display position of the first bullet screen; In the case of outside the screen display interface, prompt the publisher account to adjust the display relationship or automatically adjust the display relationship, so that the second display position is adjusted to the screen display interface.
在一些实施例中,还包括:在确定所述第二弹幕后,向所述用户账号提供关于所述第二弹幕和所述第一弹幕关联展示效果的预览内容。In some embodiments, the method further includes: after determining the second bullet screen, providing the user account with preview content about the display effect associated with the second bullet screen and the first bullet screen.
下面结合图3-图9对发布方客户端将向服务端发布第二弹幕,展示方客户端从服务端获取第二弹幕并展示的过程进行详细描述。如图3所示的一种弹幕发布及展示方法的交互流程图,上述过程可以包括:The following describes in detail the process that the publisher client will publish the second bullet screen to the server, and the presenter client obtains and displays the second bullet screen from the server with reference to FIG. 3 to FIG. 9 . As shown in Figure 3, an interactive flowchart of a method for publishing and displaying a bullet screen, the above process may include:
S302,发布方客户端确定第一弹幕。S302, the publisher client determines the first barrage.
在本公开的实施例中,发布方客户端登录有用户账号,该用户账号通过发布方客户端实现对第二弹幕的发布。In the embodiment of the present disclosure, the publisher client is logged in with a user account, and the user account realizes the publication of the second bullet screen through the publisher client.
在本公开的一实施例中,发布方客户端可以在播放目标作品并展示第一弹幕的情况下,根据用户账号的选择操作确定被选中的处于展示状态的第一弹幕。相应的,用户账号的选择操作可以为单击,长按等,本公开对于第一弹幕的选中方式并不进行限制。被选中的第一弹幕可以为采用相关技术中的常规弹幕展示方法展示的第一弹幕,此时的第一弹幕仅是针对目标作品进行评论的原始弹幕;也可以为采用本公开上述弹幕展示方法展示的被关联至第三弹幕的弹幕,其中,第三弹幕为区别于上述第二弹幕的弹幕,此时第一弹幕可以是评论或引用第三弹幕生成的弹幕,第三弹幕、第一弹幕和第二弹幕之间存在链式关联关系。可见,用户账户可以针对已经存在评论或引用关系的第一弹幕生成具有关联关系的第二弹幕,从而形成 多级弹幕,进一步增强用户所发布弹幕之间的关联性与趣味性。In an embodiment of the present disclosure, in the case of playing the target work and displaying the first bullet screen, the publisher client may determine the selected first bullet screen in the display state according to the selection operation of the user account. Correspondingly, the selection operation of the user account may be a single click, a long press, etc. The present disclosure does not limit the selection method of the first barrage. The selected first bullet screen can be the first bullet screen displayed by the conventional bullet screen display method in the related art, and the first bullet screen at this time is only the original bullet screen for commenting on the target work; Disclose the bullet screen displayed by the above bullet screen display method and related to the third bullet screen, wherein the third bullet screen is different from the second bullet screen. At this time, the first bullet screen can be a comment or quote the third For the barrage generated by the barrage, there is a chain relationship among the third barrage, the first barrage and the second barrage. It can be seen that the user account can generate a second bullet screen with an associated relationship for the first bullet screen that already has a comment or reference relationship, thereby forming a multi-level bullet screen, which further enhances the relevance and interest of the bullet screen published by the user.
在本公开的一实施例中,用户账号可以根据第一弹幕的弹幕内容编写相应的第二弹幕的弹幕内容,从而生成评论第一弹幕的第二弹幕;用户账号也可以引用第一弹幕的弹幕内容并添加相应的评论内容,从而生成引用第一弹幕的第二弹幕。另外,为简化用户账号针对第一弹幕的选择操作并让用户账户明确知晓第一弹幕的展示状态,可以由用户账号在目标作品的弹幕展示界面中通过点击等预设操作选中处于展示状态的第一弹幕;当然,也可以由用户账号在目标作品对应的弹幕列表中选中第一弹幕。另外,第一弹幕的发布方可以为发布方客户端登录的用户账号,也可以为区别于该用户账号的其他账号。对于第一弹幕的确定方式及其与用户账号之间的关系,本公开并不进行限制。In an embodiment of the present disclosure, the user account can write the corresponding bullet screen content of the second bullet screen according to the bullet screen content of the first bullet screen, so as to generate a second bullet screen commenting on the first bullet screen; the user account can also Quoting the bullet chat content of the first bullet screen and adding the corresponding comment content, so as to generate the second bullet screen referring to the first bullet chat. In addition, in order to simplify the user account selection operation for the first bullet screen and let the user account clearly know the display status of the first bullet screen, the user account can select the display status by clicking and other preset operations in the bullet screen display interface of the target work. The first barrage of the state; of course, the first barrage can also be selected by the user account in the barrage list corresponding to the target work. In addition, the publisher of the first bullet screen may be a user account logged in by the client of the publisher, or may be another account that is different from the user account. The present disclosure does not limit the way of determining the first bullet screen and the relationship between it and the user account.
S304,发布方客户端确定第二弹幕。S304, the publisher client determines the second barrage.
在本公开的一实施例中,发布方客户端可以根据用户账号的弹幕输入操作确定用户账号输入的第二弹幕,例如,用户账号可以在选中第一弹幕后弹出的关联弹幕输入界面输入(与第一弹幕相关联的)第二弹幕的弹幕内容。其中,上述弹幕内容可以为纯文本形式的弹幕内容,也可以包括下述一种或多种形式内容的组合构成的弹幕内容:文字、标点符号、颜文字、emoji表情、图片、gif动图等。上述第二弹幕的弹幕内容可以直接引用第一弹幕的全部或部分弹幕内容;上述第二弹幕的弹幕内容也可以仅在语义层面评论第一弹幕,如多个用户利用弹幕实现成语接龙时,第二弹幕可以对不引用第一弹幕的内容而只在语音上与第一弹幕相关联。本公开并不对第二弹幕与第一弹幕之间的具体关联关系进行限制,但无论上述何种引用或评论方式,都可以认为第二弹幕都是针对第一弹幕发表的评论。In an embodiment of the present disclosure, the publisher client can determine the second bullet screen input by the user account according to the bullet screen input operation of the user account. For example, the user account can pop up the associated bullet screen input interface after selecting the first bullet screen. Enter the bullet chat content of the second bullet chat (associated with the first bullet chat). Among them, the above-mentioned bullet screen content may be the bullet screen content in the form of plain text, or may include the bullet screen content formed by the combination of one or more of the following forms of content: text, punctuation marks, emoji, emoji expressions, pictures, gif animation etc. The bullet chat content of the second bullet screen can directly refer to all or part of the bullet screen content of the first bullet screen; the bullet screen content of the second bullet screen can also only comment on the first bullet screen at the semantic level. When the barrage implements the idiom solitaire, the second barrage can only be associated with the first barrage in terms of voice without citing the content of the first barrage. This disclosure does not limit the specific relationship between the second bullet screen and the first bullet screen, but regardless of the above-mentioned citation or commenting method, it can be considered that the second bullet screen is a comment published on the first bullet screen.
参见图4所示用户账号设定第二弹幕的展示效果的示意图。如图4(a)所示的目标作品播放界面中,在用户账号打开弹幕展示开关403a的情况下,弹幕展示界面401a中展示出多个弹幕402a:弹幕A(对应的弹幕内容为:AAAAAAAAAAAA,其他弹幕与此类似,后续不再赘述)、弹幕B、弹幕C、弹幕D和弹幕E。当用户账号针对其中的弹幕A执行选中操作后,相应展示(窗口跳转或弹出新窗口等形式)如图4(b)所示的第二弹幕设置界面,在该界面中,已选弹幕窗口b显示出被选中的弹幕A的弹幕内容,用户账号可以在评论内容窗口402b中输入第二弹幕的弹幕内容,如图4(b)所示,用户账号可以输入弹幕F,该弹幕F即被发布方客户端确定为针对第一弹幕(弹幕A)的第二弹幕。Referring to FIG. 4 , the schematic diagram of the display effect of the user account setting the second barrage is shown. In the target work playing interface shown in FIG. 4(a), when the user account turns on the bullet screen display switch 403a, the bullet screen display interface 401a displays multiple bullet screens 402a: the bullet screen A (corresponding bullet screen The content is: AAAAAAAAAAAA, other barrages are similar to this, and will not be repeated later), barrage B, barrage C, barrage D and barrage E. When the user account performs the selection operation for the bullet screen A, the corresponding display (window jump or pop-up new window, etc.) shows the second bullet screen setting interface as shown in Figure 4(b). In this interface, the selected The bullet screen window b displays the bullet screen content of the selected bullet screen A, and the user account can enter the bullet screen content of the second bullet screen in the comment content window 402b. As shown in FIG. 4(b), the user account can input the bullet screen content of the second bullet screen. Screen F, which is determined by the publishing client as the second screen for the first screen (bar screen A).
S306,发布方客户端确定展示关系。S306, the publisher client determines the display relationship.
对应于针对第一弹幕确定的第二弹幕,发布方客户端还可以确定第一弹幕与第二弹幕之间的展示关系。上述展示关系的确定方式可以有多种,例如,可以由所述目标作品的发布方 针对目标作品对应的所有第二弹幕统一设定;也可以由第一弹幕的发布方针对与第一弹幕具有关联关系的所有第二弹幕统一设置;也可以根据服务端或发布方客户端中预存的系统预设参数进行设定。Corresponding to the second bullet screen determined for the first bullet screen, the publisher client can also determine the display relationship between the first bullet screen and the second bullet screen. There are various ways to determine the above-mentioned display relationship. For example, the publishing party of the target work can set it uniformly for all the second bullet screens corresponding to the target work; All the second bullet chats that are associated with the bullet screen are set uniformly; they can also be set according to the system preset parameters pre-stored in the server or the client of the publisher.
作为本公开的一实施例,也可以根据发布方客户端登录的用户账号发出的设定指令设定上述展示关系。仍以图4(b)所示的展示效果设置窗口403b为例进行说明:用户账号可以触发展示效果设置窗口403b中的展示位置相关控件对第二弹幕相对于第一弹幕的展示位置进行设定(设定完成后,相应的展示关系包括相对位置关系)。例如,用户账号触发“竖直方向”控件后,可以展示如图5(a)所示的竖直方向位置设置界面,用户账号可以在该界面中选择正上方、正下方、左上方、左下方、右上方或右下方等位置选项,上述各位置选项子窗口中可以展示有相对位置示意图,以便用户账号明确知晓该选项对应的第二弹幕相对于第一弹幕的展示位置。以右上方位置选项子窗口501a为例,该窗口中可以包括相对位置示意图502a,还可以包括偏移量输入窗口503a,用户账号可以在该窗口中输入第二弹幕相对于第一弹幕的中心线向右偏移的距离(厘米为单位,若用户账号不输入,则使用默认值),当然也可以以像素为单位(如右上方位置选项子窗口所示)。当用户账号选中该界面中的某一位置设置子窗口后,可以改变该该窗口的边框颜色或其他显示参数,也可以淡化其他位置设置子窗口的显示效果,以突出显示被选中的子窗口。用户选中某位置设置子窗口并确定合适的偏移量后,可以直接退出该竖直方向位置设置界面(设置结果自动保存),也可以触发该界面中的确认控件(图中未示出)进行保存。类似的,当用户账号选中“水平方向”控件后,相应的选择界面及设置过程同上述过程类似,不再赘述。As an embodiment of the present disclosure, the above-mentioned display relationship may also be set according to a setting instruction issued by a user account logged in by the publisher client. Still taking the display effect setting window 403b shown in FIG. 4(b) as an example for illustration: the user account can trigger the display position-related controls in the display effect setting window 403b to perform the display position of the second bullet screen relative to the first bullet screen. Setting (after the setting is completed, the corresponding display relationship includes the relative position relationship). For example, after the user account triggers the "vertical direction" control, the vertical direction position setting interface as shown in Figure 5(a) can be displayed, and the user account can select directly above, directly below, upper left, and lower left in this interface. , upper right or lower right position options, the above position option sub-windows can display relative position diagrams, so that the user account can clearly know the display position of the second bullet screen corresponding to this option relative to the first bullet screen. Taking the position option sub-window 501a at the upper right as an example, the window may include a relative position diagram 502a, and may also include an offset input window 503a, in which the user account can input the relative position of the second bullet screen relative to the first bullet screen. The distance that the center line is offset to the right (in centimeters, if the user account is not input, the default value is used), of course, it can also be in pixels (as shown in the sub-window of the upper right position option). When a user account selects a position in the interface to set a sub-window, it can change the border color or other display parameters of the window, and can also fade the display effect of the sub-window in other positions to highlight the selected sub-window. After the user selects a position setting sub-window and determines the appropriate offset, he can directly exit the vertical position setting interface (the setting result is automatically saved), or can trigger the confirmation control (not shown in the figure) in the interface to carry out save. Similarly, after the user account selects the "horizontal direction" control, the corresponding selection interface and setting process are similar to the above process, and will not be described again.
当然,用户账号也可以自定义第二弹幕相对于第一弹幕的展示位置。当用户账号触发“自定义位置”控件后,可以展示如图5(b)所示的自定义位置设置界面。如图5(b)所示,自定义位置选择界面501b中预先标注有已有弹幕并占据相应展示位置(弹幕大小及位置与弹幕展示界面401a相对应),用户账号可以通过鼠标操控或触控等方式在自定义位置选择界面501b中选择除上述已有弹幕占据位置之外的空白位置,并在选择适合的位置后通过触发“确认”控件完成位置设定。当然,在已设置位置需要更改或退出自定义位置设置窗口的情况下,还可以通过触发“取消”控件实现。Of course, the user account can also customize the display position of the second barrage relative to the first barrage. After the user account triggers the "custom location" control, a custom location setting interface as shown in Figure 5(b) can be displayed. As shown in Figure 5(b), the custom location selection interface 501b is pre-marked with an existing bullet screen and occupies a corresponding display position (the size and position of the bullet screen corresponds to the bullet screen display interface 401a), and the user account can be controlled by the mouse In the custom position selection interface 501b, select a blank position other than the position occupied by the existing bullet screen by means of touch or touch, and after selecting a suitable position, trigger the "Confirm" control to complete the position setting. Of course, in the case that the set position needs to be changed or exit the custom position setting window, it can also be achieved by triggering the "Cancel" control.
用户账号还可以触发展示效果设置窗口403b中的展示属性相关控件对第二弹幕的展示属性进行设定(设定完成后,相应的展示关系包括展示属性关系)。例如,当用户账号触发“颜色”控件后,则将第二弹幕的弹幕颜色设定为与第一弹幕的弹幕颜色相同;当用户账号触发“格式”控件后,则将第二弹幕的弹幕格式设定为与第一弹幕的弹幕格式相同,其中,上述 弹幕格式可以包括文字的字体、字号、正斜体等展示格式;当用户账号触发“速度”控件后,则将第二弹幕的移动速度设定为与第一弹幕的移动速度相同。当然,展示属性还可以包括除颜色、格式和速度之外的属性,不再一一赘述。The user account can also trigger the display property related controls in the display effect setting window 403b to set the display property of the second bullet screen (after the setting is completed, the corresponding display relationship includes the display property relationship). For example, when the user account triggers the "color" control, the color of the second bullet chat is set to be the same as that of the first bullet chat; when the user account triggers the "format" control, the second The barrage format of the barrage is set to be the same as the barrage format of the first barrage, wherein the above barrage format may include the font, size, and italic of the text; when the user account triggers the "speed" control, Then the movement speed of the second bullet screen is set to be the same as the movement speed of the first bullet screen. Of course, the display attributes may also include attributes other than color, format, and speed, which will not be described one by one.
用户账号还可以触发展示效果设置窗口403b中的评论标识相关控件对第二弹幕的评论标识进行设定(设定完成后,相应的展示关系包括标识引用关系)。例如,用户账号可以触发“【】”控件,相应的,在第二弹幕的弹幕内容的预设位置(如弹幕前端或弹幕末位)处添加“【】”标识,并且在该表示中可以包含第一弹幕的全部弹幕内容或弹幕关键词。相应的,“<>”控件功能与此类似,不再赘述。用户账号还可以触发“上标”控件,在第二弹幕上方的预设位置处添加包含第一弹幕关键词的关联标识或者具有方向的指向箭头符号,用以标记第二弹幕与第一弹幕存在的关联关系。相应的,“下标”控件功能与此类似,不再赘述。The user account can also trigger the comment identifier related control in the display effect setting window 403b to set the comment identifier of the second bullet screen (after the setting is completed, the corresponding display relationship includes the identifier reference relationship). For example, the user account can trigger the "[]" control, and accordingly, add a "[]" mark to the preset position of the bullet screen content of the second bullet screen (such as the front end of the bullet screen or the end of the bullet screen), and in the display can contain all the bullet chat content or bullet chat keywords of the first bullet chat. Correspondingly, the function of the "<>" control is similar to this, and will not be repeated here. The user account can also trigger the "superscript" control, and add an associated logo containing the keyword of the first bullet screen or a pointing arrow symbol with a direction at the preset position above the second bullet screen to mark the second bullet screen and the first bullet screen. A barrage exists in the relationship. Correspondingly, the function of the "subscript" control is similar to this, and will not be repeated here.
在上述展示关系设定完成后,发布方客户端可以将上述展示关系与第二弹幕关联发布值服务端。After the above-mentioned display relationship is set, the publisher client can associate the above-mentioned display relationship with the second bullet screen to publish the value server.
S308,发布方客户端展示预览效果并发布第二弹幕。S308, the publisher client displays the preview effect and publishes the second barrage.
S310,服务端保存第二弹幕。S310, the server saves the second barrage.
在本公开的一实施例中,在上述展示关系确定后,发布方账号可以根据该展示关系确定第一弹幕与第二弹幕的关联展示效果,并为用户账号提供该展示效果的预览效果,以便用户账号根据该预览效果相应的调整或确认上述展示关系。在展示上述预览效果后,若接收到用户账号的调整指令,可以根据该调整指令相应的调整第二弹幕与第一弹幕的关联展示效果;若接收到用户账号的确认指令,则将当前预览内容对应的展示关系与第二弹幕关联发布至客户端。例如,可以将第一弹幕的弹幕ID、第二弹幕的弹幕内容以及第二弹幕与第一弹幕之间的上述弹幕关系关联发送至服务端;也可以将上述第二弹幕添加至包含第一弹幕的弹幕文件(该弹幕文件对应于目标作品)中,并将上述展示关系与该弹幕文件关联发送至服务端;还可以仅将上述第二弹幕及其与第一弹幕之间的展示关系发送至服务端。本公开对于第二弹幕及展示关系的具体发布形式并不进行限制,可以根据实际情况进行调整。In an embodiment of the present disclosure, after the above-mentioned display relationship is determined, the publisher account can determine the associated display effect of the first bullet screen and the second bullet screen according to the display relationship, and provide a preview effect of the display effect for the user account , so that the user account can adjust or confirm the above display relationship according to the preview effect. After displaying the above preview effect, if an adjustment instruction of the user account is received, the associated display effect of the second bullet screen and the first bullet screen can be adjusted accordingly according to the adjustment instruction; if the confirmation instruction of the user account is received, the current The display relationship corresponding to the preview content is associated with the second barrage and published to the client. For example, the bullet screen ID of the first bullet screen, the bullet screen content of the second bullet screen, and the above-mentioned bullet screen relationship between the second bullet screen and the first bullet screen can be sent to the server; Add the barrage to the barrage file containing the first barrage (the barrage file corresponds to the target work), and associate the above-mentioned display relationship with the barrage file and send it to the server; you can also only send the second barrage above to the server and the display relationship between it and the first bullet screen is sent to the server. The present disclosure does not limit the specific release form of the second bullet screen and the display relationship, which can be adjusted according to the actual situation.
服务端接收到第二弹幕后,可以对上述第二弹幕及其与第一弹幕之间的展示关系进行相应处理后进行保存,相应的保存位置可以为服务端所在服务器的本地存储空间,也可以为其他关联存储空间,本公开对此并不进行限制。例如,可以将上述第二弹幕按照展示关系合并至目标作品对应的弹幕文件中,以便于提供至展示方客户端。当然,服务端还可以对接收到的第一弹幕和已有的第一弹幕进行其他必要的处理,具体可参见相关技术中公开的内容,此处不再赘述。After receiving the second bullet screen, the server can process the above-mentioned second bullet screen and the display relationship between the second bullet screen and the first bullet screen correspondingly, and then save it, and the corresponding storage location can be the local storage space of the server where the server is located. It can also be other associative storage space, which is not limited in the present disclosure. For example, the above-mentioned second barrage can be merged into the barrage file corresponding to the target work according to the display relationship, so as to be provided to the client of the presenter. Of course, the server can also perform other necessary processing on the received first barrage and the existing first barrage, for details, please refer to the content disclosed in the related art, which will not be repeated here.
S312,服务端将目标作品及弹幕发送至展示方客户端。S312, the server sends the target work and the bullet screen to the client of the presenter.
服务端保存第二弹幕后,可以向展示方客户端提供上述原始作品。在本公开的一实施例中,服务端可以在接受到展示方客户端的弹幕获取请求后,向展示方客户端返回原始作品;服务端也可以结合作品推荐服务,主动向展示方客户端推送原始作品,并将上述第一弹幕和第二弹幕关联发送至展示服务端。After saving the second bullet screen, the server can provide the above-mentioned original works to the client of the presenter. In an embodiment of the present disclosure, the server may return the original work to the presenter client after receiving the barrage acquisition request from the presenter client; the server may also combine the work recommendation service to actively push the display to the presenter client The original work, and send the above-mentioned first and second bullet screens to the display server.
在本公开的一实施例中,服务端可以同时将第一弹幕和第二弹幕发送至服务端,以减少展示方客户端的请求数量,进而减轻网络通讯压力;服务端也可以仅将第一弹幕发送至展示方客户端,并在接收到展示方客户端发送的第二弹幕获取请求后,再将上述第二弹幕返回至展示方客户端,以减少因用户播放行为导致的第二弹幕不被展示时的无效弹幕发送。In an embodiment of the present disclosure, the server can send the first bullet screen and the second bullet screen to the server at the same time, so as to reduce the number of requests from the client of the presenter, thereby reducing the pressure of network communication; the server can also send only the first bullet screen to the server. A barrage is sent to the client of the presenter, and after receiving the request for obtaining the second barrage sent by the client of the presenter, the second barrage is returned to the client of the presenter, so as to reduce the damage caused by the user's playback behavior. Invalid bullet chat when the second bullet chat is not displayed.
S314,展示方客户端播放目标作品。S314, the client of the presenter plays the target work.
S316,展示方客户端确定展示关系。S316, the presenter client determines the presentation relationship.
展示方客户端接收到目标作品后可以播放目标作品,播放目标作品的具体过程可以参见相关技术中公开的内容,此处不再赘述。在播放目标作品的过程中,在目标作品对应的弹幕展示界面中展示相应的弹幕。After receiving the target work, the client of the presenter can play the target work. For the specific process of playing the target work, reference may be made to the content disclosed in the related art, which will not be repeated here. In the process of playing the target work, the corresponding barrage is displayed in the barrage display interface corresponding to the target work.
在本公开的一实施例中,在展示第二弹幕之前,可以先确定第二弹幕与其对应的第一弹幕之间的展示关系。本公开的实施例中,作为一示例性实施例,可以先确定展示关系,再播放目标作品;或者,作为另一示例性实施例,也可以先播放目标作品,再确定展示关系。换言之,“确定展示关系”与“播放目标作品”并不存在必然的先后顺序,可以根据实际情况进行调整。In an embodiment of the present disclosure, before displaying the second bullet screen, the display relationship between the second bullet screen and its corresponding first bullet screen may be determined first. In the embodiment of the present disclosure, as an exemplary embodiment, the display relationship may be determined first, and then the target work is played; or, as another exemplary embodiment, the target work may be played first, and then the display relationship is determined. In other words, there is no necessary sequence between "determining the display relationship" and "playing the target work", and can be adjusted according to the actual situation.
在本公开的一实施例中,展示方客户端可以从服务端获取上述展示关系,也可以根据服务端或展示方客户端本地预存的系统设置参数确定第二弹幕与第一弹幕之间的展示关系。In an embodiment of the present disclosure, the presenter client can obtain the above-mentioned presentation relationship from the server, and can also determine the relationship between the second barrage and the first barrage according to the system setting parameters pre-stored locally by the server or the presenter client display relationship.
S318,展示方客户端关联展示第一弹幕和第二弹幕。S318, the presenter client displays the first bullet screen and the second bullet screen in association with each other.
在本公开的实施例中,展示方客户端获取到第一弹幕和第二弹幕,并确定二者之间的展示关系后,可以按照该展示关系关联展示第一弹幕和第二弹幕。In the embodiment of the present disclosure, after obtaining the first bullet screen and the second bullet screen, and determining the display relationship between the two, the client of the presenter can display the first bullet screen and the second bullet screen in association according to the display relationship. screen.
在本公开的一实施例中,在展示关系包括相对位置关系的情况下,可以在第一弹幕的预设相对位置处展示第二弹幕;或者,在展示关系包括展示属性关系的情况下,可以按照与第一弹幕相同的展示属性展示第二弹幕;或者,在展示关系包括标识引用关系的情况下,可以在第二弹幕的展示区域中展示与第一弹幕相关的关联标识或关联关键词。In an embodiment of the present disclosure, in the case where the display relationship includes a relative position relationship, the second barrage may be displayed at a preset relative position of the first barrage; or, in the case where the display relationship includes a display attribute relationship , the second bullet screen can be displayed according to the same display attributes as the first bullet screen; or, in the case where the display relationship includes an identification reference relationship, the association related to the first bullet screen can be displayed in the display area of the second bullet screen Identify or associate keywords.
如图6(a)所示,在弹幕功能开关603a打开的情况下,弹幕展示界面601a中可以展示多个弹幕602a,各个弹幕之间的关联关系如图6(b)所示,其中,弹幕A、弹幕D和弹幕E均为 直接针对目标作品的原始弹幕(未被关联至第三弹幕);而弹幕弹幕B、弹幕C和弹幕F均为弹幕A(第一弹幕)对应的第二弹幕(三者均引用弹幕A);进一步的,弹幕G和弹幕H均为弹幕F(第一弹幕)对应的第二弹幕(二者均引用弹幕F)。虽然图6(a)描述的是弹幕在弹幕展示界面601a中的展示效果,但上述展示效果应当被理解为各个弹幕之间的相对位置理论值(实际上并未在弹幕展示界面601a中展示)。上述弹幕B、弹幕C和弹幕F按照相对位置关系分别展示在弹幕A的正下方、正后方(弹幕移动方向为从右至左)和左上方。当然,上述弹幕B可以按照与弹幕A相同的颜色、相同的格式和/或相同的移动速度进行展示(图中未示出);或者,弹幕B可以展示在弹幕A的固定相对位置处(即正下方),也可以展示在弹幕A的移动位置处,例如沿着围绕弹幕A的圆形、矩形或不规则形状等轨迹移动,或者在弹幕A周围的多个固定相对位置处之间闪现展示(当前时刻但是在某一位置处,下一时刻在该位置处消失并同时展示在另一位置处)。而弹幕G采用“【】”形式的关联标识表明对弹幕F的引用,其中,“【】”中包含弹幕F的关键词“F”。类似的,弹幕H采用带方向(指向弹幕F的首字符)的箭头标志表征其与弹幕F之间的关联关系。实际上,任意两条弹幕之间的展示关系可以同时存在上述多种,例如,图6(a)中的弹幕B既位于弹幕A的正下方,也可以具有与弹幕A相同的展示属性,弹幕G既位于弹幕F的正上方(相对位置关系)又携带有关联标识(标识引用关系)。As shown in FIG. 6( a ), when the bullet screen function switch 603 a is turned on, a plurality of bullet screen screens 602 a can be displayed in the bullet screen display interface 601 a , and the relationship between the bullet screen screens is shown in FIG. 6 ( b ) , among them, Bullet Screen A, Bullet Screen D, and Bullet Screen E are all original bullet screens directly aimed at the target work (not associated with the third bullet screen); while Bullet Screen B, Bullet Screen C and Bullet Screen F are all is the second barrage corresponding to barrage A (the first barrage) (all three refer to barrage A); further, barrage G and barrage H are the first barrage corresponding to barrage F (the first barrage). Two barrages (both refer to barrage F). Although FIG. 6(a) describes the display effect of the bullet screen in the bullet screen display interface 601a, the above display effect should be understood as the theoretical value of the relative position between each bullet screen (actually not in the bullet screen display interface). 601a). The above-mentioned bullet screen B, bullet screen C, and bullet screen F are respectively displayed directly below, directly behind, and to the upper left of bullet screen A according to the relative positional relationship. Of course, the above-mentioned bullet screen B can be displayed in the same color, the same format and/or the same moving speed as the bullet screen A (not shown in the figure); or, the bullet screen B can be displayed in a fixed relative position of the bullet screen A It can also be displayed at the moving position of the bullet screen A, such as moving along a circular, rectangular or irregular shape around the bullet screen A, or multiple fixed positions around the bullet screen A. Flickering shows between relative positions (the current moment but at a certain position, the next moment disappears at that position and simultaneously shows at another position). On the other hand, the barrage G uses an associated identifier in the form of "[]" to indicate a reference to the barrage F, where "[]" contains the keyword "F" of the barrage F. Similarly, the bullet screen H uses an arrow mark with a direction (pointing to the first character of the bullet screen F) to represent the association relationship between the bullet screen H and the bullet screen F. In fact, the display relationship between any two bullet screens can exist at the same time. For example, the bullet screen B in Figure 6(a) is not only located directly below the bullet screen A, but also has the same To display the attributes, the bullet screen G is located directly above the bullet screen F (relative positional relationship) and carries an associated identifier (identified reference relationship).
由图6(b)所示的关联关系可知,对于第二弹幕G来说,其对应的第一弹幕F已经被关联至第三弹幕(弹幕A),因此,三者之间存在弹幕G——弹幕F——弹幕A的关联关系链。可以理解的是,在弹幕展示界面601a中同时展示多个弹幕且多个弹幕之间存在一条或多条如上所述的关联关系链的情况下,容易导致弹幕展示区域的无效占用,因此可以设置弹幕筛除功能:在弹幕筛除功能被开启的情况下,仅展示未被关联至第三弹幕的第一弹幕;在弹幕筛除功能未开启的情况下,展示所有的第一弹幕和相应的第二弹幕。From the relationship shown in Figure 6(b), it can be seen that for the second barrage G, the corresponding first barrage F has been associated with the third barrage (barrage A). Therefore, between the three There is an association chain of barrage G - barrage F - barrage A. It can be understood that in the case where multiple bullet screens are simultaneously displayed in the bullet screen display interface 601a and there are one or more association chains as described above between the multiple bullet screens, it is easy to cause invalid occupation of the bullet screen display area. , so you can set the barrage screening function: when the barrage screening function is turned on, only the first barrage that is not associated with the third barrage will be displayed; when the barrage screening function is not turned on, Displays all first bullets and corresponding second bullets.
对应于图6(a)和图6(b)所示的弹幕关联关系,如图6(c)所示,在弹幕筛除功能被开启的情况下,在弹幕展示界面601b中可以仅展示未被关联至第三弹幕的第一弹幕,如弹幕A、弹幕D和弹幕E,而被关联至弹幕A的弹幕B、弹幕C和弹幕F以及被关联至弹幕F的弹幕G和弹幕H则被隐藏而不展示。通过提供弹幕筛除功能,不仅能够在弹幕展示界面中当前展示弹幕较少的情况下,通过关闭弹幕筛除功能展示全部弹幕,而且在弹幕展示界面中当前展示弹幕较多的情况下,能够通过打开弹幕筛除功能筛除第二弹幕,仅展示不存在关联关系的第一弹幕,避免了弹幕内容对目标作品画面的遮挡。Corresponding to the relationship between the bullet screens shown in Fig. 6(a) and Fig. 6(b), as shown in Fig. 6(c), when the bullet screen screening function is enabled, in the bullet screen display interface 601b, you can Only show the first bullet screen that is not associated with the third bullet screen, such as bullet screen A, bullet screen D, and bullet screen E, but is related to bullet screen B, bullet screen C, and bullet screen F, and is related to bullet screen A. Barrage G and Barrage H related to Barrage F are hidden and not displayed. By providing the bullet screen screening function, it is not only possible to display all the bullet screen by turning off the bullet screen screening function when there are few bullet screens currently displayed in the bullet screen display interface, but also the currently displayed bullet screen in the bullet screen display interface is relatively small. In many cases, the second bullet screen can be screened out by turning on the bullet screen screening function, and only the first bullet screen without an associated relationship can be displayed, avoiding the blockage of the bullet screen content on the screen of the target work.
在本公开的一实施例中,在展示弹幕时可以设置弹幕简化功能:在弹幕简化功能被开启 的情况下,以缩略模式展示第二弹幕和/或第一弹幕,其中,缩略模式下仅展示弹幕关键词,关键词提取规则可以预先设置;在弹幕简化功能未开启的情况下,以详情模式展示第一弹幕和第二弹幕,其中,详情模式下展示弹幕的全部内容;在接收到针对任一弹幕的触发操作的情况下,可以将任一弹幕的展示模式在上述缩略模式和详情模式之间切换。In an embodiment of the present disclosure, a bullet screen simplification function can be set when displaying the bullet screen: when the bullet screen simplification function is enabled, the second bullet screen and/or the first bullet screen are displayed in a thumbnail mode, wherein , in the abbreviated mode, only the bullet screen keywords are displayed, and the keyword extraction rules can be set in advance; when the bullet screen simplified function is not enabled, the first bullet screen and the second bullet screen are displayed in the detail mode. Display the entire content of the bullet screen; in the case of receiving a trigger operation for any bullet screen, the display mode of any bullet screen can be switched between the above-mentioned abbreviated mode and detailed mode.
如图7(a)所示的缩略模式和图7(b)所示的详情模式,缩略模式和详情模式的弹幕的预设位置(前端或结尾)处分别展示具有模式切换功能的展开控件和简化控件,当处于简化状态的任一弹幕的展开控件被触发后,该弹幕由仅展示弹幕关键词的缩略模式切换为展示全面弹幕内容的详情模式;当处于详情状态的任一弹幕的简化控件被触发后,该弹幕由展示全面弹幕内容的详情模式切换为仅展示弹幕关键词的缩略模式,从而实现弹幕展示内容在缩略模式和详情模式之间的切换。通过提供弹幕简化功能,不仅能够在弹幕展示界面中当前展示弹幕较少的情况下,通过关闭弹幕简化功能展示弹幕的全部内容,而且在弹幕展示界面中当前展示弹幕较多的情况下,能够通过打开弹幕简化功能仅展示弹幕关键词,从而尽量减少弹幕中非关键词对弹幕展示界面的占用,进一步避免了弹幕内容对目标作品画面的遮挡。The thumbnail mode shown in Figure 7(a) and the detail mode shown in Figure 7(b) are displayed at the preset positions (front or end) of the bullet screen in the thumbnail mode and the detailed mode, respectively. Expand control and simplified control. When the expand control of any bullet chat in the simplified state is triggered, the bullet chat will switch from the abbreviated mode that only displays bullet chat keywords to the detailed mode that displays the full bullet chat content; After the simplified control of any barrage in the state is triggered, the barrage is switched from the detailed mode that displays the full barrage content to the abbreviated mode that only displays the barrage keywords, so that the barrage display content can be displayed in the abbreviated mode and details. Switch between modes. By providing the bullet screen simplification function, it is not only possible to display the entire content of the bullet screen by turning off the bullet screen simplification function when there are fewer bullet screens currently displayed in the bullet screen display interface, but also the currently displayed bullet screen in the bullet screen display interface is relatively small. In many cases, only the bullet screen keywords can be displayed by turning on the bullet screen simplification function, so as to minimize the occupation of the bullet screen display interface by non-keywords in the bullet screen, and further avoid the occlusion of the bullet screen content on the screen of the target work.
实际上,上述弹幕筛除功能和弹幕简化功能均可以根据弹幕展示界面中的当前弹幕数量或当前弹幕展示区域占弹幕展示界面的面积百分比自动打开或关闭(客户端自动发出打开或关闭的控制指令),以便根据当前弹幕展示界面的弹幕展示情况自动调整弹幕展示状态,从而在实现更好的弹幕展示效果的同时保证了观众用户的观看体验。上述弹幕筛除功能和弹幕简化功能也可以提供给观众用户(客户端对应的观众用户账号),以便观众用户根据当前弹幕展示情况自定义选择打开或关系上述功能,从而实现个性化的功能选择,有助于提高在当前弹幕较多情况下观众用户的弹幕观看体验。In fact, the above-mentioned bullet screen screening function and bullet screen simplification function can be automatically turned on or off according to the current number of bullet screens in the bullet screen display interface or the percentage of the current bullet screen display area in the bullet screen display interface (the client automatically sends Turn on or off the control command), so as to automatically adjust the bullet screen display state according to the current bullet screen display interface, so as to achieve a better bullet screen display effect and ensure the viewing experience of audience users. The above-mentioned bullet screen screening function and bullet screen simplification function can also be provided to the audience user (the audience user account corresponding to the client), so that the audience user can choose to open or relate the above functions according to the current bullet screen display situation, so as to realize personalized customization. The function selection helps to improve the bullet screen viewing experience of audience users when there are currently many bullet screens.
在本公开的一实施例中,弹幕展示界面中同时展示的多个弹幕之间可能存在内容相似的现象,例如内容重复的多条弹幕等。此时,可以在展示弹幕时可以设置弹幕合并功能:在第一弹幕存在多个相关联的第二弹幕的情况下,计算关联至第一弹幕的各个第二弹幕之间的相似度;并对相似度大于预设阈值的第二弹幕进行合并处理。其中,上述相似度计算可以根据相同关键词进行计算,也可以使用所有字符结合字符顺序进行计算,还可以结合智能算法进行语义相似度计算。另外,上述相似度的预设阈值可以根据实际情况进行调整,本公开对于相似度的计算方法及相似度阈值大小并不进行限制。In an embodiment of the present disclosure, there may be a phenomenon of similar content among multiple bullet screens displayed at the same time in the bullet screen display interface, such as multiple bullet screens with repeated content. At this time, the bullet screen merging function can be set when the bullet screen is displayed: in the case that there are multiple associated second bullet screens in the first bullet screen, the calculation between each second bullet screen related to the first bullet screen is calculated. the similarity; and merge the second bullet screens with the similarity greater than the preset threshold. The above similarity calculation may be calculated according to the same keyword, or may be calculated by combining all characters with the sequence of the characters, or may be calculated by combining an intelligent algorithm to calculate the semantic similarity. In addition, the preset threshold of the similarity can be adjusted according to the actual situation, and the present disclosure does not limit the calculation method of the similarity and the size of the similarity threshold.
如图8(a)所示,弹幕展示界面中展示有多个弹幕,各个弹幕之间的关联关系如图8(b)所示。不妨假设同时被关联至弹幕A的弹幕B和弹幕C,以及同时被关联至弹幕E的弹幕F和弹幕G之间的相似度大于预设阈值,此时,可以将弹幕B和弹幕C进行合并,并将弹幕F 和弹幕G进行合并,合并后效果如图8(c)所示。在合并过程中,可以在原被合并弹幕之间添加“-”连字符以示区分(如弹幕B和弹幕C所示),也可以分行合并以示区分(如弹幕F和弹幕G所示)。As shown in Figure 8(a), there are multiple bullet screens displayed in the bullet screen display interface, and the relationship between each bullet screen is shown in Figure 8(b). It may be assumed that the similarity between the bullet screen B and the bullet screen C, which are both associated with the bullet screen A, and the bullet screen F and the bullet screen G, which are also related to the bullet screen E, are greater than the preset threshold. Bullet screen B and bullet screen C are combined, and bullet screen F and bullet screen G are combined, and the combined effect is shown in Figure 8(c). During the merging process, you can add a "-" hyphen between the original merged danmaku to show the distinction (as shown in danmaku B and danmaku C), or you can merge them into separate lines to show the difference (such as danmaku F and danmaku) shown in G).
在本公开的一实施例中,也可以计算(即将在同一时刻展示在)同一弹幕展示界面中的任意多个弹幕之间的相似度,然后将相似度阈值大于阈值的多个弹幕进行合并处理,以避免同一时刻弹幕展示界面出现大量同质化弹幕带来的界面遮挡和用户体现下降。不妨假设均未被关联至第三弹幕的弹幕A和弹幕H、弹幕C和被关联至弹幕C的弹幕D、以及同时被关联至弹幕E的弹幕F和弹幕G之间的相似度大于预设阈值,此时,可以分别将弹幕A和弹幕H、将弹幕C和弹幕D、以及弹幕F和弹幕G进行合并,合并后效果如图8(d)所示。同样的,合并后的合并弹幕可以使用连字符或分行合并等方式区分被合并的原弹幕,当然,也可以有其他区分方式,本公开对此并不进行限制。In an embodiment of the present disclosure, the similarity between any plurality of bullet screens in the same bullet screen display interface can also be calculated (to be displayed at the same time), and then the similarity threshold is greater than the threshold of the plurality of bullet screens. Merge processing to avoid interface occlusion and user performance degradation caused by a large number of homogenized barrages appearing on the barrage display interface at the same time. Let’s assume that bullet screen A and bullet screen H are not associated with the third bullet screen, bullet screen C and bullet screen D are related to bullet screen C, and bullet screen F and bullet screen are related to bullet screen E at the same time. The similarity between G is greater than the preset threshold. At this time, you can combine the bullet screen A and the bullet screen H, the bullet screen C and the bullet screen D, and the bullet screen F and the bullet screen G respectively. The combined effect is as shown in the figure. 8(d). Similarly, the merged merged barrage can be distinguished from the merged original barrage by means of hyphenation or branch merge. Of course, there may also be other ways of differentiation, which are not limited in the present disclosure.
在本公开的一实施例中,对于同一时刻位于同一弹幕展示界面中的多个完全相同的重复弹幕,可以将其进行完全合并,例如将n个完全相同的原弹幕合并后,可以为合并后弹幕(实际上与原弹幕相同)添加合并数量,例如在弹幕末位添加字符“n”,以表示该弹幕对应于n个相同弹幕,从而大大减少了弹幕刷屏情况下大量重复弹幕对目标作品展示画面的遮挡,保证了用户体验。当然,为充分尊重展示方客户端登录的用户账号的选择权利,可以为用户提供该合并功能的功能开关,以由用户账号自主选择打开或关闭该功能。In an embodiment of the present disclosure, for multiple identical duplicate bullet screens located in the same bullet screen display interface at the same time, they can be completely merged. For example, after merging n identical original bullet screens, you can Add the number of merges for the merged bullet screen (actually the same as the original bullet screen), for example, add the character "n" at the end of the bullet screen to indicate that the bullet screen corresponds to n identical bullet screens, thus greatly reducing the bullet screen swiping. In this case, a large number of repeated bullet screens block the display screen of the target work, which ensures the user experience. Of course, in order to fully respect the selection right of the user account logged in by the client of the presenter, the user can be provided with a function switch of the merge function, so that the user account can choose to open or close the function independently.
在本公开的一实施例中,可以根据上述展示关系和第一弹幕的第一展示位置确定第二弹幕的第二展示位置;若第二展示位置位于弹幕展示界面之外,则调整展示关系和/或调整第一展示位置,以使第二展示位置位于弹幕展示界面内;然后根据调整后的第二展示位置关联展示第二弹幕和第一弹幕。In an embodiment of the present disclosure, the second display position of the second bullet screen can be determined according to the above-mentioned display relationship and the first display position of the first bullet screen; if the second display position is outside the display interface of the bullet screen, adjust Display the relationship and/or adjust the first display position so that the second display position is located in the bullet screen display interface; and then display the second bullet screen and the first bullet screen in association according to the adjusted second display position.
如图9(a)所示,即将进入弹幕展示界面的多个弹幕中,弹幕E和弹幕F均被关联至弹A,弹幕E所对应第二展示位置的一部分位于弹幕展示界面之外,弹幕F所对应第二展示位置全部位于弹幕展示界面之外。作为一示例性实施例,展示方客户端可以调整弹幕E和弹幕F与弹幕A之间的展示关系:将弹幕E向上平移,减少与弹幕A之间的间距;将弹幕F从弹幕A的右下方移动至弹幕A的正右方,从而将弹幕E和弹幕F分别对应的第二展示位置调整至弹幕展示界面内,如图9(b)所示。作为另一示例性实施例,展示方客户端也可以调整调整弹幕A的第一展示位置:将弹幕A向上平移,同时保持弹幕E和弹幕F与弹幕A之间的相对位置关系不变,从而将弹幕F和弹幕G分别对应的第二展示位置调整至弹幕展示界面内,如图9(c)所示。As shown in Figure 9(a), among the multiple bullet screens that are about to enter the bullet screen display interface, both bullet screen E and bullet screen F are associated with bullet screen A, and a part of the second display position corresponding to bullet screen E is located in the bullet screen. Outside the display interface, the second display positions corresponding to the bullet screen F are all located outside the bullet screen display interface. As an exemplary embodiment, the presenter client can adjust the display relationship between the bullet screen E and the bullet screen F and the bullet screen A: move the bullet screen E upward to reduce the distance from the bullet screen A; F moves from the lower right of the bullet screen A to the right of the bullet screen A, so as to adjust the second display positions corresponding to the bullet screen E and the bullet screen F respectively in the bullet screen display interface, as shown in Figure 9(b) . As another exemplary embodiment, the presenter client can also adjust the first display position of the bullet screen A: move the bullet screen A upward while maintaining the relative positions between the bullet screen E and the bullet screen F and the bullet screen A The relationship remains unchanged, so the second display positions corresponding to the bullet screen F and the bullet screen G respectively are adjusted into the bullet screen display interface, as shown in FIG. 9( c ).
与前述弹幕发布及展示方法的实施例相对应地,本公开还提出了弹幕发布及展示装置的实施例。Corresponding to the foregoing embodiments of the bullet screen publishing and displaying method, the present disclosure also proposes an embodiment of a bullet screen publishing and displaying apparatus.
图10是根据本公开的实施例示出的一种弹幕发布装置的示意框图。本公开的实施例所示的弹幕发布装置可以适用于弹幕展示应用对应的客户端,上述客户端所在的弹幕展示设备可以包括但不限于手机、平板电脑、可穿戴设备、个人计算机等电子设备;弹幕展示应用对应的服务端所在的服务器可以包括但不限于包含一独立主机的物理服务器或主机集群承载的虚拟服务器等。上述客户端可以是安装在弹幕展示设备中的应用程序,也可以是集成在浏览器中的网页版应用。上述目标作品可以是音频,例如语音、歌曲、纯音乐等;也可以是不带声音的视频,如静音视频、哑剧、无声电影等;还可以是音视频,例如电影、电视剧、动画、视频剪辑、情景短剧、直播画面等。FIG. 10 is a schematic block diagram of a bullet screen publishing apparatus according to an embodiment of the present disclosure. The bullet screen publishing apparatus shown in the embodiments of the present disclosure may be applicable to the client terminal corresponding to the bullet screen display application, and the bullet screen display device where the client terminal is located may include but is not limited to mobile phones, tablet computers, wearable devices, personal computers, etc. Electronic equipment; the server where the server corresponding to the bullet screen display application is located may include, but is not limited to, a physical server including an independent host or a virtual server hosted by a host cluster, etc. The above client may be an application installed in the bullet screen display device, or may be a web version application integrated in a browser. The above-mentioned target works can be audio, such as voice, song, pure music, etc.; can also be video without sound, such as silent video, pantomime, silent movie, etc.; can also be audio and video, such as movies, TV series, animations, video clips , sitcoms, live broadcasts, etc.
如图10所示,所述弹幕发布装置可以包括:As shown in Figure 10, the bullet screen publishing device may include:
弹幕确定模块1001,被配置为确定用户账号针对目标作品的第一弹幕提供的第二弹幕;The bullet screen determination module 1001 is configured to determine the second bullet screen provided by the user account for the first bullet screen of the target work;
弹幕发布模块1002,被配置为发布所述第二弹幕,所述第二弹幕用于与所述第一弹幕关联展示在所述目标作品的弹幕展示界面中,以使所述第二弹幕与所述第一弹幕之间满足预定义的展示关系。The bullet screen publishing module 1002 is configured to publish the second bullet screen, and the second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen, so that the A predefined display relationship is satisfied between the second bullet screen and the first bullet screen.
在一些实施例中,所述第一弹幕,包括:In some embodiments, the first bullet screen includes:
被关联至第三弹幕的弹幕,所述第三弹幕区别于所述第二弹幕;或者,The bullet screen associated with the third bullet screen, the third bullet screen is different from the second bullet screen; or,
未被关联至所述第三弹幕的弹幕。A bullet screen that is not associated with the third bullet screen.
在一些实施例中,还包括:In some embodiments, it also includes:
展示关系设定模块1003,被配置为根据来自所述用户账号的设定指令,设定所述展示关系;The display relationship setting module 1003 is configured to set the display relationship according to the setting instruction from the user account;
关联发布模块1004,被配置为将所述展示关系与所述第二弹幕关联发布。The association publishing module 1004 is configured to publish the display relationship in association with the second bullet screen.
在一些实施例中,所述展示关系设定模块,还被配置为:In some embodiments, the presentation relationship setting module is further configured to:
获取所述用户账号针对所述第二弹幕设置的相对于所述第一弹幕的相对位置关系,并将所述相对位置关系确定为所述展示关系;或者,Obtain the relative positional relationship set by the user account for the second barrage with respect to the first barrage, and determine the relative positional relationship as the display relationship; or,
设置所述第二弹幕与所述第一弹幕的展示属性相同,并将相应的展示属性关系确定为所述展示关系;或者,Setting the display attribute of the second bullet screen and the first bullet screen to be the same, and determining the corresponding display attribute relationship as the display relationship; or,
获取所述用户账号针对所述第二弹幕设置的相对于所述第一弹幕的标识引用关系,并将所述标识引用关系确定为所述展示关系。Acquire the identification reference relationship set by the user account for the second bullet screen relative to the first bullet screen, and determine the identification reference relationship as the display relationship.
在一些实施例中,还包括:In some embodiments, it also includes:
位置确定模块1005,被配置为根据所述展示关系和所述第一弹幕的第一展示位置确定所述第二弹幕的第二展示位置;The position determination module 1005 is configured to determine the second display position of the second bullet screen according to the display relationship and the first display position of the first bullet screen;
位置调整模块1006,被配置为在所述第二展示位置位于所述弹幕展示界面之外的情况下,提示所述发布方账号调整所述展示关系或者自动调整所述展示关系,以使所述第二展示位置被调整至所述弹幕展示界面内。The position adjustment module 1006 is configured to prompt the publisher account to adjust the display relationship or automatically adjust the display relationship when the second display position is located outside the bullet screen display interface, so that all The second display position is adjusted to the bullet screen display interface.
在一些实施例中,还包括:In some embodiments, it also includes:
预览提供模块1007,被配置为在确定所述第二弹幕后,向所述用户账号提供关于所述第二弹幕和所述第一弹幕关联展示效果的预览内容。The preview providing module 1007 is configured to, after determining the second bullet screen, provide the user account with preview content about the display effect associated with the second bullet screen and the first bullet screen.
本公开的实施例还提出一种电子设备,包括:Embodiments of the present disclosure also provide an electronic device, including:
处理器;processor;
用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;
其中,所述处理器被配置为执行所述指令,以实现如上述本公开的任一实施例所述的弹幕发布方法。Wherein, the processor is configured to execute the instructions, so as to implement the method for releasing a bullet screen according to any embodiment of the present disclosure.
本公开的实施例还提出一种存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行上述本公开的任一实施例所述的弹幕发布方法。An embodiment of the present disclosure further provides a storage medium, when an instruction in the storage medium is executed by a processor of an electronic device, the electronic device can execute the bullet screen publishing method described in any of the foregoing embodiments of the present disclosure.
本公开的实施例还提出一种计算机程序产品,所述计算机程序产品被配置为执行上述本公开的任一实施例所述的弹幕发布方法。An embodiment of the present disclosure also provides a computer program product, where the computer program product is configured to execute the bullet screen publishing method described in any of the foregoing embodiments of the present disclosure.
图11是根据本公开的实施例示出的一种电子设备的示意框图。例如,电子设备1100可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 11 is a schematic block diagram of an electronic device according to an embodiment of the present disclosure. For example, electronic device 1100 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.
参照图11,电子设备1100可以包括以下一个或多个组件:处理组件1102,存储器1104,电源组件1106,多媒体组件1108,音频组件1110,输入/输出(I/O)的接口1112,传感器组件1114,以及通信组件1118。11, an electronic device 1100 may include one or more of the following components: a processing component 1102, a memory 1104, a power supply component 1106, a multimedia component 1108, an audio component 1110, an input/output (I/O) interface 1112, a sensor component 1114 , and the communication component 1118.
处理组件1102通常控制电子设备1100的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1102可以包括一个或多个处理器1120来执行指令,以完成上述弹幕发布方法的全部或部分步骤。此外,处理组件1102可以包括一个或多个模块,便于处理组件1102和其他组件之间的交互。例如,处理组件1102可以包括多媒体模块,以方便多媒体组件1108和处理组件1102之间的交互。The processing component 1102 generally controls the overall operation of the electronic device 1100, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute the instructions, so as to complete all or part of the steps of the above-mentioned bullet screen publishing method. Additionally, processing component 1102 may include one or more modules that facilitate interaction between processing component 1102 and other components. For example, processing component 1102 may include a multimedia module to facilitate interaction between multimedia component 1108 and processing component 1102.
存储器1104被配置为存储各种类型的数据以支持在电子设备1100的操作。这些数据的示例包括用于在电子设备1100上操作的任何应用程序或方法的指令,联系人数据,电话簿数 据,消息,图片,视频等。存储器1104可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1104 is configured to store various types of data to support operation at the electronic device 1100 . Examples of such data include instructions for any application or method operating on the electronic device 1100, contact data, phonebook data, messages, pictures, videos, and the like. Memory 1104 may be implemented by any type of volatile or non-volatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件1106为电子设备1100的各种组件提供电力。电源组件1106可以包括电源管理系统,一个或多个电源,及其他与为电子设备1100生成、管理和分配电力相关联的组件。 Power supply assembly 1106 provides power to various components of electronic device 1100 . Power supply components 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1100 .
多媒体组件1108包括在电子设备1100和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1108包括一个前置摄像头和/或后置摄像头。当电子设备1100处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1108 includes a screen that provides an output interface between the electronic device 1100 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 1108 includes a front-facing camera and/or a rear-facing camera. When the electronic device 1100 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件1110被配置为输出和/或输入音频信号。例如,音频组件1110包括一个麦克风(MIC),当电子设备1100处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1104或经由通信组件1118发送。在一些实施例中,音频组件1110还包括一个扬声器,用于输出音频信号。 Audio component 1110 is configured to output and/or input audio signals. For example, audio component 1110 includes a microphone (MIC) that is configured to receive external audio signals when electronic device 1100 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 1104 or transmitted via communication component 1118 . In some embodiments, audio component 1110 also includes a speaker for outputting audio signals.
I/O接口1112为处理组件1102和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1112 provides an interface between the processing component 1102 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.
传感器组件1114包括一个或多个传感器,用于为电子设备1100提供各个方面的状态评估。例如,传感器组件1114可以检测到电子设备1100的打开/关闭状态,组件的相对定位,例如所述组件为电子设备1100的显示器和小键盘,传感器组件1114还可以检测电子设备1100或电子设备1100一个组件的位置改变,用户与电子设备1100接触的存在或不存在,电子设备1100方位或加速/减速和电子设备1100的温度变化。传感器组件1114可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1114还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1114还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor assembly 1114 includes one or more sensors for providing various aspects of status assessment for electronic device 1100 . For example, the sensor assembly 1114 can detect the open/closed state of the electronic device 1100, the relative positioning of the components, such as the display and the keypad of the electronic device 1100, the sensor assembly 1114 can also detect the electronic device 1100 or one of the electronic device 1100 Changes in the position of components, presence or absence of user contact with the electronic device 1100 , orientation or acceleration/deceleration of the electronic device 1100 and changes in the temperature of the electronic device 1100 . Sensor assembly 1114 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件1118被配置为便于电子设备1100和其他设备之间有线或无线方式的通信。电 子设备1100可以接入基于通信标准的无线网络,如WiFi,运营商网络(如2G、3G、4G或5G),或它们的组合。在一个示例性实施例中,通信组件1118经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1118还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 Communication component 1118 is configured to facilitate wired or wireless communications between electronic device 1100 and other devices. Electronic device 1100 may access wireless networks based on communication standards, such as WiFi, carrier networks (such as 2G, 3G, 4G, or 5G), or a combination thereof. In one exemplary embodiment, the communication component 1118 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1118 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在本公开一实施例中,电子设备1100可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述弹幕发布方法。In one embodiment of the present disclosure, the electronic device 1100 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field A programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components are implemented for executing the above-mentioned method for releasing the bullet screen.
在本公开一实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1104,上述指令可由电子设备1100的处理器1120执行以完成上述弹幕发布方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an embodiment of the present disclosure, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1104 including instructions, and the above-mentioned instructions can be executed by the processor 1120 of the electronic device 1100 to complete the above-mentioned bullet screen publishing method . For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
图12是根据本公开的实施例示出的一种弹幕展示装置的示意框图。本公开的实施例所示的弹幕展示装置可以适用于弹幕展示应用对应的客户端,上述客户端所在的弹幕展示设备可以包括但不限于手机、平板电脑、可穿戴设备、个人计算机等电子设备;弹幕展示应用对应的服务端所在的服务器可以包括但不限于包含一独立主机的物理服务器或主机集群承载的虚拟服务器等。上述客户端可以是安装在弹幕展示设备中的应用程序,也可以是集成在浏览器中的网页版应用。上述目标作品可以是音频,例如语音、歌曲、纯音乐等;也可以是不带声音的视频,如静音视频、哑剧、无声电影等;还可以是音视频,例如电影、电视剧、动画、视频剪辑、情景短剧、直播画面等。FIG. 12 is a schematic block diagram of a bullet screen display device according to an embodiment of the present disclosure. The bullet screen display device shown in the embodiments of the present disclosure can be applied to the client terminal corresponding to the bullet screen display application, and the bullet screen display device where the client is located may include but not limited to mobile phones, tablet computers, wearable devices, personal computers, etc. Electronic equipment; the server where the server corresponding to the bullet screen display application is located may include, but is not limited to, a physical server including an independent host or a virtual server hosted by a host cluster. The above-mentioned client may be an application installed in the bullet screen display device, or may be a web version application integrated in a browser. The above-mentioned target works can be audio, such as voice, song, pure music, etc.; can also be video without sound, such as silent video, pantomime, silent movie, etc.; can also be audio and video, such as movies, TV series, animations, video clips , sitcoms, live broadcasts, etc.
如图12所示,所述弹幕展示装置可以包括:As shown in Figure 12, the barrage display device may include:
弹幕获取模块1201,被配置为获取目标作品的第一弹幕以及被关联至所述第一弹幕的第二弹幕;The bullet screen acquisition module 1201 is configured to acquire the first bullet screen of the target work and the second bullet screen associated with the first bullet screen;
关联展示模块1202,被配置为在所述目标作品的弹幕展示界面中关联展示所述第二弹幕和所述第一弹幕,以使所述第二弹幕与所述第一弹幕之间满足预定义的展示关系。The associated display module 1202 is configured to display the second bullet screen and the first bullet screen in association with the bullet screen display interface of the target work, so that the second bullet screen and the first bullet screen can be displayed in association with each other. satisfy a predefined display relationship between them.
在一些实施例中,所述关联展示模块,还被配置为:In some embodiments, the association display module is further configured to:
在所述展示关系包括相对位置关系的情况下,在所述第一弹幕的预设相对位置处展示所述第二弹幕;或者,In the case that the display relationship includes a relative position relationship, displaying the second bullet screen at a preset relative position of the first bullet screen; or,
在所述展示关系包括展示属性关系的情况下,按照与所述第一弹幕相同的展示属性展示所述第二弹幕;或者,In the case that the display relationship includes a display attribute relationship, the second bullet screen is displayed according to the same display attribute as the first bullet screen; or,
在所述展示关系包括标识引用关系的情况下,在所述第二弹幕的展示区域中展示与所述第一弹幕相关的关联标识或关联关键词。In the case where the display relationship includes an identifier reference relationship, the associated identifier or associated keyword related to the first barrage is displayed in the display area of the second barrage.
在一些实施例中,所述关联展示模块,还被配置为:In some embodiments, the association display module is further configured to:
将所述第二弹幕展示在所述第一弹幕的静态相对位置处或动态相对位置处。The second bullet screen is displayed at a static relative position or a dynamic relative position of the first bullet screen.
在一些实施例中,所述展示属性包括下述至少之一:In some embodiments, the presentation attribute includes at least one of the following:
弹幕颜色、弹幕移动速度、弹幕字体格式。The barrage color, barrage movement speed, and barrage font format.
在一些实施例中,所述第一弹幕,包括:In some embodiments, the first bullet screen includes:
被关联至第三弹幕的弹幕,所述第三弹幕区别于所述第二弹幕;或者,The bullet screen associated with the third bullet screen, the third bullet screen is different from the second bullet screen; or,
未被关联至所述第三弹幕的弹幕。A bullet screen that is not associated with the third bullet screen.
在一些实施例中,所述关联展示模块,还被配置为:In some embodiments, the association display module is further configured to:
在弹幕筛除功能被开启的情况下,仅展示未被关联至第三弹幕的所述第一弹幕;When the bullet screen screening function is enabled, only the first bullet screen that is not associated with the third bullet screen is displayed;
在弹幕筛除功能未开启的情况下,展示所有的第一弹幕和相应的第二弹幕。If the bullet screen screening function is not turned on, all the first bullet screens and the corresponding second bullet screens will be displayed.
在一些实施例中,所述关联展示模块,还被配置为:In some embodiments, the association display module is further configured to:
根据所述展示关系和所述第一弹幕的第一展示位置确定所述第二弹幕的第二展示位置;Determine the second display position of the second bullet screen according to the display relationship and the first display position of the first bullet screen;
若所述第二展示位置位于所述弹幕展示界面之外,则调整所述展示关系和/或调整所述第一展示位置,以使所述第二展示位置位于所述弹幕展示界面内;If the second display position is outside the bullet chat display interface, adjust the display relationship and/or adjust the first display position so that the second display position is located in the bullet chat display interface ;
根据调整后的第二展示位置关联展示所述第二弹幕和所述第一弹幕。The second bullet screen and the first bullet screen are displayed in association according to the adjusted second display position.
在一些实施例中,所述关联展示模块,还被配置为:In some embodiments, the association display module is further configured to:
在弹幕简化功能被开启的情况下,以缩略模式展示所述第二弹幕和/或所述第一弹幕,所述缩略模式下仅展示弹幕关键词;When the bullet screen simplification function is enabled, display the second bullet screen and/or the first bullet screen in abbreviated mode, and only display the bullet screen keywords in the abbreviated mode;
在所述弹幕简化功能未开启的情况下,以详情模式展示第一弹幕和第二弹幕,所述详情模式下展示弹幕的全部内容;In the case that the bullet screen simplification function is not enabled, the first bullet screen and the second bullet screen are displayed in the detail mode, and the entire content of the bullet screen is displayed in the detailed mode;
在接收到针对任一弹幕的触发操作的情况下,将所述弹幕的展示模式在所述缩略模式和详情模式之间切换。In the case of receiving a trigger operation for any bullet screen, the display mode of the bullet screen is switched between the abbreviated mode and the detailed mode.
在一些实施例中,还包括:In some embodiments, it also includes:
相似度计算模块1203,被配置为在所述第一弹幕存在多个相关联的第二弹幕的情况下,计算关联至所述第一弹幕的各个第二弹幕之间的相似度;The similarity calculation module 1203 is configured to calculate the similarity between the second bullet screens associated with the first bullet screen when there are multiple associated second bullet screens in the first bullet screen ;
合并处理模块1204,被配置为对相似度大于预设阈值的第二弹幕进行合并处理。The merging processing module 1204 is configured to perform merging processing on the second bullet screens whose similarity is greater than a preset threshold.
在一些实施例中,所述展示关系的设定方式包括下述至少之一:In some embodiments, the setting manner of the display relationship includes at least one of the following:
由所述目标作品的发布方设定、由所述第一弹幕的发布方设定、由所述第二弹幕的发布 方设定、根据系统预设参数设定。It is set by the publisher of the target work, set by the publisher of the first bullet screen, set by the publisher of the second bullet screen, and set according to system preset parameters.
本公开的实施例还提出一种电子设备,包括:Embodiments of the present disclosure also provide an electronic device, including:
处理器;processor;
用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;
其中,所述处理器被配置为执行所述指令,以实现如下弹幕展示方法的步骤:获取目标作品的第一弹幕以及第二弹幕,所述第二弹幕与所述第一弹幕关联;在所述目标作品的弹幕展示界面中关联展示所述第二弹幕和所述第一弹幕。Wherein, the processor is configured to execute the instructions, so as to realize the following steps of the bullet screen display method: obtaining the first bullet screen and the second bullet screen of the target work, the second bullet screen and the first bullet screen screen association; the second bullet screen and the first bullet screen are displayed in association in the bullet screen display interface of the target work.
在一些实施例中,所述处理器被配置为执行所述指令,以实现以下步骤:在所述第一弹幕的预设相对位置处展示所述第二弹幕。In some embodiments, the processor is configured to execute the instructions to implement the following step: displaying the second bullet screen at a preset relative position of the first bullet screen.
在一些实施例中,所述处理器被配置为执行所述指令,以实现以下步骤:将所述第二弹幕展示在所述第一弹幕的静态相对位置处或动态相对位置处。In some embodiments, the processor is configured to execute the instructions to implement the step of: displaying the second bullet screen at a static relative position or a dynamic relative position of the first bullet screen.
在一些实施例中,所述处理器被配置为执行所述指令,以实现以下步骤:按照目标展示属性,展示所述第二弹幕,所述目标展示属性与所述第一弹幕的展示属性相同。In some embodiments, the processor is configured to execute the instructions to implement the following steps: displaying the second bullet screen according to a target presentation attribute, the target presentation attribute and the presentation of the first bullet screen properties are the same.
在一些实施例中,所述处理器被配置为执行所述指令,以实现以下步骤:在所述第二弹幕的展示区域中展示与所述第一弹幕相关的关联标识或关联关键词。In some embodiments, the processor is configured to execute the instructions to implement the following step: displaying the associated identifier or associated keyword related to the first bullet screen in the display area of the second bullet screen .
在一些实施例中,所述第一弹幕包括:与第三弹幕关联的第一弹幕或未与所述第三弹幕关联的第一弹幕,所述第三弹幕区别于所述第二弹幕;In some embodiments, the first bullet screen includes: a first bullet screen associated with a third bullet screen or a first bullet screen not associated with the third bullet screen, the third bullet screen being different from all Describe the second barrage;
所述处理器被配置为执行所述指令,以实现以下步骤:响应于弹幕筛除功能被开启,仅展示未与所述第三弹幕关联的所述第一弹幕;响应于弹幕筛除功能未开启,关联展示所有的第一弹幕和相应的第二弹幕。The processor is configured to execute the instructions to implement the following steps: in response to the bullet screen screening function being turned on, only display the first bullet screen that is not associated with the third bullet screen; in response to the bullet screen The screening function is not turned on, and all the first barrage and the corresponding second barrage are displayed in association.
在一些实施例中,所述处理器被配置为执行所述指令,以实现以下步骤:基于展示关系和所述第一弹幕的第一展示位置,确定所述第二弹幕的第二展示位置,所述展示关系为具有关联关系的两个弹幕在展示时的关系;响应于所述第二展示位置位于所述弹幕展示界面之外,调整所述展示关系或所述第一展示位置中至少一项,以使所述第二展示位置位于所述弹幕展示界面内;分别在调整后的第二展示位置和所述第一展示位置上,展示所述第二弹幕和所述第一弹幕。In some embodiments, the processor is configured to execute the instructions to implement the following step: determining the second presentation of the second bullet screen based on the presentation relationship and the first presentation position of the first bullet screen position, the display relationship is the relationship between two barrages with an associated relationship when they are displayed; in response to the second display position being outside the barrage display interface, adjust the display relationship or the first display at least one of the positions, so that the second display position is located in the bullet screen display interface; on the adjusted second display position and the first display position, respectively, display the second bullet screen and all Describe the first barrage.
在一些实施例中,所述处理器被配置为执行所述指令,以实现以下步骤:响应于弹幕简化功能被开启,关联展示所述第二弹幕和所述第一弹幕的弹幕关键词;响应于所述弹幕简化功能未开启,关联展示第一弹幕和第二弹幕。In some embodiments, the processor is configured to execute the instructions to implement the following steps: in response to the bullet screen simplification function being turned on, associatively displaying the second bullet screen and the bullet screen of the first bullet screen Keywords; in response to the bullet screen simplification function not being enabled, the first bullet screen and the second bullet screen are displayed in association.
在一些实施例中,所述处理器还被配置为执行所述指令,以实现以下步骤:响应于针对 任一弹幕的触发操作,在展示所述弹幕的弹幕关键词和展示所述弹幕之间切换。In some embodiments, the processor is further configured to execute the instructions to implement the following steps: in response to a triggering operation for any bullet screen, displaying the bullet screen keywords of the bullet screen and displaying the bullet screen Switch between barrages.
在一些实施例中,所述处理器还被配置为执行所述指令,以实现以下步骤:响应于所述第二弹幕的数量为多个,获取多个第二弹幕之间的相似度;对所述相似度大于阈值的至少两个第二弹幕进行合并处理。In some embodiments, the processor is further configured to execute the instructions to implement the following step: in response to the number of the second bullet screens being multiple, acquiring the similarity between the plurality of second bullet screens ; Perform merging processing on at least two second bullet screens whose similarity is greater than the threshold.
其中,所述处理器被配置为执行所述指令,以实现如下弹幕发布方法的步骤:确定第二弹幕,所述第二弹幕针对目标作品的第一弹幕提供;发布所述第二弹幕,所述第二弹幕用于与所述第一弹幕关联展示在所述目标作品的弹幕展示界面中。Wherein, the processor is configured to execute the instructions, so as to implement the following steps of the bullet screen publishing method: determine a second bullet screen, the second bullet screen is provided for the first bullet screen of the target work; publish the first bullet screen A second bullet screen, the second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen.
在一些实施例中,所述处理器还被配置为执行所述指令,以实现以下步骤:根据设定指令,设定展示关系,所述展示关系为具有关联关系的两个弹幕在展示时的关系;In some embodiments, the processor is further configured to execute the instruction to implement the following steps: according to the setting instruction, set a display relationship, where the display relationship is when two barrage screens with an associated relationship are displayed Relationship;
所述处理器被配置为执行所述指令,以实现以下步骤:将所述展示关系与所述第二弹幕关联发布。The processor is configured to execute the instructions to implement the following steps: release the display relationship in association with the second bullet screen.
在一些实施例中,所述处理器被配置为执行所述指令,以实现以下步骤:获取针对所述第二弹幕设置的相对于所述第一弹幕的相对位置关系;将所述相对位置关系确定为所述展示关系。In some embodiments, the processor is configured to execute the instructions to implement the following steps: obtain a relative positional relationship set for the second bullet screen with respect to the first bullet screen; The positional relationship is determined as the presentation relationship.
在一些实施例中,所述处理器被配置为执行所述指令,以实现以下步骤:设置展示属性关系,所述展示属性关系为所述第二弹幕与所述第一弹幕的展示属性相同;将所述展示属性关系确定为所述展示关系。In some embodiments, the processor is configured to execute the instructions to implement the following steps: setting a display attribute relationship, the display attribute relationship being the display attributes of the second bullet screen and the first bullet screen The same; the display attribute relationship is determined as the display relationship.
在一些实施例中,所述处理器被配置为执行所述指令,以实现以下步骤:获取设置的所述第二弹幕相对于所述第一弹幕的标识引用关系;将所述标识引用关系确定为所述展示关系。In some embodiments, the processor is configured to execute the instructions to implement the following steps: obtaining the set identification reference relationship of the second bullet screen relative to the first bullet screen; referencing the identification A relationship is determined to be the presentation relationship.
在一些实施例中,所述处理器还被配置为执行所述指令,以实现以下步骤:基于所述展示关系和所述第一弹幕的第一展示位置,确定所述第二弹幕的第二展示位置;响应于所述第二展示位置位于所述弹幕展示界面之外,提示调整所述展示关系或者自动调整所述展示关系,以使所述第二展示位置被调整至所述弹幕展示界面内。In some embodiments, the processor is further configured to execute the instructions to implement the following step: determining the second bullet screen based on the display relationship and the first display position of the first bullet screen. second display position; in response to the second display position being outside the bullet screen display interface, prompt to adjust the display relationship or automatically adjust the display relationship, so that the second display position is adjusted to the In the barrage display interface.
在一些实施例中,所述处理器还被配置为执行所述指令,以实现以下步骤:在确定所述第二弹幕后,提供关于所述第二弹幕和所述第一弹幕关联展示效果的预览内容。In some embodiments, the processor is further configured to execute the instructions to implement the following steps: after the second bullet screen is determined, provide a related presentation about the second bullet screen and the first bullet screen The preview content of the effect.
本公开的实施例还提出一种计算机可读存储介质,响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下弹幕展示方法的步骤:获取目标作品的第一弹幕以及第二弹幕,所述第二弹幕与所述第一弹幕关联;在所述目标作品的弹幕展示界面中关联展示所述第二弹幕和所述第一弹幕。Embodiments of the present disclosure also provide a computer-readable storage medium, which is executed by a processor of an electronic device in response to an instruction in the computer-readable storage medium, so that the electronic device can perform the following steps of a bullet screen display method: acquiring a target The first bullet screen and the second bullet screen of the work, the second bullet screen is associated with the first bullet screen; the second bullet screen and the first bullet screen are displayed in association in the bullet screen display interface of the target work. A popup.
在一些实施例中,响应于所述计算机可读存储介质中的指令由电子设备的处理器执行, 使得电子设备能够执行如下步骤:在所述第一弹幕的预设相对位置处展示所述第二弹幕。In some embodiments, in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device is enabled to perform the following step: displaying the first bullet screen at a preset relative position of the first bullet screen. Second barrage.
在一些实施例中,响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下步骤:将所述第二弹幕展示在所述第一弹幕的静态相对位置处或动态相对位置处。In some embodiments, in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device is enabled to perform the following step: displaying the second bullet screen on the first bullet screen At a static relative position or at a dynamic relative position.
在一些实施例中,响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下步骤:按照目标展示属性,展示所述第二弹幕,所述目标展示属性与所述第一弹幕的展示属性相同。In some embodiments, in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device can perform the following steps: displaying the second bullet screen according to the target display attribute, the target The display attribute is the same as the display attribute of the first bullet screen.
在一些实施例中,响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下步骤:在所述第二弹幕的展示区域中展示与所述第一弹幕相关的关联标识或关联关键词。In some embodiments, in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device is enabled to perform the following step: displaying the second bullet screen in the display area of the second bullet screen with the first A barrage-related associated identifier or associated keyword.
在一些实施例中,所述第一弹幕包括:与第三弹幕关联的第一弹幕或未与所述第三弹幕关联的第一弹幕,所述第三弹幕区别于所述第二弹幕;In some embodiments, the first bullet screen includes: a first bullet screen associated with a third bullet screen or a first bullet screen not associated with the third bullet screen, the third bullet screen being different from all Describe the second barrage;
响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下步骤:响应于弹幕筛除功能被开启,仅展示未与所述第三弹幕关联的所述第一弹幕;响应于弹幕筛除功能未开启,关联展示所有的第一弹幕和相应的第二弹幕。In response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device can perform the following steps: in response to the bullet screen screening function being turned on, only display the bullet screen that is not associated with the third bullet screen. The first bullet screen; in response to the bullet screen screening function not being turned on, all the first bullet screen and the corresponding second bullet screen are displayed in association.
在一些实施例中,响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下步骤:基于展示关系和所述第一弹幕的第一展示位置,确定所述第二弹幕的第二展示位置,所述展示关系为具有关联关系的两个弹幕在展示时的关系;响应于所述第二展示位置位于所述弹幕展示界面之外,调整所述展示关系或所述第一展示位置中至少一项,以使所述第二展示位置位于所述弹幕展示界面内;分别在调整后的第二展示位置和所述第一展示位置上,展示所述第二弹幕和所述第一弹幕。In some embodiments, in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device can perform the following steps: based on the display relationship and the first display position of the first bullet screen, Determine the second display position of the second bullet screen, and the display relationship is the relationship between two bullet screens with an associated relationship when they are displayed; in response to the second display position being located outside the bullet screen display interface, Adjust at least one of the display relationship or the first display position, so that the second display position is located in the bullet chat display interface; respectively in the adjusted second display position and the first display position , display the second bullet screen and the first bullet screen.
在一些实施例中,响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下步骤:响应于弹幕简化功能被开启,关联展示所述第二弹幕和所述第一弹幕的弹幕关键词;响应于所述弹幕简化功能未开启,关联展示第一弹幕和第二弹幕。In some embodiments, in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device can perform the following steps: in response to the bullet screen simplifying function being turned on, display the second bullet screen in association with it. The bullet screen and the bullet screen keywords of the first bullet screen; in response to the bullet screen simplification function not being enabled, the first bullet screen and the second bullet screen are displayed in association.
在一些实施例中,响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下步骤:响应于针对任一弹幕的触发操作,在展示所述弹幕的弹幕关键词和展示所述弹幕之间切换。In some embodiments, in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device can perform the following steps: in response to a triggering operation for any bullet screen, displaying the bullet screen Toggle between the bullet chat keyword of the screen and displaying the bullet chat.
在一些实施例中,响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下步骤:响应于所述第二弹幕的数量为多个,获取多个第二弹幕之间的相似度;对所述相似度大于阈值的至少两个第二弹幕进行合并处理。In some embodiments, in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device can perform the following steps: in response to the number of the second bullet screens being multiple, obtain multiple The similarity between the second bullet screens; the at least two second bullet screens with the similarity greater than the threshold are merged.
本公开的实施例还提出一种计算机可读存储介质,响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下弹幕发布方法的步骤:确定第二弹幕,所述第二弹幕针对目标作品的第一弹幕提供;发布所述第二弹幕,所述第二弹幕用于与所述第一弹幕关联展示在所述目标作品的弹幕展示界面中。Embodiments of the present disclosure also provide a computer-readable storage medium, which is executed by a processor of an electronic device in response to instructions in the computer-readable storage medium, so that the electronic device can perform the following steps of a bullet screen publishing method: determine the first The second bullet screen, the second bullet screen is provided for the first bullet screen of the target work; the second bullet screen is released, and the second bullet screen is used to be displayed in the target work in association with the first bullet screen in the barrage display interface.
在一些实施例中,响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备还能够执行如下步骤:根据设定指令,设定展示关系,所述展示关系为具有关联关系的两个弹幕在展示时的关系;In some embodiments, in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device can further perform the following steps: according to the setting instruction, set a presentation relationship, where the presentation relationship is: The relationship between two barrages with an associated relationship when they are displayed;
响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下步骤:将所述展示关系与所述第二弹幕关联发布。In response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device is enabled to perform the following steps: release the display relationship in association with the second bullet screen.
在一些实施例中,响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下步骤:获取针对所述第二弹幕设置的相对于所述第一弹幕的相对位置关系;将所述相对位置关系确定为所述展示关系。In some embodiments, in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device is enabled to perform the following step: obtaining a setting for the second bullet screen relative to the first The relative positional relationship of the bullet screen; the relative positional relationship is determined as the display relationship.
在一些实施例中,响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下步骤:设置展示属性关系,所述展示属性关系为所述第二弹幕与所述第一弹幕的展示属性相同;将所述展示属性关系确定为所述展示关系。In some embodiments, in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device is enabled to perform the following steps: setting a presentation attribute relationship, the presentation attribute relationship being the second elastic The display attribute of the screen is the same as that of the first bullet screen; the display attribute relationship is determined as the display relationship.
在一些实施例中,响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下步骤:获取设置的所述第二弹幕相对于所述第一弹幕的标识引用关系;将所述标识引用关系确定为所述展示关系。In some embodiments, in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device is enabled to perform the step of: acquiring the set second barrage relative to the first barrage The identification reference relationship of the screen is determined; the identification reference relationship is determined as the display relationship.
在一些实施例中,响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下步骤:基于所述展示关系和所述第一弹幕的第一展示位置,确定所述第二弹幕的第二展示位置;响应于所述第二展示位置位于所述弹幕展示界面之外,提示调整所述展示关系或者自动调整所述展示关系,以使所述第二展示位置被调整至所述弹幕展示界面内。In some embodiments, in response to the instructions in the computer-readable storage medium being executed by a processor of the electronic device, the electronic device is enabled to perform the following steps: a first presentation based on the presentation relationship and the first bullet screen position, and determine the second display position of the second bullet screen; in response to the second display position being outside the bullet screen display interface, prompt to adjust the display relationship or automatically adjust the display relationship so that all The second display position is adjusted to the bullet screen display interface.
在一些实施例中,响应于所述计算机可读存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行如下步骤:在确定所述第二弹幕后,提供关于所述第二弹幕和所述第一弹幕关联展示效果的预览内容。In some embodiments, in response to the instructions in the computer-readable storage medium being executed by the processor of the electronic device, the electronic device is enabled to perform the following steps: after determining the second bullet screen, provide information about the second bullet screen The screen and the first bullet screen are associated with the preview content of the display effect.
本公开的实施例还提出一种计算机程序产品,所述计算机程序产品被配置为执行上述本公开的任一实施例所述的弹幕展示方法或弹幕发布方法。An embodiment of the present disclosure further provides a computer program product, the computer program product is configured to execute the method for displaying a bullet screen or a method for publishing a bullet screen described in any of the above embodiments of the present disclosure.
图13是根据本公开的实施例示出的一种电子设备的示意框图。例如,电子设备1300可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备, 健身设备,个人数字助理等。Fig. 13 is a schematic block diagram of an electronic device according to an embodiment of the present disclosure. For example, electronic device 1300 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.
参照图13,电子设备1300可以包括以下一个或多个组件:处理组件1302,存储器1304,电源组件1306,多媒体组件1308,音频组件1310,输入/输出(I/O)的接口1312,传感器组件1314,以及通信组件1318。13, an electronic device 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power supply component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314 , and the communication component 1318.
处理组件1302通常控制电子设备1300的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1302可以包括一个或多个处理器1320来执行指令,以完成上述弹幕展示方法或弹幕发布方法的全部或部分步骤。此外,处理组件1302可以包括一个或多个模块,便于处理组件1302和其他组件之间的交互。例如,处理组件1302可以包括多媒体模块,以方便多媒体组件1308和处理组件1302之间的交互。The processing component 1302 generally controls the overall operation of the electronic device 1300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute the instructions, so as to complete all or part of the steps of the above-mentioned bullet screen display method or bullet screen publishing method. Additionally, processing component 1302 may include one or more modules that facilitate interaction between processing component 1302 and other components. For example, processing component 1302 may include a multimedia module to facilitate interaction between multimedia component 1308 and processing component 1302.
存储器1304被配置为存储各种类型的数据以支持在电子设备1300的操作。这些数据的示例包括用于在电子设备1300上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1304可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1304 is configured to store various types of data to support operation at the electronic device 1300 . Examples of such data include instructions for any application or method operating on electronic device 1300, contact data, phonebook data, messages, pictures, videos, and the like. Memory 1304 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件1306为电子设备1300的各种组件提供电力。电源组件1306可以包括电源管理系统,一个或多个电源,及其他与为电子设备1300生成、管理和分配电力相关联的组件。 Power supply assembly 1306 provides power to various components of electronic device 1300 . Power supply components 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1300 .
多媒体组件1308包括在电子设备1300和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1308包括一个前置摄像头和/或后置摄像头。当电子设备1300处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。 Multimedia component 1308 includes a screen that provides an output interface between electronic device 1300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 1308 includes a front-facing camera and/or a rear-facing camera. When the electronic device 1300 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件1310被配置为输出和/或输入音频信号。例如,音频组件1310包括一个麦克风(MIC),当电子设备1300处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1304或经由通信组件1318发送。在一些实施例中,音频组件1310还包括一个扬声器,用于输出音频信号。 Audio component 1310 is configured to output and/or input audio signals. For example, audio component 1310 includes a microphone (MIC) that is configured to receive external audio signals when electronic device 1300 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 1304 or transmitted via communication component 1318. In some embodiments, audio component 1310 also includes a speaker for outputting audio signals.
I/O接口1312为处理组件1302和外围接口模块之间提供接口,上述外围接口模块可以 是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。I/O interface 1312 provides an interface between processing component 1302 and peripheral interface modules, which may be keyboards, click wheels, buttons, and the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.
传感器组件1314包括一个或多个传感器,用于为电子设备1300提供各个方面的状态评估。例如,传感器组件1314可以检测到电子设备1300的打开/关闭状态,组件的相对定位,例如所述组件为电子设备1300的显示器和小键盘,传感器组件1314还可以检测电子设备1300或电子设备1300一个组件的位置改变,用户与电子设备1300接触的存在或不存在,电子设备1300方位或加速/减速和电子设备1300的温度变化。传感器组件1314可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1314还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1314还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor assembly 1314 includes one or more sensors for providing status assessment of various aspects of electronic device 1300 . For example, the sensor component 1314 can detect the open/closed state of the electronic device 1300, the relative positioning of components, such as the display and the keypad of the electronic device 1300, the sensor component 1314 can also detect the electronic device 1300 or one of the electronic device 1300 Changes in the position of components, presence or absence of user contact with the electronic device 1300 , orientation or acceleration/deceleration of the electronic device 1300 and changes in the temperature of the electronic device 1300 . Sensor assembly 1314 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件1318被配置为便于电子设备1300和其他设备之间有线或无线方式的通信。电子设备1300可以接入基于通信标准的无线网络,如WiFi,运营商网络(如2G、3G、4G或5G),或它们的组合。在一个示例性实施例中,通信组件1318经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1318还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 Communication component 1318 is configured to facilitate wired or wireless communication between electronic device 1300 and other devices. Electronic device 1300 may access wireless networks based on communication standards, such as WiFi, carrier networks (eg, 2G, 3G, 4G, or 5G), or a combination thereof. In one exemplary embodiment, the communication component 1318 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1318 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在本公开一实施例中,电子设备1300可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述弹幕展示方法或弹幕发布方法。In one embodiment of the present disclosure, the electronic device 1300 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field A programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components are implemented for executing the above-mentioned method for displaying the bullet screen or publishing the method for the bullet screen.
在本公开一实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1304,上述指令可由电子设备1300的处理器1320执行以完成上述弹幕展示方法或弹幕发布方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an embodiment of the present disclosure, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1304 including instructions, and the above-mentioned instructions can be executed by the processor 1320 of the electronic device 1300 to complete the above-mentioned bullet screen display method Or the barrage publishing method. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
本公开所有实施例均可以单独被执行,也可以与其他实施例相结合被执行,均视为本公开要求的保护范围。All the embodiments of the present disclosure can be implemented independently or in combination with other embodiments, which are all regarded as the protection scope required by the present disclosure.
需要说明的是,在本公开中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还 包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this disclosure, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities or operations There is no such actual relationship or order between them. The terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion such that a process, method, article or device comprising a list of elements includes not only those elements, but also other not expressly listed elements, or also include elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

Claims (36)

  1. 一种弹幕展示方法,其中,包括:A barrage display method, which includes:
    获取目标作品的第一弹幕以及第二弹幕,所述第二弹幕与所述第一弹幕关联;Obtain the first bullet screen and the second bullet screen of the target work, and the second bullet screen is associated with the first bullet screen;
    在所述目标作品的弹幕展示界面中关联展示所述第二弹幕和所述第一弹幕。The second bullet screen and the first bullet screen are displayed in association in the bullet screen display interface of the target work.
  2. 根据权利要求1所述的方法,其中,所述关联展示所述第二弹幕和所述第一弹幕,包括:The method according to claim 1, wherein the associating display of the second bullet screen and the first bullet screen comprises:
    在所述第一弹幕的预设相对位置处展示所述第二弹幕。The second bullet screen is displayed at a preset relative position of the first bullet screen.
  3. 根据权利要求2所述的方法,其中,所述在所述第一弹幕的预设相对位置处展示所述第二弹幕,包括:The method according to claim 2, wherein the displaying the second bullet screen at a preset relative position of the first bullet screen comprises:
    将所述第二弹幕展示在所述第一弹幕的静态相对位置处或动态相对位置处。The second bullet screen is displayed at a static relative position or a dynamic relative position of the first bullet screen.
  4. 根据权利要求1所述的方法,其中,所述关联展示所述第二弹幕和所述第一弹幕,包括:The method according to claim 1, wherein the associating display of the second bullet screen and the first bullet screen comprises:
    按照目标展示属性,展示所述第二弹幕,所述目标展示属性与所述第一弹幕的展示属性相同。The second bullet screen is displayed according to the target presentation attribute, and the target presentation attribute is the same as the presentation attribute of the first bullet screen.
  5. 根据权利要求1所述的方法,其中,所述关联展示所述第二弹幕和所述第一弹幕,包括:The method according to claim 1, wherein the associating display of the second bullet screen and the first bullet screen comprises:
    在所述第二弹幕的展示区域中展示与所述第一弹幕相关的关联标识或关联关键词。The associated identifier or associated keyword related to the first bullet screen is displayed in the display area of the second bullet screen.
  6. 根据权利要求1所述的方法,其中,所述第一弹幕包括:The method according to claim 1, wherein the first bullet screen comprises:
    与第三弹幕关联的第一弹幕或未与所述第三弹幕关联的第一弹幕,所述第三弹幕区别于所述第二弹幕;The first bullet screen associated with the third bullet screen or the first bullet screen not associated with the third bullet screen, the third bullet screen is different from the second bullet screen;
    所述关联展示所述第二弹幕和所述第一弹幕,包括:The associated display of the second bullet screen and the first bullet screen includes:
    响应于弹幕筛除功能被开启,仅展示未与所述第三弹幕关联的所述第一弹幕;In response to the bullet screen screening function being turned on, only the first bullet screen not associated with the third bullet screen is displayed;
    响应于弹幕筛除功能未开启,关联展示所有的第一弹幕和相应的第二弹幕。In response to the bullet screen screening function not being enabled, all the first bullet screens and the corresponding second bullet screens are displayed in association.
  7. 根据权利要求1所述的方法,其中,所述关联展示所述第二弹幕和所述第一弹幕,包括:The method according to claim 1, wherein the associating display of the second bullet screen and the first bullet screen comprises:
    基于展示关系和所述第一弹幕的第一展示位置,确定所述第二弹幕的第二展示位置,所述展示关系为具有关联关系的两个弹幕在展示时的关系;Determine the second display position of the second bullet screen based on the display relationship and the first display position of the first bullet screen, where the display relationship is the relationship between the two bullet screen with the associated relationship when they are displayed;
    响应于所述第二展示位置位于所述弹幕展示界面之外,调整所述展示关系或所述第一展示位置中至少一项,以使所述第二展示位置位于所述弹幕展示界面内;In response to the second display position being located outside the bullet chat display interface, at least one of the display relationship or the first display position is adjusted so that the second display position is located in the bullet chat display interface Inside;
    分别在调整后的第二展示位置和所述第一展示位置上,展示所述第二弹幕和所述第一弹 幕。The second bullet screen and the first bullet screen are displayed on the adjusted second display position and the first display position, respectively.
  8. 根据权利要求1所述的方法,其中,所述关联展示所述第二弹幕和所述第一弹幕,包括:The method according to claim 1, wherein the associating display of the second bullet screen and the first bullet screen comprises:
    响应于弹幕简化功能被开启,关联展示所述第二弹幕的弹幕关键词和所述第一弹幕的弹幕关键词;In response to the bullet screen simplification function being turned on, display the bullet screen keywords of the second bullet screen in association with the bullet screen keywords of the first bullet screen;
    响应于所述弹幕简化功能未开启,关联展示第一弹幕和第二弹幕。In response to the bullet screen simplifying function not being enabled, the first bullet screen and the second bullet screen are displayed in association.
  9. 根据权利要求8所述的方法,其中,所述方法还包括:The method of claim 8, wherein the method further comprises:
    响应于针对任一弹幕的触发操作,在展示所述弹幕的弹幕关键词和展示所述弹幕之间切换。In response to a trigger operation for any bullet screen, switching between displaying the bullet screen keywords of the bullet screen and displaying the bullet screen.
  10. 根据权利要求1所述的方法,其中,还包括:The method of claim 1, further comprising:
    响应于所述第二弹幕的数量为多个,获取多个第二弹幕之间的相似度;In response to the number of the second bullet screens being multiple, acquiring the similarity between the plurality of second bullet screens;
    对所述相似度大于阈值的至少两个第二弹幕进行合并处理。Merging processing is performed on at least two second bullet screens whose similarity is greater than the threshold.
  11. 一种弹幕发布方法,其中,包括:A barrage publishing method, which includes:
    确定第二弹幕,所述第二弹幕针对目标作品的第一弹幕提供;Determine the second bullet screen, the second bullet screen is provided for the first bullet screen of the target work;
    发布所述第二弹幕,所述第二弹幕用于与所述第一弹幕关联展示在所述目标作品的弹幕展示界面中。The second bullet screen is released, and the second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen.
  12. 根据权利要求11所述的方法,其中,还包括:The method of claim 11, further comprising:
    根据设定指令,设定展示关系,所述展示关系为具有关联关系的两个弹幕在展示时的关系;According to the setting instruction, a display relationship is set, and the display relationship is the relationship between two barrage screens with an associated relationship when they are displayed;
    所述发布所述第二弹幕,包括:The publishing of the second bullet screen includes:
    将所述展示关系与所述第二弹幕关联发布。The display relationship is released in association with the second bullet screen.
  13. 根据权利要求12所述的方法,其中,所述确定展示关系,包括:The method according to claim 12, wherein the determining the presentation relationship comprises:
    获取针对所述第二弹幕设置的相对于所述第一弹幕的相对位置关系;Obtain the relative positional relationship with respect to the first bullet screen set for the second bullet screen;
    将所述相对位置关系确定为所述展示关系。The relative positional relationship is determined as the presentation relationship.
  14. 根据权利要求12所述的方法,其中,所述确定展示关系,包括:The method according to claim 12, wherein the determining the presentation relationship comprises:
    设置展示属性关系,所述展示属性关系为所述第二弹幕与所述第一弹幕的展示属性相同;Setting a display attribute relationship, the display attribute relationship is that the display attributes of the second bullet screen and the first bullet screen are the same;
    将所述展示属性关系确定为所述展示关系。The presentation attribute relationship is determined as the presentation relationship.
  15. 根据权利要求12所述的方法,其中,所述确定展示关系,包括:The method according to claim 12, wherein the determining the presentation relationship comprises:
    获取设置的所述第二弹幕相对于所述第一弹幕的标识引用关系;Obtain the set identification reference relationship of the second bullet screen relative to the first bullet screen;
    将所述标识引用关系确定为所述展示关系。The identification reference relationship is determined as the presentation relationship.
  16. 根据权利要求12所述的方法,其中,还包括:The method of claim 12, further comprising:
    基于所述展示关系和所述第一弹幕的第一展示位置,确定所述第二弹幕的第二展示位置;determining the second display position of the second bullet screen based on the display relationship and the first display position of the first bullet screen;
    响应于所述第二展示位置位于所述弹幕展示界面之外,提示调整所述展示关系或者自动调整所述展示关系,以使所述第二展示位置被调整至所述弹幕展示界面内。In response to the second display position being outside the bullet chat display interface, prompt to adjust the display relationship or automatically adjust the display relationship, so that the second display position is adjusted to the bullet screen display interface .
  17. 根据权利要求11所述的方法,其中,还包括:The method of claim 11, further comprising:
    在确定所述第二弹幕后,提供关于所述第二弹幕和所述第一弹幕关联展示效果的预览内容。After the second bullet screen is determined, preview content about the associated display effect of the second bullet screen and the first bullet screen is provided.
  18. 一种电子设备,其中,包括:An electronic device comprising:
    处理器;processor;
    用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;
    其中,所述处理器被配置为执行所述指令,以实现以下步骤:wherein the processor is configured to execute the instructions to implement the following steps:
    获取目标作品的第一弹幕以及第二弹幕,所述第二弹幕与所述第一弹幕关联;Obtain the first bullet screen and the second bullet screen of the target work, and the second bullet screen is associated with the first bullet screen;
    在所述目标作品的弹幕展示界面中关联展示所述第二弹幕和所述第一弹幕。The second bullet screen and the first bullet screen are displayed in association in the bullet screen display interface of the target work.
  19. 根据权利要求18所述的设备,其中,所述处理器被配置为执行所述指令,以实现以下步骤:19. The apparatus of claim 18, wherein the processor is configured to execute the instructions to:
    在所述第一弹幕的预设相对位置处展示所述第二弹幕。The second bullet screen is displayed at a preset relative position of the first bullet screen.
  20. 根据权利要求19所述的设备,其中,所述处理器被配置为执行所述指令,以实现以下步骤:19. The apparatus of claim 19, wherein the processor is configured to execute the instructions to:
    将所述第二弹幕展示在所述第一弹幕的静态相对位置处或动态相对位置处。The second bullet screen is displayed at a static relative position or a dynamic relative position of the first bullet screen.
  21. 根据权利要求18所述的设备,其中,所述处理器被配置为执行所述指令,以实现以下步骤:19. The apparatus of claim 18, wherein the processor is configured to execute the instructions to:
    按照目标展示属性,展示所述第二弹幕,所述目标展示属性与所述第一弹幕的展示属性相同。The second bullet screen is displayed according to the target presentation attribute, and the target presentation attribute is the same as the presentation attribute of the first bullet screen.
  22. 根据权利要求18所述的设备,其中,所述处理器被配置为执行所述指令,以实现以下步骤:19. The apparatus of claim 18, wherein the processor is configured to execute the instructions to:
    在所述第二弹幕的展示区域中展示与所述第一弹幕相关的关联标识或关联关键词。The associated identifier or associated keyword related to the first bullet screen is displayed in the display area of the second bullet screen.
  23. 根据权利要求18所述的设备,其中,所述第一弹幕包括:与第三弹幕关联的第一弹幕或未与所述第三弹幕关联的第一弹幕,所述第三弹幕区别于所述第二弹幕;The device according to claim 18, wherein the first bullet screen comprises: a first bullet screen associated with a third bullet screen or a first bullet screen not associated with the third bullet screen, the third bullet screen The barrage is different from the second barrage;
    所述处理器被配置为执行所述指令,以实现以下步骤:The processor is configured to execute the instructions to implement the following steps:
    响应于弹幕筛除功能被开启,仅展示未与所述第三弹幕关联的所述第一弹幕;In response to the bullet screen screening function being turned on, only the first bullet screen not associated with the third bullet screen is displayed;
    响应于弹幕筛除功能未开启,关联展示所有的第一弹幕和相应的第二弹幕。In response to the bullet screen screening function not being enabled, all the first bullet screens and the corresponding second bullet screens are displayed in association.
  24. 根据权利要求18所述的设备,其中,所述处理器被配置为执行所述指令,以实现以下步骤:19. The apparatus of claim 18, wherein the processor is configured to execute the instructions to:
    基于展示关系和所述第一弹幕的第一展示位置,确定所述第二弹幕的第二展示位置,所述展示关系为具有关联关系的两个弹幕在展示时的关系;Determine the second display position of the second bullet screen based on the display relationship and the first display position of the first bullet screen, where the display relationship is the relationship between the two bullet screen with the associated relationship when they are displayed;
    响应于所述第二展示位置位于所述弹幕展示界面之外,调整所述展示关系或所述第一展示位置中至少一项,以使所述第二展示位置位于所述弹幕展示界面内;In response to the second display position being located outside the bullet chat display interface, at least one of the display relationship or the first display position is adjusted so that the second display position is located in the bullet chat display interface Inside;
    分别在调整后的第二展示位置和所述第一展示位置上,展示所述第二弹幕和所述第一弹幕。The second bullet screen and the first bullet screen are displayed on the adjusted second display position and the first display position, respectively.
  25. 根据权利要求18所述的设备,其中,所述处理器被配置为执行所述指令,以实现以下步骤:19. The apparatus of claim 18, wherein the processor is configured to execute the instructions to:
    响应于弹幕简化功能被开启,关联展示所述第二弹幕和所述第一弹幕的弹幕关键词;In response to the bullet screen simplification function being turned on, display the bullet screen keywords of the second bullet screen and the first bullet screen in association with each other;
    响应于所述弹幕简化功能未开启,关联展示第一弹幕和第二弹幕。In response to the bullet screen simplifying function not being enabled, the first bullet screen and the second bullet screen are displayed in association.
  26. 根据权利要求25所述的设备,其中,所述处理器还被配置为执行所述指令,以实现以下步骤:26. The apparatus of claim 25, wherein the processor is further configured to execute the instructions to:
    响应于针对任一弹幕的触发操作,在展示所述弹幕的弹幕关键词和展示所述弹幕之间切换。In response to a trigger operation for any bullet screen, switching between displaying the bullet screen keywords of the bullet screen and displaying the bullet screen.
  27. 根据权利要求18所述的设备,其中,所述处理器还被配置为执行所述指令,以实现以下步骤:19. The apparatus of claim 18, wherein the processor is further configured to execute the instructions to:
    响应于所述第二弹幕的数量为多个,获取多个第二弹幕之间的相似度;In response to the number of the second bullet screens being multiple, acquiring the similarity between the plurality of second bullet screens;
    对所述相似度大于阈值的至少两个第二弹幕进行合并处理。Merging processing is performed on at least two second bullet screens whose similarity is greater than the threshold.
  28. 一种计算机可读存储介质,其中,响应于所述存储介质中的指令由电子设备的处理器执行,使得所述电子设备能够执行如下步骤:A computer-readable storage medium, wherein, in response to instructions in the storage medium being executed by a processor of an electronic device, the electronic device is enabled to perform the following steps:
    获取目标作品的第一弹幕以及第二弹幕,所述第二弹幕与所述第一弹幕关联;Obtain the first bullet screen and the second bullet screen of the target work, and the second bullet screen is associated with the first bullet screen;
    在所述目标作品的弹幕展示界面中关联展示所述第二弹幕和所述第一弹幕。The second bullet screen and the first bullet screen are displayed in association in the bullet screen display interface of the target work.
  29. 一种电子设备,其中,包括:An electronic device comprising:
    处理器;processor;
    用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;
    其中,所述处理器被配置为执行所述指令,以实现以下步骤:wherein the processor is configured to execute the instructions to implement the following steps:
    确定第二弹幕,所述第二弹幕针对目标作品的第一弹幕提供;Determine the second bullet screen, the second bullet screen is provided for the first bullet screen of the target work;
    发布所述第二弹幕,所述第二弹幕用于与所述第一弹幕关联展示在所述目标作品的弹幕展示界面中。The second bullet screen is released, and the second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen.
  30. 根据权利要求29所述的设备,其中,所述处理器还被配置为执行所述指令,以实现以下步骤:29. The apparatus of claim 29, wherein the processor is further configured to execute the instructions to:
    根据设定指令,设定展示关系,所述展示关系为具有关联关系的两个弹幕在展示时的关系;According to the setting instruction, a display relationship is set, and the display relationship is the relationship between two barrage screens with an associated relationship when they are displayed;
    所述处理器被配置为执行所述指令,以实现以下步骤:The processor is configured to execute the instructions to implement the following steps:
    将所述展示关系与所述第二弹幕关联发布。The display relationship is released in association with the second bullet screen.
  31. 根据权利要求30所述的设备,其中,所述处理器被配置为执行所述指令,以实现以下步骤:31. The apparatus of claim 30, wherein the processor is configured to execute the instructions to:
    获取针对所述第二弹幕设置的相对于所述第一弹幕的相对位置关系;Obtain the relative positional relationship with respect to the first bullet screen set for the second bullet screen;
    将所述相对位置关系确定为所述展示关系。The relative positional relationship is determined as the presentation relationship.
  32. 根据权利要求30所述的设备,其中,所述处理器被配置为执行所述指令,以实现以下步骤:31. The apparatus of claim 30, wherein the processor is configured to execute the instructions to:
    设置展示属性关系,所述展示属性关系为所述第二弹幕与所述第一弹幕的展示属性相同;Setting a display attribute relationship, the display attribute relationship is that the display attributes of the second bullet screen and the first bullet screen are the same;
    将所述展示属性关系确定为所述展示关系。The presentation attribute relationship is determined as the presentation relationship.
  33. 根据权利要求30所述的设备,其中,所述处理器被配置为执行所述指令,以实现以下步骤:31. The apparatus of claim 30, wherein the processor is configured to execute the instructions to:
    获取设置的所述第二弹幕相对于所述第一弹幕的标识引用关系;Obtain the set identification reference relationship of the second bullet screen relative to the first bullet screen;
    将所述标识引用关系确定为所述展示关系。The identification reference relationship is determined as the presentation relationship.
  34. 根据权利要求30所述的设备,其中,所述处理器还被配置为执行所述指令,以实现以下步骤:31. The apparatus of claim 30, wherein the processor is further configured to execute the instructions to:
    基于所述展示关系和所述第一弹幕的第一展示位置,确定所述第二弹幕的第二展示位置;determining the second display position of the second bullet screen based on the display relationship and the first display position of the first bullet screen;
    响应于所述第二展示位置位于所述弹幕展示界面之外,提示调整所述展示关系或者自动调整所述展示关系,以使所述第二展示位置被调整至所述弹幕展示界面内。In response to the second display position being outside the bullet chat display interface, prompt to adjust the display relationship or automatically adjust the display relationship, so that the second display position is adjusted to the bullet screen display interface .
  35. 根据权利要求29所述的设备,其中,所述处理器还被配置为执行所述指令,以实现以下步骤:29. The apparatus of claim 29, wherein the processor is further configured to execute the instructions to:
    在确定所述第二弹幕后,提供关于所述第二弹幕和所述第一弹幕关联展示效果的预览内容。After the second bullet screen is determined, preview content about the associated display effect of the second bullet screen and the first bullet screen is provided.
  36. 一种计算机可读存储介质,其中,响应于所述存储介质中的指令由电子设备的处理器 执行,使得所述电子设备能够执行如下步骤:A computer-readable storage medium, wherein, in response to instructions in the storage medium being executed by a processor of an electronic device, the electronic device is enabled to perform the following steps:
    确定第二弹幕,所述第二弹幕针对目标作品的第一弹幕提供;Determine the second bullet screen, the second bullet screen is provided for the first bullet screen of the target work;
    发布所述第二弹幕,所述第二弹幕用于与所述第一弹幕关联展示在所述目标作品的弹幕展示界面中。The second bullet screen is released, and the second bullet screen is used to be displayed in the bullet screen display interface of the target work in association with the first bullet screen.
PCT/CN2021/102848 2020-07-28 2021-06-28 Bullet screen posting method, bullet screen displaying method and electronic device WO2022022196A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010739312.X 2020-07-28
CN202010739312.XA CN111866596A (en) 2020-07-28 2020-07-28 Bullet screen publishing and displaying method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022022196A1 true WO2022022196A1 (en) 2022-02-03

Family

ID=72947671

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/102848 WO2022022196A1 (en) 2020-07-28 2021-06-28 Bullet screen posting method, bullet screen displaying method and electronic device

Country Status (2)

Country Link
CN (1) CN111866596A (en)
WO (1) WO2022022196A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679628A (en) * 2022-03-21 2022-06-28 北京字跳网络技术有限公司 Bullet screen adding method and device, electronic equipment and storage medium
CN114915832A (en) * 2022-05-13 2022-08-16 咪咕文化科技有限公司 Bullet screen display method and device and computer readable storage medium
CN115174957A (en) * 2022-06-27 2022-10-11 咪咕文化科技有限公司 Bullet screen calling method and device, computer equipment and readable storage medium
CN115278337A (en) * 2022-07-25 2022-11-01 曙光信息产业(北京)有限公司 Barrage rendering method, device, equipment and storage medium
CN115297355A (en) * 2022-08-02 2022-11-04 北京奇艺世纪科技有限公司 Bullet screen display method, bullet screen generation device, electronic equipment and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111866596A (en) * 2020-07-28 2020-10-30 游艺星际(北京)科技有限公司 Bullet screen publishing and displaying method and device, electronic equipment and storage medium
CN114979788A (en) * 2021-02-24 2022-08-30 上海哔哩哔哩科技有限公司 Bullet screen display method and device
CN115474097A (en) * 2021-06-11 2022-12-13 上海哔哩哔哩科技有限公司 Comment information display method and device
CN114302207A (en) * 2021-12-02 2022-04-08 北京达佳互联信息技术有限公司 Bullet screen display method, device, system, equipment and storage medium
CN114666644A (en) * 2022-03-15 2022-06-24 维沃移动通信有限公司 Bullet screen display method and device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869468A (en) * 2015-04-22 2015-08-26 腾讯科技(北京)有限公司 Method and apparatus for displaying screen information
CN107613402A (en) * 2017-09-07 2018-01-19 咪咕音乐有限公司 A kind of barrage adjusting method, device and storage medium
CN108632658A (en) * 2018-03-14 2018-10-09 维沃移动通信有限公司 A kind of barrage display methods, terminal
CN109089170A (en) * 2018-09-11 2018-12-25 传线网络科技(上海)有限公司 Barrage display methods and device
CN109413484A (en) * 2018-12-29 2019-03-01 咪咕文化科技有限公司 A kind of barrage methods of exhibiting, device and storage medium
CN109547833A (en) * 2018-11-15 2019-03-29 平安科技(深圳)有限公司 Barrage display control method, device, equipment and computer readable storage medium
CN109951720A (en) * 2019-02-19 2019-06-28 北京奇艺世纪科技有限公司 Barrage processing method, device, server, terminal and storage medium
CN110234030A (en) * 2018-03-05 2019-09-13 优酷网络技术(北京)有限公司 The display methods and device of barrage information
CN110493653A (en) * 2019-09-12 2019-11-22 北京奇艺世纪科技有限公司 Barrage control method for playing back, device, equipment and storage medium
CN111866596A (en) * 2020-07-28 2020-10-30 游艺星际(北京)科技有限公司 Bullet screen publishing and displaying method and device, electronic equipment and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754420B (en) * 2015-03-30 2018-04-13 北京奇艺世纪科技有限公司 A kind of barrage exchange method and device in multimedia file playing process
CN105578209B (en) * 2015-12-16 2019-03-12 广州酷狗计算机科技有限公司 Barrage display methods and device
CN106131707A (en) * 2016-07-18 2016-11-16 乐视控股(北京)有限公司 Barrage information processing method and processing means
CN106792250A (en) * 2017-01-17 2017-05-31 百度在线网络技术(北京)有限公司 Barrage information interacting method and device
KR101813902B1 (en) * 2017-06-08 2018-01-02 주식회사안그라픽스 Systems for combining video modules and method thereof
CN107506246A (en) * 2017-08-08 2017-12-22 北京小米移动软件有限公司 Information displaying method, device and computer-readable recording medium
CN109819280A (en) * 2017-11-22 2019-05-28 上海全土豆文化传播有限公司 Barrage methods of exhibiting and device
CN108259968A (en) * 2017-12-13 2018-07-06 华为技术有限公司 Processing method, system and the relevant device of video barrage
CN108401175B (en) * 2017-12-20 2020-03-06 广州虎牙信息科技有限公司 Barrage message processing method and device, storage medium and electronic equipment
CN108881993A (en) * 2018-06-13 2018-11-23 优视科技有限公司 A kind of screening display methods, device and the terminal device of barrage content
CN109151606A (en) * 2018-08-02 2019-01-04 北京奇艺世纪科技有限公司 A kind of information interacting method based on barrage, device and client device
CN111294663B (en) * 2020-02-10 2022-01-07 腾讯科技(深圳)有限公司 Bullet screen processing method and device, electronic equipment and computer readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869468A (en) * 2015-04-22 2015-08-26 腾讯科技(北京)有限公司 Method and apparatus for displaying screen information
CN107613402A (en) * 2017-09-07 2018-01-19 咪咕音乐有限公司 A kind of barrage adjusting method, device and storage medium
CN110234030A (en) * 2018-03-05 2019-09-13 优酷网络技术(北京)有限公司 The display methods and device of barrage information
CN108632658A (en) * 2018-03-14 2018-10-09 维沃移动通信有限公司 A kind of barrage display methods, terminal
CN109089170A (en) * 2018-09-11 2018-12-25 传线网络科技(上海)有限公司 Barrage display methods and device
CN109547833A (en) * 2018-11-15 2019-03-29 平安科技(深圳)有限公司 Barrage display control method, device, equipment and computer readable storage medium
CN109413484A (en) * 2018-12-29 2019-03-01 咪咕文化科技有限公司 A kind of barrage methods of exhibiting, device and storage medium
CN109951720A (en) * 2019-02-19 2019-06-28 北京奇艺世纪科技有限公司 Barrage processing method, device, server, terminal and storage medium
CN110493653A (en) * 2019-09-12 2019-11-22 北京奇艺世纪科技有限公司 Barrage control method for playing back, device, equipment and storage medium
CN111866596A (en) * 2020-07-28 2020-10-30 游艺星际(北京)科技有限公司 Bullet screen publishing and displaying method and device, electronic equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679628A (en) * 2022-03-21 2022-06-28 北京字跳网络技术有限公司 Bullet screen adding method and device, electronic equipment and storage medium
CN114679628B (en) * 2022-03-21 2024-04-16 北京字跳网络技术有限公司 Bullet screen adding method and device, electronic equipment and storage medium
CN114915832A (en) * 2022-05-13 2022-08-16 咪咕文化科技有限公司 Bullet screen display method and device and computer readable storage medium
CN114915832B (en) * 2022-05-13 2024-02-23 咪咕文化科技有限公司 Barrage display method and device and computer readable storage medium
CN115174957A (en) * 2022-06-27 2022-10-11 咪咕文化科技有限公司 Bullet screen calling method and device, computer equipment and readable storage medium
CN115174957B (en) * 2022-06-27 2023-08-15 咪咕文化科技有限公司 Barrage calling method and device, computer equipment and readable storage medium
CN115278337A (en) * 2022-07-25 2022-11-01 曙光信息产业(北京)有限公司 Barrage rendering method, device, equipment and storage medium
CN115297355A (en) * 2022-08-02 2022-11-04 北京奇艺世纪科技有限公司 Bullet screen display method, bullet screen generation device, electronic equipment and storage medium
CN115297355B (en) * 2022-08-02 2024-01-23 北京奇艺世纪科技有限公司 Barrage display method, barrage generation method, barrage display device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111866596A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
WO2022022196A1 (en) Bullet screen posting method, bullet screen displaying method and electronic device
CN109120981B (en) Information list display method and device and storage medium
KR101924835B1 (en) Method and apparatus for function of touch device
CN109754298B (en) Interface information providing method and device and electronic equipment
CN109451341B (en) Video playing method, video playing device, electronic equipment and storage medium
TW202002612A (en) Video subtitle display method and apparatus
CN112765375B (en) Method and device for displaying multimedia resource information, electronic equipment and storage medium
CN110636355B (en) Video switching method, device, terminal and storage medium
TW201918857A (en) Interface display method and device
TW201918860A (en) Interface display method and device
CN112584222A (en) Video processing method and device for video processing
CN109947506B (en) Interface switching method and device and electronic equipment
TW201918859A (en) Interface display method and apparatus
CN112631480A (en) Automatic display method and device of picture sequence, electronic equipment and storage medium
CN107566878B (en) Method and device for displaying pictures in live broadcast
US20140229823A1 (en) Display apparatus and control method thereof
CN108984098B (en) Information display control method and device based on social software
WO2019095810A1 (en) Interface display method and device
CN112130719B (en) Page display method, device and system, electronic equipment and storage medium
CN113988021A (en) Content interaction method and device, electronic equipment and storage medium
TW201918872A (en) Interface display method and apparatus
CN117119260A (en) Video control processing method and device
CN112764846B (en) Interface display method and device, electronic equipment and storage medium
US20200272291A1 (en) Interface display method and apparatus
CN114222173A (en) Object display method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21849193

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/05/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21849193

Country of ref document: EP

Kind code of ref document: A1