CN106488270B - Live broadcast room switching method and device - Google Patents

Live broadcast room switching method and device Download PDF

Info

Publication number
CN106488270B
CN106488270B CN201610812008.7A CN201610812008A CN106488270B CN 106488270 B CN106488270 B CN 106488270B CN 201610812008 A CN201610812008 A CN 201610812008A CN 106488270 B CN106488270 B CN 106488270B
Authority
CN
China
Prior art keywords
live
room
live broadcast
broadcast room
broadcasting
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201610812008.7A
Other languages
Chinese (zh)
Other versions
CN106488270A (en
Inventor
陈孟琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology Co Ltd
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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201610812008.7A priority Critical patent/CN106488270B/en
Publication of CN106488270A publication Critical patent/CN106488270A/en
Application granted granted Critical
Publication of CN106488270B publication Critical patent/CN106488270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4667Processing of monitored end-user data, e.g. trend analysis based on the log file of viewer selections
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/466Learning process for intelligent management, e.g. learning user preferences for recommending movies
    • H04N21/4668Learning process for intelligent management, e.g. learning user preferences for recommending movies for recommending content, e.g. movies
    • 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/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Graphics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The invention discloses a method and a device for switching a live broadcast room, belongs to the field of internet, and can avoid the problem of video black screen during switching of the live broadcast room, thereby facilitating users to better watch live broadcast programs. The method comprises the following steps: determining a live broadcast room which is normally played next to the current live broadcast room in a live broadcast room switching sequence; and when switching the live broadcast rooms, switching the live broadcast rooms to the determined normally-played live broadcast rooms. The invention is used for switching the video live broadcast rooms.

Description

Live broadcast room switching method and device
Technical Field
The invention relates to the field of internet, in particular to a method and a device for switching a live broadcast room.
Background
With the development of computer and internet technologies, more and more applications of various live broadcast types are available, and users can log in the applications of the live broadcast types by using various terminal devices, enter interested live broadcast rooms and watch live broadcast programs of a main broadcast.
When a user watches a live program, if the program is not a program which is interested by the user, the user can switch to other live rooms.
However, various emergency situations may occur in the target live broadcast room to which the user wants to switch (for example, the anchor handset is out of power, the anchor is inadvertently turned off the live broadcast, and the like), so that the user may have a video blank screen (as shown in fig. 1 or fig. 2) when switching to the target live broadcast room, and thus the user cannot watch the video.
Disclosure of Invention
The embodiment of the invention provides a method and a device for switching a live broadcast room, which can avoid the problem of video black screen during switching of the live broadcast room and facilitate users to better watch live broadcast programs.
In one aspect, a method of live room switching is provided, which may be described based on various terminal devices, including but not limited to cell phones, computers, ipads, and the like. The method may comprise:
determining a live broadcast room which is normally played next to the current live broadcast room in a live broadcast room switching sequence;
and when switching the live broadcast rooms, switching the live broadcast rooms to the determined normally-played live broadcast rooms.
Optionally, the determining of the live broadcast room, which is normally played next to the current live broadcast room in the live broadcast room switching sequence, may be completed by the terminal device itself, and the specific process may be:
judging the broadcasting state of the next live broadcast room of the current live broadcast room in the live broadcast room switching sequence;
when the broadcasting state is normal, determining the live broadcasting room as a next normally broadcasting live broadcasting room of the current live broadcasting room;
and when the broadcasting state is abnormal, continuing to judge the broadcasting state of the next live broadcasting room backwards until finding out the normally broadcasted live broadcasting room, and determining the found normally broadcasted live broadcasting room as the next normally broadcasted live broadcasting room of the current live broadcasting room.
Optionally, a network element on the network side may also perform a process of determining a live broadcast room that is normally played next to the current live broadcast room in the live broadcast room switching sequence, and transmit a result of the determination to the mobile terminal. In this case, the determining a normally-played live room next to the current live room in the live room switching sequence may include:
receiving indication information transmitted by a network side, wherein the indication information indicates a live broadcast room which is normally played next to a current live broadcast room in a live broadcast room switching sequence;
and determining the next normally played live broadcast room of the current live broadcast room in the live broadcast room switching sequence according to the indication information.
Optionally, the broadcast status is determined to be abnormal when any one of the following conditions occurs: the broadcasting state is no; the video stream identification is null; the audio flag is null. When any one of the three situations occurs, the broadcast state can be determined to be abnormal, and at this time, the broadcast state of the next live broadcast room in the live broadcast room switching sequence needs to be continuously judged.
In the embodiment of the present invention, optionally, it is determined that the time occurring in the live broadcast room next to the normally played live broadcast room in the live broadcast room switching sequence is when entering the current live broadcast room and/or after receiving a live broadcast room switching instruction. That is, the live broadcast room next to the current live broadcast room in the live broadcast room switching sequence may be determined immediately after the user enters the live broadcast room, or the live broadcast room next to the current live broadcast room in the live broadcast room switching sequence may be determined when the user performs live broadcast room switching.
Of course, as an optimal mode, the live broadcast room of the next normal play of the current live broadcast room in the live broadcast room switching sequence can be determined both when the live broadcast room enters the current live broadcast room and after the live broadcast room switching instruction is received. The previous determination process when entering the current live broadcast room can be a preprocessing process, once the next normal live broadcast room determined when entering the current live broadcast room is inconsistent with the next normal live broadcast room determined after receiving the live broadcast room switching instruction, the time for switching the next normal live broadcast room determined after receiving the live broadcast room switching instruction is closer to the live broadcast room, the real-time condition of the live broadcast room can be more accurately reflected, and therefore the next normal live broadcast room determined after receiving the live broadcast room switching instruction can be selected as the target live broadcast room when switching the live broadcast room.
In this embodiment of the present invention, before determining a next normally played live broadcast room of a current live broadcast room in a live broadcast room switching sequence, the live broadcast room switching method provided in this embodiment of the present invention may further include:
determining a live room in a live room switching sequence in any one of the following ways:
randomly selecting a specified number of live broadcast rooms as live broadcast rooms in a live broadcast room switching sequence;
selecting a live broadcast room of the same category as the current live broadcast room as a live broadcast room in a live broadcast room switching sequence;
selecting a specified number of live broadcast rooms as live broadcast rooms in a live broadcast room switching sequence according to the live broadcast room heat;
a specified number of live bays set by the system are selected as live bays in the live bay switching sequence.
Of course, the manner of determining the live broadcast in the live broadcast switching sequence in the embodiment of the present invention is not limited to the above listed manners, and any other suitable manner may be applied to determine the live broadcast in the live broadcast switching sequence in the present application.
In another aspect, an apparatus for live room switching is provided, which may include:
the determining module is used for determining a live broadcast room which is normally played next to the current live broadcast room in the live broadcast room switching sequence;
and the processing module is used for switching the live broadcast room to the determined normally-played live broadcast room when the live broadcast room is switched.
Optionally, the determining module is specifically configured to:
judging the broadcasting state of the next live broadcast room of the current live broadcast room in the live broadcast room switching sequence;
when the broadcasting state is normal, determining the live broadcasting room as a next normally broadcasting live broadcasting room of the current live broadcasting room;
and when the broadcasting state is abnormal, continuing to judge the broadcasting state of the next live broadcasting room backwards until finding out the normally broadcasted live broadcasting room, and determining the found normally broadcasted live broadcasting room as the next normally broadcasted live broadcasting room of the current live broadcasting room.
Optionally, the determining module is specifically configured to:
determining the broadcast state as abnormal when any one of the following conditions occurs: the broadcasting state is no; the video stream identification is null; the audio flag is null.
Optionally, determining that the time of the live broadcast room which is normally played next to the current live broadcast room in the live broadcast room switching sequence enters the current live broadcast room and/or after receiving a live broadcast room switching instruction;
the determining module is specifically configured to: and under the condition that the live broadcast room which is normally played next to the current live broadcast room in the live broadcast room switching sequence is determined both when the live broadcast room enters the current live broadcast room and after the live broadcast room switching instruction is received, taking the live broadcast room which is normally played next and determined after the live broadcast room switching instruction is received as a target live broadcast room during live broadcast room switching.
Optionally, before determining a normally-played live broadcast room next to the current live broadcast room in the live broadcast room switching sequence, the determining module is further configured to:
determining a live room in a live room switching sequence in any one of the following ways:
randomly selecting a specified number of live broadcast rooms as live broadcast rooms in a live broadcast room switching sequence;
selecting a live broadcast room of the same category as the current live broadcast room as a live broadcast room in a live broadcast room switching sequence;
selecting a specified number of live broadcast rooms as live broadcast rooms in a live broadcast room switching sequence according to the live broadcast room heat;
a specified number of live bays set by the system are selected as live bays in the live bay switching sequence.
In another aspect, a terminal device is further provided, where the terminal device includes: at least one processor, at least one memory, a communication interface, and a bus. The processor, the memory and the communication interface are connected through a bus and complete mutual communication. The memory is used to store executable program code, which includes computer operating instructions. The memory may be a high-speed RAM memory, and may also be a non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory for performing any of the above-described methods of live room switching.
According to the method, the device and the terminal equipment for switching the live broadcast rooms, the live broadcast room which is normally played next to the current live broadcast room in the live broadcast room switching sequence is determined; when the live broadcast room is switched, the live broadcast room can be switched to be determined, and the live broadcast room which is normally played can be switched, so that the problem of video black screen when the live broadcast room is switched can be avoided, and convenience is brought to users to watch live broadcast programs better.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is an effect diagram of an abnormal playing state in the case of vertical screen switching of live broadcast rooms;
FIG. 2 is a diagram showing the effect of abnormal playing state when the live broadcast room is switched horizontally;
fig. 3 is a flowchart of a method for switching between live broadcast rooms according to an embodiment of the present invention;
fig. 4 is a flowchart of another method for switching between live channels according to an embodiment of the present invention;
fig. 5 is an effect diagram of live broadcast room switching when the broadcast state is abnormal according to the embodiment of the present invention;
fig. 6 is a schematic structural diagram of a device for switching between live channels according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 3 is a flowchart of a live broadcast room switching method according to an embodiment of the present invention. Referring to fig. 3, a method for switching a live broadcast room according to an embodiment of the present invention may include:
31. and determining a live broadcast room which is normally played next to the current live broadcast room in the live broadcast room switching sequence.
In the embodiment of the present invention, the live broadcast room switching sequence may include various live broadcast rooms sequentially arranged in order. In the embodiment of the present invention, live broadcast room Identifiers (IDs) of live broadcast rooms may be used to represent live broadcast rooms, and certainly, other unique identifiers may be used to represent live broadcast rooms. When the user operates to switch the live broadcast rooms, a normally played live broadcast room can be selected from the live broadcast room switching sequence according to the arrangement sequence to serve as a target live broadcast room for live broadcast switching.
In embodiments of the present invention, the live room in the live room switching sequence may be determined in various different ways. In particular, the live room in the live room switching sequence may be determined in any of the following ways: randomly selecting a specified number of live broadcast rooms as live broadcast rooms in a live broadcast room switching sequence; selecting a live broadcast room of the same category as the current live broadcast room as a live broadcast room in a live broadcast room switching sequence; selecting a specified number of live broadcast rooms as live broadcast rooms in a live broadcast room switching sequence according to the live broadcast room heat; a specified number of live bays set by the system are selected as live bays in the live bay switching sequence. Wherein, the specified number of the live rooms can be preset, for example, 5, 3, etc.
The live broadcast room of the same category as the current live broadcast room is selected as the live broadcast room in the live broadcast room switching sequence, so that the user requirements can be better met. That is, when one live program (for example, a live military flag of a certain anchor) requested to be viewed by the user cannot be presented, the appeal of the user can be satisfied by presenting another live program of the same category (a live military flag of another anchor, or selecting a live chess when there is no other anchor to live military flag) in front of the user.
And selecting a specified number of live broadcast rooms as live broadcast rooms in the live broadcast room switching sequence according to the popularity of the live broadcast rooms, so that the user can be informed of popular live broadcast rooms in time, and the user can know popular information in time. Live room hotness can be determined by the number of people watching the live room.
The live broadcast rooms with the appointed number set by the system are selected as the live broadcast rooms in the live broadcast room switching sequence, so that the live broadcast platform can conveniently inform some live broadcast rooms needing to be popularized to users according to the requirements of the live broadcast platform, and the live broadcast platform can be better served.
Of course, the present invention is not limited to the above-listed manners of determining a live room in a live room switching sequence, and any manner of determining that is suitably compatible with the present application may be used to determine a live room in a live room switching sequence.
It should be noted that, in the embodiment of the present invention, the live room that is normally played next to the current live room in the live room switching sequence may be determined in various different manners.
A live room that determines the next normal play of the current live room in a live room switching sequence may be: judging the broadcasting state of the next live broadcast room of the current live broadcast room in the live broadcast room switching sequence; when the broadcasting state is normal, determining the live broadcasting room as a next normally broadcasting live broadcasting room of the current live broadcasting room; and when the broadcasting state is abnormal, continuing to judge the broadcasting state of the next live broadcasting room backwards until finding out the normally broadcasted live broadcasting room, and determining the found normally broadcasted live broadcasting room as the next normally broadcasted live broadcasting room of the current live broadcasting room.
Another live broadcast room for determining the next normal broadcast of the current live broadcast room in the live broadcast room switching sequence may be: receiving indication information transmitted by a network side, wherein the indication information indicates a live broadcast room which is normally played next to a current live broadcast room in a live broadcast room switching sequence; and determining the next normally played live broadcast room of the current live broadcast room in the live broadcast room switching sequence according to the indication information. The determining method is that a network element (e.g., a server, etc.) on the network side performs a process of determining a live broadcast room which is normally played next to a current live broadcast room in a live broadcast room switching sequence, and transmits a determined result to the mobile terminal. The method for determining the live broadcast room switching by the network element at the network side may be as follows: judging the broadcasting state of the next live broadcast room of the current live broadcast room in the live broadcast room switching sequence; when the broadcasting state is normal, determining the live broadcasting room as a next normally broadcasting live broadcasting room of the current live broadcasting room; and when the broadcasting state is abnormal, continuing to judge the broadcasting state of the next live broadcasting room backwards until finding out the normally broadcasted live broadcasting room, and determining the found normally broadcasted live broadcasting room as the next normally broadcasted live broadcasting room of the current live broadcasting room. Of course, if the network element on the network side does not store the live broadcast switching sequence, the live broadcast switching sequence may be acquired from the terminal device.
Wherein, whether the broadcast state is abnormal can be determined as follows. Specifically, when the anchor uses the terminal device to perform live broadcasting, the terminal device transmits broadcast information to a network element (e.g., a server, etc.) on the network side, where the broadcast information may include a live broadcast room identifier (id), an anchor identifier, a video resolution, a frame rate, a bit rate, a broadcast status, a video stream identifier, an audio identifier, and the like. And the network element at the network side can determine whether the broadcasting state is abnormal or not by using the acquired broadcasting information. The playback status may be determined to be abnormal when either of the following occurs: the broadcasting state is no; the video stream identification is NULL (NULL); the audio flag is NULL (NULL). The "no" broadcast state may be caused by the reason that the anchor suddenly turns off the live broadcast, the anchor malfunctions, or a channel manager kicks the anchor out of the live broadcast room. The fact that the video stream identifier is empty may be caused by the reason that the anchor is closed, the video server has a problem, the video stream is not sent to the user side, and the like. The fact that the audio flag is empty may occur because of a main broadcast off, a problem with the audio server, etc.
Certainly, the terminal device can directly use the broadcast information to determine whether the broadcast state is abnormal, and when the broadcast state is abnormal, continue to judge the broadcast state of the next live broadcast room backwards until finding out the normally broadcast live broadcast room, and determine the found normally broadcast live broadcast room as the next normally broadcast live broadcast room of the current live broadcast room, thereby performing the live broadcast room switching.
32. And when switching the live broadcast rooms, switching the live broadcast rooms to the determined normally-played live broadcast rooms.
It is noted that embodiments of the present invention may determine the next normally-launched live broadcast room of the current live broadcast room in the live broadcast room switching sequence at various different points in time. For example, it is determined that the time that the next normally-played live room of the current live room in the live room switching sequence occurs is upon entering the current live room or after receiving a live room switching instruction. Meanwhile, the next normally played live broadcast room of the current live broadcast room in the live broadcast room switching sequence can be determined at the two time points of entering the current live broadcast room and after receiving the live broadcast room switching instruction.
When the live broadcast room enters the current live broadcast room and the next normally-started live broadcast room in the live broadcast room switching sequence is determined after the live broadcast room switching instruction is received, only the next normally-started live broadcast room determined after the live broadcast room switching instruction is received can be used as the target live broadcast room during live broadcast room switching. The previous determination process when entering the current live broadcast room can be a preprocessing process, once the next normal live broadcast room determined when entering the current live broadcast room is inconsistent with the next normal live broadcast room determined after receiving the live broadcast room switching instruction, the time for switching the next normal live broadcast room determined after receiving the live broadcast room switching instruction is closer to the live broadcast room, the real-time condition of the live broadcast room can be more accurately reflected, and therefore the next normal live broadcast room determined after receiving the live broadcast room switching instruction can be selected as the target live broadcast room when switching the live broadcast room.
In the related art, when a live broadcast room is switched, no matter the live broadcast room is switched in a vertical screen mode (as shown in fig. 1) or in a horizontal screen mode (as shown in fig. 2), a video black screen phenomenon occurs. According to the live broadcast room switching method provided by the embodiment of the invention, the live broadcast room can be switched to the determined normally-started live broadcast room (as shown in fig. 5) when the live broadcast room is switched by determining the next normally-started live broadcast room of the current live broadcast room in the live broadcast room switching sequence, so that the problem of black screen during the live broadcast room switching can be avoided, and a user can watch live broadcast programs better.
Fig. 4 is a flowchart of a live broadcast switching method according to an embodiment of the present invention. Referring to fig. 2, a method for switching a live broadcast room according to an embodiment of the present invention may include:
41. and determining the live broadcast room in the live broadcast room switching sequence.
Wherein the live room in the live room switching sequence may be determined in any one of the following ways: randomly selecting a specified number of live broadcast rooms as live broadcast rooms in a live broadcast room switching sequence; selecting a live broadcast room of the same category as the current live broadcast room as a live broadcast room in a live broadcast room switching sequence; selecting a specified number of live broadcast rooms as live broadcast rooms in a live broadcast room switching sequence according to the live broadcast room heat; a specified number of live bays set by the system are selected as live bays in the live bay switching sequence.
42. When entering a current live broadcast room or after receiving a live broadcast room switching instruction, judging the starting state of the next live broadcast room of the current live broadcast room in a live broadcast room switching sequence;
of course, the starting state of the next live broadcast room of the current live broadcast room in the live broadcast room switching sequence can be judged when the current live broadcast room is entered and after a live broadcast room switching instruction is received. Specific contents may refer to the above description.
43. And when the broadcasting state is normal, determining the live broadcasting room as a next normally-broadcasted live broadcasting room of the current live broadcasting room.
44. And when the broadcasting state is abnormal, continuing to judge the broadcasting state of the next live broadcasting room backwards until finding out the normally broadcasted live broadcasting room, and determining the found normally broadcasted live broadcasting room as the next normally broadcasted live broadcasting room of the current live broadcasting room.
Wherein, when any one of the following conditions occurs, the broadcast state is determined to be abnormal: the broadcasting state is no; the video stream identification is null; the audio flag is null.
45. And when switching the live broadcast rooms, switching the live broadcast rooms to the determined normally-played live broadcast rooms.
According to the live broadcast room switching method provided by the embodiment of the invention, the next normally-started live broadcast room of the current live broadcast room is selected from the live broadcast room switching sequence, and when the live broadcast room is switched, the live broadcast room can be switched to the determined normally-started live broadcast room (as shown in fig. 5), so that the problem of black screen during switching of the live broadcast room can be avoided, and a user can watch live broadcast programs better.
Fig. 5 is a block diagram of a device for switching between live channels according to an embodiment of the present invention. Referring to fig. 5, the apparatus 50 for live room switching may include a determining module 51 and a processing module 52. Wherein:
a determining module 51, configured to determine a live broadcast room, which is normally played next to a current live broadcast room in a live broadcast room switching sequence;
and the processing module 52 is configured to switch the live broadcast room to the determined live broadcast room running normally when the live broadcast room is switched.
Optionally, the determining module 51 is specifically configured to:
judging the broadcasting state of the next live broadcast room of the current live broadcast room in the live broadcast room switching sequence;
when the broadcasting state is normal, determining the live broadcasting room as a next normally broadcasting live broadcasting room of the current live broadcasting room;
and when the broadcasting state is abnormal, continuing to judge the broadcasting state of the next live broadcasting room backwards until finding out the normally broadcasted live broadcasting room, and determining the found normally broadcasted live broadcasting room as the next normally broadcasted live broadcasting room of the current live broadcasting room.
Optionally, the determining module 51 is specifically configured to:
determining the broadcast state as abnormal when any one of the following conditions occurs: the broadcasting state is no; the video stream identification is null; the audio flag is null.
Optionally, determining that the time of the live broadcast room which is normally played next to the current live broadcast room in the live broadcast room switching sequence enters the current live broadcast room and/or after receiving a live broadcast room switching instruction;
the determining module 51 is specifically configured to: and under the condition that the live broadcast room which is normally played next to the current live broadcast room in the live broadcast room switching sequence is determined both when the live broadcast room enters the current live broadcast room and after the live broadcast room switching instruction is received, taking the live broadcast room which is normally played next and determined after the live broadcast room switching instruction is received as a target live broadcast room during live broadcast room switching.
Optionally, before determining the live room that is normally played next to the current live room in the live room switching sequence, the determining module 51 is further configured to:
determining a live room in a live room switching sequence in any one of the following ways:
randomly selecting a specified number of live broadcast rooms as live broadcast rooms in a live broadcast room switching sequence;
selecting a live broadcast room of the same category as the current live broadcast room as a live broadcast room in a live broadcast room switching sequence;
selecting a specified number of live broadcast rooms as live broadcast rooms in a live broadcast room switching sequence according to the live broadcast room heat;
a specified number of live bays set by the system are selected as live bays in the live bay switching sequence.
According to the device for switching the live broadcast rooms, provided by the embodiment of the invention, the live broadcast room can be switched to the determined normally-played live broadcast room (as shown in fig. 5) when the live broadcast room is switched by determining the next normally-played live broadcast room of the current live broadcast room in the live broadcast room switching sequence, so that the problem of black screen during switching of the live broadcast room can be avoided, and a user can watch live broadcast programs better.
It should be noted that: the device for switching between live broadcast rooms provided in the above embodiments is only exemplified by the division of the above functional modules, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device for switching between live broadcast rooms is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the apparatus for switching between live broadcast rooms and the method embodiment for switching between live broadcast rooms provided in the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment and are not described herein again.
In addition, an embodiment of the present invention further provides a terminal device, where the terminal device includes: at least one processor, at least one memory, a communication interface, and a bus. The processor, the memory and the communication interface are connected through a bus and complete mutual communication. The memory is used to store executable program code, which includes computer operating instructions. The memory may be a high-speed RAM memory, and may also be a non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute any live broadcast switching method described in the above embodiment.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (8)

1. A method of live room switching, the method comprising:
determining live broadcast rooms in a live broadcast room switching sequence, wherein the live broadcast rooms in the live broadcast room switching sequence are live broadcast rooms of the same category as the current live broadcast room, selecting a specified number of live broadcast rooms according to the live broadcast room heat, the live broadcast room heat is determined according to the number of people watching the live broadcast rooms, at least one of the specified number of live broadcast rooms is set by a system, and each live broadcast room in the live broadcast room switching sequence is represented by a live broadcast room identifier and is sequentially arranged;
when entering a current live broadcast room or after receiving a live broadcast room switching instruction, judging the starting state of the next live broadcast room of the current live broadcast room in a live broadcast room switching sequence;
when the broadcasting state is normal, determining the live broadcasting room as a next normally broadcasting live broadcasting room of the current live broadcasting room;
when the broadcasting state is abnormal, continuing to judge the broadcasting state of the next live broadcasting room backwards until the normally broadcasted live broadcasting room is found out, determining the found normally broadcasted live broadcasting room as the next normally broadcasted live broadcasting room of the current live broadcasting room, and indicating that the broadcasting state is abnormal if the broadcasting state is not, the video stream identifier is empty and the audio identifier is any one of the situations in the air;
and when switching the live broadcast room, switching the live broadcast room to the determined live broadcast room with normal broadcasting, wherein the live broadcast room is the next live broadcast room with normal broadcasting determined after receiving a live broadcast room switching instruction.
2. Method according to claim 1, characterized in that the time of occurrence of the live room next to the normally played live room of the current live room in the live room switching sequence is determined upon entering the current live room and/or after receiving a live room switching instruction.
3. The method according to claim 2, characterized in that in case the live room of the next normal play of the current live room in the live room switching sequence is determined both when entering the current live room and after receiving the live room switching instruction, the live room of the next normal play determined after receiving the live room switching instruction is taken as the target live room at the time of live room switching.
4. The method of claim 1, wherein prior to determining a normally-launched live room next to a current live room in a live room switching sequence, the method further comprises:
randomly selecting a specified number of live rooms as live rooms in a live room switching sequence.
5. An apparatus for live room switching, the apparatus comprising:
the determining module is used for determining live broadcast rooms in a live broadcast room switching sequence, the live broadcast rooms in the live broadcast room switching sequence are live broadcast rooms in the same category as the current live broadcast room, a specified number of live broadcast rooms are selected according to the live broadcast room heat, the live broadcast room heat is determined according to the number of people watching the live broadcast rooms, at least one of the specified number of live broadcast rooms is set by a system, and each live broadcast room in the live broadcast room switching sequence is represented by a live broadcast room identifier and is sequentially arranged; when entering a current live broadcast room or after receiving a live broadcast room switching instruction, judging the starting state of the next live broadcast room of the current live broadcast room in a live broadcast room switching sequence; when the broadcasting state is normal, determining the live broadcasting room as a next normally broadcasting live broadcasting room of the current live broadcasting room; when the broadcasting state is abnormal, continuing to judge the broadcasting state of the next live broadcasting room backwards until the normally broadcasted live broadcasting room is found out, determining the found normally broadcasted live broadcasting room as the next normally broadcasted live broadcasting room of the current live broadcasting room, and indicating that the broadcasting state is abnormal if the broadcasting state is not, the video stream identifier is empty and the audio identifier is any one of the situations in the air;
and the processing module is used for switching the live broadcast room to the determined live broadcast room with normal broadcasting when switching the live broadcast room, and the live broadcast room is the determined next live broadcast room with normal broadcasting after receiving the live broadcast room switching instruction.
6. The apparatus of claim 5, wherein the time at which the live room next to the normally-played live room in the live room switching sequence occurs is determined upon entering the current live room and/or upon receiving a live room switching instruction;
the determining module is specifically configured to: and under the condition that the live broadcast room which is normally played next to the current live broadcast room in the live broadcast room switching sequence is determined both when the live broadcast room enters the current live broadcast room and after the live broadcast room switching instruction is received, taking the live broadcast room which is normally played next and determined after the live broadcast room switching instruction is received as a target live broadcast room during live broadcast room switching.
7. The apparatus of claim 6, wherein the means for determining is further configured to, prior to determining a normally-launched live bay next to a current live bay in a live bay switch sequence:
randomly selecting a specified number of live rooms as live rooms in a live room switching sequence.
8. A computer-readable storage medium storing at least one instruction which, when executed by a processor, performs the method of live room switching of any of claims 1-4.
CN201610812008.7A 2016-09-08 2016-09-08 Live broadcast room switching method and device Active CN106488270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610812008.7A CN106488270B (en) 2016-09-08 2016-09-08 Live broadcast room switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610812008.7A CN106488270B (en) 2016-09-08 2016-09-08 Live broadcast room switching method and device

Publications (2)

Publication Number Publication Date
CN106488270A CN106488270A (en) 2017-03-08
CN106488270B true CN106488270B (en) 2020-12-11

Family

ID=58273591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610812008.7A Active CN106488270B (en) 2016-09-08 2016-09-08 Live broadcast room switching method and device

Country Status (1)

Country Link
CN (1) CN106488270B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106954079B (en) * 2017-03-14 2020-03-17 北京潘达互娱科技有限公司 Live broadcast record statistical method and device
CN107172443A (en) * 2017-06-29 2017-09-15 北京小米移动软件有限公司 Net cast methods, devices and systems
CN109089169A (en) * 2018-08-23 2018-12-25 咪咕互动娱乐有限公司 A kind of live streaming method for switching between, device and storage medium
CN109547805A (en) * 2018-10-17 2019-03-29 武汉斗鱼网络科技有限公司 Method, live streaming management platform and readable storage medium storing program for executing between a kind of switching voice broadcast
CN111212295B (en) * 2018-11-22 2022-04-19 北京默契破冰科技有限公司 Method, equipment and computer storage medium for managing live broadcast room
CN109729372B (en) * 2018-12-24 2020-12-25 北京达佳互联信息技术有限公司 Live broadcast room switching method, device, terminal, server and storage medium
CN111726644A (en) * 2020-05-07 2020-09-29 火币(广州)区块链科技有限公司 Method and device for floating window of multiple live broadcast rooms
CN113365087B (en) * 2021-05-31 2023-01-20 北京达佳互联信息技术有限公司 Video data processing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618218A (en) * 2014-12-29 2015-05-13 广州酷狗计算机科技有限公司 Information reminding method and device
CN105430490A (en) * 2015-11-30 2016-03-23 北京华夏电通科技有限公司 Flexible control and switching method for live channels
CN105786395A (en) * 2016-04-07 2016-07-20 广州华多网络科技有限公司 Method, device and system for direct broadcasting room switching based on mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004056462A (en) * 2002-07-19 2004-02-19 Sony Corp Video image search assist method, video image search support device, and broadcast receiver
CN104320680B (en) * 2014-09-30 2018-08-24 广州华多网络科技有限公司 A kind of net cast management method, open method, relevant device and system
CN105472443A (en) * 2016-01-13 2016-04-06 杭州当贝网络科技有限公司 Direct broadcast source control method and system
CN105872614A (en) * 2016-04-12 2016-08-17 乐视控股(北京)有限公司 Live stream switching method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618218A (en) * 2014-12-29 2015-05-13 广州酷狗计算机科技有限公司 Information reminding method and device
CN105430490A (en) * 2015-11-30 2016-03-23 北京华夏电通科技有限公司 Flexible control and switching method for live channels
CN105786395A (en) * 2016-04-07 2016-07-20 广州华多网络科技有限公司 Method, device and system for direct broadcasting room switching based on mobile terminal

Also Published As

Publication number Publication date
CN106488270A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN106488270B (en) Live broadcast room switching method and device
CN109413483B (en) Live content preview method, device, equipment and medium
WO2017096953A1 (en) Hot video displaying method and device
CN105933375B (en) Method and device for monitoring microphone connection session and server
US20170163580A1 (en) Interactive method and device for playback of multimedia
WO2017201935A1 (en) Video playing method and apparatus
WO2017181598A1 (en) Method and device for playing video
CN109640129B (en) Video recommendation method and device, client device, server and storage medium
WO2014183427A1 (en) Method and apparatus for displaying webcast rooms
CN106027570B (en) Notification pushing method and device
WO2017219527A1 (en) Data statistical analysis method and system for an intelligent terminal
CN111083517B (en) Live broadcast room interaction method and device, electronic equipment, system and storage medium
US20170171329A1 (en) Video recommendaton method and system, and server
CN106170103B (en) Video broadcasting method and device
CN104519124A (en) Allocation method and device of virtual resources
WO2017113707A1 (en) Multi-screen switching method, server and terminal
CN104010223A (en) Method and system for taking over terminal system for video playing
US20170168871A1 (en) Method and electronic device for triggering background task
CN108881766B (en) Video processing method, device, terminal and storage medium
US20170171339A1 (en) Advertisement data transmission method, electrnoic device and system
US20170171634A1 (en) Method and electronic device for pushing reservation message
CN110109597B (en) Singing list switching method, device, system, terminal and storage medium
CN105898596B (en) Direct broadcasting room display control method and device
CN111935497A (en) Video stream management method and data server for traffic police system
CN115243066B (en) Information pushing method and device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210111

Address after: 511442 3108, 79 Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee after: GUANGZHOU CUBESILI INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 511449 29 / F, building B-1, Wanda Plaza, Wanbo business district, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU HUADUO NETWORK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right