Method and device for embedding advertisement in live broadcasting, and terminal equipment

A technology of terminal equipment and advertising, applied in the field of Internet

Active Publication Date: 2018-06-22
WUHAN DOUYU NETWORK TECH CO LTD
5 Cites 0 Cited by

AI-Extracted Technical Summary

Problems solved by technology

In addition, the insertion of advertisements is also an important profit-making method for live broadcast companies. At present, the insertion of advertisements is mainly in the field of video playback on video websites. ...
View more

Method used

In summary, the embodiment of the present invention provides a method for embedding advertisements in a live broadcast, a device and a terminal device, the method and device for embedding advertisements in the live broadcast are applied to terminal devices, and the method for embedding advertisements in the live broadcast includes Obtain the live stream information, if there is a unique identifier of the advertisement content in the live stream information, create an advertisement view, and add the created advertisement view to the setting view, and then according to the unique identifier of the advertisement content in the live stream information and The path of the advertisement content obtains the advertisement content and displays the acquired advertisement content in the advertisement view. In this solution, by analyzing whether there is a unique identifier of the advertising content in the obtained live streaming information, if it exists, create an advertising view and obtain the advertising content to display in the advertising view, and obtain the advertising content in real time while obtaining the live streaming information in real time , in order to realize the display of advertisements in the live broadcast and increase the operating income of the live broadcast company.
The method ...
View more

Abstract

The invention relates to the technical field of Internet, in particular to a method and device for embedding an advertisement in live broadcasting, and terminal equipment. The method and device is applied to the terminal equipment. The method comprises the following steps: acquiring live stream information; if a unique identifier of advertisement contents exists in the live stream information, creating an advertisement view; adding the created advertisement view in a set view; and acquiring the advertisement contents according to the unique identifier of the advertisement contents in the livestream information and a path of the advertisement contents, and displaying the acquired advertisement contents in the advertisement view. The method and device and the terminal equipment adopting thetechnical scheme have the advantages that whether the unique identifier of the advertisement contents exists in the acquired live stream information or not is analyzed, and the advertisement view iscreated and the advertisement contents are displayed in the advertisement view if the unique identifier of the advertisement contents exists in the acquired live stream information, so that real-timeacquisition of the live stream information and real-time acquisition of the advertisement contents can be achieved at the same time, the advertisement can be displayed during live broadcasting, and business revenue of a live broadcasting company is increased.

Application Domain

AdvertisementsSelective content distribution

Technology Topic

Real time acquisitionUnique identifier +3

Image

  • Method and device for embedding advertisement in live broadcasting, and terminal equipment
  • Method and device for embedding advertisement in live broadcasting, and terminal equipment
  • Method and device for embedding advertisement in live broadcasting, and terminal equipment

Examples

  • Experimental program(1)

Example Embodiment

[0018] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and illustrated in the drawings herein may be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work shall fall within the protection scope of the present invention.
[0019] It should be noted that similar reference numerals and letters indicate similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0020] The method for embedding advertisements in live broadcast provided by the embodiments of the present invention is applied to a terminal device. The terminal device may be, but is not limited to, a smart electronic device such as a mobile phone and a tablet computer. The terminal device is installed with an application program for live broadcast, such as The Betta fish app is installed on the terminal device, and the "Betta fish" is the name of an app available for live broadcast. The user can live or watch the live broadcast through the live broadcast app installed on the terminal device, and by embedding the advertisement in the live broadcast, the user can also view the advertisement in the live broadcast while watching the live broadcast. Since the live broadcast platform embeds the advertisement of a third-party company, the third-party company needs to pay corresponding advertising costs, which in turn increases the operating income of the company where the live broadcast platform is located, and actively promotes the products of the third-party company to achieve a win-win effect.
[0021] Please refer to figure 1 , Is a schematic structural diagram of a terminal device 100 provided by an embodiment of the present invention. The terminal device 100 includes a device 110 for embedding advertisements in a live broadcast, a memory 120, a storage controller 130, a processor 140, a peripheral interface 150, and an input and output unit 160, an audio unit 170, a display unit 180, and a communication unit 190.
[0022] The memory 120, the storage controller 130, the processor 140, the peripheral interface 150, the input/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 achieve Transmission or interaction of data. For example, these components can be electrically connected to each other through one or more communication buses or signal lines. The device 110 for embedding advertisements in the live broadcast includes at least one software function module that can be stored in the memory 120 in the form of software or firmware or solidified in the operating system (OS) of the terminal device 100 . The processor 140 is configured to execute executable modules stored in the memory 120, such as a software function module or a computer program included in the device 110 for embedding advertisements in the live broadcast.
[0023] The memory 120 may be, but is not limited to, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable Except for Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EEPROM), etc. The memory 120 is used to store a program, and the processor 140 executes the program after receiving an execution instruction. The method executed by the terminal device 100 defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied In the processor 140, or implemented by the processor 140.
[0024] The processor 140 may be an integrated circuit chip with signal processing capability. The aforementioned processor 140 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP), etc.; it may also be a digital signal processor (DSP) or an application specific integrated circuit. (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps, and logical block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor may be a microprocessor or the processor 140 may also be any conventional processor 140 or the like.
[0025] The peripheral interface 150 couples various input/output devices to the processor 140 and the memory 120. In some embodiments, the peripheral interface 150, the processor 140, and the storage controller 130 may be implemented in a single chip. In some other instances, they can be implemented by independent chips.
[0026] The input and output unit 160 is configured to provide input data for the user to realize the interaction between the user and the terminal device 100. The input and output unit 160 may be, but is not limited to, a mouse, a keyboard, and the like.
[0027] The audio unit 170 provides an audio interface to the user, which may include one or more microphones, one or more speakers, and an audio circuit.
[0028] The display unit 180 provides an interactive interface (such as a user operation interface) between the terminal device 100 and the user or is used to display image data for the user's reference. In this embodiment, the display unit 180 may be a liquid crystal display or a touch display. If it is a touch display, it can be a capacitive touch screen or a resistive touch screen that supports single-point and multi-touch operations. Support for single-point and multi-touch operations means that the touch display can sense the simultaneous touch operations from one or more positions on the touch display, and hand the sensed touch operations to the processor 140 Perform calculations and processing.
[0029] The communication unit 190 is configured to establish a connection with the cloud through the network, so as to realize a communication connection between the terminal device 100 and the cloud, and is configured to send and receive data through the network.
[0030] Please refer to figure 2 , Is a schematic flowchart of a method for embedding advertisements in a live broadcast provided by an embodiment of the present invention, and the method includes:
[0031] Step S110: Obtain live stream information.
[0032] When it is detected that the user enters the live broadcast room, the live stream information is obtained through the interface of the live broadcast room to pull the live stream. It should be noted that the live stream information includes information such as the address of the video stream, video definition, etc., for the user After the terminal device 100 obtains the live streaming information, the user can clearly watch the live streaming page.
[0033] Step S120: If there is a unique identifier of the advertisement content in the live stream information, an advertisement view is created.
[0034] Each advertisement content has a unique identifier, and the terminal device 100 needs to obtain the advertisement content according to the unique identifier. In the embodiment of the present invention, the unique identifier of the advertisement content is characterized by a tag. When a terminal device requests to obtain live stream information in real time, the obtained live stream information may or may not have a unique identifier for advertising content. If there is a unique identifier for advertising content in the live stream information, then The terminal device 100 will further create an advertisement view. It should be noted that the advertisement view is used to display the advertisement content, and the advertisement view is controlled by the view controller, that is, the view controller is used to explain the user's click operation on the advertisement view, and send and present new advertisement content on the The advertisement view, that is, the view controller is a bridge between the advertisement view and internal data, and the view controller is the built-in program code in the terminal device 100.
[0035] Step S130, adding the advertisement view to the setting view.
[0036] Since there are many interactive links between the host and the user during the live broadcast, such as gift giving, answering questions, question and answer, and lottery, the live broadcast interface is more complex than the video playback interface, and the interface design is more complicated. Therefore, it is necessary to implement the loading of the advertisement on the live page through a specific method of loading the advertisement. The view controller mentioned in step S120 contains multiple views, that is, the view controller controls multiple views at the same time, including the advertisement view, and also includes the onView view and the aboveView view. The onView and aboveView are only Customized naming of the view, the onView view is a general view, such as a mobile phone screen interface, which is used to accommodate all other views located on the onView view, and the aboveView view is a set view, as specified in the mobile phone screen interface Position, which is used to fix other views at the specified position, so it can be seen that the aboveView view is accommodated in the onView view.
[0037] After the terminal device 100 creates an advertisement view, the advertisement view is added to the preset view through the insertSubview:aboveSubview method, so that the advertisement view is displayed at a specified position. Among them, the parameter corresponding to insertSubview is adView, adView is used to characterize the advertisement view, and the parameter corresponding to aboveSubview is the aboveView view, that is, the setting view.
[0038] Step S140: Obtain advertisement content according to the unique identifier of the advertisement content in the live stream information and the path of the advertisement content, and display the obtained advertisement content in the advertisement view.
[0039] When the live stream information contains the unique identifier of the advertisement content, the live stream information also contains the path of the advertisement content. Therefore, the terminal device 100 calls the advertisement request class AdsRequest, which contains two functions, the alloc function And the initwithAdTag function, the alloc function includes the request object of the reqeust, the initwithAdTag function includes the unique identification tag of the advertising content and the path url of the advertising content, and then obtains the advertising content through the unique identification of the advertising content and the path of the advertising content, and at the same time will obtain the advertisement The content is displayed in the ad view. For the user, the user can see a floating advertisement display column on the terminal device 100, and the floating advertisement display column is the effect of the obtained advertisement content on the advertisement view.
[0040] Please refer to image 3 , Is a schematic flowchart of another method for embedding advertisements in a live broadcast provided by an embodiment of the present invention, and the method includes:
[0041] Step S210: Obtain live stream information.
[0042] When it is detected that the user enters the live broadcast room, the live stream information is obtained through the interface of the live broadcast room to pull the live stream. It should be noted that the live stream information includes information such as the address of the video stream, video definition, etc., for the user After the terminal device 100 obtains the live streaming information, the user can clearly watch the live streaming page.
[0043] Step S220: If there is a unique identifier of the advertisement content in the live stream information, an advertisement view is created.
[0044] Each advertisement content has a unique identifier, and the terminal device 100 needs to obtain the advertisement content according to the unique identifier. In the embodiment of the present invention, the unique identifier of the advertisement content is characterized by a tag. When a terminal device requests to obtain live stream information in real time, the obtained live stream information may or may not have a unique identifier for advertising content. If there is a unique identifier for advertising content in the live stream information, then The terminal device 100 will further create an advertisement view. It should be noted that the advertisement view is used to display the advertisement content, and the advertisement view is controlled by the view controller, that is, the view controller is used to explain the user's click operation on the advertisement view, and send and present new advertisement content on the The advertisement view, that is, the view controller is a bridge between the advertisement view and internal data, and the view controller is the built-in program code in the terminal device 100.
[0045] Step S230: Delete the historical advertisement view and the advertisement content presented on the advertisement view.
[0046] That is, the previously created advertisement view and the advertisement content presented on the advertisement view are deleted through the clear method to avoid repeated addition of advertisements.
[0047] In step S240, it is determined whether the setting view exists.
[0048] The view controller controls multiple views at the same time, including the advertisement view, as well as the onView view and the aboveView view. The onView and aboveView are only the customized names for the views. The onView view is a general view, such as a mobile phone screen interface. It is used to accommodate all other views located on the onView view. The aboveView view is a set view, such as a designated position in the screen interface of a mobile phone. It is used to fix other views at the designated position. It can be seen that the aboveView The view is contained in the onView view. The judgment of whether the setting view exists is to judge whether the aboveView view exists.
[0049] In step S250, if the setting view exists, the advertisement view is added to the setting view.
[0050] After the terminal device 100 creates an advertisement view, the advertisement view is added to the preset view through the insertSubview:aboveSubview method, so that the advertisement view is displayed at a specified position. Among them, the parameter corresponding to insertSubview is adView, which is used to characterize the advertisement view, and the parameter corresponding to aboveSubview is the aboveView view, that is, the setting view.
[0051] In step S260, if the setting view does not exist, the advertisement view is added to the initial view, and the initial view contains the setting view.
[0052] In other words, when the setting view does not exist, that is, the position of the advertisement view is not set in advance, the advertisement view is added to the initial view, and the initial view is the onView view.
[0053] Step S270: Adjust the size and position of the advertisement view.
[0054] There are many ways to adjust the size and position of the advertisement view. For example, the first one: There are preset sizes and positions of multiple advertisement views. During actual adjustment, the terminal device 100 can randomly select one of the size and position of the advertisement view. The size and position of the advertisement view created by the position adjustment. If there are two preset sizes and positions of the advertisement view, the advertisement view is 10 size and the lower right corner, and the advertisement view is 20 size and is located at the bottom. One of the settings is to create the size and position of the ad view. The second type: the terminal device 100 can also set the size and position of the created advertisement view in real time, for example, set the size of the created advertisement view to 25 size and at the left position.
[0055] Step S280: Set the visible attribute of the advertisement view to the hidden attribute.
[0056] Since the ad view is first added to the setting view or the initial view, the ad content that needs to be displayed on the ad view has not been obtained at this time, that is to say, the ad view is created first, and then the ad content is obtained. After creating the ad, There is a small time delay between the view and the acquisition of the advertising content. Therefore, the visible attribute of the advertising view needs to be set to the hidden attribute, so that the advertising view at this time is invisible to the user, so as to avoid the advertising view with " The status of "Whiteboard" is displayed floating on the live broadcast page, which obscures the live broadcast content.
[0057] Step S290: Determine whether the advertisement view exists.
[0058] Before obtaining the advertisement content for the advertisement view, it is also necessary to determine whether the advertisement view exists.
[0059] Step S310: If the advertisement view exists, obtain the advertisement content according to the unique identifier of the advertisement content in the live stream information and the path of the advertisement content, and display the obtained advertisement content in the advertisement view.
[0060] When the live stream information contains the unique identifier of the advertisement content, the live stream information also contains the path of the advertisement content. Therefore, the terminal device 100 calls the advertisement request class AdsRequest, which contains two functions, the alloc function And the initwithAdTag function, the alloc function includes the request object of the reqeust, the initwithAdTag function includes the unique identification tag of the advertising content and the path url of the advertising content, and then obtains the advertising content through the unique identification of the advertising content and the path of the advertising content, and at the same time will obtain the advertisement The content is displayed in the ad view. For the user, the user can see a floating advertisement display column on the terminal device 100, and the floating advertisement display column is the effect of the obtained advertisement content on the advertisement view.
[0061] In step S320, if the advertisement view does not exist, no advertisement content is obtained.
[0062] If the advertisement view does not exist, there is no need to obtain further advertisement content.
[0063] It can be seen that this solution analyzes the live stream information. When the unique identifier of the advertisement content exists in the live stream information, an advertisement view is created, and the advertisement content is obtained and displayed in the advertisement view according to the unique identifier and path of the advertisement content in the live stream information. In this way, advertisements can be inserted in the live broadcast, which increases the operating income of the company to which the live broadcast platform belongs.
[0064] Please refer to Figure 4 , Is a schematic diagram of functional modules of a device 110 for embedding advertisements in a live broadcast provided by an embodiment of the present invention. The device includes an acquisition module 111, a creation module 112, a deletion module 113, an addition module 114, an adjustment module 115, a setting module 116, and a display Module 117.
[0065] The obtaining module 111 is used to obtain live stream information.
[0066] In the embodiment of the present invention, step S110 and step S210 may be executed by the acquisition module 111.
[0067] The creation module 112 is configured to create an advertisement view if there is a unique identifier of the advertisement content in the live stream information.
[0068] In the embodiment of the present invention, step S120 and step S220 may be executed by the creation module 112.
[0069] The deleting module 113 is used to delete the historical advertisement view and the advertisement content presented on the historical advertisement view.
[0070] In the embodiment of the present invention, step S230 may be executed by the deletion module 113.
[0071] The adding module 114 is used to add the advertisement view to the setting view.
[0072] In the embodiment of the present invention, step S130 and steps S240 to S260 may be executed by the adding module 114.
[0073] The adjustment module 115 is used to adjust the size and position of the advertisement view.
[0074] In the embodiment of the present invention, step S270 may be executed by the adjustment module 115.
[0075] The setting module 116 is used to set the visible attribute of the advertisement view to the hidden attribute.
[0076] In the embodiment of the present invention, step S280 may be executed by the setting module 116.
[0077] The display module 117 is configured to obtain advertisement content according to the unique identifier of the advertisement content in the live stream information and the path of the advertisement content and display the obtained advertisement content in the advertisement view.
[0078] In the embodiment of the present invention, step S140 and steps S290 to S320 may be executed by the display module 117.
[0079] Since the method of embedding an advertisement in a live broadcast has been described in detail, it will not be repeated here.
[0080] In summary, embodiments of the present invention provide a method, device, and terminal device for embedding advertisements in a live broadcast. The method and device for embedding advertisements in a live broadcast are applied to terminal equipment. The method for embedding advertisements in a live broadcast includes obtaining a live broadcast stream. Information, if there is a unique identifier of the advertisement content in the live stream information, an advertisement view is created, and the created advertisement view is added to the setting view, and then based on the unique identifier of the advertisement content and the advertisement content in the live stream information The path obtains the advertisement content and displays the obtained advertisement content in the advertisement view. In this solution, whether there is a unique identifier of the advertisement content in the live stream information obtained through analysis, and if so, an advertisement view is created and the advertisement content is obtained and displayed in the advertisement view. It obtains the advertisement content in real time while obtaining the live stream information in real time , In order to realize the display of advertisements in the live broadcast and increase the operating income of the live broadcast company.
[0081] In the several embodiments provided in this application, it should be understood that the disclosed device and method may also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible implementation architectures, functions, and functions of the devices, methods, and computer program products according to multiple embodiments of the present invention. operating. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or part of the code, and the module, program segment, or part of the code contains one or more functions for realizing the specified logic function. Executable instructions. It should also be noted that, in some alternative implementations, the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two consecutive blocks can actually be executed in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or actions Or it can be realized by a combination of dedicated hardware and computer instructions.
[0082] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
[0083] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code . It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply one of these entities or operations. There is any such actual relationship or order between. Moreover, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes those that are not explicitly listed Other elements of, or also include elements inherent to this process, method, article or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other same elements in the process, method, article, or equipment including the element.
[0084] The above descriptions are only preferred embodiments of the present invention and are not used to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc., made within the spirit and principle of the present invention shall be included in the protection scope of the present invention. It should be noted that similar reference numerals and letters indicate similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0085] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. It should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products