CN117579867A - Live broadcasting room line scheduling method and device and electronic equipment - Google Patents
Live broadcasting room line scheduling method and device and electronic equipment Download PDFInfo
- Publication number
- CN117579867A CN117579867A CN202311451946.5A CN202311451946A CN117579867A CN 117579867 A CN117579867 A CN 117579867A CN 202311451946 A CN202311451946 A CN 202311451946A CN 117579867 A CN117579867 A CN 117579867A
- Authority
- CN
- China
- Prior art keywords
- line
- live
- terminal
- lines
- audience
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000013507 mapping Methods 0.000 claims abstract description 15
- 238000004590 computer program Methods 0.000 claims description 5
- 230000000873 masking effect Effects 0.000 claims description 5
- 238000012544 monitoring process Methods 0.000 claims description 5
- 230000011664 signaling Effects 0.000 claims description 5
- 238000012163 sequencing technique Methods 0.000 claims description 4
- 230000000903 blocking effect Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 238000013461 design Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000003908 quality control method Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2385—Channel allocation; Bandwidth allocation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2402—Monitoring of the downstream path of the transmission network, e.g. bandwidth available
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
- H04N21/4383—Accessing a communication channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/442—Monitoring 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/44209—Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application provides a line scheduling method and device for a live broadcasting room and electronic equipment, and relates to the technical field of line distribution, wherein the method comprises the following steps: obtaining user information of a spectator terminal; determining a first direct broadcast line set according to user information of a viewer terminal, wherein the first direct broadcast line set comprises at least one effective line corresponding to the user information of the viewer terminal; acquiring a video playing quality index of a live broadcasting room, and adjusting the number or mapping relation of the effective lines in the first direct broadcasting line set according to the video playing quality index to acquire a second direct broadcasting line set; and sending the second live line set to the audience terminal, so that the audience terminal determines a target line from the second live line set, and acquires live video data from the target line. Therefore, proper viewing lines can be allocated for the scheduling of the audience users according to the characteristics of the audience users, so that the fine scheduling of the viewing lines in the live broadcasting room is realized, the efficiency of the line scheduling is improved, and the viewing experience of the audience users is further improved.
Description
Technical Field
The present invention relates to the field of line distribution technologies, and in particular, to a line scheduling method and apparatus for a live broadcast room, and an electronic device.
Background
With the continuous development of internet technology, network live broadcast is rapidly developed due to the characteristics of intuitiveness, abundant content, divisible audience and the like. Live content, which is live over the network, typically enables push-pull between the host and the users through the CDN (Content Delivery Network ). The CDN can cache the live content on servers in all the world, so that a user can acquire the content from the server closest to the live content, network delay is reduced, and video transmission speed is improved.
Currently, some live platforms provide multiple viewing lines (different viewing lines provide nearby distribution capabilities of content by different CDNs), so that a viewer user can manually select a line most suitable for his own network conditions to improve the viewing experience. However, the adjustment of the downlink cannot be performed according to the characteristics of the viewer user.
Disclosure of Invention
In order to at least overcome the above-mentioned shortcomings in the prior art, an object of the present application is to provide a method, an apparatus and an electronic device for scheduling a line in a live broadcast room.
In a first aspect, an embodiment of the present application provides a line scheduling method for a live broadcast room, where the line scheduling method for the live broadcast room includes:
obtaining user information of a spectator terminal;
determining a first direct broadcast line set according to the user information of the audience terminal, wherein the first direct broadcast line set comprises at least one effective line corresponding to the user information of the audience terminal;
acquiring a video playing quality index of a live broadcasting room, and adjusting the number or mapping relation of effective lines in the first direct broadcasting line set according to the video playing quality index to acquire a second direct broadcasting line set;
and sending the second live line set to the audience terminal, so that the audience terminal determines a target line from the second live line set, and acquires live video data from the target line.
In one possible implementation manner, the step of determining the first direct broadcast line set according to the user information of the audience terminal includes:
sequencing a plurality of alternative routes according to preset priority weights according to user identification, IP address, region, operator and/or equipment of a live broadcasting room of the audience terminal;
and determining at least one alternative line from a plurality of alternative lines as the effective line to form the first direct broadcast line set according to the sequencing result.
In one possible implementation manner, the step of obtaining a video playing quality index of the live broadcasting room, adjusting the number or mapping relation of the effective lines in the first direct broadcasting line set according to the video playing quality index, and obtaining a second direct broadcasting line set includes:
acquiring video playing quality indexes of a live broadcasting room;
and adding lines, shielding lines or mapping lines to the effective lines according to the video playing quality indexes to obtain the second live line set.
In one possible implementation manner, the step of performing a shielded line processing on the active line according to the video playing quality index includes:
monitoring quality indexes of different lines in real time, wherein the quality indexes comprise picture black screen occupation ratio and a clamping and stopping ratio;
judging whether the picture black screen duty ratio and the blocking ratio are larger than a preset threshold value or not;
and if the current line is larger than the current line, shielding the line corresponding to the picture black screen ratio and the cartoon ratio, so as to obtain the second live line set.
In one possible implementation manner, after the step of sending the second live line set to the viewer end, the viewer end determines a target line from the second live line set, and obtains live video data from the target line, the method further includes:
traversing all target lines, and judging whether the quality index of the target line meets a preset condition or not;
and if yes, signaling information is sent to the audience terminal, so that the audience terminal shields the target line.
In one possible implementation, the method further includes:
acquiring user information of a main broadcasting end;
determining a default line of the anchor terminal according to the user information of the anchor terminal;
and sending the default line of the anchor terminal to the anchor terminal, so that the anchor terminal performs push flow according to the default line of the anchor terminal.
In one possible implementation manner, the step of determining a default line of the anchor terminal according to the user information of the anchor terminal includes:
determining default lines of the anchor side and default lines of the audience side according to the user information of the anchor side;
the method further comprises the steps of:
and sending the default line of the audience terminal to the audience terminal, so that the audience terminal acquires live video data from the default line of the audience terminal when the number of the target lines is 0.
In a second aspect, an embodiment of the present application further provides a line scheduling device for a live broadcast room, including:
the receiving module is used for acquiring user information of the audience terminal;
the determining module is used for determining a first direct broadcasting line set according to the user information of the audience terminal, wherein the first direct broadcasting line set comprises at least one effective line corresponding to the user information of the audience terminal;
the adjusting module is used for acquiring video playing quality indexes of the live broadcasting room, and adjusting the number or the mapping relation of the effective lines in the first direct broadcasting line set according to the video playing quality indexes to acquire a second direct broadcasting line set;
and the sending module is used for sending the second live line set to the audience terminal, so that the audience terminal determines a target line from the second live line set and acquires live video data from the target line.
In a third aspect, embodiments of the present application further provide an electronic device, including:
a memory for storing one or more programs;
and a processor, when the one or more programs are executed by the processor, implementing the line scheduling method of the live broadcasting room provided in the first aspect.
In a fourth aspect, an embodiment of the present application further provides a computer readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the line scheduling method of the living room provided in the first aspect.
Based on any one of the above aspects, the line scheduling method, the device and the electronic equipment for a live broadcast room provided by the embodiments of the present application may determine a first direct broadcast line set by acquiring user information of a viewer terminal, obtain a second direct broadcast line set according to the first direct broadcast line set, and after the second direct broadcast line set is sent to the viewer terminal, enable the viewer terminal to determine a target line from the second direct broadcast line set, and acquire live video data according to the target line. Therefore, proper viewing lines can be allocated for the scheduling of the audience users according to the characteristics of the audience users, so that the fine scheduling of the viewing lines in the live broadcasting room is realized, the efficiency of the line scheduling is improved, the viewing experience of the audience users is improved, and the operation cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly explain the drawings required for the embodiments, it being understood that the following drawings illustrate only some embodiments of the present application and are therefore not to be considered limiting of the scope, and that other related drawings may be obtained according to these drawings without the inventive effort of a person skilled in the art.
Fig. 1 is a schematic application scenario diagram of a line scheduling method of a live broadcast room provided in this embodiment;
fig. 2 is one of schematic flowcharts of a line scheduling method in a live broadcasting room provided in the present embodiment;
fig. 3 is a schematic diagram of the substeps of step S200 provided in the present embodiment;
fig. 4 is a schematic diagram of the substeps of step S300 according to the present embodiment;
fig. 5 is a schematic diagram of the substeps of step S320 provided in the present embodiment;
fig. 6 is a second schematic flowchart of a line scheduling method in a live broadcasting room according to the present embodiment;
fig. 7 is a third schematic flowchart of a line scheduling method in a live broadcasting room according to the present embodiment;
fig. 8 is a schematic block diagram of an electronic device according to the present embodiment;
fig. 9 is a schematic functional block diagram of a line scheduling apparatus in a live broadcasting room according to the present embodiment.
Icon: 100-server; 200-audience end; 300-a main broadcasting end; 700-an electronic device; 710-a processor; 720-a computer-readable storage medium; 730-line scheduling means of the live broadcasting room; 731-a receiving module; 732-a determination module; 733-an adjustment module; 734-transmit module.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
In the description of the present application, it should be noted that, the azimuth or positional relationship indicated by the terms "upper", "lower", etc. are based on the azimuth or positional relationship shown in the drawings, or the azimuth or positional relationship that is commonly put when the product of the application is used, are merely for convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element to be referred to must have a specific azimuth, be configured and operated in a specific azimuth, and therefore should not be construed as limiting the present application. Furthermore, the terms "first," "second," and the like, are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance.
It should be noted that, in the case of no conflict, different features in the embodiments of the present application may be combined with each other.
The inventor researches that, when watching live video, a viewer user may frequently switch a live room, adjust image quality, pause or fast forward, and the network bandwidth, equipment performance, geographic position, and the like of different viewer users may be different, which may cause phenomena such as jamming, delay, and the like when watching live video, thereby affecting watching experience. However, the current distribution mode of the watching lines of most live broadcast platforms ignores the behavior change and individual variability of audience users, and cannot be aimed at a certain live broadcast room, when the number of the audience in the live broadcast room is large, network congestion can be caused, and the audience cannot smoothly watch live broadcast; when the number of viewers in a living room is small, resources may be wasted, and the viewers cannot enjoy better viewing experience. Meanwhile, most live platforms currently cannot schedule different viewing lines according to different areas or network service providers (ISPs). When audience users use different network service providers in different areas, the audience users may encounter problems such as viewing delay and poor image quality, and the viewing experience is affected.
The present embodiment provides a solution to the above problem, and a detailed description of a specific embodiment of the present application will be given below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 illustrates an exemplary application scenario of a live room line scheduling method provided in this embodiment, where the live room line scheduling method may be applied to a live system, and the live system includes a server 100, a viewer end 200, and a main cast end 300. The server 100, the audience terminal 200, and the anchor terminal 300 may communicate with each other through a wired network or a wireless network.
It will be appreciated that fig. 1 is only schematic, and that in the application scenario shown in fig. 1, only one audience 200 and one anchor 300 are illustrated, and that in some other application scenarios, the server 100 may also establish communication with more audience 200 and more anchor 300, so as to send the second set of live lines to the audience 200.
In this embodiment of the present application, the server 100 may be an independent electronic device, or may be a cluster formed by a plurality of electronic devices. The viewer terminal 200 and the anchor terminal 300 may each be a mobile terminal, for example, a smart phone, a personal computer (personal computer, PC), a tablet computer, or the like. The audience terminal 200 and the anchor terminal 300 may be different devices, for example, the anchor terminal 300 may be a personal computer, and the audience terminal 200 may be a mobile phone; the spectator 200 and the anchor 300 may be the same device, for example, the spectator 200 and the anchor 300 may be mobile phones.
Referring to fig. 2, fig. 2 illustrates a flow chart of a line scheduling method of a live broadcasting room provided in this embodiment, where the line scheduling method of the live broadcasting room may be applied to the server 100 shown in fig. 1, and the server 100 may be a line scheduling server, and the line scheduling server may be connected and interacted with the main broadcasting end 300 and the audience end 200, so as to implement the line scheduling method of the live broadcasting room. The method may comprise the following steps.
Step S100, user information of the viewer 200 is acquired.
In the live broadcast process, when a viewer user enters a live broadcast room through the viewer terminal 200 and views live video, user information of the viewer terminal 200 may be acquired.
Step S200, determining a first direct broadcast line set according to the user information of the viewer 200, where the first direct broadcast line set includes at least one valid line corresponding to the user information of the viewer 200.
In this embodiment, the first direct broadcast line set may be determined from all the direct broadcast lines according to the user information acquired in step S100, where the first line set may include at least one active line corresponding to the user information of the viewer 200, and if the user information is different, the corresponding active line is different.
Step S300, obtaining a video playing quality index of a live broadcasting room, and adjusting the number or the mapping relation of the effective lines in the first direct broadcasting line set according to the video playing quality index to obtain a second direct broadcasting line set.
In the live broadcast process, the video playing quality index of the live broadcast room can be obtained, and the effective lines in the first live broadcast line set obtained in the step S200 are adjusted according to the video playing quality index, so that the second live broadcast line set is further obtained, and the accuracy and stability of line selection of the audience terminal 200 can be improved.
When the viewer user entering the live broadcasting room is the first viewer user, for the viewer terminal 200, there is no corresponding video playing quality index, and at this time, the second live line set may be the same as the first live line set.
In this embodiment, the number of the first direct-broadcast line set may be finely adjusted based on the first direct-broadcast line set obtained in step S200, for example, if the first direct-broadcast line set includes three lines, one line may be removed or added in step S300, so that the lines in the second direct-broadcast line set are adjusted to be two or four lines.
In some examples, the support capacity of different lines at the spectator's end for overseas is different. When the nodes of the lines 3 and 5 are relatively more and the line 6 is almost not more, if the line ratio (line number: line ratio) obtained by the direct broadcasting room a in the first direct broadcasting line set is: 3:0%,5:0%,6:100%, then the domestic audience enters the living room a, and the acquired line proportion (line number: line proportion) in the second living broadcast line set may be: 3:0%,5:0%,6:100%; and the overseas audience user enters the live broadcast room A, and the acquired line proportion (line number: line proportion) is adjusted to be in the second live broadcast line set: 3:50%,5:50%. If the line proportion (line number: line proportion) obtained by the direct broadcasting room a in the first direct broadcasting line set is: 5:0%,6:100%, the overseas viewer user enters the live room a, and the acquired line proportion (line number: line proportion) is adjusted in the second live line set to: 5:100%.
Step S400, transmitting the second live line set to the viewer terminal 200, so that the viewer terminal 200 determines a target line from the second live line set, and acquires live video data from the target line.
In this embodiment, when the audience user enters the living broadcast room, the second living broadcast line set obtained in step S300 may be sent to the audience terminal 200 corresponding to the audience user, so that the audience terminal 200 may determine a target line from the second living broadcast line set according to the issued line proportion, and send a request to a content delivery network CDN corresponding to the target line to obtain living broadcast video data. The content delivery network CDN corresponds to a target line for transmitting live video data, and may not only store live video data, but also transmit live video data to the viewer 200 through the corresponding target line. The viewer-side 200 may be the viewer-side 200 to which the viewer user just entered the living room corresponds.
Specifically, when the line ratio (line number: line ratio) is 3:100%,5:0%,6:0%, the viewer 200 obtains live video data through the line 3. When the line proportion (line number: line proportion) is 3:50%,5:25%,6:25%, if 100 persons exist in the live broadcasting room, 50 persons select line 3 to watch live video, 25 persons select line 5 to watch live video, and 25 persons select line 6 to watch live video.
Based on the above design, in the line scheduling method for a live broadcast room provided in the embodiment of the present application, the first direct broadcast line set may be determined by obtaining the user information of the viewer terminal 200, and the second direct broadcast line set may be obtained according to the first direct broadcast line set, and after the second direct broadcast line set is sent to the viewer terminal 200, the viewer terminal 200 may determine the target line from the second direct broadcast line set, and obtain live video data according to the target line. Therefore, proper viewing lines can be allocated for the scheduling according to the characteristics of the audience users, the fine scheduling of the viewing lines in the live broadcasting room is realized, and the efficiency of the line scheduling is improved, so that the viewing experience of the audience users is improved, the operation cost is reduced, and meanwhile, the mapping relation of the lines can be adjusted according to the requirements of specific audiences, and the accuracy and the stability of the line selection are improved. In addition, the line scheduling method of the live broadcasting room provided by the embodiment of the application is also suitable for a plurality of service ends, including but not limited to a Web end, an App end, a PC end, a TV end and a third party platform.
In one possible implementation, referring to fig. 3, step S200 may further include the following sub-steps.
Step S210, sorting the multiple alternative routes according to the preset priority weights according to the user identity, the IP address, the area, the operator and/or the device in the live broadcasting room of the viewer terminal 200.
Step S220, according to the sorting result, determining at least one candidate line from a plurality of candidate lines as the effective line to form the first direct broadcast line set.
In this embodiment, a weight value may be allocated to the alternative line according to a preset priority weight, and the user information of the viewer end 200 may be matched with the alternative line, and the alternative line may be ordered according to the weight value, so as to determine the first direct broadcast line.
The user information may include a user identity, an IP address, an area, an operator, and/or a device. Thus, the downstream may be statically configured according to User Identification (UID), IP address, area, operator, and/or device dimensions, among others. For example, a certain user Identity (ID) may be specified in the live broadcast room a, and the specified line proportion (line number: line proportion) is 3:100%,5:0%,6:0%, in which case line 3 will be selected as the active line.
In one possible implementation, referring to fig. 4, step S300 may further include the following sub-steps.
Step S310, obtaining video playing quality indexes of the live broadcasting room.
Step S320, adding lines, shielding lines or mapping lines to the effective lines according to the video playing quality index, so as to obtain the second live line set.
In this embodiment, for the audience terminal 200 corresponding to the audience user who has entered the live broadcasting room, the video playing quality index may be obtained by monitoring the network condition and the video quality in the live broadcasting video playing process, determining the quality of each line according to the video playing quality index obtained in step S310, processing the effective line in the first direct broadcasting line set according to the determination result, thereby obtaining the second direct broadcasting line set, and transmitting the second direct broadcasting line set to the audience terminal 200 corresponding to the audience user who has just entered the live broadcasting room.
Specifically, if the play quality index of a certain line exceeds a threshold or is lower than a requirement, other lines may be optionally added, the line may be masked, or mapped onto other lines, so as to obtain the second live line set, where the second live line set may include the processed active line and other lines added as needed.
In one possible implementation manner, when the effective line is subjected to the masking line processing according to the video playing quality index, referring to fig. 5, step S320 may further include the following substeps.
Step S321, quality indexes of different lines are monitored in real time, wherein the quality indexes comprise picture black screen occupation ratio and katon ratio.
Step S322, determining whether the screen black screen duty ratio and the click-on ratio are greater than a preset threshold.
Step S323, if the screen black screen ratio and the katon ratio are greater than a preset threshold, shielding the line corresponding to the screen black screen ratio and the katon ratio, thereby obtaining the second live line set.
In this embodiment, for the viewer end 200 corresponding to the viewer user who has entered the live broadcast room, the quality index may be obtained by monitoring the network condition and the video quality of the live video during the playing process in real time. The quality index may include a screen black ratio, a click-through ratio, and a second-on ratio. In some examples, a network monitoring tool or an embedded code may be used to collect data in real time, where the collected data may include a start-stop time, a number of times and duration of a click, and a loading time of a video of a live video, and the screen black screen ratio, the click ratio, and the second opening ratio may be obtained by performing real-time processing and calculation according to the collected data.
In step S322, the quality index may be evaluated by a preset threshold, and the preset thresholds corresponding to different quality indexes may be different, for example, if the screen black screen ratio of a line exceeds a first preset threshold, the katon ratio exceeds a second preset threshold, or the second opening ratio is lower than a third preset threshold, it may be determined that the viewing quality of the line is poor.
When the viewing quality of the line is poor, the region information of the audience user and the distribution information of the network service provider (ISP) in the live broadcasting room are further collected, the quality index of the line under different regions and ISPs is compared with the quality indexes of other lines, if the viewing quality of the line under a specific region and ISP is poor, shielding the line can be considered, so as to obtain the second live broadcasting line set, and the second live broadcasting line set is sent to the audience terminal 200 corresponding to the audience user who just enters the live broadcasting room. The masking method may be to pause the service of the line or to lower the priority of the line, so that the viewer user can automatically switch other lines from the second live line set to watch live video. Thus, different viewing lines can be scheduled according to different areas or ISPs, and the viewing experience is further improved.
Specifically, when the effective line is processed by adding a line, shielding a line or mapping a line, when a situation that a specific audience has poor viewing quality on the line a is monitored, the line of the audience can be dynamically mapped or shielded according to a preset rule. The operation of dynamically mapping the line may be to replace line a with line B or BC such that the request of a particular viewer will be redirected onto the mapped line. The operation of dynamically masking the line may be to pause the line a service for a particular viewer or to lower the priority of line a. For example, if the particular viewer is a Hebei UNICOM, then if line A supports poor Hebei UNICOM, then a masking rule may be set that will not be scheduled to line A as long as the Hebei UNICOM viewer enters the live broadcast room.
In one possible implementation, after the second live line set is sent to the viewer end 200, so that the viewer end 200 determines a target line from the second live line set and obtains live video data from the target line, referring to fig. 6, the line scheduling method in the live room may further include the following steps.
Step S510, traversing all the target lines, and judging whether the quality index of the target line meets the preset condition.
In this embodiment, after the viewer terminal 200 acquires the live video through the target line, the viewer user may watch the live video in the live broadcast room through the target line, at this time, may traverse all the target lines corresponding to the viewer terminal 200 watching the live video, acquire the quality index of the target line, and determine whether the quality index of the target line meets a preset condition, for example, whether the screen black screen ratio exceeds a certain threshold, whether the katon ratio exceeds a certain threshold, and whether the second opening ratio is lower than a certain threshold.
It should be noted that, in the live broadcast process, factors affecting the viewing experience of the audience user may come from the anchor side 300 or may come from the audience side 200, so in step S510, the push quality data of the anchor side 300, such as the push frame rate, needs to be monitored in real time.
In the above design, the viewing quality and the upstream quality of the anchor may be monitored by collecting quality related data of the viewer 200, such as the screen black ratio, the katon ratio, etc., and quality related data of the anchor 300, such as the push frame rate, etc., and performing real-time processing and analysis on the data.
Step S520, if the quality index of the target line meets a preset condition, signaling information is sent to the viewer-side 200, so that the viewer-side 200 shields the target line.
In this embodiment, if the quality index of the target line meets a preset condition, for example, the screen black screen ratio exceeds a certain threshold, the katon ratio exceeds a certain threshold, the second opening ratio is lower than a certain threshold, and the push frame rate of the anchor terminal 300 is stable, this indicates that the viewing quality of the target line is poor, at this time, signaling information may be sent to the viewer terminal 200, so that the viewer terminal 200 shields the target line and switches other lines in the second live line set. If the quality index of the target line does not meet the preset condition or the push frame rate of the anchor terminal 300 is not stable, signaling information is not sent to the audience terminal 200.
In the above design, when the quality index of the target line meets a preset condition, the viewing experience of the audience user is seriously reduced. The viewing quality of each line can be monitored in real time by a quality control system, and when the quality of a certain area of a certain line is poor, the line is automatically shielded, and a specific audience is automatically scheduled to the proper line. In this way, the viewing experience of the viewer user may be improved.
In one possible implementation manner, referring to fig. 7, the line scheduling method of the live broadcasting room may further include the following steps.
In step S610, user information of the anchor 300 is obtained.
After the anchor is opened, user information of the anchor 300 may be obtained, and the user information of the anchor 300 may include, but is not limited to, an opening mode, an opening category, a user Identification (ID), and the like.
Step S620, determining a default line of the anchor terminal according to the user information of the anchor terminal 300.
In this embodiment, the anchor default line may be determined from all live lines according to the user information of the anchor 300 obtained in step S610.
Step S630, the anchor default line is sent to the anchor 300, so that the anchor 300 performs push according to the anchor default line.
In this embodiment, the default line of the anchor side obtained in step S620 may be sent to the anchor side 300, so that the anchor side 300 may perform push according to the default line of the anchor side.
In a possible implementation manner, when determining the anchor default line according to the user information of the anchor 300, the anchor default line and the audience default line may also be determined according to the user information of the anchor 300.
Specifically, in step S620, the default line of the audience may be determined while the default line of the anchor side is determined according to the user information of the anchor side 300 obtained in step S610.
After step S620, the default line of the viewer-side may also be sent to the viewer-side 200, so that the viewer-side 200 acquires live video data from the default line of the viewer-side when the number of the target lines is 0.
In this embodiment, if the valid line does not exist in the second live line set, the viewer terminal 200 may acquire live video data from the default line of the viewer terminal obtained in step S620.
Based on the same inventive concept, the present embodiment further provides an electronic device 700, where the electronic device 700 may be the server 100 shown in fig. 1, please refer to fig. 8, and fig. 8 illustrates a block diagram of the electronic device 700. The electronic device 700 includes a live room line scheduler 730, a computer readable storage medium 720, and a processor 710.
The computer readable storage medium 720 and the processor 710 are directly or indirectly electrically connected to each other to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The live room line scheduler 730 includes a plurality of software function modules that may be stored in the computer readable storage medium 720 in the form of software or firmware (firmware) or cured in an Operating System (OS) of the live room line scheduler 730. The processor 710 is configured to execute executable modules stored in the computer readable storage medium 720, such as software functional modules and computer programs included in the line scheduling device 730 of the live broadcasting room.
The computer readable storage medium 720 may be, but is not limited to, a random access Memory (Random Access Memory, RAM), a Read Only Memory (ROM), a programmable Read Only Memory (Programmable Read-Only Memory, PROM), an erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), an electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc. Wherein the computer readable storage medium 720 is used for storing a program, and the processor 710 executes the program after receiving an execution instruction.
The processor 710 may be an integrated circuit chip with signal processing capabilities. The processor 710 may be a general-purpose processor 710, including a central processor 710 (Central Processing Unit, CPU for short), a network processor 710 (Network Processor, NP for short), etc.; but may also be a digital signal processor 710 (DSP), application Specific Integrated Circuit (ASIC), field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. The general purpose processor 710 may be a microprocessor 710 or the processor 710 may be any conventional processor 710 or the like.
Referring to fig. 9, the embodiment of the present application further provides a line scheduling device 730 in a live broadcasting room. The line scheduling apparatus 730 of the living room includes a plurality of functional modules that may be stored in a computer readable storage medium 720 in the form of software. Functionally divided, the line scheduling device 730 of the live broadcasting room may include a receiving module 731, a determining module 732, an adjusting module 733, and a transmitting module 734. Wherein:
the receiving module 731 may be configured to obtain user information of the viewer 200.
In this embodiment, the receiving module 731 may be used to perform step S100 shown in fig. 2, and for a specific description of the receiving module 731, reference may be made to the description of step S100.
The determining module 732 is configured to determine a first direct broadcast line set according to the user information of the viewer 200, where the first direct broadcast line set includes at least one active line corresponding to the user information of the viewer 200.
In this embodiment, the determining module 732 may be configured to perform step S200 shown in fig. 2, and for a specific description of the determining module 732, reference may be made to the description of step S200.
The adjustment module 733 may be configured to obtain a video playing quality index of the live broadcasting room, and adjust, according to the video playing quality index, the number or mapping relationship of the effective lines in the first direct broadcasting line set to obtain a second direct broadcasting line set.
In this embodiment, the adjustment module 733 may be used to perform the step S300 shown in fig. 2, and for a specific description of the adjustment module 733, reference may be made to the description of the step S300.
The sending module 734 may be configured to send the second set of live lines to the viewer terminal 200, so that the viewer terminal 200 determines a target line from the second set of live lines, and obtains live video data from the target line.
In this embodiment, the transmitting module 734 may be configured to perform step S400 shown in fig. 2, and for a specific description of the transmitting module 734, reference may be made to the description of step S400.
In summary, according to the line scheduling method, the device and the electronic equipment for the live broadcasting room provided by the embodiment of the application, the first direct broadcasting line set can be determined by acquiring the user information of the audience terminal, the second direct broadcasting line set is obtained according to the first direct broadcasting line set, and after the second direct broadcasting line set is sent to the audience terminal, the audience terminal can determine the target line from the second direct broadcasting line set and acquire the live broadcasting video data according to the target line. Therefore, proper viewing lines can be allocated for the scheduling of the audience users according to the characteristics of the audience users, so that the fine scheduling of the viewing lines in the live broadcasting room is realized, the efficiency of the line scheduling is improved, the viewing experience of the audience users is improved, and the operation cost is reduced.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the same, but rather, various modifications and variations may be made by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Claims (10)
1. A method for scheduling lines in a live broadcast room, the method comprising:
obtaining user information of a spectator terminal;
determining a first direct broadcast line set according to the user information of the audience terminal, wherein the first direct broadcast line set comprises at least one effective line corresponding to the user information of the audience terminal;
acquiring a video playing quality index of a live broadcasting room, and adjusting the number or mapping relation of effective lines in the first direct broadcasting line set according to the video playing quality index to acquire a second direct broadcasting line set;
and sending the second live line set to the audience terminal, so that the audience terminal determines a target line from the second live line set, and acquires live video data from the target line.
2. The line scheduling method of a living room according to claim 1, wherein the step of determining the first set of direct broadcast lines according to the user information of the viewer side includes:
sequencing a plurality of alternative routes according to preset priority weights according to user identification, IP address, region, operator and/or equipment of a live broadcasting room of the audience terminal;
and determining at least one alternative line from a plurality of alternative lines as the effective line to form the first direct broadcast line set according to the sequencing result.
3. The method for line scheduling in a live broadcasting room according to claim 1, wherein the step of obtaining a video playing quality index of the live broadcasting room, adjusting the number or mapping relation of the effective lines in the first direct broadcasting line set according to the video playing quality index, and obtaining a second direct broadcasting line set includes:
acquiring video playing quality indexes of a live broadcasting room;
and adding lines, shielding lines or mapping lines to the effective lines according to the video playing quality indexes to obtain the second live line set.
4. A method for line scheduling in a live broadcast room according to claim 3, wherein the step of masking the active line according to the video playback quality index comprises:
monitoring quality indexes of different lines in real time, wherein the quality indexes comprise picture black screen occupation ratio and a clamping and stopping ratio;
judging whether the picture black screen duty ratio and the blocking ratio are larger than a preset threshold value or not;
and if the current line is larger than the current line, shielding the line corresponding to the picture black screen ratio and the cartoon ratio, so as to obtain the second live line set.
5. The line scheduling method of a living room according to claim 1, wherein after the step of transmitting the second living line set to the viewer terminal, causing the viewer terminal to determine a target line from the second living line set and acquire living video data from the target line, the method further comprises:
traversing all target lines, and judging whether the quality index of the target line meets a preset condition or not;
and if yes, signaling information is sent to the audience terminal, so that the audience terminal shields the target line.
6. The line scheduling method of a living room according to claim 1, further comprising:
acquiring user information of a main broadcasting end;
determining a default line of the anchor terminal according to the user information of the anchor terminal;
and sending the default line of the anchor terminal to the anchor terminal, so that the anchor terminal performs push flow according to the default line of the anchor terminal.
7. The line scheduling method of a live broadcasting room according to claim 6, wherein the step of determining a default line of the anchor terminal according to the user information of the anchor terminal comprises:
determining default lines of the anchor side and default lines of the audience side according to the user information of the anchor side;
the method further comprises the steps of:
and sending the default line of the audience terminal to the audience terminal, so that the audience terminal acquires live video data from the default line of the audience terminal when the number of the target lines is 0.
8. A line scheduling apparatus for a live broadcast room, comprising:
the receiving module is used for acquiring user information of the audience terminal;
the determining module is used for determining a first direct broadcasting line set according to the user information of the audience terminal, wherein the first direct broadcasting line set comprises at least one effective line corresponding to the user information of the audience terminal;
the adjusting module is used for acquiring video playing quality indexes of the live broadcasting room, and adjusting the number or the mapping relation of the effective lines in the first direct broadcasting line set according to the video playing quality indexes to acquire a second direct broadcasting line set;
and the sending module is used for sending the second live line set to the audience terminal, so that the audience terminal determines a target line from the second live line set and acquires live video data from the target line.
9. An electronic device, comprising:
a memory for storing one or more programs;
a processor, which when executed by the processor, implements the method of any of claims 1-7.
10. A computer readable storage medium, having stored thereon a computer program, characterized in that the computer program, when executed by a processor, implements the method according to any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311451946.5A CN117579867A (en) | 2023-11-02 | 2023-11-02 | Live broadcasting room line scheduling method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311451946.5A CN117579867A (en) | 2023-11-02 | 2023-11-02 | Live broadcasting room line scheduling method and device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117579867A true CN117579867A (en) | 2024-02-20 |
Family
ID=89887213
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311451946.5A Pending CN117579867A (en) | 2023-11-02 | 2023-11-02 | Live broadcasting room line scheduling method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117579867A (en) |
-
2023
- 2023-11-02 CN CN202311451946.5A patent/CN117579867A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7037511B2 (en) | Base stations, access request response methods, equipment and systems | |
WO2018133306A1 (en) | Dispatching method and device in content delivery network | |
US20170142177A1 (en) | Method and system for network dispatching | |
CN110661879B (en) | Node scheduling method, device and system, scheduling server and terminal equipment | |
US9781595B2 (en) | Wireless communication device | |
US11496885B2 (en) | Determining the operational characteristics and configuration for wireless devices | |
CN111163076B (en) | Live broadcast message pushing method and related equipment for network live broadcast | |
KR20170079496A (en) | Apparatus for inducing advertisement competition based on contents preference | |
CN115002848B (en) | Network switching method, medium, program product and electronic device | |
CN113467910A (en) | Overload protection scheduling method based on service grade | |
CN109089169A (en) | Live broadcast room switching method and device and storage medium | |
CN111083536A (en) | Method and device for adjusting video code rate | |
CN115119324A (en) | Resource scheduling method and device | |
CN107612847B (en) | Bandwidth allocation method and device and video monitoring system | |
CN108282668B (en) | Video acquisition method and system | |
CN108184149B (en) | Video CDN scheduling optimization method and device | |
CN114679598B (en) | Live broadcast pushing method and device | |
CN107707938B (en) | Method and device for reducing live video playing delay | |
US20160373954A1 (en) | Mobile terminal device, wireless communication method for mobile terminal device, carrier server device, and communication speed control method in carrier server device | |
CN117579867A (en) | Live broadcasting room line scheduling method and device and electronic equipment | |
CN110996114A (en) | Live broadcast scheduling method and device, electronic equipment and storage medium | |
CN115037968B (en) | Video playing method and device, storage medium and electronic device | |
KR102385683B1 (en) | Method and apparatus for providing contents viewing terminal using access point | |
EP3756329A1 (en) | Network assistance functions for virtual reality dynamic streaming | |
CN111479137B (en) | Method and device for providing line address, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |