METHOD AND SYSTEM FOR SWITCHING LIVING BROADCAST BETWEEN LANDSCAPE BROADCASTING MODE AND PORTRAIT BROADCASTING MODE FOR LIVE BROADCAST WEBSITE
20190109658 ยท 2019-04-11
Inventors
Cpc classification
H04N21/431
ELECTRICITY
H04N21/4858
ELECTRICITY
International classification
H04H20/86
ELECTRICITY
H04N21/431
ELECTRICITY
Abstract
Disclosed is a method for switching living broadcast between landscape broadcasting mode and portrait broadcasting mode, applicable to live broadcasting website. The method comprises: S1, an administrator setting categories and category settings for live broadcasting videos; S2, the administrator adding landscape option and portrait option for the live broadcasting video into each category; S3, a presenter selecting on a client terminal a live broadcasting mode, and selecting the category as well as landscape or portrait option for live broadcasting video; S4, the presenter selecting to start live broadcasting, the administration back end verifying whether the landscape or portrait option selected by the presenter is consistent with the selected live broadcasting mode; if yes, performing step S6; otherwise performing step S5; S5, the administration back end modifying the landscape or portrait option selected by the presenter; S6, the administration back end allowing the live broadcast to start, and ending.
Claims
1. A method for switching a living broadcast between a landscape broadcasting mode and a portrait broadcasting mode, applicable to a live broadcast website, comprising steps of: S1, an administrator setting, at an administration back end, categories and category settings for live broadcasting videos; S2, the administrator adding, at the administration back end, a landscape option and a portrait option for the live broadcasting videos into each of the categories; S3, a presenter selecting, on a client terminal, a landscape broadcasting mode or a portrait broadcasting mode as a live broadcasting mode, and selecting the category as well as the landscape or portrait option for a live broadcasting video; S4, the presenter selecting to start the live broadcast, and the administration back end verifying whether the landscape or portrait option selected by the presenter is consistent with the selected live broadcasting mode, wherein if the landscape or portrait option selected by the presenter is consistent with the selected live broadcasting mode, step S6 is performed, otherwise, step S5 is performed; S5, the administration back end modifying the landscape or portrait option selected by the presenter; and S6, allowing, by the administration back end, the live broadcast to start, and ending.
2. The method for switching a living broadcast between a landscape broadcasting mode and a portrait broadcasting mode, applicable to a live broadcast website, according to claim 1, wherein step S3 further comprises: the presenter selecting the landscape or portrait option for a live broadcasting video, and the administration back end verifying whether the selection performed by the presenter meets a time limit condition, wherein if the selection performed by the presenter meets the time limit condition, step S4 is performed; otherwise, the administration back end returns to the client terminal a message indicating that the selecting fails, and performance of the method ends.
3. The method for switching a living broadcast between a landscape broadcasting mode and a portrait broadcasting mode, applicable to a live broadcast website, according to claim 1, wherein step S6 further comprises: after the live broadcast is finished, the presenter selecting to turn off the live broadcast, and the administration back end clearing the landscape or portrait option selected by the presenter so as to allow the live broadcast to be turned off.
4. The method for switching a living broadcast between a landscape broadcasting mode and a portrait broadcasting mode, applicable to a live broadcast website, according to claim 1, wherein step S6 further comprises: S601, the administration back end allowing the live broadcast to start, and the administration back end determining whether the live broadcast is in the portrait broadcasting mode, wherein if the live broadcast is in the portrait screen broadcasting mode, step S603 is directly performed; otherwise, step S602 is performed; S602, the administration back end recording a log for the presenter's category operation; S603, the presenter selecting to turn off the live broadcast, after the live broadcast is finished; S604, the administration back end determining whether the live broadcast is in the portrait broadcasting mode, wherein if the live broadcast is in the portrait broadcasting mode, step S605 is performed; otherwise, step S606 is performed directly; S605, the administration back end clearing the landscape or portrait option selected by the presenter, and automatically returning to the landscape or portrait option in the log for the presenter's category operation with the log recorded in step S602 for a last time; and S606, allowing, by the administration back end, the live broadcast to be turned off, and ending.
5. The method for switching a living broadcast between a landscape broadcasting mode and a portrait broadcasting mode, applicable to a live broadcast website, according to claim 1, wherein the category settings comprise category name, category cover, category serial number and presenter's authority.
6. The method for switching a living broadcast between a landscape broadcasting mode and a portrait broadcasting mode, applicable to a live broadcast website, according to claim 1, wherein the time limit condition is that a time period during which the presenter selects the category is greater than a preset value set by the administrator.
7. The method for switching a living broadcast between a landscape broadcasting mode and a portrait broadcasting mode, applicable to a live broadcast website, according to claim 1, wherein step S2 further comprises: the administrator adding an additional category record to a relational database management system, i.e. MySQL database, of the administration back end, and then adding a cached data of the category record to a Redis database of the administration back end, so that the adding of the landscape option and the portrait option is completed.
8. A system for switching a living broadcast between a landscape broadcasting mode and a portrait broadcasting mode, applicable to a live broadcast website, comprising: a client terminal and an administration back end, wherein the client terminal is configured to receive a category of a live broadcasting video, a landscape or portrait option and a live broadcasting mode which are selected by a presenter, and send the selected category, the selected landscape or portrait option and the selected live broadcasting mode to the administration back end; the administration back end comprises: a category setting module configured to set categories and category settings for live broadcasting videos, and add a landscape option and a portrait option for the live broadcasting videos; a category verifying module configured to receive, from the client terminal, the category of the live broadcasting video, the landscape or portrait option and the live broadcasting mode which are selected by the presenter, and verify whether the landscape or portrait option selected by the presenter is consistent with the live broadcasting mode; a category modification module configured to modify the landscape or portrait option selected by the presenter, and clear the landscape or portrait option selected by the presenter after the live broadcast is finished; a data storage module configured to store an category record added by an administrator and a cached data of the category record; and a live broadcast status control module configured to control starting of the live broadcast and turning-off of the live broadcast.
9. The system for switching a living broadcast between a landscape broadcasting mode and a portrait broadcasting mode, applicable to a live broadcast website, according to claim 8, wherein the category verifying module is further configured to verify whether the selection performed by the presenter meets a time limit condition.
10. The system for switching a living broadcast between a landscape broadcasting mode and a portrait broadcasting mode, applicable to a live broadcast website, according to claim 9, wherein the administration back end further comprises a live broadcasting status determining module configured to determine whether the live broadcasting video is in a landscape broadcasting mode or a portrait broadcasting mode.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0031]
[0032]
[0033]
REFERENCE SIGNS
[0034] 1-client terminal, 2-administration back end, 21-category setting module, 22-category verifying module, 23-category modification module, 24-data storage module, 25-live broadcast status control module, 26-live broadcasting mode determining module.
DETAILED DESCRIPTION OF THE DISCLOSURE
[0035] Below, the present disclosure is further described in detail in connection with embodiments with reference to the accompanying drawings.
[0036] As shown in
[0044] As shown in
[0051] The presenter's each selection for landscape broadcasting mode is recorded, and the administration back end clearing the landscape or portrait option selected by the presenter, and automatically returning to the landscape option the landscape category setting in the log for the landscape broadcasting mode for a last time, so that if landscape broadcasting mode is to be carried out next time, the presenter unnecessarily perform again selecting operation on the landscape category, which simplifies the operations by the presenter.
[0052] As shown in
[0056] The category checking module 22 is further configured to verify whether the selection performed by the presenter meets a time limit condition.
[0057] The administration back end 2 further includes a live broadcasting mode determining module 26. The live broadcasting mode determining module 26 is configured to determine whether the live broadcasting video is in landscape broadcasting mode or in a portrait broadcasting mode. The determining criterion is: if the live broadcasting mode selected by the presenter that is sent to the administration back end 2 by the client 1 is landscape, then it is determined that the live video is in landscape broadcasting mode; and if the live broadcasting mode selected by the presenter that is sent to the administration back end 2 by the client 1 is portrait, then it is determined that the live video is in portrait live broadcasting mode.
[0058] The present disclosure is not limited to the above embodiments. For a person of ordinary skills in the art, improvements and embellishments could be made within the scope of the tenets of the present disclosure, and these improvements and embellishments shall be covered by the protection scope of the present disclosure. The contents that are not described in detail in the description belong to the prior art well known to a person skilled in the art.