Live broadcast interface detection method and device

By drawing parallel straight lines and judging pixel point differences in the live broadcast interface detection method, the problem of flower blocks in live broadcast videos is solved, achieving accurate detection of the live broadcast interface and improving the playback effect.

CN112218069BActive Publication Date: 2024-09-10BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011043314.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-28
Publication Date
2024-09-10
Estimated Expiration
2040-09-28

AI Technical Summary

Technical Problem

Blocking problems caused by decoding errors may occur during live video playback, which affects the playback effect. Existing detection methods are complex and not suitable for playback-end detection, and can easily cause device freezes.

Method used

Provide a live broadcast interface detection method that starts by obtaining the horizontal line in the live broadcast screen, draws at least two parallel straight lines parallel to the horizontal line, obtains the display parameters of the pixels, and determines whether the difference between consecutive pixels exceeds the preset threshold. If If the conditions are met, it is determined to be a flower block, and based on the number of flower blocks, it is judged whether it is a flower screen, and a prompt message is output and sent to the server.

Benefits of technology

It achieves the accuracy and efficiency of live broadcast interface detection, facilitates timely maintenance by maintenance personnel, improves the live broadcast playback effect of electronic equipment, and avoids equipment freezes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112218069B
    Figure CN112218069B
Patent Text Reader

Abstract

The present disclosure relates to a method and device for detecting a live broadcast interface. It relates to the field of live broadcast technology. The method comprises: obtaining a live broadcast screen of a live broadcast video in a playback state; starting from the first horizontal line in the live broadcast screen, drawing at least two first parallel straight lines in sequence along a direction parallel to the first horizontal line; obtaining display parameters of each pixel point on at least two first parallel straight lines; determining that a flower block appears in the live broadcast video when there is at least one group of first parallel straight lines in at least two first parallel straight lines that meet a preset condition; wherein a group of first parallel straight lines includes two adjacent first parallel straight lines, and the preset condition includes that the difference in display parameters corresponding to N consecutive pixel points on a group of first parallel straight lines is greater than a preset parameter threshold. The present disclosure can realize the detection of flower blocks in the live broadcast interface, facilitate the subsequent timely maintenance of the live broadcast player, and ensure the effect of the live broadcast as much as possible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of live broadcast technology, and in particular to a live broadcast interface detection method and device. Background Art

[0002] With the development of electronic devices, watching live broadcasts has become a way of leisure and entertainment for many people. The playback effect of live videos is a factor that needs to be focused on in live broadcast applications.

[0003] When an electronic device is playing a live video, a live player in the electronic device may have a decoding error. In this case, various colored blocks will appear in the live screen, causing the user to be unable to watch the live video normally, affecting the live broadcast effect. Summary of the invention

[0004] The present disclosure provides a live broadcast interface detection method and device to at least solve the problem of poor live broadcast effect in the related art. The technical solution of the present disclosure is as follows:

[0005] According to a first aspect of an embodiment of the present disclosure, a live broadcast interface detection method is provided, including:

[0006] Get the live screen of the live video being played;

[0007] Starting from a first horizontal line in the live broadcast picture, at least two first parallel straight lines are drawn in sequence along a direction parallel to the first horizontal line;

[0008] Obtaining display parameters of each pixel point on the at least two first parallel straight lines;

[0009] When there is at least one group of first parallel straight lines among the at least two first parallel straight lines that meets a preset condition, it is determined that flower blocks appear in the live video; wherein a group of first parallel straight lines includes two adjacent first parallel straight lines, and the preset condition includes that the difference in display parameters corresponding to N consecutive pixel points on a group of first parallel straight lines is greater than a preset parameter threshold, and N is a positive integer.

[0010] In an optional embodiment, after acquiring a live screen of a live video in a playing state, before sequentially drawing at least two first parallel straight lines starting from a first horizontal line of the live screen in a direction parallel to the first horizontal line, the method further includes:

[0011] A rectangular coordinate system is constructed based on the first horizontal line in the live broadcast picture, wherein the first horizontal line is used as a first coordinate axis, and the first vertical line of the live broadcast picture is used as a second coordinate axis.

[0012] In an optional embodiment, the first horizontal line is: any horizontal boundary line of the live broadcast picture or a straight line in the live broadcast picture that is parallel to the horizontal boundary line.

[0013] In an optional embodiment, among the at least two first parallel straight lines, the distance between any two adjacent first parallel straight lines is equal.

[0014] In an optional embodiment, after obtaining the display parameters of each pixel point on the at least two first parallel straight lines and before determining that a mosaic appears in the live video, the method further includes:

[0015] Starting from the first horizontal line, the difference of the display parameters between two pixel points corresponding to each first coordinate on each group of first parallel straight lines is calculated in sequence; the first coordinate is the coordinate on the first coordinate axis;

[0016] The determining that the live video has a mosaic, comprises:

[0017] When it is detected that a group of first parallel straight lines meets the preset condition, it is determined that a flower block appears in the live video.

[0018] In an optional embodiment, after determining that a flower block appears in the live video, the method further includes:

[0019] Detecting the number of flower blocks in the live broadcast picture;

[0020] When the number of flower blocks is greater than a preset number threshold, it is determined that a flower screen appears in the live video.

[0021] In an optional embodiment, the detecting the number of flower blocks in the live broadcast picture includes:

[0022] Among a group of first parallel straight lines that meet the preset condition, a first parallel straight line that is farther away from the first coordinate axis is used as a color dividing line;

[0023] The value of the ordinate of the color dividing line is used as the width of the flower block;

[0024] Starting from the position of the color dividing line, along the positive direction of the second coordinate axis to the horizontal boundary line of the live broadcast screen, at least two second parallel straight lines are drawn in sequence; the interval distance between any two adjacent second parallel straight lines is equal to the flower block distance;

[0025] Obtaining display parameters of each pixel point on the at least two second parallel straight lines;

[0026] When there is at least one group of second parallel straight lines among the at least two first parallel straight lines that meet the preset condition, the second parallel straight lines with a larger distance from the first coordinate axis in each group of second parallel straight lines that meet the preset condition are used as the color dividing lines; the number of the color dividing lines is the number of the flower blocks.

[0027] In an optional embodiment, after determining that the live video has a distorted screen, the method further includes:

[0028] Output a first prompt message, where the first prompt message is used to prompt the user account that the live video has a distorted screen.

[0029] In an optional embodiment, after determining that the live video has a distorted screen, the method further includes:

[0030] Send a second prompt message to the live broadcast server corresponding to the live broadcast video, where the second prompt message is used to prompt a target player that a distorted screen appears on the live broadcast video played.

[0031] In an optional embodiment, the display parameter may include any one of the following: a red value, a green value.

[0032] According to a second aspect of an embodiment of the present disclosure, a live broadcast interface detection device is provided, including:

[0033] The picture acquisition module is configured to execute acquisition of the live picture of the live video in the playing state;

[0034] A first drawing module is configured to execute, starting from a first horizontal line in the live broadcast picture, drawing at least two first parallel straight lines in sequence along a direction parallel to the first horizontal line;

[0035] A first parameter acquisition module is configured to acquire display parameters of each pixel point on the at least two first parallel straight lines;

[0036] The flower block determination module is configured to determine that a flower block appears in the live video when there is at least one group of first parallel straight lines that meet a preset condition among the at least two first parallel straight lines; wherein a group of first parallel straight lines includes two adjacent first parallel straight lines, and the preset condition includes that the difference in display parameters corresponding to N consecutive pixel points on a group of first parallel straight lines is greater than a preset parameter threshold, and N is a positive integer.

[0037] In an optional embodiment, the live broadcast interface detection device further includes:

[0038] The coordinate system construction module is configured to construct a rectangular coordinate system based on the first horizontal line in the live broadcast picture; wherein the first horizontal line is used as the first coordinate axis, and the first vertical line of the live broadcast picture is used as the second coordinate axis.

[0039] In an optional embodiment, the live broadcast interface detection device further includes:

[0040] a difference calculation module, configured to calculate, starting from the first horizontal line, a difference in display parameters between two pixel points corresponding to each first coordinate on each group of first parallel straight lines; the first coordinate is a coordinate on the first coordinate axis; wherein, among the at least two first parallel straight lines, the distance between any two adjacent first parallel straight lines is equal;

[0041] The flower block determination module is specifically configured to execute: when a group of first parallel straight lines is detected to meet the preset condition, determining that flower blocks appear in the live video.

[0042] In an optional embodiment, the live broadcast interface detection device further includes:

[0043] A quantity detection module is configured to detect the number of flower blocks in the live broadcast picture;

[0044] The screen distortion determination module is configured to determine that a screen distortion occurs in the live video when the number of the flower blocks is greater than a preset number threshold.

[0045] In an optional embodiment, the quantity detection module includes:

[0046] A first dividing line determining unit is configured to use a first parallel straight line with a larger distance from the first coordinate axis among a group of first parallel straight lines that meet the preset condition as a color dividing line;

[0047] A width determination unit is configured to use the value of the ordinate of the color dividing line as the width of the flower block;

[0048] A second drawing unit is configured to draw at least two second parallel straight lines in sequence starting from the position of the color segmentation line and along the positive direction of the second coordinate axis to the horizontal boundary line of the live screen; the interval distance between any two adjacent second parallel straight lines is equal to the flower block distance;

[0049] A second parameter acquisition unit is configured to acquire display parameters of each pixel point on the at least two second parallel straight lines;

[0050] The second dividing line determination unit is configured to execute, when there is at least one group of second parallel straight lines satisfying the preset condition among the at least two first parallel straight lines, the second parallel straight lines with a larger distance from the first coordinate axis in each group of second parallel straight lines satisfying the preset condition are used as the color dividing lines; the number of the color dividing lines is the number of the flower blocks.

[0051] In an optional embodiment, the live broadcast interface detection device further includes:

[0052] The first prompt module is configured to execute and output a first prompt message, wherein the first prompt message is configured to execute and prompt a user account that the live video has a distorted screen.

[0053] In an optional embodiment, the live broadcast interface detection device further includes:

[0054] The second prompt module is configured to execute sending a second prompt message to the live broadcast server corresponding to the live broadcast video, and the second prompt message is configured to execute prompting that the live broadcast video played by the target player has a distorted screen.

[0055] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0056] processor;

[0057] a memory for storing instructions executable by the processor;

[0058] Among them, the processor is configured to execute the instructions to implement the live broadcast interface detection method as described in the first aspect.

[0059] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the live broadcast interface detection method as described in the first aspect.

[0060] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, comprising a program or instructions, so that when the program or instructions are executed, the live broadcast interface detection method as described in the first aspect is implemented.

[0061] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0062] In the disclosed embodiment, during the process of playing a live video, a live screen will be acquired, and then on the live screen, at least two first parallel straight lines will be sequentially generated along a direction parallel to the first horizontal line in the live screen. If among these first parallel straight lines, there are two adjacent first parallel straight lines, and the display parameter difference of N consecutive pixels is greater than the preset parameter threshold, then it is determined that the live video has flower blocks. Since the long side of the flower block caused by a decoding error in the live player is parallel to the horizontal boundary line of the live screen, the above method can be used to determine whether the flower block appears in the live screen, thereby completing the detection of the live interface according to the situation of the flower block, which facilitates the staff to promptly repair the live player with a decoding error according to the detection results, and also improves the detection of the live player before the electronic equipment leaves the factory, and guarantees the live broadcast effect of the electronic equipment as much as possible.

[0063] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0065] Figure 1 The figure is a flow chart of a live broadcast interface detection method according to an exemplary embodiment.

[0066] Figure 2 is a schematic diagram of a rectangular coordinate system according to an exemplary embodiment.

[0067] Figure 3 It is a flow chart of another live broadcast interface detection method according to an exemplary embodiment.

[0068] Figure 4 It is a flowchart of yet another live broadcast interface detection method according to an exemplary embodiment.

[0069] Figure 5 It is a block diagram of a live broadcast interface detection device according to an exemplary embodiment.

[0070] Figure 6 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0071] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0072] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0073] As mentioned in the background technology, when a live broadcast player in an electronic device has a decoding error, various colored blocks will appear in the live broadcast picture. This situation is called a flower screen. In order to ensure the normal playback of the live broadcast, it is necessary to detect whether there are flower blocks in the live broadcast, so that maintenance personnel can repair the live broadcast player with decoding errors in time.

[0074] However, the current detection methods for live broadcast interfaces mainly use subjective evaluation or scoring algorithms, which have high computational complexity and are not suitable for detecting abnormal playback of live broadcast players at the playback end. They also occupy CPU resources and easily cause electronic devices to freeze. In the non-reference type algorithms for objective image quality evaluation, there is no solution to detect the block effect caused by decoding errors of live broadcast players.

[0075] In order to solve the above technical problems, the present application embodiment provides a live broadcast interface detection method, see Figure 1 , Figure 1 The present invention is a flowchart of a live broadcast interface detection method according to an exemplary embodiment. The live broadcast interface detection method is used in a live broadcast playback end, and the playback end may include a mobile electronic device such as a mobile phone, a tablet computer, a wearable device, etc. The playback end may also include a non-mobile electronic device such as a computer, etc. The live broadcast interface detection method may include the following steps.

[0076] In step S110, a live screen of the live video in a playing state is obtained.

[0077] The playback end obtains the live video from the live server and plays the live video through the live player. During the live broadcast process, a frame of the live screen can be obtained every preset period, for example, a frame of the live screen can be obtained every 5 seconds. Alternatively, the live screen can be obtained when a detection operation of the user account is received. The detection operation here can be a trigger operation of the user account on the detection control, or it can be a specific gesture operation managed by the detection function, etc. This application does not limit the specific content of the detection operation. In addition, the above-mentioned method of obtaining the live screen can adopt the method of screenshot.

[0078] In step S120, starting from the first horizontal line in the live broadcast picture, at least two first parallel straight lines are drawn in sequence along a direction parallel to the first horizontal line.

[0079] The at least two first parallel straight lines drawn here include the first parallel line, and each first parallel straight line is parallel to the first horizontal line. In addition, in the process of drawing the at least two first parallel straight lines, the first parallel straight lines can be drawn sequentially starting from the first horizontal line on one side of the first horizontal line, for example, the first parallel straight lines can be drawn above the first horizontal line. Alternatively, the first parallel straight lines can be drawn sequentially on both sides of the first horizontal line.

[0080] In some embodiments, since the flower blocks will cover the entire live screen in most cases, the first horizontal line can be any horizontal boundary line of the live screen, that is, it can be the horizontal boundary line below the live screen, or it can also be the horizontal boundary line above the live screen. That is, the above steps are to draw the first parallel straight line starting from the first horizontal boundary line of the live screen, so that the first parallel straight line can be drawn in the largest possible range, and the drawing process of the first parallel straight line is convenient.

[0081] Alternatively, the first horizontal line may be any straight line in the live screen that is parallel to the horizontal boundary line, that is, a straight line in the live screen that is parallel to the horizontal boundary line is selected as the first horizontal line, for example, the horizontal center axis of the live screen may be selected as the first horizontal line. In this case, the first parallel straight lines can be drawn only in part of the live screen, thereby reducing the number and range of the first parallel straight lines that need to be drawn.

[0082] The above are only two specific examples, and the present application does not limit the specific position of the first horizontal line.

[0083] In other embodiments, among the at least two first parallel straight lines, the distance between any two adjacent first parallel straight lines is equal. In this case, not only are the first parallel straight lines with a fixed spacing easier to draw, but the difference in display parameters between every two adjacent first parallel straight lines is also closer, which facilitates setting the preset parameter threshold corresponding to the difference in display parameters, and the detection of flower blocks based on the difference in display parameters between equidistant first parallel straight lines is more reliable. Optionally, in order to maximize the accuracy of flower block detection, the spacing between adjacent first parallel straight lines can be the spacing of 1 unit pixel, that is, the distance between adjacent first parallel straight lines is the distance between two adjacent pixels. In other embodiments, the spacing between adjacent first parallel straight lines can also be the spacing of multiple unit pixels, such as the spacing of 3 unit pixels.

[0084] In step S130, display parameters of each pixel point on at least two first parallel straight lines are obtained.

[0085] The display parameter here refers to the color parameter of the pixel point, which can be the red R value or the green G value of the RGB primary color value. The block caused by the decoding of the live broadcast player is mainly purple-green block. This color block is caused by a specific change in the value of the R value or the G value. Therefore, the R value or the G value of the pixel point can be used to determine whether there is a purple-green block.

[0086] In step S140, if there is at least one group of first parallel straight lines among at least two first parallel straight lines that meets a preset condition, it is determined that a mosaic appears in the live video. A group of first parallel straight lines includes two adjacent first parallel straight lines, and the preset condition includes that the difference of display parameters corresponding to N consecutive pixel points on a group of first parallel straight lines is greater than a preset parameter threshold, and N is a positive integer.

[0087] Here, it is set that flower blocks appear only when the difference of display parameters corresponding to N consecutive pixels is greater than the preset parameter threshold. This is to avoid accidental situations caused by some special live broadcast pictures. For example, the difference of display pixels corresponding to several discontinuous pixels on two adjacent first parallel straight lines is greater than the preset parameter threshold. This situation may be caused by the color of some objects in the live broadcast picture. For example, the colors of the characters' clothing in the live broadcast are relatively diverse, that is, the above situation may occur. However, in this case, there are no flower blocks in the live broadcast picture. Therefore, through the above-mentioned limitation of preset conditions, the influence of accidental factors can be avoided as much as possible to ensure the accuracy of detection. Among them, N here can be equal to the total number of pixel points contained in the first parallel straight line multiplied by the preset ratio. For example, the preset ratio can be 30%.

[0088] In some embodiments, all first parallel straight lines may be drawn first, then display parameters of pixels on all first parallel straight lines may be acquired, and then at least two first parallel straight lines may be compared in sequence to see whether each two adjacent first parallel straight lines meet preset conditions.

[0089] Alternatively, in another embodiment, a first parallel straight line A1 parallel to the first horizontal line A0 may be drawn first, and then the display parameters of the pixel points on the first parallel straight line A1 may be obtained, and it may be determined whether the preset conditions are met between the first parallel straight line A1 and the first horizontal line A0; and then another first parallel straight line A2 parallel to A1 may be drawn again, and it may be determined whether the preset conditions are met between the first parallel straight line A2 and the first parallel straight line A1, and the above process may be repeated.

[0090] Optionally, in the above embodiment, when it is detected that A1 and A0 meet a preset condition, the drawing of the first parallel straight line is stopped, and it is determined that there is a flower block in the live video.

[0091] Optionally, when it is detected that A1 and A0 meet the preset conditions, the first parallel straight lines can continue to be drawn until a specific stop condition is met. The stop condition here can include any one of the following: the number of first parallel straight lines drawn reaches the target number; when first parallel straight lines with equal spacing are drawn sequentially to one side of the first horizontal line, the distance between the drawn first parallel straight lines and the horizontal boundary line relative to the first horizontal line is less than the above spacing. For example, if the first horizontal line is the first horizontal boundary line, the first parallel straight lines are drawn sequentially in the direction of the second horizontal boundary line until the distance between the first parallel straight lines and the second horizontal boundary line is less than the above spacing.

[0092] In the disclosed embodiment, during the process of playing a live video, a live screen will be acquired, and then on the live screen, at least two first parallel straight lines will be sequentially generated along a direction parallel to the first horizontal line in the live screen. If among these first parallel straight lines, there are two adjacent first parallel straight lines, and the display parameter difference of N consecutive pixels is greater than the preset parameter threshold, then it is determined that the live video has flower blocks. Since the long side of the flower block caused by a decoding error in the live player is parallel to the horizontal boundary line of the live screen, the above method can be used to determine whether the flower block appears in the live screen, thereby completing the detection of the live interface according to the situation of the flower block, which facilitates the staff to promptly repair the live player with a decoding error according to the detection results, and also improves the detection of the live player before the electronic equipment leaves the factory, and guarantees the live broadcast effect of the electronic equipment as much as possible.

[0093] In some embodiments, before S120, the method may further include the following steps:

[0094] A rectangular coordinate system is constructed based on the first horizontal line in the live broadcast picture, wherein the first horizontal line is used as the first coordinate axis, and the first vertical line of the live broadcast picture is used as the second coordinate axis.

[0095] Among them, since the first coordinate axis is the first horizontal line of the live screen, the first coordinate axis is the horizontal coordinate axis, and the first coordinate on the first coordinate axis is the horizontal coordinate. Similarly, the second coordinate axis is the first vertical line of the live screen, so the second coordinate axis is the vertical coordinate axis, and the second coordinate on the second coordinate axis is the vertical coordinate.

[0096] Optionally, since the present application makes a judgment based on the display parameters of the pixels on the first parallel straight lines when judging whether there is a set of first parallel straight lines that meet the preset conditions, the absolute distance between each pixel is not used for the scene corresponding to the embodiment of the present application. Therefore, the units of the first coordinate and the second coordinate here can be the number of pixels instead of the absolute distance. See Figure 2 , Figure 2 is a schematic diagram of a rectangular coordinate system according to an exemplary embodiment. For example, if the first horizontal line includes m pixels, the coordinates on the first horizontal line are from (0,0) to (m,0), and the second coordinates are the same.

[0097] In this embodiment, by constructing a rectangular coordinate system, when the first parallel straight lines are drawn subsequently, parallel straight lines corresponding to different vertical coordinates can be directly drawn, which facilitates the drawing of parallel straight lines, and the positions of the pixels on the first parallel straight lines can be determined by their corresponding coordinate values, which also facilitates the comparison of display parameters between corresponding pixels on adjacent first parallel straight lines, thereby improving the efficiency of live broadcast interface detection. For example, assuming that the first horizontal line is the lower horizontal boundary line of the live broadcast interface, and the first vertical line is the left vertical boundary line of the live broadcast interface, the constructed rectangular coordinate system can be seen in Figure 2 As shown, for example, the first parallel straight line from (0,0) to (m,0) and the first parallel straight line from (0,1) to (m,1) and so on can be drawn.

[0098] In addition, when drawing the first parallel straight line based on the constructed rectangular coordinate system, if there is a partial screen corresponding to the positive direction of the second coordinate axis in the live broadcast interface, the first parallel straight lines parallel to the first coordinate axis can be drawn in sequence along the positive direction of the second coordinate axis. Of course, in other embodiments, if there is a partial screen corresponding to the negative direction of the second coordinate axis in the live broadcast interface, the first parallel straight lines can also be drawn in sequence along the negative direction of the second coordinate axis, and this application does not limit this.

[0099] In some other embodiments, after S130 and before S140, the method may further include:

[0100] Starting from the first horizontal line, the difference of the display parameters between two pixel points corresponding to each first coordinate on each group of first parallel straight lines is calculated in sequence;

[0101] The above S140 may include:

[0102] When it is detected that a group of first parallel straight lines meets a preset condition, it is determined that a flower block appears in the live video.

[0103] Since the screen displays each row of pixels in a direction parallel to the horizontal boundary line of the live screen when displaying a frame, if you want to determine whether purple-green flower blocks appear in the live screen, you can compare the display parameters of the pixels on two adjacent first parallel lines, and the corresponding pixels on the two adjacent first parallel lines refer to the two pixels corresponding to the same first coordinate. In order to ensure the accuracy and integrity of the detection, for each group of first parallel lines, it is necessary to calculate the difference in display parameters between the two pixels corresponding to each first coordinate on the two first parallel lines. After that, if there are N consecutive first coordinates whose display parameter differences are greater than the preset parameter threshold, it is considered that the group of first parallel lines meets the preset conditions. In this way, the display parameters of the pixels on the two adjacent first parallel lines can be fully compared, and accidental situations caused by some special live screens can be avoided as much as possible, for example, the difference in display pixels corresponding to the leftmost pixels on the two adjacent first parallel lines. Greater than the preset parameter threshold, but there is no flower block on the live screen, thereby ensuring the integrity and accuracy of the live screen detection as much as possible.

[0104] For ease of understanding, an example is given to illustrate the solution of the above embodiment. Assume that the first horizontal line is a straight line from (0,0) to (m,0), the display parameter is the R value, the first horizontal line is taken as a first parallel straight line A1, and the R value of each pixel on the first parallel straight line A1 is obtained. Then, the straight line from (0,1) to (m,1) is drawn as another first parallel straight line A2, and the R value of each pixel on the first parallel straight line A2 is obtained. Then, the R values ​​of two pixels corresponding to the same horizontal coordinate are subtracted to obtain the R value difference corresponding to each horizontal coordinate on the two first parallel straight lines, wherein either of the R values ​​of the two pixel points can be used as the minuend, and the obtained R value difference is the absolute value of the difference. If the R value difference of 30% of the consecutive pixel points is >100, it is considered that the two adjacent first parallel straight lines meet the preset conditions.

[0105] In some embodiments, see Figure 3 , Figure 3 is a flow chart of another live broadcast interface detection method according to an exemplary embodiment. After S140, the following steps may also be included:

[0106] In step S150, the number of flower blocks in the live broadcast picture is detected.

[0107] In step S160, when the number of flower blocks is greater than a preset number threshold, it is determined that the live video has a flowery screen.

[0108] In this embodiment, when it is determined that there are flower blocks in the live video, the number of flower blocks is further detected. Since there will be multiple flower blocks in the live screen when a decoding error occurs in the live player, and there may even be a full screen of flower blocks, by detecting the number of flower blocks and comparing the number of flower blocks with the preset number threshold, it is possible to further determine whether the current live screen meets the flower screen condition. If there are multiple flower blocks in the live screen, it is possible to exclude false detections caused by the rich colors of the content displayed in the live screen, thereby further improving the accuracy of flower screen detection. Among them, the preset number threshold here is a positive integer greater than 1, and this application does not limit the specific value of the preset number threshold.

[0109] In other embodiments, see Figure 4 , Figure 4 FIG. 1 is a flow chart of another live broadcast interface detection method according to an exemplary embodiment. The above S150 may include the following steps:

[0110] S151, among a group of first parallel straight lines that meet the preset conditions, a first parallel straight line that is farther away from the first coordinate axis is used as a color dividing line. Among the drawn first parallel straight lines, the distance between any two adjacent first parallel straight lines is equal, that is, the distance between every two adjacent first parallel straight lines is a fixed value.

[0111] In this embodiment, after each new first parallel straight line is drawn, the first parallel straight line can be compared with the previously drawn first parallel straight line to determine whether the preset conditions are met. If so, the newly drawn first parallel straight line will be used as the color dividing line and the drawing of the first parallel straight lines will be stopped. If the preset conditions are not met, the new first parallel straight line will continue to be drawn.

[0112] Since the first parallel straight lines are drawn starting from the first coordinate axis, each two adjacent first parallel straight lines can be compared in the order of drawing. For example, the first parallel straight line from (0,0) to (m,0) is drawn first, and then the first parallel straight line from (0,1) to (m,1) is drawn. After comparing the two, if the preset conditions are not met, the first parallel straight line from (0,2) to (m,3) is drawn. In this case, if a group of first parallel straight lines that meet the preset conditions is detected, the first parallel straight line in the group of first parallel straight lines that is far from the first coordinate axis is the last detected line, so the first parallel straight line is used as the color segmentation line.

[0113] In addition, in this embodiment, the distance between every two adjacent first parallel straight lines is a fixed value, so that in the above-mentioned process of comparing in sequence according to the drawing order, the situation where the distance between adjacent first parallel straight lines is too long can be avoided as much as possible, thereby improving the accuracy of the determined color segmentation line.

[0114] S153, taking the value of the ordinate of the color dividing line as the width of the flower block.

[0115] Since the first parallel straight lines are drawn sequentially starting from the first coordinate axis, in the process of comparing two adjacent first parallel straight lines in this embodiment, the comparison can also be performed in the order of the distance from the first coordinate axis from small to large, for example, first compare the first parallel straight line from (0,0) to (m,0) with the first parallel straight line from (0,1) to (m,1), then compare the first parallel straight line from (0,1) to (m,1) with the first parallel straight line from (0,2) to (m,2), and so on. In this case, when a group of first parallel straight lines that meet the preset conditions are detected, the distance between the color dividing line and the first coordinate axis is the ordinate of the color dividing line. For example, when it is detected that the first parallel straight line from (0,p-1) to (m,p-1) and the first parallel straight line from (0,p) to (m,p) meet the preset conditions, the first parallel straight line from (0,p) to (m,p) is used as the color dividing line, and its ordinate p is used as the width of the flower block.

[0116] S155, starting from the position of the color dividing line, along the positive direction of the second coordinate axis to the horizontal boundary line of the live broadcast screen, draw at least two second parallel straight lines in sequence; the interval distance between any two adjacent second parallel straight lines is equal to the flower block distance.

[0117] Since the width of each flower block is the same when flower blocks appear in the live broadcast screen, after determining the width of the flower block, the second parallel straight line can be directly drawn according to the width of the flower block, thereby reducing the number of parallel straight lines drawn, and based on the second parallel straight lines with a spacing of the flower block width, the number of flower blocks existing in the live broadcast screen can be determined as much as possible.

[0118] S157, obtaining display parameters of each pixel point on at least two second parallel straight lines.

[0119] S159, when there is at least one group of second parallel straight lines that meet the preset conditions among at least two first parallel straight lines, the second parallel straight lines that are at a larger distance from the first coordinate axis in each group of second parallel straight lines that meet the preset conditions are used as color dividing lines; the number of color dividing lines is the number of flower blocks.

[0120] Optionally, instead of using the second parallel straight lines with a larger distance from the first coordinate axis in each group of second parallel straight lines that meet the preset conditions as color dividing lines, the number of flower blocks is recorded as 1 in S151, and the number of recorded flower blocks is increased by 1 each time a group of second parallel straight lines that meet the preset conditions is detected.

[0121] The contents of S157 and S159 are similar to those of the aforementioned S130 and S140 and will not be repeated here.

[0122] In this embodiment, starting from the first coordinate axis, the adjacent first parallel straight lines are compared in sequence to see if they meet the preset conditions to determine the position of the initial color segmentation line, and then the width of the flower block is determined according to the ordinate of the color segmentation line, and then the second parallel straight lines are drawn with the flower block width as the spacing, and then the adjacent second parallel straight lines are compared in sequence to see if they meet the preset conditions to determine whether each second parallel straight line is a color segmentation line, and after completing the comparison of the second parallel straight lines, the number of color segmentation lines is used as the number of flower blocks. In this way, not only can the number of flower blocks in the live broadcast picture be determined as accurately as possible, but also the number of parallel straight lines that need to be drawn and compared can be reduced, thereby improving the efficiency of flower screen detection.

[0123] For ease of understanding, Figure 2 Examples are given to introduce the above-mentioned embodiments.

[0124] Assuming that the preset number threshold is 3, the color segmentation line first determined is the first parallel straight line from (0, p) to (m, p), and then the second parallel straight lines from (0, 2p) to (m, 2p), (0, 3p) to (m, 3p), ..., (0, np) to (m, np) are drawn in sequence, and the display parameters of each pixel on the second parallel straight line are obtained. Then, the color segmentation line from (0, p) to (m, p) and the second parallel straight line from (0, 2p) to (m, 2p) are compared to see whether the preset condition is met, and the second parallel straight line from (0, 2p) to (m, 2p) and the second parallel straight line from (0, 3p) to (m, 3p) are compared to see whether the preset condition is met, and so on. Whenever the preset condition is detected, the second parallel straight line farther from the first coordinate axis of the two compared second parallel straight lines is used as the color segmentation line. Finally, it is counted whether the number of current color segmentation lines is greater than or equal to 3. If it is greater than or equal to 3, it means that the live video has a distorted screen.

[0125] Since the purpose of detecting the number of flower blocks is to eliminate the situation of false detection of flower blocks caused by accidental factors and improve the accuracy of flower screen detection, therefore, in other embodiments, after the above-mentioned S153, after each new second parallel straight line is drawn, the display parameters of the second parallel straight line can be obtained, and the second parallel straight line can be compared with the previously drawn second parallel straight line to determine whether the preset conditions are met, wherein the first second parallel straight line is compared with the initially obtained color segmentation line; if the preset conditions are met, the most recently drawn second parallel straight line is used as the color segmentation line, and it is determined whether the number of current color segmentation lines reaches the preset number threshold. If the preset number threshold is met, the drawing of the second parallel straight line can be stopped; if the preset conditions are not met or the number of color segmentation lines does not reach the preset number threshold, the drawing of the new second parallel straight line continues.

[0126] For ease of understanding, Figure 2 Examples are given to introduce the above-mentioned embodiments.

[0127] Assuming that the preset number threshold is 3, the color segmentation line determined first is the first parallel straight line from (0, p) to (m, p), and then the second parallel straight line from (0, 2p) to (m, 2p) is drawn, and the color segmentation line from (0, p) to (m, p) and the second parallel straight line from (0, 2p) to (m, 2p) are compared to see whether the preset condition is met. If so, the second parallel straight line from (0, 2p) to (m, 2p) is recorded as the color segmentation line, and the number of current color segmentation lines is counted as 2, 2<3, so the second parallel straight line from (0, 3p) to (m, 3p) is continued to be drawn; if the preset condition is met, the second parallel straight line from (0, 3p) to (m, 3p) is also continued to be drawn. Then, compare whether the second parallel straight line from (0,2p) to (m,2p) and the second parallel straight line from (0,3p) to (m,3p) meet the preset conditions. If they do, the second parallel straight line from (0,3p) to (m,3p) is recorded as a color segmentation line, and the number of current color segmentation lines is counted. If the number of color segmentation lines is 3 at this time, it means that the number of flower blocks detected has reached 3. Therefore, it is determined that the live video has a flower screen, and there is no need to continue drawing the second parallel straight line.

[0128] In this case, while ensuring that the misdetection of flower blocks caused by accidental factors is eliminated and the accuracy of flower screen detection is improved, the number of second parallel lines that need to be drawn and compared can be further reduced, thereby improving the efficiency of flower screen detection.

[0129] In some further embodiments of the present application, after the above S140 or 160, the following may also be included:

[0130] Output the first prompt information, where the first prompt information is used to prompt the user account that a live video has a block or a screen.

[0131] In this embodiment, when it is detected that the live video has a block or a distorted screen, a first prompt message will be output to prompt the user at the playback end, so that the user can promptly confirm that the electronic device has a block or a distorted screen, or the first prompt message can also be used to prompt the player that a decoding error has occurred. In this case, the user can promptly learn that an error has occurred in the live player and that maintenance is required. This improves the timeliness of the user's acquisition of fault information. The first prompt message can be displayed in the form of a pop-up window, or can also be output in the form of voice output or the like. In addition, other output methods can also be used, and this application does not limit this.

[0132] In some other embodiments of the present application, after the above S140 or 160, the following steps may also be included:

[0133] The second prompt information is sent to the live broadcast server corresponding to the live broadcast video, and the second prompt information is used to prompt the target player that the live broadcast video played by the target player has a mosaic or a mosaic screen.

[0134] In this embodiment, when a flower block or flower screen is detected, a second prompt message is sent to the live broadcast server. The second question is that the message will carry the identifier of the target player that plays the live video or the identifier of the target device to which the target player belongs. In this case, the live broadcast server and the corresponding staff can promptly learn that the target player has a decoding error. It is convenient. Subsequent staff can send maintenance plan information to the target device or provide door-to-door service to repair the target player, or the live broadcast server can send notification information to the target device so that the user account of the target device can output the notification information to prompt the user.

[0135] Based on the same inventive concept as the above method embodiment, the present application embodiment also provides a live broadcast interface detection device 200, see Figure 5 , Figure 5 2 is a block diagram of a live broadcast interface detection device according to an exemplary embodiment. The live broadcast interface detection device 200 includes a picture acquisition module 210, a first drawing module 220, a first parameter acquisition module 230 and a flower block determination module 240.

[0136] The picture acquisition module 210 is configured to execute acquisition of the live picture of the live video in the playing state;

[0137] The first drawing module 220 is configured to execute, starting from a first horizontal line in the live broadcast picture, drawing at least two first parallel straight lines in sequence along a direction parallel to the first horizontal line;

[0138] The first parameter acquisition module 230 is configured to acquire display parameters of each pixel point on at least two first parallel straight lines;

[0139] The flower block determination module 240 is configured to determine the presence of flower blocks in the live video when there is at least one group of first parallel straight lines that meet a preset condition among at least two first parallel straight lines; wherein a group of first parallel straight lines includes two adjacent first parallel straight lines, and the preset condition includes that the difference in display parameters corresponding to N consecutive pixel points on a group of first parallel straight lines is greater than a preset parameter threshold, and N is a positive integer.

[0140] In the disclosed embodiment, during the process of playing a live video, a live screen will be acquired, and then on the live screen, at least two first parallel straight lines will be sequentially generated along a direction parallel to the first horizontal line in the live screen. If among these first parallel straight lines, there are two adjacent first parallel straight lines, and the display parameter difference of N consecutive pixels is greater than the preset parameter threshold, then it is determined that the live video has flower blocks. Since the long side of the flower block caused by a decoding error in the live player is parallel to the horizontal boundary line of the live screen, the above method can be used to determine whether the flower block appears in the live screen, thereby completing the detection of the live interface according to the situation of the flower block, which facilitates the staff to promptly repair the live player with a decoding error according to the detection results, and also improves the detection of the live player before the electronic equipment leaves the factory, and guarantees the live broadcast effect of the electronic equipment as much as possible.

[0141] In some embodiments, the live broadcast interface detection device 200 may further include:

[0142] The coordinate system construction module is configured to construct a rectangular coordinate system based on the first horizontal line in the live broadcast picture; wherein the first horizontal line is used as the first coordinate axis and the first vertical line of the live broadcast picture is used as the second coordinate axis.

[0143] In this embodiment, by constructing a rectangular coordinate system, when the first parallel straight lines are drawn subsequently, parallel straight lines corresponding to different vertical coordinates can be directly drawn, which facilitates the drawing of parallel straight lines. The positions of pixel points on the first parallel straight lines can be determined by their corresponding coordinate values, which also facilitates the comparison of display parameters between corresponding pixel points on adjacent first parallel straight lines, thereby improving the efficiency of live broadcast interface detection.

[0144] In some other embodiments, the live broadcast interface detection device 200 may further include:

[0145] The difference calculation module is configured to calculate the difference of the display parameters between two pixel points corresponding to each first coordinate on each group of first parallel straight lines starting from the first horizontal line; the first coordinate is a coordinate on the first coordinate axis; wherein, among at least two first parallel straight lines, the distance between any two adjacent first parallel straight lines is equal;

[0146] The flower block determination module 240 is specifically configured to execute: when it is detected that a group of first parallel straight lines meet a preset condition, it is determined that a flower block appears in the live video.

[0147] Since the screen displays each row of pixels in a direction parallel to the horizontal boundary line of the live screen when displaying a frame, if you want to determine whether purple-green flower blocks appear in the live screen, you can compare the display parameters of the pixels on two adjacent first parallel lines, and the corresponding pixels on the two adjacent first parallel lines refer to the two pixels corresponding to the same first coordinate. In order to ensure the accuracy and integrity of the detection, for each group of first parallel lines, it is necessary to calculate the difference in display parameters between the two pixels corresponding to each first coordinate on the two first parallel lines. After that, if there are N consecutive first coordinates whose display parameter differences are greater than the preset parameter threshold, it is considered that the group of first parallel lines meets the preset conditions. In this way, the display parameters of the pixels on the two adjacent first parallel lines can be fully compared, and accidental situations caused by some special live screens can be avoided as much as possible, for example, the difference in display pixels corresponding to the leftmost pixels on the two adjacent first parallel lines. Greater than the preset parameter threshold, but there is no flower block on the live screen, thereby ensuring the integrity and accuracy of the live screen detection as much as possible.

[0148] In some further embodiments, the live broadcast interface detection device 200 may further include:

[0149] A quantity detection module is configured to detect the number of flower blocks in the live broadcast picture;

[0150] The distorted screen determination module is configured to determine that a distorted screen appears in the live video when the number of distorted blocks is greater than a preset number threshold.

[0151] In this embodiment, when it is determined that there are flower blocks in the live video, the number of flower blocks is further detected. Since there will be multiple flower blocks in the live screen when a decoding error occurs in the live player, and there may even be a full screen of flower blocks, by detecting the number of flower blocks and comparing the number of flower blocks with the preset number threshold, it is possible to further determine whether the current live screen meets the flower screen condition. If there are multiple flower blocks in the live screen, it is possible to exclude false detections caused by the rich colors of the content displayed in the live screen, thereby further improving the accuracy of flower screen detection. Among them, the preset number threshold here is a positive integer greater than 1, and this application does not limit the specific value of the preset number threshold.

[0152] In some further embodiments, the quantity detection module may include:

[0153] A first dividing line determining unit is configured to use a first parallel straight line with a larger distance from the first coordinate axis among a group of first parallel straight lines that meet a preset condition as a color dividing line;

[0154] A width determination unit is configured to use the value of the ordinate of the color dividing line as the width of the flower block;

[0155] The second drawing unit is configured to draw at least two second parallel straight lines in sequence starting from the position of the color dividing line and along the positive direction of the second coordinate axis to the horizontal boundary line of the live broadcast screen; the interval distance between any two adjacent second parallel straight lines is equal to the flower block distance;

[0156] A second parameter acquisition unit is configured to acquire display parameters of each pixel point on at least two second parallel straight lines;

[0157] The second dividing line determination unit is configured to execute, when there is at least one group of second parallel straight lines satisfying a preset condition among at least two first parallel straight lines, the second parallel straight lines with a larger distance from the first coordinate axis in each group of second parallel straight lines satisfying the preset condition are used as color dividing lines; the number of color dividing lines is the number of flower blocks.

[0158] In this embodiment, starting from the first coordinate axis, the adjacent first parallel straight lines are compared in sequence to see if they meet the preset conditions to determine the position of the initial color segmentation line, and then the width of the flower block is determined according to the ordinate of the color segmentation line, and then the second parallel straight lines are drawn with the flower block width as the spacing, and then the adjacent second parallel straight lines are compared in sequence to see if they meet the preset conditions to determine whether each second parallel straight line is a color segmentation line, and after completing the comparison of the second parallel straight lines, the number of color segmentation lines is used as the number of flower blocks. In this way, not only can the number of flower blocks in the live broadcast picture be determined as accurately as possible, but also the number of parallel straight lines that need to be drawn and compared can be reduced, thereby improving the efficiency of flower screen detection.

[0159] In some other embodiments, the live broadcast interface detection device 200 may further include:

[0160] The first prompt module is configured to execute and output a first prompt message, and the first prompt message is configured to execute and prompt the user account that a live video has a distorted screen.

[0161] In this embodiment, when a live video is detected to have a block or a distorted screen, a first prompt message is output to prompt the user at the playback end, so that the user can promptly confirm that a block or a distorted screen has appeared on their electronic device, or the first prompt message can also be used to prompt that a decoding error has occurred on the player, in which case the user can promptly learn that an error has occurred on the live player and that maintenance is required. This improves the timeliness of the user's acquisition of fault information. The first prompt message can be displayed in the form of a pop-up window, or can also be output in the form of voice output or the like.

[0162] In some other embodiments, the live broadcast interface detection device 200 may further include:

[0163] The second prompt module is configured to execute sending a second prompt message to the live broadcast server corresponding to the live broadcast video, and the second prompt message is configured to execute prompting that the live broadcast video played by the target player has a distorted screen.

[0164] In this embodiment, when a flower block or flower screen is detected, a second prompt message is sent to the live broadcast server. The second question is that the message will carry the identifier of the target player that plays the live video or the identifier of the target device to which the target player belongs. In this case, the live broadcast server and the corresponding staff can promptly learn that the target player has a decoding error. It is convenient. Subsequent staff can send maintenance plan information to the target device or provide door-to-door service to repair the target player, or the live broadcast server can send notification information to the target device so that the user account of the target device can output the notification information to prompt the user.

[0165] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0166] Based on the same inventive concept as the above method embodiment, the present application embodiment also provides an electronic device, see Figure 6 , Figure 6 is a block diagram of an electronic device according to an exemplary embodiment. Figure 6, the electronic device 300 may include one or more of the following components: a processing component 302 , a memory 304 , a power component 306 , a multimedia component 308 , an audio component 310 , an input / output (I / O) interface 312 , a sensor component 314 , and a communication component 316 .

[0167] The processing component 302 generally controls the overall operation of the electronic device 300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 302 may include one or more processors 320 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 302 may include one or more modules to facilitate the interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate the interaction between the multimedia component 308 and the processing component 302.

[0168] The memory 304 is configured to store various types of data to support operations on the device 300. Examples of such data include instructions for any application or method operating on the electronic device 300, contact data, phone book data, messages, pictures, videos, etc. The memory 304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0169] The power supply component 306 provides power to the various components of the electronic device 300. The power supply component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 300.

[0170] In an exemplary embodiment, a storage medium including instructions is also provided, such as a memory 304 including instructions, and the above instructions can be executed by the processor 320 of the electronic device 300 to complete the above live broadcast interface detection method.

[0171] Alternatively, the storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

[0172] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0173] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A live broadcast interface detection method, characterized in that: include: Get the live screen of the live video being played; Starting from a first horizontal line in the live broadcast picture, at least two first parallel straight lines are drawn in sequence along a direction parallel to the first horizontal line; Obtaining display parameters of each pixel point on the at least two first parallel straight lines; When there is at least one group of first parallel straight lines among the at least two first parallel straight lines that meets a preset condition, it is determined that a mosaic appears in the live video; wherein a group of first parallel straight lines includes two adjacent first parallel straight lines, and the preset condition includes that the difference of display parameters corresponding to N consecutive pixel points on a group of first parallel straight lines is greater than a preset parameter threshold, where N is a positive integer; The display parameter is the red R value or the green G value in the RGB three primary color values.

2. The live broadcast interface detection method according to claim 1, characterized in that: After acquiring the live screen of the live video in the playing state, before sequentially drawing at least two first parallel straight lines from a first horizontal line of the live screen in a direction parallel to the first horizontal line, the method further includes: A rectangular coordinate system is constructed based on the first horizontal line in the live broadcast picture, wherein the first horizontal line is used as a first coordinate axis, and the first vertical line of the live broadcast picture is used as a second coordinate axis.

3. The live broadcast interface detection method according to claim 2, characterized in that: The first horizontal line is: any horizontal boundary line of the live broadcast picture or a straight line in the live broadcast picture that is parallel to the horizontal boundary line.

4. The live broadcast interface detection method according to claim 2, characterized in that: Among the at least two first parallel straight lines, a distance between every two adjacent first parallel straight lines is a fixed value.

5. The live broadcast interface detection method according to claim 4, characterized in that: After obtaining the display parameters of each pixel point on the at least two first parallel straight lines and before determining that a flower block appears in the live video, the method further includes: Starting from the first horizontal line, the difference of the display parameters between two pixel points corresponding to each first coordinate on each group of first parallel straight lines is calculated in sequence; the first coordinate is the coordinate on the first coordinate axis; The determining that the live video has a mosaic, comprises: When it is detected that a group of first parallel straight lines meets the preset condition, it is determined that flower blocks appear in the live video.

6. The live broadcast interface detection method according to any one of claims 2 to 5, characterized in that: After determining that the live video has a flower block, the method further includes: Detecting the number of flower blocks in the live broadcast picture; When the number of flower blocks is greater than a preset number threshold, it is determined that a flower screen appears in the live video.

7. The live broadcast interface detection method according to claim 6, characterized in that: The detecting the number of flower blocks in the live broadcast picture includes: Among a group of first parallel straight lines that meet the preset condition, a first parallel straight line that is farther away from the first coordinate axis is used as a color dividing line; The value of the ordinate of the color dividing line is used as the width of the flower block; Starting from the position of the color dividing line, at least two second parallel straight lines are drawn in sequence along the positive direction of the second coordinate axis to the horizontal boundary line of the live screen; the interval between any two adjacent second parallel straight lines is equal to the width of the flower block, and the interval between the first second parallel straight line of the at least two second parallel straight lines and the color dividing line is equal to the width of the flower block; When drawing of the at least two second parallel straight lines is completed, obtaining display parameters of each pixel point on the at least two second parallel straight lines; When there is at least one group of second parallel straight lines among the at least two first parallel straight lines that meet the preset condition, the second parallel straight lines with a larger distance from the first coordinate axis in each group of second parallel straight lines that meet the preset condition are used as the color dividing lines; the number of the color dividing lines is the number of the flower blocks.

8. The live broadcast interface detection method according to claim 6, characterized in that: After determining that the live video has a distorted screen, the method further includes: Output a first prompt message, where the first prompt message is used to prompt the user account that the live video has a distorted screen.

9. The live broadcast interface detection method according to claim 6, characterized in that: After determining that the live video has a distorted screen, the method further includes: Send a second prompt message to the live broadcast server corresponding to the live broadcast video, where the second prompt message is used to prompt a target player that a distorted screen appears on the live broadcast video played.

10. A live broadcast interface detection device, characterized in that: include: The picture acquisition module is configured to execute acquisition of the live picture of the live video in the playing state; A first drawing module is configured to execute, starting from a first horizontal line in the live broadcast picture, drawing at least two first parallel straight lines in sequence along a direction parallel to the first horizontal line; A first parameter acquisition module is configured to acquire display parameters of each pixel point on the at least two first parallel straight lines; The flower block determination module is configured to determine that flower blocks appear in the live video when there is at least one group of first parallel straight lines among the at least two first parallel straight lines that meet a preset condition; wherein a group of first parallel straight lines includes two adjacent first parallel straight lines, and the preset condition includes that the difference of display parameters corresponding to N consecutive pixel points on a group of first parallel straight lines is greater than a preset parameter threshold, where N is a positive integer; The display parameter is the red R value or the green G value in the RGB three primary color values.

11. The live broadcast interface detection device according to claim 10, characterized in that: The live broadcast interface detection device also includes: The coordinate system construction module is configured to construct a rectangular coordinate system based on the first horizontal line in the live broadcast picture; wherein the first horizontal line is used as the first coordinate axis, and the first vertical line of the live broadcast picture is used as the second coordinate axis.

12. The live broadcast interface detection device according to claim 11, characterized in that: The live broadcast interface detection device also includes: a difference calculation module, configured to calculate, starting from the first horizontal line, the difference of the display parameters between two pixel points corresponding to each first coordinate on each group of first parallel straight lines; the first coordinate is a coordinate on the first coordinate axis; wherein, among the at least two first parallel straight lines, the spacing between every two adjacent first parallel straight lines is a fixed value; The flower block determination module is specifically configured to execute: when a group of first parallel straight lines is detected to meet the preset condition, determining that flower blocks appear in the live video.

13. The live broadcast interface detection device according to any one of claims 11-12, characterized in that: The live broadcast interface detection device also includes: A quantity detection module is configured to detect the number of flower blocks in the live broadcast picture; The screen distortion determination module is configured to determine that a screen distortion occurs in the live video when the number of the flower blocks is greater than a preset number threshold.

14. The live broadcast interface detection device according to claim 13, characterized in that: The quantity detection module comprises: A first dividing line determining unit is configured to use a first parallel straight line with a larger distance from the first coordinate axis among a group of first parallel straight lines that meet the preset condition as a color dividing line; A width determination unit is configured to use the value of the ordinate of the color dividing line as the width of the flower block; A second drawing unit is configured to draw at least two second parallel straight lines in sequence starting from the position of the color dividing line and along the positive direction of the second coordinate axis to the horizontal boundary line of the live screen; the interval between any two adjacent second parallel straight lines is equal to the flower block width, and the interval between the first second parallel straight line of the at least two second parallel straight lines and the color dividing line is equal to the flower block width; A second parameter acquisition unit is configured to acquire display parameters of each pixel point on the at least two second parallel straight lines when drawing the at least two second parallel straight lines is completed; The second dividing line determination unit is configured to execute, when there is at least one group of second parallel straight lines satisfying the preset condition among the at least two first parallel straight lines, the second parallel straight lines with a larger distance from the first coordinate axis in each group of second parallel straight lines satisfying the preset condition are used as the color dividing lines; the number of the color dividing lines is the number of the flower blocks.

15. The live broadcast interface detection device according to claim 13, characterized in that: The live broadcast interface detection device also includes: The first prompt module is configured to execute and output a first prompt message, wherein the first prompt message is configured to execute and prompt a user account that the live video has a distorted screen.

16. The live broadcast interface detection device according to claim 13, characterized in that: The live broadcast interface detection device also includes: The second prompt module is configured to execute sending a second prompt message to the live broadcast server corresponding to the live broadcast video, and the second prompt message is configured to execute prompting that the live broadcast video played by the target player has a distorted screen.

17. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the live broadcast interface detection method as described in any one of claims 1 to 9.

18. A storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the live broadcast interface detection method as described in any one of claims 1 to 9.