Disclosure of Invention
Aiming at the defects, the invention provides a method and a device for content promotion in a live broadcast room.
One aspect of the present invention provides a method for promoting content in a live broadcast room, including: and if the corresponding partition identification is obtained according to the partition information of the live broadcast room, displaying a masking animation which is synchronously played with the live broadcast picture and comprises promotion content in an upper layer of the live broadcast picture of the live broadcast room.
Wherein the mask animation completely or partially covers the live broadcast picture, and the mask animation is displayed to be semi-transparent or opaque.
The obtaining of the corresponding partition identifier according to the partition information of the live broadcast room includes: and acquiring the partition information of the live broadcast room through a foreground server, acquiring a live broadcast partition to which the live broadcast room belongs according to the partition information, and acquiring a partition identifier of the live broadcast partition according to the live broadcast partition.
Wherein, the showing in the top layer of the live broadcast picture of the live broadcast room with the synchronous broadcast of the live broadcast picture and the shade animation including the promotion content comprises: accessing a mask function associated with the partition identification through a foreground server to acquire the mask animation set in the mask function; and calling a flash server through a foreground server to display a mask animation which is synchronously played with the live broadcast picture and comprises popularization content in the upper layer of the live broadcast picture of the live broadcast room.
The method further comprises the following steps: setting effective duration of the mask animation for display; if the difference between the system time and the time for starting displaying the mask animation is judged to be greater than the effective duration, stopping displaying the mask animation; otherwise, continuing to display the mask animation.
The method further comprises the following steps: and if the click request for the mask animation is acquired, jumping from the page of the live broadcast room to a promotion content page linked with the mask animation, and stopping displaying the mask animation.
The method further comprises the following steps: and adding the partition identification to the live broadcast partition, establishing the association relationship between the partition identification and the mask function, and setting the effective duration of the mask animation.
Another aspect of the present invention provides an apparatus for promoting content in a live broadcast room, including: and the display module is used for displaying the mask animation which is synchronously played with the live broadcast picture and comprises popularization content in the upper layer of the live broadcast picture of the live broadcast room if the obtained partition information of the live broadcast room is judged to have the corresponding partition identification.
Another aspect of the present invention provides a device for promoting content in a live broadcast room, including: at least one processor; and at least one memory communicatively coupled to the processor, wherein: the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform a method comprising: and if the corresponding partition identification is obtained according to the partition information of the live broadcast room, displaying a masking animation which is synchronously played with the live broadcast picture and comprises promotion content in an upper layer of the live broadcast picture of the live broadcast room.
Yet another aspect of the invention provides a non-transitory computer readable storage medium storing computer instructions that cause a computer to perform a method comprising: and if the corresponding partition identification is obtained according to the partition information of the live broadcast room, displaying a masking animation which is synchronously played with the live broadcast picture and comprises promotion content in an upper layer of the live broadcast picture of the live broadcast room.
According to the method and the device for content promotion in the live broadcast room, the mask animation which is synchronously played with the live broadcast picture and comprises the promotion content is displayed in the layer above the live broadcast picture, the animation effect and the promotion content are combined, the content promotion is carried out by utilizing the mask animation, the promotion channel of a live broadcast platform is increased, and the content promotion effect is improved.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The method for content promotion in the live broadcast room provided by the embodiment of the invention comprises the following steps: and if the corresponding partition identification is obtained according to the partition information of the live broadcast room, displaying a masking animation which is synchronously played with the live broadcast picture and comprises promotion content in an upper layer of the live broadcast picture of the live broadcast room.
The live broadcast room is a page for playing live broadcast pictures in a live broadcast platform; in the live broadcast platform, a plurality of live broadcast rooms of the same type can be divided into the same live broadcast partition, for example, both a mobile game live broadcast room and a PC (personal computer) end game live broadcast room can be divided into game live broadcast partitions, so that the live broadcast platform can comprise a plurality of live broadcast partitions, and each live broadcast partition can comprise a plurality of live broadcast rooms; each live room has partition information indicating to which live partition the live room belongs.
The partition identification (PartitionMark) is an identification which is preset in a background server (WebBackstageServer) and indicates that the live broadcast partition is provided with a display mask animation; the layer is a picture layer including elements such as characters or graphics, for example, a live-broadcast picture can be displayed on one layer, and the mask animation can be displayed in a layer above the layer where the live-broadcast picture is located; the promotion content can be pictures or characters of commercial advertisements.
After a user logs in a live broadcast platform and enters a live broadcast room, a server may first obtain related parameters of the user login, where the related parameters of the login may include a login id (logoid) of the user and partition information (PartitionValue) of the live broadcast room. The server can try to acquire a corresponding partition identifier according to the acquired partition information, and if the corresponding partition identifier is acquired, the server displays the masking animation (recommendation animation); otherwise, no operation is performed.
The live broadcast pictures are played simultaneously, the mask animation is also played synchronously, and the mask animation is displayed in the upper layer of the live broadcast pictures, so the mask animation has a certain shielding effect on the live broadcast pictures, and the popularization content in the mask animation can easily draw the attention of audiences.
According to the method for content promotion in the live broadcast room, provided by the embodiment of the invention, the mask animation which is synchronously played with the live broadcast picture and comprises the promotion content is displayed in the layer above the live broadcast picture, the animation effect and the promotion content are combined, the content promotion is carried out by utilizing the mask animation, the promotion channel of a live broadcast platform is increased, and the content promotion effect is improved.
Based on the embodiment, the mask animation completely or partially covers the live broadcast picture, and the mask animation is displayed to be semi-transparent or opaque.
When the mask animation completely covers the live broadcast picture and the mask animation is displayed to be opaque. Because the mask animation is displayed in the upper layer of the live broadcast picture, the mask animation can completely shield the live broadcast picture; at the moment, although the mask animation and the live broadcast picture are played synchronously, audiences can only see the mask animation, so that the promotion content is forcibly pushed, and a good promotion effect is achieved.
Correspondingly, the mask animation can also be displayed to be semitransparent, namely a picture formed by overlapping the mask animation and a live picture is displayed; the masking animation may also partially cover the live view, for example, the animation may be shown in the left half of the live view window, while the live view is normally displayed in the right half of the live view window.
Fig. 1 is a schematic flow diagram of a method for promoting content in a live broadcast room according to an embodiment of the present invention, and as shown in fig. 1, based on the embodiment, the acquiring a corresponding partition identifier according to partition information in the live broadcast room includes: s1, obtaining the partition information of the live broadcast room through a foreground server, obtaining the live broadcast partition to which the live broadcast room belongs according to the partition information, and obtaining the partition identification of the live broadcast partition according to the live broadcast partition.
In step S1, partition information of the live broadcast room in which the user has logged in is acquired by the foreground server (WebReceptionServer), and the live broadcast partition in which the live broadcast room is located is acquired by the partition information. And if the live broadcast partition is judged to have the preset partition identification in the background server, the partition information of the live broadcast room is indicated to have the corresponding partition identification.
The partition identification indicates that the partition where the live broadcast room is located is provided with the mask animation, and the mask animation can be displayed in the live broadcast room; if the live broadcast partition is not provided with the partition identification, the live broadcast room is not provided with the mask animation in advance, and the operation can be carried out on the live broadcast room. By adding the partition identification to the live broadcast partition, the setting of the masking function can be performed on a plurality of live broadcast rooms belonging to the same live broadcast partition.
Based on the above embodiment, the displaying of the mask animation which is played synchronously with the live broadcast picture and includes the promotion content in the upper layer of the live broadcast picture in the live broadcast room includes: s2, accessing the mask function associated with the partition identification through a foreground server to obtain the mask animation set in the mask function; and S3, calling a flash server through a foreground server to display the mask animation which is synchronously played with the live broadcast picture and comprises the popularization content in the upper layer of the live broadcast picture of the live broadcast room.
In step S2, if the corresponding partition identifier can be acquired according to the partition information in step S1, the masking function (recommendside) associated with the partition identifier may be accessed by the foreground server. The foreground server accesses the mask function to acquire the mask animation.
In step S3, after the mask animation is acquired, the foreground server loads the mask animation in the live broadcast room by calling a flash server (webflash server), so that the display and popularization of the recommended content are realized by the animation effect.
Based on the above embodiment, the method further comprises: setting effective duration of the mask animation for display; if the difference between the system time and the time for starting displaying the mask animation is judged to be greater than the effective duration, stopping displaying the mask animation; otherwise, continuing to display the mask animation.
Wherein, the system time refers to the current time; the effective time length is a preset duration of the mask animation. After the mask animation starts to be displayed in the live broadcast room, the system time (system. date)) can be obtained through a foreground server; the difference between the system time and the time when the mask animation starts to be displayed, namely the time length of the mask animation displayed, can be further obtained according to the system time. In the masking function, an effective duration (dispepartime) is preset for the masking animation, and the duration for which the masking animation has been shown can be compared with the effective duration.
And if the duration of the mask animation is longer than the effective duration, stopping displaying the mask animation, otherwise, continuing displaying the mask animation. The effective duration is set for the animation, so that the influence on the watching of the user due to the overlong animation display time can be prevented, and the user experience is reduced.
Based on the above embodiment, the method further comprises: and if the click request for the mask animation is acquired, jumping from the page of the live broadcast room to a promotion content page linked with the mask animation, and stopping displaying the mask animation.
The click request refers to a click request sent by a user to the mask animation after the user sees the mask animation and is interested in the promotion content in the mask animation; the promotion content page can be a webpage for displaying detailed promotion content, and the webpage and the shade animation are provided with links in advance; jumping refers to opening a new page and turning the current page to display the new page.
The click request of the user can be obtained through a listening function (monitor server) of the foreground server. If the user clicks on the masking animation, the user may be directed to the recommended content page, i.e., a new page with recommended content may be opened and the masking animation in the live broadcast may be closed. The detailed information of the promotion content can be further displayed for the user by jumping to the recommended content page, so that the promotion effect is improved; on the other hand, after the user does not want to see the mask animation, the user experience is improved by clicking the mask animation to close the animation.
Based on the above embodiment, the method further comprises: and adding the partition identification to the live broadcast partition, establishing the association relationship between the partition identification and the mask function, and setting the effective duration of the mask animation.
In order to implement the masking function, a live broadcast partition may be selected in a background server, and a partition identifier is added to the live broadcast partition that is to implement the masking function, for example, the masking function is set in a game partition and a motion partition, and the masking function is not set in other partitions; after the partition identification is added, establishing an association relation between the partition identification and the mask function, and storing the association relation in a relation list of a background server, so that the foreground server can obtain the mask animation in the mask function through the association relation to display the mask animation in a live broadcast room; after the mask function is set, effective time can be set for mask animations set in the mask function, and after the effective time of the mask animation display, the effective time disappears automatically in a live broadcast room.
Furthermore, since the default state of the mask function is the off state (recommended shape. state (Close)), the mask function can be adjusted to the on state (recommended shape. state (Open)) by manually clicking. In the live broadcast room in which the mask function has been set, if it is desired to stop using the mask function, the on state may be set to the off state.
The embodiment of the present invention further provides a device for content promotion in a live broadcast room, including: and the display module is used for displaying the mask animation which is synchronously played with the live broadcast picture and comprises popularization content in the upper layer of the live broadcast picture of the live broadcast room if the obtained partition information of the live broadcast room is judged to have the corresponding partition identification.
When a user logs in a live broadcast platform and enters a live broadcast room, a display module may first obtain relevant parameters of the user login, where the relevant parameters of the login may include a login id (logoid) of the user and partition information (PartitionValue) of the live broadcast room. The display module can acquire a corresponding partition identifier according to the acquired partition information; if the information is acquired, displaying the mask animation (Recommendanimation); otherwise, no operation is performed.
The live broadcast picture is played, the mask animation is also played, and the mask animation is displayed in the upper layer of the live broadcast picture, so that the mask animation has a certain shielding effect on the live broadcast picture, and audiences can easily notice the popularization content in the mask animation.
According to the device for content promotion in the live broadcast room, provided by the embodiment of the invention, the mask animation which is synchronously played with the live broadcast picture and comprises the promotion content is displayed in the layer above the live broadcast picture, the animation effect and the promotion content are combined, the content promotion is carried out by utilizing the mask animation, the promotion channel of a live broadcast platform is increased, and the content promotion effect is improved.
Fig. 2 is a schematic structural diagram of a device for promoting content in a live broadcast room according to an embodiment of the present invention, and as shown in fig. 2, the device includes: at least one processor (processor) 201; and at least one memory (memory)202 communicatively coupled to the processor 201, wherein: the memory 202 stores program instructions executable by the processor 201, and the processor 201 calls a method for performing live broadcast content promotion provided by the foregoing embodiments, for example, the method includes: and if the corresponding partition identification is obtained according to the partition information of the live broadcast room, displaying a masking animation which is synchronously played with the live broadcast picture and comprises promotion content in an upper layer of the live broadcast picture of the live broadcast room.
An embodiment of the present invention further provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions enable a computer to execute a method for promoting content in a live broadcast provided by a corresponding embodiment, where the method includes: and if the corresponding partition identification is obtained according to the partition information of the live broadcast room, displaying a masking animation which is synchronously played with the live broadcast picture and comprises promotion content in an upper layer of the live broadcast picture of the live broadcast room.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the test equipment and the like for processing the live display setting device are merely illustrative, wherein the units illustrated as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the various embodiments or some parts of the methods of the embodiments.
According to the method and the device for content promotion in the live broadcast room, provided by the embodiment of the invention, the mask animation which is synchronously played with the live broadcast picture and comprises the promotion content is displayed in the layer above the live broadcast picture, the animation effect and the promotion content are combined, the content promotion is carried out by utilizing the mask animation, the promotion channel of a live broadcast platform is increased, and the content promotion effect is improved.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.