WO2017121303A1 - Method and apparatus for playing push information during video live broadcast - Google Patents

Method and apparatus for playing push information during video live broadcast Download PDF

Info

Publication number
WO2017121303A1
WO2017121303A1 PCT/CN2017/070688 CN2017070688W WO2017121303A1 WO 2017121303 A1 WO2017121303 A1 WO 2017121303A1 CN 2017070688 W CN2017070688 W CN 2017070688W WO 2017121303 A1 WO2017121303 A1 WO 2017121303A1
Authority
WO
WIPO (PCT)
Prior art keywords
push information
video
play
information
server
Prior art date
Application number
PCT/CN2017/070688
Other languages
French (fr)
Chinese (zh)
Inventor
左洪涛
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2017121303A1 publication Critical patent/WO2017121303A1/en

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/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
    • H04N21/2668Creating a channel for a dedicated end-user group, e.g. insertion of targeted commercials based on end-user profiles
    • 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/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26283Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for associating distribution time parameters to content, e.g. to generate electronic program guide data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/4061Push-to services, e.g. push-to-talk or push-to-video
    • 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/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
    • H04N21/26603Channel 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 for automatically generating descriptors from content, e.g. when it is not made available by its provider, using content analysis techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering

Definitions

  • the present application relates to the field of video processing, and in particular, to a method and apparatus for playing push information in a live video broadcast.
  • a method for playing push information in a live video broadcast comprising the following steps:
  • the data includes a push information insertion flag, initiate a push information play request to the second server, where the push information play request carries the video identifier of the data;
  • a device for playing push information in a live video broadcast comprising: a processor and a memory, wherein the memory stores computer readable instructions, wherein the processor can perform the following operations:
  • the push information play request carries the video identifier of the data
  • a method for playing push information in a live video broadcast comprising:
  • a device for playing push information in a live video broadcast comprising a processor and a memory, wherein the memory stores computer readable instructions, which enable the processor to perform the following operations:
  • FIG. 1 is a schematic diagram of an application environment of a method and apparatus for playing push information in a live video broadcast in an example
  • FIG. 2 is a schematic diagram showing the internal structure of a terminal in an example
  • FIG. 3 is a schematic diagram showing the internal structure of a server in an example
  • FIG. 4 is a flowchart of a method for playing push information in a live video broadcast in an example
  • Figure 5 is a schematic diagram of a live video basketball game in an example
  • FIG. 6 is a schematic diagram of a process of playing push information in a live video during an example
  • FIG. 7 is a flowchart of a method for playing push information in a live video broadcast in an example
  • FIG. 8 is a structural block diagram of an apparatus for playing push information in a live video broadcast in an example
  • FIG. 9 is a structural block diagram of an apparatus for playing push information in a live video broadcast in an example
  • FIG. 10 is a structural block diagram of an apparatus for playing push information in a live video broadcast in another example.
  • first may be referred to as a second client
  • second client may be referred to as a first client, without departing from the scope of the present application.
  • Both the first client and the second client are clients, but they are not the same client.
  • FIG. 1 is a schematic diagram of an application environment of a method for playing push information in a live video broadcast, a method and device for playing push information in an example.
  • the application environment includes a terminal 110, The first server 120 and the second server 130.
  • the terminal 110 communicates with the first server 120 and the second server 130 over a network.
  • the first server 120 can be a server that can provide video data.
  • the second server 130 can be a server that can provide push information data.
  • first server 120 and the second server 130 may be the same server or different servers. If the first server 120 and the second server 130 are the same server, the same server can provide video and push information. Video and push information can be stored separately in the same server's storage space.
  • the terminal 110 reads data from the first server 120 in the live video, and determines whether the data includes a play push information mark. If the data includes the play push information mark, the terminal sends a push information play request to the second server 130, where The push information play request carries the video identifier of the data; and the push information play address corresponding to the push information selected by the second server 130 according to the push information play request, and the push information is obtained according to the push information play address.
  • Information, and then playing the push information; controlling the live broadcast of the video does not display the image and audio information of the video corresponding to the video identifier during the playing of the push information, and controlling the video live broadcast to display the video identifier after the push information is played Video and audio information.
  • the push information may be advertisements, event information, stock information, etc., and is not limited thereto.
  • FIG. 2 is a schematic diagram showing the internal structure of a terminal in an example.
  • the terminal includes a processor, a storage medium, a memory, a network interface, a sound collecting device, a display screen, a speaker, and an input device connected through a system bus.
  • the storage medium of the terminal stores an operating system, and further includes a device for playing push information in a live video broadcast, wherein the device for playing push information in the live broadcast of the video is used to implement a method for playing push information in a live video broadcast.
  • the processor is used to provide computing and control capabilities to support the operation of the entire terminal.
  • the memory in the terminal provides an environment for the operation of the device for playing the push information in the live broadcast of the video in the storage medium, and the network interface is used for network communication with the server, such as sending a request for playing the push information to the server, receiving the push information playback address returned by the server, etc. .
  • the display screen of the terminal may be a liquid crystal display or an electronic ink display screen.
  • the input device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on the terminal housing, or may be an external device. Keyboard, trackpad or mouse.
  • the terminal can be a cell phone, a tablet or a personal digital assistant. Those skilled in the art can understand that the structure shown in FIG.
  • the block diagram of the partial structure does not constitute a limitation on the terminal to which the present application is applied.
  • the specific terminal may include more or less components than those shown in the figure, or combine some components or have different components. Arrangement.
  • FIG. 3 is a schematic diagram of the internal structure of a server in an example.
  • the server includes a processor, a storage medium, a memory, and a network interface connected through a system bus.
  • the storage medium of the server stores a device for playing push information in an operating system, a database, and a live video.
  • the database stores push information and/or video, and the device for playing push information in the live broadcast of the video is used to implement a server suitable for the server.
  • the server's processor is used to provide computing and control capabilities that support the operation of the entire server.
  • the memory of the server provides an environment for the operation of the device that plays the push information in the live video of the storage medium.
  • the network interface of the server is used for communicating with an external terminal through a network connection, such as receiving a push information request sent by the terminal and returning a push information play address to the terminal.
  • the server can be implemented with a stand-alone server or a server cluster consisting of multiple servers.
  • the server can be a video server or a push information server or a server that can provide video and push information.
  • FIG. 3 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the server to which the solution of the present application is applied.
  • the specific server may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements.
  • FIG. 4 is a flow chart of a method for playing push information in a live video broadcast in an example. As shown in FIG. 4, a method for playing push information in a live video broadcast is described by a terminal angle, and includes the following steps:
  • Step 402 Read data from the first server in the live video, and determine whether the data includes a push information insertion flag. If yes, go to step 404. If no, go to step 412.
  • live video refers to live broadcast using Internet and streaming media technologies.
  • the video live broadcast process is: when the user sends a live broadcast request, the server sends the play address of the live broadcast of the video to the user according to the live broadcast information, and the user joins the corresponding multicast group according to the play address, thereby receiving the video of the live broadcast of the video. Code stream.
  • the first server is a server that can provide video data.
  • the data read is video data.
  • the push data insertion tag can be included in the video data.
  • the push information insertion tag is Hppt Live Streaming (HLS)
  • HLS Hppt Live Streaming
  • the push information insertion field is added in the extension field.
  • the step of determining whether the data includes a push information insertion flag includes: determining whether a push information insertion field is included in an extension field of the Hppt Live Streaming protocol in the data.
  • the push information insertion field can be added as needed.
  • Step 404 Initiate a push information play request to the second server, where the push information play request carries the video identifier of the data.
  • the video identification is a character string for uniquely indicating that the above data is read from the first server, that is, a video.
  • the string of the above video may include one or more of letters, numbers, characters, and the like.
  • a message for playing the push information is generated and sent to the terminal 110.
  • the message for playing the push information will include a video identifier to identify in which video the push information is added.
  • the terminal 110 may receive a message for playing the push information from the first server, and acquire the video identifier from the message for playing the push information.
  • the terminal 110 may also obtain the total duration of playing the push information from the first server.
  • the message for playing the push information includes the total duration of playing the push information in addition to the video identifier.
  • the total duration of playing the push information refers to the length of time allowed for the push information to be played.
  • the total duration of the push information can be determined according to the content of the video in the live video.
  • the live video is a live basketball game.
  • the basketball game is being replaced by a pause, and the duration of the pause can be used as the total duration of the push information.
  • the total duration of playing the push information can also be freely set as needed, for example, 1 minute, 30 seconds, and the like.
  • the total length of time for playing the push information may be further included in the request to initiate the push information playback to the second server, where the second server performs the selection of the push information.
  • Step 406 Receive a push information play address corresponding to the push information selected by the second server according to the push information play request, and obtain push information according to the push information play address.
  • the second server is a server that can provide push information.
  • the second server may select the push information according to the total duration of the push information.
  • the duration of the push information of the selected push information is less than or equal to the total duration of the push information.
  • the length of the push information played by the second server according to the push information play request is received, and the play time of the push information should be less than or equal to the total duration of the push information. If the playing time of the push information is greater than the total duration of the push information, the terminal 110 cannot complete the playing of the push information. At this time, the error may be reported to the second server, and the push information may be re-selected or the push information may not be played.
  • information such as a jump page of the push information returned by the second server may also be received.
  • the push information play address of the push information is received, the push information is read according to the push information play address, and the push information is played in the subsequent step.
  • step 408 the push information is played.
  • the video live broadcast is not displayed, and the image and audio information of the video corresponding to the video identifier are not displayed, and after the push information is played, the live video is displayed to display the video corresponding to the video identifier. And audio information.
  • step 410 the video is played.
  • the video corresponding to the video identifier continues to be played, but the drawing is paused and muted, that is, the image and audio information of the video corresponding to the video identifier are not displayed.
  • the image and audio information of the video is drawn and displayed after the push information is played.
  • the method for playing the push information in the live video broadcast after the read data is judged to include the push information insertion mark, the video identifier is acquired, and the push information play address corresponding to the push information selected according to the push information play request is received, and the play information is read according to the push information play address.
  • the push information is played for playing, and the push information is played in the live video broadcast, which increases the transmission route of the push information; and the video live broadcast does not display the video image and audio information during the process of playing the push information, and the image of the video is displayed after the push information is played.
  • audio information the seamless insertion of push information is realized, and the connection between video playback and push information playback is improved.
  • the video playback and the push information play are independent of each other, which greatly reduces the complexity of the development, and also ensures the smooth progress of the video playback from the stability, even if the push information fails to play does not affect the video playback.
  • the method for playing the push information in the live broadcast of the video further includes: drawing related information of the push information, where the related information includes pushing One or more of the information countdown, the push information detail control, and the push information interaction.
  • the push information countdown refers to displaying the duration of the remaining push information during the process of playing the push information. For example, if the push information is played for 30 seconds, when the push information is started, the display push information counts down to 30 seconds, one second. After that, the display push message countdown is 29 seconds, and so on, until the push information is played, and the push information countdown is 0 seconds.
  • the push information detail control refers to a control that can enter the detailed description window of the push information after being triggered.
  • the detailed description of the push information includes one or more descriptions of the function, usage, and applicable population of the product in the push information.
  • the interaction of the push information may include an interactive interface that provides a window for the user to select or enter information.
  • the method for playing the push information in the live broadcast of the video further includes: the push information play request further carries a user identifier; and the total duration and the user identifier of the mobile device carrying the video identifier and the play push information are initiated to the second server. Pushing the information play request, and receiving the push information play address corresponding to the second identifier of the video identifier, the total duration of the push information, and the push information selected by the user identifier.
  • the user identification is a character string for uniquely indicating the identity of the user.
  • a string can include one or more of letters, numbers, and characters.
  • the user ID can be a registered account or instant messaging ID or mobile number or email or ID number.
  • the second server may select, according to the video identifier, the total duration of the push information, and the user identifier, the push information that satisfies the user's demand and the length of the push information play is less than the total duration of the push information.
  • the second server obtains the user historical behavior data associated with the user identifier according to the user identifier, analyzes the historical behavior data of the user, and obtains the item information or service information with the highest user attention, and obtains the item information with the highest degree of attention of the user or
  • the push information with the highest relevance of the service information is sent to the terminal by the push information play address of the push information.
  • the degree of attention can be obtained according to the frequency of the user's search, and obtained according to the number of times of browsing and/or the length of browsing. Relevance refers to the metric value related to the measurement of the item information or the service information and the push information.
  • the calculation rule can be set according to the need, and the value of the correlation degree is calculated according to the calculation rule, for example, the calculation rule is pushed.
  • the information includes the name and function of the item, and the value of the relevance is 50, and the name of the item is included in the push information, and the value of the correlation is 25 or the like.
  • the push information related to the item information or the service information with the highest degree of attention of the user is acquired, and the push information with the highest cost provided by the push information provider is selected from the related push information.
  • the method for playing the push information in the live broadcast of the video further includes: acquiring response information generated during the process of playing the push information, where the response information includes the user behavior data and the user's own data; and uploading the response information.
  • the user behavior data may include a trigger operation record generated by the user viewing the push information, the number of times the operation is triggered, and the like.
  • the user's own data may include one or more of a user identifier, a device identifier of the user ID login, a network address, and the like.
  • the first server and the second server may be the same server or different servers.
  • the method of playing push information in a live video broadcast includes:
  • FIG. 5 is a schematic diagram of a live video basketball game in an example. As shown in Figure 5, during the mid-game break of the basketball game, cheerleading is played.
  • the basketball game data includes a push information insertion field
  • the video identification of the basketball game and the total duration of playing the push information are obtained from the server providing the video data.
  • the total duration of playing the push information may be the length of the intermission or less than the length of the intermission.
  • controlling the live broadcast of the video during the process of playing the push information does not display the video identifier
  • the image and audio information of the video to be used, and the video and audio information of the video corresponding to the video identifier are displayed after the broadcast of the push information is controlled.
  • FIG. 6 is a schematic diagram of a process of playing push information in a live video during an example.
  • the duration of the advertisement is 3 minutes
  • the total duration of the advertisement is 10 minutes
  • the duration of the advertisement is less than the total duration of the advertisement
  • the cheerleading team is played and obtained.
  • the advertisement play address of the jersey advertisement is read according to the advertisement play address, and the advertisement countdown is displayed, and after the end of the play, the cheerleading dance is continued.
  • FIG. 7 is a flow chart of a method for playing push information in a live video broadcast in an example. As shown in FIG. 7, a method for playing push information in a live video broadcast is described by a server perspective, and includes:
  • Step 702 Send, by the first server, data including a push information insertion mark to the live video terminal.
  • the method for playing the push information in the live video broadcast includes: using the extended field of the Hppt Live Streaming protocol in the live broadcast of the video by the first server
  • the push information insertion field is added, and the push information insertion field is used as the push information insertion flag.
  • Step 704 Receive a push information play request that is initiated by the terminal and carry the push information, and select push information according to the push information play request, and send a push information play address corresponding to the push information to the terminal, so that the The terminal acquires the push information according to the play address, and plays the push information.
  • the video live broadcast is not displayed, and the image and audio information of the video corresponding to the video identifier are not displayed, and after the push information is played, the live video is displayed to display the video corresponding to the video identifier. And audio information.
  • the second server is a server that can provide push information.
  • the second server may also select the push information according to the total duration of the push information.
  • the duration of the push information of the selected push information is less than or equal to the total duration of the push information.
  • the length of the push information playing time is less than or equal to the total duration of the push information.
  • the method for playing the push information in the live video broadcast by sending the data including the push information insertion mark to the terminal, and the push information played by the receiving terminal carrying the video identifier is played. Requesting, and selecting push information according to the push information play request, and pushing the push information corresponding address of the push information, so that the terminal plays the push information according to the push information play address, thereby realizing the push information transmitted in the live video broadcast, and increasing the push The way information is transmitted.
  • the live video does not display the image and audio information of the video, and the image and audio information of the video is displayed after the end of the push information, thereby realizing the seamless insertion of the push information and improving the video play and the push information play. Inter-connectivity.
  • the method for playing the push information in the live broadcast of the video further includes: receiving the total duration of the video identifier, playing the push information, and the user identifier push information play request, and the total of the push information according to the video identifier and the broadcast information. The duration and the user-identified push information are selected, and the push information play address corresponding to the push information is sent to the terminal.
  • the user identification is a character string for uniquely indicating the identity of the user.
  • a string can include one or more of letters, numbers, and characters.
  • the user ID can be a registered account or instant messaging ID or mobile number or email or ID number.
  • the second server may select, according to the total duration of playing the push information and the user identifier, the push information that satisfies the user's demand and the push information playing duration is less than the total duration of the push information.
  • the second server obtains the user historical behavior data associated with the user identifier according to the user identifier, analyzes the historical behavior data of the user, and obtains the item information or service information with the highest user attention, and obtains the item information with the highest degree of attention of the user or
  • the push information with the highest relevance of the service information is sent to the terminal by the push information play address of the push information.
  • the degree of attention can be obtained according to the frequency of the user's search, and obtained according to the number of times of browsing and/or the length of browsing. Relevance refers to the metric value related to the measurement of the item information or service information and the push information.
  • the calculation rule can be set according to the need, and the value of the correlation degree is calculated according to the calculation rule. For example, if the calculation rule is the name and function of the item included in the push information, The value of the relevance is 50, and the name of the item is included in the push information, and the value of the correlation is 25 or the like.
  • the push information related to the item information or the service information with the highest degree of attention of the user is acquired, and the push information with the highest cost provided by the push information provider is selected from the related push information.
  • the method for playing the push information in the live video broadcaster further includes: receiving the uploaded response information, where the response information includes the user behavior data and the user's own data.
  • User The behavior data may include a trigger operation record generated by the user viewing the push information, the number of times the operation is triggered, and the like.
  • the user's own data may include one or more of a user identifier, a device identifier of the user ID login, a network address, and the like.
  • FIG. 8 is a structural block diagram of an apparatus for playing push information in a live video broadcast in an example.
  • a device for playing push information in a live video broadcast runs on the terminal, and includes a video play module 810, a service logic module 820, a push push information module 830, and a push information play module 840. among them:
  • the video playing module 810 is configured to read data from the first server in the live video, and determine whether the data includes a push information insertion flag.
  • the push information insertion field is marked as a push information insertion field in an extension field of the Hppt Live Streaming (HLS) protocol.
  • HLS Hppt Live Streaming
  • the video playing module 810 is further configured to determine whether a push information insertion field is included in an extension field of the Hppt Live Streaming protocol in the data.
  • the push information insertion field can be added as needed.
  • the service logic module 820 is configured to acquire a video identifier of the data.
  • the business logic module 820 sends the video identification to the mid-push push information module 830.
  • the video identification is a character string for uniquely representing a video.
  • the string of the video may include one or more of letters, numbers, characters, and the like.
  • the foregoing business logic module 820 can obtain the video identifier according to the message of the push information received from the first server.
  • the service logic module 820 is configured to obtain a total duration of playing the push information according to the message for playing the push information, and send the total duration of the play push information to the push information module 830.
  • the total duration of playing push information refers to the length of time allowed for the push information to be played.
  • the total duration of the push information can be determined according to the content of the video in the live video.
  • the live video is a live basketball game. At this time, the basketball game is being replaced by a pause, and the duration of the pause can be used as the total duration of the push information.
  • the total duration of playing the push information can also be freely set as needed, for example, 1 minute, 30 seconds, and the like.
  • the push-input information module 830 is configured to initiate a push information play request carrying the video identifier to the second server, and receive a push information play address selected by the second server according to the push information play request, and play the address according to the push information. Get push information.
  • the mid-push push information module 830 is configured to receive a push information play address selected by the second server according to the total duration of playing the push information.
  • the interpolated push information module 830 is further configured to receive a play duration of the push information returned by the second server according to the push information play request, and the push information play duration is less than or equal to a total duration of playing the push information.
  • the mid-push push information module 830 enables the push information play module 840.
  • the push information playing module 840 is configured to play the push information.
  • the mid-push push information module 830 is further configured to notify the video play module 810 not to display the image and audio information of the video corresponding to the video identifier.
  • the video playing module 810 is further configured to control, during the playing of the push information, the video live broadcast does not display the image and audio information of the video corresponding to the video identifier, and control the video live broadcast to display the video identifier after the push information is played. Video image and audio information.
  • the broadcast end information is sent to the middle push push information module 830, and the push information push information module 830 returns the push information play end information to the service logic module 820.
  • the service logic module 820 sends the push information playback end information to the video play module 810.
  • the video play module 810 renders the video image and the audio information corresponding to the video identifier according to the push information play end information, and controls the video live broadcast to display the video logo. Corresponding video image and audio information.
  • the video corresponding to the video identifier continues to be played, but the drawing is paused and muted, that is, the image and audio information of the video corresponding to the video identifier are not displayed.
  • the image and audio information of the video is drawn and displayed after the push information is played.
  • the device for playing the push information in the live video broadcast after determining that the push information insertion flag is included in the read data, receiving the push information play address corresponding to the push information selected according to the push information play request, and reading the push information according to the push information play address Play, realize the broadcast information in the live broadcast of the video, and increase the transmission route of the push information.
  • the live video does not display the video image and audio information, and the image and audio information of the video is displayed after the push information is played, thereby realizing the seamless insertion of the push information and improving the video play and the push information play. Cohesiveness.
  • video playback and push information playback are independent of each other, greatly reducing the complexity of development, while also ensuring the video from the stability The playback proceeds smoothly, even if the push information playback fails, the video playback will not be affected.
  • the interpolated push information module 830 is further configured to: after the obtaining the push information according to the push information play address, draw related information of the push information, where the related information includes a push information countdown, a push information detail control, and a push One or more of the interaction of information.
  • the push information countdown refers to displaying the duration of the remaining push information during the process of playing the push information. For example, if the push information is played for 30 seconds, when the push information is started, the display push information counts down to 30 seconds, one second. After that, the display push message countdown is 29 seconds, and so on, until the push information is played, and the push information countdown is 0 seconds.
  • the push information detail control refers to a control that can enter the detailed description window of the push information after being triggered.
  • the detailed description of the push information includes one or more descriptions of the function, usage, and applicable population of the product in the push information.
  • the interaction of the push information may include an interactive interface that provides a window for the user to select or enter information.
  • the push information play request also carries a user identification.
  • the user identification is a character string for uniquely indicating the identity of the user.
  • a string can include one or more of letters, numbers, and characters.
  • the user ID can be a registered account or instant messaging ID or mobile number or email or ID number.
  • the second server may select, according to the video identifier, the total duration of the push information, and the user identifier, the push information that satisfies the user's demand and the length of the push information play is less than the total duration of the push information.
  • the interpolated push information module 830 is further configured to initiate, to the second server, a total duration that carries the video identifier, play the push information, and a user identifier push information play request, and receive the second server according to the video identifier and play the push information.
  • the second server obtains the user historical behavior data associated with the user identifier according to the user identifier, analyzes the historical behavior data of the user, and obtains the item information or service information with the highest user attention, and obtains the item information with the highest degree of attention of the user or
  • the push information with the highest relevance of the service information is sent to the terminal by the push information play address of the push information.
  • the degree of attention can be obtained according to the frequency of the user's search, and obtained according to the number of times of browsing and/or the length of browsing. Relevance refers to the metric that measures item information or service information related to push information.
  • To set the calculation rule calculate the value of the correlation according to the calculation rule. For example, if the calculation rule is the name and function of the item included in the push information, the value of the relevance is 50, and the name of the item is only included in the push information, and the correlation degree is The value is 25 and so on.
  • the push information related to the item information or the service information with the highest degree of attention of the user is acquired, and the push information with the highest cost provided by the push information provider is selected from the related push information.
  • the interpolated push information module 830 is further configured to obtain response information generated during the process of playing the push information, where the response information includes user behavior data and user self data; and uploading the response information.
  • the user behavior data may include a trigger operation record generated by the user viewing the push information, the number of times the operation is triggered, and the like.
  • the user's own data may include one or more of a user identifier, a device identifier of the user ID login, a network address, and the like.
  • FIG. 9 is a structural block diagram of an apparatus for playing push information in a live video broadcast in an example.
  • an apparatus for playing push information in a live video broadcast includes a first sending module 910, a receiving module 920, a selecting module 930, and a second sending module 940. among them:
  • the first sending module 910 is configured to send, by using the first server, data including a push information insertion mark to the live video terminal.
  • the receiving module 920 is configured to receive, by using the second server, a push information play request initiated by the terminal and carrying the video identifier.
  • the receiving module 920 is configured to receive, by using the second server, a push information play request initiated by the terminal and carrying the video identifier and the total duration of playing the push information.
  • the selecting module 930 is configured to select the push information according to the push information play request.
  • the selection module 930 is configured to select the push information according to the total duration of the push information.
  • the second sending module 940 is configured to send the push information play address corresponding to the push information to the terminal, so that the terminal acquires the push information according to the play address, and plays the push information.
  • the video live broadcast is not displayed, and the image and audio information of the video corresponding to the video identifier are not displayed, and after the push information is played, the live video is displayed to display the video corresponding to the video identifier. And audio information.
  • the device for playing the push information in the live broadcast of the video sends a push information play request carrying the video identifier initiated by the terminal to the terminal by transmitting the data including the play push information mark, and selects the push information according to the push information play request, and
  • the push information playing address corresponding to the push information enables the terminal to play the push information according to the push information play address, realizes the push information in the live broadcast of the video, increases the transmission route of the push information, and does not broadcast the video during the process of playing the push information.
  • the image and audio information of the video are displayed, and the image and audio information of the video are displayed after the information is played, which realizes the seamless insertion of the push information and improves the connection between the video play and the push information play.
  • the receiving module 920 is further configured to receive, by using the second server, the total duration that carries the video identifier, the played push information, and the user identifier push information play request.
  • the selection module 930 is further configured to: according to the total duration of the push information and the push information selected by the user identifier.
  • the selecting module 930 is further configured to obtain the user historical behavior data associated with the user identifier according to the user identifier, analyze the historical behavior data of the user, and obtain the item information or service information with the highest user attention, and obtain the highest degree of attention with the user.
  • the push information with the highest relevance of the item information or the service information is sent to the terminal by the push information play address of the push information.
  • the degree of attention can be obtained according to the frequency of the user's search, and obtained according to the number of times of browsing and/or the length of browsing. Relevance refers to the metric value related to the measurement of the item information or service information and the push information.
  • the calculation rule can be set according to the need, and the value of the correlation degree is calculated according to the calculation rule. For example, if the calculation rule is the name and function of the item included in the push information, The value of the relevance is 50, and the name of the item is included in the push information, and the value of the correlation is 25 or the like.
  • the push information related to the item information or the service information with the highest degree of attention of the user is acquired, and the push information with the highest cost provided by the push information provider is selected from the related push information.
  • the second sending module 940 is further configured to send the push information play address corresponding to the push information to the terminal.
  • the receiving module 920 is further configured to receive the uploaded response information, where the response information includes user behavior data and user own data.
  • the user behavior data may include a trigger operation record generated by the user viewing the push information, the number of times the operation is triggered, and the like.
  • the user's own data may include one or more of a user identifier, a device identifier of the user ID login, a network address, and the like.
  • FIG. 10 is a structural block diagram of an apparatus for playing push information in a live video broadcast in another example.
  • an apparatus for playing push information in a live video broadcast includes an adding module 950 in addition to a first sending module 910, a receiving module 920, a selecting module 930, and a second sending module 940. among them:
  • the adding module 950 is configured to add a push information insertion field by using an extended field of the Hppt Live Streaming protocol in the live broadcast of the video by the first server before sending the data including the push information insertion mark to the live broadcast terminal by the first server, and the push The information insertion field is inserted as the push information insertion mark.
  • the program when executed, may include a flow of an instance of each of the methods described above.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.

Landscapes

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

Abstract

A method and an apparatus for playing push information during a video live broadcast are provided. The method for playing push information during a video live broadcast comprises the following steps: reading data from a first server during a video live broadcast, and determining whether the data comprises a push information insertion tag; if the data comprises the push information insertion tag, initiating a push information playing request with respect to a second server, wherein the push information playing request carries a video identifier of the data; receiving a push information playing address corresponding to selected push information; obtaining the push information according to the push information playing address; and playing the push information. The method and apparatus for playing push information during a video live broadcast enable push information to be played during a video live broadcast, and provide another method of propagating push information.

Description

视频直播中播放推送信息的方法和装置Method and device for playing push information in live video broadcast
本申请要求于2016年01月14日提交中国专利局、申请号为201610024357.2、发明名称为“视频直播中播放推送信息的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610024357.2, entitled "Method and Apparatus for Playing Push Information in Live Video Broadcasting", which is filed on January 14, 2016, the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本申请涉及视频处理领域,特别是涉及一种视频直播中播放推送信息的方法和装置。The present application relates to the field of video processing, and in particular, to a method and apparatus for playing push information in a live video broadcast.
背景background
随着计算机技术和网络技术的发展,越来越多的用户使用网络从事社会活动,例如通过网络交流、观看视频、网络购物等等。为了便于消息的传播,常常将推送信息添加到视频播放的开头,实现推送信息在视频播放中的传播。随着视频直播的迅速发展,越来越多的用户观看视频直播,然而在视频直播过程中无法添加推送信息,浪费了推送信息传播的途径。With the development of computer technology and network technology, more and more users use the network to engage in social activities, such as communication through the Internet, watching videos, online shopping, and so on. In order to facilitate the dissemination of messages, push information is often added to the beginning of video playback to achieve the spread of push information in video playback. With the rapid development of live video, more and more users watch live video. However, it is impossible to add push information during the live broadcast of the video, which wastes the way of pushing information.
技术内容Technical content
基于此,有必要针对在视频直播中无法添加推送信息浪费了传播途径的问题,提供一种视频直播中播放推送信息的方法,增加了推送信息传播的途径。Based on this, it is necessary to waste the transmission route for the fact that the push information cannot be added in the live broadcast of the video, and provide a method for playing the push information in the live broadcast of the video, which increases the way of pushing the information.
此外,还有必要提供一种视频直播中播放推送信息的装置,增加了推送信息传播的途径。In addition, it is also necessary to provide a device for playing push information in a live video broadcast, which increases the way of pushing information transmission.
一种视频直播中播放推送信息的方法,包括以下步骤:A method for playing push information in a live video broadcast, comprising the following steps:
在视频直播中从第一服务器读取数据,并判断所述数据中是否包含推送信息插入标记;Reading data from the first server in the live video, and determining whether the data includes a push information insertion flag;
若所述数据中包含推送信息插入标记,向第二服务器发起推送信息播放请求,其中,所述推送信息播放请求携带有所述数据的视频标识; If the data includes a push information insertion flag, initiate a push information play request to the second server, where the push information play request carries the video identifier of the data;
接收所述第二服务器根据所述推送信息播放请求选取的推送信息所对应的推送信息播放地址;Receiving, by the second server, a push information play address corresponding to the push information selected according to the push information play request;
根据所述推送信息播放地址获取推送信息;以及Obtaining push information according to the push information play address;
播放所述推送信息。Play the push information.
一种视频直播中播放推送信息的装置,该装置包括:处理器和存储器,所述存储器中存储有计算机可读指令,可以使所述处理器执行以下操作:A device for playing push information in a live video broadcast, the device comprising: a processor and a memory, wherein the memory stores computer readable instructions, wherein the processor can perform the following operations:
在视频直播中从第一服务器读取数据,并判断所述数据中是否包含推送信息插入标记,若所述数据中包含推送信息插入标记,向第二服务器发起推送信息播放请求,其中,所述推送信息播放请求携带有所述数据的视频标识;Reading data from the first server in the live video, and determining whether the data includes a push information insertion mark, and if the data includes a push information insertion mark, initiating a push information play request to the second server, where The push information play request carries the video identifier of the data;
接收所述第二服务器根据所述推送信息播放请求选取的推送信息播放地址;Receiving, by the second server, a push information play address selected according to the push information play request;
根据所述推送信息播放地址获取推送信息;以及Obtaining push information according to the push information play address;
播放所述推送信息。Play the push information.
一种视频直播中播放推送信息的方法,包括:A method for playing push information in a live video broadcast, comprising:
通过第一服务器向视频直播的终端发送包含推送信息插入标记的数据;Sending, by the first server, data including a push information insertion mark to the terminal of the live video;
接收所述终端发起推送信息播放请求,其中,所述推送信息播放请求携带有所述数据的视频标识;Receiving, by the terminal, a push information play request, where the push information play request carries a video identifier of the data;
根据所述推送信息播放请求选取推送信息;以及Selecting push information according to the push information play request;
将所述推送信息所对应的推送信息播放地址发送给所述终端,以使所述终端根据所述播放地址获取推送信息,播放所述推送信息。Sending, by the terminal, the push information play address corresponding to the push information to the terminal, so that the terminal acquires the push information according to the play address, and plays the push information.
一种视频直播中播放推送信息的装置,该装置包括处理器和存储器,所述存储器中存储有计算机可读指令,可以使所述处理器执行以下操作:A device for playing push information in a live video broadcast, the device comprising a processor and a memory, wherein the memory stores computer readable instructions, which enable the processor to perform the following operations:
通过第一服务器向视频直播的终端发送包含推送信息插入标记的数据;Sending, by the first server, data including a push information insertion mark to the terminal of the live video;
接收所述终端发起的推送信息播放请求,其中,所述推送信息播放请求携带有所述数据的视频标识; Receiving, by the terminal, a push information play request, where the push information play request carries a video identifier of the data;
根据所述推送信息播放请求选取推送信息;以及Selecting push information according to the push information play request;
将所述推送信息所对应的推送信息播放地址发送给所述终端,以使所述终端根据所述播放地址获取推送信息,播放所述推送信息。Sending, by the terminal, the push information play address corresponding to the push information to the terminal, so that the terminal acquires the push information according to the play address, and plays the push information.
附图简要说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为一个实例中视频直播中播放推送信息的方法和装置的应用环境示意图;1 is a schematic diagram of an application environment of a method and apparatus for playing push information in a live video broadcast in an example;
图2为一个实例中终端的内部结构示意图;2 is a schematic diagram showing the internal structure of a terminal in an example;
图3为一个实例中服务器的内部结构示意图;3 is a schematic diagram showing the internal structure of a server in an example;
图4为一个实例中视频直播中播放推送信息的方法的流程图;4 is a flowchart of a method for playing push information in a live video broadcast in an example;
图5为一个实例中视频直播篮球比赛的示意图;Figure 5 is a schematic diagram of a live video basketball game in an example;
图6为一个实例中视频直播中推送信息播放过程的示意图;6 is a schematic diagram of a process of playing push information in a live video during an example;
图7为一个实例中视频直播中播放推送信息的方法的流程图;7 is a flowchart of a method for playing push information in a live video broadcast in an example;
图8为一个实例中视频直播中播放推送信息的装置的结构框图;8 is a structural block diagram of an apparatus for playing push information in a live video broadcast in an example;
图9为一个实例中视频直播中播放推送信息的装置的结构框图;9 is a structural block diagram of an apparatus for playing push information in a live video broadcast in an example;
图10为另一个实例中视频直播中播放推送信息的装置的结构框图。FIG. 10 is a structural block diagram of an apparatus for playing push information in a live video broadcast in another example.
实施方式Implementation
为了使本申请的技术方案及优点更加清楚明白,以下结合附图及实例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实例仅仅用以解释本申请,并不用于限定本申请。In order to make the technical solutions and advantages of the present application more clear, the present application will be further described in detail below with reference to the accompanying drawings and examples. It is understood that the specific examples described herein are merely illustrative of the application and are not intended to be limiting.
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一客户端称为第二客户端,且类似地,可将第二客户端称为第一客户端。第一客户端和第二客户端两者都是客户端,但其不是同一客户端。It will be understood that the terms "first", "second" and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of the present application. Both the first client and the second client are clients, but they are not the same client.
图1为一个实例中视频直播中播放推送信息的方法、播放推送信息方法和装置的应用环境示意图。如图1所示,该应用环境包括终端110、 第一服务器120和第二服务器130。终端110与第一服务器120和第二服务器130通过网络进行通信。第一服务器120可为能提供视频数据的服务器。第二服务器130可为能提供推送信息数据的服务器。FIG. 1 is a schematic diagram of an application environment of a method for playing push information in a live video broadcast, a method and device for playing push information in an example. As shown in FIG. 1 , the application environment includes a terminal 110, The first server 120 and the second server 130. The terminal 110 communicates with the first server 120 and the second server 130 over a network. The first server 120 can be a server that can provide video data. The second server 130 can be a server that can provide push information data.
需要说明的是,第一服务器120和第二服务器130可为同一服务器或者不同的服务器。若第一服务器120和第二服务器130为同一服务器,则该同一服务器能提供视频和推送信息。可将视频和推送信息分别存储在同一服务器的存储空间中。It should be noted that the first server 120 and the second server 130 may be the same server or different servers. If the first server 120 and the second server 130 are the same server, the same server can provide video and push information. Video and push information can be stored separately in the same server's storage space.
终端110在视频直播中从第一服务器120读取数据,并判断该数据中是否包含播放推送信息标记,若该数据中包含播放推送信息标记,则向第二服务器130发起推送信息播放请求,其中,所述推送信息播放请求携带有所述数据的视频标识;以及接收第二服务器130根据该推送信息播放请求所选取的推送信息所对应的推送信息播放地址,并根据该推送信息播放地址获取推送信息,再播放该推送信息;在播放该推送信息过程中控制视频直播不展示该视频标识所对应的视频的图像和音频信息,以及在该推送信息播放结束后控制视频直播展示该视频标识所对应的视频的图像和音频信息。The terminal 110 reads data from the first server 120 in the live video, and determines whether the data includes a play push information mark. If the data includes the play push information mark, the terminal sends a push information play request to the second server 130, where The push information play request carries the video identifier of the data; and the push information play address corresponding to the push information selected by the second server 130 according to the push information play request, and the push information is obtained according to the push information play address. Information, and then playing the push information; controlling the live broadcast of the video does not display the image and audio information of the video corresponding to the video identifier during the playing of the push information, and controlling the video live broadcast to display the video identifier after the push information is played Video and audio information.
推送信息可为广告、活动信息、股票信息等,不限于此。The push information may be advertisements, event information, stock information, etc., and is not limited thereto.
图2为一个实例中终端的内部结构示意图。如图2所示,该终端包括通过系统总线连接的处理器、存储介质、内存、网络接口、声音采集装置、显示屏、扬声器和输入装置。其中,终端的存储介质存储有操作系统,还包括一种视频直播中播放推送信息的装置,该视频直播中播放推送信息的装置用于实现一种视频直播中播放推送信息的方法。该处理器用于提供计算和控制能力,支撑整个终端的运行。终端中的内存为存储介质中的视频直播中播放推送信息的装置的运行提供环境,网络接口用于与服务器进行网络通信,如发送播放推送信息请求至服务器,接收服务器返回的推送信息播放地址等。终端的显示屏可以是液晶显示屏或者电子墨水显示屏等,输入装置可以是显示屏上覆盖的触摸层,也可以是终端外壳上设置的按键、轨迹球或触控板,也可以是外接的键盘、触控板或鼠标等。该终端可以是手机、平板电脑或者个人数字助理。本领域技术人员可以理解,图2中示出的结构,仅仅是与本申请方案相关的 部分结构的框图,并不构成对本申请方案所应用于其上的终端的限定,具体的终端可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。FIG. 2 is a schematic diagram showing the internal structure of a terminal in an example. As shown in FIG. 2, the terminal includes a processor, a storage medium, a memory, a network interface, a sound collecting device, a display screen, a speaker, and an input device connected through a system bus. The storage medium of the terminal stores an operating system, and further includes a device for playing push information in a live video broadcast, wherein the device for playing push information in the live broadcast of the video is used to implement a method for playing push information in a live video broadcast. The processor is used to provide computing and control capabilities to support the operation of the entire terminal. The memory in the terminal provides an environment for the operation of the device for playing the push information in the live broadcast of the video in the storage medium, and the network interface is used for network communication with the server, such as sending a request for playing the push information to the server, receiving the push information playback address returned by the server, etc. . The display screen of the terminal may be a liquid crystal display or an electronic ink display screen. The input device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on the terminal housing, or may be an external device. Keyboard, trackpad or mouse. The terminal can be a cell phone, a tablet or a personal digital assistant. Those skilled in the art can understand that the structure shown in FIG. 2 is only related to the solution of the present application. The block diagram of the partial structure does not constitute a limitation on the terminal to which the present application is applied. The specific terminal may include more or less components than those shown in the figure, or combine some components or have different components. Arrangement.
图3为一个实例中服务器的内部结构示意图。如图3所示,该服务器包括通过系统总线连接的处理器、存储介质、内存和网络接口。其中,该服务器的存储介质存储有操作系统、数据库和视频直播中播放推送信息的装置,数据库中存储有推送信息/或视频,该视频直播中播放推送信息的装置用于实现适用于服务器的一种视频直播中播放推送信息的方法。该服务器的处理器用于提供计算和控制能力,支撑整个服务器的运行。该服务器的内存为存储介质中的视频直播中播放推送信息的装置的运行提供环境。该服务器的网络接口用于据以与外部的终端通过网络连接通信,比如接收终端发送的播放推送信息请求以及向终端返回推送信息播放地址等。服务器可以用独立的服务器或者是多个服务器组成的服务器集群来实现。服务器可为视频服务器或推送信息服务器或者能提供视频和推送信息的服务器。本领域技术人员可以理解,图3中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的服务器的限定,具体的服务器可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。FIG. 3 is a schematic diagram of the internal structure of a server in an example. As shown in FIG. 3, the server includes a processor, a storage medium, a memory, and a network interface connected through a system bus. The storage medium of the server stores a device for playing push information in an operating system, a database, and a live video. The database stores push information and/or video, and the device for playing push information in the live broadcast of the video is used to implement a server suitable for the server. A method of playing push information in a live video broadcast. The server's processor is used to provide computing and control capabilities that support the operation of the entire server. The memory of the server provides an environment for the operation of the device that plays the push information in the live video of the storage medium. The network interface of the server is used for communicating with an external terminal through a network connection, such as receiving a push information request sent by the terminal and returning a push information play address to the terminal. The server can be implemented with a stand-alone server or a server cluster consisting of multiple servers. The server can be a video server or a push information server or a server that can provide video and push information. Those skilled in the art can understand that the structure shown in FIG. 3 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the server to which the solution of the present application is applied. The specific server may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements.
图4为一个实例中视频直播中播放推送信息的方法的流程图。如图4所示,一种视频直播中播放推送信息的方法,以终端角度描述,包括以下步骤:4 is a flow chart of a method for playing push information in a live video broadcast in an example. As shown in FIG. 4, a method for playing push information in a live video broadcast is described by a terminal angle, and includes the following steps:
步骤402,在视频直播中从第一服务器读取数据,并判断该数据中是否包含推送信息插入标记,若是,执行步骤404,若否,执行步骤412。Step 402: Read data from the first server in the live video, and determine whether the data includes a push information insertion flag. If yes, go to step 404. If no, go to step 412.
具体地,视频直播是指利用互联网及流媒体技术进行直播。视频直播的实现过程是:当用户发出直播请求时,服务器根据直播信息,将视频直播的播放地址发送给用户,用户根据该播放地址加入对应的组播组,从而接收到该视频直播的视频的码流。Specifically, live video refers to live broadcast using Internet and streaming media technologies. The video live broadcast process is: when the user sends a live broadcast request, the server sends the play address of the live broadcast of the video to the user according to the live broadcast information, and the user joins the corresponding multicast group according to the play address, thereby receiving the video of the live broadcast of the video. Code stream.
第一服务器为能提供视频数据的服务器。读取的数据为视频数据。该视频数据中可包含推送信息插入标记。The first server is a server that can provide video data. The data read is video data. The push data insertion tag can be included in the video data.
在一个实例中,该推送信息插入标记为Hppt Live Streaming(HLS) 协议的扩展字段中的推送信息插入字段。In one example, the push information insertion tag is Hppt Live Streaming (HLS) The push information in the extension field of the protocol is inserted into the field.
具体地,通过HLS协议的扩展字段(EXT-X-PROGRAM-DATE-TIME)获取到需要播放推送信息的信息之后,在扩展字段中增加推送信息插入字段。Specifically, after the information of the push information needs to be played through the extension field of the HLS protocol (EXT-X-PROGRAM-DATE-TIME), the push information insertion field is added in the extension field.
判断该数据中是否包含推送信息插入标记的步骤包括:判断该数据中的Hppt Live Streaming协议的扩展字段中是否包含推送信息插入字段。推送信息插入字段可根据需要添加。The step of determining whether the data includes a push information insertion flag includes: determining whether a push information insertion field is included in an extension field of the Hppt Live Streaming protocol in the data. The push information insertion field can be added as needed.
步骤404,向第二服务器发起推送信息播放请求,其中,所述推送信息播放请求携带有所述数据的视频标识。Step 404: Initiate a push information play request to the second server, where the push information play request carries the video identifier of the data.
具体地,视频标识是用于唯一表示上述从第一服务器读取数据,也即视频的字符串。上述视频的字符串可包括字母、数字、字符等中一种或多种。Specifically, the video identification is a character string for uniquely indicating that the above data is read from the first server, that is, a video. The string of the above video may include one or more of letters, numbers, characters, and the like.
在本申请的实例中,第一服务器在视频数据中加入推送信息插入标记时会生成播放推送信息的消息,并发送给终端110。该播放推送信息的消息中将包含视频标识,来标识在哪个视频中加入推送信息。此时,终端110可以接收来自第一服务器的播放推送信息的消息,并从该播放推送信息的消息中获取上述视频标识。In the example of the present application, when the first server adds the push information insertion flag to the video data, a message for playing the push information is generated and sent to the terminal 110. The message for playing the push information will include a video identifier to identify in which video the push information is added. At this time, the terminal 110 may receive a message for playing the push information from the first server, and acquire the video identifier from the message for playing the push information.
此外,终端110还可从第一服务器获取播放推送信息的总时长,例如,上述播放推送信息的消息中除了包含上述视频标识之外还将包括播放推送信息的总时长。其中,播放推送信息的总时长是指播放推送信息所允许的时长。播放推送信息的总时长可根据视频直播中视频的内容确定,例如视频直播为篮球比赛直播,此时篮球比赛正在换人暂停,其暂停的时长可作为播放推送信息的总时长。此外,播放推送信息的总时长也可根据需要自由设定,例如1分钟、30秒等。此时,在向第二服务器发起推送信息播放请求中还可以进一步包括上述播放推送信息的总时长,供第二服务器进行推送信息的选取。In addition, the terminal 110 may also obtain the total duration of playing the push information from the first server. For example, the message for playing the push information includes the total duration of playing the push information in addition to the video identifier. The total duration of playing the push information refers to the length of time allowed for the push information to be played. The total duration of the push information can be determined according to the content of the video in the live video. For example, the live video is a live basketball game. At this time, the basketball game is being replaced by a pause, and the duration of the pause can be used as the total duration of the push information. In addition, the total duration of playing the push information can also be freely set as needed, for example, 1 minute, 30 seconds, and the like. At this time, the total length of time for playing the push information may be further included in the request to initiate the push information playback to the second server, where the second server performs the selection of the push information.
步骤406,接收该第二服务器根据该推送信息播放请求选取的推送信息所对应的推送信息播放地址,并根据该推送信息播放地址获取推送信息。Step 406: Receive a push information play address corresponding to the push information selected by the second server according to the push information play request, and obtain push information according to the push information play address.
具体地,第二服务器为能提供推送信息的服务器。当推送信息播放 请求中包括上述播放推送信息的总时长时,第二服务器可根据播放推送信息的总时长选取推送信息。一般情况下,所选取推送信息的推送信息播放时长小于或等于播放推送信息的总时长。Specifically, the second server is a server that can provide push information. When pushing information to play When the request includes the total duration of the above-mentioned push information, the second server may select the push information according to the total duration of the push information. In general, the duration of the push information of the selected push information is less than or equal to the total duration of the push information.
本实例中,接收该第二服务器根据该推送信息播放请求返回的推送信息播放时长,且该推送信息播放时长应小于或等于播放推送信息的总时长。若该推送信息播放时长大于播放推送信息的总时长,则终端110无法完成推送信息的播放,此时,可以向第二服务器报告错误,请其重新选取推送信息,或者不播放该推送信息。In this example, the length of the push information played by the second server according to the push information play request is received, and the play time of the push information should be less than or equal to the total duration of the push information. If the playing time of the push information is greater than the total duration of the push information, the terminal 110 cannot complete the playing of the push information. At this time, the error may be reported to the second server, and the push information may be re-selected or the push information may not be played.
此外,还可接收第二服务器返回的推送信息的跳转页面等信息。In addition, information such as a jump page of the push information returned by the second server may also be received.
接收到推送信息的推送信息播放地址,根据推送信息播放地址读取推送信息,并在后续步骤中播放推送信息。The push information play address of the push information is received, the push information is read according to the push information play address, and the push information is played in the subsequent step.
步骤408,播放该推送信息。In step 408, the push information is played.
本实例中,在播放该推送信息过程中控制视频直播不展示该视频标识所对应的视频的图像和音频信息,以及在该推送信息播放结束后控制视频直播展示该视频标识所对应的视频的图像和音频信息。In this example, in the process of playing the push information, the video live broadcast is not displayed, and the image and audio information of the video corresponding to the video identifier are not displayed, and after the push information is played, the live video is displayed to display the video corresponding to the video identifier. And audio information.
步骤410,播放视频。In step 410, the video is played.
具体地,在播放推送信息过程中视频直播中视频标识所对应的视频继续播放,但暂停绘制且静音,即不展示该视频标识所对应视频的图像和音频信息。在推送信息播放结束后绘制视频的图像和音频信息,并展示。Specifically, in the process of playing the push information, the video corresponding to the video identifier continues to be played, but the drawing is paused and muted, that is, the image and audio information of the video corresponding to the video identifier are not displayed. The image and audio information of the video is drawn and displayed after the push information is played.
上述视频直播中播放推送信息的方法,读取数据中判断包含推送信息插入标记后,获取视频标识,接收根据推送信息播放请求所选取的推送信息对应的推送信息播放地址,根据推送信息播放地址读取推送信息进行播放,实现了视频直播中播放推送信息,增加了推送信息的传播途径;且在播放推送信息过程中视频直播不展示视频的图像和音频信息,推送信息播放结束后展示视频的图像和音频信息,实现了推送信息的无缝插入,提高了视频播放和推送信息播放之间的衔接性。此外,视频播放和推送信息播放相互独立,极大的减小了开发的复杂度,同时也从稳定性上保证了视频播放的顺利进行,即使推送信息播放失败也不影响视频的播放。 The method for playing the push information in the live video broadcast, after the read data is judged to include the push information insertion mark, the video identifier is acquired, and the push information play address corresponding to the push information selected according to the push information play request is received, and the play information is read according to the push information play address. The push information is played for playing, and the push information is played in the live video broadcast, which increases the transmission route of the push information; and the video live broadcast does not display the video image and audio information during the process of playing the push information, and the image of the video is displayed after the push information is played. And audio information, the seamless insertion of push information is realized, and the connection between video playback and push information playback is improved. In addition, the video playback and the push information play are independent of each other, which greatly reduces the complexity of the development, and also ensures the smooth progress of the video playback from the stability, even if the push information fails to play does not affect the video playback.
在一个实例中,在根据该推送信息播放地址获取推送信息的步骤之后,播放该推送信息之前,该视频直播中播放推送信息的方法还包括:绘制该推送信息的相关信息,该相关信息包括推送信息倒计时、推送信息详情控件和推送信息的交互中一种或多种。In an example, after the step of acquiring the push information according to the push information play address, before the playing the push information, the method for playing the push information in the live broadcast of the video further includes: drawing related information of the push information, where the related information includes pushing One or more of the information countdown, the push information detail control, and the push information interaction.
具体地,推送信息倒计时是指在播放推送信息的过程中展示剩余推送信息播放的时长,如推送信息播放时长为30秒,则开始播放推送信息时,展示推送信息倒计时为30秒,过一秒后,展示推送信息倒计时为29秒,依次类推,直到推送信息播放结束,推送信息倒计时为0秒。推送信息详情控件是指触发后能进入推送信息详细描述窗口的控件等。推送信息详细描述包括推送信息中产品的功能、用法、适用人群等一种或多种的描述。推送信息的交互可包括提供用户选择或输入信息的窗口等交互接口。Specifically, the push information countdown refers to displaying the duration of the remaining push information during the process of playing the push information. For example, if the push information is played for 30 seconds, when the push information is started, the display push information counts down to 30 seconds, one second. After that, the display push message countdown is 29 seconds, and so on, until the push information is played, and the push information countdown is 0 seconds. The push information detail control refers to a control that can enter the detailed description window of the push information after being triggered. The detailed description of the push information includes one or more descriptions of the function, usage, and applicable population of the product in the push information. The interaction of the push information may include an interactive interface that provides a window for the user to select or enter information.
在一个实例中,上述视频直播中播放推送信息的方法还包括:所述推送信息播放请求还携带有用户标识;向该第二服务器发起携带有该视频标识、播放推送信息的总时长和用户标识推送信息播放请求,以及接收该第二服务器根据该视频标识、播放推送信息的总时长和用户标识所选取的推送信息所对应的推送信息播放地址。In an example, the method for playing the push information in the live broadcast of the video further includes: the push information play request further carries a user identifier; and the total duration and the user identifier of the mobile device carrying the video identifier and the play push information are initiated to the second server. Pushing the information play request, and receiving the push information play address corresponding to the second identifier of the video identifier, the total duration of the push information, and the push information selected by the user identifier.
具体地,用户标识是用于唯一表示用户身份的字符串。字符串可包括字母、数字和字符中一种或多种。用户标识可为注册的帐号或即时通信标识或手机号码或电子邮箱或身份证号码等。Specifically, the user identification is a character string for uniquely indicating the identity of the user. A string can include one or more of letters, numbers, and characters. The user ID can be a registered account or instant messaging ID or mobile number or email or ID number.
第二服务器根据视频标识、播放推送信息的总时长和用户标识可选取满足用户需求且推送信息播放时长小于播放推送信息的总时长的推送信息。The second server may select, according to the video identifier, the total duration of the push information, and the user identifier, the push information that satisfies the user's demand and the length of the push information play is less than the total duration of the push information.
本实例中,第二服务器根据用户标识获取与用户标识相关联的用户历史行为数据,分析该用户历史行为数据得到用户关注度最高的物品信息或服务信息,获取与用户关注度最高的物品信息或服务信息相关度最高的推送信息,将该推送信息的推送信息播放地址发送给终端。关注度可根据用户搜索频次求取,获取根据浏览次数和/或浏览时长求取等。相关度是指衡量物品信息或服务信息与推送信息相关的度量值,可根据需要设定计算规则,按照计算规则计算相关度的值,例如计算规则为推送 信息中包括物品的名称和作用,则相关度的值为50,推送信息中只包括物品的名称,则相关度的值为25等。In this example, the second server obtains the user historical behavior data associated with the user identifier according to the user identifier, analyzes the historical behavior data of the user, and obtains the item information or service information with the highest user attention, and obtains the item information with the highest degree of attention of the user or The push information with the highest relevance of the service information is sent to the terminal by the push information play address of the push information. The degree of attention can be obtained according to the frequency of the user's search, and obtained according to the number of times of browsing and/or the length of browsing. Relevance refers to the metric value related to the measurement of the item information or the service information and the push information. The calculation rule can be set according to the need, and the value of the correlation degree is calculated according to the calculation rule, for example, the calculation rule is pushed. The information includes the name and function of the item, and the value of the relevance is 50, and the name of the item is included in the push information, and the value of the correlation is 25 or the like.
或者,获取与用户关注度最高的物品信息或服务信息相关的推送信息,并从相关的推送信息中选取推送信息商所提供的费用最高的推送信息。Alternatively, the push information related to the item information or the service information with the highest degree of attention of the user is acquired, and the push information with the highest cost provided by the push information provider is selected from the related push information.
在一个实例中,上述视频直播中播放推送信息的方法还包括:获取在播放推送信息过程中产生的响应信息,该响应信息包括用户行为数据和用户自身数据;上传该响应信息。In an example, the method for playing the push information in the live broadcast of the video further includes: acquiring response information generated during the process of playing the push information, where the response information includes the user behavior data and the user's own data; and uploading the response information.
用户行为数据可包括用户观看推送信息所产生的触发操作记录、触发操作的次数等。用户自身数据可包括用户标识、用户标识登录的设备标识、网络地址等中一种或多种。The user behavior data may include a trigger operation record generated by the user viewing the push information, the number of times the operation is triggered, and the like. The user's own data may include one or more of a user identifier, a device identifier of the user ID login, a network address, and the like.
第一服务器和第二服务器可为同一服务器或不同服务器。The first server and the second server may be the same server or different servers.
下面结合具体的应用场景描述视频直播中播放推送信息的方法的实现过程。以视频直播篮球比赛为例,视频直播中播放推送信息的方法包括:The following describes the implementation process of the method for playing the push information in the live video broadcast in combination with a specific application scenario. Taking a live video basketball game as an example, the method of playing push information in a live video broadcast includes:
(1)在视频直播中从第一服务器读取篮球比赛数据,并判断篮球比赛数据中Http Live Streaming协议的扩展字段中是否包含推送信息插入字段。(1) Reading the basketball game data from the first server in the live video, and determining whether the push field insertion field is included in the extension field of the Http Live Streaming protocol in the basketball game data.
图5为一个实例中视频直播篮球比赛的示意图。如图5所示,在篮球比赛的中场休息阶段,播放啦啦队跳舞。FIG. 5 is a schematic diagram of a live video basketball game in an example. As shown in Figure 5, during the mid-game break of the basketball game, cheerleading is played.
(2)若篮球比赛数据中包含推送信息插入字段,则向提供视频数据的服务器获取篮球比赛的视频标识和播放推送信息的总时长。(2) If the basketball game data includes a push information insertion field, the video identification of the basketball game and the total duration of playing the push information are obtained from the server providing the video data.
具体地,播放推送信息的总时长可为中场休息的时长或者小于中场休息的时长。Specifically, the total duration of playing the push information may be the length of the intermission or less than the length of the intermission.
(3)向第二服务器发起携带有该视频标识和播放推送信息的总时长的推送信息播放请求,以及接收该第二服务器根据该播放推送信息的总时长所选取的推送信息所对应的推送信息播放地址,并根据该推送信息播放地址获取推送信息。(3) initiating, to the second server, a push information play request carrying the total length of the video identifier and the play push information, and receiving the push information corresponding to the push information selected by the second server according to the total duration of the play push information. The address is played, and the push information is obtained according to the push information play address.
(4)播放该推送信息。(4) Play the push information.
(5)在播放该推送信息过程中控制视频直播不展示该视频标识所对 应的视频的图像和音频信息,以及在该推送信息播放结束后控制视频直播展示所述视频标识所对应的视频的图像和音频信息。(5) controlling the live broadcast of the video during the process of playing the push information does not display the video identifier The image and audio information of the video to be used, and the video and audio information of the video corresponding to the video identifier are displayed after the broadcast of the push information is controlled.
图6为一个实例中视频直播中推送信息播放过程的示意图。如图6所示,以播放球衣广告,广告播放时长为3分钟,播放广告的总时长为10分钟,广告播放时长小于播放广告的总时长,篮球比赛上半场结束后,播放啦啦队跳舞,获取球衣广告的广告播放地址,根据广告播放地址读取球衣广告数据进行播放,并展示广告倒计时,播放结束后,继续播放啦啦队跳舞。FIG. 6 is a schematic diagram of a process of playing push information in a live video during an example. As shown in Figure 6, to play a jersey advertisement, the duration of the advertisement is 3 minutes, the total duration of the advertisement is 10 minutes, the duration of the advertisement is less than the total duration of the advertisement, and after the first half of the basketball game, the cheerleading team is played and obtained. The advertisement play address of the jersey advertisement is read according to the advertisement play address, and the advertisement countdown is displayed, and after the end of the play, the cheerleading dance is continued.
图7为一个实例中视频直播中播放推送信息的方法的流程图。如图7所示,一种视频直播中播放推送信息的方法,以服务器角度描述,包括:7 is a flow chart of a method for playing push information in a live video broadcast in an example. As shown in FIG. 7, a method for playing push information in a live video broadcast is described by a server perspective, and includes:
步骤702,通过第一服务器向视频直播的终端发送包含推送信息插入标记的数据。Step 702: Send, by the first server, data including a push information insertion mark to the live video terminal.
在通过第一服务器向视频直播的终端发送包含推送信息插入标记的数据的步骤之前,该视频直播中播放推送信息的方法还包括:通过第一服务器在视频直播中利用Hppt Live Streaming协议的扩展字段增加推送信息插入字段,将该推送信息插入字段作为该推送信息插入标记。Before the step of transmitting the data including the push information insertion mark to the live broadcast terminal by the first server, the method for playing the push information in the live video broadcast includes: using the extended field of the Hppt Live Streaming protocol in the live broadcast of the video by the first server The push information insertion field is added, and the push information insertion field is used as the push information insertion flag.
步骤704,接收该终端发起的携带有该视频标识的推送信息播放请求,并根据该推送信息播放请求选取推送信息,并将该推送信息所对应的推送信息播放地址发送给该终端,以使该终端根据该播放地址获取推送信息,播放该推送信息。Step 704: Receive a push information play request that is initiated by the terminal and carry the push information, and select push information according to the push information play request, and send a push information play address corresponding to the push information to the terminal, so that the The terminal acquires the push information according to the play address, and plays the push information.
本实例中,在播放该推送信息过程中控制视频直播不展示该视频标识所对应的视频的图像和音频信息,以及在该推送信息播放结束后控制视频直播展示该视频标识所对应的视频的图像和音频信息。In this example, in the process of playing the push information, the video live broadcast is not displayed, and the image and audio information of the video corresponding to the video identifier are not displayed, and after the push information is played, the live video is displayed to display the video corresponding to the video identifier. And audio information.
具体地,第二服务器为能提供推送信息的服务器。第二服务器还可以根据播放推送信息的总时长选取推送信息。一般情况下,所选取推送信息的推送信息播放时长小于或等于播放推送信息的总时长。该推送信息播放时长小于或等于播放推送信息的总时长。Specifically, the second server is a server that can provide push information. The second server may also select the push information according to the total duration of the push information. In general, the duration of the push information of the selected push information is less than or equal to the total duration of the push information. The length of the push information playing time is less than or equal to the total duration of the push information.
上述视频直播中播放推送信息的方法,通过向终端发送包含推送信息插入标记的数据,接收终端发起的携带有该视频标识的推送信息播放 请求,并根据该推送信息播放请求选取推送信息,并将该推送信息所对应的推送信息播放地址,以使终端根据推送信息播放地址播放推送信息,实现了视频直播中播放推送信息,增加了推送信息的传播途径。此外,在播放推送信息过程中视频直播不展示视频的图像和音频信息,推送信息播放结束后展示视频的图像和音频信息,实现了推送信息的无缝插入,提高了视频播放和推送信息播放之间的衔接性。The method for playing the push information in the live video broadcast, by sending the data including the push information insertion mark to the terminal, and the push information played by the receiving terminal carrying the video identifier is played. Requesting, and selecting push information according to the push information play request, and pushing the push information corresponding address of the push information, so that the terminal plays the push information according to the push information play address, thereby realizing the push information transmitted in the live video broadcast, and increasing the push The way information is transmitted. In addition, during the process of playing the push information, the live video does not display the image and audio information of the video, and the image and audio information of the video is displayed after the end of the push information, thereby realizing the seamless insertion of the push information and improving the video play and the push information play. Inter-connectivity.
在一个实例中,上述视频直播中播放推送信息的方法还包括:接收该携带有该视频标识、播放推送信息的总时长和用户标识推送信息播放请求,以及根据该视频标识、播放推送信息的总时长和用户标识所选取的推送信息,并将该推送信息所对应的推送信息播放地址发送给该终端。In an example, the method for playing the push information in the live broadcast of the video further includes: receiving the total duration of the video identifier, playing the push information, and the user identifier push information play request, and the total of the push information according to the video identifier and the broadcast information. The duration and the user-identified push information are selected, and the push information play address corresponding to the push information is sent to the terminal.
具体地,用户标识是用于唯一表示用户身份的字符串。字符串可包括字母、数字和字符中一种或多种。用户标识可为注册的帐号或即时通信标识或手机号码或电子邮箱或身份证号码等。Specifically, the user identification is a character string for uniquely indicating the identity of the user. A string can include one or more of letters, numbers, and characters. The user ID can be a registered account or instant messaging ID or mobile number or email or ID number.
第二服务器根据播放推送信息的总时长和用户标识可选取满足用户需求且推送信息播放时长小于播放推送信息的总时长的推送信息。The second server may select, according to the total duration of playing the push information and the user identifier, the push information that satisfies the user's demand and the push information playing duration is less than the total duration of the push information.
本实例中,第二服务器根据用户标识获取与用户标识相关联的用户历史行为数据,分析该用户历史行为数据得到用户关注度最高的物品信息或服务信息,获取与用户关注度最高的物品信息或服务信息相关度最高的推送信息,将该推送信息的推送信息播放地址发送给终端。关注度可根据用户搜索频次求取,获取根据浏览次数和/或浏览时长求取等。相关度是指衡量物品信息或服务信息与推送信息相关的度量值,可根据需要设定计算规则,按照计算规则计算相关度的值,例如计算规则为推送信息中包括物品的名称和作用,则相关度的值为50,推送信息中只包括物品的名称,则相关度的值为25等。In this example, the second server obtains the user historical behavior data associated with the user identifier according to the user identifier, analyzes the historical behavior data of the user, and obtains the item information or service information with the highest user attention, and obtains the item information with the highest degree of attention of the user or The push information with the highest relevance of the service information is sent to the terminal by the push information play address of the push information. The degree of attention can be obtained according to the frequency of the user's search, and obtained according to the number of times of browsing and/or the length of browsing. Relevance refers to the metric value related to the measurement of the item information or service information and the push information. The calculation rule can be set according to the need, and the value of the correlation degree is calculated according to the calculation rule. For example, if the calculation rule is the name and function of the item included in the push information, The value of the relevance is 50, and the name of the item is included in the push information, and the value of the correlation is 25 or the like.
或者,获取与用户关注度最高的物品信息或服务信息相关的推送信息,并从相关的推送信息中选取推送信息商所提供的费用最高的推送信息。Alternatively, the push information related to the item information or the service information with the highest degree of attention of the user is acquired, and the push information with the highest cost provided by the push information provider is selected from the related push information.
在一个实例中,上述视频直播中播放推送信息的方法还包括:接收上传的响应信息,该响应信息包括用户行为数据和用户自身数据。用户 行为数据可包括用户观看推送信息所产生的触发操作记录、触发操作的次数等。用户自身数据可包括用户标识、用户标识登录的设备标识、网络地址等中一种或多种。In an example, the method for playing the push information in the live video broadcaster further includes: receiving the uploaded response information, where the response information includes the user behavior data and the user's own data. User The behavior data may include a trigger operation record generated by the user viewing the push information, the number of times the operation is triggered, and the like. The user's own data may include one or more of a user identifier, a device identifier of the user ID login, a network address, and the like.
图8为一个实例中视频直播中播放推送信息的装置的结构框图。如图8所示,一种视频直播中播放推送信息的装置,运行于终端上,包括视频播放模块810、业务逻辑模块820、中插推送信息模块830和推送信息播放模块840。其中:FIG. 8 is a structural block diagram of an apparatus for playing push information in a live video broadcast in an example. As shown in FIG. 8 , a device for playing push information in a live video broadcast, runs on the terminal, and includes a video play module 810, a service logic module 820, a push push information module 830, and a push information play module 840. among them:
视频播放模块810用于在视频直播中从第一服务器读取数据,并判断该数据中是否包含推送信息插入标记。The video playing module 810 is configured to read data from the first server in the live video, and determine whether the data includes a push information insertion flag.
本实例中,该推送信息插入标记为Hppt Live Streaming(HLS)协议的扩展字段中的推送信息插入字段。In this example, the push information insertion field is marked as a push information insertion field in an extension field of the Hppt Live Streaming (HLS) protocol.
视频播放模块810还用于判断该数据中的Hppt Live Streaming协议的扩展字段中是否包含推送信息插入字段。推送信息插入字段可根据需要添加。The video playing module 810 is further configured to determine whether a push information insertion field is included in an extension field of the Hppt Live Streaming protocol in the data. The push information insertion field can be added as needed.
业务逻辑模块820用于获取所述数据的视频标识。业务逻辑模块820将视频标识发送给中插推送信息模块830。The service logic module 820 is configured to acquire a video identifier of the data. The business logic module 820 sends the video identification to the mid-push push information module 830.
具体地,视频标识是用于唯一表示视频的字符串。视频的字符串可包括字母、数字、字符等中一种或多种。Specifically, the video identification is a character string for uniquely representing a video. The string of the video may include one or more of letters, numbers, characters, and the like.
上述业务逻辑模块820可以根据从第一服务器接收的播放推送信息的消息获取上述视频标识。The foregoing business logic module 820 can obtain the video identifier according to the message of the push information received from the first server.
此外,业务逻辑模块820用于根据该播放推送信息的消息获取播放推送信息的总时长,并将播放推送信息的总时长发送给推送信息模块830。播放推送信息的总时长是指播放推送信息所允许的时长。播放推送信息的总时长可根据视频直播中视频的内容确定,例如视频直播为篮球比赛直播,此时篮球比赛正在换人暂停,其暂停的时长可作为播放推送信息的总时长。此外,播放推送信息的总时长也可根据需要自由设定,例如1分钟、30秒等。In addition, the service logic module 820 is configured to obtain a total duration of playing the push information according to the message for playing the push information, and send the total duration of the play push information to the push information module 830. The total duration of playing push information refers to the length of time allowed for the push information to be played. The total duration of the push information can be determined according to the content of the video in the live video. For example, the live video is a live basketball game. At this time, the basketball game is being replaced by a pause, and the duration of the pause can be used as the total duration of the push information. In addition, the total duration of playing the push information can also be freely set as needed, for example, 1 minute, 30 seconds, and the like.
中插推送信息模块830用于向第二服务器发起携带有该视频标识的推送信息播放请求,以及接收该第二服务器根据该推送信息播放请求选取的推送信息播放地址,并根据该推送信息播放地址获取推送信息。 The push-input information module 830 is configured to initiate a push information play request carrying the video identifier to the second server, and receive a push information play address selected by the second server according to the push information play request, and play the address according to the push information. Get push information.
本实例中,中插推送信息模块830用于接收第二服务器根据播放推送信息的总时长选取的推送信息播放地址。In this example, the mid-push push information module 830 is configured to receive a push information play address selected by the second server according to the total duration of playing the push information.
中插推送信息模块830还用于接收该第二服务器根据该推送信息播放请求返回的推送信息播放时长,且该推送信息播放时长小于或等于播放推送信息的总时长。The interpolated push information module 830 is further configured to receive a play duration of the push information returned by the second server according to the push information play request, and the push information play duration is less than or equal to a total duration of playing the push information.
中插推送信息模块830启用推送信息播放模块840。推送信息播放模块840用于播放该推送信息。中插推送信息模块830还用于通知视频播放模块810不展示视频标识所对应的视频的图像和音频信息。The mid-push push information module 830 enables the push information play module 840. The push information playing module 840 is configured to play the push information. The mid-push push information module 830 is further configured to notify the video play module 810 not to display the image and audio information of the video corresponding to the video identifier.
视频播放模块810还用于在播放该推送信息过程中控制视频直播不展示该视频标识所对应的视频的图像和音频信息,以及在该推送信息播放结束后控制视频直播展示该视频标识所对应的视频的图像和音频信息。The video playing module 810 is further configured to control, during the playing of the push information, the video live broadcast does not display the image and audio information of the video corresponding to the video identifier, and control the video live broadcast to display the video identifier after the push information is played. Video image and audio information.
推送信息播放模块840将推送信息播放结束后,发送播放结束信息给中插推送信息模块830,中插推送信息模块830将推送信息播放结束信息返回给业务逻辑模块820。业务逻辑模块820将推送信息播放结束信息发送给视频播放模块810,视频播放模块810根据推送信息播放结束信息,将视频标识所对应的视频图像和音频信息渲染出来,控制视频直播展示该视频标识所对应的视频的图像和音频信息。After the push information playback module 840 finishes playing the push information, the broadcast end information is sent to the middle push push information module 830, and the push information push information module 830 returns the push information play end information to the service logic module 820. The service logic module 820 sends the push information playback end information to the video play module 810. The video play module 810 renders the video image and the audio information corresponding to the video identifier according to the push information play end information, and controls the video live broadcast to display the video logo. Corresponding video image and audio information.
具体地,在播放推送信息过程中视频直播中视频标识所对应的视频继续播放,但暂停绘制且静音,即不展示该视频标识所对应视频的图像和音频信息。在推送信息播放结束后绘制视频的图像和音频信息,并展示。Specifically, in the process of playing the push information, the video corresponding to the video identifier continues to be played, but the drawing is paused and muted, that is, the image and audio information of the video corresponding to the video identifier are not displayed. The image and audio information of the video is drawn and displayed after the push information is played.
上述视频直播中播放推送信息的装置,读取数据中判断包含推送信息插入标记后,接收根据推送信息播放请求所选取的推送信息对应的推送信息播放地址,根据推送信息播放地址读取推送信息进行播放,实现了视频直播中播放推送信息,增加了推送信息的传播途径。在播放推送信息过程中视频直播不展示视频的图像和音频信息,推送信息播放结束后展示视频的图像和音频信息,实现了推送信息的无缝插入,提高了视频播放和推送信息播放之间的衔接性。此外,视频播放和推送信息播放相互独立,极大的减小了开发的复杂度,同时也从稳定性上保证了视频 播放的顺利进行,即使推送信息播放失败也不影响视频的播放。The device for playing the push information in the live video broadcast, after determining that the push information insertion flag is included in the read data, receiving the push information play address corresponding to the push information selected according to the push information play request, and reading the push information according to the push information play address Play, realize the broadcast information in the live broadcast of the video, and increase the transmission route of the push information. During the process of playing the push information, the live video does not display the video image and audio information, and the image and audio information of the video is displayed after the push information is played, thereby realizing the seamless insertion of the push information and improving the video play and the push information play. Cohesiveness. In addition, video playback and push information playback are independent of each other, greatly reducing the complexity of development, while also ensuring the video from the stability The playback proceeds smoothly, even if the push information playback fails, the video playback will not be affected.
在一个实例中,该中插推送信息模块830还用于在该根据该推送信息播放地址获取推送信息之后,绘制该推送信息的相关信息,该相关信息包括推送信息倒计时、推送信息详情控件和推送信息的交互中一种或多种。In an example, the interpolated push information module 830 is further configured to: after the obtaining the push information according to the push information play address, draw related information of the push information, where the related information includes a push information countdown, a push information detail control, and a push One or more of the interaction of information.
具体地,推送信息倒计时是指在播放推送信息的过程中展示剩余推送信息播放的时长,如推送信息播放时长为30秒,则开始播放推送信息时,展示推送信息倒计时为30秒,过一秒后,展示推送信息倒计时为29秒,依次类推,直到推送信息播放结束,推送信息倒计时为0秒。推送信息详情控件是指触发后能进入推送信息详细描述窗口的控件等。推送信息详细描述包括推送信息中产品的功能、用法、适用人群等一种或多种的描述。推送信息的交互可包括提供用户选择或输入信息的窗口等交互接口。Specifically, the push information countdown refers to displaying the duration of the remaining push information during the process of playing the push information. For example, if the push information is played for 30 seconds, when the push information is started, the display push information counts down to 30 seconds, one second. After that, the display push message countdown is 29 seconds, and so on, until the push information is played, and the push information countdown is 0 seconds. The push information detail control refers to a control that can enter the detailed description window of the push information after being triggered. The detailed description of the push information includes one or more descriptions of the function, usage, and applicable population of the product in the push information. The interaction of the push information may include an interactive interface that provides a window for the user to select or enter information.
在一个实例中,所述推送信息播放请求还携带有用户标识。In one example, the push information play request also carries a user identification.
具体地,用户标识是用于唯一表示用户身份的字符串。字符串可包括字母、数字和字符中一种或多种。用户标识可为注册的帐号或即时通信标识或手机号码或电子邮箱或身份证号码等。Specifically, the user identification is a character string for uniquely indicating the identity of the user. A string can include one or more of letters, numbers, and characters. The user ID can be a registered account or instant messaging ID or mobile number or email or ID number.
第二服务器根据视频标识、播放推送信息的总时长和用户标识可选取满足用户需求且推送信息播放时长小于播放推送信息的总时长的推送信息。The second server may select, according to the video identifier, the total duration of the push information, and the user identifier, the push information that satisfies the user's demand and the length of the push information play is less than the total duration of the push information.
中插推送信息模块830还用于向该第二服务器发起携带有该视频标识、播放推送信息的总时长和用户标识推送信息播放请求,以及接收该第二服务器根据该视频标识、播放推送信息的总时长和用户标识所选取的推送信息播放地址。The interpolated push information module 830 is further configured to initiate, to the second server, a total duration that carries the video identifier, play the push information, and a user identifier push information play request, and receive the second server according to the video identifier and play the push information. The total length of time and the push information play address selected by the user ID.
本实例中,第二服务器根据用户标识获取与用户标识相关联的用户历史行为数据,分析该用户历史行为数据得到用户关注度最高的物品信息或服务信息,获取与用户关注度最高的物品信息或服务信息相关度最高的推送信息,将该推送信息的推送信息播放地址发送给终端。关注度可根据用户搜索频次求取,获取根据浏览次数和/或浏览时长求取等。相关度是指衡量物品信息或服务信息与推送信息相关的度量值,可根据需 要设定计算规则,按照计算规则计算相关度的值,例如计算规则为推送信息中包括物品的名称和作用,则相关度的值为50,推送信息中只包括物品的名称,则相关度的值为25等。In this example, the second server obtains the user historical behavior data associated with the user identifier according to the user identifier, analyzes the historical behavior data of the user, and obtains the item information or service information with the highest user attention, and obtains the item information with the highest degree of attention of the user or The push information with the highest relevance of the service information is sent to the terminal by the push information play address of the push information. The degree of attention can be obtained according to the frequency of the user's search, and obtained according to the number of times of browsing and/or the length of browsing. Relevance refers to the metric that measures item information or service information related to push information. To set the calculation rule, calculate the value of the correlation according to the calculation rule. For example, if the calculation rule is the name and function of the item included in the push information, the value of the relevance is 50, and the name of the item is only included in the push information, and the correlation degree is The value is 25 and so on.
或者,获取与用户关注度最高的物品信息或服务信息相关的推送信息,并从相关的推送信息中选取推送信息商所提供的费用最高的推送信息。Alternatively, the push information related to the item information or the service information with the highest degree of attention of the user is acquired, and the push information with the highest cost provided by the push information provider is selected from the related push information.
在一个实例中,中插推送信息模块830还用于获取在播放推送信息过程中产生的响应信息,该响应信息包括用户行为数据和用户自身数据;上传该响应信息。In one example, the interpolated push information module 830 is further configured to obtain response information generated during the process of playing the push information, where the response information includes user behavior data and user self data; and uploading the response information.
用户行为数据可包括用户观看推送信息所产生的触发操作记录、触发操作的次数等。用户自身数据可包括用户标识、用户标识登录的设备标识、网络地址等中一种或多种。The user behavior data may include a trigger operation record generated by the user viewing the push information, the number of times the operation is triggered, and the like. The user's own data may include one or more of a user identifier, a device identifier of the user ID login, a network address, and the like.
图9为一个实例中视频直播中播放推送信息的装置的结构框图。如图9所示,一种视频直播中播放推送信息的装置,包括第一发送模块910、接收模块920、选取模块930和第二发送模块940。其中:FIG. 9 is a structural block diagram of an apparatus for playing push information in a live video broadcast in an example. As shown in FIG. 9, an apparatus for playing push information in a live video broadcast includes a first sending module 910, a receiving module 920, a selecting module 930, and a second sending module 940. among them:
第一发送模块910用于通过第一服务器向视频直播的终端发送包含推送信息插入标记的数据。The first sending module 910 is configured to send, by using the first server, data including a push information insertion mark to the live video terminal.
接收模块920用于通过第二服务器接收该终端发起的携带有该视频标识的推送信息播放请求。The receiving module 920 is configured to receive, by using the second server, a push information play request initiated by the terminal and carrying the video identifier.
本实例中,接收模块920用于通过第二服务器接收该终端发起的携带有该视频标识和播放推送信息的总时长的推送信息播放请求。In this example, the receiving module 920 is configured to receive, by using the second server, a push information play request initiated by the terminal and carrying the video identifier and the total duration of playing the push information.
选取模块930用于根据该推送信息播放请求选取推送信息。The selecting module 930 is configured to select the push information according to the push information play request.
本实例中,选取模块930用于根据播放推送信息的总时长选取推送信息。In this example, the selection module 930 is configured to select the push information according to the total duration of the push information.
第二发送模块940用于将该推送信息所对应的推送信息播放地址发送给该终端,以使该终端根据该播放地址获取推送信息,播放该推送信息。The second sending module 940 is configured to send the push information play address corresponding to the push information to the terminal, so that the terminal acquires the push information according to the play address, and plays the push information.
本实例中,在播放该推送信息过程中控制视频直播不展示该视频标识所对应的视频的图像和音频信息,以及在该推送信息播放结束后控制视频直播展示该视频标识所对应的视频的图像和音频信息。 In this example, in the process of playing the push information, the video live broadcast is not displayed, and the image and audio information of the video corresponding to the video identifier are not displayed, and after the push information is played, the live video is displayed to display the video corresponding to the video identifier. And audio information.
上述视频直播中播放推送信息的装置,通过向终端发送包含播放推送信息标记的数据,接收终端发起的携带有该视频标识的推送信息播放请求,并根据该推送信息播放请求选取推送信息,并将该推送信息所对应的推送信息播放地址,以使终端根据推送信息播放地址播放推送信息,实现了视频直播中播放推送信息,增加了推送信息的传播途径,且在播放推送信息过程中视频直播不展示视频的图像和音频信息,推送信息播放结束后展示视频的图像和音频信息,实现了推送信息的无缝插入,提高了视频播放和推送信息播放之间的衔接性。The device for playing the push information in the live broadcast of the video sends a push information play request carrying the video identifier initiated by the terminal to the terminal by transmitting the data including the play push information mark, and selects the push information according to the push information play request, and The push information playing address corresponding to the push information enables the terminal to play the push information according to the push information play address, realizes the push information in the live broadcast of the video, increases the transmission route of the push information, and does not broadcast the video during the process of playing the push information. The image and audio information of the video are displayed, and the image and audio information of the video are displayed after the information is played, which realizes the seamless insertion of the push information and improves the connection between the video play and the push information play.
在一个实例中,该接收模块920还用于通过第二服务器接收该携带有该视频标识、播放推送信息的总时长和用户标识推送信息播放请求。In an example, the receiving module 920 is further configured to receive, by using the second server, the total duration that carries the video identifier, the played push information, and the user identifier push information play request.
该选取模块930还用于根据该播放推送信息的总时长和用户标识所选取的推送信息。The selection module 930 is further configured to: according to the total duration of the push information and the push information selected by the user identifier.
本实例中,选取模块930还用于根据用户标识获取与用户标识相关联的用户历史行为数据,分析该用户历史行为数据得到用户关注度最高的物品信息或服务信息,获取与用户关注度最高的物品信息或服务信息相关度最高的推送信息,将该推送信息的推送信息播放地址发送给终端。关注度可根据用户搜索频次求取,获取根据浏览次数和/或浏览时长求取等。相关度是指衡量物品信息或服务信息与推送信息相关的度量值,可根据需要设定计算规则,按照计算规则计算相关度的值,例如计算规则为推送信息中包括物品的名称和作用,则相关度的值为50,推送信息中只包括物品的名称,则相关度的值为25等。In this example, the selecting module 930 is further configured to obtain the user historical behavior data associated with the user identifier according to the user identifier, analyze the historical behavior data of the user, and obtain the item information or service information with the highest user attention, and obtain the highest degree of attention with the user. The push information with the highest relevance of the item information or the service information is sent to the terminal by the push information play address of the push information. The degree of attention can be obtained according to the frequency of the user's search, and obtained according to the number of times of browsing and/or the length of browsing. Relevance refers to the metric value related to the measurement of the item information or service information and the push information. The calculation rule can be set according to the need, and the value of the correlation degree is calculated according to the calculation rule. For example, if the calculation rule is the name and function of the item included in the push information, The value of the relevance is 50, and the name of the item is included in the push information, and the value of the correlation is 25 or the like.
或者,获取与用户关注度最高的物品信息或服务信息相关的推送信息,并从相关的推送信息中选取推送信息商所提供的费用最高的推送信息。Alternatively, the push information related to the item information or the service information with the highest degree of attention of the user is acquired, and the push information with the highest cost provided by the push information provider is selected from the related push information.
该第二发送模块940还用于将该推送信息所对应的推送信息播放地址发送给该终端。The second sending module 940 is further configured to send the push information play address corresponding to the push information to the terminal.
在一个实例中,接收模块920还用于接收上传的响应信息,该响应信息包括用户行为数据和用户自身数据。用户行为数据可包括用户观看推送信息所产生的触发操作记录、触发操作的次数等。用户自身数据可包括用户标识、用户标识登录的设备标识、网络地址等中一种或多种。 In an example, the receiving module 920 is further configured to receive the uploaded response information, where the response information includes user behavior data and user own data. The user behavior data may include a trigger operation record generated by the user viewing the push information, the number of times the operation is triggered, and the like. The user's own data may include one or more of a user identifier, a device identifier of the user ID login, a network address, and the like.
图10为另一个实例中视频直播中播放推送信息的装置的结构框图。如图10所示,一种视频直播中播放推送信息的装置,除了包括第一发送模块910、接收模块920、选取模块930和第二发送模块940,还包括添加模块950。其中:FIG. 10 is a structural block diagram of an apparatus for playing push information in a live video broadcast in another example. As shown in FIG. 10, an apparatus for playing push information in a live video broadcast includes an adding module 950 in addition to a first sending module 910, a receiving module 920, a selecting module 930, and a second sending module 940. among them:
添加模块950用于在通过第一服务器向视频直播的终端发送包含推送信息插入标记的数据之前,通过第一服务器在视频直播中利用Hppt Live Streaming协议的扩展字段增加推送信息插入字段,将该推送信息插入字段作为该推送信息插入标记。The adding module 950 is configured to add a push information insertion field by using an extended field of the Hppt Live Streaming protocol in the live broadcast of the video by the first server before sending the data including the push information insertion mark to the live broadcast terminal by the first server, and the push The information insertion field is inserted as the push information insertion mark.
本领域普通技术人员可以理解实现上述实例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the above example method can be completed by a computer program to instruct related hardware, and the program can be stored in a non-volatile computer readable storage medium. The program, when executed, may include a flow of an instance of each of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.
以上所述实例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。 The above examples are merely illustrative of several embodiments of the present application, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the claims. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the present application. Therefore, the scope of the invention should be determined by the appended claims.

Claims (20)

  1. 一种视频直播中播放推送信息的方法,包括以下步骤:A method for playing push information in a live video broadcast, comprising the following steps:
    在视频直播中从第一服务器读取数据,并判断所述数据中是否包含推送信息插入标记;Reading data from the first server in the live video, and determining whether the data includes a push information insertion flag;
    若所述数据中包含推送信息插入标记,向第二服务器发起推送信息播放请求,其中,所述推送信息播放请求携带所述数据的视频标识;If the data includes a push information insertion flag, initiate a push information play request to the second server, where the push information play request carries the video identifier of the data;
    接收所述第二服务器根据所述推送信息播放请求选取的推送信息所对应的推送信息播放地址;Receiving, by the second server, a push information play address corresponding to the push information selected according to the push information play request;
    根据所述推送信息播放地址获取推送信息;以及Obtaining push information according to the push information play address;
    播放所述推送信息。Play the push information.
  2. 根据权利要求1所述的方法,所述方法还包括:The method of claim 1 further comprising:
    在播放所述推送信息过程中控制视频直播不展示所述视频标识所对应的视频的图像和音频信息,以及在所述推送信息播放结束后控制视频直播展示所述视频标识所对应的视频的图像和音频信息。Controlling the live broadcast of the video does not display the image and audio information of the video corresponding to the video identifier during the playing of the push information, and controlling the live broadcast of the video corresponding to the video identifier after the push information is played. And audio information.
  3. 根据权利要求1所述的方法,在所述根据所述推送信息播放地址获取推送信息的步骤之后,播放所述推送信息之前,所述方法还包括:The method according to claim 1, after the step of acquiring the push information according to the push information play address, before the playing the push information, the method further includes:
    绘制所述推送信息的相关信息,所述相关信息包括推送信息倒计时、推送信息详情控件和推送信息的交互中一种或多种。The related information of the push information is drawn, and the related information includes one or more of a push information countdown, a push information detail control, and a push information interaction.
  4. 根据权利要求1所述的方法,其中,所述推送信息播放请求进一步携带有播放推送信息的总时长;The method of claim 1, wherein the push information play request further carries a total duration of playing push information;
    向所述第二服务器发起所述推送信息播放请求,以及接收所述第二服务器根据所述视频标识和所述播放推送信息的总时长所选取的推送信息所对应的推送信息播放地址。And sending the push information play request to the second server, and receiving a push information play address corresponding to the push information selected by the second server according to the total length of the video identifier and the play push information.
  5. 根据权利要求4所述的方法,其中,所述推送信息播放请求还携带有用户标识;The method according to claim 4, wherein the push information play request further carries a user identifier;
    向所述第二服务器发起所述推送信息播放请求,以及接收所述第二服务器根据所述视频标识、所述播放推送信息的总时长和用户标识所选取的推送信息所对应的推送信息播放地址。Initiating the push information play request to the second server, and receiving a push information play address corresponding to the video identifier, the total duration of the play push information, and the push information selected by the user identifier by the second server. .
  6. 根据权利要求1所述的方法,所述推送信息插入标记为Hppt Live  Streaming协议的扩展字段中的推送信息插入字段;The method of claim 1 wherein said push information insertion tag is Hppt Live Push information insertion field in the extension field of the Streaming protocol;
    判断所述数据中是否包含推送信息插入标记的步骤包括:The step of determining whether the data includes a push information insertion mark includes:
    判断所述数据中的Hppt Live Streaming协议的扩展字段中是否包含推送信息插入字段。It is determined whether the push information insertion field is included in the extension field of the Hppt Live Streaming protocol in the data.
  7. 一种视频直播中播放推送信息的装置,该装置包括:处理器和存储器,所述存储器中存储有计算机可读指令,可以使所述处理器执行以下操作:A device for playing push information in a live video broadcast, the device comprising: a processor and a memory, wherein the memory stores computer readable instructions, wherein the processor can perform the following operations:
    在视频直播中从第一服务器读取数据,并判断所述数据中是否包含推送信息插入标记,若所述数据中包含推送信息插入标记,Reading data from the first server in the live video, and determining whether the data includes a push information insertion mark, and if the data includes a push information insertion mark,
    向第二服务器发起推送信息播放请求,其中,所述推送信息播放请求携带所述数据的视频标识;Initiating a push information play request to the second server, where the push information play request carries a video identifier of the data;
    接收所述第二服务器根据所述推送信息播放请求选取的推送信息播放地址;Receiving, by the second server, a push information play address selected according to the push information play request;
    根据所述推送信息播放地址获取推送信息;以及Obtaining push information according to the push information play address;
    播放所述推送信息。Play the push information.
  8. 根据权利要求7所述的装置,其中,所述计算机可读指令可以使所述处理器执行以下操作:在播放所述推送信息过程中控制视频直播不展示所述视频标识所对应的视频的图像和音频信息,以及在所述推送信息播放结束后控制视频直播展示所述视频标识所对应的视频的图像和音频信息。The apparatus of claim 7, wherein the computer readable instructions are operative to cause the processor to: control a live video during playback of the push information not to display an image of a video corresponding to the video identification And audio information, and controlling the live broadcast of the video to display the image and audio information of the video corresponding to the video identifier after the push information is played.
  9. 根据权利要求7所述的装置,其中,所述计算机可读指令可以使所述处理器执行以下操作:在所述根据所述推送信息播放地址获取推送信息之后,绘制所述推送信息的相关信息,所述相关信息包括推送信息倒计时、推送信息详情控件和推送信息的交互中一种或多种。The apparatus according to claim 7, wherein said computer readable instructions are operative to cause said processor to: after said obtaining information based on said push information play address, drawing information about said push information The related information includes one or more of a push information countdown, a push information detail control, and a push information interaction.
  10. 根据权利要求7所述的装置,所述计算机可读指令可以使所述处理器执行以下操作:The apparatus of claim 7, the computer readable instructions to cause the processor to:
    所述推送信息播放请求还携带有的播放推送信息的总时长;The push information play request further carries a total duration of playing push information;
    向所述第二服务器发起所述推送信息播放请求,以及接收所述第二服务器根据所述视频标识和所述播放推送信息的总时长所选取的推送信息所对应的推送信息播放地址。 And sending the push information play request to the second server, and receiving a push information play address corresponding to the push information selected by the second server according to the total length of the video identifier and the play push information.
  11. 根据权利要求10所述的装置,所述计算机可读指令可以使所述处理器执行以下操作:所述推送信息播放请求还携带有用户标识;The apparatus of claim 10, the computer readable instructions to cause the processor to: the push information play request further carry a user identification;
    向所述第二服务器所述推送信息播放请求,以及接收所述第二服务器根据所述视频标识、所述播放推送信息的总时长和用户标识所选取的推送信息播放地址。And pushing the information play request to the second server, and receiving a push information play address selected by the second server according to the video identifier, the total duration of the play push information, and the user identifier.
  12. 根据权利要求7所述的装置,所述计算机可读指令可以使所述处理器执行以下操作:The apparatus of claim 7, the computer readable instructions to cause the processor to:
    所述推送信息插入标记为Hppt Live Streaming协议的扩展字段中的推送信息插入字段;The push information insertion mark is a push information insertion field in an extension field of the Hppt Live Streaming protocol;
    判断所述数据中的Hppt Live Streaming协议的扩展字段中是否包含推送信息插入字段。It is determined whether the push information insertion field is included in the extension field of the Hppt Live Streaming protocol in the data.
  13. 一种视频直播中播放推送信息的方法,包括:A method for playing push information in a live video broadcast, comprising:
    通过第一服务器向视频直播的终端发送包含推送信息插入标记的数据;Sending, by the first server, data including a push information insertion mark to the terminal of the live video;
    接收所述终端发起的携带有视频标识的推送信息播放请求,并根据所述推送信息播放请求选取推送信息,并将所述推送信息所对应的推送信息播放地址发送给所述终端,以使所述终端根据所述播放地址获取推送信息,播放所述推送信息。Receiving, by the terminal, a push information play request carrying a video identifier, and selecting push information according to the push information play request, and sending a push information play address corresponding to the push information to the terminal, so that The terminal acquires the push information according to the play address, and plays the push information.
  14. 根据权利要求13所述的方法,其中,所述推送信息播放请求进一步携带有用户标识和播放推送信息的总时长;The method according to claim 13, wherein the push information play request further carries a total duration of the user identification and the play push information;
    所述根据所述推送信息播放请求选取推送信息包括:根据所述视频标识、所述播放推送信息的总时长和所述用户标识所选取的推送信息。The selecting the push information according to the push information play request includes: according to the video identifier, the total duration of the play push information, and the push information selected by the user identifier.
  15. 根据权利要求13所述的方法,其中,在通过第一服务器向视频直播的终端发送包含推送信息插入标记的数据的步骤之前,所述方法还包括:The method according to claim 13, wherein before the step of transmitting the data including the push information insertion flag to the terminal of the live video broadcast by the first server, the method further comprises:
    通过第一服务器在视频直播中利用Hppt Live Streaming协议的扩展字段增加推送信息插入字段,将所述推送信息插入字段作为所述推送信息插入标记。The push information insertion field is added by the first server in the live broadcast of the Hppt Live Streaming protocol in the live video, and the push information insertion field is used as the push information insertion flag.
  16. 一种视频直播中播放推送信息的装置,该装置包括处理器和存储器,所述存储器中存储有计算机可读指令,可以使所述处理器执行以 下操作:A device for playing push information in a live video broadcast, the device comprising a processor and a memory, wherein the memory stores computer readable instructions, which can be executed by the processor Next operation:
    通过第一服务器向视频直播的终端发送包含推送信息插入标记的数据;Sending, by the first server, data including a push information insertion mark to the terminal of the live video;
    接收所述终端发起的推送信息播放请求,其中,所述推送信息播放请求携带有所述数据的视频标识;Receiving, by the terminal, a push information play request, where the push information play request carries a video identifier of the data;
    根据所述推送信息播放请求选取推送信息;Selecting push information according to the push information play request;
    将所述推送信息所对应的推送信息播放地址发送给所述终端,以使所述终端根据所述播放地址获取推送信息,播放所述推送信息。Sending, by the terminal, the push information play address corresponding to the push information to the terminal, so that the terminal acquires the push information according to the play address, and plays the push information.
  17. 根据权利要求16所述的装置,所述计算机可读指令可以使所述处理器执行以下操作:接收所述携带有所述视频标识、播放推送信息的总时长和用户标识推送信息播放请求;The apparatus according to claim 16, wherein the computer readable instructions may cause the processor to: receive the total duration of carrying the video identification, playing the push information, and the user identification push information play request;
    根据所述视频标识、所述播放推送信息的总时长和用户标识所选取的推送信息;And the push information selected according to the video identifier, the total duration of the play push information, and the user identifier;
    将所述推送信息所对应的推送信息播放地址发送给所述终端。Sending a push information play address corresponding to the push information to the terminal.
  18. 根据权利要求16所述的装置,所述计算机可读指令可以使所述处理器执行以下操作:The apparatus of claim 16, the computer readable instructions to cause the processor to:
    在通过第一服务器向视频直播的终端发送包含推送信息插入标记的数据之前,通过第一服务器在视频直播中利用Hppt Live Streaming协议的扩展字段增加推送信息插入字段,将所述推送信息插入字段作为所述推送信息插入标记。Before sending the data including the push information insertion mark to the live broadcast terminal by the first server, the first server uses the extension field of the Hppt Live Streaming protocol to increase the push information insertion field in the live video, and inserts the push information into the field as The push information inserts a mark.
  19. 一种非易失性计算机可读存储介质,存储有计算机可读指令,可以使至少一个处理器执行以下操作:A non-transitory computer readable storage medium storing computer readable instructions that cause at least one processor to:
    在视频直播中从第一服务器读取数据,并判断所述数据中是否包含推送信息插入标记;Reading data from the first server in the live video, and determining whether the data includes a push information insertion flag;
    若所述数据中包含推送信息插入标记,向第二服务器发起推送信息播放请求,其中,所述推送信息播放请求携带有所述数据的视频标识;If the data includes a push information insertion flag, initiate a push information play request to the second server, where the push information play request carries the video identifier of the data;
    接收所述第二服务器根据所述推送信息播放请求选取的推送信息所对应的推送信息播放地址;Receiving, by the second server, a push information play address corresponding to the push information selected according to the push information play request;
    根据所述推送信息播放地址获取推送信息;以及Obtaining push information according to the push information play address;
    播放所述推送信息。 Play the push information.
  20. 一种非易失性计算机可读存储介质,存储有计算机可读指令,可以使至少一个处理器执行以下操作:A non-transitory computer readable storage medium storing computer readable instructions that cause at least one processor to:
    通过第一服务器向视频直播的终端发送包含推送信息插入标记的数据;Sending, by the first server, data including a push information insertion mark to the terminal of the live video;
    接收所述终端发起的推送信息播放请求,并根据所述推送信息播放请求选取推送信息,并将所述推送信息所对应的推送信息播放地址发送给所述终端,以使所述终端根据所述播放地址获取推送信息,播放所述推送信息其中,所述推送信息播放请求携带有从第一服务器获取的视频标识。 Receiving a push information play request initiated by the terminal, and selecting push information according to the push information play request, and sending a push information play address corresponding to the push information to the terminal, so that the terminal according to the The play address obtains the push information, and the push information is played, wherein the push information play request carries the video identifier acquired from the first server.
PCT/CN2017/070688 2016-01-14 2017-01-10 Method and apparatus for playing push information during video live broadcast WO2017121303A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610024357.2 2016-01-14
CN201610024357.2A CN105635764B (en) 2016-01-14 2016-01-14 Method and device for playing push information in live video

Publications (1)

Publication Number Publication Date
WO2017121303A1 true WO2017121303A1 (en) 2017-07-20

Family

ID=56050189

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/070688 WO2017121303A1 (en) 2016-01-14 2017-01-10 Method and apparatus for playing push information during video live broadcast

Country Status (2)

Country Link
CN (1) CN105635764B (en)
WO (1) WO2017121303A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831538A (en) * 2019-03-28 2019-05-31 北京达佳互联信息技术有限公司 A kind of message treatment method, device, server, terminal and medium
CN111340633A (en) * 2020-03-04 2020-06-26 上海点掌文化传媒股份有限公司 Stock service system for stock market information
CN112804309A (en) * 2020-12-31 2021-05-14 中国人寿保险股份有限公司上海数据中心 Multicast pushing method

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635764B (en) * 2016-01-14 2020-11-06 腾讯科技(深圳)有限公司 Method and device for playing push information in live video
CN106453528B (en) * 2016-09-27 2019-11-01 北京小米移动软件有限公司 The method and device of PUSH message
CN106991108A (en) * 2016-09-27 2017-07-28 阿里巴巴集团控股有限公司 The method for pushing and device of a kind of information
CN108259409B (en) * 2016-12-28 2020-08-11 腾讯科技(深圳)有限公司 Information processing method, terminal and system
CN106934689A (en) * 2017-02-25 2017-07-07 杭州领娱科技有限公司 Commodity supplying system and method based on instant messaging chatroom
CN106899857B (en) * 2017-03-23 2019-03-15 武汉斗鱼网络科技有限公司 Server load adjusting method, device and server
CN107241615A (en) * 2017-07-31 2017-10-10 合网络技术(北京)有限公司 Live pause method, system, live pause device and direct broadcast server
CN108769775B (en) * 2018-05-30 2021-06-29 广州方硅信息技术有限公司 Data processing method and device in live webcast and live webcast system
CN111049723B (en) * 2018-10-15 2022-11-08 广州虎牙信息科技有限公司 Message pushing method, message management system, server and computer storage medium
CN111669612B (en) * 2019-03-08 2023-02-28 腾讯科技(深圳)有限公司 Live broadcast-based information delivery method and device and computer-readable storage medium
CN111970528B (en) * 2020-08-20 2022-04-26 广州方硅信息技术有限公司 Live broadcast recommendation method and device, computer equipment and readable storage medium
JP7473930B2 (en) 2020-10-28 2024-04-24 ビゴ テクノロジー ピーティーイー. リミテッド Video playback method, device, terminal, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010050839A (en) * 2008-08-22 2010-03-04 Visionere Corp Data playback apparatus and data playback restriction system
US20100299687A1 (en) * 2009-05-23 2010-11-25 Adrian Bertino-Clarke Peer-to-peer video content distribution
CN102868922A (en) * 2012-09-11 2013-01-09 Tcl通力电子(惠州)有限公司 Method and system for playing advertisement
CN103517101A (en) * 2012-06-29 2014-01-15 深圳市快播科技有限公司 Method and system for simultaneously playing time line advertisement based on multi-screen interaction scene
CN104378331A (en) * 2013-08-14 2015-02-25 腾讯科技(北京)有限公司 Network medium information playing and response processing method, device and system
CN105635764A (en) * 2016-01-14 2016-06-01 腾讯科技(深圳)有限公司 Method and device for playing push information in live video

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7631327B2 (en) * 2001-08-08 2009-12-08 Accenture Global Services Gmbh Enhanced custom content television
CN102025784A (en) * 2010-12-21 2011-04-20 中兴通讯股份有限公司 Method, device and system for downloading streaming media file
CN103200197B (en) * 2013-04-08 2017-03-15 百度在线网络技术(北京)有限公司 Multimedia control method for playing back, system, cloud server and terminal
US9641891B2 (en) * 2013-06-17 2017-05-02 Spotify Ab System and method for determining whether to use cached media
CN105100818B (en) * 2014-04-29 2018-12-11 腾讯科技(北京)有限公司 Carry out method, system and the Website server of web video broadcasting

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010050839A (en) * 2008-08-22 2010-03-04 Visionere Corp Data playback apparatus and data playback restriction system
US20100299687A1 (en) * 2009-05-23 2010-11-25 Adrian Bertino-Clarke Peer-to-peer video content distribution
CN103517101A (en) * 2012-06-29 2014-01-15 深圳市快播科技有限公司 Method and system for simultaneously playing time line advertisement based on multi-screen interaction scene
CN102868922A (en) * 2012-09-11 2013-01-09 Tcl通力电子(惠州)有限公司 Method and system for playing advertisement
CN104378331A (en) * 2013-08-14 2015-02-25 腾讯科技(北京)有限公司 Network medium information playing and response processing method, device and system
CN105635764A (en) * 2016-01-14 2016-06-01 腾讯科技(深圳)有限公司 Method and device for playing push information in live video

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831538A (en) * 2019-03-28 2019-05-31 北京达佳互联信息技术有限公司 A kind of message treatment method, device, server, terminal and medium
CN111340633A (en) * 2020-03-04 2020-06-26 上海点掌文化传媒股份有限公司 Stock service system for stock market information
CN112804309A (en) * 2020-12-31 2021-05-14 中国人寿保险股份有限公司上海数据中心 Multicast pushing method
CN112804309B (en) * 2020-12-31 2022-09-20 中国人寿保险股份有限公司上海数据中心 Multicast pushing method

Also Published As

Publication number Publication date
CN105635764A (en) 2016-06-01
CN105635764B (en) 2020-11-06

Similar Documents

Publication Publication Date Title
WO2017121303A1 (en) Method and apparatus for playing push information during video live broadcast
US9769414B2 (en) Automatic media asset update over an online social network
US11025967B2 (en) Method for inserting information push into live video streaming, server, and terminal
US8825809B2 (en) Asset resolvable bookmarks
US8676908B2 (en) Method and system for seamless interaction and content sharing across multiple networks
WO2019144949A1 (en) Internet-based live interaction
EP2635040A2 (en) Method and server for the social network-based sharing of tv broadcast content, and method and device for receiving a service for the social network-based sharing of tv broadcast content
US20090271820A1 (en) Method of recommending broadcasting contents and recommending apparatus therefor in multimedia contents reproducing device
JP2014086087A (en) Method and system for inserting advertisement into media stream
CN102893299A (en) Editable bookmarks shared via a social network
JP2009093355A (en) Information processor, content provision server, communication relay server, information processing method, content provision method and communication relay method
TW200939762A (en) System and method for a personal video inbox channel
WO2019084875A1 (en) Information processing method and apparatus, server, and storage medium
CN111444415A (en) Barrage processing method, server, client, electronic device and storage medium
US20120246240A1 (en) Providing Context Information Relating To Media Content That Is Being Presented
CN104918071A (en) Video playing method, device and terminal equipment
CA2966263C (en) Method and system to share advertisement content from a main device to a secondary device
TWI558189B (en) Methods, apparatus, and user interfaces for social user quantification
JP2007195119A (en) Mobile terminal device, program, and information storage medium
JP6590920B2 (en) Electronic program guide displaying media service recommendations
KR101262547B1 (en) Method and system for selecting specific part on program based on use of social service
US20150113043A1 (en) Method, System and Program Product for an Interactive Entertainment Service

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17738117

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17738117

Country of ref document: EP

Kind code of ref document: A1