WO2017181600A1 - Method and device for controlling overlay comment - Google Patents
Method and device for controlling overlay comment Download PDFInfo
- Publication number
- WO2017181600A1 WO2017181600A1 PCT/CN2016/100353 CN2016100353W WO2017181600A1 WO 2017181600 A1 WO2017181600 A1 WO 2017181600A1 CN 2016100353 W CN2016100353 W CN 2016100353W WO 2017181600 A1 WO2017181600 A1 WO 2017181600A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- barrage
- type
- voting
- video
- interface
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/475—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/475—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
- H04N21/4758—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for providing answers, e.g. voting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/466—Learning process for intelligent management, e.g. learning user preferences for recommending movies
- H04N21/4668—Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/482—End-user interface for program selection
- H04N21/4826—End-user interface for program selection using recommendation lists, e.g. of programs or channels sorted out according to their score
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
Definitions
- the present invention relates to the field of multimedia technologies, and in particular, to a barrage control method and apparatus.
- the comment information of the current video being played may be input through the video player, and the comment information is uploaded to the server, and in addition, when watching the video, each user may also obtain the current video from the server.
- the real-time comment information and the historical comment information are sent, and the real-time comment information and the historical comment information are displayed on the current video screen in the form of a barrage.
- the present application discloses a barrage control method and apparatus.
- the present application provides a barrage control method, the method comprising:
- the barrage type is a preset type, displaying an extended interface corresponding to the preset type, where the extended interface includes at least one operation control;
- the operation information includes a user identifier corresponding to the extended operation and/or a barrage identifier of the barrage;
- displaying an extended interface corresponding to the preset type includes:
- the red envelope information includes a red envelope issued At least one of a party, a red envelope total amount, and a red envelope usage rule, where the red envelope extension interface includes at least a red envelope receiving control for receiving a red envelope receiving operation;
- the red envelope extension interface is displayed at the determined display position.
- the server when the expanding operation is a red packet receiving operation performed by the user on the red packet receiving control, the server is received according to the server
- the extended result returned by the operation information is executed and includes:
- the red packet receiving result includes at least a red packet amount
- the red envelope receiving result is displayed.
- displaying an extended interface corresponding to the preset type includes:
- the voting information corresponding to the voting type barrage, and generating a voting extension interface according to the voting information; wherein the voting information includes a voting option and/or a corresponding voting option
- the voting interface includes at least a voting control for receiving a voting operation;
- the voting extension interface is displayed at the determined display position.
- the expanding operation is a voting operation performed by the user on the voting extension interface
- receiving the server according to the The extended result returned by the operation information is executed and includes:
- the server Receiving, by the server, a voting result returned according to the operation information corresponding to the voting operation; wherein the operation information corresponding to the voting operation includes a user identifier and an option identifier of a voting option selected by the user, where the voting result includes a current corresponding to each voting option Number of votes;
- the voting result and the voting prompt information are displayed.
- displaying an extended interface corresponding to the preset type includes:
- the video recommendation information includes the recommended video At least one of a name, an introduction picture, an introduction text, and a link address, where the video recommendation extension interface includes at least a jump control for the user to receive a video jump operation;
- the video recommendation extension interface is displayed at the determined display position.
- the expanding operation is a video jump operation performed by the user on the video recommendation extension interface
- receiving the The server performs the extended result according to the operation information and executes, including:
- the operation information corresponding to the video jump operation includes a link address and/or a video identifier of the recommended video
- the recommended video data is played by the reset video player.
- the method further includes:
- the extension interface is closed when the extension operation is not received within a preset time after displaying the extension interface.
- acquiring a barrage of the barrage corresponding to the triggering operation Types including:
- the preset type of the barrage identifier and the type of the barrage is used to search for the type of the barrage corresponding to the extracted barrage identifier from the pre-acquired barrage information.
- the method further includes:
- the barrage information includes a barrage identifier and a barrage type of each barrage corresponding to the current video Correspondence, as well as the barrage content and the barrage display time for each barrage.
- obtaining a barrage of the barrage corresponding to the triggering operation Types including:
- the present application provides a barrage control device, the device comprising:
- the trigger operation receiving unit is configured to receive a trigger operation performed by the user on the barrage displayed on the current video playing interface
- a barrage type obtaining unit configured to acquire a barrage type of the barrage corresponding to the triggering operation
- An extended interface display unit configured to display an extended interface corresponding to the preset type when the barrage type is a preset type, where the extended interface includes at least one operation control;
- an extended operation receiving unit configured to receive an extended operation performed by the user on the operation control in the extended interface
- An operation information sending unit configured to send the operation information corresponding to the extended operation to the server; wherein the operation information includes a user identifier corresponding to the extended operation and/or a barrage identifier of the barrage;
- an extended result execution unit configured to receive an extended result returned by the server according to the operation information, and execute.
- the extended interface display unit includes:
- a red packet interface display unit configured to acquire red packet information corresponding to the red envelope type curtain according to the barrage identifier of the red envelope type curtain when the barrage type is a red envelope type, and trigger the red envelope software development kit SDK according to The red packet information generates a red packet extension interface; determining a display position of the red packet extension interface; displaying the red packet extension interface on the determined display location;
- the red envelope information includes at least one of a red envelope issuer, a red envelope total amount, and a red envelope usage rule
- the red envelope extension interface includes at least a red envelope receiving control for receiving a red envelope receiving operation.
- the extended result execution unit includes:
- a red packet receiving result display unit configured to: when the extended operation is a red envelope receiving operation performed by the user on the red envelope receiving control, the receiving server displays the red envelope according to the red packet receiving result returned by the operation information corresponding to the red packet receiving operation Receive results;
- the red envelope receiving result includes at least a red envelope amount.
- the extended interface display unit includes:
- a voting interface display unit configured to: when the barrage type is a voting type, obtain voting information corresponding to the voting type barrage according to the barrage identifier of the voting type barrage, and generate a voting extension according to the voting information An interface; determining a display location of the voting extension interface; displaying the voting extension interface on the determined display location;
- the voting information includes a voting option and/or a number of votes corresponding to each voting option, and the voting interface includes at least a voting control for receiving a voting operation.
- the extended result execution unit includes:
- a voting result display unit configured to: when the extended operation is a voting operation performed by the user on the voting extension interface, receive a voting result returned by the server according to the operation information corresponding to the voting operation, and display the voting result and the Voting information;
- the operation information corresponding to the voting operation includes a user identifier and an option identifier of a voting option selected by the user, and the voting result includes a current number of votes corresponding to each voting option.
- the extended interface display unit includes:
- a video recommendation interface display unit configured to acquire, according to the barrage identifier of the video recommendation type barrage, the video recommendation information corresponding to the video recommendation type barrage according to the video recommendation type, and according to the The video recommendation information generates a video recommendation extension interface; determining a display position of the video recommendation extension interface; displaying the video recommendation extension interface on the determined display position;
- the video recommendation information includes at least one of a name of the recommended video, an introduction picture, an introduction text, and a link address, where the video recommendation extension interface includes at least a jump control that the user receives the video jump operation.
- the expansion result execution unit includes:
- a video jump execution unit configured to: when the extended operation is a video jump operation performed by the user on the video recommendation extension interface, receive recommended video data returned by the server according to the operation information corresponding to the video jump operation; Terminating the video player's playback control of the current video, and resetting the video player; playing the recommended video data by the reset video player;
- the operation information corresponding to the video jump operation includes a link address and/or a video identifier of the recommended video.
- the device further includes:
- An extended interface closing unit configured to determine whether the extended operation is received within a preset time after displaying the extended interface, and when the extended operation is not received within a preset time after displaying the extended interface, Close the extension interface.
- the barrage type acquiring unit includes:
- a first acquiring unit configured to extract a barrage identifier of the barrage corresponding to the triggering operation, and use a preset correspondence between the barrage identifier and the barrage type to search for the bullet from the pre-acquired barrage information The type of barrage corresponding to the curtain logo.
- the device further includes:
- a barrage information prefetching unit configured to generate a barrage acquisition request including a current video identifier and send the request to the server, and receive, by the server, the current video corresponding to the barrage acquisition request.
- the barrage information ;
- the barrage information includes a correspondence between a barrage identifier of each barrage corresponding to the current video and a barrage type, and a barrage content and a barrage display time corresponding to each barrage.
- the barrage type acquiring unit includes:
- a second acquiring unit configured to extract a barrage identifier of the barrage corresponding to the triggering operation, generate a barrage type acquisition request including the barrage identifier, and send the request to the server, and receive the server according to the barrage type Obtain the type of the barrage returned by the request and use it as the type of barrage corresponding to the extracted barrage identifier.
- the embodiment of the present invention further provides a non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium stores computer executable instructions for executing any of the above Curtain control method.
- An embodiment of the present invention further provides an electronic device, including: one or more processors; and a memory; wherein the memory stores instructions executable by the one or more processors, the instructions being It is set to perform any of the above-described barrage control methods.
- Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer When the computer is caused to execute any of the above-described barrage control methods.
- the embodiment of the present application receives a trigger operation performed on a preset type of barrage displayed in the current video playing interface in real time, and displays the preset type of bomb after receiving the triggering operation.
- the extended interface corresponding to the screen further receives the user's extended operation on the operation control in the extended interface, requests the server to obtain the extended operation result and executes according to the operation information of the extended operation, thereby enhancing the interaction between the user and the video player, and enhancing the video.
- the fun of playing and the amount of video playback can also be used to promote the promotion of information such as TV dramas and physical products through the above-mentioned preset types of red packets.
- FIG. 1 is a flowchart of a method for controlling a barrage according to an embodiment of the present application
- FIG. 2 is a schematic view showing a display of a bullet screen according to an embodiment of the present application.
- FIG. 3 is a schematic diagram of a red envelope extension interface and a red envelope receiving result display interface according to an embodiment of the present application.
- FIG. 4 is a schematic diagram of a voting extension interface and a red envelope voting result display interface according to an embodiment of the present application
- FIG. 5 is a schematic diagram of a video recommendation extension interface according to an embodiment of the present application.
- FIG. 6 is a flowchart of a method for controlling a barrage according to another embodiment of the present application.
- FIG. 7 is a structural block diagram of a barrage control device according to an embodiment of the present application.
- FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
- the current video identifier to be played or being played may be sent to the server, so that the server returns the bullet information corresponding to the current video according to the current video identifier (the bullet information includes each barrage)
- the server returns the bullet information corresponding to the current video according to the current video identifier (the bullet information includes each barrage)
- the barrage content, the barrage display time, and the like, and the video player displays each barrage on the current video player interface according to the barrage information returned by the server, and simultaneously performs the following barrage control methods provided by the embodiments of the present application:
- the barrage type is a preset type, displaying an extended interface corresponding to the preset type, where the extended interface includes at least one operation control;
- the operation information includes a user identifier corresponding to the extended operation and/or a barrage identifier of the barrage;
- the user when the user watches the video and the barrage through the video player, the user can also interact with the video player based on the preset type of barrage.
- the execution process of the above-described barrage control method may be as shown in FIG. 1 and includes the following steps.
- S12. Determine whether the type of the barrage is a preset type.
- the barrage type is a preset type, an extended interface corresponding to the preset type is displayed.
- the preset type described in the embodiment of the present application may be a red envelope type, a voting type, a video recommendation type, or the like; wherein, for the red envelope type curtain 201, the display format may be set as: red envelope
- for the voting type barrage 202 its display format can be set as: voting identification picture + voting keyword "voting for the annual popular movie", for the video recommendation type barrage 203, Its display format can be set to: video logo image + video keyword "hot movie of the month”.
- the display format of the preset type of barrage In practical applications, by specially setting the display format of the preset type of barrage, it is developed separately from the traditional text table barrage, which makes it easier and more timely for the user to find and execute the preset type of barrage.
- the triggering operation (specifically, click operation, sliding operation, etc.) increases the probability of interaction between the user and the video player.
- the extension interface includes at least one operation control. For example, when it is determined that the user performs the triggering operation on the red envelope type curtain 201 in FIG. 2 according to the detecting and determining steps in steps S11 to S12, the extended interface corresponding to the red envelope type curtain, that is, the red envelope receiving interface, may be displayed correspondingly.
- the red packet receiving interface includes at least one red packet receiving control for receiving a red envelope receiving operation of the user (ie, an extended operation in step S13 described below).
- the extended interface corresponding to the voting type barrage that is, the voting interface, which includes at least one voting control (such as a voting button)
- the voting interface which includes at least one voting control (such as a voting button)
- the user receives the voting operation of the user; when it is determined that the user performs the triggering operation on the video recommendation type barrage in FIG. 2, the extended interface corresponding to the video recommendation type barrage, that is, the video recommendation interface, the video recommendation interface may be correspondingly displayed. At least the jump control is included to receive the user's video operation operation.
- the operation information includes a user identifier corresponding to the extended operation and/or a barrage identifier of the barrage.
- the red bag collection interface After the red bag collection interface is displayed, the red envelope receiving operation of the user can be received and the red bag receiving result is returned.
- the voting interface After the voting interface is displayed, the voting operation of the user can be received and the voting result is returned, and the display result is displayed.
- the video recommendation interface the user can receive the video jump operation of the user and return the video stream of the recommended video, so that the user can perform redemption, voting, video jump and the like while watching the video.
- the embodiment of the present application receives a trigger operation performed on a preset type of barrage displayed in the current video playing interface in real time, and displays the preset type of bomb after receiving the triggering operation.
- the extended interface corresponding to the screen further receives the user's extended operation on the operation control in the extended interface, requests the server to obtain the extended operation result and executes according to the operation information of the extended operation, thereby enhancing the interaction between the user and the video player, and enhancing the video.
- the fun of playing and the amount of video playback can also be used to promote the promotion of information such as TV dramas and physical products through the above-mentioned preset types of red packets.
- step S12 it is determined in step S12 that the barrage type is a red envelope type in the preset type, that is, when the barrage corresponding to the triggering operation detected in step S11 is a red envelope type barrage, the display and the pre-predetermined Set the extended interface corresponding to the type, including:
- S1211 Obtain red packet information corresponding to the red envelope type bullet according to the barrage identifier of the red envelope type curtain, and trigger the red envelope software development kit to generate a red envelope extension interface according to the red envelope information.
- the red packet information includes at least one of a red envelope issuer, a red envelope total amount, and a red envelope usage rule; and may be obtained from the server according to the barrage identifier.
- the software development kit (SDK) that implements the red envelope function formats the obtained red envelope information according to a preset format to generate a red envelope collection interface, and the red envelope extension interface includes at least a red envelope for receiving the red envelope receiving operation. Control.
- step S1213 draws a red envelope extension interface generated by the red envelope SDK in the screen capture layer of the video player, that is, completes the red envelope extension interface in the current video.
- the display in the playback interface is as shown in the interface 310 of FIG.
- the red packet receiving control can be a visible control, as shown in the control 311 in FIG. 3, which can receive a click operation of the user (ie, implement a click-through red envelope); the red packet receiving control can also be a hidden control, and can receive the user.
- the shaking operation ie, realizes shaking a red collar).
- the visible control and the hidden control can be set at the same time in the red envelope extension interface, so that the user can receive the red envelope by any one of the click operation and the shaking operation.
- the red envelope SDK performs corresponding operation information, such as a user identifier of the user performing the red envelope receiving operation, and displayed
- operation information such as a user identifier of the user performing the red envelope receiving operation
- displayed The barrage identifier of the red envelope type curtain corresponding to the red envelope extension interface is sent to the server, so that the server determines the red envelope receiving result according to the operation information sent by the red envelope SDK and returns to the red envelope SDK (ie, returns to the video player); correspondingly, And receiving the extended result returned by the server according to the operation information, and performing the step, as follows:
- the receiving server returns a red packet receiving result according to the operation information corresponding to the red packet receiving operation.
- the red packet receiving result includes at least the red packet amount received by the user.
- step S12 it is determined in step S12 that the barrage type is a voting type in a preset type, that is, when the barrage corresponding to the triggering operation detected in step S11 is a voting type barrage, the display and the The extended interface corresponding to the preset type includes:
- the voting information corresponding to the voting type barrage is obtained according to the barrage identifier of the voting type barrage, and a voting extension interface is generated according to the voting information.
- the voting information includes a voting option and/or a number of votes corresponding to each voting option, and the voting interface includes at least a voting control for receiving a voting operation.
- a voting extension interface 410 includes a voting control 411, and the obtained voting information, such as: voting theme "Your favorite Chinese movie is?", three voting options "A, rescue my Mr., "B, old cannon” and "C, Master", according to the actual situation, the voting extension interface can also display the number of votes received by each voting option.
- the operation information of the voting operation includes a user identifier, a barrage identifier, an option identifier of the selected voting option, and the like. And sending to the server, so that the server updates the voting result according to the operation information, and returns the updated voting result; correspondingly, receiving the extended result returned by the server according to the operation information, and performing the step, as described in step S15, specifically:
- the voting result display interface 420 includes the current number of votes and/or the current number of votes corresponding to each voting option, and the voting result display interface 420 may also display the voting prompt in the form of the prompt box 421. Information to remind the user that the vote has been completed.
- the user identifier and the barrage identifier are uploaded to the server, so that the server can query whether there is a voting operation record of the voting interface corresponding to the barrage identifier of the user identifier. If not, the server returns voting information, the video player generates and displays a voting extension interface 410, and if so, the server directly returns the voting result, i.e., directly displays the voting result display interface 420 in the video player.
- step S12 it is determined in step S12 that the barrage type is the video recommendation type in the preset type, that is, when the barrage corresponding to the triggering operation detected in step S11 is a video recommendation type barrage, the display and
- the extended interface corresponding to the preset type includes:
- S1231 Obtain video recommendation information corresponding to the video recommendation type bulletscreen according to the barrage identifier of the video recommendation type barrage, and generate a video recommendation extension interface according to the video recommendation information.
- the video recommendation information includes at least one of a name of the recommended video, an introduction picture, an introduction text, and a link address, where the video recommendation extension interface includes at least a jump control that the user receives the video jump operation.
- a video recommendation extension page 510 includes a jump control 511 and obtained video recommendation information, such as a name of the recommended video, an introduction picture, an introduction text, and a link address of the recommended video. Bind to the jump control 511.
- the operation information of the video jump operation mainly includes being recommended.
- the link address and/or the video identifier of the video is sent to the server, so that the server finds and returns the video data of the recommended video.
- receiving the extended result returned by the server according to the operation information and performing according to step S15 the steps include the following steps:
- S1532 Terminate the playback control of the current video by the video player, and reset the video player.
- the following control of the video player is required, firstly, the playback of the current video is terminated, and then The video player is set (reinitialized) so that the captured video data of the recommended video can be placed in the reset video player to start playing the recommended video.
- the above embodiments respectively introduce the interaction between the user and the video player based on the three preset types of the red envelope type, the voting type and the video recommendation type.
- the actual application is not limited to the above specific implementation manner, and can also be adopted.
- Other preset types of barrage enhance the interaction between the user and the player, improving the fun of video playback and the amount of video playback.
- FIG. 6 is a flowchart of another method for controlling a barrage according to an embodiment of the present application.
- the method shown in FIG. 6 is specifically as follows: determining whether the user performs an extended operation on the operation control in the extended interface, as described in step S13 of the barrage control method shown in FIG.
- step S13' determining whether the extended operation is received within a preset time after displaying the extended interface. If the extended operation is received within the preset time, step S14 is performed; otherwise, step S16 is performed.
- the step S16 is: when the extended operation is not received within a preset time after displaying the extended interface, the extended interface is closed.
- This extension interface can be closed.
- the type of the barrage of the barrage corresponding to the triggering operation is as described in the foregoing step S11, and the specific implementation manner may be:
- S1112 Searching for the type of the barrage corresponding to the extracted barrage identifier from the pre-acquired barrage information by using a preset correspondence between the barrage identifier and the barrage type.
- the step of acquiring the barrage information including the corresponding relationship in advance may include:
- Each barrage is displayed on the current video playing interface according to the barrage content and the barrage display time in the barrage information.
- the video starts to play and acquire the barrage
- the traditional barrage information such as the barrage content of each barrage and the display time of the barrage
- the corresponding correspondence between the barrage of each barrage and the type of the barrage is also obtained.
- the relationship so that when the user performs a triggering operation on any of the barrage, the barrage type of the triggered barrage can be determined according to the barrage identifier of the triggered barrage.
- the type of the barrage of the barrage corresponding to the triggering operation is performed in the foregoing step S11, and the specific implementation manner may also be:
- S1122 Generate a barrage type acquisition request including the barrage identifier and send the request to the server;
- S1123 Receive a type of a barrage returned by the server according to the barrage type acquisition request and as a barrage type corresponding to the extracted barrage identifier.
- the present embodiment obtains the corresponding bullet from the server in real time according to the barrage identifier of the triggered barrage after receiving the triggering operation.
- Curtain type In actual application, the type of the barrage of the barrage corresponding to the triggering operation can be freely set according to the application requirements.
- the embodiment of the present application further provides a computer storage medium, such as a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
- a computer storage medium such as a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
- the computer storage medium stores a program.
- the program in the storage medium is executed by an associated processor of the video player, the video player is enabled to perform some or all of the steps of any of the barrage control methods described in the above method embodiments.
- FIG. 7 is a structural block diagram of the device, which can be applied to any video player having a barrage function.
- the apparatus includes the following units.
- the triggering operation receiving unit 100 is configured to receive a triggering operation performed by the user on the barrage displayed on the current video playing interface;
- the barrage type obtaining unit 200 is configured to acquire a barrage type of the barrage corresponding to the triggering operation
- the extended interface display unit 300 is configured to display an extended interface corresponding to the preset type when the barrage type is a preset type, where the extended interface includes at least one operation control;
- the extended operation receiving unit 400 is configured to receive an extended operation performed by the user on the operation control in the extended interface
- the operation information sending unit 500 is configured to send the operation information corresponding to the extended operation to the server, where the operation information includes a user identifier corresponding to the extended operation and/or a barrage identifier of the barrage;
- the extended result execution unit 600 is configured to receive and execute the extended result returned by the server according to the operation information.
- the embodiment of the present application receives a trigger operation performed on a barrage of a preset type displayed in the current video playing interface in real time, and displays after receiving the triggering operation.
- the preset interface of the preset type corresponds to the extended interface, and further receives the user's extended operation on the operation control in the extended interface, and requests the server to obtain the extended operation result according to the operation information of the extended operation, and executes, thereby enhancing the user and the video player.
- the interaction between the video playback and the video playback volume can also promote the promotion of information such as film and television dramas and physical products through the above-mentioned preset types of red packets.
- the extended interface display unit 300 may include: a red envelope interface display unit.
- the red packet interface display unit is configured to: when the barrage type is a red envelope type, obtain the red envelope information corresponding to the red envelope type curtain according to the barrage identifier of the red envelope type curtain, and trigger the red envelope software development kit SDK Generating a red packet extension interface according to the red packet information; determining a display location of the red packet extension interface; displaying the red packet extension interface on the determined display location.
- the red envelope information includes at least one of a red envelope issuer, a red envelope total amount, and a red envelope usage rule
- the red envelope extension interface includes at least a red envelope receiving control for receiving a red envelope receiving operation.
- the extended result execution unit 600 may include: a red envelope receiving result display unit.
- the red packet receiving result display unit is configured to: when the extended operation received by the extended operation receiving unit 400 is a red envelope receiving operation performed by the user on the red envelope receiving control, the receiving server returns a red envelope according to the operation information corresponding to the red packet receiving operation The result is received, and the result of the red envelope is displayed.
- the red envelope receiving result includes at least a red envelope amount.
- the extended interface display unit 300 may include: a voting interface display unit.
- the voting interface display unit is configured to: when the barrage type is a voting type, obtain voting information corresponding to the voting type barrage according to the barrage identifier of the voting type barrage, and generate a voting according to the voting information Extending an interface; determining a display location of the voting extension interface; displaying the voting extension interface on the determined display location.
- the voting information includes a voting option and/or a number of votes corresponding to each voting option, and the voting interface includes at least a voting control for receiving a voting operation.
- the extended result execution unit 600 may include a voting result display unit.
- the voting result display unit is configured to: when the extended operation received by the extended operation receiving unit 400 is a voting operation performed by the user on the voting extension interface, receive a voting result returned by the server according to the operation information corresponding to the voting operation, and The voting result and the voting prompt information are displayed.
- the operation information corresponding to the voting operation includes a user identifier and an option identifier of a voting option selected by the user, and the voting result includes a current number of votes corresponding to each voting option.
- the extended interface display unit 300 may include: a video recommendation interface display unit.
- the video recommendation interface display unit is configured to: when the barrage type is a video recommendation type, obtain video recommendation information corresponding to the video recommendation type barrage according to the barrage identifier of the video recommendation type barrage, and according to the The video recommendation information generates a video recommendation extension interface; determines a display location of the video recommendation extension interface; and displays the video recommendation extension interface on the determined display location.
- the video recommendation information includes at least one of a name of the recommended video, an introduction picture, an introduction text, and a link address, where the video recommendation extension interface includes at least a jump control that the user receives the video jump operation.
- the extended result execution unit 600 may include a video jump execution unit.
- the video jump execution unit is configured to: when the extended operation received by the extended operation receiving unit 400 is a video jump operation performed by the user on the video recommendation extended interface, the receiving server performs operation information corresponding to the video jump operation. Returning the recommended video data; terminating the video player's playback control of the current video, and resetting the video player; playing the recommended video data through the reset video player.
- the operation information corresponding to the video jump operation includes a link address and/or a video identifier of the recommended video.
- the above embodiments respectively introduce the interaction between the user and the video player based on the three preset types of the red envelope type, the voting type and the video recommendation type.
- the actual application is not limited to the above specific implementation manner, and can also be adopted.
- Other preset types of barrage enhance the interaction between the user and the player, improving the fun of video playback and the amount of video playback.
- the device may further include:
- An extended interface closing unit configured to determine whether the extended operation is received within a preset time after displaying the extended interface, and when the extended operation is not received within a preset time after displaying the extended interface, Close the extension interface.
- This extension interface can be closed.
- the above-described barrage type obtaining unit 200 may include: a first acquiring unit, configured to extract a barrage identifier of the barrage corresponding to the triggering operation, and use a preset barrage identifier and a bullet Corresponding relationship of the screen type, searching for the type of the barrage corresponding to the barrage identifier from the pre-acquired barrage information.
- the barrage control device may further include: a barrage information prefetching unit; the barrage information prefetching unit is configured to be in the current video playing process, in order to obtain the barrage information including the foregoing corresponding relationship. And generating a barrage acquisition request including the current video identifier and sending the request to the server, and receiving the barrage information corresponding to the current video returned by the server according to the barrage acquisition request.
- the barrage information includes a correspondence between a barrage identifier of each barrage corresponding to the current video and a barrage type, and a barrage content and a barrage display time corresponding to each barrage.
- the barrage content and the barrage display time are used to control the display of each barrage in the current video playback interface.
- the barrage type obtaining unit 200 may include: a second acquiring unit, configured to extract a barrage identifier of the barrage corresponding to the triggering operation, and generate the barrage identifier
- the barrage type acquisition request is sent to the server, and receives the barrage type returned by the server according to the barrage type acquisition request and serves as the barrage type corresponding to the extracted barrage identifier.
- the first acquisition unit and the second acquisition unit provide two different types of salvage type acquisition.
- the retrieving type of the rehearsal corresponding to the triggering operation can be freely set according to the application requirements.
- the embodiment of the present application further provides a non-transitory computer readable storage medium, where the non-transitory computer readable storage medium stores computer executable instructions, which can execute the bullet in any of the foregoing method embodiments.
- Curtain control method
- FIG. 8 is a schematic diagram showing the hardware structure of an electronic device for performing a barrage control method according to an embodiment of the present application; Figure, as shown in Figure 8, the device includes:
- One or more processors 810 and memory 820, one processor 810 is taken as an example in FIG.
- the apparatus for performing the barrage control method may further include: an input device 830 and an output device 840.
- the processor 810, the memory 820, the input device 830, and the output device 840 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
- the memory 820 is used as a non-transitory computer readable storage medium, and can be used for storing a non-transitory software program, a non-transitory computer executable program, and a module, such as a program command/module corresponding to the barrage control method in the embodiment of the present application.
- a module such as a program command/module corresponding to the barrage control method in the embodiment of the present application.
- the processor 810 executes various functional applications and data processing of the electronic device by running non-transitory software programs, instructions, and modules stored in the memory 820, that is, implementing the barrage control method of the above method embodiment.
- the memory 820 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to the use of the barrage control device, and the like.
- memory 820 can include high speed random access memory, and can also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
- memory 820 can optionally include memory remotely located relative to processor 810, which can be connected to the barrage control device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- Input device 830 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the barrage control device.
- the output device 840 can include a display device such as a display screen.
- the one or more modules are stored in the memory 820, and when executed by the one or more processors 810, perform a barrage control method in any of the above method embodiments.
- the electronic device of the embodiment of the invention exists in various forms, including but not limited to:
- Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
- Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
- Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
- Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
- Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
- the server consists of a processor, a hard disk, a memory, a system bus, etc.
- the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
- the program when executed, may include the flow of an embodiment of the methods as described above.
- the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM).
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Disclosed are a method and device for controlling an overlay comment. A triggering operation executed with respect to an overlay comment of a preset type displayed on a current video-playing interface is received in real time. After the triggering operation has been received, an expansion interface corresponding to the overlay comment of the preset type is displayed. Next, an expansion operation performed by a user with respect to an operation control element on the expansion interface is received. Next, a request requesting acquisition and execution of an expansion operation result is made to a server according to operation information of the expansion operation, thereby enhancing interaction between the user and a video player, increasing video playing enjoyment and the number of videos played. Moreover, a "red envelope" of the above preset type can realize wide spreading of information about videos, physical products, and etc.
Description
本申请要求于2016年4月19日提交中国专利局、申请号为201610245474.1、发明名称为“弹幕控制方法、装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application, filed on Apr. 19, 2016, the entire disclosure of which is hereby incorporated by reference.
本发明涉及多媒体技术领域,特别是涉及弹幕控制方法、装置。The present invention relates to the field of multimedia technologies, and in particular, to a barrage control method and apparatus.
随着多媒体技术的发展,大多数视频播放器都具有弹幕功能,使得用户可以在观看网络视频时,观看其它用户输入的评论。With the development of multimedia technology, most video players have a barrage function, allowing users to watch comments input by other users while watching online video.
其中,在观看视频时,可以通过视频播放器输入对正在播放的当前视频的评论信息,并将该评论信息上传至服务器,另外,在观看视频时,还可以从服务器中获取各个用户针对当前视频发送的实时评论信息和历史评论信息,并将该实时评论信息及历史评论信息以弹幕的形式显示于当前视频画面上。Wherein, when watching the video, the comment information of the current video being played may be input through the video player, and the comment information is uploaded to the server, and in addition, when watching the video, each user may also obtain the current video from the server. The real-time comment information and the historical comment information are sent, and the real-time comment information and the historical comment information are displayed on the current video screen in the form of a barrage.
通过现有弹幕功能,虽然可以使得用户在观看网络视频的同时,阅读其他用户发表的对该视频的评论信息,但形式比较单一,互动性较差。Through the existing barrage function, although the user can watch the network video while reading the comment information of the video published by other users, the form is relatively simple and the interaction is poor.
发明内容Summary of the invention
为了解决上述技术问题,本申请公开了一种弹幕控制方法、装置。In order to solve the above technical problems, the present application discloses a barrage control method and apparatus.
第一方面,本申请提供了一种弹幕控制方法,所述方法包括:In a first aspect, the present application provides a barrage control method, the method comprising:
接收用户对当前视频播放界面上显示的弹幕所执行的触发操作;Receiving a trigger operation performed by the user on the barrage displayed on the current video playing interface;
获取所述触发操作对应的弹幕的弹幕类型;Obtaining a type of barrage of the barrage corresponding to the triggering operation;
当所述弹幕类型为预设类型时,显示与所述预设类型对应的扩展界面,所述扩展界面包含有至少一个操作控件;When the barrage type is a preset type, displaying an extended interface corresponding to the preset type, where the extended interface includes at least one operation control;
接收用户对所述扩展界面中操作控件进行的扩展操作;
Receiving an extended operation performed by the user on the operation control in the extended interface;
将与所述扩展操作对应的操作信息发送至服务器;其中,所述操作信息包括所述扩展操作对应的用户标识和/或所述弹幕的弹幕标识;And sending the operation information corresponding to the extended operation to the server; wherein the operation information includes a user identifier corresponding to the extended operation and/or a barrage identifier of the barrage;
接收所述服务器根据所述操作信息返回的扩展结果并执行。Receiving an extended result returned by the server according to the operation information and executing.
结合第一方面,在第一方面第一种可行的实施方式中,当所述弹幕类型为红包型时,显示与所述预设类型对应的扩展界面,包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, when the barrage type is a red envelope type, displaying an extended interface corresponding to the preset type includes:
根据所述红包型弹幕的弹幕标识获取所述红包型弹幕对应的红包信息,并触发红包软件开发工具包SDK根据所述红包信息生成红包扩展界面;其中,所述红包信息包括红包发出方、红包总金额和红包使用规则中的至少一项,所述红包扩展界面中至少包括用于接收红包领取操作的红包领取控件;Acquiring the red envelope information corresponding to the red envelope type bullet according to the barrage identifier of the red envelope type curtain, and triggering the red envelope software development kit SDK to generate a red envelope extension interface according to the red envelope information; wherein the red envelope information includes a red envelope issued At least one of a party, a red envelope total amount, and a red envelope usage rule, where the red envelope extension interface includes at least a red envelope receiving control for receiving a red envelope receiving operation;
确定所述红包扩展界面的显示位置;Determining a display position of the red envelope extension interface;
在所确定的显示位置上显示所述红包扩展界面。The red envelope extension interface is displayed at the determined display position.
结合第一方面第一种可行的实施方式,在第一方面第二种可行的实施方式中,当所述扩展操作为用户对所述红包领取控件进行的红包领取操作时,接收所述服务器根据所述操作信息返回的扩展结果并执行,包括:With reference to the first possible implementation manner of the first aspect, in the second possible implementation manner of the first aspect, when the expanding operation is a red packet receiving operation performed by the user on the red packet receiving control, the server is received according to the server The extended result returned by the operation information is executed and includes:
接收服务器根据所述红包领取操作对应的操作信息返回的红包领取结果;所述红包领取结果至少包括红包金额;Receiving, by the receiving server, a red packet receiving result returned according to the operation information corresponding to the red packet receiving operation; the red packet receiving result includes at least a red packet amount;
显示所述红包领取结果。The red envelope receiving result is displayed.
结合第一方面,在第一方面第三种可行的实施方式中,当所述弹幕类型为投票型时,显示与所述预设类型对应的扩展界面,包括:With reference to the first aspect, in a third possible implementation manner of the first aspect, when the barrage type is a voting type, displaying an extended interface corresponding to the preset type includes:
根据所述投票型弹幕的弹幕标识获取所述投票型弹幕对应的投票信息,并根据所述投票信息生成投票扩展界面;其中,所述投票信息包括投票选项和/或各个投票选项对应的票数,所述投票界面中至少包括用于接收投票操作的投票控件;Obtaining, according to the barrage identifier of the voting type barrage, the voting information corresponding to the voting type barrage, and generating a voting extension interface according to the voting information; wherein the voting information includes a voting option and/or a corresponding voting option The number of votes, the voting interface includes at least a voting control for receiving a voting operation;
确定所述投票扩展界面的显示位置;Determining a display position of the voting extension interface;
在所确定的显示位置上显示所述投票扩展界面。
The voting extension interface is displayed at the determined display position.
结合第一方面第三种可行的实施方式,在第一方面第四种可行的实施方式中,当所述扩展操作为用户对所述投票扩展界面进行的投票操作时,接收所述服务器根据所述操作信息返回的扩展结果并执行,包括:With reference to the third possible implementation manner of the first aspect, in the fourth possible implementation manner of the first aspect, when the expanding operation is a voting operation performed by the user on the voting extension interface, receiving the server according to the The extended result returned by the operation information is executed and includes:
接收服务器根据所述投票操作对应的操作信息返回的投票结果;其中,所述投票操作对应的操作信息包括用户标识和用户选中的投票选项的选项标识,所述投票结果包括各个投票选项对应的当前票数;Receiving, by the server, a voting result returned according to the operation information corresponding to the voting operation; wherein the operation information corresponding to the voting operation includes a user identifier and an option identifier of a voting option selected by the user, where the voting result includes a current corresponding to each voting option Number of votes;
显示所述投票结果及已投票提示信息。The voting result and the voting prompt information are displayed.
结合第一方面,在第一方面第五种可行的实施方式中,当所述弹幕类型为视频推荐型时,显示与所述预设类型对应的扩展界面,包括:With reference to the first aspect, in a fifth possible implementation manner of the first aspect, when the barrage type is a video recommendation type, displaying an extended interface corresponding to the preset type includes:
根据所述视频推荐型弹幕的弹幕标识获取所述视频推荐型弹幕对应的视频推荐信息,并根据所述视频推荐信息生成视频推荐扩展界面;其中,所述视频推荐信息包括被推荐视频的名称、介绍图片、介绍文字和链接地址中的至少一种,所述视频推荐扩展界面中至少包括用户接收视频跳转操作的跳转控件;Acquiring, according to the barrage identifier of the video recommendation type barrage, the video recommendation information corresponding to the video recommendation type barrage, and generating a video recommendation extension interface according to the video recommendation information; wherein the video recommendation information includes the recommended video At least one of a name, an introduction picture, an introduction text, and a link address, where the video recommendation extension interface includes at least a jump control for the user to receive a video jump operation;
确定所述视频推荐扩展界面的显示位置;Determining a display position of the video recommendation extension interface;
在所确定的显示位置上显示所述视频推荐扩展界面。The video recommendation extension interface is displayed at the determined display position.
结合第一方面第五种可行的实施方式,在第一方面第六种可行的实施方式中,当所述扩展操作为用户对所述视频推荐扩展界面进行的视频跳转操作时,接收所述服务器根据所述操作信息返回的扩展结果并执行,包括:With reference to the fifth possible implementation manner of the first aspect, in the sixth possible implementation manner of the first aspect, when the expanding operation is a video jump operation performed by the user on the video recommendation extension interface, receiving the The server performs the extended result according to the operation information and executes, including:
接收服务器根据所述视频跳转操作对应的操作信息返回的被推荐视频数据;其中,所述视频跳转操作对应的操作信息包括所述被推荐视频的链接地址和/或视频标识;Receiving recommended video data returned by the server according to the operation information corresponding to the video jump operation; wherein the operation information corresponding to the video jump operation includes a link address and/or a video identifier of the recommended video;
终止视频播放器对所述当前视频的播放控制,并重置所述视频播放器;Terminating the video player's playback control of the current video, and resetting the video player;
通过重置后的视频播放器播放所述被推荐视频数据。The recommended video data is played by the reset video player.
结合第一方面,或者结合第一方面第一种至第六种实施方式中的任一种,在第一方面第七种可行的实施方式中,所述方法还包括:
With reference to the first aspect, or in combination with any one of the first to sixth embodiments of the first aspect, in the seventh possible implementation manner of the first aspect, the method further includes:
在显示所述扩展界面后的预设时间内判断是否接收到所述扩展操作;Determining whether the extension operation is received within a preset time after displaying the extended interface;
当在显示所述扩展界面后的预设时间内未接收到所述扩展操作时,关闭所述扩展界面。The extension interface is closed when the extension operation is not received within a preset time after displaying the extension interface.
结合第一方面,或者结合第一方面第一种至第六种实施方式中的任一种,在第一方面第八种可行的实施方式中,获取所述触发操作对应的弹幕的弹幕类型,包括:With reference to the first aspect, or in combination with any one of the first to sixth embodiments of the first aspect, in the eighth possible implementation manner of the first aspect, acquiring a barrage of the barrage corresponding to the triggering operation Types, including:
提取所述触发操作对应的弹幕的弹幕标识;Extracting a barrage identifier of the barrage corresponding to the triggering operation;
利用预设的弹幕标识与弹幕类型的对应关系,从预先获取到的弹幕信息中查找与所述提取到的弹幕标识对应的弹幕类型。The preset type of the barrage identifier and the type of the barrage is used to search for the type of the barrage corresponding to the extracted barrage identifier from the pre-acquired barrage information.
结合第一方面第八种可行的实施方式,在第一方面第九种可行的实施方式中,所述方法还包括:With reference to the eighth possible implementation manner of the first aspect, in the ninth possible implementation manner of the first aspect, the method further includes:
在所述当前视频播放过程中,生成包含当前视频标识的弹幕获取请求并发送至服务器;During the current video playing process, generating a barrage acquisition request including the current video identifier and transmitting the request to the server;
接收服务器根据所述弹幕获取请求返回的所述当前视频对应的所述弹幕信息;其中,所述弹幕信息包括所述当前视频相对应的每个弹幕的弹幕标识与弹幕类型的对应关系,以及,每个弹幕对应的的弹幕内容和弹幕显示时间。Receiving, by the receiving server, the barrage information corresponding to the current video returned by the barrage acquisition request; wherein the barrage information includes a barrage identifier and a barrage type of each barrage corresponding to the current video Correspondence, as well as the barrage content and the barrage display time for each barrage.
结合第一方面,或者结合第一方面第一种至第六种实施方式中的任一种,在第一方面第十种可行的实施方式中,获取所述触发操作对应的弹幕的弹幕类型,包括:With reference to the first aspect, or in combination with any one of the first to sixth embodiments of the first aspect, in the tenth possible implementation manner of the first aspect, obtaining a barrage of the barrage corresponding to the triggering operation Types, including:
提取与所述触发操作对应的弹幕的弹幕标识;Extracting a barrage identifier of the barrage corresponding to the triggering operation;
生成包含所述弹幕标识的弹幕类型获取请求并发送给服务器;Generating a barrage type acquisition request including the barrage identifier and transmitting the request to the server;
接收所述服务器根据所述弹幕类型获取请求返回的弹幕类型并作为所述提取到的弹幕标识对应的弹幕类型。Receiving, by the server, the type of the barrage returned according to the barrage type acquisition request and as the barrage type corresponding to the extracted barrage identifier.
第二方面,本申请提供了一种弹幕控制装置,所述装置包括:
In a second aspect, the present application provides a barrage control device, the device comprising:
触发操作接收单元,用于接收用户对当前视频播放界面上显示的弹幕所执行的触发操作;The trigger operation receiving unit is configured to receive a trigger operation performed by the user on the barrage displayed on the current video playing interface;
弹幕类型获取单元,用于获取所述触发操作对应的弹幕的弹幕类型;a barrage type obtaining unit, configured to acquire a barrage type of the barrage corresponding to the triggering operation;
扩展界面显示单元,用于在所述弹幕类型为预设类型时,显示与所述预设类型对应的扩展界面,所述扩展界面包含有至少一个操作控件;An extended interface display unit, configured to display an extended interface corresponding to the preset type when the barrage type is a preset type, where the extended interface includes at least one operation control;
扩展操作接收单元,用于接收用户对所述扩展界面中操作控件进行的扩展操作;And an extended operation receiving unit, configured to receive an extended operation performed by the user on the operation control in the extended interface;
操作信息发送单元,用于将与所述扩展操作对应的操作信息发送至服务器;其中,所述操作信息包括所述扩展操作对应的用户标识和/或所述弹幕的弹幕标识;An operation information sending unit, configured to send the operation information corresponding to the extended operation to the server; wherein the operation information includes a user identifier corresponding to the extended operation and/or a barrage identifier of the barrage;
扩展结果执行单元,用于接收所述服务器根据所述操作信息返回的扩展结果并执行。And an extended result execution unit, configured to receive an extended result returned by the server according to the operation information, and execute.
结合第二方面,在第二方面第一种可行的实施方式中,所述扩展界面显示单元,包括:With reference to the second aspect, in the first possible implementation manner of the second aspect, the extended interface display unit includes:
红包界面显示单元,用于在所述弹幕类型为红包型时,根据所述红包型弹幕的弹幕标识获取所述红包型弹幕对应的红包信息,并触发红包软件开发工具包SDK根据所述红包信息生成红包扩展界面;确定所述红包扩展界面的显示位置;在所确定的显示位置上显示所述红包扩展界面;a red packet interface display unit, configured to acquire red packet information corresponding to the red envelope type curtain according to the barrage identifier of the red envelope type curtain when the barrage type is a red envelope type, and trigger the red envelope software development kit SDK according to The red packet information generates a red packet extension interface; determining a display position of the red packet extension interface; displaying the red packet extension interface on the determined display location;
其中,所述红包信息包括红包发出方、红包总金额和红包使用规则中的至少一项,所述红包扩展界面中至少包括用于接收红包领取操作的红包领取控件。The red envelope information includes at least one of a red envelope issuer, a red envelope total amount, and a red envelope usage rule, and the red envelope extension interface includes at least a red envelope receiving control for receiving a red envelope receiving operation.
结合第二方面第一种可行的实施方式,在第二方面第二种可行的实施方式中,所述扩展结果执行单元,包括:With reference to the first possible implementation manner of the second aspect, in the second possible implementation manner of the second aspect, the extended result execution unit includes:
红包领取结果显示单元,用于在所述扩展操作为用户对所述红包领取控件进行的红包领取操作时,接收服务器根据所述红包领取操作对应的操作信息返回的红包领取结果,显示所述红包领取结果;
a red packet receiving result display unit, configured to: when the extended operation is a red envelope receiving operation performed by the user on the red envelope receiving control, the receiving server displays the red envelope according to the red packet receiving result returned by the operation information corresponding to the red packet receiving operation Receive results;
其中,所述红包领取结果至少包括红包金额。The red envelope receiving result includes at least a red envelope amount.
结合第二方面,在第二方面第三种可行的实施方式中,所述扩展界面显示单元,包括:With reference to the second aspect, in a third possible implementation manner of the second aspect, the extended interface display unit includes:
投票界面显示单元,用于在所述弹幕类型为投票型时,根据所述投票型弹幕的弹幕标识获取所述投票型弹幕对应的投票信息,并根据所述投票信息生成投票扩展界面;确定所述投票扩展界面的显示位置;在所确定的显示位置上显示所述投票扩展界面;a voting interface display unit, configured to: when the barrage type is a voting type, obtain voting information corresponding to the voting type barrage according to the barrage identifier of the voting type barrage, and generate a voting extension according to the voting information An interface; determining a display location of the voting extension interface; displaying the voting extension interface on the determined display location;
其中,所述投票信息包括投票选项和/或各个投票选项对应的票数,所述投票界面中至少包括用于接收投票操作的投票控件。The voting information includes a voting option and/or a number of votes corresponding to each voting option, and the voting interface includes at least a voting control for receiving a voting operation.
结合第二方面第三种可行的实施方式,在第二方面第四种可行的实施方式中,所述扩展结果执行单元,包括:With reference to the third possible implementation manner of the second aspect, in the fourth possible implementation manner of the second aspect, the extended result execution unit includes:
投票结果显示单元,用于在所述扩展操作为用户对所述投票扩展界面进行的投票操作时,接收服务器根据所述投票操作对应的操作信息返回的投票结果,并显示所述投票结果及已投票提示信息;a voting result display unit, configured to: when the extended operation is a voting operation performed by the user on the voting extension interface, receive a voting result returned by the server according to the operation information corresponding to the voting operation, and display the voting result and the Voting information;
其中,所述投票操作对应的操作信息包括用户标识和用户选中的投票选项的选项标识,所述投票结果包括各个投票选项对应的当前票数。The operation information corresponding to the voting operation includes a user identifier and an option identifier of a voting option selected by the user, and the voting result includes a current number of votes corresponding to each voting option.
结合第二方面,在第二方面第五种可行的实施方式中,所述扩展界面显示单元,包括:With reference to the second aspect, in a fifth possible implementation manner of the second aspect, the extended interface display unit includes:
视频推荐界面显示单元,用于在所述弹幕类型为视频推荐型时,根据所述视频推荐型弹幕的弹幕标识获取所述视频推荐型弹幕对应的视频推荐信息,并根据所述视频推荐信息生成视频推荐扩展界面;确定所述视频推荐扩展界面的显示位置;在所确定的显示位置上显示所述视频推荐扩展界面;a video recommendation interface display unit, configured to acquire, according to the barrage identifier of the video recommendation type barrage, the video recommendation information corresponding to the video recommendation type barrage according to the video recommendation type, and according to the The video recommendation information generates a video recommendation extension interface; determining a display position of the video recommendation extension interface; displaying the video recommendation extension interface on the determined display position;
其中,所述视频推荐信息包括被推荐视频的名称、介绍图片、介绍文字和链接地址中的至少一种,所述视频推荐扩展界面中至少包括用户接收视频跳转操作的跳转控件。The video recommendation information includes at least one of a name of the recommended video, an introduction picture, an introduction text, and a link address, where the video recommendation extension interface includes at least a jump control that the user receives the video jump operation.
结合第二方面第五种可行的实施方式,在第二方面第六种可行的实施方式
中,,所述扩展结果执行单元,包括:In combination with the fifth possible implementation of the second aspect, the sixth feasible implementation manner in the second aspect
The expansion result execution unit includes:
视频跳转执行单元,用于在所述扩展操作为用户对所述视频推荐扩展界面进行的视频跳转操作时,接收服务器根据所述视频跳转操作对应的操作信息返回的被推荐视频数据;终止视频播放器对所述当前视频的播放控制,并重置所述视频播放器;通过重置后的视频播放器播放所述被推荐视频数据;a video jump execution unit, configured to: when the extended operation is a video jump operation performed by the user on the video recommendation extension interface, receive recommended video data returned by the server according to the operation information corresponding to the video jump operation; Terminating the video player's playback control of the current video, and resetting the video player; playing the recommended video data by the reset video player;
其中,所述视频跳转操作对应的操作信息包括所述被推荐视频的链接地址和/或视频标识。The operation information corresponding to the video jump operation includes a link address and/or a video identifier of the recommended video.
结合第二方面,或者结合第二方面第一种至第六种实施方式中的任一种,在第二方面第七种可行的实施方式中,所述装置还包括:With reference to the second aspect, or in combination with any one of the first to sixth embodiments of the second aspect, in the seventh possible implementation manner of the second aspect, the device further includes:
扩展界面关闭单元,用于在显示所述扩展界面后的预设时间内判断是否接收到所述扩展操作,当在显示所述扩展界面后的预设时间内未接收到所述扩展操作时,关闭所述扩展界面。An extended interface closing unit, configured to determine whether the extended operation is received within a preset time after displaying the extended interface, and when the extended operation is not received within a preset time after displaying the extended interface, Close the extension interface.
结合第二方面,或者结合第二方面第一种至第六种实施方式中的任一种,在第二方面第八种可行的实施方式中,所述弹幕类型获取单元,包括:With reference to the second aspect, or in combination with any one of the first to sixth embodiments of the second aspect, in the eighth possible implementation manner of the second aspect, the barrage type acquiring unit includes:
第一获取单元,用于提取所述触发操作对应的弹幕的弹幕标识,利用预设的弹幕标识与弹幕类型的对应关系,从预先获取到的弹幕信息中查找与所述弹幕标识对应的弹幕类型。a first acquiring unit, configured to extract a barrage identifier of the barrage corresponding to the triggering operation, and use a preset correspondence between the barrage identifier and the barrage type to search for the bullet from the pre-acquired barrage information The type of barrage corresponding to the curtain logo.
结合第二方面第八种可行的实施方式,在第二方面第九种可行的实施方式中,所述装置还包括:With reference to the eighth possible implementation of the second aspect, in the ninth possible implementation manner of the second aspect, the device further includes:
弹幕信息预取单元,用于在所述当前视频播放过程中,生成包含当前视频标识的弹幕获取请求并发送至服务器,并接收服务器根据所述弹幕获取请求返回的所述当前视频对应的所述弹幕信息;a barrage information prefetching unit, configured to generate a barrage acquisition request including a current video identifier and send the request to the server, and receive, by the server, the current video corresponding to the barrage acquisition request. The barrage information;
其中,所述弹幕信息包括所述当前视频相对应的每个弹幕的弹幕标识与弹幕类型的对应关系,以及,每个弹幕对应的的弹幕内容和弹幕显示时间。The barrage information includes a correspondence between a barrage identifier of each barrage corresponding to the current video and a barrage type, and a barrage content and a barrage display time corresponding to each barrage.
结合第二方面,或者结合第二方面第一种至第六种实施方式中的任一种,在第二方面第十种可行的实施方式中,所述弹幕类型获取单元,包括:
With reference to the second aspect, or in combination with any one of the first to sixth embodiments of the second aspect, in the tenth possible implementation manner of the second aspect, the barrage type acquiring unit includes:
第二获取单元,用于提取与所述触发操作对应的弹幕的弹幕标识,生成包含所述弹幕标识的弹幕类型获取请求并发送给服务器,接收所述服务器根据所述弹幕类型获取请求返回的弹幕类型并作为所述提取到的弹幕标识对应的弹幕类型。a second acquiring unit, configured to extract a barrage identifier of the barrage corresponding to the triggering operation, generate a barrage type acquisition request including the barrage identifier, and send the request to the server, and receive the server according to the barrage type Obtain the type of the barrage returned by the request and use it as the type of barrage corresponding to the extracted barrage identifier.
本发明实施例还提供了一种非暂态计算机可读存储介质,其中,该非暂态计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项弹幕控制方法。The embodiment of the present invention further provides a non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium stores computer executable instructions for executing any of the above Curtain control method.
本发明实施例还提供了一种电子设备,包括:一个或多个处理器;以及,存储器;其中,所述存储器存储有可被所述一个或多个处理器执行的指令,所述指令被设置为用于执行上述任一项弹幕控制方法。An embodiment of the present invention further provides an electronic device, including: one or more processors; and a memory; wherein the memory stores instructions executable by the one or more processors, the instructions being It is set to perform any of the above-described barrage control methods.
本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一项弹幕控制方法。Embodiments of the present invention also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer When the computer is caused to execute any of the above-described barrage control methods.
由以上技术方案可知,本申请实施例通过实时接收用于对当前视频播放界面中显示的预设类型的弹幕所执行的触发操作,并在接收到该触发操作后显示该预设类型的弹幕对应的扩展界面,进而接收用户对扩展界面中操作控件的扩展操作,根据该扩展操作的操作信息向服务器请求获取扩展操作结果并执行,从而增强用户与视频播放器之间的交互,提升视频播放的趣味性及视频播放量,还可以通过上述预设类型的红包实现对影视剧、实体产品等信息的推广。As shown in the above technical solution, the embodiment of the present application receives a trigger operation performed on a preset type of barrage displayed in the current video playing interface in real time, and displays the preset type of bomb after receiving the triggering operation. The extended interface corresponding to the screen further receives the user's extended operation on the operation control in the extended interface, requests the server to obtain the extended operation result and executes according to the operation information of the extended operation, thereby enhancing the interaction between the user and the video player, and enhancing the video. The fun of playing and the amount of video playback can also be used to promote the promotion of information such as TV dramas and physical products through the above-mentioned preset types of red packets.
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it will be apparent to those skilled in the art that In other words, other drawings can be obtained based on these drawings without paying for creative labor.
图1为本申请一个实施例提供的弹幕控制方法的流程图;1 is a flowchart of a method for controlling a barrage according to an embodiment of the present application;
图2为本申请一个实施例提供的弹幕显示示意图;2 is a schematic view showing a display of a bullet screen according to an embodiment of the present application;
图3为本申请一个实施例提供的红包扩展界面及红包领取结果显示界面示意
图;FIG. 3 is a schematic diagram of a red envelope extension interface and a red envelope receiving result display interface according to an embodiment of the present application.
Figure
图4为本申请一个实施例提供的投票扩展界面及红包投票结果显示界面示意图;4 is a schematic diagram of a voting extension interface and a red envelope voting result display interface according to an embodiment of the present application;
图5为本申请一个实施例提供的视频推荐扩展界面示意图;FIG. 5 is a schematic diagram of a video recommendation extension interface according to an embodiment of the present application;
图6为本申请另一个实施例提供的弹幕控制方法的流程图;6 is a flowchart of a method for controlling a barrage according to another embodiment of the present application;
图7为本申请一个实施例提供的弹幕控制装置的结构框图;7 is a structural block diagram of a barrage control device according to an embodiment of the present application;
图8为本发明实施例提供的一种电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with aspects of the invention as detailed in the appended claims.
首先对本申请提供的弹幕控制方法的实施例进行说明。在视频播放器播放视频时,可以将该即将播放或者正在播放的当前视频标识发送至服务器,以使服务器根据该当前视频标识返回当前视频对应的弹幕信息(该弹幕信息包括各条弹幕的弹幕内容、弹幕显示时间等),进而视频播放器根据服务器返回的弹幕信息在当前视频播放界面上显示各条弹幕,同时执行本申请实施例提供的下述弹幕控制方法:First, an embodiment of the barrage control method provided by the present application will be described. When the video player plays the video, the current video identifier to be played or being played may be sent to the server, so that the server returns the bullet information corresponding to the current video according to the current video identifier (the bullet information includes each barrage) The barrage content, the barrage display time, and the like, and the video player displays each barrage on the current video player interface according to the barrage information returned by the server, and simultaneously performs the following barrage control methods provided by the embodiments of the present application:
接收用户对当前视频播放界面上显示的弹幕所执行的触发操作;Receiving a trigger operation performed by the user on the barrage displayed on the current video playing interface;
获取所述触发操作对应的弹幕的弹幕类型;Obtaining a type of barrage of the barrage corresponding to the triggering operation;
当所述弹幕类型为预设类型时,显示与所述预设类型对应的扩展界面,所述扩展界面包含有至少一个操作控件;When the barrage type is a preset type, displaying an extended interface corresponding to the preset type, where the extended interface includes at least one operation control;
接收用户对所述扩展界面中操作控件进行的扩展操作;Receiving an extended operation performed by the user on the operation control in the extended interface;
将与所述扩展操作对应的操作信息发送至服务器;其中,所述操作信息包括所述扩展操作对应的用户标识和/或所述弹幕的弹幕标识;
And sending the operation information corresponding to the extended operation to the server; wherein the operation information includes a user identifier corresponding to the extended operation and/or a barrage identifier of the barrage;
接收所述服务器根据所述操作信息返回的扩展结果并执行。Receiving an extended result returned by the server according to the operation information and executing.
即,通过上述弹幕控制方法,使得用户在通过视频播放器观看视频及弹幕时,还可以基于预设类型的弹幕与视频播放器进行互动。That is, through the above-described barrage control method, when the user watches the video and the barrage through the video player, the user can also interact with the video player based on the preset type of barrage.
具体的,实际应用中,上述弹幕控制方法的执行流程可以如图1所示,包括如下步骤。Specifically, in an actual application, the execution process of the above-described barrage control method may be as shown in FIG. 1 and includes the following steps.
S11、检测是否接收到用户对当前视频播放界面上显示的弹幕所执行的触发操作,当检测到所述触发操作时,获取所述触发操作对应的弹幕的弹幕类型。S11. Detecting whether a trigger operation performed by the user on the barrage displayed on the current video playing interface is received. When the triggering operation is detected, acquiring a barrage type of the barrage corresponding to the triggering operation.
S12、判断所述弹幕类型是否为预设类型,当所述弹幕类型为预设类型时,显示与所述预设类型对应的扩展界面。S12. Determine whether the type of the barrage is a preset type. When the barrage type is a preset type, an extended interface corresponding to the preset type is displayed.
参照图2所示视频播放界面,本申请实施例所述的预设类型可以为红包型、投票型、视频推荐型等;其中,对于红包型弹幕201,其显示格式可以被设置为:红包标识图片+红包关键词“商城发红包了”,对于投票型弹幕202,其显示格式可以被设置为:投票标识图片+投票关键词“票选年度热门电影”,对于视频推荐型弹幕203,其显示格式可以被设置为:视频标识图片+视频关键词“本月热门电影”。实际应用中,通过对预设类型的弹幕的显示格式进行特别设置,将其与传统的文字表弹幕区分开发,可以使得用户更容易且更及时发现预设类型的弹幕并对其执行触发操作(具体可以为点击操作、滑动操作等),从而增加用户与视频播放器之间的互动概率。Referring to the video playing interface shown in FIG. 2, the preset type described in the embodiment of the present application may be a red envelope type, a voting type, a video recommendation type, or the like; wherein, for the red envelope type curtain 201, the display format may be set as: red envelope The logo picture + red envelope keyword "Mall is red enveloped", for the voting type barrage 202, its display format can be set as: voting identification picture + voting keyword "voting for the annual popular movie", for the video recommendation type barrage 203, Its display format can be set to: video logo image + video keyword "hot movie of the month". In practical applications, by specially setting the display format of the preset type of barrage, it is developed separately from the traditional text table barrage, which makes it easier and more timely for the user to find and execute the preset type of barrage. The triggering operation (specifically, click operation, sliding operation, etc.) increases the probability of interaction between the user and the video player.
其中,所述扩展界面包含有至少一个操作控件。例如,当根据步骤S11至S12所述的检测及判断步骤,确定用户对图2中红包型弹幕201执行触发操作时,可以相应显示该红包型弹幕对应的扩展界面,即红包领取界面,该红包领取界面中包含至少一个红包领取控件,用于接收用户的红包领取操作(即下述步骤S13中的扩展操作)。同理,当确定用户对图2中的投票型弹幕执行触发操作时,可以相应显示该投票型弹幕对应的扩展界面,即投票界面,该投票界面中至少包括一个投票控件(如投票按钮),用户接收用户的投票操作;当确定用户对图2中的视频推荐型弹幕执行触发操作时,可以相应显示该视频推荐型弹幕对应的扩展界面,即视频推荐界面,该视频推荐界面中至少包括跳转控件,用于接收用户的视频操作操作。The extension interface includes at least one operation control. For example, when it is determined that the user performs the triggering operation on the red envelope type curtain 201 in FIG. 2 according to the detecting and determining steps in steps S11 to S12, the extended interface corresponding to the red envelope type curtain, that is, the red envelope receiving interface, may be displayed correspondingly. The red packet receiving interface includes at least one red packet receiving control for receiving a red envelope receiving operation of the user (ie, an extended operation in step S13 described below). Similarly, when it is determined that the user performs a triggering operation on the voting type barrage in FIG. 2, the extended interface corresponding to the voting type barrage, that is, the voting interface, which includes at least one voting control (such as a voting button), may be displayed correspondingly. The user receives the voting operation of the user; when it is determined that the user performs the triggering operation on the video recommendation type barrage in FIG. 2, the extended interface corresponding to the video recommendation type barrage, that is, the video recommendation interface, the video recommendation interface may be correspondingly displayed. At least the jump control is included to receive the user's video operation operation.
S13、判断是否接收到用户对所述扩展界面中操作控件进行的扩展操作。
S13. Determine whether an extension operation performed by the user on the operation control in the extended interface is received.
S14、当接收到所述扩展操作时,将与所述扩展操作对应的操作信息发送至服务器。S14. When the extension operation is received, the operation information corresponding to the expansion operation is sent to the server.
其中,所述操作信息包括所述扩展操作对应的用户标识和/或所述弹幕的弹幕标识。The operation information includes a user identifier corresponding to the extended operation and/or a barrage identifier of the barrage.
S15、接收所述服务器根据所述操作信息返回的扩展结果并执行。S15. Receive an extension result returned by the server according to the operation information, and execute.
可见,通过上述步骤S13至S15,在显示红包领取界面后,可以接收用户的红包领取操作并返回红包领取结果,在显示投票界面后,可以接收用户的投票操作并返回投票结果,以及,在显示视频推荐界面后,可以接收用户的视频跳转操作并返回被推荐视频的视频流,实现用户在观看视频的同时进行抢红包、投票、视频跳转等活动。It can be seen that, after the red bag collection interface is displayed, the red envelope receiving operation of the user can be received and the red bag receiving result is returned. After the voting interface is displayed, the voting operation of the user can be received and the voting result is returned, and the display result is displayed. After the video recommendation interface, the user can receive the video jump operation of the user and return the video stream of the recommended video, so that the user can perform redemption, voting, video jump and the like while watching the video.
由以上技术方案可知,本申请实施例通过实时接收用于对当前视频播放界面中显示的预设类型的弹幕所执行的触发操作,并在接收到该触发操作后显示该预设类型的弹幕对应的扩展界面,进而接收用户对扩展界面中操作控件的扩展操作,根据该扩展操作的操作信息向服务器请求获取扩展操作结果并执行,从而增强用户与视频播放器之间的交互,提升视频播放的趣味性及视频播放量,还可以通过上述预设类型的红包实现对影视剧、实体产品等信息的推广。As shown in the above technical solution, the embodiment of the present application receives a trigger operation performed on a preset type of barrage displayed in the current video playing interface in real time, and displays the preset type of bomb after receiving the triggering operation. The extended interface corresponding to the screen further receives the user's extended operation on the operation control in the extended interface, requests the server to obtain the extended operation result and executes according to the operation information of the extended operation, thereby enhancing the interaction between the user and the video player, and enhancing the video. The fun of playing and the amount of video playback can also be used to promote the promotion of information such as TV dramas and physical products through the above-mentioned preset types of red packets.
在本申请一个可行的实施例中,在步骤S12确定弹幕类型为预设类型中的红包型,即步骤S11检测到的触发操作对应的弹幕为红包型弹幕时,显示与所述预设类型对应的扩展界面,具体包括:In a feasible embodiment of the present application, it is determined in step S12 that the barrage type is a red envelope type in the preset type, that is, when the barrage corresponding to the triggering operation detected in step S11 is a red envelope type barrage, the display and the pre-predetermined Set the extended interface corresponding to the type, including:
S1211、根据所述红包型弹幕的弹幕标识获取所述红包型弹幕对应的红包信息,并触发红包软件开发工具包根据所述红包信息生成红包扩展界面。S1211: Obtain red packet information corresponding to the red envelope type bullet according to the barrage identifier of the red envelope type curtain, and trigger the red envelope software development kit to generate a red envelope extension interface according to the red envelope information.
其中,所述红包信息包括红包发出方、红包总金额和红包使用规则中的至少一项;可以根据弹幕标识从服务器中获取。实现红包功能的软件开发工具包(Software Development Kit,SDK)将获取到的红包信息按照预设格式进行排版,生成红包领取界面,所述红包扩展界面中至少包括用于接收红包领取操作的红包领取控件。The red packet information includes at least one of a red envelope issuer, a red envelope total amount, and a red envelope usage rule; and may be obtained from the server according to the barrage identifier. The software development kit (SDK) that implements the red envelope function formats the obtained red envelope information according to a preset format to generate a red envelope collection interface, and the red envelope extension interface includes at least a red envelope for receiving the red envelope receiving operation. Control.
S1212、确定所述红包扩展界面的显示位置。S1212: Determine a display position of the red envelope extension interface.
S1213、在所确定的显示位置上显示所述红包扩展界面。
S1213. Display the red envelope extension interface on the determined display position.
假设步骤S1212所确定的红包扩展界面的显示位置为视频播放界面的右下角,则步骤S1213则在视频播放器的弹幕绘制层绘制红包SDK生成的红包扩展界面,即完成红包扩展界面在当前视频播放界面中的显示,如图3所示的界面310。可选的,红包领取控件可以为一可见控件,如图3所示的控件311,可以接收用户的点击操作(即实现点击领红包);该红包领取控件也可以为一隐藏控件,可以接收用户的摇动操作(即实现摇一摇领红包)。实际应用中,红包扩展界面中可以同时设置上述可见控件和隐藏控件,使得用户可以通过点击操作和摇动操作中的任意一种来领取红包。Assuming that the display position of the red envelope extension interface determined in step S1212 is the lower right corner of the video playback interface, step S1213 draws a red envelope extension interface generated by the red envelope SDK in the screen capture layer of the video player, that is, completes the red envelope extension interface in the current video. The display in the playback interface is as shown in the interface 310 of FIG. Optionally, the red packet receiving control can be a visible control, as shown in the control 311 in FIG. 3, which can receive a click operation of the user (ie, implement a click-through red envelope); the red packet receiving control can also be a hidden control, and can receive the user. The shaking operation (ie, realizes shaking a red collar). In the actual application, the visible control and the hidden control can be set at the same time in the red envelope extension interface, so that the user can receive the red envelope by any one of the click operation and the shaking operation.
进一步的,当在步骤S14中接收到的扩展操作为用户对上述红包领取控件进行的红包领取操作时,红包SDK将相应的操作信息,如执行该红包领取操作的用户的用户标识、所显示的红包扩展界面对应的红包型弹幕的弹幕标识等,发送至服务器,使得服务器根据红包SDK发送的操作信息确定红包领取结果并返回至红包SDK(也即返回至视频播放器);相应的,步骤S15所述的接收所述服务器根据所述操作信息返回的扩展结果并执行,具体包括:Further, when the extended operation received in step S14 is a red envelope receiving operation performed by the user on the red envelope receiving control, the red envelope SDK performs corresponding operation information, such as a user identifier of the user performing the red envelope receiving operation, and displayed The barrage identifier of the red envelope type curtain corresponding to the red envelope extension interface is sent to the server, so that the server determines the red envelope receiving result according to the operation information sent by the red envelope SDK and returns to the red envelope SDK (ie, returns to the video player); correspondingly, And receiving the extended result returned by the server according to the operation information, and performing the step, as follows:
S1511、接收服务器根据所述红包领取操作对应的操作信息返回的红包领取结果。S1511. The receiving server returns a red packet receiving result according to the operation information corresponding to the red packet receiving operation.
S1512、显示所述红包领取结果。S1512, displaying the red envelope receiving result.
如图3中界面320所示,上述红包领取结果至少包括用户领取到的红包金额。As shown in the interface 320 of FIG. 3, the red packet receiving result includes at least the red packet amount received by the user.
在本申请另一个可行的实施例中,在步骤S12确定弹幕类型为预设类型中的投票型,即步骤S11检测到的触发操作对应的弹幕为投票型弹幕时,显示与所述预设类型对应的扩展界面,具体包括:In another possible embodiment of the present application, it is determined in step S12 that the barrage type is a voting type in a preset type, that is, when the barrage corresponding to the triggering operation detected in step S11 is a voting type barrage, the display and the The extended interface corresponding to the preset type includes:
S1221、根据所述投票型弹幕的弹幕标识获取所述投票型弹幕对应的投票信息,并根据所述投票信息生成投票扩展界面。S1221. The voting information corresponding to the voting type barrage is obtained according to the barrage identifier of the voting type barrage, and a voting extension interface is generated according to the voting information.
其中,所述投票信息包括投票选项和/或各个投票选项对应的票数,所述投票界面中至少包括用于接收投票操作的投票控件。The voting information includes a voting option and/or a number of votes corresponding to each voting option, and the voting interface includes at least a voting control for receiving a voting operation.
S1222、确定所述投票扩展界面的显示位置。S1222: Determine a display position of the voting extension interface.
S1223、在所确定的显示位置上显示所述投票扩展界面。
S1223. Display the voting extension interface on the determined display position.
如图4所示的一种投票扩展界面410,其中包括投票控件411,以及获取到的投票信息,如:投票主题“您最喜爱的华语影片是?”,三个投票选项“A、解救吾先生”、“B、老炮儿”和“C、师父”,根据实际情况,投票扩展界面中还可以显示每个投票选项已收到的票数。A voting extension interface 410, as shown in FIG. 4, includes a voting control 411, and the obtained voting information, such as: voting theme "Your favorite Chinese movie is?", three voting options "A, rescue my Mr., "B, old cannon" and "C, Master", according to the actual situation, the voting extension interface can also display the number of votes received by each voting option.
进一步的,当在步骤S14中接收到的扩展操作为用户对上述投票控件进行的投票操作时,将该投票操作的操作信息,包括用户标识、弹幕标识、所选择的投票选项的选项标识等,发送至服务器,使得服务器根据该操作信息更新投票结果,并返回更新后的投票结果;相应的,步骤S15所述的接收所述服务器根据所述操作信息返回的扩展结果并执行,具体包括:Further, when the extended operation received in step S14 is a voting operation performed by the user on the voting control, the operation information of the voting operation includes a user identifier, a barrage identifier, an option identifier of the selected voting option, and the like. And sending to the server, so that the server updates the voting result according to the operation information, and returns the updated voting result; correspondingly, receiving the extended result returned by the server according to the operation information, and performing the step, as described in step S15, specifically:
S1521、接收服务器根据所述投票操作对应的操作信息返回的投票结果。S1521. The voting result returned by the receiving server according to the operation information corresponding to the voting operation.
S1522、显示所述投票结果及已投票提示信息。S1522: Display the voting result and the voting prompt information.
如图4所述的投票结果显示界面420,上述投票结果包括各个投票选项对应的当前票数和/或当前票数百分比,同时,投票结果显示界面420中还可以通过提示框421的形式显示已投票提示信息,提醒用户投票已完成。As shown in FIG. 4, the voting result display interface 420 includes the current number of votes and/or the current number of votes corresponding to each voting option, and the voting result display interface 420 may also display the voting prompt in the form of the prompt box 421. Information to remind the user that the vote has been completed.
另外,为防止同一用户重复投票,用户执行投票操作后,将用户标识和弹幕标识被上传至服务器,使得服务器可以查询是否存在该用户标识对该弹幕标识对应的投票界面的投票操作记录,如果没有,则服务器返回投票信息,视频播放器生成并显示投票扩展界面410,如果有,则服务器直接返回投票结果,即直接在视频播放器中显示投票结果显示界面420。In addition, in order to prevent the same user from repeatedly voting, after the user performs the voting operation, the user identifier and the barrage identifier are uploaded to the server, so that the server can query whether there is a voting operation record of the voting interface corresponding to the barrage identifier of the user identifier. If not, the server returns voting information, the video player generates and displays a voting extension interface 410, and if so, the server directly returns the voting result, i.e., directly displays the voting result display interface 420 in the video player.
在本申请又一个可行的实施例中,在步骤S12确定弹幕类型为预设类型中的视频推荐型,即步骤S11检测到的触发操作对应的弹幕为视频推荐型弹幕时,显示与所述预设类型对应的扩展界面,具体包括:In a further feasible embodiment of the present application, it is determined in step S12 that the barrage type is the video recommendation type in the preset type, that is, when the barrage corresponding to the triggering operation detected in step S11 is a video recommendation type barrage, the display and The extended interface corresponding to the preset type includes:
S1231、根据所述视频推荐型弹幕的弹幕标识获取所述视频推荐型弹幕对应的视频推荐信息,并根据所述视频推荐信息生成视频推荐扩展界面。S1231: Obtain video recommendation information corresponding to the video recommendation type bulletscreen according to the barrage identifier of the video recommendation type barrage, and generate a video recommendation extension interface according to the video recommendation information.
其中,所述视频推荐信息包括被推荐视频的名称、介绍图片、介绍文字和链接地址中的至少一种,所述视频推荐扩展界面中至少包括用户接收视频跳转操作的跳转控件。The video recommendation information includes at least one of a name of the recommended video, an introduction picture, an introduction text, and a link address, where the video recommendation extension interface includes at least a jump control that the user receives the video jump operation.
S1232、确定所述视频推荐扩展界面的显示位置。
S1232: Determine a display position of the video recommendation extension interface.
S1233、在所确定的显示位置上显示所述视频推荐扩展界面。S1233. Display the video recommendation extension interface on the determined display position.
如图5所示的一种视频推荐扩展页面510,其中包括跳转控件511,以及获取到的视频推荐信息,如:被推荐视频的名称、介绍图片、介绍文字,被推荐视频的链接地址可以与跳转控件511绑定。As shown in FIG. 5, a video recommendation extension page 510 includes a jump control 511 and obtained video recommendation information, such as a name of the recommended video, an introduction picture, an introduction text, and a link address of the recommended video. Bind to the jump control 511.
进一步的,当在步骤S14中接收到的扩展操作为用户对上述跳转控件进行的视频跳转操作(用户点击跳转控件511)时,将该视频跳转操作的操作信息,主要包括被推荐视频的链接地址和/或视频标识,发送至服务器,使得服务器查找并返回该被推荐视频的视频数据;相应的,步骤S15所述的接收所述服务器根据所述操作信息返回的扩展结果并执行,具体包括如下步骤:Further, when the extended operation received in step S14 is a video jump operation performed by the user on the jump control (the user clicks the jump control 511), the operation information of the video jump operation mainly includes being recommended. The link address and/or the video identifier of the video is sent to the server, so that the server finds and returns the video data of the recommended video. Correspondingly, receiving the extended result returned by the server according to the operation information and performing according to step S15 Specifically, the steps include the following steps:
S1531、接收服务器根据所述视频跳转操作对应的操作信息返回的被推荐视频数据。S1531. The recommended video data returned by the receiving server according to the operation information corresponding to the video jump operation.
S1532、终止视频播放器对所述当前视频的播放控制,并重置所述视频播放器。S1532: Terminate the playback control of the current video by the video player, and reset the video player.
S1533、通过重置后的视频播放器播放所述被推荐视频数据。S1533. Play the recommended video data by using the reset video player.
为实现视频播放器由播放当前视频跳转至播放被推荐视频,除了获取被推荐视频的视频数据外,还需要对视频播放器进行以下控制,首先终止其对所述当前视频的播放,再重置(重新初始化)该视频播放器,从而可以将获取到的被推荐视频的视频数据放入重置后的视频播放器,即可开始播放被推荐视频。In order to realize that the video player jumps from playing the current video to playing the recommended video, in addition to acquiring the video data of the recommended video, the following control of the video player is required, firstly, the playback of the current video is terminated, and then The video player is set (reinitialized) so that the captured video data of the recommended video can be placed in the reset video player to start playing the recommended video.
上述实施例分别介绍了基于红包型、投票型和视频推荐型三种预设类型的弹幕实现的用户与视频播放器之间的交互,实际应用中不仅限于以上具体实施方式,且也可以通过其他预设类型的弹幕增强用户与播放器之间的交互,提升视频播放的趣味性及视频播放量。The above embodiments respectively introduce the interaction between the user and the video player based on the three preset types of the red envelope type, the voting type and the video recommendation type. The actual application is not limited to the above specific implementation manner, and can also be adopted. Other preset types of barrage enhance the interaction between the user and the player, improving the fun of video playback and the amount of video playback.
图6为本申请实施例提供的另一种弹幕控制方法的流程图。相对于图1所示弹幕控制方法中步骤S13所述的判断是否接收到用户对所述扩展界面中操作控件进行的扩展操作,图6所示方法中具体为:FIG. 6 is a flowchart of another method for controlling a barrage according to an embodiment of the present application. The method shown in FIG. 6 is specifically as follows: determining whether the user performs an extended operation on the operation control in the extended interface, as described in step S13 of the barrage control method shown in FIG.
S13’、在显示所述扩展界面后的预设时间内判断是否接收到所述扩展操作,如果在所述预设时间内接收到所述扩展操作,则执行步骤S14,否则,执行步骤S16。
S13', determining whether the extended operation is received within a preset time after displaying the extended interface. If the extended operation is received within the preset time, step S14 is performed; otherwise, step S16 is performed.
所述步骤S16为:当在显示所述扩展界面后的预设时间内未接收到所述扩展操作时,关闭所述扩展界面。The step S16 is: when the extended operation is not received within a preset time after displaying the extended interface, the extended interface is closed.
实际应用中,如果在显示所述扩展界面后的预设时间内未接收到所述扩展操作,说明用户对相应的扩展界面不感兴趣,此时,为避免该扩展界面长期遮挡当前视频播放界面,可以关闭该扩展界面。In an actual application, if the extended operation is not received within a preset time after the extended interface is displayed, the user is not interested in the corresponding extended interface. In this case, in order to prevent the extended interface from blocking the current video playing interface for a long time, This extension interface can be closed.
在本申请一个可行的实施例中,上述步骤S11中所述的获取所述触发操作对应的弹幕的弹幕类型,具体实施方式可以为:In a feasible embodiment of the present application, the type of the barrage of the barrage corresponding to the triggering operation is as described in the foregoing step S11, and the specific implementation manner may be:
S1111、提取所述触发操作对应的弹幕的弹幕标识;S1111, extracting a barrage identifier of a barrage corresponding to the triggering operation;
S1112、利用预设的弹幕标识与弹幕类型的对应关系,从预先获取到的弹幕信息中查找与所述提取到的弹幕标识对应的弹幕类型。S1112: Searching for the type of the barrage corresponding to the extracted barrage identifier from the pre-acquired barrage information by using a preset correspondence between the barrage identifier and the barrage type.
其中,预先获取包含所述对应关系的弹幕信息的步骤可以包括:The step of acquiring the barrage information including the corresponding relationship in advance may include:
在所述当前视频播放过程中,生成包含当前视频标识的弹幕获取请求并发送至服务器;During the current video playing process, generating a barrage acquisition request including the current video identifier and transmitting the request to the server;
接收服务器根据所述弹幕获取请求返回的所述当前视频对应的所述弹幕信息;Receiving, by the receiving server, the barrage information corresponding to the current video returned by the barrage acquisition request;
根据所述弹幕信息中的弹幕内容和弹幕显示时间在所述当前视频播放界面上显示各个弹幕。Each barrage is displayed on the current video playing interface according to the barrage content and the barrage display time in the barrage information.
即,在视频开始播放并获取弹幕时,除了获取各条弹幕的弹幕内容和弹幕显示时间等传统弹幕信息,还同时获取每个弹幕的弹幕标识与弹幕类型的对应关系,从而在接收到用户对任一弹幕执行的触发操作时,都可以根据该被触发弹幕的弹幕标识,利用上述对应关系确定被触发弹幕的弹幕类型。That is, when the video starts to play and acquire the barrage, in addition to obtaining the traditional barrage information such as the barrage content of each barrage and the display time of the barrage, the corresponding correspondence between the barrage of each barrage and the type of the barrage is also obtained. The relationship, so that when the user performs a triggering operation on any of the barrage, the barrage type of the triggered barrage can be determined according to the barrage identifier of the triggered barrage.
在本申请另一个可行的实施例中,上述步骤S11中所述的获取所述触发操作对应的弹幕的弹幕类型,具体实施方式还可以为:In another possible embodiment of the present application, the type of the barrage of the barrage corresponding to the triggering operation is performed in the foregoing step S11, and the specific implementation manner may also be:
S1121、提取与所述触发操作对应的弹幕的弹幕标识;S1111, extracting a barrage identifier of a barrage corresponding to the triggering operation;
S1122、生成包含所述弹幕标识的弹幕类型获取请求并发送给服务器;S1122: Generate a barrage type acquisition request including the barrage identifier and send the request to the server;
S1123、接收所述服务器根据所述弹幕类型获取请求返回的弹幕类型并作为所述提取到的弹幕标识对应的弹幕类型。
S1123: Receive a type of a barrage returned by the server according to the barrage type acquisition request and as a barrage type corresponding to the extracted barrage identifier.
即,相对于上述实施例中预先获取弹幕标识和弹幕类型的对应关系,本实施例在接收到所述触发操作后,根据被触发弹幕的弹幕标识实时从服务器获取其对应的弹幕类型。实际应用时,可以根据应用需求自由设置采用哪一种方式获取所述触发操作对应的弹幕的弹幕类型。That is, in the embodiment, after the triggering operation is received in advance, the present embodiment obtains the corresponding bullet from the server in real time according to the barrage identifier of the triggered barrage after receiving the triggering operation. Curtain type. In actual application, the type of the barrage of the barrage corresponding to the triggering operation can be freely set according to the application requirements.
另外,本申请实施例还提供了一种计算机存储介质,例如可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等;该计算机存储介质中存储有程序,当所述存储介质中的程序由视频播放器的相关处理器执行时,使得该视频播放器能够执行上述方法实施例中记载的任一种弹幕控制方法中的部分或全部步骤。In addition, the embodiment of the present application further provides a computer storage medium, such as a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device. The computer storage medium stores a program. When the program in the storage medium is executed by an associated processor of the video player, the video player is enabled to perform some or all of the steps of any of the barrage control methods described in the above method embodiments.
相应于上述弹幕控制方法实施例,本申请实施例还提供了一种弹幕控制装置,图7为该装置的结构框图,该装置可以应用于任一具有弹幕功能的视频播放器。参照图7,该装置包括以下个单元。Corresponding to the above-mentioned embodiment of the barrage control method, the embodiment of the present application further provides a barrage control device, and FIG. 7 is a structural block diagram of the device, which can be applied to any video player having a barrage function. Referring to Figure 7, the apparatus includes the following units.
触发操作接收单元100,用于接收用户对当前视频播放界面上显示的弹幕所执行的触发操作;The triggering operation receiving unit 100 is configured to receive a triggering operation performed by the user on the barrage displayed on the current video playing interface;
弹幕类型获取单元200,用于获取所述触发操作对应的弹幕的弹幕类型;The barrage type obtaining unit 200 is configured to acquire a barrage type of the barrage corresponding to the triggering operation;
扩展界面显示单元300,用于在所述弹幕类型为预设类型时,显示与所述预设类型对应的扩展界面,所述扩展界面包含有至少一个操作控件;The extended interface display unit 300 is configured to display an extended interface corresponding to the preset type when the barrage type is a preset type, where the extended interface includes at least one operation control;
扩展操作接收单元400,用于接收用户对所述扩展界面中操作控件进行的扩展操作;The extended operation receiving unit 400 is configured to receive an extended operation performed by the user on the operation control in the extended interface;
操作信息发送单元500,用于将与所述扩展操作对应的操作信息发送至服务器;其中,所述操作信息包括所述扩展操作对应的用户标识和/或所述弹幕的弹幕标识;The operation information sending unit 500 is configured to send the operation information corresponding to the extended operation to the server, where the operation information includes a user identifier corresponding to the extended operation and/or a barrage identifier of the barrage;
扩展结果执行单元600,用于接收所述服务器根据所述操作信息返回的扩展结果并执行。The extended result execution unit 600 is configured to receive and execute the extended result returned by the server according to the operation information.
由以上技术方案可知,本申请实施例通过实时接收用于对当前视频播放界面中显示的预设类型的弹幕所执行的触发操作,并在接收到该触发操作后显示
该预设类型的弹幕对应的扩展界面,进而接收用户对扩展界面中操作控件的扩展操作,根据该扩展操作的操作信息向服务器请求获取扩展操作结果并执行,从而增强用户与视频播放器之间的交互,提升视频播放的趣味性及视频播放量,还可以通过上述预设类型的红包实现对影视剧、实体产品等信息的推广。As shown in the above technical solution, the embodiment of the present application receives a trigger operation performed on a barrage of a preset type displayed in the current video playing interface in real time, and displays after receiving the triggering operation.
The preset interface of the preset type corresponds to the extended interface, and further receives the user's extended operation on the operation control in the extended interface, and requests the server to obtain the extended operation result according to the operation information of the extended operation, and executes, thereby enhancing the user and the video player. The interaction between the video playback and the video playback volume can also promote the promotion of information such as film and television dramas and physical products through the above-mentioned preset types of red packets.
在本申请一个可行的实施方式中,上述扩展界面显示单元300可以包括:红包界面显示单元。In a possible implementation manner of the present application, the extended interface display unit 300 may include: a red envelope interface display unit.
该红包界面显示单元用于,在所述弹幕类型为红包型时,根据所述红包型弹幕的弹幕标识获取所述红包型弹幕对应的红包信息,并触发红包软件开发工具包SDK根据所述红包信息生成红包扩展界面;确定所述红包扩展界面的显示位置;在所确定的显示位置上显示所述红包扩展界面。The red packet interface display unit is configured to: when the barrage type is a red envelope type, obtain the red envelope information corresponding to the red envelope type curtain according to the barrage identifier of the red envelope type curtain, and trigger the red envelope software development kit SDK Generating a red packet extension interface according to the red packet information; determining a display location of the red packet extension interface; displaying the red packet extension interface on the determined display location.
其中,所述红包信息包括红包发出方、红包总金额和红包使用规则中的至少一项,所述红包扩展界面中至少包括用于接收红包领取操作的红包领取控件。The red envelope information includes at least one of a red envelope issuer, a red envelope total amount, and a red envelope usage rule, and the red envelope extension interface includes at least a red envelope receiving control for receiving a red envelope receiving operation.
基于上述红包界面显示单元,上述扩展结果执行单元600可以包括:红包领取结果显示单元。Based on the red envelope interface display unit, the extended result execution unit 600 may include: a red envelope receiving result display unit.
该红包领取结果显示单元,用于在扩展操作接收单元400接收到的扩展操作为用户对所述红包领取控件进行的红包领取操作时,接收服务器根据所述红包领取操作对应的操作信息返回的红包领取结果,显示所述红包领取结果。其中,所述红包领取结果至少包括红包金额。The red packet receiving result display unit is configured to: when the extended operation received by the extended operation receiving unit 400 is a red envelope receiving operation performed by the user on the red envelope receiving control, the receiving server returns a red envelope according to the operation information corresponding to the red packet receiving operation The result is received, and the result of the red envelope is displayed. The red envelope receiving result includes at least a red envelope amount.
在本申请另一个可行的实施例中,上述扩展界面显示单元300可以包括:投票界面显示单元。In another possible embodiment of the present application, the extended interface display unit 300 may include: a voting interface display unit.
该投票界面显示单元用于,在所述弹幕类型为投票型时,根据所述投票型弹幕的弹幕标识获取所述投票型弹幕对应的投票信息,并根据所述投票信息生成投票扩展界面;确定所述投票扩展界面的显示位置;在所确定的显示位置上显示所述投票扩展界面。The voting interface display unit is configured to: when the barrage type is a voting type, obtain voting information corresponding to the voting type barrage according to the barrage identifier of the voting type barrage, and generate a voting according to the voting information Extending an interface; determining a display location of the voting extension interface; displaying the voting extension interface on the determined display location.
其中,所述投票信息包括投票选项和/或各个投票选项对应的票数,所述投票界面中至少包括用于接收投票操作的投票控件。The voting information includes a voting option and/or a number of votes corresponding to each voting option, and the voting interface includes at least a voting control for receiving a voting operation.
基于上述投票界面显示单元,上述扩展结果执行单元600可以包括:投票结果显示单元。
Based on the voting interface display unit described above, the extended result execution unit 600 may include a voting result display unit.
该投票结果显示单元用于,在扩展操作接收单元400接收到的扩展操作为用户对所述投票扩展界面进行的投票操作时,接收服务器根据所述投票操作对应的操作信息返回的投票结果,并显示所述投票结果及已投票提示信息。The voting result display unit is configured to: when the extended operation received by the extended operation receiving unit 400 is a voting operation performed by the user on the voting extension interface, receive a voting result returned by the server according to the operation information corresponding to the voting operation, and The voting result and the voting prompt information are displayed.
其中,所述投票操作对应的操作信息包括用户标识和用户选中的投票选项的选项标识,所述投票结果包括各个投票选项对应的当前票数。The operation information corresponding to the voting operation includes a user identifier and an option identifier of a voting option selected by the user, and the voting result includes a current number of votes corresponding to each voting option.
在本申请又一个可行的实施例中,上述扩展界面显示单元300可以包括:视频推荐界面显示单元。In another possible embodiment of the present application, the extended interface display unit 300 may include: a video recommendation interface display unit.
该视频推荐界面显示单元用于,在所述弹幕类型为视频推荐型时,根据所述视频推荐型弹幕的弹幕标识获取所述视频推荐型弹幕对应的视频推荐信息,并根据所述视频推荐信息生成视频推荐扩展界面;确定所述视频推荐扩展界面的显示位置;在所确定的显示位置上显示所述视频推荐扩展界面。The video recommendation interface display unit is configured to: when the barrage type is a video recommendation type, obtain video recommendation information corresponding to the video recommendation type barrage according to the barrage identifier of the video recommendation type barrage, and according to the The video recommendation information generates a video recommendation extension interface; determines a display location of the video recommendation extension interface; and displays the video recommendation extension interface on the determined display location.
其中,所述视频推荐信息包括被推荐视频的名称、介绍图片、介绍文字和链接地址中的至少一种,所述视频推荐扩展界面中至少包括用户接收视频跳转操作的跳转控件。The video recommendation information includes at least one of a name of the recommended video, an introduction picture, an introduction text, and a link address, where the video recommendation extension interface includes at least a jump control that the user receives the video jump operation.
基于上述视频推荐界面显示单元,上述扩展结果执行单元600可以包括:视频跳转执行单元。Based on the video recommendation interface display unit, the extended result execution unit 600 may include a video jump execution unit.
该视频跳转执行单元用于,在扩展操作接收单元400接收到的扩展操作为用户对所述视频推荐扩展界面进行的视频跳转操作时,接收服务器根据所述视频跳转操作对应的操作信息返回的被推荐视频数据;终止视频播放器对所述当前视频的播放控制,并重置所述视频播放器;通过重置后的视频播放器播放所述被推荐视频数据。The video jump execution unit is configured to: when the extended operation received by the extended operation receiving unit 400 is a video jump operation performed by the user on the video recommendation extended interface, the receiving server performs operation information corresponding to the video jump operation. Returning the recommended video data; terminating the video player's playback control of the current video, and resetting the video player; playing the recommended video data through the reset video player.
其中,所述视频跳转操作对应的操作信息包括所述被推荐视频的链接地址和/或视频标识。The operation information corresponding to the video jump operation includes a link address and/or a video identifier of the recommended video.
上述实施例分别介绍了基于红包型、投票型和视频推荐型三种预设类型的弹幕实现的用户与视频播放器之间的交互,实际应用中不仅限于以上具体实施方式,且也可以通过其他预设类型的弹幕增强用户与播放器之间的交互,提升视频播放的趣味性及视频播放量。The above embodiments respectively introduce the interaction between the user and the video player based on the three preset types of the red envelope type, the voting type and the video recommendation type. The actual application is not limited to the above specific implementation manner, and can also be adopted. Other preset types of barrage enhance the interaction between the user and the player, improving the fun of video playback and the amount of video playback.
基于上述图7所示的弹幕控制装置,在本申请另一个可行的实施方式中,该装置还可以包括:
In another feasible implementation manner of the present application, the device may further include:
扩展界面关闭单元,用于在显示所述扩展界面后的预设时间内判断是否接收到所述扩展操作,当在显示所述扩展界面后的预设时间内未接收到所述扩展操作时,关闭所述扩展界面。An extended interface closing unit, configured to determine whether the extended operation is received within a preset time after displaying the extended interface, and when the extended operation is not received within a preset time after displaying the extended interface, Close the extension interface.
实际应用中,如果在显示所述扩展界面后的预设时间内未接收到所述扩展操作,说明用户对相应的扩展界面不感兴趣,此时,为避免该扩展界面长期遮挡当前视频播放界面,可以关闭该扩展界面。In an actual application, if the extended operation is not received within a preset time after the extended interface is displayed, the user is not interested in the corresponding extended interface. In this case, in order to prevent the extended interface from blocking the current video playing interface for a long time, This extension interface can be closed.
在本申请一个可行的实施例中,上述弹幕类型获取单元200可以包括:第一获取单元,用于提取所述触发操作对应的弹幕的弹幕标识,利用预设的弹幕标识与弹幕类型的对应关系,从预先获取到的弹幕信息中查找与所述弹幕标识对应的弹幕类型。In a possible embodiment of the present application, the above-described barrage type obtaining unit 200 may include: a first acquiring unit, configured to extract a barrage identifier of the barrage corresponding to the triggering operation, and use a preset barrage identifier and a bullet Corresponding relationship of the screen type, searching for the type of the barrage corresponding to the barrage identifier from the pre-acquired barrage information.
相应的,为预先获取到包含上述对应关系的弹幕信息,上述弹幕控制装置还可以包括:弹幕信息预取单元;该弹幕信息预取单元用于,在所述当前视频播放过程中,生成包含当前视频标识的弹幕获取请求并发送至服务器,并接收服务器根据所述弹幕获取请求返回的所述当前视频对应的所述弹幕信息。Correspondingly, the barrage control device may further include: a barrage information prefetching unit; the barrage information prefetching unit is configured to be in the current video playing process, in order to obtain the barrage information including the foregoing corresponding relationship. And generating a barrage acquisition request including the current video identifier and sending the request to the server, and receiving the barrage information corresponding to the current video returned by the server according to the barrage acquisition request.
其中,所述弹幕信息包括所述当前视频相对应的每个弹幕的弹幕标识与弹幕类型的对应关系,以及,每个弹幕对应的的弹幕内容和弹幕显示时间。该弹幕内容和弹幕显示时间用于控制每个弹幕在当前视频播放界面中的显示。The barrage information includes a correspondence between a barrage identifier of each barrage corresponding to the current video and a barrage type, and a barrage content and a barrage display time corresponding to each barrage. The barrage content and the barrage display time are used to control the display of each barrage in the current video playback interface.
在本申请另一个可行的实施例中,上述弹幕类型获取单元200可以包括:第二获取单元,用于提取与所述触发操作对应的弹幕的弹幕标识,生成包含所述弹幕标识的弹幕类型获取请求并发送给服务器,接收所述服务器根据所述弹幕类型获取请求返回的弹幕类型并作为所述提取到的弹幕标识对应的弹幕类型。In another possible embodiment of the present application, the barrage type obtaining unit 200 may include: a second acquiring unit, configured to extract a barrage identifier of the barrage corresponding to the triggering operation, and generate the barrage identifier The barrage type acquisition request is sent to the server, and receives the barrage type returned by the server according to the barrage type acquisition request and serves as the barrage type corresponding to the extracted barrage identifier.
上述第一获取单元和第二获取单元提供了两种不同弹幕类型获取方式,实际应用时,可以根据应用需求自由设置采用哪一种方式获取所述触发操作对应的弹幕的弹幕类型。The first acquisition unit and the second acquisition unit provide two different types of salvage type acquisition. In actual application, the retrieving type of the rehearsal corresponding to the triggering operation can be freely set according to the application requirements.
本申请实施例还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的弹幕控制方法。The embodiment of the present application further provides a non-transitory computer readable storage medium, where the non-transitory computer readable storage medium stores computer executable instructions, which can execute the bullet in any of the foregoing method embodiments. Curtain control method.
图8是本申请实施例提供的执行弹幕控制方法的电子设备的硬件结构示意
图,如图8所示,该设备包括:FIG. 8 is a schematic diagram showing the hardware structure of an electronic device for performing a barrage control method according to an embodiment of the present application;
Figure, as shown in Figure 8, the device includes:
一个或多个处理器810以及存储器820,图8中以一个处理器810为例。One or more processors 810 and memory 820, one processor 810 is taken as an example in FIG.
执行弹幕控制方法的设备还可以包括:输入装置830和输出装置840。The apparatus for performing the barrage control method may further include: an input device 830 and an output device 840.
处理器810、存储器820、输入装置830和输出装置840可以通过总线或者其他方式连接,图8中以通过总线连接为例。The processor 810, the memory 820, the input device 830, and the output device 840 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
存储器820作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块,如本申请实施例中的弹幕控制方法对应的程序指令/模块(例如,附图7所示的触发操作接收单元100、弹幕类型获取单元200、扩展界面显示单元300、扩展操作接收单元400、操作信息发送单元500和扩展结果执行单元600)。处理器810通过运行存储在存储器820中的非暂态软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述方法实施例弹幕控制方法。The memory 820 is used as a non-transitory computer readable storage medium, and can be used for storing a non-transitory software program, a non-transitory computer executable program, and a module, such as a program command/module corresponding to the barrage control method in the embodiment of the present application. (For example, the trigger operation receiving unit 100, the barrage type acquiring unit 200, the extended interface display unit 300, the extended operation receiving unit 400, the operation information transmitting unit 500, and the extended result executing unit 600 shown in FIG. 7). The processor 810 executes various functional applications and data processing of the electronic device by running non-transitory software programs, instructions, and modules stored in the memory 820, that is, implementing the barrage control method of the above method embodiment.
存储器820可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据弹幕控制装置的使用所创建的数据等。此外,存储器820可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施例中,存储器820可选包括相对于处理器810远程设置的存储器,这些远程存储器可以通过网络连接至弹幕控制装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 820 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to the use of the barrage control device, and the like. Moreover, memory 820 can include high speed random access memory, and can also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 820 can optionally include memory remotely located relative to processor 810, which can be connected to the barrage control device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置830可接收输入的数字或字符信息,以及产生与弹幕控制装置的用户设置以及功能控制有关的键信号输入。输出装置840可包括显示屏等显示设备。 Input device 830 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the barrage control device. The output device 840 can include a display device such as a display screen.
所述一个或者多个模块存储在所述存储器820中,当被所述一个或者多个处理器810执行时,执行上述任意方法实施例中的弹幕控制方法。The one or more modules are stored in the memory 820, and when executed by the one or more processors 810, perform a barrage control method in any of the above method embodiments.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above products can perform the methods provided by the embodiments of the present application, and have the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiments of the present application.
本发明实施例的电子设备以多种形式存在,包括但不限于:
The electronic device of the embodiment of the invention exists in various forms, including but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。(4) Server: A device that provides computing services. The server consists of a processor, a hard disk, a memory, a system bus, etc. The server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
(5)其他具有数据交互功能的电子装置。(5) Other electronic devices with data interaction functions.
最后需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非暂态计算机可读存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Finally, it should be understood that those skilled in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a non-transitory computer. In a readable storage medium, the program, when executed, may include the flow of an embodiment of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM).
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置和系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device and system embodiments, the description is relatively simple, since it is substantially similar to the method embodiment, and the relevant portions of the method embodiments can be referred to.
以上所述的本发明实施方式,并不构成对本发明保护范围的限定。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明的保护范围之内。
The embodiments of the invention described above are not intended to limit the scope of the invention. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the invention are intended to be included within the scope of the invention.
Claims (35)
- 一种弹幕控制方法,其特征在于,应用于视频播放器,包括:A barrage control method, characterized in that it is applied to a video player, including:接收用户对当前视频播放界面上显示的弹幕所执行的触发操作;Receiving a trigger operation performed by the user on the barrage displayed on the current video playing interface;获取所述触发操作对应的弹幕的弹幕类型;Obtaining a type of barrage of the barrage corresponding to the triggering operation;当所述弹幕类型为预设类型时,显示与所述预设类型对应的扩展界面,所述扩展界面包含有至少一个操作控件;When the barrage type is a preset type, displaying an extended interface corresponding to the preset type, where the extended interface includes at least one operation control;接收用户对所述扩展界面中操作控件进行的扩展操作;Receiving an extended operation performed by the user on the operation control in the extended interface;将与所述扩展操作对应的操作信息发送至服务器;其中,所述操作信息包括所述扩展操作对应的用户标识和/或所述弹幕的弹幕标识;And sending the operation information corresponding to the extended operation to the server; wherein the operation information includes a user identifier corresponding to the extended operation and/or a barrage identifier of the barrage;接收所述服务器根据所述操作信息返回的扩展结果并执行。Receiving an extended result returned by the server according to the operation information and executing.
- 根据权利要求1所述的方法,其特征在于,当所述弹幕类型为红包型时,显示与所述预设类型对应的扩展界面,包括:The method according to claim 1, wherein when the barrage type is a red envelope type, displaying an extended interface corresponding to the preset type comprises:根据所述红包型弹幕的弹幕标识获取所述红包型弹幕对应的红包信息,并触发红包软件开发工具包SDK根据所述红包信息生成红包扩展界面;其中,所述红包信息包括红包发出方、红包总金额和红包使用规则中的至少一项,所述红包扩展界面中至少包括用于接收红包领取操作的红包领取控件;Acquiring the red envelope information corresponding to the red envelope type bullet according to the barrage identifier of the red envelope type curtain, and triggering the red envelope software development kit SDK to generate a red envelope extension interface according to the red envelope information; wherein the red envelope information includes a red envelope issued At least one of a party, a red envelope total amount, and a red envelope usage rule, where the red envelope extension interface includes at least a red envelope receiving control for receiving a red envelope receiving operation;确定所述红包扩展界面的显示位置;Determining a display position of the red envelope extension interface;在所确定的显示位置上显示所述红包扩展界面。The red envelope extension interface is displayed at the determined display position.
- 根据权利要求2所述的方法,其特征在于,当所述扩展操作为用户对所述红包领取控件进行的红包领取操作时,接收所述服务器根据所述操作信息返回的扩展结果并执行,包括:The method according to claim 2, wherein when the expanding operation is a red packet receiving operation performed by the user on the red packet receiving control, receiving an extended result returned by the server according to the operation information, and executing, including :接收服务器根据所述红包领取操作对应的操作信息返回的红包领取结果;所述红包领取结果至少包括红包金额;Receiving, by the receiving server, a red packet receiving result returned according to the operation information corresponding to the red packet receiving operation; the red packet receiving result includes at least a red packet amount;显示所述红包领取结果。 The red envelope receiving result is displayed.
- 根据权利要求1所述的方法,其特征在于,当所述弹幕类型为投票型时,显示与所述预设类型对应的扩展界面,包括:The method according to claim 1, wherein when the barrage type is a voting type, displaying an extended interface corresponding to the preset type comprises:根据所述投票型弹幕的弹幕标识获取所述投票型弹幕对应的投票信息,并根据所述投票信息生成投票扩展界面;其中,所述投票信息包括投票选项和/或各个投票选项对应的票数,所述投票界面中至少包括用于接收投票操作的投票控件;Obtaining, according to the barrage identifier of the voting type barrage, the voting information corresponding to the voting type barrage, and generating a voting extension interface according to the voting information; wherein the voting information includes a voting option and/or a corresponding voting option The number of votes, the voting interface includes at least a voting control for receiving a voting operation;确定所述投票扩展界面的显示位置;Determining a display position of the voting extension interface;在所确定的显示位置上显示所述投票扩展界面。The voting extension interface is displayed at the determined display position.
- 根据权利要求4所述的方法,其特征在于,当所述扩展操作为用户对所述投票扩展界面进行的投票操作时,接收所述服务器根据所述操作信息返回的扩展结果并执行,包括:The method according to claim 4, wherein when the expanding operation is a voting operation performed by the user on the voting extension interface, receiving an extended result returned by the server according to the operation information, and executing, includes:接收服务器根据所述投票操作对应的操作信息返回的投票结果;其中,所述投票操作对应的操作信息包括用户标识和用户选中的投票选项的选项标识,所述投票结果包括各个投票选项对应的当前票数;Receiving, by the server, a voting result returned according to the operation information corresponding to the voting operation; wherein the operation information corresponding to the voting operation includes a user identifier and an option identifier of a voting option selected by the user, where the voting result includes a current corresponding to each voting option Number of votes;显示所述投票结果及已投票提示信息。The voting result and the voting prompt information are displayed.
- 根据权利要求1所述的方法,其特征在于,当所述弹幕类型为视频推荐型时,显示与所述预设类型对应的扩展界面,包括:The method according to claim 1, wherein when the barrage type is a video recommendation type, displaying an extended interface corresponding to the preset type comprises:根据所述视频推荐型弹幕的弹幕标识获取所述视频推荐型弹幕对应的视频推荐信息,并根据所述视频推荐信息生成视频推荐扩展界面;其中,所述视频推荐信息包括被推荐视频的名称、介绍图片、介绍文字和链接地址中的至少一种,所述视频推荐扩展界面中至少包括用户接收视频跳转操作的跳转控件;Acquiring, according to the barrage identifier of the video recommendation type barrage, the video recommendation information corresponding to the video recommendation type barrage, and generating a video recommendation extension interface according to the video recommendation information; wherein the video recommendation information includes the recommended video At least one of a name, an introduction picture, an introduction text, and a link address, where the video recommendation extension interface includes at least a jump control for the user to receive a video jump operation;确定所述视频推荐扩展界面的显示位置;Determining a display position of the video recommendation extension interface;在所确定的显示位置上显示所述视频推荐扩展界面。The video recommendation extension interface is displayed at the determined display position.
- 根据权利要求6所述的方法,其特征在于,当所述扩展操作为用户对所述视频推荐扩展界面进行的视频跳转操作时,接收所述服务器根据所述操作信息 返回的扩展结果并执行,包括:The method according to claim 6, wherein when the expanding operation is a video jumping operation performed by the user on the video recommendation extension interface, receiving the server according to the operation information The returned results are returned and executed, including:接收服务器根据所述视频跳转操作对应的操作信息返回的被推荐视频数据;其中,所述视频跳转操作对应的操作信息包括所述被推荐视频的链接地址和/或视频标识;Receiving recommended video data returned by the server according to the operation information corresponding to the video jump operation; wherein the operation information corresponding to the video jump operation includes a link address and/or a video identifier of the recommended video;终止视频播放器对所述当前视频的播放控制,并重置所述视频播放器;Terminating the video player's playback control of the current video, and resetting the video player;通过重置后的视频播放器播放所述被推荐视频数据。The recommended video data is played by the reset video player.
- 根据权利要求1至7任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1 to 7, further comprising:在显示所述扩展界面后的预设时间内判断是否接收到所述扩展操作;Determining whether the extension operation is received within a preset time after displaying the extended interface;当在显示所述扩展界面后的预设时间内未接收到所述扩展操作时,关闭所述扩展界面。The extension interface is closed when the extension operation is not received within a preset time after displaying the extension interface.
- 根据权利要求1至7任一项所述的方法,其特征在于,获取所述触发操作对应的弹幕的弹幕类型,包括:The method according to any one of claims 1 to 7, wherein acquiring the type of the barrage of the barrage corresponding to the triggering operation comprises:提取所述触发操作对应的弹幕的弹幕标识;Extracting a barrage identifier of the barrage corresponding to the triggering operation;利用预设的弹幕标识与弹幕类型的对应关系,从预先获取到的弹幕信息中查找与所述提取到的弹幕标识对应的弹幕类型。The preset type of the barrage identifier and the type of the barrage is used to search for the type of the barrage corresponding to the extracted barrage identifier from the pre-acquired barrage information.
- 根据权利要求9所述的方法,其特征在于,还包括:The method of claim 9 further comprising:在所述当前视频播放过程中,生成包含当前视频标识的弹幕获取请求并发送至服务器;During the current video playing process, generating a barrage acquisition request including the current video identifier and transmitting the request to the server;接收服务器根据所述弹幕获取请求返回的所述当前视频对应的所述弹幕信息;其中,所述弹幕信息包括所述当前视频相对应的每个弹幕的弹幕标识与弹幕类型的对应关系,以及,每个弹幕对应的的弹幕内容和弹幕显示时间。Receiving, by the receiving server, the barrage information corresponding to the current video returned by the barrage acquisition request; wherein the barrage information includes a barrage identifier and a barrage type of each barrage corresponding to the current video Correspondence, as well as the barrage content and the barrage display time for each barrage.
- 根据权利要求1至7任一项所述的方法,其特征在于,获取所述触发操作对应的弹幕的弹幕类型,包括: The method according to any one of claims 1 to 7, wherein acquiring the type of the barrage of the barrage corresponding to the triggering operation comprises:提取与所述触发操作对应的弹幕的弹幕标识;Extracting a barrage identifier of the barrage corresponding to the triggering operation;生成包含所述弹幕标识的弹幕类型获取请求并发送给服务器;Generating a barrage type acquisition request including the barrage identifier and transmitting the request to the server;接收所述服务器根据所述弹幕类型获取请求返回的弹幕类型并作为所述提取到的弹幕标识对应的弹幕类型。Receiving, by the server, the type of the barrage returned according to the barrage type acquisition request and as the barrage type corresponding to the extracted barrage identifier.
- 一种弹幕控制装置,其特征在于,包括:A barrage control device, comprising:触发操作接收单元,用于接收用户对当前视频播放界面上显示的弹幕所执行的触发操作;The trigger operation receiving unit is configured to receive a trigger operation performed by the user on the barrage displayed on the current video playing interface;弹幕类型获取单元,用于获取所述触发操作对应的弹幕的弹幕类型;a barrage type obtaining unit, configured to acquire a barrage type of the barrage corresponding to the triggering operation;扩展界面显示单元,用于在所述弹幕类型为预设类型时,显示与所述预设类型对应的扩展界面,所述扩展界面包含有至少一个操作控件;An extended interface display unit, configured to display an extended interface corresponding to the preset type when the barrage type is a preset type, where the extended interface includes at least one operation control;扩展操作接收单元,用于接收用户对所述扩展界面中操作控件进行的扩展操作;And an extended operation receiving unit, configured to receive an extended operation performed by the user on the operation control in the extended interface;操作信息发送单元,用于将与所述扩展操作对应的操作信息发送至服务器;其中,所述操作信息包括所述扩展操作对应的用户标识和/或所述弹幕的弹幕标识;An operation information sending unit, configured to send the operation information corresponding to the extended operation to the server; wherein the operation information includes a user identifier corresponding to the extended operation and/or a barrage identifier of the barrage;扩展结果执行单元,用于接收所述服务器根据所述操作信息返回的扩展结果并执行。And an extended result execution unit, configured to receive an extended result returned by the server according to the operation information, and execute.
- 根据权利要求12所述的装置,其特征在于,所述扩展界面显示单元,包括:The device according to claim 12, wherein the extended interface display unit comprises:红包界面显示单元,用于在所述弹幕类型为红包型时,根据所述红包型弹幕的弹幕标识获取所述红包型弹幕对应的红包信息,并触发红包软件开发工具包SDK根据所述红包信息生成红包扩展界面;确定所述红包扩展界面的显示位置;在所确定的显示位置上显示所述红包扩展界面;a red packet interface display unit, configured to acquire red packet information corresponding to the red envelope type curtain according to the barrage identifier of the red envelope type curtain when the barrage type is a red envelope type, and trigger the red envelope software development kit SDK according to The red packet information generates a red packet extension interface; determining a display position of the red packet extension interface; displaying the red packet extension interface on the determined display location;其中,所述红包信息包括红包发出方、红包总金额和红包使用规则中的至少一项,所述红包扩展界面中至少包括用于接收红包领取操作的红包领取控件。 The red envelope information includes at least one of a red envelope issuer, a red envelope total amount, and a red envelope usage rule, and the red envelope extension interface includes at least a red envelope receiving control for receiving a red envelope receiving operation.
- 根据权利要求13所述的装置,其特征在于,所述扩展结果执行单元,包括:The apparatus according to claim 13, wherein the extended result execution unit comprises:红包领取结果显示单元,用于在所述扩展操作为用户对所述红包领取控件进行的红包领取操作时,接收服务器根据所述红包领取操作对应的操作信息返回的红包领取结果,显示所述红包领取结果;a red packet receiving result display unit, configured to: when the extended operation is a red envelope receiving operation performed by the user on the red envelope receiving control, the receiving server displays the red envelope according to the red packet receiving result returned by the operation information corresponding to the red packet receiving operation Receive results;其中,所述红包领取结果至少包括红包金额。The red envelope receiving result includes at least a red envelope amount.
- 根据权利要求12所述的装置,其特征在于,所述扩展界面显示单元,包括:The device according to claim 12, wherein the extended interface display unit comprises:投票界面显示单元,用于在所述弹幕类型为投票型时,根据所述投票型弹幕的弹幕标识获取所述投票型弹幕对应的投票信息,并根据所述投票信息生成投票扩展界面;确定所述投票扩展界面的显示位置;在所确定的显示位置上显示所述投票扩展界面;a voting interface display unit, configured to: when the barrage type is a voting type, obtain voting information corresponding to the voting type barrage according to the barrage identifier of the voting type barrage, and generate a voting extension according to the voting information An interface; determining a display location of the voting extension interface; displaying the voting extension interface on the determined display location;其中,所述投票信息包括投票选项和/或各个投票选项对应的票数,所述投票界面中至少包括用于接收投票操作的投票控件。The voting information includes a voting option and/or a number of votes corresponding to each voting option, and the voting interface includes at least a voting control for receiving a voting operation.
- 根据权利要求15所述的装置,其特征在于,所述扩展结果执行单元,包括:The apparatus according to claim 15, wherein the extended result execution unit comprises:投票结果显示单元,用于在所述扩展操作为用户对所述投票扩展界面进行的投票操作时,接收服务器根据所述投票操作对应的操作信息返回的投票结果,并显示所述投票结果及已投票提示信息;a voting result display unit, configured to: when the extended operation is a voting operation performed by the user on the voting extension interface, receive a voting result returned by the server according to the operation information corresponding to the voting operation, and display the voting result and the Voting information;其中,所述投票操作对应的操作信息包括用户标识和用户选中的投票选项的选项标识,所述投票结果包括各个投票选项对应的当前票数。The operation information corresponding to the voting operation includes a user identifier and an option identifier of a voting option selected by the user, and the voting result includes a current number of votes corresponding to each voting option.
- 根据权利要求12所述的装置,其特征在于,所述扩展界面显示单元,包括:The device according to claim 12, wherein the extended interface display unit comprises:视频推荐界面显示单元,用于在所述弹幕类型为视频推荐型时,根据所述视频推荐型弹幕的弹幕标识获取所述视频推荐型弹幕对应的视频推荐信息,并根据 所述视频推荐信息生成视频推荐扩展界面;确定所述视频推荐扩展界面的显示位置;在所确定的显示位置上显示所述视频推荐扩展界面;a video recommendation interface display unit, configured to: when the barrage type is a video recommendation type, obtain video recommendation information corresponding to the video recommendation type barrage according to the barrage identifier of the video recommendation type barrage, and according to The video recommendation information generates a video recommendation extension interface; determining a display position of the video recommendation extension interface; and displaying the video recommendation extension interface on the determined display position;其中,所述视频推荐信息包括被推荐视频的名称、介绍图片、介绍文字和链接地址中的至少一种,所述视频推荐扩展界面中至少包括用户接收视频跳转操作的跳转控件。The video recommendation information includes at least one of a name of the recommended video, an introduction picture, an introduction text, and a link address, where the video recommendation extension interface includes at least a jump control that the user receives the video jump operation.
- 根据权利要求17所述的装置,其特征在于,所述扩展结果执行单元,包括:The apparatus according to claim 17, wherein the extended result execution unit comprises:视频跳转执行单元,用于在所述扩展操作为用户对所述视频推荐扩展界面进行的视频跳转操作时,接收服务器根据所述视频跳转操作对应的操作信息返回的被推荐视频数据;终止视频播放器对所述当前视频的播放控制,并重置所述视频播放器;通过重置后的视频播放器播放所述被推荐视频数据;a video jump execution unit, configured to: when the extended operation is a video jump operation performed by the user on the video recommendation extension interface, receive recommended video data returned by the server according to the operation information corresponding to the video jump operation; Terminating the video player's playback control of the current video, and resetting the video player; playing the recommended video data by the reset video player;其中,所述视频跳转操作对应的操作信息包括所述被推荐视频的链接地址和/或视频标识。The operation information corresponding to the video jump operation includes a link address and/or a video identifier of the recommended video.
- 根据权利要求12至18任一项所述的装置,其特征在于,还包括:The device according to any one of claims 12 to 18, further comprising:扩展界面关闭单元,用于在显示所述扩展界面后的预设时间内判断是否接收到所述扩展操作,当在显示所述扩展界面后的预设时间内未接收到所述扩展操作时,关闭所述扩展界面。An extended interface closing unit, configured to determine whether the extended operation is received within a preset time after displaying the extended interface, and when the extended operation is not received within a preset time after displaying the extended interface, Close the extension interface.
- 根据权利要求12至18任一项所述的装置,其特征在于,所述弹幕类型获取单元,包括:The device according to any one of claims 12 to 18, wherein the barrage type acquisition unit comprises:第一获取单元,用于提取所述触发操作对应的弹幕的弹幕标识,利用预设的弹幕标识与弹幕类型的对应关系,从预先获取到的弹幕信息中查找与所述弹幕标识对应的弹幕类型。a first acquiring unit, configured to extract a barrage identifier of the barrage corresponding to the triggering operation, and use a preset correspondence between the barrage identifier and the barrage type to search for the bullet from the pre-acquired barrage information The type of barrage corresponding to the curtain logo.
- 根据权利要求20所述的装置,其特征在于,还包括:The device according to claim 20, further comprising:弹幕信息预取单元,用于在所述当前视频播放过程中,生成包含当前视频标 识的弹幕获取请求并发送至服务器,并接收服务器根据所述弹幕获取请求返回的所述当前视频对应的所述弹幕信息;a barrage information prefetching unit, configured to generate a current video tag during the current video playing process The learned barrage obtains the request and sends the request to the server, and receives the barrage information corresponding to the current video returned by the server according to the barrage acquisition request;其中,所述弹幕信息包括所述当前视频相对应的每个弹幕的弹幕标识与弹幕类型的对应关系,以及,每个弹幕对应的的弹幕内容和弹幕显示时间。The barrage information includes a correspondence between a barrage identifier of each barrage corresponding to the current video and a barrage type, and a barrage content and a barrage display time corresponding to each barrage.
- 根据权利要求12至18任一项所述的装置,其特征在于,所述弹幕类型获取单元,包括:The device according to any one of claims 12 to 18, wherein the barrage type acquisition unit comprises:第二获取单元,用于提取与所述触发操作对应的弹幕的弹幕标识,生成包含所述弹幕标识的弹幕类型获取请求并发送给服务器,接收所述服务器根据所述弹幕类型获取请求返回的弹幕类型并作为所述提取到的弹幕标识对应的弹幕类型。a second acquiring unit, configured to extract a barrage identifier of the barrage corresponding to the triggering operation, generate a barrage type acquisition request including the barrage identifier, and send the request to the server, and receive the server according to the barrage type Obtain the type of the barrage returned by the request and use it as the type of barrage corresponding to the extracted barrage identifier.
- 一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为:A non-transitory computer readable storage medium storing computer executable instructions, the computer executable instructions being set to:接收用户对当前视频播放界面上显示的弹幕所执行的触发操作;Receiving a trigger operation performed by the user on the barrage displayed on the current video playing interface;获取所述触发操作对应的弹幕的弹幕类型;Obtaining a type of barrage of the barrage corresponding to the triggering operation;当所述弹幕类型为预设类型时,显示与所述预设类型对应的扩展界面,所述扩展界面包含有至少一个操作控件;When the barrage type is a preset type, displaying an extended interface corresponding to the preset type, where the extended interface includes at least one operation control;接收用户对所述扩展界面中操作控件进行的扩展操作;Receiving an extended operation performed by the user on the operation control in the extended interface;将与所述扩展操作对应的操作信息发送至服务器;其中,所述操作信息包括所述扩展操作对应的用户标识和/或所述弹幕的弹幕标识;And sending the operation information corresponding to the extended operation to the server; wherein the operation information includes a user identifier corresponding to the extended operation and/or a barrage identifier of the barrage;接收所述服务器根据所述操作信息返回的扩展结果并执行。Receiving an extended result returned by the server according to the operation information and executing.
- 一种电子设备,包括:An electronic device comprising:至少一个处理器;以及,At least one processor; and,与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein所述存储器存储有可被所述一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够: The memory stores instructions executable by the one processor, the instructions being executed by the at least one processor to enable the at least one processor to:接收用户对当前视频播放界面上显示的弹幕所执行的触发操作;Receiving a trigger operation performed by the user on the barrage displayed on the current video playing interface;获取所述触发操作对应的弹幕的弹幕类型;Obtaining a type of barrage of the barrage corresponding to the triggering operation;当所述弹幕类型为预设类型时,显示与所述预设类型对应的扩展界面,所述扩展界面包含有至少一个操作控件;When the barrage type is a preset type, displaying an extended interface corresponding to the preset type, where the extended interface includes at least one operation control;接收用户对所述扩展界面中操作控件进行的扩展操作;Receiving an extended operation performed by the user on the operation control in the extended interface;将与所述扩展操作对应的操作信息发送至服务器;其中,所述操作信息包括所述扩展操作对应的用户标识和/或所述弹幕的弹幕标识;And sending the operation information corresponding to the extended operation to the server; wherein the operation information includes a user identifier corresponding to the extended operation and/or a barrage identifier of the barrage;接收所述服务器根据所述操作信息返回的扩展结果并执行。Receiving an extended result returned by the server according to the operation information and executing.
- 根据权利要求24所述的电子设备,其特征在于,当所述弹幕类型为红包型时,显示与所述预设类型对应的扩展界面,包括:The electronic device according to claim 24, wherein when the barrage type is a red envelope type, displaying an extended interface corresponding to the preset type comprises:根据所述红包型弹幕的弹幕标识获取所述红包型弹幕对应的红包信息,并触发红包软件开发工具包SDK根据所述红包信息生成红包扩展界面;其中,所述红包信息包括红包发出方、红包总金额和红包使用规则中的至少一项,所述红包扩展界面中至少包括用于接收红包领取操作的红包领取控件;Acquiring the red envelope information corresponding to the red envelope type bullet according to the barrage identifier of the red envelope type curtain, and triggering the red envelope software development kit SDK to generate a red envelope extension interface according to the red envelope information; wherein the red envelope information includes a red envelope issued At least one of a party, a red envelope total amount, and a red envelope usage rule, where the red envelope extension interface includes at least a red envelope receiving control for receiving a red envelope receiving operation;确定所述红包扩展界面的显示位置;Determining a display position of the red envelope extension interface;在所确定的显示位置上显示所述红包扩展界面。The red envelope extension interface is displayed at the determined display position.
- 根据权利要求25所述的电子设备,其特征在于,当所述扩展操作为用户对所述红包领取控件进行的红包领取操作时,接收所述服务器根据所述操作信息返回的扩展结果并执行,包括:The electronic device according to claim 25, wherein when the expanding operation is a red packet receiving operation performed by the user on the red packet receiving control, receiving an extended result returned by the server according to the operation information, and executing, include:接收服务器根据所述红包领取操作对应的操作信息返回的红包领取结果;所述红包领取结果至少包括红包金额;Receiving, by the receiving server, a red packet receiving result returned according to the operation information corresponding to the red packet receiving operation; the red packet receiving result includes at least a red packet amount;显示所述红包领取结果。The red envelope receiving result is displayed.
- 根据权利要求24所述的电子设备,其特征在于,当所述弹幕类型为投票型时,显示与所述预设类型对应的扩展界面,包括:The electronic device according to claim 24, wherein when the barrage type is a voting type, displaying an extended interface corresponding to the preset type comprises:根据所述投票型弹幕的弹幕标识获取所述投票型弹幕对应的投票信息,并根据所述投票信息生成投票扩展界面;其中,所述投票信息包括投票选项和/或各个投票选项对应的票数,所述投票界面中至少包括用于接收投票操作的投票控件; Obtaining, according to the barrage identifier of the voting type barrage, the voting information corresponding to the voting type barrage, and generating a voting extension interface according to the voting information; wherein the voting information includes a voting option and/or a corresponding voting option The number of votes, the voting interface includes at least a voting control for receiving a voting operation;确定所述投票扩展界面的显示位置;Determining a display position of the voting extension interface;在所确定的显示位置上显示所述投票扩展界面。The voting extension interface is displayed at the determined display position.
- 根据权利要求27所述的电子设备,其特征在于,当所述扩展操作为用户对所述投票扩展界面进行的投票操作时,接收所述服务器根据所述操作信息返回的扩展结果并执行,包括:The electronic device according to claim 27, wherein when the expanding operation is a voting operation performed by the user on the voting extension interface, receiving an extended result returned by the server according to the operation information, and executing, including :接收服务器根据所述投票操作对应的操作信息返回的投票结果;其中,所述投票操作对应的操作信息包括用户标识和用户选中的投票选项的选项标识,所述投票结果包括各个投票选项对应的当前票数;Receiving, by the server, a voting result returned according to the operation information corresponding to the voting operation; wherein the operation information corresponding to the voting operation includes a user identifier and an option identifier of a voting option selected by the user, where the voting result includes a current corresponding to each voting option Number of votes;显示所述投票结果及已投票提示信息。The voting result and the voting prompt information are displayed.
- 根据权利要求24所述的电子设备,其特征在于,当所述弹幕类型为视频推荐型时,显示与所述预设类型对应的扩展界面,包括:The electronic device according to claim 24, wherein when the barrage type is a video recommendation type, displaying an extended interface corresponding to the preset type comprises:根据所述视频推荐型弹幕的弹幕标识获取所述视频推荐型弹幕对应的视频推荐信息,并根据所述视频推荐信息生成视频推荐扩展界面;其中,所述视频推荐信息包括被推荐视频的名称、介绍图片、介绍文字和链接地址中的至少一种,所述视频推荐扩展界面中至少包括用户接收视频跳转操作的跳转控件;Acquiring, according to the barrage identifier of the video recommendation type barrage, the video recommendation information corresponding to the video recommendation type barrage, and generating a video recommendation extension interface according to the video recommendation information; wherein the video recommendation information includes the recommended video At least one of a name, an introduction picture, an introduction text, and a link address, where the video recommendation extension interface includes at least a jump control for the user to receive a video jump operation;确定所述视频推荐扩展界面的显示位置;Determining a display position of the video recommendation extension interface;在所确定的显示位置上显示所述视频推荐扩展界面。The video recommendation extension interface is displayed at the determined display position.
- 根据权利要求29所述的电子设备,其特征在于,当所述扩展操作为用户对所述视频推荐扩展界面进行的视频跳转操作时,接收所述服务器根据所述操作信息返回的扩展结果并执行,包括:The electronic device according to claim 29, wherein when the expanding operation is a video jumping operation performed by the user on the video recommendation extension interface, receiving an extension result returned by the server according to the operation information Execution, including:接收服务器根据所述视频跳转操作对应的操作信息返回的被推荐视频数据;其中,所述视频跳转操作对应的操作信息包括所述被推荐视频的链接地址和/或视频标识;Receiving recommended video data returned by the server according to the operation information corresponding to the video jump operation; wherein the operation information corresponding to the video jump operation includes a link address and/or a video identifier of the recommended video;终止视频播放器对所述当前视频的播放控制,并重置所述视频播放器;Terminating the video player's playback control of the current video, and resetting the video player;通过重置后的视频播放器播放所述被推荐视频数据。The recommended video data is played by the reset video player.
- 根据权利要求24至30任一项所述的电子设备,其特征在于,所述指令还设置为:The electronic device according to any one of claims 24 to 30, wherein the instruction is further set to:在显示所述扩展界面后的预设时间内判断是否接收到所述扩展操作; Determining whether the extension operation is received within a preset time after displaying the extended interface;当在显示所述扩展界面后的预设时间内未接收到所述扩展操作时,关闭所述扩展界面。The extension interface is closed when the extension operation is not received within a preset time after displaying the extension interface.
- 根据权利要求24至30任一项所述的电子设备,其特征在于,获取所述触发操作对应的弹幕的弹幕类型,包括:The electronic device according to any one of claims 24 to 30, wherein the type of the barrage of the barrage corresponding to the triggering operation is obtained, including:提取所述触发操作对应的弹幕的弹幕标识;Extracting a barrage identifier of the barrage corresponding to the triggering operation;利用预设的弹幕标识与弹幕类型的对应关系,从预先获取到的弹幕信息中查找与所述提取到的弹幕标识对应的弹幕类型。The preset type of the barrage identifier and the type of the barrage is used to search for the type of the barrage corresponding to the extracted barrage identifier from the pre-acquired barrage information.
- 根据权利要求32所述的电子设备,其特征在于,所述指令还设置为:The electronic device of claim 32, wherein the instructions are further configured to:在所述当前视频播放过程中,生成包含当前视频标识的弹幕获取请求并发送至服务器;During the current video playing process, generating a barrage acquisition request including the current video identifier and transmitting the request to the server;接收服务器根据所述弹幕获取请求返回的所述当前视频对应的所述弹幕信息;其中,所述弹幕信息包括所述当前视频相对应的每个弹幕的弹幕标识与弹幕类型的对应关系,以及,每个弹幕对应的的弹幕内容和弹幕显示时间。Receiving, by the receiving server, the barrage information corresponding to the current video returned by the barrage acquisition request; wherein the barrage information includes a barrage identifier and a barrage type of each barrage corresponding to the current video Correspondence, as well as the barrage content and the barrage display time for each barrage.
- 根据权利要求24至30任一项所述的电子设备,其特征在于,获取所述触发操作对应的弹幕的弹幕类型,包括:The electronic device according to any one of claims 24 to 30, wherein the type of the barrage of the barrage corresponding to the triggering operation is obtained, including:提取与所述触发操作对应的弹幕的弹幕标识;Extracting a barrage identifier of the barrage corresponding to the triggering operation;生成包含所述弹幕标识的弹幕类型获取请求并发送给服务器;Generating a barrage type acquisition request including the barrage identifier and transmitting the request to the server;接收所述服务器根据所述弹幕类型获取请求返回的弹幕类型并作为所述提取到的弹幕标识对应的弹幕类型。Receiving, by the server, the type of the barrage returned according to the barrage type acquisition request and as the barrage type corresponding to the extracted barrage identifier.
- 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1至11任一项所述的方法。 A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to execute The method of any one of claims 1 to 11.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610245474.1 | 2016-04-19 | ||
CN201610245474.1A CN105916043A (en) | 2016-04-19 | 2016-04-19 | Barrage control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017181600A1 true WO2017181600A1 (en) | 2017-10-26 |
Family
ID=56746574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/100353 WO2017181600A1 (en) | 2016-04-19 | 2016-09-27 | Method and device for controlling overlay comment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105916043A (en) |
WO (1) | WO2017181600A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109379639A (en) * | 2018-09-29 | 2019-02-22 | 阿里巴巴集团控股有限公司 | Method for pushing and device, the electronic equipment of video content object |
CN111444415A (en) * | 2020-03-24 | 2020-07-24 | 咪咕音乐有限公司 | Barrage processing method, server, client, electronic device and storage medium |
CN113343027A (en) * | 2021-06-03 | 2021-09-03 | 北京有竹居网络技术有限公司 | Interactive video editing and interactive video display method and device |
CN114827702A (en) * | 2021-01-22 | 2022-07-29 | 腾讯科技(深圳)有限公司 | Video pushing method, video playing method, device, equipment and medium |
CN115426522A (en) * | 2022-11-02 | 2022-12-02 | 北京搜狐新动力信息技术有限公司 | Information recommendation method and device |
Families Citing this family (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105916043A (en) * | 2016-04-19 | 2016-08-31 | 乐视控股(北京)有限公司 | Barrage control method and device |
CN106534993A (en) * | 2016-09-27 | 2017-03-22 | 乐视控股(北京)有限公司 | Information interaction method and device |
CN106658221A (en) * | 2016-12-06 | 2017-05-10 | 广州华多网络科技有限公司 | Bullet screen control method and device |
CN106791981A (en) * | 2016-12-19 | 2017-05-31 | 广州虎牙信息科技有限公司 | Live video stream transfer control method, device and terminal device |
CN106792229B (en) * | 2016-12-19 | 2020-08-21 | 广州虎牙信息科技有限公司 | Voting interaction method and device based on live broadcast room video stream bullet screen |
CN108235142A (en) * | 2016-12-22 | 2018-06-29 | 河南电视台 | Multi-screen real-time interactive system |
CN106973314B (en) * | 2017-03-17 | 2019-10-22 | 武汉斗鱼网络科技有限公司 | Instruction identification method and system for network interaction |
CN106998505A (en) * | 2017-03-31 | 2017-08-01 | 武汉斗鱼网络科技有限公司 | It is a kind of it is live it is middle realize barrage shortcut ballot system and method |
CN108933947B (en) * | 2017-05-25 | 2021-07-23 | 武汉斗鱼网络科技有限公司 | Bullet screen display method and device |
CN109511016A (en) * | 2017-09-14 | 2019-03-22 | 深圳市星电商科技有限公司 | The fast switch over method and system of video scene content |
CN108401178B (en) * | 2018-03-01 | 2021-01-15 | 上海哔哩哔哩科技有限公司 | Playing method and playing system of red packet barrage |
CN110298646B (en) * | 2018-03-22 | 2024-02-23 | 上海哔哩哔哩科技有限公司 | Bullet screen-based viewing method, server and viewing system |
CN109151606A (en) * | 2018-08-02 | 2019-01-04 | 北京奇艺世纪科技有限公司 | A kind of information interacting method based on barrage, device and client device |
CN109168091B (en) * | 2018-09-29 | 2021-07-30 | 武汉斗鱼网络科技有限公司 | Method, device, equipment and storage medium for connecting wheat in live broadcast room |
CN110324647A (en) * | 2019-07-15 | 2019-10-11 | 北京字节跳动网络技术有限公司 | The determination method, apparatus and electronic equipment of information |
CN110381332A (en) * | 2019-08-01 | 2019-10-25 | 广州虎牙科技有限公司 | Direct broadcasting room component processing method, device, electronic equipment and readable storage medium storing program for executing |
CN110475140B (en) * | 2019-08-08 | 2022-09-02 | 腾讯科技(深圳)有限公司 | Bullet screen data processing method and device, computer readable storage medium and computer equipment |
CN110636325B (en) * | 2019-10-25 | 2023-03-24 | 网易(杭州)网络有限公司 | Method and device for sharing push information on live broadcast platform and storage medium |
CN112866790A (en) | 2019-11-27 | 2021-05-28 | 上海幻电信息科技有限公司 | Video playing method and system |
CN111163359B (en) * | 2019-12-31 | 2021-01-05 | 腾讯科技(深圳)有限公司 | Bullet screen generation method and device and computer readable storage medium |
CN111970532B (en) * | 2020-08-27 | 2022-07-15 | 网易(杭州)网络有限公司 | Video playing method, device and equipment |
CN112328152B (en) * | 2020-11-26 | 2022-07-29 | 腾讯科技(深圳)有限公司 | Method and device for controlling playing of media file, electronic equipment and storage medium |
CN114630194B (en) * | 2020-12-09 | 2023-12-19 | 上海哔哩哔哩科技有限公司 | Bullet screen jump linking method, system, equipment and computer readable storage medium |
CN114615511A (en) * | 2020-12-09 | 2022-06-10 | 上海哔哩哔哩科技有限公司 | Bullet screen key content skipping method and bullet screen skipping method |
CN113038239B (en) * | 2021-04-12 | 2023-04-11 | 上海哔哩哔哩科技有限公司 | Bullet screen setting method, device and system |
CN114630136B (en) * | 2022-03-03 | 2024-04-19 | 五八畅生活(北京)信息技术有限公司 | Video interface interaction method, device, electronic equipment and computer readable medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103997691A (en) * | 2014-06-02 | 2014-08-20 | 合一网络技术(北京)有限公司 | Method and system for video interaction |
CN104980809A (en) * | 2015-06-30 | 2015-10-14 | 北京奇艺世纪科技有限公司 | Barrage processing method and apparatus |
CN105187935A (en) * | 2015-09-30 | 2015-12-23 | 北京奇虎科技有限公司 | Method and device for displaying application information |
CN105205164A (en) * | 2015-09-30 | 2015-12-30 | 北京奇虎科技有限公司 | Comment information interaction method and device as well as information interaction method and device |
CN105916043A (en) * | 2016-04-19 | 2016-08-31 | 乐视控股(北京)有限公司 | Barrage control method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040079101A (en) * | 2003-03-06 | 2004-09-14 | 엘지전자 주식회사 | Apparatus for processing video and audio information of TV system |
CN104615335B (en) * | 2015-02-13 | 2019-02-22 | 腾讯科技(北京)有限公司 | A kind of information processing method, client |
CN105338380A (en) * | 2015-10-30 | 2016-02-17 | 四川长虹电器股份有限公司 | Network operation interaction system of smart television |
-
2016
- 2016-04-19 CN CN201610245474.1A patent/CN105916043A/en active Pending
- 2016-09-27 WO PCT/CN2016/100353 patent/WO2017181600A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103997691A (en) * | 2014-06-02 | 2014-08-20 | 合一网络技术(北京)有限公司 | Method and system for video interaction |
CN104980809A (en) * | 2015-06-30 | 2015-10-14 | 北京奇艺世纪科技有限公司 | Barrage processing method and apparatus |
CN105187935A (en) * | 2015-09-30 | 2015-12-23 | 北京奇虎科技有限公司 | Method and device for displaying application information |
CN105205164A (en) * | 2015-09-30 | 2015-12-30 | 北京奇虎科技有限公司 | Comment information interaction method and device as well as information interaction method and device |
CN105916043A (en) * | 2016-04-19 | 2016-08-31 | 乐视控股(北京)有限公司 | Barrage control method and device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109379639A (en) * | 2018-09-29 | 2019-02-22 | 阿里巴巴集团控股有限公司 | Method for pushing and device, the electronic equipment of video content object |
CN109379639B (en) * | 2018-09-29 | 2021-07-09 | 创新先进技术有限公司 | Method and device for pushing video content object and electronic equipment |
CN111444415A (en) * | 2020-03-24 | 2020-07-24 | 咪咕音乐有限公司 | Barrage processing method, server, client, electronic device and storage medium |
CN111444415B (en) * | 2020-03-24 | 2023-08-15 | 咪咕音乐有限公司 | Barrage processing method, server, client, electronic equipment and storage medium |
CN114827702A (en) * | 2021-01-22 | 2022-07-29 | 腾讯科技(深圳)有限公司 | Video pushing method, video playing method, device, equipment and medium |
CN114827702B (en) * | 2021-01-22 | 2023-06-30 | 腾讯科技(深圳)有限公司 | Video pushing method, video playing method, device, equipment and medium |
CN113343027A (en) * | 2021-06-03 | 2021-09-03 | 北京有竹居网络技术有限公司 | Interactive video editing and interactive video display method and device |
CN115426522A (en) * | 2022-11-02 | 2022-12-02 | 北京搜狐新动力信息技术有限公司 | Information recommendation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105916043A (en) | 2016-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017181600A1 (en) | Method and device for controlling overlay comment | |
US11899637B2 (en) | Event-related media management system | |
US10595071B2 (en) | Media information delivery method and system, terminal, server, and storage medium | |
US20170169018A1 (en) | Method and Electronic Device for Recommending Media Data | |
TWI538498B (en) | Methods and apparatus for keyword-based, non-linear navigation of video streams and other content | |
WO2018000661A1 (en) | Barrage display method and apparatus | |
US9875598B2 (en) | System and method for augmenting content | |
JP2020504475A (en) | Providing related objects during video data playback | |
US20170264973A1 (en) | Video playing method and electronic device | |
US9137560B2 (en) | Methods and systems for providing access to content during a presentation of a media content instance | |
CN103108248A (en) | Interactive video implement method and system using the same | |
TWI519167B (en) | System for applying metadata for object recognition and event representation | |
WO2017181597A1 (en) | Method and device for video playback | |
WO2017096961A1 (en) | Video playing processing method, player, and terminal device | |
US20120246240A1 (en) | Providing Context Information Relating To Media Content That Is Being Presented | |
KR100721409B1 (en) | Method for searching situation of moving picture and system using the same | |
TWI475423B (en) | Interaction system and investigation method | |
AU2021288000A1 (en) | Aggregating media content using a server-based system | |
CN115134648A (en) | Video playing method, device, equipment and computer readable storage medium | |
JP2012161030A (en) | Associated content retrieval device, system, method, and program | |
JP2013097578A (en) | Electronic apparatus, video display device, control method of electronic apparatus, and control program of electronic apparatus | |
US20160098892A1 (en) | Gaming Device, Electronic Device Interface Supported by a Gaming Device And Methodologies for Utilizing the Same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16899185 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16899185 Country of ref document: EP Kind code of ref document: A1 |