CN108616772B - Bullet screen display method, terminal and server - Google Patents

Bullet screen display method, terminal and server Download PDF

Info

Publication number
CN108616772B
CN108616772B CN201810418725.0A CN201810418725A CN108616772B CN 108616772 B CN108616772 B CN 108616772B CN 201810418725 A CN201810418725 A CN 201810418725A CN 108616772 B CN108616772 B CN 108616772B
Authority
CN
China
Prior art keywords
bullet screen
information
barrage
video frame
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810418725.0A
Other languages
Chinese (zh)
Other versions
CN108616772A (en
Inventor
俞丹凤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810418725.0A priority Critical patent/CN108616772B/en
Publication of CN108616772A publication Critical patent/CN108616772A/en
Application granted granted Critical
Publication of CN108616772B publication Critical patent/CN108616772B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a bullet screen display method, a terminal and a server, wherein the method comprises the following steps: under the condition of receiving a bullet screen editing operation, acquiring a first bullet screen to be sent, and determining information of a sending object of the first bullet screen; sending the first bullet screen and information of a sending object of the first bullet screen to a server; receiving timestamp information of a target video frame and a second barrage sent by a server; and displaying a second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame. Therefore, the terminal can display the corresponding bullet screen on the target video frame in the video playing process according to the timestamp information of the target video frame containing the bullet screen sending object. Can guarantee that the barrage shows on the video frame that contains barrage transmission object, avoid commenting the barrage of an object and causing the appearance of the condition of sheltering from to another object, video display effect is better.

Description

Bullet screen display method, terminal and server
Technical Field
The invention relates to the technical field of communication, in particular to a bullet screen display method, a terminal and a server.
Background
When watching a video, a user can issue a view of an object in the video. A large number of comments fly across the screen, appearing as flying bullets, hence the name bullet screen.
In the prior art, in some cases, a bullet screen of a certain object in a user comment video is actually displayed when another object is out of the scene, and the bullet screen can even cause occlusion on another object. The support groups of different objects may be different, which may cause a large number of voice-inspired barrages to appear, and the barrage environment is not harmonious. Therefore, in the prior art, the probability that the barrage of a certain object in the user comment video is displayed on the video frame containing another object is high, the other object may be blocked, and the video display effect is poor.
Disclosure of Invention
The embodiment of the invention provides a barrage display method, a terminal and a server, and aims to solve the problem that in the prior art, due to the fact that a barrage of a certain object in a user comment video is displayed on a video frame containing another object, the video display effect is poor due to the fact that the other object is shielded.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a bullet screen display method, which is applied to a terminal, and the method includes:
under the condition of receiving a bullet screen editing operation, acquiring a first bullet screen to be sent, and determining information of a sending object of the first bullet screen;
sending the first barrage and information of a sending object of the first barrage to a server;
receiving timestamp information of a target video frame and a second barrage sent by the server, wherein the target video frame is determined by the server according to information of a sending object of the first barrage and comprises a video frame of the sending object of the first barrage, and the second barrage is obtained by associating the timestamp information of the first barrage and the target video frame with the server;
and displaying the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame.
In a second aspect, an embodiment of the present invention further provides a bullet screen display method, which is applied to a server, and the method includes:
receiving a first bullet screen sent by a terminal and information of a sending object of the first bullet screen;
determining timestamp information of a target video frame of the sending object containing the first bullet screen according to the information of the sending object of the first bullet screen, and associating the first bullet screen with the timestamp information of the target video frame to obtain a second bullet screen;
and sending the timestamp information of the target video frame and the second barrage to the terminal so that the terminal displays the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame.
In a third aspect, an embodiment of the present invention further provides a terminal, including:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a first bullet screen to be sent and determining the information of a sending object of the first bullet screen under the condition of receiving bullet screen editing operation;
the sending module is used for sending the first bullet screen obtained by the obtaining module and the information of the sending object of the first bullet screen to a server;
the receiving module is used for receiving timestamp information of a target video frame and a second barrage sent by the server, wherein the target video frame is determined by the server according to information of a sending object of a first barrage sent by the sending module and comprises the video frame of the sending object of the first barrage, and the second barrage is obtained by associating the first barrage with the timestamp information of the target video frame by the server;
and the display module is used for displaying the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame received by the receiving module.
In a fourth aspect, an embodiment of the present invention further provides a server, including:
the first receiving module is used for receiving a first bullet screen sent by the terminal and information of a sending object of the first bullet screen;
the determining module is used for determining timestamp information of a target video frame of a first bullet screen transmitting object according to the information of the first bullet screen transmitting object received by the first receiving module, and associating the first bullet screen with the timestamp information of the target video frame to obtain a second bullet screen;
and the first sending module is used for sending the timestamp information of the target video frame determined by the determining module and the second barrage to the terminal so that the terminal displays the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame.
In a fifth aspect, an embodiment of the present invention further provides a terminal, which includes a processor, a memory, and a computer program that is stored in the memory and is executable on the processor, and when the computer program is executed by the processor, the steps of the bullet screen display method are implemented.
In a sixth aspect, an embodiment of the present invention further provides a server, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the bullet screen display method.
In a seventh aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the bullet screen display method are implemented.
Therefore, in the embodiment of the invention, the terminal can display the corresponding bullet screen on the target video frame in the video playing process according to the timestamp information of the target video frame containing the bullet screen sending object. Therefore, by using the scheme of the embodiment of the invention, the barrage can be ensured to be displayed on the video frame containing the barrage sending object, the situation that the barrage commenting one object shields the other object is avoided, and the video display effect is better.
Drawings
Fig. 1 is a flowchart of a bullet screen display method according to an embodiment of the present invention;
fig. 2 is a flowchart of another bullet screen display method provided in the embodiment of the present invention;
fig. 3 is a flowchart of another bullet screen display method provided in the embodiment of the present invention;
fig. 4 is a flowchart of another bullet screen display method provided in the embodiment of the present invention;
fig. 5 is a structural diagram of a terminal according to an embodiment of the present invention;
fig. 6 is a block diagram of another terminal provided in an embodiment of the present invention;
fig. 7 is a block diagram of another terminal according to an embodiment of the present invention;
FIG. 8 is a block diagram of a server provided by an embodiment of the present invention;
FIG. 9 is a block diagram of another server provided by an embodiment of the invention;
fig. 10 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present invention;
fig. 11 is a block diagram of another server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a bullet screen display method provided in an embodiment of the present invention, and is applied to a terminal. As shown in fig. 1, the method comprises the following steps:
step 101, acquiring a first bullet screen to be sent under the condition that a bullet screen editing operation is received, and determining information of a sending object of the first bullet screen.
In step 101, during the video playing process, a user may want to issue a comment on an object in the video, and the user may click on the bullet screen editing box, at which time the terminal receives a bullet screen editing operation. For example, in the case that the playing time of the video is the first target playing time, the terminal may receive a barrage editing operation input by the user.
Under the condition of receiving the barrage editing operation, the terminal can acquire a first barrage to be sent and determine information of a sending object of the first barrage.
For example, the terminal may send a bullet screen transmission object acquisition request to the server, and the bullet screen transmission object acquisition request may include the first target play time. After receiving the barrage sending object acquisition request containing the first target playing time, the server can acquire information of at least one candidate object in video frames in a first preset time period before the first target playing time and a second preset time period after the first target playing time in the video. Assume that at least one candidate object is an a object, a B object, a C object, a D object, an E object, an F object, and a G object. The information of the candidate object may be a name of the candidate object or an image of the candidate object.
The server may further determine the number of occurrences of each of the at least one candidate object in the video, that is, the server may determine the number of occurrences of each of the 7 candidate objects, i.e., the a object, the B object, the C object, the D object, the E object, the F object, and the G object, in the video. Assume that the number of occurrences of an a object in a video is 20, the number of occurrences of a B object in a video is 18, the number of occurrences of a C object in a video is 15, the number of occurrences of a D object in a video is 12, the number of occurrences of an E object in a video is 8, the number of occurrences of an F object in a video is 5, and the number of occurrences of a G object in a video is 2.
The server may then rank the at least one candidate object according to the number of occurrences of each of the at least one candidate object in the video. For example, the at least one candidate object may be ranked in order of occurrence in the video. Since 20 > 18 > 15 > 12 > 8 > 5 > 2, the result of the ranking for the at least one candidate object is a object → B object → C object → D object → E object → F object → G object. Next, the server may transmit information of the ranked at least one candidate object to the terminal. At which time the video is in a paused state.
After receiving the information of the at least one candidate object sent by the server, the terminal may determine the information of the sending object of the first barrage according to the information of the at least one candidate object. The user may select one transmission target of the first bullet screen or may select a plurality of transmission targets of the first bullet screens. For example, the user may select three objects, an a object, a B object, and a C object, as transmission objects of the first bullet screen.
It should be noted that the user may also select whether the bullet screen always tracks the object. If the user selects the bullet screen to track the object all the time, the bullet screen can be displayed on all the video frames containing the bullet screen sending object in the video.
And 102, sending the first bullet screen and information of a sending object of the first bullet screen to a server.
In step 102, the terminal may transmit the first bullet screen and information of a transmission object of the first bullet screen to the server, that is, the terminal may transmit the first bullet screen and information of the a object, information of the B object, and information of the C object to the server. The video is still in a paused state at this time. It should be noted that, if the user selects the bullet screen to always track the object, the terminal may also send a bullet screen tracking object request to the server.
After receiving the first bullet screen and the information of the transmission object of the first bullet screen sent by the terminal, the server may determine, according to the information of the transmission object of the first bullet screen, timestamp information of a target video frame including the transmission object of the first bullet screen, and associate the first bullet screen with the timestamp information of the target video frame to obtain a second bullet screen. That is, the server may determine timestamp information of a target video frame including the a object, the B object, and the C object according to the information of the a object, the information of the B object, and the information of the C object, and associate the first barrage with the timestamp information of the target video frame to obtain the second barrage.
The server can determine that the video contains the sending object of the first bullet screen according to the information of the sending object of the first bullet screen, the timestamp is the first target playing time or timestamp information of a target video frame with the timestamp close to the first target playing time, and the first bullet screen is associated with the timestamp information of the target video frame to obtain a second bullet screen. That is, the server may determine, according to the information of the object a, the information of the object B, and the information of the object C, that the video includes the object a, the object B, and the object C, and the timestamp is the first target playing time or timestamp information of a target video frame with a timestamp close to the first target playing time, and associate the first bullet screen with the timestamp information of the target video frame to obtain the second bullet screen.
Or, if the server receives a barrage tracking object request sent by the terminal, the server may determine, according to the information of the sending object of the first barrage and the barrage tracking object request, timestamp information of a multi-frame video frame including the sending object of the first barrage in the video, and associate the first barrage with the timestamp information of each frame of video frame in the multi-frame video frame to obtain a second barrage. That is, the server may determine timestamp information of a plurality of frames of video frames including the a object, the B object, and the C object in the video according to the information of the a object, the information of the B object, the information of the C object, and the barrage tracking object request, and associate the first barrage with the timestamp information of each frame of video frames in the plurality of frames of video frames to obtain the second barrage.
After determining the timestamp information of the target video frame and the second barrage, the server may send the timestamp information of the target video frame and the second barrage to the terminal.
Step 103, receiving timestamp information of a target video frame and a second barrage sent by the server, where the target video frame is determined by the server according to the information of the sending object of the first barrage and includes the video frame of the sending object of the first barrage, and the second barrage is obtained by associating the timestamp information of the first barrage and the target video frame with the server.
In step 103, the terminal may receive the timestamp information of the target video frame and the second barrage transmitted by the server. The target video frame is determined by the server according to the information of the sending object of the first barrage and comprises the video frame of the sending object of the first barrage, and the second barrage is obtained by associating the first barrage with the timestamp information of the target video frame by the server.
And 104, displaying the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame.
In step 104, the terminal may display a second barrage on the target video frame during the video playing process according to the timestamp information of the target video frame.
For example, if the user does not set the bullet screen to always track the object, the target video frame may be a video frame determined by the server according to the first target play time, that is, the target video frame is a video frame including an a object, a B object, and a C object.
In the case that the timestamp of the target video frame is before the first target play time, the video can be played from the second target play time, and during the video playing process, a second barrage can be displayed on the target video frame, that is, the second barrage can be displayed on the video frame including the a object, the B object, and the C object. And the second target playing moment is positioned before the timestamp of the target video frame, and the timestamp of the target video frame is the timestamp of the video frame in the video.
In the case that the timestamp of the target video frame is located at or after the first target playing time, the video may be played from the first target playing time, and in the video playing process, the second bullet screen may be displayed on the target video frame, that is, the second bullet screen may be displayed on the video frame including the a object, the B object, and the C object.
Or, if the user selects the bullet screen to track the object all the time, the target video frame is a multi-frame video frame determined by the server according to the bullet screen tracking object request, that is, the target video frame is a multi-frame video frame including an object a, an object B and an object C determined by the server according to the bullet screen tracking object request. At this time, the video may be played from the first target playing time, and during the video playing process, the second barrage may be displayed on each of the plurality of frames of video according to the timestamp information of each of the plurality of frames of video. In an embodiment of the present invention, the terminal may be a Mobile phone, a tablet personal Computer (tablet personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
The bullet screen display method provided by the embodiment of the invention is applied to a terminal. Under the condition of receiving a bullet screen editing operation, acquiring a first bullet screen to be sent, and determining information of a sending object of the first bullet screen; sending the first barrage and information of a sending object of the first barrage to a server; receiving timestamp information of a target video frame and a second barrage sent by the server, wherein the target video frame is determined by the server according to information of a sending object of the first barrage and comprises a video frame of the sending object of the first barrage, and the second barrage is obtained by associating the timestamp information of the first barrage and the target video frame with the server; and displaying the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame. Therefore, the terminal can display the corresponding bullet screen on the target video frame in the video playing process according to the timestamp information of the target video frame containing the bullet screen sending object. Can guarantee that the barrage shows on the video frame that contains barrage transmission object, avoid commenting the barrage of an object and causing the appearance of the condition of sheltering from to another object, video display effect is better.
Referring to fig. 2, fig. 2 is a flowchart of another bullet screen display method provided in the embodiment of the present invention, and is applied to a terminal. The main difference between the present embodiment and the previous embodiment is that the process of determining the information of the transmission object of the first bullet screen is explained in detail. As shown in fig. 2, the method comprises the following steps:
step 201, under the condition of receiving a bullet screen editing operation, acquiring a first bullet screen to be transmitted, and transmitting a bullet screen transmission object acquisition request to the server, where the bullet screen transmission object acquisition request includes a first target playing time, and the first target playing time is the playing time when the bullet screen editing operation is received.
In step 201, during the video playing process, a user may want to issue a comment on an object in the video, and the user may click on the bullet screen editing box, at which time the terminal receives a bullet screen editing operation. For example, in the case that the playing time of the video is the first target playing time, the terminal may receive a barrage editing operation input by the user.
Under the condition of receiving the barrage editing operation, the terminal can acquire a first barrage to be sent and send a barrage sending object acquisition request to the server, wherein the barrage sending object acquisition request can include a first target playing time, and the first target playing time is the playing time when the barrage editing operation is received.
After receiving the barrage sending object acquisition request containing the first target playing time, the server can acquire information of at least one candidate object in video frames in a first preset time period before the first target playing time and a second preset time period after the first target playing time in the video. Assume that at least one candidate object is an a object, a B object, a C object, a D object, an E object, an F object, and a G object. The information of the candidate object may be a name of the candidate object or an image of the candidate object.
The server may further determine the number of occurrences of each of the at least one candidate object in the video, that is, the server may determine the number of occurrences of each of the 7 candidate objects, i.e., the a object, the B object, the C object, the D object, the E object, the F object, and the G object, in the video. Assume that the number of occurrences of an a object in a video is 20, the number of occurrences of a B object in a video is 18, the number of occurrences of a C object in a video is 15, the number of occurrences of a D object in a video is 12, the number of occurrences of an E object in a video is 8, the number of occurrences of an F object in a video is 5, and the number of occurrences of a G object in a video is 2.
The server may then rank the at least one candidate object according to the number of occurrences of each of the at least one candidate object in the video. For example, the at least one candidate object may be ranked in order of occurrence in the video. Since 20 > 18 > 15 > 12 > 8 > 5 > 2, the result of the ranking for the at least one candidate object is a object → B object → C object → D object → E object → F object → G object. Next, the server may transmit information of the ranked at least one candidate object to the terminal. At which time the video is in a paused state.
Step 202, receiving information of at least one candidate object sent by the server, where the information of the at least one candidate object is determined by the server according to the first target playing time.
In step 202, the terminal may receive the information of at least one candidate object transmitted by the server, that is, the terminal may receive the information of the a object, the information of the B object, the information of the C object, the information of the D object, the information of the E object, the information of the F object, and the information of the G object transmitted by the server. The information of at least one candidate object is determined by the server according to the first target playing time.
Step 203, determining the information of the sending object of the first bullet screen according to the information of the at least one candidate object.
In step 203, the terminal may determine information of a transmission object of the first bullet screen according to the information of the at least one candidate object. The user may select one transmission target of the first bullet screen or may select a plurality of transmission targets of the first bullet screens. For example, the user may select three objects, an a object, a B object, and a C object, as transmission objects of the first bullet screen. The user can select the bullet screen sending object according to the self requirement, can select one bullet screen sending object, and can also select a plurality of bullet screen sending objects. The realization process is simple, convenient and fast.
It should be noted that the user may also select whether the bullet screen always tracks the object. If the user selects the bullet screen to track the object all the time, the bullet screen can be displayed on all the video frames containing the bullet screen sending object in the video.
And 204, sending the first bullet screen and information of a sending object of the first bullet screen to a server.
In step 204, the terminal may transmit the first bullet screen and the information of the transmission object of the first bullet screen to the server, that is, the terminal may transmit the first bullet screen and the information of the a object, the information of the B object, and the information of the C object to the server. The video is still in a paused state at this time. It should be noted that, if the user selects the bullet screen to always track the object, the terminal may also send a bullet screen tracking object request to the server.
After receiving the first bullet screen and the information of the transmission object of the first bullet screen sent by the terminal, the server may determine, according to the information of the transmission object of the first bullet screen, timestamp information of a target video frame including the transmission object of the first bullet screen, and associate the first bullet screen with the timestamp information of the target video frame to obtain a second bullet screen. That is, the server may determine timestamp information of a target video frame including the a object, the B object, and the C object according to the information of the a object, the information of the B object, and the information of the C object, and associate the first barrage with the timestamp information of the target video frame to obtain the second barrage.
The server can determine that the video contains the sending object of the first bullet screen according to the information of the sending object of the first bullet screen, the timestamp is the first target playing time or timestamp information of a target video frame with the timestamp close to the first target playing time, and the first bullet screen is associated with the timestamp information of the target video frame to obtain a second bullet screen. That is, the server may determine, according to the information of the object a, the information of the object B, and the information of the object C, that the video includes the object a, the object B, and the object C, and the timestamp is the first target playing time or timestamp information of a target video frame with a timestamp close to the first target playing time, and associate the first bullet screen with the timestamp information of the target video frame to obtain the second bullet screen.
Or, if the server receives a barrage tracking object request sent by the terminal, the server may determine, according to the information of the sending object of the first barrage and the barrage tracking object request, timestamp information of a multi-frame video frame including the sending object of the first barrage in the video, and associate the first barrage with the timestamp information of each frame of video frame in the multi-frame video frame to obtain a second barrage. That is, the server may determine timestamp information of a plurality of frames of video frames including the a object, the B object, and the C object in the video according to the information of the a object, the information of the B object, the information of the C object, and the barrage tracking object request, and associate the first barrage with the timestamp information of each frame of video frames in the plurality of frames of video frames to obtain the second barrage.
After determining the timestamp information of the target video frame and the second barrage, the server may send the timestamp information of the target video frame and the second barrage to the terminal.
Step 205, receiving timestamp information of a target video frame and a second barrage sent by the server, where the target video frame is determined by the server according to the information of the sending object of the first barrage and includes the video frame of the sending object of the first barrage, and the second barrage is obtained by associating the timestamp information of the first barrage and the target video frame with the server.
In step 205, the terminal may receive the timestamp information of the target video frame and the second barrage transmitted by the server. The target video frame is determined by the server according to the information of the sending object of the first barrage and comprises the video frame of the sending object of the first barrage, and the second barrage is obtained by associating the first barrage with the timestamp information of the target video frame by the server.
And step 206, displaying the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame.
In step 206, the terminal may display a second barrage on the target video frame during the video playing process according to the timestamp information of the target video frame.
Optionally, the target video frame is a frame of video frame determined by the server according to the first target playing time;
the displaying the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame includes:
under the condition that the timestamp of the target video frame is located before the first target playing time, the video is played from a second target playing time, and in the video playing process, the second barrage is displayed on the target video frame, wherein the second target playing time is located before the timestamp of the target video frame, and the timestamp of the target video frame is the timestamp of the video frame in the video;
and under the condition that the timestamp of the target video frame is located at the first target playing time or behind the first target playing time, starting to play the video from the first target playing time, and displaying the second barrage on the target video frame in the video playing process.
For example, if the user does not set the bullet screen to always track the object, the target video frame may be a video frame determined by the server according to the first target play time, that is, the target video frame is a video frame including an a object, a B object, and a C object.
In the case that the timestamp of the target video frame is before the first target play time, the video can be played from the second target play time, and during the video playing process, a second barrage can be displayed on the target video frame, that is, the second barrage can be displayed on the video frame including the a object, the B object, and the C object. And the second target playing moment is positioned before the timestamp of the target video frame, and the timestamp of the target video frame is the timestamp of the video frame in the video. In this way, in the case where the timestamp of the target video frame is before the first target play time, the video can be rolled back to a time before the target video frame to start playing. During video playing, a user can see that the barrage commenting on the A object, the B object and the C object is just displayed on a video frame containing the A object, the B object and the C object. The bullet screen content corresponds to the video frame content, and the bullet screen display effect is better.
In the case that the timestamp of the target video frame is located at or after the first target playing time, the video may be played from the first target playing time, and in the video playing process, the second bullet screen may be displayed on the target video frame, that is, the second bullet screen may be displayed on the video frame including the a object, the B object, and the C object. During video playing, a user can see that the barrage commenting on the A object, the B object and the C object is just displayed on a video frame containing the A object, the B object and the C object. The bullet screen content corresponds to the video frame content, and the bullet screen display effect is better. The method and the device can avoid the situation that the bullet screen of one object is shielded from another object. For example, the bullet screen of the comment D object is not displayed on the target video frame including the a object, the B object, and the C object, so that the occurrence of the bullet screen in which speech is inspired due to the difference in the support population of different objects can be avoided, and the bullet screen environment is made more harmonious.
Optionally, the sending the first barrage and the information of the sending object of the first barrage to the server includes:
sending the first bullet screen, the information of the sending object of the first bullet screen and a bullet screen tracking object request to the server;
the target video frame is a multi-frame video frame determined by the server according to the barrage tracking object request, and the second barrage is displayed on the target video frame in the video playing process according to the timestamp information of the target video frame, including:
and starting to play the video from the first target playing time, and displaying the second barrage on each frame of the multi-frame video frames according to the timestamp information of each frame of the multi-frame video frames in the video playing process.
Alternatively, as described above, if the user selects the bullet screen to always track the object, the terminal may also transmit a bullet screen tracking object request to the server. The target video frame is a multi-frame video frame determined by the server according to the barrage tracking object request, namely the target video frame is a multi-frame video frame which is determined by the server according to the barrage tracking object request and contains an object A, an object B and an object C. At this time, the video may be played from the first target playing time, and during the video playing process, the second barrage may be displayed on each of the plurality of frames of video according to the timestamp information of each of the plurality of frames of video. Therefore, if the user selects the bullet screen to track the object all the time, the corresponding bullet screen can be displayed in all the video frames containing the bullet screen sending object in the video, and the user does not need to edit the bullet screen one by one. The complicated operation steps are avoided, and the operation is convenient and fast.
The bullet screen display method provided by the embodiment of the invention is applied to a terminal. The terminal can display the corresponding bullet screen on the target video frame in the video playing process according to the timestamp information of the target video frame containing the bullet screen sending object. Can guarantee that the barrage shows on the video frame that contains barrage transmission object, avoid commenting the barrage of an object and causing the appearance of the condition of sheltering from to another object, video display effect is better. And the user can select the bullet screen sending object according to the self requirement, can select one bullet screen sending object, and can also select a plurality of bullet screen sending objects. The realization process is simple, convenient and fast.
Referring to fig. 3, fig. 3 is a flowchart of another bullet screen display method provided in the embodiment of the present invention, and is applied to a server. As shown in fig. 3, the method comprises the following steps:
step 301, receiving a first bullet screen sent by a terminal and information of a sending object of the first bullet screen.
In step 301, the server may receive a bullet screen transmission object acquisition request transmitted by the terminal. The bullet screen sending object obtaining request may include a first target playing time, where the first target playing time is a playing time at which the terminal receives a bullet screen editing operation. Under the condition of receiving the barrage editing operation, the terminal can acquire a first barrage to be sent. The server can further obtain information of at least one candidate object in the video frame in a first preset time period before the first target playing time and a second preset time period after the first target playing time in the video. Assume that at least one candidate object is an a object, a B object, a C object, a D object, an E object, an F object, and a G object. The information of the candidate object may be a name of the candidate object or an image of the candidate object.
Next, the server may determine the number of occurrences of each of the at least one candidate object in the video, that is, the server may determine the number of occurrences of each of the 7 candidate objects, i.e., the a object, the B object, the C object, the D object, the E object, the F object, and the G object, in the video. Assume that the number of occurrences of an a object in a video is 20, the number of occurrences of a B object in a video is 18, the number of occurrences of a C object in a video is 15, the number of occurrences of a D object in a video is 12, the number of occurrences of an E object in a video is 8, the number of occurrences of an F object in a video is 5, and the number of occurrences of a G object in a video is 2.
The server may then rank the at least one candidate object according to the number of occurrences of each of the at least one candidate object in the video. For example, the at least one candidate object may be ranked in order of occurrence in the video. Since 20 > 18 > 15 > 12 > 8 > 5 > 2, the result of the ranking for the at least one candidate object is a object → B object → C object → D object → E object → F object → G object. Next, the server may transmit information of the ranked at least one candidate object to the terminal. At which time the video is in a paused state.
After receiving the information of the at least one candidate object sent by the server, the terminal may determine the information of the sending object of the first barrage according to the information of the at least one candidate object. The user may select one transmission target of the first bullet screen or may select a plurality of transmission targets of the first bullet screens. For example, the user may select three objects, an a object, a B object, and a C object, as transmission objects of the first bullet screen. It should be noted that the user may also select whether the bullet screen always tracks the object. If the user selects the bullet screen to track the object all the time, the bullet screen can be displayed on all the video frames containing the bullet screen sending object in the video.
The terminal may send the first bullet screen and the information of the sending object of the first bullet screen to the server, that is, the terminal may send the first bullet screen and the information of the a object, the information of the B object, and the information of the C object to the server. The video is still in a paused state at this time. It should be noted that, if the user selects the bullet screen to always track the object, the terminal may also send a bullet screen tracking object request to the server.
The server may receive the first bullet screen and the information of the transmission object of the first bullet screen, that is, the server may receive the first bullet screen and the information of the a object, the information of the B object, and the information of the C object, which are transmitted by the terminal.
Step 302, determining timestamp information of a target video frame including the transmission object of the first bullet screen according to the information of the transmission object of the first bullet screen, and associating the first bullet screen with the timestamp information of the target video frame to obtain a second bullet screen.
In step 302, after receiving the first bullet screen and the information of the transmission object of the first bullet screen sent by the terminal, the server may determine, according to the information of the transmission object of the first bullet screen, timestamp information of a target video frame including the transmission object of the first bullet screen, and associate the first bullet screen with the timestamp information of the target video frame to obtain a second bullet screen. That is, the server may determine timestamp information of a target video frame including the a object, the B object, and the C object according to the information of the a object, the information of the B object, and the information of the C object, and associate the first barrage with the timestamp information of the target video frame to obtain the second barrage.
The server can determine that the video contains the sending object of the first bullet screen according to the information of the sending object of the first bullet screen, the timestamp is the first target playing time or timestamp information of a target video frame with the timestamp close to the first target playing time, and the first bullet screen is associated with the timestamp information of the target video frame to obtain a second bullet screen. That is, the server may determine, according to the information of the object a, the information of the object B, and the information of the object C, that the video includes the object a, the object B, and the object C, and the timestamp is the first target playing time or timestamp information of a target video frame with a timestamp close to the first target playing time, and associate the first bullet screen with the timestamp information of the target video frame to obtain the second bullet screen.
Or, if the user selects the bullet screen to track the object all the time, the server may also receive a bullet screen tracking object request sent by the terminal. And the server can further determine timestamp information of a multi-frame video frame containing the sending object of the first bullet screen in the video according to the information of the sending object of the first bullet screen and the bullet screen tracking object request, and associate the first bullet screen with the timestamp information of each frame of video frames in the multi-frame video frame to obtain a second bullet screen. That is, the server may determine timestamp information of a plurality of frames of video frames including the a object, the B object, and the C object in the video according to the information of the a object, the information of the B object, the information of the C object, and the barrage tracking object request, and associate the first barrage with the timestamp information of each frame of video frames in the plurality of frames of video frames to obtain the second barrage.
Step 303, sending the timestamp information of the target video frame and the second barrage to the terminal, so that the terminal displays the second barrage on the target video frame in a video playing process according to the timestamp information of the target video frame.
After determining the timestamp information of the target video frame and the second barrage, the server may send the timestamp information of the target video frame and the second barrage to the terminal in step 303. And displaying the second barrage on the target video frame by the terminal according to the timestamp information of the target video frame in the video playing process.
The bullet screen display method provided by the embodiment of the invention is applied to a server. Receiving a first bullet screen sent by a terminal and information of a sending object of the first bullet screen; determining timestamp information of a target video frame of the sending object containing the first bullet screen according to the information of the sending object of the first bullet screen, and associating the first bullet screen with the timestamp information of the target video frame to obtain a second bullet screen; and sending the timestamp information of the target video frame and the second barrage to the terminal so that the terminal displays the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame. In this way, the server can send the time stamp information of the target video frame containing the bullet screen sending object and the bullet screen associated with the time stamp information of the target video frame to the terminal, so that the terminal can display the corresponding bullet screen on the target video frame according to the time stamp information of the target video frame in the video playing process. Can guarantee that the barrage shows on the video frame that contains barrage transmission object, avoid commenting the barrage of an object and causing the appearance of the condition of sheltering from to another object, video display effect is better.
Referring to fig. 4, fig. 4 is a flowchart of another bullet screen display method provided in the embodiment of the present invention, and is applied to a server. The main difference between this embodiment and the previous embodiment is that the process of obtaining information of at least one candidate object is elaborated. As shown in fig. 4, the method comprises the following steps:
step 401, receiving a bullet screen sending object obtaining request sent by the terminal, where the bullet screen sending object obtaining request includes a first target playing time, and the first target playing time is a playing time at which the terminal receives a bullet screen editing operation.
In step 401, the server may receive a bullet screen transmission object acquisition request transmitted by the terminal. The bullet screen sending object obtaining request may include a first target playing time, where the first target playing time is a playing time at which the terminal receives a bullet screen editing operation. Under the condition of receiving the barrage editing operation, the terminal can acquire a first barrage to be sent.
Step 402, obtaining information of at least one candidate object in a video frame in a first preset time period before the first target playing time and a second preset time period after the first target playing time in the video.
In step 402, the server may obtain information of at least one candidate object in a video frame within a first preset time period before a first target playing time and a second preset time period after the first target playing time in the video. Assume that at least one candidate object is an a object, a B object, a C object, a D object, an E object, an F object, and a G object. The information of the candidate object may be a name of the candidate object or an image of the candidate object.
Step 403, sending information of the at least one candidate object to the terminal.
In step 403, the server may transmit information of at least one candidate object to the terminal. Therefore, the server can provide information of at least one candidate object for the user to select, the user can select the bullet screen sending object according to the self requirement, can select one bullet screen sending object and can also select a plurality of bullet screen sending objects. And the realization process is simple, convenient and fast.
Further, the server may determine the number of occurrences of each of the at least one candidate object in the video, that is, the server may determine the number of occurrences of each of the 7 candidate objects, i.e., the a object, the B object, the C object, the D object, the E object, the F object, and the G object, in the video. Assume that the number of occurrences of an a object in a video is 20, the number of occurrences of a B object in a video is 18, the number of occurrences of a C object in a video is 15, the number of occurrences of a D object in a video is 12, the number of occurrences of an E object in a video is 8, the number of occurrences of an F object in a video is 5, and the number of occurrences of a G object in a video is 2.
The server may then rank the at least one candidate object according to the number of occurrences of each of the at least one candidate object in the video. For example, the at least one candidate object may be ranked in order of occurrence in the video. Since 20 > 18 > 15 > 12 > 8 > 5 > 2, the result of the ranking for the at least one candidate object is a object → B object → C object → D object → E object → F object → G object. Next, the server may transmit information of the ranked at least one candidate object to the terminal. At which time the video is in a paused state.
After receiving the information of the at least one candidate object sent by the server, the terminal may determine the information of the sending object of the first barrage according to the information of the at least one candidate object. The user may select one transmission target of the first bullet screen or may select a plurality of transmission targets of the first bullet screens. For example, the user may select three objects, an a object, a B object, and a C object, as transmission objects of the first bullet screen. It should be noted that the user may also select whether the bullet screen always tracks the object. If the user selects the bullet screen to track the object all the time, the bullet screen can be displayed on all the video frames containing the bullet screen sending object in the video.
The terminal may send the first bullet screen and the information of the sending object of the first bullet screen to the server, that is, the terminal may send the first bullet screen and the information of the a object, the information of the B object, and the information of the C object to the server. The video is still in a paused state at this time. It should be noted that, if the user selects the bullet screen to always track the object, the terminal may also send a bullet screen tracking object request to the server.
And step 404, receiving the first bullet screen sent by the terminal and the information of the sending object of the first bullet screen.
In step 404, the server may receive the first bullet screen and the information of the transmission object of the first bullet screen, which are transmitted by the terminal, that is, the server may receive the information of the first bullet screen and the a object, the information of the B object, and the information of the C object, which are transmitted by the terminal.
Step 405, according to the information of the transmission object of the first barrage, determining timestamp information of a target video frame including the transmission object of the first barrage, and associating the first barrage with the timestamp information of the target video frame to obtain a second barrage.
In step 405, after receiving the first bullet screen and the information of the transmission object of the first bullet screen sent by the terminal, the server may determine, according to the information of the transmission object of the first bullet screen, timestamp information of a target video frame including the transmission object of the first bullet screen, and associate the first bullet screen with the timestamp information of the target video frame to obtain a second bullet screen. That is, the server may determine timestamp information of a target video frame including the a object, the B object, and the C object according to the information of the a object, the information of the B object, and the information of the C object, and associate the first barrage with the timestamp information of the target video frame to obtain the second barrage.
Optionally, the determining, according to the information of the transmission object of the first barrage, timestamp information of a target video frame including the transmission object of the first barrage, and associating the first barrage with the timestamp information of the target video frame to obtain a second barrage includes:
and determining the sending object containing the first bullet screen in the video according to the information of the sending object of the first bullet screen, wherein the timestamp is the first target playing time or timestamp information of a target video frame with a timestamp close to the first target playing time, and associating the first bullet screen with the timestamp information of the target video frame to obtain the second bullet screen.
For example, the server may determine, according to information of a transmission object of the first barrage, that the video includes the transmission object of the first barrage, and the timestamp is the first target playing time or timestamp information of a target video frame with a timestamp close to the first target playing time, and associate the first barrage with the timestamp information of the target video frame to obtain the second barrage. That is, the server may determine, according to the information of the object a, the information of the object B, and the information of the object C, that the video includes the object a, the object B, and the object C, and the timestamp is the first target playing time or timestamp information of a target video frame with a timestamp close to the first target playing time, and associate the first bullet screen with the timestamp information of the target video frame to obtain the second bullet screen.
Optionally, the receiving terminal sends the first bullet screen and the information of the sending object of the first bullet screen, including:
receiving a first bullet screen sent by the terminal, information of a sending object of the first bullet screen and a bullet screen tracking object request;
the determining, according to the information of the transmission object of the first barrage, timestamp information of a target video frame including the transmission object of the first barrage, and associating the first barrage with the timestamp information of the target video frame to obtain a second barrage, includes:
and according to the information of the sending object of the first barrage and the barrage tracking object request, determining the timestamp information of a multi-frame video frame containing the sending object of the first barrage in the video, associating the first barrage with the timestamp information of each frame of video frames in the multi-frame video frame, and obtaining the second barrage.
Or, if the user selects the bullet screen to track the object all the time, the server may also receive a bullet screen tracking object request sent by the terminal. And the server can further determine timestamp information of a multi-frame video frame containing the sending object of the first bullet screen in the video according to the information of the sending object of the first bullet screen and the bullet screen tracking object request, and associate the first bullet screen with the timestamp information of each frame of video frames in the multi-frame video frame to obtain a second bullet screen. That is, the server may determine timestamp information of a plurality of frames of video frames including the a object, the B object, and the C object in the video according to the information of the a object, the information of the B object, the information of the C object, and the barrage tracking object request, and associate the first barrage with the timestamp information of each frame of video frames in the plurality of frames of video frames to obtain the second barrage. Therefore, if the user selects the bullet screen to track the object all the time, the multiframe video frame of the sending object containing the first bullet screen in the video can be determined, and then the terminal can display the corresponding bullet screen in all the video frames containing the sending object of the bullet screen in the video without editing the bullet screen one by the user. The complicated operation steps are avoided, and the operation is convenient and fast.
Step 406, sending the timestamp information of the target video frame and the second barrage to the terminal, so that the terminal displays the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame.
After determining the timestamp information of the target video frame and the second barrage, the server may send the timestamp information of the target video frame and the second barrage to the terminal in step 406. And displaying the second barrage on the target video frame by the terminal according to the timestamp information of the target video frame in the video playing process. In the embodiment of the invention, in the video playing process, a user can see that the barrage for commenting the A object, the B object and the C object is just displayed on the video frame containing the A object, the B object and the C object. The bullet screen content corresponds to the video frame content, and the bullet screen display effect is better. The occurrence of the situation that the barrage commenting one object causes the occlusion of another object can be avoided. For example, the bullet screen of the comment D object is not displayed on the target video frame including the a object, the B object, and the C object, so that the occurrence of the bullet screen in which speech is inspired due to the difference in the support population of different objects can be avoided, and the bullet screen environment is made more harmonious.
The bullet screen display method provided by the embodiment of the invention is applied to a server. The server can send the time stamp information of the target video frame containing the bullet screen sending object and the bullet screen associated with the time stamp information of the target video frame to the terminal, so that the terminal can display the corresponding bullet screen on the target video frame according to the time stamp information of the target video frame in the video playing process. Can guarantee that the barrage shows on the video frame that contains barrage transmission object, avoid commenting the barrage of an object and causing the appearance of the condition of sheltering from to another object, video display effect is better. Further, the server can provide information of at least one candidate object for the user to select, the user can select the bullet screen sending object according to the self requirement, can select one bullet screen sending object, and can also select a plurality of bullet screen sending objects. And the realization process is simple, convenient and fast.
Referring to fig. 5, fig. 5 is a structural diagram of a terminal according to an embodiment of the present invention, and as shown in fig. 5, the terminal 500 includes an obtaining module 501, a sending module 502, a receiving module 503, and a displaying module 504, where:
an obtaining module 501, configured to obtain a first bullet screen to be sent and determine information of a sending object of the first bullet screen when a bullet screen editing operation is received;
a sending module 502, configured to send the first bullet screen obtained by the obtaining module 501 and information of a sending object of the first bullet screen to a server;
a receiving module 503, configured to receive timestamp information of a target video frame and a second barrage sent by the server, where the target video frame is determined by the server according to information of a transmission object of a first barrage sent by the sending module 502 and includes the video frame of the transmission object of the first barrage, and the second barrage is obtained by associating the first barrage with the timestamp information of the target video frame by the server;
a display module 504, configured to display the second barrage on the target video frame in a video playing process according to the timestamp information of the target video frame received by the receiving module 503.
Optionally, as shown in fig. 6, the obtaining module 501 includes:
the sending submodule 5011 is configured to send a bullet screen sending object obtaining request to the server, where the bullet screen sending object obtaining request includes the first target playing time;
the receiving submodule 5012 is configured to receive information of at least one candidate object sent by the server, where the information of the at least one candidate object is determined by the server according to the first target playing time sent by the sending submodule 5011;
the determining submodule 5013 is configured to determine information of a transmission object of the first bullet screen according to the information of the at least one candidate object received by the receiving submodule 5012.
Optionally, as shown in fig. 7, the target video frame is a frame of video frame determined by the server according to the first target playing time;
the display module 504 includes:
a first display sub-module 5041, configured to, when a timestamp of the target video frame is located before the first target play time, start playing the video from a second target play time, and in a video playing process, display the second barrage on the target video frame, where the second target play time is located before the timestamp of the target video frame, and the timestamp of the target video frame is a timestamp of a video frame in the video;
the second display sub-module 5042 is configured to, if the timestamp of the target video frame is located at the first target playing time or after the first target playing time, start playing the video from the first target playing time, and in a video playing process, display the second barrage on the target video frame.
Optionally, the sending module 502 is specifically configured to send the first barrage, information of a sending object of the first barrage, and a barrage tracking object request to the server;
the target video frame is a plurality of frames of video frames determined by the server according to the barrage tracking object request, the display module 504 is specifically configured to start playing the video from the first target playing time, and in a video playing process, display the second barrage on each frame of video frames in the plurality of frames of video frames according to timestamp information of each frame of video frames in the plurality of frames of video frames.
The terminal 500 can implement each process implemented by the terminal in the method embodiments of fig. 1 and fig. 2, and is not described herein again to avoid repetition. And the terminal 500 can display the corresponding bullet screen on the target video frame in the video playing process according to the timestamp information of the target video frame containing the bullet screen sending object. Can guarantee that the barrage shows on the video frame that contains barrage transmission object, avoid commenting the barrage of an object and causing the appearance of the condition of sheltering from to another object, video display effect is better.
Referring to fig. 8, fig. 8 is a block diagram of a server provided in the implementation of the present invention, and as shown in fig. 8, a server 800 includes a first receiving module 801, a determining module 802, and a first sending module 803, where:
a first receiving module 801, configured to receive a first bullet screen sent by a terminal and information of a sending object of the first bullet screen;
a determining module 802, configured to determine, according to the information of the transmission object of the first barrage received by the first receiving module 801, timestamp information of a target video frame including the transmission object of the first barrage, and associate the first barrage with the timestamp information of the target video frame to obtain a second barrage;
a first sending module 803, configured to send the timestamp information of the target video frame determined by the determining module 802 and the second barrage to the terminal, so that the terminal displays the second barrage on the target video frame in a video playing process according to the timestamp information of the target video frame.
Optionally, as shown in fig. 9, the server further includes:
a second receiving module 804, configured to receive a bullet screen sending object obtaining request sent by the terminal, where the bullet screen sending object obtaining request includes a first target playing time, and the first target playing time is a playing time at which the terminal receives a bullet screen editing operation;
an obtaining module 805, configured to obtain information of at least one candidate object in a video frame in a first preset time period before the first target playing time and a second preset time period after the first target playing time in a video;
a second sending module 806, configured to send, to the terminal, information of the at least one candidate object obtained by the obtaining module 805.
The server 800 can implement each process implemented by the server in the method embodiments of fig. 3 and fig. 4, and is not described herein again to avoid repetition. And the server 800 may implement sending the timestamp information of the target video frame including the bullet screen sending object and the bullet screen associated with the timestamp information of the target video frame to the terminal, so that the terminal displays the corresponding bullet screen on the target video frame according to the timestamp information of the target video frame in the video playing process. Can guarantee that the barrage shows on the video frame that contains barrage transmission object, avoid commenting the barrage of an object and causing the appearance of the condition of sheltering from to another object, video display effect is better.
Fig. 10 is a schematic diagram of a hardware structure of a terminal implementing various embodiments of the present invention.
The terminal 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011. Those skilled in the art will appreciate that the terminal configuration shown in fig. 10 is not intended to be limiting, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 1010 is configured to, when a barrage editing operation is received, acquire a first barrage to be sent, and determine information of a sending object of the first barrage;
sending the first barrage and information of a sending object of the first barrage to a server;
receiving timestamp information of a target video frame and a second barrage sent by the server, wherein the target video frame is determined by the server according to information of a sending object of the first barrage and comprises a video frame of the sending object of the first barrage, and the second barrage is obtained by associating the timestamp information of the first barrage and the target video frame with the server;
and displaying the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame.
The terminal can display the corresponding bullet screen on the target video frame in the video playing process according to the timestamp information of the target video frame containing the bullet screen sending object. Can guarantee that the barrage shows on the video frame that contains barrage transmission object, avoid commenting the barrage of an object and causing the appearance of the condition of sheltering from to another object, video display effect is better.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1001 may be used for receiving and sending signals during a message transmission or a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1010; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 1001 may also communicate with a network and other devices through a wireless communication system.
The terminal provides the user with wireless broadband internet access through the network module 1002, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 1003 may convert audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output as sound. Also, the audio output unit 1003 can provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the terminal 1000. The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1004 is used to receive an audio or video signal. The input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, the Graphics processor 10041 Processing image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1006. The image frames processed by the graphic processor 10041 may be stored in the memory 1009 (or other storage medium) or transmitted via the radio frequency unit 1001 or the network module 1002. The microphone 10042 can receive sound and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1001 in case of a phone call mode.
Terminal 1000 can also include at least one sensor 1005 such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 10061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 10061 and/or a backlight when the terminal 1000 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 1005 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 1006 is used to display information input by the user or information provided to the user. The Display unit 1006 may include a Display panel 10061, and the Display panel 10061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1007 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 10071 (e.g., operations by a user on or near the touch panel 10071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 10071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1010, and receives and executes commands sent by the processor 1010. In addition, the touch panel 10071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 10071, the user input unit 1007 can include other input devices 10072. Specifically, the other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 10071 can be overlaid on the display panel 10061, and when the touch panel 10071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1010 to determine the type of the touch event, and then the processor 1010 provides a corresponding visual output on the display panel 10061 according to the type of the touch event. Although in fig. 10, the touch panel 10071 and the display panel 10061 are two independent components for implementing the input and output functions of the terminal, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated for implementing the input and output functions of the terminal, which is not limited herein.
Interface unit 1008 is an interface for connecting an external device to terminal 1000. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. Interface unit 1008 can be used to receive input from external devices (e.g., data information, power, etc.) and transmit the received input to one or more elements within terminal 1000 or can be used to transmit data between terminal 1000 and external devices.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, and the like), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1009 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1010 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 1009 and calling data stored in the memory 1009, thereby integrally monitoring the terminal. Processor 1010 may include one or more processing units; preferably, the processor 1010 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
Terminal 1000 can also include a power supply 1011 (e.g., a battery) for powering the various components, and preferably, power supply 1011 can be logically coupled to processor 1010 through a power management system that provides management of charging, discharging, and power consumption.
In addition, terminal 1000 can include some functional blocks not shown, which are not described herein.
Optionally, the processor 1010 is further configured to:
sending a bullet screen sending object acquisition request to the server, wherein the bullet screen sending object acquisition request comprises a first target playing time, and the first target playing time is the playing time when a bullet screen editing operation is received;
receiving information of at least one candidate object sent by the server, wherein the information of the at least one candidate object is determined by the server according to the first target playing time;
and determining the information of the sending object of the first bullet screen according to the information of the at least one candidate object.
Optionally, the processor 1010 is further configured to:
the target video frame is a frame of video frame determined by the server according to the first target playing time;
under the condition that the timestamp of the target video frame is located before the first target playing time, the video is played from a second target playing time, and in the video playing process, the second barrage is displayed on the target video frame, wherein the second target playing time is located before the timestamp of the target video frame, and the timestamp of the target video frame is the timestamp of the video frame in the video;
and under the condition that the timestamp of the target video frame is located at the first target playing time or behind the first target playing time, starting to play the video from the first target playing time, and displaying the second barrage on the target video frame in the video playing process.
Optionally, the processor 1010 is further configured to:
sending the first bullet screen, the information of the sending object of the first bullet screen and a bullet screen tracking object request to the server;
the target video frame is a plurality of frames of video frames determined by the server according to the bullet screen tracking object request, the video is played from the first target playing moment, and in the video playing process, the second bullet screen is displayed on each frame of the plurality of frames of video frames according to the timestamp information of each frame of the plurality of frames of video frames.
Terminal 1000 can implement each process implemented by the terminal in the foregoing embodiments, and details are not described here to avoid repetition. And the terminal 1000 can display the corresponding bullet screen on the target video frame in the video playing process according to the timestamp information of the target video frame containing the bullet screen sending object. Can guarantee that the barrage shows on the video frame that contains barrage transmission object, avoid commenting the barrage of an object and causing the appearance of the condition of sheltering from to another object, video display effect is better.
Preferably, an embodiment of the present invention further provides a terminal, including a processor 1010, a memory 1009, and a computer program stored in the memory 1009 and capable of running on the processor 1010, where the computer program is executed by the processor 1010 to implement each process of the foregoing bullet screen display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
Referring to fig. 11, fig. 11 is a block diagram of a server provided in the implementation of the present invention, and as shown in fig. 11, a server 1100 includes: at least one processor 1101, memory 1102, at least one network interface 1104, and a user interface 1103. The various components in the server 1100 are coupled together by a bus system 1105. It is understood that the bus system 1105 is used to enable communications among the components. The bus system 1105 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled in fig. 11 as the bus system 1105.
The user interface 1103 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, track ball, touch pad, or touch screen, etc.).
It is to be understood that the memory 1102 in embodiments of the present invention can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double data rate Synchronous Dynamic random access memory (ddr DRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous link SDRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 1102 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 1102 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 11021 and application programs 11022.
The operating system 11021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 11022 contains various applications such as a Media Player (Media Player), a Browser (Browser), etc. for implementing various application services. Programs that implement methods in accordance with embodiments of the invention may be included in application 11022.
In the embodiment of the present invention, the processor 1101 is configured to, by calling a program or an instruction stored in the memory 1102, specifically, a program or an instruction stored in the application 11022:
receiving a first bullet screen sent by a terminal and information of a sending object of the first bullet screen;
determining timestamp information of a target video frame of the sending object containing the first bullet screen according to the information of the sending object of the first bullet screen, and associating the first bullet screen with the timestamp information of the target video frame to obtain a second bullet screen;
and sending the timestamp information of the target video frame and the second barrage to the terminal so that the terminal displays the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame.
The methods disclosed in the embodiments of the present invention described above may be implemented in the processor 1101 or by the processor 1101. The processor 1101 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by instructions in the form of hardware, integrated logic circuits, or software in the processor 1101. The Processor 1101 may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 1102, and the processor 1101 reads the information in the memory 1102 and completes the steps of the above method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 1101 is further configured to:
receiving a bullet screen sending object acquisition request sent by the terminal, wherein the bullet screen sending object acquisition request comprises a first target playing time, and the first target playing time is the playing time when the terminal receives bullet screen editing operation;
acquiring information of at least one candidate object in a video frame in a first preset time period before the first target playing time and a second preset time period after the first target playing time in a video;
and sending the information of the at least one candidate object to the terminal.
Optionally, the processor 1101 is further configured to:
and determining the sending object containing the first bullet screen in the video according to the information of the sending object of the first bullet screen, wherein the timestamp is the first target playing time or timestamp information of a target video frame with a timestamp close to the first target playing time, and associating the first bullet screen with the timestamp information of the target video frame to obtain the second bullet screen.
Optionally, the processor 1101 is further configured to:
receiving a first bullet screen sent by the terminal, information of a sending object of the first bullet screen and a bullet screen tracking object request;
and according to the information of the sending object of the first barrage and the barrage tracking object request, determining the timestamp information of a multi-frame video frame containing the sending object of the first barrage in the video, associating the first barrage with the timestamp information of each frame of video frames in the multi-frame video frame, and obtaining the second barrage.
The server 1100 is capable of implementing the processes implemented by the server in the foregoing embodiments, and details are not repeated here to avoid repetition. And the server 1100 may implement sending, to the terminal, the timestamp information of the target video frame including the bullet screen sending object and the bullet screen associated with the timestamp information of the target video frame, so that the terminal displays the corresponding bullet screen on the target video frame according to the timestamp information of the target video frame in the video playing process. Can guarantee that the barrage shows on the video frame that contains barrage transmission object, avoid commenting the barrage of an object and causing the appearance of the condition of sheltering from to another object, video display effect is better.
Preferably, an embodiment of the present invention further provides a server, including a processor 1101, a memory 1102, and a computer program stored in the memory 1102 and capable of running on the processor 1101, where the computer program is executed by the processor 1101 to implement each process of the foregoing bullet screen display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing bullet screen display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A bullet screen display method is applied to a terminal, and is characterized by comprising the following steps:
under the condition of receiving a bullet screen editing operation, acquiring a first bullet screen to be sent, and determining information of a sending object of the first bullet screen;
sending the first barrage and information of a sending object of the first barrage to a server;
receiving timestamp information of a target video frame and a second barrage sent by the server, wherein the target video frame is determined by the server according to information of a sending object of the first barrage and comprises a video frame of the sending object of the first barrage, and the second barrage is obtained by associating the timestamp information of the first barrage and the target video frame with the server;
displaying the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame;
the determining information of the sending object of the first bullet screen includes:
sending a bullet screen sending object acquisition request to the server, wherein the bullet screen sending object acquisition request comprises a first target playing time, and the first target playing time is the playing time when a bullet screen editing operation is received;
receiving information of at least one candidate object sent by the server, wherein the information of the at least one candidate object is determined by the server according to the first target playing time;
and determining the information of the sending object of the first bullet screen according to the information of the at least one candidate object.
2. The method of claim 1, wherein the target video frame is a video frame determined by the server according to the first target play time;
the displaying the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame includes:
under the condition that the timestamp of the target video frame is located before the first target playing time, the video is played from a second target playing time, and in the video playing process, the second barrage is displayed on the target video frame, wherein the second target playing time is located before the timestamp of the target video frame, and the timestamp of the target video frame is the timestamp of the video frame in the video;
and under the condition that the timestamp of the target video frame is located at the first target playing time or behind the first target playing time, starting to play the video from the first target playing time, and displaying the second barrage on the target video frame in the video playing process.
3. The method of claim 1, wherein the sending the first barrage and the information of the sending object of the first barrage to a server comprises:
sending the first bullet screen, the information of the sending object of the first bullet screen and a bullet screen tracking object request to the server;
the target video frame is a multi-frame video frame determined by the server according to the barrage tracking object request, and the second barrage is displayed on the target video frame in the video playing process according to the timestamp information of the target video frame, including:
and starting to play the video from the first target playing time, and displaying the second barrage on each frame of the multi-frame video frames according to the timestamp information of each frame of the multi-frame video frames in the video playing process.
4. A bullet screen display method is applied to a server and is characterized by comprising the following steps:
receiving a first bullet screen sent by a terminal and information of a sending object of the first bullet screen;
determining timestamp information of a target video frame of the sending object containing the first bullet screen according to the information of the sending object of the first bullet screen, and associating the first bullet screen with the timestamp information of the target video frame to obtain a second bullet screen;
sending the timestamp information of the target video frame and the second barrage to the terminal, so that the terminal displays the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame;
before the step of receiving the first barrage sent by the terminal and the information of the sending object of the first barrage, the method further includes:
receiving a bullet screen sending object acquisition request sent by the terminal, wherein the bullet screen sending object acquisition request comprises a first target playing time, and the first target playing time is the playing time when the terminal receives bullet screen editing operation;
acquiring information of at least one candidate object in a video frame in a first preset time period before the first target playing time and a second preset time period after the first target playing time in a video;
and sending the information of the at least one candidate object to the terminal.
5. The method of claim 4, wherein the determining time stamp information of a target video frame containing the transmission object of the first bullet screen according to the information of the transmission object of the first bullet screen and associating the first bullet screen with the time stamp information of the target video frame to obtain a second bullet screen comprises:
and determining the sending object containing the first bullet screen in the video according to the information of the sending object of the first bullet screen, wherein the timestamp is the first target playing time or timestamp information of a target video frame with a timestamp close to the first target playing time, and associating the first bullet screen with the timestamp information of the target video frame to obtain the second bullet screen.
6. The method of claim 4, wherein the receiving the first barrage transmitted by the terminal and the information of the transmission object of the first barrage comprises:
receiving a first bullet screen sent by the terminal, information of a sending object of the first bullet screen and a bullet screen tracking object request;
the determining, according to the information of the transmission object of the first barrage, timestamp information of a target video frame including the transmission object of the first barrage, and associating the first barrage with the timestamp information of the target video frame to obtain a second barrage, includes:
and according to the information of the sending object of the first barrage and the barrage tracking object request, determining the timestamp information of a multi-frame video frame containing the sending object of the first barrage in the video, associating the first barrage with the timestamp information of each frame of video frames in the multi-frame video frame, and obtaining the second barrage.
7. A terminal, comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a first bullet screen to be sent and determining the information of a sending object of the first bullet screen under the condition of receiving bullet screen editing operation;
the sending module is used for sending the first bullet screen obtained by the obtaining module and the information of the sending object of the first bullet screen to a server;
the receiving module is used for receiving timestamp information of a target video frame and a second barrage sent by the server, wherein the target video frame is determined by the server according to information of a sending object of a first barrage sent by the sending module and comprises the video frame of the sending object of the first barrage, and the second barrage is obtained by associating the first barrage with the timestamp information of the target video frame by the server;
the display module is used for displaying the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame received by the receiving module;
the acquisition module includes:
the sending submodule is used for sending a bullet screen sending object obtaining request to the server, wherein the bullet screen sending object obtaining request comprises a first target playing time, and the first target playing time is the playing time when a bullet screen editing operation is received;
the receiving submodule is used for receiving information of at least one candidate object sent by the server, and the information of the at least one candidate object is determined by the server according to the first target playing time sent by the sending submodule;
and the determining submodule is used for determining the information of the sending object of the first bullet screen according to the information of at least one candidate object received by the receiving submodule.
8. The terminal of claim 7, wherein the target video frame is a frame of video frame determined by the server according to the first target play time;
the display module includes:
the first display sub-module is configured to, when the timestamp of the target video frame is located before the first target play time, start playing the video from a second target play time, and in a video playing process, display the second barrage on the target video frame, where the second target play time is located before the timestamp of the target video frame, and the timestamp of the target video frame is a timestamp of a video frame in the video;
and the second display sub-module is used for playing the video from the first target playing time under the condition that the timestamp of the target video frame is positioned at the first target playing time or behind the first target playing time, and displaying the second barrage on the target video frame in the video playing process.
9. The terminal of claim 7, wherein the sending module is specifically configured to send the first barrage, information of a sending object of the first barrage, and a barrage tracking object request to the server;
the target video frame is a plurality of frames of video frames determined by the server according to the barrage tracking object request, the display module is specifically configured to start playing the video from the first target playing time, and in a video playing process, the second barrage is displayed on each frame of video frames in the plurality of frames of video frames according to timestamp information of each frame of video frames in the plurality of frames of video frames.
10. A server, comprising:
the first receiving module is used for receiving a first bullet screen sent by the terminal and information of a sending object of the first bullet screen;
the determining module is used for determining timestamp information of a target video frame of a first bullet screen transmitting object according to the information of the first bullet screen transmitting object received by the first receiving module, and associating the first bullet screen with the timestamp information of the target video frame to obtain a second bullet screen;
the first sending module is used for sending the timestamp information of the target video frame determined by the determining module and the second barrage to the terminal so that the terminal can display the second barrage on the target video frame in the video playing process according to the timestamp information of the target video frame;
the server further comprises:
the second receiving module is configured to receive a bullet screen sending object obtaining request sent by the terminal, where the bullet screen sending object obtaining request includes a first target playing time, and the first target playing time is a playing time at which the terminal receives a bullet screen editing operation;
the acquisition module is used for acquiring information of at least one candidate object in video frames within a first preset time period before the first target playing time and a second preset time period after the first target playing time in the video;
and the second sending module is used for sending the information of the at least one candidate object acquired by the acquiring module to the terminal.
CN201810418725.0A 2018-05-04 2018-05-04 Bullet screen display method, terminal and server Active CN108616772B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810418725.0A CN108616772B (en) 2018-05-04 2018-05-04 Bullet screen display method, terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810418725.0A CN108616772B (en) 2018-05-04 2018-05-04 Bullet screen display method, terminal and server

Publications (2)

Publication Number Publication Date
CN108616772A CN108616772A (en) 2018-10-02
CN108616772B true CN108616772B (en) 2020-10-30

Family

ID=63661944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810418725.0A Active CN108616772B (en) 2018-05-04 2018-05-04 Bullet screen display method, terminal and server

Country Status (1)

Country Link
CN (1) CN108616772B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348252B (en) * 2018-11-01 2020-01-10 腾讯科技(深圳)有限公司 Video playing method, video transmission method, device, equipment and storage medium
CN109451333B (en) * 2018-11-29 2021-07-30 北京奇艺世纪科技有限公司 Bullet screen display method, device, terminal and system
CN112423110A (en) * 2020-08-04 2021-02-26 上海哔哩哔哩科技有限公司 Live video data generation method and device and live video playing method and device
CN111901662A (en) * 2020-08-05 2020-11-06 腾讯科技(深圳)有限公司 Extended information processing method, apparatus and storage medium for video
CN114449326A (en) * 2020-11-06 2022-05-06 上海哔哩哔哩科技有限公司 Video annotation method, client, server and system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120198496A1 (en) * 2011-01-31 2012-08-02 Modiotek Co., Ltd. Video Related Tag Generating Apparatus, Video Related Tag Generating Method, Video Interacting Method, Video Interacting System and Video Interacting Apparatus
CN103780973B (en) * 2012-10-17 2017-08-04 三星电子(中国)研发中心 Video tab adding method and device
US10158920B2 (en) * 2015-02-17 2018-12-18 Jong Park Interaction system and interaction method thereof
CN106156237B (en) * 2015-04-27 2019-06-28 北京智谷睿拓技术服务有限公司 Information processing method, information processing unit and user equipment
CN105933787A (en) * 2016-06-08 2016-09-07 乐视控股(北京)有限公司 Video comment and processing method and device thereof, and server
US11049147B2 (en) * 2016-09-09 2021-06-29 Sony Corporation System and method for providing recommendation on an electronic device based on emotional state detection
CN106982387B (en) * 2016-12-12 2020-09-18 阿里巴巴集团控股有限公司 Bullet screen display and push method and device and bullet screen application system
CN107040824A (en) * 2017-04-18 2017-08-11 深圳市金立通信设备有限公司 A kind of method and terminal for sending barrage
CN107222790A (en) * 2017-05-22 2017-09-29 深圳市金立通信设备有限公司 A kind of method, terminal and computer-readable recording medium for sending barrage

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
视频时间轴的弹幕评论:特点与局限刍议;欧阳照 赵旭婷;《重庆邮电大学学报(社会科学版)》;20160715;第28卷(第4期);全文 *

Also Published As

Publication number Publication date
CN108616772A (en) 2018-10-02

Similar Documents

Publication Publication Date Title
CN108616772B (en) Bullet screen display method, terminal and server
US20220279116A1 (en) Object tracking method and electronic device
CN109525874B (en) Screen capturing method and terminal equipment
CN110995923A (en) Screen projection control method and electronic equipment
CN110096326B (en) Screen capturing method, terminal equipment and computer readable storage medium
CN108737904B (en) Video data processing method and mobile terminal
CN109240577B (en) Screen capturing method and terminal
CN108279948B (en) Application program starting method and mobile terminal
US20220004357A1 (en) Audio signal outputting method and terminal device
CN109710349B (en) Screen capturing method and mobile terminal
CN110099296B (en) Information display method and terminal equipment
CN109085968B (en) Screen capturing method and terminal equipment
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN109922265B (en) Video shooting method and terminal equipment
CN109407948B (en) Interface display method and mobile terminal
CN110990172A (en) Application sharing method, first electronic device and computer-readable storage medium
CN111124223A (en) Application interface switching method and electronic equipment
CN111698550B (en) Information display method, device, electronic equipment and medium
CN108769822B (en) Video display method and terminal equipment
CN111770374B (en) Video playing method and device
CN109992192B (en) Interface display method and terminal equipment
CN110022445B (en) Content output method and terminal equipment
CN109672845B (en) Video call method and device and mobile terminal
CN110769303A (en) Playing control method and device and mobile terminal
CN111050214A (en) Video playing method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant