WO2022142295A1 - 弹幕显示方法及电子设备 - Google Patents

弹幕显示方法及电子设备 Download PDF

Info

Publication number
WO2022142295A1
WO2022142295A1 PCT/CN2021/108505 CN2021108505W WO2022142295A1 WO 2022142295 A1 WO2022142295 A1 WO 2022142295A1 CN 2021108505 W CN2021108505 W CN 2021108505W WO 2022142295 A1 WO2022142295 A1 WO 2022142295A1
Authority
WO
WIPO (PCT)
Prior art keywords
bullet screen
barrage
sticker
target
multimedia data
Prior art date
Application number
PCT/CN2021/108505
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 WO2022142295A1 publication Critical patent/WO2022142295A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • 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
    • 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

Definitions

  • the present disclosure relates to the field of computer technology, and in particular, to a barrage display method and an electronic device.
  • Bullet screens refer to messages that pop up on the playback interface of multimedia data when playing multimedia data. Users can publish bullet screens while watching multimedia data to express their views on the multimedia data, or watch bullet screens posted by other users. Therefore, users who watch the same multimedia data can communicate through the bullet screen.
  • the present disclosure provides a barrage display method and electronic device.
  • a method for displaying a bullet screen is provided, executed by a first terminal, including:
  • the first sticker barrage is displayed in the playing interface.
  • the displaying the first sticker barrage in the playing interface includes:
  • the first sticker barrage is displayed on the target display position in the playback interface, or the first sticker barrage is displayed in the playback interface to move according to a movement track.
  • the method for displaying a bullet screen further includes:
  • the position indicated by the barrage display position parameter is determined as the target display position.
  • determining the parameters of the bullet screen display position includes:
  • the inputted barrage display position parameter is extracted from the barrage position input area.
  • determining the parameters of the bullet screen display position includes:
  • the display position parameter corresponding to the current display position of the indication mark is determined as the display position parameter of the bullet screen.
  • the target multimedia data is a target video
  • the method for displaying the bullet screen further includes:
  • the movement trajectory corresponding to the target display element is determined as the movement trajectory of the first sticker barrage.
  • the method for displaying a bullet screen further includes:
  • the target display element is selected from a plurality of display elements included in the target video.
  • the method for displaying a bullet screen further includes:
  • the movement track indicated by the barrage movement track parameter is determined as the movement track of the first sticker barrage.
  • the method for displaying a bullet screen further includes:
  • the displaying the first sticker barrage on the target display position in the playback interface includes:
  • the displaying in the playback interface that the first sticker barrage moves according to the movement track includes:
  • the first sticker bullet screen is displayed to move according to the movement track.
  • acquiring the first sticker bullet screen includes:
  • the multimedia server receiving a bullet screen set sent by the multimedia server, where the bullet screen set includes the first sticker bullet screen, and the first sticker bullet screen is obtained by the multimedia server based on the bullet screen publishing request;
  • acquiring the first sticker bullet screen includes:
  • the first sticker bullet screen is generated based on text information, where the text information includes user information corresponding to the first user account currently logged in by the first terminal and/or information input by the user.
  • the method for displaying a bullet screen further includes:
  • the bullet screen publishing request carries the first sticker bullet screen
  • the first sticker bullet screen is added to the bullet screen set of the target multimedia data by the multimedia server.
  • the bullet screen set is sent by the multimedia server to the terminal that plays the target multimedia data.
  • generating the first sticker barrage based on text information in response to the barrage publishing operation includes:
  • target template parameters from a plurality of template parameters, where the target template parameters include at least one of color parameters, font parameters, seal engraving parameters, outline shape parameters and graphic size parameters;
  • the first sticker barrage is rendered, the first sticker barrage includes the text information, and the display style of the first sticker barrage is the same as the target Template parameters match.
  • the target template parameter includes a character quantity parameter
  • the bullet screen display method further includes:
  • the reference text information includes user information corresponding to the first user account currently logged in by the first terminal and/or information input by the user, and the target number of characters is the number of characters indicated by the number of characters parameter;
  • the reference text information is determined as the text information.
  • the method for displaying a bullet screen further includes:
  • the first user account currently logged in by the first terminal has the management authority of the target multimedia data; the method for displaying the bullet screen further includes:
  • a second barrage deletion request is sent to the multimedia server, where the second barrage deletion request is used to request the multimedia server to delete the barrage from the target multimedia data.
  • the sticker barrage corresponding to the second user account is deleted from the screen set, and the second user account is an account logged in to the terminal that has published the barrage of the target multimedia data.
  • a method for displaying a bullet screen which is executed by a multimedia server, and the method for displaying a bullet screen includes:
  • the first sticker bullet screen includes user information corresponding to the first user account currently logged in by the first terminal and/or information input by the user;
  • the first sticker barrage is generated by the first terminal based on text information, and the text information includes user information corresponding to the first user account and/or information input by the user, so
  • the barrage release request carries the first sticker barrage; the obtaining the first sticker barrage based on the barrage release request includes:
  • the bullet screen publishing request carries text information, and the text information includes user information corresponding to the first user account and/or information input by the user; the information obtained based on the bullet screen publishing request is obtained
  • the first sticker barrage including:
  • the first sticker barrage is generated based on the text information.
  • the bullet screen release request also carries a bullet screen display position parameter and a target template parameter
  • the target template parameter includes at least a color parameter, a font parameter, a seal engraving method parameter, an outline shape parameter, and a graphic size parameter.
  • the first sticker barrage is rendered, the first sticker barrage includes the text information, and the display style of the first sticker barrage is the same as the target Template parameters match.
  • the method for displaying a bullet screen further includes:
  • the target multimedia data and the barrage set of the target multimedia data are sent to the second terminal.
  • the bullet screen publishing request also carries a bullet screen display position parameter
  • the adding the first sticker barrage to the barrage set of the target multimedia data includes:
  • the first sticker barrage and the barrage display position parameters are correspondingly stored in the barrage set.
  • the bullet screen release request also carries the bullet screen movement track parameters of the first sticker bullet screen
  • the adding the first sticker barrage to the barrage set of the target multimedia data includes:
  • the first sticker barrage and the barrage movement track parameters of the first sticker barrage are correspondingly stored in the barrage set.
  • the target multimedia data is a target video
  • the bullet screen publishing request also carries a target display element identifier and a display time period of the first sticker bullet screen in the target video
  • the target display The element identifier is used to indicate the target display element in the target video
  • the barrage display method further includes:
  • the adding the first sticker barrage to the barrage set of the target multimedia data includes:
  • the first sticker barrage and the barrage movement track parameters of the movement track of the first sticker barrage are correspondingly stored in the barrage set.
  • the bullet screen release request also carries the playback time point and the bullet screen display duration
  • the adding the first sticker barrage to the barrage set of the target multimedia data includes:
  • the playback time point, the display duration of the bullet screen and the first sticker bullet screen are stored in the bullet screen set correspondingly.
  • the method for displaying a bullet screen further includes:
  • the method for displaying a bullet screen further includes:
  • the bullet screen deletion request is used to request to delete the sticker bullet screen corresponding to the third user account from the bullet screen set of the target multimedia data, and the third user account is the one that has published the bullet screen for the target multimedia data.
  • a barrage display device which is arranged on the first terminal and includes:
  • a display unit configured to display a playback interface of the target multimedia data
  • a sending unit configured to obtain a first sticker barrage in response to detecting a barrage publishing operation in the playback interface
  • the display unit is further configured to display the first sticker barrage in the playing interface.
  • the display unit is configured to display the first sticker barrage at a target display position in the playback interface, or display the first sticker barrage in the playback interface Move according to the movement trajectory.
  • the bullet screen display device further includes:
  • a first determining unit configured to determine a barrage display position parameter in response to the barrage publishing operation
  • the second determination unit including:
  • the first determination subunit is configured to determine the position indicated by the barrage display position parameter as the target display position.
  • the first determining unit includes:
  • a first display subunit configured to display a bullet screen position input area in the playback interface in response to the bullet screen publishing operation
  • the extraction subunit is configured to extract the inputted barrage display position parameter from the barrage position input area.
  • the first determining unit includes:
  • a first display subunit configured to display an indicator in the playback interface in response to the bullet screen publishing operation
  • an adjustment subunit configured to adjust the display position of the indicator in the playback interface
  • the second determination subunit is configured to, in response to detecting the confirmation operation on the indication mark, determine the display position parameter corresponding to the current display position of the indication mark as the display position parameter of the bullet screen.
  • the target multimedia data is a target video
  • the bullet screen display device further includes:
  • a first obtaining unit configured to obtain the display time period of the first sticker barrage in the target video in response to the bullet screen publishing operation
  • the second obtaining unit includes:
  • a third determining subunit configured to determine the movement track of the target display element in the target video within the display time period
  • the third determining subunit is further configured to determine the movement trajectory corresponding to the target display element as the movement trajectory of the first sticker barrage.
  • the bullet screen display device further includes:
  • the selecting unit is configured to select the target display element from a plurality of display elements included in the target video in response to the bullet screen publishing operation.
  • the bullet screen display device further includes:
  • a third acquiring unit configured to acquire the barrage movement track parameters in response to the barrage publishing operation
  • the second obtaining unit includes:
  • the third determining subunit is configured to determine the movement trajectory indicated by the bullet screen movement trajectory parameter as the movement trajectory of the first sticker bullet screen.
  • the bullet screen display device further includes:
  • a fourth acquisition unit configured to acquire the current playback time point and the display duration of the bullet screen of the target multimedia data in response to the bullet screen publishing operation
  • the display unit includes:
  • the second display subunit is configured to display the first sticker barrage at the target display position within the barrage display duration after the playback time point; or,
  • the second display subunit is further configured to display that the first sticker barrage moves according to the movement track within the display duration of the barrage after the playback time point.
  • the sending unit is configured to, in response to the bullet screen publishing operation, send a bullet screen publishing request to a multimedia server; and receive a bullet screen set sent by the multimedia server, where the bullet screen set includes all
  • the first sticker barrage is obtained by the multimedia server based on the barrage release request; and the first sticker barrage in the barrage set is obtained.
  • the sending unit includes:
  • the generating subunit is configured to generate the first sticker bullet screen based on text information in response to the bullet screen publishing operation, where the text information includes user information corresponding to the first user account currently logged in by the first terminal and / or information entered by the user.
  • the sending unit includes:
  • the sending subunit is configured to send a bullet screen publishing request to the multimedia server, where the bullet screen publishing request carries the first sticker bullet screen, and the first sticker bullet screen is added to the target multimedia data by the multimedia server In the set of bullet screens, the set of bullet screens is sent by the multimedia server to the terminal that plays the target multimedia data.
  • the generating subunit is configured to select a target template parameter from a plurality of template parameters in response to the bullet screen publishing operation, where the target template parameter includes a color parameter, a font parameter, a seal engraving method at least one of parameters, outline shape parameters, and graphic size parameters; based on the target template parameters and the text information, the first sticker barrage is rendered, and the first sticker barrage includes the text information, and The display style of the first sticker barrage matches the target template parameter.
  • the target template parameter includes a character quantity parameter
  • the bullet screen display device further includes:
  • the extraction unit is configured to, in response to that the number of characters contained in the reference text information corresponding to the first user account is greater than the target number of characters, extract the characters of the target number of characters from the reference text information, and extract the extracted characters It is determined to be the text information, the reference text information includes user information corresponding to the first user account currently logged in by the first terminal and/or information input by the user, and the target number of characters is the number of characters parameter the number of characters indicated;
  • the third determination unit is configured to determine the reference text information as the text information in response to the number of characters contained in the reference text information being not greater than the target number of characters.
  • the sending unit is further configured to, in response to the deletion operation of the sticker barrage corresponding to the first user account currently logged in by the first terminal, send a first barrage deletion request to the multimedia server, the first barrage
  • the deletion request is used to request the multimedia server to delete the sticker barrage corresponding to the first user account from the barrage set of the target multimedia data.
  • the user information currently logged in by the first terminal has the management authority of the target multimedia data
  • the sending unit is further configured to, in response to the operation of deleting the sticker barrage corresponding to the second user account, send a second barrage deletion request to the multimedia server, where the second barrage deletion request is used to request the multimedia
  • the server deletes the sticker barrage corresponding to the second user account from the barrage set of the target multimedia data, where the second user account is an account logged in to the terminal that has published the barrage of the target multimedia data.
  • a barrage display device which is arranged on a multimedia server, including:
  • a receiving unit configured to receive a bullet screen publishing request for target multimedia data sent by a first terminal, wherein the first terminal is a terminal that plays the target multimedia data;
  • an obtaining unit configured to obtain a first sticker barrage based on the barrage release request, where the first sticker barrage includes user information and/or user input corresponding to the first user account currently logged in by the first terminal Information;
  • the adding unit is configured to add the first sticker barrage to the barrage set of the target multimedia data
  • a sending unit configured to send the barrage set to the first terminal.
  • the first sticker barrage is generated by the first terminal based on text information, and the text information includes user information corresponding to the first user account and/or information input by the user, so
  • the barrage release request carries the sticker barrage;
  • the acquisition unit includes:
  • the obtaining subunit is configured to obtain the first sticker barrage from the barrage publishing request.
  • the bullet screen publishing request carries text information
  • the text information includes user information corresponding to the first user account and/or information input by the user
  • the obtaining unit includes:
  • a generating subunit is configured to generate the first sticker barrage based on the text information.
  • the bullet screen release request also carries a bullet screen display position parameter and a target template parameter
  • the target template parameter includes at least a color parameter, a font parameter, a seal engraving method parameter, an outline shape parameter, and a graphic size parameter.
  • the generating subunit is configured to render the first sticker barrage based on the target template parameters and the text information, the first sticker barrage includes the text information, and the The display style of the first sticker barrage matches the target template parameter.
  • the sending unit is configured to, in response to a request for playing the target multimedia data sent by the second terminal, send the target multimedia data and the target multimedia data to the second terminal.
  • the barrage collection is configured to, in response to a request for playing the target multimedia data sent by the second terminal, send the target multimedia data and the target multimedia data to the second terminal.
  • the bullet screen publishing request also carries a bullet screen display position parameter
  • the adding unit is configured to store the first sticker barrage and the barrage display position parameter in the barrage set correspondingly.
  • the bullet screen release request also carries the bullet screen movement track parameters of the first sticker bullet screen
  • the adding unit is configured to store the first sticker barrage and the barrage movement track parameters of the first sticker barrage in the barrage set.
  • the target multimedia data is a target video
  • the bullet screen publishing request also carries a target display element identifier and a display time period of the first sticker bullet screen in the target video
  • the target display The element identifier is used to indicate the target display element in the target video
  • the bullet screen display device further includes:
  • a determining unit configured to determine a movement trajectory of the target display element within the display time period
  • the determining unit is further configured to determine the movement trajectory corresponding to the target display element as the movement trajectory of the first sticker barrage;
  • the adding unit is configured to store the first sticker barrage and the barrage movement track parameters of the movement track of the first sticker barrage in the barrage set.
  • the bullet screen release request also carries the playback time point and the bullet screen display duration
  • the adding unit is configured to store the playback time point, the display duration of the bullet screen and the first sticker bullet screen in the bullet screen set correspondingly.
  • the bullet screen display device further includes:
  • the receiving unit is further configured to receive a bullet screen deletion request for the target multimedia data sent by the terminal logged in with the second user account, where the bullet screen deletion request is used to request a bullet screen collection from the target multimedia data delete the sticker barrage corresponding to the second user account;
  • the deletion unit is configured to delete the sticker barrage corresponding to the second user account from the barrage set of the target multimedia data.
  • the bullet screen display device further includes:
  • the receiving unit is further configured to receive a barrage deletion request for the target multimedia data sent by a terminal logged in with a second user account, where the second user account has management authority for the target multimedia data, and the barrage
  • the deletion request carries a third user account
  • the bullet screen deletion request is used to request to delete the sticker bullet screen corresponding to the third user account from the bullet screen collection of the target multimedia data, and the third user account is for all the login account of the terminal whose target multimedia data has been published;
  • the deletion unit is configured to delete the sticker barrage corresponding to the third user account from the barrage set of the target multimedia data.
  • an electronic device comprising:
  • processors one or more processors
  • volatile or nonvolatile memory for storing the one or more processor-executable instructions
  • processors are configured to the instructions to implement the following steps:
  • the first sticker barrage is displayed in the playing interface.
  • an electronic device comprising:
  • processors one or more processors
  • volatile or nonvolatile memory for storing the one or more processor-executable instructions
  • processors are configured to the instructions to implement the following steps:
  • the first sticker bullet screen includes user information corresponding to the first user account currently logged in by the first terminal and/or information input by the user;
  • a non-transitory computer-readable storage medium wherein instructions in the storage medium are executed by a processor of an electronic device, so that the electronic device can perform the following steps:
  • the first sticker barrage is displayed in the playing interface.
  • a non-transitory computer-readable storage medium wherein instructions in the storage medium are executed by a processor of an electronic device, so that the electronic device can perform the following steps:
  • the first sticker bullet screen includes user information corresponding to the first user account currently logged in by the first terminal and/or information input by the user;
  • a computer program product including a computer program, which, when executed by a processor, implements the following steps:
  • the first sticker barrage is displayed in the playing interface.
  • a computer program product including a computer program, which, when executed by a processor, implements the following steps:
  • the first sticker bullet screen includes user information corresponding to the first user account currently logged in by the first terminal and/or information input by the user;
  • FIG. 1 is a schematic diagram illustrating an implementation environment according to an exemplary embodiment.
  • Fig. 2 is a flow chart of a method for displaying a bullet screen according to an exemplary embodiment.
  • Fig. 3 is a flow chart of a method for displaying a bullet screen according to an exemplary embodiment.
  • Fig. 4 is a flow chart of a method for displaying a bullet screen according to an exemplary embodiment.
  • Fig. 5 is a flow chart of deleting a sticker barrage according to an exemplary embodiment.
  • Fig. 6 is a flow chart of adding template identification according to an exemplary embodiment.
  • Fig. 7 is a flowchart showing a sticker barrage publishing according to an exemplary embodiment.
  • Fig. 8 is a block diagram of a bullet screen display device according to an exemplary embodiment.
  • Fig. 9 is a block diagram of a bullet screen display device according to an exemplary embodiment.
  • Fig. 10 is a block diagram of a bullet screen display device according to an exemplary embodiment.
  • Fig. 11 is a block diagram of a bullet screen display device according to an exemplary embodiment.
  • Fig. 12 is a block diagram of a terminal according to an exemplary embodiment.
  • Fig. 13 is a block diagram of a server according to an exemplary embodiment.
  • FIG. 1 is a schematic diagram of an implementation environment provided according to an exemplary embodiment.
  • the implementation environment includes: a plurality of terminals 101 and a multimedia server 102, and a network connection is established between each terminal 101 and the multimedia server 102, and a network connection is established through the network connection.
  • the terminal 101 and the multimedia server 102 can interact.
  • the terminal 101 is a mobile phone, a tablet computer, a computer and other types of terminals
  • the multimedia server 102 is a server, or a server cluster composed of several servers, or a cloud computing service center.
  • each terminal 101 can interact with the server 102 based on the logged-in account.
  • Each terminal 101 is used to play multimedia data in the playback interface and display the posted sticker barrage, the sticker barrage is a barrage displayed in the form of stickers, and each terminal 101 can also publish a sticker barrage for the played multimedia data .
  • the multimedia server 102 is used to manage the bullet screen set of multimedia data, and can deliver the bullet screen set of multimedia data to the terminal that plays the multimedia data.
  • the terminal logs in to the live broadcast room based on the account, and plays the live video on the playback interface.
  • the live server publishes the sticker barrage to the terminal that plays the live video, and then the terminal that plays the live video is in The sticker barrage is displayed on the target display position, or the sticker barrage is displayed to move according to the movement trajectory, so that all users in the live room can view the sticker barrage, thereby realizing communication between users in the live room.
  • the terminal runs the video application, and plays the target video in the playback interface.
  • the video server sends the sticker barrage to the terminal that plays the target video, and the terminal that plays the target video is in the target video.
  • the sticker barrage is displayed on the display position, or the sticker barrage is displayed to move according to the movement track, thereby realizing communication between users watching the same video.
  • Fig. 2 is a flow chart of a method for displaying a bullet screen according to an exemplary embodiment. Referring to Fig. 2, the method is executed by a first terminal and includes the following steps:
  • the first terminal displays a playback interface of the target multimedia data.
  • the multimedia data is data in any form, and the terminal can play the target multimedia data through the playing interface for the user to watch.
  • the first terminal acquires the first sticker barrage in response to the barrage publishing operation detected in the play interface.
  • the bullet screen publishing operation is used to indicate the operation of publishing the sticker bullet screen
  • the first sticker bullet screen is a bullet screen displayed in the form of stickers.
  • the first sticker bullet screen is acquired for subsequent display.
  • the first terminal displays the first sticker barrage in the playback interface.
  • the method provided by the embodiment of the present disclosure provides a sticker barrage, which is displayed in the form of a sticker, which enriches the display form of the barrage and improves the display effect of the barrage.
  • the method provided by the embodiment of the present disclosure provides a sticker barrage, for the multimedia data to be played, the sticker barrage including the user information corresponding to the previously logged in first user account and/or the information input by the user is released, so as to play the sticker barrage.
  • the terminal of multimedia data displays the sticker barrage, which realizes the personalized display of the sticker barrage, and can display the sticker barrage at the target display position, or display the sticker barrage moving according to the movement trajectory, which enriches the display of the barrage screen. form, thereby improving the display effect of the bullet screen.
  • displaying the first sticker barrage in the playback interface includes:
  • the first sticker barrage is displayed on the target display position in the playback interface, or the first sticker barrage is displayed in the playback interface to move according to the movement track.
  • the method for displaying a bullet screen further includes:
  • the method for displaying a bullet screen further includes:
  • Determine the target display position of the first sticker barrage in the playback interface including:
  • determining a bullet screen display position parameter in response to a bullet screen publishing operation, includes:
  • determining a bullet screen display position parameter in response to a bullet screen publishing operation, includes:
  • an indicator is displayed in the playback interface
  • the display position parameter corresponding to the current display position of the indication mark is determined as the display position parameter of the bullet screen.
  • the bullet screen release request carries a bullet screen display position parameter
  • the multimedia server is configured to store the first sticker bullet screen and the bullet screen display position parameter in the bullet screen set correspondingly.
  • the method for displaying a bullet screen further includes:
  • the target multimedia data is a target video
  • the method for displaying the bullet screen further includes:
  • Get the movement track of the first sticker barrage including:
  • the movement trajectory corresponding to the target display element is determined as the movement trajectory of the first sticker barrage.
  • the method for displaying a bullet screen further includes:
  • the target display element is selected from a plurality of display elements included in the target video.
  • the method for displaying a bullet screen further includes:
  • Get the movement track of the first sticker barrage including:
  • the bullet screen release request carries the bullet screen movement trajectory parameters of the first sticker bullet screen
  • the multimedia server is configured to store the first sticker bullet screen and the bullet screen movement trajectory parameters in the bullet screen set correspondingly.
  • the method for displaying a bullet screen further includes:
  • Display the first sticker barrage on the target display position in the playback interface including:
  • the first sticker barrage is displayed to move according to the movement track, including:
  • the displayed first sticker bullet screen moves according to the movement track.
  • obtaining the current playback time point and the bullet screen display duration of the target multimedia data including:
  • the first sticker bullet screen is displayed on the target display position, including:
  • the first sticker barrage is displayed to move according to the movement track, including:
  • the bullet screen release request carries the playback time point and the bullet screen display duration
  • the multimedia server is configured to store the playback time point, the bullet screen display duration and the first sticker bullet screen in the bullet screen set correspondingly.
  • acquiring the first sticker bullet screen includes:
  • the bullet screen set includes the first sticker bullet screen, and the first sticker bullet screen is obtained by the multimedia server based on the bullet screen publishing request;
  • acquiring the first sticker bullet screen includes:
  • a first sticker bullet screen is generated based on text information, where the text information includes user information corresponding to the currently logged-in first user account and/or information input by the user.
  • the method for displaying a bullet screen further includes:
  • the bullet screen publishing request carries the first sticker bullet screen
  • the first sticker bullet screen is added by the multimedia server to the bullet screen set of the target multimedia data
  • the bullet screen set is sent by the multimedia server to play the target multimedia data terminal.
  • generating a first sticker bullet screen based on text information includes:
  • select target template parameters from multiple template parameters include at least one of color parameters, font parameters, seal engraving parameters, outline shape parameters and graphic size parameters;
  • a first sticker barrage is rendered, the first sticker barrage contains text information, and the display style of the first sticker barrage matches the target template parameters.
  • the target template parameter includes a character quantity parameter
  • the bullet screen display method further includes:
  • the reference text information corresponding to the first user account In response to the number of characters contained in the reference text information corresponding to the first user account being greater than the target number of characters, extracting characters of the target number of characters from the reference text information, and determining the extracted characters as text information, where the text information includes the current value of the first terminal.
  • the user information corresponding to the logged-in first user account and/or the information input by the user, and the target number of characters is the number of characters indicated by the number of characters parameter;
  • the reference text information is determined as text information.
  • the bullet screen publishing request carries text information
  • the multimedia server is configured to generate a first sticker bullet screen based on the text information, add the first sticker bullet screen to the bullet screen set of the target multimedia data, and send the target multimedia data to playback.
  • the terminal sends the barrage collection.
  • the bullet screen release request also carries a bullet screen display position parameter and a target template parameter
  • the target template parameter includes at least one of a color parameter, a font parameter, a seal engraving method parameter, an outline shape parameter, and a graphic size parameter
  • multimedia The server is used to render a first sticker barrage based on the target template parameters and text information, the first sticker barrage contains text information, and the display style of the first sticker barrage matches the target template parameters, and the first sticker barrage and the The barrage display position parameters are correspondingly stored in the barrage collection.
  • the bullet screen release request also carries a movement trajectory parameter and a target template parameter
  • the target template parameter includes at least one of a color parameter, a font parameter, a seal engraving method parameter, an outline shape parameter, and a graphic size parameter
  • the multimedia server uses Based on the target template parameters and text information, the first sticker barrage is rendered, the first sticker barrage contains text information, and the display style of the first sticker barrage matches the target template parameters, and the first sticker barrage and the movement track are rendered.
  • the parameters are correspondingly stored in the barrage collection.
  • the method for displaying a bullet screen further includes:
  • a first barrage deletion request is sent to the multimedia server, and the first barrage deletion request is used to request the multimedia server to delete the target multimedia data.
  • the sticker barrage corresponding to the first user account is deleted from the barrage set, and the multimedia server is used to delete the first sticker barrage from the barrage set of the target multimedia data.
  • the first user account currently logged in by the first terminal has the management authority of the target multimedia data; the method for displaying the bullet screen further includes:
  • a second barrage deletion request is sent to the multimedia server, and the second barrage deletion request is used to request the multimedia server to delete the second barrage from the barrage set of the target multimedia data.
  • the sticker barrage corresponding to the user account, and the second user account is the account that logs in to the terminal that has published the barrage of the target multimedia data.
  • FIG. 3 is a flowchart of a method for displaying a bullet screen according to an exemplary embodiment. Referring to FIG. 3 , the method is executed by a multimedia server and includes the following steps:
  • the multimedia server receives a bullet screen publishing request for target multimedia data sent by a first terminal, where the first terminal is a terminal that plays the target multimedia data.
  • the multimedia server obtains a first sticker barrage based on the barrage release request, where the first sticker barrage includes user information corresponding to the first user account currently logged in by the first terminal and/or information input by the user.
  • the multimedia server adds the first sticker barrage to the barrage set of the target multimedia data.
  • the multimedia server sends a barrage set to the first terminal.
  • the method provided by the embodiment of the present disclosure provides a sticker barrage, for the multimedia data to be played, the sticker barrage including the user information corresponding to the previously logged in first user account and/or the information input by the user is released, so as to play the sticker barrage.
  • the terminal of multimedia data displays the sticker barrage, which realizes the personalized display of the sticker barrage, and can display the sticker barrage at the target display position, or display the sticker barrage moving according to the movement trajectory, which enriches the display of the barrage screen. form, thereby improving the display effect of the bullet screen.
  • the first sticker bullet screen is generated by the first terminal based on text information
  • the text information includes user information corresponding to the first user account and/or information input by the user
  • the bullet screen publishing request carries the sticker bullet screen
  • Get the first sticker barrage based on the barrage release request including:
  • the bullet screen publishing request carries text information
  • the text information includes user information corresponding to the first user account and/or information input by the user
  • acquiring the first sticker bullet screen includes:
  • the first sticker barrage is generated based on the text information.
  • the bullet screen release request also carries a bullet screen display position parameter and a target template parameter
  • the target template parameter includes at least one of a color parameter, a font parameter, a seal engraving method parameter, an outline shape parameter, and a graphic size parameter; based on The text information generates the first sticker barrage, including:
  • a first sticker barrage is rendered, the first sticker barrage contains text information, and the display style of the first sticker barrage matches the target template parameters.
  • the method for displaying a bullet screen further includes:
  • the target multimedia data and the barrage set of the target multimedia data are sent to the second terminal.
  • the bullet screen publishing request also carries a bullet screen display position parameter
  • Add the first sticker barrage to the barrage set of the target multimedia data including:
  • the first sticker barrage and the barrage display position parameters are correspondingly stored in the barrage set.
  • the bullet screen release request also carries the bullet screen movement track parameters of the sticker bullet screen
  • Add the first sticker barrage to the barrage set of the target multimedia data including:
  • the first sticker barrage and the barrage movement track parameters of the first sticker barrage are correspondingly stored in the barrage set.
  • the target multimedia data is the target video
  • the bullet screen release request also carries the target display element identifier and the display time period of the first sticker barrage in the target video, and the target display element identifier is used to indicate the target in the target video. display element;
  • the barrage display method also includes:
  • Add the first sticker barrage to the barrage set of the target multimedia data including:
  • the first sticker barrage and the barrage movement track parameters of the movement track of the first sticker barrage are correspondingly stored in the barrage set.
  • the bullet screen release request also carries the playback time point and the bullet screen display duration
  • Add the first sticker barrage to the barrage set of the target multimedia data including:
  • the method for displaying a bullet screen further includes:
  • the method for displaying a bullet screen further includes:
  • FIG. 4 is a flowchart of a method for displaying a bullet screen according to an exemplary embodiment.
  • the interactive subject of the method includes a first terminal and a multimedia server, and the method for displaying a bullet screen includes the following steps:
  • the first terminal displays a playback interface of the target multimedia data.
  • the target multimedia data is data for the user to watch, and in some embodiments, the target multimedia data is video data, audio data, or picture data.
  • the playing interface is an interface for playing multimedia data, and the terminal can play the target multimedia data in the playing interface, so that the user can watch the played multimedia data.
  • the play interface includes a data play window in which the target multimedia data is played.
  • the data play window includes a partial area of the play interface.
  • a target application is installed on the first terminal, the target multimedia data is data in the target application, and the playing interface is a display interface provided by the target application.
  • the first terminal selects a target template parameter from a plurality of template parameters in response to the bullet screen publishing operation detected in the playback interface.
  • the bullet screen publishing operation is used to indicate the operation of publishing the sticker bullet screen.
  • Each template parameter is used to indicate a display style of the sticker barrage.
  • Different template parameters correspond to different display styles.
  • the target template parameter is any template parameter among multiple template parameters, and the target template parameter includes the color parameter, At least one of font parameters, seal engraving method parameters, outline shape parameters and graphic size parameters, at least one refers to one or more of the above-mentioned parameters, for example, target template parameters include color parameters, font parameters, stamp parameters Any one of the engraving method parameter, the outline shape parameter and the graphic size parameter, or the target template parameter includes two or more of the color parameter, the font parameter, the seal engraving method parameter, the contour shape parameter and the graphic size parameter.
  • the playback interface includes a bullet screen publishing option
  • step 402 includes: in response to detecting a triggering operation on the bullet screen publishing option, selecting a target template parameter from a plurality of template parameters.
  • the bullet screen publishing options are the bullet screen publishing button, the bullet screen sliding bar, etc.
  • step 402 includes: in response to the bullet screen publishing operation, displaying a template identification list, and in response to a triggering operation on the target template identification in the template identification list, acquiring target template parameters of the target template identification.
  • the template identifier list includes at least one template identifier, and each template identifier refers to a template parameter.
  • the playback interface includes a bullet screen publishing option, and in response to a triggering operation of the bullet screen publishing option, a list of template identifiers is displayed.
  • the template identifier list is a list of currently logged-in user information
  • the template identifiers in the template identifier list refer to template parameters that are owned by the currently logged-in user information.
  • the user information is also the user information corresponding to the first user account, that is, the template identification list is a list of the currently logged-in first user accounts.
  • the process of adding template identifiers to the template identifier list includes: displaying a template database, where the template database includes multiple template identifiers, and adding the template identifier to the template identifier list in response to an operation for adding any template identifier.
  • the template database is provided by the multimedia server.
  • the selected template identifier is added to the template identifier list of the first user account from the template database provided by the multimedia server, so that the template identifier can be subsequently selected from the template identifier list.
  • each template identifier included in the template database corresponds to the number of resources; then, in response to an operation for adding any template identifier, an identifier addition request is sent to the multimedia server, and the identifier addition request carries the currently logged in first user account and the template. ID, the multimedia server transfers resources with the same number of resources corresponding to the template ID from the resource account corresponding to the user information, and adds the template ID to the template ID list of the user information.
  • the template identification list is a list provided by the multimedia server.
  • the template identification list provided by the multimedia server is used by multiple user information, so that multiple user information can select template identification from the template identification list, and subsequently generate a sticker barrage through the selected template identification.
  • the plurality of user information are respectively used to represent multiple user accounts, that is, the template identifier list provided by the server is used by the multiple user accounts.
  • the template identification list includes multiple template identifications, and in the template identification list, the multiple template identifications are displayed in descending order of the selection times of the template identifications. For example, among multiple template identifiers, the larger the number of times the template identifier is selected, the higher the sequence of the template identifier in the template identifier list; the smaller the number of times the template identifier is used, the higher the template identifier is in the template identifier list. the later in the arrangement order.
  • the number of times that any template identifier in the template identifier list is selected is the number of times the template identifier is selected by the first user account;
  • the identification list is a list provided by the multimedia server, the selection times of any template identification in the template identification list is the total number of times the template identification is selected by multiple user accounts.
  • the first terminal renders a first sticker barrage based on the target template parameters and the text information.
  • the first sticker barrage is a barrage displayed in the form of a sticker, and when the first sticker barrage is displayed, it is displayed in the play interface in the form of a sticker.
  • the first sticker barrage includes text information, and the display style of the first sticker barrage matches the target template parameters.
  • the text information includes the information of the currently logged in user and/or the information input by the user
  • the user information is information indicating the user's identity
  • the user information is also the user information corresponding to the first user account, that is, the text information includes the currently logged in first user.
  • User information corresponding to the user account and/or information input by the user is a user account, a partial user account, a user nickname, or a partial user nickname, and the like.
  • some user accounts are part of the user account, and some user nicknames are part of the user nickname.
  • the user account includes 8 characters, and some user accounts include the first number of characters in the 8 characters. The number is an integer less than 8, for example, the first number is 1, 3, or 5, etc.; the user nickname includes 10 characters, and some user nicknames include the second number of characters in the 10 characters, and the second number is less than 10 an integer, for example, the second number is 1, 3, or 5, etc.
  • the first sticker barrage is displayed with a seal graphic, that is, the first sticker barrage is a seal graphic sticker barrage, and the seal graphic includes text information.
  • the first sticker barrage includes text information and a pattern, and other areas in the first sticker barrage are transparently displayed except for the display area of the text information and the pattern.
  • the target template parameter is used to indicate the display style of the sticker barrage
  • the text information includes the user information corresponding to the currently logged-in first user account and/or the information input by the user, based on the target template parameter and the text information, the rendered
  • the display style of a sticker barrage matches the target template parameters
  • the first sticker barrage contains text information, which realizes the personalization of the first sticker barrage and can highlight the uniqueness of the first sticker barrage.
  • this step 403 includes the following seven ways:
  • the first way generate a template graphic whose display style matches the target template parameters, fill the template graphic with text information, and get the sticker barrage.
  • the template graphic is a graphic in the form of a seal.
  • the template graphic is a template graphic of a stamp, and the template graphic is a graphic in the form of a seal.
  • the template graphic includes at least one character filling position
  • the first method includes: filling the character in the text information at the character filling position to obtain the sticker barrage.
  • At least one includes one or more, and at least one character filling position includes one character filling position, or, two or more character filling positions.
  • the character filling position represents the center position of the filling character, and when filling the character at the character filling position, the center of the character is overlapped with the character filling position to obtain the sticker barrage.
  • the character filling position is represented by coordinates, and the coordinates are expressed in the form of pixel values. According to the coordinates of the character filling position, fill the character in the corresponding position, and then the sticker barrage can be obtained.
  • the target template parameters include color parameters: according to the color corresponding to the color parameter, the text information is rendered into a color-coded sticker barrage.
  • the color parameter is used to indicate the display color of the sticker barrage. For example, if the color corresponding to the color parameter is red, the generated sticker barrage is red; if the color corresponding to the color parameter is green, the generated sticker barrage is green. Based on the color corresponding to the color parameter, the rendered first sticker barrage is displayed according to the color corresponding to the color parameter, and the first sticker barrage contains text information, thereby realizing the personalized configuration of the first sticker barrage.
  • the process of acquiring the color parameters includes: displaying a plurality of color options in the playback interface in response to a bullet screen publishing operation, and obtaining a color parameter corresponding to the color option in response to a triggering operation for any color option.
  • each color option corresponds to a color
  • different color options correspond to different colors.
  • the color options are buttons or sliders, etc.
  • the target template parameters include font parameters: based on the font parameters and text information, the first sticker barrage is rendered.
  • the font parameter is used to indicate the font of the text information in the sticker barrage. For example, if the font corresponding to the font parameter is italic, then the text information in the generated sticker barrage is displayed in italic; if the font corresponding to the font parameter is Chinese font, the text information in the generated sticker barrage is displayed in Chinese font. Based on the font parameter and the text information, the rendered text information in the first sticker barrage is displayed according to the font corresponding to the font parameter.
  • the process of obtaining font parameters includes: displaying a plurality of font options in the playback interface in response to a bullet screen publishing operation, and obtaining font parameters corresponding to the font option in response to a triggering operation for any font option.
  • each font option corresponds to a font
  • different font options correspond to different fonts.
  • the font options are buttons or sliders, etc.
  • the target template parameters include seal engraving method parameters: based on the seal engraving method parameters and text information, the first sticker barrage is virtually engraved.
  • the seal engraving method parameter is used to indicate the seal engraving method, and is also used to indicate the display style of the text information in the generated sticker barrage.
  • the seal engraving method includes Yin-engraving or Yang-engraving, Yin-engraving means that the characters in the sticker barrage are concave, and Yang-engraving means that the characters are convex in the sticker barrage.
  • the display style of the text information in the virtual engraved first sticker barrage is matched with the seal engraving method parameters.
  • the seal engraving method parameter indicates positive engraving
  • the characters in the text information are convex, and other areas of the first sticker barrage are concave, which outlines the characters of the text message. shape
  • the seal engraving method parameter indicates negative engraving
  • the characters in the text information are concave, and other areas of the first sticker barrage are convex, outlining the characters of the text message. shape.
  • the process of obtaining the seal engraving method parameters includes: in response to a bullet screen publishing operation, displaying a plurality of seal engraving method options in the playback interface, and in response to a triggering operation for any seal engraving method option, obtaining the seal Stamp engraving parameters for engraving options.
  • each seal engraving method option corresponds to a seal engraving method
  • different seal engraving method options correspond to different seal engraving methods.
  • the stamp engraving options are buttons or sliders.
  • the target template parameters include contour shape parameters: create a template graphic of the contour shape corresponding to the contour shape parameters, and fill the template graphic with text information to obtain the first sticker barrage.
  • the outline shape parameter is used to refer to the outline shape of the sticker barrage.
  • the contour shape corresponding to the contour shape parameter is a circle, a square, or a hexagon.
  • a template graphic conforming to the contour shape corresponding to the contour shape parameter is created, and text information is filled in the template graphic to obtain the first sticker barrage.
  • text information is filled in the template graphic to obtain the first sticker barrage.
  • the process of filling the template graphics with text information to obtain the first sticker barrage is similar to that of the first method, and will not be repeated here.
  • the process of acquiring the outline shape parameters includes: in response to a bullet screen publishing operation, displaying a plurality of outline shape options in the playback interface, and in response to a triggering operation for any outline shape option, obtaining the outline shape option Profile shape parameters.
  • each contour shape option corresponds to one contour shape
  • different contour shape options correspond to different contour shapes.
  • the outline shape options are buttons or sliders.
  • the target template parameter includes a graphic size parameter: based on the graphic size parameter and text information, a first sticker barrage matching the size indicated by the graphic size parameter is rendered.
  • the graphic size parameter is used to indicate the size of the sticker barrage.
  • the graphic size parameter includes a length dimension and a width dimension of the circumscribed rectangle of the sticker.
  • both the length dimension and the width dimension are expressed in pixel values.
  • the size of the circumscribed rectangle of the sticker is determined by the length dimension and the width dimension, and the first sticker barrage is rendered based on the circumscribed rectangle, so that the circumscribed rectangle can contain the shape of the first sticker barrage, and the first sticker barrage The shape of the bounding rectangle is connected. For example, if the rendered first sticker barrage is a circle, the enclosing rectangle can contain the circle and be tangent to the four sides of the enclosing rectangle.
  • the process of acquiring the graphic size parameter includes: in response to the bullet screen publishing operation, displaying a graphic size input area in the playback interface, and acquiring the graphic size parameter input by the user from the graphic size input area. For example, a graphic size input area is displayed on the playback interface, and the user inputs the desired size of the sticker barrage in the graphic size input area, and the terminal obtains the graphic size parameters input by the user from the graphic size input area.
  • the target template parameter includes a character size parameter: based on the character size parameter and text information, render a first sticker barrage containing characters that match the size indicated by the character size parameter.
  • the character size parameter is used to indicate the size of the characters contained in the sticker barrage.
  • the character size parameter includes a length dimension and a width dimension of the character.
  • the size of the character is determined by the length dimension and the width dimension. For example, both the length dimension and the width dimension are expressed in pixel values.
  • the process of obtaining the character size parameter includes: in response to the bullet screen publishing operation, displaying a character size input area in the playback interface, and obtaining the character size parameter input by the user from the character size input.
  • the above seven manners can be combined arbitrarily, for example, any two manners can be combined, any three manners can be combined, and the like.
  • the second method is combined with the third method, based on the color parameter, font parameter and text information, the first sticker barrage with the color corresponding to the color parameter is rendered, and the text in the first sticker barrage is rendered. Information is displayed in the font indicated by this font parameter.
  • the rendered sticker barrage can be displayed in a variety of ways, enriching the display style of the sticker barrage, and realizing the personalized display of the sticker barrage according to the user's choice, which improves the The display effect of sticker barrage.
  • the target template parameter includes a number of characters parameter
  • the process of acquiring the user information includes: in response to the number of characters contained in the reference text information being greater than the number of target characters, determining text information, where the text information is obtained from the reference text information The number of characters extracted from the target number of characters is the number of characters corresponding to the number of characters parameter. In response to the number of characters contained in the reference text information is not greater than the number of target characters, the reference text information is determined as text information.
  • the reference text information includes the currently logged in user account and/or the information input by the user, and the number of characters parameter is used to indicate the number of characters that can be filled in the generated sticker barrage.
  • the currently logged-in user account included in the reference text information is the first user account.
  • the text information to be filled into the sticker barrage is determined by the number of characters contained in the user account and the number of target characters.
  • characters of the target number of characters are extracted and determined as text information.
  • the process of obtaining the parameter of the number of characters includes: in response to the bullet screen publishing operation, displaying a plurality of information filling options in the playback interface, and in response to the triggering operation of any information filling option, obtaining The number of characters parameter corresponding to the information padding option.
  • each filling option is used to indicate a filling template, and different filling options correspond to different filling templates.
  • the target template parameters include a character upper limit parameter, which is used to indicate the maximum number of characters that can be included in the sticker barrage.
  • the process of obtaining the character quantity parameter includes: in response to a trigger operation for any information filling option, determining the number of characters contained in the filling template corresponding to the information filling option, and comparing the number of characters corresponding to the character upper limit parameter with the characters contained in the filling template. The difference between the numbers is determined as the number of characters corresponding to the number of characters parameter.
  • the character upper limit parameter is configured by the current user information, or configured by the administrator of the target template parameter.
  • the number of characters corresponding to the character upper limit parameter is 4, the filling template indicated by any padding option is "Print of XX”, the number of characters indicated by the character quantity parameter corresponding to this padding option is 2; the padding form indicated by any padding option If it is "XXX Seal”, the number of characters indicated by the character quantity parameter corresponding to this filling option is 3; the filling form indicated by any filling option is "X's seal”, and the character quantity indicated by the character quantity parameter corresponding to this filling option is 1 .
  • the first terminal renders the first sticker barrage based on the selected target template parameters and text information.
  • other methods can be adopted to generate the first sticker bullet chat based on the text information.
  • the first terminal sends a bullet screen publishing request to the multimedia server, where the bullet screen publishing request carries the first sticker bullet screen.
  • the multimedia server is a server for managing target multimedia data.
  • a multimedia data application is installed on the first terminal, the multimedia server is a server corresponding to the multimedia data application, and the target multimedia data is multimedia data in the multimedia data application.
  • the first terminal sends the first sticker barrage to the multimedia server, so that the subsequent multimedia server adds the first sticker barrage to the barrage set of the target multimedia data, and sends the barrage to the multimedia server.
  • the collection is sent to the terminal that plays the target multimedia data, so as to realize the release of the sticker barrage.
  • the multimedia server receives the bullet screen publishing request for the target multimedia data sent by the first terminal, obtains the first sticker bullet screen from the bullet screen publishing request, and adds the first sticker bullet screen to the bullet screen set of the target multimedia data , and send the barrage set to the terminal that plays the target multimedia data.
  • the first sticker barrage is carried in the barrage release request, and the barrage collection is used to store the barrage of the target multimedia data.
  • each multimedia data has a barrage set, and after receiving the sticker barrage of any multimedia data, the server adds the first sticker barrage to the barrage set of the multimedia data, and adds the first sticker barrage to the barrage set of the multimedia data.
  • the barrage set is delivered to the terminal that plays the target multimedia data, so that the terminal that plays the target multimedia data displays the sticker barrage in the barrage set, thereby realizing the release of the sticker barrage.
  • step 405 includes: the multimedia server stores the first sticker bullet screen and the bullet screen display position parameters in the bullet screen set correspondingly.
  • the barrage display position parameter is used to indicate the display position of the first sticker barrage.
  • the multimedia server stores the first sticker barrage and the barrage display position parameters in the barrage set, so that after the barrage set is subsequently sent to the terminal that plays the target multimedia data, the terminal can display the barrage display position parameter corresponding to the barrage screen. position, the first sticker barrage is displayed.
  • the barrage display position parameter is sent by the first terminal to the multimedia server.
  • the process of acquiring the barrage display position parameter by the first terminal includes: in response to the barrage publishing operation, determining the barrage display position parameter .
  • the bullet screen position input area is displayed in the playback interface, and the input bullet screen display position parameters are obtained from the bullet screen position input area.
  • the barrage display position parameter includes coordinates, and the coordinates are expressed in the form of pixel values.
  • the indicator in response to the bullet screen publishing operation, the indicator is displayed in the playback interface, the display position of the indicator in the playback interface is adjusted, and in response to the detection of the determination operation on the indicator, the indicator is displayed.
  • the indication mark is any form of mark, for example, a circular mark, a square mark, and the like.
  • the play interface includes a movement control option of the indicator, and a trigger operation of the movement control option controls the movement of the indicator in the play interface to adjust the display position of the indicator in the play interface.
  • a drag operation on the indication mark is detected, and the indication mark is controlled to move in the play interface, so as to adjust the display position of the indication mark in the play interface.
  • step 405 includes: the multimedia server stores the first sticker bullet screen and the bullet screen movement trajectory parameters in the bullet screen set correspondingly middle.
  • the barrage movement track parameter is used to indicate the movement track of the first sticker barrage when displayed on the playback interface.
  • the server stores the first sticker barrage and the barrage movement track parameters in the barrage set, so that after the barrage set is subsequently sent to the terminal that plays the target multimedia data, the terminal can follow the movement track indicated by the barrage movement track parameter. , to control the movement of the first sticker barrage.
  • the barrage movement track parameters are sent by the first terminal to the multimedia server, and the process for the first terminal to obtain the barrage movement track parameters includes the following methods:
  • the first method in response to the bullet screen publishing operation, obtain the display time period of the first sticker bullet screen in the target video, determine the movement trajectory of the target display element in the target video during the display period, and assign the corresponding target display element to the target video.
  • the movement track is determined as the movement track of the first sticker barrage, and the barrage movement track parameters of the movement track are obtained.
  • the target multimedia data is a target video
  • the target display element is any display element in the target video, such as a human face, a license plate, and the like.
  • the display time period is any time period corresponding to the target video, for example, the display time period is the time period from the 5th minute to the 6th minute of the target video.
  • the target display element in response to the bullet screen publishing operation, is selected from a plurality of display elements included in the target video.
  • the movement track of the first sticker barrage is determined by selecting a target display element from a plurality of display elements included in the target video, so as to use the target display element subsequently.
  • the second way In response to the bullet screen publishing operation, obtain the bullet screen movement trajectory parameters.
  • the first terminal detects the bullet screen publishing operation in the playback interface, it can obtain the movement track parameters of the bullet screen.
  • a plurality of movement track options are displayed in the playback interface, and in response to a triggering operation for any movement track option, the bullet screen movement track parameters of the movement track option are acquired.
  • each movement trajectory option refers to a movement trajectory
  • different movement trajectory options refer to different movement trajectories.
  • one movement track option refers to the movement track as a wavy line movement track
  • another movement track option refers to the movement track as a straight line movement track.
  • an indicator in response to a bullet screen publishing operation, an indicator is displayed in the playback interface, a drag operation on the indicator is detected, and according to the movement track of the indicator in the playback interface, Determine the parameters of the bullet screen movement trajectory.
  • the indication mark is any form of mark, for example, a circular mark, a square mark, and the like.
  • the parameters of the bullet screen movement trajectory are sent by the first terminal to the multimedia server, while in another embodiment, the bullet screen movement trajectory parameters are obtained by the multimedia server, that is, The bullet screen publishing request sent by the first terminal to the multimedia server does not carry the bullet screen movement track parameter.
  • step 405 further includes: determining the target display element at the display time For the movement track in the segment, the movement track corresponding to the target display element is determined as the movement track of the first sticker barrage, and the barrage movement track parameters of the first sticker barrage and the movement track are stored in the barrage set.
  • the target display element identifier is used to indicate the target display element in the target video.
  • the multimedia server determines the target display element in the target video through the target display element identifier, and through the target display element and the display time period, can determine the movement track of the target display element in the display time period, thereby determining the first sticker.
  • the movement track of the barrage, and the barrage movement track parameters of the movement track are stored corresponding to the first sticker barrage, so that subsequent terminals can control the movement of the sticker barrage according to the movement track indicated by the barrage movement track parameter.
  • step 405 further includes: the multimedia server stores the playback time point, the bullet screen display duration and the first sticker bullet screen in the bullet screen correspondingly in the collection.
  • the playback time point is any time point within the playback duration of the target multimedia data.
  • the total duration of the target multimedia data is 100 minutes.
  • the target multimedia data is played for 40 minutes.
  • the playback time point is 40 minutes.
  • the barrage display duration is used to indicate the display duration of the sticker barrage.
  • the barrage display duration is any duration, such as 10 seconds, 1 minute, and the like.
  • the server stores the playback time point, the barrage display duration and the first sticker barrage accordingly, so that after the barrage set is subsequently sent to the terminal that plays the target multimedia data, the terminal can display the barrage according to the playback time point and the barrage display duration.
  • the first sticker barrage is
  • the process of acquiring the playback time point and the bullet screen display duration by the first terminal includes: the terminal acquires the current playback time point and the bullet screen display duration of the target multimedia data in response to the bullet screen publishing operation.
  • the first terminal in response to the bullet screen publishing operation, displays the bullet screen display duration input area in the playback interface, and obtains the bullet screen display duration input by the user in the display duration input area.
  • the terminal is playing the target multimedia data, and the terminal detects the bullet screen publishing operation on the playback interface.
  • the playback time point of the target multimedia data is 10 minutes
  • the acquired playback time point is 10 minutes
  • the playback time point is 10 minutes.
  • Displays the bullet screen display duration input area in the Bullet Screen and the user enters the display duration in the bullet screen display duration input area, and the terminal can obtain the bullet screen display duration input by the user from the bullet screen display duration input area.
  • step 405 includes: the multimedia server, in response to the playback request for the target multimedia data sent by the second terminal, sends the target multimedia data and a barrage set of the target multimedia data to the second terminal.
  • the first terminal and the second terminal are terminals capable of playing target multimedia data.
  • the second terminal is a terminal that requests to play target multimedia data, and the second terminal may be the same as the first terminal, or may be different from the first terminal.
  • the first terminal and the second terminal are the same, and in the case where the user accounts logged in the first terminal and the second terminal are different, then The first terminal is different from the second terminal.
  • the multimedia server When the multimedia server receives a playback request for the target multimedia data sent by the second terminal, indicating that the second terminal requests to play the target multimedia data, the multimedia server sends the target multimedia data and the barrage set of the target multimedia data to the second terminal, So that the second terminal can display the sticker barrage in the barrage set while playing the target multimedia data, so as to realize the sharing of the sticker barrage.
  • the barrage release request sent to the multimedia server carries the sticker barrage as an example for description, and in another embodiment, step 402 does not need to be executed -404, the first terminal sends a bullet screen publishing request to the multimedia server, and the bullet screen publishing request carries text information, and the multimedia server receives the bullet screen publishing request for the target multimedia data sent by the first terminal, and carries the bullet screen publishing request based on the bullet screen publishing request.
  • the first sticker barrage is generated, the first sticker barrage is added to the barrage set of the target multimedia data, and the barrage set is sent to the terminal that plays the target multimedia data.
  • the terminal playing the target multimedia data can obtain the first sticker barrage in the barrage set, and display the first sticker barrage in the playback interface of the target multimedia data.
  • the first terminal receives a barrage set sent by a multimedia server, the barrage set includes the first sticker barrage, obtains the first sticker barrage in the barrage set, and displays the first sticker barrage in the playback interface of the target multimedia data.
  • a sticker barrage is a sticker barrage.
  • the bullet screen release request also carries the bullet screen display position parameter and the target template parameter
  • the multimedia server renders the first sticker bullet screen based on the target template parameter and text information
  • the first sticker The barrage and barrage display position parameters are correspondingly stored in the barrage collection.
  • the target template parameters include at least one of color parameters, font parameters, seal engraving parameters, outline shape parameters, and graphic size parameters
  • the first sticker barrage contains text information
  • the display style of the first sticker barrage is the same as the target template. parameters match.
  • the process in which the server renders the first sticker barrage based on the target template parameters and text information is similar to the process in which the first terminal renders the first sticker barrage based on the target template parameters and text information, and will not be repeated here.
  • the bullet screen publishing request also carries the movement trajectory parameters and the target template parameters
  • the multimedia server renders the first sticker bullet screen based on the target template parameters and text information
  • the first sticker bullet screen And the parameters of the movement track are stored in the barrage collection.
  • the target template parameters include at least one of color parameters, font parameters, seal engraving parameters, outline shape parameters, and graphic size parameters, the first sticker barrage contains text information, and the display style of the first sticker barrage is the same as the target template. parameters match.
  • the multimedia server After the multimedia server generates the first sticker barrage, it stores the first sticker barrage in the form of an image corresponding to the image identifier, and when the first terminal publishes the first sticker barrage again, the first terminal sends the barrage to the multimedia server.
  • Bullet screen release request the bullet screen publishing request carries the image identification of the first sticker bullet screen
  • the multimedia server queries the first sticker bullet screen based on the image identification, and adds the image of the first sticker bullet screen to the target multimedia data.
  • the barrage set the barrage set is sent to the terminal that plays the target multimedia data. In this process, there is no need for the multimedia server to generate the sticker barrage again, thus realizing the effect of repeated release of the sticker barrage.
  • the first terminal displays the first sticker barrage at the target display position in the playback interface, or displays the first sticker barrage in the playback interface to move according to the movement track.
  • the target display position refers to the fixed display position of the first sticker barrage in the play interface
  • the movement track refers to the movement track of the first sticker barrage when displayed in the play interface.
  • step 406 includes: determining a target display position of the first sticker barrage in the playback interface, and displaying the first sticker barrage on the target display position. By determining the target display position in the playback interface, the playback interface presents the effect that the sticker barrage is fixedly displayed on the target display position.
  • the first terminal receives a bullet screen set of target multimedia data sent by a multimedia server, where the bullet screen set includes the display position parameter of the bullet screen corresponding to the first sticker bullet screen, then the bullet screen set The position indicated by the display position parameter is determined as the target display position of the first sticker barrage.
  • the target display position corresponding to the display position parameter of the bullet screen represents the position of the center of the first sticker bullet screen.
  • the center of the first sticker bullet screen is the same as the target display position. Repeating, that is, the display of the first sticker barrage at the display position is realized.
  • the barrage display position parameter includes abscissa and ordinate
  • the abscissa and ordinate are used to indicate the position of the center of the first sticker barrage
  • the abscissa and ordinate included in the barrage display position parameter to determine the target display position of the first sticker barrage in the playback interface.
  • both the abscissa and the ordinate are expressed in pixel values.
  • the abscissa and ordinate take any point in the playback interface as the origin, for example, take the upper left corner of the area where the target multimedia data is played in the playback interface as the origin, and obtain the abscissa and ordinate included in the display position parameters of the bullet screen.
  • the step 406 includes: acquiring the movement track of the first sticker barrage, and displaying the first sticker barrage moving according to the movement track in the playback interface. After obtaining the movement track of the first sticker barrage, control the first sticker barrage to move according to the movement track of the first sticker barrage, so that the effect of the first sticker barrage moving according to the movement track is displayed in the playback interface. .
  • the first terminal receives a bullet screen set of target multimedia data sent by a multimedia server, where the bullet screen set includes the bullet screen movement trajectory parameters corresponding to the first sticker bullet screen, and then the bullet screen The movement trajectory indicated by the movement trajectory parameter is determined as the movement trajectory of the first sticker barrage.
  • the first terminal receives a barrage set of target multimedia data sent by a multimedia server, and the barrage set further includes a playback time point and a barrage display duration corresponding to the first sticker barrage.
  • Step 406 includes: : Display the first sticker barrage at the target display position within the barrage display duration after the playback time point; or, within the barrage display duration after the playback time point, display the first sticker barrage to move according to the movement track.
  • the playback interface will be displayed within the time period between 10 minutes and 11 minutes of the target multimedia data.
  • the first sticker barrage is displayed at the target display position in , or the first sticker barrage is displayed to move according to the movement track.
  • the process for the first terminal to obtain the current playback time point of the target multimedia data and the display duration of the bullet screen includes: the first terminal suspends the playback of the target multimedia data in response to the bullet screen publishing operation, and obtains The current playback time point and the barrage display duration of the target multimedia data; then this step 306 includes: continuing to play the target multimedia data, and displaying the first sticker barrage at the target display position within the barrage display duration after the playback time point; Or, continue to play the target multimedia data, and display the first sticker barrage to move according to the movement track within the barrage display duration after the playback time point.
  • the first terminal suspends playing the target multimedia data when publishing the bullet screen, and continues to play the target multimedia data after the bullet screen is successfully released, so that the first terminal can display the target multimedia data within the display time of the bullet screen after the playback time point.
  • the first sticker barrage is displayed at the position, or, within the display time of the barrage after the playback time point, the first sticker barrage is displayed to move according to the movement trajectory, thereby realizing the effect of real-time display of the sticker barrage.
  • the first terminal in response to the first sticker barrage being generated by the first terminal based on text information, can display the generated first sticker barrage in the playback interface, and send a barrage release request to the multimedia server , the barrage release request carries the first sticker barrage, the server receives the barrage release request, adds the first sticker barrage to the barrage set of the target multimedia data, and sends the barrage to the terminal that plays the target multimedia data A screen set, so that the terminal playing the target multimedia data can obtain the first sticker barrage from the barrage set and display it.
  • the first terminal in response to the first sticker bullet screen being generated by the multimedia server based on text information, sends a bullet screen publishing request to the multimedia server, the bullet screen publishing request carries the text information, and the server receives the bullet screen publishing Request, generate a first sticker barrage based on text information, add the first sticker barrage to the barrage set of the target multimedia data, send the barrage set to the terminal that plays the target multimedia data, and the first terminal receives the barrage After the barrage collection is obtained, the first sticker barrage in the barrage collection is obtained, and the first sticker barrage is displayed in the playback interface.
  • the above embodiments are only described by taking the first terminal publishing a sticker barrage for target multimedia data as an example.
  • the terminal plays the target multimedia data in the playback interface and displays the first sticker barrage
  • the terminal can also manage the first sticker barrage displayed on the playback interface.
  • the first terminal in response to the operation of deleting the sticker barrage corresponding to the first user account currently logged in by the first terminal, sends a first barrage deletion request to the multimedia server, and the first barrage deletion request uses requesting the multimedia server to delete the sticker barrage corresponding to the first user account from the barrage set of the target multimedia data.
  • each terminal can manage the sticker barrage published by the currently logged-in user account.
  • the first terminal can delete the sticker barrage corresponding to the first user account logged in by the first terminal.
  • the first bullet screen deletion request carries the first user account or the bullet screen identification corresponding to the first user account, and the bullet screen identification indicates the sticker bullet screen corresponding to the first user account.
  • the multimedia server After receiving the first bullet screen deletion request, the multimedia server responds.
  • the multimedia server deletes the sticker bullet screen corresponding to the first user account from the bullet screen collection of the target multimedia data; in response to the first bullet screen deletion request carrying the first user account For the corresponding bullet screen identification, the multimedia server deletes the sticker bullet screen indicated by the bullet screen identification from the bullet screen collection of the target multimedia data.
  • the first user account currently logged in by the first terminal has the management authority of the target multimedia data; the method for displaying the bullet screen further includes: the first terminal responds to the operation of deleting the sticker bullet screen corresponding to the second user account, Send a second bullet screen deletion request to the multimedia server.
  • the second bullet screen deletion request is used to request the multimedia server to delete the sticker bullet screen corresponding to the second user account from the bullet screen set of the target multimedia data.
  • the sticker barrage corresponding to the target multimedia data can be managed.
  • the second bullet screen deletion request carries the second user account or the bullet screen identification corresponding to the second user account, and the bullet screen identification indicates the sticker bullet screen corresponding to the second user account.
  • the multimedia server After the multimedia server receives the second bullet screen deletion request, in response to the bullet screen publishing request carrying the second user account, the multimedia server deletes the sticker bullet screen corresponding to the second user account from the bullet screen collection of the target multimedia data; in response to The bullet screen release request carries the bullet screen identification of the sticker bullet screen corresponding to the second user account, and the multimedia server deletes the sticker bullet screen indicated by the bullet screen identification from the bullet screen collection of the target multimedia data.
  • the third terminal sends a bullet screen deletion request to the multimedia server in response to the operation of deleting the second sticker bullet screen in the playback interface, and the multimedia server receives the bullet screen deletion of the target multimedia data sent by the third terminal Request to delete the second sticker barrage from the barrage set of the target multimedia data.
  • the bullet screen deletion request carries the second sticker bullet screen, that is, the bullet screen deletion request is used to request the deletion of the second sticker bullet screen, and the second sticker bullet screen is the bullet screen released by the third terminal, and the third terminal It may be the same as the first terminal in the foregoing embodiment, or may be different from the first terminal. If the account logged in by the third terminal is the same as the account logged in by the first terminal, the third terminal is the same as the first terminal; if the account logged in by the third terminal is different from the account logged in by the first terminal, the third terminal Unlike the first terminal. By interacting with the multimedia server, the third terminal can delete the published second sticker barrage, so that the terminal playing the target multimedia data will no longer display the second sticker barrage, thus realizing the synchronization of the deletion of the second sticker barrage. .
  • the third terminal cancels the display of the second sticker barrage. After the server deletes the published second sticker barrage, the terminal that plays the target multimedia data will no longer display the second sticker barrage.
  • the multimedia server deletes the second sticker barrage from the barrage set of the target multimedia data, synchronize the barrage set to the terminal playing the target multimedia data, so that the terminal playing the target multimedia data no longer displays the second sticker barrage.
  • Two sticker barrage so as to realize the synchronization of barrage collection.
  • the terminal logged in with the second user account in response to the operation of deleting the second sticker barrage in the playback interface, sends a barrage deletion request to the multimedia server, and the barrage deletion request is used to request a message from the target multimedia data.
  • the barrage deletion request is used to request a message from the target multimedia data.
  • Delete the sticker barrage corresponding to the second user account from the barrage set and the multimedia server receives the barrage deletion request for the target multimedia data sent by the terminal, and populates the sticker corresponding to the second user account from the barrage set of the target multimedia data. screen delete.
  • the second user account has released a bullet screen to the target multimedia data.
  • the terminal logged in by the second user is the first terminal; in response to the first user account being different from the second user account, the terminal logged in by the second user is the same as the first terminal.
  • a terminal is different.
  • the multimedia server receives a bullet screen deletion request for the target multimedia data sent by a terminal logged in with a second user account, the second user account has the management authority for the target multimedia data, and the bullet screen deletion request carries the third user account , the bullet screen deletion request is used to request to delete the sticker bullet screen corresponding to the third user account from the bullet screen set of the target multimedia data, and the third user account is the account of the terminal that has published the bullet screen for the target multimedia data; In the data barrage collection, delete the sticker barrage corresponding to the third user account.
  • the terminal logged in with the second user account displays the user account list in the playback interface, and in response to the deletion operation on the third user account in the user account list, sends a bullet screen deletion request to the multimedia server, and the multimedia server receives the first
  • the second user account logged in terminal sends the request for the deletion of the bullet screen to the target multimedia data, and deletes the sticker bullet screen corresponding to the third user account from the bullet screen collection of the target multimedia data.
  • the user account list includes the user accounts logged in to the terminal where the target multimedia data has published the bullet screen
  • the bullet screen deletion request carries the third user account or the bullet screen identification corresponding to the third user account
  • the bullet screen identification indicates the third user account
  • the barrage deletion request is used to request to delete the sticker barrage issued by the third user account carried from the barrage set of the target multimedia data.
  • the user information corresponding to the second user account has the management authority of the target multimedia data, wherein the user information is the user information corresponding to the second user account, that is, the second user account has the management authority of the target multimedia data.
  • the terminal logged in by the second user account is a publishing terminal of the target multimedia data, or the terminal logged in by the second user account is a background management terminal.
  • the target multimedia data is data in a multimedia application
  • the terminal logged in by the second user account is the terminal logging in the user information of the administrator of the multimedia application.
  • the terminal logged in with the second user account can delete the sticker barrage published by any user account by interacting with the multimedia server, thereby realizing batch management of the sticker barrage.
  • the bullet screen deletion request carries the user information corresponding to the second user account, the third user account and the target multimedia data identifier, and the multimedia server verifies the user information corresponding to the second user account, In response to determining that the user information corresponding to the second user account has the management authority of the target multimedia data, the sticker barrage corresponding to the third user account is deleted from the barrage set of the target multimedia data.
  • the user information corresponding to the second user account has the management authority of the target multimedia data, that is, the second user account has the management authority of the target multimedia data
  • the user account carried in the barrage deletion request is any third user account.
  • the server verifies the second user account, and in response to determining that the second user account has the management authority of the target multimedia data, from the bullet screen collection of the target multimedia data, the sticker corresponding to the third user account is Barrage deleted.
  • the terminal logged in with the second user account in response to the operation of deleting the second sticker barrage displayed in the playback interface, sends a barrage deletion request to the multimedia server, where the barrage deletion request is used to request to delete the second sticker
  • the multimedia server receives the bullet screen deletion request for the target multimedia data sent by the terminal logged in with the second user account, and deletes the second sticker bullet screen from the bullet screen set of the target multimedia data.
  • the user information logged in by the terminal has the management authority of the target multimedia data, and the user information is also the user information corresponding to the second user account, that is, the second user account has the management authority of the target multimedia data.
  • the barrage deletion request carries the second sticker barrage, or carries the barrage identifier of the second sticker barrage, so as to request the server to delete the second sticker barrage.
  • the terminal can perform a deletion operation on the second sticker barrage of the target multimedia data, so as to realize the management of the barrage set of the target multimedia data.
  • FIG. 5 shows different processes for deleting sticker barrages by different terminals.
  • the third terminal sends a bullet screen deletion request to the multimedia server in response to the deletion operation on the first sticker bullet screen published by the third terminal in the playback interface, and the bullet screen deletion request is used to delete the bullet screen.
  • the multimedia server receives the barrage deletion request for the target multimedia data sent by the third terminal, deletes the first sticker barrage from the barrage set of the target multimedia data, and then plays the target multimedia The first sticker barrage is no longer displayed in the playback interface of the data terminal.
  • the bullet screen deletion request carries the first sticker bullet screen, or carries the bullet screen identifier of the first sticker bullet screen, so as to request the server to delete the first sticker bullet screen.
  • the management terminal is the terminal for issuing the target multimedia data, and the user account logged in by the management terminal has the management authority of the target multimedia data, then the management terminal plays the target multimedia data in the playback interface, and displays the sticker
  • the bullet screen in response to the deletion operation of the second sticker bullet screen, sends a bullet screen deletion request to the multimedia server, the bullet screen deletion request is used to request to delete the selected second sticker bullet screen, and the multimedia server deletes the bullet screen from the target multimedia data. If the second sticker barrage is deleted from the screen set, the sticker barrage is no longer displayed on the playback interface of the terminal that plays the target multimedia data.
  • the bullet screen deletion request carries the selected second sticker bullet screen, or carries the bullet screen identifier of the selected second sticker bullet screen, so as to request the server to delete the selected second sticker bullet screen.
  • the management terminal is a background management terminal, then the management terminal plays the target multimedia data in the playback interface, and displays the user account list, in response to the deletion operation of the second user account in the user account list, Send a bullet screen deletion request to the multimedia server, where the bullet screen deletion request carries the selected second user account, and the multimedia server receives the bullet screen deletion request for the target multimedia data sent by the management terminal, and from the bullet screen collection of the target multimedia data, will If the sticker barrage corresponding to the second user account is deleted, the sticker barrage published by the second user account is no longer displayed on the playback interface of the terminal that plays the target multimedia data.
  • the method provided by the embodiment of the present disclosure provides a sticker barrage, for the multimedia data to be played, a sticker barrage including previously logged in user information and/or information input by the user is released, so that the terminal playing the multimedia data displays the
  • the sticker barrage realizes the personalized display of the sticker barrage, and can display the sticker barrage at the target display position, or display the sticker barrage moving according to the movement trajectory, which enriches the display form of the barrage, thereby improving the screen display effect.
  • stamp graphic sticker barrage is provided.
  • the stamp graphic barrage is a combination of the seal graphic and the sticker barrage to form a sticker barrage displayed with a stamp graphic, which enriches the display form of the barrage, thereby enabling The display effect of the bullet screen has been improved.
  • the sticker barrage when generating the sticker barrage, based on the various parameters and text information included in the target template parameters, the sticker barrage is rendered to ensure the diversity of the sticker barrage and realize the personalized configuration of the sticker barrage, thus enriching the The display form of the sticker barrage.
  • the sticker bullet screen not only retains the display form of the seal, but also highlights the expressive power of the bullet screen, enriches the display form of the bullet screen, and is conducive to promoting the diversity of the bullet screen form. , which enriches the gameplay of the barrage.
  • the process of adding a template identification to the template database as shown in the first process in Figure 6, the system administrator generates a template identification through the background management system, configures template parameters for the template identification, and the template identification and template The parameters are stored correspondingly in the template database.
  • the process of adding template identification to the template identification list of user information the second process shown in Figure 6, the terminal that logs in user information runs a multimedia application, generates template identification based on this multimedia application, and configures template parameters for this template identification , and store the template ID and template parameters in the template ID list.
  • Fig. 7 is a flow chart showing a sticker bullet screen release according to an exemplary embodiment. As shown in Fig. 7 , the flow includes:
  • the first terminal displays a playback interface of the target multimedia data.
  • the first terminal detects the triggering operation of the bullet screen publishing option in the playback interface, stops playing the target multimedia data, and acquires target template parameters, where the target template parameters include a bullet screen display position parameter.
  • the first terminal sends a bullet screen publishing request to the multimedia server, where the bullet screen publishing request carries text information, target template parameters, and bullet screen display position parameters.
  • the multimedia server receives the bullet screen publishing request for the target multimedia data sent by the first terminal, renders a first sticker bullet screen based on the target template and the text information, and corresponds to the first sticker template and the bullet screen display position parameters It is stored in the barrage set of the target multimedia data, and the barrage set is sent to the terminal that plays the target multimedia data.
  • the first terminal continues to play the target multimedia data, and displays the first sticker barrage on the target display position in the playback interface; or, the first terminal continues to play the target multimedia data, and displays the first sticker barrage in the playback interface Move according to the movement trajectory.
  • Fig. 8 is a block diagram of a bullet screen display device according to an exemplary embodiment.
  • the barrage display device includes:
  • a display unit 801 configured to display a playback interface of target multimedia data
  • the sending unit 802 is configured to obtain a first sticker barrage in response to detecting a barrage publishing operation in the playback interface
  • the display unit 801 is further configured to display the first sticker barrage in the play interface.
  • the display unit 801 is configured to display the first sticker barrage at the target display position in the playback interface, or display the first sticker barrage in the playback interface to move according to the movement track.
  • the bullet screen display device further includes:
  • the second determining unit 803 is configured to determine the target display position of the first sticker barrage in the playing interface.
  • the bullet screen display device further includes:
  • the first determining unit 804 is configured to determine the display position parameter of the bullet screen in response to the bullet screen publishing operation
  • the second determining unit 803 includes:
  • the first determination subunit 8031 is configured to determine the position indicated by the barrage display position parameter as the target display position.
  • the first determining unit 804 includes:
  • the first display subunit 8041 is configured to display the bullet screen position input area in the playback interface in response to the bullet screen publishing operation;
  • the extraction subunit 8042 is configured to extract the inputted barrage display position parameter from the barrage position input area.
  • the first determining unit 804 includes:
  • the first display subunit 8041 is configured to display an indicator in the playback interface in response to the bullet screen publishing operation
  • the adjustment subunit 8043 is configured to adjust the display position of the indication mark in the playback interface
  • the second determination subunit 8044 is configured to, in response to detecting the confirmation operation for the indication mark, determine the display position parameter corresponding to the current display position of the indication mark as the display position parameter of the bullet screen.
  • the bullet screen release request carries a bullet screen display position parameter
  • the multimedia server is configured to store the first sticker bullet screen and the bullet screen display position parameter in the bullet screen set correspondingly.
  • the bullet screen display device further includes:
  • the second obtaining unit 805 is configured to obtain the movement track of the first sticker barrage.
  • the bullet screen display device further includes:
  • the first obtaining unit 806 is configured to obtain the display time period of the first sticker barrage in the target video in response to the barrage publishing operation;
  • the second obtaining unit 805 includes:
  • the third determination subunit 8051 is configured to determine the movement track of the target display element in the target video within the display time period
  • the third determining subunit 8051 is further configured to determine the movement trajectory corresponding to the target display element as the movement trajectory of the first sticker barrage.
  • the bullet screen display device further includes:
  • the selecting unit 807 is configured to select a target display element from a plurality of display elements included in the target video in response to the bullet screen publishing operation.
  • the bullet screen display device further includes:
  • the third obtaining unit 808 is configured to obtain the barrage movement track parameters in response to the barrage publishing operation
  • the second obtaining unit 805 includes:
  • the third determination subunit 8051 is configured to determine the movement trajectory indicated by the bullet screen movement trajectory parameter as the movement trajectory of the first sticker bullet screen.
  • the bullet screen release request carries the bullet screen movement trajectory parameters of the first sticker bullet screen
  • the multimedia server is configured to store the first sticker bullet screen and the bullet screen movement trajectory parameters in the bullet screen set correspondingly.
  • the bullet screen display device further includes:
  • the fourth obtaining unit 809 is configured to obtain the current playback time point and the display duration of the target multimedia data in response to the bullet screen publishing operation;
  • the second display subunit 8011 is configured to display the first sticker barrage at the target display position within the barrage display duration after the playback time point; or, within the barrage display duration after the playback time point, display the first sticker barrage A sticker barrage moves according to the movement track.
  • the fourth obtaining unit 809 includes:
  • the acquisition subunit 8091 is configured to pause the playback of the target multimedia data in response to the bullet screen publishing operation, and acquire the current playback time point and the bullet screen display duration of the target multimedia data;
  • the second display subunit 8011 is configured to continue to play the target multimedia data, and display the first sticker barrage at the target display position within the barrage display duration after the playback time point; or, continue to play the target multimedia data, and During the display duration of the bullet screen after the playback time point, the displayed first sticker bullet screen moves according to the movement track.
  • the bullet screen release request carries the playback time point and the bullet screen display duration
  • the multimedia server is configured to store the playback time point, the bullet screen display duration and the first sticker bullet screen in the bullet screen set correspondingly.
  • the sending unit 802 is configured to, in response to a bullet screen publishing operation, send a bullet screen publishing request to the multimedia server; and receive a bullet screen set sent by the multimedia server, where the bullet screen set includes a first sticker bullet screen, the first The sticker barrage is obtained by the multimedia server based on the barrage release request; the first sticker barrage in the barrage collection is obtained.
  • the sending unit 802 includes:
  • the generating subunit 8021 is configured to generate a first sticker bullet screen based on text information in response to the bullet screen publishing operation, and the text information includes user information corresponding to the currently logged-in first user account and/or information input by the user.
  • the sending unit 802 includes:
  • the sending subunit 8022 is configured to send a bullet screen publishing request to the multimedia server, the bullet screen publishing request carries a first sticker bullet screen, and the first sticker bullet screen is added to the bullet screen set of the target multimedia data by the multimedia server, and the bullet screen set Sent by the multimedia server to the terminal that plays the target multimedia data.
  • the generating subunit 8021 is configured to select target template parameters from a plurality of template parameters in response to the bullet screen publishing operation, where the target template parameters include color parameters, font parameters, seal engraving method parameters, and outline shape parameters and at least one of the graphic size parameters; based on the target template parameters and text information, a first sticker barrage is rendered, the first sticker barrage contains text information, and the display style of the first sticker barrage matches the target template parameters.
  • the target template parameter includes a character quantity parameter.
  • the bullet screen display device further includes:
  • the extraction unit 810 is configured to, in response to the number of characters contained in the reference text information corresponding to the first user account being greater than the target number of characters, to extract characters of the target number of characters from the reference text information, and to determine the extracted characters as text information, text
  • the information is that the reference text information includes the user information corresponding to the currently logged in first user account and/or the information input by the user, and the target number of characters is the number of characters indicated by the number of characters parameter;
  • the third determining unit 811 is configured to determine the reference text information as text information in response to the number of characters contained in the reference text information being not greater than the target number of characters.
  • the bullet screen publishing request carries text information
  • the multimedia server is configured to generate a first sticker bullet screen based on the text information, add the first sticker bullet screen to the bullet screen set of the target multimedia data, and send the target multimedia data to playback.
  • the terminal sends the barrage collection.
  • the bullet screen release request also carries a bullet screen display position parameter and a target template parameter
  • the target template parameter includes at least one of a color parameter, a font parameter, a seal engraving method parameter, an outline shape parameter, and a graphic size parameter
  • multimedia The server is used to render the sticker barrage based on the target template parameters and text information.
  • the first sticker barrage contains text information, and the display style of the first sticker barrage matches the target template parameters.
  • the display position parameters are correspondingly stored in the barrage collection.
  • the bullet screen release request also carries a movement trajectory parameter and a target template parameter
  • the target template parameter includes at least one of a color parameter, a font parameter, a seal engraving method parameter, an outline shape parameter, and a graphic size parameter
  • the multimedia server uses Based on the target template parameters and text information, the sticker barrage is rendered, the first sticker barrage contains text information, and the display style of the first sticker barrage matches the target template parameters, and the first sticker barrage and movement track parameters correspond to Stored in the barrage collection.
  • the sending unit 802 is further configured to, in response to an operation of deleting the sticker barrage corresponding to the first user account currently logged in by the first terminal, send a first barrage deletion request to the multimedia server, and the first barrage The screen deletion request is used to request the multimedia server to delete the sticker barrage corresponding to the first user account from the barrage set of the target multimedia data.
  • the user information currently logged in by the first terminal has the management authority of the target multimedia data
  • the sending unit 802 is further configured to, in response to the deletion operation of the sticker barrage corresponding to the second user account, send a second barrage deletion request to the multimedia server, and the second barrage deletion request is used to request the multimedia server to delete the target multimedia data from the target multimedia data.
  • the sticker barrage corresponding to the second user account is deleted from the barrage set of the second user account, and the second user account is the account that logs in to the terminal that has published the barrage of the target multimedia data.
  • the sending unit 802 is further configured to send a bullet screen deletion request to the multimedia server in response to the operation of deleting the first sticker bullet screen in the playback interface, where the bullet screen deletion request is used to request deletion of the first sticker For the bullet screen, the multimedia server is used to delete the first sticker bullet screen from the bullet screen set of the target multimedia data.
  • the display unit 801 is further configured to cancel the display of the first sticker barrage.
  • the currently logged in first user account has the management authority of the target multimedia data
  • the display unit 801 is further configured to display a user account list in the playback interface, where the user account list includes the user accounts logged in by the terminal that has published the bullet screen;
  • the sending unit 802 is further configured to, in response to the deletion operation on the second user account in the user account list, send a bullet screen deletion request to the multimedia server, where the bullet screen deletion request carries the second user account, and the multimedia server is used to delete the target multimedia data from the target multimedia data. Delete the sticker barrage corresponding to the second user account in the barrage collection of .
  • the currently logged in first user account has the management authority of the target multimedia data
  • the sending unit 802 is further configured to send a bullet screen deletion request to the multimedia server in response to an operation for deleting the second sticker bullet screen displayed in the playback interface, where the bullet screen deletion request is used to request to delete the second sticker bullet screen, and the multimedia server It is used to delete the second sticker barrage from the barrage collection of the target multimedia data.
  • Fig. 10 is a block diagram of a bullet screen display device according to an exemplary embodiment.
  • the barrage display device includes:
  • the receiving unit 1001 is configured to receive a bullet screen publishing request for target multimedia data sent by a first terminal, wherein the first terminal is a terminal that plays the target multimedia data;
  • the obtaining unit 1002 is configured to obtain a first sticker barrage based on the barrage release request, where the first sticker barrage includes user information corresponding to the first user account currently logged in by the first terminal and/or information input by the user;
  • the adding unit 1003 is configured to firstly add the sticker barrage to the barrage set of the target multimedia data
  • the sending unit 1004 is configured to send the barrage set to the first terminal.
  • the first sticker barrage is generated by the first terminal based on text information, and the barrage release request carries the first sticker barrage; as shown in FIG. 11 , the obtaining unit 1002 includes:
  • the obtaining subunit 1021 is configured to obtain the first sticker barrage from the barrage publishing request.
  • the bullet screen publishing request carries text information
  • the text information includes user information corresponding to the first user account and/or information input by the user; as shown in FIG. 11 , the obtaining unit 1002 includes:
  • the generating subunit 1022 is configured to generate a first sticker barrage based on the text information.
  • the bullet screen release request also carries a bullet screen display position parameter and a target template parameter
  • the target template parameter includes at least one of a color parameter, a font parameter, a seal engraving method parameter, an outline shape parameter, and a graphic size parameter
  • the subunit 1022 is configured to render a first sticker barrage based on the target template parameters and text information, the first sticker barrage contains text information, and the display style of the first sticker barrage matches the target template parameters.
  • the sending unit 1004 is configured to send the target multimedia data and the barrage set of the target multimedia data to the second terminal in response to the playback request for the target multimedia data sent by the second terminal.
  • the bullet screen publishing request also carries a bullet screen display position parameter
  • the adding unit 1003 is configured to store the first sticker barrage and the barrage display position parameters in the barrage set correspondingly.
  • the bullet screen release request also carries the bullet screen movement track parameters of the first sticker bullet screen
  • the adding unit 1003 is configured to store the first sticker barrage and the barrage movement track parameters of the first sticker barrage in the barrage set.
  • the target multimedia data is the target video
  • the bullet screen publishing request also carries the target display element identifier and the display time period of the sticker barrage in the target video, and the target display element identifier is used to indicate the target display element in the target video.
  • the bullet screen display device further includes:
  • a determining unit 1005 configured to determine the movement track of the target display element within the display time period
  • the determining unit 1005 is further configured to determine the movement trajectory corresponding to the target display element as the movement trajectory of the first sticker barrage;
  • the adding unit 1003 is configured to store the first sticker barrage and the barrage movement track parameters of the movement track in the barrage set in correspondence.
  • the bullet screen release request also carries the playback time point and the bullet screen display duration
  • the adding unit 1003 is configured to store the playback time point, the display duration of the bullet screen and the first sticker bullet screen in the bullet screen set correspondingly.
  • the bullet screen display device further includes:
  • the receiving unit 1001 is further configured to receive a bullet screen deletion request for the target multimedia data sent by the terminal logged in with the second user account, where the bullet screen deletion request is used to request to delete the second user account corresponding to the bullet screen set of the target multimedia data.
  • the deletion unit 1006 is configured to delete the sticker barrage corresponding to the second user account from the barrage set of the target multimedia data.
  • the bullet screen display device further includes:
  • the receiving unit 1001 is further configured to receive a bullet screen deletion request for the target multimedia data sent by a terminal logged in with a second user account, the second user account has management authority for the target multimedia data, and the bullet screen deletion request carries the third user account.
  • the bullet screen deletion request is used to request to delete the sticker bullet screen corresponding to the third user account from the bullet screen set of the target multimedia data, and the third user account is the account logged in to the terminal that has published the bullet screen of the target multimedia data;
  • the deletion unit 1006 is configured to delete the sticker barrage corresponding to the third user account from the barrage set of the target multimedia data.
  • an electronic device is also provided, wherein the electronic device includes:
  • processors one or more processors
  • Volatile or nonvolatile memory for storing one or more processor-executable instructions
  • one or more processors are configured as steps performed by the terminal or server in the above method for displaying a bullet screen.
  • FIG. 12 is a structural block diagram of a terminal 1200 according to an exemplary embodiment.
  • the terminal 1200 may be a portable mobile terminal, such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, a moving picture expert compression standard audio layer 3), an MP4 (Moving Picture Experts Group Audio Layer IV, a dynamic picture expert Video Expert Compresses Standard Audio Layer 4) Player, Laptop or Desktop.
  • the terminal 1200 may also be called a user equipment, a portable terminal, a laptop terminal, a desktop terminal, and the like by other names.
  • the terminal 1200 includes: a processor 1201 and a memory 1202 .
  • the processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
  • the processor 1201 can use at least one hardware form among DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, programmable logic array) accomplish.
  • the processor 1201 may also include a main processor and a coprocessor.
  • the main processor is a processor used to process data in the wake-up state, also called CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor for processing data in a standby state.
  • the processor 1201 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen.
  • the processor 1201 may further include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is used to process computing operations related to machine learning.
  • AI Artificial Intelligence, artificial intelligence
  • Memory 1202 may include one or more computer-readable storage media, which may be non-transitory. Memory 1202 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, a non-transitory computer-readable storage medium in the memory 1202 is used to store at least one piece of program code, and the at least one piece of program code is used to be executed by the processor 1201 to implement the methods provided by the method embodiments of the present disclosure. How to display the bullet screen.
  • the terminal 1200 may further include: a peripheral device interface 1203 and at least one peripheral device.
  • the processor 1201, the memory 1202 and the peripheral device interface 1203 can be connected through a bus or a signal line.
  • Each peripheral device can be connected to the peripheral device interface 1203 through a bus, a signal line or a circuit board.
  • the peripheral device includes at least one of: a radio frequency circuit 1204 , a display screen 1205 , a camera assembly 1206 , an audio circuit 1207 , a positioning assembly 1208 , and a power supply 1209 .
  • the peripheral device interface 1203 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 1201 and the memory 1202 .
  • processor 1201, memory 1202, and peripherals interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one of processor 1201, memory 1202, and peripherals interface 1203 or The two may be implemented on a separate chip or circuit board, which is not limited in this embodiment of the present disclosure.
  • the radio frequency circuit 1204 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
  • the radio frequency circuit 1204 communicates with communication networks and other communication devices via electromagnetic signals.
  • the radio frequency circuit 1204 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • radio frequency circuitry 1204 includes: an antenna system, an RF transceiver, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and the like.
  • the radio frequency circuit 1204 may communicate with other terminals through at least one wireless communication protocol.
  • the wireless communication protocol includes but is not limited to: World Wide Web, Metropolitan Area Network, Intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), wireless local area network and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.
  • the radio frequency circuit 1204 may further include a circuit related to NFC (Near Field Communication, short-range wireless communication), which is not limited in the present disclosure.
  • the display screen 1205 is used for displaying UI (User Interface, user interface).
  • the UI can include graphics, text, icons, video, and any combination thereof.
  • display screen 1205 is a touch display screen, display screen 1205 also has the ability to acquire touch signals on or above the surface of display screen 1205 .
  • the touch signal may be input to the processor 1201 as a control signal for processing.
  • the display screen 1205 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards.
  • the display screen 1205 may be one display screen 1205, which is arranged on the front panel of the terminal 1200; in other embodiments, there may be at least two display screens 1205, which are respectively arranged on different surfaces of the terminal 1200 or in a folded design; In other embodiments, the display screen 1205 may be a flexible display screen, which is disposed on a curved surface or a folding surface of the terminal 1200 . Even, the display screen 1205 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen.
  • the display screen 1205 can be prepared by using materials such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light emitting diode).
  • the camera assembly 1206 is used to capture images or video.
  • camera assembly 1206 includes a front-facing camera and a rear-facing camera.
  • the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal.
  • there are at least two rear cameras which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function, the main camera It is integrated with the wide-angle camera to achieve panoramic shooting and VR (Virtual Reality, virtual reality) shooting functions or other integrated shooting functions.
  • the camera assembly 1206 may also include a flash.
  • the flash can be a single color temperature flash or a dual color temperature flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
  • Audio circuitry 1207 may include a microphone and speakers.
  • the microphone is used to collect the sound waves of the user and the environment, convert the sound waves into electrical signals, and input them to the processor 1201 for processing, or to the radio frequency circuit 1204 to realize voice communication.
  • the microphone may also be an array microphone or an omnidirectional collection microphone.
  • the speaker is used to convert the electrical signal from the processor 1201 or the radio frequency circuit 1204 into sound waves.
  • the loudspeaker can be a traditional thin-film loudspeaker or a piezoelectric ceramic loudspeaker.
  • audio circuitry 1207 may also include a headphone jack.
  • the positioning component 1208 is used to locate the current geographic location of the terminal 1200 to implement navigation or LBS (Location Based Service).
  • the positioning component 1208 may be a positioning component based on the GPS (Global Positioning System, global positioning system) of the United States, the Beidou system of China or the Galileo system of Russia.
  • the power supply 1209 is used to power various components in the terminal 1200 .
  • the power source 1209 may be alternating current, direct current, primary batteries, or rechargeable batteries.
  • the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. Wired rechargeable batteries are batteries that are charged through wired lines, and wireless rechargeable batteries are batteries that are charged through wireless coils.
  • the rechargeable battery can also be used to support fast charging technology.
  • the terminal 1200 also includes one or more sensors 1210 .
  • the one or more sensors 1210 include, but are not limited to, an acceleration sensor 1211 , a gyro sensor 1212 , a pressure sensor 1213 , a fingerprint sensor 1214 , an optical sensor 1215 , and a proximity sensor 1216 .
  • the acceleration sensor 1211 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1200 .
  • the acceleration sensor 1211 can be used to detect the components of the gravitational acceleration on the three coordinate axes.
  • the processor 1201 can control the display screen 1205 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1211 .
  • the acceleration sensor 1211 can also be used for game or user movement data collection.
  • the gyroscope sensor 1212 can detect the body direction and rotation angle of the terminal 1200 , and the gyroscope sensor 1212 can cooperate with the acceleration sensor 1211 to collect 3D actions of the user on the terminal 1200 .
  • the processor 1201 can implement the following functions according to the data collected by the gyro sensor 1212 : motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
  • the pressure sensor 1213 may be disposed on the side frame of the terminal 1200 and/or the lower layer of the display screen 1205 .
  • the pressure sensor 1213 can detect the user's holding signal of the terminal 1200, and the processor 1201 can perform left and right hand identification or shortcut operations according to the holding signal collected by the pressure sensor 1213.
  • the processor 1201 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1205.
  • the operability controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
  • the fingerprint sensor 1214 is used to collect the user's fingerprint, and the processor 1201 identifies the user's identity according to the fingerprint collected by the fingerprint sensor 1214, or the fingerprint sensor 1214 identifies the user's identity according to the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 1201 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings.
  • the fingerprint sensor 1214 may be disposed on the front, back or side of the terminal 1200 . In the case where the terminal 1200 is provided with physical buttons or a manufacturer's logo, the fingerprint sensor 1214 may be integrated with the physical buttons or the manufacturer's logo.
  • Optical sensor 1215 is used to collect ambient light intensity.
  • the processor 1201 can control the display brightness of the display screen 1205 according to the ambient light intensity collected by the optical sensor 1215 . In some embodiments, when the ambient light intensity is high, the display brightness of the display screen 1205 is increased; when the ambient light intensity is low, the display brightness of the display screen 1205 is decreased. In another embodiment, the processor 1201 may also dynamically adjust the shooting parameters of the camera assembly 1206 according to the ambient light intensity collected by the optical sensor 1215 .
  • a proximity sensor 1216 also called a distance sensor, is provided on the front panel of the terminal 1200 .
  • the proximity sensor 1216 is used to collect the distance between the user and the front of the terminal 1200 .
  • the processor 1201 controls the display screen 1205 to switch from the bright screen state to the off screen state;
  • the processor 1201 controls the display screen 1205 to switch from the off-screen state to the bright-screen state.
  • FIG. 12 does not constitute a limitation on the terminal 1200, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.
  • the electronic device is provided as a server.
  • FIG. 13 is a schematic structural diagram of a server according to an exemplary embodiment.
  • the server 1300 may vary greatly due to different configurations or performance, and may include one or more processors (Central Processing Units, CPU) 1301 and one or more memories 1302, wherein at least one piece of program code is stored in the memory 1302, and the at least one piece of program code is loaded and executed by the processor 1301 to implement the methods provided by the above method embodiments.
  • the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface for input and output, and the server may also include other components for implementing device functions, which will not be described here.
  • a non-transitory computer-readable storage medium is also provided, and the program code in the storage medium is executed by the processor of the electronic device, so that the electronic device can execute the terminal or the server in the above-mentioned bullet screen display method. steps to perform.
  • the storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage devices Wait.
  • a computer program product which includes a computer program, and when the computer program is executed by a processor, realizes the above-mentioned method for displaying a bullet screen.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本公开是关于一种弹幕显示方法及电子设备,属于计算机技术领域。方法包括:显示目标多媒体数据的播放界面,响应于在播放界面中检测到弹幕发布操作,获取第一贴纸弹幕,在播放界面中显示第一贴纸弹幕。

Description

弹幕显示方法及电子设备
本公开要求于2020年12月30日提交、申请号为202011614461.X、发明名称为“弹幕显示方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开涉及计算机技术领域,尤其涉及一种弹幕显示方法及电子设备。
背景技术
弹幕是指在播放多媒体数据时在多媒体数据的播放界面弹出的消息,用户可以在观看多媒体数据的过程中发布弹幕,表达自己对该多媒体数据的看法,或者观看其他用户发布的弹幕,从而能使观看相同多媒体数据的用户通过弹幕来进行交流。
发明内容
本公开提供了一种弹幕显示方法及电子设备。
根据本公开实施例的一方面,提供一种弹幕显示方法,由第一终端执行,包括:
显示目标多媒体数据的播放界面;
响应于在所述播放界面中检测到弹幕发布操作,获取第一贴纸弹幕;
在所述播放界面中显示所述第一贴纸弹幕。
在一些实施例中,所述在所述播放界面中显示所述第一贴纸弹幕,包括:
在所述播放界面中的目标显示位置上显示所述第一贴纸弹幕,或者,在所述播放界面中显示所述第一贴纸弹幕按照移动轨迹移动。
在一些实施例中,所述弹幕显示方法还包括:
响应于所述弹幕发布操作,确定弹幕显示位置参数;
将所述弹幕显示位置参数指示的位置,确定为所述目标显示位置。
在一些实施例中,所述响应于所述弹幕发布操作,确定弹幕显示位置参数,包括:
响应于所述弹幕发布操作,在所述播放界面中显示弹幕位置输入区;
从所述弹幕位置输入区中提取输入的所述弹幕显示位置参数。
在一些实施例中,所述响应于所述弹幕发布操作,确定弹幕显示位置参数,包括:
响应于所述弹幕发布操作,在所述播放界面中显示指示标识;
调整所述指示标识在所述播放界面中的显示位置;
响应于检测到对所述指示标识的确认操作,将所述指示标识当前的显示位置对应的显示位置参数,确定为所述弹幕显示位置参数。
在一些实施例中,所述目标多媒体数据为目标视频,所述弹幕显示方法还包括:
响应于所述弹幕发布操作,获取所述第一贴纸弹幕在所述目标视频中的显示时间段;
确定所述目标视频中的目标显示元素在所述显示时间段内的移动轨迹;
将所述目标显示元素对应的移动轨迹,确定为所述第一贴纸弹幕的移动轨迹。
在一些实施例中,所述弹幕显示方法还包括:
响应于所述弹幕发布操作,从所述目标视频包括的多个显示元素中,选取所述目标显示元素。
在一些实施例中,所述弹幕显示方法还包括:
响应于所述弹幕发布操作,获取弹幕移动轨迹参数;
将所述弹幕移动轨迹参数指示的移动轨迹,确定为所述第一贴纸弹幕的移动轨迹。
在一些实施例中,所述弹幕显示方法还包括:
响应于所述弹幕发布操作,获取所述目标多媒体数据当前的播放时间点和弹幕显示时长;
所述在所述播放界面中的目标显示位置上显示所述第一贴纸弹幕,包括:
在所述播放时间点之后的所述弹幕显示时长内,在所述目标显示位置上显示所述第一贴纸弹幕;
所述在所述播放界面中显示所述第一贴纸弹幕按照移动轨迹移动,包括:
在所述播放时间点之后的所述弹幕显示时长内,显示所述第一贴纸弹幕按照所述移动轨迹移动。
在一些实施例中,所述响应于在所述播放界面中检测到弹幕发布操作,获取第一贴纸弹幕,包括:
响应于所述弹幕发布操作,向多媒体服务器发送弹幕发布请求;
接收所述多媒体服务器发送的弹幕集合,所述弹幕集合包括所述第一贴纸弹幕,所述第一贴纸弹幕是所述多媒体服务器基于所述弹幕发布请求获取到的;
获取所述弹幕集合中的所述第一贴纸弹幕。
在一些实施例中,所述响应于在所述播放界面中检测到弹幕发布操作,获取第一贴纸弹幕,包括:
响应于所述弹幕发布操作,基于文本信息生成所述第一贴纸弹幕,所述文本信息包括所述第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息。
在一些实施例中,所述弹幕显示方法还包括:
向多媒体服务器发送弹幕发布请求,所述弹幕发布请求携带所述第一贴纸弹幕,所述第一贴纸弹幕由所述多媒体服务器添加至所述目标多媒体数据的弹幕集合中,所述弹幕集合由所述多媒体服务器发送至播放所述目标多媒体数据的终端。
在一些实施例中,所述响应于所述弹幕发布操作,基于文本信息生成所述第一贴纸弹幕,包括:
响应于所述弹幕发布操作,从多个模板参数中选取目标模板参数,所述目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项;
基于所述目标模板参数及所述文本信息,渲染出所述第一贴纸弹幕,所述第一贴纸弹幕包含所述文本信息,且所述第一贴纸弹幕的显示样式与所述目标模板参数匹配。
在一些实施例中,所述目标模板参数包括字符数量参数,所述弹幕显示方法还包括:
响应于所述第一用户账号对应的参考文本信息包含的字符的数量大于目标字符数量,从所述参考文本信息中提取所述目标字符数量的字符,将提取到的字符确定为所述文本信息,所述参考文本信息包括所述第一终端当前登录的所述第一用户账号对应的用户信息和/或用户输入的信息,所述目标字符数量为所述字符数量参数指示的字符数量;
响应于所述参考文本信息包含的字符的数量不大于所述目标字符数量,将所述参考文本信息,确定为所述文本信息。
在一些实施例中,所述弹幕显示方法还包括:
响应于对所述第一终端当前登录的第一用户账号对应的贴纸弹幕的删除操作,向多媒体服务器发送第一弹幕删除请求,所述第一弹幕删除请求用于请求所述多媒体服务器从所述目标多媒体数据的弹幕集合中删除所述第一用户账号对应的贴纸弹幕。
在一些实施例中,所述第一终端当前登录的第一用户账号具有所述目标多媒体数据的管理权限;所述弹幕显示方法还包括:
响应于对第二用户账号对应的贴纸弹幕的删除操作,向多媒体服务器发送第二弹幕删除请求,所述第二弹幕删除请求用于请求所述多媒体服务器从所述目标多媒体数据的弹幕集合中删除所述第二用户账号对应的贴纸弹幕,所述第二用户账号为对所述目标多媒体数据已发布弹幕的终端登录的账号。
根据本公开实施例的另一方面,提供一种弹幕显示方法,由多媒体服务器执行,所述弹幕显示方法包括:
接收第一终端发送的对目标多媒体数据的弹幕发布请求,所述第一终端为播放所述目标多媒体数据的终端;
基于所述弹幕发布请求,获取第一贴纸弹幕,所述第一贴纸弹幕包括所述第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息;
将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中;
向所述第一终端发送所述弹幕集合。
在一些实施例中,所述第一贴纸弹幕是由所述第一终端基于文本信息生成的,所述文本信息包括所述第一用户账号对应的用户信息和/或用户输入的信息,所述弹幕发布请求携带所述第一贴纸弹幕;所述基于所述弹幕发布请求,获取第一贴纸弹幕,包括:
从所述弹幕发布请求中获取所述第一贴纸弹幕。
在一些实施例中,所述弹幕发布请求携带文本信息,所述文本信息包括所述第一用户账号对应的用户信息和/或用户输入的信息;所述基于所述弹幕发布请求,获取第一贴纸弹幕,包括:
基于所述文本信息生成所述第一贴纸弹幕。
在一些实施例中,所述弹幕发布请求还携带弹幕显示位置参数及目标模板参数,所述目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项;所述基于所述文本信息生成所述第一贴纸弹幕,包括:
基于所述目标模板参数及所述文本信息,渲染出所述第一贴纸弹幕,所述第一贴纸弹幕包含所述文本信息,且所述第一贴纸弹幕的显示样式与所述目标模板参数匹配。
在一些实施例中,所述弹幕显示方法还包括:
响应于第二终端发送的对所述目标多媒体数据的播放请求,向所述第二终端发送所述目标多媒体数据及所述目标多媒体数据的所述弹幕集合。
在一些实施例中,所述弹幕发布请求还携带弹幕显示位置参数;
所述将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中,包括:
将所述第一贴纸弹幕及所述弹幕显示位置参数对应存储于所述弹幕集合中。
在一些实施例中,所述弹幕发布请求还携带所述第一贴纸弹幕的弹幕移动轨迹参数;
所述将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中,包括:
将所述第一贴纸弹幕与所述第一贴纸弹幕的弹幕移动轨迹参数对应存储于所述弹幕集合中。
在一些实施例中,所述目标多媒体数据为目标视频,所述弹幕发布请求还携带目标显示元素标识及所述第一贴纸弹幕在所述目标视频中的显示时间段,所述目标显示元素标识用于指示所述目标视频中的目标显示元素;
所述弹幕显示方法还包括:
确定所述目标显示元素在所述显示时间段内的移动轨迹;
将所述目标显示元素对应的移动轨迹,确定为所述第一贴纸弹幕的移动轨迹;
所述将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中,包括:
将所述第一贴纸弹幕与所述第一贴纸弹幕的移动轨迹的弹幕移动轨迹参数对应存储于所述弹幕集合中。
在一些实施例中,所述弹幕发布请求还携带播放时间点和弹幕显示时长;
所述将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中,包括:
将所述播放时间点、所述弹幕显示时长及所述第一贴纸弹幕对应存储于所述弹幕集合中。
在一些实施例中,所述弹幕显示方法还包括:
接收第二用户账号登录的终端发送的对所述目标多媒体数据的弹幕删除请求,所述弹幕删除请求用于请求从所述目标多媒体数据的弹幕集合中删除所述第二用户账号对应的贴纸弹幕;
从所述目标多媒体数据的弹幕集合中,将所述第二用户账号对应的贴纸弹幕删除。
在一些实施例中,所述弹幕显示方法还包括:
接收第二用户账号登录的终端发送的对目标多媒体数据的弹幕删除请求,所述第二用户账号具有对所述目标多媒体数据的管理权限,所述弹幕删除请求携带第三用户账号,所述弹幕删除请求用于请求从所述目标多媒体数据的弹幕集合中删除所述第三用户账号对应的贴纸弹幕,所述第三用户账号为对所述目标多媒体数据已发布弹幕的终端登录的账号;
从所述目标多媒体数据的弹幕集合中,将所述第三用户账号对应的贴纸弹幕删除。
根据本公开实施例的再一方面,提供一种弹幕显示装置,设置于第一终端,包括:
显示单元,被配置为显示目标多媒体数据的播放界面;
发送单元,被配置为响应于在所述播放界面中检测到弹幕发布操作,获取第一贴纸弹幕;
所述显示单元,还被配置为在所述播放界面中显示所述第一贴纸弹幕。
在一些实施例中,所述显示单元,被配置为在所述播放界面中的目标显示位置上显示所述第一贴纸弹幕,或者,在所述播放界面中显示所述第一贴纸弹幕按照移动轨迹移动。
在一些实施例中,所述弹幕显示装置还包括:
第一确定单元,被配置为响应于所述弹幕发布操作,确定弹幕显示位置参数;
第二确定单元,包括:
第一确定子单元,被配置为将所述弹幕显示位置参数指示的位置,确定为所述目标显示位置。
在一些实施例中,所述第一确定单元,包括:
第一显示子单元,被配置为响应于所述弹幕发布操作,在所述播放界面中显示弹幕位置输入区;
提取子单元,被配置为从所述弹幕位置输入区中提取输入的所述弹幕显示位置参数。
在一些实施例中,所述第一确定单元,包括:
第一显示子单元,被配置为响应于所述弹幕发布操作,在所述播放界面中显示指示标识;
调整子单元,被配置为调整所述指示标识在所述播放界面中的显示位置;
第二确定子单元,被配置为响应于检测到对所述指示标识的确认操作,将所述指示标识当前的显示位置对应的显示位置参数,确定为所述弹幕显示位置参数。
在一些实施例中,所述目标多媒体数据为目标视频,所述弹幕显示装置还包括:
第一获取单元,被配置为响应于所述弹幕发布操作,获取所述第一贴纸弹幕在所述目标视频中的显示时间段;
所述第二获取单元,包括:
第三确定子单元,被配置为确定所述目标视频中的目标显示元素在所述显示时间段内的移动轨迹;
所述第三确定子单元,还被配置为将所述目标显示元素对应的移动轨迹,确定为所述第一贴纸弹幕的移动轨迹。
在一些实施例中,所述弹幕显示装置还包括:
选取单元,被配置为响应于所述弹幕发布操作,从所述目标视频包括的多个显示元素中,选取所述目标显示元素。
在一些实施例中,所述弹幕显示装置还包括:
第三获取单元,被配置为响应于所述弹幕发布操作,获取弹幕移动轨迹参数;
所述第二获取单元,包括:
第三确定子单元,被配置为将所述弹幕移动轨迹参数指示的移动轨迹,确定为所述第一贴纸弹幕的移动轨迹。
在一些实施例中,所述弹幕显示装置还包括:
第四获取单元,被配置为响应于所述弹幕发布操作,获取所述目标多媒体数据当前的播放时间点和弹幕显示时长;
所述显示单元,包括:
第二显示子单元,被配置为在所述播放时间点之后的所述弹幕显示时长内,在所述目标显示位置上显示所述第一贴纸弹幕;或者,
所述第二显示子单元,还被配置为在所述播放时间点之后的所述弹幕显示时长内,显示所述第一贴纸弹幕按照所述移动轨迹移动。
在一些实施例中,所述发送单元,被配置为响应于所述弹幕发布操作,向多媒体服务器发送弹幕发布请求;接收所述多媒体服务器发送的弹幕集合,所述弹幕集合包括所述第一贴纸弹幕,所述第一贴纸弹幕是所述多媒体服务器基于所述弹幕发布请求获取到的;获取所述弹幕集合中的所述第一贴纸弹幕。
在一些实施例中,所述发送单元,包括:
生成子单元,被配置为响应于所述弹幕发布操作,基于文本信息生成所述第一贴纸弹幕,所述文本信息包括所述第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息。
在一些实施例中,所述发送单元,包括:
发送子单元,被配置为向多媒体服务器发送弹幕发布请求,所述弹幕发布请求携带所述第一贴纸弹幕,所述第一贴纸弹幕由所述多媒体服务器添加至所述目标多媒体数据的弹幕集合中,所述弹幕集合由所述多媒体服务器发送至播放所述目标多媒体数据的终端。
在一些实施例中,所述生成子单元,被配置为响应于所述弹幕发布操作,从多个模板参数中选取目标模板参数,所述目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项;基于所述目标模板参数及所述文本信息,渲染出所述第一贴纸弹幕,所述第一贴纸弹幕包含所述文本信息,且所述第一贴纸弹幕的显示样式与所述目标模板参数匹配。
在一些实施例中,所述目标模板参数包括字符数量参数,所述弹幕显示装置还包括:
提取单元,被配置为响应于所述第一用户账号对应的参考文本信息包含的字符的数量大于目标字符数量,从所述参考文本信息中提取所述目标字符数量的字符,将提取到的字符确定为所述文本信息,所述参考文本信息包括所述第一终端当前登录的所述第一用户账号对应的用户信息和/或用户输入的信息,所述目标字符数量为所述字符数量参数指示的字符数量;
第三确定单元,被配置为响应于所述参考文本信息包含的字符的数量不大于所述目标字符数量,将所述参考文本信息,确定为所述文本信息。
在一些实施例中,
所述发送单元,还被配置为响应于对所述第一终端当前登录的第一用户账号对应的贴 纸弹幕的删除操作,向多媒体服务器发送第一弹幕删除请求,所述第一弹幕删除请求用于请求所述多媒体服务器从所述目标多媒体数据的弹幕集合中删除所述第一用户账号对应的贴纸弹幕。
在一些实施例中,所述第一终端当前登录的用户信息具有所述目标多媒体数据的管理权限;
所述发送单元,还被配置为响应于对第二用户账号对应的贴纸弹幕的删除操作,向多媒体服务器发送第二弹幕删除请求,所述第二弹幕删除请求用于请求所述多媒体服务器从所述目标多媒体数据的弹幕集合中删除所述第二用户账号对应的贴纸弹幕,所述第二用户账号为对所述目标多媒体数据已发布弹幕的终端登录的账号。
根据本公开实施例的再一方面,提供一种弹幕显示装置,设置于多媒体服务器,包括:
接收单元,被配置为接收第一终端发送的对目标多媒体数据的弹幕发布请求,其中,所述第一终端为播放所述目标多媒体数据的终端;
获取单元,被配置为基于所述弹幕发布请求,获取第一贴纸弹幕,所述第一贴纸弹幕包括所述第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息;
添加单元,被配置为将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中;
发送单元,被配置为向所述第一终端发送所述弹幕集合。
在一些实施例中,所述第一贴纸弹幕是由所述第一终端基于文本信息生成的,所述文本信息包括所述第一用户账号对应的用户信息和/或用户输入的信息,所述弹幕发布请求携带所述贴纸弹幕;所述获取单元,包括:
获取子单元,被配置为从所述弹幕发布请求中获取所述第一贴纸弹幕。
在一些实施例中,所述弹幕发布请求携带文本信息,所述文本信息包括所述第一用户账号对应的用户信息和/或用户输入的信息;所述获取单元,包括:
生成子单元,被配置为基于所述文本信息生成所述第一贴纸弹幕。
在一些实施例中,所述弹幕发布请求还携带弹幕显示位置参数及目标模板参数,所述目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项;所述生成子单元,被配置为基于所述目标模板参数及所述文本信息,渲染出所述第一贴纸弹幕,所述第一贴纸弹幕包含所述文本信息,且所述第一贴纸弹幕的显示样式与所述目标模板参数匹配。
在一些实施例中,所述发送单元,被配置为响应于第二终端发送的对所述目标多媒体数据的播放请求,向所述第二终端发送所述目标多媒体数据及所述目标多媒体数据的所述弹幕集合。
在一些实施例中,所述弹幕发布请求还携带弹幕显示位置参数;
所述添加单元,被配置为将所述第一贴纸弹幕及所述弹幕显示位置参数对应存储于所述弹幕集合中。
在一些实施例中,所述弹幕发布请求还携带所述第一贴纸弹幕的弹幕移动轨迹参数;
所述添加单元,被配置为将所述第一贴纸弹幕与所述第一贴纸弹幕的弹幕移动轨迹参数对应存储于所述弹幕集合中。
在一些实施例中,所述目标多媒体数据为目标视频,所述弹幕发布请求还携带目标显示元素标识及所述第一贴纸弹幕在所述目标视频中的显示时间段,所述目标显示元素标识用于指示所述目标视频中的目标显示元素;
所述弹幕显示装置还包括:
确定单元,被配置为确定所述目标显示元素在所述显示时间段内的移动轨迹;
所述确定单元,还被配置为将所述目标显示元素对应的移动轨迹,确定为所述第一贴纸弹幕的移动轨迹;
所述添加单元,被配置为将所述第一贴纸弹幕与所述第一贴纸弹幕的移动轨迹的弹幕移动轨迹参数对应存储于所述弹幕集合中。
在一些实施例中,所述弹幕发布请求还携带播放时间点和弹幕显示时长;
所述添加单元,被配置为将所述播放时间点、所述弹幕显示时长及所述第一贴纸弹幕对应存储于所述弹幕集合中。
在一些实施例中,所述弹幕显示装置还包括:
所述接收单元,还被配置为接收第二用户账号登录的终端发送的对所述目标多媒体数据的弹幕删除请求,所述弹幕删除请求用于请求从所述目标多媒体数据的弹幕集合中删除所述第二用户账号对应的贴纸弹幕;
删除单元,被配置为从所述目标多媒体数据的弹幕集合中,将所述第二用户账号对应的贴纸弹幕删除。
在一些实施例中,所述弹幕显示装置还包括:
所述接收单元,还被配置为接收第二用户账号登录的终端发送的对目标多媒体数据的弹幕删除请求,所述第二用户账号具有对所述目标多媒体数据的管理权限,所述弹幕删除请求携带第三用户账号,所述弹幕删除请求用于请求从所述目标多媒体数据的弹幕集合中删除所述第三用户账号对应的贴纸弹幕,所述第三用户账号为对所述目标多媒体数据已发布弹幕的终端登录的账号;
删除单元,被配置为从所述目标多媒体数据的弹幕集合中,将所述第三用户账号对应的贴纸弹幕删除。
根据本公开实施例的再一方面,提供了一种电子设备,所述电子设备包括:
一个或多个处理器;
用于存储所述一个或多个处理器可执行指令的易失性或非易失性存储器;
其中,所述一个或多个处理器被配置为所述指令,实现以下步骤:
显示目标多媒体数据的播放界面;
响应于在所述播放界面中检测到弹幕发布操作,获取第一贴纸弹幕;
在所述播放界面中显示所述第一贴纸弹幕。
根据本公开实施例的再一方面,提供了一种电子设备,所述电子设备包括:
一个或多个处理器;
用于存储所述一个或多个处理器可执行指令的易失性或非易失性存储器;
其中,所述一个或多个处理器被配置为所述指令,实现以下步骤:
接收第一终端发送的对目标多媒体数据的弹幕发布请求,其中,所述第一终端为播放所述目标多媒体数据的终端;
基于所述弹幕发布请求,获取第一贴纸弹幕,所述第一贴纸弹幕包括所述第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息;
将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中;
向所述第一终端发送所述弹幕集合。
根据本公开实施例的再一方面,提供一种非临时性计算机可读存储介质,所述存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行以下步骤:
显示目标多媒体数据的播放界面;
响应于在所述播放界面中检测到弹幕发布操作,获取第一贴纸弹幕;
在所述播放界面中显示所述第一贴纸弹幕。
根据本公开实施例的再一方面,提供一种非临时性计算机可读存储介质,所述存储介质中的指令由电子设备的处理器执行,使得电子设备能够执行以下步骤:
接收第一终端发送的对目标多媒体数据的弹幕发布请求,其中,所述第一终端为播放所述目标多媒体数据的终端;
基于所述弹幕发布请求,获取第一贴纸弹幕,所述第一贴纸弹幕包括所述第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息;
将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中;
向所述第一终端发送所述弹幕集合。
根据本公开实施例的再一方面,提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时,实现以下步骤:
显示目标多媒体数据的播放界面;
响应于在所述播放界面中检测到弹幕发布操作,获取第一贴纸弹幕;
在所述播放界面中显示所述第一贴纸弹幕。
根据本公开实施例的再一方面,提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时,实现以下步骤:
接收第一终端发送的对目标多媒体数据的弹幕发布请求,其中,所述第一终端为播放所述目标多媒体数据的终端;
基于所述弹幕发布请求,获取第一贴纸弹幕,所述第一贴纸弹幕包括所述第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息;
将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中;
向所述第一终端发送所述弹幕集合。
附图说明
图1是根据一示例性实施例示出的一种实施环境的示意图。
图2是根据一示例性实施例示出的一种弹幕显示方法的流程图。
图3是根据一示例性实施例示出的一种弹幕显示方法的流程图。
图4是根据一示例性实施例示出的一种弹幕显示方法的流程图。
图5是根据一示例性实施例示出的一种删除贴纸弹幕的流程图。
图6是根据一示例性实施例示出的一种添加模板标识的流程图。
图7是根据一示例性实施例示出的一种贴纸弹幕发布的流程图。
图8是根据一示例性实施例示出的一种弹幕显示装置的框图。
图9是根据一示例性实施例示出的一种弹幕显示装置的框图。
图10是根据一示例性实施例示出的一种弹幕显示装置的框图。
图11是根据一示例性实施例示出的一种弹幕显示装置的框图。
图12是根据一示例性实施例示出的一种终端的框图。
图13是根据一示例性实施例示出的一种服务器的框图。
具体实施方式
图1是根据一示例性实施例提供的一种实施环境的示意图,该实施环境包括:多个终端101和多媒体服务器102,每个终端101与多媒体服务器102之间建立网络连接,通过该网络连接终端101与多媒体服务器102能够进行交互。
其中,该终端101为手机、平板电脑、计算机等多种类型的终端,该多媒体服务器102为一台服务器,或者由若干服务器组成的服务器集群,或者是一个云计算服务中心。
在本公开实施例中,每个终端101基于登录的账号,能够与服务器102进行交互。每个终端101用于在播放界面中播放多媒体数据,并显示发布的贴纸弹幕,该贴纸弹幕为以贴纸形式显示的弹幕,每个终端101还能够针对播放的多媒体数据发布贴纸弹幕。多媒体服务器102用于管理多媒体数据的弹幕集合,并能够将多媒体数据的弹幕集合下发至播放多媒体数据的终端。
例如,直播场景下:
终端基于账号登录直播间,在播放界面中播放直播视频,通过本公开实施例提供的方法,针对该直播视频,直播服务器将贴纸弹幕发布至播放直播视频的终端,则播放直播视频的终端在目标显示位置上显示该贴纸弹幕,或者,显示贴纸弹幕按照移动轨迹移动,使得直播间的用户均能够查看到该贴纸弹幕,从而实现了直播间中用户之间的交流。
例如,视频播放场景下:
终端运行视频应用,在播放界面中播放目标视频,通过本公开实施例提供的方法,针对该目标视频,视频服务器将贴纸弹幕发送至播放目标视频的终端中,则播放目标视频的终端在目标显示位置上显示该贴纸弹幕,或者,显示贴纸弹幕按照移动轨迹移动,从而实现了观看相同视频的用户之间的交流。
图2是根据一示例性实施例示出的一种弹幕显示方法的流程图,参见图2,该方法由第一终端执行,包括以下步骤:
201、第一终端显示目标多媒体数据的播放界面。
其中,多媒体数据是任意形式的数据,终端通过播放界面能够播放该目标多媒体数据,供用户观看。
202、第一终端响应于在播放界面中检测的弹幕发布操作,获取第一贴纸弹幕。
其中,弹幕发布操作用于表示表示发布贴纸弹幕的操作,第一贴纸弹幕是以贴纸形式显示的弹幕。响应于检测到弹幕发布操作,表示第一终端登录的用户账号想要发布弹幕,则获取第一贴纸弹幕,以便后续进行显示。
203、第一终端在播放界面中显示第一贴纸弹幕。
本公开实施例提供的方法,提供了一种贴纸弹幕,以贴纸的形式进行显示,丰富了弹幕的显示形式,提升了弹幕的显示效果。
本公开实施例提供的方法,提供了一种贴纸弹幕,针对播放的多媒体数据,发布包括前登录的第一用户账号对应的用户信息和/或用户输入的信息的贴纸弹幕,使得播放该多媒体数据的终端显示该贴纸弹幕,实现了贴纸弹幕的个性化显示,并且,能够在目标显示位置上显示贴纸弹幕,或者,显示贴纸弹幕按照移动轨迹移动,丰富了弹幕的显示形式,从而提升了弹幕的显示效果。
在一些实施例中,在播放界面中显示第一贴纸弹幕,包括:
在播放界面中的目标显示位置上显示第一贴纸弹幕,或者,在播放界面中显示第一贴纸弹幕按照移动轨迹移动。
在一些实施例中,弹幕显示方法还包括:
确定第一贴纸弹幕在播放界面中的目标显示位置。
在一些实施例中,弹幕显示方法还包括:
响应于弹幕发布操作,确定弹幕显示位置参数;
确定第一贴纸弹幕在播放界面中的目标显示位置,包括:
将弹幕显示位置参数指示的位置,确定为目标显示位置。
在一些实施例中,响应于弹幕发布操作,确定弹幕显示位置参数,包括:
响应于弹幕发布操作,在播放界面中显示弹幕位置输入区;
从弹幕位置输入区中提取输入的弹幕显示位置参数。
在一些实施例中,响应于弹幕发布操作,确定弹幕显示位置参数,包括:
响应于弹幕发布操作,在播放界面中显示指示标识;
调整指示标识在播放界面中的显示位置;
响应于检测到对指示标识的确认操作,将指示标识当前的显示位置对应的显示位置参数,确定为弹幕显示位置参数。
在一些实施例中,弹幕发布请求携带弹幕显示位置参数,多媒体服务器用于将第一贴纸弹幕及弹幕显示位置参数对应存储于弹幕集合中。
在一些实施例中,弹幕显示方法还包括:
获取第一贴纸弹幕的移动轨迹。
在一些实施例中,目标多媒体数据为目标视频,弹幕显示方法还包括:
响应于弹幕发布操作,获取第一贴纸弹幕在目标视频中的显示时间段;
获取第一贴纸弹幕的移动轨迹,包括:
确定目标视频中的目标显示元素在显示时间段内的移动轨迹;
将目标显示元素对应的移动轨迹,确定为第一贴纸弹幕的移动轨迹。
在一些实施例中,弹幕显示方法还包括:
响应于弹幕发布操作,从目标视频包括的多个显示元素中,选取目标显示元素。
在一些实施例中,弹幕显示方法还包括:
响应于弹幕发布操作,获取弹幕移动轨迹参数;
获取第一贴纸弹幕的移动轨迹,包括:
将弹幕移动轨迹参数指示的移动轨迹,确定为第一贴纸弹幕的移动轨迹。
在一些实施例中,弹幕发布请求携带第一贴纸弹幕的弹幕移动轨迹参数,多媒体服务器用于将第一贴纸弹幕及弹幕移动轨迹参数对应存储于弹幕集合中。
在一些实施例中,弹幕显示方法还包括:
响应于弹幕发布操作,获取目标多媒体数据当前的播放时间点和弹幕显示时长;
在播放界面中的目标显示位置上显示第一贴纸弹幕,包括:
在播放时间点之后的弹幕显示时长内,在目标显示位置上显示第一贴纸弹幕;
在播放界面中显示第一贴纸弹幕按照移动轨迹移动,包括:
在播放时间点之后的弹幕显示时长内,显示第一贴纸弹幕按照移动轨迹移动。
在一些实施例中,响应于弹幕发布操作,获取目标多媒体数据当前的播放时间点和弹幕显示时长,包括:
响应于弹幕发布操作,暂停播放目标多媒体数据,获取目标多媒体数据当前的播放时间点和弹幕显示时长;
在播放时间点之后的弹幕显示时长内,在目标显示位置上显示第一贴纸弹幕,包括:
继续播放目标多媒体数据,在播放时间点之后的弹幕显示时长内,在目标显示位置上显示第一贴纸弹幕;
在播放界面中显示第一贴纸弹幕按照移动轨迹移动,包括:
继续播放目标多媒体数据,在播放时间点之后的弹幕显示时长内,显示贴纸弹幕按照移动轨迹移动。
在一些实施例中,弹幕发布请求携带播放时间点和弹幕显示时长,多媒体服务器用于将播放时间点、弹幕显示时长及第一贴纸弹幕对应存储于弹幕集合中。
在一些实施例中,响应于在播放界面中检测到弹幕发布操作,获取第一贴纸弹幕,包括:
响应于弹幕发布操作,向多媒体服务器发送弹幕发布请求;
接收多媒体服务器发送的弹幕集合,弹幕集合包括第一贴纸弹幕,第一贴纸弹幕是多 媒体服务器基于弹幕发布请求获取到的;
获取弹幕集合中的第一贴纸弹幕。
在一些实施例中,响应于在播放界面中检测的弹幕发布操作,获取第一贴纸弹幕,包括:
响应于弹幕发布操作,基于文本信息生成第一贴纸弹幕,文本信息包括当前登录的第一用户账号对应的用户信息和/或用户输入的信息。
在一些实施例中,弹幕显示方法还包括:
向多媒体服务器发送弹幕发布请求,弹幕发布请求携带第一贴纸弹幕,第一贴纸弹幕由多媒体服务器添加至目标多媒体数据的弹幕集合中,弹幕集合由多媒体服务器发送至播放目标多媒体数据的终端。
在一些实施例中,响应于弹幕发布操作,基于文本信息生成第一贴纸弹幕,包括:
响应于弹幕发布操作,从多个模板参数中选取目标模板参数,目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项;
基于目标模板参数及文本信息,渲染出第一贴纸弹幕,第一贴纸弹幕包含文本信息,且第一贴纸弹幕的显示样式与目标模板参数匹配。
在一些实施例中,目标模板参数包括字符数量参数,弹幕显示方法还包括:
响应于第一用户账号对应的参考文本信息包含的字符的数量大于目标字符数量,从参考文本信息中提取目标字符数量的字符,将提取到的字符确定为文本信息,文本信息包括第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息,目标字符数量为字符数量参数指示的字符数量;
响应于参考文本信息包含的字符的数量不大于目标字符数量,将参考文本信息,确定为文本信息。
在一些实施例中,弹幕发布请求携带文本信息,多媒体服务器用于基于文本信息生成第一贴纸弹幕,将第一贴纸弹幕添加至目标多媒体数据的弹幕集合中,向播放目标多媒体数据的终端发送弹幕集合。
在一些实施例中,弹幕发布请求还携带弹幕显示位置参数及目标模板参数,目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项;多媒体服务器用于基于目标模板参数及文本信息,渲染出第一贴纸弹幕,第一贴纸弹幕包含文本信息,且第一贴纸弹幕的显示样式与目标模板参数匹配,将第一贴纸弹幕及弹幕显示位置参数对应存储于弹幕集合中。
在一些实施例中,弹幕发布请求还携带移动轨迹参数及目标模板参数,目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项;多媒体服务器用于基于目标模板参数及文本信息,渲染出第一贴纸弹幕,第一贴纸弹幕包含文本信息,且第一贴纸弹幕的显示样式与目标模板参数匹配,将第一贴纸弹幕及移动轨迹参数对应存储于弹幕集合中。
在一些实施例中,弹幕显示方法还包括:
响应于所述第一终端当前登录的第一用户账号对应的贴纸弹幕的删除操作,向多媒体服务器发送第一弹幕删除请求,第一弹幕删除请求用于请求多媒体服务器从目标多媒体数据的弹幕集合中删除第一用户账号对应的贴纸弹幕,多媒体服务器用于从目标多媒体数据的弹幕集合中将第一贴纸弹幕删除。
在一些实施例中,第一终端当前登录的第一用户账号具有目标多媒体数据的管理权限;弹幕显示方法还包括:
响应于对第二用户账号对应的贴纸弹幕的删除操作,向多媒体服务器发送第二弹幕删除请求,第二弹幕删除请求用于请求多媒体服务器从目标多媒体数据的弹幕集合中删除第二用户账号对应的贴纸弹幕,第二用户账号为对目标多媒体数据已发布弹幕的终端登录的 账号。
图3是根据一示例性实施例示出的一种弹幕显示方法的流程图,参见图3,该方法由多媒体服务器执行,包括以下步骤:
301、多媒体服务器接收第一终端发送的对目标多媒体数据的弹幕发布请求,其中第一终端为播放目标多媒体数据的终端。
302、多媒体服务器基于弹幕发布请求,获取第一贴纸弹幕,第一贴纸弹幕包括第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息。
303、多媒体服务器将第一贴纸弹幕添加至目标多媒体数据的弹幕集合中。
304、多媒体服务器向第一终端发送弹幕集合。
本公开实施例提供的方法,提供了一种贴纸弹幕,针对播放的多媒体数据,发布包括前登录的第一用户账号对应的用户信息和/或用户输入的信息的贴纸弹幕,使得播放该多媒体数据的终端显示该贴纸弹幕,实现了贴纸弹幕的个性化显示,并且,能够在目标显示位置上显示贴纸弹幕,或者,显示贴纸弹幕按照移动轨迹移动,丰富了弹幕的显示形式,从而提升了弹幕的显示效果。
在一些实施例中,第一贴纸弹幕是由第一终端基于文本信息生成的,文本信息包括第一用户账号对应的用户信息和/或用户输入的信息,弹幕发布请求携带贴纸弹幕;基于弹幕发布请求,获取第一贴纸弹幕,包括:
从弹幕发布请求中获取第一贴纸弹幕。
在一些实施例中,弹幕发布请求携带文本信息,文本信息包括第一用户账号对应的用户信息和/或用户输入的信息;基于弹幕发布请求,获取第一贴纸弹幕,包括:
基于文本信息生成第一贴纸弹幕。
在一些实施例中,弹幕发布请求还携带弹幕显示位置参数及目标模板参数,目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项;基于文本信息生成第一贴纸弹幕,包括:
基于目标模板参数及文本信息,渲染出第一贴纸弹幕,第一贴纸弹幕包含文本信息,且第一贴纸弹幕的显示样式与目标模板参数匹配。
在一些实施例中,弹幕显示方法还包括:
响应于第二终端发送的对目标多媒体数据的播放请求,向第二终端发送目标多媒体数据及目标多媒体数据的弹幕集合。
在一些实施例中,弹幕发布请求还携带弹幕显示位置参数;
将第一贴纸弹幕添加至目标多媒体数据的弹幕集合中,包括:
将第一贴纸弹幕及弹幕显示位置参数对应存储于弹幕集合中。
在一些实施例中,弹幕发布请求还携带贴纸弹幕的弹幕移动轨迹参数;
将第一贴纸弹幕添加至目标多媒体数据的弹幕集合中,包括:
将第一贴纸弹幕与第一贴纸弹幕的弹幕移动轨迹参数对应存储于弹幕集合中。
在一些实施例中,目标多媒体数据为目标视频,弹幕发布请求还携带目标显示元素标识及第一贴纸弹幕在目标视频中的显示时间段,目标显示元素标识用于指示目标视频中的目标显示元素;
弹幕显示方法还包括:
确定目标显示元素在显示时间段内的移动轨迹;
将目标显示元素对应的移动轨迹,确定为第一贴纸弹幕的移动轨迹;
将第一贴纸弹幕添加至目标多媒体数据的弹幕集合中,包括:
将第一贴纸弹幕与第一贴纸弹幕的移动轨迹的弹幕移动轨迹参数对应存储于弹幕集合中。
在一些实施例中,弹幕发布请求还携带播放时间点和弹幕显示时长;
将第一贴纸弹幕添加至目标多媒体数据的弹幕集合中,包括:
将播放时间点、弹幕显示时长及第一贴纸弹幕对应存储于弹幕集合中。
在一些实施例中,弹幕显示方法还包括:
接收第二用户账号登录的终端发送的对目标多媒体数据的弹幕删除请求,弹幕删除请求用于请求从目标多媒体数据的弹幕集合中删除第二用户账号对应的贴纸弹幕;
从目标多媒体数据的弹幕集合中,将第二用户账号对应的贴纸弹幕删除。
在一些实施例中,弹幕显示方法还包括:
接收第二用户账号登录的终端发送的对目标多媒体数据的弹幕删除请求,第二用户账号具有对目标多媒体数据的管理权限,弹幕删除请求携带第三用户账号,弹幕删除请求用于请求从目标多媒体数据的弹幕集合中删除第三用户账号对应的贴纸弹幕,第三用户账号为对目标多媒体数据已发布弹幕的终端登录的账号;
从目标多媒体数据的弹幕集合中,将第三用户账号对应的贴纸弹幕删除。
图4是根据一示例性实施例示出的一种弹幕显示方法的流程图,参见图4,该方法的交互主体包括第一终端和多媒体服务器,该弹幕显示方法包括以下步骤:
401、第一终端显示目标多媒体数据的播放界面。
其中,目标多媒体数据是供用户观看的数据,在一些实施例中,该目标多媒体数据为视频数据、音频数据或者图片数据等。该播放界面为播放多媒体数据的界面,终端能够在该播放界面中播放目标多媒体数据,以使用户能够观看播放的多媒体数据。
在一些实施例中,播放界面包括数据播放窗口,在该数据播放窗口中播放目标多媒体数据。其中,该数据播放窗口包括播放界面的部分区域。
在一些实施例中,第一终端安装有目标应用,该目标多媒体数据为该目标应用中的数据,该播放界面为该目标应用提供的显示界面。
402、第一终端响应于在播放界面中检测的弹幕发布操作,从多个模板参数中选取目标模板参数。
其中,弹幕发布操作用于表示发布贴纸弹幕的操作。每个模板参数用于指示贴纸弹幕的一种显示样式,不同的模板参数对应的显示样式不同,该目标模板参数为多个模板参数中的任一模板参数,该目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项,至少一项是指上述多项参数中的一项或多项,例如,目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中的任一项,或者,目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中的两项或两项以上。通过从多个模板参数中选取的目标模板参数,后续能够生成显示样式与该目标模板参数匹配的贴纸弹幕。
在一些实施例中,播放界面包括弹幕发布选项,则该步骤402包括:响应于检测到对该弹幕发布选项的触发操作,从多个模板参数中选取目标模板参数。其中,弹幕发布选项为弹幕发布按钮、弹幕滑动条等。
在一些实施例中,该步骤402包括:响应于弹幕发布操作,显示模板标识列表,响应于对模板标识列表中目标模板标识的触发操作,获取目标模板标识的目标模板参数。
其中,模板标识列表包括至少一个模板标识,每个模板标识指代一个模板参数。通过显示模板标识列表包括的模板标识,在选择目标模板标识后,获取该目标模板标识的目标模板参数,以使后续生成显示样式与目标模板参数匹配的贴纸弹幕。
在上述实施例的一种实现方式中,播放界面包括弹幕发布选项,则响应于对该弹幕发布选项的触发操作,显示模板标识列表。
在上述实施例的一种实现方式中,该模板标识列表为当前登录的用户信息的列表,该 模板标识列表中的模板标识指代的模板参数,为当前登录的用户信息拥有的模板参数。其中,用户信息也即是第一用户账号对应的用户信息,即该模板标识列表为当前登录的第一用户账号的列表。
例如,在模板标识列表中添加模板标识的过程,包括:显示模板数据库,该模板数据库包括多个模板标识,响应于对任一模板标识的添加操作,将该模板标识添加至模板标识列表中。
其中,模板数据库是由多媒体服务器提供的。通过从多媒体服务器提供的模板数据库中,将选取的模板标识添加至第一用户账号的模板标识列表中,以便后续能够在该模板标识列表选取模板标识。
例如,模板数据库包括的每个模板标识对应有资源数量;则响应于对任一模板标识的添加操作,向多媒体服务器发送标识添加请求,该标识添加请求携带当前登录的第一用户账号及该模板标识,多媒体服务器从该用户信息对应的资源账户中转出与该模板标识对应的资源数量相同的资源,将该模板标识添加至该用户信息的模板标识列表中。
在上述实施例的一种实现方式中,该模板标识列表为多媒体服务器提供的列表。多媒体服务器提供的模板标识列表,供多个用户信息使用,以使多个用户信息均能够从该模板标识列表中选取模板标识,后续通过选取的模板标识生成贴纸弹幕。其中,多个用户信息分别用于表示多个用户账号,即服务器提供的模板标识列表供多个用户账号使用。
在上述实施例的一种实现方式中,模板标识列表包括多个模板标识,在该模板标识列表中,多个模板标识按照模板标识的选用次数由大到小的顺序显示。例如,在多个模板标识中,模板标识的选用次数越大,则该模板标识在模板标识列表中的排列顺序越靠前;模板标识的选用次数越小,则该模板标识在模板标识列表中的排列顺序越靠后。
例如,在该模板标识列表为当前登录的第一用户账号拥有的列表的情况下,该模板标识列表中任一模板标识的选用次数为该第一用户账号选用该模板标识的次数;在该模板标识列表为多媒体服务器提供的列表的情况下,该模板标识列表中任一模板标识的选用次数是多个用户账号选用该模板标识的总次数。
403、第一终端基于目标模板参数及文本信息,渲染出第一贴纸弹幕。
其中,该第一贴纸弹幕是以贴纸形式显示的弹幕,在该第一贴纸弹幕显示时,以贴纸的形式显示在播放界面中。该第一贴纸弹幕包括文本信息,且该第一贴纸弹幕的显示样式与目标模板参数匹配。该文本信息包括当前登录的用户信息和/或用户输入的信息,用户信息是表示用户身份的信息,该用户信息也即是第一用户账号对应的用户信息,即文本信息包括当前登录的第一用户账号对应的用户信息和/或用户输入的信息。例如,该用户信息为用户账号、部分用户账号、用户昵称、或部分用户昵称等。其中,部分用户账号为用户账号中的一部分,部分用户昵称为用户昵称中的一部分,例如,用户账号包括8个字符,部分用户账号包括该8个字符中的第一数量个字符,该第一数量为小于8的整数,如,第一数量为1、3或5等;用户昵称包括10个字符,部分用户昵称包括该10个字符中的第二数量个字符,该第二数量为小于10的整数,如,第二数量为1、3或5等。
在一些实施例中,该第一贴纸弹幕是以***图形显示的,即第一贴纸弹幕为***图形贴纸弹幕,***图形包含文本信息。在一些实施例中,该第一贴纸弹幕包括文本信息及图案,在该第一贴纸弹幕中除了文本信息及图案的显示区域外,该第一贴纸弹幕中的其他区域透明显示。
由于目标模板参数用于指示贴纸弹幕的显示样式,文本信息包括当前登录的第一用户账号对应的用户信息和/或用户输入的信息,则基于目标模板参数及文本信息,使渲染出的第一贴纸弹幕的显示样式与目标模板参数相匹配,且该第一贴纸弹幕包含文本信息,实现了该第一贴纸弹幕的个性化,能够突出该第一贴纸弹幕的独特性。
在一些实施例中,该步骤403包括以下七种方式:
第一种方式:生成显示样式与目标模板参数匹配的模板图形,在模板图形中填充文本信息,得到该贴纸弹幕。
其中,模板图形是一种***形式的图形,在一些实施例中,该模板图形为***模板图形,该***模板图形是一种***形式的图形。通过在模板图形中填充文本信息,使得该第一贴纸弹幕包含该文本信息,且该第一贴纸弹幕的显示样式与目标模板参数匹配,实现了贴纸弹幕的个性化配置。
在一些实施例中,该模板图形包括至少一个字符填充位置,则第一种方式包括:将文本信息中的字符填充在字符填充位置上,得到该贴纸弹幕。
其中,至少一个包括一个或多个,至少一个字符填充位置包括一个字符填充位置,或,两个或两个以上的字符填充位置。
在上述实施例的一种实现方式中,字符填充位置表示填充字符的中心位置,则在将字符填充在字符填充位置时,将字符的中心与该字符填充位置重合,得到贴纸弹幕。例如,该字符填充位置用坐标表示,该坐标以像素值的形式表示,按照字符填充位置的坐标,将字符填充在对应的位置上,即可得到贴纸弹幕。
第二种方式,目标模板参数包括颜色参数:按照颜色参数对应的颜色,将文本信息渲染成具有颜色的贴纸弹幕。
其中,颜色参数用于指示贴纸弹幕的显示颜色。例如,该颜色参数对应的颜色为红色,则生成的贴纸弹幕为红色;颜色参数对应的颜色为绿色,则生成的贴纸弹幕为绿色。基于颜色参数对应的颜色,使渲染出的第一贴纸弹幕按照该颜色参数对应的颜色进行显示,且该第一贴纸弹幕包含文本信息,实现了第一贴纸弹幕的个性化配置。
在一些实施例中,获取颜色参数的过程包括:响应于弹幕发布操作,在播放界面中显示多个颜色选项,响应于对任一颜色选项的触发操作,得到该颜色选项对应的颜色参数。其中,每个颜色选项对应一种颜色,不同的颜色选项对应的颜色不同。该颜色选项为按钮或者滑动条等。
第三种方式,目标模板参数包括字体参数:基于字体参数及文本信息,渲染出第一贴纸弹幕。
其中,字体参数用于指示贴纸弹幕中文本信息的显示的字体。例如,该字体参数对应的字体为楷体,则生成的贴纸弹幕中的文本信息按照楷体显示;该字体参数对应的字体为宋体,则生成的贴纸弹幕中的文本信息按照宋体显示。基于字体参数及文本信息,使渲染出的第一贴纸弹幕中的文本信息按照该字体参数对应的字体进行显示。
在一些实施例中,获取字体参数的过程包括:响应于弹幕发布操作,在播放界面中显示多个字体选项,响应于对任一字体选项的触发操作,得到该字体选项对应的字体参数。其中,每个字体选项对应一种字体,不同的字体选项对应的字体不同。该字体选项为按钮或者滑动条等。
第四种方式,目标模板参数包括***刻法参数:基于***刻法参数及文本信息,虚拟雕刻出第一贴纸弹幕。
其中,***刻法参数用于指示***刻法,也用于指示生成的贴纸弹幕中的文本信息的显示样式。例如,***刻法包括阴刻或阳刻,阴刻是指在贴纸弹幕中字符呈凹形,阳刻是指在贴纸弹幕中字符呈凸形。基于***刻法参数及文本信息,使虚拟雕刻出的第一贴纸弹幕中的文本信息的显示样式与该***刻法参数相匹配。例如,该***刻法参数指示阳刻,则生成的第一贴纸弹幕中,文本信息中的字符呈凸形,第一贴纸弹幕的其他区域呈凹形,勾勒出该文本信息的字符的形状;该***刻法参数指示阴刻,则生成的第一贴纸弹幕中,文本信息中的字符呈凹形,第一贴纸弹幕的其他区域呈凸形,勾勒出该文本信息的字符的形状。
在一些实施例中,获取***刻法参数的过程包括:响应于弹幕发布操作,在播放界面 中显示多个***刻法选项,响应于对任一***刻法选项的触发操作,得到该***刻法选项的***刻法参数。其中,每个***刻法选项对应一种***刻法,不同的***刻法选项对应的***刻法不同。该***刻法选项为按钮或者滑动条等。
第五种方式,目标模板参数包括轮廓形状参数:创建轮廓形状参数对应的轮廓形状的模板图形,在模板图形中填充文本信息,得到第一贴纸弹幕。
其中,轮廓形状参数用于是指贴纸弹幕的轮廓形状。在一些实施例中,该轮廓形状参数对应的轮廓形状为圆形、正方形或六边形等。
通过该轮廓形状参数,创建出符合该轮廓形状参数对应的轮廓形状的模板图形,并在该模板图形填充文本信息,得到该第一贴纸弹幕。在模板图形中填充文本信息,得到第一贴纸弹幕的过程,与第一种方式的类似,在此不再赘述。
在一些实施例中,获取轮廓形状参数的过程包括:响应于弹幕发布操作,在播放界面中显示多个轮廓形状选项,响应于对任一轮廓形状选项的触发操作,得到该轮廓形状选项的轮廓形状参数。其中,每个轮廓形状选项对应一种轮廓形状,不同的轮廓形状选项对应的轮廓形状不同。该轮廓形状选项为按钮或者滑动条等。
第六种方式,目标模板参数包括图形尺寸参数:基于图形尺寸参数及文本信息,渲染出与该图形尺寸参数指示的尺寸匹配的第一贴纸弹幕。
其中,图形尺寸参数用于指示贴纸弹幕的尺寸大小。
在一些实施例中,该图形尺寸参数包括贴纸的外接矩形的长度尺寸和宽度尺寸。例如,长度尺寸和宽度尺寸均用像素值表示。通过该长度尺寸和宽度尺寸,以确定贴纸的外接矩形的大小,基于该外接矩形渲染出第一贴纸弹幕,使得该外接矩形能够包含该第一贴纸弹幕的形状,且第一贴纸弹幕的图形与该外接矩形相连接。例如,渲染出的第一贴纸弹幕为圆形,则外接矩形能够包含该圆形,且与外接矩形的四边相切。
在一些实施例中,获取图形尺寸参数的过程包括:响应于弹幕发布操作,在播放界面中显示图形尺寸输入区,从该图形尺寸输入区获取用户输入的图形尺寸参数。例如,播放界面中显示图形尺寸输入区,用户在该图形尺寸输入区中输入需要的贴纸弹幕的尺寸,则终端从该图形尺寸输入区获取到用户输入的图形尺寸参数。
第七种方式,目标模板参数包括字符尺寸参数:基于该字符尺寸参数及文本信息,渲染出包含的字符与该该字符尺寸参数指示的尺寸匹配的第一贴纸弹幕。
其中,字符尺寸参数用于指示贴纸弹幕包含的字符的尺寸大小。在一些实施例中,该字符尺寸参数包括字符的长度尺寸和宽度尺寸。通过该长度尺寸和宽度尺寸,以确定字符的大小。例如,长度尺寸和宽度尺寸均用像素值表示。
在一些实施例中,获取字符尺寸参数的过程包括:响应于弹幕发布操作,在播放界面中显示字符尺寸输入区,从该字符尺寸输入获取用户输入的字符尺寸参数。
需要说明的是,上述七种方式能够任意结合,例如,任意两种方式结合、任意三种方式结合等。例如,第二种方式和第三种方式结合,则基于颜色参数、字体参数及文本信息,渲染出具有该颜色参数对应的颜色的第一贴纸弹幕,且该第一贴纸弹幕中的文本信息按照该字体参数指示的字体显示。基于目标模板参数包括的多种参数及文本信息,使渲染出的贴纸弹幕能够多样化显示,丰富了贴纸弹幕的显示样式,能够针对用户的选择实现贴纸弹幕的个性化显示,提升了贴纸弹幕的显示效果。
在一些实施例中,目标模板参数包括字符数量参数,则获取用户信息的过程,包括:响应于参考文本信息包含的字符的数量大于目标字符数量,确定文本信息,该文本信息是从参考文本信息中提取的目标字符数量的字符,目标字符数量为字符数量参数对应的字符数量,响应于参考文本信息包含的字符的数量不大于目标字符数量,将参考文本信息,确定为文本信息。
其中,参考文本信息包括当前登录的用户账号和/或用户输入的信息,字符数量参数 用于指示生成的贴纸弹幕中能够填充的字符数量。参考文本信息包括的当前登录的用户账号即为第一用户账号。
由于参考文本信息包含的字符的数量可以大于目标字符数量,也可以不大于目标字符数量,则在参考文本信息包含的字符的数量大于目标字符数量的情况下,参考文本信息包含的字符无法全部填充至贴纸弹幕中,因此,通过用户账号包含的字符的数量及目标字符数量,来确定填充至贴纸弹幕中的文本信息。
在上述实施例的一种实现方式中,响应于参考文本信息包含的字符的数量大于目标字符数量,按照参考文本信息包含的字符的排列顺序,提取目标字符数量的字符,确定为文本信息。
在上述实施例的一种实现方式中,获取字符数量参数的过程包括:响应于弹幕发布操作,在播放界面中显示多个信息填充选项,响应于对任一信息填充选项的触发操作,得到该信息填充选项对应的字符数量参数。
其中,每个填充选项用于指示一种填充模板,不同的填充选项对应的填充模板不同。
例如,目标模板参数包括字符上限参数,该字符上限参数用于指示贴纸弹幕中能够包含的字符的最大数量。则获取字符数量参数的过程包括:响应于对任一信息填充选项的触发操作,确定该信息填充选项对应的填充模板包含的字符数量,将字符上限参数对应的字符数量与该填充模板包含的字符数量之间的差值,确定为字符数量参数对应的字符数量。其中,该字符上限参数是由当前的用户信息配置的,或者,由目标模板参数的管理人员配置的。
例如,字符上限参数对应的字符数量为4,任一填充选项指示的填充模板为“XX之印”,该填充选项对应的字符数量参数指示的字符数量为2;任一填充选项指示的填充形式为“XXX印”,该填充选项对应的字符数量参数指示的字符数量为3;任一填充选项指示的填充形式为“X之***”,该填充选项对应的字符数量参数指示的字符数量为1。
需要说明的是,本公开实施例是第一终端基于选取的目标模板参数及文本信息,来渲染出第一贴纸弹幕的,而在另一实施例中无需执行步骤402-403,第一终端响应于弹幕发布操作,能够采取其他方式,基于文本信息生成第一贴纸弹幕。
404、第一终端向多媒体服务器发送弹幕发布请求,该弹幕发布请求携带第一贴纸弹幕。
其中,该多媒体服务器为管理目标多媒体数据的服务器。在一些实施例中,第一终端安装有多媒体数据应用,该多媒体服务器为多媒体数据应用对应的服务器,该目标多媒体数据为该多媒体数据应用中的多媒体数据。第一终端在生成第一贴纸弹幕后,通过将第一贴纸弹幕发送至多媒体服务器,以使后续多媒体服务器将该第一贴纸弹幕添加至目标多媒体数据的弹幕集合中,并将弹幕集合下发至播放目标多媒体数据的终端,以便实现贴纸弹幕的发布。
405、多媒体服务器接收第一终端发送的对该目标多媒体数据的弹幕发布请求,从弹幕发布请求中获取第一贴纸弹幕,将第一贴纸弹幕添加至目标多媒体数据的弹幕集合中,向播放目标多媒体数据的终端发送弹幕集合。
其中,弹幕发布请求中携带该第一贴纸弹幕,弹幕集合用于存储目标多媒体数据的弹幕。在本公开实施例中,每个多媒体数据具有一个弹幕集合,服务器在接收到任一多媒体数据的贴纸弹幕后,将该第一贴纸弹幕添加至该多媒体数据的弹幕集合中,并将该弹幕集合下发至播放目标多媒体数据的终端,以使播放播放目标多媒体数据的终端显示该弹幕集合中的贴纸弹幕,从而实现贴纸弹幕的发布。
在一些实施例中,弹幕发布请求还携带弹幕显示位置参数,则该步骤405包括:多媒体服务器将第一贴纸弹幕及弹幕显示位置参数对应存储于弹幕集合中。
其中,弹幕显示位置参数用于指示第一贴纸弹幕的显示位置。多媒体服务器通过将第 一贴纸弹幕及弹幕显示位置参数对应存储于弹幕集合中,以便后续将弹幕集合发送至播放目标多媒体数据的终端后,终端能够在弹幕显示位置参数对应的显示位置上,显示第一贴纸弹幕。
该弹幕显示位置参数是由第一终端发送至多媒体服务器的,在一些实施例中,第一终端获取弹幕显示位置参数的过程,包括:响应于弹幕发布操作,确定弹幕显示位置参数。
在上述实施例的一种实现方式中,响应于弹幕发布操作,在播放界面中显示该弹幕位置输入区,从该弹幕位置输入区中获取输入的弹幕显示位置参数。例如,该弹幕显示位置参数包括坐标,该坐标以像素值的形式表示。
在上述实施例的一种实现方式中,响应于弹幕发布操作,在播放界面中显示指示标识,调整指示标识在播放界面中的显示位置,响应于检测到对指示标识的确定操作,将该指示标识当前的显示位置对应的显示位置参数,确定为该弹幕显示位置参数。其中,指示标识为任意形式的标识,例如,圆形标识、方形标识等。
例如,播放界面包括指示标识的移动控制选项,对移动控制选项的触发操作,控制该指示标识在播放界面中移动,以调整指示标识在播放界面中的显示位置。或者,检测到对指示标识的拖动操作,控制指示标识在播放界面中移动,以调整指示标识在播放界面中的显示位置。
在一些实施例中,弹幕发布请求还携带第一贴纸弹幕的弹幕移动轨迹参数,则该步骤405包括:多媒体服务器将第一贴纸弹幕及弹幕移动轨迹参数对应存储于弹幕集合中。
其中,弹幕移动轨迹参数用于指示第一贴纸弹幕在播放界面显示时的移动轨迹。服务器通过将第一贴纸弹幕及弹幕移动轨迹参数对应存储于弹幕集合中,以便后续将弹幕集合发送至播放目标多媒体数据的终端后,终端按照该弹幕移动轨迹参数指示的移动轨迹,控制第一贴纸弹幕移动。
该弹幕移动轨迹参数是由第一终端发送至多媒体服务器的,则第一终端获取弹幕移动轨迹参数的过程,包括以下几种方式:
第一种方式:响应于弹幕发布操作,获取第一贴纸弹幕在目标视频中的显示时间段,确定目标视频中的目标显示元素在显示时间段内的移动轨迹,将目标显示元素对应的移动轨迹,确定为第一贴纸弹幕的移动轨迹,获取该移动轨迹的弹幕移动轨迹参数。
其中,目标多媒体数据为目标视频,该目标显示元素为目标视频中的任一显示元素,如人脸、汽车牌等。显示时间段为该目标视频对应的任一时间段,例如,该显示时间段为目标视频从第5分钟至第6分钟之间的时间段。通过将目标视频中的目标显示元素在显示时间段内的移动轨迹,作为该第一贴纸弹幕的移动轨迹,以便后续终端显示该第一贴纸弹幕沿着该移动轨迹移动,从而实现第一贴纸弹幕随着目标显示元素移动的效果。
在一些实施例中,响应于弹幕发布操作,从目标视频包括的多个显示元素中,选取目标显示元素。通过从目标视频包括的多个显示元素中选取目标显示元素,以便后续通过该目标显示元素,确定第一贴纸弹幕的移动轨迹。
第二种方式:响应于弹幕发布操作,获取弹幕移动轨迹参数。第一终端在播放界面中检测到弹幕发布操作时,能够获取到该弹幕移动轨迹参数。
在一些实施例中,响应于弹幕发布操作,在播放界面中显示多个移动轨迹选项,响应于对任一移动轨迹选项的触发操作,获取该移动轨迹选项的弹幕移动轨迹参数。其中,每个移动轨迹选项指代一种移动轨迹,不同的移动轨迹选项指代的移动轨迹不同。例如,一个移动轨迹选项指代的移动轨迹为波浪线移动轨迹,另一个移动轨迹选项指代的移动轨迹为直线移动轨迹。
在上述实施例的一种实现方式中,响应于弹幕发布操作,在播放界面中显示指示标识,检测到对该指示标识的拖动操作,根据该指示标识在该播放界面中的移动轨迹,确定弹幕移动轨迹参数。其中,指示标识为任意形式的标识,例如,圆形标识、方形标识等。
需要说明的是,在上述实施例中,弹幕移动轨迹参数是由第一终端发送至多媒体服务器的,而在另一实施例中,该弹幕移动轨迹参数是由多媒体服务器获取到的,即第一终端向多媒体服务器发送的弹幕发布请求中不携带该弹幕移动轨迹参数。
在一些实施例中,目标多媒体数据为目标视频,弹幕发布请求还携带目标显示元素标识及贴纸弹幕在目标视频中的显示时间段,则该步骤405还包括:确定目标显示元素在显示时间段内的移动轨迹,将目标显示元素对应的移动轨迹,确定为第一贴纸弹幕的移动轨迹,将第一贴纸弹幕与移动轨迹的弹幕移动轨迹参数对应存储于弹幕集合中。
其中,目标显示元素标识用于指示目标视频中的目标显示元素。多媒体服务器通过该目标显示元素标识,确定目标视频中的目标显示元素,通过该目标显示元素及该显示时间段,能够确定目标显示元素在该显示时间段内的移动轨迹,从而确定该第一贴纸弹幕的移动轨迹,并将该移动轨迹的弹幕移动轨迹参数与该第一贴纸弹幕对应存储,以便后续终端能够按照该弹幕移动轨迹参数指示的移动轨迹,控制贴纸弹幕移动。
在一些实施例中,弹幕发布请求还携带播放时间点和弹幕显示时长,则该步骤405还包括:多媒体服务器将播放时间点、弹幕显示时长及第一贴纸弹幕对应存储于弹幕集合中。
其中,播放时间点为该目标多媒体数据的播放时长内的任一时间点,例如,该目标多媒体数据的总时长为100分钟,在检测到弹幕发布操作时,该目标多媒体数据播放到40分钟处,则播放时间点为40分钟。弹幕显示时长用于指示贴纸弹幕的显示时长,在一些实施例中,该弹幕显示时长为任意时长,例如10秒、1分钟等。
服务器通过将播放时间点、弹幕显示时长及第一贴纸弹幕对应存储,以便后续将弹幕集合发送至播放目标多媒体数据的终端后,终端能够按照该播放时间点及弹幕显示时长,显示第一贴纸弹幕。
在一些实施例中,第一终端获取播放时间点和弹幕显示时长的过程,包括:终端响应于弹幕发布操作,获取目标多媒体数据当前的播放时间点和弹幕显示时长。
在上述实施例的一种实现方式中,响应于弹幕发布操作,暂停播放目标多媒体数据,获取目标多媒体数据当前的播放时间点和弹幕显示时长。其中,在暂停播放目标多媒体数据时,获取到的当前的播放时间点也即是目标多媒体数据暂停时的播放时间点。
在上述实施例的一种实现方式中,第一终端响应于弹幕发布操作,在播放界面中显示该弹幕显示时长输入区,获取用户在该显示时长输入区域中输入的弹幕显示时长。
例如,终端正在播放目标多媒体数据,终端在播放界面中检测到弹幕发布操作,此时该目标多媒体数据的播放时间点为10分钟,则获取到的播放时间点为10分钟,并在播放界面中显示弹幕显示时长输入区,用户通过在该弹幕显示时长输入区中输入显示时长,则终端能够从该弹幕显示时长输入区中获取用户输入的弹幕显示时长。
在一些实施例中,该步骤405包括:多媒体服务器响应于第二终端发送的对目标多媒体数据的播放请求,向第二终端发送目标多媒体数据及目标多媒体数据的弹幕集合。
其中,第一终端及第二终端为能够播放目标多媒体数据的终端。第二终端为请求播放目标多媒体数据的终端,该第二终端可以与第一终端相同,也可以与第一终端不同。在第一终端与第二终端登录的用户账号均为第一用户账号的情况下,则第一终端与第二终端相同,在第一终端与第二终端登录的用户账号不同的情况下,则第一终端与第二终端不同。
多媒体服务器在接收到第二终端发送的对目标多媒体数据的播放请求,表示第二终端请求播放该目标多媒体数据,则多媒体服务器将目标多媒体数据及目标多媒体数据的弹幕集合发送至第二终端,以使第二终端在播放目标多媒体数据的同时,能够显示弹幕集合中的贴纸弹幕,从而实现贴纸弹幕的分享。
需要说明的是,本公开实施例是以第一终端生成贴纸弹幕后,向多媒体服务器发送的弹幕发布请求携带贴纸弹幕为例进行说明的,而在另一实施例中,无需执行步骤402-404, 第一终端向多媒体服务器发送弹幕发布请求,该弹幕发布请求携带文本信息,则多媒体服务器接收第一终端发送的对目标多媒体数据的弹幕发布请求后,基于弹幕发布请求携带的文本信息生成第一贴纸弹幕,将第一贴纸弹幕添加至目标多媒体数据的弹幕集合中,向播放目标多媒体数据的终端发送弹幕集合。
其中,播放目标多媒体数据的终端接收到弹幕集合后,能够获取弹幕集合中的第一贴纸弹幕,在目标多媒体数据的播放界面中显示该第一贴纸弹幕。
例如,第一终端接收多媒体服务器发送的弹幕集合,该弹幕集合包括该第一贴纸弹幕,获取该弹幕集合中的第一贴纸弹幕,在目标多媒体数据的播放界面中显示该第一贴纸弹幕。
在上述实施例的一种实现方式中,弹幕发布请求还携带弹幕显示位置参数及目标模板参数,则多媒体服务器基于目标模板参数及文本信息,渲染出第一贴纸弹幕,将第一贴纸弹幕及弹幕显示位置参数对应存储于弹幕集合中。
其中,目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项,第一贴纸弹幕包含文本信息,且第一贴纸弹幕的显示样式与目标模板参数匹配。服务器基于目标模板参数及文本信息渲染出第一贴纸弹幕的过程,与上述第一终端基于目标模板参数及文本信息渲染出第一贴纸弹幕的过程类似,在此不再赘述。
在上述实施例的一种实现方式中,弹幕发布请求还携带移动轨迹参数及目标模板参数,则多媒体服务器基于目标模板参数及文本信息,渲染出第一贴纸弹幕,将第一贴纸弹幕及移动轨迹参数对应存储于弹幕集合中。
其中,目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项,第一贴纸弹幕包含文本信息,且第一贴纸弹幕的显示样式与目标模板参数匹配。
另外,多媒体服务器生成第一贴纸弹幕后,将第一贴纸弹幕以图像的形式与图像标识对应存储,则在第一终端再次发布该第一贴纸弹幕时,第一终端向多媒体服务器发送弹幕发布请求,该弹幕发布请求携带该第一贴纸弹幕的图像标识,多媒体服务器基于该图像标识查询到该第一贴纸弹幕,将该第一贴纸弹幕的图像添加至目标多媒体数据的弹幕集合中,向播放目标多媒体数据的终端发送该弹幕集合。此过程中,无需多媒体服务器再次生成贴纸弹幕,从而实现了贴纸弹幕重复发布的效果。
406、第一终端在播放界面中的目标显示位置上显示第一贴纸弹幕,或者,在播放界面中显示第一贴纸弹幕按照移动轨迹移动。
其中,目标显示位置是指该第一贴纸弹幕在播放界面中固定显示的位置,移动轨迹是指该第一贴纸弹幕在播放界面中显示时的移动轨迹。在第一终端发布第一贴纸弹幕后,终端在播放界面中的目标显示位置上固定显示发布的第一贴纸弹幕,或者,在播放界面中显示第一贴纸弹幕按照移动轨迹移动的效果,以使观看该多媒体数据的用户能够查看到发布的第一贴纸弹幕,丰富了第一贴纸弹幕的显示形式,提升了第一贴纸弹幕的显示效果。
在一些实施例中,该步骤406包括:确定第一贴纸弹幕在播放界面中的目标显示位置,在该目标显示位置上,显示第一贴纸弹幕。通过确定播放界面中的目标显示位置,以使在播放界面中呈现出贴纸弹幕在目标显示位置上固定显示的效果。
在上述实施例的一种实现方式中,第一终端接收到多媒体服务器发送的目标多媒体数据的弹幕集合,该弹幕集合包括第一贴纸弹幕对应的弹幕显示位置参数,则将弹幕显示位置参数指示的位置,确定为第一贴纸弹幕的目标显示位置。
例如,该弹幕显示位置参数对应的目标显示位置,表示第一贴纸弹幕的中心所处的位置,在显示该第一贴纸弹幕时,该第一贴纸弹幕的中心与该目标显示位置重复,即实现了该第一贴纸弹幕在该显示位置上显示。
例如,该弹幕显示位置参数包括横坐标和纵坐标,该横坐标和纵坐标用于指示第一贴纸弹幕的中心所处的位置,则通过弹幕显示位置参数包括的横坐标和纵坐标,确定该第一 贴纸弹幕在播放界面中的目标显示位置。例如,该横坐标和纵坐标均以像素值表示。该横坐标和纵坐标以播放界面中的任一点作为原点,如以播放界面中播放目标多媒体数据的区域的左上角为原点,获取该弹幕显示位置参数包括的横坐标和纵坐标。
在一些实施例中,该步骤406包括:获取第一贴纸弹幕的移动轨迹,在播放界面中显示第一贴纸弹幕按照移动轨迹移动。在获取到第一贴纸弹幕的移动轨迹后,控制第一贴纸弹幕按照该第一贴纸弹幕的移动轨迹移动,以使在播放界面中呈现出第一贴纸弹幕按照移动轨迹移动的效果。
在上述实施例的一种实现方式中,第一终端接收到多媒体服务器发送的目标多媒体数据的弹幕集合,该弹幕集合包括第一贴纸弹幕对应的弹幕移动轨迹参数,则将弹幕移动轨迹参数指示的移动轨迹,确定为第一贴纸弹幕的移动轨迹。
在一些实施例中,第一终端接收到多媒体服务器发送的目标多媒体数据的弹幕集合,该弹幕集合中还包括第一贴纸弹幕对应的播放时间点和弹幕显示时长,该步骤406包括:在播放时间点之后的弹幕显示时长内,在目标显示位置上显示第一贴纸弹幕;或者,在播放时间点之后的弹幕显示时长内,显示第一贴纸弹幕按照移动轨迹移动。
例如,该播放时间点为目标多媒体数据的10分钟出,弹幕显示时长为1分钟,则在播放目标多媒体数据时,在目标多媒体数据的10分钟至11分钟之间的时间段内,播放界面中的目标显示位置上显示第一贴纸弹幕,或者,显示第一贴纸弹幕按照移动轨迹移动。
在上述实施例的一种实现方式中,第一终端获取目标多媒体数据当前的播放时间点和弹幕显示时长的过程,包括:第一终端响应于弹幕发布操作,暂停播放目标多媒体数据,获取目标多媒体数据当前的播放时间点和弹幕显示时长;则该步骤306包括:继续播放目标多媒体数据,在播放时间点之后的弹幕显示时长内,在目标显示位置上显示第一贴纸弹幕;或者,继续播放目标多媒体数据,在播放时间点之后的弹幕显示时长内,显示第一贴纸弹幕按照移动轨迹移动。
第一终端通过发布弹幕时,暂停播放目标多媒体数据,并在弹幕发布成功后,继续播放目标多媒体数据,使得第一终端中能够在播放时间点之后的弹幕显示时长内,在目标显示位置上显示第一贴纸弹幕,或者,在播放时间点之后的弹幕显示时长内,显示第一贴纸弹幕按照移动轨迹移动,从而实现了贴纸弹幕实时显示的效果。
在一些实施例中,响应于第一贴纸弹幕是由第一终端基于文本信息生成的,第一终端能够在播放界面中显示生成的第一贴纸弹幕,并向多媒体服务器发送弹幕发布请求,该弹幕发布请求携带第一贴纸弹幕,服务器接收该弹幕发布请求,将该第一贴纸弹幕添加至目标多媒体数据的弹幕集合中,向播放该目标多媒体数据的终端发送该弹幕集合,以使播放该目标多媒体数据的终端能够从该弹幕集合中获取第一贴纸弹幕并显示。
在一些实施例中,响应于第一贴纸弹幕是由多媒体服务器基于文本信息生成的,第一终端向多媒体服务器发送弹幕发布请求,该弹幕发布请求携带文本信息,服务器接收该弹幕发布请求,基于文本信息生成第一贴纸弹幕,将该第一贴纸弹幕添加至目标多媒体数据的弹幕集合中,向播放该目标多媒体数据的终端发送该弹幕集合,第一终端接收到该弹幕集合后,获取该弹幕集合中的第一贴纸弹幕,在播放界面中显示该第一贴纸弹幕。
需要说明的是,上述实施例仅是以第一终端针对目标多媒体数据发布贴纸弹幕为例进行说明的。另外,终端在播放界面中播放目标多媒体数据,显示第一贴纸弹幕时,该终端还能够对播放界面显示的第一贴纸弹幕进行管理。
在一些实施例中,第一终端响应于对该第一终端当前登录的第一用户账号对应的贴纸弹幕的删除操作,向多媒体服务器发送第一弹幕删除请求,第一弹幕删除请求用于请求多媒体服务器从目标多媒体数据的弹幕集合中删除第一用户账号对应的贴纸弹幕。
在本公开实施例中,每个终端能够对当前登录的用户账号发布的贴纸弹幕进行管理。例如,第一终端能够对第一终端登录的第一用户账号对应的贴纸弹幕进行删除。第一弹幕 删除请求携带第一用户账号或第一用户账号对应的弹幕标识,该弹幕标识指示第一用户账号对应的贴纸弹幕,多媒体服务器接收到第一弹幕删除请求后,响应于第一弹幕删除请求携带第一用户账号,多媒体服务器从目标多媒体数据的弹幕集合中,将第一用户账号对应的贴纸弹幕删除;响应于第一弹幕删除请求携带第一用户账号对应的弹幕标识,多媒体服务器从目标多媒体数据的弹幕集合中,将弹幕标识指示的贴纸弹幕删除。
在一些实施例中,第一终端当前登录的第一用户账号具有目标多媒体数据的管理权限;弹幕显示方法还包括:第一终端响应于对第二用户账号对应的贴纸弹幕的删除操作,向多媒体服务器发送第二弹幕删除请求,第二弹幕删除请求用于请求多媒体服务器从目标多媒体数据的弹幕集合中删除第二用户账号对应的贴纸弹幕,第二用户账号为对目标多媒体数据已发布弹幕的终端登录的账号。
其中,在第一终端登录的第一用户账号具有多媒体数据的管理权限的情况下,能够管理目标多媒体数据对应的贴纸弹幕。第二弹幕删除请求携带第二用户账号或第二用户账号对应的弹幕标识,该弹幕标识指示第二用户账号对应的贴纸弹幕。多媒体服务器接收到第二弹幕删除请求后,响应于弹幕发布请求携带第二用户账号,多媒体服务器从目标多媒体数据的弹幕集合中,将第二用户账号对应的贴纸弹幕删除;响应于弹幕发布请求携带第二用户账号对应的贴纸弹幕的弹幕标识,多媒体服务器从目标多媒体数据的弹幕集合中,将弹幕标识指示的贴纸弹幕删除。
在一些实施例中,第三终端响应于对播放界面中的第二贴纸弹幕的删除操作,向多媒体服务器发送弹幕删除请求,多媒体服务器接收第三终端发送的对目标多媒体数据的弹幕删除请求,从目标多媒体数据的弹幕集合中将第二贴纸弹幕删除。
其中,弹幕删除请求携带第二贴纸弹幕,也即是弹幕删除请求用于请求删除第二贴纸弹幕,该第二贴纸弹幕为该第三终端发布的弹幕,该第三终端可以与上述实施例中的第一终端相同,也可以与第一终端不同。在第三终端登录的账号与第一终端登录的账号相同的情况下,第三终端与第一终端相同;在第三终端登录的账号与第一终端登录的账号不同的情况下,第三终端与第一终端不同。第三终端通过与多媒体服务器交互,能够将已发布的第二贴纸弹幕进行删除,以使播放目标多媒体数据的终端不再显示该第二贴纸弹幕,实现了第二贴纸弹幕删除的同步。
在上述实施例的一种实现方式中,第三终端取消显示该第二贴纸弹幕。在服务器将已发布的第二贴纸弹幕删除后,播放目标多媒体数据的终端将不再显示该第二贴纸弹幕。
例如,在多媒体服务器从目标多媒体数据的弹幕集合中将第二贴纸弹幕删除后,向播放该目标多媒体数据的终端同步该弹幕集合,以使播放目标多媒体数据的终端不再显示该第二贴纸弹幕,从而实现弹幕集合的同步。
在一些实施例中,第二用户账号登录的终端响应于对播放界面中的第二贴纸弹幕的删除操作,向多媒体服务器发送弹幕删除请求,弹幕删除请求用于请求从目标多媒体数据的弹幕集合中删除第二用户账号对应的贴纸弹幕,多媒体服务器接收该终端发送的对目标多媒体数据的弹幕删除请求,从目标多媒体数据的弹幕集合中将第二用户账号对应的贴纸弹幕删除。
其中,第二用户账号对目标多媒体数据已发布弹幕。响应于第一用户账号与第二用户账号相同,即该第二用户登录的终端为第一终端;响应于第一用户账号与第二用户账号不相同,即该第二用户登录的终端与第一终端不同。
在一些实施例中,多媒体服务器接收第二用户账号登录的终端发送的对目标多媒体数据的弹幕删除请求,第二用户账号具有对目标多媒体数据的管理权限,弹幕删除请求携带第三用户账号,弹幕删除请求用于请求从目标多媒体数据的弹幕集合中删除第三用户账号对应的贴纸弹幕,第三用户账号为对目标多媒体数据已发布弹幕的终端登录的账号;从目标多媒体数据的弹幕集合中,将第三用户账号对应的贴纸弹幕删除。
在一些实施例中,第二用户账号登录的终端在播放界面中显示用户账号列表,响应于对用户账号列表中第三用户账号的删除操作,向多媒体服务器发送弹幕删除请求,多媒体服务器接收第二用户账号登录的终端发送的对目标多媒体数据的弹幕删除请求,从目标多媒体数据的弹幕集合中,将第三用户账号对应的贴纸弹幕删除。
其中,用户账号列表包括对目标多媒体数据已发布弹幕的终端登录的用户账号,弹幕删除请求携带第三用户账号或第三用户账号对应的弹幕标识,该弹幕标识指示第三用户账号对应的贴纸弹幕,弹幕删除请求用于请求从所述目标多媒体数据的弹幕集合中删除携带的第三用户账号发布的贴纸弹幕。第二用户账号对应的用户信息具有目标多媒体数据的管理权限,其中用户信息为第二用户账号对应的用户信息,即第二用户账号具有目标多媒体数据的管理权限。在一些实施例中,该第二用户账号登录的终端为该目标多媒体数据的发布终端,或者,该第二用户账号登录的终端为后台管理终端。例如,目标多媒体数据为多媒体应用中的数据,该第二用户账号登录的终端为登录该多媒体应用的管理人员的用户信息的终端。第二用户账号登录的终端通过与多媒体服务器交互,能够将任一用户账号发布的贴纸弹幕进行删除,实现了对贴纸弹幕的批量管理。
在上述实施例的一种实现方式中,该弹幕删除请求携带第二用户账号对应的用户信息、第三用户账号及目标多媒体数据标识,多媒体服务器对第二用户账号对应的用户信息进行验证,响应于确定该第二用户账号对应的用户信息具有目标多媒体数据的管理权限,从目标多媒体数据的弹幕集合中,将第三用户账号对应的贴纸弹幕删除。其中,第二用户账号对应的用户信息具有目标多媒体数据的管理权限,也即是第二用户账号具有目标多媒体数据的管理权限,弹幕删除请求携带的用户账号为任一第三用户账号。服务器接收到弹幕删除请求后,对第二用户账号进行验证,响应于确定第二用户账号具有目标多媒体数据的管理权限,从目标多媒体数据的弹幕集合中,将第三用户账号对应的贴纸弹幕删除。
在一些实施例中,第二用户账号登录的终端响应于对播放界面中显示的第二贴纸弹幕的删除操作,向多媒体服务器发送弹幕删除请求,弹幕删除请求用于请求删除第二贴纸弹幕,多媒体服务器接收第二用户账号登录的终端发送的对目标多媒体数据的弹幕删除请求,从目标多媒体数据的弹幕集合中,将第二贴纸弹幕删除。
其中,终端登录的用户信息具有目标多媒体数据的管理权限,该用户信息也即是第二用户账号对应的用户信息,即第二用户账号具有目标多媒体数据的管理权限。弹幕删除请求携带该第二贴纸弹幕,或者,携带第二贴纸弹幕的弹幕标识,以请求服务器删除第二贴纸弹幕。终端能够对目标多媒体数据的第二贴纸弹幕执行删除操作,以实现对目标多媒体数据的弹幕集合的管理。
图5中示出了不同的终端删除贴纸弹幕的不同流程。
如图5中的第一个流程,第三终端响应于对播放界面中该第三终端发布的第一贴纸弹幕的删除操作,向多媒体服务器发送弹幕删除请求,该弹幕删除请求用于请求删除该第一贴纸弹幕,多媒体服务器接收第三终端发送的对目标多媒体数据的弹幕删除请求,从目标多媒体数据的弹幕集合中将该第一贴纸弹幕删除,则播放该目标多媒体数据的终端的播放界面中不再显示该第一贴纸弹幕。其中,弹幕删除请求携带该第一贴纸弹幕,或者,携带该第一贴纸弹幕的弹幕标识,以请求服务器删除该第一贴纸弹幕。
如图5中的第二个流程,管理终端为目标多媒体数据的发布终端,管理终端登录的用户账号具有该目标多媒体数据的管理权限,则管理终端在播放界面中播放目标多媒体数据,并显示贴纸弹幕,响应于对第二贴纸弹幕的删除操作,向多媒体服务器发送弹幕删除请求,该弹幕删除请求用于请求删除选择的第二贴纸弹幕,多媒体服务器从该目标多媒体数据的弹幕集合中删除该第二贴纸弹幕,则播放该目标多媒体数据的终端的播放界面中不再显示该贴纸弹幕。其中,弹幕删除请求携带选择的第二贴纸弹幕,或者,携带选择的第二贴纸弹幕的弹幕标识,以请求服务器删除选择的第二贴纸弹幕。
如图5中的第三个流程,管理终端为后台管理终端,则管理终端在播放界面中播放目标多媒体数据,并显示用户账号列表,响应于对用户账号列表中第二用户账号的删除操作,向多媒体服务器发送弹幕删除请求,该弹幕删除请求携带选择的第二用户账号,多媒体服务器接收管理终端发送的对目标多媒体数据的弹幕删除请求,从目标多媒体数据的弹幕集合中,将第二用户账号对应的贴纸弹幕删除,则播放该目标多媒体数据的终端的播放界面中不再显示该第二用户账号发布的贴纸弹幕。
本公开实施例提供的方法,提供了一种贴纸弹幕,针对播放的多媒体数据,发布包括前登录的用户信息和/或用户输入的信息的贴纸弹幕,使得播放该多媒体数据的终端显示该贴纸弹幕,实现了贴纸弹幕的个性化显示,并且,能够在目标显示位置上显示贴纸弹幕,或者,显示贴纸弹幕按照移动轨迹移动,丰富了弹幕的显示形式,从而提升了弹幕的显示效果。
并且,提供了一种***图形贴纸弹幕,该***图形弹幕是将***图形与贴纸弹幕进行结合,形成了一种以***图形显示的贴纸弹幕,丰富了弹幕的显示形式,从而提升了弹幕的显示效果。
并且,在生成贴纸弹幕时,基于目标模板参数包括的多种参数及文本信息,渲染出贴纸弹幕,以保证贴纸弹幕具有多样性,实现了贴纸弹幕的个性化配置,从而丰富了贴纸弹幕的显示形式。
并且,通过将传统的***与弹幕进行结合,使得贴纸弹幕既保留了***的显示形式,又突出了弹幕的表达力,丰富了弹幕的显示形式,有利于促进弹幕形式的多样化,丰富了弹幕的玩法。
另外,向模板数据库中添加模板标识的过程,如图6所示中的第一个流程,***管理员通过后台管理***,生成模板标识,为该模板标识配置模板参数,将该模板标识及模板参数对应存储于模板数据库中。向用户信息的模板标识列表中添加模板标识的过程,如图6所示中的第二个流程,登录用户信息的终端运行多媒体应用,基于该多媒体应用生成模板标识,为该模板标识配置模板参数,将该模板标识及模板参数对应存储于模板标识列表中。
图7是根据一示例性实施例示出的一种贴纸弹幕发布的流程图,如图7所示,该流程包括:
701、第一终端显示目标多媒体数据的播放界面。
702、第一终端检测到对播放界面中的弹幕发布选项的触发操作,停止播放该目标多媒体数据,获取目标模板参数,该目标模板参数包括弹幕显示位置参数。
703、第一终端向多媒体服务器发送弹幕发布请求,弹幕发布请求携带文本信息、目标模板参数及弹幕显示位置参数。
704、多媒体服务器接收第一终端发送的对该目标多媒体数据的弹幕发布请求,基于目标模板及该文本信息,渲染出第一贴纸弹幕,将该第一贴纸模板及弹幕显示位置参数对应存储于目标多媒体数据的弹幕集合中,向播放目标多媒体数据的终端发送弹幕集合。
705、第一终端继续播放该目标多媒体数据,在播放界面中的目标显示位置上显示第一贴纸弹幕;或者,第一终端继续播放该目标多媒体数据,在播放界面中显示第一贴纸弹幕按照移动轨迹移动。
图8是根据一示例性实施例示出的一种弹幕显示装置的框图。参见图8,设置于第一终端,该弹幕显示装置包括:
显示单元801,被配置为显示目标多媒体数据的播放界面;
发送单元802,被配置为响应于在播放界面中检测到弹幕发布操作,获取第一贴纸弹幕;
显示单元801,还被配置为在播放界面中显示第一贴纸弹幕。
在一些实施例中,显示单元801,被配置为在播放界面中的目标显示位置上显示第一贴纸弹幕,或者,在播放界面中显示第一贴纸弹幕按照移动轨迹移动。
在一些实施例中,如图9所示,弹幕显示装置还包括:
第二确定单元803,被配置为确定第一贴纸弹幕在播放界面中的目标显示位置。
在一些实施例中,如图9所示,弹幕显示装置还包括:
第一确定单元804,被配置为响应于弹幕发布操作,确定弹幕显示位置参数;
第二确定单元803,包括:
第一确定子单元8031,被配置为将弹幕显示位置参数指示的位置,确定为目标显示位置。
在一些实施例中,如图9所示,第一确定单元804,包括:
第一显示子单元8041,被配置为响应于弹幕发布操作,在播放界面中显示弹幕位置输入区;
提取子单元8042,被配置为从弹幕位置输入区中提取输入的弹幕显示位置参数。
在一些实施例中,如图9所示,第一确定单元804,包括:
第一显示子单元8041,被配置为响应于弹幕发布操作,在播放界面中显示指示标识;
调整子单元8043,被配置为调整指示标识在播放界面中的显示位置;
第二确定子单元8044,被配置为响应于检测到对指示标识的确认操作,将指示标识当前的显示位置对应的显示位置参数,确定为弹幕显示位置参数。
在一些实施例中,弹幕发布请求携带弹幕显示位置参数,多媒体服务器用于将第一贴纸弹幕及弹幕显示位置参数对应存储于弹幕集合中。
在一些实施例中,如图9所示,弹幕显示装置还包括:
第二获取单元805,被配置为获取第一贴纸弹幕的移动轨迹。
在一些实施例中,如图9所示,弹幕显示装置还包括:
第一获取单元806,被配置为响应于弹幕发布操作,获取第一贴纸弹幕在目标视频中的显示时间段;
第二获取单元805,包括:
第三确定子单元8051,被配置为确定目标视频中的目标显示元素在显示时间段内的移动轨迹;
第三确定子单元8051,还被配置为将目标显示元素对应的移动轨迹,确定为第一贴纸弹幕的移动轨迹。
在一些实施例中,如图9所示,弹幕显示装置还包括:
选取单元807,被配置为响应于弹幕发布操作,从目标视频包括的多个显示元素中,选取目标显示元素。
在一些实施例中,如图9所示,弹幕显示装置还包括:
第三获取单元808,被配置为响应于弹幕发布操作,获取弹幕移动轨迹参数;
第二获取单元805,包括:
第三确定子单元8051,被配置为将弹幕移动轨迹参数指示的移动轨迹,确定为第一贴纸弹幕的移动轨迹。
在一些实施例中,弹幕发布请求携带第一贴纸弹幕的弹幕移动轨迹参数,多媒体服务器用于将第一贴纸弹幕及弹幕移动轨迹参数对应存储于弹幕集合中。
在一些实施例中,如图9所示,弹幕显示装置还包括:
第四获取单元809,被配置为响应于弹幕发布操作,获取目标多媒体数据当前的播放时间点和弹幕显示时长;
显示单元801,包括:
第二显示子单元8011,被配置为在播放时间点之后的弹幕显示时长内,在目标显示位置上显示第一贴纸弹幕;或者,在播放时间点之后的弹幕显示时长内,显示第一贴纸弹幕按照移动轨迹移动。
在一些实施例中,如图9所示,第四获取单元809,包括:
获取子单元8091,被配置为响应于弹幕发布操作,暂停播放目标多媒体数据,获取目标多媒体数据当前的播放时间点和弹幕显示时长;
第二显示子单元8011,被配置为继续播放目标多媒体数据,并且在播放时间点之后的弹幕显示时长内,在目标显示位置上显示第一贴纸弹幕;或者,继续播放目标多媒体数据,并且在播放时间点之后的弹幕显示时长内,显示第一贴纸弹幕按照移动轨迹移动。
在一些实施例中,弹幕发布请求携带播放时间点和弹幕显示时长,多媒体服务器用于将播放时间点、弹幕显示时长及第一贴纸弹幕对应存储于弹幕集合中。
在一些实施例中,发送单元802,被配置为响应于弹幕发布操作,向多媒体服务器发送弹幕发布请求;接收多媒体服务器发送的弹幕集合,弹幕集合包括第一贴纸弹幕,第一贴纸弹幕是多媒体服务器基于弹幕发布请求获取到的;获取弹幕集合中的第一贴纸弹幕。
在一些实施例中,如图9所示,发送单元802,包括:
生成子单元8021,被配置为响应于弹幕发布操作,基于文本信息生成第一贴纸弹幕,文本信息包括当前登录的第一用户账号对应的用户信息和/或用户输入的信息。
在一些实施例中,如图9所示,发送单元802,包括:
发送子单元8022,被配置为向多媒体服务器发送弹幕发布请求,弹幕发布请求携带第一贴纸弹幕,第一贴纸弹幕由多媒体服务器添加至目标多媒体数据的弹幕集合中,弹幕集合由多媒体服务器发送至播放目标多媒体数据的终端。
在一些实施例中,生成子单元8021,被配置为响应于弹幕发布操作,从多个模板参数中选取目标模板参数,目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项;基于目标模板参数及文本信息,渲染出第一贴纸弹幕,第一贴纸弹幕包含文本信息,且第一贴纸弹幕的显示样式与目标模板参数匹配。
在一些实施例中,目标模板参数包括字符数量参数,如图9所示,弹幕显示装置还包括:
提取单元810,被配置为响应于第一用户账号对应的参考文本信息包含的字符的数量大于目标字符数量,从参考文本信息中提取目标字符数量的字符,将提取到的字符确定文本信息,文本信息是,参考文本信息包括当前登录的第一用户账号对应的用户信息和/或用户输入的信息,目标字符数量为字符数量参数指示的字符数量;
第三确定单元811,被配置为响应于参考文本信息包含的字符的数量不大于目标字符数量,将参考文本信息,确定为文本信息。
在一些实施例中,弹幕发布请求携带文本信息,多媒体服务器用于基于文本信息生成第一贴纸弹幕,将第一贴纸弹幕添加至目标多媒体数据的弹幕集合中,向播放目标多媒体数据的终端发送弹幕集合。
在一些实施例中,弹幕发布请求还携带弹幕显示位置参数及目标模板参数,目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项;多媒体服务器用于基于目标模板参数及文本信息,渲染出贴纸弹幕,第一贴纸弹幕包含文本信息,且第一贴纸弹幕的显示样式与目标模板参数匹配,将第一贴纸弹幕及弹幕显示位置参数对应存储于弹幕集合中。
在一些实施例中,弹幕发布请求还携带移动轨迹参数及目标模板参数,目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项;多媒体服务器用于基于目标模板参数及文本信息,渲染出贴纸弹幕,第一贴纸弹幕包含文本信息,且第一贴纸弹幕的显示样式与目标模板参数匹配,将第一贴纸弹幕及移动轨迹参数 对应存储于弹幕集合中。
在一些实施例中,发送单元802,还被配置为响应于对第一终端当前登录的第一用户账号对应的贴纸弹幕的删除操作,向多媒体服务器发送第一弹幕删除请求,第一弹幕删除请求用于请求多媒体服务器从目标多媒体数据的弹幕集合中删除第一用户账号对应的贴纸弹幕。
在一些实施例中,第一终端当前登录的用户信息具有目标多媒体数据的管理权限;
发送单元802,还被配置为响应于对第二用户账号对应的贴纸弹幕的删除操作,向多媒体服务器发送第二弹幕删除请求,第二弹幕删除请求用于请求多媒体服务器从目标多媒体数据的弹幕集合中删除第二用户账号对应的贴纸弹幕,第二用户账号为对目标多媒体数据已发布弹幕的终端登录的账号。
在一些实施例中,发送单元802,还被配置为响应于对播放界面中的第一贴纸弹幕的删除操作,向多媒体服务器发送弹幕删除请求,弹幕删除请求用于请求删除第一贴纸弹幕,多媒体服务器用于从目标多媒体数据的弹幕集合中将第一贴纸弹幕删除。
在一些实施例中,显示单元801,还被配置为取消显示第一贴纸弹幕。
在一些实施例中,当前登录的第一用户账号具有目标多媒体数据的管理权限;
显示单元801,还被配置为在播放界面中显示用户账号列表,用户账号列表包括已发布弹幕的终端登录的用户账号;
发送单元802,还被配置为响应于对用户账号列表中第二用户账号的删除操作,向多媒体服务器发送弹幕删除请求,弹幕删除请求携带第二用户账号,多媒体服务器用于从目标多媒体数据的弹幕集合中,将第二用户账号对应的贴纸弹幕删除。
在一些实施例中,当前登录的第一用户账号具有目标多媒体数据的管理权限;
发送单元802,还被配置为响应于对播放界面中显示的第二贴纸弹幕的删除操作,向多媒体服务器发送弹幕删除请求,弹幕删除请求用于请求删除第二贴纸弹幕,多媒体服务器用于从目标多媒体数据的弹幕集合中,将第二贴纸弹幕删除。
图10是根据一示例性实施例示出的一种弹幕显示装置的框图。参见图10,设置于多媒体服务器,该弹幕显示装置包括:
接收单元1001,被配置为接收第一终端发送的对目标多媒体数据的弹幕发布请求,其中第一终端为播放目标多媒体数据的终端;
获取单元1002,被配置为基于弹幕发布请求,获取第一贴纸弹幕,第一贴纸弹幕包括第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息;
添加单元1003,被配置为第一将贴纸弹幕添加至目标多媒体数据的弹幕集合中;
发送单元1004,被配置为向第一终端发送弹幕集合。
在一些实施例中,第一贴纸弹幕是由第一终端基于文本信息生成的,弹幕发布请求携带第一贴纸弹幕;如图11所示,获取单元1002,包括:
获取子单元1021,被配置为从弹幕发布请求中获取第一贴纸弹幕。
在一些实施例中,弹幕发布请求携带文本信息,文本信息包括第一用户账号对应的用户信息和/或用户输入的信息;如图11所示,获取单元1002,包括:
生成子单元1022,被配置为基于文本信息生成第一贴纸弹幕。
在一些实施例中,弹幕发布请求还携带弹幕显示位置参数及目标模板参数,目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项;生成子单元1022,被配置为基于目标模板参数及文本信息,渲染出第一贴纸弹幕,第一贴纸弹幕包含文本信息,且第一贴纸弹幕的显示样式与目标模板参数匹配。
在一些实施例中,发送单元1004,被配置为响应于第二终端发送的对目标多媒体数据的播放请求,向第二终端发送目标多媒体数据及目标多媒体数据的弹幕集合。
在一些实施例中,弹幕发布请求还携带弹幕显示位置参数;
添加单元1003,被配置为将第一贴纸弹幕及弹幕显示位置参数对应存储于弹幕集合中。
在一些实施例中,弹幕发布请求还携带第一贴纸弹幕的弹幕移动轨迹参数;
添加单元1003,被配置为将第一贴纸弹幕与第一贴纸弹幕的弹幕移动轨迹参数对应存储于弹幕集合中。
在一些实施例中,目标多媒体数据为目标视频,弹幕发布请求还携带目标显示元素标识及贴纸弹幕在目标视频中的显示时间段,目标显示元素标识用于指示目标视频中的目标显示元素;
如图11所示,弹幕显示装置还包括:
确定单元1005,被配置为确定目标显示元素在显示时间段内的移动轨迹;
确定单元1005,还被配置为将目标显示元素对应的移动轨迹,确定为第一贴纸弹幕的移动轨迹;
添加单元1003,被配置为将第一贴纸弹幕与移动轨迹的弹幕移动轨迹参数对应存储于弹幕集合中。
在一些实施例中,弹幕发布请求还携带播放时间点和弹幕显示时长;
添加单元1003,被配置为将播放时间点、弹幕显示时长及第一贴纸弹幕对应存储于弹幕集合中。
在一些实施例中,如图11所示,弹幕显示装置还包括:
接收单元1001,还被配置为接收第二用户账号登录的终端发送的对目标多媒体数据的弹幕删除请求,弹幕删除请求用于请求从目标多媒体数据的弹幕集合中删除第二用户账号对应第二贴纸弹幕;
删除单元1006,被配置为从目标多媒体数据的弹幕集合中,将第二用户账号对应的贴纸弹幕删除。
在一些实施例中,如图11所示,弹幕显示装置还包括:
接收单元1001,还被配置为接收第二用户账号登录的终端发送的对目标多媒体数据的弹幕删除请求,第二用户账号具有对目标多媒体数据的管理权限,弹幕删除请求携带第三用户账号,弹幕删除请求用于请求从目标多媒体数据的弹幕集合中删除第三用户账号对应的贴纸弹幕,第三用户账号为对目标多媒体数据已发布弹幕的终端登录的账号;
删除单元1006,被配置为从目标多媒体数据的弹幕集合中,将第三用户账号对应的贴纸弹幕删除。
关于上述实施例中的装置,其中各个单元执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
在示例性实施例中,还提供了一种电子设备,其中,电子设备包括:
一个或多个处理器;
用于存储一个或多个处理器可执行指令的易失性或非易失性存储器;
其中,一个或多个处理器被配置为上述弹幕显示方法中终端或服务器所执行的步骤。
在一些实施例中,电子设备提供为终端。图12是根据一示例性实施例示出的一种终端1200的结构框图。该终端1200可以是便携式移动终端,比如:智能手机、平板电脑、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、笔记本电脑或台式电脑。终端1200还可以被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。
终端1200包括有:处理器1201和存储器1202。
处理器1201可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1201可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1201也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1201可以集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1201还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器1202可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器1202还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1202中的非暂态的计算机可读存储介质用于存储至少一条程序代码,该至少一条程序代码用于被处理器1201所执行以实现本公开中方法实施例提供的弹幕显示方法。
在一些实施例中,终端1200还可以包括有:***设备接口1203和至少一个***设备。处理器1201、存储器1202和***设备接口1203之间可以通过总线或信号线相连。各个***设备可以通过总线、信号线或电路板与***设备接口1203相连。在一些实施例中,***设备包括:射频电路1204、显示屏1205、摄像头组件1206、音频电路1207、定位组件1208和电源1209中的至少一种。
***设备接口1203可被用于将I/O(Input/Output,输入/输出)相关的至少一个***设备连接到处理器1201和存储器1202。在一些实施例中,处理器1201、存储器1202和***设备接口1203被集成在同一芯片或电路板上;在一些其他实施例中,处理器1201、存储器1202和***设备接口1203中的任意一个或两个可以在单独的芯片或电路板上实现,本公开实施例对此不加以限定。
射频电路1204用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路1204通过电磁信号与通信网络以及其他通信设备进行通信。射频电路1204将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。在一些实施例中,射频电路1204包括:天线***、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路1204可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:万维网、城域网、内联网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路1204还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本公开对此不加以限定。
显示屏1205用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。在显示屏1205是触摸显示屏的情况下,显示屏1205还具有采集在显示屏1205的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器1201进行处理。此时,显示屏1205还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏1205可以为一个,设置在终端1200的前面板;在另一些实施例中,显示屏1205可以为至少两个,分别设置在终端1200的不同表面或呈折叠设计;在另一些实施例中,显示屏1205可以是柔性显示屏,设置在终端1200的弯曲表面上或折叠面上。甚至,显示屏1205还可以设置成非矩形的不规则图形,也即异形屏。显示屏1205可以采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。
摄像头组件1206用于采集图像或视频。在一些实施例中,摄像头组件1206包括前置 摄像头和后置摄像头。前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件1206还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。
音频电路1207可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器1201进行处理,或者输入至射频电路1204以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在终端1200的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器1201或射频电路1204的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。在扬声器是压电陶瓷扬声器的情况下,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路1207还可以包括耳机插孔。
定位组件1208用于定位终端1200的当前地理位置,以实现导航或LBS(Location Based Service,基于位置的服务)。定位组件1208可以是基于美国的GPS(Global Positioning System,全球定位***)、中国的北斗***或俄罗斯的伽利略***的定位组件。
电源1209用于为终端1200中的各个组件进行供电。电源1209可以是交流电、直流电、一次性电池或可充电电池。在电源1209包括可充电电池的情况下,该可充电电池可以是有线充电电池或无线充电电池。有线充电电池是通过有线线路充电的电池,无线充电电池是通过无线线圈充电的电池。该可充电电池还可以用于支持快充技术。
在一些实施例中,终端1200还包括有一个或多个传感器1210。该一个或多个传感器1210包括但不限于:加速度传感器1211、陀螺仪传感器1212、压力传感器1213、指纹传感器1214、光学传感器1215以及接近传感器1216。
加速度传感器1211可以检测以终端1200建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器1211可以用于检测重力加速度在三个坐标轴上的分量。处理器1201可以根据加速度传感器1211采集的重力加速度信号,控制显示屏1205以横向视图或纵向视图进行用户界面的显示。加速度传感器1211还可以用于游戏或者用户的运动数据的采集。
陀螺仪传感器1212可以检测终端1200的机体方向及转动角度,陀螺仪传感器1212可以与加速度传感器1211协同采集用户对终端1200的3D动作。处理器1201根据陀螺仪传感器1212采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。
压力传感器1213可以设置在终端1200的侧边框和/或显示屏1205的下层。在压力传感器1213设置在终端1200的侧边框的情况下,压力传感器1213可以检测用户对终端1200的握持信号,由处理器1201根据压力传感器1213采集的握持信号进行左右手识别或快捷操作。在压力传感器1213设置在显示屏1205的下层的情况下,由处理器1201根据用户对显示屏1205的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。
指纹传感器1214用于采集用户的指纹,由处理器1201根据指纹传感器1214采集到的指纹识别用户的身份,或者,由指纹传感器1214根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器1201授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器1214可以被设置在终端1200的正面、背面或侧面。在终端1200上设置有物理按键或厂商Logo 的情况下,指纹传感器1214可以与物理按键或厂商Logo集成在一起。
光学传感器1215用于采集环境光强度。在一个实施例中,处理器1201可以根据光学传感器1215采集的环境光强度,控制显示屏1205的显示亮度。在一些实施例中,在环境光强度较高的情况下,调高显示屏1205的显示亮度;在环境光强度较低的情况下,调低显示屏1205的显示亮度。在另一个实施例中,处理器1201还可以根据光学传感器1215采集的环境光强度,动态调整摄像头组件1206的拍摄参数。
接近传感器1216,也称距离传感器,设置在终端1200的前面板。接近传感器1216用于采集用户与终端1200的正面之间的距离。在一个实施例中,在接近传感器1216检测到用户与终端1200的正面之间的距离逐渐变小的情况下,由处理器1201控制显示屏1205从亮屏状态切换为息屏状态;在接近传感器1216检测到用户与终端1200的正面之间的距离逐渐变大的情况下,由处理器1201控制显示屏1205从息屏状态切换为亮屏状态。
本领域技术人员可以理解,图12中示出的结构并不构成对终端1200的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
在一些实施例中,电子设备提供为服务器。图13是根据一示例性实施例示出的一种服务器的结构示意图,该服务器1300可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器(Central Processing Units,CPU)1301和一个或一个以上的存储器1302,其中,存储器1302中存储有至少一条程序代码,该至少一条程序代码由处理器1301加载并执行以实现上述各个方法实施例提供的方法。当然,该服务器还可以具有有线或无线网络接口、键盘以及输入输出接口等部件,以便进行输入输出,该服务器还可以包括其他用于实现设备功能的部件,在此不做赘述。
在示例性实施例中,还提供了一种非临时性计算机可读存储介质,存储介质中的程序代码由电子设备的处理器执行,使得电子设备能够执行上述弹幕显示方法中终端或服务器所执行的步骤。在一些实施例,存储介质可以是非临时性计算机可读存储介质,例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
在示例性实施例中,还提供了一种计算机程序产品,包括计算机程序,计算机程序被处理器执行时,实现上述弹幕显示方法。
本公开所有实施例均可以单独被执行,也可以与其他实施例相结合被执行,均视为本公开要求的保护范围。

Claims (60)

  1. 一种弹幕显示方法,由第一终端执行,包括:
    显示目标多媒体数据的播放界面;
    响应于在所述播放界面中检测到弹幕发布操作,获取第一贴纸弹幕;
    在所述播放界面中显示所述第一贴纸弹幕。
  2. 根据权利要求1所述的弹幕显示方法,其中,所述在所述播放界面中显示所述第一贴纸弹幕,包括:
    在所述播放界面中的目标显示位置上显示所述第一贴纸弹幕,或者,在所述播放界面中显示所述第一贴纸弹幕按照移动轨迹移动。
  3. 根据权利要求2所述的弹幕显示方法,其中,所述弹幕显示方法还包括:
    响应于所述弹幕发布操作,确定弹幕显示位置参数;
    将所述弹幕显示位置参数指示的位置,确定为所述目标显示位置。
  4. 根据权利要求3所述的弹幕显示方法,其中,所述响应于所述弹幕发布操作,确定弹幕显示位置参数,包括:
    响应于所述弹幕发布操作,在所述播放界面中显示弹幕位置输入区;
    从所述弹幕位置输入区中提取输入的所述弹幕显示位置参数。
  5. 根据权利要求3所述的弹幕显示方法,其中,所述响应于所述弹幕发布操作,确定弹幕显示位置参数,包括:
    响应于所述弹幕发布操作,在所述播放界面中显示指示标识;
    调整所述指示标识在所述播放界面中的显示位置;
    响应于检测到对所述指示标识的确认操作,将所述指示标识当前的显示位置对应的显示位置参数,确定为所述弹幕显示位置参数。
  6. 根据权利要求2所述的弹幕显示方法,其中,所述目标多媒体数据为目标视频,所述弹幕显示方法还包括:
    响应于所述弹幕发布操作,获取所述第一贴纸弹幕在所述目标视频中的显示时间段;
    确定所述目标视频中的目标显示元素在所述显示时间段内的移动轨迹;
    将所述目标显示元素对应的移动轨迹,确定为所述第一贴纸弹幕的移动轨迹。
  7. 根据权利要求6所述的弹幕显示方法,其中,所述弹幕显示方法还包括:
    响应于所述弹幕发布操作,从所述目标视频包括的多个显示元素中,选取所述目标显示元素。
  8. 根据权利要求2所述的弹幕显示方法,其中,所述弹幕显示方法还包括:
    响应于所述弹幕发布操作,获取弹幕移动轨迹参数;
    将所述弹幕移动轨迹参数指示的移动轨迹,确定为所述第一贴纸弹幕的移动轨迹。
  9. 根据权利要求2所述的弹幕显示方法,其中,所述弹幕显示方法还包括:
    响应于所述弹幕发布操作,获取所述目标多媒体数据当前的播放时间点和弹幕显示时长;
    所述在所述播放界面中的目标显示位置上显示所述第一贴纸弹幕,包括:
    在所述播放时间点之后的所述弹幕显示时长内,在所述目标显示位置上显示所述第一贴纸弹幕;
    所述在所述播放界面中显示所述第一贴纸弹幕按照移动轨迹移动,包括:
    在所述播放时间点之后的所述弹幕显示时长内,显示所述第一贴纸弹幕按照所述移动轨迹移动。
  10. 根据权利要求1所述的弹幕显示方法,其中,所述响应于在所述播放界面中检测到弹幕发布操作,获取第一贴纸弹幕,包括:
    响应于所述弹幕发布操作,向多媒体服务器发送弹幕发布请求;
    接收所述多媒体服务器发送的弹幕集合,所述弹幕集合包括所述第一贴纸弹幕,所述第一贴纸弹幕是所述多媒体服务器基于所述弹幕发布请求获取到的;
    获取所述弹幕集合中的所述第一贴纸弹幕。
  11. 根据权利要求1所述的弹幕显示方法,其中,所述响应于在所述播放界面中检测到弹幕发布操作,获取第一贴纸弹幕,包括:
    响应于所述弹幕发布操作,基于文本信息生成所述第一贴纸弹幕,所述文本信息包括所述第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息。
  12. 根据权利要求11所述的弹幕显示方法,其中,所述弹幕显示方法还包括:
    向多媒体服务器发送弹幕发布请求,所述弹幕发布请求携带所述第一贴纸弹幕,所述第一贴纸弹幕由所述多媒体服务器添加至所述目标多媒体数据的弹幕集合中,所述弹幕集合由所述多媒体服务器发送至播放所述目标多媒体数据的终端。
  13. 根据权利要求11所述的弹幕显示方法,其中,所述响应于所述弹幕发布操作,基于文本信息生成所述第一贴纸弹幕,包括:
    响应于所述弹幕发布操作,从多个模板参数中选取目标模板参数,所述目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项;
    基于所述目标模板参数及所述文本信息,渲染出所述第一贴纸弹幕,所述第一贴纸弹幕包含所述文本信息,且所述第一贴纸弹幕的显示样式与所述目标模板参数匹配。
  14. 根据权利要求13所述的弹幕显示方法,其中,所述目标模板参数包括字符数量参数,所述弹幕显示方法还包括:
    响应于所述第一用户账号对应的参考文本信息包含的字符的数量大于目标字符数量,从所述参考文本信息中提取所述目标字符数量的字符,将提取到的字符确定为所述文本信息,所述参考文本信息包括所述第一终端当前登录的所述第一用户账号对应的用户信息和/或用户输入的信息,所述目标字符数量为所述字符数量参数指示的字符数量;
    响应于所述参考文本信息包含的字符的数量不大于所述目标字符数量,将所述参考文本信息,确定为所述文本信息。
  15. 根据权利要求1所述的弹幕显示方法,其中,所述弹幕显示方法还包括:
    响应于对所述第一终端当前登录的第一用户账号对应的贴纸弹幕的删除操作,向多媒体服务器发送第一弹幕删除请求,所述第一弹幕删除请求用于请求所述多媒体服务器从所述目标多媒体数据的弹幕集合中删除所述第一用户账号对应的贴纸弹幕。
  16. 根据权利要求1所述的弹幕显示方法,其中,所述第一终端当前登录的第一用户 账号具有所述目标多媒体数据的管理权限;所述弹幕显示方法还包括:
    响应于对第二用户账号对应的贴纸弹幕的删除操作,向多媒体服务器发送第二弹幕删除请求,所述第二弹幕删除请求用于请求所述多媒体服务器从所述目标多媒体数据的弹幕集合中删除所述第二用户账号对应的贴纸弹幕,所述第二用户账号为对所述目标多媒体数据已发布弹幕的终端登录的账号。
  17. 一种弹幕显示方法,由多媒体服务器执行,所述弹幕显示方法包括:
    接收第一终端发送的对目标多媒体数据的弹幕发布请求,其中,所述第一终端为播放所述目标多媒体数据的终端;
    基于所述弹幕发布请求,获取第一贴纸弹幕,所述第一贴纸弹幕包括所述第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息;
    将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中;
    向所述第一终端发送所述弹幕集合。
  18. 根据权利要求17所述的弹幕显示方法,其中,所述第一贴纸弹幕是由所述第一终端基于文本信息生成的,所述文本信息包括所述第一用户账号对应的用户信息和/或用户输入的信息,所述弹幕发布请求携带所述第一贴纸弹幕;所述基于所述弹幕发布请求,获取第一贴纸弹幕,包括:
    从所述弹幕发布请求中获取所述第一贴纸弹幕。
  19. 根据权利要求17所述的弹幕显示方法,其中,所述弹幕发布请求携带文本信息,所述文本信息包括所述第一用户账号对应的用户信息和/或用户输入的信息;所述基于所述弹幕发布请求,获取第一贴纸弹幕,包括:
    基于所述文本信息生成所述第一贴纸弹幕。
  20. 根据权利要求19所述的弹幕显示方法,其中,所述弹幕发布请求还携带弹幕显示位置参数及目标模板参数,所述目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项;所述基于所述文本信息生成所述第一贴纸弹幕,包括:
    基于所述目标模板参数及所述文本信息,渲染出所述第一贴纸弹幕,所述第一贴纸弹幕包含所述文本信息,且所述第一贴纸弹幕的显示样式与所述目标模板参数匹配。
  21. 根据权利要求17所述的弹幕显示方法,其中,所述弹幕显示方法还包括:
    响应于第二终端发送的对所述目标多媒体数据的播放请求,向所述第二终端发送所述目标多媒体数据及所述目标多媒体数据的所述弹幕集合。
  22. 根据权利要求17所述的弹幕显示方法,其中,所述弹幕发布请求还携带弹幕显示位置参数;
    所述将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中,包括:
    将所述第一贴纸弹幕及所述弹幕显示位置参数对应存储于所述弹幕集合中。
  23. 根据权利要求17所述的弹幕显示方法,其中,所述弹幕发布请求还携带所述第一贴纸弹幕的弹幕移动轨迹参数;
    所述将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中,包括:
    将所述第一贴纸弹幕与所述第一贴纸弹幕的弹幕移动轨迹参数对应存储于所述弹幕集合中。
  24. 根据权利要求17所述的弹幕显示方法,其中,所述目标多媒体数据为目标视频,所述弹幕发布请求还携带目标显示元素标识及所述第一贴纸弹幕在所述目标视频中的显示时间段,所述目标显示元素标识用于指示所述目标视频中的目标显示元素;
    所述弹幕显示方法还包括:
    确定所述目标显示元素在所述显示时间段内的移动轨迹;
    将所述目标显示元素对应的移动轨迹,确定为所述第一贴纸弹幕的移动轨迹;
    所述将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中,包括:
    将所述第一贴纸弹幕与所述第一贴纸弹幕的移动轨迹的弹幕移动轨迹参数对应存储于所述弹幕集合中。
  25. 根据权利要求17所述的弹幕显示方法,其中,所述弹幕发布请求还携带播放时间点和弹幕显示时长;
    所述将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中,包括:
    将所述播放时间点、所述弹幕显示时长及所述第一贴纸弹幕对应存储于所述弹幕集合中。
  26. 根据权利要求17所述的弹幕显示方法,其中,所述弹幕显示方法还包括:
    接收第二用户账号登录的终端发送的对所述目标多媒体数据的弹幕删除请求,所述弹幕删除请求用于请求从所述目标多媒体数据的弹幕集合中删除所述第二用户账号对应的贴纸弹幕;
    从所述目标多媒体数据的弹幕集合中,将所述第二用户账号对应的贴纸弹幕删除。
  27. 根据权利要求17所述的弹幕显示方法,其中,所述弹幕显示方法还包括:
    接收第二用户账号登录的终端发送的对目标多媒体数据的弹幕删除请求,所述第二用户账号具有对所述目标多媒体数据的管理权限,所述弹幕删除请求携带第三用户账号,所述弹幕删除请求用于请求从所述目标多媒体数据的弹幕集合中删除所述第三用户账号对应的贴纸弹幕,所述第三用户账号为对所述目标多媒体数据已发布弹幕的终端登录的账号;
    从所述目标多媒体数据的弹幕集合中,将所述第三用户账号对应的贴纸弹幕删除。
  28. 一种弹幕显示装置,设置于第一终端,包括:
    显示单元,被配置为显示目标多媒体数据的播放界面;
    发送单元,被配置为响应于在所述播放界面中检测到弹幕发布操作,获取第一贴纸弹幕;
    所述显示单元,还被配置为在所述播放界面中显示所述第一贴纸弹幕。
  29. 根据权利要求28所述的弹幕显示装置,其中,所述显示单元,被配置为在所述播放界面中的目标显示位置上显示所述第一贴纸弹幕,或者,在所述播放界面中显示所述第一贴纸弹幕按照移动轨迹移动。
  30. 根据权利要求29所述的弹幕显示装置,其中,所述弹幕显示装置还包括:
    第一确定单元,被配置为响应于所述弹幕发布操作,确定弹幕显示位置参数;
    第二确定单元,包括:
    第一确定子单元,被配置为将所述弹幕显示位置参数指示的位置,确定为所述目标显示位置。
  31. 根据权利要求30所述的弹幕显示装置,其中,所述第一确定单元,包括:
    第一显示子单元,被配置为响应于所述弹幕发布操作,在所述播放界面中显示弹幕位置输入区;
    提取子单元,被配置为从所述弹幕位置输入区中提取输入的所述弹幕显示位置参数。
  32. 根据权利要求30所述的弹幕显示装置,其中,所述第一确定单元,包括:
    第一显示子单元,被配置为响应于所述弹幕发布操作,在所述播放界面中显示指示标识;
    调整子单元,被配置为调整所述指示标识在所述播放界面中的显示位置;
    第二确定子单元,被配置为响应于检测到对所述指示标识的确认操作,将所述指示标识当前的显示位置对应的显示位置参数,确定为所述弹幕显示位置参数。
  33. 根据权利要求29所述的弹幕显示装置,其中,所述目标多媒体数据为目标视频,所述弹幕显示装置还包括:
    第一获取单元,被配置为响应于所述弹幕发布操作,获取所述第一贴纸弹幕在所述目标视频中的显示时间段;
    所述第二获取单元,包括:
    第三确定子单元,被配置为确定所述目标视频中的目标显示元素在所述显示时间段内的移动轨迹;
    所述第三确定子单元,还被配置为将所述目标显示元素对应的移动轨迹,确定为所述第一贴纸弹幕的移动轨迹。
  34. 根据权利要求33所述的弹幕显示装置,其中,所述弹幕显示装置还包括:
    选取单元,被配置为响应于所述弹幕发布操作,从所述目标视频包括的多个显示元素中,选取所述目标显示元素。
  35. 根据权利要求29所述的弹幕显示装置,其中,所述弹幕显示装置还包括:
    第三获取单元,被配置为响应于所述弹幕发布操作,获取弹幕移动轨迹参数;
    所述第二获取单元,包括:
    第三确定子单元,被配置为将所述弹幕移动轨迹参数指示的移动轨迹,确定为所述第一贴纸弹幕的移动轨迹。
  36. 根据权利要求29所述的弹幕显示装置,其中,所述弹幕显示装置还包括:
    第四获取单元,被配置为响应于所述弹幕发布操作,获取所述目标多媒体数据当前的播放时间点和弹幕显示时长;
    所述显示单元,包括:
    第二显示子单元,被配置为在所述播放时间点之后的所述弹幕显示时长内,在所述目标显示位置上显示所述第一贴纸弹幕;或者,在所述播放时间点之后的所述弹幕显示时长内,显示所述第一贴纸弹幕按照所述移动轨迹移动。
  37. 根据权利要求28所述的弹幕显示装置,其中,所述发送单元,被配置为响应于所述弹幕发布操作,向多媒体服务器发送弹幕发布请求;接收所述多媒体服务器发送的弹幕集合,所述弹幕集合包括所述第一贴纸弹幕,所述第一贴纸弹幕是所述多媒体服务器基于所述弹幕发布请求获取到的;获取所述弹幕集合中的所述第一贴纸弹幕。
  38. 根据权利要求28所述的弹幕显示装置,其中,所述发送单元,包括:
    生成子单元,被配置为响应于所述弹幕发布操作,基于文本信息生成所述第一贴纸弹幕,所述文本信息包括所述第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息。
  39. 根据权利要求38所述的弹幕显示装置,其中,所述发送单元,包括:
    发送子单元,被配置为向多媒体服务器发送弹幕发布请求,所述弹幕发布请求携带所述第一贴纸弹幕,所述第一贴纸弹幕由所述多媒体服务器添加至所述目标多媒体数据的弹幕集合中,所述弹幕集合由所述多媒体服务器发送至播放所述目标多媒体数据的终端。
  40. 根据权利要求38所述的弹幕显示装置,其中,所述生成子单元,被配置为响应于所述弹幕发布操作,从多个模板参数中选取目标模板参数,所述目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项;基于所述目标模板参数及所述文本信息,渲染出所述第一贴纸弹幕,所述第一贴纸弹幕包含所述文本信息,且所述第一贴纸弹幕的显示样式与所述目标模板参数匹配。
  41. 根据权利要求40所述的弹幕显示装置,其中,所述目标模板参数包括字符数量参数,所述弹幕显示装置还包括:
    提取单元,被配置为响应于所述第一用户账号对应的参考文本信息包含的字符的数量大于目标字符数量,从所述参考文本信息中提取所述目标字符数量的字符,将提取到的字符确定为所述文本信息,所述参考文本信息包括所述第一终端当前登录的所述第一用户账号对应的用户信息和/或用户输入的信息,所述目标字符数量为所述字符数量参数指示的字符数量;
    第三确定单元,被配置为响应于所述参考文本信息包含的字符的数量不大于所述目标字符数量,将所述参考文本信息,确定为所述文本信息。
  42. 根据权利要求28所述的弹幕显示装置,其中,所述发送单元,还被配置为响应于对所述第一终端当前登录的第一用户账号对应的贴纸弹幕的删除操作,向多媒体服务器发送第一弹幕删除请求,所述第一弹幕删除请求用于请求所述多媒体服务器从所述目标多媒体数据的弹幕集合中删除所述第一用户账号对应的贴纸弹幕。
  43. 根据权利要求28所述的弹幕显示装置,其中,所述第一终端当前登录的用户信息具有所述目标多媒体数据的管理权限;
    所述发送单元,还被配置为响应于对第二用户账号对应的贴纸弹幕的删除操作,向多媒体服务器发送第二弹幕删除请求,所述第二弹幕删除请求用于请求所述多媒体服务器从所述目标多媒体数据的弹幕集合中删除所述第二用户账号对应的贴纸弹幕,所述第二用户账号为对所述目标多媒体数据已发布弹幕的终端登录的账号。
  44. 一种弹幕显示装置,设置于多媒体服务器,包括:
    接收单元,被配置为接收第一终端发送的对目标多媒体数据的弹幕发布请求,其中所述第一终端为播放所述目标多媒体数据的终端;
    获取单元,被配置为基于所述弹幕发布请求,获取第一贴纸弹幕,所述第一贴纸弹幕包括所述第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息;
    添加单元,被配置为将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中;
    发送单元,被配置为向所述第一终端发送所述弹幕集合。
  45. 根据权利要求44所述的弹幕显示装置,其中,所述第一贴纸弹幕是由所述第一终 端基于文本信息生成的,所述文本信息包括所述第一用户账号对应的用户信息和/或用户输入的信息,所述弹幕发布请求携带所述贴纸弹幕;所述获取单元,包括:
    获取子单元,被配置为从所述弹幕发布请求中获取所述第一贴纸弹幕。
  46. 根据权利要求44所述的弹幕显示装置,其中,所述弹幕发布请求携带文本信息,所述文本信息包括所述第一用户账号对应的用户信息和/或用户输入的信息;所述获取单元,包括:
    生成子单元,被配置为基于所述文本信息生成所述第一贴纸弹幕。
  47. 根据权利要求46所述的弹幕显示装置,其中,所述弹幕发布请求还携带弹幕显示位置参数及目标模板参数,所述目标模板参数包括颜色参数、字体参数、***刻法参数、轮廓形状参数及图形尺寸参数中至少一项;所述生成子单元,被配置为基于所述目标模板参数及所述文本信息,渲染出所述第一贴纸弹幕,所述第一贴纸弹幕包含所述文本信息,且所述第一贴纸弹幕的显示样式与所述目标模板参数匹配。
  48. 根据权利要求44所述的弹幕显示装置,其中,所述发送单元,被配置为响应于第二终端发送的对所述目标多媒体数据的播放请求,向所述第二终端发送所述目标多媒体数据及所述目标多媒体数据的所述弹幕集合。
  49. 根据权利要求44所述的弹幕显示装置,其中,所述弹幕发布请求还携带弹幕显示位置参数;
    所述添加单元,被配置为将所述第一贴纸弹幕及所述弹幕显示位置参数对应存储于所述弹幕集合中。
  50. 根据权利要求44所述的弹幕显示装置,其中,所述弹幕发布请求还携带所述第一贴纸弹幕的弹幕移动轨迹参数;
    所述添加单元,被配置为将所述第一贴纸弹幕与所述第一贴纸弹幕的弹幕移动轨迹参数对应存储于所述弹幕集合中。
  51. 根据权利要求44所述的弹幕显示装置,其中,所述目标多媒体数据为目标视频,所述弹幕发布请求还携带目标显示元素标识及所述第一贴纸弹幕在所述目标视频中的显示时间段,所述目标显示元素标识用于指示所述目标视频中的目标显示元素;
    所述弹幕显示装置还包括:
    确定单元,被配置为确定所述目标显示元素在所述显示时间段内的移动轨迹;
    所述确定单元,还被配置为将所述目标显示元素对应的移动轨迹,确定为所述第一贴纸弹幕的移动轨迹;
    所述添加单元,被配置为将所述第一贴纸弹幕与所述第一贴纸弹幕的移动轨迹的弹幕移动轨迹参数对应存储于所述弹幕集合中。
  52. 根据权利要求44所述的弹幕显示装置,其中,所述弹幕发布请求还携带播放时间点和弹幕显示时长;
    所述添加单元,被配置为将所述播放时间点、所述弹幕显示时长及所述第一贴纸弹幕对应存储于所述弹幕集合中。
  53. 根据权利要求44所述的弹幕显示装置,其中,所述弹幕显示装置还包括:
    所述接收单元,还被配置为接收第二用户账号登录的终端发送的对所述目标多媒体数 据的弹幕删除请求,所述弹幕删除请求用于请求从所述目标多媒体数据的弹幕集合中删除所述第二用户账号对应的贴纸弹幕;
    删除单元,被配置为从所述目标多媒体数据的弹幕集合中,将所述第二用户账号对应的贴纸弹幕删除。
  54. 根据权利要求44所述的弹幕显示装置,其中,所述弹幕显示装置还包括:
    所述接收单元,还被配置为接收第二用户账号登录的终端发送的对目标多媒体数据的弹幕删除请求,所述第二用户账号具有对所述目标多媒体数据的管理权限,所述弹幕删除请求携带第三用户账号,所述弹幕删除请求用于请求从所述目标多媒体数据的弹幕集合中删除所述第三用户账号对应的贴纸弹幕,所述第三用户账号为对所述目标多媒体数据已发布弹幕的终端登录的账号;
    删除单元,被配置为从所述目标多媒体数据的弹幕集合中,将所述第三用户账号对应的贴纸弹幕删除。
  55. 一种电子设备,其中,所述电子设备包括:
    一个或多个处理器;
    用于存储所述一个或多个处理器可执行指令的易失性或非易失性存储器;
    其中,所述一个或多个处理器被配置为所述指令,实现以下步骤:
    显示目标多媒体数据的播放界面;
    响应于在所述播放界面中检测到弹幕发布操作,获取第一贴纸弹幕;
    在所述播放界面中显示所述第一贴纸弹幕。
  56. 一种电子设备,其中,所述电子设备包括:
    一个或多个处理器;
    用于存储所述一个或多个处理器可执行指令的易失性或非易失性存储器;
    其中,所述一个或多个处理器被配置为所述指令,实现以下步骤:
    接收第一终端发送的对目标多媒体数据的弹幕发布请求,其中,所述第一终端为播放所述目标多媒体数据的终端;
    基于所述弹幕发布请求,获取第一贴纸弹幕,所述第一贴纸弹幕包括所述第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息;
    将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中;
    向所述第一终端发送所述弹幕集合。
  57. 一种非临时性计算机可读存储介质,其中,所述存储介质中的指令由电子设备的处理器执行,使得所述电子设备能够执行以下步骤:
    显示目标多媒体数据的播放界面;
    响应于在所述播放界面中检测到弹幕发布操作,获取第一贴纸弹幕;
    在所述播放界面中显示所述第一贴纸弹幕。
  58. 一种非临时性计算机可读存储介质,其中,所述存储介质中的指令由电子设备的处理器执行,使得所述电子设备能够执行以下步骤:
    接收第一终端发送的对目标多媒体数据的弹幕发布请求,其中,所述第一终端为播放所述目标多媒体数据的终端;
    基于所述弹幕发布请求,获取第一贴纸弹幕,所述第一贴纸弹幕包括所述第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息;
    将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中;
    向所述第一终端发送所述弹幕集合。
  59. 一种计算机程序产品,包括计算机程序,其中,所述计算机程序被处理器执行时,实现以下步骤:
    显示目标多媒体数据的播放界面;
    响应于在所述播放界面中检测到弹幕发布操作,获取第一贴纸弹幕;
    在所述播放界面中显示所述第一贴纸弹幕。
  60. 一种计算机程序产品,包括计算机程序,其中,所述计算机程序被处理器执行时,实现以下步骤:
    接收第一终端发送的对目标多媒体数据的弹幕发布请求,其中,所述第一终端为播放所述目标多媒体数据的终端;
    基于所述弹幕发布请求,获取第一贴纸弹幕,所述第一贴纸弹幕包括所述第一终端当前登录的第一用户账号对应的用户信息和/或用户输入的信息;
    将所述第一贴纸弹幕添加至所述目标多媒体数据的弹幕集合中;
    向所述第一终端发送所述弹幕集合。
PCT/CN2021/108505 2020-12-30 2021-07-26 弹幕显示方法及电子设备 WO2022142295A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011614461.X 2020-12-30
CN202011614461.XA CN112612439B (zh) 2020-12-30 2020-12-30 弹幕显示方法、装置、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2022142295A1 true WO2022142295A1 (zh) 2022-07-07

Family

ID=75249555

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/108505 WO2022142295A1 (zh) 2020-12-30 2021-07-26 弹幕显示方法及电子设备

Country Status (2)

Country Link
CN (1) CN112612439B (zh)
WO (1) WO2022142295A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297355A (zh) * 2022-08-02 2022-11-04 北京奇艺世纪科技有限公司 弹幕显示方法、生成方法、装置、电子设备及存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112612439B (zh) * 2020-12-30 2022-12-27 游艺星际(北京)科技有限公司 弹幕显示方法、装置、电子设备及存储介质
CN114025225B (zh) * 2021-10-29 2023-08-29 北京字跳网络技术有限公司 弹幕的控制方法、装置、电子设备和存储介质
CN114531607A (zh) * 2021-12-14 2022-05-24 北京奇艺世纪科技有限公司 弹幕显示方法、装置、设备及存储介质
CN114339373B (zh) * 2022-03-17 2022-05-27 飞狐信息技术(天津)有限公司 一种队列弹幕生成方法、装置、存储介质和设备

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140281996A1 (en) * 2013-03-14 2014-09-18 Apollo Group, Inc. Video pin sharing
CN105578209A (zh) * 2015-12-16 2016-05-11 广州酷狗计算机科技有限公司 弹幕显示方法及装置
CN106792087A (zh) * 2016-12-14 2017-05-31 上海青声网络科技有限公司 一种弹幕显示的方法及装置
CN108260019A (zh) * 2018-01-16 2018-07-06 深圳市瑞致达科技有限公司 弹幕显示方法、装置及可读存储介质
CN108540863A (zh) * 2018-03-29 2018-09-14 武汉斗鱼网络科技有限公司 基于人脸表情的弹幕设置方法、存储介质、设备及***
CN109831674A (zh) * 2019-01-08 2019-05-31 北京潘达互娱科技有限公司 一种弹幕设置及呈现方法、装置、计算设备及存储介质
CN110493653A (zh) * 2019-09-12 2019-11-22 北京奇艺世纪科技有限公司 弹幕播放控制方法、装置、设备及存储介质
CN112612439A (zh) * 2020-12-30 2021-04-06 游艺星际(北京)科技有限公司 弹幕显示方法、装置、电子设备及存储介质
CN113157172A (zh) * 2021-03-12 2021-07-23 游艺星际(北京)科技有限公司 弹幕信息显示方法、发送方法、装置、终端及存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847999A (zh) * 2016-03-29 2016-08-10 广州华多网络科技有限公司 一种弹幕显示的方法及显示装置
CN106101804A (zh) * 2016-06-16 2016-11-09 乐视控股(北京)有限公司 弹幕设定方法及装置
CN107690078B (zh) * 2017-09-28 2020-04-21 腾讯科技(深圳)有限公司 弹幕信息显示方法、提供方法以及设备

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140281996A1 (en) * 2013-03-14 2014-09-18 Apollo Group, Inc. Video pin sharing
CN105578209A (zh) * 2015-12-16 2016-05-11 广州酷狗计算机科技有限公司 弹幕显示方法及装置
CN106792087A (zh) * 2016-12-14 2017-05-31 上海青声网络科技有限公司 一种弹幕显示的方法及装置
CN108260019A (zh) * 2018-01-16 2018-07-06 深圳市瑞致达科技有限公司 弹幕显示方法、装置及可读存储介质
CN108540863A (zh) * 2018-03-29 2018-09-14 武汉斗鱼网络科技有限公司 基于人脸表情的弹幕设置方法、存储介质、设备及***
CN109831674A (zh) * 2019-01-08 2019-05-31 北京潘达互娱科技有限公司 一种弹幕设置及呈现方法、装置、计算设备及存储介质
CN110493653A (zh) * 2019-09-12 2019-11-22 北京奇艺世纪科技有限公司 弹幕播放控制方法、装置、设备及存储介质
CN112612439A (zh) * 2020-12-30 2021-04-06 游艺星际(北京)科技有限公司 弹幕显示方法、装置、电子设备及存储介质
CN113157172A (zh) * 2021-03-12 2021-07-23 游艺星际(北京)科技有限公司 弹幕信息显示方法、发送方法、装置、终端及存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297355A (zh) * 2022-08-02 2022-11-04 北京奇艺世纪科技有限公司 弹幕显示方法、生成方法、装置、电子设备及存储介质
CN115297355B (zh) * 2022-08-02 2024-01-23 北京奇艺世纪科技有限公司 弹幕显示方法、生成方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN112612439B (zh) 2022-12-27
CN112612439A (zh) 2021-04-06

Similar Documents

Publication Publication Date Title
WO2022142295A1 (zh) 弹幕显示方法及电子设备
CN110971930B (zh) 虚拟形象直播的方法、装置、终端及存储介质
CN110992493B (zh) 图像处理方法、装置、电子设备及存储介质
WO2020253655A1 (zh) 多虚拟角色的控制方法、装置、设备及存储介质
CN109729411B (zh) 直播互动方法及装置
CN110278464B (zh) 显示榜单的方法和装置
CN112118477B (zh) 虚拟礼物展示方法、装置、设备以及存储介质
CN110061900B (zh) 消息显示方法、装置、终端及计算机可读存储介质
WO2022227623A1 (zh) 显示发布进度的方法及电子设备
CN112751679B (zh) 即时通讯消息处理方法、终端及服务器
CN108694073B (zh) 虚拟场景的控制方法、装置、设备及存储介质
CN110300274B (zh) 视频文件的录制方法、装置及存储介质
CN112328091B (zh) 弹幕显示方法、装置、终端及存储介质
CN110139143B (zh) 虚拟物品显示方法、装置、计算机设备以及存储介质
CN110533585B (zh) 一种图像换脸的方法、装置、***、设备和存储介质
WO2020233403A1 (zh) 三维角色的个性化脸部显示方法、装置、设备及存储介质
CN112565911B (zh) 弹幕显示方法、弹幕生成方法、装置、设备及存储介质
CN112468884B (zh) 动态资源显示方法、装置、终端、服务器及存储介质
CN111669640B (zh) 虚拟物品转移特效的显示方法、装置、终端及存储介质
CN111628925A (zh) 歌曲交互方法、装置、终端及存储介质
CN113204672B (zh) 资源展示方法、装置、计算机设备及介质
CN112367533B (zh) 交互业务的处理方法、装置、设备及计算机可读存储介质
CN112822544B (zh) 视频素材文件生成方法、视频合成方法、设备及介质
CN111884913B (zh) 消息提示方法、装置、终端及存储介质
CN113485596B (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: 21913046

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

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