WO2019144534A1 - Method and device for playing advertisement during live broadcast, and client - Google Patents

Method and device for playing advertisement during live broadcast, and client Download PDF

Info

Publication number
WO2019144534A1
WO2019144534A1 PCT/CN2018/084253 CN2018084253W WO2019144534A1 WO 2019144534 A1 WO2019144534 A1 WO 2019144534A1 CN 2018084253 W CN2018084253 W CN 2018084253W WO 2019144534 A1 WO2019144534 A1 WO 2019144534A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
advertisement resource
resource
target
advertisement
Prior art date
Application number
PCT/CN2018/084253
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 WO2019144534A1 publication Critical patent/WO2019144534A1/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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/812Monomedia components thereof involving advertisement data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/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/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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Definitions

  • the present disclosure relates to the field of Internet technologies, and in particular, to a method, an apparatus, and a client for playing an advertisement in a live broadcast.
  • the traditional video advertisement delivery method mainly adopts the prefabrication method, and the advertisement delivery is determined in advance in time, and is fixedly inserted at various time points of the video, which is difficult to change.
  • the content of the advertisement is also determined in advance, and once played, it cannot be changed midway. These are difficult to meet the real-time and accuracy requirements of advertising during the live broadcast.
  • the live broadcast is real-time, when the number of viewers is large, the risk of high concurrency is large, and the traditional advertisement delivery method is difficult to apply, and it is not necessary to insert an advertisement in a live broadcast to solve these problems.
  • the purpose of the present disclosure is to provide a method for playing an advertisement in a live broadcast, so as to insert an advertisement in a live broadcast, and improve flexibility of advertisement insertion.
  • Another object of the present disclosure is to provide an advertisement playing device in a live broadcast, so as to insert an advertisement in a live broadcast, and improve flexibility of advertisement insertion.
  • Another object of the present disclosure is to provide a client to enable insertion of an advertisement in a live broadcast to improve the flexibility of advertisement insertion.
  • an embodiment of the present disclosure provides a method for playing an advertisement in a live broadcast, where the method is applied to a first client, the first client is in communication connection with a second client, and the first client and the first client The two clients are all connected to the service terminal, and the method includes: acquiring an advertisement resource from the service terminal in response to an operation of the user entering the live broadcast room; receiving a number of the target advertisement resource sent by the second client, the target advertisement resource The number is determined by the second client to select one of the inventory resources from the service pool of the service terminal in response to the user's selection operation; and the target advertisement resource is controlled to play according to the number of the received target advertisement resource.
  • step of controlling the target advertisement to play according to the number of the received target advertisement resource includes:
  • the advertisement resource is obtained from the service terminal.
  • the status of the advertisement resource acquired by the first client from the service terminal includes a download success status and a download status.
  • step of controlling the target advertisement to play according to the number of the received target advertisement resource includes:
  • the control target advertisement resource is played, and when the status of the target advertisement resource is the download status, the target advertisement resource is controlled to be played while being cached.
  • the state of the advertisement resource acquired by the first client from the service terminal includes a not yet downloaded state
  • the step of controlling the target advertisement resource to be played according to the number of the received target advertisement resource includes:
  • the target inventory is controlled to be cached in real time.
  • the step of obtaining an advertisement resource from the service terminal in response to the operation of the user entering the live broadcast room includes:
  • the step of sending a request for obtaining a resource to the service terminal in response to the operation of the user entering the live broadcast room includes:
  • the resource acquisition request is sent to the service terminal at a random time.
  • the method further includes:
  • step of controlling the target advertisement to play according to the number of the received target advertisement resource includes:
  • step of controlling the target advertisement to play according to the number of the received target advertisement resource includes:
  • the playing condition includes the number of gifts received by the anchor, the popularity of the live room, or the number of responses of the users in the live room.
  • the method further includes: adjusting an advertisement play interface in response to an advertisement play interface adjustment instruction sent by the second client.
  • the method further includes: sending a prompt signal to the second client when the target advertisement resource is played.
  • an embodiment of the present disclosure further provides an advertisement playing device in a live broadcast, where the device is applied to a first client, the first client is in communication connection with a second client, and the first client and the first client
  • the second client is connected to the service terminal, and the device includes: an obtaining module, configured to obtain an advertisement resource from the service terminal in response to the user entering the live broadcast room; and a receiving module configured to receive the second client a number of the target advertisement resource, wherein the number of the target advertisement resource is determined by the second client responding to the user's selection operation from one of the selected inventory resources of the service terminal's inventory pool; the control module is configured to The number of the targeted inventory received controls the target inventory for playback.
  • the status of the advertisement resource acquired by the first client from the service terminal includes a download success status and a download status.
  • control module is further configured to:
  • the control target advertisement resource is played, and when the status of the target advertisement resource is the download status, the target advertisement resource is controlled to be played while being cached.
  • the acquiring module is further configured to: initiate a resource acquisition request to the service terminal in response to an operation of the user entering the live broadcast room;
  • control module is further configured to receive a preset playing rule sent by the second client, and control the target advertising resource to play according to the playing rule and the received number of the target advertising resource.
  • the play rule is that the play condition meets a preset value.
  • an embodiment of the present disclosure further provides a client, where the client is connected to a second client, where both the client and the second client are connected to a service terminal, where the client includes a memory and A processor configured to store computer program code, the processor being configured to execute computer program code stored in the memory to implement the live broadcast advertisement method.
  • an embodiment of the present disclosure provides a storage medium having stored thereon a computer program that, when executed by a processor, implements any of the above methods.
  • the method and device for playing an advertisement in a live broadcast are applied to a first client (client), and the first client is connected to the second client. Both the first client and the second client are connected to the service terminal.
  • the method includes: the first client obtains an advertisement resource from the service terminal in response to the user entering the live broadcast room, and when the advertisement resource needs to be played, the second client selects one from the service pool of the service terminal in response to the user's selection operation.
  • the advertisement is used as the target inventory, and the number of the target inventory is sent to the first client terminal, and the target client plays the target inventory.
  • the second client randomly determines an advertisement resource from the advertisement resource pool of the service terminal, and the first client implements the specific playback of the advertisement resource, thereby greatly improving the flexibility of playing the advertisement in the live broadcast. There is no need to play a pre-designated ad.
  • FIG. 1 is a schematic diagram of an application environment of an advertisement playing method in a live broadcast according to an embodiment of the present disclosure.
  • FIG. 2 is a schematic structural diagram of a client provided by an embodiment of the present disclosure.
  • FIG. 3 is a schematic flowchart diagram of a method for playing an advertisement in a live broadcast according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of functional modules of an advertisement playing device in a live broadcast according to an embodiment of the present disclosure.
  • the advertisement is usually fixed at various time points of the video, and once set, the video cannot be changed when the video starts playing, and the existing video is recorded and recorded, that is, the Ad insertion is not suitable for live broadcasts with real-time performance.
  • the live broadcast is more and more popular among users, the live broadcast market prospects are getting better and better. Therefore, embedding advertisements in live broadcasts will be a new and highly market-oriented operation mode.
  • the embodiment of the present disclosure provides a method for playing an advertisement in a live broadcast, which enables an advertisement to be played in a live broadcast, and the advertisement to be played can be selected by the anchor, thereby providing flexibility of advertisement. Enhanced interaction between anchors and general users.
  • the method for playing an advertisement in the live broadcast is applied to the first client 100, and the first client 100 may be, but not
  • the first client 100 is the side where the user is located, that is, the user can enter the live room through the first client 100 to watch the live broadcast of the anchor.
  • the first client 100 is in communication with the second client 200.
  • the second client 200 can be, but is not limited to, an intelligent electronic device such as a tablet computer, a mobile phone, or a desktop computer. On one side, the user can open the live broadcast room through the second client 200 to start the live broadcast for other users to see.
  • the first client 100 and the second client 200 are both connected to the service terminal 300.
  • the service terminal 300 is a server.
  • the service terminal 300 has an inventory pool, and the advertisement pool stores different types of advertisements, such as Image ads, video ads, red envelope ads, and more.
  • the first client 100 will download different types of advertisement resources from the advertisement resource pool of the service terminal 300 when the user enters the live broadcast room, and the second client 200 will respond to the selection of the anchor when the anchor wants to play the advertisement.
  • the number of the advertisement resource is selected from the advertisement resource pool of the service terminal 300 and sent to the first client 100, and then the corresponding numbered advertisement resource is played by the first client 100 to be displayed on the user who is watching the live broadcast. It can be seen that the advertisement resources played by the first client 100 are selected by the anchor at any time point in the live broadcast, and the type of the selected advertisement resources is random, thereby increasing the flexibility of playing the advertisement, so that Users are happy to accept.
  • FIG. 2 is a schematic structural diagram of a first client 100 according to an embodiment of the present disclosure.
  • the first client 100 includes an advertisement playing device 110 , a memory 120 , a storage controller 130 , a processor 140 , and an external server .
  • An interface 150, an input and output unit 160, an audio unit 170, a display unit 180, and a communication unit 190 are provided.
  • the components of the memory 120, the memory controller 130, the processor 140, the peripheral interface 150, the input and output unit 160, the audio unit 170, the display unit 180, and the communication unit 190 are directly or indirectly electrically connected to each other to implement The transmission or interaction of data.
  • the components can be electrically connected to one another via one or more communication buses or signal lines.
  • the live broadcast advertisement playing device 110 includes at least one software that can be stored in the memory 120 or is solidified in an operating system (OS) of the first client 100 device in the form of software or firmware. functional module.
  • the processor 140 is configured to execute executable modules stored in the memory 120, such as software functional modules or computer programs included in the live broadcast advertising device 110.
  • the memory 120 can be, but not limited to, a random access memory (RAM), a read only memory (ROM), and a programmable read-only memory (PROM). Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EEPROM), and the like.
  • RAM random access memory
  • ROM read only memory
  • PROM programmable read-only memory
  • EPROM Erasable Programmable Read-Only Memory
  • EEPROM Electric Erasable Programmable Read-Only Memory
  • the memory 120 is configured to store a program, and the processor 140 executes the program after receiving the execution instruction.
  • the method performed by the data collection end 100 defined by the flow process disclosed in any embodiment of the present disclosure may be It is applied to processor 140 or implemented by processor 140.
  • Processor 140 may be an integrated circuit chip with signal processing capabilities.
  • the processor 140 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP Processor, etc.), or a digital signal processor (DSP), an application specific integrated circuit. (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
  • CPU central processing unit
  • NP Processor network processor
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA Field Programmable Gate Array
  • the general purpose processor may be a microprocessor or the processor 140 may be any conventional processor 140 or the like.
  • peripheral interface 150 couples various input/output devices to the processor 140 and to the memory 120.
  • peripheral interface 150, processor 140, and memory controller 130 can be implemented in a single chip. In other instances, they can be implemented by separate chips.
  • the input output unit 160 is configured to provide input to the user to enable user interaction with the data collection terminal 100.
  • the input and output unit 160 may be, but not limited to, a mouse, a keyboard, and the like.
  • the audio unit 170 provides an audio interface to the user, which may include one or more microphones, one or more speakers, and audio circuitry.
  • the display unit 180 provides an interactive interface (eg, a user interface) between the first client 100 and the user or is configured to display image data to the user for reference.
  • the display unit 180 can be a liquid crystal display or a touch display.
  • a touch display it can be a capacitive touch screen or a resistive touch screen that supports single-point and multi-touch operations. Supporting single-point and multi-touch operations means that the touch display can sense simultaneous touch operations from one or more locations on the touch display, and the touch operation is transferred to the processor 140. Perform calculations and processing.
  • the communication unit 190 is configured to establish a connection between the second client 200 and the service terminal 300 through the network, thereby implementing between the first client 100 and the second client 200 and the service terminal 300.
  • the communication is connected and configured to send and receive data through the network.
  • FIG. 3 is a schematic flowchart of a method for playing an advertisement in a live broadcast according to an embodiment of the present disclosure.
  • the method for playing an advertisement in the live broadcast is applied to the first client 100, and the method includes:
  • Step S110 Acquire an advertisement resource from the service terminal in response to an operation of the user entering the live broadcast room.
  • the first client 100 obtains the advertisement resource from the service terminal 300, and may be obtained and stored in advance by the first client 100 after the user enters the live broadcast room, or may be cached in real time.
  • the real-time cache is used by the service terminal 300 to notify the first client 100 to cache before the advertisement is to be played. This may reduce the real-time performance of the advertisement to a certain extent, but it can save resources.
  • the first client 100 when the user enters the live broadcast room, the first client 100 sends a request for acquiring a resource to the service terminal 300, and the service terminal 300 feeds back the address of the advertisement resource, that is, the URL of the advertisement resource, to the first client 100.
  • the inventory address includes the number of the advertisement resource, and the first client 100 will obtain the advertisement resource from the service terminal 300 according to the advertisement resource address.
  • the manner in which the advertisement is obtained may also increase the random number.
  • the first client 100 in response to the user entering the live broadcast room, the first client 100 sends a resource acquisition request to the service terminal 300 at a random time after the user enters the live broadcast room. In this way, it is possible to prevent the service terminal 300 from having a problem because the advertisement acquisition amount is large during the peak period.
  • Inventory downloads support both serial and parallel. Among them, although the serial mode is slow to download, the concurrent pressure of the service terminal 300 can be reduced; while the parallel mode may increase the concurrent pressure of the service terminal 300, the download is fast.
  • the first client 100 stores the downloaded inventory in real time, and after each advertisement is downloaded, calculates the size of all the inventory in real time, and further compares the size of all the inventory with the cache limit. Greater than the cache limit, deletes previously stored inventory to reduce memory consumption. Another way to reduce memory consumption is that the first client 100 automatically deletes the inventory that reaches the preset deadline.
  • the first client 100 may have downloaded the live broadcast correspondingly when entering the same live broadcast room for the first time.
  • the advertisement resource when the user enters the live broadcast room again, the first client 100 will still send a request for obtaining the resource to the service terminal 300 to obtain the advertisement resource address.
  • the first client 100 does not repeatedly search for the advertisement resource if it exists, according to the number of the advertisement resources included in the advertisement resource address. If not, the first client 100 will re-acquire the advertising resources from the service terminal 300 according to the advertisement address to reduce unnecessary workload.
  • Step S120 Receive a number of the target advertisement resource sent by the second client.
  • the second client 200 that is, the side where the anchor is located, the anchor will select one of the inventory resources from the inventory pool of the service terminal 300 at any point in the live broadcast process, and the advertisement resource is the target advertisement resource. And the second client 200 sends the selected number corresponding to the target advertisement resource to the first client 100. Since the service terminal 300 includes multiple types of advertisement resources, such as image advertisements, video advertisements, and the like, each type of advertisement resource corresponds to multiple advertisement resources having physical content, and the anchor can be selected according to one's own preference or prior agreement. One of the advertisement resources is used as the target advertisement resource, and the number of the target advertisement resource is sent by the second client 200 to the first client 100. It can be seen that the target inventory is specified by the anchor and is randomly inserted into any of the live broadcasts, which is more flexible and the user receives more.
  • Step S130 controlling the target advertisement resource to play according to the number of the received target advertisement resource.
  • the status of the advertisement resource acquired by the first client 100 from the service terminal 300 may have a download success status or a download status or a not yet download status, that is, the advertisement resources acquired by the first client 100.
  • the status is not certain.
  • the first client 100 receives the number of the advertisement resource that needs to be played by the second client 200, the first client 100 detects whether the number of the target advertisement resource exists in the acquired advertisement resource. If the target advertisement resource is in the download success state, the first client 100 directly controls the target advertisement resource to be played in the player, and if the target advertisement resource is in the downloading state, the first client 100 Control the target inventory to play while the cache is being played to improve the user experience.
  • the first client 100 controls the target advertisement resource to perform real-time cache, and the real-time cache is notified by the service terminal 300 to the first client 100 for caching before the advertisement is to be played, so that Can save resources.
  • the first client 100 controls the target inventory to be cached while playing in the real-time cache.
  • the playing time of the target inventory may be randomly played, or may be played within a preset time period.
  • the first client 100 controls the target advertisement resource to be played in the player, which may be determined by the anchor itself or determined by a preset playing rule, so that the advertisement is freely controlled to achieve the advertisement.
  • the anchor may also send a play instruction to the first client 100 through the second client 200.
  • the play command characterizes a determination instruction of a play time of the target advertisement.
  • the first client 100 controls the target advertisement resource to perform instant play or delayed play in response to the play instruction. That is to say, the anchor can control the target advertisement to play directly through the second client 200 or play after a certain period of time.
  • the playback time is selected by the anchor.
  • the first client 100 can receive the preset playing rule sent by the second client 200, and control the target advertising resource to play according to the playing rule and the number of the received target advertising resource.
  • the playing rule may be that the playing condition meets the preset value.
  • the playing condition may be the number of gifts received by the anchor, the popularity of the live room, or the number of responses of the users in the live room. That is to say, when the number of gifts received by the anchor, the popularity of the live room, or the number of responses of the users in the live room meet the preset value, the target advertisement resource is controlled to be played. This will improve the performance of your ads.
  • Step S140 adjusting the advertisement play interface in response to the advertisement play interface adjustment instruction sent by the second client 200.
  • the anchor can control the location and size of the advertisement play interface through the second client 200, and the second client 200 sends an advertisement play interface adjustment instruction to the first client 100.
  • the first client 100 adjusts the advertisement playing interface according to the advertisement playing interface adjustment instruction. That is to say, the location and size of the target advertisement resource in the live video of the first client 100 are adjusted. In this way, the user can see the advertisement and achieve a better user experience without affecting the live broadcast.
  • Step S150 Send a prompt signal to the second client 200 when the target advertisement resource is played.
  • the first client 100 may send a prompt signal to the second client 200, and the second client 200 sends a reminder message to the anchor according to the prompt signal, so that the anchor advertisement has been played, so that the anchor performs. Subsequent operations, you can continue to play another ad or ad combination, or you can stop playing ads and other live events.
  • the solution provides a method for playing an advertisement in a live broadcast, and randomly selects an advertisement to be played by the anchor to further play the specified advertisement resource on the client where the user is located, thereby enhancing the flexibility of playing the advertisement and improving the receiving of the user. degree.
  • FIG. 4 is a schematic diagram of functional modules of an advertisement playing device 110 in a live broadcast according to an embodiment of the present disclosure.
  • the device includes an obtaining module 111 , a receiving module 112 , and a control module 113 .
  • the obtaining module 111 is configured to obtain an advertisement resource from the service terminal in response to an operation of the user entering the live room.
  • step S110 may be performed by the acquisition module 111.
  • the receiving module 112 is configured to receive a number of the target advertisement resource sent by the second client, where the number of the target advertisement resource is that the second client responds to the user's selection operation from the service resource pool of the service terminal. One of the selected inventory is determined.
  • the receiving module 112 is further configured to receive a preset playing rule, a play command, an advertisement play interface adjustment command, a prompt signal, and other control commands issued by the second client 200.
  • step S120 may be performed by the receiving module 112.
  • the control module 113 is configured to control the target advertisement resource to play according to the number of the received target advertisement resource.
  • the control module 113 may be further configured to control the advertisement play and perform corresponding actions according to the received target advertisement resource number and the play rule, the play instruction, the advertisement play interface adjustment command, the prompt signal, and other control commands.
  • step S130 may be performed by the control module 1131.
  • the method, device, and client for playing an advertisement in a live broadcast are applied to a first client (client), the first client and the first client Two client connections, the first client and the second client are both connected to the service terminal.
  • the method includes: the first client obtains an advertisement resource from the service terminal in response to the user entering the live broadcast room, and when the advertisement resource needs to be played, the second client selects one from the service pool of the service terminal in response to the user's selection operation.
  • the advertisement is used as the target inventory, and the number of the target inventory is sent to the first client terminal, and the target client plays the target inventory.
  • the second client randomly determines an advertisement resource from the advertisement resource pool of the service terminal, and the first client implements the specific playback of the advertisement resource, thereby greatly improving the flexibility of playing the advertisement in the live broadcast. There is no need to play a pre-designated ad.
  • each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may also occur in a different order than those illustrated in the drawings.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions.
  • each functional module in various embodiments of the present disclosure may be integrated to form a separate part, or each module may exist separately, or two or more modules may be integrated to form a separate part.
  • the functions, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable storage medium.
  • a computer readable storage medium including: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like.
  • the method, device and client for playing an advertisement in a live broadcast improve the flexibility of playing an advertisement in a live broadcast without playing a pre-designated advertisement.

Landscapes

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

Abstract

The present invention relates to the technical field of Internet, and in particular to a method and device for playing an advertisement during live broadcast, and a client. A first client is connected to a second client, and the first client and the second client are both connected to a serving terminal. The method comprises: a first client obtains, in response to an operation of a user entering a live broadcast room, advertisement resources from a serving terminal; when an advertisement resource is required to be played, a second client selects, in response to a selection operation of the user, one advertisement resource from an advertisement resource pool of the serving terminal as a target advertisement resource and sends the number of the target advertisement resource to the first client terminal; the first client plays the target advertisement resource. In the present solution, the second client randomly determines an advertisement resource from the advertisement resource pool of the serving terminal, and the first client implements the specific playback of the advertisement resource, thereby greatly improving the flexibility of advertisement playback during live broadcast, without playing a pre-designated advertisement.

Description

直播中广告播放方法、装置及客户端Advertisement playing method, device and client in live broadcast
相关申请的交叉引用Cross-reference to related applications
本公开要求于2018年01月29日提交中国专利局的申请号为2018100853712、名称为“直播中广告播放方法、装置及客户端”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。The present disclosure claims priority to Chinese Patent Application No. 2018100853712, entitled "Advertising Play Method, Device and Client in Live Broadcasting", filed on January 29, 2018, the entire contents of which are incorporated herein by reference. In the public.
技术领域Technical field
本公开涉及互联网技术领域,具体而言,涉及一种直播中广告播放方法、装置及客户端。The present disclosure relates to the field of Internet technologies, and in particular, to a method, an apparatus, and a client for playing an advertisement in a live broadcast.
背景技术Background technique
随着互联网直播的兴起,直播过程中的广告也随之出现,并成为一种新的广告投放形式。它具有一些大多数广告投放方式所不具备的特点,包括投放的实时性、准确性和高并发性等,这些特点都对直播的广告投放系统提出了较高要求。With the rise of Internet live broadcast, advertisements in the live broadcast process have also appeared, and become a new form of advertising. It has some features that most advertising methods do not have, including real-time delivery, accuracy and high concurrency, all of which put high demands on the live advertising system.
传统的视频广告投放方式主要采用预制的方式,广告的投放都是提前确定好时间,固定穿插在视频的各个时间点,很难更改。广告内容也是提前确定,一旦播放,中途就不能更改。这些都难以满足直播过程中的广告投放的实时性和准确性要求。并且,由于直播是实时性的,当观看人数较多时,高并发带来的风险较大,传统的广告投放方式难以适用,亟需一个直播中插入广告的方法来解决这些问题。The traditional video advertisement delivery method mainly adopts the prefabrication method, and the advertisement delivery is determined in advance in time, and is fixedly inserted at various time points of the video, which is difficult to change. The content of the advertisement is also determined in advance, and once played, it cannot be changed midway. These are difficult to meet the real-time and accuracy requirements of advertising during the live broadcast. Moreover, since the live broadcast is real-time, when the number of viewers is large, the risk of high concurrency is large, and the traditional advertisement delivery method is difficult to apply, and it is not necessary to insert an advertisement in a live broadcast to solve these problems.
发明内容Summary of the invention
本公开的目的在于提供一种直播中广告播放方法,以实现在直播中插入广告,提高广告插入的灵活性。The purpose of the present disclosure is to provide a method for playing an advertisement in a live broadcast, so as to insert an advertisement in a live broadcast, and improve flexibility of advertisement insertion.
本公开的另一目的在于提供一种直播中广告播放装置,以实现在直播中插入广告,提高广告插入的灵活性。Another object of the present disclosure is to provide an advertisement playing device in a live broadcast, so as to insert an advertisement in a live broadcast, and improve flexibility of advertisement insertion.
本公开的另一目的在于提供一种客户端,以实现在直播中插入广告,提高广告插入的灵活性。Another object of the present disclosure is to provide a client to enable insertion of an advertisement in a live broadcast to improve the flexibility of advertisement insertion.
为了实现上述目的,本公开实施例采用的技术方案如下:In order to achieve the above object, the technical solution adopted by the embodiment of the present disclosure is as follows:
第一方面,本公开实施例提供了一种直播中广告播放方法,所述方法应用于第一客户端,所述第一客户端与第二客户端通信连接,所述第一客户端和第二客户端均与服务终端 连接,所述方法包括:响应用户进入直播间的操作从所述服务终端获取广告资源;接收所述第二客户端发送的目标广告资源的编号,所述目标广告资源的编号为所述第二客户端响应用户的选择操作从所述服务终端的广告资源池中选定其中一个广告资源确定;根据接收的目标广告资源的编号控制目标广告资源进行播放。In a first aspect, an embodiment of the present disclosure provides a method for playing an advertisement in a live broadcast, where the method is applied to a first client, the first client is in communication connection with a second client, and the first client and the first client The two clients are all connected to the service terminal, and the method includes: acquiring an advertisement resource from the service terminal in response to an operation of the user entering the live broadcast room; receiving a number of the target advertisement resource sent by the second client, the target advertisement resource The number is determined by the second client to select one of the inventory resources from the service pool of the service terminal in response to the user's selection operation; and the target advertisement resource is controlled to play according to the number of the received target advertisement resource.
进一步地,所述根据接收的目标广告资源的编号控制目标广告资源进行播放的步骤包括:Further, the step of controlling the target advertisement to play according to the number of the received target advertisement resource includes:
检测所述目标广告资源的编号是否存在于已获取的广告资源中;Detecting whether the number of the target inventory exists in the acquired inventory;
若存在,则不再重复下载广告资源;If it exists, the inventory will not be downloaded again;
若不存在,则从所述服务终端获取广告资源。If not, the advertisement resource is obtained from the service terminal.
进一步地,所述第一客户端从服务终端获取的广告资源的状态包括下载成功状态和正在下载状态。Further, the status of the advertisement resource acquired by the first client from the service terminal includes a download success status and a download status.
进一步地,所述根据接收的目标广告资源的编号控制目标广告资源进行播放的步骤包括:Further, the step of controlling the target advertisement to play according to the number of the received target advertisement resource includes:
检测所述目标广告资源的编号是否存在于已获取的广告资源中;Detecting whether the number of the target inventory exists in the acquired inventory;
若存在,当所述目标广告资源的状态为下载成功状态时,控制目标广告资源进行播放,当所述目标广告资源的状态为正在下载状态时,控制所述目标广告资源边缓存边播放。If yes, when the status of the target advertisement resource is the download success status, the control target advertisement resource is played, and when the status of the target advertisement resource is the download status, the target advertisement resource is controlled to be played while being cached.
进一步地,所述第一客户端从服务终端获取的广告资源的状态包括还未下载状态,所述根据接收的目标广告资源的编号控制目标广告资源进行播放的步骤包括:Further, the state of the advertisement resource acquired by the first client from the service terminal includes a not yet downloaded state, and the step of controlling the target advertisement resource to be played according to the number of the received target advertisement resource includes:
检测所述目标广告资源的编号是否存在于已获取的广告资源中;Detecting whether the number of the target inventory exists in the acquired inventory;
若存在,当所述目标广告资源的状态为还未下载状态时,控制该目标广告资源进行实时缓存。If yes, when the status of the target inventory is not yet downloaded, the target inventory is controlled to be cached in real time.
进一步地,所述响应用户进入直播间的操作从所述服务终端获取广告资源的步骤包括:Further, the step of obtaining an advertisement resource from the service terminal in response to the operation of the user entering the live broadcast room includes:
响应用户进入直播间的操作向所述服务终端发送获取资源请求;Sending a resource acquisition request to the service terminal in response to an operation of the user entering the live broadcast room;
接收所述服务终端响应所述获取资源请求发送的广告资源地址;Receiving an advertisement resource address that is sent by the service terminal in response to the acquiring resource request;
根据所述广告资源地址从所述服务终端获取广告资源。Obtaining an advertisement resource from the service terminal according to the advertisement resource address.
进一步地,所述响应用户进入直播间的操作向所述服务终端发送获取资源请求的步骤包括:Further, the step of sending a request for obtaining a resource to the service terminal in response to the operation of the user entering the live broadcast room includes:
响应用户进入直播间的操作,在随机时间向所述服务终端发送获取资源请求。In response to the user entering the live broadcast room, the resource acquisition request is sent to the service terminal at a random time.
进一步地,所述方法还包括:Further, the method further includes:
对下载的广告资源进行存储,并在一个广告资源下载完毕后,实时计算所有广告资源的大小;Store the downloaded inventory and calculate the size of all inventory in real time after an inventory has been downloaded;
将所有广告资源的大小与缓存限制进行比较,若大于缓存限制则删除之前的广告资源。Compare the size of all inventory to the cache limit, and remove the previous inventory if it is greater than the cache limit.
进一步地,所述根据接收的目标广告资源的编号控制目标广告资源进行播放的步骤包括:Further, the step of controlling the target advertisement to play according to the number of the received target advertisement resource includes:
响应所述第二客户端发出的播放指令,控制所述目标广告资源进行即时播放或者延时播放。And in response to the play instruction issued by the second client, controlling the target advertisement resource to perform instant play or delayed play.
进一步地,所述根据接收的目标广告资源的编号控制目标广告资源进行播放的步骤包括:Further, the step of controlling the target advertisement to play according to the number of the received target advertisement resource includes:
接收所述第二客户端发出的预设的播放规则,并依据所述播放规则及接收的所述目标广告资源的编号控制所述目标广告资源进行播放,其中,所述播放规则为播放条件满足预设值。Receiving, by the second client, a preset playing rule, and controlling the target advertising resource to play according to the playing rule and the received number of the target advertising resource, where the playing rule is that the playing condition is satisfied default value.
进一步地,所述播放条件包括主播收到的礼物数、直播间的人气数或者直播间内用户的回复数。Further, the playing condition includes the number of gifts received by the anchor, the popularity of the live room, or the number of responses of the users in the live room.
进一步地,所述方法还包括:响应所述第二客户端发送的广告播放界面调节指令,对广告播放界面进行调节。Further, the method further includes: adjusting an advertisement play interface in response to an advertisement play interface adjustment instruction sent by the second client.
进一步地,所述方法还包括:在目标广告资源播放完毕时,向所述第二客户端发送提示信号。Further, the method further includes: sending a prompt signal to the second client when the target advertisement resource is played.
第二方面,本公开实施例还提供了一种直播中广告播放装置,所述装置应用于第一客户端,所述第一客户端与第二客户端通信连接,所述第一客户端和第二客户端均与服务终端连接,所述装置包括:获取模块,配置为响应用户进入直播间的操作从所述服务终端获取广告资源;接收模块,配置为接收所述第二客户端发送的目标广告资源的编号,所述目标广告资源的编号为所述第二客户端响应用户的选择操作从所述服务终端的广告资源池中选定的其中一个广告资源确定;控制模块,配置为根据接收的目标广告资源的编号控制目标广告资源进行播放。In a second aspect, an embodiment of the present disclosure further provides an advertisement playing device in a live broadcast, where the device is applied to a first client, the first client is in communication connection with a second client, and the first client and the first client The second client is connected to the service terminal, and the device includes: an obtaining module, configured to obtain an advertisement resource from the service terminal in response to the user entering the live broadcast room; and a receiving module configured to receive the second client a number of the target advertisement resource, wherein the number of the target advertisement resource is determined by the second client responding to the user's selection operation from one of the selected inventory resources of the service terminal's inventory pool; the control module is configured to The number of the targeted inventory received controls the target inventory for playback.
进一步地,所述第一客户端从服务终端获取的广告资源的状态包括下载成功状态和正在下载状态。Further, the status of the advertisement resource acquired by the first client from the service terminal includes a download success status and a download status.
进一步地,所述控制模块还配置为:Further, the control module is further configured to:
检测所述目标广告资源的编号是否存在于已获取的广告资源中;Detecting whether the number of the target inventory exists in the acquired inventory;
若存在,当所述目标广告资源的状态为下载成功状态时,控制目标广告资源进行播放,当所述目标广告资源的状态为正在下载状态时,控制所述目标广告资源边缓存边播放。If yes, when the status of the target advertisement resource is the download success status, the control target advertisement resource is played, and when the status of the target advertisement resource is the download status, the target advertisement resource is controlled to be played while being cached.
进一步地,所述获取模块还配置为:响应用户进入直播间的操作向所述服务终端发起获取资源请求;Further, the acquiring module is further configured to: initiate a resource acquisition request to the service terminal in response to an operation of the user entering the live broadcast room;
接收所述服务终端响应所述获取资源请求发送的广告资源地址;Receiving an advertisement resource address that is sent by the service terminal in response to the acquiring resource request;
根据所述广告资源地址从所述服务终端获取广告资源。Obtaining an advertisement resource from the service terminal according to the advertisement resource address.
进一步地,所述控制模块,还配置为接收所述第二客户端发出的预设的播放规则,并依据所述播放规则及接收的所述目标广告资源的编号控制所述目标广告资源进行播放,其中,所述播放规则为播放条件满足预设值。Further, the control module is further configured to receive a preset playing rule sent by the second client, and control the target advertising resource to play according to the playing rule and the received number of the target advertising resource. The play rule is that the play condition meets a preset value.
第三方面,本公开实施例还提供了一种客户端,所述客户端与第二客户端连接,所述客户端和第二客户端均与服务终端均连接,所述客户端包括存储器和处理器,所述存储器配置为存储计算机程序代码,所述处理器配置为执行存储于存储器中的计算机程序代码以实现所述的直播中广告播放方法。In a third aspect, an embodiment of the present disclosure further provides a client, where the client is connected to a second client, where both the client and the second client are connected to a service terminal, where the client includes a memory and A processor configured to store computer program code, the processor being configured to execute computer program code stored in the memory to implement the live broadcast advertisement method.
第四方面,本公开实施例提供一种存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现任一上述的方法。In a fourth aspect, an embodiment of the present disclosure provides a storage medium having stored thereon a computer program that, when executed by a processor, implements any of the above methods.
本公开实施例提供的一种直播中广告播放方法、装置及客户端,该直播中广告播放方法及装置应用于第一客户端(客户端),该第一客户端与第二客户端连接,第一客户端和第二客户端均与服务终端连接。该方法包括第一客户端响应用户进入直播间的操作从服务终端获取广告资源,在需要播放广告资源时,该第二客户端将响应用户的选择操作从服务终端的广告资源池中选定一个广告资源作为目标广告资源,并将该目标广告资源的编号发送至第一客户终端,由第一客户端对目标广告资源进行播放。在本方案中,由第二客户端随机从服务终端的广告资源池中确定一个广告资源,并由第一客户端实现广告资源的具体播放,进而较大地提高了在直播中播放广告的灵活性,无需播放事先指定的广告。The method and device for playing an advertisement in a live broadcast according to an embodiment of the present disclosure, the method and device for playing the advertisement in the live broadcast are applied to a first client (client), and the first client is connected to the second client. Both the first client and the second client are connected to the service terminal. The method includes: the first client obtains an advertisement resource from the service terminal in response to the user entering the live broadcast room, and when the advertisement resource needs to be played, the second client selects one from the service pool of the service terminal in response to the user's selection operation. The advertisement is used as the target inventory, and the number of the target inventory is sent to the first client terminal, and the target client plays the target inventory. In this solution, the second client randomly determines an advertisement resource from the advertisement resource pool of the service terminal, and the first client implements the specific playback of the advertisement resource, thereby greatly improving the flexibility of playing the advertisement in the live broadcast. There is no need to play a pre-designated ad.
为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。The above described objects, features, and advantages of the present invention will become more apparent from the description of the appended claims.
附图说明DRAWINGS
为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings to be used in the embodiments will be briefly described below. It should be understood that the following drawings show only certain embodiments of the present disclosure, and thus It should be seen as a limitation on the scope, and those skilled in the art can obtain other related drawings according to these drawings without any creative work.
图1示出了本公开实施例提供的一种直播中广告播放方法的应用环境的示意图。FIG. 1 is a schematic diagram of an application environment of an advertisement playing method in a live broadcast according to an embodiment of the present disclosure.
图2示出了本公开实施例提供的一种客户端的结构示意图。FIG. 2 is a schematic structural diagram of a client provided by an embodiment of the present disclosure.
图3示出了本公开实施例提供的一种直播中广告播放方法的流程示意图。FIG. 3 is a schematic flowchart diagram of a method for playing an advertisement in a live broadcast according to an embodiment of the present disclosure.
图4示出了本公开实施例提供的一种直播中广告播放装置的功能模块示意图。FIG. 4 is a schematic diagram of functional modules of an advertisement playing device in a live broadcast according to an embodiment of the present disclosure.
图示:100-第一客户端;200-第二客户端;300-服务终端;110-直播中广告播放装置;120-存储器;130-存储控制器;140-处理器;150-外设接口;160-输入输出单元;170-音频单元;180-显示单元;190-通信单元;111-获取模块;112-接收模块;113-控制模块。Illustration: 100-first client; 200-second client; 300-service terminal; 110-live broadcast advertising device; 120-memory; 130-storage controller; 140-processor; 150-peripheral interface 160-input-output unit; 170-audio unit; 180-display unit; 190-communication unit; 111-acquisition module; 112-receive module; 113-control module.
具体实施方式Detailed ways
下面将结合本公开实施例中附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present disclosure. It is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. The components of the disclosed embodiments, which are generally described and illustrated in the figures herein, can be arranged and designed in various different configurations. The detailed description of the embodiments of the present disclosure, which is set forth in the claims All other embodiments obtained by a person skilled in the art based on the embodiments of the present disclosure without creative efforts are within the scope of the present disclosure.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本公开的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that similar reference numerals and letters indicate similar items in the following figures, and therefore, once an item is defined in a drawing, it is not necessary to further define and explain it in the subsequent drawings. Meanwhile, in the description of the present disclosure, the terms "first", "second", and the like are used merely to distinguish a description, and are not to be construed as indicating or implying a relative importance.
在传统的广告播放方式中,通常是将广告固定穿插在视频的各个时间点,一旦设定后在视频开始播放时将不能更改,同时现有的视频都是录播形式,也就是说,该广告插入方式并不适用于具有实时性的直播。伴随着直播越来越受到用户喜爱,直播的市场前景也越来越好,因此,在直播中嵌入广告将是一个新的,极具市场价值的运营模式。考虑到直播具有实时性和互动性,因此,本公开实施例提供了一种直播中广告播放方法,实现在直播中播放广告,同时该播放的广告可由主播进行选择,提供了广告的灵活性,增强了主播和一般用户之间的互动。In the traditional advertisement playing mode, the advertisement is usually fixed at various time points of the video, and once set, the video cannot be changed when the video starts playing, and the existing video is recorded and recorded, that is, the Ad insertion is not suitable for live broadcasts with real-time performance. As the live broadcast is more and more popular among users, the live broadcast market prospects are getting better and better. Therefore, embedding advertisements in live broadcasts will be a new and highly market-oriented operation mode. In view of the real-time and interactive nature of the live broadcast, the embodiment of the present disclosure provides a method for playing an advertisement in a live broadcast, which enables an advertisement to be played in a live broadcast, and the advertisement to be played can be selected by the anchor, thereby providing flexibility of advertisement. Enhanced interaction between anchors and general users.
请参照图1,是本公开实施例提供的一种直播中广告播放方法的应用环境的示意图,该直播中播放广告的方法应用于第一客户端100,第一客户端100可以是,但不限于,手机、平板电脑等智能电子设备,该第一客户端100为用户所在的一侧,即用户可通过第一客户端100进入直播间观看主播的直播。该第一客户端100与第二客户端200通信连接,该第二客户端200可以是,但不限于,平板电脑、手机或台式电脑等智能电子设备,该第二客户端200为主播所在的一侧,即用户可以通过该第二客户端200打开直播间开始直播以让其他用户看到。该第一客户端100和第二客户端200均与服务终端300连接,该服务终端300为服务器,该服务终端300上有一个广告资源池,该广告资源池中存储有不同类型的广告,如图片广告、视频广告、红包广告等。1 is a schematic diagram of an application environment of an advertisement playing method in a live broadcast according to an embodiment of the present disclosure. The method for playing an advertisement in the live broadcast is applied to the first client 100, and the first client 100 may be, but not The first client 100 is the side where the user is located, that is, the user can enter the live room through the first client 100 to watch the live broadcast of the anchor. The first client 100 is in communication with the second client 200. The second client 200 can be, but is not limited to, an intelligent electronic device such as a tablet computer, a mobile phone, or a desktop computer. On one side, the user can open the live broadcast room through the second client 200 to start the live broadcast for other users to see. The first client 100 and the second client 200 are both connected to the service terminal 300. The service terminal 300 is a server. The service terminal 300 has an inventory pool, and the advertisement pool stores different types of advertisements, such as Image ads, video ads, red envelope ads, and more.
该第一客户端100将在用户进入直播间时,从服务终端300的广告资源池中下载不同类型的广告资源,该第二客户端200将在主播想要播放广告时,响应主播的选择从服务终端300的广告资源池中选择一个广告资源的编号,并发送至第一客户端100,进而由第一客户端100播放对应编号的广告资源以显示于正在观看直播的用户。由此可见,该第一客户端100播放的广告资源由主播在直播中任意时间点选定,且选定的广告资源的类型是随 机的,以此,增大了播放广告的灵活性,使得用户乐于接受。The first client 100 will download different types of advertisement resources from the advertisement resource pool of the service terminal 300 when the user enters the live broadcast room, and the second client 200 will respond to the selection of the anchor when the anchor wants to play the advertisement. The number of the advertisement resource is selected from the advertisement resource pool of the service terminal 300 and sent to the first client 100, and then the corresponding numbered advertisement resource is played by the first client 100 to be displayed on the user who is watching the live broadcast. It can be seen that the advertisement resources played by the first client 100 are selected by the anchor at any time point in the live broadcast, and the type of the selected advertisement resources is random, thereby increasing the flexibility of playing the advertisement, so that Users are happy to accept.
请参照图2,是本公开实施例提供的一种第一客户端100的结构示意图,该第一客户端100包括直播中广告播放装置110、存储器120、存储控制器130、处理器140、外设接口150、输入输出单元160、音频单元170、显示单元180以及通信单元190。Please refer to FIG. 2 , which is a schematic structural diagram of a first client 100 according to an embodiment of the present disclosure. The first client 100 includes an advertisement playing device 110 , a memory 120 , a storage controller 130 , a processor 140 , and an external server . An interface 150, an input and output unit 160, an audio unit 170, a display unit 180, and a communication unit 190 are provided.
所述存储器120、存储控制器130、处理器140、外设接口150、输入输出单元160、音频单元170、显示单元180、通信单元190各元件相互之间直接或间接地电性连接,以实现数据的传输或交互。例如,这些元件相互之间可通过一条或多条通讯总线或信号线实现电性连接。所述直播中广告播放装置110包括至少一个可以软件或固件(firmware)的形式存储于所述存储器120中或固化在所述第一客户端100设备的操作系统(operating system,OS)中的软件功能模块。所述处理器140配置为执行存储器120中存储的可执行模块,例如所述直播中广告播放装置110包括的软件功能模块或计算机程序。The components of the memory 120, the memory controller 130, the processor 140, the peripheral interface 150, the input and output unit 160, the audio unit 170, the display unit 180, and the communication unit 190 are directly or indirectly electrically connected to each other to implement The transmission or interaction of data. For example, the components can be electrically connected to one another via one or more communication buses or signal lines. The live broadcast advertisement playing device 110 includes at least one software that can be stored in the memory 120 or is solidified in an operating system (OS) of the first client 100 device in the form of software or firmware. functional module. The processor 140 is configured to execute executable modules stored in the memory 120, such as software functional modules or computer programs included in the live broadcast advertising device 110.
其中,存储器120可以是,但不限于,随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(Programmable Read-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EEPROM)等。其中,存储器120配置为存储程序,所述处理器140在接收到执行指令后,执行所述程序,前述本公开实施例任一实施例揭示的流过程定义的数据采集端100所执行的方法可以应用于处理器140中,或者由处理器140实现。The memory 120 can be, but not limited to, a random access memory (RAM), a read only memory (ROM), and a programmable read-only memory (PROM). Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EEPROM), and the like. The memory 120 is configured to store a program, and the processor 140 executes the program after receiving the execution instruction. The method performed by the data collection end 100 defined by the flow process disclosed in any embodiment of the present disclosure may be It is applied to processor 140 or implemented by processor 140.
处理器140可能是一种集成电路芯片,具有信号的处理能力。上述的处理器140可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本公开实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器140也可以是任何常规的处理器140等。 Processor 140 may be an integrated circuit chip with signal processing capabilities. The processor 140 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP Processor, etc.), or a digital signal processor (DSP), an application specific integrated circuit. (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The methods, steps, and logical block diagrams disclosed in the embodiments of the present disclosure may be implemented or carried out. The general purpose processor may be a microprocessor or the processor 140 may be any conventional processor 140 or the like.
所述外设接口150将各种输入/输出装置耦合至处理器140以及存储器120。在一些实施例中,外设接口150,处理器140以及存储控制器130可以在单个芯片中实现。在其他一些实例中,他们可以分别由独立的芯片实现。The peripheral interface 150 couples various input/output devices to the processor 140 and to the memory 120. In some embodiments, peripheral interface 150, processor 140, and memory controller 130 can be implemented in a single chip. In other instances, they can be implemented by separate chips.
输入输出单元160配置为提供给用户输入数据实现用户与所述数据采集端100的交互。所述输入输出单元160可以是,但不限于,鼠标和键盘等。The input output unit 160 is configured to provide input to the user to enable user interaction with the data collection terminal 100. The input and output unit 160 may be, but not limited to, a mouse, a keyboard, and the like.
音频单元170向用户提供音频接口,其可包括一个或多个麦克风、一个或者多个扬声器以及音频电路。The audio unit 170 provides an audio interface to the user, which may include one or more microphones, one or more speakers, and audio circuitry.
显示单元180在第一客户端100与用户之间提供一个交互界面(例如用户操作界面) 或配置为显示图像数据给用户参考。在本实施例中,所述显示单元180可以是液晶显示器或触控显示器。若为触控显示器,其可为支持单点和多点触控操作的电容式触控屏或电阻式触控屏等。支持单点和多点触控操作是指触控显示器能感应到来自该触控显示器上一个或多个位置处同时产生的触控操作,并将该感应到的触控操作交由处理器140进行计算和处理。The display unit 180 provides an interactive interface (eg, a user interface) between the first client 100 and the user or is configured to display image data to the user for reference. In this embodiment, the display unit 180 can be a liquid crystal display or a touch display. For a touch display, it can be a capacitive touch screen or a resistive touch screen that supports single-point and multi-touch operations. Supporting single-point and multi-touch operations means that the touch display can sense simultaneous touch operations from one or more locations on the touch display, and the touch operation is transferred to the processor 140. Perform calculations and processing.
所述通信单元190配置为通过所述网络与所述第二客户端200和服务终端300之间建立连接,从而实现所述第一客户端100与第二客户端200和服务终端300之间的通信连接,并配置为通过所述网络收发数据。The communication unit 190 is configured to establish a connection between the second client 200 and the service terminal 300 through the network, thereby implementing between the first client 100 and the second client 200 and the service terminal 300. The communication is connected and configured to send and receive data through the network.
请参照图3,是本公开实施例提供的一种直播中广告播放方法的流程示意图,该直播中广告播放方法应用于第一客户端100,该方法包括:FIG. 3 is a schematic flowchart of a method for playing an advertisement in a live broadcast according to an embodiment of the present disclosure. The method for playing an advertisement in the live broadcast is applied to the first client 100, and the method includes:
步骤S110,响应用户进入直播间的操作从所述服务终端获取广告资源。Step S110: Acquire an advertisement resource from the service terminal in response to an operation of the user entering the live broadcast room.
需要说明的是,该第一客户端100从服务终端300获取广告资源,可以是在用户进入直播间之后,第一客户端100预先进行获取并存储,也可以是进行实时缓存。其中,实时缓存是在即将播放广告前由服务终端300通知第一客户端100进行缓存,这样虽然可能会在一定程度上降低广告播放的实时性,但是更能节约资源。It should be noted that the first client 100 obtains the advertisement resource from the service terminal 300, and may be obtained and stored in advance by the first client 100 after the user enters the live broadcast room, or may be cached in real time. The real-time cache is used by the service terminal 300 to notify the first client 100 to cache before the advertisement is to be played. This may reduce the real-time performance of the advertisement to a certain extent, but it can save resources.
本实施例中,当用户进入直播间时,该第一客户端100将向服务终端300发送获取资源请求,进而该服务终端300将反馈广告资源地址,即广告资源的URL至第一客户端100,该广告资源地址中包含广告资源的编号,进而第一客户端100将根据该广告资源地址从服务终端300获取广告资源。在本公开的其他实施例中,广告资源的获取方式也可以增加随机数。可选地,响应用户进入直播间的操作,该第一客户端100在用户进入直播间后的随机时间向服务终端300发送获取资源请求。这样,能够防止因为高峰时期广告获取并发量大,导致服务终端300出现问题。In this embodiment, when the user enters the live broadcast room, the first client 100 sends a request for acquiring a resource to the service terminal 300, and the service terminal 300 feeds back the address of the advertisement resource, that is, the URL of the advertisement resource, to the first client 100. The inventory address includes the number of the advertisement resource, and the first client 100 will obtain the advertisement resource from the service terminal 300 according to the advertisement resource address. In other embodiments of the present disclosure, the manner in which the advertisement is obtained may also increase the random number. Optionally, in response to the user entering the live broadcast room, the first client 100 sends a resource acquisition request to the service terminal 300 at a random time after the user enters the live broadcast room. In this way, it is possible to prevent the service terminal 300 from having a problem because the advertisement acquisition amount is large during the peak period.
广告资源下载支持串行和并行两种方式。其中,串行方式虽然下载较慢,但可以减少服务终端300的并发压力;并行方式虽然可能增大服务终端300的并发压力,但是下载快。Inventory downloads support both serial and parallel. Among them, although the serial mode is slow to download, the concurrent pressure of the service terminal 300 can be reduced; while the parallel mode may increase the concurrent pressure of the service terminal 300, the download is fast.
此外,第一客户端100将对下载的广告资源进行实时存储,并在每一个广告资源下载完毕后,实时计算所有广告资源的大小,进一步将该所有广告资源的大小与缓存限制进行比较,若大于缓存限制,则删除早期存储的广告资源,以减小内存消耗。另一种减小内存消耗的方式为,第一客户端100对到达预设期限的广告资源进行自动删除。In addition, the first client 100 stores the downloaded inventory in real time, and after each advertisement is downloaded, calculates the size of all the inventory in real time, and further compares the size of all the inventory with the cache limit. Greater than the cache limit, deletes previously stored inventory to reduce memory consumption. Another way to reduce memory consumption is that the first client 100 automatically deletes the inventory that reaches the preset deadline.
此外,需要说明的是,若该第一客户端100的用户不是第一次进入该直播间,则该第一客户端100在第一次进入相同直播间时,可能已经下载了该直播间对应的广告资源,则当用户再次进入该直播间时,该第一客户端100仍将对服务终端300发送获取资源的请求进而获得广告资源地址。其将首先根据该广告资源地址中包含的广告资源的编号在第一客 户端100已经存储的广告资源中查找是否已经存在,若存在,则该第一客户端100不再重复下载广告资源,若不存在,则该第一客户端100将根据该广告资源地址重新从服务终端300获取广告资源,以减小不必要的工作量。In addition, it should be noted that, if the user of the first client 100 does not enter the live broadcast room for the first time, the first client 100 may have downloaded the live broadcast correspondingly when entering the same live broadcast room for the first time. The advertisement resource, when the user enters the live broadcast room again, the first client 100 will still send a request for obtaining the resource to the service terminal 300 to obtain the advertisement resource address. The first client 100 does not repeatedly search for the advertisement resource if it exists, according to the number of the advertisement resources included in the advertisement resource address. If not, the first client 100 will re-acquire the advertising resources from the service terminal 300 according to the advertisement address to reduce unnecessary workload.
步骤S120,接收所述第二客户端发送的目标广告资源的编号。Step S120: Receive a number of the target advertisement resource sent by the second client.
该第二客户端200,也就是主播所在的一侧,该主播将在直播过程中的任何时间点从服务终端300的广告资源池中选定其中一个广告资源,该广告资源即为目标广告资源,进而该第二客户端200将选定的该目标广告资源对应的编号发送至第一客户端100。由于该服务终端300中包含多种类型的广告资源,如图片广告、视频广告等,每种类型的广告资源下对应多个具有实体内容的广告资源,则主播可根据自己的喜好或事先约定选择其中一个广告资源作为目标广告资源,进而由第二客户端200将该目标广告资源的编号发送至第一客户端100。由此可见,其目标广告资源是由主播指定,且是随机插入直播的任何一个进度中,其灵活性更高,用户的接收程度更高。The second client 200, that is, the side where the anchor is located, the anchor will select one of the inventory resources from the inventory pool of the service terminal 300 at any point in the live broadcast process, and the advertisement resource is the target advertisement resource. And the second client 200 sends the selected number corresponding to the target advertisement resource to the first client 100. Since the service terminal 300 includes multiple types of advertisement resources, such as image advertisements, video advertisements, and the like, each type of advertisement resource corresponds to multiple advertisement resources having physical content, and the anchor can be selected according to one's own preference or prior agreement. One of the advertisement resources is used as the target advertisement resource, and the number of the target advertisement resource is sent by the second client 200 to the first client 100. It can be seen that the target inventory is specified by the anchor and is randomly inserted into any of the live broadcasts, which is more flexible and the user receives more.
步骤S130,根据接收的目标广告资源的编号控制目标广告资源进行播放。Step S130, controlling the target advertisement resource to play according to the number of the received target advertisement resource.
容易理解的,该第一客户端100从服务终端300获取的广告资源的状态可能有下载成功状态或正在下载状态或还未下载状态,亦即是说,第一客户端100获取的广告资源的状态不是确定的。进而,当第一客户端100接收到第二客户端200发送的需要播放的广告资源的编号时,该第一客户端100将检测该目标广告资源的编号是否存在于已获取的广告资源中,若存在且该目标广告资源为下载成功状态时,则该第一客户端100直接控制该目标广告资源在播放器中进行播放,若该目标广告资源为正在下载状态,则该第一客户端100控制该目标广告资源边缓存边播放,以提高用户体验。若该目标广告资源为还未下载的状态,则该第一客户端100控制该目标广告资源进行实时缓存,实时缓存是在即将播放广告前由服务终端300通知第一客户端100进行缓存,这样能够节约资源。该第一客户端100控制该目标广告资源实时缓存时边缓存边播放It is easy to understand that the status of the advertisement resource acquired by the first client 100 from the service terminal 300 may have a download success status or a download status or a not yet download status, that is, the advertisement resources acquired by the first client 100. The status is not certain. Further, when the first client 100 receives the number of the advertisement resource that needs to be played by the second client 200, the first client 100 detects whether the number of the target advertisement resource exists in the acquired advertisement resource. If the target advertisement resource is in the download success state, the first client 100 directly controls the target advertisement resource to be played in the player, and if the target advertisement resource is in the downloading state, the first client 100 Control the target inventory to play while the cache is being played to improve the user experience. If the target advertisement resource is in a state that has not been downloaded yet, the first client 100 controls the target advertisement resource to perform real-time cache, and the real-time cache is notified by the service terminal 300 to the first client 100 for caching before the advertisement is to be played, so that Can save resources. The first client 100 controls the target inventory to be cached while playing in the real-time cache.
需要说明的是,目标广告资源的播放时间可以是随机播放的,也可以是在预设的时间段内进行播放。It should be noted that the playing time of the target inventory may be randomly played, or may be played within a preset time period.
在本公开的其他实施例中,该第一客户端100控制目标广告资源在播放器中播放,可以是由主播自己确定或者以预设的播放规则确定,这样,自由控制广告播放,达到提高广告播放的精准化和人性化的目的。In other embodiments of the present disclosure, the first client 100 controls the target advertisement resource to be played in the player, which may be determined by the anchor itself or determined by a preset playing rule, so that the advertisement is freely controlled to achieve the advertisement. The purpose of precision and humanity of playback.
在第二客户端200将选定的目标广告资源对应的编号发送至第一客户端100时,主播还可以通过第二客户端200发送播放指令给第一客户端100。该播放指令表征目标广告资源的播放时间的确定指令。第一客户端100响应该播放指令,控制所述目标广告资源进行即时播放或者延时播放。也就是说,主播可以通过第二客户端200控制目标广告资源直接 播放或者经过一段特定时间后再进行播放。播放时间由主播自主选择。When the second client 200 sends the number corresponding to the selected target advertisement resource to the first client 100, the anchor may also send a play instruction to the first client 100 through the second client 200. The play command characterizes a determination instruction of a play time of the target advertisement. The first client 100 controls the target advertisement resource to perform instant play or delayed play in response to the play instruction. That is to say, the anchor can control the target advertisement to play directly through the second client 200 or play after a certain period of time. The playback time is selected by the anchor.
另外,第一客户端100可以接收第二客户端200发出的预设的播放规则,并依据该播放规则及接收的目标广告资源的编号控制目标广告资源进行播放。其中,播放规则可以是播放条件满足预设值。播放条件可以是主播收到的礼物数、直播间的人气数或者直播间内用户的回复数等。也就是说,当主播收到的礼物数、直播间的人气数或者直播间内用户的回复数满足预设值时,则控制目标广告资源进行播放。这样,可以提高广告投放的效果。In addition, the first client 100 can receive the preset playing rule sent by the second client 200, and control the target advertising resource to play according to the playing rule and the number of the received target advertising resource. The playing rule may be that the playing condition meets the preset value. The playing condition may be the number of gifts received by the anchor, the popularity of the live room, or the number of responses of the users in the live room. That is to say, when the number of gifts received by the anchor, the popularity of the live room, or the number of responses of the users in the live room meet the preset value, the target advertisement resource is controlled to be played. This will improve the performance of your ads.
步骤S140,响应所述第二客户端200发送的广告播放界面调节指令,对广告播放界面进行调节。Step S140, adjusting the advertisement play interface in response to the advertisement play interface adjustment instruction sent by the second client 200.
在第一客户端100播放目标广告资源的过程中,主播可以通过第二客户端200控制广告播放界面的位置及大小,由第二客户端200向第一客户端100发送广告播放界面调节指令。第一客户端100依据广告播放界面调节指令,对广告播放界面进行调节。也就是说,调节目标广告资源在第一客户端100的直播画面中的位置及大小。这样,在不影响直播的同时,也能让用户看到广告,达到更佳的用户体验。During the process of playing the target advertisement resource by the first client 100, the anchor can control the location and size of the advertisement play interface through the second client 200, and the second client 200 sends an advertisement play interface adjustment instruction to the first client 100. The first client 100 adjusts the advertisement playing interface according to the advertisement playing interface adjustment instruction. That is to say, the location and size of the target advertisement resource in the live video of the first client 100 are adjusted. In this way, the user can see the advertisement and achieve a better user experience without affecting the live broadcast.
步骤S150,在目标广告资源播放完毕时,向第二客户端200发送提示信号。Step S150: Send a prompt signal to the second client 200 when the target advertisement resource is played.
在目标广告资源播放完毕时,第一客户端100可以向第二客户端200发送提示信号,第二客户端200依据提示信号,向主播发送提醒信息,以提示主播广告已经播放完毕,以便主播进行后续操作,可以继续播放另一广告或者广告组合,也可以停止播放广告,进行其他的直播活动。When the target advertisement resource is played, the first client 100 may send a prompt signal to the second client 200, and the second client 200 sends a reminder message to the anchor according to the prompt signal, so that the anchor advertisement has been played, so that the anchor performs. Subsequent operations, you can continue to play another ad or ad combination, or you can stop playing ads and other live events.
由此可见,本方案提供一种直播中广告播放方法,通过主播随机选取需要播放的广告进而在用户所在的客户端实现指定广告资源的播放,增强了播放广告的灵活性,提高了用户的接收程度。It can be seen that the solution provides a method for playing an advertisement in a live broadcast, and randomly selects an advertisement to be played by the anchor to further play the specified advertisement resource on the client where the user is located, thereby enhancing the flexibility of playing the advertisement and improving the receiving of the user. degree.
请参照图4,是本公开实施例提供的一种直播中广告播放装置110的功能模块示意图,该装置包括获取模块111、接收模块112以及控制模块113。Please refer to FIG. 4 , which is a schematic diagram of functional modules of an advertisement playing device 110 in a live broadcast according to an embodiment of the present disclosure. The device includes an obtaining module 111 , a receiving module 112 , and a control module 113 .
获取模块111,配置为响应用户进入直播间的操作从所述服务终端获取广告资源。The obtaining module 111 is configured to obtain an advertisement resource from the service terminal in response to an operation of the user entering the live room.
在本公开实施例中,步骤S110可以由获取模块111执行。In the embodiment of the present disclosure, step S110 may be performed by the acquisition module 111.
接收模块112,配置为接收所述第二客户端发送的目标广告资源的编号,所述目标广告资源的编号为所述第二客户端响应用户的选择操作从所述服务终端的广告资源池中选定的其中一个广告资源确定。接收模块112,还可以配置为接收第二客户端200发出的预设的播放规则、播放指令、广告播放界面调节指令、提示信号及其他控制指令等。The receiving module 112 is configured to receive a number of the target advertisement resource sent by the second client, where the number of the target advertisement resource is that the second client responds to the user's selection operation from the service resource pool of the service terminal. One of the selected inventory is determined. The receiving module 112 is further configured to receive a preset playing rule, a play command, an advertisement play interface adjustment command, a prompt signal, and other control commands issued by the second client 200.
在本公开实施例中,步骤S120可以由接收模块112执行。In an embodiment of the present disclosure, step S120 may be performed by the receiving module 112.
控制模块113,配置为根据接收的目标广告资源的编号控制目标广告资源进行播放。控制模块113,还可以配置为根据接收的目标广告资源的编号及播放规则、播放指令、广告 播放界面调节指令、提示信号以及其他控制指令等,控制广告播放及进行相应的动作。The control module 113 is configured to control the target advertisement resource to play according to the number of the received target advertisement resource. The control module 113 may be further configured to control the advertisement play and perform corresponding actions according to the received target advertisement resource number and the play rule, the play instruction, the advertisement play interface adjustment command, the prompt signal, and other control commands.
在本公开实施例中,步骤S130可以由控制模块1131执行。In the embodiment of the present disclosure, step S130 may be performed by the control module 1131.
由于在直播中广告播放方法部分已经详细描述,在此不再赘述。Since the part of the advertisement playing method in the live broadcast has been described in detail, it will not be described here.
综上所述,本公开实施例提供的一种直播中广告播放方法、装置及客户端,该直播中广告播放方法及装置应用于第一客户端(客户端),该第一客户端与第二客户端连接,第一客户端和第二客户端均与服务终端连接。该方法包括第一客户端响应用户进入直播间的操作从服务终端获取广告资源,在需要播放广告资源时,该第二客户端将响应用户的选择操作从服务终端的广告资源池中选定一个广告资源作为目标广告资源,并将该目标广告资源的编号发送至第一客户终端,由第一客户端对目标广告资源进行播放。在本方案中,由第二客户端随机从服务终端的广告资源池中确定一个广告资源,并由第一客户端实现广告资源的具体播放,进而较大地提高了在直播中播放广告的灵活性,无需播放事先指定的广告。In summary, the method, device, and client for playing an advertisement in a live broadcast according to an embodiment of the present disclosure, the method and device for playing an advertisement in the live broadcast are applied to a first client (client), the first client and the first client Two client connections, the first client and the second client are both connected to the service terminal. The method includes: the first client obtains an advertisement resource from the service terminal in response to the user entering the live broadcast room, and when the advertisement resource needs to be played, the second client selects one from the service pool of the service terminal in response to the user's selection operation. The advertisement is used as the target inventory, and the number of the target inventory is sent to the first client terminal, and the target client plays the target inventory. In this solution, the second client randomly determines an advertisement resource from the advertisement resource pool of the service terminal, and the first client implements the specific playback of the advertisement resource, thereby greatly improving the flexibility of playing the advertisement in the live broadcast. There is no need to play a pre-designated ad.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本公开的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may also be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and functionality of possible implementations of apparatus, methods, and computer program products according to various embodiments of the present disclosure. operating. In this regard, each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may also occur in a different order than those illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions.
另外,在本公开各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。In addition, each functional module in various embodiments of the present disclosure may be integrated to form a separate part, or each module may exist separately, or two or more modules may be integrated to form a separate part.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在 任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。The functions, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the portion of the technical solution of the present disclosure that contributes in essence or to the prior art or the portion of the technical solution may be embodied in the form of a software product stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present disclosure. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. . It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
以上所述仅为本公开的优选实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。The above description is only a preferred embodiment of the present disclosure, and is not intended to limit the disclosure, and various changes and modifications may be made to the present disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present disclosure are intended to be included within the scope of the present disclosure. It should be noted that similar reference numerals and letters indicate similar items in the following figures, and therefore, once an item is defined in a drawing, it is not necessary to further define and explain it in the subsequent drawings.
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应所述以权利要求的保护范围为准。The above is only the specific embodiment of the present disclosure, but the scope of the present disclosure is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the disclosure. It should be covered within the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be determined by the scope of the claims.
工业实用性Industrial applicability
本公开实施例提供的一种直播中广告播放方法、装置及客户端,提高了在直播中播放广告的灵活性,无需播放事先指定的广告。The method, device and client for playing an advertisement in a live broadcast provided by the embodiment of the present disclosure improve the flexibility of playing an advertisement in a live broadcast without playing a pre-designated advertisement.

Claims (20)

  1. 一种直播中广告播放方法,所述方法应用于第一客户端,所述第一客户端与第二客户端通信连接,所述第一客户端和第二客户端均与服务终端连接,其特征在于,所述方法包括:An advertisement playing method in a live broadcast, the method is applied to a first client, the first client is in communication connection with a second client, and the first client and the second client are both connected to a service terminal, The method is characterized in that the method comprises:
    响应用户进入直播间的操作从所述服务终端获取广告资源;Acquiring an advertisement resource from the service terminal in response to an operation of the user entering the live room;
    接收所述第二客户端发送的目标广告资源的编号,所述目标广告资源的编号为所述第二客户端响应用户的选择操作从所述服务终端的广告资源池中选定其中一个广告资源确定;Receiving, by the second client, a number of the target advertisement resource, where the number of the target advertisement resource is that the second client responds to the user's selection operation, selecting one of the inventory resources from the service terminal's inventory pool. determine;
    根据接收的目标广告资源的编号控制目标广告资源进行播放。Controls the target inventory for playback based on the number of targeted inventory received.
  2. 如权利要求1所述的方法,其特征在于,所述根据接收的目标广告资源的编号控制目标广告资源进行播放的步骤包括:The method according to claim 1, wherein the step of controlling the target advertisement resource to be played according to the number of the received target advertisement resource comprises:
    检测所述目标广告资源的编号是否存在于已获取的广告资源中;Detecting whether the number of the target inventory exists in the acquired inventory;
    若存在,则不再重复下载广告资源;If it exists, the inventory will not be downloaded again;
    若不存在,则从所述服务终端获取广告资源。If not, the advertisement resource is obtained from the service terminal.
  3. 如权利要求1或2所述的方法,其特征在于,所述第一客户端从服务终端获取的广告资源的状态包括下载成功状态和正在下载状态。The method according to claim 1 or 2, wherein the status of the advertisement resource acquired by the first client from the service terminal comprises a download success status and a download status.
  4. 如权利要求3所述的方法,其特征在于,所述根据接收的目标广告资源的编号控制目标广告资源进行播放的步骤包括:The method according to claim 3, wherein the step of controlling the target advertisement resource to be played according to the number of the received target advertisement resource comprises:
    检测所述目标广告资源的编号是否存在于已获取的广告资源中;Detecting whether the number of the target inventory exists in the acquired inventory;
    若存在,当所述目标广告资源的状态为下载成功状态时,控制目标广告资源进行播放,当所述目标广告资源的状态为正在下载状态时,控制所述目标广告资源边缓存边播放。If yes, when the status of the target advertisement resource is the download success status, the control target advertisement resource is played, and when the status of the target advertisement resource is the download status, the target advertisement resource is controlled to be played while being cached.
  5. 如权利要求1-4任一项所述的方法,其特征在于,所述第一客户端从服务终端获取的广告资源的状态包括还未下载状态,所述根据接收的目标广告资源的编号控制目标广告资源进行播放的步骤包括:The method according to any one of claims 1 to 4, wherein the state of the advertisement resource acquired by the first client from the service terminal includes a not yet downloaded state, and the number is controlled according to the number of the received target advertisement resource. The steps for playing the target inventory include:
    检测所述目标广告资源的编号是否存在于已获取的广告资源中;Detecting whether the number of the target inventory exists in the acquired inventory;
    若存在,当所述目标广告资源的状态为还未下载状态时,控制该目标广告资源进行实时缓存。If yes, when the status of the target inventory is not yet downloaded, the target inventory is controlled to be cached in real time.
  6. 如权利要求1-5任一项所述的方法,其特征在于,所述响应用户进入直播间的操作从所述服务终端获取广告资源的步骤包括:The method according to any one of claims 1-5, wherein the step of obtaining an advertisement resource from the service terminal in response to an operation of the user entering the live broadcast room comprises:
    响应用户进入直播间的操作向所述服务终端发送获取资源请求;Sending a resource acquisition request to the service terminal in response to an operation of the user entering the live broadcast room;
    接收所述服务终端响应所述获取资源请求发送的广告资源地址;Receiving an advertisement resource address that is sent by the service terminal in response to the acquiring resource request;
    根据所述广告资源地址从所述服务终端获取广告资源。Obtaining an advertisement resource from the service terminal according to the advertisement resource address.
  7. 如权利要求6所述的方法,其特征在于,所述响应用户进入直播间的操作向所述服务终端发送获取资源请求的步骤包括:The method according to claim 6, wherein the step of transmitting a request for obtaining a resource to the service terminal in response to an operation of the user entering the live broadcast room comprises:
    响应用户进入直播间的操作,在随机时间向所述服务终端发送获取资源请求。In response to the user entering the live broadcast room, the resource acquisition request is sent to the service terminal at a random time.
  8. 如权利要求6所述的方法,其特征在于,所述方法还包括:The method of claim 6 wherein the method further comprises:
    对下载的广告资源进行存储,并在一个广告资源下载完毕后,实时计算所有广告资源的大小;Store the downloaded inventory and calculate the size of all inventory in real time after an inventory has been downloaded;
    将所有广告资源的大小与缓存限制进行比较,若大于缓存限制则删除之前的广告资源。Compare the size of all inventory to the cache limit, and remove the previous inventory if it is greater than the cache limit.
  9. 如权利要求1-8任一项所述的方法,其特征在于,所述根据接收的目标广告资源的编号控制目标广告资源进行播放的步骤包括:The method according to any one of claims 1 to 8, wherein the step of controlling the target advertisement resource to be played according to the number of the received target advertisement resource comprises:
    响应所述第二客户端发出的播放指令,控制所述目标广告资源进行即时播放或者延时播放。And in response to the play instruction issued by the second client, controlling the target advertisement resource to perform instant play or delayed play.
  10. 如权利要求1-8任一项所述的方法,其特征在于,所述根据接收的目标广告资源的编号控制目标广告资源进行播放的步骤包括:The method according to any one of claims 1 to 8, wherein the step of controlling the target advertisement resource to be played according to the number of the received target advertisement resource comprises:
    接收所述第二客户端发出的预设的播放规则,并依据所述播放规则及接收的所述目标广告资源的编号控制所述目标广告资源进行播放,其中,所述播放规则为播放条件满足预设值。Receiving, by the second client, a preset playing rule, and controlling the target advertising resource to play according to the playing rule and the received number of the target advertising resource, where the playing rule is that the playing condition is satisfied default value.
  11. 如权利要求10所述的方法,其特征在于,所述播放条件包括主播收到的礼物数、直播间的人气数或者直播间内用户的回复数。The method of claim 10, wherein the playing condition comprises a number of gifts received by the anchor, a popularity of the live room, or a number of responses of the user in the live room.
  12. 如权利要求1-11任一项所述的方法,其特征在于,所述方法还包括:响应所述第二客户端发送的广告播放界面调节指令,对广告播放界面进行调节。The method according to any one of claims 1 to 11, wherein the method further comprises: adjusting an advertisement play interface in response to an advertisement play interface adjustment instruction sent by the second client.
  13. 如权利要求1-12任一项所述的方法,其特征在于,所述方法还包括:在目标广告资源播放完毕时,向所述第二客户端发送提示信号。The method according to any one of claims 1 to 12, wherein the method further comprises: sending a prompt signal to the second client when the target advertisement resource is played.
  14. 一种直播中广告播放装置,所述装置应用于第一客户端,所述第一客户端与第二客户端通信连接,所述第一客户端和第二客户端均与服务终端连接,其特征在于,所述装置包括:An advertisement playing device in a live broadcast, the device is applied to a first client, the first client is in communication connection with a second client, and the first client and the second client are both connected to the service terminal, Characteristically, the device comprises:
    获取模块,配置为响应用户进入直播间的操作从所述服务终端获取广告资源;An obtaining module configured to obtain an advertisement resource from the service terminal in response to an operation of the user entering the live broadcast room;
    接收模块,配置为接收所述第二客户端发送的目标广告资源的编号,所述目标广告资源的编号为所述第二客户端响应用户的选择操作从所述服务终端的广告资源池中选定的其中一个广告资源确定;a receiving module, configured to receive a number of a target advertisement resource sent by the second client, where the number of the target advertisement resource is selected by the second client in response to a user's selection operation from an inventory pool of the service terminal One of the identified inventory is determined;
    控制模块,配置为根据接收的目标广告资源的编号控制目标广告资源进行播放。The control module is configured to control the target inventory to play according to the number of the received target inventory.
  15. 如权利要求14所述的装置,其特征在于,所述第一客户端从服务终端获取的广告 资源的状态包括下载成功状态和正在下载状态。The apparatus according to claim 14, wherein the status of the advertisement resource acquired by the first client from the service terminal comprises a download success status and a download status.
  16. 如权利要求15所述的装置,其特征在于,所述控制模块还配置为:The device of claim 15, wherein the control module is further configured to:
    检测所述目标广告资源的编号是否存在于已获取的广告资源中;Detecting whether the number of the target inventory exists in the acquired inventory;
    若存在,当所述目标广告资源的状态为下载成功状态时,控制目标广告资源进行播放,当所述目标广告资源的状态为正在下载状态时,控制所述目标广告资源边缓存边播放。If yes, when the status of the target advertisement resource is the download success status, the control target advertisement resource is played, and when the status of the target advertisement resource is the download status, the target advertisement resource is controlled to be played while being cached.
  17. 如权利要求14-16任一项所述的装置,其特征在于,所述获取模块还配置为:响应用户进入直播间的操作向所述服务终端发起获取资源请求;The device according to any one of claims 14 to 16, wherein the obtaining module is further configured to: initiate a resource acquisition request to the service terminal in response to an operation of the user entering the live broadcast room;
    接收所述服务终端响应所述获取资源请求发送的广告资源地址;Receiving an advertisement resource address that is sent by the service terminal in response to the acquiring resource request;
    根据所述广告资源地址从所述服务终端获取广告资源。Obtaining an advertisement resource from the service terminal according to the advertisement resource address.
  18. 如权利要求14-17任一项所述的装置,其特征在于,所述控制模块,还配置为接收所述第二客户端发出的预设的播放规则,并依据所述播放规则及接收的所述目标广告资源的编号控制所述目标广告资源进行播放,其中,所述播放规则为播放条件满足预设值。The device according to any one of claims 14-17, wherein the control module is further configured to receive a preset playing rule sent by the second client, and according to the playing rule and the received The number of the target advertisement resource controls the target advertisement resource to be played, wherein the play rule is that the play condition meets a preset value.
  19. 一种客户端,所述客户端与第二客户端连接,所述客户端和第二客户端均与服务终端均连接,其特征在于,所述客户端包括存储器和处理器,所述存储器配置为存储计算机程序代码,所述处理器配置为执行存储于存储器中的计算机程序代码以实现如权利要求1-13任一项所述的直播中广告播放方法。a client, the client is connected to a second client, and both the client and the second client are connected to the service terminal, wherein the client includes a memory and a processor, and the memory configuration In order to store the computer program code, the processor is configured to execute the computer program code stored in the memory to implement the live broadcast advertisement playing method according to any one of claims 1-13.
  20. 一种存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现如权利要求1-13中任一项所述的方法。A storage medium having stored thereon a computer program, characterized in that the computer program is executed by a processor to implement the method of any one of claims 1-13.
PCT/CN2018/084253 2018-01-29 2018-04-24 Method and device for playing advertisement during live broadcast, and client WO2019144534A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810085371.2A CN108271035A (en) 2018-01-29 2018-01-29 Advertisement broadcast method, device and client in live streaming
CN201810085371.2 2018-01-29

Publications (1)

Publication Number Publication Date
WO2019144534A1 true WO2019144534A1 (en) 2019-08-01

Family

ID=62776997

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/084253 WO2019144534A1 (en) 2018-01-29 2018-04-24 Method and device for playing advertisement during live broadcast, and client

Country Status (2)

Country Link
CN (1) CN108271035A (en)
WO (1) WO2019144534A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111479120A (en) * 2020-04-07 2020-07-31 广州酷狗计算机科技有限公司 Method, device, equipment and storage medium for issuing virtual red packet in live broadcast room

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473171A (en) * 2021-08-09 2021-10-01 上海哔哩哔哩科技有限公司 Resource processing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106447406A (en) * 2016-10-25 2017-02-22 浙江麦知网络科技有限公司 Internet advertisement playing method
CN106792230A (en) * 2016-12-27 2017-05-31 Tcl数码科技(深圳)有限责任公司 A kind of advertisement interactive approach and system based on net cast

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100505630C (en) * 2007-03-13 2009-06-24 腾讯科技(深圳)有限公司 A method and system for broadcasting buffered advertisement in polling mode under the network living broadcast environment
CN105791889A (en) * 2016-05-04 2016-07-20 武汉斗鱼网络科技有限公司 Advertisement inter-cut method for video live broadcasting and advertisement inter-cut device for video live broadcasting

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106447406A (en) * 2016-10-25 2017-02-22 浙江麦知网络科技有限公司 Internet advertisement playing method
CN106792230A (en) * 2016-12-27 2017-05-31 Tcl数码科技(深圳)有限责任公司 A kind of advertisement interactive approach and system based on net cast

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111479120A (en) * 2020-04-07 2020-07-31 广州酷狗计算机科技有限公司 Method, device, equipment and storage medium for issuing virtual red packet in live broadcast room

Also Published As

Publication number Publication date
CN108271035A (en) 2018-07-10

Similar Documents

Publication Publication Date Title
US10235021B2 (en) Inline message alert
TWI587227B (en) Advanced advertisements
US9473548B1 (en) Latency reduction in streamed content consumption
WO2017129096A1 (en) Video pre-loading method and apparatus
WO2016173396A1 (en) Video play-based information processing method and system, client terminal and server
WO2018000624A1 (en) Video playing control method and device
CA2702191C (en) Systems and methods for managing advertising content corresponding to streaming media content
EP3732889B1 (en) Adaptive bitrate optimization upon video streaming initialization
US20220374198A1 (en) System and method for enabling interaction with an electronic device
US20150058728A1 (en) Audio stream metadata integration and interaction
CN108769816B (en) Video playing method, device and storage medium
US9395871B2 (en) Detection and control of multimedia applications
JP2016502706A (en) Hybrid advertising support and user-owned content presentation
WO2019144534A1 (en) Method and device for playing advertisement during live broadcast, and client
US9870575B2 (en) Advertising during the loading of content
WO2018000646A1 (en) Video download method and apparatus, and electronic device
WO2017088395A1 (en) Method and apparatus for multimedia preview, and mobile terminal device and computer device
WO2016202217A1 (en) Method for obtaining audio files, and method, device and system for sending update notification
CN106649645B (en) Playlist processing method and device
CN104615432B (en) Splash screen information processing method and client
US11711418B2 (en) Providing content to co-located devices with enhanced presentation characteristics
TW201824138A (en) Personal homepage display method and apparatus, terminal and server
JP7012792B2 (en) Systems, methods, and programs for delivering videos
WO2017032237A1 (en) Method and device for refreshing playlist
WO2023030325A1 (en) Buffer processing method and apparatus

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: 18902600

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: 18902600

Country of ref document: EP

Kind code of ref document: A1