WO2023279917A1 - 弹幕显示方法、弹幕发送方法、装置、计算机设备、计算机可读存储介质及计算机程序产品 - Google Patents

弹幕显示方法、弹幕发送方法、装置、计算机设备、计算机可读存储介质及计算机程序产品 Download PDF

Info

Publication number
WO2023279917A1
WO2023279917A1 PCT/CN2022/098114 CN2022098114W WO2023279917A1 WO 2023279917 A1 WO2023279917 A1 WO 2023279917A1 CN 2022098114 W CN2022098114 W CN 2022098114W WO 2023279917 A1 WO2023279917 A1 WO 2023279917A1
Authority
WO
WIPO (PCT)
Prior art keywords
bullet
data
chatting
barrage
display
Prior art date
Application number
PCT/CN2022/098114
Other languages
English (en)
French (fr)
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 WO2023279917A1 publication Critical patent/WO2023279917A1/zh
Priority to US18/125,669 priority Critical patent/US20230326115A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/802D [Two Dimensional] animation, e.g. using sprites
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • 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/4316Generation 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 displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Definitions

  • the embodiment of the present application is based on the Chinese patent application with the application number 202110759469.3 and the filing date of July 05, 2021, and claims the priority of the Chinese patent application.
  • the entire content of the Chinese patent application is hereby incorporated into the embodiment of the present application as refer to.
  • the present application relates to the field of data processing, and in particular to a bullet-screen display method, a bullet-screen transmission method, a device, a computer device, a computer-readable storage medium, and a computer program product.
  • the embodiment of the present application provides a bullet chatting display method, a bullet chatting transmission method, a device, a computer device, a computer-readable storage medium, and a computer program product, which can enrich the display mode of bullet chatting data and target different types of bullet chatting
  • Different display methods are adopted to effectively improve the efficiency of users in obtaining effective information from numerous barrage data, thus improving the efficiency of human-computer interaction.
  • An embodiment of the present application provides a barrage display method, the method comprising:
  • the first bullet chatting set contains N pieces of first bullet chatting data ;
  • the second barrage set contains M second barrage data; N and M are positive integers; the first moving direction and the second moving direction belong to different moving directions.
  • An embodiment of the present application provides a method for sending bullet chatting, the method is executed by an electronic device, and the method includes:
  • the target scene includes the first team and the second team;
  • the bullet chatting data of the first team moving according to the first moving direction is displayed on the interactive interface
  • the bullet chatting data of the second team moving according to the second moving direction is displayed on the interactive interface.
  • An embodiment of the present application provides a barrage display method, the method is executed by an electronic device, and the method includes:
  • the first bullet chatting set contains N first bullet chatting data
  • the second bullet chatting set contains M second bullet chatting data
  • N and M are positive integer
  • An embodiment of the present application provides a barrage display device, which includes:
  • a first display module configured to display an interactive interface of a target scene
  • the second display module is configured to display the first bullet chatting set moving in the first moving direction in the interactive interface, and display the second bullet chatting set moving in the second moving direction in the interactive interface; wherein,
  • the first barrage set includes N first barrage data;
  • the second barrage set includes M second barrage data; N and M are positive integers; the first moving direction and the second The movement directions belong to different movement directions.
  • An embodiment of the present application provides a barrage sending device, which includes:
  • the interface display module is configured to display the interactive interface of the target scene; the target scene includes the first team and the second team;
  • a team selection module configured to determine the selected team as a target team in response to a selection operation on the first team or the second team;
  • the barrage sending module is configured to send barrage data for the target team in response to the barrage data entry operation
  • the interface display module is further configured to display the bullet chatting data of the first team moving in the first moving direction on the interactive interface, and display the bullet chatting data of the first team moving in the second moving direction on the interactive interface.
  • the barrage data of the second team is further configured to display the bullet chatting data of the first team moving in the first moving direction on the interactive interface, and display the bullet chatting data of the first team moving in the second moving direction on the interactive interface.
  • An embodiment of the present application provides a barrage display device, which includes:
  • the interactive interface display module is configured to display the interactive interface of the target scene
  • the dynamic display module is configured to dynamically display the first bullet chatting collection and the second bullet chatting collection in the interactive interface;
  • the first bullet chatting collection contains N first bullet chatting data;
  • the second bullet chatting collection contains M second barrage data, N and M are positive integers;
  • the event trigger module is configured to trigger an event related to the confrontation trigger event when there is a confrontation trigger event between the first bullet chatting data in the first bullet chatting set and the second bullet chatting data in the second bullet chatting set The confrontation display event between the first barrage data and the second barrage data.
  • An embodiment of the present application provides a computer device, including a memory and a processor.
  • the memory stores a computer program.
  • the computer program is executed by the processor, the bullet chatting display method and the bullet chatting sending method provided in the embodiment of the present application are implemented.
  • An embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the barrage display provided by the embodiment of the present application is realized method and how to send barrage.
  • a computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and when the processor executes the computer instructions, the bullet chatting display method and the bullet chatting sending method provided in the embodiments of the present application are implemented.
  • the moving bullet chat data can be displayed in the interactive interface.
  • Different types of bullet chat data have different moving directions, which enriches the display mode of the bullet chat data and improves the display interest of the bullet chat data, and different
  • the moving direction represents different types of bullet chatting, which can improve the user's acquisition efficiency of bullet chatting data, and the user does not need to obtain the desired bullet chatting information from multiple types of mixed bullet chatting data, which can improve the efficiency of human-computer interaction.
  • FIG. 1 is a schematic structural diagram of a network architecture provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a scene displaying barrage data provided by an embodiment of the present application
  • FIG. 3 is a schematic flowchart of a barrage display method provided in an embodiment of the present application.
  • Fig. 4 is a schematic diagram of a team selection interface provided by the embodiment of the present application.
  • Fig. 5 is a schematic diagram of an interface of confrontation display barrage data provided by the embodiment of the present application.
  • Fig. 6 is a schematic flow chart of a data recording on-demand provided by the embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a method for sending bullet chatting provided by an embodiment of the present application.
  • FIG. 8 is a schematic flowchart of a barrage display method provided in an embodiment of the present application.
  • Fig. 9 is a schematic diagram of an interface of confrontation display barrage data provided by the embodiment of the present application.
  • Figures 10a-10c are schematic diagrams of a scene displaying barrage confrontation information provided by an embodiment of the present application.
  • FIG. 11 is a schematic flow diagram of displaying barrage data provided by an embodiment of the present application.
  • Fig. 12 is a schematic flow chart of a data recording provided by an embodiment of the present application.
  • FIG. 13 is a schematic flow diagram of a data on demand program provided by an embodiment of the present application.
  • Fig. 14 is a schematic structural diagram of a barrage display device provided by an embodiment of the present application.
  • Fig. 15 is a schematic structural diagram of a barrage display device provided by an embodiment of the present application.
  • Fig. 16 is a schematic structural diagram of a barrage display device provided by an embodiment of the present application.
  • Fig. 17 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
  • FIG. 1 is a schematic structural diagram of a network architecture provided by an embodiment of the present application.
  • the network architecture may include a server 200 and a terminal device cluster, and the terminal device cluster may include one or more terminal devices, and the number of terminal devices is not limited here.
  • a plurality of terminal devices may specifically include terminal device 1, terminal device 2, terminal device 3,..., terminal device n; as shown in Figure 1, terminal device 1, terminal device 2, terminal device 3,...
  • Each terminal device n can be connected to the server 200 through a network, so that each terminal device can perform data interaction with the server 200 through the network connection.
  • the server 200 shown in Figure 1 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, and can also provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, Cloud servers for basic cloud computing services such as network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
  • the terminal device may be: a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart TV and other smart terminals.
  • the above-mentioned terminal equipment 1, terminal equipment 2, terminal equipment 3, ..., terminal equipment n can all be terminal equipment belonging to different users, therefore, there can be n users here, n is a positive integer, and the n users can pass through
  • the topic discussion can belong to the topic interaction scene.
  • the topic interaction scene can contain a variety of topic viewpoints. Each user can choose which topic viewpoint to support through his own terminal device. After the selection, that is You can send bullet chat data to support your chosen topic viewpoint.
  • Each terminal device can send the collected bullet chatting data for the selected topic viewpoint entered by the user to the server 200 for aggregation of the bullet chatting data, that is, gather the bullet chatting data entered by each user for the same topic viewpoint, To realize the classification of bullet chat data, one topic point of view corresponds to one type of bullet chat data, and then the server 200 can send the aggregated results to each terminal device for display.
  • FIG. 2 is a schematic diagram of a scene for displaying barrage data provided by an embodiment of the present application.
  • the above n users can all participate in the discussion of topic A through their own terminal devices.
  • the topic A can be any topic, and can be specifically set according to actual application scenarios.
  • the topic A may contain 6 topic viewpoints, and each user is supported to select the topic viewpoint that he or she supports.
  • a topic point of view corresponds to a bullet chatting data of a type of bullet chatting
  • topic point of view 1 can correspond to the bullet chatting data belonging to the bullet chatting type 1
  • topic point of view 2 can correspond to the bullet chatting data belonging to the bullet chatting type 2
  • Topic point of view 3 can correspond to bullet chatting data belonging to bullet chatting type 3
  • topic point of view 4 can correspond to bullet chatting data belonging to bullet chatting type 4
  • topic point of view 5 can correspond to bullet chatting data belonging to bullet chatting type 5
  • topic point of view 6 can correspond to the bullet chatting data belonging to bullet chatting type 6.
  • the number of bullet chatting data under each bullet chatting type is taken as an example for description. If there are multiple bullet chatting data, they will be displayed sequentially according to the generation time in the same manner.
  • the bullet chat data under the bullet chatting type 1 above can include bullet chat data 1
  • the bullet chat data under the bullet chat type 2 can include bullet chat data 2
  • the bullet chat data under the above bullet chat type 3 can include bullet chat data Data 3
  • the bullet chat data under the above bullet chat type 4 can include bullet chat data 4
  • the bullet chat data under the above bullet chat type 5 can include bullet chat data 5
  • the bullet chat data under the above bullet chat type 6 can include bullet chat data
  • the bullet chatting data 6 can display the bullet chatting data of the above-mentioned various bullet chatting types according to different initial positions and different moving directions.
  • the bullet chat data displayed in the terminal interface of each terminal device should be the same, so the terminal interface 100b here can be the above n terminals Any terminal device in the device displays the interface of the barrage data.
  • the bullet chat data 1 can be moved and displayed from the initial position w1 according to the track indicated by the arrow 1
  • the bullet chat data 2 can be moved and displayed from the initial position w2 according to the track indicated by the arrow 2
  • the The bullet chat data 3 can be moved and displayed from the initial position w3 according to the trajectory indicated by the arrow 3
  • the bullet chat data 4 can be moved and displayed from the initial position w4 according to the trajectory indicated by the arrow 4
  • the bullet chat data 5 can be displayed from the initial position w5 Moving and displaying along the trajectory indicated by the arrow 5
  • the bullet chatting data 6 can be moved and displayed from the initial position w6 along the trajectory indicated by the arrow 6 .
  • bullet chat data 1 bullet chat data 2, bullet chat data 3, bullet chat data 4, bullet chat data 5 and bullet chat data 6 are moved together to be displayed at the central position 101b of the terminal interface 100b, the bullet chat data 1, Bullet chat data 2, bullet chat data 3, bullet chat data 4, bullet chat data 5, and bullet chat data 6 can be displayed against each other (a way of confrontation display), and the difference between the six bullet chat data can be displayed.
  • a confrontation animation for confrontation display The confrontation animation can be a counteracting effect.
  • the counteracting effect refers to a special effect that disappears after two bullet chat data meet. For example, it can be that two bullet chat data collide with each other and gradually shrink until they disappear. .
  • FIG. 3 is a schematic flowchart of a bullet chatting display method provided in an embodiment of the present application.
  • the execution subject in the embodiment of the present application may be a computer device or a computer device cluster composed of multiple computer devices.
  • the computer device may be a server or a terminal device. Therefore, the execution subject in the embodiment of the present application may be a server, may also be a terminal device, or may be composed of a server and a terminal device.
  • description is made by taking a terminal device as an example in which the executing subject in the embodiment of the present application is used.
  • the method may include steps S101 to S102.
  • Step S101 displaying an interactive interface of a target scene.
  • the target scene may be a scene where any user can interact and communicate.
  • the target scene may be a live broadcast scene, a video playback scene, or a topic interaction scene.
  • the interactive interface may be a terminal interface for user interaction in the target scene.
  • the target scene is a live broadcast scene
  • the interactive interface may be an interface for playing live video images in the live broadcast scene
  • the target scene is a video playback scene
  • the interactive interface may be an interface for playing The interface of video data
  • the target scene is a topic interaction interface
  • the interaction interface can be an interface for topic interaction.
  • pictures, slideshows or video data can be placed in the interaction interface according to the actual application scenario.
  • the terminal device can display an interactive interface.
  • the terminal device can display the interactive interface according to the user's viewing operation of the live video screen in the live broadcast scene, or the terminal device can display the interactive interface according to the user's playback operation of the video data in the video playback scene.
  • the interactive interface is displayed, or the terminal device can also display the interactive interface according to the topic interaction participation operation in the topic interaction scene.
  • the target scene can contain multiple barrage types.
  • the target scene can contain two types of barrage, one team corresponds to one barrage type, and the barrage data under the barrage type corresponding to one team is the barrage data for the team.
  • it can support the barrage Team barrage data.
  • the target scene is a video playback scene
  • TV dramas or movies can be played in the interactive interface under the video playback scene
  • questions related to the played TV dramas or movies can be set in advance, and multiple options can be set for this question
  • one An option can correspond to a bullet chatting type.
  • the bullet chatting data under the bullet chatting type corresponding to an option is the bullet chatting data commented by the user who selects this option.
  • the question can be about whether the male and female protagonists can be together in the end. Predict the topic, then you can include two options for this question, one option is to be together, and the other is not to be together.
  • any topic can be set in the topic interaction scene.
  • the topic can be earphone 1, earphone 2 or earphone 3, which is more worth buying, then this topic can include 3
  • There are three kinds of topic views that is, three types of barrage, one topic view corresponds to one type of barrage), one topic point of view is that earphone 1 is more worth buying, one topic point of view is that earphone 2 is more worth buying, and one topic point of view is Headphones 3 are more worth buying.
  • the bullet chatting data under the bullet chatting type corresponding to a topic viewpoint can be the bullet chatting data commented by users who support the topic viewpoint.
  • Step S102 displaying the first bullet chatting collection moving in the first moving direction on the interactive interface, and displaying the second bullet chatting collection moving in the second moving direction on the interactive interface.
  • the first bullet chatting set contains N first bullet chatting data; the second bullet chatting set contains M second bullet chatting data; the bullet chatting type of the first bullet chatting data is different from the bullet chatting type of the second bullet chatting data, the bullet chatting data
  • the episode data is used to comment on the target scene, and N and M are positive integers; the first moving direction and the second moving direction belong to different moving directions.
  • the target scene can contain multiple bullet chatting types, one bullet chatting type can correspond to one bullet chatting set, and the bullet chatting set corresponding to one bullet chatting type can contain all bullet chatting data under the bullet chatting type. Since, when there are multiple bullet chatting types in the target scene, the principle of displaying the bullet chatting data in different bullet chatting types according to different moving directions is similar, so here we use the two bullet chatting types The principle of displaying the barrage data differently according to different moving directions of the bullet chatting data is explained as an example.
  • the first bullet chatting set can be a collection of bullet chatting data of any bullet chatting type in the target scene
  • the second bullet chatting set can also be composed of bullet chatting data of any bullet chatting type in the target scene
  • the set of bullet chatting, the bullet chatting type corresponding to the first bullet chatting collection is different from the bullet chatting type corresponding to the second bullet chatting collection.
  • the bullet chat data in the first bullet chat set may be called first bullet chat data
  • the bullet chat data in the second bullet chat set may be called second bullet chat data
  • the first bullet chat set can contain N first bullet chat data
  • the second bullet chat set can contain M second bullet chat data
  • N M are all positive integers.
  • the specific values of N and M are determined according to the actual application scenario. .
  • the manner in which the terminal device displays the first bullet chatting set and the second bullet chatting set in different directions on the interactive interface includes: the terminal device can display the first bullet chatting data in the first bullet chatting set in the interactive interface from the first The process of moving the initial position according to the first moving direction, and displaying the process of moving the second bullet chatting data in the second bullet chatting set from the second initial position according to the second moving direction.
  • both the first bullet chatting data and the second bullet chatting data can be bullet chatting data in the interactive interface
  • the interactive interface can also include a video playback area
  • the video playback area can occupy the entire interactive interface, or can also occupy Part of the interface in the interactive interface
  • the barrage data can be displayed above the video data played in the video playback area
  • the first initial position can refer to the position at the left edge of the video playback area
  • the second initial position can refer to the The position at the right edge of the video playback area. Therefore, the first moving direction may be a straight line direction from left to right in the video playing area, and the second moving direction may be a straight line direction from right to left in the video playing area.
  • the first initial position may refer to the position at the upper edge of the video playing area
  • the second initial position may refer to the position at the lower edge of the video playing area. Therefore, the first moving direction may be a straight line direction from top to bottom in the video playing area, and the second moving direction may be a straight line direction from bottom to top in the video playing area.
  • the first initial position can also be the position of the lower left corner of the video playback area
  • the second initial position can also be the position of the lower right corner of the video playback area
  • the first moving direction can be from the lower left corner of the video playback area to the direction of the video playback area
  • the parabolic direction at the central position, the second moving direction may be the parabolic direction from the lower right corner of the video playing area to the central position of the video playing area.
  • the above-mentioned first initial position, second initial position, first moving direction, and second moving direction can be set arbitrarily according to actual application scenarios, without limitation.
  • the terminal device displays the first bullet chatting data in the first bullet chatting set and the second bullet chatting data in the second bullet chatting set, they may display them sequentially according to the generation time stamps of each bullet chatting data.
  • the moving speed of each bullet chatting data may be the same, and the moving speed of each bullet chatting data may also be different.
  • the first bullet chatting collection can be the bullet chatting collection aimed at the first competition team
  • the first bullet chatting data in the first bullet chatting collection can be the bullet chatting data (such as the bullet chatting data sent by the user supporting the first competition team) Data)
  • the second barrage data in the second barrage set may be barrage data (such as barrage data) sent by users who support the second competition team. Therefore, in the game live broadcast interface, the first barrage set corresponding to the first game team can be displayed in the first barrage color, and the second barrage set corresponding to the second game team can be displayed in the second barrage color.
  • the terminal device can also obtain the first bullet chatting data of the first competition team and the second bullet chatting data of the second competition team according to periodic nodes (which can be preset, for example, there may be a periodic node every 5 minutes) data, and count the number of the first barrage data of the first team and the second barrage data of the second team obtained in each cycle, and then compare the number of the first barrage data with the second Whoever has more barrage data will periodically display the result of the barrage confrontation at the time indicated by the corresponding period node.
  • the result of the confrontation indicates the winning or losing situation of the attention of the two teams, and the team with the larger number of barrages has the attention The higher degree is equivalent to winning the attention competition.
  • the result of the barrage confrontation can be the result of the team commenting on the victory of the first event (when the number of the first barrage data is greater than the number of the second barrage data),
  • the second event team commented on the result of victory (when the number of the first barrage data is less than the number of the second barrage data) or the result of the first event team and the second event team commenting on the tie (when the number of the first barrage data When it is equal to the quantity of the second barrage data).
  • the server obtains the first barrage data of the first game team and the second barrage data of the second game team according to the periodic nodes, and then sends the obtained first barrage data and second barrage data to To terminal equipment, there is no restriction on this.
  • the N first bullet chatting data in the above-mentioned first bullet chatting set and the M second bullet chatting data in the second bullet chatting set can be the bullet chatting data obtained in the target cycle corresponding to the period node, then when N When it is greater than M, the barrage confrontation victory information for the first competition team can be displayed in the interactive interface at the target time (equivalent to the result of the above-mentioned first competition team commenting on the victory), and the target time is the time indicated by the period node corresponding to the target period , indicating that the quantity of the first barrage data in the target period is more than the quantity of the second barrage data; when M is greater than N, the barrage confrontation victory information for the second match team can be displayed in the interactive interface at the target time (equivalent In the above-mentioned second event team commenting on the result of victory), the target time is the time indicated by the period node corresponding to the target period, indicating that the quantity of the first barrage data in the target period is less than the quantity of the
  • the target time is The time indicated by the period node corresponding to the target period indicates that the quantity of the first bullet chatting data is equal to the quantity of the second bullet chatting data within the target period.
  • the embodiment of the present application supports the user to select the match team supported by the user.
  • the terminal device may display a match team selection list including the first match team and the second match team (wherein, the interactive interface may include a team selection button, and the terminal device may select the team according to The user clicks on the selection button to output the match team selection list), and then the terminal device can obtain the selected match team in response to the selection operation of the target match team in the match team selection list.
  • the above-mentioned event live broadcast interface may be an interface in the video client in the terminal device. The user's account can be logged into the video client.
  • the user can consume a certain amount of gold coins to choose If successful, the gold coin can be a virtual game currency, a virtual coin, or digital RMB, etc., and the gold coin can be deducted from the account of the user logged into the video client.
  • the gold coin can be a virtual game currency, a virtual coin, or digital RMB, etc.
  • the user After the user selects the match team in the above-mentioned team selection list of the terminal device, he can also enter the barrage data in the interactive interface or other comment interface (such as a floating window type sub-interface independently displayed on the interactive interface), if the user The selected competition team (target competition team) is the first competition team, then the bullet chat data entered by the user can be used as the first bullet chat data in the first bullet chat set, if the competition team (target competition team) selected by the user ) is the second competition team, the bullet chatting data entered by the user can be used as the second bullet chatting data in the second bullet chatting set. Both the first bullet chat collection and the second bullet chat collection may contain bullet chat data commented by one or more users.
  • the competition team target competition team
  • Both the first bullet chat collection and the second bullet chat collection may contain bullet chat data commented by one or more users.
  • the game team can be selected so that the bullet chat data published subsequently can be used as the bullet chat data corresponding to the selected game team, which means that the user can also perceive the confrontation, which can improve the user's participation and the diversity of the bullet chat function , so as to improve the efficiency of human-computer interaction.
  • FIG. 4 is a schematic diagram of an interface for team selection provided by an embodiment of the present application.
  • the interface 100c, the interface 103c, and the interface 105c may all be interactive interfaces at different times.
  • the interface 100c includes a pop-up window 101c.
  • the above-mentioned event live broadcast scene may include a home team and an away team.
  • the home team may be the above-mentioned first match team
  • the away team may be the above-mentioned second match team.
  • the user is supported to select the team they support in the pop-up window 101c of the interface 100c.
  • the home team or the away team can be selected.
  • the bullet chat data supporting the team selected by oneself can be entered in the bullet chat data input box 102c.
  • the user can deduct a certain amount of virtual resources, such as gold coins, points, etc., when selecting the team they support, if the user has insufficient gold coins in the balance of the account when selecting the team they support, the user can display
  • the interface 103c includes a pop-up window 104c
  • the pop-up window 104c contains a prompt message "insufficient gold coins, click to get gold coins”, supports the prompt information in the user motor pop-up window 104c, jumps to display the interface 105c, and in the interface 105c
  • the list of the task center includes multiple tasks that can earn or receive gold coins. Users can choose their favorite tasks to perform, and then earn gold coins to choose the team they support.
  • the first bullet chat collection can be a bullet chat collection for the first topic point of view
  • the first bullet chat can contain bullet chatting data commented by users who choose to support the first topic point of view
  • the second bullet chatting set can be a bullet chatting collection for the second topic point of view
  • the second bullet chatting set can contain bullet chatting data that choose to support the second topic point of view.
  • Bullet screen data commented by users of TopicView.
  • the first bullet chatting set moving in the first moving direction is displayed on the interactive interface, which can be realized by the following technical solution: displaying in the interactive interface according to The selected first bullet chatting data moving in the first moving direction; wherein, the selected first bullet chatting data is the first bullet chatting data that is ranked first in the first sorting result and meets the bullet chatting display quantity threshold, and the first The sorting result is the result of sorting the N first bullet chat data according to the sequence of the generation time stamps of the N first bullet chat data.
  • the second bullet chatting set moving according to the second moving direction is displayed on the interactive interface, which can be realized by the following technical solution: displaying in the interactive interface according to The selected second bullet chatting data moving in the second moving direction; wherein, the selected second bullet chatting data is the second bullet chatting data that is ranked first in the second sorting result and meets the bullet chatting display quantity threshold, and the second The sorting result is the result of sorting the M second bullet chatting data according to the sequence of the generation time stamps of the M second bullet chatting data.
  • Limiting the number of displayed bullet chatting data through the threshold of the number of bullet chatting displays can prevent the interactive interface from being too much occupied by bullet chatting, affect the display effect of the target scene, and ensure the display effect of the target scene.
  • the first bullet chat set may contain a large amount of first bullet chat data, which is difficult to display completely in a short time in the interactive interface.
  • the terminal device can acquire the threshold of the number of bullet chatting displayed, and the threshold of the number of bullet chatting displayed can be set according to the actual application scenario.
  • the threshold of the displayed number of bullet chatting is the maximum value of the first bullet chatting data that can be displayed or the The maximum value of the second barrage data.
  • the bullet chat display quantity threshold can be recorded as P, P is an integer, if N is less than or equal to the bullet chat display quantity threshold, then all N first bullet chat data can be displayed on the interactive interface, if N is greater than the bullet chat If the threshold of the number of barrage display is set, the P-th barrage data to be displayed can be selected from the N first barrage data according to the order of the generation time stamps corresponding to each of the first barrage data in the N first barrage data. One barrage data, and can move and display the P first barrage data in the interactive interface according to the first moving direction.
  • the P first barrage data can be the P ones with the earliest generation time stamp in the first barrage set
  • the first bullet chat data, or the P first bullet chat data may also be P first bullet chat data randomly selected from the first bullet chat collection.
  • the second bullet chat set may also contain a large amount of second bullet chat data, which is difficult to display completely in a short time in the interactive interface. Data to select the second barrage data to be displayed. Similarly, the terminal device may obtain the threshold P of the number of bullet chatting displayed above.
  • M is less than or equal to the bullet chatting display quantity threshold
  • all M second bullet chatting data can be displayed on the interactive interface; if M is greater than the bullet chatting display quantity threshold, then the M second bullet chatting data can be Each of the second bullet chat data in the corresponding to the order of generation time stamps, select P second bullet chat data to be displayed from the M second bullet chat data, and can move according to the second in the interactive interface Move in the direction to display the P second bullet chat data, for example, the P second bullet chat data can be the P second bullet chat data with the earliest generation time stamp in the second bullet chat set, or the P second bullet chat data It may also be P pieces of second bullet chat data randomly selected from the second bullet chat collection.
  • the terminal device can also acquire and aggregate the barrage data according to the fragmentation time node.
  • the interval of the fragmentation time node can be determined according to the actual application scenario. For example, there can be a fragmentation time node every 300 milliseconds. Therefore, the terminal The device can acquire and aggregate bullet chat data every 300 milliseconds, and the acquired bullet chat data includes the above-mentioned N pieces of first bullet chat data and M pieces of second bullet chat data.
  • the above-mentioned first barrage set and the second barrage set can obtain the barrage data within a certain 300 milliseconds, and the terminal device can acquire and aggregate the barrage data every 300 milliseconds, and interact with each other every 300 milliseconds
  • the interface displays the acquired and aggregated new barrage data.
  • the first bullet chat data and the second bullet chat data related to the confrontation trigger event are triggered.
  • Any one of the first bullet chat data in the first bullet chat set can be represented as the first target bullet chat data, and any second bullet chat data in the second bullet chat set can be represented as the second target bullet chat data.
  • the first target barrage data and the second target bullet chat data are displayed in different directions on the interactive interface (such as moving and displaying the first bullet chat data from the first initial position according to the first moving direction, and moving the first bullet chat data from the first initial position to During the process of moving and displaying the second barrage data at the second initial position according to the second moving direction), the first target barrage data is any first barrage data, and the second target barrage data is any second barrage data
  • the first target barrage data and the second target barrage data are at the same display position in the interactive interface at the same time (it can be understood that the first target barrage data and the second target barrage data touch, Such as being located at the same position on the same horizontal line of the interactive interface), which indicates that there is a confrontation trigger event between the first bullet chat data in the first bullet chat set and the second bullet chat data in the second bullet chat set, and triggers the confrontation trigger event related
  • the confrontation display event between the first bullet chat data and the second bullet chat data for example, the first target bullet chat data and the second target bullet
  • the bullet chat data of the second target and the bullet chat data of the second target are offset and displayed, that is, the bullet chat data of the first target and the bullet chat data of the second target are not displayed after offsetting, which is equivalent to hiding the bullet chat data of the first target and the second target in the interactive interface Barrage data.
  • the first target bullet chat data and the second target bullet chat data are displayed in different directions on the interactive interface
  • the first target bullet chat data is any first bullet chat data
  • the second target bullet chat data is any A second barrage data
  • the first target barrage data and the second target barrage data are at the same display position in the interactive interface at the same time, it represents the first barrage data and the second barrage data in the first barrage set
  • There is a confrontation trigger event between the centralized second bullet chat data triggering a confrontation display event between the first bullet chat data and the second bullet chat data related to the confrontation trigger event
  • the first target can be displayed in the interactive interface
  • the confrontation animation can be a kind of confrontation special effect, for example, the confrontation special effect can be the collision special effect between the first target bullet chat data and the second target bullet chat data
  • the specific form of the confrontation animation can be set according to the actual application scenario.
  • the first target bullet chat data and the second target bullet chat data are displayed in different directions on the interactive interface
  • the first target bullet chat data is any first bullet chat data
  • the second target bullet chat data is any A second barrage data
  • the first target barrage data and the second target barrage data are at the same display position in the interactive interface at the same time, it represents the first barrage data and the second barrage data in the first barrage set
  • There is a confrontation trigger event between the centralized second bullet chat data triggering a confrontation display event between the first bullet chat data and the second bullet chat data related to the confrontation trigger event, for example, displaying the first target bullet in the interactive interface
  • the confrontation animation between the bullet chat data and the second target bullet chat data and perform any of the following processing: during the display process of the confrontation animation, hide the first target bullet chat data and the second target bullet chat data in the interactive interface; After the confrontation animation is displayed, hide the first target barrage data and the second target barrage data in the interactive interface; before the confrontation animation is displayed, hide the first target barrage data and the second target bar
  • FIG. 5 is a schematic diagram of an interface for displaying barrage data against a battle provided by an embodiment of the present application.
  • the interface 100d, the interface 103d and the interface 104d can all be interactive interfaces at different moments
  • the target scene can be a topic interaction scene
  • the topic in the topic interaction scene can be "what is this bird”
  • the The first topic point of view in the topic interaction scene may be "a, cuckoo”
  • the second topic point of view may be "b, sparrow”.
  • Box 101d displays bullet chat data for topic viewpoint "a, cuckoo”
  • box 102d displays bullet chat data for topic viewpoint "b, sparrow”.
  • the box 101d specifically includes the barrage data "This looks like a cuckoo” and the barrage data "Cuckoo”, and the box 102d specifically includes the barrage data "Obviously it is a sparrow” and the barrage data "Sparrow Sparrow”.
  • the position at the left edge of the interface 100d may be the first initial position
  • the position at the right edge of the interface 100d may be the second initial position
  • the above-mentioned first moving direction may be a direction from left to right in the interactive interface
  • the above-mentioned The second moving direction may be a right-to-left direction in the interactive interface, therefore, the barrage data in the frame 101d may be moved and displayed from the left edge of the interface 100d in a left-to-right direction
  • the barrage data in the box 102d can be moved and displayed from the right edge of the interface 100d in a direction from right to left.
  • the interface 103d when the barrage data of the first topic point of view "this is a cuckoo", the barrage data of the second topic point of view "obviously it is a sparrow”, and the barrage data of the first topic point of view “cuckoo Bird” and the bullet screen data “Sparrow Sparrow” of the second topic point of view, when displayed on the same display position of the interface 103d and touched, the confrontation animation in the interface 103d can be displayed, and the confrontation triggering event can also be deleted in the interface 103d.
  • the embodiment of the present application can display the interactive interface of the target scene; move and display the first bullet chatting set in the interactive interface according to the first moving direction, and move and display the second bullet chatting set in the interactive interface according to the second moving direction; the first bullet chatting set
  • the set of bullet chatting includes N pieces of first barrage data; the second set of barrage chatting includes M pieces of second barrage data; N and M are integers; the first moving direction and the second moving direction belong to different moving directions.
  • the method proposed in the embodiment of the present application classifies the bullet chat data, such as the first bullet chat data and the second bullet chat data, and then can compare the first bullet chat data and the second bullet chat data in the interactive interface
  • the data is moved and displayed according to different moving directions, which enriches the display mode of the bullet chat data and improves the interest of the bullet chat data display.
  • FIG. 6 is a schematic flowchart of a data recording on-demand process provided by an embodiment of the present application. As shown in FIG. 6, the method may include steps S201 to S205.
  • Step S201 recording live video data in a live scene.
  • the executor in this embodiment of the present application may also be a terminal device, and the above-mentioned interactive interface may be a live broadcast interface. Recording, you can get the live video data in the live broadcast scene.
  • Step S202 determine the full bullet chatting collection according to the first bullet chatting collection and the second bullet chatting collection; the bullet chatting data in the full bullet chatting collection includes N first bullet chatting data and M second bullet chatting data.
  • the terminal device can obtain a full bullet chat collection through the first bullet chat collection and the second bullet chat collection, and the full bullet chat collection can include all the first bullet chat data and the second bullet chat data. It can be understood that, When the above-mentioned first bullet chat collection and second bullet chat collection are acquired and aggregated according to the fragmentation time node, then the full bullet chat collection can include the first bullet chat collection obtained and aggregated under each fragmentation time node And the second barrage set.
  • step S203 the live video data is segmented based on at least one segment time node to obtain K segment time periods, where K is an integer greater than 1.
  • Step S204 according to the generation time stamp of each bullet chatting data in the full bullet chatting set, the bullet chatting data belonging to each segment time period is acquired.
  • the terminal device can also segment and store the bullet chatting data in the full bullet chatting set according to the fragmentation time node, that is, store and record the bullet chatting data once at a fragmentation time node.
  • the fragmentation time node for obtaining the first bullet chatting set and the second bullet chatting collection may be different from the fragmentation time node for recording and storing the bullet chatting data in the full bullet chatting set in pieces.
  • the bullet chatting data in the full bullet chatting set can be segmented and stored according to every 1s (second) as a fragmentation time node.
  • the bullet chatting data in the full bullet chatting set is obtained in one process rather than at the same time, when storing the bullet chatting data in the full bullet chatting set in pieces, it can be In the process of obtaining the full bullet chatting set, the bullet chatting data obtained first is stored in real time, or after the full bullet chatting collection is acquired, the bullet chatting data can be stored in slices.
  • the terminal device can segment and store the bullet chat data in the full bullet chat set according to the generation time stamp of each bullet chat data in the full bullet chat set. After storing the bullet chat data in the full bullet chat set in pieces, you can get The bullet screen data corresponding to the K fragmentation time periods corresponding to each fragmentation time node, a fragmentation time node can correspond to a fragmentation time period, for example, a fragmentation time period can be 1s, and a fragmentation time period corresponds to The bullet chatting data may be the bullet chatting data generated within 1 second corresponding to the segment time period.
  • K is a positive integer, and the specific value of K is determined according to the actual application scenario. For example, if the live video data has a total of 1000s, K can be equal to 1000, which includes 1000 1s segment time periods.
  • step S205 the live video data and the barrage data corresponding to the K segment time periods are determined as on-demand recording data in the live broadcast scene, and the on-demand recording data is stored.
  • the terminal device can send the live video data and the barrage data corresponding to the K segments to the on-demand recording data in the live broadcast scene, and can store the on-demand recording data, and the terminal device can send the on-demand recording data to the server storage, or the on-demand recording data can be directly recorded by the server, then the server can directly store the recorded on-demand recording data.
  • the terminal device when the terminal device detects an on-demand operation for the above-mentioned live video data, the terminal device can obtain the above-mentioned stored on-demand recording data, and obtain the above-mentioned live video data and each segment time period from the on-demand recording data. barrage data.
  • the terminal device can play the live video data on the on-demand interface, and dynamically display the barrage data of each segment time period on the live video data played on the on-demand interface in chronological order.
  • the same strategy of displaying bullet chatting data according to different moving directions during the live broadcast can be adopted.
  • the bullet chatting data corresponding to K segment time periods are displayed according to different moving directions, and displayed according to different moving directions
  • the first bullet chatting data moving according to the first moving direction and the second bullet chatting data moving according to the second moving direction can be displayed, and if there is
  • the first bullet chat data and the second bullet chat data are displayed at the same display position in the on-demand interface, the first bullet chat data and the second bullet chat data displayed at the same display position may also be deleted and the confrontation animation displayed.
  • the number of bullet chatting data under each type of bullet chatting can also be periodically counted, so that the bullet chatting confrontation results can also be periodically displayed on the on-demand interface (such as the display above for the first The winning information of the barrage confrontation of the team in the competition, the victory information of the barrage confrontation against the team of the second competition, or the tie information of the barrage confrontation between the team of the first competition and the team of the second competition above).
  • the live image in the interactive interface of the live broadcast process can be made the same as the on-demand image in the on-demand interface of the on-demand process, and the restored display of the live video data and barrage data in the live broadcast process can be realized in the on-demand process.
  • FIG. 7 is a schematic flowchart of a method for sending bullet chatting according to an embodiment of the present application. As shown in FIG. 7, the method may include steps S301 to S304.
  • Step S301 displaying the interactive interface of the target scene; the target scene includes the first team and the second team.
  • the content described in the embodiment of the present application and the embodiment of the application corresponding to FIG. 3 may be combined with each other, and the execution subject in the embodiment of the present application may also be a terminal device.
  • Both the first team and the second team can refer to the teams corresponding to any barrage type.
  • the first team and the second team belong to different teams.
  • the first team can be the above-mentioned first competition team
  • the second team can be It is the above-mentioned second competition team
  • the first team may be the team corresponding to the first topic view in the above-mentioned topic interaction scene
  • the second team may be the team corresponding to the second topic view in the above-mentioned topic interaction scene.
  • the target scene may contain multiple barrage types, and the first team and the second team may be teams corresponding to any two barrage types in the multiple barrage types.
  • the target scene and the interactive interface reference may be made to the specific description in the above-mentioned embodiment corresponding to FIG. 3 .
  • Step S302 in response to the selection operation on the first team or the second team, determine the selected team as the target team.
  • the terminal device may display a team selection list (such as the above-mentioned competition team selection list), and the team selection list may be in the interactive interface, or may be a sub-interface of the independent reality and interactive interface (such as a floating window style interface).
  • the team selection list may include the first team and the second team, and the terminal device may use the team selected by the user as the target team according to the user's selection operation on the first team or the second team in the team selection list.
  • the team can be the first team or the second team.
  • Step S303 in response to the barrage data entry operation, sending barrage data for the target team.
  • Step S304 displaying the bullet chatting data of the first team moving in the first moving direction on the interactive interface, and displaying the bullet chatting data of the second team moving in the second moving direction in the interactive interface.
  • the bullet chatting type of the first bullet chatting data is different from the bullet chatting type of the second bullet chatting data, and the bullet chatting data is used to comment on the target scene.
  • the terminal device can obtain the bullet chat data entered by the user in the interactive interface, and can use the entered bullet chat data as the bullet chat data for the target team, and can use the entered bullet chat data in the interactive interface After sending, for example, after sending to the background server for aggregation of bullet chatting data, the recorded bullet chatting data can be displayed in the interactive interface.
  • the terminal device can obtain the barrage data entered by the user in other interfaces independent of the interactive interface, and can use the entered barrage data as the barrage data for the target team, and can use the barrage data entered by the user in other interfaces.
  • the entered bullet chatting data is sent, for example, after being sent to the background server for aggregation of the bullet chatting data, the entered bullet chatting data can be displayed in the interactive interface.
  • the bullet chat data of the first team can be moved and displayed according to the first moving direction
  • the bullet chat data of the second team can be displayed according to the second moving direction.
  • the barrage data of the target team may not only include the barrage data entered by the above-mentioned users, but also include barrage data for the target team entered by other users on other terminal devices.
  • the bullet chat data of the first team may include the first bullet chat data in the first bullet chat set
  • the bullet chat data of the second team may include the second bullet chat data in the second bullet chat set.
  • how to display the bullet chatting data of the first team and the bullet chatting data of the second team may refer to the specific description in the above-mentioned embodiment corresponding to FIG. 3 .
  • the user can select the team he supports to send the bullet chat data, and then move according to the bullet chat display direction (such as the first moving direction or the second moving direction) corresponding to the team he supports Display the barrage data you have entered.
  • the bullet chat display direction such as the first moving direction or the second moving direction
  • FIG. 8 is a schematic flowchart of a bullet chatting display method provided in an embodiment of the present application. As shown in FIG. 8, the method may include steps S401 to S403.
  • Step S401 displaying an interactive interface of a target scene.
  • the content described in the embodiment of this application can be combined with the content described in the above-mentioned embodiment corresponding to Figure 3 and the content described in the embodiment corresponding to Figure 7, and the execution subject in this embodiment of the application can also be Terminal Equipment.
  • the specific description of the target scene and the interactive interface please refer to the description in the above-mentioned embodiment corresponding to FIG. 3 .
  • Step S402 dynamically displaying the first bullet chatting collection and the second bullet chatting collection in the interactive interface.
  • the first bullet chatting set contains N first bullet chatting data; the second bullet chatting set contains M second bullet chatting data, the bullet chatting types of the first bullet chatting data and the second bullet chatting data are different, and the bullet chatting data is used for Comment on the target scene, N and M are positive integers.
  • the method of dynamically displaying the first bullet chatting set and the second bullet chatting collection in the interactive interface may include the above: moving and displaying the first bullet chatting data in the first bullet chatting set according to the first moving direction, and moving and displaying the first bullet chatting data in the first bullet chatting set according to the second moving direction Move to display the second bullet chat data in the second bullet chat set.
  • the interactive interface may further include a first display area and a second display area, and the first display area and the second display area may be two disjoint areas in the interactive interface. Therefore, the method for the terminal device to dynamically display the first bullet chatting set and the second bullet chatting set may also be: the terminal device may follow the order of the generation time stamps of the N first bullet chatting data in the first bullet chatting set, In the first display area, the N pieces of first bullet chat data are sequentially superimposed and displayed, such as from displaying 1 first bullet chat data ⁇ displaying 2 first bullet chat data ⁇ displaying 3 first bullet chat data and so on.
  • the terminal device can superimpose and display the M second bullet chatting data in the second display area sequentially according to the order of the generation time stamps of the M second bullet chatting data in the second bullet chatting set, such as from display 1 1 second barrage data ⁇ display 2 second barrage data ⁇ display 3 second barrage data and so on.
  • Step S403 when there is a confrontation trigger event between the first bullet chat data in the first bullet chat set and the second bullet chat data in the second bullet chat set, trigger the first bullet chat data and the second bullet chat data related to the confrontation trigger event.
  • the confrontation triggering event may refer to a confrontation display event between the first bullet chat data and the second bullet chat data triggered during the dynamic display of the first bullet chat data and the second bullet chat data (such as for the bullet chat data).
  • the confrontation triggering event indicates what display the first bullet chatting data and the second bullet chatting data present can trigger the confrontation display event. Therefore, the confrontation triggering event can be set according to the actual application scenario. The following are just examples of several confrontation triggering events, but not limited to the following confrontation triggering events.
  • any first bullet chatting data in the first bullet chatting set may be represented as first target bullet chatting data
  • any second bullet chatting data in the second bullet chatting set may be represented as second target bullet chatting data.
  • dynamically displaying the first target bullet chat data and the second target bullet chat data on the interactive interface such as moving and displaying the first bullet chat data from the first initial position according to the first moving direction, and moving and displaying the first bullet chat data from the second
  • first target bullet chatting data and the second target bullet chatting data are at the same display position in the interactive interface at the same time (it can be understood as If the first target barrage data and the second target barrage data touch each other, such as being located at the same position on the same horizontal line of the interactive interface), it can be considered that there is a confrontation between the first target barrage data and the second target barrage data Trigger an event, the above confrontation display event can display the confrontation animation, so at this time,
  • the confrontation display event can also be a counter display event, therefore, at this time, the displayed first target barrage data and the second target barrage data can be deleted in the interactive interface, that is, the first target barrage data and the second target barrage data can be deleted.
  • the barrage data of the two targets are offset and displayed.
  • the maximum number of barrage data that can be displayed in the above-mentioned first display area and the second display area in the interactive interface can be L, where L is a positive integer, and the specificity of L can be determined according to the actual application scenario.
  • L can be equals 10.
  • the superimposed display speed of the first bullet chat data in the first display area may be the same as the superimposed display speed of the second bullet chat data in the second display area, in other words, at the same moment, all
  • the quantity of the displayed first bullet chatting data may be the same as the quantity of the second bullet chatting data displayed in the second display area, therefore, when the first bullet chatting data is sequentially superimposed and displayed in the first display area and displayed in the second display area, therefore, when the first bullet chatting data is sequentially superimposed and displayed in the first display area and displayed in the second display area In the process of sequentially superimposing and displaying the second bullet chat data in the first display area, L pieces of first bullet chat data are displayed in the first display area, and when L pieces of second bullet chat data are displayed in the second display area, it is determined that L pieces of first bullet chat data A confrontation trigger event occurs between the L second barrage data and the L second barrage data,
  • the confrontation display event may include displaying confrontation animations (such as confrontation special effects) on the interactive interface, and deleting the first barrage data and the second barrage data related to the confrontation trigger event. Therefore, the above-mentioned confrontation special effects can be displayed in the interactive interface,
  • the confrontation special effect at this time may be an offset special effect between the L pieces of first barrage data and the L pieces of second barrage data.
  • the terminal device can also delete the first barrage data and the second barrage data related to the confrontation triggering event from the interactive interface. Therefore, the above-mentioned confrontation animation can be the first barrage data and the second barrage data that need to be deleted Offset special effects between.
  • the first barrage data and the second barrage data related to the confrontation triggering event may include the above-mentioned first target barrage data and the second target barrage data; or, the first barrage data related to the confrontation triggering event also includes It may include the above L pieces of first barrage data and L pieces of second barrage data.
  • the timing of deleting the first barrage data and the second barrage data related to the confrontation trigger event may include: during the display of the confrontation animation, the first barrage data and the second barrage data related to the confrontation trigger event may be deleted Delete the data from the interactive interface; or, after the display of the confrontation animation is completed, delete the first barrage data and the second barrage data related to the confrontation trigger event from the interactive interface; or, you can delete it in the confrontation animation Before displaying, delete the first barrage data and the second barrage data related to the confrontation trigger event from the interactive interface.
  • FIG. 9 is a schematic diagram of an interface for displaying bullet chatting data provided by an embodiment of the present application.
  • Interface 100e, interface 101e, and interface 102e are all interactive interfaces at different times.
  • the target scene can be a live event scene (such as a game event live scene)
  • Xiaotian can represent the first match team in the live event scene
  • Werewolf can represent the The second match team in the live broadcast scene of the match.
  • the interface 100e includes a first display area and a second display area.
  • Bullet chat data supporting Xiaotian (such as the first bullet chat data) can be displayed in the first display area
  • bullet chat data supporting werewolves (such as the first bullet chat data) can be displayed in the second display area.
  • first bullet chat data In the first display area, N pieces of first bullet chat data can be superimposed and displayed sequentially, for example, the first bullet chat data "Xiaotian Come on” can be displayed in the first display area, and the second bullet chat data can be displayed synchronously in the second display area
  • the data "Werewolf is mighty”, and then, the first barrage data "Xiaotian must win” can be displayed under the first barrage data "Xiaotian Come on", and it can be synchronized under the second barrage data "Werewolf is mighty” Display the second barrage data "Werewolf is mighty", and then continue to display the first barrage data "Come on, come on! under the first barrage data "Xiaotian will win", and display The second barrage data "Werewolf must win” is synchronously displayed below “Werewolf is mighty", and the interface 100e can be displayed.
  • the first barrage data "Xiaotian is the most handsome" after the first barrage data "Come on, come on!" is displayed, and the second barrage data above is redisplayed in the second display area " The second barrage data "Werewolf, Werewolf, Werewolf” after "Werewolf Must Win”.
  • Fig. 10a-10b is a schematic diagram of a scene for displaying barrage confrontation information provided by an embodiment of the present application.
  • Figure 10a when there are 100 bullet chat data supporting Xiaotian and 50 bullet chat data supporting werewolves in the period corresponding to a certain period node, then at the time corresponding to the period node The barrage confrontation victory information against Xiaotian may be displayed, and the barrage confrontation victory information includes the prompt message "Xiaotian 100: 50 werewolves, Xiaotian wins!.
  • the bullet chat data in the target scene is classified into bullet chat data under various bullet chat types, and then the bullet chat data of the multiple bullet chat types is dynamically displayed
  • it can trigger the confrontation display between the bullet chatting data under the various bullet chatting types (such as mutual offset confrontation display, which can be reflected by the above-mentioned confrontation animation and deleting the bullet chatting data related to the confrontation triggering event), so as to Enhance the fun of interaction between users, develop a good interactive atmosphere, increase the viewing time of users and improve business benefits (for example, when choosing a supported barrage type to comment, a certain amount of gold coins needs to be deducted).
  • the embodiment of the present application can display the interactive interface of the target scene; dynamically display the first bullet chatting collection and the second bullet chatting collection in the interactive interface; the first bullet chatting collection contains N first bullet chatting data; the second bullet chatting collection contains M second barrage data; N and M are integers; when there is a confrontation trigger event between the first barrage data in the first barrage set and the second barrage data in the second barrage set, the trigger and the confrontation trigger The confrontation display event between the first bullet chat data and the second bullet chat data related to the event. It can be seen that the method proposed in the embodiment of the present application can dynamically display the first bullet chat data and the second bullet chat data on the interactive interface.
  • first bullet chat data and the second bullet chat data There is a confrontation trigger event between them, and a confrontation display event between the first bullet chat data and the second bullet chat data related to the confrontation trigger event can also be triggered (such as an event that offsets the display or displays the confrontation animation), thus enriching the The method of displaying the first barrage data and the second barrage data improves the interactive interest between the barrage data.
  • FIG. 11 is a schematic flowchart of displaying barrage data provided by an embodiment of the present application, including steps s11 to s15 .
  • Step s11 receiving the selection operation for multiple teams in the live broadcast of the game and the sending operation for the barrage data.
  • the user when a user is watching a live event and selects the supported team to send a support barrage, the user can select any one of the multiple teams in the live event to support the team when watching the live event, and send a message for the supported team. Barrage data.
  • Step s12 sending the barrage data for the selected team to the confrontation convergence service.
  • the confrontation aggregation service can be provided by the background server, which can send the bullet chatting data sent by each user for the supported teams to the background service for aggregation, that is, to classify the bullet chatting data, such as according to different teams Classification.
  • Step s13 if the convergence takes 300 milliseconds, then the barrage of the 300 millisecond slices of the two teams is sent to the viewing client.
  • the background server completes the aggregation of the barrage data within 300 milliseconds
  • the barrage data of the two gathered teams including the home team and the away team, such as the above-mentioned first match team and second match team
  • the data is sent to the viewing client.
  • step s14 the client displays the barrage confrontation effect after receiving the support barrage from the two teams.
  • the client After the client receives the bullet chat data of the two teams aggregated within 300 milliseconds sent by the background server, it can display the combat effect of the acquired bullet chat data on the client interface (such as the above-mentioned interactive interface).
  • the client interface such as the above-mentioned interactive interface.
  • the way of displaying the confrontation effect can be to counteract and display the first bullet chat data and the second bullet chat data that generate the confrontation trigger event.
  • Step s15 counting the number of bullet screens of the two teams, and periodically displaying the results of the confrontation.
  • the client can also periodically count the number of barrage data (that is, the quantity) of the two teams, and periodically display the result of the confrontation. It has a higher degree of attention, which is equivalent to winning the attention competition.
  • the result of the confrontation can be obtained through the above-mentioned barrage confrontation victory information for the first competition team, the bullet screen confrontation victory information for the second competition team, or for the second competition team.
  • the barrage confrontation information between the first team and the second team is displayed.
  • the above target scene can be a live broadcast scene.
  • the above process describes the process of displaying the bullet chat data in the live broadcast scene.
  • the following describes the process of recording and transferring the video data and bullet chat data in the above live broadcast scene to realize on-demand. For description, please refer to the following description of the embodiment corresponding to FIG. 12 .
  • FIG. 12 is a schematic flow chart of data recording provided by an embodiment of the present application, including steps 21 to 26 .
  • Step s21 receiving the selection operation for multiple teams in the live broadcast of the game and the sending operation for the barrage data.
  • the user when a user is watching a live event and selects the supported team to send a support barrage, the user can select any one of the multiple teams in the live event to support the team when watching the live event, and send a message for the supported team. Barrage data.
  • step s22 the barrage data for the selected team is sent to the special effects aggregation service.
  • the confrontation aggregation service can be provided by the background server, which can send the bullet chatting data sent by each user for the supported teams to the background service for aggregation, that is, to classify the bullet chatting data, such as according to different teams Classification.
  • Step s23 if the aggregation lasts for 1 second, the 1-second barrage is aggregated according to the two teams and stored in a database, for example, a key-value store.
  • the bullet chatting data of the two gathered teams can be aggregated within the 1s.
  • Classification and aggregation of the bullet chatting data which means that the bullet chatting data of the home team is aggregated, and the bullet chatting data of the visiting team are aggregated and stored in a database, for example, a key-value store (a distributed storage database).
  • Step s24 sending the key key of the 1 second barrage data to the transcoding module.
  • the background server may send the key key of the 1-second barrage data to the transcoding module, and the transcoding module may be in another server.
  • the key key may refer to the timestamp indicated by the shard time node corresponding to the 1 second.
  • the key key and the barrage data stored in kv correspond to each other.
  • step s25 the transcoding module writes the key key into the live stream through SEI information.
  • the transcoding module may write the acquired key key into the live stream through SEI information (a supplementary enhancement information), and the live stream may be a data stream during live broadcast.
  • SEI information a supplementary enhancement information
  • Step s26 recording on demand and writing the SEI information of the live broadcast into the video content.
  • the SEI information during the live broadcast may be written (that is, recorded) into the video content, that is, written into the live video data, and stored in association with the live video data.
  • FIG. 13 is a schematic flowchart of a data-on-demand program provided by an embodiment of the present application, including steps s31 to s36.
  • step s31 the user account logs into the client to watch the on-demand video.
  • Users can order videos in the client of the terminal device, and can order videos in the live video room, such as live video data and related barrage data recorded in the scene of on-demand live broadcast.
  • step s32 the user backend asynchronously loads relevant barrage combat special effect materials.
  • the client in the user's terminal device asynchronously loads relevant bullet chatting confrontation special effect material in the background, and the bullet chatting confrontation special effect material may be the above-mentioned material for displaying the above-mentioned confrontation animation.
  • step s33 the client player plays the on-demand video and reads the bullet screen special effect SEI information in the video.
  • the client player in the terminal device can order a video and read the bullet screen special effect SEI information in the video.
  • the SEI information is stored in the above-mentioned embodiment corresponding to FIG. 12 .
  • Step s34 query the live broadcast background through the key key to obtain the confrontation barrage data of the two teams at the current video moment.
  • the terminal device may request the server to query the barrage data of the two teams at the current video moment for kv storage through the key key in the SEI information, and the server may send the queried barrage data to the client.
  • step s35 the client side displays the barrage confrontation effect after receiving the support barrage from the two teams.
  • the client after the client receives the bullet chatting data of the two teams, it can also display the bullet chatting data in the same way as the confrontation display of the bullet chatting data during the live broadcast.
  • Step s36 counting the number of bullet screens of the two teams, and displaying the confrontation situation periodically.
  • the client can also periodically count the number of barrage entries (that is, the number) of the two teams in the same way as the periodic display of the barrage confrontation during the live broadcast, and periodically display the confrontation situation. It is reflected by the above-mentioned barrage confrontation victory information for the first competition team, the bullet chatting confrontation victory information for the second competition team, or the tie information for the first competition team and the second competition team.
  • FIG. 14 is a schematic structural diagram of a barrage display device provided by an embodiment of the present application.
  • the barrage display device can be a computer program (including program code) running in a computer device, for example, the barrage display device is an application software, and the barrage display device can be used to execute the method provided by the embodiment of the present application corresponding steps.
  • the barrage display device 1 may include: a first display module 11 and a second display module 12 .
  • the first display module 11 is configured to display an interactive interface of the target scene
  • the second display module 12 is configured to display in the interactive interface the first bullet chatting set moving in the first moving direction, and display in the interactive interface the second bullet chatting set moving in the second moving direction; wherein, the first bullet chatting
  • the set of bullet chatting includes N first bullet chatting data; the second bullet chatting set contains M pieces of second bullet chatting data; N and M are positive integers; the first moving direction and the second moving direction belong to different moving directions.
  • the above device 1 is further configured to: when the first target bullet chat data and the second target bullet chat data are at the same display position in the interactive interface at the same time, hide the first target bullet chat in the interactive interface Data and second target barrage data; wherein, the first target barrage data is any first barrage data, and the second target barrage data is any second barrage data.
  • the above device 1 is further configured to: when the first target bullet chat data and the second target bullet chat data are at the same display position in the interactive interface at the same time, display the first target bullet chat in the interactive interface A confrontation animation between the data and the second target barrage data; wherein, the first target barrage data is any first barrage data, and the second target barrage data is any second barrage data.
  • the target scene is a live event scene;
  • the interactive interface is a live event interface under the live event scene;
  • the live event scene includes the first event team and the second event team;
  • the first barrage set is for the first event team The barrage set;
  • the second barrage set is a barrage set for the teams of the second competition.
  • the N first barrage data and the M second barrage data are all barrage data obtained in the target period corresponding to the period node;
  • the above device 1 is also configured as:
  • the above-mentioned device 1 is further configured to: display the first bullet chatting collection moving in the first moving direction in the interactive interface, and display the second bullet chatting collection moving in the second moving direction in the interactive interface ,
  • the entered barrage data will be used as the first barrage data in the first barrage set;
  • the entered barrage data is used as the second barrage data in the second barrage set.
  • the target scene is a topic interaction scene; the topic interaction scene includes a first topic viewpoint and a second topic viewpoint; the first bullet chat collection is a bullet chat collection for the first topic viewpoint; the second bullet chat collection is for A collection of bullet screens for the second topic.
  • the second display module 12 when N is greater than the bullet chatting display number threshold, the second display module 12 is further configured to:
  • the selected first bullet chat data is the first bullet chat data that is ranked first in the first sorting result and meets the bullet chat display quantity threshold, and the first sorting result is based on the generation time of the N first bullet chat data
  • the order of stamps is the result of sorting the N first barrage data.
  • the second display module 12 when M is greater than the barrage display quantity threshold, the second display module 12 is further configured to:
  • the selected second bullet chatting data is the second bullet chatting data that is ranked first in the second sorting result and meets the bullet chatting display quantity threshold, and the second sorting result is based on the generation time of the M second bullet chatting data
  • the sequence of stamps is the result of sorting the M second barrage data.
  • the target scene includes a live scene; the above device 1 is also configured to:
  • the barrage data in the full barrage set includes N first barrage data and M second barrage data;
  • the bullet chat data belonging to each segment time period is obtained;
  • the live video data and the barrage data of each segment time period are determined as on-demand recording data in the live broadcast scene, and the on-demand recording data are stored.
  • the above-mentioned device 1 is further configured as:
  • the first bullet chatting data moving according to the first moving direction and the second bullet chatting data moving according to the second moving direction are displayed.
  • the steps involved in the bullet chatting display method shown in FIG. 3 may be executed by various modules in the bullet chatting display device 1 shown in FIG. 12 .
  • step S101 shown in FIG. 3 can be executed by the first display module 11 in FIG. 14
  • step S102 shown in FIG. 3 can be executed by the second display module 12 in FIG. 14 .
  • the embodiment of the present application can display the interactive interface of the target scene; move and display the first bullet chatting set in the interactive interface according to the first moving direction, and move and display the second bullet chatting set in the interactive interface according to the second moving direction; the first bullet chatting set
  • the set of bullet chatting includes N pieces of first barrage data; the second set of barrage chatting includes M pieces of second barrage data; N and M are integers; the first moving direction and the second moving direction belong to different moving directions.
  • the device proposed in the embodiment of the present application classifies the bullet chat data, such as classifying the first bullet chat data and the second bullet chat data, and then can classify the first bullet chat data and the second bullet chat data in the interactive interface.
  • the mobile display of the bullet chat data according to different moving directions enriches the display mode of the bullet chat data and improves the interest of the bullet chat data display.
  • each module in the barrage display device 1 shown in FIG. Dividing into multiple functionally smaller subunits can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application.
  • the above-mentioned modules are divided based on logical functions. In practical applications, the functions of one module can also be realized by multiple units, or the functions of multiple modules can be realized by one unit. In other embodiments of the present application, the barrage display device 1 may also include other units. In practical applications, these functions may also be implemented with the assistance of other units, and may be implemented cooperatively by multiple units.
  • a general-purpose computer device such as a computer including processing elements such as a central processing unit (CPU), a random access storage medium (RAM), and a read-only storage medium (ROM) and storage elements.
  • the computer program (comprising program code) of each step involved in the corresponding method as shown in Figure 3, constructs the barrage display device 1 as shown in Figure 14, and realizes the barrage display method of the embodiment of the present application .
  • the above-mentioned computer program can be recorded in, for example, a computer-readable recording medium, loaded into the above-mentioned computing device through the computer-readable recording medium, and executed therein.
  • FIG. 15 is a schematic structural diagram of a barrage sending device provided by an embodiment of the present application.
  • the barrage display device may be a computer program (including program code) running on a computer device, for example, the barrage sending device is an application software, and the barrage sending device can be used to execute the method provided by the embodiment of the present application corresponding steps.
  • the bullet chat sending device 2 may include: an interface display module 21 , a team selection module 22 and a bullet chat sending module 23 .
  • the interface display module 21 is configured to display the interactive interface of the target scene; the target scene includes the first team and the second team;
  • the team selection module 22 is configured to determine the selected team as the target team in response to the selection operation for the first team or the second team;
  • the barrage sending module 23 is configured to respond to the barrage data entry operation, and send the barrage data for the target team; in the interactive interface, the barrage data of the first team moving according to the first moving direction is displayed, and in the interactive interface Display the barrage data of the second team moving in the second moving direction.
  • the team selection module 22 is further configured to:
  • the team selection list contains the first team and the second team
  • the selected team is set as the target team.
  • the barrage sending module 23 is also configured to:
  • the steps involved in the bullet chatting sending method shown in FIG. 7 can be executed by various modules in the bullet chatting sending device 2 shown in FIG. 15 .
  • step S301 shown in Fig. 7 can be carried out by the interface display module 21 in Fig. 15, and step S302 shown in Fig. 7 can be carried out by the team selection module 22 in Fig. 15; It can be executed by the barrage sending module 23 in FIG. 15 .
  • the user can select the team he supports to send the barrage data, and then support the user to display the barrage data according to the barrage display direction (such as the first moving direction or the second moving direction) corresponding to the team he supports. ) to move and display the barrage data you have entered.
  • the barrage display direction such as the first moving direction or the second moving direction
  • each module in the barrage sending device 2 shown in FIG. Dividing into multiple functionally smaller subunits can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application.
  • the above-mentioned modules are divided based on logical functions. In practical applications, the functions of one module can also be realized by multiple units, or the functions of multiple modules can be realized by one unit.
  • the barrage sending device 1 may also include other units. In practical applications, these functions may also be implemented with the assistance of other units, and may be implemented by cooperation of multiple units.
  • a general-purpose computer device such as a computer including processing elements such as a central processing unit (CPU), a random access storage medium (RAM), and a read-only storage medium (ROM) and storage elements.
  • the computer program (comprising program code) of each step involved in the corresponding method as shown in Figure 7, to construct the barrage sending device 2 as shown in Figure 15, and realize the barrage sending method of the embodiment of the present application .
  • the above-mentioned computer program can be recorded in, for example, a computer-readable recording medium, loaded into the above-mentioned computing device through the computer-readable recording medium, and executed therein.
  • FIG. 16 is a schematic structural diagram of a barrage display device provided by an embodiment of the present application.
  • the barrage display device may be a computer program (including program code) running in a computer device, for example, the barrage display device is an application software, and the barrage display device may be used to execute the method provided by the embodiment of the present application corresponding steps.
  • the barrage display device 3 may include:
  • the interactive interface display module 31 is configured to display the interactive interface of the target scene
  • the dynamic display module 32 is configured to dynamically display the first bullet chatting collection and the second bullet chatting collection in the interactive interface; the first bullet chatting collection contains N first bullet chatting data; the second bullet chatting collection contains M second bullet chatting collections; For the bullet chat data, the bullet chat types of the first bullet chat data and the second bullet chat data are different, and N and M are positive integers;
  • the event trigger module 33 is configured to trigger the first bullet chat related to the confrontation trigger event when there is a confrontation trigger event between the first bullet chat data in the first bullet chat set and the second bullet chat data in the second bullet chat set The confrontation display event between the data and the second barrage data.
  • the interactive interface includes a first display area and a second display area
  • the dynamic display module 32 is further configured to:
  • the N first bullet chat data are sequentially superimposed and displayed in the first display area, and;
  • the M second bullet chat data are sequentially superimposed and displayed in the second display area.
  • the event trigger module 33 is further configured to determine L pieces of bullet chat data when there are L pieces of first bullet chat data displayed in the first display area and L pieces of second bullet chat data displayed in the second display area. A confrontation trigger event is generated between the first barrage data and the L second barrage data;
  • L is a positive integer
  • L is the maximum number of barrage data that can be displayed in the first display area or the second display area.
  • the confrontation display event includes: displaying the confrontation animation on the interactive interface, and deleting the first bullet chat data and the second bullet chat data related to the confrontation trigger event, which is equivalent to hiding the confrontation trigger event on the interactive interface.
  • the first barrage data and the second barrage data are equivalent to hiding the confrontation trigger event on the interactive interface.
  • the above-mentioned device 1 displays confrontation animation on the interactive interface, and deletes the first bullet chat data and the second bullet chat data related to the confrontation trigger event, including:
  • the first barrage data and the second barrage data related to the confrontation trigger event are deleted from the interactive interface (equivalent to hiding and confrontation in the interactive interface during the display of the confrontation animation)
  • the first barrage data and the second barrage data related to the trigger event are deleted from the interactive interface (equivalent to hiding and confrontation in the interactive interface during the display of the confrontation animation)
  • the first barrage data and the second barrage data related to the trigger event are deleted from the interactive interface (equivalent to hiding and confrontation in the interactive interface during the display of the confrontation animation)
  • the steps involved in the bullet chatting display method shown in FIG. 8 may be executed by various modules in the bullet chatting display device 3 shown in FIG. 16 .
  • step S401 shown in FIG. 8 can be performed by the interactive interface display module 31 in FIG. 16
  • step S402 shown in FIG. 8 can be performed by the dynamic display module 32 in FIG. 16
  • the steps shown in FIG. 8 S403 can be executed by the event trigger module 33 in FIG. 16 .
  • the embodiment of the present application can display the interactive interface of the target scene; dynamically display the first bullet chatting collection and the second bullet chatting collection in the interactive interface; the first bullet chatting collection contains N first bullet chatting data; the second bullet chatting collection contains M second barrage data; N and M are integers; when there is a confrontation trigger event between the first barrage data in the first barrage set and the second barrage data in the second barrage set, the trigger and the confrontation trigger The confrontation display event between the first bullet chat data and the second bullet chat data related to the event. It can be seen that the method proposed in the embodiment of the present application can dynamically display the first bullet chat data and the second bullet chat data on the interactive interface.
  • first bullet chat data and the second bullet chat data There is a confrontation trigger event between them, and a confrontation display event between the first bullet chat data and the second bullet chat data related to the confrontation trigger event can also be triggered (such as an event that offsets the display or displays the confrontation animation), thus enriching the The method of displaying the first barrage data and the second barrage data improves the interactive interest between the barrage data.
  • each module in the barrage display device 3 shown in FIG. Dividing into multiple functionally smaller subunits can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application.
  • the above-mentioned modules are divided based on logical functions. In practical applications, the functions of one module can also be realized by multiple units, or the functions of multiple modules can be realized by one unit. In other embodiments of the present application, the barrage display device 3 may also include other units. In practical applications, these functions may also be implemented with the assistance of other units, and may be implemented cooperatively by multiple units.
  • a general-purpose computer device such as a computer including processing elements such as a central processing unit (CPU), a random access storage medium (RAM), and a read-only storage medium (ROM) and storage elements.
  • the computer program (comprising program code) of each step involved in the corresponding method as shown in Figure 3, constructs the barrage display device 3 as shown in Figure 16, and realizes the barrage display method of the embodiment of the present application .
  • the above-mentioned computer program can be recorded in, for example, a computer-readable recording medium, loaded into the above-mentioned computing device through the computer-readable recording medium, and executed therein.
  • the computer device 1000 may include: a processor 1001 , a network interface 1004 and a memory 1005 .
  • the computer device 1000 may further include: a user interface 1003 and at least one communication bus 1002 .
  • the communication bus 1002 is used to realize connection and communication between these components.
  • the user interface 1003 may include a display screen (Display) and a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1005 can be a high-speed RAM memory, or a non-volatile memory, such as at least one disk memory. As an example, the memory 1005 may also be at least one storage device located away from the aforementioned processor 1001 . As shown in FIG. 17 , the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a device control application program.
  • the network interface 1004 can provide a network communication function;
  • the user interface 1003 is mainly used to provide an input interface for the user; and
  • the processor 1001 can be used to call the device control application stored in the memory 1005 program to achieve:
  • the first bullet chatting set contains N pieces of first bullet chatting data
  • the second barrage set includes M second barrage data; N and M are integers; the first moving direction and the second moving direction belong to different moving directions.
  • the processor 1001 may also be used to call a device control application program stored in the memory 1005, so as to implement:
  • the target scene includes the first team and the second team;
  • the bullet chat data of the first team is moved and displayed in the interactive interface according to the first moving direction
  • the bullet chat data of the second team is moved and displayed in the interactive interface according to the second moving direction.
  • the processor 1001 may also be used to call a device control application program stored in the memory 1005, so as to implement:
  • the first bullet chatting set contains N first bullet chatting data
  • the second bullet chatting set contains M second bullet chatting data
  • N and M are integer
  • the computer device 1000 described in the embodiment of the present application can execute the above-mentioned bullet-screen display method in the embodiment corresponding to FIG. 3 , the above-mentioned bullet-screen sending method in the embodiment corresponding to FIG.
  • the above description of the barrage display method can also be performed for the above-mentioned barrage display device 1 in the embodiment corresponding to FIG. 14, the above-mentioned barrage sending device 2 in the embodiment corresponding to FIG.
  • the above description of the barrage display device 3 will not be repeated here.
  • the description of the beneficial effect of adopting the same method will not be repeated here.
  • the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores the above-mentioned bullet chat display device 1, bullet chat sending device 2 and bullet chat display device 3.
  • the computer program executed, and the computer program includes program instructions.
  • the processor executes the program instructions, it can execute the method for displaying bullet chatting in the embodiment corresponding to Figure 3 above, the method for sending bullet chatting in the embodiment corresponding to Figure 7, and FIG. 8 corresponds to the description of the bullet chatting display method in the embodiment, so details will not be repeated here.
  • the description of the beneficial effect of adopting the same method will not be repeated here.
  • the above-mentioned program instructions may be deployed to execute on one computer device, or deployed to be executed on multiple computer devices located at one location, or distributed across multiple locations and interconnected by a communication network Executed on the Internet, multiple computer devices distributed in multiple locations and interconnected through a communication network can form a blockchain network.
  • the above-mentioned computer-readable storage medium may be the bullet-screen display device, the bullet-screen sending device provided in any of the foregoing embodiments, or the internal storage unit of the above-mentioned computer equipment, such as the hard disk or memory of the computer equipment.
  • the computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, Flash card (flash card), etc.
  • the computer-readable storage medium may also include both an internal storage unit of the computer device and an external storage device.
  • the computer-readable storage medium is used to store the computer program and other programs and data required by the computer device.
  • the computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
  • An embodiment of the present application provides a computer program product or computer program, where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the bullet chatting display method in the embodiment corresponding to FIG.
  • the bullet chatting sending method and FIG. 8 correspond to the description of the bullet chatting displaying method in the embodiment, so details will not be repeated here.
  • the description of the beneficial effect of adopting the same method will not be repeated here.
  • each flow and/or of the method flow charts and/or structural diagrams can be implemented by computer program instructions or blocks, and combinations of processes and/or blocks in flowcharts and/or block diagrams.
  • These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a A device for realizing the functions specified in one or more steps of the flowchart and/or one or more blocks of the structural diagram.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions
  • the device implements the functions specified in one or more blocks of the flowchart and/or one or more blocks of the structural schematic diagram.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby
  • the instructions provide steps for implementing the functions specified in one or more steps of the flowchart and/or one or more blocks in the structural illustration.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请公开了一种弹幕显示方法、装置、计算机设备、计算机可读存储介质及计算机程序产品,该方法包括:显示目标场景的交互界面;在交互界面中显示按照第一移动方向移动的第一弹幕集,并在交互界面中显示按照第二移动方向移动的第二弹幕集;第一弹幕集包含N个第一弹幕数据;第二弹幕集包含M个第二弹幕数据;N和M为正整数;第一移动方向和第二移动方向属于不同的移动方向。

Description

弹幕显示方法、弹幕发送方法、装置、计算机设备、计算机可读存储介质及计算机程序产品
相关申请的交叉引用
本申请实施例基于申请号为202110759469.3、申请日为2021年07月05日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请实施例作为参考。
技术领域
本申请涉及数据处理领域,尤其涉及一种弹幕显示方法、一种弹幕发送方法、装置、计算机设备、计算机可读存储介质及计算机程序产品。
背景技术
随着计算机网络的不断发展,各类视频应用争相涌现,用户对于各类视频应用中的视频数据也都可以进行评论,进而评论的数据就可以作为该视频数据的弹幕数据与该视频数据同步进行显示。
现有应用中,在对视频数据的弹幕数据进行显示时,通常是直接按照各个弹幕数据的生成时间的先后顺序,依次在视频数据的播放界面上对各个弹幕数据进行移动显示,由于对所有弹幕进行无差别显示,限制了人机交互效率以及交互界面的显示效率。
发明内容
本申请实施例提供了一种弹幕显示方法、一种弹幕发送方法、装置、计算机设备、计算机可读存储介质及计算机程序产品,可丰富弹幕数据的显示方式、针对不同类型的弹幕采取不同的显示方式,有效提高用户从众多弹幕数据中获取有效信息的获取效率,因此可以提升人机交互效率。
本申请实施例提供了一种弹幕显示方法,该方法包括:
显示目标场景的交互界面;
在交互界面中显示按照第一移动方向移动的第一弹幕集,并在交互界面中显示按照第二移动方向移动的第二弹幕集;第一弹幕集包含N个第一弹幕数据;第二弹幕集包含M个第二弹幕数据;N和M为正整数;第一移动方向和第二移动方向属于不同的移动方向。
本申请实施例提供了一种弹幕发送方法,所述方法由电子设备执行,该方法包括:
显示目标场景的交互界面;目标场景包含第一队伍和第二队伍;
响应于针对所述第一队伍或者所述第二队伍的选择操作,将所选择的队伍确定为目标队伍;
响应于弹幕数据录入操作,发送针对所述目标队伍的弹幕数据;
在所述交互界面中显示按照第一移动方向移动的所述第一队伍的弹幕数据,并在所述交互界面中显示按照第二移动方向移动的所述第二队伍的弹幕数据。
本申请实施例提供了一种弹幕显示方法,所述方法由电子设备执行,该方法包括:
显示目标场景的交互界面;
在交互界面中动态显示第一弹幕集和第二弹幕集;第一弹幕集包含N个第一弹幕数据;第二弹幕集包含M个第二弹幕数据;N和M为正整数;
当第一弹幕集中的第一弹幕数据与第二弹幕集中的第二弹幕数据之间存在对抗触发事件时,触发与对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事件。
本申请实施例提供了一种弹幕显示装置,该装置包括:
第一显示模块,配置为显示目标场景的交互界面;
第二显示模块,配置为在所述交互界面中显示按照第一移动方向移动的第一弹幕集,并在所述交互界面中显示按照第二移动方向移动的第二弹幕集;其中,所述第一弹幕集包含N个第一弹幕数据;所述第二弹幕集包含M个第二弹幕数据;N和M为正整数;所述第一移动方向和所述第二移动方向属于不同的移动方向。
本申请实施例提供了一种弹幕发送装置,该装置包括:
界面显示模块,配置为显示目标场景的交互界面;所述目标场景包含第一队伍和第二队伍;
队伍选择模块,配置为响应于针对所述第一队伍或者所述第二队伍的选择操作,将所选择的队伍确定为目标队伍;
弹幕发送模块,配置为响应于弹幕数据录入操作,发送针对所述目标队伍的弹幕数据;
所述界面显示模块,还配置为在所述交互界面中显示按照第一移动方向移动的所述第一队伍的弹幕数据,并在所述交互界面中显示按照第二移动方向移动的所述第二队伍的弹幕数据。
本申请实施例提供了一种弹幕显示装置,该装置包括:
交互界面显示模块,配置为显示目标场景的交互界面;
动态显示模块,配置为在所述交互界面中动态显示第一弹幕集和第二弹幕集;所述第一弹幕集包含N个第一弹幕数据;所述第二弹幕集包含M个第二弹幕数据,N和M为正整数;
事件触发模块,配置为当所述第一弹幕集中的第一弹幕数据与所述第二弹幕集中的第二弹幕数据之间存在对抗触发事件时,触发与所述对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事 件。
本申请实施例提供了一种计算机设备,包括存储器和处理器,存储器存储有计算机程序,计算机程序被处理器执行时实现本申请实施例提供的弹幕显示方法以及弹幕发送方法。
本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序包括程序指令,该程序指令被处理器执行时实现本申请实施例提供的弹幕显示方法以及弹幕发送方法。
根据本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令时实现本申请实施例提供的弹幕显示方法以及弹幕发送方法。
通过本申请实施例可以在交互界面中显示移动的弹幕数据,不同类型的弹幕数据具有不同移动方向,丰富了弹幕数据的显示方式,提高了弹幕数据的显示趣味性,并且不同的移动方向表征弹幕类型不同,从而可以提高用户针对弹幕数据的获取效率,而用户不必从多个类型混杂的弹幕数据中获取想要的弹幕信息,可以提高人机交互效率。
附图说明
为了更清楚地说明本申请或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种网络架构的结构示意图;
图2是本申请实施例提供的一种显示弹幕数据的场景示意图;
图3是本申请实施例提供的一种弹幕显示方法的流程示意图;
图4是本申请实施例提供的一种队伍选择的界面示意图;
图5是本申请实施例提供的一种对抗显示弹幕数据的界面示意图;
图6是本申请实施例提供的一种数据录制点播的流程示意图;
图7是本申请实施例提供的一种弹幕发送方法的流程示意图;
图8是本申请实施例提供的一种弹幕显示方法的流程示意图;
图9是本申请实施例提供的一种对抗显示弹幕数据的界面示意图;
图10a-10c是本申请实施例提供的一种显示弹幕对抗信息的场景示意图;
图11是本申请实施例提供的一种显示弹幕数据的流程示意图;
图12是本申请实施例提供的一种数据录制的流程示意图;
图13是本申请实施例提供的一种数据点播的流程示意图;
图14是本申请实施例提供的一种弹幕显示装置的结构示意图;
图15是本申请实施例提供的一种弹幕显示装置的结构示意图;
图16是本申请实施例提供的一种弹幕显示装置的结构示意图;
图17是本申请实施例提供的一种计算机设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
可以理解的是,在本申请实施例中,涉及到用户相关的数据,当本申请实施例运用到具体产品或技术中时,需要获得用户许可或者同意,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。
请参见图1,图1是本申请实施例提供的一种网络架构的结构示意图。如图1所示,网络架构可以包括服务器200和终端设备集群,终端设备集群可以包括一个或者多个终端设备,这里将不对终端设备的数量进行限制。如图1所示,多个终端设备具体可以包括终端设备1、终端设备2、终端设备3、…、终端设备n;如图1所示,终端设备1、终端设备2、终端设备3、…、终端设备n均可以与服务器200进行网络连接,以便于每个终端设备可以通过网络连接与服务器200之间进行数据交互。
如图1所示的服务器200可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN、以及大数据和人工智能平台等基础云计算服务的云服务器。终端设备可以是:智能手机、平板电脑、笔记本电脑、桌上型电脑、智能电视等智能终端。
上述终端设备1、终端设备2、终端设备3、…、终端设备n均可以是属于不同用户的终端设备,因此,此处可以有n个用户,n为正整数,该n个用户都可以通过自己所持有的终端设备参与话题讨论,该话题讨论可以属于话题交互场景,该话题交互场景可以包含多种话题观点,各个用户可以通过自己的终端设备 选择要支持哪个话题观点,选择之后,即可发送用于支持自己所选择的话题观点的弹幕数据。
各个终端设备可以将采集到的所属用户录入的针对所选择的话题观点的弹幕数据发送给服务器200进行弹幕数据的汇聚,即将各个用户录入的针对同一话题观点的弹幕数据汇聚到一起,实现弹幕数据的分类,一个话题观点对应一类弹幕数据,进而服务器200可以将汇聚后的结果发送给各个终端设备进行显示。
请一并参见图2,图2是本申请实施例提供的一种显示弹幕数据的场景示意图。上述n个用户均可以通过自己所持有的终端设备参与话题A的讨论,该话题A可以是任意的话题,具体可以通过实际应用场景进行设定。该话题A可以包含6个话题观点,支持各个用户选择自己支持的那一个话题观点。一种话题观点对应一种弹幕类型的弹幕数据,如此处,话题观点1可以对应属于弹幕类型1下的弹幕数据,话题观点2可以对应属于弹幕类型2下的弹幕数据,话题观点3可以对应属于弹幕类型3下的弹幕数据,话题观点4可以对应属于弹幕类型4下的弹幕数据,话题观点5可以对应属于弹幕类型5下的弹幕数据,话题观点6可以对应属于弹幕类型6下的弹幕数据。
作为示例,此处以各个弹幕类型下的弹幕数据的数量为1个为例进行说明,若有多个,则按照相同的方式根据生成时间依次进行显示。例如,上述弹幕类型1下的弹幕数据可以包括弹幕数据1,上述弹幕类型2下的弹幕数据可以包括弹幕数据2,上述弹幕类型3下的弹幕数据可以包括弹幕数据3,上述弹幕类型4下的弹幕数据可以包括弹幕数据4,上述弹幕类型5下的弹幕数据可以包括弹幕数据5,上述弹幕类型6下的弹幕数据可以包括弹幕数据6,可以将上述各种弹幕类型的弹幕数据按照不同初始位置以及不同移动方向进行对抗显示。
作为示例,服务器将对弹幕数据的汇聚结果发送给各个终端设备后,各个终端设备的终端界面中所显示的弹幕数据应当是一样的,因此,此处终端界面100b可以是上述n个终端设备中的任意一个终端设备显示弹幕数据的界面。如图2所示,可以将弹幕数据1从初始位置w1按照箭头1所指示的轨迹进行移动显示,可以将弹幕数据2从初始位置w2按照箭头2所指示的轨迹进行移动显示,可以将弹幕数据3从初始位置w3按照箭头3所指示的轨迹进行移动显示,可以将弹幕数据4从初始位置w4按照箭头4所指示的轨迹进行移动显示,可以将弹幕数据5从初始位置w5按照箭头5所指示的轨迹进行移动显示,可以将弹幕数据6从初始位置w6按照箭头6所指示的轨迹进行移动显示。
当上述弹幕数据1、弹幕数据2、弹幕数据3、弹幕数据4、弹幕数据5和弹幕数据6一起移动显示到终端界面100b的中心位置101b时,该弹幕数据1、弹幕数据2、弹幕数据3、弹幕数据4、弹幕数据5和弹幕数据6就可以进行相互抵消显示(一种对抗展示的方式),并可以显示该6个弹幕数据之间进行对抗显示的对抗动画,该对抗动画可以是一种抵消特效,抵消特效指的是两个弹幕数据相遇后消失的特效效果,例如,可以是两个弹幕数据相互碰撞后逐渐缩小至消失。
采用本申请实施例所提供的方法,可以对同一话题(还可以是其他场景,如下述图3对应实施例中所描述的目标场景)的不同话题观点的弹幕数据进行分类聚合,进而对不同弹幕类型的弹幕数据进行对抗显示,丰富了弹幕数据的展示方式,并提升了用户间针对弹幕数据的互动趣味性。
请参见图3,图3是本申请实施例提供的一种弹幕显示方法的流程示意图。本申请实施例中的执行主体可以是一个计算机设备或者多个计算机设备所构成的计算机设备集群。该计算机设备可以是服务器,也可以终端设备。因此,本申请实施例中的执行主体可以是服务器,也可以是终端设备,还可以是由服务器和终端设备共同构成。此处,以本申请实施例中的执行主体为终端设备为例进行说明。如图3所示,该方法可以包括步骤S101至步骤S102。
步骤S101,显示目标场景的交互界面。
作为示例,目标场景可以是任意用户可以进行交互交流的场景,例如,目标场景可以是直播场合、视频播放场景或者话题互动场景等。因此,交互界面就可以是在目标场景下用户进行交互的终端界面。例如,若目标场景是直播场景,则交互界面就可以是用于播放直播场景下的直播视频画面的界面;若目标场景是视频播放场景,则交互界面就可以是用于播放视频播放场景下的视频数据的界面;若目标场景是话题互动界面,则交互界面可以是用于进行话题互动的界面,此时交互界面中可以根据实际应用场景放置图片、放映幻灯片或者播放视频数据等。
因此,终端设备可以显示交互界面,例如终端设备可以根据用户针对直播场景下的直播视频画面的观看操作,显示交互界面,或者,终端设备可以根据用户针对视频播放场景下的视频数据的播放操作,显示交互界面,或者,终端设备还可以根据话题互动场景下的话题互动参与操作,显示交互界面。
其中,目标场景下可以包含多种弹幕类型,例如,若目标场景是游戏直播场景,在该游戏直播场景下有两个相互对抗的战队(战队的具体数量可以根据实际应用场景决定),那么此时目标场景下就可以包含两种弹幕类型,一个战队对应一种弹幕类型,一种战队对应的弹幕类型下的弹幕数据就是针对该战队的弹幕数据,如可以是支持该战队的弹幕数据。
若目标场景是视频播放场景,该视频播放场景下的交互界面中可以播放有电视剧或者电影,那么,可以预先设置针对所播放的电视剧或者电影的相关问题,针对该问题可以设置多个选项,一个选项就可以对 应一种弹幕类型,一个选项所对应的弹幕类型下的弹幕数据就是选择该选项的用户所评论的弹幕数据,如该问题可以是针对男女主角最终是否能在一起的预测话题,那么针对该问题就可以包含两个选项,一个选项是能在一起,一个选项是不能在一起。
若目标场景是话题互动场景,则该话题互动场景下可以有所设置的任意的话题,例如,该话题可以是耳机1、耳机2和耳机3哪个更值得购买,那么该话题下就可以包含3种话题观点(即3种弹幕类型,一种话题观点对应一种弹幕类型),一种话题观点是耳机1更值得购买,一种话题观点是耳机2更值得购买,一种话题观点是耳机3更值得购买,一种话题观点对应的弹幕类型下的弹幕数据就可以是支持该话题观点的用户所评论的弹幕数据。
步骤S102,在交互界面中显示按照第一移动方向移动的第一弹幕集,并在交互界面中显示按照第二移动方向移动的第二弹幕集。
第一弹幕集包含N个第一弹幕数据;第二弹幕集包含M个第二弹幕数据;第一弹幕数据的弹幕类型不同于第二弹幕数据的弹幕类型,弹幕数据用于评论目标场景,N和M为正整数;第一移动方向和第二移动方向属于不同的移动方向。
作为示例,目标场景下可以包含多种弹幕类型,一种弹幕类型可以对应一个弹幕集,一种弹幕类型对应的弹幕集中可以包含该弹幕类型下的所有弹幕数据。由于,当目标场景有多种弹幕类型的情况下,对各种弹幕类型下的弹幕数据相互区分地按照不同移动方向进行显示的原理相似,因此,此处以对两种弹幕类型下的弹幕数据相互区分地按照不同移动方向进行显示的原理为例进行说明。
第一弹幕集可以是目标场景下任意一种弹幕类型下的弹幕数据所构成的集合,第二弹幕集也可以是目标场景下任意一种弹幕类型下的弹幕数据所构成的集合,第一弹幕集对应的弹幕类型不同于第二弹幕集对应的弹幕类型。
可以将第一弹幕集中的弹幕数据称之为第一弹幕数据,可以将第二弹幕集中的弹幕数据称之为第二弹幕数据。第一弹幕集中可以包含N个第一弹幕数据,第二弹幕集中可以包含M个第二弹幕数据,N个M均为正整数,N和M的具体取值根据实际应用场景决定。
终端设备在交互界面上对第一弹幕集和第二弹幕集按照不同方向进行显示的方式包括:终端设备可以在交互界面中,显示第一弹幕集中的第一弹幕数据从第一初始位置按照第一移动方向进行移动的过程,并显示第二弹幕集中的第二弹幕数据从第二初始位置按照第二移动方向进行移动的过程。
作为示例,第一弹幕数据以及第二弹幕数据均可以是在交互界面中的弹幕数据,交互界面中还可以包括视频播放区域,该视频播放区域可以占据整个交互界面,或者也可以占据交互界面中的部分界面,该弹幕数据可以显示于视频播放区域中所播放的视频数据的上面,第一初始位置可以指该视频播放区域的左边缘处的位置,第二初始位置可以指该视频播放区域的右边缘处的位置。因此第一移动方向可以是在视频播放区域的从左往右的直线方向,第二移动方向可以是在视频播放区域的从右往左的直线方向。或者,第一初始位置可以指该视频播放区域的上边缘处的位置,第二初始位置可以指该视频播放区域的下边缘处的位置。因此第一移动方向可以是在视频播放区域的从上往下的直线方向,第二移动方向可以是在视频播放区域的从下往上的直线方向。第一初始位置还可以是视频播放区域的左下角的位置,第二初始位置还可以是视频播放区域的右下角的位置,第一移动方向可以是从视频播放区域的左下角到视频播放区域的中心位置处的抛物线方向,第二移动方向可以是从视频播放区域的右下角到视频播放区域的中心位置处的抛物线方向。
上述第一初始位置、第二初始位置、第一移动方向以及第二移动方向均可以根据实际应用场景任意进行设置,对此不作限制。终端设备在对第一弹幕集中的第一弹幕数据以及第二弹幕集中的第二弹幕数据进行显示时,均可以是按照各个弹幕数据的生成时间戳依次进行显示的。各个弹幕数据的移动速度可以是相同的,各个弹幕数据的移动速度还可以是不同的。
若上述目标场景是赛事直播场景,交互界面是该赛事直播场景下的赛事直播界面,该赛事直播场景包括两个参赛队伍,该两个参赛队伍分别为第一赛事队伍和第二赛事队伍,那么,第一弹幕集可以是针对该第一赛事队伍的弹幕集,第一弹幕集中的第一弹幕数据可以是支持该第一赛事队伍的用户所发送的弹幕数据(如弹幕数据),第二弹幕集中的第二弹幕数据则可以是支持该第二赛事队伍的用户所发送的弹幕数据(如弹幕数据)。因此,在赛事直播界面中,第一赛事队伍对应的第一弹幕集可以采用第一弹幕颜色进行显示,第二赛事队伍对应的第二弹幕集可以采用第二弹幕颜色进行显示。
作为示例,终端设备还可以按照周期节点(可以是预先设置的,例如每隔5分钟可以有一个周期节点)来获取第一赛事队伍的第一弹幕数据和第二赛事队伍的第二弹幕数据,并分别统计每个周期内获取到的第一赛事队伍的第一弹幕数据的数量和第二赛事队伍的第二弹幕数据的数量,进而对比第一弹幕数据的数量与第二弹幕数据的数量谁更多,并周期性地在对应周期节点所指示的时刻显示弹幕的对抗结果,对抗结果表示两队关注度的比拼输赢情况,弹幕数量较多的队伍具有的关注度更高,相当于在关注度比拼上取得胜利,该弹幕的对抗结果可以是第一赛事队伍评论胜利的结果(当第一弹幕数据的数量大于第二弹幕数据的 数量时)、第二赛事队伍评论胜利的结果(当第一弹幕数据的数量小于第二弹幕数据的数量时)或者第一赛事队伍和第二赛事队伍评论持平的结果(当第一弹幕数据的数量等于第二弹幕数据的数量时)。其中,还可以是由服务器按照周期节点获取第一赛事队伍的第一弹幕数据和第二赛事队伍的第二弹幕数据,进而将获取到的第一弹幕数据和第二弹幕数据发送给终端设备,对此不作限制。
例如,上述第一弹幕集中的N个第一弹幕数据和第二弹幕集中的M个第二弹幕数据均可以是周期节点对应的目标周期内获取到的弹幕数据,那么当N大于M时,可以在目标时刻在交互界面中显示针对第一赛事队伍的弹幕对抗胜利信息(等同于上述第一赛事队伍评论胜利的结果),目标时刻是目标周期对应的周期节点指示的时刻,表明在目标周期内第一弹幕数据的数量多于第二弹幕数据的数量;当M大于N时,可以目标时刻在交互界面中显示针对第二赛事队伍的弹幕对抗胜利信息(等同于上述第二赛事队伍评论胜利的结果),目标时刻是目标周期对应的周期节点指示的时刻,表明在目标周期内第一弹幕数据的数量少于第二弹幕数据的数量;当N等于M时,可以在目标时刻在交互界面中显示针对第一赛事队伍和第二赛事队伍的弹幕对抗持平信息(等同于上述第一赛事队伍和第二赛事队伍评论持平的结果),目标时刻是目标周期对应的周期节点指示的时刻,表明在目标周期内第一弹幕数据的数量等于第二弹幕数据的数量。通过比较两个赛事队伍的弹幕数据的数量以提示弹幕对抗结果,相当于是对弹幕数据的相关信息进行数量维度的呈现,从而提高用户针对弹幕信息的获取效率。
本申请实施例支持用户选择自己支持的赛事队伍,例如,终端设备可以显示包含第一赛事队伍和第二赛事队伍的赛事队伍选择列表(其中,交互界面中可以包括队伍选择按钮,终端设备可以根据用户针对该选择按钮的点击操作输出该赛事队伍选择列表),进而终端设备可以响应于针对赛事队伍选择列表中目标赛事队伍的选择操作,获取所选择的赛事队伍。上述赛事直播界面可以是终端设备中的视频客户端中的界面,该视频客户端中可以登录有用户的账号,用户在队伍选择列表中选择赛事队伍时,可以让用户消耗一定数量的金币才能选择成功,该金币可以是虚拟游戏币、虚拟硬币或者数字化的人民币等,该金币可以从视频客户端中所登录的用户的账号中扣除。
用户在终端设备的上述队伍选择列表中选择好赛事队伍后,还可以在交互界面或者其他评论界面(如独立显示于交互界面之上的悬浮窗类型的子界面)中录入弹幕数据,若用户所选择的赛事队伍(目标赛事队伍)是第一赛事队伍,则用户所录入的弹幕数据就可以作为第一弹幕集中的第一弹幕数据,若用户所选择的赛事队伍(目标赛事队伍)是第二赛事队伍,则用户所录入的弹幕数据就可以作为第二弹幕集中的第二弹幕数据。第一弹幕集和第二弹幕集中均可以包含一个或多个用户所评论的弹幕数据。通过本申请实施例可以选择赛事队伍从而将后续发表的弹幕数据作为对应所选赛事队伍的弹幕数据,相当于用户也可以感知到对抗,可以提升用户的参与度以及弹幕功能的多样性,从而提升人机交互效率。
请参见图4,图4是本申请实施例提供的一种队伍选择的界面示意图。界面100c、界面103c和界面105c均可以是不同时刻的交互界面。界面100c中包含弹窗101c,上述赛事直播场景可以包括主队和客队,如该主队可以是上述第一赛事队伍,该客队可以是上述第二赛事队伍。支持用户在界面100c的弹窗101c中选择自己支持的队伍,如可以选择主队或者选择客队,选择后即可在弹幕数据输入框102c中录入支持自己所选择的队伍的弹幕数据。
由于用户在选择自己支持的队伍时,可以扣除一定数量的虚拟资源,例如,金币、积分等等,因此,若用户在选择自己支持的队伍时,账号的余额中的金币数量不足时,可以显示到界面103c,界面103c中包括弹窗104c,该弹窗104c包含提示信息“金币不足,点击获取金币”,支持用户电机弹窗104c中的提示信息,跳转显示到界面105c,界面105c中就包括任务中心,该任务中心的列表中包括多个可以赚取或者领取金币的任务,用户可以选择自己喜欢的任务进行执行,进而赚取金币用以选择自己支持的队伍。
作为示例,若上述目标场景是话题互动场景,该话题互动场景包括第一话题观点和第二话题观点,则第一弹幕集可以是针对该第一话题观点的弹幕集,在第一弹幕集中可以包含选择支持第一话题观点的用户所评论的弹幕数据,第二弹幕集就可以是针对该第二话题观点的弹幕集,在第二弹幕集中可以包含选择支持第二话题观点的用户所评论的弹幕数据。
在一些实施例中,当N大于弹幕显示数量阈值时,步骤102中在交互界面中显示按照第一移动方向移动的第一弹幕集,可以通过以下技术方案实现:在交互界面中显示按照第一移动方向移动的所选第一弹幕数据;其中,所选第一弹幕数据是在第一排序结果中,排序靠前且符合弹幕显示数量阈值的第一弹幕数据,第一排序结果是按照N个第一弹幕数据的生成时间戳的先后顺序对N个第一弹幕数据进行排序的结果。
在一些实施例中,当M大于弹幕显示数量阈值时,步骤102中在交互界面中显示按照第二移动方向移动的第二弹幕集,可以通过以下技术方案实现:在交互界面中显示按照第二移动方向移动的所选第二弹幕数据;其中,所选第二弹幕数据是在第二排序结果中,排序靠前且符合弹幕显示数量阈值的第二弹幕数据,第二排序结果是按照M个第二弹幕数据的生成时间戳的先后顺序对M个第二弹幕数据进行排序的结果。
通过弹幕显示数量阈值来限制所显示的弹幕数据的数量,可以避免交互界面被弹幕过多地占用,影响目标场景的显示效果,可以保证目标场景的显示效果。
可以理解的是,第一弹幕集中可能包含大量的第一弹幕数据,在交互界面中难以在短时间内完整显示,因此,需要从该第一弹幕集所包含的N个第一弹幕数据中选取待显示的第一弹幕数据。具体的,终端设备可以获取弹幕显示数量阈值,该弹幕显示数量阈值可以根据实际应用场景进行设置,该弹幕显示数量阈值即为能够显示的第一弹幕数据的最大值或者能够显示的第二弹幕数据的最大值。
因此,可以将弹幕显示数量阈值记为P,P为整数,若N小于或等于该弹幕显示数量阈值,则在交互界面可以显示全部的N个第一弹幕数据,若N大于该弹幕显示数量阈值,则可以按照N个第一弹幕数据中的各个第一弹幕数据分别对应的生成时间戳的先后顺序,从该N个第一弹幕数据中选择待显示的P个第一弹幕数据,并可以在交互界面中按照第一移动方向移动显示该P个第一弹幕数据,如该P个第一弹幕数据可以是第一弹幕集中生成时间戳最早的P个第一弹幕数据,或者该P个第一弹幕数据还可以是从第一弹幕集中随机选择的P个第一弹幕数据。
同理,第二弹幕集中也可能包含大量的第二弹幕数据,在交互界面中难以在短时间内完整显示,因此,需要从该第二弹幕集所包含的M个第二弹幕数据中选取待显示的第二弹幕数据。同样,终端设备可以获取到上述弹幕显示数量阈值P。
因此,若M小于或等于该弹幕显示数量阈值,则在交互界面可以显示全部的M个第二弹幕数据,若M大于该弹幕显示数量阈值,则可以按照M个第二弹幕数据中的各个第二弹幕数据分别对应的生成时间戳的先后顺序,从该M个第二弹幕数据中选择待显示的P个第二弹幕数据,并可以在交互界面中按照第二移动方向移动显示该P个第二弹幕数据,如该P个第二弹幕数据可以是第二弹幕集中生成时间戳最早的P个第二弹幕数据,或者该P个第二弹幕数据还可以是从第二弹幕集中随机选择的P个第二弹幕数据。
作为示例,终端设备还可以按照分片时间节点来获取和汇聚弹幕数据,该分片时间节点的间隔可以根据实际应用场景决定,例如每间隔300毫秒可以有一个分片时间节点,因此,终端设备可以按照每300毫秒获取和汇聚一次弹幕数据,获取到的弹幕数据就包括上述N个第一弹幕数据和M个第二弹幕数据。换句话说,上述第一弹幕集合第二弹幕集可以某个300毫秒内获取到的弹幕数据,终端设备可以按照每300毫秒获取和汇聚一次弹幕数据,并按照每300毫秒在交互界面显示所获取和汇聚到的新的弹幕数据。
更多的,当第一弹幕集中的第一弹幕数据与第二弹幕集中的第二弹幕数据之间存在对抗触发事件时,触发与对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事件。可以将第一弹幕集中的任意一个第一弹幕数据表示为第一目标弹幕数据,将第二弹幕集中的任意一个第二弹幕数据表示为第二目标弹幕数据。当在交互界面对第一目标弹幕数据和第二目标弹幕数据按照不同方向进行显示的过程中(如从第一初始位置按照第一移动方向对第一弹幕数据进行移动显示,并从第二初始位置按照第二移动方向对第二弹幕数据进行移动显示的过程中),第一目标弹幕数据是任一个第一弹幕数据,第二目标弹幕数据是任一个第二弹幕数据,第一目标弹幕数据和第二目标弹幕数据在同一时刻处于交互界面中的相同显示位置时(可以理解为第一目标弹幕数据和第二目标弹幕数据相触碰了,如位于交互界面的同一水平线的同一位置),表征第一弹幕集中的第一弹幕数据与第二弹幕集中的第二弹幕数据之间存在对抗触发事件,触发与对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事件,例如,可以从交互界面中删除第一目标弹幕数据和第二目标弹幕数据,即可以理解为是对第一目标弹幕数据和第二目标弹幕数据进行抵消显示,即抵消后就不显示第一目标弹幕数据和第二目标弹幕数据,相当于在交互界面中隐藏第一目标弹幕数据和第二目标弹幕数据。当在交互界面对第一目标弹幕数据和第二目标弹幕数据按照不同方向进行显示的过程中,第一目标弹幕数据是任一个第一弹幕数据,第二目标弹幕数据是任一个第二弹幕数据,第一目标弹幕数据和第二目标弹幕数据在同一时刻处于交互界面中的相同显示位置时,表征第一弹幕集中的第一弹幕数据与第二弹幕集中的第二弹幕数据之间存在对抗触发事件,触发与对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事件,例如,可以在交互界面中展示第一目标弹幕数据和第二目标弹幕数据之间的对抗动画,该对抗动画可以是一种对抗特效,如该对抗特效可以是第一目标弹幕数据和第二目标弹幕数据之间的碰撞特效,该对抗动画的具体形式可以根据实际应用场景进行设置。当在交互界面对第一目标弹幕数据和第二目标弹幕数据按照不同方向进行显示的过程中,第一目标弹幕数据是任一个第一弹幕数据,第二目标弹幕数据是任一个第二弹幕数据,第一目标弹幕数据和第二目标弹幕数据在同一时刻处于交互界面中的相同显示位置时,表征第一弹幕集中的第一弹幕数据与第二弹幕集中的第二弹幕数据之间存在对抗触发事件,触发与对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事件,例如,在交互界面中展示第一目标弹幕数据和第二目标弹幕数据之间的对抗动画,并执行以下任意一种处理:在对抗动画的展示过程中,在交互界面中隐藏第一目标弹幕数据和第二目标弹幕数据;在对抗动画展示完成后,在交互界面中隐藏第一目标弹幕数据和第二目标弹幕数据;在对抗动画展示之前,在交互界面中隐藏第一目标弹幕数据和第二目标弹幕数据;通过抵消显示弹幕信息以及对抗动画,可以丰富弹幕数据的显示效果多样性以及提高显示资源利用率。
请参见图5,图5是本申请实施例提供的一种对抗显示弹幕数据的界面示意图。如图5所示,界面100d、界面103d和界面104d均可以是处于不同时刻的交互界面,目标场景可以是话题互动场景,该话题互动场 景下的话题可以是“这只鸟是什么”,该话题互动场景下的第一话题观点可以是“a、布谷鸟”,第二话题观点可以是“b、麻雀”。框101d中显示的是针对话题观点“a、布谷鸟”的弹幕数据,框102d中显示的是针对话题观点“b、麻雀”的弹幕数据。框101d中具体包括弹幕数据“这一看就是布谷鸟”和弹幕数据“布谷鸟”,框102d中具体包括弹幕数据“明明就是麻雀”和弹幕数据“麻雀麻雀”。
界面100d的左边缘处的位置可以是第一初始位置,界面100d的右边缘处的位置可以是第二初始位置,上述第一移动方向可以是在交互界面中的从左往右的方向,上述第二移动方向可以是在交互界面中的从右往左的方向,因此,可以将框101d中的弹幕数据从界面100d的左边缘的位置开始按照从左往右的方向进行移动显示,并可以将框102d中的弹幕数据从界面100d的右边缘的位置开始按照从右往左的方向进行移动显示。
进而如界面103d所示,当第一话题观点的弹幕数据“这一看就是布谷鸟”和第二话题观点的弹幕数据“明明就是麻雀”,以及第一话题观点的弹幕数据“布谷鸟”和第二话题观点的弹幕数据“麻雀麻雀”,显示到界面103d的同一显示位置进行触碰时,可以显示界面103d中的对抗动画,还可以在界面103d中删除对抗触发事件相关的弹幕数据“这一看就是布谷鸟”、弹幕数据“明明就是麻雀”、弹幕数据“布谷鸟”和弹幕数据“麻雀麻雀”,显示到界面104d,界面104d中即为删除弹幕数据“这一看就是布谷鸟”、弹幕数据“明明就是麻雀”、弹幕数据“布谷鸟”和弹幕数据“麻雀麻雀”后的界面。
本申请实施例可以显示目标场景的交互界面;在交互界面中按照第一移动方向移动显示第一弹幕集,并在交互界面中按照第二移动方向移动显示第二弹幕集;第一弹幕集包含N个第一弹幕数据;第二弹幕集包含M个第二弹幕数据;N和M为整数;第一移动方向和第二移动方向属于不同的移动方向。由此可见,本申请实施例提出的方法对弹幕数据进行了分类,如分类为第一弹幕数据和第二弹幕数据,进而可以在交互界面对第一弹幕数据和第二弹幕数据按照不同移动方向进行移动显示,丰富了弹幕数据的显示方式,提高了弹幕数据的显示趣味性。
请参见图6,图6是本申请实施例提供的一种数据录制点播的流程示意图。如图6所示,该方法可以包括步骤S201至步骤S205。
步骤S201,录制直播场景下的直播视频数据。
作为示例,本申请实施例中的执行主体也可以是终端设备,上述交互界面可以是直播界面,该直接界面可以在直播过程中显示直播视频画面,终端设备可以对直播场景下的直播视频数据进行录制,即可得到该直播场景下的直播视频数据。
步骤S202,根据第一弹幕集和第二弹幕集确定全量弹幕集;全量弹幕集中的弹幕数据包括N个第一弹幕数据和M个第二弹幕数据。
作为示例,终端设备可以通过第一弹幕集和第二弹幕集得到全量弹幕集,该全量弹幕集可以包括所有的第一弹幕数据和第二弹幕数据,可以理解的是,当上述第一弹幕集和第二弹幕集是按照分片时间节点进行获取和汇聚的,那么该全量弹幕集可以包括每个分片时间节点下获取和汇聚到的第一弹幕集和第二弹幕集。
步骤S203,基于至少一个分片时间节点对直播视频数据进行分片处理,得到K个分片时间段,K为大于1的整数。
步骤S204,根据全量弹幕集中的每个弹幕数据的生成时间戳,获取属于每个分片时间段的弹幕数据。
终端设备也可以按照分片时间节点对全量弹幕集中的弹幕数据进行分片存储,即一个分片时间节点存储录制一次弹幕数据。其中,获取第一弹幕集和第二弹幕集的分片时间节点可以与对全量弹幕集中的弹幕数据进行分片录制存储的分片时间节点不相同。例如,可以按照每1s(秒)为一个分片时间节点对全量弹幕集中的弹幕数据进行分片存储。
可以理解的是,由于全量弹幕集中的弹幕数据是在一个过程中获取到的,而不是同时获取到的,因此,在对全量弹幕集中的弹幕数据进行分片存储时,可以是在获取全量弹幕集的过程中实时对先获取到的弹幕数据进行分片存储,也可以是在获取到全量弹幕集后进行分片存储的。
终端设备可以根据全量弹幕集中各个弹幕数据的生成时间戳,对全量弹幕集中的弹幕数据进行分片存储,在对全量弹幕集中的弹幕数据进行分片存储后,即可得到各个分片时间节点对应的K个分片时间段分别对应的弹幕数据,一个分片时间节点可以对应一个分片时间段,如一个分片时间段可以是1s,一个分片时间段对应的弹幕数据可以是在该分片时间段对应的1s时间内获取生成的弹幕数据。K为正整数,K的具体取值根据实际应用场景决定,例如,若直播视频数据共有1000s,则K可以等于1000,即包含1000个1s的分片时间段。
步骤S205,将直播视频数据和K个分片时间段分别对应的弹幕数据确定为直播场景下的点播录制数据,并存储点播录制数据。
终端设备可以将直播视频数据和K个分片时间段分别对应的弹幕数据发送给作为直播场景下的点播录制数据,并可以存储该点播录制数据,终端设备可以将该点播录制数据发送给服务器进行存储,或者该 点播录制数据可以直接是由服务器进行录制的,则服务器可以直接存储所录制的该点播录制数据。
后续,当终端设备检测到针对上述直播视频数据的点播操作时,终端设备可以获取到上述所存储的点播录制数据,并从该点播录制数据中获取到上述直播视频数据和每个分片时间段的弹幕数据。
进而,终端设备可以在点播界面播放该直播视频数据,并按照时间先后顺序依次在点播界面所播放的直播视频数据上动态显示每个分片时间段的弹幕数据。
并且,可以采用在直播过程中对弹幕数据按照不同移动方向进行显示同样的策略,在点播界面中按照不同移动方向显示K个分片时间段分别对应的弹幕数据,在按照不同移动方向显示K个分片时间段分别对应的弹幕数据的过程中,可以显示按照第一移动方向进行移动的第一弹幕数据以及按照第二移动方向进行移动的第二弹幕数据,并且,若存在第一弹幕数据与第二弹幕数据显示到点播界面中的相同显示位置时,也可以删除显示到相同显示位置处的第一弹幕数据和第二弹幕数据并展示对抗动画。
此外,在对直播视频数据进行点播的过程中,还可以周期统计各个弹幕类型下的弹幕数据的数量,实现在点播界面也可以周期性地展示弹幕对抗结果(如展示上述针对第一赛事队伍的弹幕对抗胜利信息、针对第二赛事队伍的弹幕对抗胜利信息、或者上述第一赛事队伍和第二赛事队伍的弹幕对抗持平信息)。通过此种方式,可以使得直播过程的交互界面中的直播画面与点播过程的点播界面中的点播画面相同,实现在点播过程中,对直播过程中的直播视频数据以及弹幕数据的还原显示。
请参见图7,图7是本申请实施例提供的一种弹幕发送方法的流程示意图。如图7所示,该方法可以包括步骤S301至步骤S304。
步骤S301,显示目标场景的交互界面;目标场景包含第一队伍和第二队伍.
作为示例,本申请实施例与上述图3对应申请实施例中所描述的内容可以相互结合,本申请实施例中的执行主体也可以是终端设备。该第一队伍和第二队伍均可以指任意一种弹幕类型对应的队伍,该第一队伍和第二队伍属于不同的队伍,例如第一队伍可以是上述第一赛事队伍,第二队伍可以是上述第二赛事队伍,或者,第一队伍可以是上述话题互动场景中的第一话题观点对应的队伍,第二队伍可以是上述话题互动场景中的第二话题观点对应的队伍。目标场景中可以包含多种弹幕类型,该第一队伍和第二队伍可以是该多种弹幕类型中任意两种弹幕类型分别对应的队伍。其中,对目标场景和交互界面的具体描述可以参见上述图3对应实施例中的具体描述。
步骤S302,响应于针对第一队伍或者第二队伍的选择操作,将所选择的队伍确定为目标队伍。
作为示例,终端设备可以显示队伍选择列表(如上述赛事队伍选择列表),该队伍选择列表可以是交互界面中的,或者可以是独立现实与交互界面的子界面(如悬浮窗样式的界面)。该队伍选择列表中可以包含第一队伍和第二队伍,终端设备可以根据用户针对该队伍选择列表中的第一队伍或第二队伍的选择操作,将用户所选择的队伍作为目标队伍,该目标队伍可以是第一队伍,或者是第二队伍。
步骤S303,响应于弹幕数据录入操作,发送针对目标队伍的弹幕数据。
步骤S304,在交互界面中显示按照第一移动方向移动的第一队伍的弹幕数据,并在交互界面中显示按照第二移动方向移动的第二队伍的弹幕数据。
第一弹幕数据的弹幕类型不同于第二弹幕数据的弹幕类型,弹幕数据用于评论目标场景。
作为示例,终端设备可以在交互界面中获取到用户所录入的弹幕数据,并可以将所录入的弹幕数据作为针对目标队伍的弹幕数据,并可以在交互界面对所录入的弹幕数据进行发送,如发送到后台服务器进行弹幕数据的汇聚后,可以在交互界面中显示所录入的弹幕数据。
作为示例,终端设备可以在独立于交互界面的其他界面中获取到用户所录入的弹幕数据,并可以将所录入的弹幕数据作为针对目标队伍的弹幕数据,并可以在其他界面中对所录入的弹幕数据进行发送,如发送到后台服务器进行弹幕数据的汇聚后,可以在交互界面中显示所录入的弹幕数据。
在交互界面中可以按照第一移动方向移动显示第一队伍的弹幕数据,并可以按照第二移动方向显示第二队伍的弹幕数据。其中,目标队伍的弹幕数据除了可以包含上述用户所录入的弹幕数据之外,还可以包含其他用户在其他终端设备上所录入的针对目标队伍的弹幕数据。如第一队伍的弹幕数据可以包含上述第一弹幕集中的第一弹幕数据,第二队伍的弹幕数据可以包含上述第二弹幕集中的第二弹幕数据。其中,如何显示第一队伍的弹幕数据和第二队伍的弹幕数据的具体方式可以参见上述图3对应实施例中的具体描述。
采用本申请实施例所提供的方法,用户可以选择自己支持的队伍来发送弹幕数据,进而按照自己所支持的队伍对应的弹幕显示方向(如第一移动方向或者第二移动方向)来移动显示自己所录入的弹幕数据。
请参见图8,图8是本申请实施例提供的一种弹幕显示方法的流程示意图。如图8所示,该方法可以包括步骤S401至步骤S403。
步骤S401,显示目标场景的交互界面。
作为示例,本申请实施例中所描述的内容与上述图3对应实施例中所描述的内容以及图7对应实施例中所描述的内容可以相互结合,本申请实施例中的执行主体也可以是终端设备。其中,对目标场景以及交 互界面的具体描述可以参见上述图3对应实施例中的描述。
步骤S402,在交互界面中动态显示第一弹幕集和第二弹幕集。
第一弹幕集包含N个第一弹幕数据;第二弹幕集包含M个第二弹幕数据,第一弹幕数据和第二弹幕数据的弹幕类型不同,弹幕数据用于评论目标场景,N和M为正整数。
作为示例,在交互界面中动态显示第一弹幕集合第二弹幕集的方式可以包括上述:按照第一移动方向移动显示第一弹幕集中的第一弹幕数据,并按照第二移动方向移动显示第二弹幕集中的第二弹幕数据。
交互界面中还可以包括第一显示区域和第二显示区域,该第一显示区域和第二显示区域可以是交互界面中不相交的两个区域。因此,终端设备对第一弹幕集和第二弹幕集进行动态显示的方式还可以是:终端设备可以按照第一弹幕集中的N个第一弹幕数据的生成时间戳的先后顺序,在第一显示区域中依次叠加显示该N个第一弹幕数据,如从显示1个第一弹幕数据→显示2个第一弹幕数据→显示3个第一弹幕数据等等。同理,终端设备可以按照第二弹幕集中的M个第二弹幕数据的生成时间戳的先后顺序,在第二显示区域中依次叠加显示该M个第二弹幕数据,如从显示1个第二弹幕数据→显示2个第二弹幕数据→显示3个第二弹幕数据等等。
步骤S403,当第一弹幕集中的第一弹幕数据与第二弹幕集中的第二弹幕数据之间存在对抗触发事件时,触发与对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事件。
作为示例,该对抗触发事件可以指第一弹幕数据和第二弹幕数据在动态显示的过程中触发第一弹幕数据和第二弹幕数据之间的对抗展示事件(如对弹幕数据进行抵消显示或者显示对抗动画)的事件,换句话说,该对抗触发事件指示了第一弹幕数据和第二弹幕数据呈现出什么显示时可以触发对抗展示事件。因此,该对抗触发事件可以根据实际应用场景进行设置,下面仅为举例的几种对抗触发事件,但不限于下述几种对抗触发事件。
作为示例,可以将第一弹幕集中的任意一个第一弹幕数据表示为第一目标弹幕数据,将第二弹幕集中的任意一个第二弹幕数据表示为第二目标弹幕数据。当在交互界面对第一目标弹幕数据和第二目标弹幕数据进行动态显示的过程中(如从第一初始位置按照第一移动方向对第一弹幕数据进行移动显示,并从第二初始位置按照第二移动方向对第二弹幕数据进行移动显示的过程中),第一目标弹幕数据和第二目标弹幕数据在同一时刻处于交互界面中的相同显示位置时(可以理解为第一目标弹幕数据和第二目标弹幕数据相触碰了,如位于交互界面的同一水平线的同一位置),就可以认为第一目标弹幕数据和第二目标弹幕数据之间产生对抗触发事件,上述对抗展示事件可以展示对抗动画,因此,此时就可以在交互界面中显示对抗动画,该对抗动画可以是一种对抗特效,该对抗特效可以是第一目标弹幕数据和第二目标弹幕数据之间的碰撞特效,该对抗动画的具体形式也可以根据实际应用场景进行设置。或者,该对抗展示事件也可以是抵消展示事件,因此,此时可以在交互界面中删除所显示的第一目标弹幕数据和第二目标弹幕数据,即对第一目标弹幕数据和第二目标弹幕数据进行抵消展示。
作为示例,交互界面中的上述第一显示区域以及第二显示区域中所能够显示的弹幕数据的最大数量可以是L,L为正整数,L的具体可以根据实际应用场景决定,例如L可以等于10。其中,在第一显示区域中叠加显示第一弹幕数据的速度可以与在第二显示区域中叠加显示第二弹幕数据的速度相同,换句话说,在同一时刻,第一显示区域中所显示的第一弹幕数据的数量可以与第二显示区域中显示的第二弹幕数据的数量相同,因此,当在第一显示区域中依次叠加显示第一弹幕数据并在第二显示区域中依次叠加显示第二弹幕数据的过程中,第一显示区域中显示了L个第一弹幕数据,第二显示区域中显示了L个第二弹幕数据时,确定L个第一弹幕数据和L个第二弹幕数据之间产生了对抗触发事件,
对抗展示事件可以包括,在交互界面展示对抗动画(如对抗特效),以及删除与对抗触发事件相关的第一弹幕数据和第二弹幕数据,因此,可以在交互界面中显示上述对抗特效,此时的对抗特效可以是该L个第一弹幕数据和L个第二弹幕数据之间的抵消特效。
终端设备还可以将与对抗触发事件相关的第一弹幕数据和第二弹幕数据从交互界面中进行删除,因此,上述对抗动画可以是需要删除的第一弹幕数据和第二弹幕数据之间的抵消特效。例如,与对抗触发事件相关的第一弹幕数据和第二弹幕数据可以包括上述第一目标弹幕数据和第二目标弹幕数据;或者,与对抗触发事件相关的第一弹幕数据还可以包括上述L个第一弹幕数据和L个第二弹幕数据。
对与对抗触发事件相关的第一弹幕数据和第二弹幕数据进行删除的时机可以包括:可以在对抗动画的展示过程中,将与对抗触发事件相关的第一弹幕数据和第二弹幕数据从交互界面中进行删除;或者,可以在对抗动画展示完成后,将与对抗触发事件相关的第一弹幕数据和第二弹幕数据从交互界面中进行删除;或者,可以在对抗动画展示之前,将与对抗触发事件相关的第一弹幕数据和第二弹幕数据从交互界面中进行删除。
请参见图9,图9是本申请实施例提供的一种对抗显示弹幕数据的界面示意图。界面100e、界面101e和界面102e均为不同时刻的交互界面,目标场景可以是赛事直播场景(如游戏赛事的直播场景),小天可以代表该赛事直播场景的第一赛事队伍,狼人可以代表该赛事直播场景的第二赛事队伍。界面100e包 含第一显示区域和第二显示区域,第一显示区域中可以显示支持小天的弹幕数据(如第一弹幕数据),第二显示区域中可以显示支持狼人的弹幕数据(如第二弹幕数据)。在第一显示区域中可以依次叠加显示N个第一弹幕数据,如首先可以在第一显示区域中显示第一弹幕数据“小天加油”在第二显示区域中同步显示第二弹幕数据“狼人威武”,接着,可以在第一弹幕数据“小天加油”的下方继续显示第一弹幕数据“小天必胜”,并在第二弹幕数据“狼人威武”的下方同步显示第二弹幕数据“狼人雄壮”,再接着,可以在第一弹幕数据“小天必胜”的下方继续显示第一弹幕数据“加油加油加油!”,并在第二弹幕数据“狼人雄壮”的下方同步显示第二弹幕数据“狼人必胜”,即可显示得到界面100e。
假设上述L等于3,则当显示到界面100e时,第一显示区域和第二显示区域中所显示的弹幕数据的数量已经达到最大值,那么表明此时第一显示区域中的3个第一弹幕数据(包括第一弹幕数据“小天加油”、第一弹幕数据“小天必胜”和第一弹幕数据“加油加油加油!”)和第二显示区域中的3个第二弹幕数据(包括第二弹幕数据“狼人威武”、第二弹幕数据“狼人雄壮”和第二弹幕数据“狼人必胜”)之间产生对抗触发事件,可以显示到界面101e,并显示界面101e中的对抗动画,进而可以在界面101e中删除与对抗触发事件相关的弹幕数据,即删除此时在第一显示区域中所显示的3个第一弹幕数据以及在第二显示区域中所显示的3个第二弹幕数据,进而显示到界面102e,在界面102e中即删除了该3个第一弹幕数据和该3个第二弹幕数据后,重新在第一显示区域中显示了上述第一弹幕数据“加油加油加油!”的后一个第一弹幕数据“小天最帅气”,并重新在第二显示区域中显示了上述第二弹幕数据“狼人必胜”的后一个第二弹幕数据“狼人狼人狼人”。
再请参见图10a-10b,图10a-10b是本申请实施例提供的一种显示弹幕对抗信息的场景示意图。如图10a所示,当在某个周期节点对应的周期内,支持小天的弹幕数据的数量有100条,支持狼人的弹幕数据的数量有50条,则在该周期节点对应的时刻可以显示针对小天的弹幕对抗胜利信息,该弹幕对抗胜利信息包括提示信息“小天100:50狼人,小天胜利!”。
如图10b所示,当在某个周期节点对应的周期内,支持小天的弹幕数据的数量有50条,支持狼人的弹幕数据的数量有130条,则在该周期节点对应的时刻可以显示针对狼人的弹幕对抗胜利信息,该弹幕对抗胜利信息包括提示信息“小天50:130狼人,狼人胜利!”。
如图10c所示,当在某个周期节点对应的周期内,支持小天的弹幕数据的数量有100条,支持狼人的弹幕数据的数量有100条,则在该周期节点对应的时刻可以显示针对小天和狼人的弹幕对抗持平信息,该弹幕对抗持平信息包括提示信息“小天100:100狼人,持平!”。
采用本申请实施例所提供的方法,对目标场景下的弹幕数据进行分类,分类为多种弹幕类型下的弹幕数据,进而在对该多种弹幕类型的弹幕数据进行动态显示的过程中,可以触发对该多种弹幕类型下的弹幕数据之间的对抗显示(如相互抵消对抗显示,可以通过上述对抗动画以及删除与对抗触发事件相关的弹幕数据体现),以增强用户之间的互动趣味性,养成良好的互动氛围,增加用户的观看时长并提高商业收益(如选择支持的弹幕类型进行评论时,需要扣除一定数量的金币)。
本申请实施例可以显示目标场景的交互界面;在交互界面中动态显示第一弹幕集和第二弹幕集;第一弹幕集包含N个第一弹幕数据;第二弹幕集包含M个第二弹幕数据;N和M为整数;当第一弹幕集中的第一弹幕数据与第二弹幕集中的第二弹幕数据之间存在对抗触发事件时,触发与对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事件。由此可见,本申请实施例提出的方法可以在交互界面对第一弹幕数据和第二弹幕数据进行动态显示,在动态显示的过程中,若第一弹幕数据和第二弹幕数据之间存在对抗触发事件,还可以触发与该对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事件(如抵消显示或者显示对抗动画的事件),因此,丰富了对第一弹幕数据与第二弹幕数据进行展示的方式,提高了弹幕数据间的互动趣味性。
请参见图11,图11是本申请实施例提供的一种显示弹幕数据的流程示意图,包括步骤是s11至步骤s15。
步骤s11,接收针对赛事直播中多个队伍的选择操作以及针对弹幕数据的发送操作。
作为示例,用户在观看赛事直播并选择了支持的队伍发送支持弹幕,用户在观看赛事直播时可以选择该赛事直播中的多个队伍的任意一个支持的队伍,并发送针对所支持的队伍的弹幕数据。
步骤s12,将针对所选队伍的弹幕数据发送到对抗汇聚服务。
作为示例,该对抗汇聚服务可以是后台服务器提供的,可以将各个用户所发送的针对所支持的队伍的弹幕数据发送给后台服务进行汇聚,即进行弹幕数据的分类,如按照不同队伍进行分类。
步骤s13,若汇聚了300毫秒,则将两个队300毫秒切片的弹幕下发到观看的客户端。
若后台服务器对300毫秒内的弹幕数据汇聚完成,则可以将所汇聚的两个队(即包括主队和客队,如上述第一赛事队伍和第二赛事队伍)在该300毫秒内的弹幕数据发送到进行观看的客户端。
步骤s14,客户端在收到两个队的支持弹幕后进行弹幕对抗效果展示。
客户端在接收到后台服务器所发送的汇聚的两个队在300毫秒内的弹幕数据后,即可在客户端界面(如 上述交互界面)对获取到的弹幕数据进行对抗效果展示,展示的方式可以参见上述图3对应实施例中的描述,如对抗效果展示的方式可以为对产生对抗触发事件的第一弹幕数据和第二弹幕数据进行抵消对抗显示。
步骤s15,统计两个队弹幕条数情况,周期性展示对抗结果。
客户端还可以周期性地统计两个队的弹幕数据的条数(即数量),并周期性地展示对抗结果,对抗结果表示两队关注度的比拼输赢情况,弹幕数量较多的队伍具有的关注度更高,相当于在关注度比拼上取得胜利,如该对抗结果可以通过上述针对第一赛事队伍的弹幕对抗胜利信息、针对第二赛事队伍的弹幕对抗胜利信息或者针对第一赛事队伍和第二赛事队伍的弹幕对抗持平信息体现。
上述目标场景可以是直播场景,上述过程描述了对该直播场景下的弹幕数据进行展示的过程,下面描述对上述直播场景中的视频数据以及弹幕数据进行录制转存后续实现点播的过程进行说明,请参见下述对图12对应实施例中的描述。
请参见图12,图12是本申请实施例提供的一种数据录制的流程示意图,包括步骤21至步骤26。
步骤s21,接收针对赛事直播中多个队伍的选择操作以及针对弹幕数据的发送操作。
作为示例,用户在观看赛事直播并选择了支持的队伍发送支持弹幕,用户在观看赛事直播时可以选择该赛事直播中的多个队伍的任意一个支持的队伍,并发送针对所支持的队伍的弹幕数据。
步骤s22,将针对所选队伍的弹幕数据发送到特效汇聚服务。
作为示例,该对抗汇聚服务可以是后台服务器提供的,可以将各个用户所发送的针对所支持的队伍的弹幕数据发送给后台服务进行汇聚,即进行弹幕数据的分类,如按照不同队伍进行分类。
步骤s23,若汇聚了1秒,则将这1秒的弹幕按照两个队分类聚合并存储到数据库,例如,键值存储。
作为示例,若后台服务器对1s内的弹幕数据汇聚完成,则可以将所汇聚的两个队(即包括主队和客队,如上述第一赛事队伍和第二赛事队伍)在该1s内的弹幕数据进行分类聚合,分类聚合表征针对主队的弹幕数据进行聚合,以及针对客队的弹幕数据进行聚合,并存储到数据库,例如,键值存储(一种分布式存储数据库)。
步骤s24,将这1秒的弹幕数据的关键key发送到转码模块。
作为示例,后台服务器可以将该1秒的弹幕数据的关键key发送到转码模块,该转码模块可以是在另外的服务器中的。该关键key可以指该1秒对应的分片时间节点所指示的时间戳。关键key与kv存储的弹幕数据是相互对应的。
步骤s25,转码模块将该关键key通过SEI信息写入到直播流中。
作为示例,转码模块可以将获取到的关键key通过SEI信息(一种补充增强信息)写入到直播流中,该直播流可以是直播时的数据流。
步骤s26,点播录制将直播的SEI信息写入视频内容里。
作为示例,在进行点播录制时,可以将直播时的SEI信息写入(即录制)到视频内容里,即写入到直播视频数据中,与直播视频数据进行关联存储。
请参见图13,图13是本申请实施例提供的一种数据点播的流程示意图,包括步骤s31至步骤s36。
步骤s31,用户账号登录客户端观看点播视频。
用户可以在终端设备的客户端中点播视频,可以在视频直播间中点播视频,如点播直播场景下所录制的直播视频数据以及相关的弹幕数据。
步骤s32,用户后台异步加载相关弹幕对抗特效素材材料。
用户的终端设备中的客户端在后台异步加载相关的弹幕对抗特效素材材料,该弹幕对抗特效素材材料可以是上述用于显示上述对抗动画的素材材料。
步骤s33,客户端播放器播放点播视频并读取视频中的弹幕特效SEI信息。
终端设备中的客户端播放器可以点播视频并读取视频中的弹幕特效SEI信息,该SEI信息是在上述图12对应实施例中进行存储的。
步骤s34,通过关键key查询直播后台得到当前视频时刻的两个队的对抗弹幕数据。
作为示例,终端设备可以请求服务器通过SEI信息中的关键key可以对应查询进行kv存储的当前视频时刻的两个队的弹幕数据,服务器可以将查询到弹幕数据发送给客户端。
步骤s35,客户端收到两个队的支持弹幕后进行弹幕对抗效果展示。
作为示例,客户端在收到两个队的弹幕数据后,可以与直播过程中进行弹幕数据的对抗显示同样的方式,也进行弹幕数据的对抗显示。
步骤s36,统计两个队弹幕条数情况,周期性展示对抗情况。
作为示例,客户端还可以与直播过程中周期展示弹幕对抗情况同样的方式,再次周期性统计两个队弹幕条数(即数量),并周期性的展示对抗情况,如该对抗情况可以通过上述针对第一赛事队伍的弹幕对抗胜利信息、针对第二赛事队伍的弹幕对抗胜利信息或者针对第一赛事队伍和第二赛事队伍的弹幕对抗持平 信息体现。
请参见图14,图14是本申请实施例提供的一种弹幕显示装置的结构示意图。该弹幕显示装置可以是运行于计算机设备中的一个计算机程序(包括程序代码),例如该弹幕显示装置为一个应用软件,该弹幕显示装置可以用于执行本申请实施例提供的方法中的相应步骤。如图14所示,该弹幕显示装置1可以包括:第一显示模块11和第二显示模块12。
第一显示模块11,配置为显示目标场景的交互界面;
第二显示模块12,配置为在交互界面中显示按照第一移动方向移动的第一弹幕集,并在交互界面中显示按照第二移动方向移动的第二弹幕集;其中,第一弹幕集包含N个第一弹幕数据;第二弹幕集包含M个第二弹幕数据;N和M为正整数;第一移动方向和第二移动方向属于不同的移动方向。
在一些实施例中,上述装置1还配置为:当第一目标弹幕数据和第二目标弹幕数据在同一时刻处于交互界面中的相同显示位置时,在交互界面中隐藏第一目标弹幕数据和第二目标弹幕数据;其中,第一目标弹幕数据是任一个第一弹幕数据,第二目标弹幕数据是任一个第二弹幕数据。
在一些实施例中,上述装置1还配置为:当第一目标弹幕数据和第二目标弹幕数据在同一时刻处于交互界面中的相同显示位置时,在交互界面中展示第一目标弹幕数据和第二目标弹幕数据之间的对抗动画;其中,第一目标弹幕数据是任一个第一弹幕数据,第二目标弹幕数据是任一个第二弹幕数据。
在一些实施例中,目标场景为赛事直播场景;交互界面是赛事直播场景下的赛事直播界面;赛事直播场景包括第一赛事队伍和第二赛事队伍;第一弹幕集为针对第一赛事队伍的弹幕集;第二弹幕集为针对第二赛事队伍的弹幕集。
在一些实施例中,N个第一弹幕数据和M个第二弹幕数据均为周期节点对应的目标周期内获取到的弹幕数据;
上述装置1还配置为:
当N大于M时,在周期节点指示的时刻,在交互界面中显示针对第一赛事队伍的弹幕对抗胜利信息;
当N小于M时,在周期节点指示的时刻,在交互界面中显示针对第二赛事队伍的弹幕对抗胜利信息;
当N等于M时,在周期节点指示的时刻,在交互界面中显示针对第一赛事队伍和第二赛事队伍的弹幕对抗持平信息。
在一些实施例中,上述装置1还配置为:在交互界面中显示按照第一移动方向移动的第一弹幕集,并在交互界面中显示按照第二移动方向移动的第二弹幕集之前,
显示包含第一赛事队伍和第二赛事队伍的赛事队伍选择列表;
响应于针对赛事队伍选择列表中目标赛事队伍的选择操作,获取所选择的赛事队伍;
当目标赛事队伍为第一赛事队伍,将所录入的弹幕数据作为第一弹幕集中的第一弹幕数据;
当目标赛事队伍为第二赛事队伍,将所录入的弹幕数据作为第二弹幕集中的第二弹幕数据。
在一些实施例中,目标场景是话题互动场景;话题互动场景包括第一话题观点和第二话题观点;第一弹幕集为针对第一话题观点的弹幕集;第二弹幕集为针对第二话题观点的弹幕集。
在一些实施例中,当N大于弹幕显示数量阈值时,第二显示模块12还配置为:
在交互界面中显示按照第一移动方向移动的所选第一弹幕数据;
其中,所选第一弹幕数据是在第一排序结果中,排序靠前且符合弹幕显示数量阈值的第一弹幕数据,第一排序结果是按照N个第一弹幕数据的生成时间戳的先后顺序对N个第一弹幕数据进行排序的结果。
在一些实施例中,当M大于弹幕显示数量阈值时,第二显示模块12还配置为:
在交互界面中显示按照第二移动方向移动的所选第二弹幕数据;
其中,所选第二弹幕数据是在第二排序结果中,排序靠前且符合弹幕显示数量阈值的第二弹幕数据,第二排序结果是按照M个第二弹幕数据的生成时间戳的先后顺序对M个第二弹幕数据进行排序的结果。
在一些实施例中,目标场景包括直播场景;上述装置1还配置为:
录制直播场景下的直播视频数据;
根据第一弹幕集和第二弹幕集确定全量弹幕集;全量弹幕集中的弹幕数据包括N个第一弹幕数据和M个第二弹幕数据;
基于至少一个分片时间节点对直播视频数据进行分片处理,得到K个分片时间段,K为大于1的整数;
根据全量弹幕集中的每个弹幕数据的生成时间戳,获取属于每个分片时间段的弹幕数据;
将直播视频数据和每个分片时间段的弹幕数据确定为直播场景下的点播录制数据,并存储点播录制数据。
在一些实施例中,上述装置1还配置为:
当检测到针对直播视频数据的点播操作时,获取所存储的点播录制数据;
根据获取到的点播录制数据,在点播界面中播放直播视频数据,并按照时间先后顺序依次在点播界面中动态显示每个分片时间段的弹幕数据;
在点播界面动态显示每个K个分片时间段的弹幕数据的过程中,显示按照第一移动方向进行移动的第一弹幕数据以及按照第二移动方向进行移动的第二弹幕数据。
根据本申请实施例,图3所示的弹幕显示方法所涉及的步骤可由图12所示的弹幕显示装置1中的各个模块来执行。例如,图3中所示的步骤S101可由图14中的第一显示模块11来执行,图3中所示的步骤S102可由图14中的第二显示模块12来执行。
本申请实施例可以显示目标场景的交互界面;在交互界面中按照第一移动方向移动显示第一弹幕集,并在交互界面中按照第二移动方向移动显示第二弹幕集;第一弹幕集包含N个第一弹幕数据;第二弹幕集包含M个第二弹幕数据;N和M为整数;第一移动方向和第二移动方向属于不同的移动方向。由此可见,本申请实施例提出的装置对弹幕数据进行了分类,如对第一弹幕数据和第二弹幕数据进行分类,进而可以在交互界面对第一弹幕数据和第二弹幕数据按照不同移动方向进行移动显示,丰富了弹幕数据的显示方式,提高了弹幕数据的显示趣味性。
根据本申请实施例,图14所示的弹幕显示装置1中的各个模块可以分别或全部合并为一个或一个或多个个单元来构成,或者其中的某个(些)单元还可以再拆分为功能上更小的多个子单元,可以实现同样的操作,而不影响本申请实施例的技术效果的实现。上述模块是基于逻辑功能划分的,在实际应用中,一个模块的功能也可以由多个单元来实现,或者多个模块的功能由一个单元实现。在本申请它实施例中,弹幕显示装置1也可以包括其它单元,在实际应用中,这些功能也可以由其它单元协助实现,并且可以由多个单元协作实现。
根据本申请实施例,可以通过在包括中央处理单元(CPU)、随机存取存储介质(RAM)、只读存储介质(ROM)等处理元件和存储元件的例如计算机的通用计算机设备上运行能够执行如图3中所示的相应方法所涉及的各步骤的计算机程序(包括程序代码),来构造如图14中所示的弹幕显示装置1,以及来实现本申请实施例的弹幕显示方法。上述计算机程序可以记载于例如计算机可读记录介质上,并通过计算机可读记录介质装载于上述计算设备中,并在其中运行。
请参见图15,图15是本申请实施例提供的一种弹幕发送装置的结构示意图。该弹幕显示装置可以是运行于计算机设备中的一个计算机程序(包括程序代码),例如该弹幕发送装置为一个应用软件,该弹幕发送装置可以用于执行本申请实施例提供的方法中的相应步骤。如图15所示,该弹幕发送装置2可以包括:界面显示模块21、队伍选择模块22和弹幕发送模块23。
界面显示模块21,配置为显示目标场景的交互界面;目标场景包含第一队伍和第二队伍;
队伍选择模块22,配置为响应于针对第一队伍或者第二队伍的选择操作,将所选择的队伍确定为目标队伍;
弹幕发送模块23,配置为响应于弹幕数据录入操作,发送针对目标队伍的弹幕数据;在交互界面中显示按照第一移动方向移动的第一队伍的弹幕数据,并在交互界面中显示按照第二移动方向移动的第二队伍的弹幕数据。
在一些实施例中,队伍选择模块22还配置为:
显示队伍选择列表;队伍选择列表包含第一队伍和第二队伍;
响应于针对队伍选择列表中的第一队伍或第二队伍的选择操作,将所选择的队伍作为目标队伍。
在一些实施例中,弹幕发送模块23还配置为:
获取在交互界面中所录入的弹幕数据,并将所录入的弹幕数据作为针对目标队伍的弹幕数据进行发送。
根据本申请实施例,图7所示的弹幕发送方法所涉及的步骤可由图15所示的弹幕发送装置2中的各个模块来执行。例如,图7中所示的步骤S301可由图15中的界面显示模块21来执行,图7中所示的步骤S302可由图15中的队伍选择模块22来执行;图7中所示的步骤S303可由图15中的弹幕发送模块23来执行。
采用本申请实施例所提供的装置,支持用户可以选择自己支持的队伍来发送弹幕数据,进而支持用户按照自己所支持的队伍对应的弹幕显示方向(如第一移动方向或者第二移动方向)来移动显示自己所录入的弹幕数据。
根据本申请实施例,图15所示的弹幕发送装置2中的各个模块可以分别或全部合并为一个或一个或多个个单元来构成,或者其中的某个(些)单元还可以再拆分为功能上更小的多个子单元,可以实现同样的操作,而不影响本申请实施例的技术效果的实现。上述模块是基于逻辑功能划分的,在实际应用中,一个模块的功能也可以由多个单元来实现,或者多个模块的功能由一个单元实现。在本申请实施例中,弹幕发送装置1也可以包括其它单元,在实际应用中,这些功能也可以由其它单元协助实现,并且可以由多个单元协作实现。
根据本申请实施例,可以通过在包括中央处理单元(CPU)、随机存取存储介质(RAM)、只读存储介质(ROM)等处理元件和存储元件的例如计算机的通用计算机设备上运行能够执行如图7中所示的相应 方法所涉及的各步骤的计算机程序(包括程序代码),来构造如图15中所示的弹幕发送装置2,以及来实现本申请实施例的弹幕发送方法。上述计算机程序可以记载于例如计算机可读记录介质上,并通过计算机可读记录介质装载于上述计算设备中,并在其中运行。
请参见图16,图16是本申请实施例提供的一种弹幕显示装置的结构示意图。该弹幕显示装置可以是运行于计算机设备中的一个计算机程序(包括程序代码),例如该弹幕显示装置为一个应用软件,该弹幕显示装置可以用于执行本申请实施例提供的方法中的相应步骤。如图16所示,该弹幕显示装置3可以包括:
交互界面显示模块31,配置为显示目标场景的交互界面;
动态显示模块32,配置为在交互界面中动态显示第一弹幕集和第二弹幕集;第一弹幕集包含N个第一弹幕数据;第二弹幕集包含M个第二弹幕数据,第一弹幕数据和第二弹幕数据的弹幕类型不同,N和M为正整数;
事件触发模块33,配置为当第一弹幕集中的第一弹幕数据与第二弹幕集中的第二弹幕数据之间存在对抗触发事件时,触发与对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事件。
在一些实施例中,交互界面中包含第一显示区域和第二显示区域,动态显示模块32还配置为:
按照N个第一弹幕数据的生成时间戳的先后顺序,在第一显示区域依次叠加显示N个第一弹幕数据,以及;
按照M个第二弹幕数据的生成时间戳的先后顺序,在第二显示区域依次叠加显示M个第二弹幕数据。
在一些实施例中,事件触发模块33,还配置为当第一显示区域中显示有L个第一弹幕数据,且第二显示区域中显示有L个第二弹幕数据时,确定L个第一弹幕数据和L个第二弹幕数据之间产生对抗触发事件;
其中,L为正整数,L为在第一显示区域或第二显示区域中能够显示的弹幕数据的最大数量。
在一些实施例中,对抗展示事件包括:在交互界面展示对抗动画,以及删除与对抗触发事件相关的第一弹幕数据和第二弹幕数据,相当于是在交互界面隐藏与对抗触发事件相关的第一弹幕数据和第二弹幕数据。
在一些实施例中,上述装置1在交互界面展示对抗动画,以及删除与对抗触发事件相关的第一弹幕数据和第二弹幕数据的方式,包括:
执行以下任意一种处理:
在对抗动画的展示过程中,将与对抗触发事件相关的第一弹幕数据和第二弹幕数据从交互界面中进行删除(相当于在对抗动画的展示过程中,在交互界面中隐藏与对抗触发事件相关的第一弹幕数据和第二弹幕数据);
在对抗动画展示完成后,将与对抗触发事件相关的第一弹幕数据和第二弹幕数据从交互界面中进行删除(相当于在对抗动画展示完成后,在交互界面中隐藏与对抗触发事件相关的第一弹幕数据和第二弹幕数据);
在对抗动画展示之前,将与对抗触发事件相关的第一弹幕数据和第二弹幕数据从交互界面中进行删除(相当于在对抗动画展示之前,在交互界面中隐藏与对抗触发事件相关的第一弹幕数据和第二弹幕数据)。
根据本申请实施例,图8所示的弹幕显示方法所涉及的步骤可由图16所示的弹幕显示装置3中的各个模块来执行。例如,图8中所示的步骤S401可由图16中的交互界面显示模块31来执行,图8中所示的步骤S402可由图16中的动态显示模块32来执行;图8中所示的步骤S403可由图16中的事件触发模块33来执行。
本申请实施例可以显示目标场景的交互界面;在交互界面中动态显示第一弹幕集和第二弹幕集;第一弹幕集包含N个第一弹幕数据;第二弹幕集包含M个第二弹幕数据;N和M为整数;当第一弹幕集中的第一弹幕数据与第二弹幕集中的第二弹幕数据之间存在对抗触发事件时,触发与对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事件。由此可见,本申请实施例提出的方法可以在交互界面对第一弹幕数据和第二弹幕数据进行动态显示,在动态显示的过程中,若第一弹幕数据和第二弹幕数据之间存在对抗触发事件,还可以触发与该对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事件(如抵消显示或者显示对抗动画的事件),因此,丰富了对第一弹幕数据与第二弹幕数据进行展示的方式,提高了弹幕数据间的互动趣味性。
根据本申请实施例,图16所示的弹幕显示装置3中的各个模块可以分别或全部合并为一个或一个或多个个单元来构成,或者其中的某个(些)单元还可以再拆分为功能上更小的多个子单元,可以实现同样的操作,而不影响本申请实施例的技术效果的实现。上述模块是基于逻辑功能划分的,在实际应用中,一个模块的功能也可以由多个单元来实现,或者多个模块的功能由一个单元实现。在本申请的其它实施例中,弹幕显示装置3也可以包括其它单元,在实际应用中,这些功能也可以由其它单元协助实现,并且可以由多个单元协作实现。
根据本申请实施例,可以通过在包括中央处理单元(CPU)、随机存取存储介质(RAM)、只读存储 介质(ROM)等处理元件和存储元件的例如计算机的通用计算机设备上运行能够执行如图3中所示的相应方法所涉及的各步骤的计算机程序(包括程序代码),来构造如图16中所示的弹幕显示装置3,以及来实现本申请实施例的弹幕显示方法。上述计算机程序可以记载于例如计算机可读记录介质上,并通过计算机可读记录介质装载于上述计算设备中,并在其中运行。
请参见图17,图17是本申请实施例提供的一种计算机设备的结构示意图。如图13所示,计算机设备1000可以包括:处理器1001,网络接口1004和存储器1005,此外,计算机设备1000还可以包括:用户接口1003,和至少一个通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。其中,用户接口1003可以包括显示屏(Display)、键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004作为示例可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1005作为示例还可以是至少一个位于远离前述处理器1001的存储装置。如图17所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及设备控制应用程序。
在图17所示的计算机设备1000中,网络接口1004可提供网络通讯功能;而用户接口1003主要用于为用户提供输入的接口;而处理器1001可以用于调用存储器1005中存储的设备控制应用程序,以实现:
显示目标场景的交互界面;
在交互界面中按照第一移动方向移动显示第一弹幕集,并在交互界面中按照第二移动方向移动显示第二弹幕集;第一弹幕集包含N个第一弹幕数据;第二弹幕集包含M个第二弹幕数据;N和M为整数;第一移动方向和第二移动方向属于不同的移动方向。
在一种可行的实施方式中,处理器1001还可以用于调用存储器1005中存储的设备控制应用程序,以实现:
显示目标场景的交互界面;目标场景包含第一队伍和第二队伍;
根据队伍选择操作在第一队伍和第二队伍中选择目标队伍;
在交互界面中发送针对目标队伍的弹幕数据;
其中,第一队伍的弹幕数据在交互界面中按照第一移动方向进行移动显示,第二队伍的弹幕数据在交互界面中按照第二移动方向进行移动显示。
在一种可行的实施方式中,处理器1001还可以用于调用存储器1005中存储的设备控制应用程序,以实现:
显示目标场景的交互界面;
在交互界面中动态显示第一弹幕集和第二弹幕集;第一弹幕集包含N个第一弹幕数据;第二弹幕集包含M个第二弹幕数据;N和M为整数;
当第一弹幕集中的第一弹幕数据与第二弹幕集中的第二弹幕数据之间存在对抗触发事件时,触发与对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事件。
应当理解,本申请实施例中所描述的计算机设备1000可执行前文图3对应实施例中对上述弹幕显示方法、图7对应实施例中对上述弹幕发送方法以及图8对应实施例中对上述弹幕显示方法的描述,也可执行前文图14所对应实施例中对上述弹幕显示装置1、图15所对应实施例中对上述弹幕发送装置2以及图16所对应实施例中对上述弹幕显示装置3的描述,在此不再赘述。另外,对采用相同方法的有益效果描述,也不再进行赘述。
此外,这里需要指出的是:本申请还提供了一种计算机可读存储介质,且计算机可读存储介质中存储有前文提及的弹幕显示装置1、弹幕发送装置2和弹幕显示装置3所执行的计算机程序,且计算机程序包括程序指令,当处理器执行程序指令时,能够执行前文图3所对应实施例中对弹幕显示方法、图7对应实施例中对弹幕发送方法以及图8对应实施例中对弹幕显示方法的描述,因此,这里将不再进行赘述。另外,对采用相同方法的有益效果描述,也不再进行赘述。对于本申请实施例所涉及的计算机存储介质实施例中未披露的技术细节,请参照本申请方法实施例的描述。
作为示例,上述程序指令可被部署在一个计算机设备上执行,或者被部署位于一个地点的多个计算机设备上执行,又或者,在分布在多个地点且通过通信网络互连的多个计算机设备上执行,分布在多个地点且通过通信网络互连的多个计算机设备可以组成区块链网络。
上述计算机可读存储介质可以是前述任一实施例提供的弹幕显示装置、弹幕发送装置或者上述计算机设备的内部存储单元,例如计算机设备的硬盘或内存。该计算机可读存储介质也可以是该计算机设备的外部存储设备,例如该计算机设备上配备的插接式硬盘,智能存储卡(smart media card,SMC),安全数字(secure digital,SD)卡,闪存卡(flash card)等。进一步地,该计算机可读存储介质还可以既包括该计算机设备的内部存储单元也包括外部存储设备。该计算机可读存储介质用于存储该计算机程序以及该计算机设备所需的其他程序和数据。该计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数 据。
本申请实施例提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行前文图3所对应实施例中对弹幕显示方法、图7对应实施例中对弹幕发送方法以及图8对应实施例中对弹幕显示方法的描述,因此,这里将不再进行赘述。另外,对采用相同方法的有益效果描述,也不再进行赘述。对于本申请实施例所涉及的计算机可读存储介质实施例中未披露的技术细节,请参照本申请方法实施例的描述。
本申请实施例的说明书和权利要求书及附图中的术语“第一”、“第二”等是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、装置、产品或设备没有限定于已列出的步骤或模块,而是可选地还包括没有列出的步骤或模块,或可选地还包括对于这些过程、方法、装置、产品或设备固有的其他步骤单元。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。
本申请实施例提供的方法及相关装置是参照本申请实施例提供的方法流程图和/或结构示意图来描述的,具体可由计算机程序指令实现方法流程图和/或结构示意图的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。这些计算机程序指令可提供到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或结构示意图一个方框或多个方框中指定的功能的装置。这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或结构示意图一个方框或多个方框中指定的功能。这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或结构示意一个方框或多个方框中指定的功能的步骤。
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请实施例所涵盖的范围。

Claims (18)

  1. 一种弹幕显示方法,所述方法由电子设备执行,所述方法包括:
    显示目标场景的交互界面;
    在所述交互界面中显示按照第一移动方向移动的第一弹幕集,并在所述交互界面中显示按照第二移动方向移动的第二弹幕集;
    其中,所述第一弹幕集包含N个第一弹幕数据;所述第二弹幕集包含M个第二弹幕数据;N和M为正整数;所述第一移动方向和所述第二移动方向属于不同的移动方向。
  2. 根据权利要求1所述的方法,其中,所述方法还包括:
    当所述第一弹幕集中的第一弹幕数据与所述第二弹幕集中的第二弹幕数据之间存在对抗触发事件时,触发与所述对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事件。
  3. 根据权利要求2所述的方法,其中,所述触发与所述对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事件,包括:
    在所述交互界面中展示第一目标弹幕数据和第二目标弹幕数据之间的对抗动画,并执行以下任意一种处理:
    在所述对抗动画的展示过程中,在所述交互界面中隐藏所述第一目标弹幕数据和所述第二目标弹幕数据;
    在所述对抗动画展示完成后,在所述交互界面中隐藏所述第一目标弹幕数据和所述第二目标弹幕数据;
    在所述对抗动画展示之前,在所述交互界面中隐藏所述第一目标弹幕数据和所述第二目标弹幕数据;
    其中,所述第一目标弹幕数据是任一个所述第一弹幕数据,所述第二目标弹幕数据是任一个所述第二弹幕数据。
  4. 根据权利要求2所述的方法,其中,
    所述对抗触发事件包括第一目标弹幕数据和第二目标弹幕数据在同一时刻处于所述交互界面中的相同显示位置,
    所述触发与所述对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事件,包括:
    在所述交互界面中隐藏所述第一目标弹幕数据和所述第二目标弹幕数据;
    其中,所述第一目标弹幕数据是任一个所述第一弹幕数据,所述第二目标弹幕数据是任一个所述第二弹幕数据。
  5. 根据权利要求2所述的方法,其中,
    所述对抗触发事件包括第一目标弹幕数据和第二目标弹幕数据在同一时刻处于所述交互界面中的相同显示位置,
    所述触发与所述对抗触发事件相关的第一弹幕数据和第二弹幕数据之间的对抗展示事件,包括:
    在所述交互界面中展示所述第一目标弹幕数据和所述第二目标弹幕数据之间的对抗动画;
    其中,所述第一目标弹幕数据是任一个所述第一弹幕数据,所述第二目标弹幕数据是任一个所述第二弹幕数据。
  6. 根据权利要求1所述的方法,其中,所述目标场景为赛事直播场景;所述交互界面是所述赛事直播场景下的赛事直播界面;所述赛事直播场景包括第一赛事队伍和第二赛事队伍;所述第一弹幕集为针对所述第一赛事队伍的弹幕集;所述第二弹幕集为针对所述第二赛事队伍的弹幕集。
  7. 根据权利要求4所述的方法,其中,所述N个第一弹幕数据和所述M个第二弹幕数据均为周期节点对应的目标周期内获取到的弹幕数据;
    所述方法还包括:
    当N大于M时,在所述周期节点指示的时刻,在所述交互界面中显示针对所述第一赛事队伍的弹幕对抗胜利信息;
    当N小于M时,在所述周期节点指示的时刻,在所述交互界面中显示针对所述第二赛事队伍的弹幕对抗胜利信息;
    当N等于M时,在所述周期节点指示的时刻,在所述交互界面中显示针对所述第一赛事队伍和所述第二赛事队伍的弹幕对抗持平信息。
  8. 根据权利要求6所述的方法,其中,所述在所述交互界面中显示按照第一移动方向移动的第一弹幕集,并在所述交互界面中显示按照第二移动方向移动的第二弹幕集之前,所述方法还包括:
    显示包含所述第一赛事队伍和所述第二赛事队伍的赛事队伍选择列表;
    响应于针对所述赛事队伍选择列表中目标赛事队伍的选择操作,获取所选择的赛事队伍;
    当所述目标赛事队伍为所述第一赛事队伍,将所录入的弹幕数据作为所述第一弹幕集中的第一弹幕数据;
    当所述目标赛事队伍为所述第二赛事队伍,将所录入的弹幕数据作为所述第二弹幕集中的第二弹幕数据。
  9. 根据权利要求1所述的方法,其中,所述目标场景是话题互动场景;所述话题互动场景包括第一话题观点和第二话题观点;所述第一弹幕集为针对所述第一话题观点的弹幕集;所述第二弹幕集为针对所述第二话题观点的弹幕集。
  10. 根据权利要求1所述的方法,其中,当N大于弹幕显示数量阈值时,所述在所述交互界面中显示按照第一移动方向移动的第一弹幕集,包括:
    在所述交互界面中显示按照所述第一移动方向移动的所选第一弹幕数据;
    其中,所选第一弹幕数据是在第一排序结果中,排序靠前且符合所述弹幕显示数量阈值的第一弹幕数据,所述第一排序结果是按照所述N个第一弹幕数据的生成时间戳的先后顺序对所述N个第一弹幕数据进行排序的结果。
  11. 根据权利要求1所述的方法,其中,当M大于弹幕显示数量阈值时,所述在所述交互界面中显示按照第二移动方向移动的第二弹幕集,包括:
    在所述交互界面中显示按照所述第二移动方向移动的所选第二弹幕数据;
    其中,所选第二弹幕数据是在第二排序结果中,排序靠前且符合所述弹幕显示数量阈值的第二弹幕数据,所述第二排序结果是按照所述M个第二弹幕数据的生成时间戳的先后顺序对所述M个第二弹幕数据进行排序的结果。
  12. 根据权利要求1所述的方法,其中,所述目标场景包括直播场景;所述方法还包括:
    录制所述直播场景下的直播视频数据;
    根据所述第一弹幕集和所述第二弹幕集确定全量弹幕集;所述全量弹幕集中的弹幕数据包括所述N个第一弹幕数据和所述M个第二弹幕数据;
    基于至少一个分片时间节点对所述直播视频数据进行分片处理,得到K个分片时间段,K为大于1的整数;
    根据所述全量弹幕集中的每个弹幕数据的生成时间戳,获取属于每个所述分片时间段的弹幕数据;
    将所述直播视频数据和每个所述分片时间段的弹幕数据确定为所述直播场景下的点播录制数据,并存储所述点播录制数据。
  13. 根据权利要求12所述的方法,其中,所述方法还包括:
    当检测到针对所述直播视频数据的点播操作时,获取所存储的所述点播录制数据;
    根据获取到的所述点播录制数据,在点播界面中播放所述直播视频数据,并按照时间先后顺序依次在所述点播界面中动态显示每个所述分片时间段的弹幕数据;
    在所述点播界面动态显示每个所述K个分片时间段的弹幕数据的过程中,显示按照所述第一移动方向进行移动的第一弹幕数据以及按照所述第二移动方向进行移动的第二弹幕数据。
  14. 根据权利要求1至13中任一项所述的方法,其中,所述第一弹幕数据的弹幕类型不同于所述第二弹幕数据的弹幕类型,所述第一弹幕数据和所述第二弹幕数据用于评论所述目标场景。
  15. 一种弹幕显示装置,所述装置包括:
    第一显示模块,配置为显示目标场景的交互界面;
    第二显示模块,配置为在所述交互界面中显示按照第一移动方向移动的第一弹幕集,并在所述交互界面中显示按照第二移动方向移动的第二弹幕集;其中,所述第一弹幕集包含N个第一弹幕数据;所述第二弹幕集包含M个第二弹幕数据;N和M为正整数;所述第一移动方向和所述第二移动方向属于不同的移动方向。
  16. 一种计算机设备,包括:
    存储器,用于存储可执行指令;
    处理器,用于执行所述存储器中存储的可执行指令时,实现权利要求1至14任一项所述的弹幕显示方法。
  17. 一种计算机可读存储介质,存储有可执行指令,用于被处理器执行时,实现权利要求1至14任一项所述的弹幕显示方法。
  18. 一种计算机程序产品,包括计算机程序或指令,所述计算机程序或指令被处理器执行时实现权利要求1至14任一项所述的弹幕显示方法。
PCT/CN2022/098114 2021-07-05 2022-06-10 弹幕显示方法、弹幕发送方法、装置、计算机设备、计算机可读存储介质及计算机程序产品 WO2023279917A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/125,669 US20230326115A1 (en) 2021-07-05 2023-03-23 Bullet screen comment display method and apparatus, bullet screen comment sending method and apparatus, computer device, computer-readable storage medium, and computer program product

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110759469.3A CN113473208B (zh) 2021-07-05 2021-07-05 弹幕显示方法、装置、计算机设备和存储介质
CN202110759469.3 2021-07-05

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/125,669 Continuation US20230326115A1 (en) 2021-07-05 2023-03-23 Bullet screen comment display method and apparatus, bullet screen comment sending method and apparatus, computer device, computer-readable storage medium, and computer program product

Publications (1)

Publication Number Publication Date
WO2023279917A1 true WO2023279917A1 (zh) 2023-01-12

Family

ID=77878280

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/098114 WO2023279917A1 (zh) 2021-07-05 2022-06-10 弹幕显示方法、弹幕发送方法、装置、计算机设备、计算机可读存储介质及计算机程序产品

Country Status (3)

Country Link
US (1) US20230326115A1 (zh)
CN (1) CN113473208B (zh)
WO (1) WO2023279917A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473208B (zh) * 2021-07-05 2023-02-14 腾讯科技(深圳)有限公司 弹幕显示方法、装置、计算机设备和存储介质
CN114025225B (zh) * 2021-10-29 2023-08-29 北京字跳网络技术有限公司 弹幕的控制方法、装置、电子设备和存储介质
CN114125484A (zh) * 2021-11-26 2022-03-01 小象(广州)商务有限公司 一种视频直播的互动方法及互动装置
CN116320577A (zh) * 2021-12-20 2023-06-23 上海哔哩哔哩科技有限公司 图片弹幕交互方法和系统
CN114745595B (zh) * 2022-05-10 2024-02-27 上海哔哩哔哩科技有限公司 弹幕显示方法及装置
CN114915832B (zh) * 2022-05-13 2024-02-23 咪咕文化科技有限公司 一种弹幕显示方法、装置及计算机可读存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180034874A1 (en) * 2016-08-01 2018-02-01 Facebook, Inc. Systems and methods for interactive broadcasting
CN108055552A (zh) * 2017-12-13 2018-05-18 广州虎牙信息科技有限公司 直播间弹幕展示方法、装置及相应的终端
CN109068164A (zh) * 2018-07-18 2018-12-21 青岛海信传媒网络技术有限公司 一种评论信息显示方法和终端
CN109361946A (zh) * 2018-09-11 2019-02-19 传线网络科技(上海)有限公司 弹幕信息的显示方法及装置
CN111147912A (zh) * 2019-12-31 2020-05-12 维沃移动通信有限公司 弹幕显示控制方法及电子设备
CN112188225A (zh) * 2020-09-29 2021-01-05 上海哔哩哔哩科技有限公司 用于直播回放的弹幕下发方法和直播视频弹幕回放方法
CN113473208A (zh) * 2021-07-05 2021-10-01 腾讯科技(深圳)有限公司 弹幕显示方法、装置、计算机设备和存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959810A (zh) * 2016-04-19 2016-09-21 乐视控股(北京)有限公司 一种弹幕的生成方法和装置、服务器
CN105959812A (zh) * 2016-04-29 2016-09-21 乐视控股(北京)有限公司 一种根据支持人数调整对抗进度条的方法及装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180034874A1 (en) * 2016-08-01 2018-02-01 Facebook, Inc. Systems and methods for interactive broadcasting
CN108055552A (zh) * 2017-12-13 2018-05-18 广州虎牙信息科技有限公司 直播间弹幕展示方法、装置及相应的终端
CN109068164A (zh) * 2018-07-18 2018-12-21 青岛海信传媒网络技术有限公司 一种评论信息显示方法和终端
CN109361946A (zh) * 2018-09-11 2019-02-19 传线网络科技(上海)有限公司 弹幕信息的显示方法及装置
CN111147912A (zh) * 2019-12-31 2020-05-12 维沃移动通信有限公司 弹幕显示控制方法及电子设备
CN112188225A (zh) * 2020-09-29 2021-01-05 上海哔哩哔哩科技有限公司 用于直播回放的弹幕下发方法和直播视频弹幕回放方法
CN113473208A (zh) * 2021-07-05 2021-10-01 腾讯科技(深圳)有限公司 弹幕显示方法、装置、计算机设备和存储介质

Also Published As

Publication number Publication date
CN113473208B (zh) 2023-02-14
US20230326115A1 (en) 2023-10-12
CN113473208A (zh) 2021-10-01

Similar Documents

Publication Publication Date Title
WO2023279917A1 (zh) 弹幕显示方法、弹幕发送方法、装置、计算机设备、计算机可读存储介质及计算机程序产品
CN107680157B (zh) 一种基于直播的互动方法及直播系统、电子设备
US20220355204A1 (en) Game data processing method and apparatus, computer, and readable storage medium
US11541310B2 (en) Method and apparatus for configuring virtual scene, and storage medium thereof
CN109104641B (zh) 一种多主播直播间赠送虚拟礼物的方法及装置
CN108184144A (zh) 一种直播方法、装置、存储介质及电子设备
CN103885768A (zh) 第二用户对第一用户的游戏玩法的远程控制
US20180197335A9 (en) System and method to integrate content in real time into a dynamic real-time 3-dimensional scene
CN113905251A (zh) 虚拟对象控制方法、装置、电子设备及可读存储介质
CN106331877A (zh) 弹幕播放方法及装置
CN109874059A (zh) 直播界面展示方法、客户端及存储介质、计算机设备
CN110287399B (zh) 直播信息处理方法、装置、电子设备及存储介质
CN108171160B (zh) 一种任务结果识别方法、装置、存储介质及电子设备
US20230285854A1 (en) Live video-based interaction method and apparatus, device and storage medium
CN114095744A (zh) 视频直播方法、装置、电子设备及可读存储介质
CN113824983A (zh) 数据匹配方法、装置、设备及计算机可读存储介质
CN114938459A (zh) 基于弹幕的虚拟直播互动方法、装置、存储介质及设备
CN113274727B (zh) 直播交互方法、装置和存储介质及电子设备
CN114466213A (zh) 信息同步方法、装置、计算机设备、存储介质及程序产品
CN109766046B (zh) 互动操作的执行方法和装置、存储介质、电子装置
Punt et al. An integrated environment and development framework for social gaming using mobile devices, digital TV and Internet
CN107911749B (zh) 一种合演图谱的展示、提供方法、客户端及服务器
CN113244609A (zh) 多画面的显示方法和装置、存储介质及电子设备
CN114173173A (zh) 弹幕信息的显示方法和装置、存储介质及电子设备
CN113727125B (zh) 直播间的截图方法、装置、系统、介质以及计算机设备

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: 22836671

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2301006206

Country of ref document: TH

NENP Non-entry into the national phase

Ref country code: DE