CN115633194A - Live broadcast playback method and device, computer equipment and storage medium - Google Patents

Live broadcast playback method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115633194A
CN115633194A CN202211647060.3A CN202211647060A CN115633194A CN 115633194 A CN115633194 A CN 115633194A CN 202211647060 A CN202211647060 A CN 202211647060A CN 115633194 A CN115633194 A CN 115633194A
Authority
CN
China
Prior art keywords
chat
time
message
segment
information
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.)
Pending
Application number
CN202211647060.3A
Other languages
Chinese (zh)
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.)
Yifang Information Technology Co ltd
Original Assignee
Yifang Information Technology 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 Yifang Information Technology Co ltd filed Critical Yifang Information Technology Co ltd
Priority to CN202211647060.3A priority Critical patent/CN115633194A/en
Publication of CN115633194A publication Critical patent/CN115633194A/en
Pending legal-status Critical Current

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/27Server based end-user applications
    • 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43072Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of multiple content streams on the same device
    • 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a live broadcast playback method, a live broadcast playback device, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring live multimedia information and corresponding chat room information, wherein the chat room information comprises a plurality of chat messages; converting the absolute publishing time of the chat message into the relative publishing time based on the multimedia information playing; after the live broadcast is finished, segmenting the chat room message according to the relative publishing time to obtain segmented information; responding to the playback operation of the live broadcast, sending the segmented information to the terminal, and sending the chat message corresponding to the segments to the terminal according to the required playing time of the playback operation, so that the terminal synchronously displays the multimedia information and the chat message according to the required playing time. The invention carries out segmentation processing on the chat room messages corresponding to the live broadcast after the live broadcast through the server, and is used for realizing synchronous display of the multimedia information and the chat messages at the terminal.

Description

Live broadcast playback method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a live playback method and apparatus, a computer device, and a storage medium.
Background
In the network era, the live broadcast mainly refers to image-text live broadcast, such as live broadcast of sports events, news, classroom or e-commerce shopping. When watching the live webcast, a user can publish chat messages to carry out synchronous communication, which is an important aspect of showing the social interaction of the live webcast, and especially in live webcast communication scenes such as webcasts or online shopping, live broadcasters often respond to the chat messages sent by users watching the live webcasts.
The network live broadcast has a playback function, but during live broadcast playback, because only multimedia information in the live broadcast can be played back, but corresponding chat messages cannot be played back, the information of a user watching the live broadcast playback is incompletely received, and the watching experience is influenced. Aiming at the problem that the synchronous playback of the chat messages and the multimedia information can not be realized in the existing network live broadcast, further research on the live broadcast playback technology is needed to be carried out.
Disclosure of Invention
The embodiment of the invention provides a live broadcast playback method, a live broadcast playback device, computer equipment and a storage medium, which aim to solve the problem that the synchronous playback of chat messages and multimedia information cannot be realized in the conventional network live broadcast.
In one aspect, the present invention provides a live playback method, applied to a server, including:
acquiring live multimedia information and corresponding chat room information, wherein the chat room information comprises a plurality of chat messages;
converting the absolute publishing time of the chat message into the relative publishing time based on the multimedia information playing;
after the live broadcast is finished, segmenting the chat room messages according to the relative publishing time to obtain segmented information, wherein the segmented information comprises the number of segments, the time range of each segment, the number of messages of each segment and the identification codes of start-stop messages of each segment;
responding to the playback operation of the live broadcast, sending the segmented information to the terminal, and sending the chat message corresponding to the segments to the terminal according to the required playing time of the playback operation, so that the terminal synchronously displays the multimedia information and the chat message according to the required playing time.
Further, the step of converting the absolute time of publication of the chat message into the relative time of publication based on the multimedia information play comprises:
acquiring a release timestamp of the chat message and a start timestamp of live broadcast;
and obtaining the relative issuing time according to the difference value of the issuing time stamp and the starting time stamp.
Further, after the live broadcast is finished, segmenting the chat room messages according to the relative publishing time to obtain segmented information, wherein the step of segmenting the chat room messages comprises the following steps:
preprocessing the chat room messages according to a time span threshold;
the preprocessed chat room messages are segmented according to the relative publication time and the fixed message quantity requirements.
On the other hand, the invention provides another live broadcast playback method, which is applied to a terminal and comprises the following steps:
responding to the playback operation of the live broadcast, and acquiring segmentation information, wherein the segmentation information comes from a server; the server converts the absolute publishing time of the chat message into the relative publishing time based on multimedia information playing, and segments the chat room message according to the relative publishing time after the live broadcast is finished to obtain segmented information, wherein the segmented information comprises the number of segments, the time range of each segment, the number of messages of each segment and the identification code of start-stop messages of each segment; the chat room messages comprise a plurality of chat messages;
obtaining the corresponding segmented chat messages according to the playing time required by the playback operation;
and playing the time synchronization display multimedia information and the chat message according to the requirement.
Further, the step of obtaining the chat message corresponding to the segment according to the playing time required by the playback operation includes:
judging whether the chat messages of the corresponding segments exist in the local cache file in advance according to the required playing time; if yes, reading the chat message corresponding to the segment to the memory; if not, obtaining the chat message of the corresponding segment from the server, and writing the chat message obtained from the server into a local cache file.
Further, after the step of obtaining the corresponding segmented chat message according to the required playing time of the playback operation, the method further includes:
judging whether the message amount is too large according to the loaded chat messages;
if yes, removing the first preset time or the first preset number of chat messages from the memory according to the required playing time.
In order to solve the problem that the synchronous playback of chat messages and multimedia information cannot be realized in the existing network live broadcast, the invention aims to provide a live broadcast playback method, which comprises the following steps: acquiring live multimedia information and corresponding chat room information, wherein the chat room information comprises a plurality of chat messages; converting the absolute publishing time of the chat message into the relative publishing time based on the multimedia information playing; after the live broadcast is finished, segmenting the chat room messages according to the relative publishing time to obtain segmented information, wherein the segmented information comprises the number of segments, the time range of each segment, the number of messages of each segment and the identification codes of start-stop messages of each segment; responding to the playback operation of the live broadcast, sending the segmented information to the terminal, and sending the chat message corresponding to the segments to the terminal according to the required playing time of the playback operation, so that the terminal synchronously displays the multimedia information and the chat message according to the required playing time.
Compared with the prior art, the invention has the following advantages:
the server is used for conducting segmentation processing on the chat room messages corresponding to the live broadcast after the live broadcast, when the terminal needs playback, the segmented chat messages corresponding to the required playing time are obtained according to the segmented information provided by the server, synchronous display of the multimedia information and the chat messages is achieved, in addition, even if the live broadcast time span is large or the chat message amount is large, due to the fact that the chat messages are loaded in a segmented mode, the chat room messages are friendly to the internal memory of the terminal such as the mobile device, the loading time is short, and the watching experience is improved.
In another aspect, the present invention provides a live playback apparatus, applied to a server, including:
the system comprises a first acquisition module, a second acquisition module and a chat room processing module, wherein the first acquisition module is used for acquiring live multimedia information and corresponding chat room information, and the chat room information comprises a plurality of chat messages;
the conversion module is used for converting the absolute issuing time of the chat message into the relative issuing time based on the multimedia information playing;
the segmentation module is used for segmenting the chat room messages according to the relative publishing time after the live broadcast is finished to obtain segmentation information, wherein the segmentation information comprises the number of segments, the time range of each segment, the number of messages of each segment and the identification codes of start-stop messages of each segment;
and the sending module is used for responding to the playback operation of the live broadcast, sending the segmented information to the terminal, and sending the chat message corresponding to the segmentation to the terminal according to the playing time required by the playback operation, so that the terminal synchronously displays the multimedia information and the chat message according to the playing time required by the terminal.
In another aspect, the present invention provides a live playback apparatus, applied to a terminal, including:
the second acquisition module is used for responding to the playback operation of the live broadcast and acquiring the segmentation information, and the segmentation information comes from the server; the server converts the absolute publishing time of the chat messages into the relative publishing time based on multimedia information playing, and segments the chat room messages according to the relative publishing time after the live broadcast is finished to obtain segmented information, wherein the segmented information comprises the number of segments, the time range of each segment, the number of messages of each segment and the identification codes of start-stop messages of each segment, and the chat room messages comprise a plurality of chat messages;
the third acquisition module is used for acquiring the chat messages of the corresponding segments according to the playing time required by the playback operation;
and the display module is used for synchronously displaying the multimedia information and the chat message according to the playing time required.
In yet another aspect, the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the method as described above when executing the computer program.
In a further aspect, the invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, is operable to implement a method as described above.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flow chart of a live playback method of one embodiment of the present invention.
Fig. 2 is a flow chart of a live playback method of another embodiment of the present invention.
Fig. 3 is a schematic diagram of a live playback apparatus (applied to a server) according to still another embodiment of the present invention.
Fig. 4 is a schematic diagram of a live playback apparatus (applied to a terminal) according to still another 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, a live playback method according to an embodiment of the present invention is applied to a server, and includes the following steps:
step 101, obtaining live multimedia information and corresponding chat room messages, wherein the chat room messages comprise a plurality of chat messages.
In this embodiment, the chat room message refers to the whole chat message published in the live broadcast process. The obtaining of the chat room message can start in the live broadcasting process or after the live broadcasting is completed.
Step 102, converting the absolute issuing time of the chat message into the relative issuing time based on the multimedia information playing.
In this embodiment, the absolute time of publication of each chat message needs to be converted into the relative time of publication, so as to further process the chat room messages and match the playback progress.
Wherein, the step 102 may specifically include the following steps:
acquiring a release timestamp of the chat message and a start timestamp of live broadcast;
and obtaining the relative issuing time according to the difference value of the issuing time stamp and the starting time stamp.
That is, the absolute time of successful delivery of a chat message is converted into a relative time of delivery, in which the timestamp of successful delivery of the chat message minus the timestamp of start of live broadcast, for example, live broadcast is started at 21.
And 103, after the live broadcast is finished, segmenting the chat room messages according to the relative publishing time to obtain segmented information, wherein the segmented information comprises the segmented number, the time range of each segment, the message number of each segment and the start-stop message identification code of each segment.
In this embodiment, the relative time of publication based on the chat message is segmented, so that the memory pressure is smaller and the response is faster when the terminal loads the chat message segment by segment. That is, when the terminal needs to watch the live broadcast playback, the terminal firstly calls an interface of the server to obtain the segment information of the chat message, the segment information comprises the segment number, the time range of each segment, the message number of each segment and the start-stop message identification code of each segment, the segment number is the number of segments into which all messages of the current live broadcast playback are divided, the time range of each segment is the time range span of each segment, the message number of each segment refers to the message number of each segment, and the start-stop message identification code of each segment is the start-stop chat message ID of each segment. And then the terminal calls an interface of a specific segment according to the requirement to acquire the chat message in a certain segment.
Wherein, step 103 may further include the following steps:
preprocessing chat room messages according to a time span threshold;
the preprocessed chat room messages are segmented according to the relative publication time and the fixed message quantity requirements.
In one embodiment, after each live broadcast is finished, the server segments the live broadcast chat messages according to a fixed number of messages. The step of preprocessing the chat room messages according to the time span threshold may be that when the messages are segmented, instant chat messages are highly concurrent, and the chat room messages should be processed in advance according to a certain rule, for example, some messages with low priority are discarded, or a part of the messages are intercepted according to an upper limit threshold, etc., so as to ensure that the time span of the messages of each segment is greater than a certain time length.
In addition to segmenting chat room messages according to a fixed number of messages, chat room messages may also be segmented according to a fixed time span, or the like.
And 104, responding to the playback operation of the live broadcast, sending the segmented information to the terminal, and sending the chat message corresponding to the segment to the terminal according to the playing time required by the playback operation, so that the terminal synchronously displays the multimedia information and the chat message according to the playing time required by the playback operation.
In the embodiment of the invention, after receiving the playback instruction of the live broadcast, the terminal acquires the chat message corresponding to the segment according to the segment information provided by the server and the required playing time of the playback operation, and can synchronously play the multimedia information and the chat message more quickly.
The embodiment of the invention is used for providing a chat message synchronous playback scheme with loose requirements on the live broadcast time length and the number of chat messages in the live broadcast. Due to the fact that the chat messages are segmented, under the condition that the total quantity of the related messages is large regardless of the duration of live broadcast, the method and the device are used for enabling the user to play the messages without feeling and without influencing the performance of the terminal.
Referring to fig. 2, a live playback method according to another embodiment of the present invention is applied to a terminal, and includes the following steps:
step 201, responding to the playback operation of the live broadcast, and acquiring segment information, wherein the segment information comes from a server; the server converts the absolute publishing time of the chat message into the relative publishing time based on multimedia information playing, and segments the chat room message according to the relative publishing time after the live broadcast is finished to obtain segmented information, wherein the segmented information comprises the number of segments, the time range of each segment, the number of messages of each segment and the identification code of start-stop messages of each segment; the chat room messages include several chat messages.
In the embodiment of the invention, after receiving the playback instruction of the live broadcast, the terminal acquires the segment information of the chat room message from the server.
Step 202, obtaining the chat message of the corresponding segment according to the playing time required by the playback operation.
In the embodiment of the invention, the chat message of the corresponding segment of the playing time is acquired, and the fast-response request of the live playback of the user can be quickly responded. Wherein, step 202 may further include the steps of:
judging whether the chat message of the corresponding segment exists in a local cache file in advance according to the required playing time; if yes, reading the chat message corresponding to the segment to the memory; if not, obtaining the chat message of the corresponding segment from the server, and writing the chat message obtained from the server into a local cache file.
Specifically, in the playing process, the terminal firstly judges whether the next message exists in a local cache file, if so, the message is read from the cache file to the memory, and if not, the back-end interface is called to obtain the message, the message is read to the memory, and the message is written into the cache file. Here, the cache file is written to avoid repeatedly calling the same interface for many times in a short time. Note that in order to display the message to the user at the correct time, the terminal needs to perform this operation x seconds in advance, which is flexibly determined according to the specific service scenario.
After step 202, the method may further include:
judging whether the message amount is too large according to the loaded chat messages;
if yes, removing the first preset time or the first preset number of chat messages from the memory according to the required playing time.
In the embodiment of the invention, if the message volume of live broadcast playback is larger, the terminal can remove the earlier message from the memory in order to optimize the performance, and the user reloads the previous message when sliding the chat list and wants to see the earlier message. The standard for leaving the messages may be to only keep the messages m seconds before the current playing time node, that is, to remove the chat messages within the first preset time from the memory, or to only keep the n messages closest to the current playing time node, that is, to remove the first preset number of chat messages from the memory. The first preset time and the first preset number can be set according to specific service conditions and the performance of the equipment.
Step 203, playing time synchronization display multimedia information and chat messages according to requirements.
In order to solve the problem that the synchronous playback of the chat messages and the multimedia information can not be realized in the existing network live broadcast, the embodiment of the invention carries out sectional processing on the chat room messages corresponding to the live broadcast through the server after the live broadcast, when the terminal needs to play back, the sectional chat messages corresponding to the required playing time are obtained according to the sectional information provided by the server, and the synchronous display of the multimedia information and the chat messages is realized.
Referring to fig. 3, a live playback apparatus according to still another embodiment of the present invention is applied to a server, and can be used to implement corresponding steps of the foregoing method embodiment, including:
the system comprises a first acquisition module, a second acquisition module and a chat room processing module, wherein the first acquisition module is used for acquiring live multimedia information and corresponding chat room information, and the chat room information comprises a plurality of chat messages;
the conversion module is connected with the first acquisition module and is used for converting the absolute issuing time of the chat message into the relative issuing time based on the multimedia information playing;
the segmentation module is connected with the conversion module and used for segmenting the chat room messages according to the relative release time after the live broadcast is finished to obtain segmentation information, wherein the segmentation information comprises the number of segments, the time range of each segment, the number of messages of each segment and the start-stop message identification codes of each segment;
and the sending module is connected with the segmenting module and used for responding to the playback operation of the live broadcast, sending the segmenting information to the terminal and sending the chat message corresponding to the segmenting to the terminal according to the playing time required by the playback operation so that the terminal synchronously displays the multimedia information and the chat message according to the playing time required by the playback operation.
Referring to fig. 4, a live playback apparatus according to another embodiment of the present invention is applied to a terminal, and can be used to implement corresponding steps of the foregoing method embodiment, including:
the second acquisition module is used for responding to the playback operation of the live broadcast and acquiring the segmentation information, and the segmentation information comes from the server; the server converts the absolute publishing time of the chat messages into the relative publishing time based on multimedia information playing, and segments the chat room messages according to the relative publishing time after the live broadcast is finished to obtain segmented information, wherein the segmented information comprises the number of segments, the time range of each segment, the number of messages of each segment and the identification codes of start-stop messages of each segment, and the chat room messages comprise a plurality of chat messages;
the third acquisition module is connected with the second acquisition module and is used for acquiring the chat messages of the corresponding segments according to the playing time required by the playback operation;
and the display module is connected with the third acquisition module and is used for synchronously displaying the multimedia information and the chat message according to the required playing time.
In a further aspect, the present invention provides a computer device comprising a memory having a computer program stored thereon and a processor that, when executing the computer program, implements the method as described above.
In a further aspect, the invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, is operable to implement a method as described above.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A live playback method is applied to a server and is characterized by comprising the following steps:
acquiring live multimedia information and corresponding chat room information, wherein the chat room information comprises a plurality of chat messages;
converting the absolute time of the chat message to the relative time of the chat message based on the multimedia information playing;
after the live broadcast is finished, segmenting the chat room messages according to the release relative time to obtain segmented information, wherein the segmented information comprises the segmented number, the time range of each segment, the message number of each segment and the start-stop message identification code of each segment;
responding to the playback operation of the live broadcast, sending the segmented information to a terminal, and sending the chat message corresponding to the segments to the terminal according to the required playing time of the playback operation, so that the terminal synchronously displays the multimedia information and the chat message according to the required playing time.
2. The live playback method of claim 1, wherein the step of converting the absolute time of publication of the chat message to a relative time of publication based on the playing of the multimedia information comprises:
acquiring a publishing time stamp of the chat message and a starting time stamp of the live broadcast;
and obtaining the relative issuing time according to the difference value of the issuing time stamp and the starting time stamp.
3. The live broadcast playback method according to claim 1, wherein the step of segmenting the chat room message according to the release relative time after the live broadcast is finished to obtain segmented information includes:
preprocessing the chat room message according to a time span threshold;
and segmenting the preprocessed chat room messages according to the relative publishing time and the fixed message quantity requirement.
4. A live broadcast playback method is applied to a terminal, and is characterized by comprising the following steps:
responding to the playback operation of the live broadcast, and acquiring segmentation information, wherein the segmentation information comes from a server; the server converts the absolute publishing time of the chat message into the relative publishing time based on multimedia information playing, and segments the chat room message according to the relative publishing time after the live broadcast is finished to obtain the segmented information, wherein the segmented information comprises the segmented number, the time range of each segment, the message number of each segment and the start-stop message identification code of each segment; the chat room messages comprise a plurality of the chat messages;
obtaining the chat message of the corresponding segment according to the playing time required by the playback operation;
and synchronously displaying the multimedia information and the chat message according to the required playing time.
5. The live playback method of claim 4, wherein the step of obtaining the chat message of the corresponding segment according to the required playing time of the playback operation comprises:
judging whether the chat message of the corresponding segment exists in a local cache file in advance according to the required playing time; if yes, reading the chat message of the corresponding segment to a memory; if not, the chat messages of the corresponding segments are obtained from the server, and the chat messages obtained from the server are written into the local cache file.
6. The live playback method according to claim 5, after the step of obtaining the chat message of the corresponding segment according to the play-required time of the playback operation, further comprising:
judging whether the message amount is too large according to the loaded chat messages;
and if so, removing the chat messages with the first preset time or the first preset quantity from the memory according to the required playing time.
7. A live playback device applied to a server includes:
the system comprises a first acquisition module, a second acquisition module and a chat room processing module, wherein the first acquisition module is used for acquiring live multimedia information and corresponding chat room information, and the chat room information comprises a plurality of chat messages;
the conversion module is used for converting the absolute issuing time of the chat message into the relative issuing time based on the multimedia information playing;
the segmentation module is used for segmenting the chat room messages according to the relative release time after the live broadcast is finished to obtain segmentation information, wherein the segmentation information comprises segmentation quantity, time range of each segment, message quantity of each segment and start-stop message identification codes of each segment;
and the sending module is used for responding to the playback operation of the live broadcast, sending the segmented information to a terminal, and sending the chat message corresponding to the segmentation to the terminal according to the required playing time of the playback operation, so that the terminal synchronously displays the multimedia information and the chat message according to the required playing time.
8. A live playback device is applied to a terminal and is characterized by comprising:
the second acquisition module is used for responding to the playback operation of the live broadcast and acquiring the segmentation information, and the segmentation information comes from the server; the server converts the absolute publishing time of the chat messages into the relative publishing time based on multimedia information playing, and segments the chat room messages according to the relative publishing time after the live broadcast is finished to obtain the segment information, wherein the segment information comprises the segment number, the time range of each segment, the message number of each segment and the start-stop message identification code of each segment, and the chat room messages comprise a plurality of chat messages;
a third obtaining module, configured to obtain the chat message corresponding to the segment according to the required playing time of the playback operation;
and the display module is used for synchronously displaying the multimedia information and the chat message according to the required playing time.
9. A computer device, characterized in that the computer device comprises a memory, on which a computer program is stored, and a processor, which when executing the computer program implements the method according to any of claims 1 to 6.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when being executed by a processor, is adapted to carry out the method according to any one of claims 1 to 6.
CN202211647060.3A 2022-12-21 2022-12-21 Live broadcast playback method and device, computer equipment and storage medium Pending CN115633194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211647060.3A CN115633194A (en) 2022-12-21 2022-12-21 Live broadcast playback method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211647060.3A CN115633194A (en) 2022-12-21 2022-12-21 Live broadcast playback method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115633194A true CN115633194A (en) 2023-01-20

Family

ID=84910952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211647060.3A Pending CN115633194A (en) 2022-12-21 2022-12-21 Live broadcast playback method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115633194A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345638A (en) * 2007-07-12 2009-01-14 中兴通讯股份有限公司 Equity system supporting time shift business
CN106131593A (en) * 2016-06-28 2016-11-16 乐视控股(北京)有限公司 Content processing method and device
CN108174305A (en) * 2016-12-07 2018-06-15 北京云中融信网络科技有限公司 The message treatment method and device of chatroom is broadcast live
CN110399489A (en) * 2019-07-08 2019-11-01 厦门市美亚柏科信息股份有限公司 A kind of chat data segmentation method, device and storage medium
CN112188225A (en) * 2020-09-29 2021-01-05 上海哔哩哔哩科技有限公司 Bullet screen issuing method for live broadcast playback and live broadcast video bullet screen playback method
CN112601101A (en) * 2020-12-11 2021-04-02 北京有竹居网络技术有限公司 Subtitle display method and device, electronic equipment and storage medium
CN113411620A (en) * 2021-05-25 2021-09-17 北京达佳互联信息技术有限公司 Live broadcast clip display method and device, electronic equipment and storage medium
CN113542870A (en) * 2021-06-25 2021-10-22 惠州Tcl云创科技有限公司 Video segmentation clipping processing method and device based on mobile terminal and terminal
CN113630618A (en) * 2021-08-06 2021-11-09 上海哔哩哔哩科技有限公司 Video processing method, device and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345638A (en) * 2007-07-12 2009-01-14 中兴通讯股份有限公司 Equity system supporting time shift business
CN106131593A (en) * 2016-06-28 2016-11-16 乐视控股(北京)有限公司 Content processing method and device
CN108174305A (en) * 2016-12-07 2018-06-15 北京云中融信网络科技有限公司 The message treatment method and device of chatroom is broadcast live
CN110399489A (en) * 2019-07-08 2019-11-01 厦门市美亚柏科信息股份有限公司 A kind of chat data segmentation method, device and storage medium
CN112188225A (en) * 2020-09-29 2021-01-05 上海哔哩哔哩科技有限公司 Bullet screen issuing method for live broadcast playback and live broadcast video bullet screen playback method
CN112601101A (en) * 2020-12-11 2021-04-02 北京有竹居网络技术有限公司 Subtitle display method and device, electronic equipment and storage medium
CN113411620A (en) * 2021-05-25 2021-09-17 北京达佳互联信息技术有限公司 Live broadcast clip display method and device, electronic equipment and storage medium
CN113542870A (en) * 2021-06-25 2021-10-22 惠州Tcl云创科技有限公司 Video segmentation clipping processing method and device based on mobile terminal and terminal
CN113630618A (en) * 2021-08-06 2021-11-09 上海哔哩哔哩科技有限公司 Video processing method, device and system

Similar Documents

Publication Publication Date Title
CN111213385B (en) Content modification method, media client and non-transitory computer readable medium
CN108933948B (en) Video playing progress synchronization method and device
CN105635180B (en) Information push method and device
CN108989856B (en) Processing method, terminal and medium for acquiring positive film associated data based on short video
CN106998494B (en) Video recording method and related device
CN106998485B (en) Video live broadcasting method and device
CN105704504B (en) Method, device, equipment and storage medium for inserting push information in live video
CN113518247A (en) Video playing method, related equipment and computer readable storage medium
CN110691281B (en) Video playing processing method, terminal device, server and storage medium
CN112954434B (en) Subtitle processing method, system, electronic device and storage medium
CN110830823B (en) Play progress correction method and device, electronic equipment and readable storage medium
US20100154012A1 (en) Television bookmarking with multiplatform distribution
CN106231367B (en) Beautifying processing method and device
CN111246238A (en) Live broadcast method, device, storage medium and live broadcast system
CN114071174A (en) Processing method of live content, electronic equipment and readable storage medium
CN108491315B (en) Page residence time counting method and device and computer readable storage medium
CN111182334B (en) Data processing method, server, terminal, and storage medium
CN112788090B (en) Network resource transmission method, device and system
US12035003B2 (en) Content-modification system with user experience analysis feature
CN115633194A (en) Live broadcast playback method and device, computer equipment and storage medium
CN110536150B (en) Downloading method and pushing method of live broadcast application and corresponding devices
CN109302633B (en) Television program scheduled recording method and device, smart television and readable storage medium
WO2020247845A1 (en) Content-modification system with probability-based selection feature
CN103313124A (en) Local recording service implementation method and local recording service implementation device
CN112449209B (en) Video storage method and device, cloud server and computer readable storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20230120