CN114430491A - Live broadcast-based data processing method and device - Google Patents

Live broadcast-based data processing method and device Download PDF

Info

Publication number
CN114430491A
CN114430491A CN202210072740.0A CN202210072740A CN114430491A CN 114430491 A CN114430491 A CN 114430491A CN 202210072740 A CN202210072740 A CN 202210072740A CN 114430491 A CN114430491 A CN 114430491A
Authority
CN
China
Prior art keywords
live broadcast
target
target segment
segment corresponding
video
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
CN202210072740.0A
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.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network 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 Beijing Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202210072740.0A priority Critical patent/CN114430491A/en
Publication of CN114430491A publication Critical patent/CN114430491A/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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • 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/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application discloses a live broadcast-based data processing method which can be executed by a server side. In an example, the server may obtain a video that has been played in a first live broadcast during the first live broadcast, determine a target segment corresponding to the first live broadcast based on the video that has been played in the first live broadcast, send the target segment corresponding to the first live broadcast to the client, and play the target segment corresponding to the first live broadcast by the client. The target segment corresponding to the first live broadcast is a segment with a relatively large attraction in the video played by the first live broadcast, and the attraction of the target segment corresponding to the first live broadcast is relatively large, so that more users can be attracted.

Description

Live broadcast-based data processing method and device
Technical Field
The present application relates to the field of data processing, and in particular, to a live broadcast-based data processing method and apparatus.
Background
In recent years, with the progress of streaming media technology and the rapid increase of network bandwidth, video services are getting hot, and live broadcasting is gradually applied to aspects of people's lives. For example, the anchor may recommend related goods in the live broadcast, and the user may purchase the related goods directly in the live broadcast while watching the live broadcast.
How to attract more users to enter the live broadcasting room is a problem to be solved at present.
Disclosure of Invention
The technical problem to be solved by the application is how to attract more users to enter a live broadcast room, and a live broadcast-based data processing method and device are provided.
In a first aspect, an embodiment of the present application provides a live broadcast-based data processing method, where the method includes:
in the process of first live broadcasting, acquiring a video played by the first live broadcasting;
determining a target segment corresponding to the first direct playing based on the video played by the first direct playing;
and sending the target segment corresponding to the first direct broadcasting to a client, and playing the target segment corresponding to the first direct broadcasting by the client.
Optionally, the determining, based on the video already played by the first live broadcast, a target segment corresponding to the first live broadcast includes:
acquiring a plurality of long sentences in the video, and determining a target score of each long sentence in the plurality of long sentences;
and obtaining the target segment according to the video segment corresponding to the long sentence with the target score higher than a first threshold value in the plurality of long sentences.
Optionally, the obtaining the first long sentence includes:
acquiring a plurality of clauses in the video, and determining semantic labels of the clauses;
and determining a long sentence consisting of at least one sentence which continuously appears in the plurality of sentences and corresponds to the same semantic label as the first long sentence.
Optionally, the determining the target score of the first long sentence includes:
determining scores corresponding to a plurality of time windows with the duration being a preset duration in the video clips corresponding to the first long sentence to obtain a plurality of scores;
and determining the highest score in the plurality of scores as a target score corresponding to the first long sentence.
Optionally, if the target score of the first long sentence is higher than the first threshold, obtaining the target segment according to the video segment corresponding to the first long sentence, including:
and determining the video segments starting from the starting time of the time window corresponding to the target score in the video segments corresponding to the first long sentence as the target segments.
Optionally, the determining scores corresponding to a plurality of time windows with a duration of a preset duration in the video segment corresponding to the first long sentence includes:
and determining corresponding scores in the time windows based on the scores of the clauses in at least one clause included in the time windows.
Optionally, the score of each clause is determined according to the keyword in each clause and the score of the keyword.
Optionally, the method further includes:
processing the target segment;
the sending the target segment to the client and playing the target segment by the client comprise:
and sending the video clip obtained after the target clip is processed to the client, and playing the video clip obtained after the processing by the client.
Optionally, the processing the target segment includes: adding one or more of the following to the target fragment:
the method comprises the steps of composing layout, voice, music, subtitles, an entrance of the first live broadcast and a purchase link of commodities included in a target segment corresponding to the first live broadcast.
Optionally, the method further includes:
determining a target segment corresponding to the second live broadcast;
generating a target short video based on the target segment corresponding to the first live broadcast and the target segment corresponding to the second live broadcast;
the sending the target segment corresponding to the first direct broadcast to the client comprises:
and sending the target short video to the client.
Optionally, the determining a target segment corresponding to the second live broadcast includes:
and determining a target segment corresponding to the second live broadcast in the process of the second live broadcast.
In a second aspect, an embodiment of the present application provides a live broadcast-based data processing method, where the method includes:
receiving a target segment corresponding to a first direct broadcast sent by a server in the process of the first direct broadcast;
and playing the target segment corresponding to the first direct playing.
Optionally, the receiving the target segment corresponding to the first direct broadcast sent by the server includes:
and receiving a target short video sent by the server, wherein the target short video comprises a target segment corresponding to the first live broadcast and a target segment corresponding to the second live broadcast.
Optionally, the playing the target segment corresponding to the first direct playing includes:
and playing the target short video.
In a third aspect, an embodiment of the present application provides a live broadcast-based data processing apparatus, where the apparatus includes:
the device comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring a video played in a first direct broadcast in the process of the first direct broadcast;
a first determining unit, configured to determine, based on the video already played in the first live broadcast, a target segment corresponding to the first live broadcast;
and the sending unit is used for sending the target segment corresponding to the first direct broadcasting to a client, and the client plays the target segment corresponding to the first direct broadcasting.
Optionally, the first determining unit is configured to:
acquiring a plurality of long sentences in the video, and determining a target score of each long sentence in the plurality of long sentences;
and obtaining the target segment according to the video segment corresponding to the long sentence with the target score higher than a first threshold value in the plurality of long sentences.
Optionally, the obtaining the first long sentence includes:
acquiring a plurality of clauses in the video, and determining semantic labels of the clauses;
and determining a long sentence consisting of at least one sentence which continuously appears in the plurality of sentences and corresponds to the same semantic label as the first long sentence.
Optionally, the determining the target score of the first long sentence includes:
determining scores corresponding to a plurality of time windows with duration being preset duration in the video segment corresponding to the first long sentence to obtain a plurality of scores;
and determining the highest score in the plurality of scores as a target score corresponding to the first long sentence.
Optionally, if the target score of the first long sentence is higher than the first threshold, the first determining unit is configured to:
and determining the video segment starting from the starting time of the time window corresponding to the target score in the video segments corresponding to the first long sentence as the target segment.
Optionally, the determining scores corresponding to a plurality of time windows with a duration of a preset duration in the video segment corresponding to the first long sentence includes:
and determining corresponding scores in the time windows based on the scores of the clauses in at least one clause included in the time windows.
Optionally, the score of each clause is determined according to the keyword in each clause and the score of the keyword.
Optionally, the apparatus further comprises:
the processing unit is used for processing the target segment;
the sending unit is configured to:
and sending the video clip obtained after the target clip is processed to the client, and playing the video clip obtained after the processing by the client.
Optionally, the processing the target segment includes: adding one or more of the following to the target fragment:
the method comprises the steps of composing layout, voice, music, subtitles, an entrance of the first live broadcast and a purchase link of commodities included in a target segment corresponding to the first live broadcast.
Optionally, the apparatus further comprises:
the second determining unit is used for determining a target segment corresponding to the second live broadcast;
a generating unit, configured to generate a target short video based on the target segment corresponding to the first live broadcast and the target segment corresponding to the second live broadcast;
the sending unit is configured to:
and sending the target short video to the client.
Optionally, the second determining unit is configured to:
and determining a target segment corresponding to the second live broadcast in the process of the second live broadcast.
In a fourth aspect, an embodiment of the present application provides a live broadcast-based data processing apparatus, where the apparatus includes:
the receiving unit is used for receiving a target segment corresponding to a first direct broadcast sent by a server in the process of the first direct broadcast;
and the playing unit is used for playing the target segment corresponding to the first direct playing.
Optionally, the receiving unit is configured to:
and receiving a target short video sent by the server, wherein the target short video comprises a target segment corresponding to the first live broadcast and a target segment corresponding to the second live broadcast.
Optionally, the playing unit is configured to:
and playing the target short video.
In a fifth aspect, the present embodiment provides a computer-readable storage medium, which is characterized by comprising instructions that instruct a device to perform the method according to any one of the above first aspects, or instruct a device to perform the method according to any one of the above second aspects.
In a sixth aspect, embodiments of the present application provide a computer program product, which when run on a computer, causes the computer to perform the method of any one of the above first aspects, or causes the computer to perform the method of any one of the above second aspects.
Compared with the prior art, the embodiment of the application has the following advantages:
the embodiment of the application provides a live broadcast-based data processing method which can be executed by a server side. In an example, the server may obtain a video that has been played in a first live broadcast during the first live broadcast, determine a target segment corresponding to the first live broadcast based on the video that has been played in the first live broadcast, send the target segment corresponding to the first live broadcast to the client, and play the target segment corresponding to the first live broadcast by the client. The target segment corresponding to the first live broadcast is a segment with a relatively large attraction in the video played by the first live broadcast, and the attraction of the target segment corresponding to the first live broadcast is relatively large, so that more users can be attracted.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a signaling interaction diagram of a live broadcast-based data processing method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a live broadcast-based data processing apparatus according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a live broadcast-based data processing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram based on an electronic device according to an embodiment of the present application
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The inventor of the application discovers through research that at present, a user can be told about live broadcast time in a mode of propaganda in advance so as to remind the user to watch live broadcast. However, this approach does not attract a large number of users into the live room.
The inventors of the present application have also found that a live broadcast typically lasts for a long time, e.g. more than 30 minutes or even up to several hours. In the process of live broadcasting, video clips with larger attraction often exist, if the video clips with larger attraction in the videos played in the live broadcasting can be extracted and played at the client, a user can be attracted to enter the live broadcasting room to watch the next live broadcasting content, and the effect that more and more users enter the live broadcasting room along with the live broadcasting can be achieved.
In view of this, the present application provides a live broadcast-based data processing method.
Various non-limiting embodiments of the present application are described in detail below with reference to the accompanying drawings.
Exemplary method
Referring to fig. 1, this figure is a signaling interaction diagram of a live broadcast-based data processing method according to an embodiment of the present application. The method shown in fig. 1 may be implemented by S101-S104 as follows.
The client shown in fig. 1 may be, for example, a client corresponding to an application program providing a live broadcast service. The server may be a server corresponding to the application providing the live broadcast service.
S101: and the server acquires the video played by the first direct broadcasting in the process of the first direct broadcasting.
For example, the following steps are carried out: the server can obtain the video played M minutes before the first live broadcast in the mth minute of the first live broadcast.
S102: and the server determines a target segment corresponding to the first direct playing based on the video played by the first direct playing.
It should be noted that the target segment corresponding to the first live broadcast mentioned herein is a segment in the video that has been played in the first live broadcast, and the target segment corresponding to the first live broadcast may be a segment with a higher attraction in the video that has been played in the first live broadcast. The target segment corresponding to the first live broadcast may be, for example, a highlight moment segment in a video that has been played by the first live broadcast.
The highlight moment segment corresponding to the first through play mentioned here may be a segment with a relatively high attraction in the video already played by the first through play. The highlight moment segment can be measured according to information of a certain dimension or a plurality of dimensions, and the data dimension for measuring the highlight moment segment can be determined according to the content of the video played in the first direct playing. The data dimension may be, for example, a description of a good, a price, etc., and is not intended to be exhaustive.
In this embodiment of the application, the server may analyze the video that has been played in the first live broadcast to determine a target segment corresponding to the first live broadcast.
It can be understood that, for live broadcasting, the image content is relatively fixed, and the attraction force is relatively large in relation to the voice in the live broadcasting process. Therefore, in an example, the server may first perform voice recognition on the video that has been played in the first live broadcast, so as to obtain a sentence corresponding to the voice in the video. And then, determining a target segment corresponding to the first direct playing according to the sentence corresponding to the video played by the first direct playing.
In one example, the server may determine the target segment corresponding to the first direct broadcast through the following steps a 1-A3.
Step A1: and acquiring a plurality of long sentences in the video played in the first direct play.
For convenience of description, any one of the long sentences is referred to as a "first long sentence".
In this embodiment, the first long sentence may be composed of several continuous sentences in the video that has been played in the first broadcast. And the clauses forming the first long sentence correspond to the same semantic meaning. Namely: the first long sentence is semantically complete.
In an example, in a specific implementation, step a1 may first obtain a plurality of clauses in the video that has been played in the first broadcast, then determine semantic tags of the clauses, and determine a long sentence composed of at least one clause that continuously appears in the plurality of clauses and corresponds to the same semantic tag as the first long sentence.
And the semantic label of the clause is used for identifying the semantic of the clause. For a certain clause, the semantic label of the clause may be determined according to the keyword in the clause, for example, the name of the trade in the clause may be determined as the semantic label of the clause, and for example, when a specific price appears in the clause, "price" may be determined as the semantic label of the clause.
For example, the following steps are carried out: the video played in the first broadcast includes 100 clauses, wherein semantic tags of the 3 rd clause to the 20 th clause are all a certain commodity, so that a long sentence composed of 18 clauses of the 3 rd clause to the 20 th clause can be determined as a first long sentence.
Step A2: determining a target score for each of the plurality of long sentences.
In the embodiment of the present application, the implementation manner of determining the target score of each long sentence is similar, and the description is given by taking the determination of the target score of the first long sentence as an example.
In one example, the target score of the first long sentence may be determined according to the scores of the clauses composing the first long sentence, for example, the target score of the first long sentence may be obtained by weighted summation of the scores of the clauses composing the first long sentence.
For a certain clause, the score of the clause can be determined according to the keywords in the clause and the scores of the keywords. For example, the score of the clause is equal to the sum of the scores corresponding to the keywords respectively included in the clause. In one example, a rule of scoring the keywords may be formulated in advance, and then based on the rule of scoring, the scores of the keywords included in the clauses are determined.
The embodiment of the present application is not specifically limited with respect to the scoring rule, and in one example, the scoring rule may refer to table 1 below.
TABLE 1
Keyword types Score of
Trade name 1
Product function 0.7
Price advantage 0.6
Universal pain point 0.8
Digital words and phrases 0.3
General advantages 0.3
Service advantage 0.3
Brand 0.3
Ingredients 0.1
Composition (I) 0.1
Weight (D) 0.1
Capacity of 0.1
Producing area 0.1
Colour(s) 0.1
Material of 0.1
Style 0.1
Style of a book 0.1
Style(s) 0.1
Application scenario 0.3
Suitable season 0.1
Table 1 is shown as an example, and table 1 is not limited to the embodiments of the present application.
Now exemplified in connection with table 1: suppose the clauses are: "this cream price directly falls 20 yuan this night", then "cream" hits "trade name" in the above table, "directly falls 20 yuan" hits "price advantage" and "digital word" in the above table respectively, therefore, the score of this clause is the sum of score 1 corresponding to "trade name", score 0.6 corresponding to "price advantage" and score 0.3 corresponding to "digital word", namely: the score of the clause is: 1.9.
in another example, the video segment corresponding to the first long sentence may be processed by using a time window mechanism, for example, the video segment corresponding to the first long sentence is processed by using a time window with a duration of a preset duration (e.g., 5 s). Then, the score corresponding to each time window is calculated to obtain a plurality of scores. It will be appreciated that the highest score indicates a higher attraction. In one example, a highest score of the plurality of scores may be determined as a target score for the first long sentence.
When the score corresponding to each time window is calculated, in a specific implementation, the score corresponding to each time window may be determined based on the score of each clause in at least one clause included in each time window of the plurality of time windows.
Taking a first time window of the plurality of time windows as an example:
the score corresponding to the first time window is determined according to the score of each clause in the first time window, and if the first time window includes N clauses, the score corresponding to the first time window can be calculated according to the following formula (1):
Figure BDA0003482705430000101
in equation (1):
f1 is the score corresponding to the first time window;
i is the number of the clauses in the first time window;
n is the total number of the clauses in the first time window;
the sensor _ decay is a weight decay value, and in one example, the value of the sensor _ decay may be 0.5;
f (presence _ i) represents the score of the ith clause.
Step A3: and obtaining the target segment according to the video segment corresponding to the long sentence with the target score higher than a first threshold value in the plurality of long sentences.
In the embodiment of the present application, if the target score of a long sentence is higher than the first threshold, it indicates that the attraction of the video segment corresponding to the long sentence is large, and therefore, the target segment may be obtained from the video segment corresponding to the long sentence with the target score higher than the first threshold among the plurality of long sentences.
In the embodiment of the application, a target segment can be obtained according to a video segment corresponding to a long sentence with a target score higher than a first threshold value. In other words, the target segment corresponding to the first direct broadcast may include at least one target segment.
It should be noted that, the first threshold is not specifically limited in the embodiments of the present application, and the first threshold may be adjusted according to actual situations. In one example, the adjustment criteria for the first threshold is: and after the first direct broadcasting is carried out for a certain time, at least one target segment is produced.
It is understood that if the target score corresponding to the first long sentence is higher than the first threshold, the step a3, when implemented specifically, may include: and obtaining a corresponding target segment according to the video segment corresponding to the first long sentence.
Next, a specific implementation of "obtaining a corresponding target segment according to a video segment corresponding to the first long sentence" is described.
In one example, a video segment corresponding to the first long sentence may be determined as the target segment.
In yet another example, considering that the first segment of a video segment is important, whether the video segment is able to attract the user is largely determined by the attraction of the first segment of the video segment. In contrast, in the video segment corresponding to the first long sentence, the attraction force of the segment corresponding to the time window corresponding to the target score is the largest, and therefore, the video segment starting from the start time of the time window corresponding to the target score in the video segment corresponding to the first long sentence can be determined as the target segment.
S103: and the server side sends the target segment corresponding to the first direct broadcasting to the client side.
In one example, the server may directly send the target segment corresponding to the first direct broadcast to at least one client.
In one example, to implement accurate recommendation, when a server sends a target corresponding to a first live broadcast to a client, the server may send the target segment corresponding to the first live broadcast to the client corresponding to a user with a corresponding tag in combination with a semantic tag of the target segment corresponding to the first live broadcast.
For example, the following steps are carried out: the semantic label of the target segment corresponding to the first live broadcast is mother-infant, and the label corresponding to the first user is newscast mother, so that the target segment corresponding to the first live broadcast can be sent to the client corresponding to the first user.
The tag of the user may be determined according to the live video or short video watched by the user historically, and will not be described in detail here.
In yet another example, the server may further process a target segment corresponding to the first direct broadcast. For this case, in a specific implementation, S103 may send the video segment obtained by processing the target segment to the client.
In this embodiment of the application, when the target segment corresponding to the first live broadcast is processed in a specific implementation, one or more items of a composition layout, a voice, a music, a subtitle, an entry of the first live broadcast, a purchase link of a commodity included in the target segment corresponding to the first live broadcast, and the like may be added to the target segment corresponding to the first live broadcast.
It can be understood that, by adding the entry of the first live broadcast to the target segment corresponding to the first live broadcast, the user can directly perform the live broadcast of the first live broadcast through the entry of the first live broadcast.
In yet another example, the server may further determine a target segment corresponding to the second live broadcast; and generating a target short video based on the target segment corresponding to the first live broadcast and the target segment corresponding to the second live broadcast. For this case, in a specific implementation, S103, the client may send the target short video to the client.
In an example, if a live time period of the second live broadcast and a live time period of the first live broadcast overlap, the server may determine, in a process of the second live broadcast, a target segment corresponding to the second live broadcast based on a video already played by the second live broadcast.
Regarding the specific implementation of the client determining the target segment corresponding to the second live broadcast, reference may be made to S101-S102, where the client determines the specific implementation part of the target segment corresponding to the first live broadcast, and a repeated description is not made here.
In an example, the commodities included in the target segment corresponding to the first live broadcast and the commodities included in the target segment corresponding to the second live broadcast may be commodities of the same category, commodities of the same brand, and the same commodity, which is not specifically limited in this embodiment of the present application.
With respect to the target short video, there are now exemplified:
Figure BDA0003482705430000121
s104: and the client plays the target segment corresponding to the first direct play.
And after the client receives the content sent by the server, the content can be played.
In an example, if the server sends the target segment corresponding to the first live broadcast to the client, the client may play the target segment corresponding to the first live broadcast.
In another example, if the server sends the video segment obtained by processing the target segment corresponding to the first live broadcast to the client, the client may play the video segment obtained by processing.
In another example, if the server sends a target short video including a target segment corresponding to the first live broadcast and a target segment corresponding to the second live broadcast to the client, the client may play the target short video.
As can be seen from the above description, with the adoption of the scheme, more users can enter the live broadcast room of the first live broadcast after watching the target segment corresponding to the first live broadcast played by the client.
In addition, in an example, the scheme can also enable more users to enter a live broadcast room of the second live broadcast after watching the target segment corresponding to the second live broadcast played by the client.
Exemplary device
Based on the methods provided by the above embodiments, the embodiments of the present application also provide corresponding apparatuses, which are described below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a live broadcast-based data processing apparatus according to an embodiment of the present application, and the apparatus 200 shown in fig. 2 may execute the live broadcast-based data processing method executed by the server in the foregoing method embodiment. The apparatus 200 may comprise, for example: an acquisition unit 201, a first determination unit 202, and a transmission unit 203.
An obtaining unit 201, configured to obtain, in a process of a first live broadcast, a video that has been played in the first live broadcast;
a first determining unit 202, configured to determine, based on the video already played in the first live broadcast, a target segment corresponding to the first live broadcast;
a sending unit 203, configured to send the target segment corresponding to the first direct broadcast to a client, and play the target segment corresponding to the first direct broadcast by the client.
Optionally, the first determining unit 202 is configured to:
acquiring a plurality of long sentences in the video, and determining a target score of each long sentence in the plurality of long sentences;
and obtaining the target segment according to the video segment corresponding to the long sentence with the target score higher than a first threshold value in the plurality of long sentences.
Optionally, the obtaining the first long sentence includes:
acquiring a plurality of clauses in the video, and determining semantic labels of the clauses;
and determining a long sentence consisting of at least one sentence which continuously appears in the plurality of sentences and corresponds to the same semantic label as the first long sentence.
Optionally, the determining the target score of the first long sentence includes:
determining scores corresponding to a plurality of time windows with duration being preset duration in the video segment corresponding to the first long sentence to obtain a plurality of scores;
and determining the highest score in the plurality of scores as a target score corresponding to the first long sentence.
Optionally, if the target score of the first long sentence is higher than the first threshold, the first determining unit 202 is configured to:
and determining the video segment starting from the starting time of the time window corresponding to the target score in the video segments corresponding to the first long sentence as the target segment.
Optionally, the determining scores corresponding to a plurality of time windows with a duration of a preset duration in the video segment corresponding to the first long sentence includes:
and determining corresponding scores in the time windows based on the scores of the clauses in at least one clause included in the time windows.
Optionally, the score of each clause is determined according to the keyword in each clause and the score of the keyword.
Optionally, the apparatus further comprises:
the processing unit is used for processing the target segment;
the sending unit 203 is configured to:
and sending the video clip obtained after the target clip is processed to the client, and playing the video clip obtained after the processing by the client.
Optionally, the processing the target segment includes: adding one or more of the following to the target fragment:
the method comprises the steps of composing layout, voice, music, subtitles, an entrance of the first live broadcast and a purchase link of commodities included in a target segment corresponding to the first live broadcast.
Optionally, the apparatus further comprises:
the second determining unit is used for determining a target segment corresponding to the second live broadcast;
a generating unit, configured to generate a target short video based on the target segment corresponding to the first live broadcast and the target segment corresponding to the second live broadcast;
the sending unit 203 is configured to:
and sending the target short video to the client.
Optionally, the second determining unit is configured to:
and determining a target segment corresponding to the second live broadcast in the process of the second live broadcast.
With regard to the specific implementation of the apparatus 200, reference may be made to the relevant description of the above method embodiments, and the description is not repeated here.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a live broadcast-based data processing apparatus according to an embodiment of the present application, and the apparatus 300 shown in fig. 3 may execute the live broadcast-based data processing method executed by the client according to the foregoing method embodiment. The apparatus 300 may comprise, for example: a receiving unit 301 and a playing unit 302.
A receiving unit 301, configured to receive, in a process of a first direct broadcast, a target segment corresponding to the first direct broadcast sent by a server;
a playing unit 302, configured to play the target segment corresponding to the first direct playing.
Optionally, the receiving unit 301 is configured to:
and receiving a target short video sent by the server, wherein the target short video comprises a target segment corresponding to the first live broadcast and a target segment corresponding to the second live broadcast.
Optionally, the playing unit 302 is configured to:
and playing the target short video.
With regard to the specific implementation of the apparatus 300, reference may be made to the relevant description of the above method embodiments, and the description is not repeated here.
An embodiment of the present application further provides an apparatus, which includes a processor and a memory;
the processor is configured to execute instructions stored in the memory to cause the apparatus to perform the method of any of the above method embodiments.
Referring now to FIG. 4, shown is a schematic diagram of an electronic device 400 suitable for use in implementing embodiments of the present application. The electronic device in the embodiment of the present application may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a Digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Portable Digital device), a PMP (Portable multimedia Player), a car terminal (e.g., car navigation terminal), and the like, and a fixed terminal such as a Digital TV (television), a desktop computer, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 4, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM402, and the RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 408 including, for example, magnetic tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program, when executed by the processing device 401, performs the above-described functions defined in the methods of the embodiments of the present application.
The electronic device provided by the embodiment of the present application and the method provided by the embodiment of the present application belong to the same inventive concept, and technical details that are not described in detail in the embodiment can be referred to the embodiment of the present application, and the embodiment of the present application have the same beneficial effects.
The present application provides a computer readable medium, on which a computer program is stored, wherein the program is executed by a processor to implement the method according to any of the above embodiments.
It should be noted that the computer readable medium mentioned above in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the method.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. Where the name of a unit/module does not in some cases constitute a limitation on the unit itself, for example, a voice data collection module may also be described as a "data collection module".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this application, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice in the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the attached claims
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (18)

1. A live broadcast-based data processing method is characterized by comprising the following steps:
in the process of first live broadcasting, acquiring a video played by the first live broadcasting;
determining a target segment corresponding to the first live broadcast based on the video which is played in the first live broadcast;
and sending the target segment corresponding to the first direct broadcasting to a client, and playing the target segment corresponding to the first direct broadcasting by the client.
2. The method of claim 1, wherein the determining the target segment corresponding to the first direct play based on the video already played by the first direct play comprises:
acquiring a plurality of long sentences in the video, and determining a target score of each long sentence in the plurality of long sentences;
and obtaining the target segment according to the video segment corresponding to the long sentence with the target score higher than a first threshold value in the plurality of long sentences.
3. The method of claim 2, wherein the plurality of long sentences includes a first long sentence, and wherein obtaining the first long sentence comprises:
acquiring a plurality of clauses in the video, and determining semantic labels of the clauses;
and determining a long sentence consisting of at least one sentence which continuously appears in the plurality of sentences and corresponds to the same semantic label as the first long sentence.
4. The method of claim 2, wherein the plurality of long sentences includes a first long sentence, and wherein determining the target score for the first long sentence comprises:
determining scores corresponding to a plurality of time windows with duration being preset duration in the video segment corresponding to the first long sentence to obtain a plurality of scores;
and determining the highest score in the plurality of scores as a target score corresponding to the first long sentence.
5. The method of claim 4, wherein if the target score of the first long sentence is higher than the first threshold, obtaining the target segment according to the video segment corresponding to the first long sentence, comprises:
and determining the video segment starting from the starting time of the time window corresponding to the target score in the video segments corresponding to the first long sentence as the target segment.
6. The method of claim 4, wherein the determining scores corresponding to a plurality of time windows with a duration of a preset duration in the video segment corresponding to the first long sentence comprises:
and determining corresponding scores in the time windows based on the scores of the clauses in at least one clause included in the time windows.
7. The method of claim 6, wherein the score for each sentence is determined based on a keyword in each sentence and the score for the keyword.
8. The method of claim 1, further comprising:
processing the target segment;
the sending the target segment to the client and playing the target segment by the client comprise:
and sending the video clip obtained after the target clip is processed to the client, and playing the video clip obtained after the processing by the client.
9. The method of claim 8, wherein the processing the target segment comprises: adding one or more of the following to the target fragment:
the method comprises the steps of composing layout, voice, music, subtitles, an entrance of the first live broadcast and a purchase link of commodities included in a target segment corresponding to the first live broadcast.
10. The method of claim 1, further comprising:
determining a target segment corresponding to the second live broadcast;
generating a target short video based on the target segment corresponding to the first live broadcast and the target segment corresponding to the second live broadcast;
the sending the target segment corresponding to the first direct broadcast to the client comprises:
and sending the target short video to the client.
11. The method of claim 10, wherein the determining a target segment corresponding to the second live broadcast comprises:
and in the process of the second live broadcast, determining a target segment corresponding to the second live broadcast.
12. A live broadcast-based data processing method is characterized by comprising the following steps:
receiving a target segment corresponding to a first direct broadcast sent by a server in the process of the first direct broadcast;
and playing the target segment corresponding to the first direct playing.
13. The method of claim 12, wherein the receiving the target segment corresponding to the first direct broadcast sent by the server includes:
and receiving a target short video sent by the server, wherein the target short video comprises a target segment corresponding to the first live broadcast and a target segment corresponding to the second live broadcast.
14. The method of claim 13, wherein playing the target segment corresponding to the first direct play comprises:
and playing the target short video.
15. A live broadcast-based data processing apparatus, the apparatus comprising:
the device comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring a video played in a first direct broadcast in the process of the first direct broadcast;
a first determining unit, configured to determine, based on the video already played in the first live broadcast, a target segment corresponding to the first live broadcast;
and the sending unit is used for sending the target segment corresponding to the first direct broadcasting to a client, and the client plays the target segment corresponding to the first direct broadcasting.
16. A live broadcast-based data processing apparatus, the apparatus comprising:
the receiving unit is used for receiving a target segment corresponding to a first direct broadcast sent by a server in the process of the first direct broadcast;
and the playing unit is used for playing the target segment corresponding to the first direct playing.
17. An apparatus, comprising a processor and a memory;
the processor is to execute instructions stored in the memory to cause the device to perform the method of any of claims 1 to 14.
18. A computer-readable storage medium comprising instructions that direct a device to perform the method of any of claims 1-14.
CN202210072740.0A 2022-01-21 2022-01-21 Live broadcast-based data processing method and device Pending CN114430491A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210072740.0A CN114430491A (en) 2022-01-21 2022-01-21 Live broadcast-based data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210072740.0A CN114430491A (en) 2022-01-21 2022-01-21 Live broadcast-based data processing method and device

Publications (1)

Publication Number Publication Date
CN114430491A true CN114430491A (en) 2022-05-03

Family

ID=81312606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210072740.0A Pending CN114430491A (en) 2022-01-21 2022-01-21 Live broadcast-based data processing method and device

Country Status (1)

Country Link
CN (1) CN114430491A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278274A (en) * 2022-06-15 2022-11-01 阿里巴巴(中国)有限公司 Live stream processing method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111918085A (en) * 2020-08-06 2020-11-10 腾讯科技(深圳)有限公司 Live broadcast processing method and device, electronic equipment and computer readable storage medium
CN112511854A (en) * 2020-11-27 2021-03-16 刘亚虹 Live video highlight generation method, device, medium and equipment
CN113115055A (en) * 2021-02-24 2021-07-13 华数传媒网络有限公司 User portrait and live video file editing method based on viewing behavior
CN113132752A (en) * 2019-12-30 2021-07-16 阿里巴巴集团控股有限公司 Video processing method and device
CN113766282A (en) * 2021-10-20 2021-12-07 上海哔哩哔哩科技有限公司 Live video processing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132752A (en) * 2019-12-30 2021-07-16 阿里巴巴集团控股有限公司 Video processing method and device
CN111918085A (en) * 2020-08-06 2020-11-10 腾讯科技(深圳)有限公司 Live broadcast processing method and device, electronic equipment and computer readable storage medium
CN112511854A (en) * 2020-11-27 2021-03-16 刘亚虹 Live video highlight generation method, device, medium and equipment
CN113115055A (en) * 2021-02-24 2021-07-13 华数传媒网络有限公司 User portrait and live video file editing method based on viewing behavior
CN113766282A (en) * 2021-10-20 2021-12-07 上海哔哩哔哩科技有限公司 Live video processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278274A (en) * 2022-06-15 2022-11-01 阿里巴巴(中国)有限公司 Live stream processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111711828B (en) Information processing method and device and electronic equipment
CN111970577B (en) Subtitle editing method and device and electronic equipment
CN111291220B (en) Label display method and device, electronic equipment and computer readable medium
US20190130185A1 (en) Visualization of Tagging Relevance to Video
CN111447505B (en) Video clipping method, network device, and computer-readable storage medium
CN111800671B (en) Method and apparatus for aligning paragraphs and video
CN110267113B (en) Video file processing method, system, medium, and electronic device
JP2015100039A (en) Information processor
CN108509611B (en) Method and device for pushing information
CN111163348A (en) Searching method and device based on video playing
US20230229382A1 (en) Method and apparatus for synchronizing audio and text, readable medium, and electronic device
WO2020042376A1 (en) Method and apparatus for outputting information
CN115052188B (en) Video editing method, device, equipment and medium
CN114071179A (en) Live broadcast preview method, device, equipment, program product and medium
CN113886612A (en) Multimedia browsing method, device, equipment and medium
CN114445754A (en) Video processing method and device, readable medium and electronic equipment
CN108491178A (en) Information browsing method, browser and server
CN114430491A (en) Live broadcast-based data processing method and device
CN111327960B (en) Article processing method and device, electronic equipment and computer storage medium
US20090094319A1 (en) System and method of acquiring contents
CN111767259A (en) Content sharing method and device, readable medium and electronic equipment
CN112287171A (en) Information processing method and device and electronic equipment
CN114697762B (en) Processing method, processing device, terminal equipment and medium
CN112214695A (en) Information processing method and device and electronic equipment
CN115955585A (en) Video generation method and device, electronic equipment and 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